@tsocial/tvweb-sdk.nbcci 5.34.1 → 5.34.3
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.
|
@@ -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.3";
|
|
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,53 +41259,54 @@
|
|
|
41259
41259
|
}, uz;
|
|
41260
41260
|
}(), uG);
|
|
41261
41261
|
}();
|
|
41262
|
-
let dm =
|
|
41263
|
-
|
|
41264
|
-
|
|
41265
|
-
|
|
41266
|
-
|
|
41267
|
-
dy.push(dy.shift());
|
|
41268
|
-
}
|
|
41269
|
-
let db = dm(199) + dm(203) + dm(205) + dm(215) + "0301070342" + dm(211), dv = "MFkwEwYHKoZIzj0CAQYI" + dm(212) + "cDQgAE9h6Z" + dm(204) + "ytJdcsPxrD" + dm(191) + dm(194) + dm(202) + dm(213) + dm(196) + dm(208) + dm(209);
|
|
41270
|
-
function d_(e, t) {
|
|
41271
|
-
let r = dx();
|
|
41272
|
-
return (d_ = function(e, t) {
|
|
41273
|
-
return r[e -= 190];
|
|
41262
|
+
let dm = dg;
|
|
41263
|
+
function dg(e, t) {
|
|
41264
|
+
let r = dy();
|
|
41265
|
+
return (dg = function(e, t) {
|
|
41266
|
+
return r[e -= 367];
|
|
41274
41267
|
})(e, t);
|
|
41275
41268
|
}
|
|
41276
|
-
function
|
|
41269
|
+
function dy() {
|
|
41277
41270
|
let e = [
|
|
41278
|
-
"4552RWKMhh",
|
|
41279
41271
|
"44P0rKKsZK",
|
|
41280
|
-
"181301bSrizZ",
|
|
41281
41272
|
"MfPrcYTM70",
|
|
41282
|
-
"
|
|
41283
|
-
"
|
|
41284
|
-
"3059301306",
|
|
41285
|
-
"90qowNeA",
|
|
41286
|
-
"17930ZGtTNS",
|
|
41287
|
-
"Mjci1ul8mm",
|
|
41273
|
+
"KoZIzj0DAQ",
|
|
41274
|
+
"4507063dEvzaV",
|
|
41288
41275
|
"072a8648ce",
|
|
41276
|
+
"223235rNcaea",
|
|
41289
41277
|
"DepBO8t60S",
|
|
41290
|
-
"
|
|
41291
|
-
"
|
|
41292
|
-
"
|
|
41293
|
-
"
|
|
41294
|
-
"
|
|
41295
|
-
"344nEBwdw",
|
|
41278
|
+
"ZIzj0CAQYI",
|
|
41279
|
+
"52vAzYCl",
|
|
41280
|
+
"4102938twVDjD",
|
|
41281
|
+
"Mjci1ul8mm",
|
|
41282
|
+
"2a8648ce3d",
|
|
41296
41283
|
"000",
|
|
41297
|
-
"
|
|
41284
|
+
"75825zTCCpR",
|
|
41298
41285
|
"D9EKOWS+U4",
|
|
41299
|
-
"
|
|
41300
|
-
"
|
|
41301
|
-
"
|
|
41302
|
-
"
|
|
41303
|
-
"
|
|
41286
|
+
"9EzrkuM",
|
|
41287
|
+
"0301070342",
|
|
41288
|
+
"8QVfurr",
|
|
41289
|
+
"3d02010608",
|
|
41290
|
+
"7975860ZUkdQz",
|
|
41291
|
+
"cDQgAE9h6Z",
|
|
41292
|
+
"66TBiIus",
|
|
41293
|
+
"ssRdXLZEX8",
|
|
41294
|
+
"ytJdcsPxrD",
|
|
41295
|
+
"937803kIgQTZ",
|
|
41296
|
+
"4563906dowYkq"
|
|
41304
41297
|
];
|
|
41305
|
-
return (
|
|
41298
|
+
return (dy = function() {
|
|
41306
41299
|
return e;
|
|
41307
41300
|
})();
|
|
41308
41301
|
}
|
|
41302
|
+
let db = dg, dv = dy();
|
|
41303
|
+
for(;;)try {
|
|
41304
|
+
if (-parseInt(db(368)) / 1 + -parseInt(db(391)) / 2 * (-parseInt(db(383)) / 3) + -parseInt(db(378)) / 4 * (-parseInt(db(375)) / 5) + parseInt(db(369)) / 6 + -parseInt(db(379)) / 7 * (-parseInt(db(387)) / 8) + parseInt(db(385)) / 9 * (-parseInt(db(389)) / 10) + -parseInt(db(373)) / 11 === 616149) break;
|
|
41305
|
+
dv.push(dv.shift());
|
|
41306
|
+
} catch (e) {
|
|
41307
|
+
dv.push(dv.shift());
|
|
41308
|
+
}
|
|
41309
|
+
let d_ = "3059301306" + dm(374) + dm(388) + dm(381) + dm(386) + dm(382), dx = "MFkwEwYHKo" + dm(377) + dm(372) + dm(390) + dm(376) + dm(367) + "+faHkP3QC3" + dm(370) + dm(380) + dm(384) + dm(371) + dm(392) + "KA==";
|
|
41309
41310
|
async function dC(e) {
|
|
41310
41311
|
let t = new TextEncoder().encode(e);
|
|
41311
41312
|
return Array.from(new Uint8Array(await crypto.subtle.digest("SHA-256", t))).map((e)=>e.toString(16).padStart(2, "0")).join("");
|
|
@@ -41410,7 +41411,7 @@
|
|
|
41410
41411
|
isValid: !1,
|
|
41411
41412
|
error: i0$1.invalid_license
|
|
41412
41413
|
};
|
|
41413
|
-
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t ||
|
|
41414
|
+
let { mode: a, license: o, signature: s } = dS(e), c = dw(i4$1(o)), l = (r = t || dx, n = i4$1(r).replace(d_, ""), i = new dp.ec("p256").keyFromPublic(n, "hex"), {
|
|
41414
41415
|
verifySignature: async (e, t)=>{
|
|
41415
41416
|
try {
|
|
41416
41417
|
let r = await dC(e), n = i4$1(t);
|
|
@@ -45324,7 +45325,7 @@
|
|
|
45324
45325
|
return this.getKey().getPublicKey();
|
|
45325
45326
|
}, e.prototype.getPublicKeyB64 = function() {
|
|
45326
45327
|
return this.getKey().getPublicBaseKeyB64();
|
|
45327
|
-
}, e.version = "5.34.
|
|
45328
|
+
}, e.version = "5.34.2", e;
|
|
45328
45329
|
}();
|
|
45329
45330
|
let hO = [
|
|
45330
45331
|
"-",
|
|
@@ -53096,7 +53097,7 @@
|
|
|
53096
53097
|
});
|
|
53097
53098
|
};
|
|
53098
53099
|
|
|
53099
|
-
var Z, K, Y, J, ee, et, er, eo, en, ei, ea, es, ec, el, ed, eu,
|
|
53100
|
+
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 : {};
|
|
53100
53101
|
function oX(t) {
|
|
53101
53102
|
return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
|
|
53102
53103
|
}
|
|
@@ -53175,7 +53176,7 @@
|
|
|
53175
53176
|
};
|
|
53176
53177
|
}
|
|
53177
53178
|
function o5() {
|
|
53178
|
-
return
|
|
53179
|
+
return ep ? ef : (ep = 1, ef = function(t) {
|
|
53179
53180
|
return null != t && "object" == typeof t;
|
|
53180
53181
|
});
|
|
53181
53182
|
}
|
|
@@ -53407,10 +53408,10 @@
|
|
|
53407
53408
|
return t(this, r).get(r);
|
|
53408
53409
|
};
|
|
53409
53410
|
}(), n = function() {
|
|
53410
|
-
if (
|
|
53411
|
-
|
|
53411
|
+
if (tp) return tf;
|
|
53412
|
+
tp = 1;
|
|
53412
53413
|
var t = nr();
|
|
53413
|
-
return
|
|
53414
|
+
return tf = function(r) {
|
|
53414
53415
|
return t(this, r).has(r);
|
|
53415
53416
|
};
|
|
53416
53417
|
}(), i = function() {
|
|
@@ -53553,16 +53554,16 @@
|
|
|
53553
53554
|
function nc(t, r) {
|
|
53554
53555
|
return t.replace(RegExp("(^|\\s)" + r + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
|
|
53555
53556
|
}
|
|
53556
|
-
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted",
|
|
53557
|
+
var nl = !1, nd = /*#__PURE__*/ React.createContext(null), nu = "unmounted", nf = "exited", np = "entering", nh = "entered", nm = "exiting", ng = function(r) {
|
|
53557
53558
|
function o(t, o) {
|
|
53558
53559
|
var n, i = r.call(this, t, o) || this, a = o && !o.isMounting ? t.enter : t.appear;
|
|
53559
|
-
return i.appearStatus = null, t.in ? a ? (n =
|
|
53560
|
+
return i.appearStatus = null, t.in ? a ? (n = nf, i.appearStatus = np) : n = nh : n = t.unmountOnExit || t.mountOnEnter ? nu : nf, i.state = {
|
|
53560
53561
|
status: n
|
|
53561
53562
|
}, i.nextCallback = null, i;
|
|
53562
53563
|
}
|
|
53563
53564
|
ns(o, r), o.getDerivedStateFromProps = function(t, r) {
|
|
53564
53565
|
return t.in && r.status === nu ? {
|
|
53565
|
-
status:
|
|
53566
|
+
status: nf
|
|
53566
53567
|
} : null;
|
|
53567
53568
|
};
|
|
53568
53569
|
var n = o.prototype;
|
|
@@ -53572,7 +53573,7 @@
|
|
|
53572
53573
|
var r = null;
|
|
53573
53574
|
if (t !== this.props) {
|
|
53574
53575
|
var o = this.state.status;
|
|
53575
|
-
this.props.in ? o !==
|
|
53576
|
+
this.props.in ? o !== np && o !== nh && (r = np) : (o === np || o === nh) && (r = nm);
|
|
53576
53577
|
}
|
|
53577
53578
|
this.updateStatus(!1, r);
|
|
53578
53579
|
}, n.componentWillUnmount = function() {
|
|
@@ -53585,7 +53586,7 @@
|
|
|
53585
53586
|
appear: o
|
|
53586
53587
|
};
|
|
53587
53588
|
}, n.updateStatus = function(t, r) {
|
|
53588
|
-
void 0 === t && (t = !1), null !== r ? (this.cancelNextCallback(), r ===
|
|
53589
|
+
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({
|
|
53589
53590
|
status: nu
|
|
53590
53591
|
});
|
|
53591
53592
|
}, n.performEnter = function(t) {
|
|
@@ -53596,7 +53597,7 @@
|
|
|
53596
53597
|
n
|
|
53597
53598
|
], a = i[0], s = i[1], c = this.getTimeouts(), l = n ? c.appear : c.enter;
|
|
53598
53599
|
(t || o) && !nl ? (this.props.onEnter(a, s), this.safeSetState({
|
|
53599
|
-
status:
|
|
53600
|
+
status: np
|
|
53600
53601
|
}, function() {
|
|
53601
53602
|
r.props.onEntering(a, s), r.onTransitionEnd(l, function() {
|
|
53602
53603
|
r.safeSetState({
|
|
@@ -53613,7 +53614,7 @@
|
|
|
53613
53614
|
}, n.performExit = function() {
|
|
53614
53615
|
var t = this, r = this.props.exit, o = this.getTimeouts(), n = this.props.nodeRef ? void 0 : ReactDOM.findDOMNode(this);
|
|
53615
53616
|
!r || nl ? this.safeSetState({
|
|
53616
|
-
status:
|
|
53617
|
+
status: nf
|
|
53617
53618
|
}, function() {
|
|
53618
53619
|
t.props.onExited(n);
|
|
53619
53620
|
}) : (this.props.onExit(n), this.safeSetState({
|
|
@@ -53621,7 +53622,7 @@
|
|
|
53621
53622
|
}, function() {
|
|
53622
53623
|
t.props.onExiting(n), t.onTransitionEnd(o.exit, function() {
|
|
53623
53624
|
t.safeSetState({
|
|
53624
|
-
status:
|
|
53625
|
+
status: nf
|
|
53625
53626
|
}, function() {
|
|
53626
53627
|
t.props.onExited(n);
|
|
53627
53628
|
});
|
|
@@ -53694,7 +53695,7 @@
|
|
|
53694
53695
|
onExit: nb,
|
|
53695
53696
|
onExiting: nb,
|
|
53696
53697
|
onExited: nb
|
|
53697
|
-
}, ng.UNMOUNTED = nu, ng.EXITED =
|
|
53698
|
+
}, ng.UNMOUNTED = nu, ng.EXITED = nf, ng.ENTERING = np, ng.ENTERED = nh, ng.EXITING = nm;
|
|
53698
53699
|
var nv = function(t, r) {
|
|
53699
53700
|
return t && r && r.split(" ").forEach(function(r) {
|
|
53700
53701
|
var o, n;
|
|
@@ -53789,7 +53790,7 @@
|
|
|
53789
53790
|
return /*#__PURE__*/ React.cloneElement(o, {
|
|
53790
53791
|
in: !1,
|
|
53791
53792
|
onExited: nC(o, "onExited", function() {
|
|
53792
|
-
n(
|
|
53793
|
+
n(np, null);
|
|
53793
53794
|
})
|
|
53794
53795
|
});
|
|
53795
53796
|
}, tL[ny] = function(r) {
|
|
@@ -53799,7 +53800,7 @@
|
|
|
53799
53800
|
/*#__PURE__*/ React.cloneElement(i, {
|
|
53800
53801
|
in: !0,
|
|
53801
53802
|
onEntered: nC(i, "onEntered", function() {
|
|
53802
|
-
n(
|
|
53803
|
+
n(np);
|
|
53803
53804
|
})
|
|
53804
53805
|
})
|
|
53805
53806
|
];
|
|
@@ -53852,8 +53853,8 @@
|
|
|
53852
53853
|
if (null == r.children) return {
|
|
53853
53854
|
current: null
|
|
53854
53855
|
};
|
|
53855
|
-
if (o.status ===
|
|
53856
|
-
status:
|
|
53856
|
+
if (o.status === np && r.mode === ny) return {
|
|
53857
|
+
status: np
|
|
53857
53858
|
};
|
|
53858
53859
|
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) ? {
|
|
53859
53860
|
status: nm
|
|
@@ -53870,7 +53871,7 @@
|
|
|
53870
53871
|
status: s
|
|
53871
53872
|
};
|
|
53872
53873
|
switch(s){
|
|
53873
|
-
case
|
|
53874
|
+
case np:
|
|
53874
53875
|
r = n_[i](l);
|
|
53875
53876
|
break;
|
|
53876
53877
|
case nm:
|
|
@@ -53900,7 +53901,7 @@
|
|
|
53900
53901
|
var t, r;
|
|
53901
53902
|
if (tN) return nS.exports;
|
|
53902
53903
|
return tN = 1, t = nS, r = nS.exports, function(o, n) {
|
|
53903
|
-
var i = "function", a = "undefined", s = "object", c = "string", l = "major", d = "model", u = "name",
|
|
53904
|
+
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) {
|
|
53904
53905
|
var o = {};
|
|
53905
53906
|
for(var n in t)r[n] && r[n].length % 2 == 0 ? o[n] = r[n].concat(t[n]) : o[n] = t[n];
|
|
53906
53907
|
return o;
|
|
@@ -53915,9 +53916,9 @@
|
|
|
53915
53916
|
if (typeof t === c) return t = t.replace(/^\s\s*/, ""), typeof r === a ? t : t.substring(0, 500);
|
|
53916
53917
|
}, X = function(t, r) {
|
|
53917
53918
|
for(var o, n, a, c, l, d, u = 0; u < r.length && !l;){
|
|
53918
|
-
var
|
|
53919
|
-
for(o = n = 0; o <
|
|
53920
|
-
if (l =
|
|
53919
|
+
var f = r[u], p = r[u + 1];
|
|
53920
|
+
for(o = n = 0; o < f.length && !l && f[o];){
|
|
53921
|
+
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;
|
|
53921
53922
|
}
|
|
53922
53923
|
u += 2;
|
|
53923
53924
|
}
|
|
@@ -54501,11 +54502,11 @@
|
|
|
54501
54502
|
[
|
|
54502
54503
|
d,
|
|
54503
54504
|
[
|
|
54504
|
-
|
|
54505
|
+
p,
|
|
54505
54506
|
O
|
|
54506
54507
|
],
|
|
54507
54508
|
[
|
|
54508
|
-
|
|
54509
|
+
f,
|
|
54509
54510
|
v
|
|
54510
54511
|
]
|
|
54511
54512
|
],
|
|
@@ -54517,11 +54518,11 @@
|
|
|
54517
54518
|
[
|
|
54518
54519
|
d,
|
|
54519
54520
|
[
|
|
54520
|
-
|
|
54521
|
+
p,
|
|
54521
54522
|
O
|
|
54522
54523
|
],
|
|
54523
54524
|
[
|
|
54524
|
-
|
|
54525
|
+
f,
|
|
54525
54526
|
b
|
|
54526
54527
|
]
|
|
54527
54528
|
],
|
|
@@ -54531,11 +54532,11 @@
|
|
|
54531
54532
|
[
|
|
54532
54533
|
d,
|
|
54533
54534
|
[
|
|
54534
|
-
|
|
54535
|
+
p,
|
|
54535
54536
|
B
|
|
54536
54537
|
],
|
|
54537
54538
|
[
|
|
54538
|
-
|
|
54539
|
+
f,
|
|
54539
54540
|
b
|
|
54540
54541
|
]
|
|
54541
54542
|
],
|
|
@@ -54547,11 +54548,11 @@
|
|
|
54547
54548
|
[
|
|
54548
54549
|
d,
|
|
54549
54550
|
[
|
|
54550
|
-
|
|
54551
|
+
p,
|
|
54551
54552
|
B
|
|
54552
54553
|
],
|
|
54553
54554
|
[
|
|
54554
|
-
|
|
54555
|
+
f,
|
|
54555
54556
|
v
|
|
54556
54557
|
]
|
|
54557
54558
|
],
|
|
@@ -54561,7 +54562,7 @@
|
|
|
54561
54562
|
[
|
|
54562
54563
|
d,
|
|
54563
54564
|
[
|
|
54564
|
-
|
|
54565
|
+
p,
|
|
54565
54566
|
B
|
|
54566
54567
|
]
|
|
54567
54568
|
],
|
|
@@ -54571,11 +54572,11 @@
|
|
|
54571
54572
|
[
|
|
54572
54573
|
d,
|
|
54573
54574
|
[
|
|
54574
|
-
|
|
54575
|
+
p,
|
|
54575
54576
|
M
|
|
54576
54577
|
],
|
|
54577
54578
|
[
|
|
54578
|
-
|
|
54579
|
+
f,
|
|
54579
54580
|
b
|
|
54580
54581
|
]
|
|
54581
54582
|
],
|
|
@@ -54585,11 +54586,11 @@
|
|
|
54585
54586
|
[
|
|
54586
54587
|
d,
|
|
54587
54588
|
[
|
|
54588
|
-
|
|
54589
|
+
p,
|
|
54589
54590
|
D
|
|
54590
54591
|
],
|
|
54591
54592
|
[
|
|
54592
|
-
|
|
54593
|
+
f,
|
|
54593
54594
|
v
|
|
54594
54595
|
]
|
|
54595
54596
|
],
|
|
@@ -54600,11 +54601,11 @@
|
|
|
54600
54601
|
[
|
|
54601
54602
|
d,
|
|
54602
54603
|
[
|
|
54603
|
-
|
|
54604
|
+
p,
|
|
54604
54605
|
D
|
|
54605
54606
|
],
|
|
54606
54607
|
[
|
|
54607
|
-
|
|
54608
|
+
f,
|
|
54608
54609
|
b
|
|
54609
54610
|
]
|
|
54610
54611
|
],
|
|
@@ -54623,11 +54624,11 @@
|
|
|
54623
54624
|
" "
|
|
54624
54625
|
],
|
|
54625
54626
|
[
|
|
54626
|
-
|
|
54627
|
+
p,
|
|
54627
54628
|
R
|
|
54628
54629
|
],
|
|
54629
54630
|
[
|
|
54630
|
-
|
|
54631
|
+
f,
|
|
54631
54632
|
b
|
|
54632
54633
|
]
|
|
54633
54634
|
],
|
|
@@ -54642,11 +54643,11 @@
|
|
|
54642
54643
|
" "
|
|
54643
54644
|
],
|
|
54644
54645
|
[
|
|
54645
|
-
|
|
54646
|
+
p,
|
|
54646
54647
|
R
|
|
54647
54648
|
],
|
|
54648
54649
|
[
|
|
54649
|
-
|
|
54650
|
+
f,
|
|
54650
54651
|
v
|
|
54651
54652
|
]
|
|
54652
54653
|
],
|
|
@@ -54657,11 +54658,11 @@
|
|
|
54657
54658
|
[
|
|
54658
54659
|
d,
|
|
54659
54660
|
[
|
|
54660
|
-
|
|
54661
|
+
p,
|
|
54661
54662
|
"OPPO"
|
|
54662
54663
|
],
|
|
54663
54664
|
[
|
|
54664
|
-
|
|
54665
|
+
f,
|
|
54665
54666
|
b
|
|
54666
54667
|
]
|
|
54667
54668
|
],
|
|
@@ -54672,11 +54673,11 @@
|
|
|
54672
54673
|
[
|
|
54673
54674
|
d,
|
|
54674
54675
|
[
|
|
54675
|
-
|
|
54676
|
+
p,
|
|
54676
54677
|
"Vivo"
|
|
54677
54678
|
],
|
|
54678
54679
|
[
|
|
54679
|
-
|
|
54680
|
+
f,
|
|
54680
54681
|
b
|
|
54681
54682
|
]
|
|
54682
54683
|
],
|
|
@@ -54686,11 +54687,11 @@
|
|
|
54686
54687
|
[
|
|
54687
54688
|
d,
|
|
54688
54689
|
[
|
|
54689
|
-
|
|
54690
|
+
p,
|
|
54690
54691
|
"Realme"
|
|
54691
54692
|
],
|
|
54692
54693
|
[
|
|
54693
|
-
|
|
54694
|
+
f,
|
|
54694
54695
|
b
|
|
54695
54696
|
]
|
|
54696
54697
|
],
|
|
@@ -54702,11 +54703,11 @@
|
|
|
54702
54703
|
[
|
|
54703
54704
|
d,
|
|
54704
54705
|
[
|
|
54705
|
-
|
|
54706
|
+
p,
|
|
54706
54707
|
j
|
|
54707
54708
|
],
|
|
54708
54709
|
[
|
|
54709
|
-
|
|
54710
|
+
f,
|
|
54710
54711
|
b
|
|
54711
54712
|
]
|
|
54712
54713
|
],
|
|
@@ -54716,11 +54717,11 @@
|
|
|
54716
54717
|
[
|
|
54717
54718
|
d,
|
|
54718
54719
|
[
|
|
54719
|
-
|
|
54720
|
+
p,
|
|
54720
54721
|
j
|
|
54721
54722
|
],
|
|
54722
54723
|
[
|
|
54723
|
-
|
|
54724
|
+
f,
|
|
54724
54725
|
v
|
|
54725
54726
|
]
|
|
54726
54727
|
],
|
|
@@ -54730,11 +54731,11 @@
|
|
|
54730
54731
|
[
|
|
54731
54732
|
d,
|
|
54732
54733
|
[
|
|
54733
|
-
|
|
54734
|
+
p,
|
|
54734
54735
|
"LG"
|
|
54735
54736
|
],
|
|
54736
54737
|
[
|
|
54737
|
-
|
|
54738
|
+
f,
|
|
54738
54739
|
v
|
|
54739
54740
|
]
|
|
54740
54741
|
],
|
|
@@ -54746,11 +54747,11 @@
|
|
|
54746
54747
|
[
|
|
54747
54748
|
d,
|
|
54748
54749
|
[
|
|
54749
|
-
|
|
54750
|
+
p,
|
|
54750
54751
|
"LG"
|
|
54751
54752
|
],
|
|
54752
54753
|
[
|
|
54753
|
-
|
|
54754
|
+
f,
|
|
54754
54755
|
b
|
|
54755
54756
|
]
|
|
54756
54757
|
],
|
|
@@ -54761,11 +54762,11 @@
|
|
|
54761
54762
|
[
|
|
54762
54763
|
d,
|
|
54763
54764
|
[
|
|
54764
|
-
|
|
54765
|
+
p,
|
|
54765
54766
|
"Lenovo"
|
|
54766
54767
|
],
|
|
54767
54768
|
[
|
|
54768
|
-
|
|
54769
|
+
f,
|
|
54769
54770
|
v
|
|
54770
54771
|
]
|
|
54771
54772
|
],
|
|
@@ -54780,11 +54781,11 @@
|
|
|
54780
54781
|
" "
|
|
54781
54782
|
],
|
|
54782
54783
|
[
|
|
54783
|
-
|
|
54784
|
+
p,
|
|
54784
54785
|
"Nokia"
|
|
54785
54786
|
],
|
|
54786
54787
|
[
|
|
54787
|
-
|
|
54788
|
+
f,
|
|
54788
54789
|
b
|
|
54789
54790
|
]
|
|
54790
54791
|
],
|
|
@@ -54794,11 +54795,11 @@
|
|
|
54794
54795
|
[
|
|
54795
54796
|
d,
|
|
54796
54797
|
[
|
|
54797
|
-
|
|
54798
|
+
p,
|
|
54798
54799
|
T
|
|
54799
54800
|
],
|
|
54800
54801
|
[
|
|
54801
|
-
|
|
54802
|
+
f,
|
|
54802
54803
|
v
|
|
54803
54804
|
]
|
|
54804
54805
|
],
|
|
@@ -54808,11 +54809,11 @@
|
|
|
54808
54809
|
[
|
|
54809
54810
|
d,
|
|
54810
54811
|
[
|
|
54811
|
-
|
|
54812
|
+
p,
|
|
54812
54813
|
T
|
|
54813
54814
|
],
|
|
54814
54815
|
[
|
|
54815
|
-
|
|
54816
|
+
f,
|
|
54816
54817
|
b
|
|
54817
54818
|
]
|
|
54818
54819
|
],
|
|
@@ -54822,11 +54823,11 @@
|
|
|
54822
54823
|
[
|
|
54823
54824
|
d,
|
|
54824
54825
|
[
|
|
54825
|
-
|
|
54826
|
+
p,
|
|
54826
54827
|
A
|
|
54827
54828
|
],
|
|
54828
54829
|
[
|
|
54829
|
-
|
|
54830
|
+
f,
|
|
54830
54831
|
b
|
|
54831
54832
|
]
|
|
54832
54833
|
],
|
|
@@ -54840,11 +54841,11 @@
|
|
|
54840
54841
|
"Xperia Tablet"
|
|
54841
54842
|
],
|
|
54842
54843
|
[
|
|
54843
|
-
|
|
54844
|
+
p,
|
|
54844
54845
|
A
|
|
54845
54846
|
],
|
|
54846
54847
|
[
|
|
54847
|
-
|
|
54848
|
+
f,
|
|
54848
54849
|
v
|
|
54849
54850
|
]
|
|
54850
54851
|
],
|
|
@@ -54855,11 +54856,11 @@
|
|
|
54855
54856
|
[
|
|
54856
54857
|
d,
|
|
54857
54858
|
[
|
|
54858
|
-
|
|
54859
|
+
p,
|
|
54859
54860
|
"OnePlus"
|
|
54860
54861
|
],
|
|
54861
54862
|
[
|
|
54862
|
-
|
|
54863
|
+
f,
|
|
54863
54864
|
b
|
|
54864
54865
|
]
|
|
54865
54866
|
],
|
|
@@ -54871,11 +54872,11 @@
|
|
|
54871
54872
|
[
|
|
54872
54873
|
d,
|
|
54873
54874
|
[
|
|
54874
|
-
|
|
54875
|
+
p,
|
|
54875
54876
|
C
|
|
54876
54877
|
],
|
|
54877
54878
|
[
|
|
54878
|
-
|
|
54879
|
+
f,
|
|
54879
54880
|
v
|
|
54880
54881
|
]
|
|
54881
54882
|
],
|
|
@@ -54889,11 +54890,11 @@
|
|
|
54889
54890
|
"Fire Phone $1"
|
|
54890
54891
|
],
|
|
54891
54892
|
[
|
|
54892
|
-
|
|
54893
|
+
p,
|
|
54893
54894
|
C
|
|
54894
54895
|
],
|
|
54895
54896
|
[
|
|
54896
|
-
|
|
54897
|
+
f,
|
|
54897
54898
|
b
|
|
54898
54899
|
]
|
|
54899
54900
|
],
|
|
@@ -54902,9 +54903,9 @@
|
|
|
54902
54903
|
],
|
|
54903
54904
|
[
|
|
54904
54905
|
d,
|
|
54905
|
-
|
|
54906
|
+
p,
|
|
54906
54907
|
[
|
|
54907
|
-
|
|
54908
|
+
f,
|
|
54908
54909
|
v
|
|
54909
54910
|
]
|
|
54910
54911
|
],
|
|
@@ -54915,11 +54916,11 @@
|
|
|
54915
54916
|
[
|
|
54916
54917
|
d,
|
|
54917
54918
|
[
|
|
54918
|
-
|
|
54919
|
+
p,
|
|
54919
54920
|
x
|
|
54920
54921
|
],
|
|
54921
54922
|
[
|
|
54922
|
-
|
|
54923
|
+
f,
|
|
54923
54924
|
b
|
|
54924
54925
|
]
|
|
54925
54926
|
],
|
|
@@ -54929,11 +54930,11 @@
|
|
|
54929
54930
|
[
|
|
54930
54931
|
d,
|
|
54931
54932
|
[
|
|
54932
|
-
|
|
54933
|
+
p,
|
|
54933
54934
|
_
|
|
54934
54935
|
],
|
|
54935
54936
|
[
|
|
54936
|
-
|
|
54937
|
+
f,
|
|
54937
54938
|
v
|
|
54938
54939
|
]
|
|
54939
54940
|
],
|
|
@@ -54943,11 +54944,11 @@
|
|
|
54943
54944
|
[
|
|
54944
54945
|
d,
|
|
54945
54946
|
[
|
|
54946
|
-
|
|
54947
|
+
p,
|
|
54947
54948
|
_
|
|
54948
54949
|
],
|
|
54949
54950
|
[
|
|
54950
|
-
|
|
54951
|
+
f,
|
|
54951
54952
|
b
|
|
54952
54953
|
]
|
|
54953
54954
|
],
|
|
@@ -54957,11 +54958,11 @@
|
|
|
54957
54958
|
[
|
|
54958
54959
|
d,
|
|
54959
54960
|
[
|
|
54960
|
-
|
|
54961
|
+
p,
|
|
54961
54962
|
"HTC"
|
|
54962
54963
|
],
|
|
54963
54964
|
[
|
|
54964
|
-
|
|
54965
|
+
f,
|
|
54965
54966
|
v
|
|
54966
54967
|
]
|
|
54967
54968
|
],
|
|
@@ -54971,14 +54972,14 @@
|
|
|
54971
54972
|
/(alcatel|geeksphone|nexian|panasonic(?!(?:;|\.))|sony(?!-bra))[-_ ]?([-\w]*)/i
|
|
54972
54973
|
],
|
|
54973
54974
|
[
|
|
54974
|
-
|
|
54975
|
+
p,
|
|
54975
54976
|
[
|
|
54976
54977
|
d,
|
|
54977
54978
|
/_/g,
|
|
54978
54979
|
" "
|
|
54979
54980
|
],
|
|
54980
54981
|
[
|
|
54981
|
-
|
|
54982
|
+
f,
|
|
54982
54983
|
b
|
|
54983
54984
|
]
|
|
54984
54985
|
],
|
|
@@ -54988,11 +54989,11 @@
|
|
|
54988
54989
|
[
|
|
54989
54990
|
d,
|
|
54990
54991
|
[
|
|
54991
|
-
|
|
54992
|
+
p,
|
|
54992
54993
|
"Acer"
|
|
54993
54994
|
],
|
|
54994
54995
|
[
|
|
54995
|
-
|
|
54996
|
+
f,
|
|
54996
54997
|
v
|
|
54997
54998
|
]
|
|
54998
54999
|
],
|
|
@@ -55003,11 +55004,11 @@
|
|
|
55003
55004
|
[
|
|
55004
55005
|
d,
|
|
55005
55006
|
[
|
|
55006
|
-
|
|
55007
|
+
p,
|
|
55007
55008
|
"Meizu"
|
|
55008
55009
|
],
|
|
55009
55010
|
[
|
|
55010
|
-
|
|
55011
|
+
f,
|
|
55011
55012
|
b
|
|
55012
55013
|
]
|
|
55013
55014
|
],
|
|
@@ -55017,11 +55018,11 @@
|
|
|
55017
55018
|
[
|
|
55018
55019
|
d,
|
|
55019
55020
|
[
|
|
55020
|
-
|
|
55021
|
+
p,
|
|
55021
55022
|
"Ulefone"
|
|
55022
55023
|
],
|
|
55023
55024
|
[
|
|
55024
|
-
|
|
55025
|
+
f,
|
|
55025
55026
|
b
|
|
55026
55027
|
]
|
|
55027
55028
|
],
|
|
@@ -55035,10 +55036,10 @@
|
|
|
55035
55036
|
/(oppo) ?([\w ]+) bui/i
|
|
55036
55037
|
],
|
|
55037
55038
|
[
|
|
55038
|
-
|
|
55039
|
+
p,
|
|
55039
55040
|
d,
|
|
55040
55041
|
[
|
|
55041
|
-
|
|
55042
|
+
f,
|
|
55042
55043
|
b
|
|
55043
55044
|
]
|
|
55044
55045
|
],
|
|
@@ -55055,10 +55056,10 @@
|
|
|
55055
55056
|
/(vodafone) ([\w ]+)(?:\)| bui)/i
|
|
55056
55057
|
],
|
|
55057
55058
|
[
|
|
55058
|
-
|
|
55059
|
+
p,
|
|
55059
55060
|
d,
|
|
55060
55061
|
[
|
|
55061
|
-
|
|
55062
|
+
f,
|
|
55062
55063
|
v
|
|
55063
55064
|
]
|
|
55064
55065
|
],
|
|
@@ -55068,11 +55069,11 @@
|
|
|
55068
55069
|
[
|
|
55069
55070
|
d,
|
|
55070
55071
|
[
|
|
55071
|
-
|
|
55072
|
+
p,
|
|
55072
55073
|
$
|
|
55073
55074
|
],
|
|
55074
55075
|
[
|
|
55075
|
-
|
|
55076
|
+
f,
|
|
55076
55077
|
v
|
|
55077
55078
|
]
|
|
55078
55079
|
],
|
|
@@ -55082,11 +55083,11 @@
|
|
|
55082
55083
|
[
|
|
55083
55084
|
d,
|
|
55084
55085
|
[
|
|
55085
|
-
|
|
55086
|
+
p,
|
|
55086
55087
|
"Fairphone"
|
|
55087
55088
|
],
|
|
55088
55089
|
[
|
|
55089
|
-
|
|
55090
|
+
f,
|
|
55090
55091
|
b
|
|
55091
55092
|
]
|
|
55092
55093
|
],
|
|
@@ -55096,11 +55097,11 @@
|
|
|
55096
55097
|
[
|
|
55097
55098
|
d,
|
|
55098
55099
|
[
|
|
55099
|
-
|
|
55100
|
+
p,
|
|
55100
55101
|
"AT&T"
|
|
55101
55102
|
],
|
|
55102
55103
|
[
|
|
55103
|
-
|
|
55104
|
+
f,
|
|
55104
55105
|
b
|
|
55105
55106
|
]
|
|
55106
55107
|
],
|
|
@@ -55110,11 +55111,11 @@
|
|
|
55110
55111
|
[
|
|
55111
55112
|
d,
|
|
55112
55113
|
[
|
|
55113
|
-
|
|
55114
|
+
p,
|
|
55114
55115
|
"Siemens"
|
|
55115
55116
|
],
|
|
55116
55117
|
[
|
|
55117
|
-
|
|
55118
|
+
f,
|
|
55118
55119
|
b
|
|
55119
55120
|
]
|
|
55120
55121
|
],
|
|
@@ -55124,11 +55125,11 @@
|
|
|
55124
55125
|
[
|
|
55125
55126
|
d,
|
|
55126
55127
|
[
|
|
55127
|
-
|
|
55128
|
+
p,
|
|
55128
55129
|
"RCA"
|
|
55129
55130
|
],
|
|
55130
55131
|
[
|
|
55131
|
-
|
|
55132
|
+
f,
|
|
55132
55133
|
v
|
|
55133
55134
|
]
|
|
55134
55135
|
],
|
|
@@ -55138,11 +55139,11 @@
|
|
|
55138
55139
|
[
|
|
55139
55140
|
d,
|
|
55140
55141
|
[
|
|
55141
|
-
|
|
55142
|
+
p,
|
|
55142
55143
|
"Dell"
|
|
55143
55144
|
],
|
|
55144
55145
|
[
|
|
55145
|
-
|
|
55146
|
+
f,
|
|
55146
55147
|
v
|
|
55147
55148
|
]
|
|
55148
55149
|
],
|
|
@@ -55152,11 +55153,11 @@
|
|
|
55152
55153
|
[
|
|
55153
55154
|
d,
|
|
55154
55155
|
[
|
|
55155
|
-
|
|
55156
|
+
p,
|
|
55156
55157
|
"Verizon"
|
|
55157
55158
|
],
|
|
55158
55159
|
[
|
|
55159
|
-
|
|
55160
|
+
f,
|
|
55160
55161
|
v
|
|
55161
55162
|
]
|
|
55162
55163
|
],
|
|
@@ -55166,11 +55167,11 @@
|
|
|
55166
55167
|
[
|
|
55167
55168
|
d,
|
|
55168
55169
|
[
|
|
55169
|
-
|
|
55170
|
+
p,
|
|
55170
55171
|
"Barnes & Noble"
|
|
55171
55172
|
],
|
|
55172
55173
|
[
|
|
55173
|
-
|
|
55174
|
+
f,
|
|
55174
55175
|
v
|
|
55175
55176
|
]
|
|
55176
55177
|
],
|
|
@@ -55180,11 +55181,11 @@
|
|
|
55180
55181
|
[
|
|
55181
55182
|
d,
|
|
55182
55183
|
[
|
|
55183
|
-
|
|
55184
|
+
p,
|
|
55184
55185
|
"NuVision"
|
|
55185
55186
|
],
|
|
55186
55187
|
[
|
|
55187
|
-
|
|
55188
|
+
f,
|
|
55188
55189
|
v
|
|
55189
55190
|
]
|
|
55190
55191
|
],
|
|
@@ -55194,11 +55195,11 @@
|
|
|
55194
55195
|
[
|
|
55195
55196
|
d,
|
|
55196
55197
|
[
|
|
55197
|
-
|
|
55198
|
+
p,
|
|
55198
55199
|
"ZTE"
|
|
55199
55200
|
],
|
|
55200
55201
|
[
|
|
55201
|
-
|
|
55202
|
+
f,
|
|
55202
55203
|
v
|
|
55203
55204
|
]
|
|
55204
55205
|
],
|
|
@@ -55208,11 +55209,11 @@
|
|
|
55208
55209
|
[
|
|
55209
55210
|
d,
|
|
55210
55211
|
[
|
|
55211
|
-
|
|
55212
|
+
p,
|
|
55212
55213
|
"ZTE"
|
|
55213
55214
|
],
|
|
55214
55215
|
[
|
|
55215
|
-
|
|
55216
|
+
f,
|
|
55216
55217
|
b
|
|
55217
55218
|
]
|
|
55218
55219
|
],
|
|
@@ -55222,11 +55223,11 @@
|
|
|
55222
55223
|
[
|
|
55223
55224
|
d,
|
|
55224
55225
|
[
|
|
55225
|
-
|
|
55226
|
+
p,
|
|
55226
55227
|
"Swiss"
|
|
55227
55228
|
],
|
|
55228
55229
|
[
|
|
55229
|
-
|
|
55230
|
+
f,
|
|
55230
55231
|
b
|
|
55231
55232
|
]
|
|
55232
55233
|
],
|
|
@@ -55236,11 +55237,11 @@
|
|
|
55236
55237
|
[
|
|
55237
55238
|
d,
|
|
55238
55239
|
[
|
|
55239
|
-
|
|
55240
|
+
p,
|
|
55240
55241
|
"Swiss"
|
|
55241
55242
|
],
|
|
55242
55243
|
[
|
|
55243
|
-
|
|
55244
|
+
f,
|
|
55244
55245
|
v
|
|
55245
55246
|
]
|
|
55246
55247
|
],
|
|
@@ -55250,11 +55251,11 @@
|
|
|
55250
55251
|
[
|
|
55251
55252
|
d,
|
|
55252
55253
|
[
|
|
55253
|
-
|
|
55254
|
+
p,
|
|
55254
55255
|
"Zeki"
|
|
55255
55256
|
],
|
|
55256
55257
|
[
|
|
55257
|
-
|
|
55258
|
+
f,
|
|
55258
55259
|
v
|
|
55259
55260
|
]
|
|
55260
55261
|
],
|
|
@@ -55264,12 +55265,12 @@
|
|
|
55264
55265
|
],
|
|
55265
55266
|
[
|
|
55266
55267
|
[
|
|
55267
|
-
|
|
55268
|
+
p,
|
|
55268
55269
|
"Dragon Touch"
|
|
55269
55270
|
],
|
|
55270
55271
|
d,
|
|
55271
55272
|
[
|
|
55272
|
-
|
|
55273
|
+
f,
|
|
55273
55274
|
v
|
|
55274
55275
|
]
|
|
55275
55276
|
],
|
|
@@ -55279,11 +55280,11 @@
|
|
|
55279
55280
|
[
|
|
55280
55281
|
d,
|
|
55281
55282
|
[
|
|
55282
|
-
|
|
55283
|
+
p,
|
|
55283
55284
|
"Insignia"
|
|
55284
55285
|
],
|
|
55285
55286
|
[
|
|
55286
|
-
|
|
55287
|
+
f,
|
|
55287
55288
|
v
|
|
55288
55289
|
]
|
|
55289
55290
|
],
|
|
@@ -55293,11 +55294,11 @@
|
|
|
55293
55294
|
[
|
|
55294
55295
|
d,
|
|
55295
55296
|
[
|
|
55296
|
-
|
|
55297
|
+
p,
|
|
55297
55298
|
"NextBook"
|
|
55298
55299
|
],
|
|
55299
55300
|
[
|
|
55300
|
-
|
|
55301
|
+
f,
|
|
55301
55302
|
v
|
|
55302
55303
|
]
|
|
55303
55304
|
],
|
|
@@ -55306,12 +55307,12 @@
|
|
|
55306
55307
|
],
|
|
55307
55308
|
[
|
|
55308
55309
|
[
|
|
55309
|
-
|
|
55310
|
+
p,
|
|
55310
55311
|
"Voice"
|
|
55311
55312
|
],
|
|
55312
55313
|
d,
|
|
55313
55314
|
[
|
|
55314
|
-
|
|
55315
|
+
f,
|
|
55315
55316
|
b
|
|
55316
55317
|
]
|
|
55317
55318
|
],
|
|
@@ -55320,12 +55321,12 @@
|
|
|
55320
55321
|
],
|
|
55321
55322
|
[
|
|
55322
55323
|
[
|
|
55323
|
-
|
|
55324
|
+
p,
|
|
55324
55325
|
"LvTel"
|
|
55325
55326
|
],
|
|
55326
55327
|
d,
|
|
55327
55328
|
[
|
|
55328
|
-
|
|
55329
|
+
f,
|
|
55329
55330
|
b
|
|
55330
55331
|
]
|
|
55331
55332
|
],
|
|
@@ -55335,11 +55336,11 @@
|
|
|
55335
55336
|
[
|
|
55336
55337
|
d,
|
|
55337
55338
|
[
|
|
55338
|
-
|
|
55339
|
+
p,
|
|
55339
55340
|
"Essential"
|
|
55340
55341
|
],
|
|
55341
55342
|
[
|
|
55342
|
-
|
|
55343
|
+
f,
|
|
55343
55344
|
b
|
|
55344
55345
|
]
|
|
55345
55346
|
],
|
|
@@ -55349,11 +55350,11 @@
|
|
|
55349
55350
|
[
|
|
55350
55351
|
d,
|
|
55351
55352
|
[
|
|
55352
|
-
|
|
55353
|
+
p,
|
|
55353
55354
|
"Envizen"
|
|
55354
55355
|
],
|
|
55355
55356
|
[
|
|
55356
|
-
|
|
55357
|
+
f,
|
|
55357
55358
|
v
|
|
55358
55359
|
]
|
|
55359
55360
|
],
|
|
@@ -55363,11 +55364,11 @@
|
|
|
55363
55364
|
[
|
|
55364
55365
|
d,
|
|
55365
55366
|
[
|
|
55366
|
-
|
|
55367
|
+
p,
|
|
55367
55368
|
"MachSpeed"
|
|
55368
55369
|
],
|
|
55369
55370
|
[
|
|
55370
|
-
|
|
55371
|
+
f,
|
|
55371
55372
|
v
|
|
55372
55373
|
]
|
|
55373
55374
|
],
|
|
@@ -55377,11 +55378,11 @@
|
|
|
55377
55378
|
[
|
|
55378
55379
|
d,
|
|
55379
55380
|
[
|
|
55380
|
-
|
|
55381
|
+
p,
|
|
55381
55382
|
"Rotor"
|
|
55382
55383
|
],
|
|
55383
55384
|
[
|
|
55384
|
-
|
|
55385
|
+
f,
|
|
55385
55386
|
v
|
|
55386
55387
|
]
|
|
55387
55388
|
],
|
|
@@ -55391,11 +55392,11 @@
|
|
|
55391
55392
|
[
|
|
55392
55393
|
d,
|
|
55393
55394
|
[
|
|
55394
|
-
|
|
55395
|
+
p,
|
|
55395
55396
|
"Nvidia"
|
|
55396
55397
|
],
|
|
55397
55398
|
[
|
|
55398
|
-
|
|
55399
|
+
f,
|
|
55399
55400
|
v
|
|
55400
55401
|
]
|
|
55401
55402
|
],
|
|
@@ -55403,10 +55404,10 @@
|
|
|
55403
55404
|
/(sprint) (\w+)/i
|
|
55404
55405
|
],
|
|
55405
55406
|
[
|
|
55406
|
-
|
|
55407
|
+
p,
|
|
55407
55408
|
d,
|
|
55408
55409
|
[
|
|
55409
|
-
|
|
55410
|
+
f,
|
|
55410
55411
|
b
|
|
55411
55412
|
]
|
|
55412
55413
|
],
|
|
@@ -55420,11 +55421,11 @@
|
|
|
55420
55421
|
" "
|
|
55421
55422
|
],
|
|
55422
55423
|
[
|
|
55423
|
-
|
|
55424
|
+
p,
|
|
55424
55425
|
$
|
|
55425
55426
|
],
|
|
55426
55427
|
[
|
|
55427
|
-
|
|
55428
|
+
f,
|
|
55428
55429
|
b
|
|
55429
55430
|
]
|
|
55430
55431
|
],
|
|
@@ -55434,11 +55435,11 @@
|
|
|
55434
55435
|
[
|
|
55435
55436
|
d,
|
|
55436
55437
|
[
|
|
55437
|
-
|
|
55438
|
+
p,
|
|
55438
55439
|
L
|
|
55439
55440
|
],
|
|
55440
55441
|
[
|
|
55441
|
-
|
|
55442
|
+
f,
|
|
55442
55443
|
v
|
|
55443
55444
|
]
|
|
55444
55445
|
],
|
|
@@ -55448,11 +55449,11 @@
|
|
|
55448
55449
|
[
|
|
55449
55450
|
d,
|
|
55450
55451
|
[
|
|
55451
|
-
|
|
55452
|
+
p,
|
|
55452
55453
|
L
|
|
55453
55454
|
],
|
|
55454
55455
|
[
|
|
55455
|
-
|
|
55456
|
+
f,
|
|
55456
55457
|
b
|
|
55457
55458
|
]
|
|
55458
55459
|
],
|
|
@@ -55460,9 +55461,9 @@
|
|
|
55460
55461
|
/smart-tv.+(samsung)/i
|
|
55461
55462
|
],
|
|
55462
55463
|
[
|
|
55463
|
-
|
|
55464
|
+
p,
|
|
55464
55465
|
[
|
|
55465
|
-
|
|
55466
|
+
f,
|
|
55466
55467
|
w
|
|
55467
55468
|
]
|
|
55468
55469
|
],
|
|
@@ -55476,11 +55477,11 @@
|
|
|
55476
55477
|
"SmartTV"
|
|
55477
55478
|
],
|
|
55478
55479
|
[
|
|
55479
|
-
|
|
55480
|
+
p,
|
|
55480
55481
|
O
|
|
55481
55482
|
],
|
|
55482
55483
|
[
|
|
55483
|
-
|
|
55484
|
+
f,
|
|
55484
55485
|
w
|
|
55485
55486
|
]
|
|
55486
55487
|
],
|
|
@@ -55489,11 +55490,11 @@
|
|
|
55489
55490
|
],
|
|
55490
55491
|
[
|
|
55491
55492
|
[
|
|
55492
|
-
|
|
55493
|
+
p,
|
|
55493
55494
|
"LG"
|
|
55494
55495
|
],
|
|
55495
55496
|
[
|
|
55496
|
-
|
|
55497
|
+
f,
|
|
55497
55498
|
w
|
|
55498
55499
|
]
|
|
55499
55500
|
],
|
|
@@ -55501,13 +55502,13 @@
|
|
|
55501
55502
|
/(apple) ?tv/i
|
|
55502
55503
|
],
|
|
55503
55504
|
[
|
|
55504
|
-
|
|
55505
|
+
p,
|
|
55505
55506
|
[
|
|
55506
55507
|
d,
|
|
55507
55508
|
B + " TV"
|
|
55508
55509
|
],
|
|
55509
55510
|
[
|
|
55510
|
-
|
|
55511
|
+
f,
|
|
55511
55512
|
w
|
|
55512
55513
|
]
|
|
55513
55514
|
],
|
|
@@ -55520,11 +55521,11 @@
|
|
|
55520
55521
|
S + "cast"
|
|
55521
55522
|
],
|
|
55522
55523
|
[
|
|
55523
|
-
|
|
55524
|
+
p,
|
|
55524
55525
|
T
|
|
55525
55526
|
],
|
|
55526
55527
|
[
|
|
55527
|
-
|
|
55528
|
+
f,
|
|
55528
55529
|
w
|
|
55529
55530
|
]
|
|
55530
55531
|
],
|
|
@@ -55534,11 +55535,11 @@
|
|
|
55534
55535
|
[
|
|
55535
55536
|
d,
|
|
55536
55537
|
[
|
|
55537
|
-
|
|
55538
|
+
p,
|
|
55538
55539
|
C
|
|
55539
55540
|
],
|
|
55540
55541
|
[
|
|
55541
|
-
|
|
55542
|
+
f,
|
|
55542
55543
|
w
|
|
55543
55544
|
]
|
|
55544
55545
|
],
|
|
@@ -55549,11 +55550,11 @@
|
|
|
55549
55550
|
[
|
|
55550
55551
|
d,
|
|
55551
55552
|
[
|
|
55552
|
-
|
|
55553
|
+
p,
|
|
55553
55554
|
M
|
|
55554
55555
|
],
|
|
55555
55556
|
[
|
|
55556
|
-
|
|
55557
|
+
f,
|
|
55557
55558
|
w
|
|
55558
55559
|
]
|
|
55559
55560
|
],
|
|
@@ -55563,11 +55564,11 @@
|
|
|
55563
55564
|
[
|
|
55564
55565
|
d,
|
|
55565
55566
|
[
|
|
55566
|
-
|
|
55567
|
+
p,
|
|
55567
55568
|
A
|
|
55568
55569
|
],
|
|
55569
55570
|
[
|
|
55570
|
-
|
|
55571
|
+
f,
|
|
55571
55572
|
w
|
|
55572
55573
|
]
|
|
55573
55574
|
],
|
|
@@ -55577,11 +55578,11 @@
|
|
|
55577
55578
|
[
|
|
55578
55579
|
d,
|
|
55579
55580
|
[
|
|
55580
|
-
|
|
55581
|
+
p,
|
|
55581
55582
|
R
|
|
55582
55583
|
],
|
|
55583
55584
|
[
|
|
55584
|
-
|
|
55585
|
+
f,
|
|
55585
55586
|
w
|
|
55586
55587
|
]
|
|
55587
55588
|
],
|
|
@@ -55589,10 +55590,10 @@
|
|
|
55589
55590
|
/Hbbtv.*(technisat) (.*);/i
|
|
55590
55591
|
],
|
|
55591
55592
|
[
|
|
55592
|
-
|
|
55593
|
+
p,
|
|
55593
55594
|
d,
|
|
55594
55595
|
[
|
|
55595
|
-
|
|
55596
|
+
f,
|
|
55596
55597
|
w
|
|
55597
55598
|
]
|
|
55598
55599
|
],
|
|
@@ -55602,7 +55603,7 @@
|
|
|
55602
55603
|
],
|
|
55603
55604
|
[
|
|
55604
55605
|
[
|
|
55605
|
-
|
|
55606
|
+
p,
|
|
55606
55607
|
Q
|
|
55607
55608
|
],
|
|
55608
55609
|
[
|
|
@@ -55610,7 +55611,7 @@
|
|
|
55610
55611
|
Q
|
|
55611
55612
|
],
|
|
55612
55613
|
[
|
|
55613
|
-
|
|
55614
|
+
f,
|
|
55614
55615
|
w
|
|
55615
55616
|
]
|
|
55616
55617
|
],
|
|
@@ -55619,7 +55620,7 @@
|
|
|
55619
55620
|
],
|
|
55620
55621
|
[
|
|
55621
55622
|
[
|
|
55622
|
-
|
|
55623
|
+
f,
|
|
55623
55624
|
w
|
|
55624
55625
|
]
|
|
55625
55626
|
],
|
|
@@ -55628,10 +55629,10 @@
|
|
|
55628
55629
|
/(nintendo) ([wids3utch]+)/i
|
|
55629
55630
|
],
|
|
55630
55631
|
[
|
|
55631
|
-
|
|
55632
|
+
p,
|
|
55632
55633
|
d,
|
|
55633
55634
|
[
|
|
55634
|
-
|
|
55635
|
+
f,
|
|
55635
55636
|
g
|
|
55636
55637
|
]
|
|
55637
55638
|
],
|
|
@@ -55641,11 +55642,11 @@
|
|
|
55641
55642
|
[
|
|
55642
55643
|
d,
|
|
55643
55644
|
[
|
|
55644
|
-
|
|
55645
|
+
p,
|
|
55645
55646
|
"Nvidia"
|
|
55646
55647
|
],
|
|
55647
55648
|
[
|
|
55648
|
-
|
|
55649
|
+
f,
|
|
55649
55650
|
g
|
|
55650
55651
|
]
|
|
55651
55652
|
],
|
|
@@ -55655,11 +55656,11 @@
|
|
|
55655
55656
|
[
|
|
55656
55657
|
d,
|
|
55657
55658
|
[
|
|
55658
|
-
|
|
55659
|
+
p,
|
|
55659
55660
|
A
|
|
55660
55661
|
],
|
|
55661
55662
|
[
|
|
55662
|
-
|
|
55663
|
+
f,
|
|
55663
55664
|
g
|
|
55664
55665
|
]
|
|
55665
55666
|
],
|
|
@@ -55669,11 +55670,11 @@
|
|
|
55669
55670
|
[
|
|
55670
55671
|
d,
|
|
55671
55672
|
[
|
|
55672
|
-
|
|
55673
|
+
p,
|
|
55673
55674
|
$
|
|
55674
55675
|
],
|
|
55675
55676
|
[
|
|
55676
|
-
|
|
55677
|
+
f,
|
|
55677
55678
|
g
|
|
55678
55679
|
]
|
|
55679
55680
|
],
|
|
@@ -55681,10 +55682,10 @@
|
|
|
55681
55682
|
/((pebble))app/i
|
|
55682
55683
|
],
|
|
55683
55684
|
[
|
|
55684
|
-
|
|
55685
|
+
p,
|
|
55685
55686
|
d,
|
|
55686
55687
|
[
|
|
55687
|
-
|
|
55688
|
+
f,
|
|
55688
55689
|
k
|
|
55689
55690
|
]
|
|
55690
55691
|
],
|
|
@@ -55694,11 +55695,11 @@
|
|
|
55694
55695
|
[
|
|
55695
55696
|
d,
|
|
55696
55697
|
[
|
|
55697
|
-
|
|
55698
|
+
p,
|
|
55698
55699
|
B
|
|
55699
55700
|
],
|
|
55700
55701
|
[
|
|
55701
|
-
|
|
55702
|
+
f,
|
|
55702
55703
|
k
|
|
55703
55704
|
]
|
|
55704
55705
|
],
|
|
@@ -55708,11 +55709,11 @@
|
|
|
55708
55709
|
[
|
|
55709
55710
|
d,
|
|
55710
55711
|
[
|
|
55711
|
-
|
|
55712
|
+
p,
|
|
55712
55713
|
T
|
|
55713
55714
|
],
|
|
55714
55715
|
[
|
|
55715
|
-
|
|
55716
|
+
f,
|
|
55716
55717
|
k
|
|
55717
55718
|
]
|
|
55718
55719
|
],
|
|
@@ -55722,11 +55723,11 @@
|
|
|
55722
55723
|
[
|
|
55723
55724
|
d,
|
|
55724
55725
|
[
|
|
55725
|
-
|
|
55726
|
+
p,
|
|
55726
55727
|
L
|
|
55727
55728
|
],
|
|
55728
55729
|
[
|
|
55729
|
-
|
|
55730
|
+
f,
|
|
55730
55731
|
k
|
|
55731
55732
|
]
|
|
55732
55733
|
],
|
|
@@ -55736,11 +55737,11 @@
|
|
|
55736
55737
|
[
|
|
55737
55738
|
d,
|
|
55738
55739
|
[
|
|
55739
|
-
|
|
55740
|
+
p,
|
|
55740
55741
|
F
|
|
55741
55742
|
],
|
|
55742
55743
|
[
|
|
55743
|
-
|
|
55744
|
+
f,
|
|
55744
55745
|
k
|
|
55745
55746
|
]
|
|
55746
55747
|
],
|
|
@@ -55748,9 +55749,9 @@
|
|
|
55748
55749
|
/(tesla)(?: qtcarbrowser|\/[-\w\.]+)/i
|
|
55749
55750
|
],
|
|
55750
55751
|
[
|
|
55751
|
-
|
|
55752
|
+
p,
|
|
55752
55753
|
[
|
|
55753
|
-
|
|
55754
|
+
f,
|
|
55754
55755
|
y
|
|
55755
55756
|
]
|
|
55756
55757
|
],
|
|
@@ -55760,11 +55761,11 @@
|
|
|
55760
55761
|
[
|
|
55761
55762
|
d,
|
|
55762
55763
|
[
|
|
55763
|
-
|
|
55764
|
+
p,
|
|
55764
55765
|
C
|
|
55765
55766
|
],
|
|
55766
55767
|
[
|
|
55767
|
-
|
|
55768
|
+
f,
|
|
55768
55769
|
y
|
|
55769
55770
|
]
|
|
55770
55771
|
],
|
|
@@ -55774,7 +55775,7 @@
|
|
|
55774
55775
|
[
|
|
55775
55776
|
d,
|
|
55776
55777
|
[
|
|
55777
|
-
|
|
55778
|
+
f,
|
|
55778
55779
|
b
|
|
55779
55780
|
]
|
|
55780
55781
|
],
|
|
@@ -55784,7 +55785,7 @@
|
|
|
55784
55785
|
[
|
|
55785
55786
|
d,
|
|
55786
55787
|
[
|
|
55787
|
-
|
|
55788
|
+
f,
|
|
55788
55789
|
v
|
|
55789
55790
|
]
|
|
55790
55791
|
],
|
|
@@ -55793,7 +55794,7 @@
|
|
|
55793
55794
|
],
|
|
55794
55795
|
[
|
|
55795
55796
|
[
|
|
55796
|
-
|
|
55797
|
+
f,
|
|
55797
55798
|
v
|
|
55798
55799
|
]
|
|
55799
55800
|
],
|
|
@@ -55802,7 +55803,7 @@
|
|
|
55802
55803
|
],
|
|
55803
55804
|
[
|
|
55804
55805
|
[
|
|
55805
|
-
|
|
55806
|
+
f,
|
|
55806
55807
|
b
|
|
55807
55808
|
]
|
|
55808
55809
|
],
|
|
@@ -55812,7 +55813,7 @@
|
|
|
55812
55813
|
[
|
|
55813
55814
|
d,
|
|
55814
55815
|
[
|
|
55815
|
-
|
|
55816
|
+
p,
|
|
55816
55817
|
"Generic"
|
|
55817
55818
|
]
|
|
55818
55819
|
]
|
|
@@ -56063,7 +56064,7 @@
|
|
|
56063
56064
|
return t[m] = void 0, X.call(t, g, k.cpu), t;
|
|
56064
56065
|
}, this.getDevice = function() {
|
|
56065
56066
|
var t = {};
|
|
56066
|
-
return t[
|
|
56067
|
+
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;
|
|
56067
56068
|
}, this.getEngine = function() {
|
|
56068
56069
|
var t = {};
|
|
56069
56070
|
return t[u] = void 0, t[h] = void 0, X.call(t, g, k.engine), t;
|
|
@@ -56093,8 +56094,8 @@
|
|
|
56093
56094
|
m
|
|
56094
56095
|
]), K.DEVICE = W([
|
|
56095
56096
|
d,
|
|
56096
|
-
f,
|
|
56097
56097
|
p,
|
|
56098
|
+
f,
|
|
56098
56099
|
g,
|
|
56099
56100
|
b,
|
|
56100
56101
|
w,
|
|
@@ -56117,9 +56118,9 @@
|
|
|
56117
56118
|
};
|
|
56118
56119
|
}
|
|
56119
56120
|
}("object" == typeof window ? window : nE), nS.exports;
|
|
56120
|
-
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(),
|
|
56121
|
+
}(), i = new n, a = i.getBrowser(), s = i.getCPU(), c = i.getDevice(), l = i.getEngine(), d = i.getOS(), u = i.getUA(), f = function(t) {
|
|
56121
56122
|
return i.setUA(t);
|
|
56122
|
-
},
|
|
56123
|
+
}, p = function(t) {
|
|
56123
56124
|
if (!t) return void console.error("No userAgent string was provided");
|
|
56124
56125
|
var r = new n(t);
|
|
56125
56126
|
return {
|
|
@@ -56142,8 +56143,8 @@
|
|
|
56142
56143
|
engine: l,
|
|
56143
56144
|
os: d,
|
|
56144
56145
|
ua: u,
|
|
56145
|
-
setUa:
|
|
56146
|
-
parseUserAgent:
|
|
56146
|
+
setUa: f,
|
|
56147
|
+
parseUserAgent: p
|
|
56147
56148
|
});
|
|
56148
56149
|
function m(t, r) {
|
|
56149
56150
|
var o = Object.keys(t);
|
|
@@ -56362,9 +56363,9 @@
|
|
|
56362
56363
|
}, eu = function(t) {
|
|
56363
56364
|
var r = t.name;
|
|
56364
56365
|
return r === $.InternetExplorer || r === $.Ie;
|
|
56365
|
-
}, ep = function(t) {
|
|
56366
|
-
return t.name === $.MIUI;
|
|
56367
56366
|
}, ef = function(t) {
|
|
56367
|
+
return t.name === $.MIUI;
|
|
56368
|
+
}, ep = function(t) {
|
|
56368
56369
|
return t.name === $.SamsungBrowser;
|
|
56369
56370
|
}, eh = function(t) {
|
|
56370
56371
|
return M(t.version);
|
|
@@ -56437,13 +56438,13 @@
|
|
|
56437
56438
|
isLegacyEdge: ea(n) && !ek(s),
|
|
56438
56439
|
isWindows: K(i),
|
|
56439
56440
|
isMacOs: Y(i),
|
|
56440
|
-
isMIUI:
|
|
56441
|
-
isSamsungBrowser:
|
|
56441
|
+
isMIUI: ef(n),
|
|
56442
|
+
isSamsungBrowser: ep(n)
|
|
56442
56443
|
};
|
|
56443
56444
|
}
|
|
56444
|
-
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 =
|
|
56445
|
+
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);
|
|
56445
56446
|
function ta(t) {
|
|
56446
|
-
return
|
|
56447
|
+
return p(t || window.navigator.userAgent);
|
|
56447
56448
|
}
|
|
56448
56449
|
return nP.AndroidView = function(r) {
|
|
56449
56450
|
var n = r.renderWithFragment, i = r.children, a = y(r, [
|
|
@@ -56527,7 +56528,7 @@
|
|
|
56527
56528
|
]);
|
|
56528
56529
|
return eF ? n ? o.createElement(React.Fragment, null, i) : o.createElement("div", a, i) : null;
|
|
56529
56530
|
}, nP.browserName = eZ, nP.browserVersion = eG, nP.deviceDetect = function(t) {
|
|
56530
|
-
var r, o, n, i, a, s, c, l, d, u,
|
|
56531
|
+
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;
|
|
56531
56532
|
if (I) {
|
|
56532
56533
|
return r = I, o = E, n = T, i = D, a = $, {
|
|
56533
56534
|
isBrowser: r,
|
|
@@ -56552,10 +56553,10 @@
|
|
|
56552
56553
|
};
|
|
56553
56554
|
}
|
|
56554
56555
|
if (N) {
|
|
56555
|
-
return u = N,
|
|
56556
|
+
return u = N, f = T, m = D, g = $, {
|
|
56556
56557
|
isConsole: u,
|
|
56557
|
-
engineName: M(
|
|
56558
|
-
engineVersion: M(
|
|
56558
|
+
engineName: M(f.name),
|
|
56559
|
+
engineVersion: M(f.version),
|
|
56559
56560
|
osName: M(m.name),
|
|
56560
56561
|
osVersion: M(m.version),
|
|
56561
56562
|
userAgent: M(g)
|
|
@@ -56586,7 +56587,7 @@
|
|
|
56586
56587
|
}
|
|
56587
56588
|
}, nP.deviceType = e1, nP.engineName = eJ, nP.engineVersion = e3, nP.fullBrowserVersion = eH, nP.getSelectorsByUserAgent = function(t) {
|
|
56588
56589
|
if (!t || "string" != typeof t) return void console.error("No valid user agent string was provided");
|
|
56589
|
-
var r =
|
|
56590
|
+
var r = p(t);
|
|
56590
56591
|
return eP({
|
|
56591
56592
|
device: r.device,
|
|
56592
56593
|
browser: r.browser,
|
|
@@ -56594,8 +56595,8 @@
|
|
|
56594
56595
|
engine: r.engine,
|
|
56595
56596
|
ua: r.ua
|
|
56596
56597
|
});
|
|
56597
|
-
}, 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 =
|
|
56598
|
-
return
|
|
56598
|
+
}, 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) {
|
|
56599
|
+
return f(t);
|
|
56599
56600
|
}, nP.useDeviceData = ta, nP.useDeviceSelectors = function(t) {
|
|
56600
56601
|
var r = ta(t || window.navigator.userAgent);
|
|
56601
56602
|
return [
|
|
@@ -56801,7 +56802,7 @@
|
|
|
56801
56802
|
var nM = oX(function() {
|
|
56802
56803
|
if (tW) return tV;
|
|
56803
56804
|
tW = 1;
|
|
56804
|
-
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,
|
|
56805
|
+
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() {
|
|
56805
56806
|
return l.Date.now();
|
|
56806
56807
|
};
|
|
56807
56808
|
function h(t) {
|
|
@@ -56817,8 +56818,8 @@
|
|
|
56817
56818
|
}
|
|
56818
56819
|
if ("string" != typeof s) return 0 === s ? s : +s;
|
|
56819
56820
|
s = s.replace(r, "");
|
|
56820
|
-
var
|
|
56821
|
-
return
|
|
56821
|
+
var f = n.test(s);
|
|
56822
|
+
return f || i.test(s) ? a(s.slice(2), f ? 2 : 8) : o.test(s) ? t : +s;
|
|
56822
56823
|
}
|
|
56823
56824
|
return tV = function(t, r, o) {
|
|
56824
56825
|
var n, i, a, s, c, l, d = 0, g = !1, b = !1, v = !0;
|
|
@@ -56833,15 +56834,15 @@
|
|
|
56833
56834
|
return void 0 === l || o >= r || o < 0 || b && n >= a;
|
|
56834
56835
|
}
|
|
56835
56836
|
function y() {
|
|
56836
|
-
var t, o, n, i, s =
|
|
56837
|
+
var t, o, n, i, s = p();
|
|
56837
56838
|
if (k(s)) return C(s);
|
|
56838
|
-
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ?
|
|
56839
|
+
c = setTimeout(y, (o = (t = s) - l, n = t - d, i = r - o, b ? f(i, a - n) : i));
|
|
56839
56840
|
}
|
|
56840
56841
|
function C(t) {
|
|
56841
56842
|
return (c = void 0, v && n) ? w(t) : (n = i = void 0, s);
|
|
56842
56843
|
}
|
|
56843
56844
|
function B() {
|
|
56844
|
-
var t, o =
|
|
56845
|
+
var t, o = p(), a = k(o);
|
|
56845
56846
|
if (n = arguments, i = this, l = o, a) {
|
|
56846
56847
|
if (void 0 === c) {
|
|
56847
56848
|
return d = t = l, c = setTimeout(y, r), g ? w(t) : s;
|
|
@@ -56853,7 +56854,7 @@
|
|
|
56853
56854
|
return B.cancel = function() {
|
|
56854
56855
|
void 0 !== c && clearTimeout(c), d = 0, n = l = i = c = void 0;
|
|
56855
56856
|
}, B.flush = function() {
|
|
56856
|
-
return void 0 === c ? s : C(
|
|
56857
|
+
return void 0 === c ? s : C(p());
|
|
56857
56858
|
}, B;
|
|
56858
56859
|
};
|
|
56859
56860
|
}()), nA = {
|
|
@@ -56864,11 +56865,11 @@
|
|
|
56864
56865
|
var t = tq ? nA.exports : (tq = 1, nA.exports = function() {
|
|
56865
56866
|
if (tU) return nR;
|
|
56866
56867
|
tU = 1;
|
|
56867
|
-
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,
|
|
56868
|
+
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;
|
|
56868
56869
|
function k(t) {
|
|
56869
56870
|
if ("object" == typeof t && null !== t) {
|
|
56870
|
-
var
|
|
56871
|
-
switch(
|
|
56871
|
+
var p = t.$$typeof;
|
|
56872
|
+
switch(p){
|
|
56872
56873
|
case r:
|
|
56873
56874
|
switch(t = t.type){
|
|
56874
56875
|
case l:
|
|
@@ -56876,7 +56877,7 @@
|
|
|
56876
56877
|
case n:
|
|
56877
56878
|
case a:
|
|
56878
56879
|
case i:
|
|
56879
|
-
case
|
|
56880
|
+
case f:
|
|
56880
56881
|
return t;
|
|
56881
56882
|
default:
|
|
56882
56883
|
switch(t = t && t.$$typeof){
|
|
@@ -56887,18 +56888,18 @@
|
|
|
56887
56888
|
case s:
|
|
56888
56889
|
return t;
|
|
56889
56890
|
default:
|
|
56890
|
-
return
|
|
56891
|
+
return p;
|
|
56891
56892
|
}
|
|
56892
56893
|
}
|
|
56893
56894
|
case o:
|
|
56894
|
-
return
|
|
56895
|
+
return p;
|
|
56895
56896
|
}
|
|
56896
56897
|
}
|
|
56897
56898
|
}
|
|
56898
56899
|
function y(t) {
|
|
56899
56900
|
return k(t) === d;
|
|
56900
56901
|
}
|
|
56901
|
-
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 =
|
|
56902
|
+
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) {
|
|
56902
56903
|
return y(t) || k(t) === l;
|
|
56903
56904
|
}, nR.isConcurrentMode = y, nR.isContextConsumer = function(t) {
|
|
56904
56905
|
return k(t) === c;
|
|
@@ -56921,9 +56922,9 @@
|
|
|
56921
56922
|
}, nR.isStrictMode = function(t) {
|
|
56922
56923
|
return k(t) === i;
|
|
56923
56924
|
}, nR.isSuspense = function(t) {
|
|
56924
|
-
return k(t) ===
|
|
56925
|
+
return k(t) === f;
|
|
56925
56926
|
}, nR.isValidElementType = function(t) {
|
|
56926
|
-
return "string" == typeof t || "function" == typeof t || t === n || t === d || t === a || t === i || t ===
|
|
56927
|
+
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);
|
|
56927
56928
|
}, nR.typeOf = k, nR;
|
|
56928
56929
|
}(), nA.exports), r = {
|
|
56929
56930
|
childContextTypes: !0,
|
|
@@ -56963,12 +56964,12 @@
|
|
|
56963
56964
|
displayName: !0,
|
|
56964
56965
|
propTypes: !0
|
|
56965
56966
|
}, i[t.Memo] = n;
|
|
56966
|
-
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf,
|
|
56967
|
+
var s = Object.defineProperty, c = Object.getOwnPropertyNames, l = Object.getOwnPropertySymbols, d = Object.getOwnPropertyDescriptor, u = Object.getPrototypeOf, f = Object.prototype;
|
|
56967
56968
|
return tQ = function t(r, n, i) {
|
|
56968
56969
|
if ("string" != typeof n) {
|
|
56969
|
-
if (
|
|
56970
|
-
var
|
|
56971
|
-
|
|
56970
|
+
if (f) {
|
|
56971
|
+
var p = u(n);
|
|
56972
|
+
p && p !== f && t(r, p, i);
|
|
56972
56973
|
}
|
|
56973
56974
|
var h = c(n);
|
|
56974
56975
|
l && (h = h.concat(l(n)));
|
|
@@ -57125,7 +57126,7 @@
|
|
|
57125
57126
|
else console.warn("Flashlight is not supported or not initialized.");
|
|
57126
57127
|
}, [
|
|
57127
57128
|
c
|
|
57128
|
-
]),
|
|
57129
|
+
]), f = reactExports.useCallback(async ()=>{
|
|
57129
57130
|
if (c && c.isSupported()) try {
|
|
57130
57131
|
await c.turnOff(), d.current = !1;
|
|
57131
57132
|
} catch (t) {
|
|
@@ -57133,15 +57134,15 @@
|
|
|
57133
57134
|
}
|
|
57134
57135
|
}, [
|
|
57135
57136
|
c
|
|
57136
|
-
]),
|
|
57137
|
+
]), p = React.useMemo(()=>({
|
|
57137
57138
|
turnOnFlashlight: u,
|
|
57138
|
-
turnOffFlashlight:
|
|
57139
|
+
turnOffFlashlight: f
|
|
57139
57140
|
}), [
|
|
57140
57141
|
u,
|
|
57141
|
-
|
|
57142
|
+
f
|
|
57142
57143
|
]);
|
|
57143
57144
|
return oZ.jsx(nU.Provider, {
|
|
57144
|
-
value:
|
|
57145
|
+
value: p,
|
|
57145
57146
|
children: s
|
|
57146
57147
|
});
|
|
57147
57148
|
}, { Errors: nQ } = ra$1, nX = dt$1.div`
|
|
@@ -57187,7 +57188,7 @@
|
|
|
57187
57188
|
`;
|
|
57188
57189
|
function nJ(r) {
|
|
57189
57190
|
var s, c;
|
|
57190
|
-
let l, { checkCameraMode: d, frontCamera: u, onClose:
|
|
57191
|
+
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)=>{
|
|
57191
57192
|
B && B(t);
|
|
57192
57193
|
}, [
|
|
57193
57194
|
B
|
|
@@ -57263,8 +57264,8 @@
|
|
|
57263
57264
|
},
|
|
57264
57265
|
...o
|
|
57265
57266
|
}
|
|
57266
|
-
},
|
|
57267
|
-
if (await U(), q(), !
|
|
57267
|
+
}, f = await navigator.mediaDevices.getUserMedia(n);
|
|
57268
|
+
if (await U(), q(), !f) return O(z("not_supported")), V(nQ.not_supported), null;
|
|
57268
57269
|
a(performance.now(), "end"), window.tv_last_req_camera_complete = !0, c() - s() < 1600 ? $({
|
|
57269
57270
|
tag: "cam_permission",
|
|
57270
57271
|
event: "user_activity.cam",
|
|
@@ -57277,13 +57278,13 @@
|
|
|
57277
57278
|
log: {}
|
|
57278
57279
|
});
|
|
57279
57280
|
try {
|
|
57280
|
-
let t =
|
|
57281
|
-
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
|
|
57282
|
-
let t =
|
|
57281
|
+
let t = f.getVideoTracks()[0].getSettings();
|
|
57282
|
+
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) {
|
|
57283
|
+
let t = f.getVideoTracks()[0].getCapabilities();
|
|
57283
57284
|
h7.addExifData("device_info.camera_capabilities", JSON.stringify(t));
|
|
57284
57285
|
}
|
|
57285
57286
|
} catch (t) {}
|
|
57286
|
-
return
|
|
57287
|
+
return f;
|
|
57287
57288
|
} catch (t) {
|
|
57288
57289
|
a(performance.now(), "end"), "NotAllowedError" === t.name ? (O(z("no_permission")), V(nQ.no_permission), A.current = !0, $({
|
|
57289
57290
|
tag: "cam_permission",
|
|
@@ -57375,7 +57376,7 @@
|
|
|
57375
57376
|
if (M.current) return ()=>{};
|
|
57376
57377
|
if (!navigator.mediaDevices || nT.browserName && [
|
|
57377
57378
|
"facebook"
|
|
57378
|
-
].includes(nT.browserName.toLowerCase())
|
|
57379
|
+
].includes(nT.browserName.toLowerCase())) O(z("not_supported")), V(nQ.not_supported);
|
|
57379
57380
|
else if (o) {
|
|
57380
57381
|
if (S) return X(S), ()=>{};
|
|
57381
57382
|
nT.isAndroid && !1 === u ? t() : nT.isIOS && u ? r() : X();
|
|
@@ -57394,13 +57395,13 @@
|
|
|
57394
57395
|
z
|
|
57395
57396
|
]);
|
|
57396
57397
|
let H = reactExports.useCallback(()=>{
|
|
57397
|
-
W(),
|
|
57398
|
+
W(), f && f(), $({
|
|
57398
57399
|
tag: "result",
|
|
57399
57400
|
event: "user_activity.cancel",
|
|
57400
57401
|
log: {}
|
|
57401
57402
|
});
|
|
57402
57403
|
}, [
|
|
57403
|
-
|
|
57404
|
+
f,
|
|
57404
57405
|
W,
|
|
57405
57406
|
$
|
|
57406
57407
|
]);
|
|
@@ -57463,7 +57464,7 @@
|
|
|
57463
57464
|
className: x,
|
|
57464
57465
|
scale: P
|
|
57465
57466
|
}),
|
|
57466
|
-
|
|
57467
|
+
p,
|
|
57467
57468
|
_ ? /*#__PURE__*/ React.cloneElement(_, {
|
|
57468
57469
|
onClick: H,
|
|
57469
57470
|
"data-testid": "close-camera"
|
|
@@ -57663,32 +57664,32 @@
|
|
|
57663
57664
|
"left center",
|
|
57664
57665
|
"left bottom"
|
|
57665
57666
|
], io = function(t, r, o, n, i) {
|
|
57666
|
-
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,
|
|
57667
|
+
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%";
|
|
57667
57668
|
switch(l[0]){
|
|
57668
57669
|
case "top":
|
|
57669
|
-
h -=
|
|
57670
|
+
h -= f / 2 + t.height / 2 + c, g = "rotate(180deg) translateX(50%)", b = "100%", v = "50%";
|
|
57670
57671
|
break;
|
|
57671
57672
|
case "bottom":
|
|
57672
|
-
h +=
|
|
57673
|
+
h += f / 2 + t.height / 2 + c, g = "rotate(0deg) translateY(-100%) translateX(-50%)", v = "50%";
|
|
57673
57674
|
break;
|
|
57674
57675
|
case "left":
|
|
57675
|
-
m -=
|
|
57676
|
+
m -= p / 2 + t.width / 2 + c, g = " rotate(90deg) translateY(50%) translateX(-25%)", v = "100%", b = "50%";
|
|
57676
57677
|
break;
|
|
57677
57678
|
case "right":
|
|
57678
|
-
m +=
|
|
57679
|
+
m += p / 2 + t.width / 2 + c, g = "rotate(-90deg) translateY(-150%) translateX(25%)", b = "50%";
|
|
57679
57680
|
}
|
|
57680
57681
|
switch(l[1]){
|
|
57681
57682
|
case "top":
|
|
57682
57683
|
h = t.top, b = t.height / 2 + "px";
|
|
57683
57684
|
break;
|
|
57684
57685
|
case "bottom":
|
|
57685
|
-
h = t.top -
|
|
57686
|
+
h = t.top - f + t.height, b = f - t.height / 2 + "px";
|
|
57686
57687
|
break;
|
|
57687
57688
|
case "left":
|
|
57688
57689
|
m = t.left, v = t.width / 2 + "px";
|
|
57689
57690
|
break;
|
|
57690
57691
|
case "right":
|
|
57691
|
-
m = t.left -
|
|
57692
|
+
m = t.left - p + t.width, v = p - t.width / 2 + "px";
|
|
57692
57693
|
}
|
|
57693
57694
|
return h = "top" === l[0] ? h - s : h + s, {
|
|
57694
57695
|
top: h,
|
|
@@ -57716,12 +57717,12 @@
|
|
|
57716
57717
|
left: 0,
|
|
57717
57718
|
top: 0,
|
|
57718
57719
|
transform: "rotate(135deg)"
|
|
57719
|
-
}, d = 0, u = ii(a),
|
|
57720
|
+
}, d = 0, u = ii(a), f = Array.isArray(o) ? o : [
|
|
57720
57721
|
o
|
|
57721
57722
|
];
|
|
57722
|
-
for((a || Array.isArray(o)) && (
|
|
57723
|
-
var
|
|
57724
|
-
top: (l = io(t, r,
|
|
57723
|
+
for((a || Array.isArray(o)) && (f = [].concat(f, ir)); d < f.length;){
|
|
57724
|
+
var p = {
|
|
57725
|
+
top: (l = io(t, r, f[d], n, {
|
|
57725
57726
|
offsetX: s,
|
|
57726
57727
|
offsetY: c
|
|
57727
57728
|
})).top,
|
|
@@ -57729,7 +57730,7 @@
|
|
|
57729
57730
|
width: r.width,
|
|
57730
57731
|
height: r.height
|
|
57731
57732
|
};
|
|
57732
|
-
if (
|
|
57733
|
+
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++;
|
|
57733
57734
|
else break;
|
|
57734
57735
|
}
|
|
57735
57736
|
return l;
|
|
@@ -57737,7 +57738,7 @@
|
|
|
57737
57738
|
var t = document.getElementById("popup-root");
|
|
57738
57739
|
return null === t && ((t = document.createElement("div")).setAttribute("id", "popup-root"), document.body.appendChild(t)), t;
|
|
57739
57740
|
}, il = /*#__PURE__*/ reactExports.forwardRef(function(r, a) {
|
|
57740
|
-
var s = r.trigger, c = void 0 === s ? null : s, l = r.onOpen, u = void 0 === l ? function() {} : l,
|
|
57741
|
+
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 ? [
|
|
57741
57742
|
"click"
|
|
57742
57743
|
] : 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);
|
|
57743
57744
|
n7(function() {
|
|
@@ -57759,16 +57760,16 @@
|
|
|
57759
57760
|
}, eu = function(t) {
|
|
57760
57761
|
var r;
|
|
57761
57762
|
et && !v && (er(!1), ec && (null == (r = ea.current) || r.focus()), setTimeout(function() {
|
|
57762
|
-
return
|
|
57763
|
+
return p(t);
|
|
57763
57764
|
}, 0));
|
|
57764
|
-
}, ep = function(t) {
|
|
57765
|
-
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57766
57765
|
}, ef = function(t) {
|
|
57766
|
+
null == t || t.stopPropagation(), et ? eu(t) : ed(t);
|
|
57767
|
+
}, ep = function(t) {
|
|
57767
57768
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57768
57769
|
return ed(t);
|
|
57769
57770
|
}, X);
|
|
57770
57771
|
}, eh = function(t) {
|
|
57771
|
-
null == t || t.preventDefault(),
|
|
57772
|
+
null == t || t.preventDefault(), ef();
|
|
57772
57773
|
}, em = function(t) {
|
|
57773
57774
|
clearTimeout(el.current), el.current = setTimeout(function() {
|
|
57774
57775
|
return eu(t);
|
|
@@ -57790,7 +57791,7 @@
|
|
|
57790
57791
|
eu();
|
|
57791
57792
|
},
|
|
57792
57793
|
toggle: function() {
|
|
57793
|
-
|
|
57794
|
+
ef();
|
|
57794
57795
|
}
|
|
57795
57796
|
};
|
|
57796
57797
|
});
|
|
@@ -57824,7 +57825,7 @@
|
|
|
57824
57825
|
t.stopPropagation();
|
|
57825
57826
|
}
|
|
57826
57827
|
};
|
|
57827
|
-
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter =
|
|
57828
|
+
return !R && P.indexOf("hover") >= 0 && (r.onMouseEnter = ep, r.onMouseLeave = em), r;
|
|
57828
57829
|
}, ey = function() {
|
|
57829
57830
|
return /*#__PURE__*/ React.createElement("div", Object.assign({}, ek(), {
|
|
57830
57831
|
key: "C",
|
|
@@ -57871,16 +57872,16 @@
|
|
|
57871
57872
|
P
|
|
57872
57873
|
], n = 0, i = o.length; n < i; n++)switch(o[n]){
|
|
57873
57874
|
case "click":
|
|
57874
|
-
r.onClick =
|
|
57875
|
+
r.onClick = ef;
|
|
57875
57876
|
break;
|
|
57876
57877
|
case "right-click":
|
|
57877
57878
|
r.onContextMenu = eh;
|
|
57878
57879
|
break;
|
|
57879
57880
|
case "hover":
|
|
57880
|
-
r.onMouseEnter =
|
|
57881
|
+
r.onMouseEnter = ep, r.onMouseLeave = em;
|
|
57881
57882
|
break;
|
|
57882
57883
|
case "focus":
|
|
57883
|
-
r.onFocus =
|
|
57884
|
+
r.onFocus = ep, r.onBlur = em;
|
|
57884
57885
|
}
|
|
57885
57886
|
if ("function" == typeof c) {
|
|
57886
57887
|
var a = c(et);
|
|
@@ -58147,7 +58148,7 @@
|
|
|
58147
58148
|
}
|
|
58148
58149
|
}, im = "default", ig = "error";
|
|
58149
58150
|
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 }) {
|
|
58150
|
-
let
|
|
58151
|
+
let p = reactExports.useMemo(()=>({
|
|
58151
58152
|
[im]: l,
|
|
58152
58153
|
[ig]: d,
|
|
58153
58154
|
...i
|
|
@@ -58155,7 +58156,7 @@
|
|
|
58155
58156
|
l,
|
|
58156
58157
|
d,
|
|
58157
58158
|
i
|
|
58158
|
-
]), h = s + a * u, m =
|
|
58159
|
+
]), h = s + a * u, m = p[n];
|
|
58159
58160
|
return oZ.jsxs("svg", {
|
|
58160
58161
|
width: r,
|
|
58161
58162
|
height: o,
|
|
@@ -58374,8 +58375,8 @@
|
|
|
58374
58375
|
if (o && !a || !o && !s) return null;
|
|
58375
58376
|
let { width: c, height: l } = r, d = document.createElement("canvas"), u = document.createElement("canvas");
|
|
58376
58377
|
d.width = c / 2, u.width = c / 2, d.height = l, u.height = l;
|
|
58377
|
-
let
|
|
58378
|
-
|
|
58378
|
+
let f = d.getContext("2d"), p = u.getContext("2d");
|
|
58379
|
+
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);
|
|
58379
58380
|
let [h, m] = await Promise.all([
|
|
58380
58381
|
fb.getModelPredictions({
|
|
58381
58382
|
model: t,
|
|
@@ -58416,13 +58417,13 @@
|
|
|
58416
58417
|
return i;
|
|
58417
58418
|
}, iz = (t, r)=>parseFloat(t.toFixed(r)), iV = ({ currentFrameBlurScore: t, incomingFrameBlurScore: r, currentFrameGlareScore: o, incomingFrameGlareScore: n, settings: i, blurLargeThreshold: a, blurSmallThreshold: s })=>{
|
|
58418
58419
|
if (null === t) return !0;
|
|
58419
|
-
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large,
|
|
58420
|
-
return (!c || !(
|
|
58420
|
+
let { enableBlurCheck: c, enableGlareCheck: l } = i, d = t?.small, u = t?.large, f = r?.small, p = r?.large;
|
|
58421
|
+
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);
|
|
58421
58422
|
};
|
|
58422
58423
|
function iW(t, r, o, n, i) {
|
|
58423
58424
|
o && (o.strokeStyle = r, o.lineWidth = 2, t.forEach((t)=>{
|
|
58424
|
-
let [r, a, s, c] = t, l = (r + i.x) * n, d = (a + i.y) * n, u = (s + i.x) * n,
|
|
58425
|
-
o.strokeRect(l, d, u - l,
|
|
58425
|
+
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;
|
|
58426
|
+
o.strokeRect(l, d, u - l, f - d);
|
|
58426
58427
|
}));
|
|
58427
58428
|
}
|
|
58428
58429
|
function iU(t) {
|
|
@@ -59228,14 +59229,14 @@
|
|
|
59228
59229
|
_drawToCanvas(t, r, o, n, i, a) {
|
|
59229
59230
|
if (this._animationFrameId && cancelAnimationFrame(this._animationFrameId), !t || !a || this._stopDrawing) return;
|
|
59230
59231
|
this._lastFrameTime = 0;
|
|
59231
|
-
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i,
|
|
59232
|
+
let { cropX: s, cropY: c, cropWidth: l, cropHeight: d } = a, u = 1e3 / i, f = (i)=>{
|
|
59232
59233
|
if (this._stopDrawing) {
|
|
59233
59234
|
this._animationFrameId = null;
|
|
59234
59235
|
return;
|
|
59235
59236
|
}
|
|
59236
|
-
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(
|
|
59237
|
+
i - this._lastFrameTime >= u && (this._lastFrameTime = i, t.drawImage(r, s, c, l, d, 0, 0, o, n)), this._animationFrameId = requestAnimationFrame(f);
|
|
59237
59238
|
};
|
|
59238
|
-
this._animationFrameId = requestAnimationFrame(
|
|
59239
|
+
this._animationFrameId = requestAnimationFrame(f);
|
|
59239
59240
|
}
|
|
59240
59241
|
stopDrawing() {
|
|
59241
59242
|
this._stopDrawing = !0, this._animationFrameId && (cancelAnimationFrame(this._animationFrameId), this._animationFrameId = null);
|
|
@@ -59245,10 +59246,10 @@
|
|
|
59245
59246
|
this.clearVideoChunks(), this._stopDrawing = !1;
|
|
59246
59247
|
let { videoFrameWidth: a, videoFrameHeight: s, videoBitrate: c, fps: l } = o, d = l || this.DEFAULT_VIDEO_FPS, u = r.cropWidth / r.cropHeight;
|
|
59247
59248
|
aE(a) ? (n = a, i = a / u) : aE(s) ? (n = s * u, i = s) : (n = 400, i = 800);
|
|
59248
|
-
let
|
|
59249
|
-
|
|
59250
|
-
let
|
|
59251
|
-
if (!
|
|
59249
|
+
let f = document.createElement("canvas");
|
|
59250
|
+
f.width = n, f.height = i;
|
|
59251
|
+
let p = f.getContext("2d");
|
|
59252
|
+
if (!p) return console.error("Could not get canvas context."), {
|
|
59252
59253
|
mediaRecorder: null
|
|
59253
59254
|
};
|
|
59254
59255
|
try {
|
|
@@ -59256,7 +59257,7 @@
|
|
|
59256
59257
|
mimeType: "video/webm",
|
|
59257
59258
|
videoBitsPerSecond: c
|
|
59258
59259
|
}, i = nT.isIOS ? "video/mp4" : "video/webm";
|
|
59259
|
-
if (MediaRecorder.isTypeSupported(i) && (this._stream && this._stream.getTracks().forEach((t)=>t.stop()), this._stopDrawing = !1, this._drawToCanvas(
|
|
59260
|
+
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 = {
|
|
59260
59261
|
mimeType: i,
|
|
59261
59262
|
videoBitsPerSecond: Math.min(c, this.MAX_VIDEO_BITRATE)
|
|
59262
59263
|
}), !this._stream) throw Error("Failed to create a media stream for recording.");
|
|
@@ -59311,7 +59312,7 @@
|
|
|
59311
59312
|
}
|
|
59312
59313
|
}, [
|
|
59313
59314
|
i
|
|
59314
|
-
]),
|
|
59315
|
+
]), p = reactExports.useCallback(()=>{
|
|
59315
59316
|
if (s.current && r.current) try {
|
|
59316
59317
|
s.current.discardRecording(), r.current = !1;
|
|
59317
59318
|
} catch (t) {
|
|
@@ -59320,19 +59321,19 @@
|
|
|
59320
59321
|
}, []);
|
|
59321
59322
|
return reactExports.useEffect(()=>{
|
|
59322
59323
|
let t = ()=>{
|
|
59323
|
-
"hidden" === document.visibilityState ?
|
|
59324
|
+
"hidden" === document.visibilityState ? p() : "visible" === document.visibilityState && c.current && l(c.current);
|
|
59324
59325
|
};
|
|
59325
59326
|
return document.addEventListener("visibilitychange", t), ()=>{
|
|
59326
59327
|
document.removeEventListener("visibilitychange", t);
|
|
59327
59328
|
};
|
|
59328
59329
|
}, [
|
|
59329
59330
|
l,
|
|
59330
|
-
|
|
59331
|
+
p
|
|
59331
59332
|
]), {
|
|
59332
59333
|
startRecording: l,
|
|
59333
59334
|
stopRecording: d,
|
|
59334
59335
|
resetRecording: u,
|
|
59335
|
-
discardRecording:
|
|
59336
|
+
discardRecording: p
|
|
59336
59337
|
};
|
|
59337
59338
|
}, { Errors: a$ } = ra$1, aj = ()=>({
|
|
59338
59339
|
imageBlob: null,
|
|
@@ -59545,22 +59546,22 @@
|
|
|
59545
59546
|
});
|
|
59546
59547
|
}
|
|
59547
59548
|
let aU = /*#__PURE__*/ reactExports.forwardRef((t, r)=>{
|
|
59548
|
-
let { description: s, usePortraitMask: l, windowAndVideoInfo: u, refVideo:
|
|
59549
|
+
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")({
|
|
59549
59550
|
theme: T
|
|
59550
|
-
}), 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(()=>{}),
|
|
59551
|
+
}), 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)=>{
|
|
59551
59552
|
null === t ? er("") : er(Y(t?.code, {
|
|
59552
59553
|
side: k ? Y("front") : Y("back")
|
|
59553
59554
|
}));
|
|
59554
59555
|
}, [
|
|
59555
59556
|
Y,
|
|
59556
59557
|
k
|
|
59557
|
-
]),
|
|
59558
|
+
]), ep = reactExports.useCallback(()=>{
|
|
59558
59559
|
ee(""), eu.current();
|
|
59559
59560
|
}, []), eh = reactExports.useCallback((...t)=>{
|
|
59560
59561
|
ee(""), B(...t);
|
|
59561
59562
|
}, [
|
|
59562
59563
|
B
|
|
59563
|
-
]), { 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:
|
|
59564
|
+
]), { 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 })=>{
|
|
59564
59565
|
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(()=>{
|
|
59565
59566
|
Q((t)=>!t);
|
|
59566
59567
|
}, []), { autoCaptureWaitForBestImageTimeMs: H, manualCaptureWaitForBestImageTimeMs: G } = l, Z = q ? H : G;
|
|
@@ -59601,30 +59602,30 @@
|
|
|
59601
59602
|
l.blurLargeThresholdAuto,
|
|
59602
59603
|
l.blurLargeThresholdManual,
|
|
59603
59604
|
l.enableAutoCapture
|
|
59604
|
-
]), { isCapturing: et, refWorkingCanvas: er, stopCheckFrame: eo, checkFrame: en, warmupDone: ei, takePictureManually: ea, refAbleToRunBurstMode: es, refVirtualFrames: ec, refCardCoordinates: el, refBlurScores: ed, refGlareScores: eu, resetState:
|
|
59605
|
+
]), { 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 }) {
|
|
59605
59606
|
let C = reactExports.useRef(null);
|
|
59606
59607
|
null === C.current && (C.current = document.createElement("canvas"));
|
|
59607
|
-
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 } =
|
|
59608
|
-
videoFrameWidth:
|
|
59609
|
-
videoFrameHeight:
|
|
59610
|
-
videoBitrate:
|
|
59611
|
-
fps:
|
|
59608
|
+
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(()=>({
|
|
59609
|
+
videoFrameWidth: p.recordVideoFrameWidth,
|
|
59610
|
+
videoFrameHeight: p.recordVideoFrameHeight,
|
|
59611
|
+
videoBitrate: p.recordVideoBitrate,
|
|
59612
|
+
fps: p.recordVideoFps
|
|
59612
59613
|
}), [
|
|
59613
|
-
|
|
59614
|
-
|
|
59615
|
-
|
|
59616
|
-
|
|
59614
|
+
p.recordVideoBitrate,
|
|
59615
|
+
p.recordVideoFps,
|
|
59616
|
+
p.recordVideoFrameHeight,
|
|
59617
|
+
p.recordVideoFrameWidth
|
|
59617
59618
|
]), { startRecording: er, stopRecording: eo, resetRecording: en } = aD({
|
|
59618
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59619
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordCapturingFront : p.enableRecordCapturingBack, [
|
|
59619
59620
|
g,
|
|
59620
|
-
|
|
59621
|
-
|
|
59621
|
+
p.enableRecordCapturingBack,
|
|
59622
|
+
p.enableRecordCapturingFront
|
|
59622
59623
|
])
|
|
59623
59624
|
}), { startRecording: ei, stopRecording: ea, resetRecording: es } = aD({
|
|
59624
|
-
shouldRecord: reactExports.useMemo(()=>g ?
|
|
59625
|
+
shouldRecord: reactExports.useMemo(()=>g ? p.enableRecordFullSessionFront : p.enableRecordFullSessionBack, [
|
|
59625
59626
|
g,
|
|
59626
|
-
|
|
59627
|
-
|
|
59627
|
+
p.enableRecordFullSessionBack,
|
|
59628
|
+
p.enableRecordFullSessionFront
|
|
59628
59629
|
])
|
|
59629
59630
|
}), { turnOnFlashlight: ec, turnOffFlashlight: el } = (()=>{
|
|
59630
59631
|
let t = reactExports.useContext(nU);
|
|
@@ -59638,8 +59639,8 @@
|
|
|
59638
59639
|
]), reactExports.useEffect(()=>{
|
|
59639
59640
|
let t = !1;
|
|
59640
59641
|
return async function r() {
|
|
59641
|
-
if (
|
|
59642
|
-
if (
|
|
59642
|
+
if (p && !I) {
|
|
59643
|
+
if (p.enableIdDetection) {
|
|
59643
59644
|
let t = ((t, r)=>{
|
|
59644
59645
|
if (0 === t.length) return {
|
|
59645
59646
|
isValid: !1
|
|
@@ -59660,7 +59661,7 @@
|
|
|
59660
59661
|
} : {
|
|
59661
59662
|
isValid: !1
|
|
59662
59663
|
};
|
|
59663
|
-
})(Z.map((t)=>t.code),
|
|
59664
|
+
})(Z.map((t)=>t.code), p?.cardTypeModelMapping);
|
|
59664
59665
|
if (!t.isValid) {
|
|
59665
59666
|
U(a$.invalid_card_type_config), Q(!1), O(!0);
|
|
59666
59667
|
return;
|
|
@@ -59669,7 +59670,7 @@
|
|
|
59669
59670
|
V.current = await a_({
|
|
59670
59671
|
...W,
|
|
59671
59672
|
idCardModelUrl: r
|
|
59672
|
-
}, t.cardModel), await fY.initTensorFlow(), N.current =
|
|
59673
|
+
}, t.cardModel), await fY.initTensorFlow(), N.current = p.enableBlurCheck && V.current.ableToUseModel, Q(!t.forceOffDetection);
|
|
59673
59674
|
} else Q(!1), N.current = !1;
|
|
59674
59675
|
t || O(!0);
|
|
59675
59676
|
}
|
|
@@ -59678,7 +59679,7 @@
|
|
|
59678
59679
|
};
|
|
59679
59680
|
}, [
|
|
59680
59681
|
I,
|
|
59681
|
-
|
|
59682
|
+
p,
|
|
59682
59683
|
W,
|
|
59683
59684
|
Z,
|
|
59684
59685
|
U
|
|
@@ -59695,13 +59696,13 @@
|
|
|
59695
59696
|
});
|
|
59696
59697
|
}, [
|
|
59697
59698
|
k
|
|
59698
|
-
]),
|
|
59699
|
+
]), ef = reactExports.useCallback(()=>{
|
|
59699
59700
|
Y || (en(), es());
|
|
59700
59701
|
}, [
|
|
59701
59702
|
Y,
|
|
59702
59703
|
en,
|
|
59703
59704
|
es
|
|
59704
|
-
]),
|
|
59705
|
+
]), ep = reactExports.useCallback(async ()=>{
|
|
59705
59706
|
let t = {
|
|
59706
59707
|
capturingVideo: {
|
|
59707
59708
|
blob: null
|
|
@@ -59716,18 +59717,18 @@
|
|
|
59716
59717
|
}, [
|
|
59717
59718
|
eo,
|
|
59718
59719
|
ea
|
|
59719
|
-
]), eh = reactExports.useMemo(()=>g ?
|
|
59720
|
+
]), eh = reactExports.useMemo(()=>g ? p.enableFlashlightFront : p.enableFlashlightBack, [
|
|
59720
59721
|
g,
|
|
59721
|
-
|
|
59722
|
-
|
|
59723
|
-
]), em = reactExports.useMemo(()=>g ?
|
|
59722
|
+
p.enableFlashlightBack,
|
|
59723
|
+
p.enableFlashlightFront
|
|
59724
|
+
]), em = reactExports.useMemo(()=>g ? p.flashlightActivationDelayFront : p.flashlightActivationDelayBack, [
|
|
59724
59725
|
g,
|
|
59725
|
-
|
|
59726
|
-
|
|
59727
|
-
]), eg = reactExports.useMemo(()=>g ?
|
|
59726
|
+
p.flashlightActivationDelayBack,
|
|
59727
|
+
p.flashlightActivationDelayFront
|
|
59728
|
+
]), eg = reactExports.useMemo(()=>g ? p.flashlightDurationFront : p.flashlightDurationBack, [
|
|
59728
59729
|
g,
|
|
59729
|
-
|
|
59730
|
-
|
|
59730
|
+
p.flashlightDurationBack,
|
|
59731
|
+
p.flashlightDurationFront
|
|
59731
59732
|
]), eb = reactExports.useCallback(()=>{
|
|
59732
59733
|
!ed.current && eh && (ed.current = !0, setTimeout(()=>{
|
|
59733
59734
|
ec(eg);
|
|
@@ -59744,9 +59745,9 @@
|
|
|
59744
59745
|
]), ew = reactExports.useCallback(()=>{
|
|
59745
59746
|
!0 === T.current && (T.current = !1);
|
|
59746
59747
|
}, []), ek = reactExports.useCallback(()=>{
|
|
59747
|
-
|
|
59748
|
+
ef(), X.current = [], H.current = [], R.current = null, z.current = !1, ee.current = !1;
|
|
59748
59749
|
}, [
|
|
59749
|
-
|
|
59750
|
+
ef
|
|
59750
59751
|
]), ey = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59751
59752
|
await er({
|
|
59752
59753
|
videoEl: l.current,
|
|
@@ -59759,7 +59760,7 @@
|
|
|
59759
59760
|
incomingFrameBlurScore: t,
|
|
59760
59761
|
currentFrameGlareScore: i.glareScore,
|
|
59761
59762
|
incomingFrameGlareScore: n,
|
|
59762
|
-
settings:
|
|
59763
|
+
settings: p,
|
|
59763
59764
|
blurLargeThreshold: s,
|
|
59764
59765
|
blurSmallThreshold: r
|
|
59765
59766
|
})) {
|
|
@@ -59777,25 +59778,25 @@
|
|
|
59777
59778
|
}
|
|
59778
59779
|
i.takenAt = new Date().getTime(), i.blurScore = t, i.glareScore = n, i.detectedCard = o, i.captureType = "auto";
|
|
59779
59780
|
}
|
|
59780
|
-
|
|
59781
|
+
p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n);
|
|
59781
59782
|
}, [
|
|
59782
59783
|
er,
|
|
59783
59784
|
l,
|
|
59784
59785
|
et,
|
|
59785
59786
|
eb,
|
|
59786
|
-
|
|
59787
|
+
p,
|
|
59787
59788
|
s,
|
|
59788
59789
|
r,
|
|
59789
59790
|
k
|
|
59790
59791
|
]), eC = reactExports.useCallback(async ({ blurScore: t, detectedCard: o, glareScore: n })=>{
|
|
59791
59792
|
F.current = !0;
|
|
59792
59793
|
let i = A.current;
|
|
59793
|
-
if (
|
|
59794
|
+
if (p.enableBlurCheck && X.current.push(t), p.enableGlareCheck && H.current.push(n), iV({
|
|
59794
59795
|
currentFrameBlurScore: i.blurScore,
|
|
59795
59796
|
currentFrameGlareScore: i.glareScore,
|
|
59796
59797
|
incomingFrameBlurScore: t,
|
|
59797
59798
|
incomingFrameGlareScore: n,
|
|
59798
|
-
settings:
|
|
59799
|
+
settings: p,
|
|
59799
59800
|
blurLargeThreshold: s,
|
|
59800
59801
|
blurSmallThreshold: r
|
|
59801
59802
|
})) {
|
|
@@ -59814,19 +59815,19 @@
|
|
|
59814
59815
|
s,
|
|
59815
59816
|
r,
|
|
59816
59817
|
k,
|
|
59817
|
-
|
|
59818
|
+
p
|
|
59818
59819
|
]), eB = reactExports.useCallback(async ()=>{
|
|
59819
|
-
let { autoCaptureWaitForBestImageTimeMs: t } =
|
|
59820
|
+
let { autoCaptureWaitForBestImageTimeMs: t } = p, r = M.current;
|
|
59820
59821
|
if (null !== r.imageBlob && new Date().getTime() - R.current > t) {
|
|
59821
|
-
let t = await
|
|
59822
|
+
let t = await ep();
|
|
59822
59823
|
await ev(), await b({
|
|
59823
59824
|
...r,
|
|
59824
59825
|
...t
|
|
59825
59826
|
}), J(!1), R.current = null;
|
|
59826
59827
|
}
|
|
59827
59828
|
}, [
|
|
59828
|
-
|
|
59829
|
-
|
|
59829
|
+
p,
|
|
59830
|
+
ep,
|
|
59830
59831
|
ev,
|
|
59831
59832
|
b
|
|
59832
59833
|
]), e_ = reactExports.useCallback(()=>{
|
|
@@ -59841,7 +59842,7 @@
|
|
|
59841
59842
|
resultAnalyzeVideoAndWindowSizes: D.current,
|
|
59842
59843
|
recordVideoSettings: et
|
|
59843
59844
|
}), eb(), new Promise((t)=>{
|
|
59844
|
-
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } =
|
|
59845
|
+
let { enableVirtualCamHashes: o, manualCaptureWaitForBestImageTimeMs: n } = p, i = A.current;
|
|
59845
59846
|
if (i.captureTime = Date.now(), N.current) J(!0), e_(), setTimeout(()=>{
|
|
59846
59847
|
ex().then(async ()=>{
|
|
59847
59848
|
await ev(), (i.blurScore?.small <= r || i.blurScore?.large <= s) && (i.error = a$.id_detector_error_blur);
|
|
@@ -59856,7 +59857,7 @@
|
|
|
59856
59857
|
quality: k
|
|
59857
59858
|
}).then(async (n)=>{
|
|
59858
59859
|
i.imageBlob = n, i.captureTime = Date.now(), i.hash = r, o && await eu(i.detectedCard);
|
|
59859
|
-
let a = await
|
|
59860
|
+
let a = await ep();
|
|
59860
59861
|
t({
|
|
59861
59862
|
...i,
|
|
59862
59863
|
...a
|
|
@@ -59864,7 +59865,7 @@
|
|
|
59864
59865
|
});
|
|
59865
59866
|
} else {
|
|
59866
59867
|
o && await eu(i.detectedCard);
|
|
59867
|
-
let r = await
|
|
59868
|
+
let r = await ep();
|
|
59868
59869
|
t({
|
|
59869
59870
|
...i,
|
|
59870
59871
|
...r
|
|
@@ -59891,10 +59892,10 @@
|
|
|
59891
59892
|
l,
|
|
59892
59893
|
et,
|
|
59893
59894
|
eb,
|
|
59894
|
-
|
|
59895
|
+
p,
|
|
59895
59896
|
e_,
|
|
59896
59897
|
ex,
|
|
59897
|
-
|
|
59898
|
+
ep,
|
|
59898
59899
|
ev,
|
|
59899
59900
|
r,
|
|
59900
59901
|
s,
|
|
@@ -59928,10 +59929,10 @@
|
|
|
59928
59929
|
portraitTopLeft: c,
|
|
59929
59930
|
portraitBottomRight: l
|
|
59930
59931
|
};
|
|
59931
|
-
}(t,
|
|
59932
|
+
}(t, p.blurFullFaceImageRatio, r), a = function(t, r) {
|
|
59932
59933
|
let { cv: o } = window;
|
|
59933
59934
|
if (!o) throw Error("Opencv not found!");
|
|
59934
|
-
let { topLeft: n, topRight: i, bottomRight: a, bottomLeft: s, maxWidth: c, maxHeight: l } = r, { portraitTopLeft: d, portraitBottomRight: u } = t,
|
|
59935
|
+
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, [
|
|
59935
59936
|
n.x,
|
|
59936
59937
|
n.y,
|
|
59937
59938
|
i.x,
|
|
@@ -59940,7 +59941,7 @@
|
|
|
59940
59941
|
a.y,
|
|
59941
59942
|
s.x,
|
|
59942
59943
|
s.y
|
|
59943
|
-
]),
|
|
59944
|
+
]), p = o.matFromArray(4, 1, o.CV_32FC2, [
|
|
59944
59945
|
0,
|
|
59945
59946
|
0,
|
|
59946
59947
|
c - 1,
|
|
@@ -59949,7 +59950,7 @@
|
|
|
59949
59950
|
l - 1,
|
|
59950
59951
|
0,
|
|
59951
59952
|
l - 1
|
|
59952
|
-
]), h = o.getPerspectiveTransform(
|
|
59953
|
+
]), h = o.getPerspectiveTransform(f, p), m = (t)=>{
|
|
59953
59954
|
let r = o.matFromArray(1, 1, o.CV_32FC2, [
|
|
59954
59955
|
t[0],
|
|
59955
59956
|
t[1]
|
|
@@ -59963,7 +59964,7 @@
|
|
|
59963
59964
|
Math.max(0, Math.min(i[1] * (ra$1.RESIZE_IMAGE_HEIGHT / l), l))
|
|
59964
59965
|
];
|
|
59965
59966
|
}, g = m(d), b = m(u);
|
|
59966
|
-
return
|
|
59967
|
+
return f.delete(), p.delete(), h.delete(), [
|
|
59967
59968
|
parseInt(g[0], 10),
|
|
59968
59969
|
parseInt(g[1], 10),
|
|
59969
59970
|
parseInt(b[0], 10),
|
|
@@ -60041,9 +60042,9 @@
|
|
|
60041
60042
|
};
|
|
60042
60043
|
}
|
|
60043
60044
|
}, [
|
|
60044
|
-
|
|
60045
|
+
p
|
|
60045
60046
|
]), e$ = reactExports.useCallback(async ({ result: t, workingCanvas: o })=>{
|
|
60046
|
-
let n, i, { cropX: a, cropY: c, cropWidth: d, cropHeight: u, cropWidthWithoutPadding:
|
|
60047
|
+
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 = {
|
|
60047
60048
|
error: null
|
|
60048
60049
|
};
|
|
60049
60050
|
try {
|
|
@@ -60060,12 +60061,12 @@
|
|
|
60060
60061
|
area: c.width * c.height
|
|
60061
60062
|
},
|
|
60062
60063
|
big: {
|
|
60063
|
-
area:
|
|
60064
|
+
area: f * h
|
|
60064
60065
|
}
|
|
60065
60066
|
});
|
|
60066
60067
|
if (l < .5) throw Error("id_detector_card_too_small");
|
|
60067
60068
|
if (l > .95) throw Error("id_detector_error_incomplete");
|
|
60068
|
-
if (k && nn(
|
|
60069
|
+
if (k && nn(p, "enableCardTypeCheck")) {
|
|
60069
60070
|
let r = nn(t, "card.label", ""), { isAllowed: o, cardType: n } = ((t, r)=>{
|
|
60070
60071
|
let o = t.split(".")?.[0];
|
|
60071
60072
|
if (o !== r[0].split(".")?.[0]) return {
|
|
@@ -60139,8 +60140,8 @@
|
|
|
60139
60140
|
smallThreshold: r,
|
|
60140
60141
|
largeThreshold: s
|
|
60141
60142
|
}), u = {
|
|
60142
|
-
small: iz(d?.[0],
|
|
60143
|
-
large: iz(d?.[1],
|
|
60143
|
+
small: iz(d?.[0], p.blurSmallDecimal),
|
|
60144
|
+
large: iz(d?.[1], p.blurLargeDecimal)
|
|
60144
60145
|
};
|
|
60145
60146
|
if (eT.current = {
|
|
60146
60147
|
...eT.current,
|
|
@@ -60156,10 +60157,10 @@
|
|
|
60156
60157
|
}
|
|
60157
60158
|
if (y) {
|
|
60158
60159
|
var I, O, M, A, R, L, F, N;
|
|
60159
|
-
let r, s,
|
|
60160
|
+
let r, s, f, p = nn(t, "card.label"), h = nn(t, "card.corners");
|
|
60160
60161
|
eT.current = {
|
|
60161
60162
|
...eT.current,
|
|
60162
|
-
label:
|
|
60163
|
+
label: p,
|
|
60163
60164
|
corner_size: h?.length
|
|
60164
60165
|
}, p_.drawDebugCanvas(eE.current, eT.current);
|
|
60165
60166
|
let m = i$ / o.width, g = eS.current.getContext("2d");
|
|
@@ -60171,7 +60172,7 @@
|
|
|
60171
60172
|
o.strokeRect(s, c, l - s, d - c);
|
|
60172
60173
|
}(O[0], "black", I, R), s = M.filter((t)=>"small" === t.lapType), s.length > 0 && s.forEach((t)=>{
|
|
60173
60174
|
iW(t.bboxes, "blue", I, R, r);
|
|
60174
|
-
}),
|
|
60175
|
+
}), f = M.filter((t)=>"large" === t.lapType), f.length > 0 && f.forEach((t)=>{
|
|
60175
60176
|
iW(t.bboxes, "green", I, R, r);
|
|
60176
60177
|
}), L = A.map((t)=>t.location), F = I, N = R, F && (F.strokeStyle = "red", F.lineWidth = 2, L.forEach((t)=>{
|
|
60177
60178
|
let r = t.x * N, o = t.y * N;
|
|
@@ -60180,7 +60181,7 @@
|
|
|
60180
60181
|
}
|
|
60181
60182
|
return T;
|
|
60182
60183
|
}, [
|
|
60183
|
-
|
|
60184
|
+
p,
|
|
60184
60185
|
y,
|
|
60185
60186
|
l,
|
|
60186
60187
|
Z,
|
|
@@ -60189,13 +60190,13 @@
|
|
|
60189
60190
|
s,
|
|
60190
60191
|
eD
|
|
60191
60192
|
]), ej = reactExports.useCallback(async ()=>{
|
|
60192
|
-
if (!
|
|
60193
|
+
if (!p || !I || T.current) return;
|
|
60193
60194
|
M.current = aj(), A.current = aI();
|
|
60194
|
-
let { enableVirtualCamHashes: t } =
|
|
60195
|
+
let { enableVirtualCamHashes: t } = p, { idCardModel: r, ableToUseModel: o } = V.current, n = D.current, i = l.current;
|
|
60195
60196
|
T.current = !0;
|
|
60196
60197
|
let { cropX: a, cropY: s, cropWidth: c, cropHeight: d } = n, u = C.current;
|
|
60197
60198
|
u.width = c, u.height = d;
|
|
60198
|
-
let
|
|
60199
|
+
let f = u.getContext("2d"), h = async ()=>{
|
|
60199
60200
|
if (!1 === T.current) return;
|
|
60200
60201
|
await ei({
|
|
60201
60202
|
videoEl: l.current,
|
|
@@ -60203,11 +60204,11 @@
|
|
|
60203
60204
|
recordVideoSettings: et
|
|
60204
60205
|
});
|
|
60205
60206
|
let n = K.current;
|
|
60206
|
-
|
|
60207
|
+
f.drawImage(i, a, s, c, d, 0, 0, c, d);
|
|
60207
60208
|
let g = performance.now();
|
|
60208
60209
|
if (z.current = !1, q && o) {
|
|
60209
60210
|
let o = await r.predict(u);
|
|
60210
|
-
!
|
|
60211
|
+
!p?.trackCardCoordinates || A.current.imageBlob || M.current.imageBlob || E.current.push(((t)=>{
|
|
60211
60212
|
let r = nn(t, "card.corners");
|
|
60212
60213
|
if (r && Array.isArray(r) && r.length > 0) {
|
|
60213
60214
|
let { x: t, y: o } = nn(r, "[0].location");
|
|
@@ -60236,7 +60237,7 @@
|
|
|
60236
60237
|
};
|
|
60237
60238
|
K.current = window.requestAnimationFrame(h);
|
|
60238
60239
|
}, [
|
|
60239
|
-
|
|
60240
|
+
p,
|
|
60240
60241
|
I,
|
|
60241
60242
|
l,
|
|
60242
60243
|
ei,
|
|
@@ -60289,7 +60290,7 @@
|
|
|
60289
60290
|
refBlurScores: X,
|
|
60290
60291
|
refGlareScores: H,
|
|
60291
60292
|
resetState: ek,
|
|
60292
|
-
resetRecordVideo:
|
|
60293
|
+
resetRecordVideo: ef
|
|
60293
60294
|
};
|
|
60294
60295
|
}({
|
|
60295
60296
|
isAutoCapture: q,
|
|
@@ -60307,17 +60308,17 @@
|
|
|
60307
60308
|
});
|
|
60308
60309
|
reactExports.useContext(aO);
|
|
60309
60310
|
let eh = reactExports.useCallback(()=>{
|
|
60310
|
-
|
|
60311
|
+
ep(), eo(), k();
|
|
60311
60312
|
}, [
|
|
60312
60313
|
eo,
|
|
60313
|
-
|
|
60314
|
+
ep,
|
|
60314
60315
|
k
|
|
60315
60316
|
]), { resumeTimer: em, pauseTimer: eg } = ((t)=>{
|
|
60316
|
-
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t,
|
|
60317
|
+
let { interruptible: r = !0, totalTime: i, maxRetriesSettings: s, onAboutToTimeout: c, onTimeout: l, shouldStart: d, onError: u } = t, f = reactExports.useRef(new pT({
|
|
60317
60318
|
totalTime: i,
|
|
60318
60319
|
interruptible: r
|
|
60319
60320
|
}));
|
|
60320
|
-
reactExports.useEffect(()=>
|
|
60321
|
+
reactExports.useEffect(()=>f.current.on("tick", ({ remainTime: t })=>{
|
|
60321
60322
|
t >= 0 && t <= i / 3 && "function" == typeof c && c({
|
|
60322
60323
|
curTimeLeft: t
|
|
60323
60324
|
});
|
|
@@ -60326,24 +60327,24 @@
|
|
|
60326
60327
|
c,
|
|
60327
60328
|
i,
|
|
60328
60329
|
r
|
|
60329
|
-
]), reactExports.useEffect(()=>
|
|
60330
|
-
r &&
|
|
60330
|
+
]), reactExports.useEffect(()=>f.current.on("reset", ({ attemptCount: t })=>{
|
|
60331
|
+
r && f.current.pause(), l(), s?.enable && t >= s?.total && u(ra$1.Errors.max_retry_reached);
|
|
60331
60332
|
}), [
|
|
60332
60333
|
l,
|
|
60333
60334
|
u,
|
|
60334
60335
|
s?.enable,
|
|
60335
60336
|
s?.total,
|
|
60336
60337
|
r
|
|
60337
|
-
]), reactExports.useEffect(()=>d ?
|
|
60338
|
+
]), reactExports.useEffect(()=>d ? f.current.start() : ()=>{}, [
|
|
60338
60339
|
d
|
|
60339
60340
|
]);
|
|
60340
|
-
let
|
|
60341
|
-
|
|
60341
|
+
let p = reactExports.useCallback(()=>{
|
|
60342
|
+
f.current.resume();
|
|
60342
60343
|
}, []);
|
|
60343
60344
|
return {
|
|
60344
|
-
resumeTimer:
|
|
60345
|
+
resumeTimer: p,
|
|
60345
60346
|
pauseTimer: reactExports.useCallback(()=>{
|
|
60346
|
-
|
|
60347
|
+
f.current.pause();
|
|
60347
60348
|
}, [])
|
|
60348
60349
|
};
|
|
60349
60350
|
})({
|
|
@@ -60357,24 +60358,24 @@
|
|
|
60357
60358
|
}), eb = reactExports.useCallback(()=>{
|
|
60358
60359
|
x.current = !1;
|
|
60359
60360
|
}, []), ev = reactExports.useCallback(async ()=>{
|
|
60360
|
-
eb(), em(),
|
|
60361
|
+
eb(), em(), ef(), E(!1), U(u ? "keep_front_id_fit_border" : "keep_back_id_fit_border"), await Promise.all([
|
|
60361
60362
|
en()
|
|
60362
60363
|
]);
|
|
60363
60364
|
}, [
|
|
60364
60365
|
eb,
|
|
60365
|
-
|
|
60366
|
+
ef,
|
|
60366
60367
|
U,
|
|
60367
60368
|
u,
|
|
60368
60369
|
en,
|
|
60369
60370
|
em
|
|
60370
60371
|
]), ew = reactExports.useCallback(async (t = {})=>{
|
|
60371
|
-
let r, { imageBlob: o, error: n, detectedCard: i, captureTime: a, captureCount: s, captureDuration: c, captureType: d, hash:
|
|
60372
|
+
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;
|
|
60372
60373
|
if (x.current) return;
|
|
60373
60374
|
x.current = !0, E(!0), eo(), eg(), Y(null);
|
|
60374
60375
|
let v = l?.enableVirtualCamHashes, w = l?.enableGlareCheck, k = l?.enableBlurCheck, B = {};
|
|
60375
|
-
if (v && null !==
|
|
60376
|
+
if (v && null !== f) {
|
|
60376
60377
|
let t = [
|
|
60377
|
-
|
|
60378
|
+
f,
|
|
60378
60379
|
...ec.current
|
|
60379
60380
|
];
|
|
60380
60381
|
t.length > 0 && (B = t.reduce((t, r, o)=>(t[`hash${o + 1}`] = r, t), {}));
|
|
@@ -60383,7 +60384,7 @@
|
|
|
60383
60384
|
h7.addExifData("user_action", {
|
|
60384
60385
|
start_id_card: F.current,
|
|
60385
60386
|
end_id_card: Date.now()
|
|
60386
|
-
}), 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",
|
|
60387
|
+
}), 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)));
|
|
60387
60388
|
let T = await h7.writeCurrentExif({
|
|
60388
60389
|
imageData: {
|
|
60389
60390
|
blob: o
|
|
@@ -60521,14 +60522,14 @@
|
|
|
60521
60522
|
};
|
|
60522
60523
|
})({
|
|
60523
60524
|
shouldStart: !0,
|
|
60524
|
-
refVideo:
|
|
60525
|
+
refVideo: p,
|
|
60525
60526
|
cropArea: eo,
|
|
60526
60527
|
settings: C,
|
|
60527
|
-
onModelErrorChange:
|
|
60528
|
+
onModelErrorChange: ef,
|
|
60528
60529
|
frontSide: k,
|
|
60529
60530
|
allowedCardTypes: y,
|
|
60530
60531
|
onDebugInfoChange: K,
|
|
60531
|
-
onSessionTimeout:
|
|
60532
|
+
onSessionTimeout: ep,
|
|
60532
60533
|
onCaptureDone: eh,
|
|
60533
60534
|
onAboutToTimeout: reactExports.useCallback(({ curTimeLeft: t })=>{
|
|
60534
60535
|
ee(Y("remaining_time", {
|
|
@@ -60557,9 +60558,9 @@
|
|
|
60557
60558
|
}), { showCaptureButtonInAuto: eS = !0, showHoldStillProgress: eE = !1, showAutoCaptureToggle: eT } = C ?? {};
|
|
60558
60559
|
reactExports.useEffect(()=>{
|
|
60559
60560
|
if (u) {
|
|
60560
|
-
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX:
|
|
60561
|
-
l ? i = .7 * (a = d - 165) : a = Math.floor(Math.min((i = nT.isMobile ? c - 40 : Math.floor(.4 * c)) / 1.5, h - 2 *
|
|
60562
|
-
x: Math.floor((c - i) / 2) +
|
|
60561
|
+
let t, r, o, n, i, a, s, { videoAreaWidth: c, videoAreaHeight: d, lostX: f, lostY: p, clientHeight: h } = u;
|
|
60562
|
+
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({
|
|
60563
|
+
x: Math.floor((c - i) / 2) + f,
|
|
60563
60564
|
y: s,
|
|
60564
60565
|
width: i,
|
|
60565
60566
|
height: a,
|
|
@@ -61029,8 +61030,8 @@
|
|
|
61029
61030
|
Object.keys(l || {}).forEach(function(t) {
|
|
61030
61031
|
l[t] = i[t] || l[t];
|
|
61031
61032
|
});
|
|
61032
|
-
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,
|
|
61033
|
-
return
|
|
61033
|
+
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);
|
|
61034
|
+
return p || "attemptBoth" !== l.inversionAttempts && "invertFirst" !== l.inversionAttempts || (p = c(s ? u : f)), p;
|
|
61034
61035
|
}
|
|
61035
61036
|
d.default = d, r.default = d;
|
|
61036
61037
|
},
|
|
@@ -61051,10 +61052,10 @@
|
|
|
61051
61052
|
r.binarize = function(t, r, o, a) {
|
|
61052
61053
|
if (t.length !== r * o * 4) throw Error("Malformed data passed to binarizer.");
|
|
61053
61054
|
for(var s = new i(r, o), c = 0; c < r; c++)for(var l = 0; l < o; l++){
|
|
61054
|
-
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1],
|
|
61055
|
-
s.set(c, l, .2126 * d + .7152 * u + .0722 *
|
|
61055
|
+
var d = t[(l * r + c) * 4 + 0], u = t[(l * r + c) * 4 + 1], f = t[(l * r + c) * 4 + 2];
|
|
61056
|
+
s.set(c, l, .2126 * d + .7152 * u + .0722 * f);
|
|
61056
61057
|
}
|
|
61057
|
-
for(var
|
|
61058
|
+
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++){
|
|
61058
61059
|
for(var v = 0, w = 1 / 0, k = 0, l = 0; l < 8; l++)for(var c = 0; c < 8; c++){
|
|
61059
61060
|
var y = s.get(8 * b + c, 8 * g + l);
|
|
61060
61061
|
v += y, w = Math.min(w, y), k = Math.max(k, y);
|
|
@@ -61068,8 +61069,8 @@
|
|
|
61068
61069
|
}
|
|
61069
61070
|
var _ = n.BitMatrix.createEmpty(r, o), x = null;
|
|
61070
61071
|
a && (x = n.BitMatrix.createEmpty(r, o));
|
|
61071
|
-
for(var g = 0; g < h; g++)for(var b = 0; b <
|
|
61072
|
-
for(var P, S, E, T, D = (P = b, S =
|
|
61072
|
+
for(var g = 0; g < h; g++)for(var b = 0; b < p; b++){
|
|
61073
|
+
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);
|
|
61073
61074
|
for(var O = v / 25, j = 0; j < 8; j++)for(var I = 0; I < 8; I++){
|
|
61074
61075
|
var c = 8 * b + j, l = 8 * g + I, M = s.get(c, l);
|
|
61075
61076
|
_.set(c, l, M <= O), a && x.set(c, l, !(M <= O));
|
|
@@ -61350,16 +61351,16 @@
|
|
|
61350
61351
|
for(var l = 0, d = 5; d >= 0; d--)for(var u = i - 9; u >= i - 11; u--){
|
|
61351
61352
|
r = t.get(u, d), l = l << 1 | r;
|
|
61352
61353
|
}
|
|
61353
|
-
for(var
|
|
61354
|
-
o = t.get(u, d),
|
|
61354
|
+
for(var f = 0, u = 5; u >= 0; u--)for(var d = i - 9; d >= i - 11; d--){
|
|
61355
|
+
o = t.get(u, d), f = f << 1 | o;
|
|
61355
61356
|
}
|
|
61356
|
-
for(var
|
|
61357
|
+
for(var p = 1 / 0, h = 0, m = s.VERSIONS; h < m.length; h++){
|
|
61357
61358
|
var g = m[h];
|
|
61358
|
-
if (g.infoBits === l || g.infoBits ===
|
|
61359
|
+
if (g.infoBits === l || g.infoBits === f) return g;
|
|
61359
61360
|
var b = c(l, g.infoBits);
|
|
61360
|
-
b <
|
|
61361
|
+
b < p && (n = g, p = b), (b = c(f, g.infoBits)) < p && (n = g, p = b);
|
|
61361
61362
|
}
|
|
61362
|
-
if (
|
|
61363
|
+
if (p <= 3) return n;
|
|
61363
61364
|
}(t);
|
|
61364
61365
|
if (!r) return null;
|
|
61365
61366
|
var o = function(t) {
|
|
@@ -61369,19 +61370,19 @@
|
|
|
61369
61370
|
for(var d = 7; d >= 0; d--){
|
|
61370
61371
|
6 !== d && (o = t.get(8, d), a = a << 1 | o);
|
|
61371
61372
|
}
|
|
61372
|
-
for(var u = t.height,
|
|
61373
|
-
n = t.get(8, d),
|
|
61373
|
+
for(var u = t.height, f = 0, d = u - 1; d >= u - 7; d--){
|
|
61374
|
+
n = t.get(8, d), f = f << 1 | n;
|
|
61374
61375
|
}
|
|
61375
61376
|
for(var s = u - 8; s < u; s++){
|
|
61376
|
-
i = t.get(s, 8),
|
|
61377
|
+
i = t.get(s, 8), f = f << 1 | i;
|
|
61377
61378
|
}
|
|
61378
|
-
for(var
|
|
61379
|
+
for(var p = 1 / 0, h = null, m = 0; m < l.length; m++){
|
|
61379
61380
|
var g = l[m], b = g.bits, v = g.formatInfo;
|
|
61380
|
-
if (b === a || b ===
|
|
61381
|
+
if (b === a || b === f) return v;
|
|
61381
61382
|
var w = c(a, b);
|
|
61382
|
-
w <
|
|
61383
|
+
w < p && (h = v, p = w), a !== f && (w = c(f, b)) < p && (h = v, p = w);
|
|
61383
61384
|
}
|
|
61384
|
-
return
|
|
61385
|
+
return p <= 3 ? h : null;
|
|
61385
61386
|
}(t);
|
|
61386
61387
|
if (!o) return null;
|
|
61387
61388
|
var u = function(t, r, o) {
|
|
@@ -61398,10 +61399,10 @@
|
|
|
61398
61399
|
d.codewords.push(t.shift());
|
|
61399
61400
|
}
|
|
61400
61401
|
if (n.ecBlocks.length > 1) {
|
|
61401
|
-
for(var u = n.ecBlocks[0].numBlocks,
|
|
61402
|
+
for(var u = n.ecBlocks[0].numBlocks, f = n.ecBlocks[1].numBlocks, c = 0; c < f; c++)i[u + c].codewords.push(t.shift());
|
|
61402
61403
|
}
|
|
61403
|
-
for(; t.length > 0;)for(var
|
|
61404
|
-
var d = i[
|
|
61404
|
+
for(; t.length > 0;)for(var p = 0; p < i.length; p++){
|
|
61405
|
+
var d = i[p];
|
|
61405
61406
|
d.codewords.push(t.shift());
|
|
61406
61407
|
}
|
|
61407
61408
|
return i;
|
|
@@ -61416,11 +61417,11 @@
|
|
|
61416
61417
|
}
|
|
61417
61418
|
}
|
|
61418
61419
|
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;
|
|
61419
|
-
}(r), c = [], l = 0, u = 0,
|
|
61420
|
-
6 ===
|
|
61420
|
+
}(r), c = [], l = 0, u = 0, f = !0, p = a - 1; p > 0; p -= 2){
|
|
61421
|
+
6 === p && p--;
|
|
61421
61422
|
for(var h = 0; h < a; h++){
|
|
61422
|
-
for(var m =
|
|
61423
|
-
var b =
|
|
61423
|
+
for(var m = f ? a - 1 - h : h, g = 0; g < 2; g++){
|
|
61424
|
+
var b = p - g;
|
|
61424
61425
|
if (!s.get(b, m)) {
|
|
61425
61426
|
u++;
|
|
61426
61427
|
var v = t.get(b, m);
|
|
@@ -61431,20 +61432,20 @@
|
|
|
61431
61432
|
}
|
|
61432
61433
|
}
|
|
61433
61434
|
}
|
|
61434
|
-
|
|
61435
|
+
f = !f;
|
|
61435
61436
|
}
|
|
61436
61437
|
return c;
|
|
61437
61438
|
}(t, r, o), r, o.errorCorrectionLevel);
|
|
61438
61439
|
if (!u) return null;
|
|
61439
|
-
for(var
|
|
61440
|
+
for(var f = new Uint8ClampedArray(u.reduce(function(t, r) {
|
|
61440
61441
|
return t + r.numDataCodewords;
|
|
61441
|
-
}, 0)),
|
|
61442
|
+
}, 0)), p = 0, h = 0; h < u.length; h++){
|
|
61442
61443
|
var m = u[h], g = a.decode(m.codewords, m.codewords.length - m.numDataCodewords);
|
|
61443
61444
|
if (!g) return null;
|
|
61444
|
-
for(var b = 0; b < m.numDataCodewords; b++)p
|
|
61445
|
+
for(var b = 0; b < m.numDataCodewords; b++)f[p++] = g[b];
|
|
61445
61446
|
}
|
|
61446
61447
|
try {
|
|
61447
|
-
return i.decode(
|
|
61448
|
+
return i.decode(f, r.versionNumber);
|
|
61448
61449
|
} catch (t) {
|
|
61449
61450
|
return null;
|
|
61450
61451
|
}
|
|
@@ -61511,23 +61512,23 @@
|
|
|
61511
61512
|
":"
|
|
61512
61513
|
];
|
|
61513
61514
|
r.decode = function(t, r) {
|
|
61514
|
-
for(var o, n, i, u,
|
|
61515
|
+
for(var o, n, i, u, f = new c.BitStream(t), p = r <= 9 ? 0 : r <= 26 ? 1 : 2, h = {
|
|
61515
61516
|
text: "",
|
|
61516
61517
|
bytes: [],
|
|
61517
61518
|
chunks: [],
|
|
61518
61519
|
version: r
|
|
61519
|
-
};
|
|
61520
|
-
var m =
|
|
61520
|
+
}; f.available() >= 4;){
|
|
61521
|
+
var m = f.readBits(4);
|
|
61521
61522
|
if (m === s.Terminator) return h;
|
|
61522
|
-
if (m === s.ECI) 0 ===
|
|
61523
|
+
if (m === s.ECI) 0 === f.readBits(1) ? h.chunks.push({
|
|
61523
61524
|
type: a.ECI,
|
|
61524
|
-
assignmentNumber:
|
|
61525
|
-
}) : 0 ===
|
|
61525
|
+
assignmentNumber: f.readBits(7)
|
|
61526
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61526
61527
|
type: a.ECI,
|
|
61527
|
-
assignmentNumber:
|
|
61528
|
-
}) : 0 ===
|
|
61528
|
+
assignmentNumber: f.readBits(14)
|
|
61529
|
+
}) : 0 === f.readBits(1) ? h.chunks.push({
|
|
61529
61530
|
type: a.ECI,
|
|
61530
|
-
assignmentNumber:
|
|
61531
|
+
assignmentNumber: f.readBits(21)
|
|
61531
61532
|
}) : h.chunks.push({
|
|
61532
61533
|
type: a.ECI,
|
|
61533
61534
|
assignmentNumber: -1
|
|
@@ -61558,7 +61559,7 @@
|
|
|
61558
61559
|
bytes: o,
|
|
61559
61560
|
text: n
|
|
61560
61561
|
};
|
|
61561
|
-
}(
|
|
61562
|
+
}(f, p);
|
|
61562
61563
|
h.text += g.text, (o = h.bytes).push.apply(o, g.bytes), h.chunks.push({
|
|
61563
61564
|
type: a.Numeric,
|
|
61564
61565
|
text: g.text
|
|
@@ -61581,7 +61582,7 @@
|
|
|
61581
61582
|
bytes: o,
|
|
61582
61583
|
text: n
|
|
61583
61584
|
};
|
|
61584
|
-
}(
|
|
61585
|
+
}(f, p);
|
|
61585
61586
|
h.text += b.text, (n = h.bytes).push.apply(n, b.bytes), h.chunks.push({
|
|
61586
61587
|
type: a.Alphanumeric,
|
|
61587
61588
|
text: b.text
|
|
@@ -61605,7 +61606,7 @@
|
|
|
61605
61606
|
bytes: o,
|
|
61606
61607
|
text: n
|
|
61607
61608
|
};
|
|
61608
|
-
}(
|
|
61609
|
+
}(f, p);
|
|
61609
61610
|
h.text += v.text, (i = h.bytes).push.apply(i, v.bytes), h.chunks.push({
|
|
61610
61611
|
type: a.Byte,
|
|
61611
61612
|
bytes: v.bytes,
|
|
@@ -61625,7 +61626,7 @@
|
|
|
61625
61626
|
bytes: o,
|
|
61626
61627
|
text: n
|
|
61627
61628
|
};
|
|
61628
|
-
}(
|
|
61629
|
+
}(f, p);
|
|
61629
61630
|
h.text += w.text, (u = h.bytes).push.apply(u, w.bytes), h.chunks.push({
|
|
61630
61631
|
type: a.Kanji,
|
|
61631
61632
|
bytes: w.bytes,
|
|
@@ -61633,7 +61634,7 @@
|
|
|
61633
61634
|
});
|
|
61634
61635
|
}
|
|
61635
61636
|
}
|
|
61636
|
-
if (0 ===
|
|
61637
|
+
if (0 === f.available() || 0 === f.readBits(f.available())) return h;
|
|
61637
61638
|
};
|
|
61638
61639
|
},
|
|
61639
61640
|
function(t, r, o) {
|
|
@@ -68719,7 +68720,7 @@
|
|
|
68719
68720
|
c[c.length - 1 - d] = u, 0 !== u && (l = !0);
|
|
68720
68721
|
}
|
|
68721
68722
|
if (!l) return o;
|
|
68722
|
-
var
|
|
68723
|
+
var f = new i.default(a, c), p = function(t, r, o, n) {
|
|
68723
68724
|
r.degree() < o.degree() && (r = (i = [
|
|
68724
68725
|
o,
|
|
68725
68726
|
r
|
|
@@ -68728,11 +68729,11 @@
|
|
|
68728
68729
|
var d = a, u = c;
|
|
68729
68730
|
if (a = s, c = l, a.isZero()) return null;
|
|
68730
68731
|
s = d;
|
|
68731
|
-
for(var
|
|
68732
|
+
for(var f = t.zero, p = a.getCoefficient(a.degree()), h = t.inverse(p); s.degree() >= a.degree() && !s.isZero();){
|
|
68732
68733
|
var m = s.degree() - a.degree(), g = t.multiply(s.getCoefficient(s.degree()), h);
|
|
68733
|
-
|
|
68734
|
+
f = f.addOrSubtract(t.buildMonomial(m, g)), s = s.addOrSubtract(a.multiplyByMonomial(m, g));
|
|
68734
68735
|
}
|
|
68735
|
-
if (l =
|
|
68736
|
+
if (l = f.multiplyPoly(c).addOrSubtract(u), s.degree() >= a.degree()) return null;
|
|
68736
68737
|
}
|
|
68737
68738
|
var b = l.getCoefficient(0);
|
|
68738
68739
|
if (0 === b) return null;
|
|
@@ -68741,8 +68742,8 @@
|
|
|
68741
68742
|
l.multiply(v),
|
|
68742
68743
|
s.multiply(v)
|
|
68743
68744
|
];
|
|
68744
|
-
}(a, a.buildMonomial(r, 1),
|
|
68745
|
-
if (null ===
|
|
68745
|
+
}(a, a.buildMonomial(r, 1), f, r);
|
|
68746
|
+
if (null === p) return null;
|
|
68746
68747
|
var h = function(t, r) {
|
|
68747
68748
|
var o = r.degree();
|
|
68748
68749
|
if (1 === o) return [
|
|
@@ -68750,7 +68751,7 @@
|
|
|
68750
68751
|
];
|
|
68751
68752
|
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++);
|
|
68752
68753
|
return i !== o ? null : n;
|
|
68753
|
-
}(a,
|
|
68754
|
+
}(a, p[0]);
|
|
68754
68755
|
if (null == h) return null;
|
|
68755
68756
|
for(var m = function(t, r, o) {
|
|
68756
68757
|
for(var i = o.length, a = Array(i), s = 0; s < i; s++){
|
|
@@ -68758,7 +68759,7 @@
|
|
|
68758
68759
|
a[s] = t.multiply(r.evaluateAt(c), t.inverse(l)), 0 !== t.generatorBase && (a[s] = t.multiply(a[s], c));
|
|
68759
68760
|
}
|
|
68760
68761
|
return a;
|
|
68761
|
-
}(a,
|
|
68762
|
+
}(a, p[1], h), g = 0; g < h.length; g++){
|
|
68762
68763
|
var b = o.length - 1 - a.log(h[g]);
|
|
68763
68764
|
if (b < 0) return null;
|
|
68764
68765
|
o[b] = n.addOrSubtractGF(o[b], m[g]);
|
|
@@ -71239,14 +71240,14 @@
|
|
|
71239
71240
|
a32: t.y,
|
|
71240
71241
|
a33: 1
|
|
71241
71242
|
};
|
|
71242
|
-
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,
|
|
71243
|
+
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;
|
|
71243
71244
|
return {
|
|
71244
|
-
a11: r.x - t.x +
|
|
71245
|
-
a12: r.y - t.y +
|
|
71246
|
-
a13:
|
|
71247
|
-
a21: n.x - t.x +
|
|
71248
|
-
a22: n.y - t.y +
|
|
71249
|
-
a23:
|
|
71245
|
+
a11: r.x - t.x + f * r.x,
|
|
71246
|
+
a12: r.y - t.y + f * r.y,
|
|
71247
|
+
a13: f,
|
|
71248
|
+
a21: n.x - t.x + p * n.x,
|
|
71249
|
+
a22: n.y - t.y + p * n.y,
|
|
71250
|
+
a23: p,
|
|
71250
71251
|
a31: t.x,
|
|
71251
71252
|
a32: t.y,
|
|
71252
71253
|
a33: 1
|
|
@@ -71275,7 +71276,7 @@
|
|
|
71275
71276
|
a31: c.a21 * c.a32 - c.a22 * c.a31,
|
|
71276
71277
|
a32: c.a12 * c.a31 - c.a11 * c.a32,
|
|
71277
71278
|
a33: c.a11 * c.a22 - c.a12 * c.a21
|
|
71278
|
-
}),
|
|
71279
|
+
}), f = (l = i(r.topLeft, r.topRight, r.alignmentPattern, r.bottomLeft), d = u, {
|
|
71279
71280
|
a11: l.a11 * d.a11 + l.a21 * d.a12 + l.a31 * d.a13,
|
|
71280
71281
|
a12: l.a12 * d.a11 + l.a22 * d.a12 + l.a32 * d.a13,
|
|
71281
71282
|
a13: l.a13 * d.a11 + l.a23 * d.a12 + l.a33 * d.a13,
|
|
@@ -71285,18 +71286,18 @@
|
|
|
71285
71286
|
a31: l.a11 * d.a31 + l.a21 * d.a32 + l.a31 * d.a33,
|
|
71286
71287
|
a32: l.a12 * d.a31 + l.a22 * d.a32 + l.a32 * d.a33,
|
|
71287
71288
|
a33: l.a13 * d.a31 + l.a23 * d.a32 + l.a33 * d.a33
|
|
71288
|
-
}),
|
|
71289
|
-
var o =
|
|
71289
|
+
}), p = n.BitMatrix.createEmpty(r.dimension, r.dimension), h = function(t, r) {
|
|
71290
|
+
var o = f.a13 * t + f.a23 * r + f.a33;
|
|
71290
71291
|
return {
|
|
71291
|
-
x: (
|
|
71292
|
-
y: (
|
|
71292
|
+
x: (f.a11 * t + f.a21 * r + f.a31) / o,
|
|
71293
|
+
y: (f.a12 * t + f.a22 * r + f.a32) / o
|
|
71293
71294
|
};
|
|
71294
71295
|
}, m = 0; m < r.dimension; m++)for(var g = 0; g < r.dimension; g++){
|
|
71295
71296
|
var b = h(g + .5, m + .5);
|
|
71296
|
-
|
|
71297
|
+
p.set(g, m, t.get(Math.floor(b.x), Math.floor(b.y)));
|
|
71297
71298
|
}
|
|
71298
71299
|
return {
|
|
71299
|
-
matrix:
|
|
71300
|
+
matrix: p,
|
|
71300
71301
|
mappingFunction: h
|
|
71301
71302
|
};
|
|
71302
71303
|
};
|
|
@@ -71321,15 +71322,15 @@
|
|
|
71321
71322
|
}
|
|
71322
71323
|
], u = Math.abs(r.y - t.y) > Math.abs(r.x - t.x);
|
|
71323
71324
|
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));
|
|
71324
|
-
for(var
|
|
71325
|
+
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){
|
|
71325
71326
|
var k = u ? w : v, y = u ? v : w;
|
|
71326
71327
|
if (o.get(k, y) !== b && (b = !b, d.push({
|
|
71327
71328
|
x: k,
|
|
71328
71329
|
y: y
|
|
71329
71330
|
}), d.length === i + 1)) break;
|
|
71330
|
-
if ((h +=
|
|
71331
|
+
if ((h += p) > 0) {
|
|
71331
71332
|
if (w === l) break;
|
|
71332
|
-
w += g, h -=
|
|
71333
|
+
w += g, h -= f;
|
|
71333
71334
|
}
|
|
71334
71335
|
}
|
|
71335
71336
|
for(var C = [], B = 0; B < i; B++)d[B] && d[B + 1] ? C.push(n(d[B], d[B + 1])) : C.push(0);
|
|
@@ -71365,7 +71366,7 @@
|
|
|
71365
71366
|
}, l = s(t, a, o, r.length), d = {
|
|
71366
71367
|
x: Math.min(o.width, t.x + t.y) + 1,
|
|
71367
71368
|
y: Math.min(o.height, t.y + t.x) + 1
|
|
71368
|
-
}, u = s(t, d, o, r.length),
|
|
71369
|
+
}, 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;
|
|
71369
71370
|
return g + v;
|
|
71370
71371
|
} catch (t) {
|
|
71371
71372
|
return 1 / 0;
|
|
@@ -71398,16 +71399,16 @@
|
|
|
71398
71399
|
dimension: l,
|
|
71399
71400
|
moduleSize: c
|
|
71400
71401
|
};
|
|
71401
|
-
}(a, o, c, t)).dimension,
|
|
71402
|
+
}(a, o, c, t)).dimension, f = d.moduleSize;
|
|
71402
71403
|
} catch (t) {
|
|
71403
71404
|
return null;
|
|
71404
71405
|
}
|
|
71405
|
-
var d, u,
|
|
71406
|
+
var d, u, f, p = {
|
|
71406
71407
|
x: o.x - a.x + c.x,
|
|
71407
71408
|
y: o.y - a.y + c.y
|
|
71408
|
-
}, h = (n(a, c) + n(a, o)) / 2 /
|
|
71409
|
-
x: a.x + m * (
|
|
71410
|
-
y: a.y + m * (
|
|
71409
|
+
}, h = (n(a, c) + n(a, o)) / 2 / f, m = 1 - 3 / h, g = {
|
|
71410
|
+
x: a.x + m * (p.x - a.x),
|
|
71411
|
+
y: a.y + m * (p.y - a.y)
|
|
71411
71412
|
}, b = r.map(function(r) {
|
|
71412
71413
|
var o = (r.top.startX + r.top.endX + r.bottom.startX + r.bottom.endX) / 4, a = (r.top.y + r.bottom.y + 1) / 2;
|
|
71413
71414
|
if (t.get(Math.floor(o), Math.floor(a))) {
|
|
@@ -71445,7 +71446,7 @@
|
|
|
71445
71446
|
};
|
|
71446
71447
|
}
|
|
71447
71448
|
r.locate = function(t) {
|
|
71448
|
-
for(var r, o, a, s, c,
|
|
71449
|
+
for(var r, o, a, s, c, f, p, h, m, g, b, v, w, k = [], y = [], C = [], B = [], _ = function(r) {
|
|
71449
71450
|
for(var o = 0, n = !1, a = [
|
|
71450
71451
|
0,
|
|
71451
71452
|
0,
|
|
@@ -71463,21 +71464,21 @@
|
|
|
71463
71464
|
a[4],
|
|
71464
71465
|
o
|
|
71465
71466
|
], o = 1, n = c;
|
|
71466
|
-
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,
|
|
71467
|
+
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;
|
|
71467
71468
|
if (d) {
|
|
71468
|
-
var
|
|
71469
|
+
var p = s - a[3] - a[4], h = p - a[2], m = {
|
|
71469
71470
|
startX: h,
|
|
71470
|
-
endX:
|
|
71471
|
+
endX: p,
|
|
71471
71472
|
y: r
|
|
71472
71473
|
}, g = y.filter(function(t) {
|
|
71473
|
-
return h >= t.bottom.startX && h <= t.bottom.endX ||
|
|
71474
|
+
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;
|
|
71474
71475
|
});
|
|
71475
71476
|
g.length > 0 ? g[0].bottom = m : y.push({
|
|
71476
71477
|
top: m,
|
|
71477
71478
|
bottom: m
|
|
71478
71479
|
});
|
|
71479
71480
|
}
|
|
71480
|
-
if (
|
|
71481
|
+
if (f) {
|
|
71481
71482
|
var b = s - a[4], v = b - a[3], m = {
|
|
71482
71483
|
startX: v,
|
|
71483
71484
|
y: r,
|
|
@@ -71571,14 +71572,14 @@
|
|
|
71571
71572
|
r,
|
|
71572
71573
|
o,
|
|
71573
71574
|
a
|
|
71574
|
-
])[0], m = c[1], g = c[2]) : (h = (
|
|
71575
|
+
])[0], m = c[1], g = c[2]) : (h = (f = [
|
|
71575
71576
|
r,
|
|
71576
71577
|
a,
|
|
71577
71578
|
o
|
|
71578
|
-
])[0], m =
|
|
71579
|
+
])[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 = [
|
|
71579
71580
|
g,
|
|
71580
71581
|
h
|
|
71581
|
-
])[0], g =
|
|
71582
|
+
])[0], g = p[1]), {
|
|
71582
71583
|
bottomLeft: h,
|
|
71583
71584
|
topLeft: m,
|
|
71584
71585
|
topRight: g
|
|
@@ -71745,6 +71746,15 @@
|
|
|
71745
71746
|
text-align: center;
|
|
71746
71747
|
font-size: 20px;
|
|
71747
71748
|
font-weight: 600;
|
|
71749
|
+
`; dt$1.div`
|
|
71750
|
+
width: 100%;
|
|
71751
|
+
height: 100%;
|
|
71752
|
+
opacity: ${({ $showChildren: t })=>+!!t};
|
|
71753
|
+
`;
|
|
71754
|
+
dt$1.div`
|
|
71755
|
+
text-align: center;
|
|
71756
|
+
font-size: 20px;
|
|
71757
|
+
font-weight: 600;
|
|
71748
71758
|
`; dt$1.div`
|
|
71749
71759
|
width: 100%;
|
|
71750
71760
|
height: 100%;
|
|
@@ -71752,7 +71762,7 @@
|
|
|
71752
71762
|
`;
|
|
71753
71763
|
({
|
|
71754
71764
|
onOrientationChange: PropTypes.func,
|
|
71755
|
-
|
|
71765
|
+
unmountOnHidden: PropTypes.bool
|
|
71756
71766
|
});
|
|
71757
71767
|
({
|
|
71758
71768
|
allowedCardTypes: PropTypes.arrayOf(PropTypes.string),
|
|
@@ -71770,16 +71780,16 @@
|
|
|
71770
71780
|
scannerTypeCons: PropTypes.shape({}).isRequired,
|
|
71771
71781
|
customTexts: PropTypes.shape({})
|
|
71772
71782
|
});
|
|
71773
|
-
let { IDCardSide:
|
|
71774
|
-
iI.ID_CARD, ra$1.IDCardSide.FRONT,
|
|
71775
|
-
let
|
|
71783
|
+
let { IDCardSide: sU, IDCardType: sq, Errors: sQ } = ra$1;
|
|
71784
|
+
iI.ID_CARD, ra$1.IDCardSide.FRONT, sq.VN, iI.ID_CARD, ra$1.IDCardSide.BACK, sq.VN, iI.QR_CODE;
|
|
71785
|
+
let sX = [
|
|
71776
71786
|
{
|
|
71777
71787
|
scannerType: iI.ID_CARD,
|
|
71778
71788
|
title: "Chụp mặt trước",
|
|
71779
71789
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71780
71790
|
titleIcon: "id_card_front.svg",
|
|
71781
71791
|
cardSide: ra$1.IDCardSide.FRONT,
|
|
71782
|
-
cardType:
|
|
71792
|
+
cardType: sq.VN,
|
|
71783
71793
|
enableConfirmPopup: !1
|
|
71784
71794
|
},
|
|
71785
71795
|
{
|
|
@@ -71788,25 +71798,25 @@
|
|
|
71788
71798
|
description: "Căn chỉnh giấy tờ khớp với khung h\xecnh",
|
|
71789
71799
|
titleIcon: "id_card_back.svg",
|
|
71790
71800
|
cardSide: ra$1.IDCardSide.BACK,
|
|
71791
|
-
cardType:
|
|
71801
|
+
cardType: sq.VN,
|
|
71792
71802
|
enableConfirmPopup: !1
|
|
71793
71803
|
}
|
|
71794
71804
|
];
|
|
71795
|
-
function
|
|
71796
|
-
if (rh) return
|
|
71805
|
+
function sH() {
|
|
71806
|
+
if (rh) return rp;
|
|
71797
71807
|
rh = 1;
|
|
71798
71808
|
var t = o9();
|
|
71799
|
-
return
|
|
71809
|
+
return rp = function() {
|
|
71800
71810
|
try {
|
|
71801
71811
|
var r = t(Object, "defineProperty");
|
|
71802
71812
|
return r({}, "", {}), r;
|
|
71803
71813
|
} catch (t) {}
|
|
71804
71814
|
}();
|
|
71805
71815
|
}
|
|
71806
|
-
function
|
|
71816
|
+
function sG() {
|
|
71807
71817
|
if (rg) return rm;
|
|
71808
71818
|
rg = 1;
|
|
71809
|
-
var t =
|
|
71819
|
+
var t = sH();
|
|
71810
71820
|
return rm = function(r, o, n) {
|
|
71811
71821
|
"__proto__" == o && t ? t(r, o, {
|
|
71812
71822
|
configurable: !0,
|
|
@@ -71816,26 +71826,26 @@
|
|
|
71816
71826
|
}) : r[o] = n;
|
|
71817
71827
|
};
|
|
71818
71828
|
}
|
|
71819
|
-
function
|
|
71829
|
+
function sZ() {
|
|
71820
71830
|
if (rv) return rb;
|
|
71821
71831
|
rv = 1;
|
|
71822
|
-
var t =
|
|
71832
|
+
var t = sG(), r = o7();
|
|
71823
71833
|
return rb = function(o, n, i) {
|
|
71824
71834
|
(void 0 === i || r(o[n], i)) && (void 0 !== i || n in o) || t(o, n, i);
|
|
71825
71835
|
};
|
|
71826
71836
|
}
|
|
71827
|
-
var
|
|
71837
|
+
var sK = {
|
|
71828
71838
|
exports: {}
|
|
71829
71839
|
};
|
|
71830
|
-
|
|
71831
|
-
function
|
|
71840
|
+
sK.exports;
|
|
71841
|
+
function sY() {
|
|
71832
71842
|
return rR ? rA : (rR = 1, rA = (rM ? rO : (rM = 1, rO = function(t, r) {
|
|
71833
71843
|
return function(o) {
|
|
71834
71844
|
return t(r(o));
|
|
71835
71845
|
};
|
|
71836
71846
|
}))(Object.getPrototypeOf, Object));
|
|
71837
71847
|
}
|
|
71838
|
-
function
|
|
71848
|
+
function sJ() {
|
|
71839
71849
|
if (rF) return rL;
|
|
71840
71850
|
rF = 1;
|
|
71841
71851
|
var t = Object.prototype;
|
|
@@ -71844,7 +71854,7 @@
|
|
|
71844
71854
|
return r === ("function" == typeof o && o.prototype || t);
|
|
71845
71855
|
};
|
|
71846
71856
|
}
|
|
71847
|
-
function
|
|
71857
|
+
function s3() {
|
|
71848
71858
|
if (rq) return rU;
|
|
71849
71859
|
rq = 1;
|
|
71850
71860
|
var t = function() {
|
|
@@ -71861,41 +71871,41 @@
|
|
|
71861
71871
|
return r(t) && n.call(t, "callee") && !i.call(t, "callee");
|
|
71862
71872
|
};
|
|
71863
71873
|
}
|
|
71864
|
-
function
|
|
71874
|
+
function s2() {
|
|
71865
71875
|
return rX ? rQ : (rX = 1, rQ = function(t) {
|
|
71866
71876
|
return "number" == typeof t && t > -1 && t % 1 == 0 && t <= 0x1fffffffffffff;
|
|
71867
71877
|
});
|
|
71868
71878
|
}
|
|
71869
|
-
function
|
|
71879
|
+
function s5() {
|
|
71870
71880
|
if (rG) return rH;
|
|
71871
71881
|
rG = 1;
|
|
71872
|
-
var t = o8(), r =
|
|
71882
|
+
var t = o8(), r = s2();
|
|
71873
71883
|
return rH = function(o) {
|
|
71874
71884
|
return null != o && r(o.length) && !t(o);
|
|
71875
71885
|
};
|
|
71876
71886
|
}
|
|
71877
|
-
var
|
|
71887
|
+
var s0 = {
|
|
71878
71888
|
exports: {}
|
|
71879
71889
|
};
|
|
71880
|
-
function
|
|
71890
|
+
function s1() {
|
|
71881
71891
|
var t, r, o, n, i, a, s, c;
|
|
71882
|
-
if (r3) return
|
|
71883
|
-
return r3 = 1, t =
|
|
71892
|
+
if (r3) return s0.exports;
|
|
71893
|
+
return r3 = 1, t = s0, r = s0.exports, o = oJ(), n = rJ ? rY : (rJ = 1, rY = function() {
|
|
71884
71894
|
return !1;
|
|
71885
|
-
}), 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,
|
|
71895
|
+
}), 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;
|
|
71886
71896
|
}
|
|
71887
|
-
|
|
71888
|
-
var
|
|
71897
|
+
s0.exports;
|
|
71898
|
+
var s8 = {
|
|
71889
71899
|
exports: {}
|
|
71890
71900
|
};
|
|
71891
|
-
|
|
71892
|
-
function
|
|
71901
|
+
s8.exports;
|
|
71902
|
+
function s9() {
|
|
71893
71903
|
if (r6) return r7;
|
|
71894
71904
|
r6 = 1;
|
|
71895
71905
|
var t = function() {
|
|
71896
71906
|
if (r1) return r0;
|
|
71897
71907
|
r1 = 1;
|
|
71898
|
-
var t = o2(), r =
|
|
71908
|
+
var t = o2(), r = s2(), o = o5(), n = {};
|
|
71899
71909
|
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) {
|
|
71900
71910
|
return o(i) && r(i.length) && !!n[t(i)];
|
|
71901
71911
|
};
|
|
@@ -71905,25 +71915,25 @@
|
|
|
71905
71915
|
};
|
|
71906
71916
|
}), o = function() {
|
|
71907
71917
|
var t, r, o, n, i, a;
|
|
71908
|
-
if (r4) return
|
|
71909
|
-
return r4 = 1, t =
|
|
71918
|
+
if (r4) return s8.exports;
|
|
71919
|
+
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() {
|
|
71910
71920
|
try {
|
|
71911
71921
|
var t = i && i.require && i.require("util").types;
|
|
71912
71922
|
if (t) return t;
|
|
71913
71923
|
return a && a.binding && a.binding("util");
|
|
71914
71924
|
} catch (t) {}
|
|
71915
|
-
}(),
|
|
71925
|
+
}(), s8.exports;
|
|
71916
71926
|
}(), n = o && o.isTypedArray;
|
|
71917
71927
|
return r7 = n ? r(n) : t;
|
|
71918
71928
|
}
|
|
71919
|
-
function
|
|
71929
|
+
function s4() {
|
|
71920
71930
|
return ot ? oe : (ot = 1, oe = function(t, r) {
|
|
71921
71931
|
if ("constructor" !== r || "function" != typeof t[r]) {
|
|
71922
71932
|
if ("__proto__" != r) return t[r];
|
|
71923
71933
|
}
|
|
71924
71934
|
});
|
|
71925
71935
|
}
|
|
71926
|
-
function
|
|
71936
|
+
function s7() {
|
|
71927
71937
|
if (ol) return oc;
|
|
71928
71938
|
ol = 1;
|
|
71929
71939
|
var t = /^(?:0|[1-9]\d*)$/;
|
|
@@ -71932,7 +71942,7 @@
|
|
|
71932
71942
|
return !!(o = null == o ? 0x1fffffffffffff : o) && ("number" == n || "symbol" != n && t.test(r)) && r > -1 && r % 1 == 0 && r < o;
|
|
71933
71943
|
};
|
|
71934
71944
|
}
|
|
71935
|
-
function
|
|
71945
|
+
function s6() {
|
|
71936
71946
|
if (ob) return og;
|
|
71937
71947
|
ob = 1;
|
|
71938
71948
|
var t = function() {
|
|
@@ -71941,16 +71951,16 @@
|
|
|
71941
71951
|
var t = os ? oa : (os = 1, oa = function(t, r) {
|
|
71942
71952
|
for(var o = -1, n = Array(t); ++o < t;)n[o] = r(o);
|
|
71943
71953
|
return n;
|
|
71944
|
-
}), r =
|
|
71954
|
+
}), r = s3(), o = oK(), n = s1(), i = s7(), a = s9(), s = Object.prototype.hasOwnProperty;
|
|
71945
71955
|
return od = function(c, l) {
|
|
71946
|
-
var d = o(c), u = !d && r(c),
|
|
71947
|
-
for(var b in c)(l || s.call(c, b)) && !(h && ("length" == b ||
|
|
71956
|
+
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;
|
|
71957
|
+
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);
|
|
71948
71958
|
return m;
|
|
71949
71959
|
};
|
|
71950
71960
|
}(), r = function() {
|
|
71951
71961
|
if (om) return oh;
|
|
71952
71962
|
om = 1;
|
|
71953
|
-
var t = o1(), r =
|
|
71963
|
+
var t = o1(), r = sJ(), o = op ? of : (op = 1, of = function(t) {
|
|
71954
71964
|
var r = [];
|
|
71955
71965
|
if (null != t) for(var o in Object(t))r.push(o);
|
|
71956
71966
|
return r;
|
|
@@ -71961,12 +71971,12 @@
|
|
|
71961
71971
|
for(var c in i)"constructor" == c && (a || !n.call(i, c)) || s.push(c);
|
|
71962
71972
|
return s;
|
|
71963
71973
|
};
|
|
71964
|
-
}(), o =
|
|
71974
|
+
}(), o = s5();
|
|
71965
71975
|
return og = function(n) {
|
|
71966
71976
|
return o(n) ? t(n, !0) : r(n);
|
|
71967
71977
|
};
|
|
71968
71978
|
}
|
|
71969
|
-
function
|
|
71979
|
+
function ce() {
|
|
71970
71980
|
return ox ? o_ : (ox = 1, o_ = function(t) {
|
|
71971
71981
|
return t;
|
|
71972
71982
|
});
|
|
@@ -71978,8 +71988,8 @@
|
|
|
71978
71988
|
if (oB) return oC;
|
|
71979
71989
|
oB = 1;
|
|
71980
71990
|
var t = function() {
|
|
71981
|
-
if (
|
|
71982
|
-
|
|
71991
|
+
if (rf) return ru;
|
|
71992
|
+
rf = 1;
|
|
71983
71993
|
var t = ne(), r = function() {
|
|
71984
71994
|
if (rr) return rt;
|
|
71985
71995
|
rr = 1;
|
|
@@ -72016,7 +72026,7 @@
|
|
|
72016
72026
|
this.size = o.size;
|
|
72017
72027
|
}
|
|
72018
72028
|
return s.prototype.clear = r, s.prototype.delete = o, s.prototype.get = n, s.prototype.has = i, s.prototype.set = a, ru = s;
|
|
72019
|
-
}(), r =
|
|
72029
|
+
}(), r = sZ(), o = rC ? ry : (rC = 1, ry = (rk ? rw : (rk = 1, rw = function(t) {
|
|
72020
72030
|
return function(r, o, n) {
|
|
72021
72031
|
for(var i = -1, a = Object(r), s = n(r), c = s.length; c--;){
|
|
72022
72032
|
var l = s[t ? c : ++i];
|
|
@@ -72027,14 +72037,14 @@
|
|
|
72027
72037
|
}))()), n = function() {
|
|
72028
72038
|
if (oy) return ok;
|
|
72029
72039
|
oy = 1;
|
|
72030
|
-
var t =
|
|
72040
|
+
var t = sZ(), r = function() {
|
|
72031
72041
|
var t, r, o, n, i, a, s;
|
|
72032
|
-
if (rB) return
|
|
72033
|
-
return rB = 1, t =
|
|
72042
|
+
if (rB) return sK.exports;
|
|
72043
|
+
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) {
|
|
72034
72044
|
if (r) return t.slice();
|
|
72035
72045
|
var o = t.length, n = s ? s(o) : new t.constructor(o);
|
|
72036
72046
|
return t.copy(n), n;
|
|
72037
|
-
},
|
|
72047
|
+
}, sK.exports;
|
|
72038
72048
|
}(), o = function() {
|
|
72039
72049
|
if (rT) return rE;
|
|
72040
72050
|
rT = 1;
|
|
@@ -72072,21 +72082,21 @@
|
|
|
72072
72082
|
return o.prototype = void 0, i;
|
|
72073
72083
|
};
|
|
72074
72084
|
}();
|
|
72075
|
-
}(), r =
|
|
72085
|
+
}(), r = sY(), o = sJ();
|
|
72076
72086
|
return rN = function(n) {
|
|
72077
72087
|
return "function" != typeof n.constructor || o(n) ? {} : t(r(n));
|
|
72078
72088
|
};
|
|
72079
|
-
}(), a =
|
|
72089
|
+
}(), a = s3(), s = oK(), c = function() {
|
|
72080
72090
|
if (rK) return rZ;
|
|
72081
72091
|
rK = 1;
|
|
72082
|
-
var t =
|
|
72092
|
+
var t = s5(), r = o5();
|
|
72083
72093
|
return rZ = function(o) {
|
|
72084
72094
|
return r(o) && t(o);
|
|
72085
72095
|
};
|
|
72086
|
-
}(), l =
|
|
72096
|
+
}(), l = s1(), d = o8(), u = o1(), f = function() {
|
|
72087
72097
|
if (r5) return r2;
|
|
72088
72098
|
r5 = 1;
|
|
72089
|
-
var t = o2(), r =
|
|
72099
|
+
var t = o2(), r = sY(), o = o5(), n = Object.prototype, i = Function.prototype.toString, a = n.hasOwnProperty, s = i.call(Object);
|
|
72090
72100
|
return r2 = function(n) {
|
|
72091
72101
|
if (!o(n) || "[object Object]" != t(n)) return !1;
|
|
72092
72102
|
var c = r(n);
|
|
@@ -72094,7 +72104,7 @@
|
|
|
72094
72104
|
var l = a.call(c, "constructor") && c.constructor;
|
|
72095
72105
|
return "function" == typeof l && l instanceof l && i.call(l) == s;
|
|
72096
72106
|
};
|
|
72097
|
-
}(),
|
|
72107
|
+
}(), p = s9(), h = s4(), m = function() {
|
|
72098
72108
|
if (ow) return ov;
|
|
72099
72109
|
ow = 1;
|
|
72100
72110
|
var t = function() {
|
|
@@ -72103,12 +72113,12 @@
|
|
|
72103
72113
|
var t = function() {
|
|
72104
72114
|
if (oo) return or;
|
|
72105
72115
|
oo = 1;
|
|
72106
|
-
var t =
|
|
72116
|
+
var t = sG(), r = o7(), o = Object.prototype.hasOwnProperty;
|
|
72107
72117
|
return or = function(n, i, a) {
|
|
72108
72118
|
var s = n[i];
|
|
72109
72119
|
o.call(n, i) && r(s, a) && (void 0 !== a || i in n) || t(n, i, a);
|
|
72110
72120
|
};
|
|
72111
|
-
}(), r =
|
|
72121
|
+
}(), r = sG();
|
|
72112
72122
|
return on = function(o, n, i, a) {
|
|
72113
72123
|
var s = !i;
|
|
72114
72124
|
i || (i = {});
|
|
@@ -72118,7 +72128,7 @@
|
|
|
72118
72128
|
}
|
|
72119
72129
|
return i;
|
|
72120
72130
|
};
|
|
72121
|
-
}(), r =
|
|
72131
|
+
}(), r = s6();
|
|
72122
72132
|
return ov = function(o) {
|
|
72123
72133
|
return t(o, r(o));
|
|
72124
72134
|
};
|
|
@@ -72128,17 +72138,17 @@
|
|
|
72128
72138
|
if (x) return void t(g, v, x);
|
|
72129
72139
|
var P = y ? y(B, _, v + "", g, b, C) : void 0, S = void 0 === P;
|
|
72130
72140
|
if (S) {
|
|
72131
|
-
var E = s(_), T = !E && l(_), D = !E && !T &&
|
|
72132
|
-
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 = [] :
|
|
72141
|
+
var E = s(_), T = !E && l(_), D = !E && !T && p(_);
|
|
72142
|
+
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;
|
|
72133
72143
|
}
|
|
72134
72144
|
S && (C.set(_, P), k(P, _, w, y, C), C.delete(_)), t(g, v, P);
|
|
72135
72145
|
};
|
|
72136
|
-
}(), i = o1(), a =
|
|
72137
|
-
return oC = function c(l, d, u,
|
|
72146
|
+
}(), i = o1(), a = s6(), s = s4();
|
|
72147
|
+
return oC = function c(l, d, u, f, p) {
|
|
72138
72148
|
l !== d && o(d, function(o, a) {
|
|
72139
|
-
if (
|
|
72149
|
+
if (p || (p = new t), i(o)) n(l, d, a, u, c, f, p);
|
|
72140
72150
|
else {
|
|
72141
|
-
var h =
|
|
72151
|
+
var h = f ? f(s(l, a), o, a + "", l, d, p) : void 0;
|
|
72142
72152
|
void 0 === h && (h = o), r(l, a, h);
|
|
72143
72153
|
}
|
|
72144
72154
|
}, a);
|
|
@@ -72150,7 +72160,7 @@
|
|
|
72150
72160
|
var t = function() {
|
|
72151
72161
|
if (oF) return oL;
|
|
72152
72162
|
oF = 1;
|
|
72153
|
-
var t =
|
|
72163
|
+
var t = ce(), r = function() {
|
|
72154
72164
|
if (oT) return oE;
|
|
72155
72165
|
oT = 1;
|
|
72156
72166
|
var t = oS ? oP : (oS = 1, oP = function(t, r, o) {
|
|
@@ -72184,7 +72194,7 @@
|
|
|
72184
72194
|
return function() {
|
|
72185
72195
|
return t;
|
|
72186
72196
|
};
|
|
72187
|
-
}), r =
|
|
72197
|
+
}), r = sH(), o = ce();
|
|
72188
72198
|
return oj = r ? function(o, n) {
|
|
72189
72199
|
return r(o, "toString", {
|
|
72190
72200
|
configurable: !0,
|
|
@@ -72216,7 +72226,7 @@
|
|
|
72216
72226
|
}(), r = function() {
|
|
72217
72227
|
if (oz) return oN;
|
|
72218
72228
|
oz = 1;
|
|
72219
|
-
var t = o7(), r =
|
|
72229
|
+
var t = o7(), r = s5(), o = s7(), n = o1();
|
|
72220
72230
|
return oN = function(i, a, s) {
|
|
72221
72231
|
if (!n(s)) return !1;
|
|
72222
72232
|
var c = typeof a;
|
|
@@ -72237,7 +72247,7 @@
|
|
|
72237
72247
|
t(r, o, n);
|
|
72238
72248
|
});
|
|
72239
72249
|
}();
|
|
72240
|
-
let
|
|
72250
|
+
let ct = {
|
|
72241
72251
|
data: {
|
|
72242
72252
|
country: "vn",
|
|
72243
72253
|
settings: {
|
|
@@ -72388,12 +72398,12 @@
|
|
|
72388
72398
|
}
|
|
72389
72399
|
}
|
|
72390
72400
|
};
|
|
72391
|
-
let { DesignToken:
|
|
72392
|
-
|
|
72393
|
-
let { DesignToken:
|
|
72394
|
-
ra$1.DesignToken.Typography.h5, ra$1.DesignToken.Color.content.primary,
|
|
72395
|
-
let { DesignToken:
|
|
72396
|
-
|
|
72401
|
+
let { DesignToken: cr } = ra$1;
|
|
72402
|
+
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"];
|
|
72403
|
+
let { DesignToken: co } = ra$1;
|
|
72404
|
+
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;
|
|
72405
|
+
let { DesignToken: cn } = ra$1;
|
|
72406
|
+
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({
|
|
72397
72407
|
scannerType: PropTypes.string
|
|
72398
72408
|
})), PropTypes.func, PropTypes.shape({}), PropTypes.string, PropTypes.bool, PropTypes.arrayOf(PropTypes.string), PropTypes.shape({});
|
|
72399
72409
|
|
|
@@ -76610,8 +76620,7 @@
|
|
|
76610
76620
|
if (refVideoPlayed.current) return ()=>{};
|
|
76611
76621
|
if (!navigator.mediaDevices || libExports.browserName && [
|
|
76612
76622
|
'facebook'
|
|
76613
|
-
].includes(libExports.browserName.toLowerCase())
|
|
76614
|
-
) {
|
|
76623
|
+
].includes(libExports.browserName.toLowerCase())) {
|
|
76615
76624
|
setErrorMsg(t('not_supported'));
|
|
76616
76625
|
onError(Errors$9.not_supported);
|
|
76617
76626
|
} else if (videoEl) {
|
|
@@ -86884,7 +86893,7 @@
|
|
|
86884
86893
|
table-layout: auto;
|
|
86885
86894
|
border-collapse: collapse;
|
|
86886
86895
|
`;
|
|
86887
|
-
const ChildrenWrapper$
|
|
86896
|
+
const ChildrenWrapper$2 = dt$1.div`
|
|
86888
86897
|
position: relative;
|
|
86889
86898
|
`;
|
|
86890
86899
|
const rows = Array.from(Array(3).keys());
|
|
@@ -86916,7 +86925,7 @@
|
|
|
86916
86925
|
height: isCenteredCell ? height : 'auto',
|
|
86917
86926
|
...!isCenteredCell ? surroundStyle : {}
|
|
86918
86927
|
},
|
|
86919
|
-
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$
|
|
86928
|
+
children: isCenteredCell ? /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$2, {
|
|
86920
86929
|
style: {
|
|
86921
86930
|
width: cellWidth,
|
|
86922
86931
|
height
|
|
@@ -88736,6 +88745,97 @@
|
|
|
88736
88745
|
};
|
|
88737
88746
|
};
|
|
88738
88747
|
|
|
88748
|
+
/**
|
|
88749
|
+
* Custom hook to delay rendering when transitioning from hidden to visible state.
|
|
88750
|
+
* Useful for waiting for browser dimension updates after orientation changes.
|
|
88751
|
+
*
|
|
88752
|
+
* @param params - Hook parameters
|
|
88753
|
+
* @param params.isVisible - Whether the component is currently visible
|
|
88754
|
+
* @param params.enableDelay - Whether to apply delay logic for show transitions
|
|
88755
|
+
* @param params.delayMs - Delay in milliseconds before showing (default: 500)
|
|
88756
|
+
* @returns Delayed visibility state
|
|
88757
|
+
*/ function useDelayedRender({ isVisible, enableDelay, delayMs = 500 }) {
|
|
88758
|
+
const [isVisibleDelayed, setIsVisibleDelayed] = reactExports.useState(isVisible);
|
|
88759
|
+
const prevIsVisibleRef = reactExports.useRef(isVisible);
|
|
88760
|
+
const timeoutRef = reactExports.useRef(null);
|
|
88761
|
+
reactExports.useEffect(()=>{
|
|
88762
|
+
const prevIsVisible = prevIsVisibleRef.current;
|
|
88763
|
+
// When delay is disabled, always sync immediately
|
|
88764
|
+
if (!enableDelay) {
|
|
88765
|
+
setIsVisibleDelayed(isVisible);
|
|
88766
|
+
prevIsVisibleRef.current = isVisible;
|
|
88767
|
+
return undefined;
|
|
88768
|
+
}
|
|
88769
|
+
// Handle transitions when delay is enabled
|
|
88770
|
+
const isTransitionToShow = !prevIsVisible && isVisible;
|
|
88771
|
+
const isTransitionToHide = prevIsVisible && !isVisible;
|
|
88772
|
+
if (isTransitionToShow) {
|
|
88773
|
+
// Delay showing when transitioning from hidden to visible
|
|
88774
|
+
timeoutRef.current = setTimeout(()=>{
|
|
88775
|
+
setIsVisibleDelayed(true);
|
|
88776
|
+
}, delayMs);
|
|
88777
|
+
} else if (isTransitionToHide) {
|
|
88778
|
+
// Immediately hide and cancel pending show
|
|
88779
|
+
if (timeoutRef.current) {
|
|
88780
|
+
clearTimeout(timeoutRef.current);
|
|
88781
|
+
timeoutRef.current = null;
|
|
88782
|
+
}
|
|
88783
|
+
setIsVisibleDelayed(false);
|
|
88784
|
+
}
|
|
88785
|
+
prevIsVisibleRef.current = isVisible;
|
|
88786
|
+
return ()=>{
|
|
88787
|
+
if (timeoutRef.current) {
|
|
88788
|
+
clearTimeout(timeoutRef.current);
|
|
88789
|
+
}
|
|
88790
|
+
};
|
|
88791
|
+
}, [
|
|
88792
|
+
isVisible,
|
|
88793
|
+
enableDelay,
|
|
88794
|
+
delayMs
|
|
88795
|
+
]);
|
|
88796
|
+
return isVisibleDelayed;
|
|
88797
|
+
}
|
|
88798
|
+
|
|
88799
|
+
const PopupContent$1 = dt$1.div`
|
|
88800
|
+
text-align: center;
|
|
88801
|
+
font-size: 20px;
|
|
88802
|
+
font-weight: 600;
|
|
88803
|
+
`;
|
|
88804
|
+
const ChildrenWrapper$1 = dt$1.div`
|
|
88805
|
+
width: 100%;
|
|
88806
|
+
height: 100%;
|
|
88807
|
+
opacity: ${({ $showChildren })=>$showChildren ? 1 : 0};
|
|
88808
|
+
`;
|
|
88809
|
+
const defaultPreferredOrientations = [
|
|
88810
|
+
MODE.PORTRAIT,
|
|
88811
|
+
MODE.DESKTOP
|
|
88812
|
+
];
|
|
88813
|
+
function OrientationDetectionV2({ onOrientationChange = noop$1, unmountOnHidden = false, remountDelayMs = 500, preferredOrientations = defaultPreferredOrientations, children }) {
|
|
88814
|
+
const t = gB();
|
|
88815
|
+
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88816
|
+
const hasCorrectOrientation = preferredOrientations.includes(curOrientation);
|
|
88817
|
+
const isVisible = useDelayedRender({
|
|
88818
|
+
isVisible: hasCorrectOrientation,
|
|
88819
|
+
enableDelay: unmountOnHidden,
|
|
88820
|
+
delayMs: remountDelayMs
|
|
88821
|
+
});
|
|
88822
|
+
const shouldMountChildrenOnDom = unmountOnHidden ? isVisible : true;
|
|
88823
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, {
|
|
88824
|
+
children: [
|
|
88825
|
+
!preferredOrientations.includes(curOrientation) && /*#__PURE__*/ jsxRuntimeExports.jsx(PopupComponent, {
|
|
88826
|
+
open: true,
|
|
88827
|
+
children: /*#__PURE__*/ jsxRuntimeExports.jsx(PopupContent$1, {
|
|
88828
|
+
children: t('wrong_orientation')
|
|
88829
|
+
})
|
|
88830
|
+
}),
|
|
88831
|
+
shouldMountChildrenOnDom && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper$1, {
|
|
88832
|
+
$showChildren: hasCorrectOrientation,
|
|
88833
|
+
children: children
|
|
88834
|
+
})
|
|
88835
|
+
]
|
|
88836
|
+
});
|
|
88837
|
+
}
|
|
88838
|
+
|
|
88739
88839
|
const PopupContent = dt$1.div`
|
|
88740
88840
|
text-align: center;
|
|
88741
88841
|
font-size: 20px;
|
|
@@ -88747,7 +88847,7 @@
|
|
|
88747
88847
|
opacity: ${({ showChildren })=>showChildren ? 1 : 0};
|
|
88748
88848
|
`;
|
|
88749
88849
|
// eslint-disable-next-line react/require-default-props
|
|
88750
|
-
function
|
|
88850
|
+
function OrientationDetectionV1({ onOrientationChange, unmountOnHidden, children }) {
|
|
88751
88851
|
const t = gB();
|
|
88752
88852
|
const { curOrientation } = useDetectOrientation(onOrientationChange);
|
|
88753
88853
|
const shouldShowChildren = curOrientation === MODE.PORTRAIT || curOrientation === MODE.DESKTOP;
|
|
@@ -88759,22 +88859,35 @@
|
|
|
88759
88859
|
children: t('wrong_orientation')
|
|
88760
88860
|
})
|
|
88761
88861
|
}),
|
|
88762
|
-
(
|
|
88862
|
+
(unmountOnHidden ? shouldShowChildren : true) && /*#__PURE__*/ jsxRuntimeExports.jsx(ChildrenWrapper, {
|
|
88763
88863
|
showChildren: shouldShowChildren,
|
|
88764
88864
|
children: children
|
|
88765
88865
|
})
|
|
88766
88866
|
]
|
|
88767
88867
|
});
|
|
88768
88868
|
}
|
|
88769
|
-
|
|
88869
|
+
OrientationDetectionV1.defaultProps = {
|
|
88770
88870
|
onOrientationChange: ()=>{},
|
|
88771
|
-
|
|
88871
|
+
unmountOnHidden: false
|
|
88772
88872
|
};
|
|
88773
|
-
|
|
88873
|
+
OrientationDetectionV1.propTypes = {
|
|
88774
88874
|
onOrientationChange: PropTypes.func,
|
|
88775
|
-
|
|
88875
|
+
unmountOnHidden: PropTypes.bool
|
|
88776
88876
|
};
|
|
88777
88877
|
|
|
88878
|
+
function OrientationDetection({ version = 'v1', children, ...rest }) {
|
|
88879
|
+
if (version === 'v2') {
|
|
88880
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV2, {
|
|
88881
|
+
...rest,
|
|
88882
|
+
children: children
|
|
88883
|
+
});
|
|
88884
|
+
}
|
|
88885
|
+
return /*#__PURE__*/ jsxRuntimeExports.jsx(OrientationDetectionV1, {
|
|
88886
|
+
...rest,
|
|
88887
|
+
children: children
|
|
88888
|
+
});
|
|
88889
|
+
}
|
|
88890
|
+
|
|
88778
88891
|
const useEkycSession = ()=>{
|
|
88779
88892
|
const [sessionId, setSessionId] = reactExports.useState(Date.now());
|
|
88780
88893
|
const updateSessionId = reactExports.useCallback(()=>{
|
|
@@ -88994,7 +89107,7 @@
|
|
|
88994
89107
|
width: 6px;
|
|
88995
89108
|
height: 6px;
|
|
88996
89109
|
border-radius: 50%;
|
|
88997
|
-
background-color: ${getTheme('FlashLiveness.progressBar.
|
|
89110
|
+
background-color: ${getTheme('FlashLiveness.progressBar.textColor')};
|
|
88998
89111
|
margin-right: 5px;
|
|
88999
89112
|
margin-bottom: 2px;
|
|
89000
89113
|
}
|
|
@@ -113496,7 +113609,7 @@
|
|
|
113496
113609
|
};
|
|
113497
113610
|
};
|
|
113498
113611
|
|
|
113499
|
-
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/5.34.
|
|
113612
|
+
const defaultAssetRoot = "https://vision-cdn.trustingsocial.com/tvweb-sdk.nbcci/5.34.3/assets";
|
|
113500
113613
|
class TVWebSDK extends gU {
|
|
113501
113614
|
constructor(props){
|
|
113502
113615
|
super({
|
|
@@ -113511,8 +113624,8 @@
|
|
|
113511
113624
|
exports.SDK = TVWebSDK;
|
|
113512
113625
|
exports.SDKAdapter = gV;
|
|
113513
113626
|
exports.ScannerType = iI;
|
|
113514
|
-
exports.defaultClientSettings =
|
|
113515
|
-
exports.defaultReadIDCardSteps =
|
|
113627
|
+
exports.defaultClientSettings = ct;
|
|
113628
|
+
exports.defaultReadIDCardSteps = sX;
|
|
113516
113629
|
exports.getSDKVersion = nB$1;
|
|
113517
113630
|
|
|
113518
113631
|
}));
|