From 256527254f7b47029d4119662daf3e4a52f25821 Mon Sep 17 00:00:00 2001 From: lngdao Date: Sun, 25 Sep 2022 23:26:16 +0700 Subject: [PATCH] Updates --- CNAME | 1 - asset-manifest.json | 4 ++-- index.html | 2 +- static/js/main.681503e0.js | 2 ++ ...n.9242993f.js.LICENSE.txt => main.681503e0.js.LICENSE.txt} | 0 static/js/main.9242993f.js | 2 -- 6 files changed, 5 insertions(+), 6 deletions(-) delete mode 100644 CNAME create mode 100644 static/js/main.681503e0.js rename static/js/{main.9242993f.js.LICENSE.txt => main.681503e0.js.LICENSE.txt} (100%) delete mode 100644 static/js/main.9242993f.js diff --git a/CNAME b/CNAME deleted file mode 100644 index 2fd8851..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -fckinsadvibe.space \ No newline at end of file diff --git a/asset-manifest.json b/asset-manifest.json index 38d13bd..0ca9af1 100644 --- a/asset-manifest.json +++ b/asset-manifest.json @@ -1,11 +1,11 @@ { "files": { "main.css": "/static/css/main.d16a71e7.css", - "main.js": "/static/js/main.9242993f.js", + "main.js": "/static/js/main.681503e0.js", "index.html": "/index.html" }, "entrypoints": [ "static/css/main.d16a71e7.css", - "static/js/main.9242993f.js" + "static/js/main.681503e0.js" ] } \ No newline at end of file diff --git a/index.html b/index.html index 54632d2..7288688 100644 --- a/index.html +++ b/index.html @@ -1 +1 @@ -fckin sad vibe
\ No newline at end of file +fckin sad vibe
\ No newline at end of file diff --git a/static/js/main.681503e0.js b/static/js/main.681503e0.js new file mode 100644 index 0000000..59d24b4 --- /dev/null +++ b/static/js/main.681503e0.js @@ -0,0 +1,2 @@ +/*! For license information please see main.681503e0.js.LICENSE.txt */ +(function(){var __webpack_modules__={6402:function(e){var t={type:"languageDetector",async:!0,init:function(){},detect:function(e){var t=localStorage.getItem("lng");e(t||"en")},cacheUserLanguage:function(e){localStorage.setItem("lng",e)}};e.exports={languageDetectorPlugin:t}},1881:function(e,t,r){e.exports=r(6948)},7570:function(e,t,r){"use strict";var n=r(899),i=r(8980),a=r(2508),o=r(3917),s=r(6551),l=r(5105),u=r(8652),c=r(2487),p=r(9634),f=r(3540),h=r(8593);e.exports=function(e){return new Promise((function(t,r){var d,m=e.data,y=e.headers,g=e.responseType;function v(){e.cancelToken&&e.cancelToken.unsubscribe(d),e.signal&&e.signal.removeEventListener("abort",d)}n.isFormData(m)&&n.isStandardBrowserEnv()&&delete y["Content-Type"];var x=new XMLHttpRequest;if(e.auth){var k=e.auth.username||"",b=e.auth.password?unescape(encodeURIComponent(e.auth.password)):"";y.Authorization="Basic "+btoa(k+":"+b)}var _=s(e.baseURL,e.url);function w(){if(x){var n="getAllResponseHeaders"in x?l(x.getAllResponseHeaders()):null,a={data:g&&"text"!==g&&"json"!==g?x.response:x.responseText,status:x.status,statusText:x.statusText,headers:n,config:e,request:x};i((function(e){t(e),v()}),(function(e){r(e),v()}),a),x=null}}if(x.open(e.method.toUpperCase(),o(_,e.params,e.paramsSerializer),!0),x.timeout=e.timeout,"onloadend"in x?x.onloadend=w:x.onreadystatechange=function(){x&&4===x.readyState&&(0!==x.status||x.responseURL&&0===x.responseURL.indexOf("file:"))&&setTimeout(w)},x.onabort=function(){x&&(r(new p("Request aborted",p.ECONNABORTED,e,x)),x=null)},x.onerror=function(){r(new p("Network Error",p.ERR_NETWORK,e,x,x)),x=null},x.ontimeout=function(){var t=e.timeout?"timeout of "+e.timeout+"ms exceeded":"timeout exceeded",n=e.transitional||c;e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(new p(t,n.clarifyTimeoutError?p.ETIMEDOUT:p.ECONNABORTED,e,x)),x=null},n.isStandardBrowserEnv()){var S=(e.withCredentials||u(_))&&e.xsrfCookieName?a.read(e.xsrfCookieName):void 0;S&&(y[e.xsrfHeaderName]=S)}"setRequestHeader"in x&&n.forEach(y,(function(e,t){"undefined"===typeof m&&"content-type"===t.toLowerCase()?delete y[t]:x.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(x.withCredentials=!!e.withCredentials),g&&"json"!==g&&(x.responseType=e.responseType),"function"===typeof e.onDownloadProgress&&x.addEventListener("progress",e.onDownloadProgress),"function"===typeof e.onUploadProgress&&x.upload&&x.upload.addEventListener("progress",e.onUploadProgress),(e.cancelToken||e.signal)&&(d=function(e){x&&(r(!e||e&&e.type?new f:e),x.abort(),x=null)},e.cancelToken&&e.cancelToken.subscribe(d),e.signal&&(e.signal.aborted?d():e.signal.addEventListener("abort",d))),m||(m=null);var E=h(_);E&&-1===["http","https","file"].indexOf(E)?r(new p("Unsupported protocol "+E+":",p.ERR_BAD_REQUEST,e)):x.send(m)}))}},6948:function(e,t,r){"use strict";var n=r(899),i=r(8813),a=r(5141),o=r(6276);var s=function e(t){var r=new a(t),s=i(a.prototype.request,r);return n.extend(s,a.prototype,r),n.extend(s,r),s.create=function(r){return e(o(t,r))},s}(r(6063));s.Axios=a,s.CanceledError=r(3540),s.CancelToken=r(3914),s.isCancel=r(7797),s.VERSION=r(2102).version,s.toFormData=r(2707),s.AxiosError=r(9634),s.Cancel=s.CanceledError,s.all=function(e){return Promise.all(e)},s.spread=r(2922),s.isAxiosError=r(7079),e.exports=s,e.exports.default=s},3914:function(e,t,r){"use strict";var n=r(3540);function i(e){if("function"!==typeof e)throw new TypeError("executor must be a function.");var t;this.promise=new Promise((function(e){t=e}));var r=this;this.promise.then((function(e){if(r._listeners){var t,n=r._listeners.length;for(t=0;t=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){c.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){c.headers[e]=n.merge(l)})),e.exports=c},2487:function(e){"use strict";e.exports={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1}},2102:function(e){e.exports={version:"0.27.2"}},8813:function(e){"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n=0)return;o[t]="set-cookie"===t?(o[t]?o[t]:[]).concat([r]):o[t]?o[t]+", "+r:r}})),o):o}},8593:function(e){"use strict";e.exports=function(e){var t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}},2922:function(e){"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},2707:function(e,t,r){"use strict";var n=r(899);e.exports=function(e,t){t=t||new FormData;var r=[];function i(e){return null===e?"":n.isDate(e)?e.toISOString():n.isArrayBuffer(e)||n.isTypedArray(e)?"function"===typeof Blob?new Blob([e]):Buffer.from(e):e}return function e(a,o){if(n.isPlainObject(a)||n.isArray(a)){if(-1!==r.indexOf(a))throw Error("Circular reference detected in "+o);r.push(a),n.forEach(a,(function(r,a){if(!n.isUndefined(r)){var s,l=o?o+"."+a:a;if(r&&!o&&"object"===typeof r)if(n.endsWith(a,"{}"))r=JSON.stringify(r);else if(n.endsWith(a,"[]")&&(s=n.toArray(r)))return void s.forEach((function(e){!n.isUndefined(e)&&t.append(l,i(e))}));e(r,l)}})),r.pop()}else t.append(o,i(a))}(e),t}},7828:function(e,t,r){"use strict";var n=r(2102).version,i=r(9634),a={};["object","boolean","number","function","string","symbol"].forEach((function(e,t){a[e]=function(r){return typeof r===e||"a"+(t<1?"n ":" ")+e}}));var o={};a.transitional=function(e,t,r){function a(e,t){return"[Axios v"+n+"] Transitional option '"+e+"'"+t+(r?". "+r:"")}return function(r,n,s){if(!1===e)throw new i(a(n," has been removed"+(t?" in "+t:"")),i.ERR_DEPRECATED);return t&&!o[n]&&(o[n]=!0,console.warn(a(n," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(r,n,s)}},e.exports={assertOptions:function(e,t,r){if("object"!==typeof e)throw new i("options must be an object",i.ERR_BAD_OPTION_VALUE);for(var n=Object.keys(e),a=n.length;a-- >0;){var o=n[a],s=t[o];if(s){var l=e[o],u=void 0===l||s(l,o,e);if(!0!==u)throw new i("option "+o+" must be "+u,i.ERR_BAD_OPTION_VALUE)}else if(!0!==r)throw new i("Unknown option "+o,i.ERR_BAD_OPTION)}},validators:a}},899:function(e,t,r){"use strict";var n,i=r(8813),a=Object.prototype.toString,o=(n=Object.create(null),function(e){var t=a.call(e);return n[t]||(n[t]=t.slice(8,-1).toLowerCase())});function s(e){return e=e.toLowerCase(),function(t){return o(t)===e}}function l(e){return Array.isArray(e)}function u(e){return"undefined"===typeof e}var c=s("ArrayBuffer");function p(e){return null!==e&&"object"===typeof e}function f(e){if("object"!==o(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}var h=s("Date"),d=s("File"),m=s("Blob"),y=s("FileList");function g(e){return"[object Function]"===a.call(e)}var v=s("URLSearchParams");function x(e,t){if(null!==e&&"undefined"!==typeof e)if("object"!==typeof e&&(e=[e]),l(e))for(var r=0,n=e.length;r0;)o[a=n[i]]||(t[a]=e[a],o[a]=!0);e=Object.getPrototypeOf(e)}while(e&&(!r||r(e,t))&&e!==Object.prototype);return t},kindOf:o,kindOfTest:s,endsWith:function(e,t,r){e=String(e),(void 0===r||r>e.length)&&(r=e.length),r-=t.length;var n=e.indexOf(t,r);return-1!==n&&n===r},toArray:function(e){if(!e)return null;var t=e.length;if(u(t))return null;for(var r=new Array(t);t-- >0;)r[t]=e[t];return r},isTypedArray:b,isFileList:y}},7378:function(e,t){"use strict";t.__esModule=!0,t.DEFAULT_OPTIONS=void 0,t.DEFAULT_OPTIONS={sortByStartTime:!1,trimStart:!0,trimEnd:!1}},3750:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0,t.parse=void 0;var i=n(r(4247));t.parse=i.default},4247:function(e,t,r){"use strict";t.__esModule=!0;var n=r(7378),i=/^((?:\[\d+:\d+(?:\.\d+)?\])+)(.*)$/,a=/^\[(.+?):(.*?)\]$/,o=/^(\d+):(\d+)(?:\.(\d+))?$/,s=/^\s+/,l=/\s+$/;t.default=function(e,t){for(var r=void 0===t?{}:t,u=r.sortByStartTime,c=void 0===u?n.DEFAULT_OPTIONS.sortByStartTime:u,p=r.trimStart,f=void 0===p?n.DEFAULT_OPTIONS.trimStart:p,h=r.trimEnd,d=void 0===h?n.DEFAULT_OPTIONS.trimEnd:h,m=[],y={},g=[],v=[],x=e.split("\n"),k=0,b=x.length;k"']/g,X=RegExp(K.source),Q=RegExp(Y.source),J=/<%-([\s\S]+?)%>/g,Z=/<%([\s\S]+?)%>/g,ee=/<%=([\s\S]+?)%>/g,te=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,re=/^\w*$/,ne=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,ie=/[\\^$.*+?()[\]{}|]/g,ae=RegExp(ie.source),oe=/^\s+/,se=/\s/,le=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ue=/\{\n\/\* \[wrapped with (.+)\] \*/,ce=/,? & /,pe=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,fe=/[()=,{}\[\]\/\s]/,he=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,me=/\w*$/,ye=/^[-+]0x[0-9a-f]+$/i,ge=/^0b[01]+$/i,ve=/^\[object .+?Constructor\]$/,xe=/^0o[0-7]+$/i,ke=/^(?:0|[1-9]\d*)$/,be=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,_e=/($^)/,we=/['\n\r\u2028\u2029\\]/g,Se="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ee="\\u2700-\\u27bf",Pe="a-z\\xdf-\\xf6\\xf8-\\xff",Ae="A-Z\\xc0-\\xd6\\xd8-\\xde",Ce="\\ufe0e\\ufe0f",Te="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",De="['\u2019]",Oe="[\\ud800-\\udfff]",Fe="["+Te+"]",Me="["+Se+"]",Ie="\\d+",Re="[\\u2700-\\u27bf]",Be="["+Pe+"]",je="[^\\ud800-\\udfff"+Te+Ie+Ee+Pe+Ae+"]",Le="\\ud83c[\\udffb-\\udfff]",Ve="[^\\ud800-\\udfff]",Ne="(?:\\ud83c[\\udde6-\\uddff]){2}",Ge="[\\ud800-\\udbff][\\udc00-\\udfff]",ze="["+Ae+"]",He="(?:"+Be+"|"+je+")",Ue="(?:"+ze+"|"+je+")",We="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",qe="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",$e="(?:"+Me+"|"+Le+")"+"?",Ke="[\\ufe0e\\ufe0f]?",Ye=Ke+$e+("(?:\\u200d(?:"+[Ve,Ne,Ge].join("|")+")"+Ke+$e+")*"),Xe="(?:"+[Re,Ne,Ge].join("|")+")"+Ye,Qe="(?:"+[Ve+Me+"?",Me,Ne,Ge,Oe].join("|")+")",Je=RegExp(De,"g"),Ze=RegExp(Me,"g"),et=RegExp(Le+"(?="+Le+")|"+Qe+Ye,"g"),tt=RegExp([ze+"?"+Be+"+"+We+"(?="+[Fe,ze,"$"].join("|")+")",Ue+"+"+qe+"(?="+[Fe,ze+He,"$"].join("|")+")",ze+"?"+He+"+"+We,ze+"+"+qe,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",Ie,Xe].join("|"),"g"),rt=RegExp("[\\u200d\\ud800-\\udfff"+Se+Ce+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,it=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],at=-1,ot={};ot[B]=ot[j]=ot[L]=ot[V]=ot[N]=ot[G]=ot[z]=ot[H]=ot[U]=!0,ot[v]=ot[x]=ot[I]=ot[k]=ot[R]=ot[b]=ot[_]=ot[w]=ot[E]=ot[P]=ot[A]=ot[T]=ot[D]=ot[O]=ot[M]=!1;var st={};st[v]=st[x]=st[I]=st[R]=st[k]=st[b]=st[B]=st[j]=st[L]=st[V]=st[N]=st[E]=st[P]=st[A]=st[T]=st[D]=st[O]=st[F]=st[G]=st[z]=st[H]=st[U]=!0,st[_]=st[w]=st[M]=!1;var lt={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},ut=parseFloat,ct=parseInt,pt="object"==typeof r.g&&r.g&&r.g.Object===Object&&r.g,ft="object"==typeof self&&self&&self.Object===Object&&self,ht=pt||ft||Function("return this")(),dt=t&&!t.nodeType&&t,mt=dt&&e&&!e.nodeType&&e,yt=mt&&mt.exports===dt,gt=yt&&pt.process,vt=function(){try{var e=mt&&mt.require&&mt.require("util").types;return e||gt&>.binding&>.binding("util")}catch(t){}}(),xt=vt&&vt.isArrayBuffer,kt=vt&&vt.isDate,bt=vt&&vt.isMap,_t=vt&&vt.isRegExp,wt=vt&&vt.isSet,St=vt&&vt.isTypedArray;function Et(e,t,r){switch(r.length){case 0:return e.call(t);case 1:return e.call(t,r[0]);case 2:return e.call(t,r[0],r[1]);case 3:return e.call(t,r[0],r[1],r[2])}return e.apply(t,r)}function Pt(e,t,r,n){for(var i=-1,a=null==e?0:e.length;++i-1}function Ft(e,t,r){for(var n=-1,i=null==e?0:e.length;++n-1;);return r}function tr(e,t){for(var r=e.length;r--&&Gt(t,e[r],0)>-1;);return r}function rr(e,t){for(var r=e.length,n=0;r--;)e[r]===t&&++n;return n}var nr=qt({"\xc0":"A","\xc1":"A","\xc2":"A","\xc3":"A","\xc4":"A","\xc5":"A","\xe0":"a","\xe1":"a","\xe2":"a","\xe3":"a","\xe4":"a","\xe5":"a","\xc7":"C","\xe7":"c","\xd0":"D","\xf0":"d","\xc8":"E","\xc9":"E","\xca":"E","\xcb":"E","\xe8":"e","\xe9":"e","\xea":"e","\xeb":"e","\xcc":"I","\xcd":"I","\xce":"I","\xcf":"I","\xec":"i","\xed":"i","\xee":"i","\xef":"i","\xd1":"N","\xf1":"n","\xd2":"O","\xd3":"O","\xd4":"O","\xd5":"O","\xd6":"O","\xd8":"O","\xf2":"o","\xf3":"o","\xf4":"o","\xf5":"o","\xf6":"o","\xf8":"o","\xd9":"U","\xda":"U","\xdb":"U","\xdc":"U","\xf9":"u","\xfa":"u","\xfb":"u","\xfc":"u","\xdd":"Y","\xfd":"y","\xff":"y","\xc6":"Ae","\xe6":"ae","\xde":"Th","\xfe":"th","\xdf":"ss","\u0100":"A","\u0102":"A","\u0104":"A","\u0101":"a","\u0103":"a","\u0105":"a","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\u010e":"D","\u0110":"D","\u010f":"d","\u0111":"d","\u0112":"E","\u0114":"E","\u0116":"E","\u0118":"E","\u011a":"E","\u0113":"e","\u0115":"e","\u0117":"e","\u0119":"e","\u011b":"e","\u011c":"G","\u011e":"G","\u0120":"G","\u0122":"G","\u011d":"g","\u011f":"g","\u0121":"g","\u0123":"g","\u0124":"H","\u0126":"H","\u0125":"h","\u0127":"h","\u0128":"I","\u012a":"I","\u012c":"I","\u012e":"I","\u0130":"I","\u0129":"i","\u012b":"i","\u012d":"i","\u012f":"i","\u0131":"i","\u0134":"J","\u0135":"j","\u0136":"K","\u0137":"k","\u0138":"k","\u0139":"L","\u013b":"L","\u013d":"L","\u013f":"L","\u0141":"L","\u013a":"l","\u013c":"l","\u013e":"l","\u0140":"l","\u0142":"l","\u0143":"N","\u0145":"N","\u0147":"N","\u014a":"N","\u0144":"n","\u0146":"n","\u0148":"n","\u014b":"n","\u014c":"O","\u014e":"O","\u0150":"O","\u014d":"o","\u014f":"o","\u0151":"o","\u0154":"R","\u0156":"R","\u0158":"R","\u0155":"r","\u0157":"r","\u0159":"r","\u015a":"S","\u015c":"S","\u015e":"S","\u0160":"S","\u015b":"s","\u015d":"s","\u015f":"s","\u0161":"s","\u0162":"T","\u0164":"T","\u0166":"T","\u0163":"t","\u0165":"t","\u0167":"t","\u0168":"U","\u016a":"U","\u016c":"U","\u016e":"U","\u0170":"U","\u0172":"U","\u0169":"u","\u016b":"u","\u016d":"u","\u016f":"u","\u0171":"u","\u0173":"u","\u0174":"W","\u0175":"w","\u0176":"Y","\u0177":"y","\u0178":"Y","\u0179":"Z","\u017b":"Z","\u017d":"Z","\u017a":"z","\u017c":"z","\u017e":"z","\u0132":"IJ","\u0133":"ij","\u0152":"Oe","\u0153":"oe","\u0149":"'n","\u017f":"s"}),ir=qt({"&":"&","<":"<",">":">",'"':""","'":"'"});function ar(e){return"\\"+lt[e]}function or(e){return rt.test(e)}function sr(e){var t=-1,r=Array(e.size);return e.forEach((function(e,n){r[++t]=[n,e]})),r}function lr(e,t){return function(r){return e(t(r))}}function ur(e,t){for(var r=-1,n=e.length,i=0,a=[];++r",""":'"',"'":"'"});var yr=function e(t){var r=(t=null==t?ht:yr.defaults(ht.Object(),t,yr.pick(ht,it))).Array,n=t.Date,se=t.Error,Se=t.Function,Ee=t.Math,Pe=t.Object,Ae=t.RegExp,Ce=t.String,Te=t.TypeError,De=r.prototype,Oe=Se.prototype,Fe=Pe.prototype,Me=t["__core-js_shared__"],Ie=Oe.toString,Re=Fe.hasOwnProperty,Be=0,je=function(){var e=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Le=Fe.toString,Ve=Ie.call(Pe),Ne=ht._,Ge=Ae("^"+Ie.call(Re).replace(ie,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),ze=yt?t.Buffer:i,He=t.Symbol,Ue=t.Uint8Array,We=ze?ze.allocUnsafe:i,qe=lr(Pe.getPrototypeOf,Pe),$e=Pe.create,Ke=Fe.propertyIsEnumerable,Ye=De.splice,Xe=He?He.isConcatSpreadable:i,Qe=He?He.iterator:i,et=He?He.toStringTag:i,rt=function(){try{var e=fa(Pe,"defineProperty");return e({},"",{}),e}catch(t){}}(),lt=t.clearTimeout!==ht.clearTimeout&&t.clearTimeout,pt=n&&n.now!==ht.Date.now&&n.now,ft=t.setTimeout!==ht.setTimeout&&t.setTimeout,dt=Ee.ceil,mt=Ee.floor,gt=Pe.getOwnPropertySymbols,vt=ze?ze.isBuffer:i,Lt=t.isFinite,qt=De.join,gr=lr(Pe.keys,Pe),vr=Ee.max,xr=Ee.min,kr=n.now,br=t.parseInt,_r=Ee.random,wr=De.reverse,Sr=fa(t,"DataView"),Er=fa(t,"Map"),Pr=fa(t,"Promise"),Ar=fa(t,"Set"),Cr=fa(t,"WeakMap"),Tr=fa(Pe,"create"),Dr=Cr&&new Cr,Or={},Fr=Va(Sr),Mr=Va(Er),Ir=Va(Pr),Rr=Va(Ar),Br=Va(Cr),jr=He?He.prototype:i,Lr=jr?jr.valueOf:i,Vr=jr?jr.toString:i;function Nr(e){if(ns(e)&&!qo(e)&&!(e instanceof Ur)){if(e instanceof Hr)return e;if(Re.call(e,"__wrapped__"))return Na(e)}return new Hr(e)}var Gr=function(){function e(){}return function(t){if(!rs(t))return{};if($e)return $e(t);e.prototype=t;var r=new e;return e.prototype=i,r}}();function zr(){}function Hr(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=i}function Ur(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=y,this.__views__=[]}function Wr(e){var t=-1,r=null==e?0:e.length;for(this.clear();++t=t?e:t)),e}function un(e,t,r,n,a,o){var s,l=1&t,u=2&t,c=4&t;if(r&&(s=a?r(e,n,a,o):r(e)),s!==i)return s;if(!rs(e))return e;var p=qo(e);if(p){if(s=function(e){var t=e.length,r=new e.constructor(t);t&&"string"==typeof e[0]&&Re.call(e,"index")&&(r.index=e.index,r.input=e.input);return r}(e),!l)return Di(e,s)}else{var f=ma(e),h=f==w||f==S;if(Xo(e))return Si(e,l);if(f==A||f==v||h&&!a){if(s=u||h?{}:ga(e),!l)return u?function(e,t){return Oi(e,da(e),t)}(e,function(e,t){return e&&Oi(t,Is(t),e)}(s,e)):function(e,t){return Oi(e,ha(e),t)}(e,an(s,e))}else{if(!st[f])return a?e:{};s=function(e,t,r){var n=e.constructor;switch(t){case I:return Ei(e);case k:case b:return new n(+e);case R:return function(e,t){var r=t?Ei(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}(e,r);case B:case j:case L:case V:case N:case G:case z:case H:case U:return Pi(e,r);case E:return new n;case P:case O:return new n(e);case T:return function(e){var t=new e.constructor(e.source,me.exec(e));return t.lastIndex=e.lastIndex,t}(e);case D:return new n;case F:return i=e,Lr?Pe(Lr.call(i)):{}}var i}(e,f,l)}}o||(o=new Yr);var d=o.get(e);if(d)return d;o.set(e,s),ls(e)?e.forEach((function(n){s.add(un(n,t,r,n,e,o))})):is(e)&&e.forEach((function(n,i){s.set(i,un(n,t,r,i,e,o))}));var m=p?i:(c?u?aa:ia:u?Is:Ms)(e);return At(m||e,(function(n,i){m&&(n=e[i=n]),tn(s,i,un(n,t,r,i,e,o))})),s}function cn(e,t,r){var n=r.length;if(null==e)return!n;for(e=Pe(e);n--;){var a=r[n],o=t[a],s=e[a];if(s===i&&!(a in e)||!o(s))return!1}return!0}function pn(e,t,r){if("function"!=typeof e)throw new Te(a);return Fa((function(){e.apply(i,r)}),t)}function fn(e,t,r,n){var i=-1,a=Ot,o=!0,s=e.length,l=[],u=t.length;if(!s)return l;r&&(t=Mt(t,Qt(r))),n?(a=Ft,o=!1):t.length>=200&&(a=Zt,o=!1,t=new Kr(t));e:for(;++i-1},qr.prototype.set=function(e,t){var r=this.__data__,n=rn(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this},$r.prototype.clear=function(){this.size=0,this.__data__={hash:new Wr,map:new(Er||qr),string:new Wr}},$r.prototype.delete=function(e){var t=ca(this,e).delete(e);return this.size-=t?1:0,t},$r.prototype.get=function(e){return ca(this,e).get(e)},$r.prototype.has=function(e){return ca(this,e).has(e)},$r.prototype.set=function(e,t){var r=ca(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this},Kr.prototype.add=Kr.prototype.push=function(e){return this.__data__.set(e,o),this},Kr.prototype.has=function(e){return this.__data__.has(e)},Yr.prototype.clear=function(){this.__data__=new qr,this.size=0},Yr.prototype.delete=function(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r},Yr.prototype.get=function(e){return this.__data__.get(e)},Yr.prototype.has=function(e){return this.__data__.has(e)},Yr.prototype.set=function(e,t){var r=this.__data__;if(r instanceof qr){var n=r.__data__;if(!Er||n.length<199)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new $r(n)}return r.set(e,t),this.size=r.size,this};var hn=Ii(bn),dn=Ii(_n,!0);function mn(e,t){var r=!0;return hn(e,(function(e,n,i){return r=!!t(e,n,i)})),r}function yn(e,t,r){for(var n=-1,a=e.length;++n0&&r(s)?t>1?vn(s,t-1,r,n,i):It(i,s):n||(i[i.length]=s)}return i}var xn=Ri(),kn=Ri(!0);function bn(e,t){return e&&xn(e,t,Ms)}function _n(e,t){return e&&kn(e,t,Ms)}function wn(e,t){return Dt(t,(function(t){return Zo(e[t])}))}function Sn(e,t){for(var r=0,n=(t=ki(t,e)).length;null!=e&&rt}function Cn(e,t){return null!=e&&Re.call(e,t)}function Tn(e,t){return null!=e&&t in Pe(e)}function Dn(e,t,n){for(var a=n?Ft:Ot,o=e[0].length,s=e.length,l=s,u=r(s),c=1/0,p=[];l--;){var f=e[l];l&&t&&(f=Mt(f,Qt(t))),c=xr(f.length,c),u[l]=!n&&(t||o>=120&&f.length>=120)?new Kr(l&&f):i}f=e[0];var h=-1,d=u[0];e:for(;++h=s?l:l*("desc"==r[n]?-1:1)}return e.index-t.index}(e,t,r)}))}function qn(e,t,r){for(var n=-1,i=t.length,a={};++n-1;)s!==e&&Ye.call(s,l,1),Ye.call(e,l,1);return e}function Kn(e,t){for(var r=e?t.length:0,n=r-1;r--;){var i=t[r];if(r==n||i!==a){var a=i;xa(i)?Ye.call(e,i,1):fi(e,i)}}return e}function Yn(e,t){return e+mt(_r()*(t-e+1))}function Xn(e,t){var r="";if(!e||t<1||t>d)return r;do{t%2&&(r+=e),(t=mt(t/2))&&(e+=e)}while(t);return r}function Qn(e,t){return Ma(Aa(e,t,al),e+"")}function Jn(e){return Qr(zs(e))}function Zn(e,t){var r=zs(e);return Ba(r,ln(t,0,r.length))}function ei(e,t,r,n){if(!rs(e))return e;for(var a=-1,o=(t=ki(t,e)).length,s=o-1,l=e;null!=l&&++aa?0:a+t),(n=n>a?a:n)<0&&(n+=a),a=t>n?0:n-t>>>0,t>>>=0;for(var o=r(a);++i>>1,o=e[a];null!==o&&!cs(o)&&(r?o<=t:o=200){var u=t?null:Xi(e);if(u)return cr(u);o=!1,i=Zt,l=new Kr}else l=t?[]:s;e:for(;++n=n?e:ii(e,t,r)}var wi=lt||function(e){return ht.clearTimeout(e)};function Si(e,t){if(t)return e.slice();var r=e.length,n=We?We(r):new e.constructor(r);return e.copy(n),n}function Ei(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function Pi(e,t){var r=t?Ei(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}function Ai(e,t){if(e!==t){var r=e!==i,n=null===e,a=e===e,o=cs(e),s=t!==i,l=null===t,u=t===t,c=cs(t);if(!l&&!c&&!o&&e>t||o&&s&&u&&!l&&!c||n&&s&&u||!r&&u||!a)return 1;if(!n&&!o&&!c&&e1?r[a-1]:i,s=a>2?r[2]:i;for(o=e.length>3&&"function"==typeof o?(a--,o):i,s&&ka(r[0],r[1],s)&&(o=a<3?i:o,a=1),t=Pe(t);++n-1?a[o?t[s]:s]:i}}function Ni(e){return na((function(t){var r=t.length,n=r,o=Hr.prototype.thru;for(e&&t.reverse();n--;){var s=t[n];if("function"!=typeof s)throw new Te(a);if(o&&!l&&"wrapper"==sa(s))var l=new Hr([],!0)}for(n=l?n:r;++n1&&x.reverse(),h&&cl))return!1;var c=o.get(e),p=o.get(t);if(c&&p)return c==t&&p==e;var f=-1,h=!0,d=2&r?new Kr:i;for(o.set(e,t),o.set(t,e);++f-1&&e%1==0&&e1?"& ":"")+t[n],t=t.join(r>2?", ":" "),e.replace(le,"{\n/* [wrapped with "+t+"] */\n")}(n,function(e,t){return At(g,(function(r){var n="_."+r[0];t&r[1]&&!Ot(e,n)&&e.push(n)})),e.sort()}(function(e){var t=e.match(ue);return t?t[1].split(ce):[]}(n),r)))}function Ra(e){var t=0,r=0;return function(){var n=kr(),a=16-(n-r);if(r=n,a>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(i,arguments)}}function Ba(e,t){var r=-1,n=e.length,a=n-1;for(t=t===i?n:t;++r1?e[t-1]:i;return r="function"==typeof r?(e.pop(),r):i,oo(e,r)}));function ho(e){var t=Nr(e);return t.__chain__=!0,t}function mo(e,t){return t(e)}var yo=na((function(e){var t=e.length,r=t?e[0]:0,n=this.__wrapped__,a=function(t){return sn(t,e)};return!(t>1||this.__actions__.length)&&n instanceof Ur&&xa(r)?((n=n.slice(r,+r+(t?1:0))).__actions__.push({func:mo,args:[a],thisArg:i}),new Hr(n,this.__chain__).thru((function(e){return t&&!e.length&&e.push(i),e}))):this.thru(a)}));var go=Fi((function(e,t,r){Re.call(e,r)?++e[r]:on(e,r,1)}));var vo=Vi(Ua),xo=Vi(Wa);function ko(e,t){return(qo(e)?At:hn)(e,ua(t,3))}function bo(e,t){return(qo(e)?Ct:dn)(e,ua(t,3))}var _o=Fi((function(e,t,r){Re.call(e,r)?e[r].push(t):on(e,r,[t])}));var wo=Qn((function(e,t,n){var i=-1,a="function"==typeof t,o=Ko(e)?r(e.length):[];return hn(e,(function(e){o[++i]=a?Et(t,e,n):On(e,t,n)})),o})),So=Fi((function(e,t,r){on(e,r,t)}));function Eo(e,t){return(qo(e)?Mt:Nn)(e,ua(t,3))}var Po=Fi((function(e,t,r){e[r?0:1].push(t)}),(function(){return[[],[]]}));var Ao=Qn((function(e,t){if(null==e)return[];var r=t.length;return r>1&&ka(e,t[0],t[1])?t=[]:r>2&&ka(t[0],t[1],t[2])&&(t=[t[0]]),Wn(e,vn(t,1),[])})),Co=pt||function(){return ht.Date.now()};function To(e,t,r){return t=r?i:t,t=e&&null==t?e.length:t,Ji(e,p,i,i,i,i,t)}function Do(e,t){var r;if("function"!=typeof t)throw new Te(a);return e=ys(e),function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=i),r}}var Oo=Qn((function(e,t,r){var n=1;if(r.length){var i=ur(r,la(Oo));n|=u}return Ji(e,n,t,r,i)})),Fo=Qn((function(e,t,r){var n=3;if(r.length){var i=ur(r,la(Fo));n|=u}return Ji(t,n,e,r,i)}));function Mo(e,t,r){var n,o,s,l,u,c,p=0,f=!1,h=!1,d=!0;if("function"!=typeof e)throw new Te(a);function m(t){var r=n,a=o;return n=o=i,p=t,l=e.apply(a,r)}function y(e){return p=e,u=Fa(v,t),f?m(e):l}function g(e){var r=e-c;return c===i||r>=t||r<0||h&&e-p>=s}function v(){var e=Co();if(g(e))return x(e);u=Fa(v,function(e){var r=t-(e-c);return h?xr(r,s-(e-p)):r}(e))}function x(e){return u=i,d&&n?m(e):(n=o=i,l)}function k(){var e=Co(),r=g(e);if(n=arguments,o=this,c=e,r){if(u===i)return y(c);if(h)return wi(u),u=Fa(v,t),m(c)}return u===i&&(u=Fa(v,t)),l}return t=vs(t)||0,rs(r)&&(f=!!r.leading,s=(h="maxWait"in r)?vr(vs(r.maxWait)||0,t):s,d="trailing"in r?!!r.trailing:d),k.cancel=function(){u!==i&&wi(u),p=0,n=c=o=u=i},k.flush=function(){return u===i?l:x(Co())},k}var Io=Qn((function(e,t){return pn(e,1,t)})),Ro=Qn((function(e,t,r){return pn(e,vs(t)||0,r)}));function Bo(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Te(a);var r=function r(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(Bo.Cache||$r),r}function jo(e){if("function"!=typeof e)throw new Te(a);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Bo.Cache=$r;var Lo=bi((function(e,t){var r=(t=1==t.length&&qo(t[0])?Mt(t[0],Qt(ua())):Mt(vn(t,1),Qt(ua()))).length;return Qn((function(n){for(var i=-1,a=xr(n.length,r);++i=t})),Wo=Fn(function(){return arguments}())?Fn:function(e){return ns(e)&&Re.call(e,"callee")&&!Ke.call(e,"callee")},qo=r.isArray,$o=xt?Qt(xt):function(e){return ns(e)&&Pn(e)==I};function Ko(e){return null!=e&&ts(e.length)&&!Zo(e)}function Yo(e){return ns(e)&&Ko(e)}var Xo=vt||vl,Qo=kt?Qt(kt):function(e){return ns(e)&&Pn(e)==b};function Jo(e){if(!ns(e))return!1;var t=Pn(e);return t==_||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Zo(e){if(!rs(e))return!1;var t=Pn(e);return t==w||t==S||"[object AsyncFunction]"==t||"[object Proxy]"==t}function es(e){return"number"==typeof e&&e==ys(e)}function ts(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=d}function rs(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ns(e){return null!=e&&"object"==typeof e}var is=bt?Qt(bt):function(e){return ns(e)&&ma(e)==E};function as(e){return"number"==typeof e||ns(e)&&Pn(e)==P}function os(e){if(!ns(e)||Pn(e)!=A)return!1;var t=qe(e);if(null===t)return!0;var r=Re.call(t,"constructor")&&t.constructor;return"function"==typeof r&&r instanceof r&&Ie.call(r)==Ve}var ss=_t?Qt(_t):function(e){return ns(e)&&Pn(e)==T};var ls=wt?Qt(wt):function(e){return ns(e)&&ma(e)==D};function us(e){return"string"==typeof e||!qo(e)&&ns(e)&&Pn(e)==O}function cs(e){return"symbol"==typeof e||ns(e)&&Pn(e)==F}var ps=St?Qt(St):function(e){return ns(e)&&ts(e.length)&&!!ot[Pn(e)]};var fs=$i(Vn),hs=$i((function(e,t){return e<=t}));function ds(e){if(!e)return[];if(Ko(e))return us(e)?hr(e):Di(e);if(Qe&&e[Qe])return function(e){for(var t,r=[];!(t=e.next()).done;)r.push(t.value);return r}(e[Qe]());var t=ma(e);return(t==E?sr:t==D?cr:zs)(e)}function ms(e){return e?(e=vs(e))===h||e===-1/0?17976931348623157e292*(e<0?-1:1):e===e?e:0:0===e?e:0}function ys(e){var t=ms(e),r=t%1;return t===t?r?t-r:t:0}function gs(e){return e?ln(ys(e),0,y):0}function vs(e){if("number"==typeof e)return e;if(cs(e))return m;if(rs(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=rs(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Xt(e);var r=ge.test(e);return r||xe.test(e)?ct(e.slice(2),r?2:8):ye.test(e)?m:+e}function xs(e){return Oi(e,Is(e))}function ks(e){return null==e?"":ci(e)}var bs=Mi((function(e,t){if(Sa(t)||Ko(t))Oi(t,Ms(t),e);else for(var r in t)Re.call(t,r)&&tn(e,r,t[r])})),_s=Mi((function(e,t){Oi(t,Is(t),e)})),ws=Mi((function(e,t,r,n){Oi(t,Is(t),e,n)})),Ss=Mi((function(e,t,r,n){Oi(t,Ms(t),e,n)})),Es=na(sn);var Ps=Qn((function(e,t){e=Pe(e);var r=-1,n=t.length,a=n>2?t[2]:i;for(a&&ka(t[0],t[1],a)&&(n=1);++r1),t})),Oi(e,aa(e),r),n&&(r=un(r,7,ta));for(var i=t.length;i--;)fi(r,t[i]);return r}));var Ls=na((function(e,t){return null==e?{}:function(e,t){return qn(e,t,(function(t,r){return Ts(e,r)}))}(e,t)}));function Vs(e,t){if(null==e)return{};var r=Mt(aa(e),(function(e){return[e]}));return t=ua(t),qn(e,r,(function(e,r){return t(e,r[0])}))}var Ns=Qi(Ms),Gs=Qi(Is);function zs(e){return null==e?[]:Jt(e,Ms(e))}var Hs=ji((function(e,t,r){return t=t.toLowerCase(),e+(r?Us(t):t)}));function Us(e){return Js(ks(e).toLowerCase())}function Ws(e){return(e=ks(e))&&e.replace(be,nr).replace(Ze,"")}var qs=ji((function(e,t,r){return e+(r?"-":"")+t.toLowerCase()})),$s=ji((function(e,t,r){return e+(r?" ":"")+t.toLowerCase()})),Ks=Bi("toLowerCase");var Ys=ji((function(e,t,r){return e+(r?"_":"")+t.toLowerCase()}));var Xs=ji((function(e,t,r){return e+(r?" ":"")+Js(t)}));var Qs=ji((function(e,t,r){return e+(r?" ":"")+t.toUpperCase()})),Js=Bi("toUpperCase");function Zs(e,t,r){return e=ks(e),(t=r?i:t)===i?function(e){return nt.test(e)}(e)?function(e){return e.match(tt)||[]}(e):function(e){return e.match(pe)||[]}(e):e.match(t)||[]}var el=Qn((function(e,t){try{return Et(e,i,t)}catch(r){return Jo(r)?r:new se(r)}})),tl=na((function(e,t){return At(t,(function(t){t=La(t),on(e,t,Oo(e[t],e))})),e}));function rl(e){return function(){return e}}var nl=Ni(),il=Ni(!0);function al(e){return e}function ol(e){return Bn("function"==typeof e?e:un(e,1))}var sl=Qn((function(e,t){return function(r){return On(r,e,t)}})),ll=Qn((function(e,t){return function(r){return On(e,r,t)}}));function ul(e,t,r){var n=Ms(t),i=wn(t,n);null!=r||rs(t)&&(i.length||!n.length)||(r=t,t=e,e=this,i=wn(t,Ms(t)));var a=!(rs(r)&&"chain"in r)||!!r.chain,o=Zo(e);return At(i,(function(r){var n=t[r];e[r]=n,o&&(e.prototype[r]=function(){var t=this.__chain__;if(a||t){var r=e(this.__wrapped__),i=r.__actions__=Di(this.__actions__);return i.push({func:n,args:arguments,thisArg:e}),r.__chain__=t,r}return n.apply(e,It([this.value()],arguments))})})),e}function cl(){}var pl=Ui(Mt),fl=Ui(Tt),hl=Ui(jt);function dl(e){return ba(e)?Wt(La(e)):function(e){return function(t){return Sn(t,e)}}(e)}var ml=qi(),yl=qi(!0);function gl(){return[]}function vl(){return!1}var xl=Hi((function(e,t){return e+t}),0),kl=Yi("ceil"),bl=Hi((function(e,t){return e/t}),1),_l=Yi("floor");var wl=Hi((function(e,t){return e*t}),1),Sl=Yi("round"),El=Hi((function(e,t){return e-t}),0);return Nr.after=function(e,t){if("function"!=typeof t)throw new Te(a);return e=ys(e),function(){if(--e<1)return t.apply(this,arguments)}},Nr.ary=To,Nr.assign=bs,Nr.assignIn=_s,Nr.assignInWith=ws,Nr.assignWith=Ss,Nr.at=Es,Nr.before=Do,Nr.bind=Oo,Nr.bindAll=tl,Nr.bindKey=Fo,Nr.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return qo(e)?e:[e]},Nr.chain=ho,Nr.chunk=function(e,t,n){t=(n?ka(e,t,n):t===i)?1:vr(ys(t),0);var a=null==e?0:e.length;if(!a||t<1)return[];for(var o=0,s=0,l=r(dt(a/t));oa?0:a+r),(n=n===i||n>a?a:ys(n))<0&&(n+=a),n=r>n?0:gs(n);r>>0)?(e=ks(e))&&("string"==typeof t||null!=t&&!ss(t))&&!(t=ci(t))&&or(e)?_i(hr(e),0,r):e.split(t,r):[]},Nr.spread=function(e,t){if("function"!=typeof e)throw new Te(a);return t=null==t?0:vr(ys(t),0),Qn((function(r){var n=r[t],i=_i(r,0,t);return n&&It(i,n),Et(e,this,i)}))},Nr.tail=function(e){var t=null==e?0:e.length;return t?ii(e,1,t):[]},Nr.take=function(e,t,r){return e&&e.length?ii(e,0,(t=r||t===i?1:ys(t))<0?0:t):[]},Nr.takeRight=function(e,t,r){var n=null==e?0:e.length;return n?ii(e,(t=n-(t=r||t===i?1:ys(t)))<0?0:t,n):[]},Nr.takeRightWhile=function(e,t){return e&&e.length?di(e,ua(t,3),!1,!0):[]},Nr.takeWhile=function(e,t){return e&&e.length?di(e,ua(t,3)):[]},Nr.tap=function(e,t){return t(e),e},Nr.throttle=function(e,t,r){var n=!0,i=!0;if("function"!=typeof e)throw new Te(a);return rs(r)&&(n="leading"in r?!!r.leading:n,i="trailing"in r?!!r.trailing:i),Mo(e,t,{leading:n,maxWait:t,trailing:i})},Nr.thru=mo,Nr.toArray=ds,Nr.toPairs=Ns,Nr.toPairsIn=Gs,Nr.toPath=function(e){return qo(e)?Mt(e,La):cs(e)?[e]:Di(ja(ks(e)))},Nr.toPlainObject=xs,Nr.transform=function(e,t,r){var n=qo(e),i=n||Xo(e)||ps(e);if(t=ua(t,4),null==r){var a=e&&e.constructor;r=i?n?new a:[]:rs(e)&&Zo(a)?Gr(qe(e)):{}}return(i?At:bn)(e,(function(e,n,i){return t(r,e,n,i)})),r},Nr.unary=function(e){return To(e,1)},Nr.union=ro,Nr.unionBy=no,Nr.unionWith=io,Nr.uniq=function(e){return e&&e.length?pi(e):[]},Nr.uniqBy=function(e,t){return e&&e.length?pi(e,ua(t,2)):[]},Nr.uniqWith=function(e,t){return t="function"==typeof t?t:i,e&&e.length?pi(e,i,t):[]},Nr.unset=function(e,t){return null==e||fi(e,t)},Nr.unzip=ao,Nr.unzipWith=oo,Nr.update=function(e,t,r){return null==e?e:hi(e,t,xi(r))},Nr.updateWith=function(e,t,r,n){return n="function"==typeof n?n:i,null==e?e:hi(e,t,xi(r),n)},Nr.values=zs,Nr.valuesIn=function(e){return null==e?[]:Jt(e,Is(e))},Nr.without=so,Nr.words=Zs,Nr.wrap=function(e,t){return Vo(xi(t),e)},Nr.xor=lo,Nr.xorBy=uo,Nr.xorWith=co,Nr.zip=po,Nr.zipObject=function(e,t){return gi(e||[],t||[],tn)},Nr.zipObjectDeep=function(e,t){return gi(e||[],t||[],ei)},Nr.zipWith=fo,Nr.entries=Ns,Nr.entriesIn=Gs,Nr.extend=_s,Nr.extendWith=ws,ul(Nr,Nr),Nr.add=xl,Nr.attempt=el,Nr.camelCase=Hs,Nr.capitalize=Us,Nr.ceil=kl,Nr.clamp=function(e,t,r){return r===i&&(r=t,t=i),r!==i&&(r=(r=vs(r))===r?r:0),t!==i&&(t=(t=vs(t))===t?t:0),ln(vs(e),t,r)},Nr.clone=function(e){return un(e,4)},Nr.cloneDeep=function(e){return un(e,5)},Nr.cloneDeepWith=function(e,t){return un(e,5,t="function"==typeof t?t:i)},Nr.cloneWith=function(e,t){return un(e,4,t="function"==typeof t?t:i)},Nr.conformsTo=function(e,t){return null==t||cn(e,t,Ms(t))},Nr.deburr=Ws,Nr.defaultTo=function(e,t){return null==e||e!==e?t:e},Nr.divide=bl,Nr.endsWith=function(e,t,r){e=ks(e),t=ci(t);var n=e.length,a=r=r===i?n:ln(ys(r),0,n);return(r-=t.length)>=0&&e.slice(r,a)==t},Nr.eq=zo,Nr.escape=function(e){return(e=ks(e))&&Q.test(e)?e.replace(Y,ir):e},Nr.escapeRegExp=function(e){return(e=ks(e))&&ae.test(e)?e.replace(ie,"\\$&"):e},Nr.every=function(e,t,r){var n=qo(e)?Tt:mn;return r&&ka(e,t,r)&&(t=i),n(e,ua(t,3))},Nr.find=vo,Nr.findIndex=Ua,Nr.findKey=function(e,t){return Vt(e,ua(t,3),bn)},Nr.findLast=xo,Nr.findLastIndex=Wa,Nr.findLastKey=function(e,t){return Vt(e,ua(t,3),_n)},Nr.floor=_l,Nr.forEach=ko,Nr.forEachRight=bo,Nr.forIn=function(e,t){return null==e?e:xn(e,ua(t,3),Is)},Nr.forInRight=function(e,t){return null==e?e:kn(e,ua(t,3),Is)},Nr.forOwn=function(e,t){return e&&bn(e,ua(t,3))},Nr.forOwnRight=function(e,t){return e&&_n(e,ua(t,3))},Nr.get=Cs,Nr.gt=Ho,Nr.gte=Uo,Nr.has=function(e,t){return null!=e&&ya(e,t,Cn)},Nr.hasIn=Ts,Nr.head=$a,Nr.identity=al,Nr.includes=function(e,t,r,n){e=Ko(e)?e:zs(e),r=r&&!n?ys(r):0;var i=e.length;return r<0&&(r=vr(i+r,0)),us(e)?r<=i&&e.indexOf(t,r)>-1:!!i&&Gt(e,t,r)>-1},Nr.indexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var i=null==r?0:ys(r);return i<0&&(i=vr(n+i,0)),Gt(e,t,i)},Nr.inRange=function(e,t,r){return t=ms(t),r===i?(r=t,t=0):r=ms(r),function(e,t,r){return e>=xr(t,r)&&e=-9007199254740991&&e<=d},Nr.isSet=ls,Nr.isString=us,Nr.isSymbol=cs,Nr.isTypedArray=ps,Nr.isUndefined=function(e){return e===i},Nr.isWeakMap=function(e){return ns(e)&&ma(e)==M},Nr.isWeakSet=function(e){return ns(e)&&"[object WeakSet]"==Pn(e)},Nr.join=function(e,t){return null==e?"":qt.call(e,t)},Nr.kebabCase=qs,Nr.last=Qa,Nr.lastIndexOf=function(e,t,r){var n=null==e?0:e.length;if(!n)return-1;var a=n;return r!==i&&(a=(a=ys(r))<0?vr(n+a,0):xr(a,n-1)),t===t?function(e,t,r){for(var n=r+1;n--;)if(e[n]===t)return n;return n}(e,t,a):Nt(e,Ht,a,!0)},Nr.lowerCase=$s,Nr.lowerFirst=Ks,Nr.lt=fs,Nr.lte=hs,Nr.max=function(e){return e&&e.length?yn(e,al,An):i},Nr.maxBy=function(e,t){return e&&e.length?yn(e,ua(t,2),An):i},Nr.mean=function(e){return Ut(e,al)},Nr.meanBy=function(e,t){return Ut(e,ua(t,2))},Nr.min=function(e){return e&&e.length?yn(e,al,Vn):i},Nr.minBy=function(e,t){return e&&e.length?yn(e,ua(t,2),Vn):i},Nr.stubArray=gl,Nr.stubFalse=vl,Nr.stubObject=function(){return{}},Nr.stubString=function(){return""},Nr.stubTrue=function(){return!0},Nr.multiply=wl,Nr.nth=function(e,t){return e&&e.length?Un(e,ys(t)):i},Nr.noConflict=function(){return ht._===this&&(ht._=Ne),this},Nr.noop=cl,Nr.now=Co,Nr.pad=function(e,t,r){e=ks(e);var n=(t=ys(t))?fr(e):0;if(!t||n>=t)return e;var i=(t-n)/2;return Wi(mt(i),r)+e+Wi(dt(i),r)},Nr.padEnd=function(e,t,r){e=ks(e);var n=(t=ys(t))?fr(e):0;return t&&nt){var n=e;e=t,t=n}if(r||e%1||t%1){var a=_r();return xr(e+a*(t-e+ut("1e-"+((a+"").length-1))),t)}return Yn(e,t)},Nr.reduce=function(e,t,r){var n=qo(e)?Rt:$t,i=arguments.length<3;return n(e,ua(t,4),r,i,hn)},Nr.reduceRight=function(e,t,r){var n=qo(e)?Bt:$t,i=arguments.length<3;return n(e,ua(t,4),r,i,dn)},Nr.repeat=function(e,t,r){return t=(r?ka(e,t,r):t===i)?1:ys(t),Xn(ks(e),t)},Nr.replace=function(){var e=arguments,t=ks(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Nr.result=function(e,t,r){var n=-1,a=(t=ki(t,e)).length;for(a||(a=1,e=i);++nd)return[];var r=y,n=xr(e,y);t=ua(t),e-=y;for(var i=Yt(n,t);++r=o)return e;var l=r-fr(n);if(l<1)return n;var u=s?_i(s,0,l).join(""):e.slice(0,l);if(a===i)return u+n;if(s&&(l+=u.length-l),ss(a)){if(e.slice(l).search(a)){var c,p=u;for(a.global||(a=Ae(a.source,ks(me.exec(a))+"g")),a.lastIndex=0;c=a.exec(p);)var f=c.index;u=u.slice(0,f===i?l:f)}}else if(e.indexOf(ci(a),l)!=l){var h=u.lastIndexOf(a);h>-1&&(u=u.slice(0,h))}return u+n},Nr.unescape=function(e){return(e=ks(e))&&X.test(e)?e.replace(K,mr):e},Nr.uniqueId=function(e){var t=++Be;return ks(e)+t},Nr.upperCase=Qs,Nr.upperFirst=Js,Nr.each=ko,Nr.eachRight=bo,Nr.first=$a,ul(Nr,function(){var e={};return bn(Nr,(function(t,r){Re.call(Nr.prototype,r)||(e[r]=t)})),e}(),{chain:!1}),Nr.VERSION="4.17.21",At(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Nr[e].placeholder=Nr})),At(["drop","take"],(function(e,t){Ur.prototype[e]=function(r){r=r===i?1:vr(ys(r),0);var n=this.__filtered__&&!t?new Ur(this):this.clone();return n.__filtered__?n.__takeCount__=xr(r,n.__takeCount__):n.__views__.push({size:xr(r,y),type:e+(n.__dir__<0?"Right":"")}),n},Ur.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),At(["filter","map","takeWhile"],(function(e,t){var r=t+1,n=1==r||3==r;Ur.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:ua(e,3),type:r}),t.__filtered__=t.__filtered__||n,t}})),At(["head","last"],(function(e,t){var r="take"+(t?"Right":"");Ur.prototype[e]=function(){return this[r](1).value()[0]}})),At(["initial","tail"],(function(e,t){var r="drop"+(t?"":"Right");Ur.prototype[e]=function(){return this.__filtered__?new Ur(this):this[r](1)}})),Ur.prototype.compact=function(){return this.filter(al)},Ur.prototype.find=function(e){return this.filter(e).head()},Ur.prototype.findLast=function(e){return this.reverse().find(e)},Ur.prototype.invokeMap=Qn((function(e,t){return"function"==typeof e?new Ur(this):this.map((function(r){return On(r,e,t)}))})),Ur.prototype.reject=function(e){return this.filter(jo(ua(e)))},Ur.prototype.slice=function(e,t){e=ys(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Ur(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==i&&(r=(t=ys(t))<0?r.dropRight(-t):r.take(t-e)),r)},Ur.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Ur.prototype.toArray=function(){return this.take(y)},bn(Ur.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),n=/^(?:head|last)$/.test(t),a=Nr[n?"take"+("last"==t?"Right":""):t],o=n||/^find/.test(t);a&&(Nr.prototype[t]=function(){var t=this.__wrapped__,s=n?[1]:arguments,l=t instanceof Ur,u=s[0],c=l||qo(t),p=function(e){var t=a.apply(Nr,It([e],s));return n&&f?t[0]:t};c&&r&&"function"==typeof u&&1!=u.length&&(l=c=!1);var f=this.__chain__,h=!!this.__actions__.length,d=o&&!f,m=l&&!h;if(!o&&c){t=m?t:new Ur(this);var y=e.apply(t,s);return y.__actions__.push({func:mo,args:[p],thisArg:i}),new Hr(y,f)}return d&&m?e.apply(this,s):(y=this.thru(p),d?n?y.value()[0]:y.value():y)})})),At(["pop","push","shift","sort","splice","unshift"],(function(e){var t=De[e],r=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",n=/^(?:pop|shift)$/.test(e);Nr.prototype[e]=function(){var e=arguments;if(n&&!this.__chain__){var i=this.value();return t.apply(qo(i)?i:[],e)}return this[r]((function(r){return t.apply(qo(r)?r:[],e)}))}})),bn(Ur.prototype,(function(e,t){var r=Nr[t];if(r){var n=r.name+"";Re.call(Or,n)||(Or[n]=[]),Or[n].push({name:t,func:r})}})),Or[Gi(i,2).name]=[{name:"wrapper",func:i}],Ur.prototype.clone=function(){var e=new Ur(this.__wrapped__);return e.__actions__=Di(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Di(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Di(this.__views__),e},Ur.prototype.reverse=function(){if(this.__filtered__){var e=new Ur(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Ur.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,r=qo(e),n=t<0,i=r?e.length:0,a=function(e,t,r){var n=-1,i=r.length;for(;++n=this.__values__.length;return{done:e,value:e?i:this.__values__[this.__index__++]}},Nr.prototype.plant=function(e){for(var t,r=this;r instanceof zr;){var n=Na(r);n.__index__=0,n.__values__=i,t?a.__wrapped__=n:t=n;var a=n;r=r.__wrapped__}return a.__wrapped__=e,t},Nr.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Ur){var t=e;return this.__actions__.length&&(t=new Ur(this)),(t=t.reverse()).__actions__.push({func:mo,args:[to],thisArg:i}),new Hr(t,this.__chain__)}return this.thru(to)},Nr.prototype.toJSON=Nr.prototype.valueOf=Nr.prototype.value=function(){return mi(this.__wrapped__,this.__actions__)},Nr.prototype.first=Nr.prototype.head,Qe&&(Nr.prototype[Qe]=function(){return this}),Nr}();ht._=yr,(n=function(){return yr}.call(t,r,t,e))===i||(e.exports=n)}.call(this)},1127:function(e,t,r){!function(e,t,r){"use strict";function n(e){return e&&"object"===typeof e&&"default"in e?e:{default:e}}var i=n(t),a=n(r);function o(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function s(e){for(var t=1;t=0||(i[r]=e[r]);return i}function c(e,t){if(null==e)return{};var r,n,i=u(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function p(e,t){return f(e)||h(e,t)||d(e,t)||y()}function f(e){if(Array.isArray(e))return e}function h(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,i,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(l){s=!0,i=l}finally{try{o||null==r.return||r.return()}finally{if(s)throw i}}return a}}function d(e,t){if(e){if("string"===typeof e)return m(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);return"Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r?Array.from(e):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(e,t):void 0}}function m(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r0&&void 0!==arguments[0]?arguments[0]:{};if(C.current){null===(t=A.current)||void 0===t||t.destroy();var n=s(s(s({},e),r),{},{container:C.current});return A.current=i.default.loadAnimation(n),P(!!A.current),function(){var e;null===(e=A.current)||void 0===e||e.destroy(),A.current=void 0}}};return r.useEffect((function(){var e=N();return function(){return null===e||void 0===e?void 0:e()}}),[n,o]),r.useEffect((function(){A.current&&(A.current.autoplay=!!l)}),[l]),r.useEffect((function(){A.current&&(u?Array.isArray(u)&&u.length&&((A.current.currentRawFrameu[1])&&(A.current.currentRawFrame=u[0]),A.current.setSegment(u[0],u[1])):A.current.resetSegments(!0))}),[u]),r.useEffect((function(){var e=[{name:"complete",handler:f},{name:"loopComplete",handler:h},{name:"enterFrame",handler:d},{name:"segmentStart",handler:m},{name:"config_ready",handler:y},{name:"data_ready",handler:v},{name:"data_failed",handler:x},{name:"loaded_images",handler:k},{name:"DOMLoaded",handler:b},{name:"destroy",handler:_}].filter((function(e){return null!=e.handler}));if(e.length){var t=e.map((function(e){var t;return null===(t=A.current)||void 0===t||t.addEventListener(e.name,e.handler),function(){var t;null===(t=A.current)||void 0===t||t.removeEventListener(e.name,e.handler)}}));return function(){t.forEach((function(e){return e()}))}}}),[f,h,d,m,y,v,x,k,b,_]),{View:a.default.createElement("div",s({style:t,ref:C},w)),play:T,stop:D,pause:O,setSpeed:F,goToAndStop:I,goToAndPlay:M,setDirection:R,playSegments:B,setSubframe:j,getDuration:L,destroy:V,animationContainerRef:C,animationLoaded:E,animationItem:A.current}};function x(e){var t=e.getBoundingClientRect(),r=t.top,n=t.height;return(window.innerHeight-r)/(window.innerHeight+n)}function k(e,t,r){var n=e.getBoundingClientRect(),i=n.top;return{x:(t-n.left)/n.width,y:(r-i)/n.height}}var b=function(e){var t=e.wrapperRef,n=e.animationItem,i=e.mode,a=e.actions;r.useEffect((function(){var e=t.current;if(e&&n&&a.length){n.stop();var r=function(){var t=null,r=function(){var r=x(e),i=a.find((function(e){var t=e.visibility;return t&&r>=t[0]&&r<=t[1]}));if(i){if("seek"===i.type&&i.visibility&&2===i.frames.length){var o=i.frames[0]+Math.ceil((r-i.visibility[0])/(i.visibility[1]-i.visibility[0])*i.frames[1]);n.goToAndStop(o-n.firstFrame-1,!0)}"loop"===i.type&&(null===t||t!==i.frames||n.isPaused)&&(n.playSegments(i.frames,!0),t=i.frames),"play"===i.type&&n.isPaused&&(n.resetSegments(!0),n.play()),"stop"===i.type&&n.goToAndStop(i.frames[0]-n.firstFrame-1,!0)}};return document.addEventListener("scroll",r),function(){document.removeEventListener("scroll",r)}},o=function(){var t=function(t,r){var i=t,o=r;if(-1!==i&&-1!==o){var s=k(e,i,o);i=s.x,o=s.y}var l=a.find((function(e){var t=e.position;return t&&Array.isArray(t.x)&&Array.isArray(t.y)?i>=t.x[0]&&i<=t.x[1]&&o>=t.y[0]&&o<=t.y[1]:!(!t||Number.isNaN(t.x)||Number.isNaN(t.y))&&i===t.x&&o===t.y}));if(l){if("seek"===l.type&&l.position&&Array.isArray(l.position.x)&&Array.isArray(l.position.y)&&2===l.frames.length){var u=(i-l.position.x[0])/(l.position.x[1]-l.position.x[0]),c=(o-l.position.y[0])/(l.position.y[1]-l.position.y[0]);n.playSegments(l.frames,!0),n.goToAndStop(Math.ceil((u+c)/2*(l.frames[1]-l.frames[0])),!0)}"loop"===l.type&&n.playSegments(l.frames,!0),"play"===l.type&&(n.isPaused&&n.resetSegments(!1),n.playSegments(l.frames)),"stop"===l.type&&n.goToAndStop(l.frames[0],!0)}},r=function(e){t(e.clientX,e.clientY)},i=function(){t(-1,-1)};return e.addEventListener("mousemove",r),e.addEventListener("mouseout",i),function(){e.removeEventListener("mousemove",r),e.removeEventListener("mouseout",i)}};switch(i){case"scroll":return r();case"cursor":return o()}}}),[i,n])},_=function(e){var t=e.actions,r=e.mode,n=e.lottieObj,i=n.animationItem,a=n.View,o=n.animationContainerRef;return b({actions:t,animationItem:i,mode:r,wrapperRef:o}),a},w=["style","interactivity"],S=function(e){var t,n,i,a=e.style,o=e.interactivity,s=c(e,w),l=v(s,a),u=l.View,p=l.play,f=l.stop,h=l.pause,d=l.setSpeed,m=l.goToAndStop,y=l.goToAndPlay,g=l.setDirection,x=l.playSegments,k=l.setSubframe,b=l.getDuration,S=l.destroy,E=l.animationContainerRef,P=l.animationLoaded,A=l.animationItem;return r.useEffect((function(){e.lottieRef&&(e.lottieRef.current={play:p,stop:f,pause:h,setSpeed:d,goToAndPlay:y,goToAndStop:m,setDirection:g,playSegments:x,setSubframe:k,getDuration:b,destroy:S,animationContainerRef:E,animationLoaded:P,animationItem:A})}),[null===(t=e.lottieRef)||void 0===t?void 0:t.current]),_({lottieObj:{View:u,play:p,stop:f,pause:h,setSpeed:d,goToAndStop:m,goToAndPlay:y,setDirection:g,playSegments:x,setSubframe:k,getDuration:b,destroy:S,animationContainerRef:E,animationLoaded:P,animationItem:A},actions:null!==(n=null===o||void 0===o?void 0:o.actions)&&void 0!==n?n:[],mode:null!==(i=null===o||void 0===o?void 0:o.mode)&&void 0!==i?i:"scroll"})};Object.defineProperty(e,"LottiePlayer",{enumerable:!0,get:function(){return i.default}}),e.default=S,e.useLottie=v,e.useLottieInteractivity=_,Object.defineProperty(e,"__esModule",{value:!0})}(t,r(9041),r(7313))},9041:function(module,exports,__webpack_require__){var factory;"undefined"!==typeof navigator&&(factory=function(){"use strict";var svgNS="http://www.w3.org/2000/svg",locationHref="",_useWebWorker=!1,initialDefaultFrame=-999999,setWebWorker=function(e){_useWebWorker=!!e},getWebWorker=function(){return _useWebWorker},setLocationHref=function(e){locationHref=e},getLocationHref=function(){return locationHref};function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n,i=e.length;for(r=0;r1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}var rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}(),setSubframeEnabled=function(e){subframeEnabled=!!e},getSubframeEnabled=function(){return subframeEnabled},setExpressionsPlugin=function(e){expressionsPlugin=e},getExpressionsPlugin=function(){return expressionsPlugin},setDefaultCurveSegments=function(e){defaultCurveSegments=e},getDefaultCurveSegments=function(){return defaultCurveSegments},setIdPrefix=function(e){idPrefix$1=e},getIdPrefix=function(){return idPrefix$1};function createNS(e){return document.createElementNS(svgNS,e)}function _typeof$5(e){return _typeof$5="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$5(e)}var dataManager=function(){var e,t,r=1,n=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},a={postMessage:function(e){i.onmessage({data:e})}};function o(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return e=t,i}((function(e){if(a.dataManager||(a.dataManager=function(){function e(i,a){var o,s,l,u,p,f,h=i.length;for(s=0;s=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(a=e[t].ks.k.length,i=0;ir[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var a=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function r(e){var r,n=e.length;for(r=0;r=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(i=e[r].ks.k.length,n=0;n500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function a(e){var t={assetData:e},r=n(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function o(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=a.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return o.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var n=e.length;for(r=0;rthis.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,i=n.length,a=e.layers,o=a.length;for(r=0;rthis.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFramet&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"===_typeof$4(e[0])){var r,n=e.length;for(r=0;r=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){o=!0},e.unfreeze=function(){o=!1,d()},e.setVolume=function(e,r){var i;for(i=0;i=.001?function(e,t,r,n){for(var i=0;i<4;++i){var a=l(t,r,n);if(0===a)return t;t-=(s(t,r,n)-e)/a}return t}(e,u,t,n):0===c?u:function(e,t,r,n,i){var a,o,l=0;do{(a=s(o=t+(r-t)/2,n,i)-e)>0?r=o:t=o}while(Math.abs(a)>1e-7&&++l<10);return o}(e,a,a+r,t,n)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var n=0,i=e,a=createSizedArray(i);return{newElement:function(){return n?a[n-=1]:t()},release:function(e){n===i&&(a=pooling.double(a),i*=2),r&&r(e),a[n]=e,n+=1}}},bezierLengthPool=poolFactory(8,(function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}})),segmentsLengthPool=poolFactory(8,(function(){return{lengths:[],totalLength:0}}),(function(e){var t,r=e.lengths.length;for(t=0;t-.001&&o<.001}var r=function(e,t,r,n){var i,a,o,s,l,u,c=getDefaultCurveSegments(),p=0,f=[],h=[],d=bezierLengthPool.newElement();for(o=r.length,i=0;io?-1:1,u=!0;u;)if(n[a]<=o&&n[a+1]>o?(s=(o-n[a])/(n[a+1]-n[a]),u=!1):a+=l,a<0||a>=i-1){if(a===i-1)return r[a];u=!1}return r[a]+(r[a+1]-r[a])*s}var s=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,n=segmentsLengthPool.newElement(),i=e.c,a=e.v,o=e.o,s=e.i,l=e._length,u=n.lengths,c=0;for(t=0;t1&&(a=1);var c,p=o(a,u),f=o(l=l>1?1:l,u),h=t.length,d=1-p,m=1-f,y=d*d*d,g=p*d*d*3,v=p*p*d*3,x=p*p*p,k=d*d*m,b=p*d*m+d*p*m+d*d*f,_=p*p*m+d*p*f+p*d*f,w=p*p*f,S=d*m*m,E=p*m*m+d*f*m+d*m*f,P=p*f*m+d*f*f+p*m*f,A=p*f*f,C=m*m*m,T=f*m*m+m*f*m+m*m*f,D=f*f*m+m*f*f+f*m*f,O=f*f*f;for(c=0;ch?f>d?f-h-d:d-h-f:d>h?d-h-f:h-f-d)>-1e-4&&p<1e-4}}}var bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function r(e,t){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var a,o,s,l,u,c,p,f,h,d=t.lastIndex,m=d,y=this.keyframes.length-1,g=!0;g;){if(a=this.keyframes[m],o=this.keyframes[m+1],m===y-1&&e>=o.t-i){a.h&&(a=o),d=0;break}if(o.t-i>e){d=m;break}m=x||e=x?b.points.length-1:0;for(u=b.points[_].point.length,l=0;l=E&&S=x?(r[0]=v[0],r[1]=v[1],r[2]=v[2]):e<=k?(r[0]=a.s[0],r[1]=a.s[1],r[2]=a.s[2]):function(e,t){var r=t[0],n=t[1],i=t[2],a=t[3],o=Math.atan2(2*n*a-2*r*i,1-2*n*n-2*i*i),s=Math.asin(2*r*n+2*i*a),l=Math.atan2(2*r*a-2*n*i,1-2*r*r-2*i*i);e[0]=o/degToRads,e[1]=s/degToRads,e[2]=l/degToRads}(r,function(e,t,r){var n,i,a,o,s,l=[],u=e[0],c=e[1],p=e[2],f=e[3],h=t[0],d=t[1],m=t[2],y=t[3];return(i=u*h+c*d+p*m+f*y)<0&&(i=-i,h=-h,d=-d,m=-m,y=-y),1-i>1e-6?(n=Math.acos(i),a=Math.sin(n),o=Math.sin((1-r)*n)/a,s=Math.sin(r*n)/a):(o=1-r,s=r),l[0]=o*u+s*h,l[1]=o*c+s*d,l[2]=o*p+s*m,l[3]=o*f+s*y,l}(n(a.s),n(v),(e-k)/(x-k)));else for(m=0;m=x?c=1:e=n&&t>=n||this._caching.lastFrame=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function a(e){var r;if("unidimensional"===this.propType)r=e*this.mult,t(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var n=0,i=this.v.length;n1e-5&&(this.v[n]=r,this._mdf=!0),n+=1}function o(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e=this._maxLength&&this.doubleArrayLength(),r){case"v":a=this.v;break;case"i":a=this.i;break;case"o":a=this.o;break;default:a=[]}(!a[n]||a[n]&&!i)&&(a[n]=pointPool.newElement()),a[n][0]=e,a[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,i,a,o,s){this.setXYAt(e,t,"v",o,s),this.setXYAt(r,n,"o",o,s),this.setXYAt(i,a,"i",o,s)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var a,o=this._length-1,s=this._length;for(a=i;a=h[h.length-1].t-this.offsetTime)n=h[h.length-1].s?h[h.length-1].s[0]:h[h.length-2].e[0],a=!0;else{for(var d,m,y,g=f,v=h.length-1,x=!0;x&&(d=h[g],!((m=h[g+1]).t-this.offsetTime>e));)g=m.t-this.offsetTime)c=1;else if(en&&t>n)||(this._caching.lastIndex=i0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function F(){var e=this.props;return"matrix("+O(e[0])+","+O(e[1])+","+O(e[4])+","+O(e[5])+","+O(e[12])+","+O(e[13])+")"}return function(){this.reset=i,this.rotate=a,this.rotateX=o,this.rotateY=s,this.rotateZ=l,this.skew=c,this.skewFromAxis=p,this.shear=u,this.scale=f,this.setTransform=h,this.translate=d,this.transform=m,this.applyToPoint=k,this.applyToX=b,this.applyToY=_,this.applyToZ=w,this.applyToPointArray=C,this.applyToTriplePoints=A,this.applyToPointStringified=T,this.toCSS=D,this.to2dCSS=F,this.clone=v,this.cloneFromProps=x,this.equals=g,this.inversePoints=P,this.inversePoint=E,this.getInverseMatrix=S,this._t=this.transform,this.isIdentity=y,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();function _typeof$3(e){return _typeof$3="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof$3(e)}var lottie={},standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"===typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!==typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r=1?a.push({s:e-1,e:t-1}):(a.push({s:e,e:1}),a.push({s:0,e:t-1}));var o,s,l=[],u=a.length;for(o=0;on+r||(c=s.s*i<=n?0:(s.s*i-n)/r,p=s.e*i>=n+r?1:(s.e*i-n)/r,l.push([c,p]))}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t1?1+a:this.s.v<0?0+a:this.s.v+a)>(r=this.e.v>1?1+a:this.e.v<0?0+a:this.e.v+a)){var o=t;t=r,r=o}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var s,l,u,c,p,f=this.shapes.length,h=0;if(r===t)for(i=0;i=0;i-=1)if((d=this.shapes[i]).shape._mdf){for((m=d.localShapeCollection).releaseShapes(),2===this.m&&f>1?(g=this.calculateShapeEdges(t,r,d.totalShapeLength,k,h),k+=d.totalShapeLength):g=[[v,x]],l=g.length,s=0;s=1?y.push({s:d.totalShapeLength*(v-1),e:d.totalShapeLength*(x-1)}):(y.push({s:d.totalShapeLength*v,e:d.totalShapeLength}),y.push({s:0,e:d.totalShapeLength*(x-1)}));var b=this.addShapes(d,y[0]);if(y[0].s!==y[0].e){if(y.length>1)if(d.shape.paths.shapes[d.shape.paths._length-1].c){var _=b.pop();this.addPaths(b,m),b=this.addShapes(d,y[1],_)}else this.addPaths(b,m),b=this.addShapes(d,y[1]);this.addPaths(b,m)}}d.shape.paths=m}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;rt.e){r.c=!1;break}t.s<=d&&t.e>=d+o.addedLength?(this.addSegment(f[n].v[i-1],f[n].o[i-1],f[n].i[i],f[n].v[i],r,s,y),y=!1):(u=bez.getNewSegment(f[n].v[i-1],f[n].v[i],f[n].o[i-1],f[n].i[i],(t.s-d)/o.addedLength,(t.e-d)/o.addedLength,l[i-1]),this.addSegmentFromArray(u,r,s,y),y=!1,r.c=!1),d+=o.addedLength,s+=1}if(f[n].c&&l.length){if(o=l[i-1],d<=t.e){var g=l[i-1].addedLength;t.s<=d&&t.e>=d+g?(this.addSegment(f[n].v[i-1],f[n].o[i-1],f[n].i[0],f[n].v[0],r,s,y),y=!1):(u=bez.getNewSegment(f[n].v[i-1],f[n].v[0],f[n].o[i-1],f[n].i[0],(t.s-d)/g,(t.e-d)/g,l[i-1]),this.addSegmentFromArray(u,r,s,y),y=!1,r.c=!1)}else r.c=!1;d+=o.addedLength,s+=1}if(r._length&&(r.setXYAt(r.v[c][0],r.v[c][1],"i",c),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),d>t.e)break;n=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var a=this.px,o=this.py;a._caching.lastFrame+a.offsetTime<=a.keyframes[0].t?(n[0]=a.getValueAtTime((a.keyframes[0].t+.01)/r,0),n[1]=o.getValueAtTime((o.keyframes[0].t+.01)/r,0),i[0]=a.getValueAtTime(a.keyframes[0].t/r,0),i[1]=o.getValueAtTime(o.keyframes[0].t/r,0)):a._caching.lastFrame+a.offsetTime>=a.keyframes[a.keyframes.length-1].t?(n[0]=a.getValueAtTime(a.keyframes[a.keyframes.length-1].t/r,0),n[1]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/r,0),i[0]=a.getValueAtTime((a.keyframes[a.keyframes.length-1].t-.01)/r,0),i[1]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/r,0)):(n=[a.pv,o.pv],i[0]=a.getValueAtTime((a._caching.lastFrame+a.offsetTime-.01)/r,a.offsetTime),i[1]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/r,o.offsetTime))}else n=i=e;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,n){return new t(e,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",n="normal",i=t.length,a=0;a0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t0?Math.floor(f):Math.ceil(f),m=this.pMatrix.props,y=this.rMatrix.props,g=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,x,k=0;if(f>0){for(;kd;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),k-=1;h&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-h,!0),k-=h)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,a=this._currentCopies;a;){if(x=(r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==k){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(y[0],y[1],y[2],y[3],y[4],y[5],y[6],y[7],y[8],y[9],y[10],y[11],y[12],y[13],y[14],y[15]),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(m[0],m[1],m[2],m[3],m[4],m[5],m[6],m[7],m[8],m[9],m[10],m[11],m[12],m[13],m[14],m[15]),v=0;v0&&(c=!1),c){var p=createTag("style");p.setAttribute("f-forigin",n[r].fOrigin),p.setAttribute("f-origin",n[r].origin),p.setAttribute("f-family",n[r].fFamily),p.type="text/css",p.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",t.appendChild(p)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),u=0;ue?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e0&&(this.maskElement.setAttribute("id",y),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+y+")"),a.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e1&&(a+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==a){var o="";r.elem&&(t.c&&(o=e.inv?this.solidPath+a:a),r.elem.setAttribute("d",o)),r.lastPath=a}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};var filtersFactory=function(){var e={createFilter:function(e,t){var r=createNS("filter");return r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%")),r},createAlphaToLuminanceFilter:function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"),e}};return e}(),featureSupport=function(){var e={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),e}(),registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,r,n="SourceGraphic",i=e.data.ef?e.data.ef.length:0,a=createElementID(),o=filtersFactory.createFilter(a,!0),s=0;for(this.filters=[],t=0;t=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!==this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e0;)l=n.transformers[m].mProps._mdf||l,d-=1,m-=1;if(l)for(d=g-n.styles[c].lvl,m=n.transformers.length-1;d>0;)h=n.transformers[m].mProps.v.props,f.transform(h[0],h[1],h[2],h[3],h[4],h[5],h[6],h[7],h[8],h[9],h[10],h[11],h[12],h[13],h[14],h[15]),d-=1,m-=1}else f=e;if(o=(p=n.sh.paths)._length,l){for(s="",a=0;a=1?v=.99:v<=-1&&(v=-.99);var x=s*v,k=Math.cos(g+t.a.v)*x+c[0],b=Math.sin(g+t.a.v)*x+c[1];l.setAttribute("fx",k),l.setAttribute("fy",b),u&&!t.g._collapsable&&(t.of.setAttribute("fx",k),t.of.setAttribute("fy",b))}}function l(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return a;case"gf":return s;case"gs":return o;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,n,i,a){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=a,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,r,n,i=this.shapes.length,a=this.stylesList.length,o=[],s=!1;for(r=0;r1&&s&&this.setShapesAsAnimated(o)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t=0;s-=1){if((f=this.searchProcessedElement(e[s]))?t[s]=r[f-1]:e[s]._render=o,"fl"===e[s].ty||"st"===e[s].ty||"gf"===e[s].ty||"gs"===e[s].ty||"no"===e[s].ty)f?t[s].style.closed=!1:t[s]=this.createStyleElement(e[s],i),e[s]._render&&t[s].style.pElem.parentNode!==n&&n.appendChild(t[s].style.pElem),m.push(t[s].style);else if("gr"===e[s].ty){if(f)for(u=t[s].it.length,l=0;l1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,a=e||this.data.d.k[this.keysIndex].s;for(n=0;nt);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r,n=[],i=0,a=e.length,o=!1;i=55296&&t<=56319?(r=e.charCodeAt(i+1))>=56320&&r<=57343?(o||FontManager.isModifier(t,r)?(n[n.length-1]+=e.substr(i,2),o=!1):n.push(e.substr(i,2)),i+=1):n.push(e.charAt(i)):t>56319?(r=e.charCodeAt(i+1),FontManager.isZeroWidthJoiner(t,r)?(o=!0,n[n.length-1]+=e.substr(i,2),i+=1):n.push(e.charAt(i))):FontManager.isZeroWidthJoiner(t)?(n[n.length-1]+=e.charAt(i),o=!0):n.push(e.charAt(i)),i+=1;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,i,a,o,s,l=this.elem.globalData.fontManager,u=this.data,c=[],p=0,f=u.m.g,h=0,d=0,m=0,y=[],g=0,v=0,x=l.getFontByName(e.f),k=0,b=getFontProperties(x);e.fWeight=b.weight,e.fStyle=b.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var _,w=e.tr/1e3*e.finalSize;if(e.sz)for(var S,E,P=!0,A=e.sz[0],C=e.sz[1];P;){S=0,g=0,r=(E=this.buildFinalText(e.t)).length,w=e.tr/1e3*e.finalSize;var T=-1;for(t=0;tA&&" "!==E[t]?(-1===T?r+=1:t=T,S+=e.finalLineHeight||1.2*e.finalSize,E.splice(t,T===t?1:0,"\r"),T=-1,g=0):(g+=k,g+=w);S+=x.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&Cv?g:v,g=-2*w,i="",n=!0,m+=1):i=D,l.chars?(s=l.getCharData(D,x.fStyle,l.getFontByName(e.f).fFamily),k=n?0:s.w*e.finalSize/100):k=l.measureText(i,e.f,e.finalSize)," "===D?O+=k+w:(g+=k+w+O,O=0),c.push({l:k,an:k,add:h,n:n,anIndexes:[],val:i,line:m,animatorJustifyOffset:0}),2==f){if(h+=k,""===i||" "===i||t===r-1){for(""!==i&&" "!==i||(h-=k);d<=t;)c[d].an=h,c[d].ind=p,c[d].extra=k,d+=1;p+=1,h=0}}else if(3==f){if(h+=k,""===i||t===r-1){for(""===i&&(h-=k);d<=t;)c[d].an=h,c[d].ind=p,c[d].extra=k,d+=1;h=0,p+=1}}else c[p].ind=p,c[p].extra=0,p+=1;if(e.l=c,v=g>v?g:v,y.push(g),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=y;var F,M,I,R,B=u.a;o=B.length;var j=[];for(a=0;a0?i=this.ne.v/100:a=-this.ne.v/100,this.xe.v>0?o=1-this.xe.v/100:s=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,a,o,s).get,u=0,c=this.finalS,p=this.finalE,f=this.data.sh;if(2===f)u=l(u=p===c?n>=p?1:0:e(0,t(.5/(p-c)+(n-c)/(p-c),1)));else if(3===f)u=l(u=p===c?n>=p?0:1:1-e(0,t(.5/(p-c)+(n-c)/(p-c),1)));else if(4===f)p===c?u=0:(u=e(0,t(.5/(p-c)+(n-c)/(p-c),1)))<.5?u*=2:u=1-2*(u-.5),u=l(u);else if(5===f){if(p===c)u=0;else{var h=p-c,d=-h/2+(n=t(e(0,n+.5-c),p-c)),m=h/2;u=Math.sqrt(1-d*d/(m*m))}u=l(u)}else 6===f?(p===c?u=0:(n=t(e(0,n+.5-c),p-c),u=(1+Math.cos(Math.PI+2*Math.PI*n/(p-c)))/2),u=l(u)):(n>=r(c)&&(u=e(0,t(n-c<0?t(p,1)-(c-n):p-n,1))),u=l(u));if(100!==this.sm.v){var y=.01*this.sm.v;0===y&&(y=1e-8);var g=.5-.5*y;u1&&(u=1)}return u*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,n=this.s.v/t+r,i=this.e.v/t+r;if(n>i){var a=n;n=i,i=a}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},i=PropertyFactory.getProp,a=t.a;this.a={r:a.r?i(e,a.r,0,degToRads,r):n,rx:a.rx?i(e,a.rx,0,degToRads,r):n,ry:a.ry?i(e,a.ry,0,degToRads,r):n,sk:a.sk?i(e,a.sk,0,degToRads,r):n,sa:a.sa?i(e,a.sa,0,degToRads,r):n,s:a.s?i(e,a.s,1,.01,r):n,a:a.a?i(e,a.a,1,0,r):n,o:a.o?i(e,a.o,0,.01,r):n,p:a.p?i(e,a.p,1,0,r):n,sw:a.sw?i(e,a.sw,0,0,r):n,sc:a.sc?i(e,a.sc,1,0,r):n,fc:a.fc?i(e,a.fc,1,0,r):n,fh:a.fh?i(e,a.fh,0,0,r):n,fs:a.fs?i(e,a.fs,0,.01,r):n,fb:a.fb?i(e,a.fb,0,.01,r):n,t:a.t?i(e,a.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e=s+se||!d?(v=(s+se-u)/l.partialLength,L=h.point[0]+(l.point[0]-h.point[0])*v,V=h.point[1]+(l.point[1]-h.point[1])*v,S.translate(-b[0]*A[i].an*.005,-b[1]*R*.01),c=!1):d&&(u+=l.partialLength,(p+=1)>=d.length&&(p=0,m[f+=1]?d=m[f].points:k.v.c?(p=0,d=m[f=0].points):(u-=l.partialLength,d=null)),d&&(h=l,y=(l=d[p]).partialLength));j=A[i].an/2-A[i].add,S.translate(-j,0,0)}else j=A[i].an/2-A[i].add,S.translate(-j,0,0),S.translate(-b[0]*A[i].an*.005,-b[1]*R*.01,0);for(O=0;Oe?this.textSpans[e].span:createNS(l?"g":"text"),y<=e){if(o.setAttribute("stroke-linecap","butt"),o.setAttribute("stroke-linejoin","round"),o.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=o,l){var g=createNS("g");o.appendChild(g),this.textSpans[e].childSpan=g}this.textSpans[e].span=o,this.layerElement.appendChild(o)}o.style.display="inherit"}if(u.reset(),c&&(s[e].n&&(p=-d,f+=r.yOffset,f+=h?1:0,h=!1),this.applyTextPropertiesToMatrix(r,u,s[e].line,p,f),p+=s[e].l||0,p+=d),l){var v;if(1===(m=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(m.data,this.globalData,this);else{var x=emptyShapeData;m.data&&m.data.shapes&&(x=this.buildShapeData(m.data,r.finalSize)),v=new SVGShapeElement(x,this.globalData,this)}if(this.textSpans[e].glyph){var k=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(k.layerElement),k.destroy()}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),1===m.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else c&&o.setAttribute("transform","translate("+u.props[12]+","+u.props[13]+")"),o.textContent=s[e].val,o.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}c&&o&&o.setAttribute("d","")}else{var b=this.textContainer,_="start";switch(r.j){case 1:_="end";break;case 2:_="middle";break;default:_="start"}b.setAttribute("text-anchor",_),b.setAttribute("letter-spacing",d);var w=this.buildTextContents(r.finalText);for(t=w.length,f=r.ps?r.ps[1]+r.ascent:0,e=0;e=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e=0;n-=1)r=e.transforms[n].transform.mProps.v.props,e.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);e._mdf=a},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t=0;a-=1){if((l=this.searchProcessedElement(e[a]))?t[a]=r[l-1]:e[a]._shouldRender=n,"fl"===e[a].ty||"st"===e[a].ty||"gf"===e[a].ty||"gs"===e[a].ty)l?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],d),f.push(t[a].style);else if("gr"===e[a].ty){if(l)for(s=t[a].it.length,o=0;o=0;i-=1)"tr"===t[i].ty?(a=r[i].transform,this.renderShapeTransform(e,a)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],r[i]):"fl"===t[i].ty?this.renderFill(t[i],r[i],a):"st"===t[i].ty?this.renderStroke(t[i],r[i],a):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],r[i],a):"gr"===t[i].ty?this.renderShape(a,t[i].it,r[i].it):t[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,i,a=e.trNodes,o=t.paths,s=o._length;a.length=0;var l=e.transforms.finalTransform;for(i=0;i=1?p=.99:p<=-1&&(p=-.99);var f=u*p,h=Math.cos(c+t.a.v)*f+s[0],d=Math.sin(c+t.a.v)*f+s[1];n=o.createRadialGradient(h,d,0,s[0],s[1],u)}var m=e.g.p,y=t.g.c,g=1;for(a=0;as&&"xMidYMid slice"===l||or&&"meet"===a||nr&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===s&&(nr&&"slice"===a)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(n>r&&"meet"===a||nr&&"meet"===a||n=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;)this.pendingElements.pop().checkParenting()},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},HBaseElement.prototype={checkBlendMode:function(){},initRendererElement:function(){this.baseElement=createTag(this.data.tg||"div"),this.data.hasMask?(this.svgElement=createNS("svg"),this.layerElement=createNS("g"),this.maskedElement=this.layerElement,this.svgElement.appendChild(this.layerElement),this.baseElement.appendChild(this.svgElement)):this.layerElement=this.baseElement,styleDiv(this.baseElement)},createContainerElements:function(){this.renderableEffectsManager=new CVEffects(this),this.transformedElement=this.baseElement,this.maskedElement=this.layerElement,this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0!==this.data.bm&&this.setBlendMode()},renderElement:function(){var e=this.transformedElement?this.transformedElement.style:{};if(this.finalTransform._matMdf){var t=this.finalTransform.mat.toCSS();e.transform=t,e.webkitTransform=t}this.finalTransform._opMdf&&(e.opacity=this.finalTransform.mProp.o.v)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},destroy:function(){this.layerElement=null,this.transformedElement=null,this.matteElement&&(this.matteElement=null),this.maskManager&&(this.maskManager.destroy(),this.maskManager=null)},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData)},addEffects:function(){},setMatte:function(){}},HBaseElement.prototype.getBaseElement=SVGBaseElement.prototype.getBaseElement,HBaseElement.prototype.destroyBaseElement=HBaseElement.prototype.destroy,HBaseElement.prototype.buildElementParenting=BaseRenderer.prototype.buildElementParenting,extendPrototype([BaseElement,TransformElement,HBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],HSolidElement),HSolidElement.prototype.createContent=function(){var e;this.data.hasMask?((e=createNS("rect")).setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.svgElement.setAttribute("width",this.data.sw),this.svgElement.setAttribute("height",this.data.sh)):((e=createTag("div")).style.width=this.data.sw+"px",e.style.height=this.data.sh+"px",e.style.backgroundColor=this.data.sc),this.layerElement.appendChild(e)},extendPrototype([BaseElement,TransformElement,HSolidElement,SVGShapeElement,HBaseElement,HierarchyElement,FrameElement,RenderableElement],HShapeElement),HShapeElement.prototype._renderShapeFrame=HShapeElement.prototype.renderInnerContent,HShapeElement.prototype.createContent=function(){var e;if(this.baseElement.style.fontSize=0,this.data.hasMask)this.layerElement.appendChild(this.shapesContainer),e=this.svgElement;else{e=createNS("svg");var t=this.comp.data?this.comp.data:this.globalData.compSize;e.setAttribute("width",t.w),e.setAttribute("height",t.h),e.appendChild(this.shapesContainer),this.layerElement.appendChild(e)}this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.shapesContainer,0,[],!0),this.filterUniqueShapes(),this.shapeCont=e},HShapeElement.prototype.getTransformedPoint=function(e,t){var r,n=e.length;for(r=0;r0&&s<1&&p[f].push(this.calculateF(s,e,t,r,n,f)):(l=a*a-4*o*i)>=0&&((u=(-a+bmSqrt(l))/(2*i))>0&&u<1&&p[f].push(this.calculateF(u,e,t,r,n,f)),(c=(-a-bmSqrt(l))/(2*i))>0&&c<1&&p[f].push(this.calculateF(c,e,t,r,n,f))));this.shapeBoundingBox.left=bmMin.apply(null,p[0]),this.shapeBoundingBox.top=bmMin.apply(null,p[1]),this.shapeBoundingBox.right=bmMax.apply(null,p[0]),this.shapeBoundingBox.bottom=bmMax.apply(null,p[1])},HShapeElement.prototype.calculateF=function(e,t,r,n,i,a){return bmPow(1-e,3)*t[a]+3*bmPow(1-e,2)*e*r[a]+3*(1-e)*bmPow(e,2)*n[a]+bmPow(e,3)*i[a]},HShapeElement.prototype.calculateBoundingBox=function(e,t){var r,n=e.length;for(r=0;rr&&(r=i)}r*=e.mult}else r=e.v*e.mult;t.x-=r,t.xMax+=r,t.y-=r,t.yMax+=r},HShapeElement.prototype.currentBoxContains=function(e){return this.currentBBox.x<=e.x&&this.currentBBox.y<=e.y&&this.currentBBox.width+this.currentBBox.x>=e.x+e.width&&this.currentBBox.height+this.currentBBox.y>=e.y+e.height},HShapeElement.prototype.renderInnerContent=function(){if(this._renderShapeFrame(),!this.hidden&&(this._isFirstFrame||this._mdf)){var e=this.tempBoundingBox,t=999999;if(e.x=t,e.xMax=-t,e.y=t,e.yMax=-t,this.calculateBoundingBox(this.itemsData,e),e.width=e.xMax=0;e-=1){var n=this.hierarchy[e].finalTransform.mProp;this.mat.translate(-n.p.v[0],-n.p.v[1],n.p.v[2]),this.mat.rotateX(-n.or.v[0]).rotateY(-n.or.v[1]).rotateZ(n.or.v[2]),this.mat.rotateX(-n.rx.v).rotateY(-n.ry.v).rotateZ(n.rz.v),this.mat.scale(1/n.s.v[0],1/n.s.v[1],1/n.s.v[2]),this.mat.translate(n.a.v[0],n.a.v[1],n.a.v[2])}if(this.p?this.mat.translate(-this.p.v[0],-this.p.v[1],this.p.v[2]):this.mat.translate(-this.px.v,-this.py.v,this.pz.v),this.a){var i;i=this.p?[this.p.v[0]-this.a.v[0],this.p.v[1]-this.a.v[1],this.p.v[2]-this.a.v[2]]:[this.px.v-this.a.v[0],this.py.v-this.a.v[1],this.pz.v-this.a.v[2]];var a=Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2)+Math.pow(i[2],2)),o=[i[0]/a,i[1]/a,i[2]/a],s=Math.sqrt(o[2]*o[2]+o[0]*o[0]),l=Math.atan2(o[1],s),u=Math.atan2(o[0],-o[2]);this.mat.rotateY(u).rotateX(-l)}this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v),this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]),this.mat.translate(this.globalData.compSize.w/2,this.globalData.compSize.h/2,0),this.mat.translate(0,0,this.pe.v);var c=!this._prevMat.equals(this.mat);if((c||this.pe._mdf)&&this.comp.threeDElements){var p,f,h;for(t=this.comp.threeDElements.length,e=0;e=e)return this.threeDElements[t].perspectiveElem;t+=1}return null},HybridRendererBase.prototype.createThreeDContainer=function(e,t){var r,n,i=createTag("div");styleDiv(i);var a=createTag("div");if(styleDiv(a),"3d"===t){(r=i.style).width=this.globalData.compSize.w+"px",r.height=this.globalData.compSize.h+"px";var o="50% 50%";r.webkitTransformOrigin=o,r.mozTransformOrigin=o,r.transformOrigin=o;var s="matrix3d(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1)";(n=a.style).transform=s,n.webkitTransform=s}i.appendChild(a);var l={container:a,perspectiveElem:i,startPos:e,endPos:e,type:t};return this.threeDElements.push(l),l},HybridRendererBase.prototype.build3dContainers=function(){var e,t,r=this.layers.length,n="";for(e=0;e=0;e-=1)this.resizerElem.appendChild(this.threeDElements[e].perspectiveElem)},HybridRendererBase.prototype.addTo3dContainer=function(e,t){for(var r=0,n=this.threeDElements.length;ro?(e=i/this.globalData.compSize.w,t=i/this.globalData.compSize.w,r=0,n=(a-this.globalData.compSize.h*(i/this.globalData.compSize.w))/2):(e=a/this.globalData.compSize.h,t=a/this.globalData.compSize.h,r=(i-this.globalData.compSize.w*(a/this.globalData.compSize.h))/2,n=0);var s=this.resizerElem.style;s.webkitTransform="matrix3d("+e+",0,0,0,0,"+t+",0,0,0,0,1,0,"+r+","+n+",0,1)",s.transform=s.webkitTransform},HybridRendererBase.prototype.renderFrame=SVGRenderer.prototype.renderFrame,HybridRendererBase.prototype.hide=function(){this.resizerElem.style.display="none"},HybridRendererBase.prototype.show=function(){this.resizerElem.style.display="block"},HybridRendererBase.prototype.initItems=function(){if(this.buildAllItems(),this.camera)this.camera.setup();else{var e,t=this.globalData.compSize.w,r=this.globalData.compSize.h,n=this.threeDElements.length;for(e=0;e=o;)e/=2,t/=2,r>>>=1;return(e+r)/t};return v.int32=function(){return 0|g.g(4)},v.quick=function(){return g.g(4)/4294967296},v.double=v,p(f(g.S),e),(h.pass||d||function(e,r,n,i){return i&&(i.S&&u(i,g),e.state=function(){return u(g,{})}),n?(t.random=e,r):e})(v,y,"global"in h?h.global:this==t,h.state)},p(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};function _typeof(e){return _typeof="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},_typeof(e)}var ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=_typeof(e);if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,i=[];for(r=0;rr){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"===typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var n=Math.min(e.length,t.length),i=0;for(r=0;r.5?u/(2-o-s):u/(o+s),o){case n:t=(i-a)/u+(i1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,i=e[0],a=e[1],o=e[2];if(0===a)t=o,n=o,r=o;else{var s=o<.5?o*(1+a):o+a-o*a,l=2*o-s;t=hue2rgb(l,s,i+1/3),r=hue2rgb(l,s,i),n=hue2rgb(l,s,i-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,i){if(void 0!==n&&void 0!==i||(n=t,i=r,t=0,r=1),r=r)return i;var o,s=r===t?0:(e-t)/(r-t);if(!n.length)return n+(i-n)*s;var l=n.length,u=createTypedArray("float32",l);for(o=0;o1){for(n=0;n1?t=1:t<0&&(t=0);var o=e(t);if($bm_isInstanceOfArray(i)){var s,l=i.length,u=createTypedArray("float32",l);for(s=0;sdata.k[t].t&&edata.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var a={};return a.index=r,a.time=n/elem.comp.globalData.frameRate,a}function key(e){var t,r,n;if(!data.k.length||"number"===typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=i.length,r=0;ru.length-1)&&(t=u.length-1),n=c-(i=u[u.length-1-t].t)),"pingpong"===e){if(Math.floor((l-i)/n)%2!==0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var p=this.getValueAtTime(i/this.comp.globalData.frameRate,0),f=this.getValueAtTime(c/this.comp.globalData.frameRate,0),h=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),d=Math.floor((l-i)/n);if(this.pv.length){for(o=(s=new Array(p.length)).length,a=0;a=c)return this.pv;if(r?i=c+(n=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-c)):((!t||t>u.length-1)&&(t=u.length-1),n=(i=u[t].t)-c),"pingpong"===e){if(Math.floor((c-l)/n)%2===0)return this.getValueAtTime(((c-l)%n+c)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var p=this.getValueAtTime(c/this.comp.globalData.frameRate,0),f=this.getValueAtTime(i/this.comp.globalData.frameRate,0),h=this.getValueAtTime((n-(c-l)%n+c)/this.comp.globalData.frameRate,0),d=Math.floor((c-l)/n)+1;if(this.pv.length){for(o=(s=new Array(p.length)).length,a=0;a1?(i+e-a)/(t-1):1,s=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;so){var c=s,p=r.c&&s===l-1?0:s+1,f=(o-u)/a[s].addedLength;n=bez.getPointInSegment(r.v[c],r.v[p],r.o[c],r.i[p],f,a[s]);break}u+=a[s].addedLength,s+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var n=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),a=i[0]-n[0],o=i[1]-n[1],s=Math.sqrt(Math.pow(a,2)+Math.pow(o,2));return 0===s?[0,0]:"tangent"===r?[a/s,o/s]:[-o/s,a/s]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([u],s),extendPrototype([u],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime=u?h<0?n:i:n+f*Math.pow((a-e)/h,1/r),c[p]=o,p+=1,s+=256/255;return c.join(" ")},SVGProLevelsFilter.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){var t,r=this.filterManager.effectElements;this.feFuncRComposed&&(e||r[3].p._mdf||r[4].p._mdf||r[5].p._mdf||r[6].p._mdf||r[7].p._mdf)&&(t=this.getTableValue(r[3].p.v,r[4].p.v,r[5].p.v,r[6].p.v,r[7].p.v),this.feFuncRComposed.setAttribute("tableValues",t),this.feFuncGComposed.setAttribute("tableValues",t),this.feFuncBComposed.setAttribute("tableValues",t)),this.feFuncR&&(e||r[10].p._mdf||r[11].p._mdf||r[12].p._mdf||r[13].p._mdf||r[14].p._mdf)&&(t=this.getTableValue(r[10].p.v,r[11].p.v,r[12].p.v,r[13].p.v,r[14].p.v),this.feFuncR.setAttribute("tableValues",t)),this.feFuncG&&(e||r[17].p._mdf||r[18].p._mdf||r[19].p._mdf||r[20].p._mdf||r[21].p._mdf)&&(t=this.getTableValue(r[17].p.v,r[18].p.v,r[19].p.v,r[20].p.v,r[21].p.v),this.feFuncG.setAttribute("tableValues",t)),this.feFuncB&&(e||r[24].p._mdf||r[25].p._mdf||r[26].p._mdf||r[27].p._mdf||r[28].p._mdf)&&(t=this.getTableValue(r[24].p.v,r[25].p.v,r[26].p.v,r[27].p.v,r[28].p.v),this.feFuncB.setAttribute("tableValues",t)),this.feFuncA&&(e||r[31].p._mdf||r[32].p._mdf||r[33].p._mdf||r[34].p._mdf||r[35].p._mdf)&&(t=this.getTableValue(r[31].p.v,r[32].p.v,r[33].p.v,r[34].p.v,r[35].p.v),this.feFuncA.setAttribute("tableValues",t))}},extendPrototype([SVGComposableEffect],SVGDropShadowEffect),SVGDropShadowEffect.prototype.renderFrame=function(e){if(e||this.filterManager._mdf){if((e||this.filterManager.effectElements[4].p._mdf)&&this.feGaussianBlur.setAttribute("stdDeviation",this.filterManager.effectElements[4].p.v/4),e||this.filterManager.effectElements[0].p._mdf){var t=this.filterManager.effectElements[0].p.v;this.feFlood.setAttribute("flood-color",rgbToHex(Math.round(255*t[0]),Math.round(255*t[1]),Math.round(255*t[2])))}if((e||this.filterManager.effectElements[1].p._mdf)&&this.feFlood.setAttribute("flood-opacity",this.filterManager.effectElements[1].p.v/255),e||this.filterManager.effectElements[2].p._mdf||this.filterManager.effectElements[3].p._mdf){var r=this.filterManager.effectElements[3].p.v,n=(this.filterManager.effectElements[2].p.v-90)*degToRads,i=r*Math.cos(n),a=r*Math.sin(n);this.feOffset.setAttribute("dx",i),this.feOffset.setAttribute("dy",a)}}};var _svgMatteSymbols=[];function SVGMatte3Effect(e,t,r){this.initialized=!1,this.filterManager=t,this.filterElem=e,this.elem=r,r.matteElement=createNS("g"),r.matteElement.appendChild(r.layerElement),r.matteElement.appendChild(r.transformedElement),r.baseElement=r.matteElement}function SVGGaussianBlurEffect(e,t,r,n){e.setAttribute("x","-100%"),e.setAttribute("y","-100%"),e.setAttribute("width","300%"),e.setAttribute("height","300%"),this.filterManager=t;var i=createNS("feGaussianBlur");i.setAttribute("result",n),e.appendChild(i),this.feGaussianBlur=i}return SVGMatte3Effect.prototype.findSymbol=function(e){for(var t=0,r=_svgMatteSymbols.length;t=0||(i[r]=e[r]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(n=0;n=0||Object.prototype.propertyIsEnumerable.call(e,r)&&(i[r]=e[r])}return i}function E(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null==r)return;var n,i,a=[],o=!0,s=!1;try{for(r=r.call(e);!(o=(n=r.next()).done)&&(a.push(n.value),!t||a.length!==t);o=!0);}catch(l){s=!0,i=l}finally{try{o||null==r.return||r.return()}finally{if(s)throw i}}return a}(e,t)||function(e,t){if(!e)return;if("string"===typeof e)return A(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);"Object"===r&&e.constructor&&(r=e.constructor.name);if("Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return A(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r1&&void 0!==arguments[1]?arguments[1]:"none";return e||t},V=function(){return!("undefined"===typeof window||!window.navigator&&!navigator)&&(window.navigator||navigator)},N=function(e){var t=V();return t&&t.platform&&(-1!==t.platform.indexOf(e)||"MacIntel"===t.platform&&t.maxTouchPoints>1&&!window.MSStream)},G=function(e,t,r,n){return function(e){for(var t=1;t1)&&!window.MSStream},Ee=function(){return N("iPad")},Pe=function(){return N("iPhone")},Ae=function(){return N("iPod")},Ce=function(e){return L(e)};function Te(e){var t=e||y,r=t.device,n=t.browser,i=t.os,a=t.engine,o=t.ua;return{isSmartTV:W(r),isConsole:K(r),isWearable:$(r),isEmbedded:Y(r),isMobileSafari:fe(n)||Ee(),isChromium:le(n),isMobile:U(r)||Ee(),isMobileOnly:z(r),isTablet:H(r)||Ee(),isBrowser:q(r),isDesktop:q(r),isAndroid:Z(i),isWinPhone:re(i),isIOS:ne(i)||Ee(),isChrome:oe(n),isFirefox:se(n),isSafari:pe(n),isOpera:he(n),isIE:de(n),osVersion:ie(i),osName:ae(i),fullBrowserVersion:ge(n),browserVersion:ve(n),browserName:xe(n),mobileVendor:X(r),mobileModel:Q(r),engineName:ke(a),engineVersion:be(a),getUA:Ce(o),isEdge:ue(n)||we(o),isYandex:ce(n),deviceType:J(r),isIOS13:Se(),isIPad13:Ee(),isIPhone13:Pe(),isIPod13:Ae(),isElectron:_e(),isEdgeChromium:we(o),isLegacyEdge:ue(n)&&!we(o),isWindows:ee(i),isMacOs:te(i),isMIUI:me(n),isSamsungBrowser:ye(n)}}var De=W(c),Oe=K(c),Fe=$(c),Me=Y(c),Ie=fe(l)||Ee(),Re=le(l),Be=U(c)||Ee(),je=z(c),Le=H(c)||Ee(),Ve=q(c),Ne=q(c),Ge=Z(f),ze=re(f),He=ne(f)||Ee(),Ue=oe(l),We=se(l),qe=pe(l),$e=he(l),Ke=de(l),Ye=ie(f),Xe=ae(f),Qe=ge(l),Je=ve(l),Ze=xe(l),et=X(c),tt=Q(c),rt=ke(p),nt=be(p),it=Ce(h),at=ue(l)||we(h),ot=ce(l),st=J(c),lt=Se(),ut=Ee(),ct=Pe(),pt=Ae(),ft=_e(),ht=we(h),dt=ue(l)&&!we(h),mt=ee(f),yt=te(f),gt=me(l),vt=ye(l);function xt(e){var t=e||window.navigator.userAgent;return m(t)}t.tq=Be},534:function(e,t,r){"use strict";var n=r(7313),i=r(2224);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,r=1;r