@tsocial/tvweb-sdk.tcli 0.0.0-beta.20260102-120556 → 0.0.0-beta.20260106-111700
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/build/tvweb-sdk.cjs.min.js +125 -109
- package/build/tvweb-sdk.esm.min.js +125 -109
- package/build/tvweb-sdk.tcli.standalone.js +746 -629
- package/build/tvweb-sdk.tcli.standalone.min.js +125 -109
- package/build/types/index.d.ts +1 -1
- package/package.json +5 -5
|
@@ -15996,7 +15996,7 @@
|
|
|
15996
15996
|
strokeWidth: 1
|
|
15997
15997
|
};
|
|
15998
15998
|
|
|
15999
|
-
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$1(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$1(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$1(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$1(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$1(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$1=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$1(t))return ct$1(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$1(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
15999
|
+
var f="undefined"!=typeof process&&void 0!==process.env&&(process.env.REACT_APP_SC_ATTR||process.env.SC_ATTR)||"data-styled",m="active",y$1="data-styled-version",v$1="6.1.12",g$1="/*!sc*/\n",S$1="undefined"!=typeof window&&"HTMLElement"in window,w$1=Boolean("boolean"==typeof SC_DISABLE_SPEEDY?SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&""!==process.env.REACT_APP_SC_DISABLE_SPEEDY?"false"!==process.env.REACT_APP_SC_DISABLE_SPEEDY&&process.env.REACT_APP_SC_DISABLE_SPEEDY:"undefined"!=typeof process&&void 0!==process.env&&void 0!==process.env.SC_DISABLE_SPEEDY&&""!==process.env.SC_DISABLE_SPEEDY?"false"!==process.env.SC_DISABLE_SPEEDY&&process.env.SC_DISABLE_SPEEDY:"production"!=="production"),b$1={},_$1=Object.freeze([]),C$1=Object.freeze({});function I$1(e,t,n){return void 0===n&&(n=C$1),e.theme!==n.theme&&e.theme||t||n.theme}var A$1=new Set(["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","big","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","keygen","label","legend","li","link","main","map","mark","menu","menuitem","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","param","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","small","source","span","strong","style","sub","summary","sup","table","tbody","td","textarea","tfoot","th","thead","time","tr","track","u","ul","use","var","video","wbr","circle","clipPath","defs","ellipse","foreignObject","g","image","line","linearGradient","marker","mask","path","pattern","polygon","polyline","radialGradient","rect","stop","svg","text","tspan"]),O$1=/[!"#$%&'()*+,./:;<=>?@[\\\]^`{|}~-]+/g,D$1=/(^-|-$)/g;function R$1(e){return e.replace(O$1,"-").replace(D$1,"")}var T$1=/(a)(d)/gi,k$1=52,j$1=function(e){return String.fromCharCode(e+(e>25?39:97))};function x$1(e){var t,n="";for(t=Math.abs(e);t>k$1;t=t/k$1|0)n=j$1(t%k$1)+n;return (j$1(t%k$1)+n).replace(T$1,"$1-$2")}var V$1,F$1=5381,M$1=function(e,t){for(var n=t.length;n;)e=33*e^t.charCodeAt(--n);return e},z$1=function(e){return M$1(F$1,e)};function $$1(e){return x$1(z$1(e)>>>0)}function B$1(e){return e.displayName||e.name||"Component"}function L$1(e){return "string"==typeof e&&("production"==="production")}var G$1="function"==typeof Symbol&&Symbol.for,Y$2=G$1?Symbol.for("react.memo"):60115,W$1=G$1?Symbol.for("react.forward_ref"):60112,q$1={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},H$1={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},U$1={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},J$2=((V$1={})[W$1]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},V$1[Y$2]=U$1,V$1);function X$1(e){return ("type"in(t=e)&&t.type.$$typeof)===Y$2?U$1:"$$typeof"in e?J$2[e.$$typeof]:q$1;var t;}var Z$2=Object.defineProperty,K$2=Object.getOwnPropertyNames,Q$1=Object.getOwnPropertySymbols,ee$2=Object.getOwnPropertyDescriptor,te$2=Object.getPrototypeOf,ne$2=Object.prototype;function oe$2(e,t,n){if("string"!=typeof t){if(ne$2){var o=te$2(t);o&&o!==ne$2&&oe$2(e,o,n);}var r=K$2(t);Q$1&&(r=r.concat(Q$1(t)));for(var s=X$1(e),i=X$1(t),a=0;a<r.length;++a){var c=r[a];if(!(c in H$1||n&&n[c]||i&&c in i||s&&c in s)){var l=ee$2(t,c);try{Z$2(e,c,l);}catch(e){}}}}return e}function re$2(e){return "function"==typeof e}function se$1(e){return "object"==typeof e&&"styledComponentId"in e}function ie$2(e,t){return e&&t?"".concat(e," ").concat(t):e||t||""}function ae$2(e,t){if(0===e.length)return "";for(var n=e[0],o=1;o<e.length;o++)n+=t?t+e[o]:e[o];return n}function ce$2(e){return null!==e&&"object"==typeof e&&e.constructor.name===Object.name&&!("props"in e&&e.$$typeof)}function le$1(e,t,n){if(void 0===n&&(n=!1),!n&&!ce$2(e)&&!Array.isArray(e))return t;if(Array.isArray(t))for(var o=0;o<t.length;o++)e[o]=le$1(e[o],t[o]);else if(ce$2(t))for(var o in t)e[o]=le$1(e[o],t[o]);return e}function ue$1(e,t){Object.defineProperty(e,"toString",{value:t});}function he$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];return new Error("An error occurred. See https://github.com/styled-components/styled-components/blob/main/packages/styled-components/src/utils/errors.md#".concat(t," for more information.").concat(n.length>0?" Args: ".concat(n.join(", ")):""))}var fe$1=function(){function e(e){this.groupSizes=new Uint32Array(512),this.length=512,this.tag=e;}return e.prototype.indexOfGroup=function(e){for(var t=0,n=0;n<e;n++)t+=this.groupSizes[n];return t},e.prototype.insertRules=function(e,t){if(e>=this.groupSizes.length){for(var n=this.groupSizes,o=n.length,r=o;e>=r;)if((r<<=1)<0)throw he$1(16,"".concat(e));this.groupSizes=new Uint32Array(r),this.groupSizes.set(n),this.length=r;for(var s=o;s<r;s++)this.groupSizes[s]=0;}for(var i=this.indexOfGroup(e+1),a=(s=0,t.length);s<a;s++)this.tag.insertRule(i,t[s])&&(this.groupSizes[e]++,i++);},e.prototype.clearGroup=function(e){if(e<this.length){var t=this.groupSizes[e],n=this.indexOfGroup(e),o=n+t;this.groupSizes[e]=0;for(var r=n;r<o;r++)this.tag.deleteRule(n);}},e.prototype.getGroup=function(e){var t="";if(e>=this.length||0===this.groupSizes[e])return t;for(var n=this.groupSizes[e],o=this.indexOfGroup(e),r=o+n,s=o;s<r;s++)t+="".concat(this.tag.getRule(s)).concat(g$1);return t},e}(),ye=new Map,ve=new Map,ge$1=1,Se=function(e){if(ye.has(e))return ye.get(e);for(;ve.has(ge$1);)ge$1++;var t=ge$1++;return ye.set(e,t),ve.set(t,e),t},we=function(e,t){ge$1=t+1,ye.set(e,t),ve.set(t,e);},be="style[".concat(f,"][").concat(y$1,'="').concat(v$1,'"]'),Ee=new RegExp("^".concat(f,'\\.g(\\d+)\\[id="([\\w\\d-]+)"\\].*?"([^"]*)')),Ne=function(e,t,n){for(var o,r=n.split(","),s=0,i=r.length;s<i;s++)(o=r[s])&&e.registerName(t,o);},Pe=function(e,t){for(var n,o=(null!==(n=t.textContent)&&void 0!==n?n:"").split(g$1),r=[],s=0,i=o.length;s<i;s++){var a=o[s].trim();if(a){var c=a.match(Ee);if(c){var l=0|parseInt(c[1],10),u=c[2];0!==l&&(we(u,l),Ne(e,u,c[3]),e.getTag().insertRules(l,r)),r.length=0;}else r.push(a);}}},_e=function(e){for(var t=document.querySelectorAll(be),n=0,o=t.length;n<o;n++){var r=t[n];r&&r.getAttribute(f)!==m&&(Pe(e,r),r.parentNode&&r.parentNode.removeChild(r));}};function Ce(){return "undefined"!=typeof __webpack_nonce__?__webpack_nonce__:null}var Ie=function(e){var t=document.head,n=e||t,o=document.createElement("style"),r=function(e){var t=Array.from(e.querySelectorAll("style[".concat(f,"]")));return t[t.length-1]}(n),s=void 0!==r?r.nextSibling:null;o.setAttribute(f,m),o.setAttribute(y$1,v$1);var i=Ce();return i&&o.setAttribute("nonce",i),n.insertBefore(o,s),o},Ae=function(){function e(e){this.element=Ie(e),this.element.appendChild(document.createTextNode("")),this.sheet=function(e){if(e.sheet)return e.sheet;for(var t=document.styleSheets,n=0,o=t.length;n<o;n++){var r=t[n];if(r.ownerNode===e)return r}throw he$1(17)}(this.element),this.length=0;}return e.prototype.insertRule=function(e,t){try{return this.sheet.insertRule(t,e),this.length++,!0}catch(e){return !1}},e.prototype.deleteRule=function(e){this.sheet.deleteRule(e),this.length--;},e.prototype.getRule=function(e){var t=this.sheet.cssRules[e];return t&&t.cssText?t.cssText:""},e}(),Oe=function(){function e(e){this.element=Ie(e),this.nodes=this.element.childNodes,this.length=0;}return e.prototype.insertRule=function(e,t){if(e<=this.length&&e>=0){var n=document.createTextNode(t);return this.element.insertBefore(n,this.nodes[e]||null),this.length++,!0}return !1},e.prototype.deleteRule=function(e){this.element.removeChild(this.nodes[e]),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.nodes[e].textContent:""},e}(),De=function(){function e(e){this.rules=[],this.length=0;}return e.prototype.insertRule=function(e,t){return e<=this.length&&(this.rules.splice(e,0,t),this.length++,!0)},e.prototype.deleteRule=function(e){this.rules.splice(e,1),this.length--;},e.prototype.getRule=function(e){return e<this.length?this.rules[e]:""},e}(),Re=S$1,Te={isServer:!S$1,useCSSOMInjection:!w$1},ke=function(){function e(e,n,o){void 0===e&&(e=C$1),void 0===n&&(n={});var r=this;this.options=__assign(__assign({},Te),e),this.gs=n,this.names=new Map(o),this.server=!!e.isServer,!this.server&&S$1&&Re&&(Re=!1,_e(this)),ue$1(this,function(){return function(e){for(var t=e.getTag(),n=t.length,o="",r=function(n){var r=function(e){return ve.get(e)}(n);if(void 0===r)return "continue";var s=e.names.get(r),i=t.getGroup(n);if(void 0===s||!s.size||0===i.length)return "continue";var a="".concat(f,".g").concat(n,'[id="').concat(r,'"]'),c="";void 0!==s&&s.forEach(function(e){e.length>0&&(c+="".concat(e,","));}),o+="".concat(i).concat(a,'{content:"').concat(c,'"}').concat(g$1);},s=0;s<n;s++)r(s);return o}(r)});}return e.registerId=function(e){return Se(e)},e.prototype.rehydrate=function(){!this.server&&S$1&&_e(this);},e.prototype.reconstructWithOptions=function(n,o){return void 0===o&&(o=!0),new e(__assign(__assign({},this.options),n),this.gs,o&&this.names||void 0)},e.prototype.allocateGSInstance=function(e){return this.gs[e]=(this.gs[e]||0)+1},e.prototype.getTag=function(){return this.tag||(this.tag=(e=function(e){var t=e.useCSSOMInjection,n=e.target;return e.isServer?new De(n):t?new Ae(n):new Oe(n)}(this.options),new fe$1(e)));var e;},e.prototype.hasNameForId=function(e,t){return this.names.has(e)&&this.names.get(e).has(t)},e.prototype.registerName=function(e,t){if(Se(e),this.names.has(e))this.names.get(e).add(t);else {var n=new Set;n.add(t),this.names.set(e,n);}},e.prototype.insertRules=function(e,t,n){this.registerName(e,t),this.getTag().insertRules(Se(e),n);},e.prototype.clearNames=function(e){this.names.has(e)&&this.names.get(e).clear();},e.prototype.clearRules=function(e){this.getTag().clearGroup(Se(e)),this.clearNames(e);},e.prototype.clearTag=function(){this.tag=void 0;},e}(),je=/&/g,xe=/^\s*\/\/.*$/gm;function Ve(e,t){return e.map(function(e){return "rule"===e.type&&(e.value="".concat(t," ").concat(e.value),e.value=e.value.replaceAll(",",",".concat(t," ")),e.props=e.props.map(function(e){return "".concat(t," ").concat(e)})),Array.isArray(e.children)&&"@keyframes"!==e.type&&(e.children=Ve(e.children,t)),e})}function Fe(e){var t,n,o,r=void 0===e?C$1:e,s=r.options,i=void 0===s?C$1:s,a=r.plugins,c=void 0===a?_$1:a,l=function(e,o,r){return r.startsWith(n)&&r.endsWith(n)&&r.replaceAll(n,"").length>0?".".concat(t):e},u=c.slice();u.push(function(e){e.type===RULESET&&e.value.includes("&")&&(e.props[0]=e.props[0].replace(je,n).replace(o,l));}),i.prefix&&u.push(prefixer),u.push(stringify);var p=function(e,r,s,a){void 0===r&&(r=""),void 0===s&&(s=""),void 0===a&&(a="&"),t=a,n=r,o=new RegExp("\\".concat(n,"\\b"),"g");var c=e.replace(xe,""),l=compile(s||r?"".concat(s," ").concat(r," { ").concat(c," }"):c);i.namespace&&(l=Ve(l,i.namespace));var p=[];return serialize(l,middleware(u.concat(rulesheet(function(e){return p.push(e)})))),p};return p.hash=c.length?c.reduce(function(e,t){return t.name||he$1(15),M$1(e,t.name)},F$1).toString():"",p}var Me=new ke,ze=Fe(),$e=React.createContext({shouldForwardProp:void 0,styleSheet:Me,stylis:ze});$e.Consumer;React.createContext(void 0);function Ge(){return reactExports.useContext($e)}var We=function(){function e(e,t){var n=this;this.inject=function(e,t){void 0===t&&(t=ze);var o=n.name+t.hash;e.hasNameForId(n.id,o)||e.insertRules(n.id,o,t(n.rules,o,"@keyframes"));},this.name=e,this.id="sc-keyframes-".concat(e),this.rules=t,ue$1(this,function(){throw he$1(12,String(n.name))});}return e.prototype.getName=function(e){return void 0===e&&(e=ze),this.name+e.hash},e}(),qe=function(e){return e>="A"&&e<="Z"};function He(e){for(var t="",n=0;n<e.length;n++){var o=e[n];if(1===n&&"-"===o&&"-"===e[0])return e;qe(o)?t+="-"+o.toLowerCase():t+=o;}return t.startsWith("ms-")?"-"+t:t}var Ue=function(e){return null==e||!1===e||""===e},Je=function(t){var n,o,r=[];for(var s in t){var i=t[s];t.hasOwnProperty(s)&&!Ue(i)&&(Array.isArray(i)&&i.isCss||re$2(i)?r.push("".concat(He(s),":"),i,";"):ce$2(i)?r.push.apply(r,__spreadArray(__spreadArray(["".concat(s," {")],Je(i),!1),["}"],!1)):r.push("".concat(He(s),": ").concat((n=s,null==(o=i)||"boolean"==typeof o||""===o?"":"number"!=typeof o||0===o||n in unitlessKeys||n.startsWith("--")?String(o).trim():"".concat(o,"px")),";")));}return r};function Xe(e,t,n,o){if(Ue(e))return [];if(se$1(e))return [".".concat(e.styledComponentId)];if(re$2(e)){if(!re$2(s=e)||s.prototype&&s.prototype.isReactComponent||!t)return [e];var r=e(t);return Xe(r,t,n,o)}var s;return e instanceof We?n?(e.inject(n,o),[e.getName(o)]):[e]:ce$2(e)?Je(e):Array.isArray(e)?Array.prototype.concat.apply(_$1,e.map(function(e){return Xe(e,t,n,o)})):[e.toString()]}function Ze(e){for(var t=0;t<e.length;t+=1){var n=e[t];if(re$2(n)&&!se$1(n))return !1}return !0}var Ke=z$1(v$1),Qe=function(){function e(e,t,n){this.rules=e,this.staticRulesId="",this.isStatic=(void 0===n||n.isStatic)&&Ze(e),this.componentId=t,this.baseHash=M$1(Ke,t),this.baseStyle=n,ke.registerId(t);}return e.prototype.generateAndInjectStyles=function(e,t,n){var o=this.baseStyle?this.baseStyle.generateAndInjectStyles(e,t,n):"";if(this.isStatic&&!n.hash)if(this.staticRulesId&&t.hasNameForId(this.componentId,this.staticRulesId))o=ie$2(o,this.staticRulesId);else {var r=ae$2(Xe(this.rules,e,t,n)),s=x$1(M$1(this.baseHash,r)>>>0);if(!t.hasNameForId(this.componentId,s)){var i=n(r,".".concat(s),void 0,this.componentId);t.insertRules(this.componentId,s,i);}o=ie$2(o,s),this.staticRulesId=s;}else {for(var a=M$1(this.baseHash,n.hash),c="",l=0;l<this.rules.length;l++){var u=this.rules[l];if("string"==typeof u)c+=u;else if(u){var p=ae$2(Xe(u,e,t,n));a=M$1(a,p+l),c+=p;}}if(c){var d=x$1(a>>>0);t.hasNameForId(this.componentId,d)||t.insertRules(this.componentId,d,n(c,".".concat(d),void 0,this.componentId)),o=ie$2(o,d);}}return o},e}(),et$2=React.createContext(void 0);et$2.Consumer;function nt$2(){var e=reactExports.useContext(et$2);if(!e)throw he$1(18);return e}function ot$2(e){var n=React.useContext(et$2),r=reactExports.useMemo(function(){return function(e,n){if(!e)throw he$1(14);if(re$2(e)){var o=e(n);return o}if(Array.isArray(e)||"object"!=typeof e)throw he$1(8);return n?__assign(__assign({},n),e):e}(e.theme,n)},[e.theme,n]);return e.children?React.createElement(et$2.Provider,{value:r},e.children):null}var rt$2={},st$1=new Set;function it$2(e,r,s){var i=se$1(e),a=e,c=!L$1(e),p=r.attrs,d=void 0===p?_$1:p,h=r.componentId,f=void 0===h?function(e,t){var n="string"!=typeof e?"sc":R$1(e);rt$2[n]=(rt$2[n]||0)+1;var o="".concat(n,"-").concat($$1(v$1+n+rt$2[n]));return t?"".concat(t,"-").concat(o):o}(r.displayName,r.parentComponentId):h,m=r.displayName,y=void 0===m?function(e){return L$1(e)?"styled.".concat(e):"Styled(".concat(B$1(e),")")}(e):m,g=r.displayName&&r.componentId?"".concat(R$1(r.displayName),"-").concat(r.componentId):r.componentId||f,S=i&&a.attrs?a.attrs.concat(d).filter(Boolean):d,w=r.shouldForwardProp;if(i&&a.shouldForwardProp){var b=a.shouldForwardProp;if(r.shouldForwardProp){var E=r.shouldForwardProp;w=function(e,t){return b(e,t)&&E(e,t)};}else w=b;}var N=new Qe(s,g,i?a.componentStyle:void 0);function O(e,r){return function(e,r,s){var i=e.attrs,a=e.componentStyle,c=e.defaultProps,p=e.foldedComponentIds,d=e.styledComponentId,h=e.target,f=React.useContext(et$2),m=Ge(),y=e.shouldForwardProp||m.shouldForwardProp;var v=I$1(r,f,c)||C$1,g=function(e,n,o){for(var r,s=__assign(__assign({},n),{className:void 0,theme:o}),i=0;i<e.length;i+=1){var a=re$2(r=e[i])?r(s):r;for(var c in a)s[c]="className"===c?ie$2(s[c],a[c]):"style"===c?__assign(__assign({},s[c]),a[c]):a[c];}return n.className&&(s.className=ie$2(s.className,n.className)),s}(i,r,v),S=g.as||h,w={};for(var b in g)void 0===g[b]||"$"===b[0]||"as"===b||"theme"===b&&g.theme===v||("forwardedAs"===b?w.as=g.forwardedAs:y&&!y(b,S)||(w[b]=g[b],y||"development"!=="production"||isPropValid(b)||st$1.has(b)||!A$1.has(S)||(st$1.add(b),console.warn('styled-components: it looks like an unknown prop "'.concat(b,'" is being sent through to the DOM, which will likely trigger a React console error. If you would like automatic filtering of unknown props, you can opt-into that behavior via `<StyleSheetManager shouldForwardProp={...}>` (connect an API like `@emotion/is-prop-valid`) or consider using transient props (`$` prefix for automatic filtering.)')))));var E=function(e,t){var n=Ge(),o=e.generateAndInjectStyles(t,n.styleSheet,n.stylis);return o}(a,g);var N=ie$2(p,d);return E&&(N+=" "+E),g.className&&(N+=" "+g.className),w[L$1(S)&&!A$1.has(S)?"class":"className"]=N,w.ref=s,reactExports.createElement(S,w)}(D,e,r)}O.displayName=y;var D=React.forwardRef(O);return D.attrs=S,D.componentStyle=N,D.displayName=y,D.shouldForwardProp=w,D.foldedComponentIds=i?ie$2(a.foldedComponentIds,a.styledComponentId):"",D.styledComponentId=g,D.target=i?a.target:e,Object.defineProperty(D,"defaultProps",{get:function(){return this._foldedDefaultProps},set:function(e){this._foldedDefaultProps=i?function(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];for(var o=0,r=t;o<r.length;o++)le$1(e,r[o],!0);return e}({},a.defaultProps,e):e;}}),ue$1(D,function(){return ".".concat(D.styledComponentId)}),c&&oe$2(D,e,{attrs:!0,componentStyle:!0,displayName:!0,foldedComponentIds:!0,shouldForwardProp:!0,styledComponentId:!0,target:!0}),D}function at$2(e,t){for(var n=[e[0]],o=0,r=t.length;o<r;o+=1)n.push(t[o],e[o+1]);return n}var ct$2=function(e){return Object.assign(e,{isCss:!0})};function lt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];if(re$2(t)||ce$2(t))return ct$2(Xe(at$2(_$1,__spreadArray([t],n,!0))));var r=t;return 0===n.length&&1===r.length&&"string"==typeof r[0]?Xe(r):ct$2(Xe(at$2(r,n)))}function ut$1(n,o,r){if(void 0===r&&(r=C$1),!o)throw he$1(1,o);var s=function(t){for(var s=[],i=1;i<arguments.length;i++)s[i-1]=arguments[i];return n(o,r,lt$1.apply(void 0,__spreadArray([t],s,!1)))};return s.attrs=function(e){return ut$1(n,o,__assign(__assign({},r),{attrs:Array.prototype.concat(r.attrs,e).filter(Boolean)}))},s.withConfig=function(e){return ut$1(n,o,__assign(__assign({},r),e))},s}var pt$1=function(e){return ut$1(it$2,e)},dt$1=pt$1;A$1.forEach(function(e){dt$1[e]=pt$1(e);});var ht$1=function(){function e(e,t){this.rules=e,this.componentId=t,this.isStatic=Ze(e),ke.registerId(this.componentId+1);}return e.prototype.createStyles=function(e,t,n,o){var r=o(ae$2(Xe(this.rules,t,n,o)),""),s=this.componentId+e;n.insertRules(s,s,r);},e.prototype.removeStyles=function(e,t){t.clearRules(this.componentId+e);},e.prototype.renderStyles=function(e,t,n,o){e>2&&ke.registerId(this.componentId+e),this.removeStyles(e,n),this.createStyles(e,t,n,o);},e}();function ft$1(n){for(var r=[],s=1;s<arguments.length;s++)r[s-1]=arguments[s];var i=lt$1.apply(void 0,__spreadArray([n],r,!1)),a="sc-global-".concat($$1(JSON.stringify(i))),c=new ht$1(i,a);var l=function(e){var t=Ge(),n=React.useContext(et$2),r=React.useRef(t.styleSheet.allocateGSInstance(a)).current;return t.styleSheet.server&&u(r,e,t.styleSheet,n,t.stylis),React.useLayoutEffect(function(){if(!t.styleSheet.server)return u(r,e,t.styleSheet,n,t.stylis),function(){return c.removeStyles(r,t.styleSheet)}},[r,e,t.styleSheet,n,t.stylis]),null};function u(e,n,o,r,s){if(c.isStatic)c.renderStyles(e,b$1,o,s);else {var i=__assign(__assign({},n),{theme:I$1(n,r,l.defaultProps)});c.renderStyles(e,i,o,s);}}return React.memo(l)}function mt$1(t){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var r=ae$2(lt$1.apply(void 0,__spreadArray([t],n,!1))),s=$$1(r);return new We(s,r)}
|
|
16000
16000
|
|
|
16001
16001
|
var reactDom = {exports: {}};
|
|
16002
16002
|
|
|
@@ -18478,8 +18478,8 @@
|
|
|
18478
18478
|
};
|
|
18479
18479
|
}
|
|
18480
18480
|
function r3$1() {
|
|
18481
|
-
if (sN
|
|
18482
|
-
sN
|
|
18481
|
+
if (sN) return sM;
|
|
18482
|
+
sN = 1;
|
|
18483
18483
|
var e = rE$1(), t = rI$1(), r = oI$1 ? oB$1 : (oI$1 = 1, oB$1 = (oA$1 ? oE$1 : (oA$1 = 1, oE$1 = function(e) {
|
|
18484
18484
|
return function(t, r, n) {
|
|
18485
18485
|
for(var i = -1, a = Object(t), o = n(t), s = o.length; s--;){
|
|
@@ -18528,7 +18528,7 @@
|
|
|
18528
18528
|
};
|
|
18529
18529
|
}
|
|
18530
18530
|
function r5$1() {
|
|
18531
|
-
return sD ? sL
|
|
18531
|
+
return sD ? sL : (sD = 1, sL = function(e) {
|
|
18532
18532
|
return e;
|
|
18533
18533
|
});
|
|
18534
18534
|
}
|
|
@@ -18551,8 +18551,8 @@
|
|
|
18551
18551
|
if (sX$1) return sZ$1;
|
|
18552
18552
|
sX$1 = 1;
|
|
18553
18553
|
var e = r5$1(), t = function() {
|
|
18554
|
-
if (sV
|
|
18555
|
-
sV
|
|
18554
|
+
if (sV) return sj;
|
|
18555
|
+
sV = 1;
|
|
18556
18556
|
var e = r6$1(), t = Math.max;
|
|
18557
18557
|
return sj = function(r, n, i) {
|
|
18558
18558
|
return n = t(void 0 === n ? r.length - 1 : n, 0), function() {
|
|
@@ -18563,17 +18563,17 @@
|
|
|
18563
18563
|
};
|
|
18564
18564
|
};
|
|
18565
18565
|
}(), r = function() {
|
|
18566
|
-
if (sW
|
|
18567
|
-
sW
|
|
18566
|
+
if (sW) return sQ$1;
|
|
18567
|
+
sW = 1;
|
|
18568
18568
|
var e = function() {
|
|
18569
|
-
if (sK$1) return sz
|
|
18569
|
+
if (sK$1) return sz;
|
|
18570
18570
|
sK$1 = 1;
|
|
18571
|
-
var e = sq$1 ? sF
|
|
18571
|
+
var e = sq$1 ? sF : (sq$1 = 1, sF = function(e) {
|
|
18572
18572
|
return function() {
|
|
18573
18573
|
return e;
|
|
18574
18574
|
};
|
|
18575
18575
|
}), t = rA$1(), r = r5$1();
|
|
18576
|
-
return sz
|
|
18576
|
+
return sz = t ? function(r, n) {
|
|
18577
18577
|
return t(r, "toString", {
|
|
18578
18578
|
configurable: !0,
|
|
18579
18579
|
enumerable: !1,
|
|
@@ -30664,11 +30664,11 @@
|
|
|
30664
30664
|
}(n);
|
|
30665
30665
|
}
|
|
30666
30666
|
function nm$1() {
|
|
30667
|
-
if (cr) return ct;
|
|
30668
|
-
cr = 1;
|
|
30667
|
+
if (cr$1) return ct$1;
|
|
30668
|
+
cr$1 = 1;
|
|
30669
30669
|
var e = r2$1(), t = function() {
|
|
30670
|
-
if (ce) return s7$1;
|
|
30671
|
-
ce = 1;
|
|
30670
|
+
if (ce$1) return s7$1;
|
|
30671
|
+
ce$1 = 1;
|
|
30672
30672
|
var e = rU$1(), t = s9$1 ? s8$1 : (s9$1 = 1, s8$1 = rD$1()(Object.keys, Object)), r = Object.prototype.hasOwnProperty;
|
|
30673
30673
|
return s7$1 = function(n) {
|
|
30674
30674
|
if (!e(n)) return t(n);
|
|
@@ -30677,7 +30677,7 @@
|
|
|
30677
30677
|
return i;
|
|
30678
30678
|
};
|
|
30679
30679
|
}(), r = rK$1();
|
|
30680
|
-
return ct = function(n) {
|
|
30680
|
+
return ct$1 = function(n) {
|
|
30681
30681
|
return r(n) ? e(n) : t(n);
|
|
30682
30682
|
};
|
|
30683
30683
|
}
|
|
@@ -30781,19 +30781,19 @@
|
|
|
30781
30781
|
var e = function() {
|
|
30782
30782
|
if (c2) return c1;
|
|
30783
30783
|
c2 = 1;
|
|
30784
|
-
var e = rE$1(), t = s6 ? s5$1 : (s6 = 1, s5$1 = function(e, t) {
|
|
30784
|
+
var e = rE$1(), t = s6$1 ? s5$1 : (s6$1 = 1, s5$1 = function(e, t) {
|
|
30785
30785
|
for(var r = -1, n = null == e ? 0 : e.length; ++r < n && !1 !== t(e[r], r, e););
|
|
30786
30786
|
return e;
|
|
30787
30787
|
}), r = rJ$1(), n = function() {
|
|
30788
|
-
if (ci) return cn;
|
|
30788
|
+
if (ci) return cn$1;
|
|
30789
30789
|
ci = 1;
|
|
30790
30790
|
var e = r0$1(), t = nm$1();
|
|
30791
|
-
return cn = function(r, n) {
|
|
30791
|
+
return cn$1 = function(r, n) {
|
|
30792
30792
|
return r && e(n, t(n), r);
|
|
30793
30793
|
};
|
|
30794
30794
|
}(), i = function() {
|
|
30795
|
-
if (co) return ca;
|
|
30796
|
-
co = 1;
|
|
30795
|
+
if (co$1) return ca;
|
|
30796
|
+
co$1 = 1;
|
|
30797
30797
|
var e = r0$1(), t = r4$1();
|
|
30798
30798
|
return ca = function(r, n) {
|
|
30799
30799
|
return r && e(n, t(n), r);
|
|
@@ -33783,7 +33783,7 @@
|
|
|
33783
33783
|
}, nS$1;
|
|
33784
33784
|
}();
|
|
33785
33785
|
function nB$1() {
|
|
33786
|
-
return "0.0.0-beta.
|
|
33786
|
+
return "0.0.0-beta.20260106-111700";
|
|
33787
33787
|
}
|
|
33788
33788
|
function nI$1() {
|
|
33789
33789
|
return {
|
|
@@ -37228,7 +37228,7 @@
|
|
|
37228
37228
|
}
|
|
37229
37229
|
return 1 === n && (r += i2(i << 2)), r;
|
|
37230
37230
|
}
|
|
37231
|
-
var i3, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af, ah, ap, am$1, ag$1, ay$1, ab$1, av$1, a_$1, ax$1, aC$1, aw$1, aS$1, ak$1, aE$1, aA$1, aB$1, aI$1, aT$1, aP$1, aR$1, aM$1, aN$1, aL$1, aD$1, aO$1, aU$1, aj$1, aV$1, aF$1, aq, az$1, aK, aH, aG, aQ, aW$1, aZ$1, aX, a$$1, aY, aJ, a0, a1, a2, a4, a3, a5, a6$1, a8, a9, a7, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, om$1, og$1, oy$1, ob$1, ov$1, o_$1, ox$1, oC$1, ow$1, oS$1, ok$1, oE$1, oA$1, oB$1, oI$1, oT$1, oP$1, oR$1, oM$1, oN$1, oL$1, oD$1, oO$1, oU, oj$1, oV$1, oF$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, oZ$1, oX$1, o$$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se, st, sr$1, sn, si, sa, so$1, ss, sc, sl, su, sd$1, sf, sh, sp, sm, sg, sy, sb, sv, s_, sx, sC, sw, sS, sk, sE, sA, sB, sI, sT, sP, sR, sM, sN
|
|
37231
|
+
var i3, i5, i6$1, i8$1, i9$1, i7$1, ae$1, at$1, ar$1, an$1, ai$1, aa$1, ao$1, as$1, ac$1, al$1, au$1, ad$1, af, ah, ap, am$1, ag$1, ay$1, ab$1, av$1, a_$1, ax$1, aC$1, aw$1, aS$1, ak$1, aE$1, aA$1, aB$1, aI$1, aT$1, aP$1, aR$1, aM$1, aN$1, aL$1, aD$1, aO$1, aU$1, aj$1, aV$1, aF$1, aq, az$1, aK, aH, aG, aQ, aW$1, aZ$1, aX, a$$1, aY, aJ, a0, a1, a2, a4, a3, a5, a6$1, a8, a9, a7, oe$1, ot$1, or$1, on$1, oi$1, oa$1, oo$1, os$1, oc$1, ol$1, ou$1, od$1, of$1, oh$1, op$1, om$1, og$1, oy$1, ob$1, ov$1, o_$1, ox$1, oC$1, ow$1, oS$1, ok$1, oE$1, oA$1, oB$1, oI$1, oT$1, oP$1, oR$1, oM$1, oN$1, oL$1, oD$1, oO$1, oU, oj$1, oV$1, oF$1, oq$1, oz$1, oK$1, oH$1, oG$1, oQ$1, oW$1, oZ$1, oX$1, o$$1, oY$1, oJ$1, o0$1, o1$1, o2$1, o4$1, o3$1, o5$1, o6$1, o8$1, o9$1, o7$1, se, st, sr$1, sn, si, sa, so$1, ss, sc, sl, su, sd$1, sf, sh, sp, sm, sg, sy, sb, sv, s_, sx, sC, sw, sS, sk, sE, sA, sB, sI, sT, sP, sR, sM, sN, sL, sD, sO, sU$1, sj, sV, sF, sq$1, sz, sK$1, sH$1, sG$1, sQ$1, sW, sZ$1, sX$1, s$, sY$1, sJ$1, s0$1, s1$1, s2$1, s4$1, s3$1, s5$1, s6$1, s8$1, s9$1, s7$1, ce$1, ct$1, cr$1, cn$1, ci, ca, co$1, cs, cc, cl, cu, cd, cf, ch, cp, cm, cg, cy, cb, cv, c_, cx, cC, cw, cS, ck, cE, cA, cB, cI, cT, cP, cR, cM, cN, cL, cD, cO, cU, cj, cV, cF, cq, cz, cK, cH, cG, cQ, cW, cZ, cX, c$, cY, cJ, c0, c1, c2, c4, c3, c5, c6, c8, c9, c7, le, lt, lr, ln, li, la, lo, ls, lc, ll, lu, ld, lf, lh, lp, lm, lg, ly, lb, lv, l_, lx, lC, lw, lS, lk, lE, lA, lB, lI, lT, lP, lR, lM, lN, lL, lD, lO, lU, lj, lV, lF, lq, lz, lK, lH, lG, lQ, lW, lZ, lX, l$, lY, lJ, l0, l1, l2, l4, l3, l5, l6, l8, l9, l7, ue, ut, ur, un, ui, ua, uo, us, uc, ul, uu, ud, uf, uh, up, um, ug, uy, ub, uv, u_, ux, uC, uw, uS, uk, uE, uA, uB, uI, uT, uP, uR, uM, uN, uL, uD, uO, uU, uj, uV, uF, uq, uz, uK, uH, uG = {}, uQ = {}, uW = {
|
|
37232
37232
|
exports: {}
|
|
37233
37233
|
}, uZ = function(e) {
|
|
37234
37234
|
if (Object.prototype.hasOwnProperty.call(e, "__esModule")) return e;
|
|
@@ -41259,49 +41259,53 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
|
|
41263
|
-
|
|
41264
|
-
|
|
41265
|
-
|
|
41266
|
-
} catch (e) {
|
|
41267
|
-
dy.push(dy.shift());
|
|
41268
|
-
}
|
|
41269
|
-
function db(e, t) {
|
|
41270
|
-
let r = d_();
|
|
41271
|
-
return (db = function(e, t) {
|
|
41272
|
-
return r[e -= 322];
|
|
41262
|
+
function dm(e, t) {
|
|
41263
|
+
let r = dg();
|
|
41264
|
+
return (dm = function(e, t) {
|
|
41265
|
+
return r[e -= 354];
|
|
41273
41266
|
})(e, t);
|
|
41274
41267
|
}
|
|
41275
|
-
|
|
41276
|
-
function d_() {
|
|
41268
|
+
function dg() {
|
|
41277
41269
|
let e = [
|
|
41278
|
-
"DepBO8t60S",
|
|
41279
|
-
"MFkwEwYHKo",
|
|
41280
|
-
"3d02010608",
|
|
41281
|
-
"000",
|
|
41282
|
-
"58448vUqjdj",
|
|
41283
41270
|
"ytJdcsPxrD",
|
|
41284
|
-
"
|
|
41285
|
-
"
|
|
41286
|
-
"
|
|
41287
|
-
"
|
|
41271
|
+
"3325580IJRjfa",
|
|
41272
|
+
"1962rbKEwo",
|
|
41273
|
+
"359892gaKbdX",
|
|
41274
|
+
"DepBO8t60S",
|
|
41288
41275
|
"2a8648ce3d",
|
|
41289
|
-
"
|
|
41276
|
+
"0301070342",
|
|
41277
|
+
"Mjci1ul8mm",
|
|
41290
41278
|
"KA==",
|
|
41291
|
-
"5RrdBRx",
|
|
41292
|
-
"3059301306",
|
|
41293
|
-
"2667084SBxIXU",
|
|
41294
|
-
"567832PhpzhF",
|
|
41295
|
-
"ZIzj0CAQYI",
|
|
41296
41279
|
"KoZIzj0DAQ",
|
|
41297
|
-
"
|
|
41298
|
-
"+faHkP3QC3"
|
|
41280
|
+
"458668Wltqkx",
|
|
41281
|
+
"+faHkP3QC3",
|
|
41282
|
+
"ssRdXLZEX8",
|
|
41283
|
+
"81cVsDSQ",
|
|
41284
|
+
"940nLufso",
|
|
41285
|
+
"2474NuulkO",
|
|
41286
|
+
"000",
|
|
41287
|
+
"9xZGYZu",
|
|
41288
|
+
"MFkwEwYHKo",
|
|
41289
|
+
"35640hpKjQn",
|
|
41290
|
+
"D9EKOWS+U4",
|
|
41291
|
+
"1362880fRAHgM",
|
|
41292
|
+
"44P0rKKsZK",
|
|
41293
|
+
"3d02010608",
|
|
41294
|
+
"ZIzj0CAQYI",
|
|
41295
|
+
"072a8648ce"
|
|
41299
41296
|
];
|
|
41300
|
-
return (
|
|
41297
|
+
return (dg = function() {
|
|
41301
41298
|
return e;
|
|
41302
41299
|
})();
|
|
41303
41300
|
}
|
|
41304
|
-
let
|
|
41301
|
+
let dy = dm, db = dm, dv = dg();
|
|
41302
|
+
for(;;)try {
|
|
41303
|
+
if (parseInt(db(376)) / 1 + parseInt(db(372)) / 2 * (parseInt(db(370)) / 3) + parseInt(db(360)) / 4 + parseInt(db(371)) / 5 * (parseInt(db(359)) / 6) + parseInt(db(367)) / 7 + parseInt(db(378)) / 8 + -parseInt(db(374)) / 9 * (parseInt(db(358)) / 10) === 123814) break;
|
|
41304
|
+
dv.push(dv.shift());
|
|
41305
|
+
} catch (e) {
|
|
41306
|
+
dv.push(dv.shift());
|
|
41307
|
+
}
|
|
41308
|
+
let d_ = "3059301306" + dy(356) + dy(354) + dy(362) + dy(363) + dy(373), dx = dy(375) + dy(355) + dy(366) + "cDQgAE9h6Z" + dy(361) + dy(357) + dy(368) + dy(379) + dy(364) + dy(377) + "MfPrcYTM70" + dy(369) + dy(365);
|
|
41305
41309
|
async function dC(e) {
|
|
41306
41310
|
let t = new TextEncoder().encode(e);
|
|
41307
41311
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41406,7 +41410,7 @@
|
|
|
41406
41410
|
isValid: !1,
|
|
41407
41411
|
error: i0$1.invalid_license
|
|
41408
41412
|
};
|
|
41409
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(
|
|
41413
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41410
41414
|
verifySignature: async (e, t)=>{
|
|
41411
41415
|
try {
|
|
41412
41416
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45327,7 +45331,7 @@
|
|
|
45327
45331
|
return this.getKey().getPublicKey();
|
|
45328
45332
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45329
45333
|
return this.getKey().getPublicBaseKeyB64();
|
|
45330
|
-
}, e.version = "5.34.
|
|
45334
|
+
}, e.version = "5.34.1", e;
|
|
45331
45335
|
}();
|
|
45332
45336
|
let hO = [
|
|
45333
45337
|
"-",
|
|
@@ -53110,7 +53114,7 @@
|
|
|
53110
53114
|
});
|
|
53111
53115
|
};
|
|
53112
53116
|
|
|
53113
|
-
var Z, K, Y, J, ee, et, er, eo, en$1, ei, ea, es, ec, el, ed, eu,
|
|
53117
|
+
var Z, K, Y, J, ee, et, er, eo, en$1, ei, ea, es, ec, el, ed, eu, ef, ep, eh, em, eg, eb, ev, ew, ek, ey, eC, eB, e_, ex, eP, eS, eE, eT, eD, e$, ej, eI, eO, eM, eA, eR, eL, eF, eN, ez, eV, eW, eU, eq, eQ, eX, eH, eG, eZ, eK, eY, eJ, e3, e2, e5, e0, e1, e8, e9, e4, e7, e6, te, tt, tr, to, tn, ti, ta, ts, tc, tl, td, tu, tf, tp, th, tm, tg, tb, tv, tw, tk, ty, tC, tB, t_, tx, tP, tS, tE, tT, tD, t$, tj, tI, tO, tM, tA, tR, tL, tF, tN, tz, tV, tW, tU, tq, tQ, tX, tH, tG, tZ, tK, tY, tJ, t3, t2, t5, t0, t1, t8, t9, t4, t7, t6, re, rt, rr, ro, rn, ri, ra, rs, rc, rl, rd, ru, rf, rp, rh, rm, rg, rb, rv, rw, rk, ry, rC, rB, r_, rx, rP, rS, rE, rT, rD, r$, rj, rI, rO, rM, rA, rR, rL, rF, rN, rz, rV, rW, rU, rq, rQ, rX, rH, rG, rZ, rK, rY, rJ, r3, r2, r5, r0, r1, r8, r9, r4, r7, r6, oe, ot, or, oo, on, oi, oa, os, oc, ol, od, ou, of, op, oh, om, og, ob, ov, ow, ok, oy, oC, oB, o_, ox, oP, oS, oE, oT, oD, o$, oj, oI, oO, oM, oA, oR, oL, oF, oN, oz, oV, oW, oq, oQ = "undefined" != typeof globalThis ? globalThis : "undefined" != typeof window ? window : "undefined" != typeof global ? global : "undefined" != typeof self ? self : {};
|
|
53114
53118
|
function oX(t) {
|
|
53115
53119
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53116
53120
|
}
|
|
@@ -53189,7 +53193,7 @@
|
|
|
53189
53193
|
};
|
|
53190
53194
|
}
|
|
53191
53195
|
function o5() {
|
|
53192
|
-
return
|
|
53196
|
+
return ep ? ef : (ep = 1, ef = function(t) {
|
|
53193
53197
|
return null != t && "object" == typeof t;
|
|
53194
53198
|
});
|
|
53195
53199
|
}
|
|
@@ -53421,10 +53425,10 @@
|
|
|
53421
53425
|
return t(this, r).get(r);
|
|
53422
53426
|
};
|
|
53423
53427
|
}(), n = function() {
|
|
53424
|
-
if (
|
|
53425
|
-
|
|
53428
|
+
if (tp) return tf;
|
|
53429
|
+
tp = 1;
|
|
53426
53430
|
var t = nr();
|
|
53427
|
-
return
|
|
53431
|
+
return tf = function(r) {
|
|
53428
53432
|
return t(this, r).has(r);
|
|
53429
53433
|
};
|
|
53430
53434
|
}(), i = function() {
|
|
@@ -53567,16 +53571,16 @@
|
|
|
53567
53571
|
function nc(t, r) {
|
|
53568
53572
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53569
53573
|
}
|
|
53570
|
-
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted",
|
|
53574
|
+
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
|
|
53571
53575
|
function o(t, o) {
|
|
53572
53576
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53573
|
-
return i.appearStatus = null, t.in ? a ? (n =
|
|
53577
|
+
return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
|
|
53574
53578
|
status: n
|
|
53575
53579
|
}, i.nextCallback = null, i;
|
|
53576
53580
|
}
|
|
53577
53581
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53578
53582
|
return t.in && r.status === nu ? {
|
|
53579
|
-
status:
|
|
53583
|
+
status: nf
|
|
53580
53584
|
} : null;
|
|
53581
53585
|
};
|
|
53582
53586
|
var n = o.prototype;
|
|
@@ -53586,7 +53590,7 @@
|
|
|
53586
53590
|
var r = null;
|
|
53587
53591
|
if (t !== this.props) {
|
|
53588
53592
|
var o = this.state.status;
|
|
53589
|
-
this.props.in ? o !==
|
|
53593
|
+
this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
|
|
53590
53594
|
}
|
|
53591
53595
|
this.updateStatus(!1, r);
|
|
53592
53596
|
}, n.componentWillUnmount = function() {
|
|
@@ -53599,7 +53603,7 @@
|
|
|
53599
53603
|
appear: o
|
|
53600
53604
|
};
|
|
53601
53605
|
}, n.updateStatus = function(t, r) {
|
|
53602
|
-
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r ===
|
|
53606
|
+
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r === np ? this.performEnter(t) : this.performExit()) : this.props.unmountOnExit && this.state.status === nf && this.setState({
|
|
53603
53607
|
status: nu
|
|
53604
53608
|
});
|
|
53605
53609
|
}, n.performEnter = function(t) {
|
|
@@ -53610,7 +53614,7 @@
|
|
|
53610
53614
|
n
|
|
53611
53615
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53612
53616
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53613
|
-
status:
|
|
53617
|
+
status: np
|
|
53614
53618
|
}, function() {
|
|
53615
53619
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53616
53620
|
r.safeSetState({
|
|
@@ -53627,7 +53631,7 @@
|
|
|
53627
53631
|
}, n.performExit = function() {
|
|
53628
53632
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53629
53633
|
!r || nl ? this.safeSetState({
|
|
53630
|
-
status:
|
|
53634
|
+
status: nf
|
|
53631
53635
|
}, function() {
|
|
53632
53636
|
t.props.onExited(n);
|
|
53633
53637
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53635,7 +53639,7 @@
|
|
|
53635
53639
|
}, function() {
|
|
53636
53640
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53637
53641
|
t.safeSetState({
|
|
53638
|
-
status:
|
|
53642
|
+
status: nf
|
|
53639
53643
|
}, function() {
|
|
53640
53644
|
t.props.onExited(n);
|
|
53641
53645
|
});
|
|
@@ -53708,7 +53712,7 @@
|
|
|
53708
53712
|
onExit: nb,
|
|
53709
53713
|
onExiting: nb,
|
|
53710
53714
|
onExited: nb
|
|
53711
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53715
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53712
53716
|
var nv = function(t, r) {
|
|
53713
53717
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53714
53718
|
var o, n;
|
|
@@ -53803,7 +53807,7 @@
|
|
|
53803
53807
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53804
53808
|
in: !1,
|
|
53805
53809
|
onExited: nC(o, "onExited", function() {
|
|
53806
|
-
n(
|
|
53810
|
+
n(np, null);
|
|
53807
53811
|
})
|
|
53808
53812
|
});
|
|
53809
53813
|
}, tL[ny] = function(r) {
|
|
@@ -53813,7 +53817,7 @@
|
|
|
53813
53817
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53814
53818
|
in: !0,
|
|
53815
53819
|
onEntered: nC(i, "onEntered", function() {
|
|
53816
|
-
n(
|
|
53820
|
+
n(np);
|
|
53817
53821
|
})
|
|
53818
53822
|
})
|
|
53819
53823
|
];
|
|
@@ -53866,8 +53870,8 @@
|
|
|
53866
53870
|
if (null == r.children) return {
|
|
53867
53871
|
current: null
|
|
53868
53872
|
};
|
|
53869
|
-
if (o.status ===
|
|
53870
|
-
status:
|
|
53873
|
+
if (o.status === np && r.mode === ny) return {
|
|
53874
|
+
status: np
|
|
53871
53875
|
};
|
|
53872
53876
|
return o.current && (n = o.current, !(n === (i = r.children) || /*#__PURE__*/ React.isValidElement(n) && /*#__PURE__*/ React.isValidElement(i) && null != n.key && n.key === i.key) && 1) ? {
|
|
53873
53877
|
status: nm
|
|
@@ -53884,7 +53888,7 @@
|
|
|
53884
53888
|
status: s
|
|
53885
53889
|
};
|
|
53886
53890
|
switch(s){
|
|
53887
|
-
case
|
|
53891
|
+
case np:
|
|
53888
53892
|
r = n_[i](l);
|
|
53889
53893
|
break;
|
|
53890
53894
|
case nm:
|
|
@@ -53914,7 +53918,7 @@
|
|
|
53914
53918
|
var t, r;
|
|
53915
53919
|
if (tN) return nS.exports;
|
|
53916
53920
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53917
|
-
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name",
|
|
53921
|
+
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name", f = "type", p = "vendor", h = "version", m = "architecture", g = "console", b = "mobile", v = "tablet", w = "smarttv", k = "wearable", y = "embedded", C = "Amazon", B = "Apple", _ = "ASUS", x = "BlackBerry", P = "Browser", S = "Chrome", E = "Firefox", T = "Google", D = "Huawei", $ = "Microsoft", j = "Motorola", I = "Opera", O = "Samsung", M = "Sharp", A = "Sony", R = "Xiaomi", L = "Zebra", F = "Facebook", N = "Chromium OS", z = "Mac OS", V = function(t, r) {
|
|
53918
53922
|
var o = {};
|
|
53919
53923
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53920
53924
|
return o;
|
|
@@ -53929,9 +53933,9 @@
|
|
|
53929
53933
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53930
53934
|
}, X = function(t, r) {
|
|
53931
53935
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53932
|
-
var
|
|
53933
|
-
for(o = n = 0; o <
|
|
53934
|
-
if (l =
|
|
53936
|
+
var f = r[u], p = r[u + 1];
|
|
53937
|
+
for(o = n = 0; o < f.length && !l && f[o];){
|
|
53938
|
+
if (l = f[o++].exec(t)) for(a = 0; a < p.length; a++)d = l[++n], typeof (c = p[a]) === s && c.length > 0 ? 2 === c.length ? typeof c[1] == i ? this[c[0]] = c[1].call(this, d) : this[c[0]] = c[1] : 3 === c.length ? typeof c[1] !== i || c[1].exec && c[1].test ? this[c[0]] = d ? d.replace(c[1], c[2]) : void 0 : this[c[0]] = d ? c[1].call(this, d, c[2]) : void 0 : 4 === c.length && (this[c[0]] = d ? c[3].call(this, d.replace(c[1], c[2])) : void 0) : this[c] = d || void 0;
|
|
53935
53939
|
}
|
|
53936
53940
|
u += 2;
|
|
53937
53941
|
}
|
|
@@ -54515,11 +54519,11 @@
|
|
|
54515
54519
|
[
|
|
54516
54520
|
d,
|
|
54517
54521
|
[
|
|
54518
|
-
|
|
54522
|
+
p,
|
|
54519
54523
|
O
|
|
54520
54524
|
],
|
|
54521
54525
|
[
|
|
54522
|
-
|
|
54526
|
+
f,
|
|
54523
54527
|
v
|
|
54524
54528
|
]
|
|
54525
54529
|
],
|
|
@@ -54531,11 +54535,11 @@
|
|
|
54531
54535
|
[
|
|
54532
54536
|
d,
|
|
54533
54537
|
[
|
|
54534
|
-
|
|
54538
|
+
p,
|
|
54535
54539
|
O
|
|
54536
54540
|
],
|
|
54537
54541
|
[
|
|
54538
|
-
|
|
54542
|
+
f,
|
|
54539
54543
|
b
|
|
54540
54544
|
]
|
|
54541
54545
|
],
|
|
@@ -54545,11 +54549,11 @@
|
|
|
54545
54549
|
[
|
|
54546
54550
|
d,
|
|
54547
54551
|
[
|
|
54548
|
-
|
|
54552
|
+
p,
|
|
54549
54553
|
B
|
|
54550
54554
|
],
|
|
54551
54555
|
[
|
|
54552
|
-
|
|
54556
|
+
f,
|
|
54553
54557
|
b
|
|
54554
54558
|
]
|
|
54555
54559
|
],
|
|
@@ -54561,11 +54565,11 @@
|
|
|
54561
54565
|
[
|
|
54562
54566
|
d,
|
|
54563
54567
|
[
|
|
54564
|
-
|
|
54568
|
+
p,
|
|
54565
54569
|
B
|
|
54566
54570
|
],
|
|
54567
54571
|
[
|
|
54568
|
-
|
|
54572
|
+
f,
|
|
54569
54573
|
v
|
|
54570
54574
|
]
|
|
54571
54575
|
],
|
|
@@ -54575,7 +54579,7 @@
|
|
|
54575
54579
|
[
|
|
54576
54580
|
d,
|
|
54577
54581
|
[
|
|
54578
|
-
|
|
54582
|
+
p,
|
|
54579
54583
|
B
|
|
54580
54584
|
]
|
|
54581
54585
|
],
|
|
@@ -54585,11 +54589,11 @@
|
|
|
54585
54589
|
[
|
|
54586
54590
|
d,
|
|
54587
54591
|
[
|
|
54588
|
-
|
|
54592
|
+
p,
|
|
54589
54593
|
M
|
|
54590
54594
|
],
|
|
54591
54595
|
[
|
|
54592
|
-
|
|
54596
|
+
f,
|
|
54593
54597
|
b
|
|
54594
54598
|
]
|
|
54595
54599
|
],
|
|
@@ -54599,11 +54603,11 @@
|
|
|
54599
54603
|
[
|
|
54600
54604
|
d,
|
|
54601
54605
|
[
|
|
54602
|
-
|
|
54606
|
+
p,
|
|
54603
54607
|
D
|
|
54604
54608
|
],
|
|
54605
54609
|
[
|
|
54606
|
-
|
|
54610
|
+
f,
|
|
54607
54611
|
v
|
|
54608
54612
|
]
|
|
54609
54613
|
],
|
|
@@ -54614,11 +54618,11 @@
|
|
|
54614
54618
|
[
|
|
54615
54619
|
d,
|
|
54616
54620
|
[
|
|
54617
|
-
|
|
54621
|
+
p,
|
|
54618
54622
|
D
|
|
54619
54623
|
],
|
|
54620
54624
|
[
|
|
54621
|
-
|
|
54625
|
+
f,
|
|
54622
54626
|
b
|
|
54623
54627
|
]
|
|
54624
54628
|
],
|
|
@@ -54637,11 +54641,11 @@
|
|
|
54637
54641
|
" "
|
|
54638
54642
|
],
|
|
54639
54643
|
[
|
|
54640
|
-
|
|
54644
|
+
p,
|
|
54641
54645
|
R
|
|
54642
54646
|
],
|
|
54643
54647
|
[
|
|
54644
|
-
|
|
54648
|
+
f,
|
|
54645
54649
|
b
|
|
54646
54650
|
]
|
|
54647
54651
|
],
|
|
@@ -54656,11 +54660,11 @@
|
|
|
54656
54660
|
" "
|
|
54657
54661
|
],
|
|
54658
54662
|
[
|
|
54659
|
-
|
|
54663
|
+
p,
|
|
54660
54664
|
R
|
|
54661
54665
|
],
|
|
54662
54666
|
[
|
|
54663
|
-
|
|
54667
|
+
f,
|
|
54664
54668
|
v
|
|
54665
54669
|
]
|
|
54666
54670
|
],
|
|
@@ -54671,11 +54675,11 @@
|
|
|
54671
54675
|
[
|
|
54672
54676
|
d,
|
|
54673
54677
|
[
|
|
54674
|
-
|
|
54678
|
+
p,
|
|
54675
54679
|
"OPPO"
|
|
54676
54680
|
],
|
|
54677
54681
|
[
|
|
54678
|
-
|
|
54682
|
+
f,
|
|
54679
54683
|
b
|
|
54680
54684
|
]
|
|
54681
54685
|
],
|
|
@@ -54686,11 +54690,11 @@
|
|
|
54686
54690
|
[
|
|
54687
54691
|
d,
|
|
54688
54692
|
[
|
|
54689
|
-
|
|
54693
|
+
p,
|
|
54690
54694
|
"Vivo"
|
|
54691
54695
|
],
|
|
54692
54696
|
[
|
|
54693
|
-
|
|
54697
|
+
f,
|
|
54694
54698
|
b
|
|
54695
54699
|
]
|
|
54696
54700
|
],
|
|
@@ -54700,11 +54704,11 @@
|
|
|
54700
54704
|
[
|
|
54701
54705
|
d,
|
|
54702
54706
|
[
|
|
54703
|
-
|
|
54707
|
+
p,
|
|
54704
54708
|
"Realme"
|
|
54705
54709
|
],
|
|
54706
54710
|
[
|
|
54707
|
-
|
|
54711
|
+
f,
|
|
54708
54712
|
b
|
|
54709
54713
|
]
|
|
54710
54714
|
],
|
|
@@ -54716,11 +54720,11 @@
|
|
|
54716
54720
|
[
|
|
54717
54721
|
d,
|
|
54718
54722
|
[
|
|
54719
|
-
|
|
54723
|
+
p,
|
|
54720
54724
|
j
|
|
54721
54725
|
],
|
|
54722
54726
|
[
|
|
54723
|
-
|
|
54727
|
+
f,
|
|
54724
54728
|
b
|
|
54725
54729
|
]
|
|
54726
54730
|
],
|
|
@@ -54730,11 +54734,11 @@
|
|
|
54730
54734
|
[
|
|
54731
54735
|
d,
|
|
54732
54736
|
[
|
|
54733
|
-
|
|
54737
|
+
p,
|
|
54734
54738
|
j
|
|
54735
54739
|
],
|
|
54736
54740
|
[
|
|
54737
|
-
|
|
54741
|
+
f,
|
|
54738
54742
|
v
|
|
54739
54743
|
]
|
|
54740
54744
|
],
|
|
@@ -54744,11 +54748,11 @@
|
|
|
54744
54748
|
[
|
|
54745
54749
|
d,
|
|
54746
54750
|
[
|
|
54747
|
-
|
|
54751
|
+
p,
|
|
54748
54752
|
"LG"
|
|
54749
54753
|
],
|
|
54750
54754
|
[
|
|
54751
|
-
|
|
54755
|
+
f,
|
|
54752
54756
|
v
|
|
54753
54757
|
]
|
|
54754
54758
|
],
|
|
@@ -54760,11 +54764,11 @@
|
|
|
54760
54764
|
[
|
|
54761
54765
|
d,
|
|
54762
54766
|
[
|
|
54763
|
-
|
|
54767
|
+
p,
|
|
54764
54768
|
"LG"
|
|
54765
54769
|
],
|
|
54766
54770
|
[
|
|
54767
|
-
|
|
54771
|
+
f,
|
|
54768
54772
|
b
|
|
54769
54773
|
]
|
|
54770
54774
|
],
|
|
@@ -54775,11 +54779,11 @@
|
|
|
54775
54779
|
[
|
|
54776
54780
|
d,
|
|
54777
54781
|
[
|
|
54778
|
-
|
|
54782
|
+
p,
|
|
54779
54783
|
"Lenovo"
|
|
54780
54784
|
],
|
|
54781
54785
|
[
|
|
54782
|
-
|
|
54786
|
+
f,
|
|
54783
54787
|
v
|
|
54784
54788
|
]
|
|
54785
54789
|
],
|
|
@@ -54794,11 +54798,11 @@
|
|
|
54794
54798
|
" "
|
|
54795
54799
|
],
|
|
54796
54800
|
[
|
|
54797
|
-
|
|
54801
|
+
p,
|
|
54798
54802
|
"Nokia"
|
|
54799
54803
|
],
|
|
54800
54804
|
[
|
|
54801
|
-
|
|
54805
|
+
f,
|
|
54802
54806
|
b
|
|
54803
54807
|
]
|
|
54804
54808
|
],
|
|
@@ -54808,11 +54812,11 @@
|
|
|
54808
54812
|
[
|
|
54809
54813
|
d,
|
|
54810
54814
|
[
|
|
54811
|
-
|
|
54815
|
+
p,
|
|
54812
54816
|
T
|
|
54813
54817
|
],
|
|
54814
54818
|
[
|
|
54815
|
-
|
|
54819
|
+
f,
|
|
54816
54820
|
v
|
|
54817
54821
|
]
|
|
54818
54822
|
],
|
|
@@ -54822,11 +54826,11 @@
|
|
|
54822
54826
|
[
|
|
54823
54827
|
d,
|
|
54824
54828
|
[
|
|
54825
|
-
|
|
54829
|
+
p,
|
|
54826
54830
|
T
|
|
54827
54831
|
],
|
|
54828
54832
|
[
|
|
54829
|
-
|
|
54833
|
+
f,
|
|
54830
54834
|
b
|
|
54831
54835
|
]
|
|
54832
54836
|
],
|
|
@@ -54836,11 +54840,11 @@
|
|
|
54836
54840
|
[
|
|
54837
54841
|
d,
|
|
54838
54842
|
[
|
|
54839
|
-
|
|
54843
|
+
p,
|
|
54840
54844
|
A
|
|
54841
54845
|
],
|
|
54842
54846
|
[
|
|
54843
|
-
|
|
54847
|
+
f,
|
|
54844
54848
|
b
|
|
54845
54849
|
]
|
|
54846
54850
|
],
|
|
@@ -54854,11 +54858,11 @@
|
|
|
54854
54858
|
"Xperia Tablet"
|
|
54855
54859
|
],
|
|
54856
54860
|
[
|
|
54857
|
-
|
|
54861
|
+
p,
|
|
54858
54862
|
A
|
|
54859
54863
|
],
|
|
54860
54864
|
[
|
|
54861
|
-
|
|
54865
|
+
f,
|
|
54862
54866
|
v
|
|
54863
54867
|
]
|
|
54864
54868
|
],
|
|
@@ -54869,11 +54873,11 @@
|
|
|
54869
54873
|
[
|
|
54870
54874
|
d,
|
|
54871
54875
|
[
|
|
54872
|
-
|
|
54876
|
+
p,
|
|
54873
54877
|
"OnePlus"
|
|
54874
54878
|
],
|
|
54875
54879
|
[
|
|
54876
|
-
|
|
54880
|
+
f,
|
|
54877
54881
|
b
|
|
54878
54882
|
]
|
|
54879
54883
|
],
|
|
@@ -54885,11 +54889,11 @@
|
|
|
54885
54889
|
[
|
|
54886
54890
|
d,
|
|
54887
54891
|
[
|
|
54888
|
-
|
|
54892
|
+
p,
|
|
54889
54893
|
C
|
|
54890
54894
|
],
|
|
54891
54895
|
[
|
|
54892
|
-
|
|
54896
|
+
f,
|
|
54893
54897
|
v
|
|
54894
54898
|
]
|
|
54895
54899
|
],
|
|
@@ -54903,11 +54907,11 @@
|
|
|
54903
54907
|
"Fire Phone $1"
|
|
54904
54908
|
],
|
|
54905
54909
|
[
|
|
54906
|
-
|
|
54910
|
+
p,
|
|
54907
54911
|
C
|
|
54908
54912
|
],
|
|
54909
54913
|
[
|
|
54910
|
-
|
|
54914
|
+
f,
|
|
54911
54915
|
b
|
|
54912
54916
|
]
|
|
54913
54917
|
],
|
|
@@ -54916,9 +54920,9 @@
|
|
|
54916
54920
|
],
|
|
54917
54921
|
[
|
|
54918
54922
|
d,
|
|
54919
|
-
|
|
54923
|
+
p,
|
|
54920
54924
|
[
|
|
54921
|
-
|
|
54925
|
+
f,
|
|
54922
54926
|
v
|
|
54923
54927
|
]
|
|
54924
54928
|
],
|
|
@@ -54929,11 +54933,11 @@
|
|
|
54929
54933
|
[
|
|
54930
54934
|
d,
|
|
54931
54935
|
[
|
|
54932
|
-
|
|
54936
|
+
p,
|
|
54933
54937
|
x
|
|
54934
54938
|
],
|
|
54935
54939
|
[
|
|
54936
|
-
|
|
54940
|
+
f,
|
|
54937
54941
|
b
|
|
54938
54942
|
]
|
|
54939
54943
|
],
|
|
@@ -54943,11 +54947,11 @@
|
|
|
54943
54947
|
[
|
|
54944
54948
|
d,
|
|
54945
54949
|
[
|
|
54946
|
-
|
|
54950
|
+
p,
|
|
54947
54951
|
_
|
|
54948
54952
|
],
|
|
54949
54953
|
[
|
|
54950
|
-
|
|
54954
|
+
f,
|
|
54951
54955
|
v
|
|
54952
54956
|
]
|
|
54953
54957
|
],
|
|
@@ -54957,11 +54961,11 @@
|
|
|
54957
54961
|
[
|
|
54958
54962
|
d,
|
|
54959
54963
|
[
|
|
54960
|
-
|
|
54964
|
+
p,
|
|
54961
54965
|
_
|
|
54962
54966
|
],
|
|
54963
54967
|
[
|
|
54964
|
-
|
|
54968
|
+
f,
|
|
54965
54969
|
b
|
|
54966
54970
|
]
|
|
54967
54971
|
],
|
|
@@ -54971,11 +54975,11 @@
|
|
|
54971
54975
|
[
|
|
54972
54976
|
d,
|
|
54973
54977
|
[
|
|
54974
|
-
|
|
54978
|
+
p,
|
|
54975
54979
|
"HTC"
|
|
54976
54980
|
],
|
|
54977
54981
|
[
|
|
54978
|
-
|
|
54982
|
+
f,
|
|
54979
54983
|
v
|
|
54980
54984
|
]
|
|
54981
54985
|
],
|
|
@@ -54985,14 +54989,14 @@
|
|
|
54985
54989
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54986
54990
|
],
|
|
54987
54991
|
[
|
|
54988
|
-
|
|
54992
|
+
p,
|
|
54989
54993
|
[
|
|
54990
54994
|
d,
|
|
54991
54995
|
/_/g,
|
|
54992
54996
|
" "
|
|
54993
54997
|
],
|
|
54994
54998
|
[
|
|
54995
|
-
|
|
54999
|
+
f,
|
|
54996
55000
|
b
|
|
54997
55001
|
]
|
|
54998
55002
|
],
|
|
@@ -55002,11 +55006,11 @@
|
|
|
55002
55006
|
[
|
|
55003
55007
|
d,
|
|
55004
55008
|
[
|
|
55005
|
-
|
|
55009
|
+
p,
|
|
55006
55010
|
"Acer"
|
|
55007
55011
|
],
|
|
55008
55012
|
[
|
|
55009
|
-
|
|
55013
|
+
f,
|
|
55010
55014
|
v
|
|
55011
55015
|
]
|
|
55012
55016
|
],
|
|
@@ -55017,11 +55021,11 @@
|
|
|
55017
55021
|
[
|
|
55018
55022
|
d,
|
|
55019
55023
|
[
|
|
55020
|
-
|
|
55024
|
+
p,
|
|
55021
55025
|
"Meizu"
|
|
55022
55026
|
],
|
|
55023
55027
|
[
|
|
55024
|
-
|
|
55028
|
+
f,
|
|
55025
55029
|
b
|
|
55026
55030
|
]
|
|
55027
55031
|
],
|
|
@@ -55031,11 +55035,11 @@
|
|
|
55031
55035
|
[
|
|
55032
55036
|
d,
|
|
55033
55037
|
[
|
|
55034
|
-
|
|
55038
|
+
p,
|
|
55035
55039
|
"Ulefone"
|
|
55036
55040
|
],
|
|
55037
55041
|
[
|
|
55038
|
-
|
|
55042
|
+
f,
|
|
55039
55043
|
b
|
|
55040
55044
|
]
|
|
55041
55045
|
],
|
|
@@ -55049,10 +55053,10 @@
|
|
|
55049
55053
|
/(oppo) ?([\w ]+) bui/i
|
|
55050
55054
|
],
|
|
55051
55055
|
[
|
|
55052
|
-
|
|
55056
|
+
p,
|
|
55053
55057
|
d,
|
|
55054
55058
|
[
|
|
55055
|
-
|
|
55059
|
+
f,
|
|
55056
55060
|
b
|
|
55057
55061
|
]
|
|
55058
55062
|
],
|
|
@@ -55069,10 +55073,10 @@
|
|
|
55069
55073
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55070
55074
|
],
|
|
55071
55075
|
[
|
|
55072
|
-
|
|
55076
|
+
p,
|
|
55073
55077
|
d,
|
|
55074
55078
|
[
|
|
55075
|
-
|
|
55079
|
+
f,
|
|
55076
55080
|
v
|
|
55077
55081
|
]
|
|
55078
55082
|
],
|
|
@@ -55082,11 +55086,11 @@
|
|
|
55082
55086
|
[
|
|
55083
55087
|
d,
|
|
55084
55088
|
[
|
|
55085
|
-
|
|
55089
|
+
p,
|
|
55086
55090
|
$
|
|
55087
55091
|
],
|
|
55088
55092
|
[
|
|
55089
|
-
|
|
55093
|
+
f,
|
|
55090
55094
|
v
|
|
55091
55095
|
]
|
|
55092
55096
|
],
|
|
@@ -55096,11 +55100,11 @@
|
|
|
55096
55100
|
[
|
|
55097
55101
|
d,
|
|
55098
55102
|
[
|
|
55099
|
-
|
|
55103
|
+
p,
|
|
55100
55104
|
"Fairphone"
|
|
55101
55105
|
],
|
|
55102
55106
|
[
|
|
55103
|
-
|
|
55107
|
+
f,
|
|
55104
55108
|
b
|
|
55105
55109
|
]
|
|
55106
55110
|
],
|
|
@@ -55110,11 +55114,11 @@
|
|
|
55110
55114
|
[
|
|
55111
55115
|
d,
|
|
55112
55116
|
[
|
|
55113
|
-
|
|
55117
|
+
p,
|
|
55114
55118
|
"AT&T"
|
|
55115
55119
|
],
|
|
55116
55120
|
[
|
|
55117
|
-
|
|
55121
|
+
f,
|
|
55118
55122
|
b
|
|
55119
55123
|
]
|
|
55120
55124
|
],
|
|
@@ -55124,11 +55128,11 @@
|
|
|
55124
55128
|
[
|
|
55125
55129
|
d,
|
|
55126
55130
|
[
|
|
55127
|
-
|
|
55131
|
+
p,
|
|
55128
55132
|
"Siemens"
|
|
55129
55133
|
],
|
|
55130
55134
|
[
|
|
55131
|
-
|
|
55135
|
+
f,
|
|
55132
55136
|
b
|
|
55133
55137
|
]
|
|
55134
55138
|
],
|
|
@@ -55138,11 +55142,11 @@
|
|
|
55138
55142
|
[
|
|
55139
55143
|
d,
|
|
55140
55144
|
[
|
|
55141
|
-
|
|
55145
|
+
p,
|
|
55142
55146
|
"RCA"
|
|
55143
55147
|
],
|
|
55144
55148
|
[
|
|
55145
|
-
|
|
55149
|
+
f,
|
|
55146
55150
|
v
|
|
55147
55151
|
]
|
|
55148
55152
|
],
|
|
@@ -55152,11 +55156,11 @@
|
|
|
55152
55156
|
[
|
|
55153
55157
|
d,
|
|
55154
55158
|
[
|
|
55155
|
-
|
|
55159
|
+
p,
|
|
55156
55160
|
"Dell"
|
|
55157
55161
|
],
|
|
55158
55162
|
[
|
|
55159
|
-
|
|
55163
|
+
f,
|
|
55160
55164
|
v
|
|
55161
55165
|
]
|
|
55162
55166
|
],
|
|
@@ -55166,11 +55170,11 @@
|
|
|
55166
55170
|
[
|
|
55167
55171
|
d,
|
|
55168
55172
|
[
|
|
55169
|
-
|
|
55173
|
+
p,
|
|
55170
55174
|
"Verizon"
|
|
55171
55175
|
],
|
|
55172
55176
|
[
|
|
55173
|
-
|
|
55177
|
+
f,
|
|
55174
55178
|
v
|
|
55175
55179
|
]
|
|
55176
55180
|
],
|
|
@@ -55180,11 +55184,11 @@
|
|
|
55180
55184
|
[
|
|
55181
55185
|
d,
|
|
55182
55186
|
[
|
|
55183
|
-
|
|
55187
|
+
p,
|
|
55184
55188
|
"Barnes & Noble"
|
|
55185
55189
|
],
|
|
55186
55190
|
[
|
|
55187
|
-
|
|
55191
|
+
f,
|
|
55188
55192
|
v
|
|
55189
55193
|
]
|
|
55190
55194
|
],
|
|
@@ -55194,11 +55198,11 @@
|
|
|
55194
55198
|
[
|
|
55195
55199
|
d,
|
|
55196
55200
|
[
|
|
55197
|
-
|
|
55201
|
+
p,
|
|
55198
55202
|
"NuVision"
|
|
55199
55203
|
],
|
|
55200
55204
|
[
|
|
55201
|
-
|
|
55205
|
+
f,
|
|
55202
55206
|
v
|
|
55203
55207
|
]
|
|
55204
55208
|
],
|
|
@@ -55208,11 +55212,11 @@
|
|
|
55208
55212
|
[
|
|
55209
55213
|
d,
|
|
55210
55214
|
[
|
|
55211
|
-
|
|
55215
|
+
p,
|
|
55212
55216
|
"ZTE"
|
|
55213
55217
|
],
|
|
55214
55218
|
[
|
|
55215
|
-
|
|
55219
|
+
f,
|
|
55216
55220
|
v
|
|
55217
55221
|
]
|
|
55218
55222
|
],
|
|
@@ -55222,11 +55226,11 @@
|
|
|
55222
55226
|
[
|
|
55223
55227
|
d,
|
|
55224
55228
|
[
|
|
55225
|
-
|
|
55229
|
+
p,
|
|
55226
55230
|
"ZTE"
|
|
55227
55231
|
],
|
|
55228
55232
|
[
|
|
55229
|
-
|
|
55233
|
+
f,
|
|
55230
55234
|
b
|
|
55231
55235
|
]
|
|
55232
55236
|
],
|
|
@@ -55236,11 +55240,11 @@
|
|
|
55236
55240
|
[
|
|
55237
55241
|
d,
|
|
55238
55242
|
[
|
|
55239
|
-
|
|
55243
|
+
p,
|
|
55240
55244
|
"Swiss"
|
|
55241
55245
|
],
|
|
55242
55246
|
[
|
|
55243
|
-
|
|
55247
|
+
f,
|
|
55244
55248
|
b
|
|
55245
55249
|
]
|
|
55246
55250
|
],
|
|
@@ -55250,11 +55254,11 @@
|
|
|
55250
55254
|
[
|
|
55251
55255
|
d,
|
|
55252
55256
|
[
|
|
55253
|
-
|
|
55257
|
+
p,
|
|
55254
55258
|
"Swiss"
|
|
55255
55259
|
],
|
|
55256
55260
|
[
|
|
55257
|
-
|
|
55261
|
+
f,
|
|
55258
55262
|
v
|
|
55259
55263
|
]
|
|
55260
55264
|
],
|
|
@@ -55264,11 +55268,11 @@
|
|
|
55264
55268
|
[
|
|
55265
55269
|
d,
|
|
55266
55270
|
[
|
|
55267
|
-
|
|
55271
|
+
p,
|
|
55268
55272
|
"Zeki"
|
|
55269
55273
|
],
|
|
55270
55274
|
[
|
|
55271
|
-
|
|
55275
|
+
f,
|
|
55272
55276
|
v
|
|
55273
55277
|
]
|
|
55274
55278
|
],
|
|
@@ -55278,12 +55282,12 @@
|
|
|
55278
55282
|
],
|
|
55279
55283
|
[
|
|
55280
55284
|
[
|
|
55281
|
-
|
|
55285
|
+
p,
|
|
55282
55286
|
"Dragon Touch"
|
|
55283
55287
|
],
|
|
55284
55288
|
d,
|
|
55285
55289
|
[
|
|
55286
|
-
|
|
55290
|
+
f,
|
|
55287
55291
|
v
|
|
55288
55292
|
]
|
|
55289
55293
|
],
|
|
@@ -55293,11 +55297,11 @@
|
|
|
55293
55297
|
[
|
|
55294
55298
|
d,
|
|
55295
55299
|
[
|
|
55296
|
-
|
|
55300
|
+
p,
|
|
55297
55301
|
"Insignia"
|
|
55298
55302
|
],
|
|
55299
55303
|
[
|
|
55300
|
-
|
|
55304
|
+
f,
|
|
55301
55305
|
v
|
|
55302
55306
|
]
|
|
55303
55307
|
],
|
|
@@ -55307,11 +55311,11 @@
|
|
|
55307
55311
|
[
|
|
55308
55312
|
d,
|
|
55309
55313
|
[
|
|
55310
|
-
|
|
55314
|
+
p,
|
|
55311
55315
|
"NextBook"
|
|
55312
55316
|
],
|
|
55313
55317
|
[
|
|
55314
|
-
|
|
55318
|
+
f,
|
|
55315
55319
|
v
|
|
55316
55320
|
]
|
|
55317
55321
|
],
|
|
@@ -55320,12 +55324,12 @@
|
|
|
55320
55324
|
],
|
|
55321
55325
|
[
|
|
55322
55326
|
[
|
|
55323
|
-
|
|
55327
|
+
p,
|
|
55324
55328
|
"Voice"
|
|
55325
55329
|
],
|
|
55326
55330
|
d,
|
|
55327
55331
|
[
|
|
55328
|
-
|
|
55332
|
+
f,
|
|
55329
55333
|
b
|
|
55330
55334
|
]
|
|
55331
55335
|
],
|
|
@@ -55334,12 +55338,12 @@
|
|
|
55334
55338
|
],
|
|
55335
55339
|
[
|
|
55336
55340
|
[
|
|
55337
|
-
|
|
55341
|
+
p,
|
|
55338
55342
|
"LvTel"
|
|
55339
55343
|
],
|
|
55340
55344
|
d,
|
|
55341
55345
|
[
|
|
55342
|
-
|
|
55346
|
+
f,
|
|
55343
55347
|
b
|
|
55344
55348
|
]
|
|
55345
55349
|
],
|
|
@@ -55349,11 +55353,11 @@
|
|
|
55349
55353
|
[
|
|
55350
55354
|
d,
|
|
55351
55355
|
[
|
|
55352
|
-
|
|
55356
|
+
p,
|
|
55353
55357
|
"Essential"
|
|
55354
55358
|
],
|
|
55355
55359
|
[
|
|
55356
|
-
|
|
55360
|
+
f,
|
|
55357
55361
|
b
|
|
55358
55362
|
]
|
|
55359
55363
|
],
|
|
@@ -55363,11 +55367,11 @@
|
|
|
55363
55367
|
[
|
|
55364
55368
|
d,
|
|
55365
55369
|
[
|
|
55366
|
-
|
|
55370
|
+
p,
|
|
55367
55371
|
"Envizen"
|
|
55368
55372
|
],
|
|
55369
55373
|
[
|
|
55370
|
-
|
|
55374
|
+
f,
|
|
55371
55375
|
v
|
|
55372
55376
|
]
|
|
55373
55377
|
],
|
|
@@ -55377,11 +55381,11 @@
|
|
|
55377
55381
|
[
|
|
55378
55382
|
d,
|
|
55379
55383
|
[
|
|
55380
|
-
|
|
55384
|
+
p,
|
|
55381
55385
|
"MachSpeed"
|
|
55382
55386
|
],
|
|
55383
55387
|
[
|
|
55384
|
-
|
|
55388
|
+
f,
|
|
55385
55389
|
v
|
|
55386
55390
|
]
|
|
55387
55391
|
],
|
|
@@ -55391,11 +55395,11 @@
|
|
|
55391
55395
|
[
|
|
55392
55396
|
d,
|
|
55393
55397
|
[
|
|
55394
|
-
|
|
55398
|
+
p,
|
|
55395
55399
|
"Rotor"
|
|
55396
55400
|
],
|
|
55397
55401
|
[
|
|
55398
|
-
|
|
55402
|
+
f,
|
|
55399
55403
|
v
|
|
55400
55404
|
]
|
|
55401
55405
|
],
|
|
@@ -55405,11 +55409,11 @@
|
|
|
55405
55409
|
[
|
|
55406
55410
|
d,
|
|
55407
55411
|
[
|
|
55408
|
-
|
|
55412
|
+
p,
|
|
55409
55413
|
"Nvidia"
|
|
55410
55414
|
],
|
|
55411
55415
|
[
|
|
55412
|
-
|
|
55416
|
+
f,
|
|
55413
55417
|
v
|
|
55414
55418
|
]
|
|
55415
55419
|
],
|
|
@@ -55417,10 +55421,10 @@
|
|
|
55417
55421
|
/(sprint) (\w+)/i
|
|
55418
55422
|
],
|
|
55419
55423
|
[
|
|
55420
|
-
|
|
55424
|
+
p,
|
|
55421
55425
|
d,
|
|
55422
55426
|
[
|
|
55423
|
-
|
|
55427
|
+
f,
|
|
55424
55428
|
b
|
|
55425
55429
|
]
|
|
55426
55430
|
],
|
|
@@ -55434,11 +55438,11 @@
|
|
|
55434
55438
|
" "
|
|
55435
55439
|
],
|
|
55436
55440
|
[
|
|
55437
|
-
|
|
55441
|
+
p,
|
|
55438
55442
|
$
|
|
55439
55443
|
],
|
|
55440
55444
|
[
|
|
55441
|
-
|
|
55445
|
+
f,
|
|
55442
55446
|
b
|
|
55443
55447
|
]
|
|
55444
55448
|
],
|
|
@@ -55448,11 +55452,11 @@
|
|
|
55448
55452
|
[
|
|
55449
55453
|
d,
|
|
55450
55454
|
[
|
|
55451
|
-
|
|
55455
|
+
p,
|
|
55452
55456
|
L
|
|
55453
55457
|
],
|
|
55454
55458
|
[
|
|
55455
|
-
|
|
55459
|
+
f,
|
|
55456
55460
|
v
|
|
55457
55461
|
]
|
|
55458
55462
|
],
|
|
@@ -55462,11 +55466,11 @@
|
|
|
55462
55466
|
[
|
|
55463
55467
|
d,
|
|
55464
55468
|
[
|
|
55465
|
-
|
|
55469
|
+
p,
|
|
55466
55470
|
L
|
|
55467
55471
|
],
|
|
55468
55472
|
[
|
|
55469
|
-
|
|
55473
|
+
f,
|
|
55470
55474
|
b
|
|
55471
55475
|
]
|
|
55472
55476
|
],
|
|
@@ -55474,9 +55478,9 @@
|
|
|
55474
55478
|
/smart-tv.+(samsung)/i
|
|
55475
55479
|
],
|
|
55476
55480
|
[
|
|
55477
|
-
|
|
55481
|
+
p,
|
|
55478
55482
|
[
|
|
55479
|
-
|
|
55483
|
+
f,
|
|
55480
55484
|
w
|
|
55481
55485
|
]
|
|
55482
55486
|
],
|
|
@@ -55490,11 +55494,11 @@
|
|
|
55490
55494
|
"SmartTV"
|
|
55491
55495
|
],
|
|
55492
55496
|
[
|
|
55493
|
-
|
|
55497
|
+
p,
|
|
55494
55498
|
O
|
|
55495
55499
|
],
|
|
55496
55500
|
[
|
|
55497
|
-
|
|
55501
|
+
f,
|
|
55498
55502
|
w
|
|
55499
55503
|
]
|
|
55500
55504
|
],
|
|
@@ -55503,11 +55507,11 @@
|
|
|
55503
55507
|
],
|
|
55504
55508
|
[
|
|
55505
55509
|
[
|
|
55506
|
-
|
|
55510
|
+
p,
|
|
55507
55511
|
"LG"
|
|
55508
55512
|
],
|
|
55509
55513
|
[
|
|
55510
|
-
|
|
55514
|
+
f,
|
|
55511
55515
|
w
|
|
55512
55516
|
]
|
|
55513
55517
|
],
|
|
@@ -55515,13 +55519,13 @@
|
|
|
55515
55519
|
/(apple) ?tv/i
|
|
55516
55520
|
],
|
|
55517
55521
|
[
|
|
55518
|
-
|
|
55522
|
+
p,
|
|
55519
55523
|
[
|
|
55520
55524
|
d,
|
|
55521
55525
|
B + " TV"
|
|
55522
55526
|
],
|
|
55523
55527
|
[
|
|
55524
|
-
|
|
55528
|
+
f,
|
|
55525
55529
|
w
|
|
55526
55530
|
]
|
|
55527
55531
|
],
|
|
@@ -55534,11 +55538,11 @@
|
|
|
55534
55538
|
S + "cast"
|
|
55535
55539
|
],
|
|
55536
55540
|
[
|
|
55537
|
-
|
|
55541
|
+
p,
|
|
55538
55542
|
T
|
|
55539
55543
|
],
|
|
55540
55544
|
[
|
|
55541
|
-
|
|
55545
|
+
f,
|
|
55542
55546
|
w
|
|
55543
55547
|
]
|
|
55544
55548
|
],
|
|
@@ -55548,11 +55552,11 @@
|
|
|
55548
55552
|
[
|
|
55549
55553
|
d,
|
|
55550
55554
|
[
|
|
55551
|
-
|
|
55555
|
+
p,
|
|
55552
55556
|
C
|
|
55553
55557
|
],
|
|
55554
55558
|
[
|
|
55555
|
-
|
|
55559
|
+
f,
|
|
55556
55560
|
w
|
|
55557
55561
|
]
|
|
55558
55562
|
],
|
|
@@ -55563,11 +55567,11 @@
|
|
|
55563
55567
|
[
|
|
55564
55568
|
d,
|
|
55565
55569
|
[
|
|
55566
|
-
|
|
55570
|
+
p,
|
|
55567
55571
|
M
|
|
55568
55572
|
],
|
|
55569
55573
|
[
|
|
55570
|
-
|
|
55574
|
+
f,
|
|
55571
55575
|
w
|
|
55572
55576
|
]
|
|
55573
55577
|
],
|
|
@@ -55577,11 +55581,11 @@
|
|
|
55577
55581
|
[
|
|
55578
55582
|
d,
|
|
55579
55583
|
[
|
|
55580
|
-
|
|
55584
|
+
p,
|
|
55581
55585
|
A
|
|
55582
55586
|
],
|
|
55583
55587
|
[
|
|
55584
|
-
|
|
55588
|
+
f,
|
|
55585
55589
|
w
|
|
55586
55590
|
]
|
|
55587
55591
|
],
|
|
@@ -55591,11 +55595,11 @@
|
|
|
55591
55595
|
[
|
|
55592
55596
|
d,
|
|
55593
55597
|
[
|
|
55594
|
-
|
|
55598
|
+
p,
|
|
55595
55599
|
R
|
|
55596
55600
|
],
|
|
55597
55601
|
[
|
|
55598
|
-
|
|
55602
|
+
f,
|
|
55599
55603
|
w
|
|
55600
55604
|
]
|
|
55601
55605
|
],
|
|
@@ -55603,10 +55607,10 @@
|
|
|
55603
55607
|
/Hbbtv.*(technisat) (.*);/i
|
|
55604
55608
|
],
|
|
55605
55609
|
[
|
|
55606
|
-
|
|
55610
|
+
p,
|
|
55607
55611
|
d,
|
|
55608
55612
|
[
|
|
55609
|
-
|
|
55613
|
+
f,
|
|
55610
55614
|
w
|
|
55611
55615
|
]
|
|
55612
55616
|
],
|
|
@@ -55616,7 +55620,7 @@
|
|
|
55616
55620
|
],
|
|
55617
55621
|
[
|
|
55618
55622
|
[
|
|
55619
|
-
|
|
55623
|
+
p,
|
|
55620
55624
|
Q
|
|
55621
55625
|
],
|
|
55622
55626
|
[
|
|
@@ -55624,7 +55628,7 @@
|
|
|
55624
55628
|
Q
|
|
55625
55629
|
],
|
|
55626
55630
|
[
|
|
55627
|
-
|
|
55631
|
+
f,
|
|
55628
55632
|
w
|
|
55629
55633
|
]
|
|
55630
55634
|
],
|
|
@@ -55633,7 +55637,7 @@
|
|
|
55633
55637
|
],
|
|
55634
55638
|
[
|
|
55635
55639
|
[
|
|
55636
|
-
|
|
55640
|
+
f,
|
|
55637
55641
|
w
|
|
55638
55642
|
]
|
|
55639
55643
|
],
|
|
@@ -55642,10 +55646,10 @@
|
|
|
55642
55646
|
/(nintendo) ([wids3utch]+)/i
|
|
55643
55647
|
],
|
|
55644
55648
|
[
|
|
55645
|
-
|
|
55649
|
+
p,
|
|
55646
55650
|
d,
|
|
55647
55651
|
[
|
|
55648
|
-
|
|
55652
|
+
f,
|
|
55649
55653
|
g
|
|
55650
55654
|
]
|
|
55651
55655
|
],
|
|
@@ -55655,11 +55659,11 @@
|
|
|
55655
55659
|
[
|
|
55656
55660
|
d,
|
|
55657
55661
|
[
|
|
55658
|
-
|
|
55662
|
+
p,
|
|
55659
55663
|
"Nvidia"
|
|
55660
55664
|
],
|
|
55661
55665
|
[
|
|
55662
|
-
|
|
55666
|
+
f,
|
|
55663
55667
|
g
|
|
55664
55668
|
]
|
|
55665
55669
|
],
|
|
@@ -55669,11 +55673,11 @@
|
|
|
55669
55673
|
[
|
|
55670
55674
|
d,
|
|
55671
55675
|
[
|
|
55672
|
-
|
|
55676
|
+
p,
|
|
55673
55677
|
A
|
|
55674
55678
|
],
|
|
55675
55679
|
[
|
|
55676
|
-
|
|
55680
|
+
f,
|
|
55677
55681
|
g
|
|
55678
55682
|
]
|
|
55679
55683
|
],
|
|
@@ -55683,11 +55687,11 @@
|
|
|
55683
55687
|
[
|
|
55684
55688
|
d,
|
|
55685
55689
|
[
|
|
55686
|
-
|
|
55690
|
+
p,
|
|
55687
55691
|
$
|
|
55688
55692
|
],
|
|
55689
55693
|
[
|
|
55690
|
-
|
|
55694
|
+
f,
|
|
55691
55695
|
g
|
|
55692
55696
|
]
|
|
55693
55697
|
],
|
|
@@ -55695,10 +55699,10 @@
|
|
|
55695
55699
|
/((pebble))app/i
|
|
55696
55700
|
],
|
|
55697
55701
|
[
|
|
55698
|
-
|
|
55702
|
+
p,
|
|
55699
55703
|
d,
|
|
55700
55704
|
[
|
|
55701
|
-
|
|
55705
|
+
f,
|
|
55702
55706
|
k
|
|
55703
55707
|
]
|
|
55704
55708
|
],
|
|
@@ -55708,11 +55712,11 @@
|
|
|
55708
55712
|
[
|
|
55709
55713
|
d,
|
|
55710
55714
|
[
|
|
55711
|
-
|
|
55715
|
+
p,
|
|
55712
55716
|
B
|
|
55713
55717
|
],
|
|
55714
55718
|
[
|
|
55715
|
-
|
|
55719
|
+
f,
|
|
55716
55720
|
k
|
|
55717
55721
|
]
|
|
55718
55722
|
],
|
|
@@ -55722,11 +55726,11 @@
|
|
|
55722
55726
|
[
|
|
55723
55727
|
d,
|
|
55724
55728
|
[
|
|
55725
|
-
|
|
55729
|
+
p,
|
|
55726
55730
|
T
|
|
55727
55731
|
],
|
|
55728
55732
|
[
|
|
55729
|
-
|
|
55733
|
+
f,
|
|
55730
55734
|
k
|
|
55731
55735
|
]
|
|
55732
55736
|
],
|
|
@@ -55736,11 +55740,11 @@
|
|
|
55736
55740
|
[
|
|
55737
55741
|
d,
|
|
55738
55742
|
[
|
|
55739
|
-
|
|
55743
|
+
p,
|
|
55740
55744
|
L
|
|
55741
55745
|
],
|
|
55742
55746
|
[
|
|
55743
|
-
|
|
55747
|
+
f,
|
|
55744
55748
|
k
|
|
55745
55749
|
]
|
|
55746
55750
|
],
|
|
@@ -55750,11 +55754,11 @@
|
|
|
55750
55754
|
[
|
|
55751
55755
|
d,
|
|
55752
55756
|
[
|
|
55753
|
-
|
|
55757
|
+
p,
|
|
55754
55758
|
F
|
|
55755
55759
|
],
|
|
55756
55760
|
[
|
|
55757
|
-
|
|
55761
|
+
f,
|
|
55758
55762
|
k
|
|
55759
55763
|
]
|
|
55760
55764
|
],
|
|
@@ -55762,9 +55766,9 @@
|
|
|
55762
55766
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55763
55767
|
],
|
|
55764
55768
|
[
|
|
55765
|
-
|
|
55769
|
+
p,
|
|
55766
55770
|
[
|
|
55767
|
-
|
|
55771
|
+
f,
|
|
55768
55772
|
y
|
|
55769
55773
|
]
|
|
55770
55774
|
],
|
|
@@ -55774,11 +55778,11 @@
|
|
|
55774
55778
|
[
|
|
55775
55779
|
d,
|
|
55776
55780
|
[
|
|
55777
|
-
|
|
55781
|
+
p,
|
|
55778
55782
|
C
|
|
55779
55783
|
],
|
|
55780
55784
|
[
|
|
55781
|
-
|
|
55785
|
+
f,
|
|
55782
55786
|
y
|
|
55783
55787
|
]
|
|
55784
55788
|
],
|
|
@@ -55788,7 +55792,7 @@
|
|
|
55788
55792
|
[
|
|
55789
55793
|
d,
|
|
55790
55794
|
[
|
|
55791
|
-
|
|
55795
|
+
f,
|
|
55792
55796
|
b
|
|
55793
55797
|
]
|
|
55794
55798
|
],
|
|
@@ -55798,7 +55802,7 @@
|
|
|
55798
55802
|
[
|
|
55799
55803
|
d,
|
|
55800
55804
|
[
|
|
55801
|
-
|
|
55805
|
+
f,
|
|
55802
55806
|
v
|
|
55803
55807
|
]
|
|
55804
55808
|
],
|
|
@@ -55807,7 +55811,7 @@
|
|
|
55807
55811
|
],
|
|
55808
55812
|
[
|
|
55809
55813
|
[
|
|
55810
|
-
|
|
55814
|
+
f,
|
|
55811
55815
|
v
|
|
55812
55816
|
]
|
|
55813
55817
|
],
|
|
@@ -55816,7 +55820,7 @@
|
|
|
55816
55820
|
],
|
|
55817
55821
|
[
|
|
55818
55822
|
[
|
|
55819
|
-
|
|
55823
|
+
f,
|
|
55820
55824
|
b
|
|
55821
55825
|
]
|
|
55822
55826
|
],
|
|
@@ -55826,7 +55830,7 @@
|
|
|
55826
55830
|
[
|
|
55827
55831
|
d,
|
|
55828
55832
|
[
|
|
55829
|
-
|
|
55833
|
+
p,
|
|
55830
55834
|
"Generic"
|
|
55831
55835
|
]
|
|
55832
55836
|
]
|
|
@@ -56077,7 +56081,7 @@
|
|
|
56077
56081
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56078
56082
|
}, this.getDevice = function() {
|
|
56079
56083
|
var t = {};
|
|
56080
|
-
return t[
|
|
56084
|
+
return t[p] = void 0, t[d] = void 0, t[f] = void 0, X.call(t, g, k.device), y && !t[f] && w && w.mobile && (t[f] = b), y && "Macintosh" == t[d] && n && typeof n.standalone !== a && n.maxTouchPoints && n.maxTouchPoints > 2 && (t[d] = "iPad", t[f] = v), t;
|
|
56081
56085
|
}, this.getEngine = function() {
|
|
56082
56086
|
var t = {};
|
|
56083
56087
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56107,8 +56111,8 @@
|
|
|
56107
56111
|
m
|
|
56108
56112
|
]), K.DEVICE = W([
|
|
56109
56113
|
d,
|
|
56110
|
-
f,
|
|
56111
56114
|
p,
|
|
56115
|
+
f,
|
|
56112
56116
|
g,
|
|
56113
56117
|
b,
|
|
56114
56118
|
w,
|
|
@@ -56131,9 +56135,9 @@
|
|
|
56131
56135
|
};
|
|
56132
56136
|
}
|
|
56133
56137
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56134
|
-
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(),
|
|
56138
|
+
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
|
|
56135
56139
|
return i.setUA(t);
|
|
56136
|
-
},
|
|
56140
|
+
}, p = function(t) {
|
|
56137
56141
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56138
56142
|
var r = new n(t);
|
|
56139
56143
|
return {
|
|
@@ -56156,8 +56160,8 @@
|
|
|
56156
56160
|
engine: l,
|
|
56157
56161
|
os: d,
|
|
56158
56162
|
ua: u,
|
|
56159
|
-
setUa:
|
|
56160
|
-
parseUserAgent:
|
|
56163
|
+
setUa: f,
|
|
56164
|
+
parseUserAgent: p
|
|
56161
56165
|
});
|
|
56162
56166
|
function m(t, r) {
|
|
56163
56167
|
var o = Object.keys(t);
|
|
@@ -56376,9 +56380,9 @@
|
|
|
56376
56380
|
}, eu = function(t) {
|
|
56377
56381
|
var r = t.name;
|
|
56378
56382
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56379
|
-
}, ep = function(t) {
|
|
56380
|
-
return t.name === $.MIUI;
|
|
56381
56383
|
}, ef = function(t) {
|
|
56384
|
+
return t.name === $.MIUI;
|
|
56385
|
+
}, ep = function(t) {
|
|
56382
56386
|
return t.name === $.SamsungBrowser;
|
|
56383
56387
|
}, eh = function(t) {
|
|
56384
56388
|
return M(t.version);
|
|
@@ -56451,13 +56455,13 @@
|
|
|
56451
56455
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56452
56456
|
isWindows: K(i),
|
|
56453
56457
|
isMacOs: Y(i),
|
|
56454
|
-
isMIUI:
|
|
56455
|
-
isSamsungBrowser:
|
|
56458
|
+
isMIUI: ef(n),
|
|
56459
|
+
isSamsungBrowser: ep(n)
|
|
56456
56460
|
};
|
|
56457
56461
|
}
|
|
56458
|
-
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn =
|
|
56462
|
+
var eS = V(c), eE = q(c), eT = U(c), eD = Q(c), e$ = el(a) || eC(), ej = ei(a), eI = z(c) || eC(), eO = F(c), eM = N(c) || eC(), eA = W(c), eR = W(c), eL = Z(d), eF = J(d), eN = ee(d) || eC(), ez = eo(a), eV = en(a), eW = ec(a), eU = ed(a), eq = eu(a), eQ = et(d), eX = er(d), eH = eh(a), eG = em(a), eZ = eg(a), eK = X(c), eY = H(c), eJ = eb(l), e3 = ev(l), e2 = ex(u), e5 = ea(a) || ek(u), e0 = es(a), e1 = G(c), e8 = ey(), e9 = eC(), e4 = eB(), e7 = e_(), e6 = ew(), te = ek(u), tt = ea(a) && !ek(u), tr = K(d), to = Y(d), tn = ef(a), ti = ep(a);
|
|
56459
56463
|
function ta(t) {
|
|
56460
|
-
return
|
|
56464
|
+
return p(t || window.navigator.userAgent);
|
|
56461
56465
|
}
|
|
56462
56466
|
return nP.AndroidView = function(r) {
|
|
56463
56467
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56541,7 +56545,7 @@
|
|
|
56541
56545
|
]);
|
|
56542
56546
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56543
56547
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56544
|
-
var r, o, n, i, a, s, c, l, d, u,
|
|
56548
|
+
var r, o, n, i, a, s, c, l, d, u, f, m, g, b, v, w, k, y, C, B, _, x, P = t ? p(t) : h, S = P.device, E = P.browser, T = P.engine, D = P.os, $ = P.ua, j = O(S.type), I = j.isBrowser, A = j.isMobile, R = j.isTablet, F = j.isSmartTV, N = j.isConsole, z = j.isWearable, V = j.isEmbedded;
|
|
56545
56549
|
if (I) {
|
|
56546
56550
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56547
56551
|
isBrowser: r,
|
|
@@ -56566,10 +56570,10 @@
|
|
|
56566
56570
|
};
|
|
56567
56571
|
}
|
|
56568
56572
|
if (N) {
|
|
56569
|
-
return u = N,
|
|
56573
|
+
return u = N, f = T, m = D, g = $, {
|
|
56570
56574
|
isConsole: u,
|
|
56571
|
-
engineName: M(
|
|
56572
|
-
engineVersion: M(
|
|
56575
|
+
engineName: M(f.name),
|
|
56576
|
+
engineVersion: M(f.version),
|
|
56573
56577
|
osName: M(m.name),
|
|
56574
56578
|
osVersion: M(m.version),
|
|
56575
56579
|
userAgent: M(g)
|
|
@@ -56600,7 +56604,7 @@
|
|
|
56600
56604
|
}
|
|
56601
56605
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56602
56606
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56603
|
-
var r =
|
|
56607
|
+
var r = p(t);
|
|
56604
56608
|
return eP({
|
|
56605
56609
|
device: r.device,
|
|
56606
56610
|
browser: r.browser,
|
|
@@ -56608,8 +56612,8 @@
|
|
|
56608
56612
|
engine: r.engine,
|
|
56609
56613
|
ua: r.ua
|
|
56610
56614
|
});
|
|
56611
|
-
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent =
|
|
56612
|
-
return
|
|
56615
|
+
}, nP.getUA = e2, nP.isAndroid = eL, nP.isBrowser = eA, nP.isChrome = ez, nP.isChromium = ej, nP.isConsole = eE, nP.isDesktop = eR, nP.isEdge = e5, nP.isEdgeChromium = te, nP.isElectron = e6, nP.isEmbedded = eD, nP.isFirefox = eV, nP.isIE = eq, nP.isIOS = eN, nP.isIOS13 = e8, nP.isIPad13 = e9, nP.isIPhone13 = e4, nP.isIPod13 = e7, nP.isLegacyEdge = tt, nP.isMIUI = tn, nP.isMacOs = to, nP.isMobile = eI, nP.isMobileOnly = eO, nP.isMobileSafari = e$, nP.isOpera = eU, nP.isSafari = eW, nP.isSamsungBrowser = ti, nP.isSmartTV = eS, nP.isTablet = eM, nP.isWearable = eT, nP.isWinPhone = eF, nP.isWindows = tr, nP.isYandex = e0, nP.mobileModel = eY, nP.mobileVendor = eK, nP.osName = eX, nP.osVersion = eQ, nP.parseUserAgent = p, nP.setUserAgent = function(t) {
|
|
56616
|
+
return f(t);
|
|
56613
56617
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56614
56618
|
var r = ta(t || window.navigator.userAgent);
|
|
56615
56619
|
return [
|
|
@@ -56815,7 +56819,7 @@
|
|
|
56815
56819
|
var nM = oX(function() {
|
|
56816
56820
|
if (tW) return tV;
|
|
56817
56821
|
tW = 1;
|
|
56818
|
-
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max,
|
|
56822
|
+
var t = 0 / 0, r = /^\s+|\s+$/g, o = /^[-+]0x[0-9a-f]+$/i, n = /^0b[01]+$/i, i = /^0o[0-7]+$/i, a = parseInt, s = "object" == typeof oQ && oQ && oQ.Object === Object && oQ, c = "object" == typeof self && self && self.Object === Object && self, l = s || c || Function("return this")(), d = Object.prototype.toString, u = Math.max, f = Math.min, p = function() {
|
|
56819
56823
|
return l.Date.now();
|
|
56820
56824
|
};
|
|
56821
56825
|
function h(t) {
|
|
@@ -56831,8 +56835,8 @@
|
|
|
56831
56835
|
}
|
|
56832
56836
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56833
56837
|
s = s.replace(r, "");
|
|
56834
|
-
var
|
|
56835
|
-
return
|
|
56838
|
+
var f = n.test(s);
|
|
56839
|
+
return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
|
|
56836
56840
|
}
|
|
56837
56841
|
return tV = function(t, r, o) {
|
|
56838
56842
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56847,15 +56851,15 @@
|
|
|
56847
56851
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56848
56852
|
}
|
|
56849
56853
|
function y() {
|
|
56850
|
-
var t, o, n, i, s =
|
|
56854
|
+
var t, o, n, i, s = p();
|
|
56851
56855
|
if (k(s)) return C(s);
|
|
56852
|
-
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ?
|
|
56856
|
+
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
|
|
56853
56857
|
}
|
|
56854
56858
|
function C(t) {
|
|
56855
56859
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56856
56860
|
}
|
|
56857
56861
|
function B() {
|
|
56858
|
-
var t, o =
|
|
56862
|
+
var t, o = p(), a = k(o);
|
|
56859
56863
|
if (n = arguments, i = this, l = o, a) {
|
|
56860
56864
|
if (void 0 === c) {
|
|
56861
56865
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56867,7 +56871,7 @@
|
|
|
56867
56871
|
return B.cancel = function() {
|
|
56868
56872
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56869
56873
|
}, B.flush = function() {
|
|
56870
|
-
return void 0 === c ? s : C(
|
|
56874
|
+
return void 0 === c ? s : C(p());
|
|
56871
56875
|
}, B;
|
|
56872
56876
|
};
|
|
56873
56877
|
}()), nA = {
|
|
@@ -56878,11 +56882,11 @@
|
|
|
56878
56882
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56879
56883
|
if (tU) return nR;
|
|
56880
56884
|
tU = 1;
|
|
56881
|
-
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112,
|
|
56885
|
+
var t = "function" == typeof Symbol && Symbol.for, r = t ? Symbol.for("react.element") : 60103, o = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, i = t ? Symbol.for("react.strict_mode") : 60108, a = t ? Symbol.for("react.profiler") : 60114, s = t ? Symbol.for("react.provider") : 60109, c = t ? Symbol.for("react.context") : 60110, l = t ? Symbol.for("react.async_mode") : 60111, d = t ? Symbol.for("react.concurrent_mode") : 60111, u = t ? Symbol.for("react.forward_ref") : 60112, f = t ? Symbol.for("react.suspense") : 60113, p = t ? Symbol.for("react.suspense_list") : 60120, h = t ? Symbol.for("react.memo") : 60115, m = t ? Symbol.for("react.lazy") : 60116, g = t ? Symbol.for("react.block") : 60121, b = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
56882
56886
|
function k(t) {
|
|
56883
56887
|
if ("object" == typeof t && null !== t) {
|
|
56884
|
-
var
|
|
56885
|
-
switch(
|
|
56888
|
+
var p = t.$$typeof;
|
|
56889
|
+
switch(p){
|
|
56886
56890
|
case r:
|
|
56887
56891
|
switch(t = t.type){
|
|
56888
56892
|
case l:
|
|
@@ -56890,7 +56894,7 @@
|
|
|
56890
56894
|
case n:
|
|
56891
56895
|
case a:
|
|
56892
56896
|
case i:
|
|
56893
|
-
case
|
|
56897
|
+
case f:
|
|
56894
56898
|
return t;
|
|
56895
56899
|
default:
|
|
56896
56900
|
switch(t = t && t.$$typeof){
|
|
@@ -56901,18 +56905,18 @@
|
|
|
56901
56905
|
case s:
|
|
56902
56906
|
return t;
|
|
56903
56907
|
default:
|
|
56904
|
-
return
|
|
56908
|
+
return p;
|
|
56905
56909
|
}
|
|
56906
56910
|
}
|
|
56907
56911
|
case o:
|
|
56908
|
-
return
|
|
56912
|
+
return p;
|
|
56909
56913
|
}
|
|
56910
56914
|
}
|
|
56911
56915
|
}
|
|
56912
56916
|
function y(t) {
|
|
56913
56917
|
return k(t) === d;
|
|
56914
56918
|
}
|
|
56915
|
-
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense =
|
|
56919
|
+
return nR.AsyncMode = l, nR.ConcurrentMode = d, nR.ContextConsumer = c, nR.ContextProvider = s, nR.Element = r, nR.ForwardRef = u, nR.Fragment = n, nR.Lazy = m, nR.Memo = h, nR.Portal = o, nR.Profiler = a, nR.StrictMode = i, nR.Suspense = f, nR.isAsyncMode = function(t) {
|
|
56916
56920
|
return y(t) || k(t) === l;
|
|
56917
56921
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56918
56922
|
return k(t) === c;
|
|
@@ -56935,9 +56939,9 @@
|
|
|
56935
56939
|
}, nR.isStrictMode = function(t) {
|
|
56936
56940
|
return k(t) === i;
|
|
56937
56941
|
}, nR.isSuspense = function(t) {
|
|
56938
|
-
return k(t) ===
|
|
56942
|
+
return k(t) === f;
|
|
56939
56943
|
}, nR.isValidElementType = function(t) {
|
|
56940
|
-
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t ===
|
|
56944
|
+
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t === f || t === p || "object" == typeof t && null !== t && (t.$$typeof === m || t.$$typeof === h || t.$$typeof === s || t.$$typeof === c || t.$$typeof === u || t.$$typeof === b || t.$$typeof === v || t.$$typeof === w || t.$$typeof === g);
|
|
56941
56945
|
}, nR.typeOf = k, nR;
|
|
56942
56946
|
}(), nA.exports), r = {
|
|
56943
56947
|
childContextTypes: !0,
|
|
@@ -56977,12 +56981,12 @@
|
|
|
56977
56981
|
displayName: !0,
|
|
56978
56982
|
propTypes: !0
|
|
56979
56983
|
}, i[t.Memo] = n;
|
|
56980
|
-
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf,
|
|
56984
|
+
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
|
|
56981
56985
|
return tQ = function t(r, n, i) {
|
|
56982
56986
|
if ("string" != typeof n) {
|
|
56983
|
-
if (
|
|
56984
|
-
var
|
|
56985
|
-
|
|
56987
|
+
if (f) {
|
|
56988
|
+
var p = u(n);
|
|
56989
|
+
p && p !== f && t(r, p, i);
|
|
56986
56990
|
}
|
|
56987
56991
|
var h = c(n);
|
|
56988
56992
|
l && (h = h.concat(l(n)));
|
|
@@ -57139,7 +57143,7 @@
|
|
|
57139
57143
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57140
57144
|
}, [
|
|
57141
57145
|
c
|
|
57142
|
-
]),
|
|
57146
|
+
]), f = reactExports.useCallback(async ()=>{
|
|
57143
57147
|
if (c && c.isSupported()) try {
|
|
57144
57148
|
await c.turnOff(), d.current = !1;
|
|
57145
57149
|
} catch (t) {
|
|
@@ -57147,15 +57151,15 @@
|
|
|
57147
57151
|
}
|
|
57148
57152
|
}, [
|
|
57149
57153
|
c
|
|
57150
|
-
]),
|
|
57154
|
+
]), p = React.useMemo(()=>({
|
|
57151
57155
|
turnOnFlashlight: u,
|
|
57152
|
-
turnOffFlashlight:
|
|
57156
|
+
turnOffFlashlight: f
|
|
57153
57157
|
}), [
|
|
57154
57158
|
u,
|
|
57155
|
-
|
|
57159
|
+
f
|
|
57156
57160
|
]);
|
|
57157
57161
|
return oZ.jsx(nU.Provider, {
|
|
57158
|
-
value:
|
|
57162
|
+
value: p,
|
|
57159
57163
|
children: s
|
|
57160
57164
|
});
|
|
57161
57165
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57201,7 +57205,7 @@
|
|
|
57201
57205
|
`;
|
|
57202
57206
|
function nJ(r) {
|
|
57203
57207
|
var s, c;
|
|
57204
|
-
let l, { checkCameraMode: d, frontCamera: u, onClose:
|
|
57208
|
+
let l, { checkCameraMode: d, frontCamera: u, onClose: f, children: p, onVideoPlayed: w, flipHorizontal: k, videoSettings: y, refVideo: C, onError: B, closeButton: _, videoClassName: x, scale: P, defaultCameraId: S, onWarning: E } = r, T = reactExports.useRef(), { lang: D } = no$1.useSDKSettings(), { sendEvent: $ } = iN$1.useSDKTracking(), j = nz("closeButton.src", "ic_close.svg"), [I, O] = reactExports.useState(""), M = reactExports.useRef(!1), A = reactExports.useRef(!1), R = reactExports.useRef(!1), L = reactExports.useRef(), F = reactExports.useRef([]), N = reactExports.useRef(""), z = gB(), V = reactExports.useCallback((t)=>{
|
|
57205
57209
|
B && B(t);
|
|
57206
57210
|
}, [
|
|
57207
57211
|
B
|
|
@@ -57277,8 +57281,8 @@
|
|
|
57277
57281
|
},
|
|
57278
57282
|
...o
|
|
57279
57283
|
}
|
|
57280
|
-
},
|
|
57281
|
-
if (await U(), q(), !
|
|
57284
|
+
}, f = await navigator.mediaDevices.getUserMedia(n);
|
|
57285
|
+
if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
|
|
57282
57286
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57283
57287
|
tag: "cam_permission",
|
|
57284
57288
|
event: "user_activity.cam",
|
|
@@ -57291,13 +57295,13 @@
|
|
|
57291
57295
|
log: {}
|
|
57292
57296
|
});
|
|
57293
57297
|
try {
|
|
57294
|
-
let t =
|
|
57295
|
-
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof
|
|
57296
|
-
let t =
|
|
57298
|
+
let t = f.getVideoTracks()[0].getSettings();
|
|
57299
|
+
if (h7.addExifData("device_info.camera_label_dimension.got", `${t.width}x${t.height}`), h7.addExifData("camera_res_selected", `${t.width}x${t.height}`), "function" == typeof f.getVideoTracks()[0].getCapabilities) {
|
|
57300
|
+
let t = f.getVideoTracks()[0].getCapabilities();
|
|
57297
57301
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57298
57302
|
}
|
|
57299
57303
|
} catch (t) {}
|
|
57300
|
-
return
|
|
57304
|
+
return f;
|
|
57301
57305
|
} catch (t) {
|
|
57302
57306
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57303
57307
|
tag: "cam_permission",
|
|
@@ -57389,7 +57393,7 @@
|
|
|
57389
57393
|
if (M.current) return ()=>{};
|
|
57390
57394
|
if (!navigator.mediaDevices || nT.browserName && [
|
|
57391
57395
|
"facebook"
|
|
57392
|
-
].includes(nT.browserName.toLowerCase())
|
|
57396
|
+
].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
|
|
57393
57397
|
else if (o) {
|
|
57394
57398
|
if (S) return X(S), ()=>{};
|
|
57395
57399
|
nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
|
|
@@ -57408,13 +57412,13 @@
|
|
|
57408
57412
|
z
|
|
57409
57413
|
]);
|
|
57410
57414
|
let H = reactExports.useCallback(()=>{
|
|
57411
|
-
W(),
|
|
57415
|
+
W(), f && f(), $({
|
|
57412
57416
|
tag: "result",
|
|
57413
57417
|
event: "user_activity.cancel",
|
|
57414
57418
|
log: {}
|
|
57415
57419
|
});
|
|
57416
57420
|
}, [
|
|
57417
|
-
|
|
57421
|
+
f,
|
|
57418
57422
|
W,
|
|
57419
57423
|
$
|
|
57420
57424
|
]);
|
|
@@ -57477,7 +57481,7 @@
|
|
|
57477
57481
|
className: x,
|
|
57478
57482
|
scale: P
|
|
57479
57483
|
}),
|
|
57480
|
-
|
|
57484
|
+
p,
|
|
57481
57485
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57482
57486
|
onClick: H,
|
|
57483
57487
|
"data-testid": "close-camera"
|
|
@@ -57677,32 +57681,32 @@
|
|
|
57677
57681
|
"left center",
|
|
57678
57682
|
"left bottom"
|
|
57679
57683
|
], io = function(t, r, o, n, i) {
|
|
57680
|
-
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2,
|
|
57684
|
+
var a = i.offsetX, s = i.offsetY, c = 8 * !!n, l = o.split(" "), d = t.top + t.height / 2, u = t.left + t.width / 2, f = r.height, p = r.width, h = d - f / 2, m = u - p / 2, g = "", b = "0%", v = "0%";
|
|
57681
57685
|
switch(l[0]){
|
|
57682
57686
|
case "top":
|
|
57683
|
-
h -=
|
|
57687
|
+
h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57684
57688
|
break;
|
|
57685
57689
|
case "bottom":
|
|
57686
|
-
h +=
|
|
57690
|
+
h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57687
57691
|
break;
|
|
57688
57692
|
case "left":
|
|
57689
|
-
m -=
|
|
57693
|
+
m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57690
57694
|
break;
|
|
57691
57695
|
case "right":
|
|
57692
|
-
m +=
|
|
57696
|
+
m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57693
57697
|
}
|
|
57694
57698
|
switch(l[1]){
|
|
57695
57699
|
case "top":
|
|
57696
57700
|
h = t.top, b = t.height / 2 + "px";
|
|
57697
57701
|
break;
|
|
57698
57702
|
case "bottom":
|
|
57699
|
-
h = t.top -
|
|
57703
|
+
h = t.top - f + t.height, b = f - t.height / 2 + "px";
|
|
57700
57704
|
break;
|
|
57701
57705
|
case "left":
|
|
57702
57706
|
m = t.left, v = t.width / 2 + "px";
|
|
57703
57707
|
break;
|
|
57704
57708
|
case "right":
|
|
57705
|
-
m = t.left -
|
|
57709
|
+
m = t.left - p + t.width, v = p - t.width / 2 + "px";
|
|
57706
57710
|
}
|
|
57707
57711
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57708
57712
|
top: h,
|
|
@@ -57730,12 +57734,12 @@
|
|
|
57730
57734
|
left: 0,
|
|
57731
57735
|
top: 0,
|
|
57732
57736
|
transform: "rotate(135deg)"
|
|
57733
|
-
}, d = 0, u = ii(a),
|
|
57737
|
+
}, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
|
|
57734
57738
|
o
|
|
57735
57739
|
];
|
|
57736
|
-
for((a || Array.isArray(o)) && (
|
|
57737
|
-
var
|
|
57738
|
-
top: (l = io(t, r,
|
|
57740
|
+
for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
|
|
57741
|
+
var p = {
|
|
57742
|
+
top: (l = io(t, r, f[d], n, {
|
|
57739
57743
|
offsetX: s,
|
|
57740
57744
|
offsetY: c
|
|
57741
57745
|
})).top,
|
|
@@ -57743,7 +57747,7 @@
|
|
|
57743
57747
|
width: r.width,
|
|
57744
57748
|
height: r.height
|
|
57745
57749
|
};
|
|
57746
|
-
if (
|
|
57750
|
+
if (p.top <= u.top || p.left <= u.left || p.top + p.height >= u.top + u.height || p.left + p.width >= u.left + u.width) d++;
|
|
57747
57751
|
else break;
|
|
57748
57752
|
}
|
|
57749
57753
|
return l;
|
|
@@ -57751,7 +57755,7 @@
|
|
|
57751
57755
|
var t = document.getElementById("popup-root");
|
|
57752
57756
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57753
57757
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57754
|
-
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l,
|
|
57758
|
+
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l, f = r.onClose, p = void 0 === f ? function() {} : f, h = r.defaultOpen, m = r.open, g = void 0 === m ? void 0 : m, b = r.disabled, v = void 0 !== b && b, w = r.nested, k = void 0 !== w && w, y = r.closeOnDocumentClick, C = void 0 === y || y, B = r.repositionOnResize, _ = r.closeOnEscape, x = r.on, P = void 0 === x ? [
|
|
57755
57759
|
"click"
|
|
57756
57760
|
] : x, S = r.contentStyle, E = void 0 === S ? {} : S, T = r.arrowStyle, D = void 0 === T ? {} : T, $ = r.overlayStyle, j = r.className, I = void 0 === j ? "" : j, O = r.position, M = void 0 === O ? "bottom center" : O, A = r.modal, R = void 0 !== A && A, L = r.lockScroll, F = void 0 !== L && L, N = r.arrow, z = void 0 === N || N, V = r.offsetX, W = void 0 === V ? 0 : V, U = r.offsetY, q = void 0 === U ? 0 : U, Q = r.mouseEnterDelay, X = void 0 === Q ? 100 : Q, H = r.mouseLeaveDelay, Z = void 0 === H ? 100 : H, K = r.keepTooltipInside, Y = void 0 !== K && K, J = r.children, ee = reactExports.useState(g || void 0 !== h && h), et = ee[0], er = ee[1], eo = reactExports.useRef(null), en = reactExports.useRef(null), ei = reactExports.useRef(null), ea = reactExports.useRef(null), es = reactExports.useRef("popup-" + ++is), ec = !!R || !c, el = reactExports.useRef(0);
|
|
57757
57761
|
n7(function() {
|
|
@@ -57773,16 +57777,16 @@
|
|
|
57773
57777
|
}, eu = function(t) {
|
|
57774
57778
|
var r;
|
|
57775
57779
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57776
|
-
return
|
|
57780
|
+
return p(t);
|
|
57777
57781
|
}, 0));
|
|
57778
|
-
}, ep = function(t) {
|
|
57779
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57780
57782
|
}, ef = function(t) {
|
|
57783
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57784
|
+
}, ep = function(t) {
|
|
57781
57785
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57782
57786
|
return ed(t);
|
|
57783
57787
|
}, X);
|
|
57784
57788
|
}, eh = function(t) {
|
|
57785
|
-
null == t || t.preventDefault(),
|
|
57789
|
+
null == t || t.preventDefault(), ef();
|
|
57786
57790
|
}, em = function(t) {
|
|
57787
57791
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57788
57792
|
return eu(t);
|
|
@@ -57804,7 +57808,7 @@
|
|
|
57804
57808
|
eu();
|
|
57805
57809
|
},
|
|
57806
57810
|
toggle: function() {
|
|
57807
|
-
|
|
57811
|
+
ef();
|
|
57808
57812
|
}
|
|
57809
57813
|
};
|
|
57810
57814
|
});
|
|
@@ -57838,7 +57842,7 @@
|
|
|
57838
57842
|
t.stopPropagation();
|
|
57839
57843
|
}
|
|
57840
57844
|
};
|
|
57841
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57845
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
|
|
57842
57846
|
}, ey = function() {
|
|
57843
57847
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57844
57848
|
key: "C",
|
|
@@ -57885,16 +57889,16 @@
|
|
|
57885
57889
|
P
|
|
57886
57890
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57887
57891
|
case "click":
|
|
57888
|
-
r.onClick =
|
|
57892
|
+
r.onClick = ef;
|
|
57889
57893
|
break;
|
|
57890
57894
|
case "right-click":
|
|
57891
57895
|
r.onContextMenu = eh;
|
|
57892
57896
|
break;
|
|
57893
57897
|
case "hover":
|
|
57894
|
-
r.onMouseEnter =
|
|
57898
|
+
r.onMouseEnter = ep, r.onMouseLeave = em;
|
|
57895
57899
|
break;
|
|
57896
57900
|
case "focus":
|
|
57897
|
-
r.onFocus =
|
|
57901
|
+
r.onFocus = ep, r.onBlur = em;
|
|
57898
57902
|
}
|
|
57899
57903
|
if ("function" == typeof c) {
|
|
57900
57904
|
var a = c(et);
|
|
@@ -58161,7 +58165,7 @@
|
|
|
58161
58165
|
}
|
|
58162
58166
|
}, im = "default", ig = "error";
|
|
58163
58167
|
function ib({ className: t, width: r, height: o, type: n, strokeStyles: i, strokeWidth: a, radius: s, paddingStyle: c, defaultRectStyles: l, errorRectStyles: d, paddingCornerMultiplier: u = 1.5 }) {
|
|
58164
|
-
let
|
|
58168
|
+
let p = reactExports.useMemo(()=>({
|
|
58165
58169
|
[im]: l,
|
|
58166
58170
|
[ig]: d,
|
|
58167
58171
|
...i
|
|
@@ -58169,7 +58173,7 @@
|
|
|
58169
58173
|
l,
|
|
58170
58174
|
d,
|
|
58171
58175
|
i
|
|
58172
|
-
]), h = s + a * u, m =
|
|
58176
|
+
]), h = s + a * u, m = p[n];
|
|
58173
58177
|
return oZ.jsxs("svg", {
|
|
58174
58178
|
width: r,
|
|
58175
58179
|
height: o,
|
|
@@ -58388,8 +58392,8 @@
|
|
|
58388
58392
|
if (o && !a || !o && !s) return null;
|
|
58389
58393
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58390
58394
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58391
|
-
let
|
|
58392
|
-
|
|
58395
|
+
let f = d.getContext("2d"), p = u.getContext("2d");
|
|
58396
|
+
f.drawImage(r, 0, 0, c / 2, l, 0, 0, c / 2, l), p.drawImage(r, c / 2, 0, c / 2, l, 0, 0, c / 2, l);
|
|
58393
58397
|
let [h, m] = await Promise.all([
|
|
58394
58398
|
fb.getModelPredictions({
|
|
58395
58399
|
model: t,
|
|
@@ -58430,13 +58434,13 @@
|
|
|
58430
58434
|
return i;
|
|
58431
58435
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58432
58436
|
if (null === t) return !0;
|
|
58433
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58434
|
-
return (!c || !(
|
|
58437
|
+
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
|
|
58438
|
+
return (!c || !(f < s) && !(p < a)) && (Math.abs(f - d) > Number.EPSILON ? f > d : Math.abs(p - u) > Number.EPSILON ? p > u : !!(l && Math.abs(n - o) > Number.EPSILON) && n > o);
|
|
58435
58439
|
};
|
|
58436
58440
|
function iW(t, r, o, n, i) {
|
|
58437
58441
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58438
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58439
|
-
o.strokeRect(l, d, u - l,
|
|
58442
|
+
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n, f = (c + i.y) * n;
|
|
58443
|
+
o.strokeRect(l, d, u - l, f - d);
|
|
58440
58444
|
}));
|
|
58441
58445
|
}
|
|
58442
58446
|
function iU(t) {
|
|
@@ -59242,14 +59246,14 @@
|
|
|
59242
59246
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59243
59247
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59244
59248
|
this._lastFrameTime = 0;
|
|
59245
|
-
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i,
|
|
59249
|
+
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
|
|
59246
59250
|
if (this._stopDrawing) {
|
|
59247
59251
|
this._animationFrameId = null;
|
|
59248
59252
|
return;
|
|
59249
59253
|
}
|
|
59250
|
-
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(
|
|
59254
|
+
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
|
|
59251
59255
|
};
|
|
59252
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59256
|
+
this._animationFrameId = requestAnimationFrame(f);
|
|
59253
59257
|
}
|
|
59254
59258
|
stopDrawing() {
|
|
59255
59259
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59259,10 +59263,10 @@
|
|
|
59259
59263
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59260
59264
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59261
59265
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59262
|
-
let
|
|
59263
|
-
|
|
59264
|
-
let
|
|
59265
|
-
if (!
|
|
59266
|
+
let f = document.createElement("canvas");
|
|
59267
|
+
f.width = n, f.height = i;
|
|
59268
|
+
let p = f.getContext("2d");
|
|
59269
|
+
if (!p) return console.error("Could not get canvas context."), {
|
|
59266
59270
|
mediaRecorder: null
|
|
59267
59271
|
};
|
|
59268
59272
|
try {
|
|
@@ -59270,7 +59274,7 @@
|
|
|
59270
59274
|
mimeType: "video/webm",
|
|
59271
59275
|
videoBitsPerSecond: c
|
|
59272
59276
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59273
|
-
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(
|
|
59277
|
+
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(p, t, n, n / u, d, r), this._stream = f.captureStream(), o = {
|
|
59274
59278
|
mimeType: i,
|
|
59275
59279
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59276
59280
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59325,7 +59329,7 @@
|
|
|
59325
59329
|
}
|
|
59326
59330
|
}, [
|
|
59327
59331
|
i
|
|
59328
|
-
]),
|
|
59332
|
+
]), p = reactExports.useCallback(()=>{
|
|
59329
59333
|
if (s.current && r.current) try {
|
|
59330
59334
|
s.current.discardRecording(), r.current = !1;
|
|
59331
59335
|
} catch (t) {
|
|
@@ -59334,19 +59338,19 @@
|
|
|
59334
59338
|
}, []);
|
|
59335
59339
|
return reactExports.useEffect(()=>{
|
|
59336
59340
|
let t = ()=>{
|
|
59337
|
-
"hidden" === document.visibilityState ?
|
|
59341
|
+
"hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59338
59342
|
};
|
|
59339
59343
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59340
59344
|
document.removeEventListener("visibilitychange", t);
|
|
59341
59345
|
};
|
|
59342
59346
|
}, [
|
|
59343
59347
|
l,
|
|
59344
|
-
|
|
59348
|
+
p
|
|
59345
59349
|
]), {
|
|
59346
59350
|
startRecording: l,
|
|
59347
59351
|
stopRecording: d,
|
|
59348
59352
|
resetRecording: u,
|
|
59349
|
-
discardRecording:
|
|
59353
|
+
discardRecording: p
|
|
59350
59354
|
};
|
|
59351
59355
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59352
59356
|
imageBlob: null,
|
|
@@ -59559,22 +59563,22 @@
|
|
|
59559
59563
|
});
|
|
59560
59564
|
}
|
|
59561
59565
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59562
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo:
|
|
59566
|
+
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo: p, frontSide: k, allowedCardTypes: y, settings: C, onCaptureDone: B, onUISpacingChange: x, outputEncryptionSettings: S, isShowingSpinner: E } = t, T = nt$2(), [D, F] = reactExports.useState({}), { yMessage: N, yCaptureButton: z, yToggleButton: V, yInstruction: U, yCountdown: q } = D, Q = nz("IDCapturing.captureIcon.src", "ic_camera.svg"), X = nz("IDCapturing.captureIcon.disabled.src", "ic_camera.svg"), H = nN("IDCapturing.countdown.color")({
|
|
59563
59567
|
theme: T
|
|
59564
|
-
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}),
|
|
59568
|
+
}), G = nz("IDCapturing.loadingIcon.src", "ic_loading.gif"), [Z, K] = reactExports.useState(""), Y = gB(), [J, ee] = reactExports.useState(null), [et, er] = reactExports.useState(""), [eo, en] = reactExports.useState(null), { showPopup: ei, popupShown: ea, popupType: es } = ad(), ec = reactExports.useContext(aO), [el, ed] = reactExports.useState(!1), eu = reactExports.useRef(()=>{}), ef = reactExports.useCallback((t)=>{
|
|
59565
59569
|
null === t ? er("") : er(Y(t?.code, {
|
|
59566
59570
|
side: k ? Y("front") : Y("back")
|
|
59567
59571
|
}));
|
|
59568
59572
|
}, [
|
|
59569
59573
|
Y,
|
|
59570
59574
|
k
|
|
59571
|
-
]),
|
|
59575
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59572
59576
|
ee(""), eu.current();
|
|
59573
59577
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59574
59578
|
ee(""), B(...t);
|
|
59575
59579
|
}, [
|
|
59576
59580
|
B
|
|
59577
|
-
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange:
|
|
59581
|
+
]), { warmupDone: em, isPostProcessing: eg, isAutoCapturing: eb, takePictureManually: ev, restartSession: ew, resetIsProcessingImageBlobTaken: ek, isAutoCaptureModeOn: ey, onToggleAutoCaptureMode: eC, autoCaptureDuration: eB } = (({ shouldStart: t, refVideo: r, cropArea: s, settings: l, onModelErrorChange: d, frontSide: u, onDebugInfoChange: p, onAboutToTimeout: g, onSessionTimeout: k, onCaptureDone: y, outputEncryptionSettings: C, quality: B })=>{
|
|
59578
59582
|
let x = reactExports.useRef(!1), [S, E] = reactExports.useState(!1), T = reactExports.useRef(()=>{}), { sendEvent: D } = iN$1.useSDKTracking(), L = reactExports.useRef(), F = reactExports.useRef(), N = reactExports.useRef(), z = reactExports.useContext(aO), { enableAntiDebug: V } = no$1.useSDKSettings(), { onErrorCallback: W } = aS(), { playVoice: U } = iJ$1.useVoicePlayer(), [q, Q] = reactExports.useState(nn(l, "enableAutoCapture")), X = reactExports.useCallback(()=>{
|
|
59579
59583
|
Q((t)=>!t);
|
|
59580
59584
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59615,30 +59619,30 @@
|
|
|
59615
59619
|
l.blurLargeThresholdAuto,
|
|
59616
59620
|
l.blurLargeThresholdManual,
|
|
59617
59621
|
l.enableAutoCapture
|
|
59618
|
-
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState:
|
|
59622
|
+
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState: ef, resetRecordVideo: ep } = function({ isAutoCapture: t, blurSmallThreshold: r, blurLargeThreshold: s, refVideo: l, shouldStart: d, cropArea: u, settings: p, onError: m, frontSide: g, onAutoCaptureSuccess: b, quality: k, debug: y }) {
|
|
59619
59623
|
let C = reactExports.useRef(null);
|
|
59620
59624
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59621
|
-
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } =
|
|
59622
|
-
videoFrameWidth:
|
|
59623
|
-
videoFrameHeight:
|
|
59624
|
-
videoBitrate:
|
|
59625
|
-
fps:
|
|
59625
|
+
let B = reactExports.useRef([]), x = reactExports.useRef({}), S = reactExports.useRef(!1), E = reactExports.useRef([]), T = reactExports.useRef(!1), D = reactExports.useRef(null), [I, O] = reactExports.useState(!1), M = reactExports.useRef(aj()), A = reactExports.useRef(aI()), R = reactExports.useRef(null), L = reactExports.useRef(!1), F = reactExports.useRef(!1), N = reactExports.useRef(null), z = reactExports.useRef(!1), V = reactExports.useRef({}), { customUrls: W } = no$1.useSDKSettings(), { onErrorCallback: U } = aS(), [q, Q] = reactExports.useState(!0), X = reactExports.useRef([]), H = reactExports.useRef([]), G = reactExports.useRef(t), { allowedCards: Z } = p, K = reactExports.useRef(null), [Y, J] = reactExports.useState(!1), ee = reactExports.useRef(!1), et = reactExports.useMemo(()=>({
|
|
59626
|
+
videoFrameWidth: p.recordVideoFrameWidth,
|
|
59627
|
+
videoFrameHeight: p.recordVideoFrameHeight,
|
|
59628
|
+
videoBitrate: p.recordVideoBitrate,
|
|
59629
|
+
fps: p.recordVideoFps
|
|
59626
59630
|
}), [
|
|
59627
|
-
|
|
59628
|
-
|
|
59629
|
-
|
|
59630
|
-
|
|
59631
|
+
p.recordVideoBitrate,
|
|
59632
|
+
p.recordVideoFps,
|
|
59633
|
+
p.recordVideoFrameHeight,
|
|
59634
|
+
p.recordVideoFrameWidth
|
|
59631
59635
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59632
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59636
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
|
|
59633
59637
|
g,
|
|
59634
|
-
|
|
59635
|
-
|
|
59638
|
+
p.enableRecordCapturingBack,
|
|
59639
|
+
p.enableRecordCapturingFront
|
|
59636
59640
|
])
|
|
59637
59641
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59638
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59642
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
|
|
59639
59643
|
g,
|
|
59640
|
-
|
|
59641
|
-
|
|
59644
|
+
p.enableRecordFullSessionBack,
|
|
59645
|
+
p.enableRecordFullSessionFront
|
|
59642
59646
|
])
|
|
59643
59647
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59644
59648
|
let t = reactExports.useContext(nU);
|
|
@@ -59652,8 +59656,8 @@
|
|
|
59652
59656
|
]), reactExports.useEffect(()=>{
|
|
59653
59657
|
let t = !1;
|
|
59654
59658
|
return async function r() {
|
|
59655
|
-
if (
|
|
59656
|
-
if (
|
|
59659
|
+
if (p && !I) {
|
|
59660
|
+
if (p.enableIdDetection) {
|
|
59657
59661
|
let t = ((t, r)=>{
|
|
59658
59662
|
if (0 === t.length) return {
|
|
59659
59663
|
isValid: !1
|
|
@@ -59674,7 +59678,7 @@
|
|
|
59674
59678
|
} : {
|
|
59675
59679
|
isValid: !1
|
|
59676
59680
|
};
|
|
59677
|
-
})(Z.map((t)=>t.code),
|
|
59681
|
+
})(Z.map((t)=>t.code), p?.cardTypeModelMapping);
|
|
59678
59682
|
if (!t.isValid) {
|
|
59679
59683
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59680
59684
|
return;
|
|
@@ -59683,7 +59687,7 @@
|
|
|
59683
59687
|
V.current = await a_({
|
|
59684
59688
|
...W,
|
|
59685
59689
|
idCardModelUrl: r
|
|
59686
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59690
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59687
59691
|
} else Q(!1), N.current = !1;
|
|
59688
59692
|
t || O(!0);
|
|
59689
59693
|
}
|
|
@@ -59692,7 +59696,7 @@
|
|
|
59692
59696
|
};
|
|
59693
59697
|
}, [
|
|
59694
59698
|
I,
|
|
59695
|
-
|
|
59699
|
+
p,
|
|
59696
59700
|
W,
|
|
59697
59701
|
Z,
|
|
59698
59702
|
U
|
|
@@ -59709,13 +59713,13 @@
|
|
|
59709
59713
|
});
|
|
59710
59714
|
}, [
|
|
59711
59715
|
k
|
|
59712
|
-
]),
|
|
59716
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59713
59717
|
Y || (en(), es());
|
|
59714
59718
|
}, [
|
|
59715
59719
|
Y,
|
|
59716
59720
|
en,
|
|
59717
59721
|
es
|
|
59718
|
-
]),
|
|
59722
|
+
]), ep = reactExports.useCallback(async ()=>{
|
|
59719
59723
|
let t = {
|
|
59720
59724
|
capturingVideo: {
|
|
59721
59725
|
blob: null
|
|
@@ -59730,18 +59734,18 @@
|
|
|
59730
59734
|
}, [
|
|
59731
59735
|
eo,
|
|
59732
59736
|
ea
|
|
59733
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59737
|
+
]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
|
|
59734
59738
|
g,
|
|
59735
|
-
|
|
59736
|
-
|
|
59737
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59739
|
+
p.enableFlashlightBack,
|
|
59740
|
+
p.enableFlashlightFront
|
|
59741
|
+
]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
|
|
59738
59742
|
g,
|
|
59739
|
-
|
|
59740
|
-
|
|
59741
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59743
|
+
p.flashlightActivationDelayBack,
|
|
59744
|
+
p.flashlightActivationDelayFront
|
|
59745
|
+
]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
|
|
59742
59746
|
g,
|
|
59743
|
-
|
|
59744
|
-
|
|
59747
|
+
p.flashlightDurationBack,
|
|
59748
|
+
p.flashlightDurationFront
|
|
59745
59749
|
]), eb = reactExports.useCallback(()=>{
|
|
59746
59750
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59747
59751
|
ec(eg);
|
|
@@ -59758,9 +59762,9 @@
|
|
|
59758
59762
|
]), ew = reactExports.useCallback(()=>{
|
|
59759
59763
|
!0 === T.current && (T.current = !1);
|
|
59760
59764
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59761
|
-
|
|
59765
|
+
ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59762
59766
|
}, [
|
|
59763
|
-
|
|
59767
|
+
ef
|
|
59764
59768
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59765
59769
|
await er({
|
|
59766
59770
|
videoEl: l.current,
|
|
@@ -59773,7 +59777,7 @@
|
|
|
59773
59777
|
incomingFrameBlurScore: t,
|
|
59774
59778
|
currentFrameGlareScore: i.glareScore,
|
|
59775
59779
|
incomingFrameGlareScore: n,
|
|
59776
|
-
settings:
|
|
59780
|
+
settings: p,
|
|
59777
59781
|
blurLargeThreshold: s,
|
|
59778
59782
|
blurSmallThreshold: r
|
|
59779
59783
|
})) {
|
|
@@ -59791,25 +59795,25 @@
|
|
|
59791
59795
|
}
|
|
59792
59796
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59793
59797
|
}
|
|
59794
|
-
|
|
59798
|
+
p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
|
|
59795
59799
|
}, [
|
|
59796
59800
|
er,
|
|
59797
59801
|
l,
|
|
59798
59802
|
et,
|
|
59799
59803
|
eb,
|
|
59800
|
-
|
|
59804
|
+
p,
|
|
59801
59805
|
s,
|
|
59802
59806
|
r,
|
|
59803
59807
|
k
|
|
59804
59808
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59805
59809
|
F.current = !0;
|
|
59806
59810
|
let i = A.current;
|
|
59807
|
-
if (
|
|
59811
|
+
if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
|
|
59808
59812
|
currentFrameBlurScore: i.blurScore,
|
|
59809
59813
|
currentFrameGlareScore: i.glareScore,
|
|
59810
59814
|
incomingFrameBlurScore: t,
|
|
59811
59815
|
incomingFrameGlareScore: n,
|
|
59812
|
-
settings:
|
|
59816
|
+
settings: p,
|
|
59813
59817
|
blurLargeThreshold: s,
|
|
59814
59818
|
blurSmallThreshold: r
|
|
59815
59819
|
})) {
|
|
@@ -59828,19 +59832,19 @@
|
|
|
59828
59832
|
s,
|
|
59829
59833
|
r,
|
|
59830
59834
|
k,
|
|
59831
|
-
|
|
59835
|
+
p
|
|
59832
59836
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59833
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59837
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
|
|
59834
59838
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59835
|
-
let t = await
|
|
59839
|
+
let t = await ep();
|
|
59836
59840
|
await ev(), await b({
|
|
59837
59841
|
...r,
|
|
59838
59842
|
...t
|
|
59839
59843
|
}), J(!1), R.current = null;
|
|
59840
59844
|
}
|
|
59841
59845
|
}, [
|
|
59842
|
-
|
|
59843
|
-
|
|
59846
|
+
p,
|
|
59847
|
+
ep,
|
|
59844
59848
|
ev,
|
|
59845
59849
|
b
|
|
59846
59850
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59855,7 +59859,7 @@
|
|
|
59855
59859
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59856
59860
|
recordVideoSettings: et
|
|
59857
59861
|
}), eb(), new Promise((t)=>{
|
|
59858
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59862
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
|
|
59859
59863
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59860
59864
|
ex().then(async ()=>{
|
|
59861
59865
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59870,7 +59874,7 @@
|
|
|
59870
59874
|
quality: k
|
|
59871
59875
|
}).then(async (n)=>{
|
|
59872
59876
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59873
|
-
let a = await
|
|
59877
|
+
let a = await ep();
|
|
59874
59878
|
t({
|
|
59875
59879
|
...i,
|
|
59876
59880
|
...a
|
|
@@ -59878,7 +59882,7 @@
|
|
|
59878
59882
|
});
|
|
59879
59883
|
} else {
|
|
59880
59884
|
o && await eu(i.detectedCard);
|
|
59881
|
-
let r = await
|
|
59885
|
+
let r = await ep();
|
|
59882
59886
|
t({
|
|
59883
59887
|
...i,
|
|
59884
59888
|
...r
|
|
@@ -59905,10 +59909,10 @@
|
|
|
59905
59909
|
l,
|
|
59906
59910
|
et,
|
|
59907
59911
|
eb,
|
|
59908
|
-
|
|
59912
|
+
p,
|
|
59909
59913
|
e_,
|
|
59910
59914
|
ex,
|
|
59911
|
-
|
|
59915
|
+
ep,
|
|
59912
59916
|
ev,
|
|
59913
59917
|
r,
|
|
59914
59918
|
s,
|
|
@@ -59942,10 +59946,10 @@
|
|
|
59942
59946
|
portraitTopLeft: c,
|
|
59943
59947
|
portraitBottomRight: l
|
|
59944
59948
|
};
|
|
59945
|
-
}(t,
|
|
59949
|
+
}(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59946
59950
|
let { cv: o } = window;
|
|
59947
59951
|
if (!o) throw Error("Opencv not found!");
|
|
59948
|
-
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t,
|
|
59952
|
+
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t, f = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59949
59953
|
n.x,
|
|
59950
59954
|
n.y,
|
|
59951
59955
|
i.x,
|
|
@@ -59954,7 +59958,7 @@
|
|
|
59954
59958
|
a.y,
|
|
59955
59959
|
s.x,
|
|
59956
59960
|
s.y
|
|
59957
|
-
]),
|
|
59961
|
+
]), p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59958
59962
|
0,
|
|
59959
59963
|
0,
|
|
59960
59964
|
c - 1,
|
|
@@ -59963,7 +59967,7 @@
|
|
|
59963
59967
|
l - 1,
|
|
59964
59968
|
0,
|
|
59965
59969
|
l - 1
|
|
59966
|
-
]), h = o.getPerspectiveTransform(
|
|
59970
|
+
]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
|
|
59967
59971
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59968
59972
|
t[0],
|
|
59969
59973
|
t[1]
|
|
@@ -59977,7 +59981,7 @@
|
|
|
59977
59981
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59978
59982
|
];
|
|
59979
59983
|
}, g = m(d), b = m(u);
|
|
59980
|
-
return
|
|
59984
|
+
return f.delete(), p.delete(), h.delete(), [
|
|
59981
59985
|
parseInt(g[0], 10),
|
|
59982
59986
|
parseInt(g[1], 10),
|
|
59983
59987
|
parseInt(b[0], 10),
|
|
@@ -60055,9 +60059,9 @@
|
|
|
60055
60059
|
};
|
|
60056
60060
|
}
|
|
60057
60061
|
}, [
|
|
60058
|
-
|
|
60062
|
+
p
|
|
60059
60063
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60060
|
-
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding:
|
|
60064
|
+
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding: f, cropHeightWithoutPadding: h } = D.current, { enableBlurCheck: m, enableGlareCheck: b, glareThreshold: v, isVietnameseCardFlow: k, hasFrontFace: C, hasBackFace: B, genericEnableCheckFrontFace: x, genericEnableCheckBackFace: P } = p, { blazefaceModel: S, blurDetector: E } = V.current, T = {
|
|
60061
60065
|
error: null
|
|
60062
60066
|
};
|
|
60063
60067
|
try {
|
|
@@ -60074,12 +60078,12 @@
|
|
|
60074
60078
|
area: c.width * c.height
|
|
60075
60079
|
},
|
|
60076
60080
|
big: {
|
|
60077
|
-
area:
|
|
60081
|
+
area: f * h
|
|
60078
60082
|
}
|
|
60079
60083
|
});
|
|
60080
60084
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60081
60085
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60082
|
-
if (k && nn(
|
|
60086
|
+
if (k && nn(p, "enableCardTypeCheck")) {
|
|
60083
60087
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60084
60088
|
let o = t.split(".")?.[0];
|
|
60085
60089
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60153,8 +60157,8 @@
|
|
|
60153
60157
|
smallThreshold: r,
|
|
60154
60158
|
largeThreshold: s
|
|
60155
60159
|
}), u = {
|
|
60156
|
-
small: iz(d?.[0],
|
|
60157
|
-
large: iz(d?.[1],
|
|
60160
|
+
small: iz(d?.[0], p.blurSmallDecimal),
|
|
60161
|
+
large: iz(d?.[1], p.blurLargeDecimal)
|
|
60158
60162
|
};
|
|
60159
60163
|
if (eT.current = {
|
|
60160
60164
|
...eT.current,
|
|
@@ -60170,10 +60174,10 @@
|
|
|
60170
60174
|
}
|
|
60171
60175
|
if (y) {
|
|
60172
60176
|
var I, O, M, A, R, L, F, N;
|
|
60173
|
-
let r, s,
|
|
60177
|
+
let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60174
60178
|
eT.current = {
|
|
60175
60179
|
...eT.current,
|
|
60176
|
-
label:
|
|
60180
|
+
label: p,
|
|
60177
60181
|
corner_size: h?.length
|
|
60178
60182
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60179
60183
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60185,7 +60189,7 @@
|
|
|
60185
60189
|
o.strokeRect(s, c, l - s, d - c);
|
|
60186
60190
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60187
60191
|
iW(t.bboxes, "blue", I, R, r);
|
|
60188
|
-
}),
|
|
60192
|
+
}), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
|
|
60189
60193
|
iW(t.bboxes, "green", I, R, r);
|
|
60190
60194
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60191
60195
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60194,7 +60198,7 @@
|
|
|
60194
60198
|
}
|
|
60195
60199
|
return T;
|
|
60196
60200
|
}, [
|
|
60197
|
-
|
|
60201
|
+
p,
|
|
60198
60202
|
y,
|
|
60199
60203
|
l,
|
|
60200
60204
|
Z,
|
|
@@ -60203,13 +60207,13 @@
|
|
|
60203
60207
|
s,
|
|
60204
60208
|
eD
|
|
60205
60209
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60206
|
-
if (!
|
|
60210
|
+
if (!p || !I || T.current) return;
|
|
60207
60211
|
M.current = aj(), A.current = aI();
|
|
60208
|
-
let { enableVirtualCamHashes: t } =
|
|
60212
|
+
let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60209
60213
|
T.current = !0;
|
|
60210
60214
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60211
60215
|
u.width = c, u.height = d;
|
|
60212
|
-
let
|
|
60216
|
+
let f = u.getContext("2d"), h = async ()=>{
|
|
60213
60217
|
if (!1 === T.current) return;
|
|
60214
60218
|
await ei({
|
|
60215
60219
|
videoEl: l.current,
|
|
@@ -60217,11 +60221,11 @@
|
|
|
60217
60221
|
recordVideoSettings: et
|
|
60218
60222
|
});
|
|
60219
60223
|
let n = K.current;
|
|
60220
|
-
|
|
60224
|
+
f.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60221
60225
|
let g = performance.now();
|
|
60222
60226
|
if (z.current = !1, q && o) {
|
|
60223
60227
|
let o = await r.predict(u);
|
|
60224
|
-
!
|
|
60228
|
+
!p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60225
60229
|
let r = nn(t, "card.corners");
|
|
60226
60230
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60227
60231
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60250,7 +60254,7 @@
|
|
|
60250
60254
|
};
|
|
60251
60255
|
K.current = window.requestAnimationFrame(h);
|
|
60252
60256
|
}, [
|
|
60253
|
-
|
|
60257
|
+
p,
|
|
60254
60258
|
I,
|
|
60255
60259
|
l,
|
|
60256
60260
|
ei,
|
|
@@ -60303,7 +60307,7 @@
|
|
|
60303
60307
|
refBlurScores: X,
|
|
60304
60308
|
refGlareScores: H,
|
|
60305
60309
|
resetState: ek,
|
|
60306
|
-
resetRecordVideo:
|
|
60310
|
+
resetRecordVideo: ef
|
|
60307
60311
|
};
|
|
60308
60312
|
}({
|
|
60309
60313
|
isAutoCapture: q,
|
|
@@ -60321,17 +60325,17 @@
|
|
|
60321
60325
|
});
|
|
60322
60326
|
reactExports.useContext(aO);
|
|
60323
60327
|
let eh = reactExports.useCallback(()=>{
|
|
60324
|
-
|
|
60328
|
+
ep(), eo(), k();
|
|
60325
60329
|
}, [
|
|
60326
60330
|
eo,
|
|
60327
|
-
|
|
60331
|
+
ep,
|
|
60328
60332
|
k
|
|
60329
60333
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60330
|
-
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t,
|
|
60334
|
+
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
|
|
60331
60335
|
totalTime: i,
|
|
60332
60336
|
interruptible: r
|
|
60333
60337
|
}));
|
|
60334
|
-
reactExports.useEffect(()=>
|
|
60338
|
+
reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
|
|
60335
60339
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60336
60340
|
curTimeLeft: t
|
|
60337
60341
|
});
|
|
@@ -60340,24 +60344,24 @@
|
|
|
60340
60344
|
c,
|
|
60341
60345
|
i,
|
|
60342
60346
|
r
|
|
60343
|
-
]), reactExports.useEffect(()=>
|
|
60344
|
-
r &&
|
|
60347
|
+
]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
|
|
60348
|
+
r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
|
|
60345
60349
|
}), [
|
|
60346
60350
|
l,
|
|
60347
60351
|
u,
|
|
60348
60352
|
s?.enable,
|
|
60349
60353
|
s?.total,
|
|
60350
60354
|
r
|
|
60351
|
-
]), reactExports.useEffect(()=>d ?
|
|
60355
|
+
]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
|
|
60352
60356
|
d
|
|
60353
60357
|
]);
|
|
60354
|
-
let
|
|
60355
|
-
|
|
60358
|
+
let p = reactExports.useCallback(()=>{
|
|
60359
|
+
f.current.resume();
|
|
60356
60360
|
}, []);
|
|
60357
60361
|
return {
|
|
60358
|
-
resumeTimer:
|
|
60362
|
+
resumeTimer: p,
|
|
60359
60363
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60360
|
-
|
|
60364
|
+
f.current.pause();
|
|
60361
60365
|
}, [])
|
|
60362
60366
|
};
|
|
60363
60367
|
})({
|
|
@@ -60371,24 +60375,24 @@
|
|
|
60371
60375
|
}), eb = reactExports.useCallback(()=>{
|
|
60372
60376
|
x.current = !1;
|
|
60373
60377
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60374
|
-
eb(), em(),
|
|
60378
|
+
eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60375
60379
|
en()
|
|
60376
60380
|
]);
|
|
60377
60381
|
}, [
|
|
60378
60382
|
eb,
|
|
60379
|
-
|
|
60383
|
+
ef,
|
|
60380
60384
|
U,
|
|
60381
60385
|
u,
|
|
60382
60386
|
en,
|
|
60383
60387
|
em
|
|
60384
60388
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60385
|
-
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash:
|
|
60389
|
+
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash: f, blurScore: p, glareScore: h, fullVideo: m, capturingVideo: g } = t;
|
|
60386
60390
|
if (x.current) return;
|
|
60387
60391
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60388
60392
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60389
|
-
if (v && null !==
|
|
60393
|
+
if (v && null !== f) {
|
|
60390
60394
|
let t = [
|
|
60391
|
-
|
|
60395
|
+
f,
|
|
60392
60396
|
...ec.current
|
|
60393
60397
|
];
|
|
60394
60398
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60397,7 +60401,7 @@
|
|
|
60397
60401
|
h7.addExifData("user_action", {
|
|
60398
60402
|
start_id_card: F.current,
|
|
60399
60403
|
end_id_card: Date.now()
|
|
60400
|
-
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score",
|
|
60404
|
+
}), h7.addExifData("id_detection_settings.blur_check.large_threshold", ee), h7.addExifData("id_detection_settings.blur_check.small_threshold", J), h7.addExifData("capture_time", a), h7.addExifData("type", i?.label), v && h7.addExifData("v_cam", B), h7.addExifData("capture_count", s), h7.addExifData("capture_duration", c), h7.addExifData("capture_type", d), _ && h7.addExifData("card_tracking", S), k && (h7.addExifData("model_score.blurry_score", p), h7.addExifData("blur_score_frames", JSON.stringify(ed.current))), w && (h7.addExifData("model_score.glare_score", h), h7.addExifData("glare_score_frames", JSON.stringify(eu.current)));
|
|
60401
60405
|
let T = await h7.writeCurrentExif({
|
|
60402
60406
|
imageData: {
|
|
60403
60407
|
blob: o
|
|
@@ -60535,14 +60539,14 @@
|
|
|
60535
60539
|
};
|
|
60536
60540
|
})({
|
|
60537
60541
|
shouldStart: !0,
|
|
60538
|
-
refVideo:
|
|
60542
|
+
refVideo: p,
|
|
60539
60543
|
cropArea: eo,
|
|
60540
60544
|
settings: C,
|
|
60541
|
-
onModelErrorChange:
|
|
60545
|
+
onModelErrorChange: ef,
|
|
60542
60546
|
frontSide: k,
|
|
60543
60547
|
allowedCardTypes: y,
|
|
60544
60548
|
onDebugInfoChange: K,
|
|
60545
|
-
onSessionTimeout:
|
|
60549
|
+
onSessionTimeout: ep,
|
|
60546
60550
|
onCaptureDone: eh,
|
|
60547
60551
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60548
60552
|
ee(Y("remaining_time", {
|
|
@@ -60571,9 +60575,9 @@
|
|
|
60571
60575
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60572
60576
|
reactExports.useEffect(()=>{
|
|
60573
60577
|
if (u) {
|
|
60574
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60575
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60576
|
-
x: Math.floor((c - i) / 2) +
|
|
60578
|
+
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
|
|
60579
|
+
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 * p - 80 - 100)), n = (t = (s = p + 140) - 70) + 30, o = eT ? s + a + 20 : s + a, r = s + a + 135, en({
|
|
60580
|
+
x: Math.floor((c - i) / 2) + f,
|
|
60577
60581
|
y: s,
|
|
60578
60582
|
width: i,
|
|
60579
60583
|
height: a,
|
|
@@ -61043,8 +61047,8 @@
|
|
|
61043
61047
|
Object.keys(l || {}).forEach(function(t) {
|
|
61044
61048
|
l[t] = i[t] || l[t];
|
|
61045
61049
|
});
|
|
61046
|
-
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized,
|
|
61047
|
-
return
|
|
61050
|
+
var a = "attemptBoth" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, s = "onlyInvert" === l.inversionAttempts || "invertFirst" === l.inversionAttempts, d = n.binarize(t, r, o, a), u = d.binarized, f = d.inverted, p = c(s ? f : u);
|
|
61051
|
+
return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
|
|
61048
61052
|
}
|
|
61049
61053
|
d.default = d, r.default = d;
|
|
61050
61054
|
},
|
|
@@ -61065,10 +61069,10 @@
|
|
|
61065
61069
|
r.binarize = function(t, r, o, a) {
|
|
61066
61070
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61067
61071
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61068
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61069
|
-
s.set(c, l, .2126 * d + .7152 * u + .0722 *
|
|
61072
|
+
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
|
|
61073
|
+
s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
|
|
61070
61074
|
}
|
|
61071
|
-
for(var
|
|
61075
|
+
for(var p = Math.ceil(r / 8), h = Math.ceil(o / 8), m = new i(p, h), g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61072
61076
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61073
61077
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61074
61078
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61082,8 +61086,8 @@
|
|
|
61082
61086
|
}
|
|
61083
61087
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61084
61088
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61085
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61086
|
-
for(var P, S, E, T, D = (P = b, S =
|
|
61089
|
+
for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61090
|
+
for(var P, S, E, T, D = (P = b, S = p - 3, P < 2 ? 2 : P > S ? S : P), $ = (E = g, T = h - 3, E < 2 ? 2 : E > T ? T : E), v = 0, j = -2; j <= 2; j++)for(var I = -2; I <= 2; I++)v += m.get(D + j, $ + I);
|
|
61087
61091
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61088
61092
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61089
61093
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61364,16 +61368,16 @@
|
|
|
61364
61368
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61365
61369
|
r = t.get(u, d), l = l << 1 | r;
|
|
61366
61370
|
}
|
|
61367
|
-
for(var
|
|
61368
|
-
o = t.get(u, d),
|
|
61371
|
+
for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
|
|
61372
|
+
o = t.get(u, d), f = f << 1 | o;
|
|
61369
61373
|
}
|
|
61370
|
-
for(var
|
|
61374
|
+
for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61371
61375
|
var g = m[h];
|
|
61372
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61376
|
+
if (g.infoBits === l || g.infoBits === f) return g;
|
|
61373
61377
|
var b = c(l, g.infoBits);
|
|
61374
|
-
b <
|
|
61378
|
+
b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
|
|
61375
61379
|
}
|
|
61376
|
-
if (
|
|
61380
|
+
if (p <= 3) return n;
|
|
61377
61381
|
}(t);
|
|
61378
61382
|
if (!r) return null;
|
|
61379
61383
|
var o = function(t) {
|
|
@@ -61383,19 +61387,19 @@
|
|
|
61383
61387
|
for(var d = 7; d >= 0; d--){
|
|
61384
61388
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61385
61389
|
}
|
|
61386
|
-
for(var u = t.height,
|
|
61387
|
-
n = t.get(8, d),
|
|
61390
|
+
for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
|
|
61391
|
+
n = t.get(8, d), f = f << 1 | n;
|
|
61388
61392
|
}
|
|
61389
61393
|
for(var s = u - 8; s < u; s++){
|
|
61390
|
-
i = t.get(s, 8),
|
|
61394
|
+
i = t.get(s, 8), f = f << 1 | i;
|
|
61391
61395
|
}
|
|
61392
|
-
for(var
|
|
61396
|
+
for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61393
61397
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61394
|
-
if (b === a || b ===
|
|
61398
|
+
if (b === a || b === f) return v;
|
|
61395
61399
|
var w = c(a, b);
|
|
61396
|
-
w <
|
|
61400
|
+
w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
|
|
61397
61401
|
}
|
|
61398
|
-
return
|
|
61402
|
+
return p <= 3 ? h : null;
|
|
61399
61403
|
}(t);
|
|
61400
61404
|
if (!o) return null;
|
|
61401
61405
|
var u = function(t, r, o) {
|
|
@@ -61412,10 +61416,10 @@
|
|
|
61412
61416
|
d.codewords.push(t.shift());
|
|
61413
61417
|
}
|
|
61414
61418
|
if (n.ecBlocks.length > 1) {
|
|
61415
|
-
for(var u = n.ecBlocks[0].numBlocks,
|
|
61419
|
+
for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
|
|
61416
61420
|
}
|
|
61417
|
-
for(; t.length > 0;)for(var
|
|
61418
|
-
var d = i[
|
|
61421
|
+
for(; t.length > 0;)for(var p = 0; p < i.length; p++){
|
|
61422
|
+
var d = i[p];
|
|
61419
61423
|
d.codewords.push(t.shift());
|
|
61420
61424
|
}
|
|
61421
61425
|
return i;
|
|
@@ -61430,11 +61434,11 @@
|
|
|
61430
61434
|
}
|
|
61431
61435
|
}
|
|
61432
61436
|
return o.setRegion(6, 9, 1, r - 17, !0), o.setRegion(9, 6, r - 17, 1, !0), t.versionNumber > 6 && (o.setRegion(r - 11, 0, 3, 6, !0), o.setRegion(0, r - 11, 6, 3, !0)), o;
|
|
61433
|
-
}(r), c = [], l = 0, u = 0,
|
|
61434
|
-
6 ===
|
|
61437
|
+
}(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
|
|
61438
|
+
6 === p && p--;
|
|
61435
61439
|
for(var h = 0; h < a; h++){
|
|
61436
|
-
for(var m =
|
|
61437
|
-
var b =
|
|
61440
|
+
for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61441
|
+
var b = p - g;
|
|
61438
61442
|
if (!s.get(b, m)) {
|
|
61439
61443
|
u++;
|
|
61440
61444
|
var v = t.get(b, m);
|
|
@@ -61445,20 +61449,20 @@
|
|
|
61445
61449
|
}
|
|
61446
61450
|
}
|
|
61447
61451
|
}
|
|
61448
|
-
|
|
61452
|
+
f = !f;
|
|
61449
61453
|
}
|
|
61450
61454
|
return c;
|
|
61451
61455
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61452
61456
|
if (!u) return null;
|
|
61453
|
-
for(var
|
|
61457
|
+
for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61454
61458
|
return t + r.numDataCodewords;
|
|
61455
|
-
}, 0)),
|
|
61459
|
+
}, 0)), p = 0, h = 0; h < u.length; h++){
|
|
61456
61460
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61457
61461
|
if (!g) return null;
|
|
61458
|
-
for(var b = 0; b < m.numDataCodewords; b++)p
|
|
61462
|
+
for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
|
|
61459
61463
|
}
|
|
61460
61464
|
try {
|
|
61461
|
-
return i.decode(
|
|
61465
|
+
return i.decode(f, r.versionNumber);
|
|
61462
61466
|
} catch (t) {
|
|
61463
61467
|
return null;
|
|
61464
61468
|
}
|
|
@@ -61525,23 +61529,23 @@
|
|
|
61525
61529
|
":"
|
|
61526
61530
|
];
|
|
61527
61531
|
r.decode = function(t, r) {
|
|
61528
|
-
for(var o, n, i, u,
|
|
61532
|
+
for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
|
|
61529
61533
|
text: "",
|
|
61530
61534
|
bytes: [],
|
|
61531
61535
|
chunks: [],
|
|
61532
61536
|
version: r
|
|
61533
|
-
};
|
|
61534
|
-
var m =
|
|
61537
|
+
}; f.available() >= 4;){
|
|
61538
|
+
var m = f.readBits(4);
|
|
61535
61539
|
if (m === s.Terminator) return h;
|
|
61536
|
-
if (m === s.ECI) 0 ===
|
|
61540
|
+
if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
|
|
61537
61541
|
type: a.ECI,
|
|
61538
|
-
assignmentNumber:
|
|
61539
|
-
}) : 0 ===
|
|
61542
|
+
assignmentNumber: f.readBits(7)
|
|
61543
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61540
61544
|
type: a.ECI,
|
|
61541
|
-
assignmentNumber:
|
|
61542
|
-
}) : 0 ===
|
|
61545
|
+
assignmentNumber: f.readBits(14)
|
|
61546
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61543
61547
|
type: a.ECI,
|
|
61544
|
-
assignmentNumber:
|
|
61548
|
+
assignmentNumber: f.readBits(21)
|
|
61545
61549
|
}) : h.chunks.push({
|
|
61546
61550
|
type: a.ECI,
|
|
61547
61551
|
assignmentNumber: -1
|
|
@@ -61572,7 +61576,7 @@
|
|
|
61572
61576
|
bytes: o,
|
|
61573
61577
|
text: n
|
|
61574
61578
|
};
|
|
61575
|
-
}(
|
|
61579
|
+
}(f, p);
|
|
61576
61580
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61577
61581
|
type: a.Numeric,
|
|
61578
61582
|
text: g.text
|
|
@@ -61595,7 +61599,7 @@
|
|
|
61595
61599
|
bytes: o,
|
|
61596
61600
|
text: n
|
|
61597
61601
|
};
|
|
61598
|
-
}(
|
|
61602
|
+
}(f, p);
|
|
61599
61603
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61600
61604
|
type: a.Alphanumeric,
|
|
61601
61605
|
text: b.text
|
|
@@ -61619,7 +61623,7 @@
|
|
|
61619
61623
|
bytes: o,
|
|
61620
61624
|
text: n
|
|
61621
61625
|
};
|
|
61622
|
-
}(
|
|
61626
|
+
}(f, p);
|
|
61623
61627
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61624
61628
|
type: a.Byte,
|
|
61625
61629
|
bytes: v.bytes,
|
|
@@ -61639,7 +61643,7 @@
|
|
|
61639
61643
|
bytes: o,
|
|
61640
61644
|
text: n
|
|
61641
61645
|
};
|
|
61642
|
-
}(
|
|
61646
|
+
}(f, p);
|
|
61643
61647
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61644
61648
|
type: a.Kanji,
|
|
61645
61649
|
bytes: w.bytes,
|
|
@@ -61647,7 +61651,7 @@
|
|
|
61647
61651
|
});
|
|
61648
61652
|
}
|
|
61649
61653
|
}
|
|
61650
|
-
if (0 ===
|
|
61654
|
+
if (0 === f.available() || 0 === f.readBits(f.available())) return h;
|
|
61651
61655
|
};
|
|
61652
61656
|
},
|
|
61653
61657
|
function(t, r, o) {
|
|
@@ -68733,7 +68737,7 @@
|
|
|
68733
68737
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68734
68738
|
}
|
|
68735
68739
|
if (!l) return o;
|
|
68736
|
-
var
|
|
68740
|
+
var f = new i.default(a, c), p = function(t, r, o, n) {
|
|
68737
68741
|
r.degree() < o.degree() && (r = (i = [
|
|
68738
68742
|
o,
|
|
68739
68743
|
r
|
|
@@ -68742,11 +68746,11 @@
|
|
|
68742
68746
|
var d = a, u = c;
|
|
68743
68747
|
if (a = s, c = l, a.isZero()) return null;
|
|
68744
68748
|
s = d;
|
|
68745
|
-
for(var
|
|
68749
|
+
for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
|
|
68746
68750
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68747
|
-
|
|
68751
|
+
f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68748
68752
|
}
|
|
68749
|
-
if (l =
|
|
68753
|
+
if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68750
68754
|
}
|
|
68751
68755
|
var b = l.getCoefficient(0);
|
|
68752
68756
|
if (0 === b) return null;
|
|
@@ -68755,8 +68759,8 @@
|
|
|
68755
68759
|
l.multiply(v),
|
|
68756
68760
|
s.multiply(v)
|
|
68757
68761
|
];
|
|
68758
|
-
}(a, a.buildMonomial(r, 1),
|
|
68759
|
-
if (null ===
|
|
68762
|
+
}(a, a.buildMonomial(r, 1), f, r);
|
|
68763
|
+
if (null === p) return null;
|
|
68760
68764
|
var h = function(t, r) {
|
|
68761
68765
|
var o = r.degree();
|
|
68762
68766
|
if (1 === o) return [
|
|
@@ -68764,7 +68768,7 @@
|
|
|
68764
68768
|
];
|
|
68765
68769
|
for(var n = Array(o), i = 0, a = 1; a < t.size && i < o; a++)0 === r.evaluateAt(a) && (n[i] = t.inverse(a), i++);
|
|
68766
68770
|
return i !== o ? null : n;
|
|
68767
|
-
}(a,
|
|
68771
|
+
}(a, p[0]);
|
|
68768
68772
|
if (null == h) return null;
|
|
68769
68773
|
for(var m = function(t, r, o) {
|
|
68770
68774
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68772,7 +68776,7 @@
|
|
|
68772
68776
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68773
68777
|
}
|
|
68774
68778
|
return a;
|
|
68775
|
-
}(a,
|
|
68779
|
+
}(a, p[1], h), g = 0; g < h.length; g++){
|
|
68776
68780
|
var b = o.length - 1 - a.log(h[g]);
|
|
68777
68781
|
if (b < 0) return null;
|
|
68778
68782
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71253,14 +71257,14 @@
|
|
|
71253
71257
|
a32: t.y,
|
|
71254
71258
|
a33: 1
|
|
71255
71259
|
};
|
|
71256
|
-
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l,
|
|
71260
|
+
var s = r.x - o.x, c = n.x - o.x, l = r.y - o.y, d = n.y - o.y, u = s * d - c * l, f = (i * d - c * a) / u, p = (s * a - i * l) / u;
|
|
71257
71261
|
return {
|
|
71258
|
-
a11: r.x - t.x +
|
|
71259
|
-
a12: r.y - t.y +
|
|
71260
|
-
a13:
|
|
71261
|
-
a21: n.x - t.x +
|
|
71262
|
-
a22: n.y - t.y +
|
|
71263
|
-
a23:
|
|
71262
|
+
a11: r.x - t.x + f * r.x,
|
|
71263
|
+
a12: r.y - t.y + f * r.y,
|
|
71264
|
+
a13: f,
|
|
71265
|
+
a21: n.x - t.x + p * n.x,
|
|
71266
|
+
a22: n.y - t.y + p * n.y,
|
|
71267
|
+
a23: p,
|
|
71264
71268
|
a31: t.x,
|
|
71265
71269
|
a32: t.y,
|
|
71266
71270
|
a33: 1
|
|
@@ -71289,7 +71293,7 @@
|
|
|
71289
71293
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71290
71294
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71291
71295
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71292
|
-
}),
|
|
71296
|
+
}), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71293
71297
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71294
71298
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71295
71299
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71299,18 +71303,18 @@
|
|
|
71299
71303
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71300
71304
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71301
71305
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71302
|
-
}),
|
|
71303
|
-
var o =
|
|
71306
|
+
}), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
|
|
71307
|
+
var o = f.a13 * t + f.a23 * r + f.a33;
|
|
71304
71308
|
return {
|
|
71305
|
-
x: (
|
|
71306
|
-
y: (
|
|
71309
|
+
x: (f.a11 * t + f.a21 * r + f.a31) / o,
|
|
71310
|
+
y: (f.a12 * t + f.a22 * r + f.a32) / o
|
|
71307
71311
|
};
|
|
71308
71312
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71309
71313
|
var b = h(g + .5, m + .5);
|
|
71310
|
-
|
|
71314
|
+
p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71311
71315
|
}
|
|
71312
71316
|
return {
|
|
71313
|
-
matrix:
|
|
71317
|
+
matrix: p,
|
|
71314
71318
|
mappingFunction: h
|
|
71315
71319
|
};
|
|
71316
71320
|
};
|
|
@@ -71335,15 +71339,15 @@
|
|
|
71335
71339
|
}
|
|
71336
71340
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71337
71341
|
u ? (a = Math.floor(t.y), s = Math.floor(t.x), c = Math.floor(r.y), l = Math.floor(r.x)) : (a = Math.floor(t.x), s = Math.floor(t.y), c = Math.floor(r.x), l = Math.floor(r.y));
|
|
71338
|
-
for(var
|
|
71342
|
+
for(var f = Math.abs(c - a), p = Math.abs(l - s), h = Math.floor(-f / 2), m = a < c ? 1 : -1, g = s < l ? 1 : -1, b = !0, v = a, w = s; v !== c + m; v += m){
|
|
71339
71343
|
var k = u ? w : v, y = u ? v : w;
|
|
71340
71344
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71341
71345
|
x: k,
|
|
71342
71346
|
y: y
|
|
71343
71347
|
}), d.length === i + 1)) break;
|
|
71344
|
-
if ((h +=
|
|
71348
|
+
if ((h += p) > 0) {
|
|
71345
71349
|
if (w === l) break;
|
|
71346
|
-
w += g, h -=
|
|
71350
|
+
w += g, h -= f;
|
|
71347
71351
|
}
|
|
71348
71352
|
}
|
|
71349
71353
|
for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
|
|
@@ -71379,7 +71383,7 @@
|
|
|
71379
71383
|
}, l = s(t, a, o, r.length), d = {
|
|
71380
71384
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71381
71385
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71382
|
-
}, u = s(t, d, o, r.length),
|
|
71386
|
+
}, u = s(t, d, o, r.length), f = c(n, r), p = c(i, r), h = c(l, r), m = c(u, r), g = Math.sqrt(f.error * f.error + p.error * p.error + h.error * h.error + m.error * m.error), b = (f.averageSize + p.averageSize + h.averageSize + m.averageSize) / 4, v = (Math.pow(f.averageSize - b, 2) + Math.pow(p.averageSize - b, 2) + Math.pow(h.averageSize - b, 2) + Math.pow(m.averageSize - b, 2)) / b;
|
|
71383
71387
|
return g + v;
|
|
71384
71388
|
} catch (t) {
|
|
71385
71389
|
return 1 / 0;
|
|
@@ -71412,16 +71416,16 @@
|
|
|
71412
71416
|
dimension: l,
|
|
71413
71417
|
moduleSize: c
|
|
71414
71418
|
};
|
|
71415
|
-
}(a, o, c, t)).dimension,
|
|
71419
|
+
}(a, o, c, t)).dimension, f = d.moduleSize;
|
|
71416
71420
|
} catch (t) {
|
|
71417
71421
|
return null;
|
|
71418
71422
|
}
|
|
71419
|
-
var d, u,
|
|
71423
|
+
var d, u, f, p = {
|
|
71420
71424
|
x: o.x - a.x + c.x,
|
|
71421
71425
|
y: o.y - a.y + c.y
|
|
71422
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71423
|
-
x: a.x + m * (
|
|
71424
|
-
y: a.y + m * (
|
|
71426
|
+
}, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
|
|
71427
|
+
x: a.x + m * (p.x - a.x),
|
|
71428
|
+
y: a.y + m * (p.y - a.y)
|
|
71425
71429
|
}, b = r.map(function(r) {
|
|
71426
71430
|
var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
|
|
71427
71431
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71459,7 +71463,7 @@
|
|
|
71459
71463
|
};
|
|
71460
71464
|
}
|
|
71461
71465
|
r.locate = function(t) {
|
|
71462
|
-
for(var r, o, a, s, c,
|
|
71466
|
+
for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
|
|
71463
71467
|
for(var o = 0, n = !1, a = [
|
|
71464
71468
|
0,
|
|
71465
71469
|
0,
|
|
@@ -71477,21 +71481,21 @@
|
|
|
71477
71481
|
a[4],
|
|
71478
71482
|
o
|
|
71479
71483
|
], o = 1, n = c;
|
|
71480
|
-
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3,
|
|
71484
|
+
var l = i(a) / 7, d = Math.abs(a[0] - l) < l && Math.abs(a[1] - l) < l && Math.abs(a[2] - 3 * l) < 3 * l && Math.abs(a[3] - l) < l && Math.abs(a[4] - l) < l && !c, u = i(a.slice(-3)) / 3, f = Math.abs(a[2] - u) < u && Math.abs(a[3] - u) < u && Math.abs(a[4] - u) < u && c;
|
|
71481
71485
|
if (d) {
|
|
71482
|
-
var
|
|
71486
|
+
var p = s - a[3] - a[4], h = p - a[2], m = {
|
|
71483
71487
|
startX: h,
|
|
71484
|
-
endX:
|
|
71488
|
+
endX: p,
|
|
71485
71489
|
y: r
|
|
71486
71490
|
}, g = y.filter(function(t) {
|
|
71487
|
-
return h >= t.bottom.startX && h <= t.bottom.endX ||
|
|
71491
|
+
return h >= t.bottom.startX && h <= t.bottom.endX || p >= t.bottom.startX && h <= t.bottom.endX || h <= t.bottom.startX && p >= t.bottom.endX && a[2] / (t.bottom.endX - t.bottom.startX) < 1.5 && a[2] / (t.bottom.endX - t.bottom.startX) > .5;
|
|
71488
71492
|
});
|
|
71489
71493
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71490
71494
|
top: m,
|
|
71491
71495
|
bottom: m
|
|
71492
71496
|
});
|
|
71493
71497
|
}
|
|
71494
|
-
if (
|
|
71498
|
+
if (f) {
|
|
71495
71499
|
var b = s - a[4], v = b - a[3], m = {
|
|
71496
71500
|
startX: v,
|
|
71497
71501
|
y: r,
|
|
@@ -71585,14 +71589,14 @@
|
|
|
71585
71589
|
r,
|
|
71586
71590
|
o,
|
|
71587
71591
|
a
|
|
71588
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71592
|
+
])[0], m = c[1], g = c[2]) : (h = (f = [
|
|
71589
71593
|
r,
|
|
71590
71594
|
a,
|
|
71591
71595
|
o
|
|
71592
|
-
])[0], m =
|
|
71596
|
+
])[0], m = f[1], g = f[2]), (g.x - m.x) * (h.y - m.y) - (g.y - m.y) * (h.x - m.x) < 0 && (h = (p = [
|
|
71593
71597
|
g,
|
|
71594
71598
|
h
|
|
71595
|
-
])[0], g =
|
|
71599
|
+
])[0], g = p[1]), {
|
|
71596
71600
|
bottomLeft: h,
|
|
71597
71601
|
topLeft: m,
|
|
71598
71602
|
topRight: g
|
|
@@ -71759,6 +71763,15 @@
|
|
|
71759
71763
|
text-align: center;
|
|
71760
71764
|
font-size: 20px;
|
|
71761
71765
|
font-weight: 600;
|
|
71766
|
+
`; dt$1.div`
|
|
71767
|
+
width: 100%;
|
|
71768
|
+
height: 100%;
|
|
71769
|
+
opacity: ${({ $showChildren: t })=>+!!t};
|
|
71770
|
+
`;
|
|
71771
|
+
dt$1.div`
|
|
71772
|
+
text-align: center;
|
|
71773
|
+
font-size: 20px;
|
|
71774
|
+
font-weight: 600;
|
|
71762
71775
|
`; dt$1.div`
|
|
71763
71776
|
width: 100%;
|
|
71764
71777
|
height: 100%;
|
|
@@ -71766,7 +71779,7 @@
|
|
|
71766
71779
|
`;
|
|
71767
71780
|
({
|
|
71768
71781
|
onOrientationChange: PropTypes.func,
|
|
71769
|
-
|
|
71782
|
+
unmountOnHidden: PropTypes.bool
|
|
71770
71783
|
});
|
|
71771
71784
|
({
|
|
71772
71785
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -71784,16 +71797,16 @@
|
|
|
71784
71797
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
71785
71798
|
customTexts: PropTypes.shape({})
|
|
71786
71799
|
});
|
|
71787
|
-
let { IDCardSide:
|
|
71788
|
-
iI.ID_CARD, ra$1.IDCardSide.FRONT,
|
|
71789
|
-
let
|
|
71800
|
+
let { IDCardSide: sU, IDCardType: sq, Errors: sQ } = ra$1;
|
|
71801
|
+
iI.ID_CARD, ra$1.IDCardSide.FRONT, sq.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sq.VN, iI.QR_CODE;
|
|
71802
|
+
let sX = [
|
|
71790
71803
|
{
|
|
71791
71804
|
scannerType: iI.ID_CARD,
|
|
71792
71805
|
title: "Chụp mặt trước",
|
|
71793
71806
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71794
71807
|
titleIcon: "id_card_front.svg",
|
|
71795
71808
|
cardSide: ra$1.IDCardSide.FRONT,
|
|
71796
|
-
cardType:
|
|
71809
|
+
cardType: sq.VN,
|
|
71797
71810
|
enableConfirmPopup: !1
|
|
71798
71811
|
},
|
|
71799
71812
|
{
|
|
@@ -71802,25 +71815,25 @@
|
|
|
71802
71815
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71803
71816
|
titleIcon: "id_card_back.svg",
|
|
71804
71817
|
cardSide: ra$1.IDCardSide.BACK,
|
|
71805
|
-
cardType:
|
|
71818
|
+
cardType: sq.VN,
|
|
71806
71819
|
enableConfirmPopup: !1
|
|
71807
71820
|
}
|
|
71808
71821
|
];
|
|
71809
|
-
function
|
|
71810
|
-
if (rh) return
|
|
71822
|
+
function sH() {
|
|
71823
|
+
if (rh) return rp;
|
|
71811
71824
|
rh = 1;
|
|
71812
71825
|
var t = o9();
|
|
71813
|
-
return
|
|
71826
|
+
return rp = function() {
|
|
71814
71827
|
try {
|
|
71815
71828
|
var r = t(Object, "defineProperty");
|
|
71816
71829
|
return r({}, "", {}), r;
|
|
71817
71830
|
} catch (t) {}
|
|
71818
71831
|
}();
|
|
71819
71832
|
}
|
|
71820
|
-
function
|
|
71833
|
+
function sG() {
|
|
71821
71834
|
if (rg) return rm;
|
|
71822
71835
|
rg = 1;
|
|
71823
|
-
var t =
|
|
71836
|
+
var t = sH();
|
|
71824
71837
|
return rm = function(r, o, n) {
|
|
71825
71838
|
"__proto__" == o && t ? t(r, o, {
|
|
71826
71839
|
configurable: !0,
|
|
@@ -71830,26 +71843,26 @@
|
|
|
71830
71843
|
}) : r[o] = n;
|
|
71831
71844
|
};
|
|
71832
71845
|
}
|
|
71833
|
-
function
|
|
71846
|
+
function sZ() {
|
|
71834
71847
|
if (rv) return rb;
|
|
71835
71848
|
rv = 1;
|
|
71836
|
-
var t =
|
|
71849
|
+
var t = sG(), r = o7();
|
|
71837
71850
|
return rb = function(o, n, i) {
|
|
71838
71851
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
71839
71852
|
};
|
|
71840
71853
|
}
|
|
71841
|
-
var
|
|
71854
|
+
var sK = {
|
|
71842
71855
|
exports: {}
|
|
71843
71856
|
};
|
|
71844
|
-
|
|
71845
|
-
function
|
|
71857
|
+
sK.exports;
|
|
71858
|
+
function sY() {
|
|
71846
71859
|
return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
|
|
71847
71860
|
return function(o) {
|
|
71848
71861
|
return t(r(o));
|
|
71849
71862
|
};
|
|
71850
71863
|
}))(Object.getPrototypeOf, Object));
|
|
71851
71864
|
}
|
|
71852
|
-
function
|
|
71865
|
+
function sJ() {
|
|
71853
71866
|
if (rF) return rL;
|
|
71854
71867
|
rF = 1;
|
|
71855
71868
|
var t = Object.prototype;
|
|
@@ -71858,7 +71871,7 @@
|
|
|
71858
71871
|
return r === ("function" == typeof o && o.prototype || t);
|
|
71859
71872
|
};
|
|
71860
71873
|
}
|
|
71861
|
-
function
|
|
71874
|
+
function s3() {
|
|
71862
71875
|
if (rq) return rU;
|
|
71863
71876
|
rq = 1;
|
|
71864
71877
|
var t = function() {
|
|
@@ -71875,41 +71888,41 @@
|
|
|
71875
71888
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
71876
71889
|
};
|
|
71877
71890
|
}
|
|
71878
|
-
function
|
|
71891
|
+
function s2() {
|
|
71879
71892
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
71880
71893
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
71881
71894
|
});
|
|
71882
71895
|
}
|
|
71883
|
-
function
|
|
71896
|
+
function s5() {
|
|
71884
71897
|
if (rG) return rH;
|
|
71885
71898
|
rG = 1;
|
|
71886
|
-
var t = o8(), r =
|
|
71899
|
+
var t = o8(), r = s2();
|
|
71887
71900
|
return rH = function(o) {
|
|
71888
71901
|
return null != o && r(o.length) && !t(o);
|
|
71889
71902
|
};
|
|
71890
71903
|
}
|
|
71891
|
-
var
|
|
71904
|
+
var s0 = {
|
|
71892
71905
|
exports: {}
|
|
71893
71906
|
};
|
|
71894
|
-
function
|
|
71907
|
+
function s1() {
|
|
71895
71908
|
var t, r, o, n, i, a, s, c;
|
|
71896
|
-
if (r3) return
|
|
71897
|
-
return r3 = 1, t =
|
|
71909
|
+
if (r3) return s0.exports;
|
|
71910
|
+
return r3 = 1, t = s0, r = s0.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
|
|
71898
71911
|
return !1;
|
|
71899
|
-
}), c = (s = (a = (i = r && !r.nodeType && r) && t && !t.nodeType && t) && a.exports === i ? o.Buffer : void 0) ? s.isBuffer : void 0, t.exports = c || n,
|
|
71912
|
+
}), c = (s = (a = (i = r && !r.nodeType && r) && t && !t.nodeType && t) && a.exports === i ? o.Buffer : void 0) ? s.isBuffer : void 0, t.exports = c || n, s0.exports;
|
|
71900
71913
|
}
|
|
71901
|
-
|
|
71902
|
-
var
|
|
71914
|
+
s0.exports;
|
|
71915
|
+
var s8 = {
|
|
71903
71916
|
exports: {}
|
|
71904
71917
|
};
|
|
71905
|
-
|
|
71906
|
-
function
|
|
71918
|
+
s8.exports;
|
|
71919
|
+
function s9() {
|
|
71907
71920
|
if (r6) return r7;
|
|
71908
71921
|
r6 = 1;
|
|
71909
71922
|
var t = function() {
|
|
71910
71923
|
if (r1) return r0;
|
|
71911
71924
|
r1 = 1;
|
|
71912
|
-
var t = o2(), r =
|
|
71925
|
+
var t = o2(), r = s2(), o = o5(), n = {};
|
|
71913
71926
|
return n["[object Float32Array]"] = n["[object Float64Array]"] = n["[object Int8Array]"] = n["[object Int16Array]"] = n["[object Int32Array]"] = n["[object Uint8Array]"] = n["[object Uint8ClampedArray]"] = n["[object Uint16Array]"] = n["[object Uint32Array]"] = !0, n["[object Arguments]"] = n["[object Array]"] = n["[object ArrayBuffer]"] = n["[object Boolean]"] = n["[object DataView]"] = n["[object Date]"] = n["[object Error]"] = n["[object Function]"] = n["[object Map]"] = n["[object Number]"] = n["[object Object]"] = n["[object RegExp]"] = n["[object Set]"] = n["[object String]"] = n["[object WeakMap]"] = !1, r0 = function(i) {
|
|
71914
71927
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
71915
71928
|
};
|
|
@@ -71919,25 +71932,25 @@
|
|
|
71919
71932
|
};
|
|
71920
71933
|
}), o = function() {
|
|
71921
71934
|
var t, r, o, n, i, a;
|
|
71922
|
-
if (r4) return
|
|
71923
|
-
return r4 = 1, t =
|
|
71935
|
+
if (r4) return s8.exports;
|
|
71936
|
+
return r4 = 1, t = s8, r = s8.exports, o = oY(), a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n && o.process, t.exports = function() {
|
|
71924
71937
|
try {
|
|
71925
71938
|
var t = i && i.require && i.require("util").types;
|
|
71926
71939
|
if (t) return t;
|
|
71927
71940
|
return a && a.binding && a.binding("util");
|
|
71928
71941
|
} catch (t) {}
|
|
71929
|
-
}(),
|
|
71942
|
+
}(), s8.exports;
|
|
71930
71943
|
}(), n = o && o.isTypedArray;
|
|
71931
71944
|
return r7 = n ? r(n) : t;
|
|
71932
71945
|
}
|
|
71933
|
-
function
|
|
71946
|
+
function s4() {
|
|
71934
71947
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
71935
71948
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
71936
71949
|
if ("__proto__" != r) return t[r];
|
|
71937
71950
|
}
|
|
71938
71951
|
});
|
|
71939
71952
|
}
|
|
71940
|
-
function
|
|
71953
|
+
function s7() {
|
|
71941
71954
|
if (ol) return oc;
|
|
71942
71955
|
ol = 1;
|
|
71943
71956
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -71946,7 +71959,7 @@
|
|
|
71946
71959
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
71947
71960
|
};
|
|
71948
71961
|
}
|
|
71949
|
-
function
|
|
71962
|
+
function s6() {
|
|
71950
71963
|
if (ob) return og;
|
|
71951
71964
|
ob = 1;
|
|
71952
71965
|
var t = function() {
|
|
@@ -71955,16 +71968,16 @@
|
|
|
71955
71968
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
71956
71969
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
71957
71970
|
return n;
|
|
71958
|
-
}), r =
|
|
71971
|
+
}), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
|
|
71959
71972
|
return od = function(c, l) {
|
|
71960
|
-
var d = o(c), u = !d && r(c),
|
|
71961
|
-
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b ||
|
|
71973
|
+
var d = o(c), u = !d && r(c), f = !d && !u && n(c), p = !d && !u && !f && a(c), h = d || u || f || p, m = h ? t(c.length, String) : [], g = m.length;
|
|
71974
|
+
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b || f && ("offset" == b || "parent" == b) || p && ("buffer" == b || "byteLength" == b || "byteOffset" == b) || i(b, g))) && m.push(b);
|
|
71962
71975
|
return m;
|
|
71963
71976
|
};
|
|
71964
71977
|
}(), r = function() {
|
|
71965
71978
|
if (om) return oh;
|
|
71966
71979
|
om = 1;
|
|
71967
|
-
var t = o1(), r =
|
|
71980
|
+
var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
|
|
71968
71981
|
var r = [];
|
|
71969
71982
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71970
71983
|
return r;
|
|
@@ -71975,12 +71988,12 @@
|
|
|
71975
71988
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
71976
71989
|
return s;
|
|
71977
71990
|
};
|
|
71978
|
-
}(), o =
|
|
71991
|
+
}(), o = s5();
|
|
71979
71992
|
return og = function(n) {
|
|
71980
71993
|
return o(n) ? t(n, !0) : r(n);
|
|
71981
71994
|
};
|
|
71982
71995
|
}
|
|
71983
|
-
function
|
|
71996
|
+
function ce() {
|
|
71984
71997
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
71985
71998
|
return t;
|
|
71986
71999
|
});
|
|
@@ -71992,8 +72005,8 @@
|
|
|
71992
72005
|
if (oB) return oC;
|
|
71993
72006
|
oB = 1;
|
|
71994
72007
|
var t = function() {
|
|
71995
|
-
if (
|
|
71996
|
-
|
|
72008
|
+
if (rf) return ru;
|
|
72009
|
+
rf = 1;
|
|
71997
72010
|
var t = ne(), r = function() {
|
|
71998
72011
|
if (rr) return rt;
|
|
71999
72012
|
rr = 1;
|
|
@@ -72030,7 +72043,7 @@
|
|
|
72030
72043
|
this.size = o.size;
|
|
72031
72044
|
}
|
|
72032
72045
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
72033
|
-
}(), r =
|
|
72046
|
+
}(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
|
|
72034
72047
|
return function(r, o, n) {
|
|
72035
72048
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
72036
72049
|
var l = s[t ? c : ++i];
|
|
@@ -72041,14 +72054,14 @@
|
|
|
72041
72054
|
}))()), n = function() {
|
|
72042
72055
|
if (oy) return ok;
|
|
72043
72056
|
oy = 1;
|
|
72044
|
-
var t =
|
|
72057
|
+
var t = sZ(), r = function() {
|
|
72045
72058
|
var t, r, o, n, i, a, s;
|
|
72046
|
-
if (rB) return
|
|
72047
|
-
return rB = 1, t =
|
|
72059
|
+
if (rB) return sK.exports;
|
|
72060
|
+
return rB = 1, t = sK, r = sK.exports, o = oJ(), s = (a = (i = (n = r && !r.nodeType && r) && t && !t.nodeType && t) && i.exports === n ? o.Buffer : void 0) ? a.allocUnsafe : void 0, t.exports = function(t, r) {
|
|
72048
72061
|
if (r) return t.slice();
|
|
72049
72062
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
72050
72063
|
return t.copy(n), n;
|
|
72051
|
-
},
|
|
72064
|
+
}, sK.exports;
|
|
72052
72065
|
}(), o = function() {
|
|
72053
72066
|
if (rT) return rE;
|
|
72054
72067
|
rT = 1;
|
|
@@ -72086,21 +72099,21 @@
|
|
|
72086
72099
|
return o.prototype = void 0, i;
|
|
72087
72100
|
};
|
|
72088
72101
|
}();
|
|
72089
|
-
}(), r =
|
|
72102
|
+
}(), r = sY(), o = sJ();
|
|
72090
72103
|
return rN = function(n) {
|
|
72091
72104
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
72092
72105
|
};
|
|
72093
|
-
}(), a =
|
|
72106
|
+
}(), a = s3(), s = oK(), c = function() {
|
|
72094
72107
|
if (rK) return rZ;
|
|
72095
72108
|
rK = 1;
|
|
72096
|
-
var t =
|
|
72109
|
+
var t = s5(), r = o5();
|
|
72097
72110
|
return rZ = function(o) {
|
|
72098
72111
|
return r(o) && t(o);
|
|
72099
72112
|
};
|
|
72100
|
-
}(), l =
|
|
72113
|
+
}(), l = s1(), d = o8(), u = o1(), f = function() {
|
|
72101
72114
|
if (r5) return r2;
|
|
72102
72115
|
r5 = 1;
|
|
72103
|
-
var t = o2(), r =
|
|
72116
|
+
var t = o2(), r = sY(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
72104
72117
|
return r2 = function(n) {
|
|
72105
72118
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
72106
72119
|
var c = r(n);
|
|
@@ -72108,7 +72121,7 @@
|
|
|
72108
72121
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72109
72122
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72110
72123
|
};
|
|
72111
|
-
}(),
|
|
72124
|
+
}(), p = s9(), h = s4(), m = function() {
|
|
72112
72125
|
if (ow) return ov;
|
|
72113
72126
|
ow = 1;
|
|
72114
72127
|
var t = function() {
|
|
@@ -72117,12 +72130,12 @@
|
|
|
72117
72130
|
var t = function() {
|
|
72118
72131
|
if (oo) return or;
|
|
72119
72132
|
oo = 1;
|
|
72120
|
-
var t =
|
|
72133
|
+
var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
|
|
72121
72134
|
return or = function(n, i, a) {
|
|
72122
72135
|
var s = n[i];
|
|
72123
72136
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
72124
72137
|
};
|
|
72125
|
-
}(), r =
|
|
72138
|
+
}(), r = sG();
|
|
72126
72139
|
return on = function(o, n, i, a) {
|
|
72127
72140
|
var s = !i;
|
|
72128
72141
|
i || (i = {});
|
|
@@ -72132,7 +72145,7 @@
|
|
|
72132
72145
|
}
|
|
72133
72146
|
return i;
|
|
72134
72147
|
};
|
|
72135
|
-
}(), r =
|
|
72148
|
+
}(), r = s6();
|
|
72136
72149
|
return ov = function(o) {
|
|
72137
72150
|
return t(o, r(o));
|
|
72138
72151
|
};
|
|
@@ -72142,17 +72155,17 @@
|
|
|
72142
72155
|
if (x) return void t(g, v, x);
|
|
72143
72156
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72144
72157
|
if (S) {
|
|
72145
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72146
|
-
P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] :
|
|
72158
|
+
var E = s(_), T = !E && l(_), D = !E && !T && p(_);
|
|
72159
|
+
P = _, E || T || D ? s(B) ? P = B : c(B) ? P = n(B) : T ? (S = !1, P = r(_, !0)) : D ? (S = !1, P = o(_, !0)) : P = [] : f(_) || a(_) ? (P = B, a(B) ? P = m(B) : (!u(B) || d(B)) && (P = i(_))) : S = !1;
|
|
72147
72160
|
}
|
|
72148
72161
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72149
72162
|
};
|
|
72150
|
-
}(), i = o1(), a =
|
|
72151
|
-
return oC = function c(l, d, u,
|
|
72163
|
+
}(), i = o1(), a = s6(), s = s4();
|
|
72164
|
+
return oC = function c(l, d, u, f, p) {
|
|
72152
72165
|
l !== d && o(d, function(o, a) {
|
|
72153
|
-
if (
|
|
72166
|
+
if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
|
|
72154
72167
|
else {
|
|
72155
|
-
var h =
|
|
72168
|
+
var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
|
|
72156
72169
|
void 0 === h && (h = o), r(l, a, h);
|
|
72157
72170
|
}
|
|
72158
72171
|
}, a);
|
|
@@ -72164,7 +72177,7 @@
|
|
|
72164
72177
|
var t = function() {
|
|
72165
72178
|
if (oF) return oL;
|
|
72166
72179
|
oF = 1;
|
|
72167
|
-
var t =
|
|
72180
|
+
var t = ce(), r = function() {
|
|
72168
72181
|
if (oT) return oE;
|
|
72169
72182
|
oT = 1;
|
|
72170
72183
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -72198,7 +72211,7 @@
|
|
|
72198
72211
|
return function() {
|
|
72199
72212
|
return t;
|
|
72200
72213
|
};
|
|
72201
|
-
}), r =
|
|
72214
|
+
}), r = sH(), o = ce();
|
|
72202
72215
|
return oj = r ? function(o, n) {
|
|
72203
72216
|
return r(o, "toString", {
|
|
72204
72217
|
configurable: !0,
|
|
@@ -72230,7 +72243,7 @@
|
|
|
72230
72243
|
}(), r = function() {
|
|
72231
72244
|
if (oz) return oN;
|
|
72232
72245
|
oz = 1;
|
|
72233
|
-
var t = o7(), r =
|
|
72246
|
+
var t = o7(), r = s5(), o = s7(), n = o1();
|
|
72234
72247
|
return oN = function(i, a, s) {
|
|
72235
72248
|
if (!n(s)) return !1;
|
|
72236
72249
|
var c = typeof a;
|
|
@@ -72251,7 +72264,7 @@
|
|
|
72251
72264
|
t(r, o, n);
|
|
72252
72265
|
});
|
|
72253
72266
|
}();
|
|
72254
|
-
let
|
|
72267
|
+
let ct = {
|
|
72255
72268
|
data: {
|
|
72256
72269
|
country: "vn",
|
|
72257
72270
|
settings: {
|
|
@@ -72402,12 +72415,12 @@
|
|
|
72402
72415
|
}
|
|
72403
72416
|
}
|
|
72404
72417
|
};
|
|
72405
|
-
let { DesignToken:
|
|
72406
|
-
|
|
72407
|
-
let { DesignToken:
|
|
72408
|
-
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary,
|
|
72409
|
-
let { DesignToken:
|
|
72410
|
-
|
|
72418
|
+
let { DesignToken: cr } = ra$1;
|
|
72419
|
+
cr.Color.separators.secondary, cr.Color.semantic.error[400], cr.Color.content.primary, cr.Typography.h5.fontSize, cr.Typography.h5.fontWeight, cr.Typography.h5.lineHeight, cr.Color.content.primary, cr.Typography.h6.fontSize, cr.FontWeight["semi-bold"], cr.Color.background.secondary, cr.BorderWidth.base, cr.Color.separators.tertiary, cr.Color.content.primary, cr.Typography.h6.fontSize, cr.FontWeight["semi-bold"], cr.Color.background.secondary, cr.BorderWidth.base, cr.Color.separators.tertiary, cr.Color.content["on-bg-color"], cr.Typography.label.fontSize, cr.Typography.label.fontWeight, cr.Color.blue[900], cr.Color.content["on-bg-color"], cr.Typography.label.fontSize, cr.Typography.label.fontWeight, cr.Color.semantic.error[400], cr.Typography.body.fontSize, cr.Typography.body.fontWeight, cr.Color.blue[900], cr.Color.blue[100], cr.Color.blue[900], cr.Typography.body.fontSize, cr.FontWeight["semi-bold"];
|
|
72420
|
+
let { DesignToken: co } = ra$1;
|
|
72421
|
+
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary, co.Color.semantic.error[400], co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.semantic.error[400], co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.blue[900], co.Color.neutral[300], co.Color.semantic.error[400], co.Color.content.primary, co.Typography.body.fontSize, co.Typography.body.fontWeight, co.Color.blue[900], co.Color.separators.tertiary;
|
|
72422
|
+
let { DesignToken: cn } = ra$1;
|
|
72423
|
+
cn.Color.content["on-bg-color"], cn.Typography.label.fontSize, cn.Typography.label.fontWeight, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Spacing.base, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.CornerRadius.sm, ra$1.DesignToken.Color.mask[70], ra$1.DesignToken.Typography.h6, ra$1.DesignToken.FontWeight["semi-bold"], ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.secondary, ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.base.white, ra$1.DesignToken.Color.base.blue, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], ra$1.DesignToken.Typography.body, ra$1.DesignToken.Color.content.primary, ra$1.DesignToken.Color.background.tertiary, ra$1.DesignToken.CornerRadius.xs, ra$1.DesignToken.Height["3xl"], PropTypes.shape({}), PropTypes.shape({}), PropTypes.func, PropTypes.shape({}), PropTypes.func, PropTypes.func, PropTypes.func, PropTypes.arrayOf(PropTypes.shape({
|
|
72411
72424
|
scannerType: PropTypes.string
|
|
72412
72425
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
|
|
72413
72426
|
|
|
@@ -76624,8 +76637,7 @@
|
|
|
76624
76637
|
if (refVideoPlayed.current) return ()=>{};
|
|
76625
76638
|
if (!navigator.mediaDevices || libExports.browserName && [
|
|
76626
76639
|
'facebook'
|
|
76627
|
-
].includes(libExports.browserName.toLowerCase())
|
|
76628
|
-
) {
|
|
76640
|
+
].includes(libExports.browserName.toLowerCase())) {
|
|
76629
76641
|
setErrorMsg(t('not_supported'));
|
|
76630
76642
|
onError(Errors$9.not_supported);
|
|
76631
76643
|
} else if (videoEl) {
|
|
@@ -86954,7 +86966,7 @@
|
|
|
86954
86966
|
table-layout: auto;
|
|
86955
86967
|
border-collapse: collapse;
|
|
86956
86968
|
`;
|
|
86957
|
-
const ChildrenWrapper$
|
|
86969
|
+
const ChildrenWrapper$2 = dt$1.div`
|
|
86958
86970
|
position: relative;
|
|
86959
86971
|
`;
|
|
86960
86972
|
const rows = Array.from(Array(3).keys());
|
|
@@ -86986,7 +86998,7 @@
|
|
|
86986
86998
|
height: isCenteredCell ? height : 'auto',
|
|
86987
86999
|
...!isCenteredCell ? surroundStyle : {}
|
|
86988
87000
|
},
|
|
86989
|
-
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$
|
|
87001
|
+
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
|
|
86990
87002
|
style: {
|
|
86991
87003
|
width: cellWidth,
|
|
86992
87004
|
height
|
|
@@ -88812,6 +88824,97 @@
|
|
|
88812
88824
|
};
|
|
88813
88825
|
};
|
|
88814
88826
|
|
|
88827
|
+
/**
|
|
88828
|
+
* Custom hook to delay rendering when transitioning from hidden to visible state.
|
|
88829
|
+
* Useful for waiting for browser dimension updates after orientation changes.
|
|
88830
|
+
*
|
|
88831
|
+
* @param params - Hook parameters
|
|
88832
|
+
* @param params.isVisible - Whether the component is currently visible
|
|
88833
|
+
* @param params.enableDelay - Whether to apply delay logic for show transitions
|
|
88834
|
+
* @param params.delayMs - Delay in milliseconds before showing (default: 500)
|
|
88835
|
+
* @returns Delayed visibility state
|
|
88836
|
+
*/ function useDelayedRender({ isVisible, enableDelay, delayMs = 500 }) {
|
|
88837
|
+
const [isVisibleDelayed, setIsVisibleDelayed] = reactExports.useState(isVisible);
|
|
88838
|
+
const prevIsVisibleRef = reactExports.useRef(isVisible);
|
|
88839
|
+
const timeoutRef = reactExports.useRef(null);
|
|
88840
|
+
reactExports.useEffect(()=>{
|
|
88841
|
+
const prevIsVisible = prevIsVisibleRef.current;
|
|
88842
|
+
// When delay is disabled, always sync immediately
|
|
88843
|
+
if (!enableDelay) {
|
|
88844
|
+
setIsVisibleDelayed(isVisible);
|
|
88845
|
+
prevIsVisibleRef.current = isVisible;
|
|
88846
|
+
return undefined;
|
|
88847
|
+
}
|
|
88848
|
+
// Handle transitions when delay is enabled
|
|
88849
|
+
const isTransitionToShow = !prevIsVisible && isVisible;
|
|
88850
|
+
const isTransitionToHide = prevIsVisible && !isVisible;
|
|
88851
|
+
if (isTransitionToShow) {
|
|
88852
|
+
// Delay showing when transitioning from hidden to visible
|
|
88853
|
+
timeoutRef.current = setTimeout(()=>{
|
|
88854
|
+
setIsVisibleDelayed(true);
|
|
88855
|
+
}, delayMs);
|
|
88856
|
+
} else if (isTransitionToHide) {
|
|
88857
|
+
// Immediately hide and cancel pending show
|
|
88858
|
+
if (timeoutRef.current) {
|
|
88859
|
+
clearTimeout(timeoutRef.current);
|
|
88860
|
+
timeoutRef.current = null;
|
|
88861
|
+
}
|
|
88862
|
+
setIsVisibleDelayed(false);
|
|
88863
|
+
}
|
|
88864
|
+
prevIsVisibleRef.current = isVisible;
|
|
88865
|
+
return ()=>{
|
|
88866
|
+
if (timeoutRef.current) {
|
|
88867
|
+
clearTimeout(timeoutRef.current);
|
|
88868
|
+
}
|
|
88869
|
+
};
|
|
88870
|
+
}, [
|
|
88871
|
+
isVisible,
|
|
88872
|
+
enableDelay,
|
|
88873
|
+
delayMs
|
|
88874
|
+
]);
|
|
88875
|
+
return isVisibleDelayed;
|
|
88876
|
+
}
|
|
88877
|
+
|
|
88878
|
+
const PopupContent$1 = dt$1.div`
|
|
88879
|
+
text-align: center;
|
|
88880
|
+
font-size: 20px;
|
|
88881
|
+
font-weight: 600;
|
|
88882
|
+
`;
|
|
88883
|
+
const ChildrenWrapper$1 = dt$1.div`
|
|
88884
|
+
width: 100%;
|
|
88885
|
+
height: 100%;
|
|
88886
|
+
opacity: ${({ $showChildren })=>$showChildren ? 1 : 0};
|
|
88887
|
+
`;
|
|
88888
|
+
const defaultPreferredOrientations = [
|
|
88889
|
+
MODE.PORTRAIT,
|
|
88890
|
+
MODE.DESKTOP
|
|
88891
|
+
];
|
|
88892
|
+
function OrientationDetectionV2({ onOrientationChange = noop$1, unmountOnHidden = false, remountDelayMs = 500, preferredOrientations = defaultPreferredOrientations, children }) {
|
|
88893
|
+
const t = gB();
|
|
88894
|
+
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88895
|
+
const hasCorrectOrientation = preferredOrientations.includes(curOrientation);
|
|
88896
|
+
const isVisible = useDelayedRender({
|
|
88897
|
+
isVisible: hasCorrectOrientation,
|
|
88898
|
+
enableDelay: unmountOnHidden,
|
|
88899
|
+
delayMs: remountDelayMs
|
|
88900
|
+
});
|
|
88901
|
+
const shouldMountChildrenOnDom = unmountOnHidden ? isVisible : true;
|
|
88902
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
88903
|
+
children: [
|
|
88904
|
+
!preferredOrientations.includes(curOrientation) && /*#__PURE__*/ jsxRuntimeExports.jsx(PopupComponent, {
|
|
88905
|
+
open: true,
|
|
88906
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(PopupContent$1, {
|
|
88907
|
+
children: t('wrong_orientation')
|
|
88908
|
+
})
|
|
88909
|
+
}),
|
|
88910
|
+
shouldMountChildrenOnDom && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
|
|
88911
|
+
$showChildren: hasCorrectOrientation,
|
|
88912
|
+
children: children
|
|
88913
|
+
})
|
|
88914
|
+
]
|
|
88915
|
+
});
|
|
88916
|
+
}
|
|
88917
|
+
|
|
88815
88918
|
const PopupContent = dt$1.div`
|
|
88816
88919
|
text-align: center;
|
|
88817
88920
|
font-size: 20px;
|
|
@@ -88823,7 +88926,7 @@
|
|
|
88823
88926
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88824
88927
|
`;
|
|
88825
88928
|
// eslint-disable-next-line react/require-default-props
|
|
88826
|
-
function
|
|
88929
|
+
function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
|
|
88827
88930
|
const t = gB();
|
|
88828
88931
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88829
88932
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88835,22 +88938,35 @@
|
|
|
88835
88938
|
children: t('wrong_orientation')
|
|
88836
88939
|
})
|
|
88837
88940
|
}),
|
|
88838
|
-
(
|
|
88941
|
+
(unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88839
88942
|
showChildren: shouldShowChildren,
|
|
88840
88943
|
children: children
|
|
88841
88944
|
})
|
|
88842
88945
|
]
|
|
88843
88946
|
});
|
|
88844
88947
|
}
|
|
88845
|
-
|
|
88948
|
+
OrientationDetectionV1.defaultProps = {
|
|
88846
88949
|
onOrientationChange: ()=>{},
|
|
88847
|
-
|
|
88950
|
+
unmountOnHidden: false
|
|
88848
88951
|
};
|
|
88849
|
-
|
|
88952
|
+
OrientationDetectionV1.propTypes = {
|
|
88850
88953
|
onOrientationChange: PropTypes.func,
|
|
88851
|
-
|
|
88954
|
+
unmountOnHidden: PropTypes.bool
|
|
88852
88955
|
};
|
|
88853
88956
|
|
|
88957
|
+
function OrientationDetection({ version = 'v1', children, ...rest }) {
|
|
88958
|
+
if (version === 'v2') {
|
|
88959
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV2, {
|
|
88960
|
+
...rest,
|
|
88961
|
+
children: children
|
|
88962
|
+
});
|
|
88963
|
+
}
|
|
88964
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV1, {
|
|
88965
|
+
...rest,
|
|
88966
|
+
children: children
|
|
88967
|
+
});
|
|
88968
|
+
}
|
|
88969
|
+
|
|
88854
88970
|
const useEkycSession = ()=>{
|
|
88855
88971
|
const [sessionId, setSessionId] = reactExports.useState(Date.now());
|
|
88856
88972
|
const updateSessionId = reactExports.useCallback(()=>{
|
|
@@ -115493,7 +115609,8 @@
|
|
|
115493
115609
|
function ReadIDCardUIOnly(props) {
|
|
115494
115610
|
const { steps = defaultTCBReadIDCardSteps } = props;
|
|
115495
115611
|
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetection, {
|
|
115496
|
-
|
|
115612
|
+
version: "v2",
|
|
115613
|
+
unmountOnHidden: true,
|
|
115497
115614
|
children: /*#__PURE__*/ jsxRuntimeExports.jsx(ReadIDCardUIOnly$2, {
|
|
115498
115615
|
...props,
|
|
115499
115616
|
uiOnlyComponent: ReadIDCardUIOnly$1,
|
|
@@ -116238,7 +116355,7 @@
|
|
|
116238
116355
|
display: ${f0.getTheme('closeButton.display')};
|
|
116239
116356
|
`;
|
|
116240
116357
|
|
|
116241
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/0.0.0-beta.
|
|
116358
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.tcli/0.0.0-beta.20260106-111700/assets";
|
|
116242
116359
|
class TVWebSDK extends gU {
|
|
116243
116360
|
constructor(props){
|
|
116244
116361
|
super({
|
|
@@ -116301,8 +116418,8 @@
|
|
|
116301
116418
|
exports.SDK = TVWebSDK;
|
|
116302
116419
|
exports.SDKAdapter = gV;
|
|
116303
116420
|
exports.ScannerType = iI;
|
|
116304
|
-
exports.defaultClientSettings =
|
|
116305
|
-
exports.defaultReadIDCardSteps =
|
|
116421
|
+
exports.defaultClientSettings = ct;
|
|
116422
|
+
exports.defaultReadIDCardSteps = sX;
|
|
116306
116423
|
exports.getSDKVersion = nB$1;
|
|
116307
116424
|
|
|
116308
116425
|
}));
|