@tsocial/tvweb-sdk 5.34.2 → 5.34.4
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 +93 -77
- package/build/tvweb-sdk.esm.min.js +93 -77
- package/build/tvweb-sdk.standalone.js +750 -635
- package/build/tvweb-sdk.standalone.min.js +93 -77
- package/build/types/index.d.ts +14 -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 "5.34.
|
|
33786
|
+
return "5.34.4";
|
|
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,55 +41259,55 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
|
|
41263
|
-
let r = d_();
|
|
41264
|
-
return (dm = function(e, t) {
|
|
41265
|
-
return r[e -= 132];
|
|
41266
|
-
})(e, t);
|
|
41267
|
-
}
|
|
41268
|
-
let dg = dm, dy = dm, db = d_();
|
|
41262
|
+
let dm = db, dg = db, dy = dx();
|
|
41269
41263
|
for(;;)try {
|
|
41270
|
-
if (parseInt(
|
|
41271
|
-
|
|
41264
|
+
if (parseInt(dg(458)) / 1 * (parseInt(dg(480)) / 2) + -parseInt(dg(455)) / 3 * (-parseInt(dg(457)) / 4) + -parseInt(dg(471)) / 5 + -parseInt(dg(465)) / 6 + parseInt(dg(463)) / 7 * (-parseInt(dg(477)) / 8) + -parseInt(dg(460)) / 9 * (parseInt(dg(468)) / 10) + -parseInt(dg(476)) / 11 * (-parseInt(dg(473)) / 12) === 233663) break;
|
|
41265
|
+
dy.push(dy.shift());
|
|
41272
41266
|
} catch (e) {
|
|
41273
|
-
|
|
41267
|
+
dy.push(dy.shift());
|
|
41268
|
+
}
|
|
41269
|
+
function db(e, t) {
|
|
41270
|
+
let r = dx();
|
|
41271
|
+
return (db = function(e, t) {
|
|
41272
|
+
return r[e -= 454];
|
|
41273
|
+
})(e, t);
|
|
41274
41274
|
}
|
|
41275
|
-
let dv = "
|
|
41276
|
-
function
|
|
41275
|
+
let dv = dm(462) + dm(467) + dm(479) + dm(459) + "0301070342" + dm(472), d_ = dm(474) + dm(466) + dm(456) + dm(478) + dm(454) + "ytJdcsPxrD" + dm(461) + dm(464) + "Mjci1ul8mm" + dm(475) + dm(481) + dm(470) + dm(469);
|
|
41276
|
+
function dx() {
|
|
41277
41277
|
let e = [
|
|
41278
|
+
"D9EKOWS+U4",
|
|
41279
|
+
"4532icGLnQ",
|
|
41280
|
+
"18448xyLlKj",
|
|
41281
|
+
"cDQgAE9h6Z",
|
|
41282
|
+
"3d02010608",
|
|
41283
|
+
"204126ixklsL",
|
|
41284
|
+
"MfPrcYTM70",
|
|
41278
41285
|
"DepBO8t60S",
|
|
41286
|
+
"87nmVtHP",
|
|
41287
|
+
"KoZIzj0DAQ",
|
|
41288
|
+
"55712UVQONf",
|
|
41289
|
+
"2EfgRUw",
|
|
41290
|
+
"2a8648ce3d",
|
|
41291
|
+
"136242zgynFf",
|
|
41279
41292
|
"+faHkP3QC3",
|
|
41280
|
-
"
|
|
41281
|
-
"
|
|
41282
|
-
"
|
|
41283
|
-
"
|
|
41284
|
-
"307984TfAgvv",
|
|
41285
|
-
"1093680AINEzz",
|
|
41286
|
-
"MFkwEwYHKo",
|
|
41287
|
-
"141ReoysE",
|
|
41288
|
-
"11VpLjnk",
|
|
41293
|
+
"3059301306",
|
|
41294
|
+
"553JRucLG",
|
|
41295
|
+
"44P0rKKsZK",
|
|
41296
|
+
"879336fcuqSw",
|
|
41289
41297
|
"ZIzj0CAQYI",
|
|
41290
|
-
"357620EnNCAn",
|
|
41291
|
-
"2a8648ce3d",
|
|
41292
|
-
"ytJdcsPxrD",
|
|
41293
|
-
"7698TiAaFt",
|
|
41294
|
-
"20wWFtwC",
|
|
41295
|
-
"4767024oXzIYB",
|
|
41296
|
-
"ssRdXLZEX8",
|
|
41297
41298
|
"072a8648ce",
|
|
41298
|
-
"
|
|
41299
|
-
"D9EKOWS+U4",
|
|
41300
|
-
"3d02010608",
|
|
41299
|
+
"20JpJYZN",
|
|
41301
41300
|
"KA==",
|
|
41302
|
-
"
|
|
41303
|
-
"
|
|
41304
|
-
"
|
|
41301
|
+
"ssRdXLZEX8",
|
|
41302
|
+
"241645RDykmR",
|
|
41303
|
+
"000",
|
|
41304
|
+
"960aXGJaK",
|
|
41305
|
+
"MFkwEwYHKo"
|
|
41305
41306
|
];
|
|
41306
|
-
return (
|
|
41307
|
+
return (dx = function() {
|
|
41307
41308
|
return e;
|
|
41308
41309
|
})();
|
|
41309
41310
|
}
|
|
41310
|
-
let dx = dg(144) + dg(147) + "KoZIzj0DAQ" + dg(134) + dg(136) + dg(150) + dg(137) + dg(133) + dg(156) + dg(157) + "MfPrcYTM70" + dg(154) + dg(132);
|
|
41311
41311
|
async function dC(e) {
|
|
41312
41312
|
let t = new TextEncoder().encode(e);
|
|
41313
41313
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41412,7 +41412,7 @@
|
|
|
41412
41412
|
isValid: !1,
|
|
41413
41413
|
error: i0$1.invalid_license
|
|
41414
41414
|
};
|
|
41415
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t ||
|
|
41415
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || d_, n = i4$1(r).replace(dv, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41416
41416
|
verifySignature: async (e, t)=>{
|
|
41417
41417
|
try {
|
|
41418
41418
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45326,7 +45326,7 @@
|
|
|
45326
45326
|
return this.getKey().getPublicKey();
|
|
45327
45327
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45328
45328
|
return this.getKey().getPublicBaseKeyB64();
|
|
45329
|
-
}, e.version = "5.34.
|
|
45329
|
+
}, e.version = "5.34.3", e;
|
|
45330
45330
|
}();
|
|
45331
45331
|
let hO = [
|
|
45332
45332
|
"-",
|
|
@@ -53109,7 +53109,7 @@
|
|
|
53109
53109
|
});
|
|
53110
53110
|
};
|
|
53111
53111
|
|
|
53112
|
-
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu,
|
|
53112
|
+
var Z, K, Y, J, ee, et, er, eo, en, 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 : {};
|
|
53113
53113
|
function oX(t) {
|
|
53114
53114
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53115
53115
|
}
|
|
@@ -53188,7 +53188,7 @@
|
|
|
53188
53188
|
};
|
|
53189
53189
|
}
|
|
53190
53190
|
function o5() {
|
|
53191
|
-
return
|
|
53191
|
+
return ep ? ef : (ep = 1, ef = function(t) {
|
|
53192
53192
|
return null != t && "object" == typeof t;
|
|
53193
53193
|
});
|
|
53194
53194
|
}
|
|
@@ -53420,10 +53420,10 @@
|
|
|
53420
53420
|
return t(this, r).get(r);
|
|
53421
53421
|
};
|
|
53422
53422
|
}(), n = function() {
|
|
53423
|
-
if (
|
|
53424
|
-
|
|
53423
|
+
if (tp) return tf;
|
|
53424
|
+
tp = 1;
|
|
53425
53425
|
var t = nr();
|
|
53426
|
-
return
|
|
53426
|
+
return tf = function(r) {
|
|
53427
53427
|
return t(this, r).has(r);
|
|
53428
53428
|
};
|
|
53429
53429
|
}(), i = function() {
|
|
@@ -53566,16 +53566,16 @@
|
|
|
53566
53566
|
function nc(t, r) {
|
|
53567
53567
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53568
53568
|
}
|
|
53569
|
-
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted",
|
|
53569
|
+
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
|
|
53570
53570
|
function o(t, o) {
|
|
53571
53571
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53572
|
-
return i.appearStatus = null, t.in ? a ? (n =
|
|
53572
|
+
return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
|
|
53573
53573
|
status: n
|
|
53574
53574
|
}, i.nextCallback = null, i;
|
|
53575
53575
|
}
|
|
53576
53576
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53577
53577
|
return t.in && r.status === nu ? {
|
|
53578
|
-
status:
|
|
53578
|
+
status: nf
|
|
53579
53579
|
} : null;
|
|
53580
53580
|
};
|
|
53581
53581
|
var n = o.prototype;
|
|
@@ -53585,7 +53585,7 @@
|
|
|
53585
53585
|
var r = null;
|
|
53586
53586
|
if (t !== this.props) {
|
|
53587
53587
|
var o = this.state.status;
|
|
53588
|
-
this.props.in ? o !==
|
|
53588
|
+
this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
|
|
53589
53589
|
}
|
|
53590
53590
|
this.updateStatus(!1, r);
|
|
53591
53591
|
}, n.componentWillUnmount = function() {
|
|
@@ -53598,7 +53598,7 @@
|
|
|
53598
53598
|
appear: o
|
|
53599
53599
|
};
|
|
53600
53600
|
}, n.updateStatus = function(t, r) {
|
|
53601
|
-
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r ===
|
|
53601
|
+
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({
|
|
53602
53602
|
status: nu
|
|
53603
53603
|
});
|
|
53604
53604
|
}, n.performEnter = function(t) {
|
|
@@ -53609,7 +53609,7 @@
|
|
|
53609
53609
|
n
|
|
53610
53610
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53611
53611
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53612
|
-
status:
|
|
53612
|
+
status: np
|
|
53613
53613
|
}, function() {
|
|
53614
53614
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53615
53615
|
r.safeSetState({
|
|
@@ -53626,7 +53626,7 @@
|
|
|
53626
53626
|
}, n.performExit = function() {
|
|
53627
53627
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53628
53628
|
!r || nl ? this.safeSetState({
|
|
53629
|
-
status:
|
|
53629
|
+
status: nf
|
|
53630
53630
|
}, function() {
|
|
53631
53631
|
t.props.onExited(n);
|
|
53632
53632
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53634,7 +53634,7 @@
|
|
|
53634
53634
|
}, function() {
|
|
53635
53635
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53636
53636
|
t.safeSetState({
|
|
53637
|
-
status:
|
|
53637
|
+
status: nf
|
|
53638
53638
|
}, function() {
|
|
53639
53639
|
t.props.onExited(n);
|
|
53640
53640
|
});
|
|
@@ -53707,7 +53707,7 @@
|
|
|
53707
53707
|
onExit: nb,
|
|
53708
53708
|
onExiting: nb,
|
|
53709
53709
|
onExited: nb
|
|
53710
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53710
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53711
53711
|
var nv = function(t, r) {
|
|
53712
53712
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53713
53713
|
var o, n;
|
|
@@ -53802,7 +53802,7 @@
|
|
|
53802
53802
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53803
53803
|
in: !1,
|
|
53804
53804
|
onExited: nC(o, "onExited", function() {
|
|
53805
|
-
n(
|
|
53805
|
+
n(np, null);
|
|
53806
53806
|
})
|
|
53807
53807
|
});
|
|
53808
53808
|
}, tL[ny] = function(r) {
|
|
@@ -53812,7 +53812,7 @@
|
|
|
53812
53812
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53813
53813
|
in: !0,
|
|
53814
53814
|
onEntered: nC(i, "onEntered", function() {
|
|
53815
|
-
n(
|
|
53815
|
+
n(np);
|
|
53816
53816
|
})
|
|
53817
53817
|
})
|
|
53818
53818
|
];
|
|
@@ -53865,8 +53865,8 @@
|
|
|
53865
53865
|
if (null == r.children) return {
|
|
53866
53866
|
current: null
|
|
53867
53867
|
};
|
|
53868
|
-
if (o.status ===
|
|
53869
|
-
status:
|
|
53868
|
+
if (o.status === np && r.mode === ny) return {
|
|
53869
|
+
status: np
|
|
53870
53870
|
};
|
|
53871
53871
|
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) ? {
|
|
53872
53872
|
status: nm
|
|
@@ -53883,7 +53883,7 @@
|
|
|
53883
53883
|
status: s
|
|
53884
53884
|
};
|
|
53885
53885
|
switch(s){
|
|
53886
|
-
case
|
|
53886
|
+
case np:
|
|
53887
53887
|
r = n_[i](l);
|
|
53888
53888
|
break;
|
|
53889
53889
|
case nm:
|
|
@@ -53913,7 +53913,7 @@
|
|
|
53913
53913
|
var t, r;
|
|
53914
53914
|
if (tN) return nS.exports;
|
|
53915
53915
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53916
|
-
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name",
|
|
53916
|
+
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) {
|
|
53917
53917
|
var o = {};
|
|
53918
53918
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53919
53919
|
return o;
|
|
@@ -53928,9 +53928,9 @@
|
|
|
53928
53928
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53929
53929
|
}, X = function(t, r) {
|
|
53930
53930
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53931
|
-
var
|
|
53932
|
-
for(o = n = 0; o <
|
|
53933
|
-
if (l =
|
|
53931
|
+
var f = r[u], p = r[u + 1];
|
|
53932
|
+
for(o = n = 0; o < f.length && !l && f[o];){
|
|
53933
|
+
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;
|
|
53934
53934
|
}
|
|
53935
53935
|
u += 2;
|
|
53936
53936
|
}
|
|
@@ -54514,11 +54514,11 @@
|
|
|
54514
54514
|
[
|
|
54515
54515
|
d,
|
|
54516
54516
|
[
|
|
54517
|
-
|
|
54517
|
+
p,
|
|
54518
54518
|
O
|
|
54519
54519
|
],
|
|
54520
54520
|
[
|
|
54521
|
-
|
|
54521
|
+
f,
|
|
54522
54522
|
v
|
|
54523
54523
|
]
|
|
54524
54524
|
],
|
|
@@ -54530,11 +54530,11 @@
|
|
|
54530
54530
|
[
|
|
54531
54531
|
d,
|
|
54532
54532
|
[
|
|
54533
|
-
|
|
54533
|
+
p,
|
|
54534
54534
|
O
|
|
54535
54535
|
],
|
|
54536
54536
|
[
|
|
54537
|
-
|
|
54537
|
+
f,
|
|
54538
54538
|
b
|
|
54539
54539
|
]
|
|
54540
54540
|
],
|
|
@@ -54544,11 +54544,11 @@
|
|
|
54544
54544
|
[
|
|
54545
54545
|
d,
|
|
54546
54546
|
[
|
|
54547
|
-
|
|
54547
|
+
p,
|
|
54548
54548
|
B
|
|
54549
54549
|
],
|
|
54550
54550
|
[
|
|
54551
|
-
|
|
54551
|
+
f,
|
|
54552
54552
|
b
|
|
54553
54553
|
]
|
|
54554
54554
|
],
|
|
@@ -54560,11 +54560,11 @@
|
|
|
54560
54560
|
[
|
|
54561
54561
|
d,
|
|
54562
54562
|
[
|
|
54563
|
-
|
|
54563
|
+
p,
|
|
54564
54564
|
B
|
|
54565
54565
|
],
|
|
54566
54566
|
[
|
|
54567
|
-
|
|
54567
|
+
f,
|
|
54568
54568
|
v
|
|
54569
54569
|
]
|
|
54570
54570
|
],
|
|
@@ -54574,7 +54574,7 @@
|
|
|
54574
54574
|
[
|
|
54575
54575
|
d,
|
|
54576
54576
|
[
|
|
54577
|
-
|
|
54577
|
+
p,
|
|
54578
54578
|
B
|
|
54579
54579
|
]
|
|
54580
54580
|
],
|
|
@@ -54584,11 +54584,11 @@
|
|
|
54584
54584
|
[
|
|
54585
54585
|
d,
|
|
54586
54586
|
[
|
|
54587
|
-
|
|
54587
|
+
p,
|
|
54588
54588
|
M
|
|
54589
54589
|
],
|
|
54590
54590
|
[
|
|
54591
|
-
|
|
54591
|
+
f,
|
|
54592
54592
|
b
|
|
54593
54593
|
]
|
|
54594
54594
|
],
|
|
@@ -54598,11 +54598,11 @@
|
|
|
54598
54598
|
[
|
|
54599
54599
|
d,
|
|
54600
54600
|
[
|
|
54601
|
-
|
|
54601
|
+
p,
|
|
54602
54602
|
D
|
|
54603
54603
|
],
|
|
54604
54604
|
[
|
|
54605
|
-
|
|
54605
|
+
f,
|
|
54606
54606
|
v
|
|
54607
54607
|
]
|
|
54608
54608
|
],
|
|
@@ -54613,11 +54613,11 @@
|
|
|
54613
54613
|
[
|
|
54614
54614
|
d,
|
|
54615
54615
|
[
|
|
54616
|
-
|
|
54616
|
+
p,
|
|
54617
54617
|
D
|
|
54618
54618
|
],
|
|
54619
54619
|
[
|
|
54620
|
-
|
|
54620
|
+
f,
|
|
54621
54621
|
b
|
|
54622
54622
|
]
|
|
54623
54623
|
],
|
|
@@ -54636,11 +54636,11 @@
|
|
|
54636
54636
|
" "
|
|
54637
54637
|
],
|
|
54638
54638
|
[
|
|
54639
|
-
|
|
54639
|
+
p,
|
|
54640
54640
|
R
|
|
54641
54641
|
],
|
|
54642
54642
|
[
|
|
54643
|
-
|
|
54643
|
+
f,
|
|
54644
54644
|
b
|
|
54645
54645
|
]
|
|
54646
54646
|
],
|
|
@@ -54655,11 +54655,11 @@
|
|
|
54655
54655
|
" "
|
|
54656
54656
|
],
|
|
54657
54657
|
[
|
|
54658
|
-
|
|
54658
|
+
p,
|
|
54659
54659
|
R
|
|
54660
54660
|
],
|
|
54661
54661
|
[
|
|
54662
|
-
|
|
54662
|
+
f,
|
|
54663
54663
|
v
|
|
54664
54664
|
]
|
|
54665
54665
|
],
|
|
@@ -54670,11 +54670,11 @@
|
|
|
54670
54670
|
[
|
|
54671
54671
|
d,
|
|
54672
54672
|
[
|
|
54673
|
-
|
|
54673
|
+
p,
|
|
54674
54674
|
"OPPO"
|
|
54675
54675
|
],
|
|
54676
54676
|
[
|
|
54677
|
-
|
|
54677
|
+
f,
|
|
54678
54678
|
b
|
|
54679
54679
|
]
|
|
54680
54680
|
],
|
|
@@ -54685,11 +54685,11 @@
|
|
|
54685
54685
|
[
|
|
54686
54686
|
d,
|
|
54687
54687
|
[
|
|
54688
|
-
|
|
54688
|
+
p,
|
|
54689
54689
|
"Vivo"
|
|
54690
54690
|
],
|
|
54691
54691
|
[
|
|
54692
|
-
|
|
54692
|
+
f,
|
|
54693
54693
|
b
|
|
54694
54694
|
]
|
|
54695
54695
|
],
|
|
@@ -54699,11 +54699,11 @@
|
|
|
54699
54699
|
[
|
|
54700
54700
|
d,
|
|
54701
54701
|
[
|
|
54702
|
-
|
|
54702
|
+
p,
|
|
54703
54703
|
"Realme"
|
|
54704
54704
|
],
|
|
54705
54705
|
[
|
|
54706
|
-
|
|
54706
|
+
f,
|
|
54707
54707
|
b
|
|
54708
54708
|
]
|
|
54709
54709
|
],
|
|
@@ -54715,11 +54715,11 @@
|
|
|
54715
54715
|
[
|
|
54716
54716
|
d,
|
|
54717
54717
|
[
|
|
54718
|
-
|
|
54718
|
+
p,
|
|
54719
54719
|
j
|
|
54720
54720
|
],
|
|
54721
54721
|
[
|
|
54722
|
-
|
|
54722
|
+
f,
|
|
54723
54723
|
b
|
|
54724
54724
|
]
|
|
54725
54725
|
],
|
|
@@ -54729,11 +54729,11 @@
|
|
|
54729
54729
|
[
|
|
54730
54730
|
d,
|
|
54731
54731
|
[
|
|
54732
|
-
|
|
54732
|
+
p,
|
|
54733
54733
|
j
|
|
54734
54734
|
],
|
|
54735
54735
|
[
|
|
54736
|
-
|
|
54736
|
+
f,
|
|
54737
54737
|
v
|
|
54738
54738
|
]
|
|
54739
54739
|
],
|
|
@@ -54743,11 +54743,11 @@
|
|
|
54743
54743
|
[
|
|
54744
54744
|
d,
|
|
54745
54745
|
[
|
|
54746
|
-
|
|
54746
|
+
p,
|
|
54747
54747
|
"LG"
|
|
54748
54748
|
],
|
|
54749
54749
|
[
|
|
54750
|
-
|
|
54750
|
+
f,
|
|
54751
54751
|
v
|
|
54752
54752
|
]
|
|
54753
54753
|
],
|
|
@@ -54759,11 +54759,11 @@
|
|
|
54759
54759
|
[
|
|
54760
54760
|
d,
|
|
54761
54761
|
[
|
|
54762
|
-
|
|
54762
|
+
p,
|
|
54763
54763
|
"LG"
|
|
54764
54764
|
],
|
|
54765
54765
|
[
|
|
54766
|
-
|
|
54766
|
+
f,
|
|
54767
54767
|
b
|
|
54768
54768
|
]
|
|
54769
54769
|
],
|
|
@@ -54774,11 +54774,11 @@
|
|
|
54774
54774
|
[
|
|
54775
54775
|
d,
|
|
54776
54776
|
[
|
|
54777
|
-
|
|
54777
|
+
p,
|
|
54778
54778
|
"Lenovo"
|
|
54779
54779
|
],
|
|
54780
54780
|
[
|
|
54781
|
-
|
|
54781
|
+
f,
|
|
54782
54782
|
v
|
|
54783
54783
|
]
|
|
54784
54784
|
],
|
|
@@ -54793,11 +54793,11 @@
|
|
|
54793
54793
|
" "
|
|
54794
54794
|
],
|
|
54795
54795
|
[
|
|
54796
|
-
|
|
54796
|
+
p,
|
|
54797
54797
|
"Nokia"
|
|
54798
54798
|
],
|
|
54799
54799
|
[
|
|
54800
|
-
|
|
54800
|
+
f,
|
|
54801
54801
|
b
|
|
54802
54802
|
]
|
|
54803
54803
|
],
|
|
@@ -54807,11 +54807,11 @@
|
|
|
54807
54807
|
[
|
|
54808
54808
|
d,
|
|
54809
54809
|
[
|
|
54810
|
-
|
|
54810
|
+
p,
|
|
54811
54811
|
T
|
|
54812
54812
|
],
|
|
54813
54813
|
[
|
|
54814
|
-
|
|
54814
|
+
f,
|
|
54815
54815
|
v
|
|
54816
54816
|
]
|
|
54817
54817
|
],
|
|
@@ -54821,11 +54821,11 @@
|
|
|
54821
54821
|
[
|
|
54822
54822
|
d,
|
|
54823
54823
|
[
|
|
54824
|
-
|
|
54824
|
+
p,
|
|
54825
54825
|
T
|
|
54826
54826
|
],
|
|
54827
54827
|
[
|
|
54828
|
-
|
|
54828
|
+
f,
|
|
54829
54829
|
b
|
|
54830
54830
|
]
|
|
54831
54831
|
],
|
|
@@ -54835,11 +54835,11 @@
|
|
|
54835
54835
|
[
|
|
54836
54836
|
d,
|
|
54837
54837
|
[
|
|
54838
|
-
|
|
54838
|
+
p,
|
|
54839
54839
|
A
|
|
54840
54840
|
],
|
|
54841
54841
|
[
|
|
54842
|
-
|
|
54842
|
+
f,
|
|
54843
54843
|
b
|
|
54844
54844
|
]
|
|
54845
54845
|
],
|
|
@@ -54853,11 +54853,11 @@
|
|
|
54853
54853
|
"Xperia Tablet"
|
|
54854
54854
|
],
|
|
54855
54855
|
[
|
|
54856
|
-
|
|
54856
|
+
p,
|
|
54857
54857
|
A
|
|
54858
54858
|
],
|
|
54859
54859
|
[
|
|
54860
|
-
|
|
54860
|
+
f,
|
|
54861
54861
|
v
|
|
54862
54862
|
]
|
|
54863
54863
|
],
|
|
@@ -54868,11 +54868,11 @@
|
|
|
54868
54868
|
[
|
|
54869
54869
|
d,
|
|
54870
54870
|
[
|
|
54871
|
-
|
|
54871
|
+
p,
|
|
54872
54872
|
"OnePlus"
|
|
54873
54873
|
],
|
|
54874
54874
|
[
|
|
54875
|
-
|
|
54875
|
+
f,
|
|
54876
54876
|
b
|
|
54877
54877
|
]
|
|
54878
54878
|
],
|
|
@@ -54884,11 +54884,11 @@
|
|
|
54884
54884
|
[
|
|
54885
54885
|
d,
|
|
54886
54886
|
[
|
|
54887
|
-
|
|
54887
|
+
p,
|
|
54888
54888
|
C
|
|
54889
54889
|
],
|
|
54890
54890
|
[
|
|
54891
|
-
|
|
54891
|
+
f,
|
|
54892
54892
|
v
|
|
54893
54893
|
]
|
|
54894
54894
|
],
|
|
@@ -54902,11 +54902,11 @@
|
|
|
54902
54902
|
"Fire Phone $1"
|
|
54903
54903
|
],
|
|
54904
54904
|
[
|
|
54905
|
-
|
|
54905
|
+
p,
|
|
54906
54906
|
C
|
|
54907
54907
|
],
|
|
54908
54908
|
[
|
|
54909
|
-
|
|
54909
|
+
f,
|
|
54910
54910
|
b
|
|
54911
54911
|
]
|
|
54912
54912
|
],
|
|
@@ -54915,9 +54915,9 @@
|
|
|
54915
54915
|
],
|
|
54916
54916
|
[
|
|
54917
54917
|
d,
|
|
54918
|
-
|
|
54918
|
+
p,
|
|
54919
54919
|
[
|
|
54920
|
-
|
|
54920
|
+
f,
|
|
54921
54921
|
v
|
|
54922
54922
|
]
|
|
54923
54923
|
],
|
|
@@ -54928,11 +54928,11 @@
|
|
|
54928
54928
|
[
|
|
54929
54929
|
d,
|
|
54930
54930
|
[
|
|
54931
|
-
|
|
54931
|
+
p,
|
|
54932
54932
|
x
|
|
54933
54933
|
],
|
|
54934
54934
|
[
|
|
54935
|
-
|
|
54935
|
+
f,
|
|
54936
54936
|
b
|
|
54937
54937
|
]
|
|
54938
54938
|
],
|
|
@@ -54942,11 +54942,11 @@
|
|
|
54942
54942
|
[
|
|
54943
54943
|
d,
|
|
54944
54944
|
[
|
|
54945
|
-
|
|
54945
|
+
p,
|
|
54946
54946
|
_
|
|
54947
54947
|
],
|
|
54948
54948
|
[
|
|
54949
|
-
|
|
54949
|
+
f,
|
|
54950
54950
|
v
|
|
54951
54951
|
]
|
|
54952
54952
|
],
|
|
@@ -54956,11 +54956,11 @@
|
|
|
54956
54956
|
[
|
|
54957
54957
|
d,
|
|
54958
54958
|
[
|
|
54959
|
-
|
|
54959
|
+
p,
|
|
54960
54960
|
_
|
|
54961
54961
|
],
|
|
54962
54962
|
[
|
|
54963
|
-
|
|
54963
|
+
f,
|
|
54964
54964
|
b
|
|
54965
54965
|
]
|
|
54966
54966
|
],
|
|
@@ -54970,11 +54970,11 @@
|
|
|
54970
54970
|
[
|
|
54971
54971
|
d,
|
|
54972
54972
|
[
|
|
54973
|
-
|
|
54973
|
+
p,
|
|
54974
54974
|
"HTC"
|
|
54975
54975
|
],
|
|
54976
54976
|
[
|
|
54977
|
-
|
|
54977
|
+
f,
|
|
54978
54978
|
v
|
|
54979
54979
|
]
|
|
54980
54980
|
],
|
|
@@ -54984,14 +54984,14 @@
|
|
|
54984
54984
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54985
54985
|
],
|
|
54986
54986
|
[
|
|
54987
|
-
|
|
54987
|
+
p,
|
|
54988
54988
|
[
|
|
54989
54989
|
d,
|
|
54990
54990
|
/_/g,
|
|
54991
54991
|
" "
|
|
54992
54992
|
],
|
|
54993
54993
|
[
|
|
54994
|
-
|
|
54994
|
+
f,
|
|
54995
54995
|
b
|
|
54996
54996
|
]
|
|
54997
54997
|
],
|
|
@@ -55001,11 +55001,11 @@
|
|
|
55001
55001
|
[
|
|
55002
55002
|
d,
|
|
55003
55003
|
[
|
|
55004
|
-
|
|
55004
|
+
p,
|
|
55005
55005
|
"Acer"
|
|
55006
55006
|
],
|
|
55007
55007
|
[
|
|
55008
|
-
|
|
55008
|
+
f,
|
|
55009
55009
|
v
|
|
55010
55010
|
]
|
|
55011
55011
|
],
|
|
@@ -55016,11 +55016,11 @@
|
|
|
55016
55016
|
[
|
|
55017
55017
|
d,
|
|
55018
55018
|
[
|
|
55019
|
-
|
|
55019
|
+
p,
|
|
55020
55020
|
"Meizu"
|
|
55021
55021
|
],
|
|
55022
55022
|
[
|
|
55023
|
-
|
|
55023
|
+
f,
|
|
55024
55024
|
b
|
|
55025
55025
|
]
|
|
55026
55026
|
],
|
|
@@ -55030,11 +55030,11 @@
|
|
|
55030
55030
|
[
|
|
55031
55031
|
d,
|
|
55032
55032
|
[
|
|
55033
|
-
|
|
55033
|
+
p,
|
|
55034
55034
|
"Ulefone"
|
|
55035
55035
|
],
|
|
55036
55036
|
[
|
|
55037
|
-
|
|
55037
|
+
f,
|
|
55038
55038
|
b
|
|
55039
55039
|
]
|
|
55040
55040
|
],
|
|
@@ -55048,10 +55048,10 @@
|
|
|
55048
55048
|
/(oppo) ?([\w ]+) bui/i
|
|
55049
55049
|
],
|
|
55050
55050
|
[
|
|
55051
|
-
|
|
55051
|
+
p,
|
|
55052
55052
|
d,
|
|
55053
55053
|
[
|
|
55054
|
-
|
|
55054
|
+
f,
|
|
55055
55055
|
b
|
|
55056
55056
|
]
|
|
55057
55057
|
],
|
|
@@ -55068,10 +55068,10 @@
|
|
|
55068
55068
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55069
55069
|
],
|
|
55070
55070
|
[
|
|
55071
|
-
|
|
55071
|
+
p,
|
|
55072
55072
|
d,
|
|
55073
55073
|
[
|
|
55074
|
-
|
|
55074
|
+
f,
|
|
55075
55075
|
v
|
|
55076
55076
|
]
|
|
55077
55077
|
],
|
|
@@ -55081,11 +55081,11 @@
|
|
|
55081
55081
|
[
|
|
55082
55082
|
d,
|
|
55083
55083
|
[
|
|
55084
|
-
|
|
55084
|
+
p,
|
|
55085
55085
|
$
|
|
55086
55086
|
],
|
|
55087
55087
|
[
|
|
55088
|
-
|
|
55088
|
+
f,
|
|
55089
55089
|
v
|
|
55090
55090
|
]
|
|
55091
55091
|
],
|
|
@@ -55095,11 +55095,11 @@
|
|
|
55095
55095
|
[
|
|
55096
55096
|
d,
|
|
55097
55097
|
[
|
|
55098
|
-
|
|
55098
|
+
p,
|
|
55099
55099
|
"Fairphone"
|
|
55100
55100
|
],
|
|
55101
55101
|
[
|
|
55102
|
-
|
|
55102
|
+
f,
|
|
55103
55103
|
b
|
|
55104
55104
|
]
|
|
55105
55105
|
],
|
|
@@ -55109,11 +55109,11 @@
|
|
|
55109
55109
|
[
|
|
55110
55110
|
d,
|
|
55111
55111
|
[
|
|
55112
|
-
|
|
55112
|
+
p,
|
|
55113
55113
|
"AT&T"
|
|
55114
55114
|
],
|
|
55115
55115
|
[
|
|
55116
|
-
|
|
55116
|
+
f,
|
|
55117
55117
|
b
|
|
55118
55118
|
]
|
|
55119
55119
|
],
|
|
@@ -55123,11 +55123,11 @@
|
|
|
55123
55123
|
[
|
|
55124
55124
|
d,
|
|
55125
55125
|
[
|
|
55126
|
-
|
|
55126
|
+
p,
|
|
55127
55127
|
"Siemens"
|
|
55128
55128
|
],
|
|
55129
55129
|
[
|
|
55130
|
-
|
|
55130
|
+
f,
|
|
55131
55131
|
b
|
|
55132
55132
|
]
|
|
55133
55133
|
],
|
|
@@ -55137,11 +55137,11 @@
|
|
|
55137
55137
|
[
|
|
55138
55138
|
d,
|
|
55139
55139
|
[
|
|
55140
|
-
|
|
55140
|
+
p,
|
|
55141
55141
|
"RCA"
|
|
55142
55142
|
],
|
|
55143
55143
|
[
|
|
55144
|
-
|
|
55144
|
+
f,
|
|
55145
55145
|
v
|
|
55146
55146
|
]
|
|
55147
55147
|
],
|
|
@@ -55151,11 +55151,11 @@
|
|
|
55151
55151
|
[
|
|
55152
55152
|
d,
|
|
55153
55153
|
[
|
|
55154
|
-
|
|
55154
|
+
p,
|
|
55155
55155
|
"Dell"
|
|
55156
55156
|
],
|
|
55157
55157
|
[
|
|
55158
|
-
|
|
55158
|
+
f,
|
|
55159
55159
|
v
|
|
55160
55160
|
]
|
|
55161
55161
|
],
|
|
@@ -55165,11 +55165,11 @@
|
|
|
55165
55165
|
[
|
|
55166
55166
|
d,
|
|
55167
55167
|
[
|
|
55168
|
-
|
|
55168
|
+
p,
|
|
55169
55169
|
"Verizon"
|
|
55170
55170
|
],
|
|
55171
55171
|
[
|
|
55172
|
-
|
|
55172
|
+
f,
|
|
55173
55173
|
v
|
|
55174
55174
|
]
|
|
55175
55175
|
],
|
|
@@ -55179,11 +55179,11 @@
|
|
|
55179
55179
|
[
|
|
55180
55180
|
d,
|
|
55181
55181
|
[
|
|
55182
|
-
|
|
55182
|
+
p,
|
|
55183
55183
|
"Barnes & Noble"
|
|
55184
55184
|
],
|
|
55185
55185
|
[
|
|
55186
|
-
|
|
55186
|
+
f,
|
|
55187
55187
|
v
|
|
55188
55188
|
]
|
|
55189
55189
|
],
|
|
@@ -55193,11 +55193,11 @@
|
|
|
55193
55193
|
[
|
|
55194
55194
|
d,
|
|
55195
55195
|
[
|
|
55196
|
-
|
|
55196
|
+
p,
|
|
55197
55197
|
"NuVision"
|
|
55198
55198
|
],
|
|
55199
55199
|
[
|
|
55200
|
-
|
|
55200
|
+
f,
|
|
55201
55201
|
v
|
|
55202
55202
|
]
|
|
55203
55203
|
],
|
|
@@ -55207,11 +55207,11 @@
|
|
|
55207
55207
|
[
|
|
55208
55208
|
d,
|
|
55209
55209
|
[
|
|
55210
|
-
|
|
55210
|
+
p,
|
|
55211
55211
|
"ZTE"
|
|
55212
55212
|
],
|
|
55213
55213
|
[
|
|
55214
|
-
|
|
55214
|
+
f,
|
|
55215
55215
|
v
|
|
55216
55216
|
]
|
|
55217
55217
|
],
|
|
@@ -55221,11 +55221,11 @@
|
|
|
55221
55221
|
[
|
|
55222
55222
|
d,
|
|
55223
55223
|
[
|
|
55224
|
-
|
|
55224
|
+
p,
|
|
55225
55225
|
"ZTE"
|
|
55226
55226
|
],
|
|
55227
55227
|
[
|
|
55228
|
-
|
|
55228
|
+
f,
|
|
55229
55229
|
b
|
|
55230
55230
|
]
|
|
55231
55231
|
],
|
|
@@ -55235,11 +55235,11 @@
|
|
|
55235
55235
|
[
|
|
55236
55236
|
d,
|
|
55237
55237
|
[
|
|
55238
|
-
|
|
55238
|
+
p,
|
|
55239
55239
|
"Swiss"
|
|
55240
55240
|
],
|
|
55241
55241
|
[
|
|
55242
|
-
|
|
55242
|
+
f,
|
|
55243
55243
|
b
|
|
55244
55244
|
]
|
|
55245
55245
|
],
|
|
@@ -55249,11 +55249,11 @@
|
|
|
55249
55249
|
[
|
|
55250
55250
|
d,
|
|
55251
55251
|
[
|
|
55252
|
-
|
|
55252
|
+
p,
|
|
55253
55253
|
"Swiss"
|
|
55254
55254
|
],
|
|
55255
55255
|
[
|
|
55256
|
-
|
|
55256
|
+
f,
|
|
55257
55257
|
v
|
|
55258
55258
|
]
|
|
55259
55259
|
],
|
|
@@ -55263,11 +55263,11 @@
|
|
|
55263
55263
|
[
|
|
55264
55264
|
d,
|
|
55265
55265
|
[
|
|
55266
|
-
|
|
55266
|
+
p,
|
|
55267
55267
|
"Zeki"
|
|
55268
55268
|
],
|
|
55269
55269
|
[
|
|
55270
|
-
|
|
55270
|
+
f,
|
|
55271
55271
|
v
|
|
55272
55272
|
]
|
|
55273
55273
|
],
|
|
@@ -55277,12 +55277,12 @@
|
|
|
55277
55277
|
],
|
|
55278
55278
|
[
|
|
55279
55279
|
[
|
|
55280
|
-
|
|
55280
|
+
p,
|
|
55281
55281
|
"Dragon Touch"
|
|
55282
55282
|
],
|
|
55283
55283
|
d,
|
|
55284
55284
|
[
|
|
55285
|
-
|
|
55285
|
+
f,
|
|
55286
55286
|
v
|
|
55287
55287
|
]
|
|
55288
55288
|
],
|
|
@@ -55292,11 +55292,11 @@
|
|
|
55292
55292
|
[
|
|
55293
55293
|
d,
|
|
55294
55294
|
[
|
|
55295
|
-
|
|
55295
|
+
p,
|
|
55296
55296
|
"Insignia"
|
|
55297
55297
|
],
|
|
55298
55298
|
[
|
|
55299
|
-
|
|
55299
|
+
f,
|
|
55300
55300
|
v
|
|
55301
55301
|
]
|
|
55302
55302
|
],
|
|
@@ -55306,11 +55306,11 @@
|
|
|
55306
55306
|
[
|
|
55307
55307
|
d,
|
|
55308
55308
|
[
|
|
55309
|
-
|
|
55309
|
+
p,
|
|
55310
55310
|
"NextBook"
|
|
55311
55311
|
],
|
|
55312
55312
|
[
|
|
55313
|
-
|
|
55313
|
+
f,
|
|
55314
55314
|
v
|
|
55315
55315
|
]
|
|
55316
55316
|
],
|
|
@@ -55319,12 +55319,12 @@
|
|
|
55319
55319
|
],
|
|
55320
55320
|
[
|
|
55321
55321
|
[
|
|
55322
|
-
|
|
55322
|
+
p,
|
|
55323
55323
|
"Voice"
|
|
55324
55324
|
],
|
|
55325
55325
|
d,
|
|
55326
55326
|
[
|
|
55327
|
-
|
|
55327
|
+
f,
|
|
55328
55328
|
b
|
|
55329
55329
|
]
|
|
55330
55330
|
],
|
|
@@ -55333,12 +55333,12 @@
|
|
|
55333
55333
|
],
|
|
55334
55334
|
[
|
|
55335
55335
|
[
|
|
55336
|
-
|
|
55336
|
+
p,
|
|
55337
55337
|
"LvTel"
|
|
55338
55338
|
],
|
|
55339
55339
|
d,
|
|
55340
55340
|
[
|
|
55341
|
-
|
|
55341
|
+
f,
|
|
55342
55342
|
b
|
|
55343
55343
|
]
|
|
55344
55344
|
],
|
|
@@ -55348,11 +55348,11 @@
|
|
|
55348
55348
|
[
|
|
55349
55349
|
d,
|
|
55350
55350
|
[
|
|
55351
|
-
|
|
55351
|
+
p,
|
|
55352
55352
|
"Essential"
|
|
55353
55353
|
],
|
|
55354
55354
|
[
|
|
55355
|
-
|
|
55355
|
+
f,
|
|
55356
55356
|
b
|
|
55357
55357
|
]
|
|
55358
55358
|
],
|
|
@@ -55362,11 +55362,11 @@
|
|
|
55362
55362
|
[
|
|
55363
55363
|
d,
|
|
55364
55364
|
[
|
|
55365
|
-
|
|
55365
|
+
p,
|
|
55366
55366
|
"Envizen"
|
|
55367
55367
|
],
|
|
55368
55368
|
[
|
|
55369
|
-
|
|
55369
|
+
f,
|
|
55370
55370
|
v
|
|
55371
55371
|
]
|
|
55372
55372
|
],
|
|
@@ -55376,11 +55376,11 @@
|
|
|
55376
55376
|
[
|
|
55377
55377
|
d,
|
|
55378
55378
|
[
|
|
55379
|
-
|
|
55379
|
+
p,
|
|
55380
55380
|
"MachSpeed"
|
|
55381
55381
|
],
|
|
55382
55382
|
[
|
|
55383
|
-
|
|
55383
|
+
f,
|
|
55384
55384
|
v
|
|
55385
55385
|
]
|
|
55386
55386
|
],
|
|
@@ -55390,11 +55390,11 @@
|
|
|
55390
55390
|
[
|
|
55391
55391
|
d,
|
|
55392
55392
|
[
|
|
55393
|
-
|
|
55393
|
+
p,
|
|
55394
55394
|
"Rotor"
|
|
55395
55395
|
],
|
|
55396
55396
|
[
|
|
55397
|
-
|
|
55397
|
+
f,
|
|
55398
55398
|
v
|
|
55399
55399
|
]
|
|
55400
55400
|
],
|
|
@@ -55404,11 +55404,11 @@
|
|
|
55404
55404
|
[
|
|
55405
55405
|
d,
|
|
55406
55406
|
[
|
|
55407
|
-
|
|
55407
|
+
p,
|
|
55408
55408
|
"Nvidia"
|
|
55409
55409
|
],
|
|
55410
55410
|
[
|
|
55411
|
-
|
|
55411
|
+
f,
|
|
55412
55412
|
v
|
|
55413
55413
|
]
|
|
55414
55414
|
],
|
|
@@ -55416,10 +55416,10 @@
|
|
|
55416
55416
|
/(sprint) (\w+)/i
|
|
55417
55417
|
],
|
|
55418
55418
|
[
|
|
55419
|
-
|
|
55419
|
+
p,
|
|
55420
55420
|
d,
|
|
55421
55421
|
[
|
|
55422
|
-
|
|
55422
|
+
f,
|
|
55423
55423
|
b
|
|
55424
55424
|
]
|
|
55425
55425
|
],
|
|
@@ -55433,11 +55433,11 @@
|
|
|
55433
55433
|
" "
|
|
55434
55434
|
],
|
|
55435
55435
|
[
|
|
55436
|
-
|
|
55436
|
+
p,
|
|
55437
55437
|
$
|
|
55438
55438
|
],
|
|
55439
55439
|
[
|
|
55440
|
-
|
|
55440
|
+
f,
|
|
55441
55441
|
b
|
|
55442
55442
|
]
|
|
55443
55443
|
],
|
|
@@ -55447,11 +55447,11 @@
|
|
|
55447
55447
|
[
|
|
55448
55448
|
d,
|
|
55449
55449
|
[
|
|
55450
|
-
|
|
55450
|
+
p,
|
|
55451
55451
|
L
|
|
55452
55452
|
],
|
|
55453
55453
|
[
|
|
55454
|
-
|
|
55454
|
+
f,
|
|
55455
55455
|
v
|
|
55456
55456
|
]
|
|
55457
55457
|
],
|
|
@@ -55461,11 +55461,11 @@
|
|
|
55461
55461
|
[
|
|
55462
55462
|
d,
|
|
55463
55463
|
[
|
|
55464
|
-
|
|
55464
|
+
p,
|
|
55465
55465
|
L
|
|
55466
55466
|
],
|
|
55467
55467
|
[
|
|
55468
|
-
|
|
55468
|
+
f,
|
|
55469
55469
|
b
|
|
55470
55470
|
]
|
|
55471
55471
|
],
|
|
@@ -55473,9 +55473,9 @@
|
|
|
55473
55473
|
/smart-tv.+(samsung)/i
|
|
55474
55474
|
],
|
|
55475
55475
|
[
|
|
55476
|
-
|
|
55476
|
+
p,
|
|
55477
55477
|
[
|
|
55478
|
-
|
|
55478
|
+
f,
|
|
55479
55479
|
w
|
|
55480
55480
|
]
|
|
55481
55481
|
],
|
|
@@ -55489,11 +55489,11 @@
|
|
|
55489
55489
|
"SmartTV"
|
|
55490
55490
|
],
|
|
55491
55491
|
[
|
|
55492
|
-
|
|
55492
|
+
p,
|
|
55493
55493
|
O
|
|
55494
55494
|
],
|
|
55495
55495
|
[
|
|
55496
|
-
|
|
55496
|
+
f,
|
|
55497
55497
|
w
|
|
55498
55498
|
]
|
|
55499
55499
|
],
|
|
@@ -55502,11 +55502,11 @@
|
|
|
55502
55502
|
],
|
|
55503
55503
|
[
|
|
55504
55504
|
[
|
|
55505
|
-
|
|
55505
|
+
p,
|
|
55506
55506
|
"LG"
|
|
55507
55507
|
],
|
|
55508
55508
|
[
|
|
55509
|
-
|
|
55509
|
+
f,
|
|
55510
55510
|
w
|
|
55511
55511
|
]
|
|
55512
55512
|
],
|
|
@@ -55514,13 +55514,13 @@
|
|
|
55514
55514
|
/(apple) ?tv/i
|
|
55515
55515
|
],
|
|
55516
55516
|
[
|
|
55517
|
-
|
|
55517
|
+
p,
|
|
55518
55518
|
[
|
|
55519
55519
|
d,
|
|
55520
55520
|
B + " TV"
|
|
55521
55521
|
],
|
|
55522
55522
|
[
|
|
55523
|
-
|
|
55523
|
+
f,
|
|
55524
55524
|
w
|
|
55525
55525
|
]
|
|
55526
55526
|
],
|
|
@@ -55533,11 +55533,11 @@
|
|
|
55533
55533
|
S + "cast"
|
|
55534
55534
|
],
|
|
55535
55535
|
[
|
|
55536
|
-
|
|
55536
|
+
p,
|
|
55537
55537
|
T
|
|
55538
55538
|
],
|
|
55539
55539
|
[
|
|
55540
|
-
|
|
55540
|
+
f,
|
|
55541
55541
|
w
|
|
55542
55542
|
]
|
|
55543
55543
|
],
|
|
@@ -55547,11 +55547,11 @@
|
|
|
55547
55547
|
[
|
|
55548
55548
|
d,
|
|
55549
55549
|
[
|
|
55550
|
-
|
|
55550
|
+
p,
|
|
55551
55551
|
C
|
|
55552
55552
|
],
|
|
55553
55553
|
[
|
|
55554
|
-
|
|
55554
|
+
f,
|
|
55555
55555
|
w
|
|
55556
55556
|
]
|
|
55557
55557
|
],
|
|
@@ -55562,11 +55562,11 @@
|
|
|
55562
55562
|
[
|
|
55563
55563
|
d,
|
|
55564
55564
|
[
|
|
55565
|
-
|
|
55565
|
+
p,
|
|
55566
55566
|
M
|
|
55567
55567
|
],
|
|
55568
55568
|
[
|
|
55569
|
-
|
|
55569
|
+
f,
|
|
55570
55570
|
w
|
|
55571
55571
|
]
|
|
55572
55572
|
],
|
|
@@ -55576,11 +55576,11 @@
|
|
|
55576
55576
|
[
|
|
55577
55577
|
d,
|
|
55578
55578
|
[
|
|
55579
|
-
|
|
55579
|
+
p,
|
|
55580
55580
|
A
|
|
55581
55581
|
],
|
|
55582
55582
|
[
|
|
55583
|
-
|
|
55583
|
+
f,
|
|
55584
55584
|
w
|
|
55585
55585
|
]
|
|
55586
55586
|
],
|
|
@@ -55590,11 +55590,11 @@
|
|
|
55590
55590
|
[
|
|
55591
55591
|
d,
|
|
55592
55592
|
[
|
|
55593
|
-
|
|
55593
|
+
p,
|
|
55594
55594
|
R
|
|
55595
55595
|
],
|
|
55596
55596
|
[
|
|
55597
|
-
|
|
55597
|
+
f,
|
|
55598
55598
|
w
|
|
55599
55599
|
]
|
|
55600
55600
|
],
|
|
@@ -55602,10 +55602,10 @@
|
|
|
55602
55602
|
/Hbbtv.*(technisat) (.*);/i
|
|
55603
55603
|
],
|
|
55604
55604
|
[
|
|
55605
|
-
|
|
55605
|
+
p,
|
|
55606
55606
|
d,
|
|
55607
55607
|
[
|
|
55608
|
-
|
|
55608
|
+
f,
|
|
55609
55609
|
w
|
|
55610
55610
|
]
|
|
55611
55611
|
],
|
|
@@ -55615,7 +55615,7 @@
|
|
|
55615
55615
|
],
|
|
55616
55616
|
[
|
|
55617
55617
|
[
|
|
55618
|
-
|
|
55618
|
+
p,
|
|
55619
55619
|
Q
|
|
55620
55620
|
],
|
|
55621
55621
|
[
|
|
@@ -55623,7 +55623,7 @@
|
|
|
55623
55623
|
Q
|
|
55624
55624
|
],
|
|
55625
55625
|
[
|
|
55626
|
-
|
|
55626
|
+
f,
|
|
55627
55627
|
w
|
|
55628
55628
|
]
|
|
55629
55629
|
],
|
|
@@ -55632,7 +55632,7 @@
|
|
|
55632
55632
|
],
|
|
55633
55633
|
[
|
|
55634
55634
|
[
|
|
55635
|
-
|
|
55635
|
+
f,
|
|
55636
55636
|
w
|
|
55637
55637
|
]
|
|
55638
55638
|
],
|
|
@@ -55641,10 +55641,10 @@
|
|
|
55641
55641
|
/(nintendo) ([wids3utch]+)/i
|
|
55642
55642
|
],
|
|
55643
55643
|
[
|
|
55644
|
-
|
|
55644
|
+
p,
|
|
55645
55645
|
d,
|
|
55646
55646
|
[
|
|
55647
|
-
|
|
55647
|
+
f,
|
|
55648
55648
|
g
|
|
55649
55649
|
]
|
|
55650
55650
|
],
|
|
@@ -55654,11 +55654,11 @@
|
|
|
55654
55654
|
[
|
|
55655
55655
|
d,
|
|
55656
55656
|
[
|
|
55657
|
-
|
|
55657
|
+
p,
|
|
55658
55658
|
"Nvidia"
|
|
55659
55659
|
],
|
|
55660
55660
|
[
|
|
55661
|
-
|
|
55661
|
+
f,
|
|
55662
55662
|
g
|
|
55663
55663
|
]
|
|
55664
55664
|
],
|
|
@@ -55668,11 +55668,11 @@
|
|
|
55668
55668
|
[
|
|
55669
55669
|
d,
|
|
55670
55670
|
[
|
|
55671
|
-
|
|
55671
|
+
p,
|
|
55672
55672
|
A
|
|
55673
55673
|
],
|
|
55674
55674
|
[
|
|
55675
|
-
|
|
55675
|
+
f,
|
|
55676
55676
|
g
|
|
55677
55677
|
]
|
|
55678
55678
|
],
|
|
@@ -55682,11 +55682,11 @@
|
|
|
55682
55682
|
[
|
|
55683
55683
|
d,
|
|
55684
55684
|
[
|
|
55685
|
-
|
|
55685
|
+
p,
|
|
55686
55686
|
$
|
|
55687
55687
|
],
|
|
55688
55688
|
[
|
|
55689
|
-
|
|
55689
|
+
f,
|
|
55690
55690
|
g
|
|
55691
55691
|
]
|
|
55692
55692
|
],
|
|
@@ -55694,10 +55694,10 @@
|
|
|
55694
55694
|
/((pebble))app/i
|
|
55695
55695
|
],
|
|
55696
55696
|
[
|
|
55697
|
-
|
|
55697
|
+
p,
|
|
55698
55698
|
d,
|
|
55699
55699
|
[
|
|
55700
|
-
|
|
55700
|
+
f,
|
|
55701
55701
|
k
|
|
55702
55702
|
]
|
|
55703
55703
|
],
|
|
@@ -55707,11 +55707,11 @@
|
|
|
55707
55707
|
[
|
|
55708
55708
|
d,
|
|
55709
55709
|
[
|
|
55710
|
-
|
|
55710
|
+
p,
|
|
55711
55711
|
B
|
|
55712
55712
|
],
|
|
55713
55713
|
[
|
|
55714
|
-
|
|
55714
|
+
f,
|
|
55715
55715
|
k
|
|
55716
55716
|
]
|
|
55717
55717
|
],
|
|
@@ -55721,11 +55721,11 @@
|
|
|
55721
55721
|
[
|
|
55722
55722
|
d,
|
|
55723
55723
|
[
|
|
55724
|
-
|
|
55724
|
+
p,
|
|
55725
55725
|
T
|
|
55726
55726
|
],
|
|
55727
55727
|
[
|
|
55728
|
-
|
|
55728
|
+
f,
|
|
55729
55729
|
k
|
|
55730
55730
|
]
|
|
55731
55731
|
],
|
|
@@ -55735,11 +55735,11 @@
|
|
|
55735
55735
|
[
|
|
55736
55736
|
d,
|
|
55737
55737
|
[
|
|
55738
|
-
|
|
55738
|
+
p,
|
|
55739
55739
|
L
|
|
55740
55740
|
],
|
|
55741
55741
|
[
|
|
55742
|
-
|
|
55742
|
+
f,
|
|
55743
55743
|
k
|
|
55744
55744
|
]
|
|
55745
55745
|
],
|
|
@@ -55749,11 +55749,11 @@
|
|
|
55749
55749
|
[
|
|
55750
55750
|
d,
|
|
55751
55751
|
[
|
|
55752
|
-
|
|
55752
|
+
p,
|
|
55753
55753
|
F
|
|
55754
55754
|
],
|
|
55755
55755
|
[
|
|
55756
|
-
|
|
55756
|
+
f,
|
|
55757
55757
|
k
|
|
55758
55758
|
]
|
|
55759
55759
|
],
|
|
@@ -55761,9 +55761,9 @@
|
|
|
55761
55761
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55762
55762
|
],
|
|
55763
55763
|
[
|
|
55764
|
-
|
|
55764
|
+
p,
|
|
55765
55765
|
[
|
|
55766
|
-
|
|
55766
|
+
f,
|
|
55767
55767
|
y
|
|
55768
55768
|
]
|
|
55769
55769
|
],
|
|
@@ -55773,11 +55773,11 @@
|
|
|
55773
55773
|
[
|
|
55774
55774
|
d,
|
|
55775
55775
|
[
|
|
55776
|
-
|
|
55776
|
+
p,
|
|
55777
55777
|
C
|
|
55778
55778
|
],
|
|
55779
55779
|
[
|
|
55780
|
-
|
|
55780
|
+
f,
|
|
55781
55781
|
y
|
|
55782
55782
|
]
|
|
55783
55783
|
],
|
|
@@ -55787,7 +55787,7 @@
|
|
|
55787
55787
|
[
|
|
55788
55788
|
d,
|
|
55789
55789
|
[
|
|
55790
|
-
|
|
55790
|
+
f,
|
|
55791
55791
|
b
|
|
55792
55792
|
]
|
|
55793
55793
|
],
|
|
@@ -55797,7 +55797,7 @@
|
|
|
55797
55797
|
[
|
|
55798
55798
|
d,
|
|
55799
55799
|
[
|
|
55800
|
-
|
|
55800
|
+
f,
|
|
55801
55801
|
v
|
|
55802
55802
|
]
|
|
55803
55803
|
],
|
|
@@ -55806,7 +55806,7 @@
|
|
|
55806
55806
|
],
|
|
55807
55807
|
[
|
|
55808
55808
|
[
|
|
55809
|
-
|
|
55809
|
+
f,
|
|
55810
55810
|
v
|
|
55811
55811
|
]
|
|
55812
55812
|
],
|
|
@@ -55815,7 +55815,7 @@
|
|
|
55815
55815
|
],
|
|
55816
55816
|
[
|
|
55817
55817
|
[
|
|
55818
|
-
|
|
55818
|
+
f,
|
|
55819
55819
|
b
|
|
55820
55820
|
]
|
|
55821
55821
|
],
|
|
@@ -55825,7 +55825,7 @@
|
|
|
55825
55825
|
[
|
|
55826
55826
|
d,
|
|
55827
55827
|
[
|
|
55828
|
-
|
|
55828
|
+
p,
|
|
55829
55829
|
"Generic"
|
|
55830
55830
|
]
|
|
55831
55831
|
]
|
|
@@ -56076,7 +56076,7 @@
|
|
|
56076
56076
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56077
56077
|
}, this.getDevice = function() {
|
|
56078
56078
|
var t = {};
|
|
56079
|
-
return t[
|
|
56079
|
+
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;
|
|
56080
56080
|
}, this.getEngine = function() {
|
|
56081
56081
|
var t = {};
|
|
56082
56082
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56106,8 +56106,8 @@
|
|
|
56106
56106
|
m
|
|
56107
56107
|
]), K.DEVICE = W([
|
|
56108
56108
|
d,
|
|
56109
|
-
f,
|
|
56110
56109
|
p,
|
|
56110
|
+
f,
|
|
56111
56111
|
g,
|
|
56112
56112
|
b,
|
|
56113
56113
|
w,
|
|
@@ -56130,9 +56130,9 @@
|
|
|
56130
56130
|
};
|
|
56131
56131
|
}
|
|
56132
56132
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56133
|
-
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(),
|
|
56133
|
+
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
|
|
56134
56134
|
return i.setUA(t);
|
|
56135
|
-
},
|
|
56135
|
+
}, p = function(t) {
|
|
56136
56136
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56137
56137
|
var r = new n(t);
|
|
56138
56138
|
return {
|
|
@@ -56155,8 +56155,8 @@
|
|
|
56155
56155
|
engine: l,
|
|
56156
56156
|
os: d,
|
|
56157
56157
|
ua: u,
|
|
56158
|
-
setUa:
|
|
56159
|
-
parseUserAgent:
|
|
56158
|
+
setUa: f,
|
|
56159
|
+
parseUserAgent: p
|
|
56160
56160
|
});
|
|
56161
56161
|
function m(t, r) {
|
|
56162
56162
|
var o = Object.keys(t);
|
|
@@ -56375,9 +56375,9 @@
|
|
|
56375
56375
|
}, eu = function(t) {
|
|
56376
56376
|
var r = t.name;
|
|
56377
56377
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56378
|
-
}, ep = function(t) {
|
|
56379
|
-
return t.name === $.MIUI;
|
|
56380
56378
|
}, ef = function(t) {
|
|
56379
|
+
return t.name === $.MIUI;
|
|
56380
|
+
}, ep = function(t) {
|
|
56381
56381
|
return t.name === $.SamsungBrowser;
|
|
56382
56382
|
}, eh = function(t) {
|
|
56383
56383
|
return M(t.version);
|
|
@@ -56450,13 +56450,13 @@
|
|
|
56450
56450
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56451
56451
|
isWindows: K(i),
|
|
56452
56452
|
isMacOs: Y(i),
|
|
56453
|
-
isMIUI:
|
|
56454
|
-
isSamsungBrowser:
|
|
56453
|
+
isMIUI: ef(n),
|
|
56454
|
+
isSamsungBrowser: ep(n)
|
|
56455
56455
|
};
|
|
56456
56456
|
}
|
|
56457
|
-
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 =
|
|
56457
|
+
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);
|
|
56458
56458
|
function ta(t) {
|
|
56459
|
-
return
|
|
56459
|
+
return p(t || window.navigator.userAgent);
|
|
56460
56460
|
}
|
|
56461
56461
|
return nP.AndroidView = function(r) {
|
|
56462
56462
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56540,7 +56540,7 @@
|
|
|
56540
56540
|
]);
|
|
56541
56541
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56542
56542
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56543
|
-
var r, o, n, i, a, s, c, l, d, u,
|
|
56543
|
+
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;
|
|
56544
56544
|
if (I) {
|
|
56545
56545
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56546
56546
|
isBrowser: r,
|
|
@@ -56565,10 +56565,10 @@
|
|
|
56565
56565
|
};
|
|
56566
56566
|
}
|
|
56567
56567
|
if (N) {
|
|
56568
|
-
return u = N,
|
|
56568
|
+
return u = N, f = T, m = D, g = $, {
|
|
56569
56569
|
isConsole: u,
|
|
56570
|
-
engineName: M(
|
|
56571
|
-
engineVersion: M(
|
|
56570
|
+
engineName: M(f.name),
|
|
56571
|
+
engineVersion: M(f.version),
|
|
56572
56572
|
osName: M(m.name),
|
|
56573
56573
|
osVersion: M(m.version),
|
|
56574
56574
|
userAgent: M(g)
|
|
@@ -56599,7 +56599,7 @@
|
|
|
56599
56599
|
}
|
|
56600
56600
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56601
56601
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56602
|
-
var r =
|
|
56602
|
+
var r = p(t);
|
|
56603
56603
|
return eP({
|
|
56604
56604
|
device: r.device,
|
|
56605
56605
|
browser: r.browser,
|
|
@@ -56607,8 +56607,8 @@
|
|
|
56607
56607
|
engine: r.engine,
|
|
56608
56608
|
ua: r.ua
|
|
56609
56609
|
});
|
|
56610
|
-
}, 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 =
|
|
56611
|
-
return
|
|
56610
|
+
}, 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) {
|
|
56611
|
+
return f(t);
|
|
56612
56612
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56613
56613
|
var r = ta(t || window.navigator.userAgent);
|
|
56614
56614
|
return [
|
|
@@ -56814,7 +56814,7 @@
|
|
|
56814
56814
|
var nM = oX(function() {
|
|
56815
56815
|
if (tW) return tV;
|
|
56816
56816
|
tW = 1;
|
|
56817
|
-
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,
|
|
56817
|
+
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() {
|
|
56818
56818
|
return l.Date.now();
|
|
56819
56819
|
};
|
|
56820
56820
|
function h(t) {
|
|
@@ -56830,8 +56830,8 @@
|
|
|
56830
56830
|
}
|
|
56831
56831
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56832
56832
|
s = s.replace(r, "");
|
|
56833
|
-
var
|
|
56834
|
-
return
|
|
56833
|
+
var f = n.test(s);
|
|
56834
|
+
return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
|
|
56835
56835
|
}
|
|
56836
56836
|
return tV = function(t, r, o) {
|
|
56837
56837
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56846,15 +56846,15 @@
|
|
|
56846
56846
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56847
56847
|
}
|
|
56848
56848
|
function y() {
|
|
56849
|
-
var t, o, n, i, s =
|
|
56849
|
+
var t, o, n, i, s = p();
|
|
56850
56850
|
if (k(s)) return C(s);
|
|
56851
|
-
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ?
|
|
56851
|
+
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
|
|
56852
56852
|
}
|
|
56853
56853
|
function C(t) {
|
|
56854
56854
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56855
56855
|
}
|
|
56856
56856
|
function B() {
|
|
56857
|
-
var t, o =
|
|
56857
|
+
var t, o = p(), a = k(o);
|
|
56858
56858
|
if (n = arguments, i = this, l = o, a) {
|
|
56859
56859
|
if (void 0 === c) {
|
|
56860
56860
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56866,7 +56866,7 @@
|
|
|
56866
56866
|
return B.cancel = function() {
|
|
56867
56867
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56868
56868
|
}, B.flush = function() {
|
|
56869
|
-
return void 0 === c ? s : C(
|
|
56869
|
+
return void 0 === c ? s : C(p());
|
|
56870
56870
|
}, B;
|
|
56871
56871
|
};
|
|
56872
56872
|
}()), nA = {
|
|
@@ -56877,11 +56877,11 @@
|
|
|
56877
56877
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56878
56878
|
if (tU) return nR;
|
|
56879
56879
|
tU = 1;
|
|
56880
|
-
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,
|
|
56880
|
+
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;
|
|
56881
56881
|
function k(t) {
|
|
56882
56882
|
if ("object" == typeof t && null !== t) {
|
|
56883
|
-
var
|
|
56884
|
-
switch(
|
|
56883
|
+
var p = t.$$typeof;
|
|
56884
|
+
switch(p){
|
|
56885
56885
|
case r:
|
|
56886
56886
|
switch(t = t.type){
|
|
56887
56887
|
case l:
|
|
@@ -56889,7 +56889,7 @@
|
|
|
56889
56889
|
case n:
|
|
56890
56890
|
case a:
|
|
56891
56891
|
case i:
|
|
56892
|
-
case
|
|
56892
|
+
case f:
|
|
56893
56893
|
return t;
|
|
56894
56894
|
default:
|
|
56895
56895
|
switch(t = t && t.$$typeof){
|
|
@@ -56900,18 +56900,18 @@
|
|
|
56900
56900
|
case s:
|
|
56901
56901
|
return t;
|
|
56902
56902
|
default:
|
|
56903
|
-
return
|
|
56903
|
+
return p;
|
|
56904
56904
|
}
|
|
56905
56905
|
}
|
|
56906
56906
|
case o:
|
|
56907
|
-
return
|
|
56907
|
+
return p;
|
|
56908
56908
|
}
|
|
56909
56909
|
}
|
|
56910
56910
|
}
|
|
56911
56911
|
function y(t) {
|
|
56912
56912
|
return k(t) === d;
|
|
56913
56913
|
}
|
|
56914
|
-
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 =
|
|
56914
|
+
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) {
|
|
56915
56915
|
return y(t) || k(t) === l;
|
|
56916
56916
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56917
56917
|
return k(t) === c;
|
|
@@ -56934,9 +56934,9 @@
|
|
|
56934
56934
|
}, nR.isStrictMode = function(t) {
|
|
56935
56935
|
return k(t) === i;
|
|
56936
56936
|
}, nR.isSuspense = function(t) {
|
|
56937
|
-
return k(t) ===
|
|
56937
|
+
return k(t) === f;
|
|
56938
56938
|
}, nR.isValidElementType = function(t) {
|
|
56939
|
-
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t ===
|
|
56939
|
+
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);
|
|
56940
56940
|
}, nR.typeOf = k, nR;
|
|
56941
56941
|
}(), nA.exports), r = {
|
|
56942
56942
|
childContextTypes: !0,
|
|
@@ -56976,12 +56976,12 @@
|
|
|
56976
56976
|
displayName: !0,
|
|
56977
56977
|
propTypes: !0
|
|
56978
56978
|
}, i[t.Memo] = n;
|
|
56979
|
-
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf,
|
|
56979
|
+
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
|
|
56980
56980
|
return tQ = function t(r, n, i) {
|
|
56981
56981
|
if ("string" != typeof n) {
|
|
56982
|
-
if (
|
|
56983
|
-
var
|
|
56984
|
-
|
|
56982
|
+
if (f) {
|
|
56983
|
+
var p = u(n);
|
|
56984
|
+
p && p !== f && t(r, p, i);
|
|
56985
56985
|
}
|
|
56986
56986
|
var h = c(n);
|
|
56987
56987
|
l && (h = h.concat(l(n)));
|
|
@@ -57138,7 +57138,7 @@
|
|
|
57138
57138
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57139
57139
|
}, [
|
|
57140
57140
|
c
|
|
57141
|
-
]),
|
|
57141
|
+
]), f = reactExports.useCallback(async ()=>{
|
|
57142
57142
|
if (c && c.isSupported()) try {
|
|
57143
57143
|
await c.turnOff(), d.current = !1;
|
|
57144
57144
|
} catch (t) {
|
|
@@ -57146,15 +57146,15 @@
|
|
|
57146
57146
|
}
|
|
57147
57147
|
}, [
|
|
57148
57148
|
c
|
|
57149
|
-
]),
|
|
57149
|
+
]), p = React.useMemo(()=>({
|
|
57150
57150
|
turnOnFlashlight: u,
|
|
57151
|
-
turnOffFlashlight:
|
|
57151
|
+
turnOffFlashlight: f
|
|
57152
57152
|
}), [
|
|
57153
57153
|
u,
|
|
57154
|
-
|
|
57154
|
+
f
|
|
57155
57155
|
]);
|
|
57156
57156
|
return oZ.jsx(nU.Provider, {
|
|
57157
|
-
value:
|
|
57157
|
+
value: p,
|
|
57158
57158
|
children: s
|
|
57159
57159
|
});
|
|
57160
57160
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57200,7 +57200,7 @@
|
|
|
57200
57200
|
`;
|
|
57201
57201
|
function nJ(r) {
|
|
57202
57202
|
var s, c;
|
|
57203
|
-
let l, { checkCameraMode: d, frontCamera: u, onClose:
|
|
57203
|
+
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)=>{
|
|
57204
57204
|
B && B(t);
|
|
57205
57205
|
}, [
|
|
57206
57206
|
B
|
|
@@ -57276,8 +57276,8 @@
|
|
|
57276
57276
|
},
|
|
57277
57277
|
...o
|
|
57278
57278
|
}
|
|
57279
|
-
},
|
|
57280
|
-
if (await U(), q(), !
|
|
57279
|
+
}, f = await navigator.mediaDevices.getUserMedia(n);
|
|
57280
|
+
if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
|
|
57281
57281
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57282
57282
|
tag: "cam_permission",
|
|
57283
57283
|
event: "user_activity.cam",
|
|
@@ -57290,13 +57290,13 @@
|
|
|
57290
57290
|
log: {}
|
|
57291
57291
|
});
|
|
57292
57292
|
try {
|
|
57293
|
-
let t =
|
|
57294
|
-
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
|
|
57295
|
-
let t =
|
|
57293
|
+
let t = f.getVideoTracks()[0].getSettings();
|
|
57294
|
+
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) {
|
|
57295
|
+
let t = f.getVideoTracks()[0].getCapabilities();
|
|
57296
57296
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57297
57297
|
}
|
|
57298
57298
|
} catch (t) {}
|
|
57299
|
-
return
|
|
57299
|
+
return f;
|
|
57300
57300
|
} catch (t) {
|
|
57301
57301
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57302
57302
|
tag: "cam_permission",
|
|
@@ -57407,13 +57407,13 @@
|
|
|
57407
57407
|
z
|
|
57408
57408
|
]);
|
|
57409
57409
|
let H = reactExports.useCallback(()=>{
|
|
57410
|
-
W(),
|
|
57410
|
+
W(), f && f(), $({
|
|
57411
57411
|
tag: "result",
|
|
57412
57412
|
event: "user_activity.cancel",
|
|
57413
57413
|
log: {}
|
|
57414
57414
|
});
|
|
57415
57415
|
}, [
|
|
57416
|
-
|
|
57416
|
+
f,
|
|
57417
57417
|
W,
|
|
57418
57418
|
$
|
|
57419
57419
|
]);
|
|
@@ -57476,7 +57476,7 @@
|
|
|
57476
57476
|
className: x,
|
|
57477
57477
|
scale: P
|
|
57478
57478
|
}),
|
|
57479
|
-
|
|
57479
|
+
p,
|
|
57480
57480
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57481
57481
|
onClick: H,
|
|
57482
57482
|
"data-testid": "close-camera"
|
|
@@ -57676,32 +57676,32 @@
|
|
|
57676
57676
|
"left center",
|
|
57677
57677
|
"left bottom"
|
|
57678
57678
|
], io = function(t, r, o, n, i) {
|
|
57679
|
-
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,
|
|
57679
|
+
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%";
|
|
57680
57680
|
switch(l[0]){
|
|
57681
57681
|
case "top":
|
|
57682
|
-
h -=
|
|
57682
|
+
h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57683
57683
|
break;
|
|
57684
57684
|
case "bottom":
|
|
57685
|
-
h +=
|
|
57685
|
+
h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57686
57686
|
break;
|
|
57687
57687
|
case "left":
|
|
57688
|
-
m -=
|
|
57688
|
+
m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57689
57689
|
break;
|
|
57690
57690
|
case "right":
|
|
57691
|
-
m +=
|
|
57691
|
+
m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57692
57692
|
}
|
|
57693
57693
|
switch(l[1]){
|
|
57694
57694
|
case "top":
|
|
57695
57695
|
h = t.top, b = t.height / 2 + "px";
|
|
57696
57696
|
break;
|
|
57697
57697
|
case "bottom":
|
|
57698
|
-
h = t.top -
|
|
57698
|
+
h = t.top - f + t.height, b = f - t.height / 2 + "px";
|
|
57699
57699
|
break;
|
|
57700
57700
|
case "left":
|
|
57701
57701
|
m = t.left, v = t.width / 2 + "px";
|
|
57702
57702
|
break;
|
|
57703
57703
|
case "right":
|
|
57704
|
-
m = t.left -
|
|
57704
|
+
m = t.left - p + t.width, v = p - t.width / 2 + "px";
|
|
57705
57705
|
}
|
|
57706
57706
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57707
57707
|
top: h,
|
|
@@ -57729,12 +57729,12 @@
|
|
|
57729
57729
|
left: 0,
|
|
57730
57730
|
top: 0,
|
|
57731
57731
|
transform: "rotate(135deg)"
|
|
57732
|
-
}, d = 0, u = ii(a),
|
|
57732
|
+
}, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
|
|
57733
57733
|
o
|
|
57734
57734
|
];
|
|
57735
|
-
for((a || Array.isArray(o)) && (
|
|
57736
|
-
var
|
|
57737
|
-
top: (l = io(t, r,
|
|
57735
|
+
for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
|
|
57736
|
+
var p = {
|
|
57737
|
+
top: (l = io(t, r, f[d], n, {
|
|
57738
57738
|
offsetX: s,
|
|
57739
57739
|
offsetY: c
|
|
57740
57740
|
})).top,
|
|
@@ -57742,7 +57742,7 @@
|
|
|
57742
57742
|
width: r.width,
|
|
57743
57743
|
height: r.height
|
|
57744
57744
|
};
|
|
57745
|
-
if (
|
|
57745
|
+
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++;
|
|
57746
57746
|
else break;
|
|
57747
57747
|
}
|
|
57748
57748
|
return l;
|
|
@@ -57750,7 +57750,7 @@
|
|
|
57750
57750
|
var t = document.getElementById("popup-root");
|
|
57751
57751
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57752
57752
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57753
|
-
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l,
|
|
57753
|
+
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 ? [
|
|
57754
57754
|
"click"
|
|
57755
57755
|
] : 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);
|
|
57756
57756
|
n7(function() {
|
|
@@ -57772,16 +57772,16 @@
|
|
|
57772
57772
|
}, eu = function(t) {
|
|
57773
57773
|
var r;
|
|
57774
57774
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57775
|
-
return
|
|
57775
|
+
return p(t);
|
|
57776
57776
|
}, 0));
|
|
57777
|
-
}, ep = function(t) {
|
|
57778
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57779
57777
|
}, ef = function(t) {
|
|
57778
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57779
|
+
}, ep = function(t) {
|
|
57780
57780
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57781
57781
|
return ed(t);
|
|
57782
57782
|
}, X);
|
|
57783
57783
|
}, eh = function(t) {
|
|
57784
|
-
null == t || t.preventDefault(),
|
|
57784
|
+
null == t || t.preventDefault(), ef();
|
|
57785
57785
|
}, em = function(t) {
|
|
57786
57786
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57787
57787
|
return eu(t);
|
|
@@ -57803,7 +57803,7 @@
|
|
|
57803
57803
|
eu();
|
|
57804
57804
|
},
|
|
57805
57805
|
toggle: function() {
|
|
57806
|
-
|
|
57806
|
+
ef();
|
|
57807
57807
|
}
|
|
57808
57808
|
};
|
|
57809
57809
|
});
|
|
@@ -57837,7 +57837,7 @@
|
|
|
57837
57837
|
t.stopPropagation();
|
|
57838
57838
|
}
|
|
57839
57839
|
};
|
|
57840
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57840
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
|
|
57841
57841
|
}, ey = function() {
|
|
57842
57842
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57843
57843
|
key: "C",
|
|
@@ -57884,16 +57884,16 @@
|
|
|
57884
57884
|
P
|
|
57885
57885
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57886
57886
|
case "click":
|
|
57887
|
-
r.onClick =
|
|
57887
|
+
r.onClick = ef;
|
|
57888
57888
|
break;
|
|
57889
57889
|
case "right-click":
|
|
57890
57890
|
r.onContextMenu = eh;
|
|
57891
57891
|
break;
|
|
57892
57892
|
case "hover":
|
|
57893
|
-
r.onMouseEnter =
|
|
57893
|
+
r.onMouseEnter = ep, r.onMouseLeave = em;
|
|
57894
57894
|
break;
|
|
57895
57895
|
case "focus":
|
|
57896
|
-
r.onFocus =
|
|
57896
|
+
r.onFocus = ep, r.onBlur = em;
|
|
57897
57897
|
}
|
|
57898
57898
|
if ("function" == typeof c) {
|
|
57899
57899
|
var a = c(et);
|
|
@@ -58160,7 +58160,7 @@
|
|
|
58160
58160
|
}
|
|
58161
58161
|
}, im = "default", ig = "error";
|
|
58162
58162
|
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 }) {
|
|
58163
|
-
let
|
|
58163
|
+
let p = reactExports.useMemo(()=>({
|
|
58164
58164
|
[im]: l,
|
|
58165
58165
|
[ig]: d,
|
|
58166
58166
|
...i
|
|
@@ -58168,7 +58168,7 @@
|
|
|
58168
58168
|
l,
|
|
58169
58169
|
d,
|
|
58170
58170
|
i
|
|
58171
|
-
]), h = s + a * u, m =
|
|
58171
|
+
]), h = s + a * u, m = p[n];
|
|
58172
58172
|
return oZ.jsxs("svg", {
|
|
58173
58173
|
width: r,
|
|
58174
58174
|
height: o,
|
|
@@ -58387,8 +58387,8 @@
|
|
|
58387
58387
|
if (o && !a || !o && !s) return null;
|
|
58388
58388
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58389
58389
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58390
|
-
let
|
|
58391
|
-
|
|
58390
|
+
let f = d.getContext("2d"), p = u.getContext("2d");
|
|
58391
|
+
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);
|
|
58392
58392
|
let [h, m] = await Promise.all([
|
|
58393
58393
|
fb.getModelPredictions({
|
|
58394
58394
|
model: t,
|
|
@@ -58429,13 +58429,13 @@
|
|
|
58429
58429
|
return i;
|
|
58430
58430
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58431
58431
|
if (null === t) return !0;
|
|
58432
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58433
|
-
return (!c || !(
|
|
58432
|
+
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
|
|
58433
|
+
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);
|
|
58434
58434
|
};
|
|
58435
58435
|
function iW(t, r, o, n, i) {
|
|
58436
58436
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58437
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58438
|
-
o.strokeRect(l, d, u - l,
|
|
58437
|
+
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;
|
|
58438
|
+
o.strokeRect(l, d, u - l, f - d);
|
|
58439
58439
|
}));
|
|
58440
58440
|
}
|
|
58441
58441
|
function iU(t) {
|
|
@@ -59241,14 +59241,14 @@
|
|
|
59241
59241
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59242
59242
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59243
59243
|
this._lastFrameTime = 0;
|
|
59244
|
-
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i,
|
|
59244
|
+
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
|
|
59245
59245
|
if (this._stopDrawing) {
|
|
59246
59246
|
this._animationFrameId = null;
|
|
59247
59247
|
return;
|
|
59248
59248
|
}
|
|
59249
|
-
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(
|
|
59249
|
+
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
|
|
59250
59250
|
};
|
|
59251
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59251
|
+
this._animationFrameId = requestAnimationFrame(f);
|
|
59252
59252
|
}
|
|
59253
59253
|
stopDrawing() {
|
|
59254
59254
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59258,10 +59258,10 @@
|
|
|
59258
59258
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59259
59259
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59260
59260
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59261
|
-
let
|
|
59262
|
-
|
|
59263
|
-
let
|
|
59264
|
-
if (!
|
|
59261
|
+
let f = document.createElement("canvas");
|
|
59262
|
+
f.width = n, f.height = i;
|
|
59263
|
+
let p = f.getContext("2d");
|
|
59264
|
+
if (!p) return console.error("Could not get canvas context."), {
|
|
59265
59265
|
mediaRecorder: null
|
|
59266
59266
|
};
|
|
59267
59267
|
try {
|
|
@@ -59269,7 +59269,7 @@
|
|
|
59269
59269
|
mimeType: "video/webm",
|
|
59270
59270
|
videoBitsPerSecond: c
|
|
59271
59271
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59272
|
-
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(
|
|
59272
|
+
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 = {
|
|
59273
59273
|
mimeType: i,
|
|
59274
59274
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59275
59275
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59324,7 +59324,7 @@
|
|
|
59324
59324
|
}
|
|
59325
59325
|
}, [
|
|
59326
59326
|
i
|
|
59327
|
-
]),
|
|
59327
|
+
]), p = reactExports.useCallback(()=>{
|
|
59328
59328
|
if (s.current && r.current) try {
|
|
59329
59329
|
s.current.discardRecording(), r.current = !1;
|
|
59330
59330
|
} catch (t) {
|
|
@@ -59333,19 +59333,19 @@
|
|
|
59333
59333
|
}, []);
|
|
59334
59334
|
return reactExports.useEffect(()=>{
|
|
59335
59335
|
let t = ()=>{
|
|
59336
|
-
"hidden" === document.visibilityState ?
|
|
59336
|
+
"hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59337
59337
|
};
|
|
59338
59338
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59339
59339
|
document.removeEventListener("visibilitychange", t);
|
|
59340
59340
|
};
|
|
59341
59341
|
}, [
|
|
59342
59342
|
l,
|
|
59343
|
-
|
|
59343
|
+
p
|
|
59344
59344
|
]), {
|
|
59345
59345
|
startRecording: l,
|
|
59346
59346
|
stopRecording: d,
|
|
59347
59347
|
resetRecording: u,
|
|
59348
|
-
discardRecording:
|
|
59348
|
+
discardRecording: p
|
|
59349
59349
|
};
|
|
59350
59350
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59351
59351
|
imageBlob: null,
|
|
@@ -59558,22 +59558,22 @@
|
|
|
59558
59558
|
});
|
|
59559
59559
|
}
|
|
59560
59560
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59561
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo:
|
|
59561
|
+
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")({
|
|
59562
59562
|
theme: T
|
|
59563
|
-
}), 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(()=>{}),
|
|
59563
|
+
}), 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)=>{
|
|
59564
59564
|
null === t ? er("") : er(Y(t?.code, {
|
|
59565
59565
|
side: k ? Y("front") : Y("back")
|
|
59566
59566
|
}));
|
|
59567
59567
|
}, [
|
|
59568
59568
|
Y,
|
|
59569
59569
|
k
|
|
59570
|
-
]),
|
|
59570
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59571
59571
|
ee(""), eu.current();
|
|
59572
59572
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59573
59573
|
ee(""), B(...t);
|
|
59574
59574
|
}, [
|
|
59575
59575
|
B
|
|
59576
|
-
]), { 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:
|
|
59576
|
+
]), { 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 })=>{
|
|
59577
59577
|
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(()=>{
|
|
59578
59578
|
Q((t)=>!t);
|
|
59579
59579
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59614,30 +59614,30 @@
|
|
|
59614
59614
|
l.blurLargeThresholdAuto,
|
|
59615
59615
|
l.blurLargeThresholdManual,
|
|
59616
59616
|
l.enableAutoCapture
|
|
59617
|
-
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState:
|
|
59617
|
+
]), { 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 }) {
|
|
59618
59618
|
let C = reactExports.useRef(null);
|
|
59619
59619
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59620
|
-
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 } =
|
|
59621
|
-
videoFrameWidth:
|
|
59622
|
-
videoFrameHeight:
|
|
59623
|
-
videoBitrate:
|
|
59624
|
-
fps:
|
|
59620
|
+
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(()=>({
|
|
59621
|
+
videoFrameWidth: p.recordVideoFrameWidth,
|
|
59622
|
+
videoFrameHeight: p.recordVideoFrameHeight,
|
|
59623
|
+
videoBitrate: p.recordVideoBitrate,
|
|
59624
|
+
fps: p.recordVideoFps
|
|
59625
59625
|
}), [
|
|
59626
|
-
|
|
59627
|
-
|
|
59628
|
-
|
|
59629
|
-
|
|
59626
|
+
p.recordVideoBitrate,
|
|
59627
|
+
p.recordVideoFps,
|
|
59628
|
+
p.recordVideoFrameHeight,
|
|
59629
|
+
p.recordVideoFrameWidth
|
|
59630
59630
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59631
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59631
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
|
|
59632
59632
|
g,
|
|
59633
|
-
|
|
59634
|
-
|
|
59633
|
+
p.enableRecordCapturingBack,
|
|
59634
|
+
p.enableRecordCapturingFront
|
|
59635
59635
|
])
|
|
59636
59636
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59637
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59637
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
|
|
59638
59638
|
g,
|
|
59639
|
-
|
|
59640
|
-
|
|
59639
|
+
p.enableRecordFullSessionBack,
|
|
59640
|
+
p.enableRecordFullSessionFront
|
|
59641
59641
|
])
|
|
59642
59642
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59643
59643
|
let t = reactExports.useContext(nU);
|
|
@@ -59651,8 +59651,8 @@
|
|
|
59651
59651
|
]), reactExports.useEffect(()=>{
|
|
59652
59652
|
let t = !1;
|
|
59653
59653
|
return async function r() {
|
|
59654
|
-
if (
|
|
59655
|
-
if (
|
|
59654
|
+
if (p && !I) {
|
|
59655
|
+
if (p.enableIdDetection) {
|
|
59656
59656
|
let t = ((t, r)=>{
|
|
59657
59657
|
if (0 === t.length) return {
|
|
59658
59658
|
isValid: !1
|
|
@@ -59673,7 +59673,7 @@
|
|
|
59673
59673
|
} : {
|
|
59674
59674
|
isValid: !1
|
|
59675
59675
|
};
|
|
59676
|
-
})(Z.map((t)=>t.code),
|
|
59676
|
+
})(Z.map((t)=>t.code), p?.cardTypeModelMapping);
|
|
59677
59677
|
if (!t.isValid) {
|
|
59678
59678
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59679
59679
|
return;
|
|
@@ -59682,7 +59682,7 @@
|
|
|
59682
59682
|
V.current = await a_({
|
|
59683
59683
|
...W,
|
|
59684
59684
|
idCardModelUrl: r
|
|
59685
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59685
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59686
59686
|
} else Q(!1), N.current = !1;
|
|
59687
59687
|
t || O(!0);
|
|
59688
59688
|
}
|
|
@@ -59691,7 +59691,7 @@
|
|
|
59691
59691
|
};
|
|
59692
59692
|
}, [
|
|
59693
59693
|
I,
|
|
59694
|
-
|
|
59694
|
+
p,
|
|
59695
59695
|
W,
|
|
59696
59696
|
Z,
|
|
59697
59697
|
U
|
|
@@ -59708,13 +59708,13 @@
|
|
|
59708
59708
|
});
|
|
59709
59709
|
}, [
|
|
59710
59710
|
k
|
|
59711
|
-
]),
|
|
59711
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59712
59712
|
Y || (en(), es());
|
|
59713
59713
|
}, [
|
|
59714
59714
|
Y,
|
|
59715
59715
|
en,
|
|
59716
59716
|
es
|
|
59717
|
-
]),
|
|
59717
|
+
]), ep = reactExports.useCallback(async ()=>{
|
|
59718
59718
|
let t = {
|
|
59719
59719
|
capturingVideo: {
|
|
59720
59720
|
blob: null
|
|
@@ -59729,18 +59729,18 @@
|
|
|
59729
59729
|
}, [
|
|
59730
59730
|
eo,
|
|
59731
59731
|
ea
|
|
59732
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59732
|
+
]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
|
|
59733
59733
|
g,
|
|
59734
|
-
|
|
59735
|
-
|
|
59736
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59734
|
+
p.enableFlashlightBack,
|
|
59735
|
+
p.enableFlashlightFront
|
|
59736
|
+
]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
|
|
59737
59737
|
g,
|
|
59738
|
-
|
|
59739
|
-
|
|
59740
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59738
|
+
p.flashlightActivationDelayBack,
|
|
59739
|
+
p.flashlightActivationDelayFront
|
|
59740
|
+
]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
|
|
59741
59741
|
g,
|
|
59742
|
-
|
|
59743
|
-
|
|
59742
|
+
p.flashlightDurationBack,
|
|
59743
|
+
p.flashlightDurationFront
|
|
59744
59744
|
]), eb = reactExports.useCallback(()=>{
|
|
59745
59745
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59746
59746
|
ec(eg);
|
|
@@ -59757,9 +59757,9 @@
|
|
|
59757
59757
|
]), ew = reactExports.useCallback(()=>{
|
|
59758
59758
|
!0 === T.current && (T.current = !1);
|
|
59759
59759
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59760
|
-
|
|
59760
|
+
ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59761
59761
|
}, [
|
|
59762
|
-
|
|
59762
|
+
ef
|
|
59763
59763
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59764
59764
|
await er({
|
|
59765
59765
|
videoEl: l.current,
|
|
@@ -59772,7 +59772,7 @@
|
|
|
59772
59772
|
incomingFrameBlurScore: t,
|
|
59773
59773
|
currentFrameGlareScore: i.glareScore,
|
|
59774
59774
|
incomingFrameGlareScore: n,
|
|
59775
|
-
settings:
|
|
59775
|
+
settings: p,
|
|
59776
59776
|
blurLargeThreshold: s,
|
|
59777
59777
|
blurSmallThreshold: r
|
|
59778
59778
|
})) {
|
|
@@ -59790,25 +59790,25 @@
|
|
|
59790
59790
|
}
|
|
59791
59791
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59792
59792
|
}
|
|
59793
|
-
|
|
59793
|
+
p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
|
|
59794
59794
|
}, [
|
|
59795
59795
|
er,
|
|
59796
59796
|
l,
|
|
59797
59797
|
et,
|
|
59798
59798
|
eb,
|
|
59799
|
-
|
|
59799
|
+
p,
|
|
59800
59800
|
s,
|
|
59801
59801
|
r,
|
|
59802
59802
|
k
|
|
59803
59803
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59804
59804
|
F.current = !0;
|
|
59805
59805
|
let i = A.current;
|
|
59806
|
-
if (
|
|
59806
|
+
if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
|
|
59807
59807
|
currentFrameBlurScore: i.blurScore,
|
|
59808
59808
|
currentFrameGlareScore: i.glareScore,
|
|
59809
59809
|
incomingFrameBlurScore: t,
|
|
59810
59810
|
incomingFrameGlareScore: n,
|
|
59811
|
-
settings:
|
|
59811
|
+
settings: p,
|
|
59812
59812
|
blurLargeThreshold: s,
|
|
59813
59813
|
blurSmallThreshold: r
|
|
59814
59814
|
})) {
|
|
@@ -59827,19 +59827,19 @@
|
|
|
59827
59827
|
s,
|
|
59828
59828
|
r,
|
|
59829
59829
|
k,
|
|
59830
|
-
|
|
59830
|
+
p
|
|
59831
59831
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59832
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59832
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
|
|
59833
59833
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59834
|
-
let t = await
|
|
59834
|
+
let t = await ep();
|
|
59835
59835
|
await ev(), await b({
|
|
59836
59836
|
...r,
|
|
59837
59837
|
...t
|
|
59838
59838
|
}), J(!1), R.current = null;
|
|
59839
59839
|
}
|
|
59840
59840
|
}, [
|
|
59841
|
-
|
|
59842
|
-
|
|
59841
|
+
p,
|
|
59842
|
+
ep,
|
|
59843
59843
|
ev,
|
|
59844
59844
|
b
|
|
59845
59845
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59854,7 +59854,7 @@
|
|
|
59854
59854
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59855
59855
|
recordVideoSettings: et
|
|
59856
59856
|
}), eb(), new Promise((t)=>{
|
|
59857
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59857
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
|
|
59858
59858
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59859
59859
|
ex().then(async ()=>{
|
|
59860
59860
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59869,7 +59869,7 @@
|
|
|
59869
59869
|
quality: k
|
|
59870
59870
|
}).then(async (n)=>{
|
|
59871
59871
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59872
|
-
let a = await
|
|
59872
|
+
let a = await ep();
|
|
59873
59873
|
t({
|
|
59874
59874
|
...i,
|
|
59875
59875
|
...a
|
|
@@ -59877,7 +59877,7 @@
|
|
|
59877
59877
|
});
|
|
59878
59878
|
} else {
|
|
59879
59879
|
o && await eu(i.detectedCard);
|
|
59880
|
-
let r = await
|
|
59880
|
+
let r = await ep();
|
|
59881
59881
|
t({
|
|
59882
59882
|
...i,
|
|
59883
59883
|
...r
|
|
@@ -59904,10 +59904,10 @@
|
|
|
59904
59904
|
l,
|
|
59905
59905
|
et,
|
|
59906
59906
|
eb,
|
|
59907
|
-
|
|
59907
|
+
p,
|
|
59908
59908
|
e_,
|
|
59909
59909
|
ex,
|
|
59910
|
-
|
|
59910
|
+
ep,
|
|
59911
59911
|
ev,
|
|
59912
59912
|
r,
|
|
59913
59913
|
s,
|
|
@@ -59941,10 +59941,10 @@
|
|
|
59941
59941
|
portraitTopLeft: c,
|
|
59942
59942
|
portraitBottomRight: l
|
|
59943
59943
|
};
|
|
59944
|
-
}(t,
|
|
59944
|
+
}(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59945
59945
|
let { cv: o } = window;
|
|
59946
59946
|
if (!o) throw Error("Opencv not found!");
|
|
59947
|
-
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t,
|
|
59947
|
+
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, [
|
|
59948
59948
|
n.x,
|
|
59949
59949
|
n.y,
|
|
59950
59950
|
i.x,
|
|
@@ -59953,7 +59953,7 @@
|
|
|
59953
59953
|
a.y,
|
|
59954
59954
|
s.x,
|
|
59955
59955
|
s.y
|
|
59956
|
-
]),
|
|
59956
|
+
]), p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59957
59957
|
0,
|
|
59958
59958
|
0,
|
|
59959
59959
|
c - 1,
|
|
@@ -59962,7 +59962,7 @@
|
|
|
59962
59962
|
l - 1,
|
|
59963
59963
|
0,
|
|
59964
59964
|
l - 1
|
|
59965
|
-
]), h = o.getPerspectiveTransform(
|
|
59965
|
+
]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
|
|
59966
59966
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59967
59967
|
t[0],
|
|
59968
59968
|
t[1]
|
|
@@ -59976,7 +59976,7 @@
|
|
|
59976
59976
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59977
59977
|
];
|
|
59978
59978
|
}, g = m(d), b = m(u);
|
|
59979
|
-
return
|
|
59979
|
+
return f.delete(), p.delete(), h.delete(), [
|
|
59980
59980
|
parseInt(g[0], 10),
|
|
59981
59981
|
parseInt(g[1], 10),
|
|
59982
59982
|
parseInt(b[0], 10),
|
|
@@ -60054,9 +60054,9 @@
|
|
|
60054
60054
|
};
|
|
60055
60055
|
}
|
|
60056
60056
|
}, [
|
|
60057
|
-
|
|
60057
|
+
p
|
|
60058
60058
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60059
|
-
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding:
|
|
60059
|
+
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 = {
|
|
60060
60060
|
error: null
|
|
60061
60061
|
};
|
|
60062
60062
|
try {
|
|
@@ -60073,12 +60073,12 @@
|
|
|
60073
60073
|
area: c.width * c.height
|
|
60074
60074
|
},
|
|
60075
60075
|
big: {
|
|
60076
|
-
area:
|
|
60076
|
+
area: f * h
|
|
60077
60077
|
}
|
|
60078
60078
|
});
|
|
60079
60079
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60080
60080
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60081
|
-
if (k && nn(
|
|
60081
|
+
if (k && nn(p, "enableCardTypeCheck")) {
|
|
60082
60082
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60083
60083
|
let o = t.split(".")?.[0];
|
|
60084
60084
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60152,8 +60152,8 @@
|
|
|
60152
60152
|
smallThreshold: r,
|
|
60153
60153
|
largeThreshold: s
|
|
60154
60154
|
}), u = {
|
|
60155
|
-
small: iz(d?.[0],
|
|
60156
|
-
large: iz(d?.[1],
|
|
60155
|
+
small: iz(d?.[0], p.blurSmallDecimal),
|
|
60156
|
+
large: iz(d?.[1], p.blurLargeDecimal)
|
|
60157
60157
|
};
|
|
60158
60158
|
if (eT.current = {
|
|
60159
60159
|
...eT.current,
|
|
@@ -60169,10 +60169,10 @@
|
|
|
60169
60169
|
}
|
|
60170
60170
|
if (y) {
|
|
60171
60171
|
var I, O, M, A, R, L, F, N;
|
|
60172
|
-
let r, s,
|
|
60172
|
+
let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60173
60173
|
eT.current = {
|
|
60174
60174
|
...eT.current,
|
|
60175
|
-
label:
|
|
60175
|
+
label: p,
|
|
60176
60176
|
corner_size: h?.length
|
|
60177
60177
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60178
60178
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60184,7 +60184,7 @@
|
|
|
60184
60184
|
o.strokeRect(s, c, l - s, d - c);
|
|
60185
60185
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60186
60186
|
iW(t.bboxes, "blue", I, R, r);
|
|
60187
|
-
}),
|
|
60187
|
+
}), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
|
|
60188
60188
|
iW(t.bboxes, "green", I, R, r);
|
|
60189
60189
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60190
60190
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60193,7 +60193,7 @@
|
|
|
60193
60193
|
}
|
|
60194
60194
|
return T;
|
|
60195
60195
|
}, [
|
|
60196
|
-
|
|
60196
|
+
p,
|
|
60197
60197
|
y,
|
|
60198
60198
|
l,
|
|
60199
60199
|
Z,
|
|
@@ -60202,13 +60202,13 @@
|
|
|
60202
60202
|
s,
|
|
60203
60203
|
eD
|
|
60204
60204
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60205
|
-
if (!
|
|
60205
|
+
if (!p || !I || T.current) return;
|
|
60206
60206
|
M.current = aj(), A.current = aI();
|
|
60207
|
-
let { enableVirtualCamHashes: t } =
|
|
60207
|
+
let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60208
60208
|
T.current = !0;
|
|
60209
60209
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60210
60210
|
u.width = c, u.height = d;
|
|
60211
|
-
let
|
|
60211
|
+
let f = u.getContext("2d"), h = async ()=>{
|
|
60212
60212
|
if (!1 === T.current) return;
|
|
60213
60213
|
await ei({
|
|
60214
60214
|
videoEl: l.current,
|
|
@@ -60216,11 +60216,11 @@
|
|
|
60216
60216
|
recordVideoSettings: et
|
|
60217
60217
|
});
|
|
60218
60218
|
let n = K.current;
|
|
60219
|
-
|
|
60219
|
+
f.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60220
60220
|
let g = performance.now();
|
|
60221
60221
|
if (z.current = !1, q && o) {
|
|
60222
60222
|
let o = await r.predict(u);
|
|
60223
|
-
!
|
|
60223
|
+
!p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60224
60224
|
let r = nn(t, "card.corners");
|
|
60225
60225
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60226
60226
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60249,7 +60249,7 @@
|
|
|
60249
60249
|
};
|
|
60250
60250
|
K.current = window.requestAnimationFrame(h);
|
|
60251
60251
|
}, [
|
|
60252
|
-
|
|
60252
|
+
p,
|
|
60253
60253
|
I,
|
|
60254
60254
|
l,
|
|
60255
60255
|
ei,
|
|
@@ -60302,7 +60302,7 @@
|
|
|
60302
60302
|
refBlurScores: X,
|
|
60303
60303
|
refGlareScores: H,
|
|
60304
60304
|
resetState: ek,
|
|
60305
|
-
resetRecordVideo:
|
|
60305
|
+
resetRecordVideo: ef
|
|
60306
60306
|
};
|
|
60307
60307
|
}({
|
|
60308
60308
|
isAutoCapture: q,
|
|
@@ -60320,17 +60320,17 @@
|
|
|
60320
60320
|
});
|
|
60321
60321
|
reactExports.useContext(aO);
|
|
60322
60322
|
let eh = reactExports.useCallback(()=>{
|
|
60323
|
-
|
|
60323
|
+
ep(), eo(), k();
|
|
60324
60324
|
}, [
|
|
60325
60325
|
eo,
|
|
60326
|
-
|
|
60326
|
+
ep,
|
|
60327
60327
|
k
|
|
60328
60328
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60329
|
-
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t,
|
|
60329
|
+
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
|
|
60330
60330
|
totalTime: i,
|
|
60331
60331
|
interruptible: r
|
|
60332
60332
|
}));
|
|
60333
|
-
reactExports.useEffect(()=>
|
|
60333
|
+
reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
|
|
60334
60334
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60335
60335
|
curTimeLeft: t
|
|
60336
60336
|
});
|
|
@@ -60339,24 +60339,24 @@
|
|
|
60339
60339
|
c,
|
|
60340
60340
|
i,
|
|
60341
60341
|
r
|
|
60342
|
-
]), reactExports.useEffect(()=>
|
|
60343
|
-
r &&
|
|
60342
|
+
]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
|
|
60343
|
+
r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
|
|
60344
60344
|
}), [
|
|
60345
60345
|
l,
|
|
60346
60346
|
u,
|
|
60347
60347
|
s?.enable,
|
|
60348
60348
|
s?.total,
|
|
60349
60349
|
r
|
|
60350
|
-
]), reactExports.useEffect(()=>d ?
|
|
60350
|
+
]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
|
|
60351
60351
|
d
|
|
60352
60352
|
]);
|
|
60353
|
-
let
|
|
60354
|
-
|
|
60353
|
+
let p = reactExports.useCallback(()=>{
|
|
60354
|
+
f.current.resume();
|
|
60355
60355
|
}, []);
|
|
60356
60356
|
return {
|
|
60357
|
-
resumeTimer:
|
|
60357
|
+
resumeTimer: p,
|
|
60358
60358
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60359
|
-
|
|
60359
|
+
f.current.pause();
|
|
60360
60360
|
}, [])
|
|
60361
60361
|
};
|
|
60362
60362
|
})({
|
|
@@ -60370,24 +60370,24 @@
|
|
|
60370
60370
|
}), eb = reactExports.useCallback(()=>{
|
|
60371
60371
|
x.current = !1;
|
|
60372
60372
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60373
|
-
eb(), em(),
|
|
60373
|
+
eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60374
60374
|
en()
|
|
60375
60375
|
]);
|
|
60376
60376
|
}, [
|
|
60377
60377
|
eb,
|
|
60378
|
-
|
|
60378
|
+
ef,
|
|
60379
60379
|
U,
|
|
60380
60380
|
u,
|
|
60381
60381
|
en,
|
|
60382
60382
|
em
|
|
60383
60383
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60384
|
-
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash:
|
|
60384
|
+
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;
|
|
60385
60385
|
if (x.current) return;
|
|
60386
60386
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60387
60387
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60388
|
-
if (v && null !==
|
|
60388
|
+
if (v && null !== f) {
|
|
60389
60389
|
let t = [
|
|
60390
|
-
|
|
60390
|
+
f,
|
|
60391
60391
|
...ec.current
|
|
60392
60392
|
];
|
|
60393
60393
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60396,7 +60396,7 @@
|
|
|
60396
60396
|
h7.addExifData("user_action", {
|
|
60397
60397
|
start_id_card: F.current,
|
|
60398
60398
|
end_id_card: Date.now()
|
|
60399
|
-
}), 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",
|
|
60399
|
+
}), 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)));
|
|
60400
60400
|
let T = await h7.writeCurrentExif({
|
|
60401
60401
|
imageData: {
|
|
60402
60402
|
blob: o
|
|
@@ -60534,14 +60534,14 @@
|
|
|
60534
60534
|
};
|
|
60535
60535
|
})({
|
|
60536
60536
|
shouldStart: !0,
|
|
60537
|
-
refVideo:
|
|
60537
|
+
refVideo: p,
|
|
60538
60538
|
cropArea: eo,
|
|
60539
60539
|
settings: C,
|
|
60540
|
-
onModelErrorChange:
|
|
60540
|
+
onModelErrorChange: ef,
|
|
60541
60541
|
frontSide: k,
|
|
60542
60542
|
allowedCardTypes: y,
|
|
60543
60543
|
onDebugInfoChange: K,
|
|
60544
|
-
onSessionTimeout:
|
|
60544
|
+
onSessionTimeout: ep,
|
|
60545
60545
|
onCaptureDone: eh,
|
|
60546
60546
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60547
60547
|
ee(Y("remaining_time", {
|
|
@@ -60570,9 +60570,9 @@
|
|
|
60570
60570
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60571
60571
|
reactExports.useEffect(()=>{
|
|
60572
60572
|
if (u) {
|
|
60573
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60574
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60575
|
-
x: Math.floor((c - i) / 2) +
|
|
60573
|
+
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
|
|
60574
|
+
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({
|
|
60575
|
+
x: Math.floor((c - i) / 2) + f,
|
|
60576
60576
|
y: s,
|
|
60577
60577
|
width: i,
|
|
60578
60578
|
height: a,
|
|
@@ -61042,8 +61042,8 @@
|
|
|
61042
61042
|
Object.keys(l || {}).forEach(function(t) {
|
|
61043
61043
|
l[t] = i[t] || l[t];
|
|
61044
61044
|
});
|
|
61045
|
-
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,
|
|
61046
|
-
return
|
|
61045
|
+
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);
|
|
61046
|
+
return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
|
|
61047
61047
|
}
|
|
61048
61048
|
d.default = d, r.default = d;
|
|
61049
61049
|
},
|
|
@@ -61064,10 +61064,10 @@
|
|
|
61064
61064
|
r.binarize = function(t, r, o, a) {
|
|
61065
61065
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61066
61066
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61067
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61068
|
-
s.set(c, l, .2126 * d + .7152 * u + .0722 *
|
|
61067
|
+
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
|
|
61068
|
+
s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
|
|
61069
61069
|
}
|
|
61070
|
-
for(var
|
|
61070
|
+
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++){
|
|
61071
61071
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61072
61072
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61073
61073
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61081,8 +61081,8 @@
|
|
|
61081
61081
|
}
|
|
61082
61082
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61083
61083
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61084
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61085
|
-
for(var P, S, E, T, D = (P = b, S =
|
|
61084
|
+
for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61085
|
+
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);
|
|
61086
61086
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61087
61087
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61088
61088
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61363,16 +61363,16 @@
|
|
|
61363
61363
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61364
61364
|
r = t.get(u, d), l = l << 1 | r;
|
|
61365
61365
|
}
|
|
61366
|
-
for(var
|
|
61367
|
-
o = t.get(u, d),
|
|
61366
|
+
for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
|
|
61367
|
+
o = t.get(u, d), f = f << 1 | o;
|
|
61368
61368
|
}
|
|
61369
|
-
for(var
|
|
61369
|
+
for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61370
61370
|
var g = m[h];
|
|
61371
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61371
|
+
if (g.infoBits === l || g.infoBits === f) return g;
|
|
61372
61372
|
var b = c(l, g.infoBits);
|
|
61373
|
-
b <
|
|
61373
|
+
b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
|
|
61374
61374
|
}
|
|
61375
|
-
if (
|
|
61375
|
+
if (p <= 3) return n;
|
|
61376
61376
|
}(t);
|
|
61377
61377
|
if (!r) return null;
|
|
61378
61378
|
var o = function(t) {
|
|
@@ -61382,19 +61382,19 @@
|
|
|
61382
61382
|
for(var d = 7; d >= 0; d--){
|
|
61383
61383
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61384
61384
|
}
|
|
61385
|
-
for(var u = t.height,
|
|
61386
|
-
n = t.get(8, d),
|
|
61385
|
+
for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
|
|
61386
|
+
n = t.get(8, d), f = f << 1 | n;
|
|
61387
61387
|
}
|
|
61388
61388
|
for(var s = u - 8; s < u; s++){
|
|
61389
|
-
i = t.get(s, 8),
|
|
61389
|
+
i = t.get(s, 8), f = f << 1 | i;
|
|
61390
61390
|
}
|
|
61391
|
-
for(var
|
|
61391
|
+
for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61392
61392
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61393
|
-
if (b === a || b ===
|
|
61393
|
+
if (b === a || b === f) return v;
|
|
61394
61394
|
var w = c(a, b);
|
|
61395
|
-
w <
|
|
61395
|
+
w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
|
|
61396
61396
|
}
|
|
61397
|
-
return
|
|
61397
|
+
return p <= 3 ? h : null;
|
|
61398
61398
|
}(t);
|
|
61399
61399
|
if (!o) return null;
|
|
61400
61400
|
var u = function(t, r, o) {
|
|
@@ -61411,10 +61411,10 @@
|
|
|
61411
61411
|
d.codewords.push(t.shift());
|
|
61412
61412
|
}
|
|
61413
61413
|
if (n.ecBlocks.length > 1) {
|
|
61414
|
-
for(var u = n.ecBlocks[0].numBlocks,
|
|
61414
|
+
for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
|
|
61415
61415
|
}
|
|
61416
|
-
for(; t.length > 0;)for(var
|
|
61417
|
-
var d = i[
|
|
61416
|
+
for(; t.length > 0;)for(var p = 0; p < i.length; p++){
|
|
61417
|
+
var d = i[p];
|
|
61418
61418
|
d.codewords.push(t.shift());
|
|
61419
61419
|
}
|
|
61420
61420
|
return i;
|
|
@@ -61429,11 +61429,11 @@
|
|
|
61429
61429
|
}
|
|
61430
61430
|
}
|
|
61431
61431
|
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;
|
|
61432
|
-
}(r), c = [], l = 0, u = 0,
|
|
61433
|
-
6 ===
|
|
61432
|
+
}(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
|
|
61433
|
+
6 === p && p--;
|
|
61434
61434
|
for(var h = 0; h < a; h++){
|
|
61435
|
-
for(var m =
|
|
61436
|
-
var b =
|
|
61435
|
+
for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61436
|
+
var b = p - g;
|
|
61437
61437
|
if (!s.get(b, m)) {
|
|
61438
61438
|
u++;
|
|
61439
61439
|
var v = t.get(b, m);
|
|
@@ -61444,20 +61444,20 @@
|
|
|
61444
61444
|
}
|
|
61445
61445
|
}
|
|
61446
61446
|
}
|
|
61447
|
-
|
|
61447
|
+
f = !f;
|
|
61448
61448
|
}
|
|
61449
61449
|
return c;
|
|
61450
61450
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61451
61451
|
if (!u) return null;
|
|
61452
|
-
for(var
|
|
61452
|
+
for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61453
61453
|
return t + r.numDataCodewords;
|
|
61454
|
-
}, 0)),
|
|
61454
|
+
}, 0)), p = 0, h = 0; h < u.length; h++){
|
|
61455
61455
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61456
61456
|
if (!g) return null;
|
|
61457
|
-
for(var b = 0; b < m.numDataCodewords; b++)p
|
|
61457
|
+
for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
|
|
61458
61458
|
}
|
|
61459
61459
|
try {
|
|
61460
|
-
return i.decode(
|
|
61460
|
+
return i.decode(f, r.versionNumber);
|
|
61461
61461
|
} catch (t) {
|
|
61462
61462
|
return null;
|
|
61463
61463
|
}
|
|
@@ -61524,23 +61524,23 @@
|
|
|
61524
61524
|
":"
|
|
61525
61525
|
];
|
|
61526
61526
|
r.decode = function(t, r) {
|
|
61527
|
-
for(var o, n, i, u,
|
|
61527
|
+
for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
|
|
61528
61528
|
text: "",
|
|
61529
61529
|
bytes: [],
|
|
61530
61530
|
chunks: [],
|
|
61531
61531
|
version: r
|
|
61532
|
-
};
|
|
61533
|
-
var m =
|
|
61532
|
+
}; f.available() >= 4;){
|
|
61533
|
+
var m = f.readBits(4);
|
|
61534
61534
|
if (m === s.Terminator) return h;
|
|
61535
|
-
if (m === s.ECI) 0 ===
|
|
61535
|
+
if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
|
|
61536
61536
|
type: a.ECI,
|
|
61537
|
-
assignmentNumber:
|
|
61538
|
-
}) : 0 ===
|
|
61537
|
+
assignmentNumber: f.readBits(7)
|
|
61538
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61539
61539
|
type: a.ECI,
|
|
61540
|
-
assignmentNumber:
|
|
61541
|
-
}) : 0 ===
|
|
61540
|
+
assignmentNumber: f.readBits(14)
|
|
61541
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61542
61542
|
type: a.ECI,
|
|
61543
|
-
assignmentNumber:
|
|
61543
|
+
assignmentNumber: f.readBits(21)
|
|
61544
61544
|
}) : h.chunks.push({
|
|
61545
61545
|
type: a.ECI,
|
|
61546
61546
|
assignmentNumber: -1
|
|
@@ -61571,7 +61571,7 @@
|
|
|
61571
61571
|
bytes: o,
|
|
61572
61572
|
text: n
|
|
61573
61573
|
};
|
|
61574
|
-
}(
|
|
61574
|
+
}(f, p);
|
|
61575
61575
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61576
61576
|
type: a.Numeric,
|
|
61577
61577
|
text: g.text
|
|
@@ -61594,7 +61594,7 @@
|
|
|
61594
61594
|
bytes: o,
|
|
61595
61595
|
text: n
|
|
61596
61596
|
};
|
|
61597
|
-
}(
|
|
61597
|
+
}(f, p);
|
|
61598
61598
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61599
61599
|
type: a.Alphanumeric,
|
|
61600
61600
|
text: b.text
|
|
@@ -61618,7 +61618,7 @@
|
|
|
61618
61618
|
bytes: o,
|
|
61619
61619
|
text: n
|
|
61620
61620
|
};
|
|
61621
|
-
}(
|
|
61621
|
+
}(f, p);
|
|
61622
61622
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61623
61623
|
type: a.Byte,
|
|
61624
61624
|
bytes: v.bytes,
|
|
@@ -61638,7 +61638,7 @@
|
|
|
61638
61638
|
bytes: o,
|
|
61639
61639
|
text: n
|
|
61640
61640
|
};
|
|
61641
|
-
}(
|
|
61641
|
+
}(f, p);
|
|
61642
61642
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61643
61643
|
type: a.Kanji,
|
|
61644
61644
|
bytes: w.bytes,
|
|
@@ -61646,7 +61646,7 @@
|
|
|
61646
61646
|
});
|
|
61647
61647
|
}
|
|
61648
61648
|
}
|
|
61649
|
-
if (0 ===
|
|
61649
|
+
if (0 === f.available() || 0 === f.readBits(f.available())) return h;
|
|
61650
61650
|
};
|
|
61651
61651
|
},
|
|
61652
61652
|
function(t, r, o) {
|
|
@@ -68732,7 +68732,7 @@
|
|
|
68732
68732
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68733
68733
|
}
|
|
68734
68734
|
if (!l) return o;
|
|
68735
|
-
var
|
|
68735
|
+
var f = new i.default(a, c), p = function(t, r, o, n) {
|
|
68736
68736
|
r.degree() < o.degree() && (r = (i = [
|
|
68737
68737
|
o,
|
|
68738
68738
|
r
|
|
@@ -68741,11 +68741,11 @@
|
|
|
68741
68741
|
var d = a, u = c;
|
|
68742
68742
|
if (a = s, c = l, a.isZero()) return null;
|
|
68743
68743
|
s = d;
|
|
68744
|
-
for(var
|
|
68744
|
+
for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
|
|
68745
68745
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68746
|
-
|
|
68746
|
+
f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68747
68747
|
}
|
|
68748
|
-
if (l =
|
|
68748
|
+
if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68749
68749
|
}
|
|
68750
68750
|
var b = l.getCoefficient(0);
|
|
68751
68751
|
if (0 === b) return null;
|
|
@@ -68754,8 +68754,8 @@
|
|
|
68754
68754
|
l.multiply(v),
|
|
68755
68755
|
s.multiply(v)
|
|
68756
68756
|
];
|
|
68757
|
-
}(a, a.buildMonomial(r, 1),
|
|
68758
|
-
if (null ===
|
|
68757
|
+
}(a, a.buildMonomial(r, 1), f, r);
|
|
68758
|
+
if (null === p) return null;
|
|
68759
68759
|
var h = function(t, r) {
|
|
68760
68760
|
var o = r.degree();
|
|
68761
68761
|
if (1 === o) return [
|
|
@@ -68763,7 +68763,7 @@
|
|
|
68763
68763
|
];
|
|
68764
68764
|
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++);
|
|
68765
68765
|
return i !== o ? null : n;
|
|
68766
|
-
}(a,
|
|
68766
|
+
}(a, p[0]);
|
|
68767
68767
|
if (null == h) return null;
|
|
68768
68768
|
for(var m = function(t, r, o) {
|
|
68769
68769
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68771,7 +68771,7 @@
|
|
|
68771
68771
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68772
68772
|
}
|
|
68773
68773
|
return a;
|
|
68774
|
-
}(a,
|
|
68774
|
+
}(a, p[1], h), g = 0; g < h.length; g++){
|
|
68775
68775
|
var b = o.length - 1 - a.log(h[g]);
|
|
68776
68776
|
if (b < 0) return null;
|
|
68777
68777
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71252,14 +71252,14 @@
|
|
|
71252
71252
|
a32: t.y,
|
|
71253
71253
|
a33: 1
|
|
71254
71254
|
};
|
|
71255
|
-
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,
|
|
71255
|
+
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;
|
|
71256
71256
|
return {
|
|
71257
|
-
a11: r.x - t.x +
|
|
71258
|
-
a12: r.y - t.y +
|
|
71259
|
-
a13:
|
|
71260
|
-
a21: n.x - t.x +
|
|
71261
|
-
a22: n.y - t.y +
|
|
71262
|
-
a23:
|
|
71257
|
+
a11: r.x - t.x + f * r.x,
|
|
71258
|
+
a12: r.y - t.y + f * r.y,
|
|
71259
|
+
a13: f,
|
|
71260
|
+
a21: n.x - t.x + p * n.x,
|
|
71261
|
+
a22: n.y - t.y + p * n.y,
|
|
71262
|
+
a23: p,
|
|
71263
71263
|
a31: t.x,
|
|
71264
71264
|
a32: t.y,
|
|
71265
71265
|
a33: 1
|
|
@@ -71288,7 +71288,7 @@
|
|
|
71288
71288
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71289
71289
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71290
71290
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71291
|
-
}),
|
|
71291
|
+
}), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71292
71292
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71293
71293
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71294
71294
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71298,18 +71298,18 @@
|
|
|
71298
71298
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71299
71299
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71300
71300
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71301
|
-
}),
|
|
71302
|
-
var o =
|
|
71301
|
+
}), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
|
|
71302
|
+
var o = f.a13 * t + f.a23 * r + f.a33;
|
|
71303
71303
|
return {
|
|
71304
|
-
x: (
|
|
71305
|
-
y: (
|
|
71304
|
+
x: (f.a11 * t + f.a21 * r + f.a31) / o,
|
|
71305
|
+
y: (f.a12 * t + f.a22 * r + f.a32) / o
|
|
71306
71306
|
};
|
|
71307
71307
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71308
71308
|
var b = h(g + .5, m + .5);
|
|
71309
|
-
|
|
71309
|
+
p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71310
71310
|
}
|
|
71311
71311
|
return {
|
|
71312
|
-
matrix:
|
|
71312
|
+
matrix: p,
|
|
71313
71313
|
mappingFunction: h
|
|
71314
71314
|
};
|
|
71315
71315
|
};
|
|
@@ -71334,15 +71334,15 @@
|
|
|
71334
71334
|
}
|
|
71335
71335
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71336
71336
|
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));
|
|
71337
|
-
for(var
|
|
71337
|
+
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){
|
|
71338
71338
|
var k = u ? w : v, y = u ? v : w;
|
|
71339
71339
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71340
71340
|
x: k,
|
|
71341
71341
|
y: y
|
|
71342
71342
|
}), d.length === i + 1)) break;
|
|
71343
|
-
if ((h +=
|
|
71343
|
+
if ((h += p) > 0) {
|
|
71344
71344
|
if (w === l) break;
|
|
71345
|
-
w += g, h -=
|
|
71345
|
+
w += g, h -= f;
|
|
71346
71346
|
}
|
|
71347
71347
|
}
|
|
71348
71348
|
for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
|
|
@@ -71378,7 +71378,7 @@
|
|
|
71378
71378
|
}, l = s(t, a, o, r.length), d = {
|
|
71379
71379
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71380
71380
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71381
|
-
}, u = s(t, d, o, r.length),
|
|
71381
|
+
}, 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;
|
|
71382
71382
|
return g + v;
|
|
71383
71383
|
} catch (t) {
|
|
71384
71384
|
return 1 / 0;
|
|
@@ -71411,16 +71411,16 @@
|
|
|
71411
71411
|
dimension: l,
|
|
71412
71412
|
moduleSize: c
|
|
71413
71413
|
};
|
|
71414
|
-
}(a, o, c, t)).dimension,
|
|
71414
|
+
}(a, o, c, t)).dimension, f = d.moduleSize;
|
|
71415
71415
|
} catch (t) {
|
|
71416
71416
|
return null;
|
|
71417
71417
|
}
|
|
71418
|
-
var d, u,
|
|
71418
|
+
var d, u, f, p = {
|
|
71419
71419
|
x: o.x - a.x + c.x,
|
|
71420
71420
|
y: o.y - a.y + c.y
|
|
71421
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71422
|
-
x: a.x + m * (
|
|
71423
|
-
y: a.y + m * (
|
|
71421
|
+
}, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
|
|
71422
|
+
x: a.x + m * (p.x - a.x),
|
|
71423
|
+
y: a.y + m * (p.y - a.y)
|
|
71424
71424
|
}, b = r.map(function(r) {
|
|
71425
71425
|
var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
|
|
71426
71426
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71458,7 +71458,7 @@
|
|
|
71458
71458
|
};
|
|
71459
71459
|
}
|
|
71460
71460
|
r.locate = function(t) {
|
|
71461
|
-
for(var r, o, a, s, c,
|
|
71461
|
+
for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
|
|
71462
71462
|
for(var o = 0, n = !1, a = [
|
|
71463
71463
|
0,
|
|
71464
71464
|
0,
|
|
@@ -71476,21 +71476,21 @@
|
|
|
71476
71476
|
a[4],
|
|
71477
71477
|
o
|
|
71478
71478
|
], o = 1, n = c;
|
|
71479
|
-
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,
|
|
71479
|
+
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;
|
|
71480
71480
|
if (d) {
|
|
71481
|
-
var
|
|
71481
|
+
var p = s - a[3] - a[4], h = p - a[2], m = {
|
|
71482
71482
|
startX: h,
|
|
71483
|
-
endX:
|
|
71483
|
+
endX: p,
|
|
71484
71484
|
y: r
|
|
71485
71485
|
}, g = y.filter(function(t) {
|
|
71486
|
-
return h >= t.bottom.startX && h <= t.bottom.endX ||
|
|
71486
|
+
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;
|
|
71487
71487
|
});
|
|
71488
71488
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71489
71489
|
top: m,
|
|
71490
71490
|
bottom: m
|
|
71491
71491
|
});
|
|
71492
71492
|
}
|
|
71493
|
-
if (
|
|
71493
|
+
if (f) {
|
|
71494
71494
|
var b = s - a[4], v = b - a[3], m = {
|
|
71495
71495
|
startX: v,
|
|
71496
71496
|
y: r,
|
|
@@ -71584,14 +71584,14 @@
|
|
|
71584
71584
|
r,
|
|
71585
71585
|
o,
|
|
71586
71586
|
a
|
|
71587
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71587
|
+
])[0], m = c[1], g = c[2]) : (h = (f = [
|
|
71588
71588
|
r,
|
|
71589
71589
|
a,
|
|
71590
71590
|
o
|
|
71591
|
-
])[0], m =
|
|
71591
|
+
])[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 = [
|
|
71592
71592
|
g,
|
|
71593
71593
|
h
|
|
71594
|
-
])[0], g =
|
|
71594
|
+
])[0], g = p[1]), {
|
|
71595
71595
|
bottomLeft: h,
|
|
71596
71596
|
topLeft: m,
|
|
71597
71597
|
topRight: g
|
|
@@ -71758,6 +71758,15 @@
|
|
|
71758
71758
|
text-align: center;
|
|
71759
71759
|
font-size: 20px;
|
|
71760
71760
|
font-weight: 600;
|
|
71761
|
+
`; dt$1.div`
|
|
71762
|
+
width: 100%;
|
|
71763
|
+
height: 100%;
|
|
71764
|
+
opacity: ${({ $showChildren: t })=>+!!t};
|
|
71765
|
+
`;
|
|
71766
|
+
dt$1.div`
|
|
71767
|
+
text-align: center;
|
|
71768
|
+
font-size: 20px;
|
|
71769
|
+
font-weight: 600;
|
|
71761
71770
|
`; dt$1.div`
|
|
71762
71771
|
width: 100%;
|
|
71763
71772
|
height: 100%;
|
|
@@ -71765,7 +71774,7 @@
|
|
|
71765
71774
|
`;
|
|
71766
71775
|
({
|
|
71767
71776
|
onOrientationChange: PropTypes.func,
|
|
71768
|
-
|
|
71777
|
+
unmountOnHidden: PropTypes.bool
|
|
71769
71778
|
});
|
|
71770
71779
|
({
|
|
71771
71780
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -71783,16 +71792,16 @@
|
|
|
71783
71792
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
71784
71793
|
customTexts: PropTypes.shape({})
|
|
71785
71794
|
});
|
|
71786
|
-
let { IDCardSide:
|
|
71787
|
-
iI.ID_CARD, ra$1.IDCardSide.FRONT,
|
|
71788
|
-
let
|
|
71795
|
+
let { IDCardSide: sU, IDCardType: sq, Errors: sQ } = ra$1;
|
|
71796
|
+
iI.ID_CARD, ra$1.IDCardSide.FRONT, sq.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sq.VN, iI.QR_CODE;
|
|
71797
|
+
let sX = [
|
|
71789
71798
|
{
|
|
71790
71799
|
scannerType: iI.ID_CARD,
|
|
71791
71800
|
title: "Chụp mặt trước",
|
|
71792
71801
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71793
71802
|
titleIcon: "id_card_front.svg",
|
|
71794
71803
|
cardSide: ra$1.IDCardSide.FRONT,
|
|
71795
|
-
cardType:
|
|
71804
|
+
cardType: sq.VN,
|
|
71796
71805
|
enableConfirmPopup: !1
|
|
71797
71806
|
},
|
|
71798
71807
|
{
|
|
@@ -71801,25 +71810,25 @@
|
|
|
71801
71810
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71802
71811
|
titleIcon: "id_card_back.svg",
|
|
71803
71812
|
cardSide: ra$1.IDCardSide.BACK,
|
|
71804
|
-
cardType:
|
|
71813
|
+
cardType: sq.VN,
|
|
71805
71814
|
enableConfirmPopup: !1
|
|
71806
71815
|
}
|
|
71807
71816
|
];
|
|
71808
|
-
function
|
|
71809
|
-
if (rh) return
|
|
71817
|
+
function sH() {
|
|
71818
|
+
if (rh) return rp;
|
|
71810
71819
|
rh = 1;
|
|
71811
71820
|
var t = o9();
|
|
71812
|
-
return
|
|
71821
|
+
return rp = function() {
|
|
71813
71822
|
try {
|
|
71814
71823
|
var r = t(Object, "defineProperty");
|
|
71815
71824
|
return r({}, "", {}), r;
|
|
71816
71825
|
} catch (t) {}
|
|
71817
71826
|
}();
|
|
71818
71827
|
}
|
|
71819
|
-
function
|
|
71828
|
+
function sG() {
|
|
71820
71829
|
if (rg) return rm;
|
|
71821
71830
|
rg = 1;
|
|
71822
|
-
var t =
|
|
71831
|
+
var t = sH();
|
|
71823
71832
|
return rm = function(r, o, n) {
|
|
71824
71833
|
"__proto__" == o && t ? t(r, o, {
|
|
71825
71834
|
configurable: !0,
|
|
@@ -71829,26 +71838,26 @@
|
|
|
71829
71838
|
}) : r[o] = n;
|
|
71830
71839
|
};
|
|
71831
71840
|
}
|
|
71832
|
-
function
|
|
71841
|
+
function sZ() {
|
|
71833
71842
|
if (rv) return rb;
|
|
71834
71843
|
rv = 1;
|
|
71835
|
-
var t =
|
|
71844
|
+
var t = sG(), r = o7();
|
|
71836
71845
|
return rb = function(o, n, i) {
|
|
71837
71846
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
71838
71847
|
};
|
|
71839
71848
|
}
|
|
71840
|
-
var
|
|
71849
|
+
var sK = {
|
|
71841
71850
|
exports: {}
|
|
71842
71851
|
};
|
|
71843
|
-
|
|
71844
|
-
function
|
|
71852
|
+
sK.exports;
|
|
71853
|
+
function sY() {
|
|
71845
71854
|
return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
|
|
71846
71855
|
return function(o) {
|
|
71847
71856
|
return t(r(o));
|
|
71848
71857
|
};
|
|
71849
71858
|
}))(Object.getPrototypeOf, Object));
|
|
71850
71859
|
}
|
|
71851
|
-
function
|
|
71860
|
+
function sJ() {
|
|
71852
71861
|
if (rF) return rL;
|
|
71853
71862
|
rF = 1;
|
|
71854
71863
|
var t = Object.prototype;
|
|
@@ -71857,7 +71866,7 @@
|
|
|
71857
71866
|
return r === ("function" == typeof o && o.prototype || t);
|
|
71858
71867
|
};
|
|
71859
71868
|
}
|
|
71860
|
-
function
|
|
71869
|
+
function s3() {
|
|
71861
71870
|
if (rq) return rU;
|
|
71862
71871
|
rq = 1;
|
|
71863
71872
|
var t = function() {
|
|
@@ -71874,41 +71883,41 @@
|
|
|
71874
71883
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
71875
71884
|
};
|
|
71876
71885
|
}
|
|
71877
|
-
function
|
|
71886
|
+
function s2() {
|
|
71878
71887
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
71879
71888
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
71880
71889
|
});
|
|
71881
71890
|
}
|
|
71882
|
-
function
|
|
71891
|
+
function s5() {
|
|
71883
71892
|
if (rG) return rH;
|
|
71884
71893
|
rG = 1;
|
|
71885
|
-
var t = o8(), r =
|
|
71894
|
+
var t = o8(), r = s2();
|
|
71886
71895
|
return rH = function(o) {
|
|
71887
71896
|
return null != o && r(o.length) && !t(o);
|
|
71888
71897
|
};
|
|
71889
71898
|
}
|
|
71890
|
-
var
|
|
71899
|
+
var s0 = {
|
|
71891
71900
|
exports: {}
|
|
71892
71901
|
};
|
|
71893
|
-
function
|
|
71902
|
+
function s1() {
|
|
71894
71903
|
var t, r, o, n, i, a, s, c;
|
|
71895
|
-
if (r3) return
|
|
71896
|
-
return r3 = 1, t =
|
|
71904
|
+
if (r3) return s0.exports;
|
|
71905
|
+
return r3 = 1, t = s0, r = s0.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
|
|
71897
71906
|
return !1;
|
|
71898
|
-
}), 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,
|
|
71907
|
+
}), 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;
|
|
71899
71908
|
}
|
|
71900
|
-
|
|
71901
|
-
var
|
|
71909
|
+
s0.exports;
|
|
71910
|
+
var s8 = {
|
|
71902
71911
|
exports: {}
|
|
71903
71912
|
};
|
|
71904
|
-
|
|
71905
|
-
function
|
|
71913
|
+
s8.exports;
|
|
71914
|
+
function s9() {
|
|
71906
71915
|
if (r6) return r7;
|
|
71907
71916
|
r6 = 1;
|
|
71908
71917
|
var t = function() {
|
|
71909
71918
|
if (r1) return r0;
|
|
71910
71919
|
r1 = 1;
|
|
71911
|
-
var t = o2(), r =
|
|
71920
|
+
var t = o2(), r = s2(), o = o5(), n = {};
|
|
71912
71921
|
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) {
|
|
71913
71922
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
71914
71923
|
};
|
|
@@ -71918,25 +71927,25 @@
|
|
|
71918
71927
|
};
|
|
71919
71928
|
}), o = function() {
|
|
71920
71929
|
var t, r, o, n, i, a;
|
|
71921
|
-
if (r4) return
|
|
71922
|
-
return r4 = 1, t =
|
|
71930
|
+
if (r4) return s8.exports;
|
|
71931
|
+
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() {
|
|
71923
71932
|
try {
|
|
71924
71933
|
var t = i && i.require && i.require("util").types;
|
|
71925
71934
|
if (t) return t;
|
|
71926
71935
|
return a && a.binding && a.binding("util");
|
|
71927
71936
|
} catch (t) {}
|
|
71928
|
-
}(),
|
|
71937
|
+
}(), s8.exports;
|
|
71929
71938
|
}(), n = o && o.isTypedArray;
|
|
71930
71939
|
return r7 = n ? r(n) : t;
|
|
71931
71940
|
}
|
|
71932
|
-
function
|
|
71941
|
+
function s4() {
|
|
71933
71942
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
71934
71943
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
71935
71944
|
if ("__proto__" != r) return t[r];
|
|
71936
71945
|
}
|
|
71937
71946
|
});
|
|
71938
71947
|
}
|
|
71939
|
-
function
|
|
71948
|
+
function s7() {
|
|
71940
71949
|
if (ol) return oc;
|
|
71941
71950
|
ol = 1;
|
|
71942
71951
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -71945,7 +71954,7 @@
|
|
|
71945
71954
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
71946
71955
|
};
|
|
71947
71956
|
}
|
|
71948
|
-
function
|
|
71957
|
+
function s6() {
|
|
71949
71958
|
if (ob) return og;
|
|
71950
71959
|
ob = 1;
|
|
71951
71960
|
var t = function() {
|
|
@@ -71954,16 +71963,16 @@
|
|
|
71954
71963
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
71955
71964
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
71956
71965
|
return n;
|
|
71957
|
-
}), r =
|
|
71966
|
+
}), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
|
|
71958
71967
|
return od = function(c, l) {
|
|
71959
|
-
var d = o(c), u = !d && r(c),
|
|
71960
|
-
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b ||
|
|
71968
|
+
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;
|
|
71969
|
+
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);
|
|
71961
71970
|
return m;
|
|
71962
71971
|
};
|
|
71963
71972
|
}(), r = function() {
|
|
71964
71973
|
if (om) return oh;
|
|
71965
71974
|
om = 1;
|
|
71966
|
-
var t = o1(), r =
|
|
71975
|
+
var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
|
|
71967
71976
|
var r = [];
|
|
71968
71977
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71969
71978
|
return r;
|
|
@@ -71974,12 +71983,12 @@
|
|
|
71974
71983
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
71975
71984
|
return s;
|
|
71976
71985
|
};
|
|
71977
|
-
}(), o =
|
|
71986
|
+
}(), o = s5();
|
|
71978
71987
|
return og = function(n) {
|
|
71979
71988
|
return o(n) ? t(n, !0) : r(n);
|
|
71980
71989
|
};
|
|
71981
71990
|
}
|
|
71982
|
-
function
|
|
71991
|
+
function ce() {
|
|
71983
71992
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
71984
71993
|
return t;
|
|
71985
71994
|
});
|
|
@@ -71991,8 +72000,8 @@
|
|
|
71991
72000
|
if (oB) return oC;
|
|
71992
72001
|
oB = 1;
|
|
71993
72002
|
var t = function() {
|
|
71994
|
-
if (
|
|
71995
|
-
|
|
72003
|
+
if (rf) return ru;
|
|
72004
|
+
rf = 1;
|
|
71996
72005
|
var t = ne(), r = function() {
|
|
71997
72006
|
if (rr) return rt;
|
|
71998
72007
|
rr = 1;
|
|
@@ -72029,7 +72038,7 @@
|
|
|
72029
72038
|
this.size = o.size;
|
|
72030
72039
|
}
|
|
72031
72040
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
72032
|
-
}(), r =
|
|
72041
|
+
}(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
|
|
72033
72042
|
return function(r, o, n) {
|
|
72034
72043
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
72035
72044
|
var l = s[t ? c : ++i];
|
|
@@ -72040,14 +72049,14 @@
|
|
|
72040
72049
|
}))()), n = function() {
|
|
72041
72050
|
if (oy) return ok;
|
|
72042
72051
|
oy = 1;
|
|
72043
|
-
var t =
|
|
72052
|
+
var t = sZ(), r = function() {
|
|
72044
72053
|
var t, r, o, n, i, a, s;
|
|
72045
|
-
if (rB) return
|
|
72046
|
-
return rB = 1, t =
|
|
72054
|
+
if (rB) return sK.exports;
|
|
72055
|
+
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) {
|
|
72047
72056
|
if (r) return t.slice();
|
|
72048
72057
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
72049
72058
|
return t.copy(n), n;
|
|
72050
|
-
},
|
|
72059
|
+
}, sK.exports;
|
|
72051
72060
|
}(), o = function() {
|
|
72052
72061
|
if (rT) return rE;
|
|
72053
72062
|
rT = 1;
|
|
@@ -72085,21 +72094,21 @@
|
|
|
72085
72094
|
return o.prototype = void 0, i;
|
|
72086
72095
|
};
|
|
72087
72096
|
}();
|
|
72088
|
-
}(), r =
|
|
72097
|
+
}(), r = sY(), o = sJ();
|
|
72089
72098
|
return rN = function(n) {
|
|
72090
72099
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
72091
72100
|
};
|
|
72092
|
-
}(), a =
|
|
72101
|
+
}(), a = s3(), s = oK(), c = function() {
|
|
72093
72102
|
if (rK) return rZ;
|
|
72094
72103
|
rK = 1;
|
|
72095
|
-
var t =
|
|
72104
|
+
var t = s5(), r = o5();
|
|
72096
72105
|
return rZ = function(o) {
|
|
72097
72106
|
return r(o) && t(o);
|
|
72098
72107
|
};
|
|
72099
|
-
}(), l =
|
|
72108
|
+
}(), l = s1(), d = o8(), u = o1(), f = function() {
|
|
72100
72109
|
if (r5) return r2;
|
|
72101
72110
|
r5 = 1;
|
|
72102
|
-
var t = o2(), r =
|
|
72111
|
+
var t = o2(), r = sY(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
72103
72112
|
return r2 = function(n) {
|
|
72104
72113
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
72105
72114
|
var c = r(n);
|
|
@@ -72107,7 +72116,7 @@
|
|
|
72107
72116
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72108
72117
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72109
72118
|
};
|
|
72110
|
-
}(),
|
|
72119
|
+
}(), p = s9(), h = s4(), m = function() {
|
|
72111
72120
|
if (ow) return ov;
|
|
72112
72121
|
ow = 1;
|
|
72113
72122
|
var t = function() {
|
|
@@ -72116,12 +72125,12 @@
|
|
|
72116
72125
|
var t = function() {
|
|
72117
72126
|
if (oo) return or;
|
|
72118
72127
|
oo = 1;
|
|
72119
|
-
var t =
|
|
72128
|
+
var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
|
|
72120
72129
|
return or = function(n, i, a) {
|
|
72121
72130
|
var s = n[i];
|
|
72122
72131
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
72123
72132
|
};
|
|
72124
|
-
}(), r =
|
|
72133
|
+
}(), r = sG();
|
|
72125
72134
|
return on = function(o, n, i, a) {
|
|
72126
72135
|
var s = !i;
|
|
72127
72136
|
i || (i = {});
|
|
@@ -72131,7 +72140,7 @@
|
|
|
72131
72140
|
}
|
|
72132
72141
|
return i;
|
|
72133
72142
|
};
|
|
72134
|
-
}(), r =
|
|
72143
|
+
}(), r = s6();
|
|
72135
72144
|
return ov = function(o) {
|
|
72136
72145
|
return t(o, r(o));
|
|
72137
72146
|
};
|
|
@@ -72141,17 +72150,17 @@
|
|
|
72141
72150
|
if (x) return void t(g, v, x);
|
|
72142
72151
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72143
72152
|
if (S) {
|
|
72144
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72145
|
-
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 = [] :
|
|
72153
|
+
var E = s(_), T = !E && l(_), D = !E && !T && p(_);
|
|
72154
|
+
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;
|
|
72146
72155
|
}
|
|
72147
72156
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72148
72157
|
};
|
|
72149
|
-
}(), i = o1(), a =
|
|
72150
|
-
return oC = function c(l, d, u,
|
|
72158
|
+
}(), i = o1(), a = s6(), s = s4();
|
|
72159
|
+
return oC = function c(l, d, u, f, p) {
|
|
72151
72160
|
l !== d && o(d, function(o, a) {
|
|
72152
|
-
if (
|
|
72161
|
+
if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
|
|
72153
72162
|
else {
|
|
72154
|
-
var h =
|
|
72163
|
+
var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
|
|
72155
72164
|
void 0 === h && (h = o), r(l, a, h);
|
|
72156
72165
|
}
|
|
72157
72166
|
}, a);
|
|
@@ -72163,7 +72172,7 @@
|
|
|
72163
72172
|
var t = function() {
|
|
72164
72173
|
if (oF) return oL;
|
|
72165
72174
|
oF = 1;
|
|
72166
|
-
var t =
|
|
72175
|
+
var t = ce(), r = function() {
|
|
72167
72176
|
if (oT) return oE;
|
|
72168
72177
|
oT = 1;
|
|
72169
72178
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -72197,7 +72206,7 @@
|
|
|
72197
72206
|
return function() {
|
|
72198
72207
|
return t;
|
|
72199
72208
|
};
|
|
72200
|
-
}), r =
|
|
72209
|
+
}), r = sH(), o = ce();
|
|
72201
72210
|
return oj = r ? function(o, n) {
|
|
72202
72211
|
return r(o, "toString", {
|
|
72203
72212
|
configurable: !0,
|
|
@@ -72229,7 +72238,7 @@
|
|
|
72229
72238
|
}(), r = function() {
|
|
72230
72239
|
if (oz) return oN;
|
|
72231
72240
|
oz = 1;
|
|
72232
|
-
var t = o7(), r =
|
|
72241
|
+
var t = o7(), r = s5(), o = s7(), n = o1();
|
|
72233
72242
|
return oN = function(i, a, s) {
|
|
72234
72243
|
if (!n(s)) return !1;
|
|
72235
72244
|
var c = typeof a;
|
|
@@ -72250,7 +72259,7 @@
|
|
|
72250
72259
|
t(r, o, n);
|
|
72251
72260
|
});
|
|
72252
72261
|
}();
|
|
72253
|
-
let
|
|
72262
|
+
let ct = {
|
|
72254
72263
|
data: {
|
|
72255
72264
|
country: "vn",
|
|
72256
72265
|
settings: {
|
|
@@ -72401,12 +72410,12 @@
|
|
|
72401
72410
|
}
|
|
72402
72411
|
}
|
|
72403
72412
|
};
|
|
72404
|
-
let { DesignToken:
|
|
72405
|
-
|
|
72406
|
-
let { DesignToken:
|
|
72407
|
-
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary,
|
|
72408
|
-
let { DesignToken:
|
|
72409
|
-
|
|
72413
|
+
let { DesignToken: cr } = ra$1;
|
|
72414
|
+
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"];
|
|
72415
|
+
let { DesignToken: co } = ra$1;
|
|
72416
|
+
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;
|
|
72417
|
+
let { DesignToken: cn } = ra$1;
|
|
72418
|
+
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({
|
|
72410
72419
|
scannerType: PropTypes.string
|
|
72411
72420
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
|
|
72412
72421
|
|
|
@@ -86896,7 +86905,7 @@
|
|
|
86896
86905
|
table-layout: auto;
|
|
86897
86906
|
border-collapse: collapse;
|
|
86898
86907
|
`;
|
|
86899
|
-
const ChildrenWrapper$
|
|
86908
|
+
const ChildrenWrapper$2 = dt$1.div`
|
|
86900
86909
|
position: relative;
|
|
86901
86910
|
`;
|
|
86902
86911
|
const rows = Array.from(Array(3).keys());
|
|
@@ -86928,7 +86937,7 @@
|
|
|
86928
86937
|
height: isCenteredCell ? height : 'auto',
|
|
86929
86938
|
...!isCenteredCell ? surroundStyle : {}
|
|
86930
86939
|
},
|
|
86931
|
-
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$
|
|
86940
|
+
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
|
|
86932
86941
|
style: {
|
|
86933
86942
|
width: cellWidth,
|
|
86934
86943
|
height
|
|
@@ -88748,6 +88757,97 @@
|
|
|
88748
88757
|
};
|
|
88749
88758
|
};
|
|
88750
88759
|
|
|
88760
|
+
/**
|
|
88761
|
+
* Custom hook to delay rendering when transitioning from hidden to visible state.
|
|
88762
|
+
* Useful for waiting for browser dimension updates after orientation changes.
|
|
88763
|
+
*
|
|
88764
|
+
* @param params - Hook parameters
|
|
88765
|
+
* @param params.isVisible - Whether the component is currently visible
|
|
88766
|
+
* @param params.enableDelay - Whether to apply delay logic for show transitions
|
|
88767
|
+
* @param params.delayMs - Delay in milliseconds before showing (default: 500)
|
|
88768
|
+
* @returns Delayed visibility state
|
|
88769
|
+
*/ function useDelayedRender({ isVisible, enableDelay, delayMs = 500 }) {
|
|
88770
|
+
const [isVisibleDelayed, setIsVisibleDelayed] = reactExports.useState(isVisible);
|
|
88771
|
+
const prevIsVisibleRef = reactExports.useRef(isVisible);
|
|
88772
|
+
const timeoutRef = reactExports.useRef(null);
|
|
88773
|
+
reactExports.useEffect(()=>{
|
|
88774
|
+
const prevIsVisible = prevIsVisibleRef.current;
|
|
88775
|
+
// When delay is disabled, always sync immediately
|
|
88776
|
+
if (!enableDelay) {
|
|
88777
|
+
setIsVisibleDelayed(isVisible);
|
|
88778
|
+
prevIsVisibleRef.current = isVisible;
|
|
88779
|
+
return undefined;
|
|
88780
|
+
}
|
|
88781
|
+
// Handle transitions when delay is enabled
|
|
88782
|
+
const isTransitionToShow = !prevIsVisible && isVisible;
|
|
88783
|
+
const isTransitionToHide = prevIsVisible && !isVisible;
|
|
88784
|
+
if (isTransitionToShow) {
|
|
88785
|
+
// Delay showing when transitioning from hidden to visible
|
|
88786
|
+
timeoutRef.current = setTimeout(()=>{
|
|
88787
|
+
setIsVisibleDelayed(true);
|
|
88788
|
+
}, delayMs);
|
|
88789
|
+
} else if (isTransitionToHide) {
|
|
88790
|
+
// Immediately hide and cancel pending show
|
|
88791
|
+
if (timeoutRef.current) {
|
|
88792
|
+
clearTimeout(timeoutRef.current);
|
|
88793
|
+
timeoutRef.current = null;
|
|
88794
|
+
}
|
|
88795
|
+
setIsVisibleDelayed(false);
|
|
88796
|
+
}
|
|
88797
|
+
prevIsVisibleRef.current = isVisible;
|
|
88798
|
+
return ()=>{
|
|
88799
|
+
if (timeoutRef.current) {
|
|
88800
|
+
clearTimeout(timeoutRef.current);
|
|
88801
|
+
}
|
|
88802
|
+
};
|
|
88803
|
+
}, [
|
|
88804
|
+
isVisible,
|
|
88805
|
+
enableDelay,
|
|
88806
|
+
delayMs
|
|
88807
|
+
]);
|
|
88808
|
+
return isVisibleDelayed;
|
|
88809
|
+
}
|
|
88810
|
+
|
|
88811
|
+
const PopupContent$1 = dt$1.div`
|
|
88812
|
+
text-align: center;
|
|
88813
|
+
font-size: 20px;
|
|
88814
|
+
font-weight: 600;
|
|
88815
|
+
`;
|
|
88816
|
+
const ChildrenWrapper$1 = dt$1.div`
|
|
88817
|
+
width: 100%;
|
|
88818
|
+
height: 100%;
|
|
88819
|
+
opacity: ${({ $showChildren })=>$showChildren ? 1 : 0};
|
|
88820
|
+
`;
|
|
88821
|
+
const defaultPreferredOrientations = [
|
|
88822
|
+
MODE.PORTRAIT,
|
|
88823
|
+
MODE.DESKTOP
|
|
88824
|
+
];
|
|
88825
|
+
function OrientationDetectionV2({ onOrientationChange = noop$1, unmountOnHidden = false, remountDelayMs = 500, preferredOrientations = defaultPreferredOrientations, children }) {
|
|
88826
|
+
const t = gB();
|
|
88827
|
+
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88828
|
+
const hasCorrectOrientation = preferredOrientations.includes(curOrientation);
|
|
88829
|
+
const isVisible = useDelayedRender({
|
|
88830
|
+
isVisible: hasCorrectOrientation,
|
|
88831
|
+
enableDelay: unmountOnHidden,
|
|
88832
|
+
delayMs: remountDelayMs
|
|
88833
|
+
});
|
|
88834
|
+
const shouldMountChildrenOnDom = unmountOnHidden ? isVisible : true;
|
|
88835
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
88836
|
+
children: [
|
|
88837
|
+
!preferredOrientations.includes(curOrientation) && /*#__PURE__*/ jsxRuntimeExports.jsx(PopupComponent, {
|
|
88838
|
+
open: true,
|
|
88839
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(PopupContent$1, {
|
|
88840
|
+
children: t('wrong_orientation')
|
|
88841
|
+
})
|
|
88842
|
+
}),
|
|
88843
|
+
shouldMountChildrenOnDom && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
|
|
88844
|
+
$showChildren: hasCorrectOrientation,
|
|
88845
|
+
children: children
|
|
88846
|
+
})
|
|
88847
|
+
]
|
|
88848
|
+
});
|
|
88849
|
+
}
|
|
88850
|
+
|
|
88751
88851
|
const PopupContent = dt$1.div`
|
|
88752
88852
|
text-align: center;
|
|
88753
88853
|
font-size: 20px;
|
|
@@ -88759,7 +88859,7 @@
|
|
|
88759
88859
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88760
88860
|
`;
|
|
88761
88861
|
// eslint-disable-next-line react/require-default-props
|
|
88762
|
-
function
|
|
88862
|
+
function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
|
|
88763
88863
|
const t = gB();
|
|
88764
88864
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88765
88865
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88771,22 +88871,35 @@
|
|
|
88771
88871
|
children: t('wrong_orientation')
|
|
88772
88872
|
})
|
|
88773
88873
|
}),
|
|
88774
|
-
(
|
|
88874
|
+
(unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88775
88875
|
showChildren: shouldShowChildren,
|
|
88776
88876
|
children: children
|
|
88777
88877
|
})
|
|
88778
88878
|
]
|
|
88779
88879
|
});
|
|
88780
88880
|
}
|
|
88781
|
-
|
|
88881
|
+
OrientationDetectionV1.defaultProps = {
|
|
88782
88882
|
onOrientationChange: ()=>{},
|
|
88783
|
-
|
|
88883
|
+
unmountOnHidden: false
|
|
88784
88884
|
};
|
|
88785
|
-
|
|
88885
|
+
OrientationDetectionV1.propTypes = {
|
|
88786
88886
|
onOrientationChange: PropTypes.func,
|
|
88787
|
-
|
|
88887
|
+
unmountOnHidden: PropTypes.bool
|
|
88788
88888
|
};
|
|
88789
88889
|
|
|
88890
|
+
function OrientationDetection({ version = 'v1', children, ...rest }) {
|
|
88891
|
+
if (version === 'v2') {
|
|
88892
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV2, {
|
|
88893
|
+
...rest,
|
|
88894
|
+
children: children
|
|
88895
|
+
});
|
|
88896
|
+
}
|
|
88897
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV1, {
|
|
88898
|
+
...rest,
|
|
88899
|
+
children: children
|
|
88900
|
+
});
|
|
88901
|
+
}
|
|
88902
|
+
|
|
88790
88903
|
const useEkycSession = ()=>{
|
|
88791
88904
|
const [sessionId, setSessionId] = reactExports.useState(Date.now());
|
|
88792
88905
|
const updateSessionId = reactExports.useCallback(()=>{
|
|
@@ -89006,7 +89119,7 @@
|
|
|
89006
89119
|
width: 6px;
|
|
89007
89120
|
height: 6px;
|
|
89008
89121
|
border-radius: 50%;
|
|
89009
|
-
background-color: ${getTheme('FlashLiveness.progressBar.
|
|
89122
|
+
background-color: ${getTheme('FlashLiveness.progressBar.textColor')};
|
|
89010
89123
|
margin-right: 5px;
|
|
89011
89124
|
margin-bottom: 2px;
|
|
89012
89125
|
}
|
|
@@ -110694,8 +110807,8 @@
|
|
|
110694
110807
|
const { Errors: Errors$2 } = ra$1;
|
|
110695
110808
|
// eslint-disable-next-line react/require-default-props
|
|
110696
110809
|
const ReadIDCardWithApiCall = ({ readIDCardUIOnlyComponent: ReadIDCardUIOnly, ...props })=>{
|
|
110697
|
-
const { onError: onErrorFromProp, onStepDone: onStepDoneFromProp, apiCredentials, logCredentials, outputEncryptionSettings, serviceSettings, flowId, ...rest } = props;
|
|
110698
|
-
const [clientSettings, setClientSettings] = reactExports.useState(
|
|
110810
|
+
const { onError: onErrorFromProp, onStepDone: onStepDoneFromProp, apiCredentials, logCredentials, outputEncryptionSettings, serviceSettings, flowId, clientSettings: propClientSettings, ...rest } = props;
|
|
110811
|
+
const [clientSettings, setClientSettings] = reactExports.useState(propClientSettings);
|
|
110699
110812
|
const [isClientSettingsFetched, setIsClientSettingsFetched] = reactExports.useState(false);
|
|
110700
110813
|
const { apiClient } = fU.useApiClient({
|
|
110701
110814
|
apiCredentials,
|
|
@@ -110859,7 +110972,7 @@
|
|
|
110859
110972
|
onStepDoneWithBilling,
|
|
110860
110973
|
outputEncryptionSettings
|
|
110861
110974
|
]);
|
|
110862
|
-
if (!isClientSettingsFetched) {
|
|
110975
|
+
if (enabledServices.enableGetClientSettings && !isClientSettingsFetched) {
|
|
110863
110976
|
return null;
|
|
110864
110977
|
}
|
|
110865
110978
|
return /*#__PURE__*/ jsxRuntimeExports.jsx(dV.LicenseProvider, {
|
|
@@ -110890,7 +111003,8 @@
|
|
|
110890
111003
|
outputEncryptionSettings: PropTypes.shape({}),
|
|
110891
111004
|
readIDCardUIOnlyComponent: PropTypes.func,
|
|
110892
111005
|
serviceSettings: PropTypes.shape({}),
|
|
110893
|
-
flowId: PropTypes.string
|
|
111006
|
+
flowId: PropTypes.string,
|
|
111007
|
+
clientSettings: PropTypes.shape({})
|
|
110894
111008
|
};
|
|
110895
111009
|
ReadIDCardWithApiCall.defaultProps = {
|
|
110896
111010
|
onError: ()=>{},
|
|
@@ -110916,7 +111030,8 @@
|
|
|
110916
111030
|
enableDetectIDCardTampering: true,
|
|
110917
111031
|
enableReadIDCardInfo: true
|
|
110918
111032
|
},
|
|
110919
|
-
flowId: ''
|
|
111033
|
+
flowId: '',
|
|
111034
|
+
clientSettings: null
|
|
110920
111035
|
};
|
|
110921
111036
|
|
|
110922
111037
|
/**
|
|
@@ -113508,7 +113623,7 @@
|
|
|
113508
113623
|
};
|
|
113509
113624
|
};
|
|
113510
113625
|
|
|
113511
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk/5.34.
|
|
113626
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk/5.34.4/assets";
|
|
113512
113627
|
class TVWebSDK extends gU {
|
|
113513
113628
|
constructor(props){
|
|
113514
113629
|
super({
|
|
@@ -113524,8 +113639,8 @@
|
|
|
113524
113639
|
exports.SDK = TVWebSDK;
|
|
113525
113640
|
exports.SDKAdapter = gV;
|
|
113526
113641
|
exports.ScannerType = iI;
|
|
113527
|
-
exports.defaultClientSettings =
|
|
113528
|
-
exports.defaultReadIDCardSteps =
|
|
113642
|
+
exports.defaultClientSettings = ct;
|
|
113643
|
+
exports.defaultReadIDCardSteps = sX;
|
|
113529
113644
|
exports.getSDKVersion = nB$1;
|
|
113530
113645
|
|
|
113531
113646
|
}));
|