string-convert-indexes 6.0.8 → 6.0.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +1 -1
- package/dist/string-convert-indexes.esm.js +2 -2
- package/dist/string-convert-indexes.umd.js +6 -6
- package/package.json +2 -2
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
MIT License
|
|
2
2
|
|
|
3
|
-
Copyright (c) 2010-
|
|
3
|
+
Copyright (c) 2010-2023 Roy Revelt and other contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining
|
|
6
6
|
a copy of this software and associated documentation files (the
|
package/README.md
CHANGED
|
@@ -82,6 +82,6 @@ To report bugs or request features or assistance, [raise an issue](https://githu
|
|
|
82
82
|
|
|
83
83
|
MIT License.
|
|
84
84
|
|
|
85
|
-
Copyright © 2010-
|
|
85
|
+
Copyright © 2010-2023 Roy Revelt and other contributors.
|
|
86
86
|
|
|
87
87
|
<p align="center"><img src="https://codsen.com/images/png-codsen-ok.png" width="98" alt="ok" align="center"> <img src="https://codsen.com/images/png-codsen-1.png" width="148" alt="codsen" align="center"> <img src="https://codsen.com/images/png-codsen-star-small.png" width="32" alt="star" align="center"></p>
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name string-convert-indexes
|
|
3
3
|
* @fileoverview Convert between native JS string character indexes and grapheme-count-based indexes
|
|
4
|
-
* @version 6.0.
|
|
4
|
+
* @version 6.0.9
|
|
5
5
|
* @author Roy Revelt, Codsen Ltd
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/string-convert-indexes/}
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
import{traverse as g}from"ast-monkey-traverse";import v from"grapheme-splitter";var d="6.0.
|
|
10
|
+
import{traverse as g}from"ast-monkey-traverse";import v from"grapheme-splitter";var d="6.0.9";var E=d;function f(o,i,t){function a(r){return!(!["string","number"].includes(typeof r)||typeof r=="string"&&!/^\d*$/.test(r)||typeof r=="number"&&(!Number.isInteger(r)||r<0))}function c(r,n){let u=0,e=0;for(let p=0,m=r.length;p<m;p++){if(e+=r[p].length,n>=u&&n<e)return p;u+=r[p].length}throw new Error(`string-convert-indexes: [THROW_ID_05] the "indexes" value, ${t}, is not covered by graphemes length!`)}function l(r,n){if(n>=r.length)throw new Error(`string-convert-indexes: [THROW_ID_06] the index to convert, ${n}, is not covered by graphemes length!`);return r.slice(0,n).join("").length}if(typeof i!="string"||!i)throw new TypeError(`string-convert-indexes: [THROW_ID_01] the first input argument, input string, must be a non-zero-length string! Currently it's: ${typeof i}, equal to:
|
|
11
11
|
${i}`);if(t===0)return 0;if(t==="0")return"0";let s=new v().splitGraphemes(i);if(["string","number"].includes(typeof t)){if(a(t))return o==="u"?typeof t=="string"?String(l(s,+t)):l(s,+t):typeof t=="string"?String(c(s,+t)):c(s,+t);throw new Error(`string-convert-indexes: [THROW_ID_02] the second input argument, "indexes" is not suitable to describe string index - it was given as ${JSON.stringify(t,null,4)} (${typeof t})`)}else{if(t&&typeof t=="object")return o==="u"?g(t,(r,n,u)=>{let e=n!==void 0?n:r;if(["string","number"].includes(typeof e)){if(a(e))return typeof e=="string"?String(l(s,+e)):l(s,+e);throw new Error(`string-convert-indexes: [THROW_ID_03] bad value was encountered, ${JSON.stringify(e,null,4)}, its path is ${u.path}`)}return e}):g(t,(r,n,u)=>{let e=n!==void 0?n:r;if(["string","number"].includes(typeof e)){if(a(e))return typeof e=="string"?String(c(s,+e)):c(s,+e);throw new Error(`string-convert-indexes: [THROW_ID_04] bad value was encountered, ${JSON.stringify(e,null,4)}, its path is ${u.path}`)}return e});throw new Error(`string-convert-indexes: [THROW_ID_07] the first input argument, a source string should be a string but it was given as ${i}, type ${typeof i}`)}}function I(o,i){return f("n",o,i)}function T(o,i){return f("u",o,i)}export{I as nativeToUnicode,T as unicodeToNative,E as version};
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @name string-convert-indexes
|
|
3
3
|
* @fileoverview Convert between native JS string character indexes and grapheme-count-based indexes
|
|
4
|
-
* @version 6.0.
|
|
4
|
+
* @version 6.0.9
|
|
5
5
|
* @author Roy Revelt, Codsen Ltd
|
|
6
6
|
* @license MIT
|
|
7
7
|
* {@link https://codsen.com/os/string-convert-indexes/}
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
|
-
"use strict";var stringConvertIndexes=(()=>{var Ox=Object.create;var N=Object.defineProperty,Sx=Object.defineProperties,Tx=Object.getOwnPropertyDescriptor,jx=Object.getOwnPropertyDescriptors,$x=Object.getOwnPropertyNames,m0=Object.getOwnPropertySymbols,Ix=Object.getPrototypeOf,w0=Object.prototype.hasOwnProperty,Rx=Object.prototype.propertyIsEnumerable;var _0=(t,r,n)=>r in t?N(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,I=(t,r)=>{for(var n in r||(r={}))w0.call(r,n)&&_0(t,n,r[n]);if(m0)for(var n of m0(r))Rx.call(r,n)&&_0(t,n,r[n]);return t},M=(t,r)=>Sx(t,jx(r));var O0=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Px=(t,r)=>{for(var n in r)N(t,n,{get:r[n],enumerable:!0})},S0=(t,r,n,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let D of $x(r))!w0.call(t,D)&&D!==n&&N(t,D,{get:()=>r[D],enumerable:!(C=Tx(r,D))||C.enumerable});return t};var T0=(t,r,n)=>(n=t!=null?Ox(Ix(t)):{},S0(r||!t||!t.__esModule?N(n,"default",{value:t,enumerable:!0}):n,t)),kx=t=>S0(N({},"__esModule",{value:!0}),t);var Ex=O0((G,R)=>{var Lx=200,H0="__lodash_hash_undefined__",K0=9007199254740991,D0="[object Arguments]",Nx="[object Array]",W0="[object Boolean]",V0="[object Date]",Mx="[object Error]",A0="[object Function]",J0="[object GeneratorFunction]",W="[object Map]",Q0="[object Number]",a0="[object Object]",j0="[object Promise]",Z0="[object RegExp]",V="[object Set]",q0="[object String]",X0="[object Symbol]",t0="[object WeakMap]",Y0="[object ArrayBuffer]",J="[object DataView]",z0="[object Float32Array]",e0="[object Float64Array]",o0="[object Int8Array]",c0="[object Int16Array]",d0="[object Int32Array]",xx="[object Uint8Array]",tx="[object Uint8ClampedArray]",rx="[object Uint16Array]",nx="[object Uint32Array]",Gx=/[\\^$.*+?()[\]{}|]/g,Ux=/\w*$/,Hx=/^\[object .+?Constructor\]$/,Kx=/^(?:0|[1-9]\d*)$/,p={};p[D0]=p[Nx]=p[Y0]=p[J]=p[W0]=p[V0]=p[z0]=p[e0]=p[o0]=p[c0]=p[d0]=p[W]=p[Q0]=p[a0]=p[Z0]=p[V]=p[q0]=p[X0]=p[xx]=p[tx]=p[rx]=p[nx]=!0;p[Mx]=p[A0]=p[t0]=!1;var Wx=typeof global=="object"&&global&&global.Object===Object&&global,Vx=typeof self=="object"&&self&&self.Object===Object&&self,w=Wx||Vx||Function("return this")(),Cx=typeof G=="object"&&G&&!G.nodeType&&G,$0=Cx&&typeof R=="object"&&R&&!R.nodeType&&R,Jx=$0&&$0.exports===Cx;function Qx(t,r){return t.set(r[0],r[1]),t}function Zx(t,r){return t.add(r),t}function qx(t,r){for(var n=-1,C=t?t.length:0;++n<C&&r(t[n],n,t)!==!1;);return t}function Xx(t,r){for(var n=-1,C=r.length,D=t.length;++n<C;)t[D+n]=r[n];return t}function Bx(t,r,n,C){var D=-1,l=t?t.length:0;for(C&&l&&(n=t[++D]);++D<l;)n=r(n,t[D],D,t);return n}function Yx(t,r){for(var n=-1,C=Array(t);++n<t;)C[n]=r(n);return C}function zx(t,r){return t==null?void 0:t[r]}function ix(t){var r=!1;if(t!=null&&typeof t.toString!="function")try{r=!!(t+"")}catch(n){}return r}function I0(t){var r=-1,n=Array(t.size);return t.forEach(function(C,D){n[++r]=[D,C]}),n}function s0(t,r){return function(n){return t(r(n))}}function R0(t){var r=-1,n=Array(t.size);return t.forEach(function(C){n[++r]=C}),n}var ex=Array.prototype,ox=Function.prototype,Q=Object.prototype,x0=w["__core-js_shared__"],P0=function(){var t=/[^.]+$/.exec(x0&&x0.keys&&x0.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Dx=ox.toString,S=Q.hasOwnProperty,Z=Q.toString,cx=RegExp("^"+Dx.call(S).replace(Gx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),k0=Jx?w.Buffer:void 0,L0=w.Symbol,N0=w.Uint8Array,dx=s0(Object.getPrototypeOf,Object),x1=Object.create,t1=Q.propertyIsEnumerable,r1=ex.splice,M0=Object.getOwnPropertySymbols,n1=k0?k0.isBuffer:void 0,C1=s0(Object.keys,Object),r0=L(w,"DataView"),U=L(w,"Map"),n0=L(w,"Promise"),C0=L(w,"Set"),B0=L(w,"WeakMap"),H=L(Object,"create"),B1=$(r0),i1=$(U),D1=$(n0),A1=$(C0),a1=$(B0),G0=L0?L0.prototype:void 0,U0=G0?G0.valueOf:void 0;function j(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var C=t[r];this.set(C[0],C[1])}}function s1(){this.__data__=H?H(null):{}}function u1(t){return this.has(t)&&delete this.__data__[t]}function F1(t){var r=this.__data__;if(H){var n=r[t];return n===H0?void 0:n}return S.call(r,t)?r[t]:void 0}function f1(t){var r=this.__data__;return H?r[t]!==void 0:S.call(r,t)}function l1(t,r){var n=this.__data__;return n[t]=H&&r===void 0?H0:r,this}j.prototype.clear=s1;j.prototype.delete=u1;j.prototype.get=F1;j.prototype.has=f1;j.prototype.set=l1;function O(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var C=t[r];this.set(C[0],C[1])}}function E1(){this.__data__=[]}function p1(t){var r=this.__data__,n=q(r,t);if(n<0)return!1;var C=r.length-1;return n==C?r.pop():r1.call(r,n,1),!0}function h1(t){var r=this.__data__,n=q(r,t);return n<0?void 0:r[n][1]}function g1(t){return q(this.__data__,t)>-1}function b1(t,r){var n=this.__data__,C=q(n,t);return C<0?n.push([t,r]):n[C][1]=r,this}O.prototype.clear=E1;O.prototype.delete=p1;O.prototype.get=h1;O.prototype.has=g1;O.prototype.set=b1;function P(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var C=t[r];this.set(C[0],C[1])}}function y1(){this.__data__={hash:new j,map:new(U||O),string:new j}}function v1(t){return X(this,t).delete(t)}function m1(t){return X(this,t).get(t)}function _1(t){return X(this,t).has(t)}function w1(t,r){return X(this,t).set(t,r),this}P.prototype.clear=y1;P.prototype.delete=v1;P.prototype.get=m1;P.prototype.has=_1;P.prototype.set=w1;function k(t){this.__data__=new O(t)}function O1(){this.__data__=new O}function S1(t){return this.__data__.delete(t)}function T1(t){return this.__data__.get(t)}function j1(t){return this.__data__.has(t)}function $1(t,r){var n=this.__data__;if(n instanceof O){var C=n.__data__;if(!U||C.length<Lx-1)return C.push([t,r]),this;n=this.__data__=new P(C)}return n.set(t,r),this}k.prototype.clear=O1;k.prototype.delete=S1;k.prototype.get=T1;k.prototype.has=j1;k.prototype.set=$1;function I1(t,r){var n=F0(t)||xt(t)?Yx(t.length,String):[],C=n.length,D=!!C;for(var l in t)(r||S.call(t,l))&&!(D&&(l=="length"||e1(l,C)))&&n.push(l);return n}function Ax(t,r,n){var C=t[r];(!(S.call(t,r)&&Fx(C,n))||n===void 0&&!(r in t))&&(t[r]=n)}function q(t,r){for(var n=t.length;n--;)if(Fx(t[n][0],r))return n;return-1}function R1(t,r){return t&&ax(r,f0(r),t)}function i0(t,r,n,C,D,l,g){var a;if(C&&(a=l?C(t,D,l,g):C(t)),a!==void 0)return a;if(!Y(t))return t;var i=F0(t);if(i){if(a=X1(t),!r)return Q1(t,a)}else{var F=T(t),u=F==A0||F==J0;if(rt(t))return G1(t,r);if(F==a0||F==D0||u&&!l){if(ix(t))return l?t:{};if(a=Y1(u?{}:t),!r)return Z1(t,R1(a,t))}else{if(!p[F])return l?t:{};a=z1(t,F,i0,r)}}g||(g=new k);var B=g.get(t);if(B)return B;if(g.set(t,a),!i)var b=n?q1(t):f0(t);return qx(b||t,function(y,m){b&&(m=y,y=t[m]),Ax(a,m,i0(y,r,n,C,m,t,g))}),a}function P1(t){return Y(t)?x1(t):{}}function k1(t,r,n){var C=r(t);return F0(t)?C:Xx(C,n(t))}function L1(t){return Z.call(t)}function N1(t){if(!Y(t)||c1(t))return!1;var r=lx(t)||ix(t)?cx:Hx;return r.test($(t))}function M1(t){if(!ux(t))return C1(t);var r=[];for(var n in Object(t))S.call(t,n)&&n!="constructor"&&r.push(n);return r}function G1(t,r){if(r)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function u0(t){var r=new t.constructor(t.byteLength);return new N0(r).set(new N0(t)),r}function U1(t,r){var n=r?u0(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function H1(t,r,n){var C=r?n(I0(t),!0):I0(t);return Bx(C,Qx,new t.constructor)}function K1(t){var r=new t.constructor(t.source,Ux.exec(t));return r.lastIndex=t.lastIndex,r}function W1(t,r,n){var C=r?n(R0(t),!0):R0(t);return Bx(C,Zx,new t.constructor)}function V1(t){return U0?Object(U0.call(t)):{}}function J1(t,r){var n=r?u0(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Q1(t,r){var n=-1,C=t.length;for(r||(r=Array(C));++n<C;)r[n]=t[n];return r}function ax(t,r,n,C){n||(n={});for(var D=-1,l=r.length;++D<l;){var g=r[D],a=C?C(n[g],t[g],g,n,t):void 0;Ax(n,g,a===void 0?t[g]:a)}return n}function Z1(t,r){return ax(t,sx(t),r)}function q1(t){return k1(t,f0,sx)}function X(t,r){var n=t.__data__;return o1(r)?n[typeof r=="string"?"string":"hash"]:n.map}function L(t,r){var n=zx(t,r);return N1(n)?n:void 0}var sx=M0?s0(M0,Object):Bt,T=L1;(r0&&T(new r0(new ArrayBuffer(1)))!=J||U&&T(new U)!=W||n0&&T(n0.resolve())!=j0||C0&&T(new C0)!=V||B0&&T(new B0)!=t0)&&(T=function(t){var r=Z.call(t),n=r==a0?t.constructor:void 0,C=n?$(n):void 0;if(C)switch(C){case B1:return J;case i1:return W;case D1:return j0;case A1:return V;case a1:return t0}return r});function X1(t){var r=t.length,n=t.constructor(r);return r&&typeof t[0]=="string"&&S.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function Y1(t){return typeof t.constructor=="function"&&!ux(t)?P1(dx(t)):{}}function z1(t,r,n,C){var D=t.constructor;switch(r){case Y0:return u0(t);case W0:case V0:return new D(+t);case J:return U1(t,C);case z0:case e0:case o0:case c0:case d0:case xx:case tx:case rx:case nx:return J1(t,C);case W:return H1(t,C,n);case Q0:case q0:return new D(t);case Z0:return K1(t);case V:return W1(t,C,n);case X0:return V1(t)}}function e1(t,r){return r=r==null?K0:r,!!r&&(typeof t=="number"||Kx.test(t))&&t>-1&&t%1==0&&t<r}function o1(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}function c1(t){return!!P0&&P0 in t}function ux(t){var r=t&&t.constructor,n=typeof r=="function"&&r.prototype||Q;return t===n}function $(t){if(t!=null){try{return Dx.call(t)}catch(r){}try{return t+""}catch(r){}}return""}function d1(t){return i0(t,!0,!0)}function Fx(t,r){return t===r||t!==t&&r!==r}function xt(t){return tt(t)&&S.call(t,"callee")&&(!t1.call(t,"callee")||Z.call(t)==D0)}var F0=Array.isArray;function fx(t){return t!=null&&nt(t.length)&&!lx(t)}function tt(t){return Ct(t)&&fx(t)}var rt=n1||it;function lx(t){var r=Y(t)?Z.call(t):"";return r==A0||r==J0}function nt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=K0}function Y(t){var r=typeof t;return!!t&&(r=="object"||r=="function")}function Ct(t){return!!t&&typeof t=="object"}function f0(t){return fx(t)?I1(t):M1(t)}function Bt(){return[]}function it(){return!1}R.exports=d1});var hx=O0((vt,e)=>{function At(){var t=0,r=1,n=2,C=3,D=4,l=5,g=6,a=7,i=8,F=9,u=10,B=11,b=12,y=13,m=14,o=15,p0=16,K=17,v=0,c=1,d=2,vx=3,mx=4;function _x(x,A){return 55296<=x.charCodeAt(A)&&x.charCodeAt(A)<=56319&&56320<=x.charCodeAt(A+1)&&x.charCodeAt(A+1)<=57343}function h0(x,A){A===void 0&&(A=0);var E=x.charCodeAt(A);if(55296<=E&&E<=56319&&A<x.length-1){var s=E,f=x.charCodeAt(A+1);return 56320<=f&&f<=57343?(s-55296)*1024+(f-56320)+65536:s}if(56320<=E&&E<=57343&&A>=1){var s=x.charCodeAt(A-1),f=E;return 55296<=s&&s<=56319?(s-55296)*1024+(f-56320)+65536:f}return E}function wx(x,A,E){var s=[x].concat(A).concat([E]),f=s[s.length-2],h=E,b0=s.lastIndexOf(m);if(b0>1&&s.slice(1,b0).every(function(_){return _==C})&&[C,y,K].indexOf(x)==-1)return d;var y0=s.lastIndexOf(D);if(y0>0&&s.slice(1,y0).every(function(_){return _==D})&&[b,D].indexOf(f)==-1)return s.filter(function(_){return _==D}).length%2==1?vx:mx;if(f==t&&h==r)return v;if(f==n||f==t||f==r)return h==m&&A.every(function(_){return _==C})?d:c;if(h==n||h==t||h==r)return c;if(f==g&&(h==g||h==a||h==F||h==u))return v;if((f==F||f==a)&&(h==a||h==i))return v;if((f==u||f==i)&&h==i)return v;if(h==C||h==o)return v;if(h==l)return v;if(f==b)return v;var v0=s.indexOf(C)!=-1?s.lastIndexOf(C)-1:s.length-2;return[y,K].indexOf(s[v0])!=-1&&s.slice(v0+1,-1).every(function(_){return _==C})&&h==m||f==o&&[p0,K].indexOf(h)!=-1?v:A.indexOf(D)!=-1?d:f==D&&h==D?v:c}this.nextBreak=function(x,A){if(A===void 0&&(A=0),A<0)return 0;if(A>=x.length-1)return x.length;for(var E=g0(h0(x,A)),s=[],f=A+1;f<x.length;f++)if(!_x(x,f-1)){var h=g0(h0(x,f));if(wx(E,s,h))return f;s.push(h)}return x.length},this.splitGraphemes=function(x){for(var A=[],E=0,s;(s=this.nextBreak(x,E))<x.length;)A.push(x.slice(E,s)),E=s;return E<x.length&&A.push(x.slice(E)),A},this.iterateGraphemes=function(x){var A=0,E={next:function(){var s,f;return(f=this.nextBreak(x,A))<x.length?(s=x.slice(A,f),A=f,{value:s,done:!1}):A<x.length?(s=x.slice(A),A=x.length,{value:s,done:!1}):{value:void 0,done:!0}}.bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(E[Symbol.iterator]=function(){return E}),E},this.countGraphemes=function(x){for(var A=0,E=0,s;(s=this.nextBreak(x,E))<x.length;)E=s,A++;return E<x.length&&A++,A};function g0(x){return 1536<=x&&x<=1541||x==1757||x==1807||x==2274||x==3406||x==69821||70082<=x&&x<=70083||x==72250||72326<=x&&x<=72329||x==73030?b:x==13?t:x==10?r:0<=x&&x<=9||11<=x&&x<=12||14<=x&&x<=31||127<=x&&x<=159||x==173||x==1564||x==6158||x==8203||8206<=x&&x<=8207||x==8232||x==8233||8234<=x&&x<=8238||8288<=x&&x<=8292||x==8293||8294<=x&&x<=8303||55296<=x&&x<=57343||x==65279||65520<=x&&x<=65528||65529<=x&&x<=65531||113824<=x&&x<=113827||119155<=x&&x<=119162||x==917504||x==917505||917506<=x&&x<=917535||917632<=x&&x<=917759||918e3<=x&&x<=921599?n:768<=x&&x<=879||1155<=x&&x<=1159||1160<=x&&x<=1161||1425<=x&&x<=1469||x==1471||1473<=x&&x<=1474||1476<=x&&x<=1477||x==1479||1552<=x&&x<=1562||1611<=x&&x<=1631||x==1648||1750<=x&&x<=1756||1759<=x&&x<=1764||1767<=x&&x<=1768||1770<=x&&x<=1773||x==1809||1840<=x&&x<=1866||1958<=x&&x<=1968||2027<=x&&x<=2035||2070<=x&&x<=2073||2075<=x&&x<=2083||2085<=x&&x<=2087||2089<=x&&x<=2093||2137<=x&&x<=2139||2260<=x&&x<=2273||2275<=x&&x<=2306||x==2362||x==2364||2369<=x&&x<=2376||x==2381||2385<=x&&x<=2391||2402<=x&&x<=2403||x==2433||x==2492||x==2494||2497<=x&&x<=2500||x==2509||x==2519||2530<=x&&x<=2531||2561<=x&&x<=2562||x==2620||2625<=x&&x<=2626||2631<=x&&x<=2632||2635<=x&&x<=2637||x==2641||2672<=x&&x<=2673||x==2677||2689<=x&&x<=2690||x==2748||2753<=x&&x<=2757||2759<=x&&x<=2760||x==2765||2786<=x&&x<=2787||2810<=x&&x<=2815||x==2817||x==2876||x==2878||x==2879||2881<=x&&x<=2884||x==2893||x==2902||x==2903||2914<=x&&x<=2915||x==2946||x==3006||x==3008||x==3021||x==3031||x==3072||3134<=x&&x<=3136||3142<=x&&x<=3144||3146<=x&&x<=3149||3157<=x&&x<=3158||3170<=x&&x<=3171||x==3201||x==3260||x==3263||x==3266||x==3270||3276<=x&&x<=3277||3285<=x&&x<=3286||3298<=x&&x<=3299||3328<=x&&x<=3329||3387<=x&&x<=3388||x==3390||3393<=x&&x<=3396||x==3405||x==3415||3426<=x&&x<=3427||x==3530||x==3535||3538<=x&&x<=3540||x==3542||x==3551||x==3633||3636<=x&&x<=3642||3655<=x&&x<=3662||x==3761||3764<=x&&x<=3769||3771<=x&&x<=3772||3784<=x&&x<=3789||3864<=x&&x<=3865||x==3893||x==3895||x==3897||3953<=x&&x<=3966||3968<=x&&x<=3972||3974<=x&&x<=3975||3981<=x&&x<=3991||3993<=x&&x<=4028||x==4038||4141<=x&&x<=4144||4146<=x&&x<=4151||4153<=x&&x<=4154||4157<=x&&x<=4158||4184<=x&&x<=4185||4190<=x&&x<=4192||4209<=x&&x<=4212||x==4226||4229<=x&&x<=4230||x==4237||x==4253||4957<=x&&x<=4959||5906<=x&&x<=5908||5938<=x&&x<=5940||5970<=x&&x<=5971||6002<=x&&x<=6003||6068<=x&&x<=6069||6071<=x&&x<=6077||x==6086||6089<=x&&x<=6099||x==6109||6155<=x&&x<=6157||6277<=x&&x<=6278||x==6313||6432<=x&&x<=6434||6439<=x&&x<=6440||x==6450||6457<=x&&x<=6459||6679<=x&&x<=6680||x==6683||x==6742||6744<=x&&x<=6750||x==6752||x==6754||6757<=x&&x<=6764||6771<=x&&x<=6780||x==6783||6832<=x&&x<=6845||x==6846||6912<=x&&x<=6915||x==6964||6966<=x&&x<=6970||x==6972||x==6978||7019<=x&&x<=7027||7040<=x&&x<=7041||7074<=x&&x<=7077||7080<=x&&x<=7081||7083<=x&&x<=7085||x==7142||7144<=x&&x<=7145||x==7149||7151<=x&&x<=7153||7212<=x&&x<=7219||7222<=x&&x<=7223||7376<=x&&x<=7378||7380<=x&&x<=7392||7394<=x&&x<=7400||x==7405||x==7412||7416<=x&&x<=7417||7616<=x&&x<=7673||7675<=x&&x<=7679||x==8204||8400<=x&&x<=8412||8413<=x&&x<=8416||x==8417||8418<=x&&x<=8420||8421<=x&&x<=8432||11503<=x&&x<=11505||x==11647||11744<=x&&x<=11775||12330<=x&&x<=12333||12334<=x&&x<=12335||12441<=x&&x<=12442||x==42607||42608<=x&&x<=42610||42612<=x&&x<=42621||42654<=x&&x<=42655||42736<=x&&x<=42737||x==43010||x==43014||x==43019||43045<=x&&x<=43046||43204<=x&&x<=43205||43232<=x&&x<=43249||43302<=x&&x<=43309||43335<=x&&x<=43345||43392<=x&&x<=43394||x==43443||43446<=x&&x<=43449||x==43452||x==43493||43561<=x&&x<=43566||43569<=x&&x<=43570||43573<=x&&x<=43574||x==43587||x==43596||x==43644||x==43696||43698<=x&&x<=43700||43703<=x&&x<=43704||43710<=x&&x<=43711||x==43713||43756<=x&&x<=43757||x==43766||x==44005||x==44008||x==44013||x==64286||65024<=x&&x<=65039||65056<=x&&x<=65071||65438<=x&&x<=65439||x==66045||x==66272||66422<=x&&x<=66426||68097<=x&&x<=68099||68101<=x&&x<=68102||68108<=x&&x<=68111||68152<=x&&x<=68154||x==68159||68325<=x&&x<=68326||x==69633||69688<=x&&x<=69702||69759<=x&&x<=69761||69811<=x&&x<=69814||69817<=x&&x<=69818||69888<=x&&x<=69890||69927<=x&&x<=69931||69933<=x&&x<=69940||x==70003||70016<=x&&x<=70017||70070<=x&&x<=70078||70090<=x&&x<=70092||70191<=x&&x<=70193||x==70196||70198<=x&&x<=70199||x==70206||x==70367||70371<=x&&x<=70378||70400<=x&&x<=70401||x==70460||x==70462||x==70464||x==70487||70502<=x&&x<=70508||70512<=x&&x<=70516||70712<=x&&x<=70719||70722<=x&&x<=70724||x==70726||x==70832||70835<=x&&x<=70840||x==70842||x==70845||70847<=x&&x<=70848||70850<=x&&x<=70851||x==71087||71090<=x&&x<=71093||71100<=x&&x<=71101||71103<=x&&x<=71104||71132<=x&&x<=71133||71219<=x&&x<=71226||x==71229||71231<=x&&x<=71232||x==71339||x==71341||71344<=x&&x<=71349||x==71351||71453<=x&&x<=71455||71458<=x&&x<=71461||71463<=x&&x<=71467||72193<=x&&x<=72198||72201<=x&&x<=72202||72243<=x&&x<=72248||72251<=x&&x<=72254||x==72263||72273<=x&&x<=72278||72281<=x&&x<=72283||72330<=x&&x<=72342||72344<=x&&x<=72345||72752<=x&&x<=72758||72760<=x&&x<=72765||x==72767||72850<=x&&x<=72871||72874<=x&&x<=72880||72882<=x&&x<=72883||72885<=x&&x<=72886||73009<=x&&x<=73014||x==73018||73020<=x&&x<=73021||73023<=x&&x<=73029||x==73031||92912<=x&&x<=92916||92976<=x&&x<=92982||94095<=x&&x<=94098||113821<=x&&x<=113822||x==119141||119143<=x&&x<=119145||119150<=x&&x<=119154||119163<=x&&x<=119170||119173<=x&&x<=119179||119210<=x&&x<=119213||119362<=x&&x<=119364||121344<=x&&x<=121398||121403<=x&&x<=121452||x==121461||x==121476||121499<=x&&x<=121503||121505<=x&&x<=121519||122880<=x&&x<=122886||122888<=x&&x<=122904||122907<=x&&x<=122913||122915<=x&&x<=122916||122918<=x&&x<=122922||125136<=x&&x<=125142||125252<=x&&x<=125258||917536<=x&&x<=917631||917760<=x&&x<=917999?C:127462<=x&&x<=127487?D:x==2307||x==2363||2366<=x&&x<=2368||2377<=x&&x<=2380||2382<=x&&x<=2383||2434<=x&&x<=2435||2495<=x&&x<=2496||2503<=x&&x<=2504||2507<=x&&x<=2508||x==2563||2622<=x&&x<=2624||x==2691||2750<=x&&x<=2752||x==2761||2763<=x&&x<=2764||2818<=x&&x<=2819||x==2880||2887<=x&&x<=2888||2891<=x&&x<=2892||x==3007||3009<=x&&x<=3010||3014<=x&&x<=3016||3018<=x&&x<=3020||3073<=x&&x<=3075||3137<=x&&x<=3140||3202<=x&&x<=3203||x==3262||3264<=x&&x<=3265||3267<=x&&x<=3268||3271<=x&&x<=3272||3274<=x&&x<=3275||3330<=x&&x<=3331||3391<=x&&x<=3392||3398<=x&&x<=3400||3402<=x&&x<=3404||3458<=x&&x<=3459||3536<=x&&x<=3537||3544<=x&&x<=3550||3570<=x&&x<=3571||x==3635||x==3763||3902<=x&&x<=3903||x==3967||x==4145||4155<=x&&x<=4156||4182<=x&&x<=4183||x==4228||x==6070||6078<=x&&x<=6085||6087<=x&&x<=6088||6435<=x&&x<=6438||6441<=x&&x<=6443||6448<=x&&x<=6449||6451<=x&&x<=6456||6681<=x&&x<=6682||x==6741||x==6743||6765<=x&&x<=6770||x==6916||x==6965||x==6971||6973<=x&&x<=6977||6979<=x&&x<=6980||x==7042||x==7073||7078<=x&&x<=7079||x==7082||x==7143||7146<=x&&x<=7148||x==7150||7154<=x&&x<=7155||7204<=x&&x<=7211||7220<=x&&x<=7221||x==7393||7410<=x&&x<=7411||x==7415||43043<=x&&x<=43044||x==43047||43136<=x&&x<=43137||43188<=x&&x<=43203||43346<=x&&x<=43347||x==43395||43444<=x&&x<=43445||43450<=x&&x<=43451||43453<=x&&x<=43456||43567<=x&&x<=43568||43571<=x&&x<=43572||x==43597||x==43755||43758<=x&&x<=43759||x==43765||44003<=x&&x<=44004||44006<=x&&x<=44007||44009<=x&&x<=44010||x==44012||x==69632||x==69634||x==69762||69808<=x&&x<=69810||69815<=x&&x<=69816||x==69932||x==70018||70067<=x&&x<=70069||70079<=x&&x<=70080||70188<=x&&x<=70190||70194<=x&&x<=70195||x==70197||70368<=x&&x<=70370||70402<=x&&x<=70403||x==70463||70465<=x&&x<=70468||70471<=x&&x<=70472||70475<=x&&x<=70477||70498<=x&&x<=70499||70709<=x&&x<=70711||70720<=x&&x<=70721||x==70725||70833<=x&&x<=70834||x==70841||70843<=x&&x<=70844||x==70846||x==70849||71088<=x&&x<=71089||71096<=x&&x<=71099||x==71102||71216<=x&&x<=71218||71227<=x&&x<=71228||x==71230||x==71340||71342<=x&&x<=71343||x==71350||71456<=x&&x<=71457||x==71462||72199<=x&&x<=72200||x==72249||72279<=x&&x<=72280||x==72343||x==72751||x==72766||x==72873||x==72881||x==72884||94033<=x&&x<=94078||x==119142||x==119149?l:4352<=x&&x<=4447||43360<=x&&x<=43388?g:4448<=x&&x<=4519||55216<=x&&x<=55238?a:4520<=x&&x<=4607||55243<=x&&x<=55291?i:x==44032||x==44060||x==44088||x==44116||x==44144||x==44172||x==44200||x==44228||x==44256||x==44284||x==44312||x==44340||x==44368||x==44396||x==44424||x==44452||x==44480||x==44508||x==44536||x==44564||x==44592||x==44620||x==44648||x==44676||x==44704||x==44732||x==44760||x==44788||x==44816||x==44844||x==44872||x==44900||x==44928||x==44956||x==44984||x==45012||x==45040||x==45068||x==45096||x==45124||x==45152||x==45180||x==45208||x==45236||x==45264||x==45292||x==45320||x==45348||x==45376||x==45404||x==45432||x==45460||x==45488||x==45516||x==45544||x==45572||x==45600||x==45628||x==45656||x==45684||x==45712||x==45740||x==45768||x==45796||x==45824||x==45852||x==45880||x==45908||x==45936||x==45964||x==45992||x==46020||x==46048||x==46076||x==46104||x==46132||x==46160||x==46188||x==46216||x==46244||x==46272||x==46300||x==46328||x==46356||x==46384||x==46412||x==46440||x==46468||x==46496||x==46524||x==46552||x==46580||x==46608||x==46636||x==46664||x==46692||x==46720||x==46748||x==46776||x==46804||x==46832||x==46860||x==46888||x==46916||x==46944||x==46972||x==47e3||x==47028||x==47056||x==47084||x==47112||x==47140||x==47168||x==47196||x==47224||x==47252||x==47280||x==47308||x==47336||x==47364||x==47392||x==47420||x==47448||x==47476||x==47504||x==47532||x==47560||x==47588||x==47616||x==47644||x==47672||x==47700||x==47728||x==47756||x==47784||x==47812||x==47840||x==47868||x==47896||x==47924||x==47952||x==47980||x==48008||x==48036||x==48064||x==48092||x==48120||x==48148||x==48176||x==48204||x==48232||x==48260||x==48288||x==48316||x==48344||x==48372||x==48400||x==48428||x==48456||x==48484||x==48512||x==48540||x==48568||x==48596||x==48624||x==48652||x==48680||x==48708||x==48736||x==48764||x==48792||x==48820||x==48848||x==48876||x==48904||x==48932||x==48960||x==48988||x==49016||x==49044||x==49072||x==49100||x==49128||x==49156||x==49184||x==49212||x==49240||x==49268||x==49296||x==49324||x==49352||x==49380||x==49408||x==49436||x==49464||x==49492||x==49520||x==49548||x==49576||x==49604||x==49632||x==49660||x==49688||x==49716||x==49744||x==49772||x==49800||x==49828||x==49856||x==49884||x==49912||x==49940||x==49968||x==49996||x==50024||x==50052||x==50080||x==50108||x==50136||x==50164||x==50192||x==50220||x==50248||x==50276||x==50304||x==50332||x==50360||x==50388||x==50416||x==50444||x==50472||x==50500||x==50528||x==50556||x==50584||x==50612||x==50640||x==50668||x==50696||x==50724||x==50752||x==50780||x==50808||x==50836||x==50864||x==50892||x==50920||x==50948||x==50976||x==51004||x==51032||x==51060||x==51088||x==51116||x==51144||x==51172||x==51200||x==51228||x==51256||x==51284||x==51312||x==51340||x==51368||x==51396||x==51424||x==51452||x==51480||x==51508||x==51536||x==51564||x==51592||x==51620||x==51648||x==51676||x==51704||x==51732||x==51760||x==51788||x==51816||x==51844||x==51872||x==51900||x==51928||x==51956||x==51984||x==52012||x==52040||x==52068||x==52096||x==52124||x==52152||x==52180||x==52208||x==52236||x==52264||x==52292||x==52320||x==52348||x==52376||x==52404||x==52432||x==52460||x==52488||x==52516||x==52544||x==52572||x==52600||x==52628||x==52656||x==52684||x==52712||x==52740||x==52768||x==52796||x==52824||x==52852||x==52880||x==52908||x==52936||x==52964||x==52992||x==53020||x==53048||x==53076||x==53104||x==53132||x==53160||x==53188||x==53216||x==53244||x==53272||x==53300||x==53328||x==53356||x==53384||x==53412||x==53440||x==53468||x==53496||x==53524||x==53552||x==53580||x==53608||x==53636||x==53664||x==53692||x==53720||x==53748||x==53776||x==53804||x==53832||x==53860||x==53888||x==53916||x==53944||x==53972||x==54e3||x==54028||x==54056||x==54084||x==54112||x==54140||x==54168||x==54196||x==54224||x==54252||x==54280||x==54308||x==54336||x==54364||x==54392||x==54420||x==54448||x==54476||x==54504||x==54532||x==54560||x==54588||x==54616||x==54644||x==54672||x==54700||x==54728||x==54756||x==54784||x==54812||x==54840||x==54868||x==54896||x==54924||x==54952||x==54980||x==55008||x==55036||x==55064||x==55092||x==55120||x==55148||x==55176?F:44033<=x&&x<=44059||44061<=x&&x<=44087||44089<=x&&x<=44115||44117<=x&&x<=44143||44145<=x&&x<=44171||44173<=x&&x<=44199||44201<=x&&x<=44227||44229<=x&&x<=44255||44257<=x&&x<=44283||44285<=x&&x<=44311||44313<=x&&x<=44339||44341<=x&&x<=44367||44369<=x&&x<=44395||44397<=x&&x<=44423||44425<=x&&x<=44451||44453<=x&&x<=44479||44481<=x&&x<=44507||44509<=x&&x<=44535||44537<=x&&x<=44563||44565<=x&&x<=44591||44593<=x&&x<=44619||44621<=x&&x<=44647||44649<=x&&x<=44675||44677<=x&&x<=44703||44705<=x&&x<=44731||44733<=x&&x<=44759||44761<=x&&x<=44787||44789<=x&&x<=44815||44817<=x&&x<=44843||44845<=x&&x<=44871||44873<=x&&x<=44899||44901<=x&&x<=44927||44929<=x&&x<=44955||44957<=x&&x<=44983||44985<=x&&x<=45011||45013<=x&&x<=45039||45041<=x&&x<=45067||45069<=x&&x<=45095||45097<=x&&x<=45123||45125<=x&&x<=45151||45153<=x&&x<=45179||45181<=x&&x<=45207||45209<=x&&x<=45235||45237<=x&&x<=45263||45265<=x&&x<=45291||45293<=x&&x<=45319||45321<=x&&x<=45347||45349<=x&&x<=45375||45377<=x&&x<=45403||45405<=x&&x<=45431||45433<=x&&x<=45459||45461<=x&&x<=45487||45489<=x&&x<=45515||45517<=x&&x<=45543||45545<=x&&x<=45571||45573<=x&&x<=45599||45601<=x&&x<=45627||45629<=x&&x<=45655||45657<=x&&x<=45683||45685<=x&&x<=45711||45713<=x&&x<=45739||45741<=x&&x<=45767||45769<=x&&x<=45795||45797<=x&&x<=45823||45825<=x&&x<=45851||45853<=x&&x<=45879||45881<=x&&x<=45907||45909<=x&&x<=45935||45937<=x&&x<=45963||45965<=x&&x<=45991||45993<=x&&x<=46019||46021<=x&&x<=46047||46049<=x&&x<=46075||46077<=x&&x<=46103||46105<=x&&x<=46131||46133<=x&&x<=46159||46161<=x&&x<=46187||46189<=x&&x<=46215||46217<=x&&x<=46243||46245<=x&&x<=46271||46273<=x&&x<=46299||46301<=x&&x<=46327||46329<=x&&x<=46355||46357<=x&&x<=46383||46385<=x&&x<=46411||46413<=x&&x<=46439||46441<=x&&x<=46467||46469<=x&&x<=46495||46497<=x&&x<=46523||46525<=x&&x<=46551||46553<=x&&x<=46579||46581<=x&&x<=46607||46609<=x&&x<=46635||46637<=x&&x<=46663||46665<=x&&x<=46691||46693<=x&&x<=46719||46721<=x&&x<=46747||46749<=x&&x<=46775||46777<=x&&x<=46803||46805<=x&&x<=46831||46833<=x&&x<=46859||46861<=x&&x<=46887||46889<=x&&x<=46915||46917<=x&&x<=46943||46945<=x&&x<=46971||46973<=x&&x<=46999||47001<=x&&x<=47027||47029<=x&&x<=47055||47057<=x&&x<=47083||47085<=x&&x<=47111||47113<=x&&x<=47139||47141<=x&&x<=47167||47169<=x&&x<=47195||47197<=x&&x<=47223||47225<=x&&x<=47251||47253<=x&&x<=47279||47281<=x&&x<=47307||47309<=x&&x<=47335||47337<=x&&x<=47363||47365<=x&&x<=47391||47393<=x&&x<=47419||47421<=x&&x<=47447||47449<=x&&x<=47475||47477<=x&&x<=47503||47505<=x&&x<=47531||47533<=x&&x<=47559||47561<=x&&x<=47587||47589<=x&&x<=47615||47617<=x&&x<=47643||47645<=x&&x<=47671||47673<=x&&x<=47699||47701<=x&&x<=47727||47729<=x&&x<=47755||47757<=x&&x<=47783||47785<=x&&x<=47811||47813<=x&&x<=47839||47841<=x&&x<=47867||47869<=x&&x<=47895||47897<=x&&x<=47923||47925<=x&&x<=47951||47953<=x&&x<=47979||47981<=x&&x<=48007||48009<=x&&x<=48035||48037<=x&&x<=48063||48065<=x&&x<=48091||48093<=x&&x<=48119||48121<=x&&x<=48147||48149<=x&&x<=48175||48177<=x&&x<=48203||48205<=x&&x<=48231||48233<=x&&x<=48259||48261<=x&&x<=48287||48289<=x&&x<=48315||48317<=x&&x<=48343||48345<=x&&x<=48371||48373<=x&&x<=48399||48401<=x&&x<=48427||48429<=x&&x<=48455||48457<=x&&x<=48483||48485<=x&&x<=48511||48513<=x&&x<=48539||48541<=x&&x<=48567||48569<=x&&x<=48595||48597<=x&&x<=48623||48625<=x&&x<=48651||48653<=x&&x<=48679||48681<=x&&x<=48707||48709<=x&&x<=48735||48737<=x&&x<=48763||48765<=x&&x<=48791||48793<=x&&x<=48819||48821<=x&&x<=48847||48849<=x&&x<=48875||48877<=x&&x<=48903||48905<=x&&x<=48931||48933<=x&&x<=48959||48961<=x&&x<=48987||48989<=x&&x<=49015||49017<=x&&x<=49043||49045<=x&&x<=49071||49073<=x&&x<=49099||49101<=x&&x<=49127||49129<=x&&x<=49155||49157<=x&&x<=49183||49185<=x&&x<=49211||49213<=x&&x<=49239||49241<=x&&x<=49267||49269<=x&&x<=49295||49297<=x&&x<=49323||49325<=x&&x<=49351||49353<=x&&x<=49379||49381<=x&&x<=49407||49409<=x&&x<=49435||49437<=x&&x<=49463||49465<=x&&x<=49491||49493<=x&&x<=49519||49521<=x&&x<=49547||49549<=x&&x<=49575||49577<=x&&x<=49603||49605<=x&&x<=49631||49633<=x&&x<=49659||49661<=x&&x<=49687||49689<=x&&x<=49715||49717<=x&&x<=49743||49745<=x&&x<=49771||49773<=x&&x<=49799||49801<=x&&x<=49827||49829<=x&&x<=49855||49857<=x&&x<=49883||49885<=x&&x<=49911||49913<=x&&x<=49939||49941<=x&&x<=49967||49969<=x&&x<=49995||49997<=x&&x<=50023||50025<=x&&x<=50051||50053<=x&&x<=50079||50081<=x&&x<=50107||50109<=x&&x<=50135||50137<=x&&x<=50163||50165<=x&&x<=50191||50193<=x&&x<=50219||50221<=x&&x<=50247||50249<=x&&x<=50275||50277<=x&&x<=50303||50305<=x&&x<=50331||50333<=x&&x<=50359||50361<=x&&x<=50387||50389<=x&&x<=50415||50417<=x&&x<=50443||50445<=x&&x<=50471||50473<=x&&x<=50499||50501<=x&&x<=50527||50529<=x&&x<=50555||50557<=x&&x<=50583||50585<=x&&x<=50611||50613<=x&&x<=50639||50641<=x&&x<=50667||50669<=x&&x<=50695||50697<=x&&x<=50723||50725<=x&&x<=50751||50753<=x&&x<=50779||50781<=x&&x<=50807||50809<=x&&x<=50835||50837<=x&&x<=50863||50865<=x&&x<=50891||50893<=x&&x<=50919||50921<=x&&x<=50947||50949<=x&&x<=50975||50977<=x&&x<=51003||51005<=x&&x<=51031||51033<=x&&x<=51059||51061<=x&&x<=51087||51089<=x&&x<=51115||51117<=x&&x<=51143||51145<=x&&x<=51171||51173<=x&&x<=51199||51201<=x&&x<=51227||51229<=x&&x<=51255||51257<=x&&x<=51283||51285<=x&&x<=51311||51313<=x&&x<=51339||51341<=x&&x<=51367||51369<=x&&x<=51395||51397<=x&&x<=51423||51425<=x&&x<=51451||51453<=x&&x<=51479||51481<=x&&x<=51507||51509<=x&&x<=51535||51537<=x&&x<=51563||51565<=x&&x<=51591||51593<=x&&x<=51619||51621<=x&&x<=51647||51649<=x&&x<=51675||51677<=x&&x<=51703||51705<=x&&x<=51731||51733<=x&&x<=51759||51761<=x&&x<=51787||51789<=x&&x<=51815||51817<=x&&x<=51843||51845<=x&&x<=51871||51873<=x&&x<=51899||51901<=x&&x<=51927||51929<=x&&x<=51955||51957<=x&&x<=51983||51985<=x&&x<=52011||52013<=x&&x<=52039||52041<=x&&x<=52067||52069<=x&&x<=52095||52097<=x&&x<=52123||52125<=x&&x<=52151||52153<=x&&x<=52179||52181<=x&&x<=52207||52209<=x&&x<=52235||52237<=x&&x<=52263||52265<=x&&x<=52291||52293<=x&&x<=52319||52321<=x&&x<=52347||52349<=x&&x<=52375||52377<=x&&x<=52403||52405<=x&&x<=52431||52433<=x&&x<=52459||52461<=x&&x<=52487||52489<=x&&x<=52515||52517<=x&&x<=52543||52545<=x&&x<=52571||52573<=x&&x<=52599||52601<=x&&x<=52627||52629<=x&&x<=52655||52657<=x&&x<=52683||52685<=x&&x<=52711||52713<=x&&x<=52739||52741<=x&&x<=52767||52769<=x&&x<=52795||52797<=x&&x<=52823||52825<=x&&x<=52851||52853<=x&&x<=52879||52881<=x&&x<=52907||52909<=x&&x<=52935||52937<=x&&x<=52963||52965<=x&&x<=52991||52993<=x&&x<=53019||53021<=x&&x<=53047||53049<=x&&x<=53075||53077<=x&&x<=53103||53105<=x&&x<=53131||53133<=x&&x<=53159||53161<=x&&x<=53187||53189<=x&&x<=53215||53217<=x&&x<=53243||53245<=x&&x<=53271||53273<=x&&x<=53299||53301<=x&&x<=53327||53329<=x&&x<=53355||53357<=x&&x<=53383||53385<=x&&x<=53411||53413<=x&&x<=53439||53441<=x&&x<=53467||53469<=x&&x<=53495||53497<=x&&x<=53523||53525<=x&&x<=53551||53553<=x&&x<=53579||53581<=x&&x<=53607||53609<=x&&x<=53635||53637<=x&&x<=53663||53665<=x&&x<=53691||53693<=x&&x<=53719||53721<=x&&x<=53747||53749<=x&&x<=53775||53777<=x&&x<=53803||53805<=x&&x<=53831||53833<=x&&x<=53859||53861<=x&&x<=53887||53889<=x&&x<=53915||53917<=x&&x<=53943||53945<=x&&x<=53971||53973<=x&&x<=53999||54001<=x&&x<=54027||54029<=x&&x<=54055||54057<=x&&x<=54083||54085<=x&&x<=54111||54113<=x&&x<=54139||54141<=x&&x<=54167||54169<=x&&x<=54195||54197<=x&&x<=54223||54225<=x&&x<=54251||54253<=x&&x<=54279||54281<=x&&x<=54307||54309<=x&&x<=54335||54337<=x&&x<=54363||54365<=x&&x<=54391||54393<=x&&x<=54419||54421<=x&&x<=54447||54449<=x&&x<=54475||54477<=x&&x<=54503||54505<=x&&x<=54531||54533<=x&&x<=54559||54561<=x&&x<=54587||54589<=x&&x<=54615||54617<=x&&x<=54643||54645<=x&&x<=54671||54673<=x&&x<=54699||54701<=x&&x<=54727||54729<=x&&x<=54755||54757<=x&&x<=54783||54785<=x&&x<=54811||54813<=x&&x<=54839||54841<=x&&x<=54867||54869<=x&&x<=54895||54897<=x&&x<=54923||54925<=x&&x<=54951||54953<=x&&x<=54979||54981<=x&&x<=55007||55009<=x&&x<=55035||55037<=x&&x<=55063||55065<=x&&x<=55091||55093<=x&&x<=55119||55121<=x&&x<=55147||55149<=x&&x<=55175||55177<=x&&x<=55203?u:x==9757||x==9977||9994<=x&&x<=9997||x==127877||127938<=x&&x<=127940||x==127943||127946<=x&&x<=127948||128066<=x&&x<=128067||128070<=x&&x<=128080||x==128110||128112<=x&&x<=128120||x==128124||128129<=x&&x<=128131||128133<=x&&x<=128135||x==128170||128372<=x&&x<=128373||x==128378||x==128400||128405<=x&&x<=128406||128581<=x&&x<=128583||128587<=x&&x<=128591||x==128675||128692<=x&&x<=128694||x==128704||x==128716||129304<=x&&x<=129308||129310<=x&&x<=129311||x==129318||129328<=x&&x<=129337||129341<=x&&x<=129342||129489<=x&&x<=129501?y:127995<=x&&x<=127999?m:x==8205?o:x==9792||x==9794||9877<=x&&x<=9878||x==9992||x==10084||x==127752||x==127806||x==127859||x==127891||x==127908||x==127912||x==127979||x==127981||x==128139||128187<=x&&x<=128188||x==128295||x==128300||x==128488||x==128640||x==128658?p0:128102<=x&&x<=128105?K:B}return this}typeof e<"u"&&e.exports&&(e.exports=At)});var ft={};Px(ft,{nativeToUnicode:()=>ut,unicodeToNative:()=>Ft,version:()=>st});var z=T0(Ex(),1);function px(t){if(t==null||typeof t!="object")return!1;let r=Object.getPrototypeOf(t);return r!==null&&r!==Object.prototype&&Object.getPrototypeOf(r)!==null?!1:!(Symbol.iterator in t)&&!(Symbol.toStringTag in t)}function Dt(t){if(t.includes(".")){let r=t.lastIndexOf(".");if(!t.slice(0,r).includes("."))return t.slice(0,r);for(let n=r-1;n--;)if(t[n]===".")return t.slice(n+1,r)}return null}var l0=Dt;function E0(t,r){let n={now:!1};function C(D,l,g,a){let i=(0,z.default)(D),F,u=I({depth:-1,path:""},g);if(u.depth+=1,Array.isArray(i))for(let B=0,b=i.length;B<b&&!a.now;B++){let y=u.path?`${u.path}.${B}`:`${B}`;i[B]!==void 0?(u.parent=(0,z.default)(i),u.parentType="array",u.parentKey=l0(y),F=C(l(i[B],void 0,M(I({},u),{path:y}),a),l,M(I({},u),{path:y}),a),Number.isNaN(F)&&B<i.length?(i.splice(B,1),B-=1):i[B]=F):i.splice(B,1)}else if(px(i))for(let B in i){if(a.now&&B!=null)break;let b=u.path?`${u.path}.${B}`:B;u.depth===0&&B!=null&&(u.topmostKey=B),u.parent=(0,z.default)(i),u.parentType="object",u.parentKey=l0(b),F=C(l(B,i[B],M(I({},u),{path:b}),a),l,M(I({},u),{path:b}),a),Number.isNaN(F)?delete i[B]:i[B]=F}return i}return C(t,r,{},n)}var bx=T0(hx(),1);var gx="6.0.8";var st=gx;function yx(t,r,n){function C(i){return!(!["string","number"].includes(typeof i)||typeof i=="string"&&!/^\d*$/.test(i)||typeof i=="number"&&(!Number.isInteger(i)||i<0))}function D(i,F){let u=0,B=0;for(let b=0,y=i.length;b<y;b++){if(B+=i[b].length,F>=u&&F<B)return b;u+=i[b].length}throw new Error(`string-convert-indexes: [THROW_ID_05] the "indexes" value, ${n}, is not covered by graphemes length!`)}function l(i,F){if(F>=i.length)throw new Error(`string-convert-indexes: [THROW_ID_06] the index to convert, ${F}, is not covered by graphemes length!`);return i.slice(0,F).join("").length}if(typeof r!="string"||!r)throw new TypeError(`string-convert-indexes: [THROW_ID_01] the first input argument, input string, must be a non-zero-length string! Currently it's: ${typeof r}, equal to:
|
|
11
|
-
${r}`);if(n===0)return 0;if(n==="0")return"0";let
|
|
10
|
+
"use strict";var stringConvertIndexes=(()=>{var Ox=Object.create;var L=Object.defineProperty,Sx=Object.defineProperties,Tx=Object.getOwnPropertyDescriptor,jx=Object.getOwnPropertyDescriptors,Ix=Object.getOwnPropertyNames,m0=Object.getOwnPropertySymbols,$x=Object.getPrototypeOf,w0=Object.prototype.hasOwnProperty,Nx=Object.prototype.propertyIsEnumerable;var _0=(t,r,n)=>r in t?L(t,r,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[r]=n,$=(t,r)=>{for(var n in r||(r={}))w0.call(r,n)&&_0(t,n,r[n]);if(m0)for(var n of m0(r))Nx.call(r,n)&&_0(t,n,r[n]);return t},M=(t,r)=>Sx(t,jx(r));var O0=(t,r)=>()=>(r||t((r={exports:{}}).exports,r),r.exports),Px=(t,r)=>{for(var n in r)L(t,n,{get:r[n],enumerable:!0})},S0=(t,r,n,C)=>{if(r&&typeof r=="object"||typeof r=="function")for(let D of Ix(r))!w0.call(t,D)&&D!==n&&L(t,D,{get:()=>r[D],enumerable:!(C=Tx(r,D))||C.enumerable});return t};var T0=(t,r,n)=>(n=t!=null?Ox($x(t)):{},S0(r||!t||!t.__esModule?L(n,"default",{value:t,enumerable:!0}):n,t)),Rx=t=>S0(L({},"__esModule",{value:!0}),t);var Ex=O0((G,N)=>{var kx=200,H0="__lodash_hash_undefined__",K0=9007199254740991,D0="[object Arguments]",Lx="[object Array]",W0="[object Boolean]",V0="[object Date]",Mx="[object Error]",a0="[object Function]",J0="[object GeneratorFunction]",W="[object Map]",Q0="[object Number]",A0="[object Object]",j0="[object Promise]",Z0="[object RegExp]",V="[object Set]",q0="[object String]",z0="[object Symbol]",t0="[object WeakMap]",X0="[object ArrayBuffer]",J="[object DataView]",Y0="[object Float32Array]",e0="[object Float64Array]",o0="[object Int8Array]",c0="[object Int16Array]",d0="[object Int32Array]",xx="[object Uint8Array]",tx="[object Uint8ClampedArray]",rx="[object Uint16Array]",nx="[object Uint32Array]",Gx=/[\\^$.*+?()[\]{}|]/g,Ux=/\w*$/,Hx=/^\[object .+?Constructor\]$/,Kx=/^(?:0|[1-9]\d*)$/,p={};p[D0]=p[Lx]=p[X0]=p[J]=p[W0]=p[V0]=p[Y0]=p[e0]=p[o0]=p[c0]=p[d0]=p[W]=p[Q0]=p[A0]=p[Z0]=p[V]=p[q0]=p[z0]=p[xx]=p[tx]=p[rx]=p[nx]=!0;p[Mx]=p[a0]=p[t0]=!1;var Wx=typeof global=="object"&&global&&global.Object===Object&&global,Vx=typeof self=="object"&&self&&self.Object===Object&&self,w=Wx||Vx||Function("return this")(),Cx=typeof G=="object"&&G&&!G.nodeType&&G,I0=Cx&&typeof N=="object"&&N&&!N.nodeType&&N,Jx=I0&&I0.exports===Cx;function Qx(t,r){return t.set(r[0],r[1]),t}function Zx(t,r){return t.add(r),t}function qx(t,r){for(var n=-1,C=t?t.length:0;++n<C&&r(t[n],n,t)!==!1;);return t}function zx(t,r){for(var n=-1,C=r.length,D=t.length;++n<C;)t[D+n]=r[n];return t}function Bx(t,r,n,C){var D=-1,l=t?t.length:0;for(C&&l&&(n=t[++D]);++D<l;)n=r(n,t[D],D,t);return n}function Xx(t,r){for(var n=-1,C=Array(t);++n<t;)C[n]=r(n);return C}function Yx(t,r){return t==null?void 0:t[r]}function ix(t){var r=!1;if(t!=null&&typeof t.toString!="function")try{r=!!(t+"")}catch(n){}return r}function $0(t){var r=-1,n=Array(t.size);return t.forEach(function(C,D){n[++r]=[D,C]}),n}function u0(t,r){return function(n){return t(r(n))}}function N0(t){var r=-1,n=Array(t.size);return t.forEach(function(C){n[++r]=C}),n}var ex=Array.prototype,ox=Function.prototype,Q=Object.prototype,x0=w["__core-js_shared__"],P0=function(){var t=/[^.]+$/.exec(x0&&x0.keys&&x0.keys.IE_PROTO||"");return t?"Symbol(src)_1."+t:""}(),Dx=ox.toString,S=Q.hasOwnProperty,Z=Q.toString,cx=RegExp("^"+Dx.call(S).replace(Gx,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),R0=Jx?w.Buffer:void 0,k0=w.Symbol,L0=w.Uint8Array,dx=u0(Object.getPrototypeOf,Object),x1=Object.create,t1=Q.propertyIsEnumerable,r1=ex.splice,M0=Object.getOwnPropertySymbols,n1=R0?R0.isBuffer:void 0,C1=u0(Object.keys,Object),r0=k(w,"DataView"),U=k(w,"Map"),n0=k(w,"Promise"),C0=k(w,"Set"),B0=k(w,"WeakMap"),H=k(Object,"create"),B1=I(r0),i1=I(U),D1=I(n0),a1=I(C0),A1=I(B0),G0=k0?k0.prototype:void 0,U0=G0?G0.valueOf:void 0;function j(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var C=t[r];this.set(C[0],C[1])}}function u1(){this.__data__=H?H(null):{}}function s1(t){return this.has(t)&&delete this.__data__[t]}function F1(t){var r=this.__data__;if(H){var n=r[t];return n===H0?void 0:n}return S.call(r,t)?r[t]:void 0}function f1(t){var r=this.__data__;return H?r[t]!==void 0:S.call(r,t)}function l1(t,r){var n=this.__data__;return n[t]=H&&r===void 0?H0:r,this}j.prototype.clear=u1;j.prototype.delete=s1;j.prototype.get=F1;j.prototype.has=f1;j.prototype.set=l1;function O(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var C=t[r];this.set(C[0],C[1])}}function E1(){this.__data__=[]}function p1(t){var r=this.__data__,n=q(r,t);if(n<0)return!1;var C=r.length-1;return n==C?r.pop():r1.call(r,n,1),!0}function h1(t){var r=this.__data__,n=q(r,t);return n<0?void 0:r[n][1]}function g1(t){return q(this.__data__,t)>-1}function b1(t,r){var n=this.__data__,C=q(n,t);return C<0?n.push([t,r]):n[C][1]=r,this}O.prototype.clear=E1;O.prototype.delete=p1;O.prototype.get=h1;O.prototype.has=g1;O.prototype.set=b1;function P(t){var r=-1,n=t?t.length:0;for(this.clear();++r<n;){var C=t[r];this.set(C[0],C[1])}}function y1(){this.__data__={hash:new j,map:new(U||O),string:new j}}function v1(t){return z(this,t).delete(t)}function m1(t){return z(this,t).get(t)}function _1(t){return z(this,t).has(t)}function w1(t,r){return z(this,t).set(t,r),this}P.prototype.clear=y1;P.prototype.delete=v1;P.prototype.get=m1;P.prototype.has=_1;P.prototype.set=w1;function R(t){this.__data__=new O(t)}function O1(){this.__data__=new O}function S1(t){return this.__data__.delete(t)}function T1(t){return this.__data__.get(t)}function j1(t){return this.__data__.has(t)}function I1(t,r){var n=this.__data__;if(n instanceof O){var C=n.__data__;if(!U||C.length<kx-1)return C.push([t,r]),this;n=this.__data__=new P(C)}return n.set(t,r),this}R.prototype.clear=O1;R.prototype.delete=S1;R.prototype.get=T1;R.prototype.has=j1;R.prototype.set=I1;function $1(t,r){var n=F0(t)||xt(t)?Xx(t.length,String):[],C=n.length,D=!!C;for(var l in t)(r||S.call(t,l))&&!(D&&(l=="length"||e1(l,C)))&&n.push(l);return n}function ax(t,r,n){var C=t[r];(!(S.call(t,r)&&Fx(C,n))||n===void 0&&!(r in t))&&(t[r]=n)}function q(t,r){for(var n=t.length;n--;)if(Fx(t[n][0],r))return n;return-1}function N1(t,r){return t&&Ax(r,f0(r),t)}function i0(t,r,n,C,D,l,g){var A;if(C&&(A=l?C(t,D,l,g):C(t)),A!==void 0)return A;if(!X(t))return t;var i=F0(t);if(i){if(A=z1(t),!r)return Q1(t,A)}else{var F=T(t),s=F==a0||F==J0;if(rt(t))return G1(t,r);if(F==A0||F==D0||s&&!l){if(ix(t))return l?t:{};if(A=X1(s?{}:t),!r)return Z1(t,N1(A,t))}else{if(!p[F])return l?t:{};A=Y1(t,F,i0,r)}}g||(g=new R);var B=g.get(t);if(B)return B;if(g.set(t,A),!i)var b=n?q1(t):f0(t);return qx(b||t,function(y,m){b&&(m=y,y=t[m]),ax(A,m,i0(y,r,n,C,m,t,g))}),A}function P1(t){return X(t)?x1(t):{}}function R1(t,r,n){var C=r(t);return F0(t)?C:zx(C,n(t))}function k1(t){return Z.call(t)}function L1(t){if(!X(t)||c1(t))return!1;var r=lx(t)||ix(t)?cx:Hx;return r.test(I(t))}function M1(t){if(!sx(t))return C1(t);var r=[];for(var n in Object(t))S.call(t,n)&&n!="constructor"&&r.push(n);return r}function G1(t,r){if(r)return t.slice();var n=new t.constructor(t.length);return t.copy(n),n}function s0(t){var r=new t.constructor(t.byteLength);return new L0(r).set(new L0(t)),r}function U1(t,r){var n=r?s0(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}function H1(t,r,n){var C=r?n($0(t),!0):$0(t);return Bx(C,Qx,new t.constructor)}function K1(t){var r=new t.constructor(t.source,Ux.exec(t));return r.lastIndex=t.lastIndex,r}function W1(t,r,n){var C=r?n(N0(t),!0):N0(t);return Bx(C,Zx,new t.constructor)}function V1(t){return U0?Object(U0.call(t)):{}}function J1(t,r){var n=r?s0(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}function Q1(t,r){var n=-1,C=t.length;for(r||(r=Array(C));++n<C;)r[n]=t[n];return r}function Ax(t,r,n,C){n||(n={});for(var D=-1,l=r.length;++D<l;){var g=r[D],A=C?C(n[g],t[g],g,n,t):void 0;ax(n,g,A===void 0?t[g]:A)}return n}function Z1(t,r){return Ax(t,ux(t),r)}function q1(t){return R1(t,f0,ux)}function z(t,r){var n=t.__data__;return o1(r)?n[typeof r=="string"?"string":"hash"]:n.map}function k(t,r){var n=Yx(t,r);return L1(n)?n:void 0}var ux=M0?u0(M0,Object):Bt,T=k1;(r0&&T(new r0(new ArrayBuffer(1)))!=J||U&&T(new U)!=W||n0&&T(n0.resolve())!=j0||C0&&T(new C0)!=V||B0&&T(new B0)!=t0)&&(T=function(t){var r=Z.call(t),n=r==A0?t.constructor:void 0,C=n?I(n):void 0;if(C)switch(C){case B1:return J;case i1:return W;case D1:return j0;case a1:return V;case A1:return t0}return r});function z1(t){var r=t.length,n=t.constructor(r);return r&&typeof t[0]=="string"&&S.call(t,"index")&&(n.index=t.index,n.input=t.input),n}function X1(t){return typeof t.constructor=="function"&&!sx(t)?P1(dx(t)):{}}function Y1(t,r,n,C){var D=t.constructor;switch(r){case X0:return s0(t);case W0:case V0:return new D(+t);case J:return U1(t,C);case Y0:case e0:case o0:case c0:case d0:case xx:case tx:case rx:case nx:return J1(t,C);case W:return H1(t,C,n);case Q0:case q0:return new D(t);case Z0:return K1(t);case V:return W1(t,C,n);case z0:return V1(t)}}function e1(t,r){return r=r==null?K0:r,!!r&&(typeof t=="number"||Kx.test(t))&&t>-1&&t%1==0&&t<r}function o1(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}function c1(t){return!!P0&&P0 in t}function sx(t){var r=t&&t.constructor,n=typeof r=="function"&&r.prototype||Q;return t===n}function I(t){if(t!=null){try{return Dx.call(t)}catch(r){}try{return t+""}catch(r){}}return""}function d1(t){return i0(t,!0,!0)}function Fx(t,r){return t===r||t!==t&&r!==r}function xt(t){return tt(t)&&S.call(t,"callee")&&(!t1.call(t,"callee")||Z.call(t)==D0)}var F0=Array.isArray;function fx(t){return t!=null&&nt(t.length)&&!lx(t)}function tt(t){return Ct(t)&&fx(t)}var rt=n1||it;function lx(t){var r=X(t)?Z.call(t):"";return r==a0||r==J0}function nt(t){return typeof t=="number"&&t>-1&&t%1==0&&t<=K0}function X(t){var r=typeof t;return!!t&&(r=="object"||r=="function")}function Ct(t){return!!t&&typeof t=="object"}function f0(t){return fx(t)?$1(t):M1(t)}function Bt(){return[]}function it(){return!1}N.exports=d1});var hx=O0((vt,e)=>{function at(){var t=0,r=1,n=2,C=3,D=4,l=5,g=6,A=7,i=8,F=9,s=10,B=11,b=12,y=13,m=14,o=15,p0=16,K=17,v=0,c=1,d=2,vx=3,mx=4;function _x(x,a){return 55296<=x.charCodeAt(a)&&x.charCodeAt(a)<=56319&&56320<=x.charCodeAt(a+1)&&x.charCodeAt(a+1)<=57343}function h0(x,a){a===void 0&&(a=0);var E=x.charCodeAt(a);if(55296<=E&&E<=56319&&a<x.length-1){var u=E,f=x.charCodeAt(a+1);return 56320<=f&&f<=57343?(u-55296)*1024+(f-56320)+65536:u}if(56320<=E&&E<=57343&&a>=1){var u=x.charCodeAt(a-1),f=E;return 55296<=u&&u<=56319?(u-55296)*1024+(f-56320)+65536:f}return E}function wx(x,a,E){var u=[x].concat(a).concat([E]),f=u[u.length-2],h=E,b0=u.lastIndexOf(m);if(b0>1&&u.slice(1,b0).every(function(_){return _==C})&&[C,y,K].indexOf(x)==-1)return d;var y0=u.lastIndexOf(D);if(y0>0&&u.slice(1,y0).every(function(_){return _==D})&&[b,D].indexOf(f)==-1)return u.filter(function(_){return _==D}).length%2==1?vx:mx;if(f==t&&h==r)return v;if(f==n||f==t||f==r)return h==m&&a.every(function(_){return _==C})?d:c;if(h==n||h==t||h==r)return c;if(f==g&&(h==g||h==A||h==F||h==s))return v;if((f==F||f==A)&&(h==A||h==i))return v;if((f==s||f==i)&&h==i)return v;if(h==C||h==o)return v;if(h==l)return v;if(f==b)return v;var v0=u.indexOf(C)!=-1?u.lastIndexOf(C)-1:u.length-2;return[y,K].indexOf(u[v0])!=-1&&u.slice(v0+1,-1).every(function(_){return _==C})&&h==m||f==o&&[p0,K].indexOf(h)!=-1?v:a.indexOf(D)!=-1?d:f==D&&h==D?v:c}this.nextBreak=function(x,a){if(a===void 0&&(a=0),a<0)return 0;if(a>=x.length-1)return x.length;for(var E=g0(h0(x,a)),u=[],f=a+1;f<x.length;f++)if(!_x(x,f-1)){var h=g0(h0(x,f));if(wx(E,u,h))return f;u.push(h)}return x.length},this.splitGraphemes=function(x){for(var a=[],E=0,u;(u=this.nextBreak(x,E))<x.length;)a.push(x.slice(E,u)),E=u;return E<x.length&&a.push(x.slice(E)),a},this.iterateGraphemes=function(x){var a=0,E={next:function(){var u,f;return(f=this.nextBreak(x,a))<x.length?(u=x.slice(a,f),a=f,{value:u,done:!1}):a<x.length?(u=x.slice(a),a=x.length,{value:u,done:!1}):{value:void 0,done:!0}}.bind(this)};return typeof Symbol<"u"&&Symbol.iterator&&(E[Symbol.iterator]=function(){return E}),E},this.countGraphemes=function(x){for(var a=0,E=0,u;(u=this.nextBreak(x,E))<x.length;)E=u,a++;return E<x.length&&a++,a};function g0(x){return 1536<=x&&x<=1541||x==1757||x==1807||x==2274||x==3406||x==69821||70082<=x&&x<=70083||x==72250||72326<=x&&x<=72329||x==73030?b:x==13?t:x==10?r:0<=x&&x<=9||11<=x&&x<=12||14<=x&&x<=31||127<=x&&x<=159||x==173||x==1564||x==6158||x==8203||8206<=x&&x<=8207||x==8232||x==8233||8234<=x&&x<=8238||8288<=x&&x<=8292||x==8293||8294<=x&&x<=8303||55296<=x&&x<=57343||x==65279||65520<=x&&x<=65528||65529<=x&&x<=65531||113824<=x&&x<=113827||119155<=x&&x<=119162||x==917504||x==917505||917506<=x&&x<=917535||917632<=x&&x<=917759||918e3<=x&&x<=921599?n:768<=x&&x<=879||1155<=x&&x<=1159||1160<=x&&x<=1161||1425<=x&&x<=1469||x==1471||1473<=x&&x<=1474||1476<=x&&x<=1477||x==1479||1552<=x&&x<=1562||1611<=x&&x<=1631||x==1648||1750<=x&&x<=1756||1759<=x&&x<=1764||1767<=x&&x<=1768||1770<=x&&x<=1773||x==1809||1840<=x&&x<=1866||1958<=x&&x<=1968||2027<=x&&x<=2035||2070<=x&&x<=2073||2075<=x&&x<=2083||2085<=x&&x<=2087||2089<=x&&x<=2093||2137<=x&&x<=2139||2260<=x&&x<=2273||2275<=x&&x<=2306||x==2362||x==2364||2369<=x&&x<=2376||x==2381||2385<=x&&x<=2391||2402<=x&&x<=2403||x==2433||x==2492||x==2494||2497<=x&&x<=2500||x==2509||x==2519||2530<=x&&x<=2531||2561<=x&&x<=2562||x==2620||2625<=x&&x<=2626||2631<=x&&x<=2632||2635<=x&&x<=2637||x==2641||2672<=x&&x<=2673||x==2677||2689<=x&&x<=2690||x==2748||2753<=x&&x<=2757||2759<=x&&x<=2760||x==2765||2786<=x&&x<=2787||2810<=x&&x<=2815||x==2817||x==2876||x==2878||x==2879||2881<=x&&x<=2884||x==2893||x==2902||x==2903||2914<=x&&x<=2915||x==2946||x==3006||x==3008||x==3021||x==3031||x==3072||3134<=x&&x<=3136||3142<=x&&x<=3144||3146<=x&&x<=3149||3157<=x&&x<=3158||3170<=x&&x<=3171||x==3201||x==3260||x==3263||x==3266||x==3270||3276<=x&&x<=3277||3285<=x&&x<=3286||3298<=x&&x<=3299||3328<=x&&x<=3329||3387<=x&&x<=3388||x==3390||3393<=x&&x<=3396||x==3405||x==3415||3426<=x&&x<=3427||x==3530||x==3535||3538<=x&&x<=3540||x==3542||x==3551||x==3633||3636<=x&&x<=3642||3655<=x&&x<=3662||x==3761||3764<=x&&x<=3769||3771<=x&&x<=3772||3784<=x&&x<=3789||3864<=x&&x<=3865||x==3893||x==3895||x==3897||3953<=x&&x<=3966||3968<=x&&x<=3972||3974<=x&&x<=3975||3981<=x&&x<=3991||3993<=x&&x<=4028||x==4038||4141<=x&&x<=4144||4146<=x&&x<=4151||4153<=x&&x<=4154||4157<=x&&x<=4158||4184<=x&&x<=4185||4190<=x&&x<=4192||4209<=x&&x<=4212||x==4226||4229<=x&&x<=4230||x==4237||x==4253||4957<=x&&x<=4959||5906<=x&&x<=5908||5938<=x&&x<=5940||5970<=x&&x<=5971||6002<=x&&x<=6003||6068<=x&&x<=6069||6071<=x&&x<=6077||x==6086||6089<=x&&x<=6099||x==6109||6155<=x&&x<=6157||6277<=x&&x<=6278||x==6313||6432<=x&&x<=6434||6439<=x&&x<=6440||x==6450||6457<=x&&x<=6459||6679<=x&&x<=6680||x==6683||x==6742||6744<=x&&x<=6750||x==6752||x==6754||6757<=x&&x<=6764||6771<=x&&x<=6780||x==6783||6832<=x&&x<=6845||x==6846||6912<=x&&x<=6915||x==6964||6966<=x&&x<=6970||x==6972||x==6978||7019<=x&&x<=7027||7040<=x&&x<=7041||7074<=x&&x<=7077||7080<=x&&x<=7081||7083<=x&&x<=7085||x==7142||7144<=x&&x<=7145||x==7149||7151<=x&&x<=7153||7212<=x&&x<=7219||7222<=x&&x<=7223||7376<=x&&x<=7378||7380<=x&&x<=7392||7394<=x&&x<=7400||x==7405||x==7412||7416<=x&&x<=7417||7616<=x&&x<=7673||7675<=x&&x<=7679||x==8204||8400<=x&&x<=8412||8413<=x&&x<=8416||x==8417||8418<=x&&x<=8420||8421<=x&&x<=8432||11503<=x&&x<=11505||x==11647||11744<=x&&x<=11775||12330<=x&&x<=12333||12334<=x&&x<=12335||12441<=x&&x<=12442||x==42607||42608<=x&&x<=42610||42612<=x&&x<=42621||42654<=x&&x<=42655||42736<=x&&x<=42737||x==43010||x==43014||x==43019||43045<=x&&x<=43046||43204<=x&&x<=43205||43232<=x&&x<=43249||43302<=x&&x<=43309||43335<=x&&x<=43345||43392<=x&&x<=43394||x==43443||43446<=x&&x<=43449||x==43452||x==43493||43561<=x&&x<=43566||43569<=x&&x<=43570||43573<=x&&x<=43574||x==43587||x==43596||x==43644||x==43696||43698<=x&&x<=43700||43703<=x&&x<=43704||43710<=x&&x<=43711||x==43713||43756<=x&&x<=43757||x==43766||x==44005||x==44008||x==44013||x==64286||65024<=x&&x<=65039||65056<=x&&x<=65071||65438<=x&&x<=65439||x==66045||x==66272||66422<=x&&x<=66426||68097<=x&&x<=68099||68101<=x&&x<=68102||68108<=x&&x<=68111||68152<=x&&x<=68154||x==68159||68325<=x&&x<=68326||x==69633||69688<=x&&x<=69702||69759<=x&&x<=69761||69811<=x&&x<=69814||69817<=x&&x<=69818||69888<=x&&x<=69890||69927<=x&&x<=69931||69933<=x&&x<=69940||x==70003||70016<=x&&x<=70017||70070<=x&&x<=70078||70090<=x&&x<=70092||70191<=x&&x<=70193||x==70196||70198<=x&&x<=70199||x==70206||x==70367||70371<=x&&x<=70378||70400<=x&&x<=70401||x==70460||x==70462||x==70464||x==70487||70502<=x&&x<=70508||70512<=x&&x<=70516||70712<=x&&x<=70719||70722<=x&&x<=70724||x==70726||x==70832||70835<=x&&x<=70840||x==70842||x==70845||70847<=x&&x<=70848||70850<=x&&x<=70851||x==71087||71090<=x&&x<=71093||71100<=x&&x<=71101||71103<=x&&x<=71104||71132<=x&&x<=71133||71219<=x&&x<=71226||x==71229||71231<=x&&x<=71232||x==71339||x==71341||71344<=x&&x<=71349||x==71351||71453<=x&&x<=71455||71458<=x&&x<=71461||71463<=x&&x<=71467||72193<=x&&x<=72198||72201<=x&&x<=72202||72243<=x&&x<=72248||72251<=x&&x<=72254||x==72263||72273<=x&&x<=72278||72281<=x&&x<=72283||72330<=x&&x<=72342||72344<=x&&x<=72345||72752<=x&&x<=72758||72760<=x&&x<=72765||x==72767||72850<=x&&x<=72871||72874<=x&&x<=72880||72882<=x&&x<=72883||72885<=x&&x<=72886||73009<=x&&x<=73014||x==73018||73020<=x&&x<=73021||73023<=x&&x<=73029||x==73031||92912<=x&&x<=92916||92976<=x&&x<=92982||94095<=x&&x<=94098||113821<=x&&x<=113822||x==119141||119143<=x&&x<=119145||119150<=x&&x<=119154||119163<=x&&x<=119170||119173<=x&&x<=119179||119210<=x&&x<=119213||119362<=x&&x<=119364||121344<=x&&x<=121398||121403<=x&&x<=121452||x==121461||x==121476||121499<=x&&x<=121503||121505<=x&&x<=121519||122880<=x&&x<=122886||122888<=x&&x<=122904||122907<=x&&x<=122913||122915<=x&&x<=122916||122918<=x&&x<=122922||125136<=x&&x<=125142||125252<=x&&x<=125258||917536<=x&&x<=917631||917760<=x&&x<=917999?C:127462<=x&&x<=127487?D:x==2307||x==2363||2366<=x&&x<=2368||2377<=x&&x<=2380||2382<=x&&x<=2383||2434<=x&&x<=2435||2495<=x&&x<=2496||2503<=x&&x<=2504||2507<=x&&x<=2508||x==2563||2622<=x&&x<=2624||x==2691||2750<=x&&x<=2752||x==2761||2763<=x&&x<=2764||2818<=x&&x<=2819||x==2880||2887<=x&&x<=2888||2891<=x&&x<=2892||x==3007||3009<=x&&x<=3010||3014<=x&&x<=3016||3018<=x&&x<=3020||3073<=x&&x<=3075||3137<=x&&x<=3140||3202<=x&&x<=3203||x==3262||3264<=x&&x<=3265||3267<=x&&x<=3268||3271<=x&&x<=3272||3274<=x&&x<=3275||3330<=x&&x<=3331||3391<=x&&x<=3392||3398<=x&&x<=3400||3402<=x&&x<=3404||3458<=x&&x<=3459||3536<=x&&x<=3537||3544<=x&&x<=3550||3570<=x&&x<=3571||x==3635||x==3763||3902<=x&&x<=3903||x==3967||x==4145||4155<=x&&x<=4156||4182<=x&&x<=4183||x==4228||x==6070||6078<=x&&x<=6085||6087<=x&&x<=6088||6435<=x&&x<=6438||6441<=x&&x<=6443||6448<=x&&x<=6449||6451<=x&&x<=6456||6681<=x&&x<=6682||x==6741||x==6743||6765<=x&&x<=6770||x==6916||x==6965||x==6971||6973<=x&&x<=6977||6979<=x&&x<=6980||x==7042||x==7073||7078<=x&&x<=7079||x==7082||x==7143||7146<=x&&x<=7148||x==7150||7154<=x&&x<=7155||7204<=x&&x<=7211||7220<=x&&x<=7221||x==7393||7410<=x&&x<=7411||x==7415||43043<=x&&x<=43044||x==43047||43136<=x&&x<=43137||43188<=x&&x<=43203||43346<=x&&x<=43347||x==43395||43444<=x&&x<=43445||43450<=x&&x<=43451||43453<=x&&x<=43456||43567<=x&&x<=43568||43571<=x&&x<=43572||x==43597||x==43755||43758<=x&&x<=43759||x==43765||44003<=x&&x<=44004||44006<=x&&x<=44007||44009<=x&&x<=44010||x==44012||x==69632||x==69634||x==69762||69808<=x&&x<=69810||69815<=x&&x<=69816||x==69932||x==70018||70067<=x&&x<=70069||70079<=x&&x<=70080||70188<=x&&x<=70190||70194<=x&&x<=70195||x==70197||70368<=x&&x<=70370||70402<=x&&x<=70403||x==70463||70465<=x&&x<=70468||70471<=x&&x<=70472||70475<=x&&x<=70477||70498<=x&&x<=70499||70709<=x&&x<=70711||70720<=x&&x<=70721||x==70725||70833<=x&&x<=70834||x==70841||70843<=x&&x<=70844||x==70846||x==70849||71088<=x&&x<=71089||71096<=x&&x<=71099||x==71102||71216<=x&&x<=71218||71227<=x&&x<=71228||x==71230||x==71340||71342<=x&&x<=71343||x==71350||71456<=x&&x<=71457||x==71462||72199<=x&&x<=72200||x==72249||72279<=x&&x<=72280||x==72343||x==72751||x==72766||x==72873||x==72881||x==72884||94033<=x&&x<=94078||x==119142||x==119149?l:4352<=x&&x<=4447||43360<=x&&x<=43388?g:4448<=x&&x<=4519||55216<=x&&x<=55238?A:4520<=x&&x<=4607||55243<=x&&x<=55291?i:x==44032||x==44060||x==44088||x==44116||x==44144||x==44172||x==44200||x==44228||x==44256||x==44284||x==44312||x==44340||x==44368||x==44396||x==44424||x==44452||x==44480||x==44508||x==44536||x==44564||x==44592||x==44620||x==44648||x==44676||x==44704||x==44732||x==44760||x==44788||x==44816||x==44844||x==44872||x==44900||x==44928||x==44956||x==44984||x==45012||x==45040||x==45068||x==45096||x==45124||x==45152||x==45180||x==45208||x==45236||x==45264||x==45292||x==45320||x==45348||x==45376||x==45404||x==45432||x==45460||x==45488||x==45516||x==45544||x==45572||x==45600||x==45628||x==45656||x==45684||x==45712||x==45740||x==45768||x==45796||x==45824||x==45852||x==45880||x==45908||x==45936||x==45964||x==45992||x==46020||x==46048||x==46076||x==46104||x==46132||x==46160||x==46188||x==46216||x==46244||x==46272||x==46300||x==46328||x==46356||x==46384||x==46412||x==46440||x==46468||x==46496||x==46524||x==46552||x==46580||x==46608||x==46636||x==46664||x==46692||x==46720||x==46748||x==46776||x==46804||x==46832||x==46860||x==46888||x==46916||x==46944||x==46972||x==47e3||x==47028||x==47056||x==47084||x==47112||x==47140||x==47168||x==47196||x==47224||x==47252||x==47280||x==47308||x==47336||x==47364||x==47392||x==47420||x==47448||x==47476||x==47504||x==47532||x==47560||x==47588||x==47616||x==47644||x==47672||x==47700||x==47728||x==47756||x==47784||x==47812||x==47840||x==47868||x==47896||x==47924||x==47952||x==47980||x==48008||x==48036||x==48064||x==48092||x==48120||x==48148||x==48176||x==48204||x==48232||x==48260||x==48288||x==48316||x==48344||x==48372||x==48400||x==48428||x==48456||x==48484||x==48512||x==48540||x==48568||x==48596||x==48624||x==48652||x==48680||x==48708||x==48736||x==48764||x==48792||x==48820||x==48848||x==48876||x==48904||x==48932||x==48960||x==48988||x==49016||x==49044||x==49072||x==49100||x==49128||x==49156||x==49184||x==49212||x==49240||x==49268||x==49296||x==49324||x==49352||x==49380||x==49408||x==49436||x==49464||x==49492||x==49520||x==49548||x==49576||x==49604||x==49632||x==49660||x==49688||x==49716||x==49744||x==49772||x==49800||x==49828||x==49856||x==49884||x==49912||x==49940||x==49968||x==49996||x==50024||x==50052||x==50080||x==50108||x==50136||x==50164||x==50192||x==50220||x==50248||x==50276||x==50304||x==50332||x==50360||x==50388||x==50416||x==50444||x==50472||x==50500||x==50528||x==50556||x==50584||x==50612||x==50640||x==50668||x==50696||x==50724||x==50752||x==50780||x==50808||x==50836||x==50864||x==50892||x==50920||x==50948||x==50976||x==51004||x==51032||x==51060||x==51088||x==51116||x==51144||x==51172||x==51200||x==51228||x==51256||x==51284||x==51312||x==51340||x==51368||x==51396||x==51424||x==51452||x==51480||x==51508||x==51536||x==51564||x==51592||x==51620||x==51648||x==51676||x==51704||x==51732||x==51760||x==51788||x==51816||x==51844||x==51872||x==51900||x==51928||x==51956||x==51984||x==52012||x==52040||x==52068||x==52096||x==52124||x==52152||x==52180||x==52208||x==52236||x==52264||x==52292||x==52320||x==52348||x==52376||x==52404||x==52432||x==52460||x==52488||x==52516||x==52544||x==52572||x==52600||x==52628||x==52656||x==52684||x==52712||x==52740||x==52768||x==52796||x==52824||x==52852||x==52880||x==52908||x==52936||x==52964||x==52992||x==53020||x==53048||x==53076||x==53104||x==53132||x==53160||x==53188||x==53216||x==53244||x==53272||x==53300||x==53328||x==53356||x==53384||x==53412||x==53440||x==53468||x==53496||x==53524||x==53552||x==53580||x==53608||x==53636||x==53664||x==53692||x==53720||x==53748||x==53776||x==53804||x==53832||x==53860||x==53888||x==53916||x==53944||x==53972||x==54e3||x==54028||x==54056||x==54084||x==54112||x==54140||x==54168||x==54196||x==54224||x==54252||x==54280||x==54308||x==54336||x==54364||x==54392||x==54420||x==54448||x==54476||x==54504||x==54532||x==54560||x==54588||x==54616||x==54644||x==54672||x==54700||x==54728||x==54756||x==54784||x==54812||x==54840||x==54868||x==54896||x==54924||x==54952||x==54980||x==55008||x==55036||x==55064||x==55092||x==55120||x==55148||x==55176?F:44033<=x&&x<=44059||44061<=x&&x<=44087||44089<=x&&x<=44115||44117<=x&&x<=44143||44145<=x&&x<=44171||44173<=x&&x<=44199||44201<=x&&x<=44227||44229<=x&&x<=44255||44257<=x&&x<=44283||44285<=x&&x<=44311||44313<=x&&x<=44339||44341<=x&&x<=44367||44369<=x&&x<=44395||44397<=x&&x<=44423||44425<=x&&x<=44451||44453<=x&&x<=44479||44481<=x&&x<=44507||44509<=x&&x<=44535||44537<=x&&x<=44563||44565<=x&&x<=44591||44593<=x&&x<=44619||44621<=x&&x<=44647||44649<=x&&x<=44675||44677<=x&&x<=44703||44705<=x&&x<=44731||44733<=x&&x<=44759||44761<=x&&x<=44787||44789<=x&&x<=44815||44817<=x&&x<=44843||44845<=x&&x<=44871||44873<=x&&x<=44899||44901<=x&&x<=44927||44929<=x&&x<=44955||44957<=x&&x<=44983||44985<=x&&x<=45011||45013<=x&&x<=45039||45041<=x&&x<=45067||45069<=x&&x<=45095||45097<=x&&x<=45123||45125<=x&&x<=45151||45153<=x&&x<=45179||45181<=x&&x<=45207||45209<=x&&x<=45235||45237<=x&&x<=45263||45265<=x&&x<=45291||45293<=x&&x<=45319||45321<=x&&x<=45347||45349<=x&&x<=45375||45377<=x&&x<=45403||45405<=x&&x<=45431||45433<=x&&x<=45459||45461<=x&&x<=45487||45489<=x&&x<=45515||45517<=x&&x<=45543||45545<=x&&x<=45571||45573<=x&&x<=45599||45601<=x&&x<=45627||45629<=x&&x<=45655||45657<=x&&x<=45683||45685<=x&&x<=45711||45713<=x&&x<=45739||45741<=x&&x<=45767||45769<=x&&x<=45795||45797<=x&&x<=45823||45825<=x&&x<=45851||45853<=x&&x<=45879||45881<=x&&x<=45907||45909<=x&&x<=45935||45937<=x&&x<=45963||45965<=x&&x<=45991||45993<=x&&x<=46019||46021<=x&&x<=46047||46049<=x&&x<=46075||46077<=x&&x<=46103||46105<=x&&x<=46131||46133<=x&&x<=46159||46161<=x&&x<=46187||46189<=x&&x<=46215||46217<=x&&x<=46243||46245<=x&&x<=46271||46273<=x&&x<=46299||46301<=x&&x<=46327||46329<=x&&x<=46355||46357<=x&&x<=46383||46385<=x&&x<=46411||46413<=x&&x<=46439||46441<=x&&x<=46467||46469<=x&&x<=46495||46497<=x&&x<=46523||46525<=x&&x<=46551||46553<=x&&x<=46579||46581<=x&&x<=46607||46609<=x&&x<=46635||46637<=x&&x<=46663||46665<=x&&x<=46691||46693<=x&&x<=46719||46721<=x&&x<=46747||46749<=x&&x<=46775||46777<=x&&x<=46803||46805<=x&&x<=46831||46833<=x&&x<=46859||46861<=x&&x<=46887||46889<=x&&x<=46915||46917<=x&&x<=46943||46945<=x&&x<=46971||46973<=x&&x<=46999||47001<=x&&x<=47027||47029<=x&&x<=47055||47057<=x&&x<=47083||47085<=x&&x<=47111||47113<=x&&x<=47139||47141<=x&&x<=47167||47169<=x&&x<=47195||47197<=x&&x<=47223||47225<=x&&x<=47251||47253<=x&&x<=47279||47281<=x&&x<=47307||47309<=x&&x<=47335||47337<=x&&x<=47363||47365<=x&&x<=47391||47393<=x&&x<=47419||47421<=x&&x<=47447||47449<=x&&x<=47475||47477<=x&&x<=47503||47505<=x&&x<=47531||47533<=x&&x<=47559||47561<=x&&x<=47587||47589<=x&&x<=47615||47617<=x&&x<=47643||47645<=x&&x<=47671||47673<=x&&x<=47699||47701<=x&&x<=47727||47729<=x&&x<=47755||47757<=x&&x<=47783||47785<=x&&x<=47811||47813<=x&&x<=47839||47841<=x&&x<=47867||47869<=x&&x<=47895||47897<=x&&x<=47923||47925<=x&&x<=47951||47953<=x&&x<=47979||47981<=x&&x<=48007||48009<=x&&x<=48035||48037<=x&&x<=48063||48065<=x&&x<=48091||48093<=x&&x<=48119||48121<=x&&x<=48147||48149<=x&&x<=48175||48177<=x&&x<=48203||48205<=x&&x<=48231||48233<=x&&x<=48259||48261<=x&&x<=48287||48289<=x&&x<=48315||48317<=x&&x<=48343||48345<=x&&x<=48371||48373<=x&&x<=48399||48401<=x&&x<=48427||48429<=x&&x<=48455||48457<=x&&x<=48483||48485<=x&&x<=48511||48513<=x&&x<=48539||48541<=x&&x<=48567||48569<=x&&x<=48595||48597<=x&&x<=48623||48625<=x&&x<=48651||48653<=x&&x<=48679||48681<=x&&x<=48707||48709<=x&&x<=48735||48737<=x&&x<=48763||48765<=x&&x<=48791||48793<=x&&x<=48819||48821<=x&&x<=48847||48849<=x&&x<=48875||48877<=x&&x<=48903||48905<=x&&x<=48931||48933<=x&&x<=48959||48961<=x&&x<=48987||48989<=x&&x<=49015||49017<=x&&x<=49043||49045<=x&&x<=49071||49073<=x&&x<=49099||49101<=x&&x<=49127||49129<=x&&x<=49155||49157<=x&&x<=49183||49185<=x&&x<=49211||49213<=x&&x<=49239||49241<=x&&x<=49267||49269<=x&&x<=49295||49297<=x&&x<=49323||49325<=x&&x<=49351||49353<=x&&x<=49379||49381<=x&&x<=49407||49409<=x&&x<=49435||49437<=x&&x<=49463||49465<=x&&x<=49491||49493<=x&&x<=49519||49521<=x&&x<=49547||49549<=x&&x<=49575||49577<=x&&x<=49603||49605<=x&&x<=49631||49633<=x&&x<=49659||49661<=x&&x<=49687||49689<=x&&x<=49715||49717<=x&&x<=49743||49745<=x&&x<=49771||49773<=x&&x<=49799||49801<=x&&x<=49827||49829<=x&&x<=49855||49857<=x&&x<=49883||49885<=x&&x<=49911||49913<=x&&x<=49939||49941<=x&&x<=49967||49969<=x&&x<=49995||49997<=x&&x<=50023||50025<=x&&x<=50051||50053<=x&&x<=50079||50081<=x&&x<=50107||50109<=x&&x<=50135||50137<=x&&x<=50163||50165<=x&&x<=50191||50193<=x&&x<=50219||50221<=x&&x<=50247||50249<=x&&x<=50275||50277<=x&&x<=50303||50305<=x&&x<=50331||50333<=x&&x<=50359||50361<=x&&x<=50387||50389<=x&&x<=50415||50417<=x&&x<=50443||50445<=x&&x<=50471||50473<=x&&x<=50499||50501<=x&&x<=50527||50529<=x&&x<=50555||50557<=x&&x<=50583||50585<=x&&x<=50611||50613<=x&&x<=50639||50641<=x&&x<=50667||50669<=x&&x<=50695||50697<=x&&x<=50723||50725<=x&&x<=50751||50753<=x&&x<=50779||50781<=x&&x<=50807||50809<=x&&x<=50835||50837<=x&&x<=50863||50865<=x&&x<=50891||50893<=x&&x<=50919||50921<=x&&x<=50947||50949<=x&&x<=50975||50977<=x&&x<=51003||51005<=x&&x<=51031||51033<=x&&x<=51059||51061<=x&&x<=51087||51089<=x&&x<=51115||51117<=x&&x<=51143||51145<=x&&x<=51171||51173<=x&&x<=51199||51201<=x&&x<=51227||51229<=x&&x<=51255||51257<=x&&x<=51283||51285<=x&&x<=51311||51313<=x&&x<=51339||51341<=x&&x<=51367||51369<=x&&x<=51395||51397<=x&&x<=51423||51425<=x&&x<=51451||51453<=x&&x<=51479||51481<=x&&x<=51507||51509<=x&&x<=51535||51537<=x&&x<=51563||51565<=x&&x<=51591||51593<=x&&x<=51619||51621<=x&&x<=51647||51649<=x&&x<=51675||51677<=x&&x<=51703||51705<=x&&x<=51731||51733<=x&&x<=51759||51761<=x&&x<=51787||51789<=x&&x<=51815||51817<=x&&x<=51843||51845<=x&&x<=51871||51873<=x&&x<=51899||51901<=x&&x<=51927||51929<=x&&x<=51955||51957<=x&&x<=51983||51985<=x&&x<=52011||52013<=x&&x<=52039||52041<=x&&x<=52067||52069<=x&&x<=52095||52097<=x&&x<=52123||52125<=x&&x<=52151||52153<=x&&x<=52179||52181<=x&&x<=52207||52209<=x&&x<=52235||52237<=x&&x<=52263||52265<=x&&x<=52291||52293<=x&&x<=52319||52321<=x&&x<=52347||52349<=x&&x<=52375||52377<=x&&x<=52403||52405<=x&&x<=52431||52433<=x&&x<=52459||52461<=x&&x<=52487||52489<=x&&x<=52515||52517<=x&&x<=52543||52545<=x&&x<=52571||52573<=x&&x<=52599||52601<=x&&x<=52627||52629<=x&&x<=52655||52657<=x&&x<=52683||52685<=x&&x<=52711||52713<=x&&x<=52739||52741<=x&&x<=52767||52769<=x&&x<=52795||52797<=x&&x<=52823||52825<=x&&x<=52851||52853<=x&&x<=52879||52881<=x&&x<=52907||52909<=x&&x<=52935||52937<=x&&x<=52963||52965<=x&&x<=52991||52993<=x&&x<=53019||53021<=x&&x<=53047||53049<=x&&x<=53075||53077<=x&&x<=53103||53105<=x&&x<=53131||53133<=x&&x<=53159||53161<=x&&x<=53187||53189<=x&&x<=53215||53217<=x&&x<=53243||53245<=x&&x<=53271||53273<=x&&x<=53299||53301<=x&&x<=53327||53329<=x&&x<=53355||53357<=x&&x<=53383||53385<=x&&x<=53411||53413<=x&&x<=53439||53441<=x&&x<=53467||53469<=x&&x<=53495||53497<=x&&x<=53523||53525<=x&&x<=53551||53553<=x&&x<=53579||53581<=x&&x<=53607||53609<=x&&x<=53635||53637<=x&&x<=53663||53665<=x&&x<=53691||53693<=x&&x<=53719||53721<=x&&x<=53747||53749<=x&&x<=53775||53777<=x&&x<=53803||53805<=x&&x<=53831||53833<=x&&x<=53859||53861<=x&&x<=53887||53889<=x&&x<=53915||53917<=x&&x<=53943||53945<=x&&x<=53971||53973<=x&&x<=53999||54001<=x&&x<=54027||54029<=x&&x<=54055||54057<=x&&x<=54083||54085<=x&&x<=54111||54113<=x&&x<=54139||54141<=x&&x<=54167||54169<=x&&x<=54195||54197<=x&&x<=54223||54225<=x&&x<=54251||54253<=x&&x<=54279||54281<=x&&x<=54307||54309<=x&&x<=54335||54337<=x&&x<=54363||54365<=x&&x<=54391||54393<=x&&x<=54419||54421<=x&&x<=54447||54449<=x&&x<=54475||54477<=x&&x<=54503||54505<=x&&x<=54531||54533<=x&&x<=54559||54561<=x&&x<=54587||54589<=x&&x<=54615||54617<=x&&x<=54643||54645<=x&&x<=54671||54673<=x&&x<=54699||54701<=x&&x<=54727||54729<=x&&x<=54755||54757<=x&&x<=54783||54785<=x&&x<=54811||54813<=x&&x<=54839||54841<=x&&x<=54867||54869<=x&&x<=54895||54897<=x&&x<=54923||54925<=x&&x<=54951||54953<=x&&x<=54979||54981<=x&&x<=55007||55009<=x&&x<=55035||55037<=x&&x<=55063||55065<=x&&x<=55091||55093<=x&&x<=55119||55121<=x&&x<=55147||55149<=x&&x<=55175||55177<=x&&x<=55203?s:x==9757||x==9977||9994<=x&&x<=9997||x==127877||127938<=x&&x<=127940||x==127943||127946<=x&&x<=127948||128066<=x&&x<=128067||128070<=x&&x<=128080||x==128110||128112<=x&&x<=128120||x==128124||128129<=x&&x<=128131||128133<=x&&x<=128135||x==128170||128372<=x&&x<=128373||x==128378||x==128400||128405<=x&&x<=128406||128581<=x&&x<=128583||128587<=x&&x<=128591||x==128675||128692<=x&&x<=128694||x==128704||x==128716||129304<=x&&x<=129308||129310<=x&&x<=129311||x==129318||129328<=x&&x<=129337||129341<=x&&x<=129342||129489<=x&&x<=129501?y:127995<=x&&x<=127999?m:x==8205?o:x==9792||x==9794||9877<=x&&x<=9878||x==9992||x==10084||x==127752||x==127806||x==127859||x==127891||x==127908||x==127912||x==127979||x==127981||x==128139||128187<=x&&x<=128188||x==128295||x==128300||x==128488||x==128640||x==128658?p0:128102<=x&&x<=128105?K:B}return this}typeof e<"u"&&e.exports&&(e.exports=at)});var ft={};Px(ft,{nativeToUnicode:()=>st,unicodeToNative:()=>Ft,version:()=>ut});var Y=T0(Ex(),1);function px(t){if(t==null||typeof t!="object")return!1;let r=Object.getPrototypeOf(t);return r!==null&&r!==Object.prototype&&Object.getPrototypeOf(r)!==null?!1:!(Symbol.iterator in t)&&!(Symbol.toStringTag in t)}function Dt(t){if(t.includes(".")){let r=t.lastIndexOf(".");if(!t.slice(0,r).includes("."))return t.slice(0,r);for(let n=r-1;n--;)if(t[n]===".")return t.slice(n+1,r)}return null}var l0=Dt;function E0(t,r){let n={now:!1};function C(D,l,g,A){let i=(0,Y.default)(D),F,s=$({depth:-1,path:""},g);if(s.depth+=1,Array.isArray(i))for(let B=0,b=i.length;B<b&&!A.now;B++){let y=s.path?`${s.path}.${B}`:`${B}`;i[B]!==void 0?(s.parent=(0,Y.default)(i),s.parentType="array",s.parentKey=l0(y),F=C(l(i[B],void 0,M($({},s),{path:y}),A),l,M($({},s),{path:y}),A),Number.isNaN(F)&&B<i.length?(i.splice(B,1),B-=1):i[B]=F):i.splice(B,1)}else if(px(i))for(let B in i){if(A.now&&B!=null)break;let b=s.path?`${s.path}.${B}`:B;s.depth===0&&B!=null&&(s.topmostKey=B),s.parent=(0,Y.default)(i),s.parentType="object",s.parentKey=l0(b),F=C(l(B,i[B],M($({},s),{path:b}),A),l,M($({},s),{path:b}),A),Number.isNaN(F)?delete i[B]:i[B]=F}return i}return C(t,r,{},n)}var bx=T0(hx(),1);var gx="6.0.9";var ut=gx;function yx(t,r,n){function C(i){return!(!["string","number"].includes(typeof i)||typeof i=="string"&&!/^\d*$/.test(i)||typeof i=="number"&&(!Number.isInteger(i)||i<0))}function D(i,F){let s=0,B=0;for(let b=0,y=i.length;b<y;b++){if(B+=i[b].length,F>=s&&F<B)return b;s+=i[b].length}throw new Error(`string-convert-indexes: [THROW_ID_05] the "indexes" value, ${n}, is not covered by graphemes length!`)}function l(i,F){if(F>=i.length)throw new Error(`string-convert-indexes: [THROW_ID_06] the index to convert, ${F}, is not covered by graphemes length!`);return i.slice(0,F).join("").length}if(typeof r!="string"||!r)throw new TypeError(`string-convert-indexes: [THROW_ID_01] the first input argument, input string, must be a non-zero-length string! Currently it's: ${typeof r}, equal to:
|
|
11
|
+
${r}`);if(n===0)return 0;if(n==="0")return"0";let A=new bx.default().splitGraphemes(r);if(["string","number"].includes(typeof n)){if(C(n))return t==="u"?typeof n=="string"?String(l(A,+n)):l(A,+n):typeof n=="string"?String(D(A,+n)):D(A,+n);throw new Error(`string-convert-indexes: [THROW_ID_02] the second input argument, "indexes" is not suitable to describe string index - it was given as ${JSON.stringify(n,null,4)} (${typeof n})`)}else{if(n&&typeof n=="object")return t==="u"?E0(n,(i,F,s)=>{let B=F!==void 0?F:i;if(["string","number"].includes(typeof B)){if(C(B))return typeof B=="string"?String(l(A,+B)):l(A,+B);throw new Error(`string-convert-indexes: [THROW_ID_03] bad value was encountered, ${JSON.stringify(B,null,4)}, its path is ${s.path}`)}return B}):E0(n,(i,F,s)=>{let B=F!==void 0?F:i;if(["string","number"].includes(typeof B)){if(C(B))return typeof B=="string"?String(D(A,+B)):D(A,+B);throw new Error(`string-convert-indexes: [THROW_ID_04] bad value was encountered, ${JSON.stringify(B,null,4)}, its path is ${s.path}`)}return B});throw new Error(`string-convert-indexes: [THROW_ID_07] the first input argument, a source string should be a string but it was given as ${r}, type ${typeof r}`)}}function st(t,r){return yx("n",t,r)}function Ft(t,r){return yx("u",t,r)}return Rx(ft);})();
|
|
12
12
|
/**
|
|
13
13
|
* @name codsen-utils
|
|
14
14
|
* @fileoverview Various utility functions
|
|
15
|
-
* @version 1.
|
|
15
|
+
* @version 1.3.0
|
|
16
16
|
* @author Roy Revelt, Codsen Ltd
|
|
17
17
|
* @license MIT
|
|
18
18
|
* {@link https://codsen.com/os/codsen-utils/}
|
|
@@ -20,7 +20,7 @@ ${r}`);if(n===0)return 0;if(n==="0")return"0";let a=new bx.default().splitGraphe
|
|
|
20
20
|
/**
|
|
21
21
|
* @name ast-monkey-util
|
|
22
22
|
* @fileoverview Utility library of AST helper functions
|
|
23
|
-
* @version 3.0.
|
|
23
|
+
* @version 3.0.4
|
|
24
24
|
* @author Roy Revelt, Codsen Ltd
|
|
25
25
|
* @license MIT
|
|
26
26
|
* {@link https://codsen.com/os/ast-monkey-util/}
|
|
@@ -28,7 +28,7 @@ ${r}`);if(n===0)return 0;if(n==="0")return"0";let a=new bx.default().splitGraphe
|
|
|
28
28
|
/**
|
|
29
29
|
* @name ast-monkey-traverse
|
|
30
30
|
* @fileoverview Utility library to traverse AST
|
|
31
|
-
* @version 4.0.
|
|
31
|
+
* @version 4.0.7
|
|
32
32
|
* @author Roy Revelt, Codsen Ltd
|
|
33
33
|
* @license MIT
|
|
34
34
|
* {@link https://codsen.com/os/ast-monkey-traverse/}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "string-convert-indexes",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.9",
|
|
4
4
|
"description": "Convert between native JS string character indexes and grapheme-count-based indexes",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"astral",
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"various": {}
|
|
71
71
|
},
|
|
72
72
|
"dependencies": {
|
|
73
|
-
"ast-monkey-traverse": "^4.0.
|
|
73
|
+
"ast-monkey-traverse": "^4.0.7",
|
|
74
74
|
"grapheme-splitter": "^1.0.4"
|
|
75
75
|
}
|
|
76
76
|
}
|