text: /*! For license information please see index.js.LICENSE.txt */
  !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.DiAnalytics=t():e.DiAnalytics=t()}(self,(function(){return(()=>{var __webpack_modules__={5078:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(655),i=r(2403),o=function(){function e(){this._semaphore=new i.default(1)}return e.prototype.acquire=function(){return n.__awaiter(this,void 0,void 0,(function(){return n.__generator(this,(function(e){switch(e.label){case 0:return[4,this._semaphore.acquire()];case 1:return[2,e.sent()[1]]}}))}))},e.prototype.runExclusive=function(e){return this._semaphore.runExclusive((function(){return e()}))},e.prototype.isLocked=function(){return this._semaphore.isLocked()},e.prototype.release=function(){this._semaphore.release()},e}();t.default=o},2403:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(655),i=function(){function e(e){if(this._maxConcurrency=e,this._queue=[],e<=0)throw new Error("semaphore must be initialized to a positive value");this._value=e}return e.prototype.acquire=function(){var e=this,t=this.isLocked(),r=new Promise((function(t){return e._queue.push(t)}));return t||this._dispatch(),r},e.prototype.runExclusive=function(e){return n.__awaiter(this,void 0,void 0,(function(){var t,r,i;return n.__generator(this,(function(n){switch(n.label){case 0:return[4,this.acquire()];case 1:t=n.sent(),r=t[0],i=t[1],n.label=2;case 2:return n.trys.push([2,,4,5]),[4,e(r)];case 3:return[2,n.sent()];case 4:return i(),[7];case 5:return[2]}}))}))},e.prototype.isLocked=function(){return this._value<=0},e.prototype.release=function(){if(this._maxConcurrency>1)throw new Error("this method is unavailabel on semaphores with concurrency > 1; use the scoped release returned by acquire instead");if(this._currentReleaser){var e=this._currentReleaser;this._currentReleaser=void 0,e()}},e.prototype._dispatch=function(){var e=this,t=this._queue.shift();if(t){var r=!1;this._currentReleaser=function(){r||(r=!0,e._value++,e._dispatch())},t([this._value--,this._currentReleaser])}},e}();t.default=i},8125:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTimeout=t.Semaphore=t.Mutex=void 0;var n=r(5078);Object.defineProperty(t,"Mutex",{enumerable:!0,get:function(){return n.default}});var i=r(2403);Object.defineProperty(t,"Semaphore",{enumerable:!0,get:function(){return i.default}});var o=r(1960);Object.defineProperty(t,"withTimeout",{enumerable:!0,get:function(){return o.withTimeout}})},1960:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.withTimeout=void 0;var n=r(655);t.withTimeout=function(e,t,r){var i=this;return void 0===r&&(r=new Error("timeout")),{acquire:function(){return new Promise((function(o,s){return n.__awaiter(i,void 0,void 0,(function(){var i,a;return n.__generator(this,(function(n){switch(n.label){case 0:return i=!1,setTimeout((function(){i=!0,s(r)}),t),[4,e.acquire()];case 1:return a=n.sent(),i?(Array.isArray(a)?a[1]:a)():o(a),[2]}}))}))}))},runExclusive:function(e){return n.__awaiter(this,void 0,void 0,(function(){var t,r;return n.__generator(this,(function(n){switch(n.label){case 0:t=function(){},n.label=1;case 1:return n.trys.push([1,,7,8]),[4,this.acquire()];case 2:return r=n.sent(),Array.isArray(r)?(t=r[1],[4,e(r[0])]):[3,4];case 3:return[2,n.sent()];case 4:return t=r,[4,e()];case 5:return[2,n.sent()];case 6:return[3,8];case 7:return t(),[7];case 8:return[2]}}))}))},release:function(){e.release()},isLocked:function(){return e.isLocked()}}}},9669:(e,t,r)=>{e.exports=r(1609)},5448:(e,t,r)=>{"use strict";var n=r(4867),i=r(6026),o=r(4372),s=r(5327),a=r(4097),u=r(4109),c=r(7985),l=r(5061);e.exports=function(e){return new Promise((function(t,r){var f=e.data,d=e.headers;n.isFormData(f)&&delete d["Content-Type"],(n.isBlob(f)||n.isFile(f))&&f.type&&delete d["Content-Type"];var p=new XMLHttpRequest;if(e.auth){var h=e.auth.username||"",v=unescape(encodeURIComponent(e.auth.password))||"";d.Authorization="Basic "+btoa(h+":"+v)}var g=a(e.baseURL,e.url);if(p.open(e.method.toUpperCase(),s(g,e.params,e.paramsSerializer),!0),p.timeout=e.timeout,p.onreadystatechange=function(){if(p&&4===p.readyState&&(0!==p.status||p.responseURL&&0===p.responseURL.indexOf("file:"))){var n="getAllResponseHeaders"in p?u(p.getAllResponseHeaders()):null,o={data:e.responseType&&"text"!==e.responseType?p.response:p.responseText,status:p.status,statusText:p.statusText,headers:n,config:e,request:p};i(t,r,o),p=null}},p.onabort=function(){p&&(r(l("Request aborted",e,"ECONNABORTED",p)),p=null)},p.onerror=function(){r(l("Network Error",e,null,p)),p=null},p.ontimeout=function(){var t="timeout of "+e.timeout+"ms exceeded";e.timeoutErrorMessage&&(t=e.timeoutErrorMessage),r(l(t,e,"ECONNABORTED",p)),p=null},n.isStandardBrowserEnv()){var y=(e.withCredentials||c(g))&&e.xsrfCookieName?o.read(e.xsrfCookieName):void 0;y&&(d[e.xsrfHeaderName]=y)}if("setRequestHeader"in p&&n.forEach(d,(function(e,t){void 0===f&&"content-type"===t.toLowerCase()?delete d[t]:p.setRequestHeader(t,e)})),n.isUndefined(e.withCredentials)||(p.withCredentials=!!e.withCredentials),e.responseType)try{p.responseType=e.responseType}catch(t){if("json"!==e.responseType)throw t}"function"==typeof e.onDownloadProgress&&p.addEventListener("progress",e.onDownloadProgress),"function"==typeof e.onUploadProgress&&p.upload&&p.upload.addEventListener("progress",e.onUploadProgress),e.cancelToken&&e.cancelToken.promise.then((function(e){p&&(p.abort(),r(e),p=null)})),f||(f=null),p.send(f)}))}},1609:(e,t,r)=>{"use strict";var n=r(4867),i=r(1849),o=r(321),s=r(7185);function a(e){var t=new o(e),r=i(o.prototype.request,t);return n.extend(r,o.prototype,t),n.extend(r,t),r}var u=a(r(5655));u.Axios=o,u.create=function(e){return a(s(u.defaults,e))},u.Cancel=r(5263),u.CancelToken=r(4972),u.isCancel=r(6502),u.all=function(e){return Promise.all(e)},u.spread=r(8713),e.exports=u,e.exports.default=u},5263:e=>{"use strict";function t(e){this.message=e}t.prototype.toString=function(){return"Cancel"+(this.message?": "+this.message:"")},t.prototype.__CANCEL__=!0,e.exports=t},4972:(e,t,r)=>{"use strict";var n=r(5263);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;e((function(e){r.reason||(r.reason=new n(e),t(r.reason))}))}i.prototype.throwIfRequested=function(){if(this.reason)throw this.reason},i.source=function(){var e;return{token:new i((function(t){e=t})),cancel:e}},e.exports=i},6502:e=>{"use strict";e.exports=function(e){return!(!e||!e.__CANCEL__)}},321:(e,t,r)=>{"use strict";var n=r(4867),i=r(5327),o=r(782),s=r(3572),a=r(7185);function u(e){this.defaults=e,this.interceptors={request:new o,response:new o}}u.prototype.request=function(e){"string"==typeof e?(e=arguments[1]||{}).url=arguments[0]:e=e||{},(e=a(this.defaults,e)).method?e.method=e.method.toLowerCase():this.defaults.method?e.method=this.defaults.method.toLowerCase():e.method="get";var t=[s,void 0],r=Promise.resolve(e);for(this.interceptors.request.forEach((function(e){t.unshift(e.fulfilled,e.rejected)})),this.interceptors.response.forEach((function(e){t.push(e.fulfilled,e.rejected)}));t.length;)r=r.then(t.shift(),t.shift());return r},u.prototype.getUri=function(e){return e=a(this.defaults,e),i(e.url,e.params,e.paramsSerializer).replace(/^\?/,"")},n.forEach(["delete","get","head","options"],(function(e){u.prototype[e]=function(t,r){return this.request(a(r||{},{method:e,url:t}))}})),n.forEach(["post","put","patch"],(function(e){u.prototype[e]=function(t,r,n){return this.request(a(n||{},{method:e,url:t,data:r}))}})),e.exports=u},782:(e,t,r)=>{"use strict";var n=r(4867);function i(){this.handlers=[]}i.prototype.use=function(e,t){return this.handlers.push({fulfilled:e,rejected:t}),this.handlers.length-1},i.prototype.eject=function(e){this.handlers[e]&&(this.handlers[e]=null)},i.prototype.forEach=function(e){n.forEach(this.handlers,(function(t){null!==t&&e(t)}))},e.exports=i},4097:(e,t,r)=>{"use strict";var n=r(1793),i=r(7303);e.exports=function(e,t){return e&&!n(t)?i(e,t):t}},5061:(e,t,r)=>{"use strict";var n=r(481);e.exports=function(e,t,r,i,o){var s=new Error(e);return n(s,t,r,i,o)}},3572:(e,t,r)=>{"use strict";var n=r(4867),i=r(8527),o=r(6502),s=r(5655);function a(e){e.cancelToken&&e.cancelToken.throwIfRequested()}e.exports=function(e){return a(e),e.headers=e.headers||{},e.data=i(e.data,e.headers,e.transformRequest),e.headers=n.merge(e.headers.common||{},e.headers[e.method]||{},e.headers),n.forEach(["delete","get","head","post","put","patch","common"],(function(t){delete e.headers[t]})),(e.adapter||s.adapter)(e).then((function(t){return a(e),t.data=i(t.data,t.headers,e.transformResponse),t}),(function(t){return o(t)||(a(e),t&&t.response&&(t.response.data=i(t.response.data,t.response.headers,e.transformResponse))),Promise.reject(t)}))}},481:e=>{"use strict";e.exports=function(e,t,r,n,i){return e.config=t,r&&(e.code=r),e.request=n,e.response=i,e.isAxiosError=!0,e.toJSON=function(){return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:this.config,code:this.code}},e}},7185:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e,t){t=t||{};var r={},i=["url","method","data"],o=["headers","auth","proxy","params"],s=["baseURL","transformRequest","transformResponse","paramsSerializer","timeout","timeoutMessage","withCredentials","adapter","responseType","xsrfCookieName","xsrfHeaderName","onUploadProgress","onDownloadProgress","decompress","maxContentLength","maxBodyLength","maxRedirects","transport","httpAgent","httpsAgent","cancelToken","socketPath","responseEncoding"],a=["validateStatus"];function u(e,t){return n.isPlainObject(e)&&n.isPlainObject(t)?n.merge(e,t):n.isPlainObject(t)?n.merge({},t):n.isArray(t)?t.slice():t}function c(i){n.isUndefined(t[i])?n.isUndefined(e[i])||(r[i]=u(void 0,e[i])):r[i]=u(e[i],t[i])}n.forEach(i,(function(e){n.isUndefined(t[e])||(r[e]=u(void 0,t[e]))})),n.forEach(o,c),n.forEach(s,(function(i){n.isUndefined(t[i])?n.isUndefined(e[i])||(r[i]=u(void 0,e[i])):r[i]=u(void 0,t[i])})),n.forEach(a,(function(n){n in t?r[n]=u(e[n],t[n]):n in e&&(r[n]=u(void 0,e[n]))}));var l=i.concat(o).concat(s).concat(a),f=Object.keys(e).concat(Object.keys(t)).filter((function(e){return-1===l.indexOf(e)}));return n.forEach(f,c),r}},6026:(e,t,r)=>{"use strict";var n=r(5061);e.exports=function(e,t,r){var i=r.config.validateStatus;r.status&&i&&!i(r.status)?t(n("Request failed with status code "+r.status,r.config,null,r.request,r)):e(r)}},8527:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e,t,r){return n.forEach(r,(function(r){e=r(e,t)})),e}},5655:(e,t,r)=>{"use strict";var n=r(4867),i=r(6016),o={"Content-Type":"application/x-www-form-urlencoded"};function s(e,t){!n.isUndefined(e)&&n.isUndefined(e["Content-Type"])&&(e["Content-Type"]=t)}var a,u={adapter:(("undefined"!=typeof XMLHttpRequest||"undefined"!=typeof process&&"[object process]"===Object.prototype.toString.call(process))&&(a=r(5448)),a),transformRequest:[function(e,t){return i(t,"Accept"),i(t,"Content-Type"),n.isFormData(e)||n.isArrayBuffer(e)||n.isBuffer(e)||n.isStream(e)||n.isFile(e)||n.isBlob(e)?e:n.isArrayBufferView(e)?e.buffer:n.isURLSearchParams(e)?(s(t,"application/x-www-form-urlencoded;charset=utf-8"),e.toString()):n.isObject(e)?(s(t,"application/json;charset=utf-8"),JSON.stringify(e)):e}],transformResponse:[function(e){if("string"==typeof e)try{e=JSON.parse(e)}catch(e){}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*"}}};n.forEach(["delete","get","head"],(function(e){u.headers[e]={}})),n.forEach(["post","put","patch"],(function(e){u.headers[e]=n.merge(o)})),e.exports=u},1849:e=>{"use strict";e.exports=function(e,t){return function(){for(var r=new Array(arguments.length),n=0;n<r.length;n++)r[n]=arguments[n];return e.apply(t,r)}}},5327:(e,t,r)=>{"use strict";var n=r(4867);function i(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+").replace(/%5B/gi,"[").replace(/%5D/gi,"]")}e.exports=function(e,t,r){if(!t)return e;var o;if(r)o=r(t);else if(n.isURLSearchParams(t))o=t.toString();else{var s=[];n.forEach(t,(function(e,t){null!=e&&(n.isArray(e)?t+="[]":e=[e],n.forEach(e,(function(e){n.isDate(e)?e=e.toISOString():n.isObject(e)&&(e=JSON.stringify(e)),s.push(i(t)+"="+i(e))})))})),o=s.join("&")}if(o){var a=e.indexOf("#");-1!==a&&(e=e.slice(0,a)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}},7303:e=>{"use strict";e.exports=function(e,t){return t?e.replace(/\/+$/,"")+"/"+t.replace(/^\/+/,""):e}},4372:(e,t,r)=>{"use strict";var n=r(4867);e.exports=n.isStandardBrowserEnv()?{write:function(e,t,r,i,o,s){var a=[];a.push(e+"="+encodeURIComponent(t)),n.isNumber(r)&&a.push("expires="+new Date(r).toGMTString()),n.isString(i)&&a.push("path="+i),n.isString(o)&&a.push("domain="+o),!0===s&&a.push("secure"),document.cookie=a.join("; ")},read:function(e){var t=document.cookie.match(new RegExp("(^|;\\s*)("+e+")=([^;]*)"));return t?decodeURIComponent(t[3]):null},remove:function(e){this.write(e,"",Date.now()-864e5)}}:{write:function(){},read:function(){return null},remove:function(){}}},1793:e=>{"use strict";e.exports=function(e){return/^([a-z][a-z\d\+\-\.]*:)?\/\//i.test(e)}},7985:(e,t,r)=>{"use strict";var n=r(4867);e.exports=n.isStandardBrowserEnv()?function(){var e,t=/(msie|trident)/i.test(navigator.userAgent),r=document.createElement("a");function i(e){var n=e;return t&&(r.setAttribute("href",n),n=r.href),r.setAttribute("href",n),{href:r.href,protocol:r.protocol?r.protocol.replace(/:$/,""):"",host:r.host,search:r.search?r.search.replace(/^\?/,""):"",hash:r.hash?r.hash.replace(/^#/,""):"",hostname:r.hostname,port:r.port,pathname:"/"===r.pathname.charAt(0)?r.pathname:"/"+r.pathname}}return e=i(window.location.href),function(t){var r=n.isString(t)?i(t):t;return r.protocol===e.protocol&&r.host===e.host}}():function(){return!0}},6016:(e,t,r)=>{"use strict";var n=r(4867);e.exports=function(e,t){n.forEach(e,(function(r,n){n!==t&&n.toUpperCase()===t.toUpperCase()&&(e[t]=r,delete e[n])}))}},4109:(e,t,r)=>{"use strict";var n=r(4867),i=["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"];e.exports=function(e){var t,r,o,s={};return e?(n.forEach(e.split("\n"),(function(e){if(o=e.indexOf(":"),t=n.trim(e.substr(0,o)).toLowerCase(),r=n.trim(e.substr(o+1)),t){if(s[t]&&i.indexOf(t)>=0)return;s[t]="set-cookie"===t?(s[t]?s[t]:[]).concat([r]):s[t]?s[t]+", "+r:r}})),s):s}},8713:e=>{"use strict";e.exports=function(e){return function(t){return e.apply(null,t)}}},4867:(e,t,r)=>{"use strict";var n=r(1849),i=Object.prototype.toString;function o(e){return"[object Array]"===i.call(e)}function s(e){return void 0===e}function a(e){return null!==e&&"object"==typeof e}function u(e){if("[object Object]"!==i.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}function c(e){return"[object Function]"===i.call(e)}function l(e,t){if(null!=e)if("object"!=typeof e&&(e=[e]),o(e))for(var r=0,n=e.length;r<n;r++)t.call(null,e[r],r,e);else for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&t.call(null,e[i],i,e)}e.exports={isArray:o,isArrayBuffer:function(e){return"[object ArrayBuffer]"===i.call(e)},isBuffer:function(e){return null!==e&&!s(e)&&null!==e.constructor&&!s(e.constructor)&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)},isFormData:function(e){return"undefined"!=typeof FormData&&e instanceof FormData},isArrayBufferView:function(e){return"undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&e.buffer instanceof ArrayBuffer},isString:function(e){return"string"==typeof e},isNumber:function(e){return"number"==typeof e},isObject:a,isPlainObject:u,isUndefined:s,isDate:function(e){return"[object Date]"===i.call(e)},isFile:function(e){return"[object File]"===i.call(e)},isBlob:function(e){return"[object Blob]"===i.call(e)},isFunction:c,isStream:function(e){return a(e)&&c(e.pipe)},isURLSearchParams:function(e){return"undefined"!=typeof URLSearchParams&&e instanceof URLSearchParams},isStandardBrowserEnv:function(){return("undefined"==typeof navigator||"ReactNative"!==navigator.product&&"NativeScript"!==navigator.product&&"NS"!==navigator.product)&&"undefined"!=typeof window&&"undefined"!=typeof document},forEach:l,merge:function e(){var t={};function r(r,n){u(t[n])&&u(r)?t[n]=e(t[n],r):u(r)?t[n]=e({},r):o(r)?t[n]=r.slice():t[n]=r}for(var n=0,i=arguments.length;n<i;n++)l(arguments[n],r);return t},extend:function(e,t,r){return l(t,(function(t,i){e[i]=r&&"function"==typeof t?n(t,r):t})),e},trim:function(e){return e.replace(/^\s*/,"").replace(/\s*$/,"")},stripBOM:function(e){return 65279===e.charCodeAt(0)&&(e=e.slice(1)),e}}},1206:function(e){e.exports=function(e){var t={};function r(n){if(t[n])return t[n].exports;var i=t[n]={i:n,l:!1,exports:{}};return e[n].call(i.exports,i,i.exports,r),i.l=!0,i.exports}return r.m=e,r.c=t,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)r.d(n,i,function(t){return e[t]}.bind(null,i));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=90)}({17:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=r(18),i=function(){function e(){}return e.getFirstMatch=function(e,t){var r=t.match(e);return r&&r.length>0&&r[1]||""},e.getSecondMatch=function(e,t){var r=t.match(e);return r&&r.length>1&&r[2]||""},e.matchAndReturnConst=function(e,t,r){if(e.test(t))return r},e.getWindowsVersionName=function(e){switch(e){case"NT":return"NT";case"XP":return"XP";case"NT 5.0":return"2000";case"NT 5.1":return"XP";case"NT 5.2":return"2003";case"NT 6.0":return"Vista";case"NT 6.1":return"7";case"NT 6.2":return"8";case"NT 6.3":return"8.1";case"NT 10.0":return"10";default:return}},e.getMacOSVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),10===t[0])switch(t[1]){case 5:return"Leopard";case 6:return"Snow Leopard";case 7:return"Lion";case 8:return"Mountain Lion";case 9:return"Mavericks";case 10:return"Yosemite";case 11:return"El Capitan";case 12:return"Sierra";case 13:return"High Sierra";case 14:return"Mojave";case 15:return"Catalina";default:return}},e.getAndroidVersionName=function(e){var t=e.split(".").splice(0,2).map((function(e){return parseInt(e,10)||0}));if(t.push(0),!(1===t[0]&&t[1]<5))return 1===t[0]&&t[1]<6?"Cupcake":1===t[0]&&t[1]>=6?"Donut":2===t[0]&&t[1]<2?"Eclair":2===t[0]&&2===t[1]?"Froyo":2===t[0]&&t[1]>2?"Gingerbread":3===t[0]?"Honeycomb":4===t[0]&&t[1]<1?"Ice Cream Sandwich":4===t[0]&&t[1]<4?"Jelly Bean":4===t[0]&&t[1]>=4?"KitKat":5===t[0]?"Lollipop":6===t[0]?"Marshmallow":7===t[0]?"Nougat":8===t[0]?"Oreo":9===t[0]?"Pie":void 0},e.getVersionPrecision=function(e){return e.split(".").length},e.compareVersions=function(t,r,n){void 0===n&&(n=!1);var i=e.getVersionPrecision(t),o=e.getVersionPrecision(r),s=Math.max(i,o),a=0,u=e.map([t,r],(function(t){var r=s-e.getVersionPrecision(t),n=t+new Array(r+1).join(".0");return e.map(n.split("."),(function(e){return new Array(20-e.length).join("0")+e})).reverse()}));for(n&&(a=s-Math.min(i,o)),s-=1;s>=a;){if(u[0][s]>u[1][s])return 1;if(u[0][s]===u[1][s]){if(s===a)return 0;s-=1}else if(u[0][s]<u[1][s])return-1}},e.map=function(e,t){var r,n=[];if(Array.prototype.map)return Array.prototype.map.call(e,t);for(r=0;r<e.length;r+=1)n.push(t(e[r]));return n},e.find=function(e,t){var r,n;if(Array.prototype.find)return Array.prototype.find.call(e,t);for(r=0,n=e.length;r<n;r+=1){var i=e[r];if(t(i,r))return i}},e.assign=function(e){for(var t,r,n=e,i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];if(Object.assign)return Object.assign.apply(Object,[e].concat(o));var a=function(){var e=o[t];"object"==typeof e&&null!==e&&Object.keys(e).forEach((function(t){n[t]=e[t]}))};for(t=0,r=o.length;t<r;t+=1)a();return e},e.getBrowserAlias=function(e){return n.BROWSER_ALIASES_MAP[e]},e.getBrowserTypeByAlias=function(e){return n.BROWSER_MAP[e]||""},e}();t.default=i,e.exports=t.default},18:function(e,t,r){"use strict";t.__esModule=!0,t.ENGINE_MAP=t.OS_MAP=t.PLATFORMS_MAP=t.BROWSER_MAP=t.BROWSER_ALIASES_MAP=void 0,t.BROWSER_ALIASES_MAP={"Amazon Silk":"amazon_silk","Android Browser":"android",Bada:"bada",BlackBerry:"blackberry",Chrome:"chrome",Chromium:"chromium",Electron:"electron",Epiphany:"epiphany",Firefox:"firefox",Focus:"focus",Generic:"generic","Google Search":"google_search",Googlebot:"googlebot","Internet Explorer":"ie","K-Meleon":"k_meleon",Maxthon:"maxthon","Microsoft Edge":"edge","MZ Browser":"mz","NAVER Whale Browser":"naver",Opera:"opera","Opera Coast":"opera_coast",PhantomJS:"phantomjs",Puffin:"puffin",QupZilla:"qupzilla",QQ:"qq",QQLite:"qqlite",Safari:"safari",Sailfish:"sailfish","Samsung Internet for Android":"samsung_internet",SeaMonkey:"seamonkey",Sleipnir:"sleipnir",Swing:"swing",Tizen:"tizen","UC Browser":"uc",Vivaldi:"vivaldi","WebOS Browser":"webos",WeChat:"wechat","Yandex Browser":"yandex",Roku:"roku"},t.BROWSER_MAP={amazon_silk:"Amazon Silk",android:"Android Browser",bada:"Bada",blackberry:"BlackBerry",chrome:"Chrome",chromium:"Chromium",electron:"Electron",epiphany:"Epiphany",firefox:"Firefox",focus:"Focus",generic:"Generic",googlebot:"Googlebot",google_search:"Google Search",ie:"Internet Explorer",k_meleon:"K-Meleon",maxthon:"Maxthon",edge:"Microsoft Edge",mz:"MZ Browser",naver:"NAVER Whale Browser",opera:"Opera",opera_coast:"Opera Coast",phantomjs:"PhantomJS",puffin:"Puffin",qupzilla:"QupZilla",qq:"QQ Browser",qqlite:"QQ Browser Lite",safari:"Safari",sailfish:"Sailfish",samsung_internet:"Samsung Internet for Android",seamonkey:"SeaMonkey",sleipnir:"Sleipnir",swing:"Swing",tizen:"Tizen",uc:"UC Browser",vivaldi:"Vivaldi",webos:"WebOS Browser",wechat:"WeChat",yandex:"Yandex Browser"},t.PLATFORMS_MAP={tablet:"tablet",mobile:"mobile",desktop:"desktop",tv:"tv"},t.OS_MAP={WindowsPhone:"Windows Phone",Windows:"Windows",MacOS:"macOS",iOS:"iOS",Android:"Android",WebOS:"WebOS",BlackBerry:"BlackBerry",Bada:"Bada",Tizen:"Tizen",Linux:"Linux",ChromeOS:"Chrome OS",PlayStation4:"PlayStation 4",Roku:"Roku"},t.ENGINE_MAP={EdgeHTML:"EdgeHTML",Blink:"Blink",Trident:"Trident",Presto:"Presto",Gecko:"Gecko",WebKit:"WebKit"}},90:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(91))&&n.__esModule?n:{default:n},o=r(18);function s(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,n.key,n)}}var a=function(){function e(){}var t,r;return e.getParser=function(e,t){if(void 0===t&&(t=!1),"string"!=typeof e)throw new Error("UserAgent should be a string");return new i.default(e,t)},e.parse=function(e){return new i.default(e).getResult()},t=e,r=[{key:"BROWSER_MAP",get:function(){return o.BROWSER_MAP}},{key:"ENGINE_MAP",get:function(){return o.ENGINE_MAP}},{key:"OS_MAP",get:function(){return o.OS_MAP}},{key:"PLATFORMS_MAP",get:function(){return o.PLATFORMS_MAP}}],null&&s(t.prototype,null),r&&s(t,r),e}();t.default=a,e.exports=t.default},91:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n=u(r(92)),i=u(r(93)),o=u(r(94)),s=u(r(95)),a=u(r(17));function u(e){return e&&e.__esModule?e:{default:e}}var c=function(){function e(e,t){if(void 0===t&&(t=!1),null==e||""===e)throw new Error("UserAgent parameter can't be empty");this._ua=e,this.parsedResult={},!0!==t&&this.parse()}var t=e.prototype;return t.getUA=function(){return this._ua},t.test=function(e){return e.test(this._ua)},t.parseBrowser=function(){var e=this;this.parsedResult.browser={};var t=a.default.find(n.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.browser=t.describe(this.getUA())),this.parsedResult.browser},t.getBrowser=function(){return this.parsedResult.browser?this.parsedResult.browser:this.parseBrowser()},t.getBrowserName=function(e){return e?String(this.getBrowser().name).toLowerCase()||"":this.getBrowser().name||""},t.getBrowserVersion=function(){return this.getBrowser().version},t.getOS=function(){return this.parsedResult.os?this.parsedResult.os:this.parseOS()},t.parseOS=function(){var e=this;this.parsedResult.os={};var t=a.default.find(i.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.os=t.describe(this.getUA())),this.parsedResult.os},t.getOSName=function(e){var t=this.getOS().name;return e?String(t).toLowerCase()||"":t||""},t.getOSVersion=function(){return this.getOS().version},t.getPlatform=function(){return this.parsedResult.platform?this.parsedResult.platform:this.parsePlatform()},t.getPlatformType=function(e){void 0===e&&(e=!1);var t=this.getPlatform().type;return e?String(t).toLowerCase()||"":t||""},t.parsePlatform=function(){var e=this;this.parsedResult.platform={};var t=a.default.find(o.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.platform=t.describe(this.getUA())),this.parsedResult.platform},t.getEngine=function(){return this.parsedResult.engine?this.parsedResult.engine:this.parseEngine()},t.getEngineName=function(e){return e?String(this.getEngine().name).toLowerCase()||"":this.getEngine().name||""},t.parseEngine=function(){var e=this;this.parsedResult.engine={};var t=a.default.find(s.default,(function(t){if("function"==typeof t.test)return t.test(e);if(t.test instanceof Array)return t.test.some((function(t){return e.test(t)}));throw new Error("Browser's test function is not valid")}));return t&&(this.parsedResult.engine=t.describe(this.getUA())),this.parsedResult.engine},t.parse=function(){return this.parseBrowser(),this.parseOS(),this.parsePlatform(),this.parseEngine(),this},t.getResult=function(){return a.default.assign({},this.parsedResult)},t.satisfies=function(e){var t=this,r={},n=0,i={},o=0;if(Object.keys(e).forEach((function(t){var s=e[t];"string"==typeof s?(i[t]=s,o+=1):"object"==typeof s&&(r[t]=s,n+=1)})),n>0){var s=Object.keys(r),u=a.default.find(s,(function(e){return t.isOS(e)}));if(u){var c=this.satisfies(r[u]);if(void 0!==c)return c}var l=a.default.find(s,(function(e){return t.isPlatform(e)}));if(l){var f=this.satisfies(r[l]);if(void 0!==f)return f}}if(o>0){var d=Object.keys(i),p=a.default.find(d,(function(e){return t.isBrowser(e,!0)}));if(void 0!==p)return this.compareVersion(i[p])}},t.isBrowser=function(e,t){void 0===t&&(t=!1);var r=this.getBrowserName().toLowerCase(),n=e.toLowerCase(),i=a.default.getBrowserTypeByAlias(n);return t&&i&&(n=i.toLowerCase()),n===r},t.compareVersion=function(e){var t=[0],r=e,n=!1,i=this.getBrowserVersion();if("string"==typeof i)return">"===e[0]||"<"===e[0]?(r=e.substr(1),"="===e[1]?(n=!0,r=e.substr(2)):t=[],">"===e[0]?t.push(1):t.push(-1)):"="===e[0]?r=e.substr(1):"~"===e[0]&&(n=!0,r=e.substr(1)),t.indexOf(a.default.compareVersions(i,r,n))>-1},t.isOS=function(e){return this.getOSName(!0)===String(e).toLowerCase()},t.isPlatform=function(e){return this.getPlatformType(!0)===String(e).toLowerCase()},t.isEngine=function(e){return this.getEngineName(!0)===String(e).toLowerCase()},t.is=function(e,t){return void 0===t&&(t=!1),this.isBrowser(e,t)||this.isOS(e)||this.isPlatform(e)},t.some=function(e){var t=this;return void 0===e&&(e=[]),e.some((function(e){return t.is(e)}))},e}();t.default=c,e.exports=t.default},92:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},o=/version\/(\d+(\.?_?\d+)+)/i,s=[{test:[/googlebot/i],describe:function(e){var t={name:"Googlebot"},r=i.default.getFirstMatch(/googlebot\/(\d+(\.\d+))/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/opera/i],describe:function(e){var t={name:"Opera"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:opera)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opr\/|opios/i],describe:function(e){var t={name:"Opera"},r=i.default.getFirstMatch(/(?:opr|opios)[\s/](\S+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/SamsungBrowser/i],describe:function(e){var t={name:"Samsung Internet for Android"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:SamsungBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Whale/i],describe:function(e){var t={name:"NAVER Whale Browser"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:whale)[\s/](\d+(?:\.\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MZBrowser/i],describe:function(e){var t={name:"MZ Browser"},r=i.default.getFirstMatch(/(?:MZBrowser)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/focus/i],describe:function(e){var t={name:"Focus"},r=i.default.getFirstMatch(/(?:focus)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/swing/i],describe:function(e){var t={name:"Swing"},r=i.default.getFirstMatch(/(?:swing)[\s/](\d+(?:\.\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/coast/i],describe:function(e){var t={name:"Opera Coast"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:coast)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/opt\/\d+(?:.?_?\d+)+/i],describe:function(e){var t={name:"Opera Touch"},r=i.default.getFirstMatch(/(?:opt)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/yabrowser/i],describe:function(e){var t={name:"Yandex Browser"},r=i.default.getFirstMatch(/(?:yabrowser)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/ucbrowser/i],describe:function(e){var t={name:"UC Browser"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:ucbrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/Maxthon|mxios/i],describe:function(e){var t={name:"Maxthon"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:Maxthon|mxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/epiphany/i],describe:function(e){var t={name:"Epiphany"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:epiphany)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/puffin/i],describe:function(e){var t={name:"Puffin"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:puffin)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sleipnir/i],describe:function(e){var t={name:"Sleipnir"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:sleipnir)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/k-meleon/i],describe:function(e){var t={name:"K-Meleon"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/(?:k-meleon)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/micromessenger/i],describe:function(e){var t={name:"WeChat"},r=i.default.getFirstMatch(/(?:micromessenger)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/qqbrowser/i],describe:function(e){var t={name:/qqbrowserlite/i.test(e)?"QQ Browser Lite":"QQ Browser"},r=i.default.getFirstMatch(/(?:qqbrowserlite|qqbrowser)[/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/msie|trident/i],describe:function(e){var t={name:"Internet Explorer"},r=i.default.getFirstMatch(/(?:msie |rv:)(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/\sedg\//i],describe:function(e){var t={name:"Microsoft Edge"},r=i.default.getFirstMatch(/\sedg\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/edg([ea]|ios)/i],describe:function(e){var t={name:"Microsoft Edge"},r=i.default.getSecondMatch(/edg([ea]|ios)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/vivaldi/i],describe:function(e){var t={name:"Vivaldi"},r=i.default.getFirstMatch(/vivaldi\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/seamonkey/i],describe:function(e){var t={name:"SeaMonkey"},r=i.default.getFirstMatch(/seamonkey\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/sailfish/i],describe:function(e){var t={name:"Sailfish"},r=i.default.getFirstMatch(/sailfish\s?browser\/(\d+(\.\d+)?)/i,e);return r&&(t.version=r),t}},{test:[/silk/i],describe:function(e){var t={name:"Amazon Silk"},r=i.default.getFirstMatch(/silk\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/phantom/i],describe:function(e){var t={name:"PhantomJS"},r=i.default.getFirstMatch(/phantomjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/slimerjs/i],describe:function(e){var t={name:"SlimerJS"},r=i.default.getFirstMatch(/slimerjs\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t={name:"BlackBerry"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/blackberry[\d]+\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t={name:"WebOS Browser"},r=i.default.getFirstMatch(o,e)||i.default.getFirstMatch(/w(?:eb)?[o0]sbrowser\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/bada/i],describe:function(e){var t={name:"Bada"},r=i.default.getFirstMatch(/dolfin\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/tizen/i],describe:function(e){var t={name:"Tizen"},r=i.default.getFirstMatch(/(?:tizen\s?)?browser\/(\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/qupzilla/i],describe:function(e){var t={name:"QupZilla"},r=i.default.getFirstMatch(/(?:qupzilla)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/firefox|iceweasel|fxios/i],describe:function(e){var t={name:"Firefox"},r=i.default.getFirstMatch(/(?:firefox|iceweasel|fxios)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/electron/i],describe:function(e){var t={name:"Electron"},r=i.default.getFirstMatch(/(?:electron)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/MiuiBrowser/i],describe:function(e){var t={name:"Miui"},r=i.default.getFirstMatch(/(?:MiuiBrowser)[\s/](\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/chromium/i],describe:function(e){var t={name:"Chromium"},r=i.default.getFirstMatch(/(?:chromium)[\s/](\d+(\.?_?\d+)+)/i,e)||i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/chrome|crios|crmo/i],describe:function(e){var t={name:"Chrome"},r=i.default.getFirstMatch(/(?:chrome|crios|crmo)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/GSA/i],describe:function(e){var t={name:"Google Search"},r=i.default.getFirstMatch(/(?:GSA)\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t={name:"Android Browser"},r=i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/playstation 4/i],describe:function(e){var t={name:"PlayStation 4"},r=i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/safari|applewebkit/i],describe:function(e){var t={name:"Safari"},r=i.default.getFirstMatch(o,e);return r&&(t.version=r),t}},{test:[/.*/i],describe:function(e){var t=-1!==e.search("\\(")?/^(.*)\/(.*)[ \t]\((.*)/:/^(.*)\/(.*) /;return{name:i.default.getFirstMatch(t,e),version:i.default.getSecondMatch(t,e)}}}];t.default=s,e.exports=t.default},93:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),s=[{test:[/Roku\/DVP/],describe:function(e){var t=i.default.getFirstMatch(/Roku\/DVP-(\d+\.\d+)/i,e);return{name:o.OS_MAP.Roku,version:t}}},{test:[/windows phone/i],describe:function(e){var t=i.default.getFirstMatch(/windows phone (?:os)?\s?(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.WindowsPhone,version:t}}},{test:[/windows /i],describe:function(e){var t=i.default.getFirstMatch(/Windows ((NT|XP)( \d\d?.\d)?)/i,e),r=i.default.getWindowsVersionName(t);return{name:o.OS_MAP.Windows,version:t,versionName:r}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(e){var t={name:o.OS_MAP.iOS},r=i.default.getSecondMatch(/(Version\/)(\d[\d.]+)/,e);return r&&(t.version=r),t}},{test:[/macintosh/i],describe:function(e){var t=i.default.getFirstMatch(/mac os x (\d+(\.?_?\d+)+)/i,e).replace(/[_\s]/g,"."),r=i.default.getMacOSVersionName(t),n={name:o.OS_MAP.MacOS,version:t};return r&&(n.versionName=r),n}},{test:[/(ipod|iphone|ipad)/i],describe:function(e){var t=i.default.getFirstMatch(/os (\d+([_\s]\d+)*) like mac os x/i,e).replace(/[_\s]/g,".");return{name:o.OS_MAP.iOS,version:t}}},{test:function(e){var t=!e.test(/like android/i),r=e.test(/android/i);return t&&r},describe:function(e){var t=i.default.getFirstMatch(/android[\s/-](\d+(\.\d+)*)/i,e),r=i.default.getAndroidVersionName(t),n={name:o.OS_MAP.Android,version:t};return r&&(n.versionName=r),n}},{test:[/(web|hpw)[o0]s/i],describe:function(e){var t=i.default.getFirstMatch(/(?:web|hpw)[o0]s\/(\d+(\.\d+)*)/i,e),r={name:o.OS_MAP.WebOS};return t&&t.length&&(r.version=t),r}},{test:[/blackberry|\bbb\d+/i,/rim\stablet/i],describe:function(e){var t=i.default.getFirstMatch(/rim\stablet\sos\s(\d+(\.\d+)*)/i,e)||i.default.getFirstMatch(/blackberry\d+\/(\d+([_\s]\d+)*)/i,e)||i.default.getFirstMatch(/\bbb(\d+)/i,e);return{name:o.OS_MAP.BlackBerry,version:t}}},{test:[/bada/i],describe:function(e){var t=i.default.getFirstMatch(/bada\/(\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Bada,version:t}}},{test:[/tizen/i],describe:function(e){var t=i.default.getFirstMatch(/tizen[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.Tizen,version:t}}},{test:[/linux/i],describe:function(){return{name:o.OS_MAP.Linux}}},{test:[/CrOS/],describe:function(){return{name:o.OS_MAP.ChromeOS}}},{test:[/PlayStation 4/],describe:function(e){var t=i.default.getFirstMatch(/PlayStation 4[/\s](\d+(\.\d+)*)/i,e);return{name:o.OS_MAP.PlayStation4,version:t}}}];t.default=s,e.exports=t.default},94:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),s=[{test:[/googlebot/i],describe:function(){return{type:"bot",vendor:"Google"}}},{test:[/huawei/i],describe:function(e){var t=i.default.getFirstMatch(/(can-l01)/i,e)&&"Nova",r={type:o.PLATFORMS_MAP.mobile,vendor:"Huawei"};return t&&(r.model=t),r}},{test:[/nexus\s*(?:7|8|9|10).*/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Nexus"}}},{test:[/ipad/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/Macintosh(.*?) FxiOS(.*?)\//],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Apple",model:"iPad"}}},{test:[/kftt build/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon",model:"Kindle Fire HD 7"}}},{test:[/silk/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet,vendor:"Amazon"}}},{test:[/tablet(?! pc)/i],describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){var t=e.test(/ipod|iphone/i),r=e.test(/like (ipod|iphone)/i);return t&&!r},describe:function(e){var t=i.default.getFirstMatch(/(ipod|iphone)/i,e);return{type:o.PLATFORMS_MAP.mobile,vendor:"Apple",model:t}}},{test:[/nexus\s*[0-6].*/i,/galaxy nexus/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Nexus"}}},{test:[/[^-]mobi/i],describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"blackberry"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"BlackBerry"}}},{test:function(e){return"bada"===e.getBrowserName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"windows phone"===e.getBrowserName()},describe:function(){return{type:o.PLATFORMS_MAP.mobile,vendor:"Microsoft"}}},{test:function(e){var t=Number(String(e.getOSVersion()).split(".")[0]);return"android"===e.getOSName(!0)&&t>=3},describe:function(){return{type:o.PLATFORMS_MAP.tablet}}},{test:function(e){return"android"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.mobile}}},{test:function(e){return"macos"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop,vendor:"Apple"}}},{test:function(e){return"windows"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"linux"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.desktop}}},{test:function(e){return"playstation 4"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}},{test:function(e){return"roku"===e.getOSName(!0)},describe:function(){return{type:o.PLATFORMS_MAP.tv}}}];t.default=s,e.exports=t.default},95:function(e,t,r){"use strict";t.__esModule=!0,t.default=void 0;var n,i=(n=r(17))&&n.__esModule?n:{default:n},o=r(18),s=[{test:function(e){return"microsoft edge"===e.getBrowserName(!0)},describe:function(e){if(/\sedg\//i.test(e))return{name:o.ENGINE_MAP.Blink};var t=i.default.getFirstMatch(/edge\/(\d+(\.?_?\d+)+)/i,e);return{name:o.ENGINE_MAP.EdgeHTML,version:t}}},{test:[/trident/i],describe:function(e){var t={name:o.ENGINE_MAP.Trident},r=i.default.getFirstMatch(/trident\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){return e.test(/presto/i)},describe:function(e){var t={name:o.ENGINE_MAP.Presto},r=i.default.getFirstMatch(/presto\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:function(e){var t=e.test(/gecko/i),r=e.test(/like gecko/i);return t&&!r},describe:function(e){var t={name:o.ENGINE_MAP.Gecko},r=i.default.getFirstMatch(/gecko\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}},{test:[/(apple)?webkit\/537\.36/i],describe:function(){return{name:o.ENGINE_MAP.Blink}}},{test:[/(apple)?webkit/i],describe:function(e){var t={name:o.ENGINE_MAP.WebKit},r=i.default.getFirstMatch(/webkit\/(\d+(\.?_?\d+)+)/i,e);return r&&(t.version=r),t}}];t.default=s,e.exports=t.default}})},2238:e=>{var t=/\b(Array|Date|Object|Math|JSON)\b/g;e.exports=function(e,r){var n=function(e){for(var t=[],r=0;r<e.length;r++)~t.indexOf(e[r])||t.push(e[r]);return t}(function(e){return e.replace(/\.\w+|\w+ *\(|"[^"]*"|'[^']*'|\/([^/]+)\//g,"").replace(t,"").match(/[a-zA-Z_]\w*/g)||[]}(e));return r&&"string"==typeof r&&(r=function(e){return function(t){return e+t}}(r)),r?function(e,t,r){return e.replace(/\.\w+|\w+ *\(|"[^"]*"|'[^']*'|\/([^/]+)\/|[a-zA-Z_]\w*/g,(function(e){return"("==e[e.length-1]||~t.indexOf(e)?r(e):e}))}(e,n,r):n}},3854:(e,t,r)=>{"use strict";r.d(t,{Z:()=>o});var n=r(3645),i=r.n(n)()((function(e){return e[1]}));i.push([e.id,".di-notify {\n  position: fixed;\n  left: 0;\n  bottom: 0;\n  right: 0;\n  background: #2e3e52;\n  color: #fff;\n  padding: 20px 40px;\n  text-align: center;\n  display: none;\n  box-shadow: 0px -1px 6px 0px rgb(46 62 82 / 71%);\n  opacity: 0;\n  transition: opacity linear 300ms;\n}\n\n.di-notify.show {\n  opacity: 1;\n  display: block;\n}\n\n.di-notify.hide {\n  opacity: 0;\n}\n\n.di-notify .di-notify-message {\n  margin-top: 4px;\n  font-size: 14px;\n  line-height: 1.4;\n  max-width: 900px;\n  display: inline-block;\n}\n\n.di-notify .di-notify-message a {\n  color: #4b81c5;\n}\n\n.di-notify .di-notify-action {\n  margin-top: 20px;\n}\n\n.di-notify .di-notify-action button {\n  padding: 10px 20px;\n  background: #fff;\n  opacity: 0.85;\n  border: 1px solid #fff;\n  margin: 0 6px;\n  border-radius: 4px;\n  color: #2e3e52;\n  cursor: pointer;\n}\n\n\n.di-notify .di-notify-action button:hover {\n  opacity: 1;\n}\n\n.di-notify .di-notify-action button.di-btn-accept {\n  /* background-color: #4b81c5; */\n}",""]);const o=i},3645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var r=e(t);return t[2]?"@media ".concat(t[2]," {").concat(r,"}"):r})).join("")},t.i=function(e,r,n){"string"==typeof e&&(e=[[null,e,""]]);var i={};if(n)for(var o=0;o<this.length;o++){var s=this[o][0];null!=s&&(i[s]=!0)}for(var a=0;a<e.length;a++){var u=[].concat(e[a]);n&&i[u[0]]||(r&&(u[2]?u[2]="".concat(r," and ").concat(u[2]):u[2]=r),t.push(u))}},t}},4918:(e,t,r)=>{var n=r(2816);e.exports=function(e,t){var r,i={};t=n(t);for(var o=0;o<e.length;++o)i[r=t(e[o],o)]=i[r]||[],i[r].push(e[o]);return i}},2832:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class r{static serializeKeysTo(e){this.serializeKeyTransform=e}static deserializeKeysFrom(e){this.deserializeKeyTransform=e}static convertKeys(e,t){if(e instanceof Array)return e.map((e=>this.convertKeys(e,t)));if((r=e)&&"object"==typeof r){const r={};return Object.entries(e).forEach((([e,n])=>{const i=t(e);r[i]=this.convertKeys(n,t)})),r}var r;return e}static toJson(e,t){const r=t||this.serializeKeyTransform;return JSON.stringify(this.convertKeys(e,r))}static fromJson(e,t){const r=t||this.deserializeKeyTransform;if("string"==typeof e){const t=JSON.parse(e);return this.convertKeys(t,r)}return this.convertKeys(e,r)}}r.serializeKeyTransform=e=>e.replace(/[A-Z]/g,(e=>`_${e.toLowerCase()}`)),r.deserializeKeyTransform=e=>e.toLowerCase().replace(/([-_][a-z])/g,(e=>e.toUpperCase().replace("-","").replace("_",""))),t.default=r},1528:function(e,t){var r,n,i;!function(o,s){"use strict";"object"==typeof e.exports?e.exports=s():(n=[],void 0===(i="function"==typeof(r=s)?r.apply(t,n):r)||(e.exports=i))}(0,(function(){"use strict";var e=Object.prototype.toString;function t(e,t){return null!=e&&Object.prototype.hasOwnProperty.call(e,t)}function r(e){if(!e)return!0;if(i(e)&&0===e.length)return!0;if("string"!=typeof e){for(var r in e)if(t(e,r))return!1;return!0}return!1}function n(t){return e.call(t)}var i=Array.isArray||function(t){return"[object Array]"===e.call(t)};function o(e){var t=parseInt(e);return t.toString()===e?t:e}function s(e){var s,a=function(e){return Object.keys(a).reduce((function(t,r){return"create"===r||"function"==typeof a[r]&&(t[r]=a[r].bind(a,e)),t}),{})};function u(e,t){if(s(e,t))return e[t]}function c(t,r,n,i){if("number"==typeof r&&(r=[r]),!r||0===r.length)return t;if("string"==typeof r)return c(t,r.split(".").map(o),n,i);var s=r[0],a=u(t,s);if(e.includeInheritedProps&&("__proto__"===s||"constructor"===s&&"function"==typeof a))throw new Error("For security reasons, object's magic properties cannot be set");return 1===r.length?(void 0!==a&&i||(t[s]=n),a):(void 0===a&&("number"==typeof r[1]?t[s]=[]:t[s]={}),c(t[s],r.slice(1),n,i))}return s=(e=e||{}).includeInheritedProps?function(){return!0}:function(e,r){return"number"==typeof r&&Array.isArray(e)||t(e,r)},a.has=function(r,n){if("number"==typeof n?n=[n]:"string"==typeof n&&(n=n.split(".")),!n||0===n.length)return!!r;for(var s=0;s<n.length;s++){var a=o(n[s]);if(!("number"==typeof a&&i(r)&&a<r.length||(e.includeInheritedProps?a in Object(r):t(r,a))))return!1;r=r[a]}return!0},a.ensureExists=function(e,t,r){return c(e,t,r,!0)},a.set=function(e,t,r,n){return c(e,t,r,n)},a.insert=function(e,t,r,n){var o=a.get(e,t);n=~~n,i(o)||(o=[],a.set(e,t,o)),o.splice(n,0,r)},a.empty=function(e,t){var o,u;if(!r(t)&&null!=e&&(o=a.get(e,t))){if("string"==typeof o)return a.set(e,t,"");if(function(e){return"boolean"==typeof e||"[object Boolean]"===n(e)}(o))return a.set(e,t,!1);if("number"==typeof o)return a.set(e,t,0);if(i(o))o.length=0;else{if(!function(e){return"object"==typeof e&&"[object Object]"===n(e)}(o))return a.set(e,t,null);for(u in o)s(o,u)&&delete o[u]}}},a.push=function(e,t){var r=a.get(e,t);i(r)||(r=[],a.set(e,t,r)),r.push.apply(r,Array.prototype.slice.call(arguments,2))},a.coalesce=function(e,t,r){for(var n,i=0,o=t.length;i<o;i++)if(void 0!==(n=a.get(e,t[i])))return n;return r},a.get=function(e,t,r){if("number"==typeof t&&(t=[t]),!t||0===t.length)return e;if(null==e)return r;if("string"==typeof t)return a.get(e,t.split("."),r);var n=o(t[0]),i=u(e,n);return void 0===i?r:1===t.length?i:a.get(e[n],t.slice(1),r)},a.del=function(e,t){if("number"==typeof t&&(t=[t]),null==e)return e;if(r(t))return e;if("string"==typeof t)return a.del(e,t.split("."));var n=o(t[0]);return s(e,n)?1!==t.length?a.del(e[n],t.slice(1)):(i(e)?e.splice(n,1):delete e[n],e):e},a}var a=s();return a.create=s,a.withInheritedProps=s({includeInheritedProps:!0}),a}))},3197:(module,__unused_webpack_exports,__webpack_require__)=>{"use strict";function doEval(self,__pseudoworker_script){(function(){eval(__pseudoworker_script)}).call(__webpack_require__.g)}function PseudoWorker(e){var t,r,n=[],i=[],o=[],s=[],a=[],u=!1,c=this;function l(e,t){for(var r=-1;++r<e.length;)e[r]&&t(e[r])}function f(e){var t=function(e){return function(t){t({type:"error",error:e,message:e.message})}}(e);"function"==typeof c.onerror&&t(c.onerror),r&&"function"==typeof r.onerror&&t(r.onerror),l(i,t),l(s,t)}function d(e,t){function n(r){try{r({data:e,ports:t})}catch(e){f(e)}}r&&"function"==typeof r.onmessage&&n(r.onmessage),l(o,n)}function p(){u=!0}function h(e){function t(t){t({data:e})}u||("function"==typeof c.onmessage&&t(c.onmessage),l(n,t))}function v(e,t){"message"===e?o.push(t):"error"===e&&s.push(t)}var g=new XMLHttpRequest;return g.open("GET",e),g.onreadystatechange=function(){if(4===g.readyState)if(g.status>=200&&g.status<400){t=g.responseText,doEval(r={postMessage:h,addEventListener:v,close:p},t);var n=a;a=[];for(var i=0;i<n.length;i++)d(n[i].msg,n[i].transfer)}else f(new Error("cannot find script "+e))},g.send(),c.postMessage=function(e,r){if(void 0===e)throw new Error("postMessage() requires an argument");u||(t?d(e,r):a.push({msg:e,transfer:r||void 0}))},c.addEventListener=function(e,t){"message"===e?n.push(t):"error"===e&&i.push(t)},c.removeEventListener=function(e,t){var r;if("message"===e)r=n;else{if("error"!==e)return;r=i}for(var o=-1;++o<r.length;)if(r[o]===t){delete r[o];break}},c.terminate=p,c}module.exports=PseudoWorker},574:(e,t,r)=>{"use strict";var n=r(3197);"undefined"==typeof Worker&&(r.g.Worker=n),e.exports=n},6988:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>ve}),r(574);class n{constructor(){this.store={},this.verifierPattern=/^[a-z0-9-_]+:before$|after$|retry$|\*$/,this.wildcards=["*","error","completed"],this.emptyFunc=()=>{},this.store.before={},this.store.after={},this.store.retry={},this.store.wildcard={},this.store.error=this.emptyFunc,this.store.completed=this.emptyFunc,this.store["*"]=this.emptyFunc}on(e,t){if("function"!=typeof t)throw new Error("Event should be an function");this.isValid(e)&&this.add(e,t)}emit(e,t){if(this.wildcards.indexOf(e)>-1)this.wildcard(e,e,t);else{const r=this.getType(e),n=this.getName(e);this.store[r]&&(this.store[r][n]||this.emptyFunc).call(null,t)}this.wildcard("*",e,t)}wildcard(e,t,r){this.store.wildcard[e]&&this.store.wildcard[e].call(null,t,r)}add(e,t){if(this.wildcards.indexOf(e)>-1)this.store.wildcard[e]=t;else{const r=this.getType(e),n=this.getName(e);this.store[r][n]=t}}has(e){try{const t=e.split(":");return t.length>1?!!this.store[t[1]][t[0]]:!!this.store.wildcard[t[0]]}catch(e){return!1}}getName(e){return e.match(/(.*):.*/)[1]}getType(e){return e.match(/^[a-z0-9-_]+:(.*)/)[1]}isValid(e){return this.verifierPattern.test(e)||this.wildcards.indexOf(e)>-1}}var i=r(4918),o=r.n(i),s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function a(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,r){return function n(i,o){try{var s=t[i](o),a=s.value}catch(e){return void r(e)}if(!s.done)return Promise.resolve(a).then((function(e){n("next",e)}),(function(e){n("throw",e)}));e(a)}("next")}))}}class u{constructor(e){this.store={},this.config=e,this.prefix=this.config.get("prefix")}get(e){var t=this;return a((function*(){const r=t.storageName(e);return[...t.getCollection(r)]}))()}set(e,t){var r=this;return a((function*(){return r.store[r.storageName(e)]=[...t],t}))()}has(e){var t=this;return a((function*(){return Object.prototype.hasOwnProperty.call(t.store,t.storageName(e))}))()}clear(e){var t=this;return a((function*(){const r=!!(yield t.has(e))&&delete t.store[t.storageName(e)];return t.store=s({},t.store),r}))()}storageName(e){return e.startsWith(this.getPrefix())?e:`${this.getPrefix()}_${e}`}getPrefix(){return this.config.get("prefix")}getCollection(e){return Object.prototype.hasOwnProperty.call(this.store,e)||(this.store[e]=[]),this.store[e]}}function c(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,r){return function n(i,o){try{var s=t[i](o),a=s.value}catch(e){return void r(e)}if(!s.done)return Promise.resolve(a).then((function(e){n("next",e)}),(function(e){n("throw",e)}));e(a)}("next")}))}}class l{constructor(e){this.config=e,this.prefix=this.config.get("prefix")}get(e){var t=this;return c((function*(){const r=localStorage.getItem(t.storageName(e));return JSON.parse(r)||[]}))()}set(e,t){var r=this;return c((function*(){return localStorage.setItem(r.storageName(e),JSON.stringify(t)),t}))()}has(e){var t=this;return c((function*(){return Object.prototype.hasOwnProperty.call(localStorage,t.storageName(e))}))()}clear(e){var t=this;return c((function*(){return!!(yield t.has(e))&&delete localStorage[t.storageName(e)]}))()}storageName(e){return e.startsWith(this.getPrefix())?e:`${this.getPrefix()}_${e}`}getPrefix(){return this.config.get("prefix")}}function f(e){const t=Array.isArray(this)?this:["freezed","locked"],r=[];return t.forEach((t=>{var n,i;r.push(!1===(n=e,i=t,Object.prototype.hasOwnProperty.call(n,i))||!1===e[t])})),!(r.indexOf(!1)>-1)}function d(e){return!!f.call(["locked"],e)&&e.tag===this}function p(e,t){return e.createdAt-t.createdAt}function h(e,t){return t.createdAt-e.createdAt}var v=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function g(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,r){return function n(i,o){try{var s=t[i](o),a=s.value}catch(e){return void r(e)}if(!s.done)return Promise.resolve(a).then((function(e){n("next",e)}),(function(e){n("throw",e)}));e(a)}("next")}))}}class y{constructor(e,t){this.config=e,this.storage=this.initialize(t)}initialize(e){return"object"==typeof e?e:"function"==typeof e?new e(this.config):"localstorage"===this.config.get("storage")?new l(this.config):new u(this.config)}channel(e){return this.storageChannel=e,this}fetch(){var e=this;return g((function*(){const t=(yield e.all()).filter(f),r=o()(t,"priority");return Object.keys(r).map((function(e){return parseInt(e,10)})).sort((function(e,t){return t-e})).reduce(e.reduceTasks(r),[])}))()}save(e){var t=this;return g((function*(){if("object"!=typeof e)return!1;const r=yield t.storage.get(t.storageChannel);if(yield t.isExceeded())return console.warn(`Task limit exceeded: The '${t.storageChannel}' channel limit is ${t.config.get("limit")}`),!1;const n=t.prepareTask(e);return r.push(n),yield t.storage.set(t.storageChannel,r),n._id}))()}update(e,t){var r=this;return g((function*(){const n=yield r.all(),i=n.findIndex((function(t){return t._id===e}));return!(i<0||(n[i]=Object.assign({},n[i],t),yield r.storage.set(r.storageChannel,n),0))}))()}delete(e){var t=this;return g((function*(){const r=yield t.all(),n=r.findIndex((function(t){return t._id===e}));return!(n<0||(delete r[n],yield t.storage.set(t.storageChannel,r.filter((function(e){return e}))),0))}))()}all(){var e=this;return g((function*(){return yield e.storage.get(e.storageChannel)}))()}generateId(){return(65536*(1+Math.random())).toString(16)}prepareTask(e){const t=v({},e);return t.createdAt=Date.now(),t._id=this.generateId(),t}reduceTasks(e){return((t,r)=>"lifo"===this.config.get("principle")?t.concat(e[r].sort(h)):t.concat(e[r].sort(p))).bind(this)}isExceeded(){var e=this;return g((function*(){const t=e.config.get("limit"),r=(yield e.all()).filter(f);return!(-1===t||t>r.length)}))()}clear(e){var t=this;return g((function*(){yield t.storage.clear(e)}))()}}var m=r(1528),_=r.n(m);const b={queue:{created:"New task created.",next:"Next task processing.",starting:"Queue listener starting.",stopping:"Queue listener stopping.",stopped:"Queue listener stopped.",empty:"channel is empty...","not-found":"worker not found",offline:"Disconnected",online:"Connected"},event:{created:"event created",fired:"Event fired.","wildcard-fired":"Wildcard event fired."}};function w(){console.log(...arguments)}function S(e){let[t]=e;w(`%c${String.fromCharCode(43)} (${t.handler}) -> ${_().get(b,"queue.created")}`,"color: green;font-weight: bold;")}function E(e){let[t]=e;w(`%c${String.fromCharCode(8211)} (${t}) -> ${_().get(b,"queue.starting")}`,"color: #3fa5f3;font-weight: bold;")}function O(e){let[t]=e;w(`%c${String.fromCharCode(187)} (${t}) -> ${_().get(b,"queue.next")}`,"color: #3fa5f3;font-weight: bold;")}function A(e){let[t]=e;w(`%c${String.fromCharCode(8226)} (${t}) -> ${_().get(b,"queue.stopping")}`,"color: #ff7f94;font-weight: bold;")}function M(e){let[t]=e;w(`%c${String.fromCharCode(8226)} (${t}) -> ${_().get(b,"queue.stopped")}`,"color: #ff7f94;font-weight: bold;")}function P(e){let[t]=e;w(`%c${t} ${_().get(b,"queue.empty")}`,"color: #ff7f94;font-weight: bold;")}function I(e){let[t,r]=e;w(`%c(${r}) -> ${t} ${_().get(b,"event.created")}`,"color: #66cee3;font-weight: bold;")}function R(e){let[t,r]=e;w(`%c(${t}) -> ${_().get(b,`event.${r}`)}`,"color: #a0dc3c;font-weight: bold;")}function x(e){let[t]=e;w(`%c${String.fromCharCode(215)} (${t}) -> ${_().get(b,"queue.not-found")}`,"color: #b92e2e;font-weight: bold;")}function k(e){let[t,r,n,i,o]=e;console.groupCollapsed(`${t.name||n.handler} - ${n.label}`),w(`%cchannel: ${i}`,"color: blue;"),w(`%clabel: ${n.label||""}`,"color: blue;"),w(`%chandler: ${n.handler}`,"color: blue;"),w(`%cpriority: ${n.priority}`,"color: blue;"),w(`%cunique: ${n.unique||"false"}`,"color: blue;"),w(`%cretry: ${r.retry||"1"}`,"color: blue;"),w(`%ctried: ${n.tried?n.tried+1:"1"}`,"color: blue;"),w(`%ctag: ${n.tag||""}`,"color: blue;"),w("%cargs:","color: blue;"),w(n.args||""),console.groupCollapsed("dependencies"),w(...o[t.name]||[]),console.groupEnd()}function T(e){let[t,r,n]=e;!0===t?w(`%c${String.fromCharCode(10003)} Task completed!`,"color: green;"):!t&&r.tried<n.retry?w("%cTask will be retried!","color: #d8410c;"):w(`%c${String.fromCharCode(10005)} Task failed and freezed!`,"color: #ef6363;"),console.groupEnd()}function C(){w(`%c${String.fromCharCode(10005)} Task failed!`,"color: red;"),console.groupEnd()}function N(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,r){return function n(i,o){try{var s=t[i](o),a=s.value}catch(e){return void r(e)}if(!s.done)return Promise.resolve(a).then((function(e){n("next",e)}),(function(e){n("throw",e)}));e(a)}("next")}))}}function j(){return this.storage.channel(this.name())}let F=(D=N((function*(){return(yield j.call(this).all()).filter(f.bind(["freezed"]))})),function(){return D.apply(this,arguments)});var D;function B(e){if(this.config.get("debug")&&"function"==typeof e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];e(r)}}let L=(U=N((function*(e){return yield j.call(this).save(function(e){return e.priority=e.priority||0,"number"!=typeof e.priority&&(e.priority=0),e}(e))})),function(e){return U.apply(this,arguments)});var U;let q=(G=N((function*(e){return yield j.call(this).delete(e)})),function(e){return G.apply(this,arguments)});var G;function K(e,t){return"tag"in e&&([[`${e.tag}:${t}`,"fired"],[`${e.tag}:*`,"wildcard-fired"]].forEach((t=>{this.event.emit(t[0],e),B.call(this,R,...t)})),!0)}function W(){this.stop(),this.running=!1,clearTimeout(this.currentTimeout),B.call(this,M,"stop")}let V=($=N((function*(e){return t=N((function*(){q.call(this,e._id),this.event.emit("error",e),B.call(this,C),yield this.next()})),function(){return t.apply(this,arguments)};var t})),function(e){return $.apply(this,arguments)});var $;let z=(H=N((function*(e){return yield j.call(this).update(e._id,{locked:!0})})),function(e){return H.apply(this,arguments)});var H;function J(e,t,r){return(n=t)instanceof Object&&e in n&&t[e]instanceof Function&&(t[e].call(t,r),!0);var n}function Q(e){q.call(this,e._id)}function Y(e,t){return"retry"in t||(t.retry=1),"tried"in e||(e.tried=0,e.retry=t.retry),e.tried+=1,e.tried>=t.retry&&(e.freezed=!0),e}let X=(Z=N((function*(e,t){K.call(this,e,"retry");const r=Y.call(this,e,t);return r.locked=!1,yield j.call(this).update(e._id,r)})),function(e,t){return Z.apply(this,arguments)});var Z;let ee=(te=N((function*(e,t){const r=this;return n=N((function*(n){n?Q.call(r,e):yield X.call(r,e,t),J.call(r,"after",t,e.args),K.call(r,e,"after"),B.call(r,T,n,e,t),yield r.next()})),function(e){return n.apply(this,arguments)};var n})),function(e,t){return te.apply(this,arguments)});var te;function re(e,t,r){return n=N((function*(){let n;const i=this;yield z.call(i,e),J.call(this,"before",r,e.args),K.call(this,e,"before");const o=he.workerDeps[e.handler],s=Object.values(o||{});B.call(this,k,t,r,e,i.name(),he.workerDeps),r instanceof Worker?(r.postMessage({args:e.args,dependencies:s}),n=new Promise((function(e){r.onmessage=function(n){e(t.handler(n)),r.terminate()}}))):n=r.handle.call(r,e.args,...s),n.then((yield ee.call(i,e,r)).bind(i)).catch((yield V.call(i,e)).bind(i))})),function(){return n.apply(this,arguments)};var n}let ne=(ie=N((function*(){clearTimeout(this.currentTimeout);const e=(yield j.call(this).fetch()).shift();if(void 0===e)return B.call(this,P,this.name()),this.event.emit("completed",e),0;if(!he.worker.has(e.handler))return B.call(this,x,e.handler),yield(yield V.call(this,e)).call(this),0;const t=he.worker.get(e.handler),r="object"==typeof t?new Worker(t.uri):new t,n=this.config.get("timeout"),i=[e,t,r],o=(yield re.call(this,...i)).bind(this);return this.currentTimeout=setTimeout(o,n),this.currentTimeout})),function(){return ie.apply(this,arguments)});var ie;let oe=(se=N((function*(e){return"object"!=typeof e||!0!==e.unique||!1===(yield this.hasByTag(e.tag))})),function(e){return se.apply(this,arguments)});var se;function ae(e){return function(){var t=e.apply(this,arguments);return new Promise((function(e,r){return function n(i,o){try{var s=t[i](o),a=s.value}catch(e){return void r(e)}if(!s.done)return Promise.resolve(a).then((function(e){n("next",e)}),(function(e){n("throw",e)}));e(a)}("next")}))}}const ue=Symbol("channel-name");class ce{constructor(e,t){this.stopped=!0,this.running=!1,this.event=new n,this.config=t,this[ue]=e;const{drivers:r}=he,i=new y(t,r.storage);this.storage=i.channel(e)}name(){return this[ue]}add(e){var t=this;return ae((function*(){if(!(yield oe.call(t,e)))return!1;const r=yield L.call(t,e);return r&&!0===t.running&&(yield t.start()),B.call(t,S,e),r}))()}next(){var e=this;return ae((function*(){return e.stopped?W.call(e):(B.call(e,O,"next"),yield e.start(),!0)}))()}start(){var e=this;return ae((function*(){e.stopped=!1,e.running=!0,B.call(e,E,"start"),yield ne.call(e)}))()}stop(){B.call(this,A,"stop"),this.stopped=!0}forceStop(){W.call(this)}status(){return this.running}isEmpty(){var e=this;return ae((function*(){return(yield e.count())<1}))()}count(){var e=this;return ae((function*(){return(yield F.call(e)).length}))()}countByTag(e){var t=this;return ae((function*(){return(yield F.call(t)).filter((function(t){return t.tag===e})).length}))()}clear(){var e=this;return ae((function*(){return!!e.name()&&(yield e.storage.clear(e.name()),!0)}))()}clearByTag(e){var t=this;return ae((function*(){const r=t,n=(yield j.call(r).all()).filter(d.bind(e)).map((()=>{var e=ae((function*(e){return yield j.call(r).delete(e._id)}));return function(t){return e.apply(this,arguments)}})());yield Promise.all(n)}))()}has(e){var t=this;return ae((function*(){return(yield F.call(t)).findIndex((function(t){return t._id===e}))>-1}))()}hasByTag(e){var t=this;return ae((function*(){return(yield F.call(t)).findIndex((function(t){return t.tag===e}))>-1}))()}on(e,t){this.event.on(e,t),B.call(this,I,e,this.name())}}class le{constructor(){this.store={}}has(e){return Object.prototype.hasOwnProperty.call(this.store,e)}get(e){return this.store[e]}all(){return this.store}bind(e,t){this.store[e]=t}merge(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.store=Object.assign({},this.store,e)}remove(e){return!!this.has(e)&&delete this.store[e]}removeAll(){this.store={}}}const fe={defaultStorage:"localstorage",prefix:"sq_jobs",timeout:1e3,limit:-1,principle:"fifo",debug:!0};class de{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.config=fe,this.merge(e)}set(e,t){this.config[e]=t}get(e){return this.config[e]}has(e){return Object.prototype.hasOwnProperty.call(this.config,e)}merge(e){this.config=Object.assign({},this.config,e)}remove(e){return delete this.config[e]}all(){return this.config}}var pe=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e};function he(e){this.config=new de(e)}he.FIFO="fifo",he.LIFO="lifo",he.drivers={},he.workerDeps={},he.worker=new le,he.prototype.container=new le,he.prototype.create=function(e){return this.container.has(e)||this.container.bind(e,new ce(e,this.config)),this.container.get(e)},he.prototype.channel=function(e){if(!this.container.has(e))throw new Error(`"${e}" channel not found`);return this.container.get(e)},he.prototype.setTimeout=function(e){this.config.set("timeout",e)},he.prototype.setLimit=function(e){this.config.set("limit",e)},he.prototype.setPrefix=function(e){this.config.set("prefix",e)},he.prototype.setPrinciple=function(e){this.config.set("principle",e)},he.prototype.setDebug=function(e){this.config.set("debug",e)},he.prototype.setStorage=function(e){this.config.set("storage",e)},he.workers=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(e instanceof Object))throw new Error("The parameters should be object.");he.worker.merge(e)},he.deps=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!(e instanceof Object))throw new Error("The parameters should be object.");he.workerDeps=e},he.use=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};he.drivers=pe({},he.drivers,e)},"undefined"!=typeof window&&(window.Queue=he);const ve=he},41:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>y});var n=r(3379),i=r.n(n),o=r(7795),s=r.n(o),a=r(569),u=r.n(a),c=r(3565),l=r.n(c),f=r(9216),d=r.n(f),p=r(4589),h=r.n(p),v=r(3854),g={};g.styleTagTransform=h(),g.setAttributes=l(),g.insert=u().bind(null,"head"),g.domAPI=s(),g.insertStyleElement=d(),i()(v.Z,g);const y=v.Z&&v.Z.locals?v.Z.locals:void 0},3379:e=>{"use strict";var t=[];function r(e){for(var r=-1,n=0;n<t.length;n++)if(t[n].identifier===e){r=n;break}return r}function n(e,n){for(var o={},s=[],a=0;a<e.length;a++){var u=e[a],c=n.base?u[0]+n.base:u[0],l=o[c]||0,f="".concat(c," ").concat(l);o[c]=l+1;var d=r(f),p={css:u[1],media:u[2],sourceMap:u[3]};-1!==d?(t[d].references++,t[d].updater(p)):t.push({identifier:f,updater:i(p,n),references:1}),s.push(f)}return s}function i(e,t){var r=t.domAPI(t);return r.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap)return;r.update(e=t)}else r.remove()}}e.exports=function(e,i){var o=n(e=e||[],i=i||{});return function(e){e=e||[];for(var s=0;s<o.length;s++){var a=r(o[s]);t[a].references--}for(var u=n(e,i),c=0;c<o.length;c++){var l=r(o[c]);0===t[l].references&&(t[l].updater(),t.splice(l,1))}o=u}}},569:e=>{"use strict";var t={};e.exports=function(e,r){var n=function(e){if(void 0===t[e]){var r=document.querySelector(e);if(window.HTMLIFrameElement&&r instanceof window.HTMLIFrameElement)try{r=r.contentDocument.head}catch(e){r=null}t[e]=r}return t[e]}(e);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");n.appendChild(r)}},9216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t),t}},3565:(e,t,r)=>{"use strict";e.exports=function(e){var t=r.nc;t&&e.setAttribute("nonce",t)}},7795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(r){!function(e,t,r){var n=r.css,i=r.media,o=r.sourceMap;i?e.setAttribute("media",i):e.removeAttribute("media"),o&&"undefined"!=typeof btoa&&(n+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(o))))," */")),t.styleTagTransform(n,e)}(t,e,r)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},4589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}},2816:(e,t,r)=>{var n;try{n=r(2238)}catch(e){n=r(2238)}function i(e){return function(t){return e===t}}function o(e,t,r){return t.replace(new RegExp("(\\.)?"+e,"g"),(function(e,t){return t?e:r}))}e.exports=function e(t){switch({}.toString.call(t)){case"[object Object]":return function(t){var r={};for(var n in t)r[n]="string"==typeof t[n]?i(t[n]):e(t[n]);return function(e){if("object"!=typeof e)return!1;for(var t in r){if(!(t in e))return!1;if(!r[t](e[t]))return!1}return!0}}(t);case"[object Function]":return t;case"[object String]":return/^ *\W+/.test(s=t)?new Function("_","return _ "+s):new Function("_","return "+function(e){var t,r,i,s=n(e);if(!s.length)return"_."+e;for(r=0;r<s.length;r++)e=o(i=s[r],e,t="('function' == typeof "+(t="_."+i)+" ? "+t+"() : "+t+")");return e}(s));case"[object RegExp]":return r=t,function(e){return r.test(e)};default:return i(t)}var r,s}},7277:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=r(4147),i=Object({timeout:45e3,baseHeaders:{"Content-Type":"application/json"},platform:"web",version:n.version||"0.0.1",sessionMaxInactiveDuration:108e5,trackingApiKey:"",host:"",setValue:function(e,t){return Object.assign(i,{key:t})}});t.default=i},1911:(e,t)=>{"use strict";var r;Object.defineProperty(t,"__esModule",{value:!0}),t.EventColumnIds=t.SystemEvents=void 0,(r=t.SystemEvents||(t.SystemEvents={})).SCREEN_ENTER="di_screen_enter",r.SCREEN_EXIT="di_screen_exit",r.PAGE_VIEW="di_pageview",r.SESSION_CREATED="di_session_created",r.SESSION_END="di_session_end",r.SET_USER="di_set_user";var n=function(){function e(){}return e.EVENT_ID="di_event_id",e.EVENT_NAME="di_event",e.EVENT_DISPLAY_NAME="di_event_display_name",e.IS_SYSTEM_EVENT="di_system_event",e.LIB_PLATFORM="di_lib_platform",e.LIB_VERSION="di_lib_version",e.TRACKING_ID="di_tracking_id",e.SESSION_ID="di_session_id",e.USER_ID="di_user_id",e.SCREEN_NAME="di_screen_name",e.CLIENT_IP="di_client_ip",e.URL="di_url",e.PATH="di_path",e.QUERY_PARAMS="di_url_params",e.REFERRER="di_referrer",e.REFERRER_HOST="di_referrer_host",e.REFERRER_QUERY_PARAMS="di_referrer_params",e.REFERRER_SEARCH_ENGINE="di_referrer_search_engine",e.SEARCH_ENGINE_KEYWORD="di_referrer_search_keyword",e.OS="di_os",e.OS_VERSION="di_os_version",e.OS_VERSION_NAME="di_os_version_name",e.BROWSER="di_browser",e.BROWSER_VERSION="di_browser_version",e.BROWSER_USER_AGENT="di_browser_ua",e.BROWSER_PREFERRED_LANG="di_browser_preffered_lang",e.BROWSER_LANGUAGES="di_browser_languages",e.PLATFORM="di_platform",e.PLATFORM_MODEL="di_platform_model",e.PLATFORM_VENDOR="di_platform_vendor",e.START_TIME="di_start_time",e.DURATION="di_duration",e.TIME="di_time",e.TIME_MS="di_time_ms",e}();t.EventColumnIds=n},5054:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BrowserInfo=t.OSInfo=t.PlatformInfo=t.SearchEngine=void 0;var i,o=n(r(1206)),s=r(1911);!function(e){e.GOOGLE="google",e.BING="bing",e.YAHOO="yahoo",e.DUCKDUCKGO="duckduckgo",e.COCCOC="coccoc",e.YANINDEX="yandex",e.UNKNOWN=""}(i=t.SearchEngine||(t.SearchEngine={}));var a=function(){function e(e,t,r){this.type=e,this.model=t,this.vendor=r}return e.prototype.isValid=function(){return null!=this.type&&null!=this.type&&this.type.length>0},e}();t.PlatformInfo=a;var u=function(){function e(e,t,r){this.name=e,this.version=t,this.versionName=r}return e.prototype.isValid=function(){return null!=this.name&&null!=this.name&&this.name.length>0},e}();t.OSInfo=u;var c=function(){function e(e,t){this.name=e,this.version=t}return e.prototype.isValid=function(){return null!=this.name&&null!=this.name&&this.name.length>0},e}();t.BrowserInfo=c;var l=function(){function e(){}return e.buildPageAndReferrerInfo=function(t,r){var n=new URL(null!=t?t:window.document.URL),i={};if(i[s.EventColumnIds.URL]=n.href,i[s.EventColumnIds.PATH]=""+n.hostname+n.pathname,i[s.EventColumnIds.QUERY_PARAMS]=e.getQueryParamsAsJson(n.search),null!=r?r:window.document.referrer){var o=new URL(null!=r?r:window.document.referrer);i[s.EventColumnIds.REFERRER_HOST]=o.host,i[s.EventColumnIds.REFERRER]=o.href,i[s.EventColumnIds.REFERRER_SEARCH_ENGINE]=e.getSearchEngine(o.href),i[s.EventColumnIds.SEARCH_ENGINE_KEYWORD]=e.getSearchKeyword(o.href),i[s.EventColumnIds.REFERRER_QUERY_PARAMS]=e.getQueryParamsAsJson(o.search)}return i},e.buildClientSpecifications=function(){var t=e.getDevicePlatform(navigator.userAgent),r=e.getOS(navigator.userAgent),n=e.getBrowser(navigator.userAgent),i={};return i[s.EventColumnIds.OS]=r.name,i[s.EventColumnIds.OS_VERSION]=r.version,i[s.EventColumnIds.OS_VERSION_NAME]=r.versionName,i[s.EventColumnIds.BROWSER]=n.name,i[s.EventColumnIds.BROWSER_VERSION]=n.version,i[s.EventColumnIds.BROWSER_USER_AGENT]=navigator.userAgent||"",i[s.EventColumnIds.BROWSER_PREFERRED_LANG]=navigator.language||"",i[s.EventColumnIds.BROWSER_LANGUAGES]=navigator.languages||[],i[s.EventColumnIds.PLATFORM]=t.type,i[s.EventColumnIds.PLATFORM_MODEL]=t.model,i[s.EventColumnIds.PLATFORM_VENDOR]=t.vendor,i},e.getQueryParamsAsJson=function(e){return JSON.stringify(this.getQueryParams(e))},e.getQueryParams=function(t){for(var r,n={};r=e.QUERY_PARAM_REGEXP.exec(t);)r&&(n[r[1]]=r[2]);return n},e.getSearchEngine=function(e){return 0===e.search("https?://(.*)google.([^/?]*)")?i.GOOGLE:0===e.search("https?://(.*)bing.com")?i.BING:0===e.search("https?://(.*)yahoo.com")?i.YAHOO:0===e.search("https?://(.*)duckduckgo.com")?i.DUCKDUCKGO:0===e.search("https?://(.*)coccoc.com")?i.COCCOC:0===e.search("https?://(.*)yandex.com")?i.YANINDEX:i.UNKNOWN},e.getSearchKeyword=function(e){var t=this.getSearchEngine(e),r=this.getQueryParams(e);return t===i.YAHOO?r.p||"":t===i.COCCOC?r.query||"":t===i.YANINDEX?r.text||"":(i.UNKNOWN,r.q||"")},e.getOS=function(e){var t=o.default.getParser(e).getOS();return new u(t.name||"",t.version||"",t.versionName||"")},e.getBrowser=function(e){var t=o.default.getParser(e).getBrowser();return new c(t.name||"",t.version||"")},e.getDevicePlatform=function(e){var t=o.default.getParser(e).getPlatform();return new a(t.type||"",t.model||"",t.vendor||"")},e.QUERY_PARAM_REGEXP=new RegExp("[\\?&]?(\\w+)=([^&#]*)","g"),e}();t.default=l},3597:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.BASE_CLIENT=void 0;var a=s(r(9669)),u=s(r(2832)),c=s(r(7277)),l=function(){},f=function(e){function t(t){var r=e.call(this)||this;return r.client=t,r}return i(t,e),t.prototype.delete=function(e,r){return void 0===r&&(r={}),this.client.delete(e,o({},r)).then(t.getData).catch((function(r){return t.handleError(e,r)}))},t.prototype.get=function(e,r){return void 0===r&&(r={}),this.client.get(e,o({},r)).then(t.getData).catch((function(r){return t.handleError(e,r)}))},t.prototype.post=function(e,r,n){return void 0===n&&(n={}),this.client.post(e,r,o({},n)).then(t.getData).catch((function(r){return t.handleError(e,r)}))},t.prototype.put=function(e,r,n){return void 0===n&&(n={}),this.client.put(e,r,o({},n)).then(t.getData).catch((function(r){return t.handleError(e,r)}))},t.getData=function(e){return e.data},t.handleError=function(e,t){var r;if(t.toJSON&&console.warn("request error","path::",e,t.toJSON()),null===(r=t.response)||void 0===r?void 0:r.data){var n=u.default.fromJson(t.response.data);return Promise.reject(n)}var i={message:t.message};return Promise.reject(i)},t}(l);t.default=l,t.BASE_CLIENT=new f(a.default.create({baseURL:c.default.host,timeout:c.default.timeout,headers:c.default.baseHeaders,transformRequest:function(e){return JSON.stringify(o({tracking_api_key:c.default.trackingApiKey},e))}}))},8898:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DataManager=void 0;var i=n(r(2832)),o=function(){function e(){}return e.reset=function(){this.deleteUserId(),this.deleteGlobalProperties()},e.setTrackingHost=function(t){localStorage.setItem(e.TRACKING_URL,t)},e.getTrackingHost=function(){return localStorage.getItem(e.TRACKING_URL)||void 0},e.deleteTrackingHost=function(){localStorage.removeItem(e.TRACKING_URL)},e.setTrackingApiKey=function(t){localStorage.setItem(e.TRACKING_API_KEY,t)},e.getTrackingApiKey=function(){return localStorage.getItem(e.TRACKING_API_KEY)||void 0},e.deleteTrackingApiKey=function(){localStorage.removeItem(e.TRACKING_API_KEY)},e.setGlobalProperties=function(t){var r=i.default.toJson(t);localStorage.setItem(e.GLOBAL_PROPERTIES,r)},e.getGlobalProperties=function(){var t=localStorage.getItem(e.GLOBAL_PROPERTIES);return t?i.default.fromJson(t):{}},e.deleteGlobalProperties=function(){localStorage.removeItem(e.GLOBAL_PROPERTIES)},e.getTrackingId=function(){return localStorage.getItem(e.TRACKING_ID)||void 0},e.setTrackingId=function(t){localStorage.setItem(e.TRACKING_ID,t)},e.deleteTrackingId=function(){localStorage.removeItem(e.TRACKING_ID)},e.setUserId=function(t){localStorage.setItem(e.USER_ID,t)},e.getUserId=function(){return localStorage.getItem(e.USER_ID)||void 0},e.deleteUserId=function(){localStorage.removeItem(e.USER_ID)},e.TRACKING_API_KEY="di_tracking_api_key",e.TRACKING_URL="di_tracking_url",e.TRACKING_ID="di_tracking_id",e.USER_ID="di_tracking_user_id",e.GLOBAL_PROPERTIES="di_tracking_global_properties",e}();t.DataManager=o},6739:function(e,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.StopwatchFactory=t.SessionStopwatch=t.InMemStopwatch=t.Stopwatch=t.ElapseDuration=void 0;var i=function(e,t){this.startTime=e,this.duration=t};t.ElapseDuration=i;var o=function(){};t.Stopwatch=o;var s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.stopWatch={},t}return n(t,e),t.prototype.start=function(e){this.stopWatch[e]=Date.now()},t.prototype.stop=function(e){var t=this.stopWatch[e]||0,r=t>0?Date.now()-t:0;return this.stopWatch[e]=0,delete this.stopWatch[e],new i(t,r>0?r:0)},t.prototype.clear=function(){this.stopWatch={}},t}(o);t.InMemStopwatch=s;var a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return n(t,e),t.prototype.start=function(e){sessionStorage.setItem(this.buildKey(e),Date.now().toString())},t.prototype.stop=function(e){var t=this.buildKey(e),r=parseInt(sessionStorage.getItem(t)||"0"),n=r>0?Date.now()-r:0;return sessionStorage.removeItem(t),new i(r,n>0?n:0)},t.prototype.clear=function(){this.getStopwatchIds().forEach((function(e){return sessionStorage.removeItem(e)}))},t.prototype.buildKey=function(e){return"di.tracking.stopwatch."+e},t.prototype.getStopwatchIds=function(){for(var e=[],t=0;t<sessionStorage.length;t++){var r=sessionStorage.key(t);r&&r.startsWith("di.tracking.stopwatch.")&&e.push(r)}return e},t}(o);t.SessionStopwatch=a;var u=function(){function e(){}return e.createStopwatch=function(){return new a},e}();t.StopwatchFactory=u},4243:(e,t,r)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),r(41),function(e){e.Accept="Accept",e.Decline="Decline"}(n||(n={}));var i=function(){function e(){}return e.getStoredUsingCookieStage=function(){return localStorage.getItem("$UC$")===n.Accept?n.Accept:n.Decline},e.allowCookies=function(){e.banner&&e.banner.classList.add("hide")},e.declineCookies=function(){e.banner&&e.banner.classList.add("hide")},e.getBanner=function(t,r,n){e.banner&&e.banner.remove();var i=document.createElement("div");i.classList.add("di-notify");var o=document.createElement("div"),s=document.createElement("div"),a=document.createElement("button"),u=document.createElement("button");return o.innerHTML=t,o.classList.add("di-notify-message"),a.type="button",a.textContent=r,a.classList.add("di-btn-accept"),a.addEventListener("click",e.allowCookies),u.type="button",u.textContent=n,u.classList.add("di-btn-decline"),u.addEventListener("click",e.declineCookies),s.classList.add("di-notify-action"),s.appendChild(a),s.appendChild(u),i.appendChild(o),i.appendChild(s),document.body.appendChild(i),e.banner=i,i},e.showBanner=function(t,r,n){void 0===t&&(t='We use cookies to make website a better place. Cookies help to provide a more personalized experience and relavant advertising for you, and web analytics for us. To learn more about the different cookies we\'re using, check out our <a href="#">Cookie Policy</a> (baked goods not included).'),void 0===r&&(r="Allow cookies"),void 0===n&&(n="Decline"),e.getBanner(t,r,n).classList.add("show")},e.stage=e.getStoredUsingCookieStage(),e.banner=null,e}();t.default=i},2732:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.PersistentQueue=void 0;var s=o(r(6988)),a=r(744),u=r(8125);s.default.workers({SubmitEventWorker:a.SubmitEventWorker});var c=function(){function e(e,t){void 0===e&&(e=50),void 0===t&&(t=5e3),this.queue=new s.default({storage:"localstorage"}),this.eventChannel=this.queue.create("event-track-channel"),this.mutex=new u.Mutex,this.tempEvents=[],this.currentScheduleId=null,this.maxSize=e,this.timePersistent=t,this.start()}return e.prototype.start=function(){this.eventChannel.start()},e.prototype.stop=function(){this.eventChannel.stop()},e.prototype.add=function(e,t){return n(this,void 0,void 0,(function(){var r;return i(this,(function(n){switch(n.label){case 0:return[4,this.mutex.acquire()];case 1:r=n.sent(),n.label=2;case 2:return n.trys.push([2,,6,7]),this.tempEvents.push({eventName:e,properties:t}),this.maxSize>=this.tempEvents.length?[4,this.persist()]:[3,4];case 3:return n.sent(),[3,5];case 4:this.schedulePersist(),n.label=5;case 5:return[3,7];case 6:return r(),[7];case 7:return[2]}}))}))},e.prototype.persist=function(){return n(this,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return t.trys.push([0,3,,4]),this.tempEvents.length>=0?[4,this.eventChannel.add({priority:1,label:"persist-event",createdAt:Date.now(),handler:"SubmitEventWorker",args:{events:this.tempEvents}})]:[3,2];case 1:t.sent(),this.tempEvents=[],t.label=2;case 2:return[3,4];case 3:return e=t.sent(),console.warn("persist error",e),[3,4];case 4:return[2]}}))}))},e.prototype.schedulePersist=function(){var e=this;this.currentScheduleId&&clearTimeout(this.currentScheduleId),this.currentScheduleId=setTimeout((function(){return n(e,void 0,void 0,(function(){var e;return i(this,(function(t){switch(t.label){case 0:return[4,this.mutex.acquire()];case 1:e=t.sent(),t.label=2;case 2:return t.trys.push([2,,4,5]),[4,this.persist()];case 3:return t.sent(),[3,5];case 4:return e(),[7];case 5:return[2]}}))}))}),this.timePersistent)},e}();t.PersistentQueue=c},1561:function(e,t,r){"use strict";var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.TrackingSessionManager=void 0;var i=r(1614),o=n(r(7277)),s=function(){function e(){}return e.buildSessionStorageKey=function(e){return"current_session_"+e},e.createSession=function(t){var r=i.v4(),n=Date.now(),s=n+o.default.sessionMaxInactiveDuration,a={sessionId:r,isExpired:!1,createdAt:n,expiredAt:s,lastActivityAt:Date.now(),properties:t||{}};return localStorage.setItem(e.SESSION_KEY,JSON.stringify(a)),sessionStorage.setItem(this.buildSessionStorageKey(r),"1"),[r,n,s]},e.updateSession=function(t){var r=Date.now(),n=localStorage.getItem(e.SESSION_KEY);if(n){var i=JSON.parse(n);i.lastActivityAt=r,i.expiredAt=r+o.default.sessionMaxInactiveDuration,localStorage.setItem(e.SESSION_KEY,JSON.stringify(i)),sessionStorage.setItem(this.buildSessionStorageKey(t),"1")}},e.deleteSession=function(){var t=this.getSession();t&&t.sessionId&&sessionStorage.removeItem(this.buildSessionStorageKey(t.sessionId)),localStorage.removeItem(e.SESSION_KEY)},e.getSession=function(){var t,r=localStorage.getItem(e.SESSION_KEY);return r&&(t=JSON.parse(r)),{sessionId:null==t?void 0:t.sessionId,isExpired:this.isExpired(t),createdAt:(null==t?void 0:t.createdAt)||0,expiredAt:(null==t?void 0:t.expiredAt)||0,lastActivityAt:(null==t?void 0:t.lastActivityAt)||0,properties:(null==t?void 0:t.properties)||{}}},e.isExpired=function(e){return!e||this.isSessionExpired(null==e?void 0:e.sessionId,(null==e?void 0:e.expiredAt)||0)},e.isSessionExpired=function(e,t){var r=!sessionStorage.getItem(this.buildSessionStorageKey(null!=e?e:""));return e&&t?r||Date.now()>=t:r||!e},e.SESSION_KEY="di.tracking_session",e}();t.TrackingSessionManager=s},744:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.SubmitEventWorker=void 0;var s=o(r(1244)),a=function(){function e(){}return e.prototype.handle=function(e){return n(this,void 0,void 0,(function(){var t,r;return i(this,(function(n){switch(n.label){case 0:t=e.events,n.label=1;case 1:return n.trys.push([1,3,,4]),[4,s.default.multiTrack(t)];case 2:return n.sent(),[3,4];case 3:return r=n.sent(),console.error("track event error cause",r),[3,4];case 4:return[2]}}))}))},e}();t.SubmitEventWorker=a},1363:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),i(r(7872),t)},7872:function(e,t){"use strict";var r,n=this&&this.__extends||(r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)});Object.defineProperty(t,"__esModule",{value:!0}),t.TrackingRepositoryImpl=t.TrackingRepository=void 0;var i=function(e){this.success=e},o=function(){};t.TrackingRepository=o;var s=function(e){function t(t){var r=e.call(this)||this;return r.client=t,r}return n(t,e),t.prototype.multiTrack=function(e){return this.client.post("/api/tracking/warehouse/track",{events:t.toJson(e)}).then((function(e){return t.getResult(e).success}))},t.prototype.track=function(e,t){return this.multiTrack([{eventName:e,properties:t}])},t.getResult=function(e){var t=JSON.parse(e);return new i(t.success)},t.toJson=function(e){var t=e.map((function(e){return{event_name:e.eventName,properties:e.properties}}));return JSON.stringify(t)},t}(o);t.TrackingRepositoryImpl=s},5819:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}),o=this&&this.__assign||function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)},s=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},a=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},u=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.AnalyticsCore=t.DisableAnalyticsCore=t.BaseAnalyticsCore=void 0;var c=r(8898),l=u(r(7277)),f=u(r(5054)),d=r(6739),p=r(2732),h=r(1911),v=r(1561),g=r(8125),y=function(){};t.BaseAnalyticsCore=y;var m=function(e){function t(){return e.call(this)||this}return i(t,e),t.prototype.enterScreen=function(e,t){},t.prototype.enterScreenStart=function(e){},t.prototype.exitScreen=function(e,t){},t.prototype.getTrackingId=function(){return s(this,void 0,void 0,(function(){return a(this,(function(e){return[2,Promise.resolve("")]}))}))},t.prototype.identify=function(e){},t.prototype.register=function(e){},t.prototype.reset=function(){},t.prototype.time=function(e){},t.prototype.touchSession=function(){return s(this,void 0,void 0,(function(){return a(this,(function(e){return[2,Promise.resolve(void 0)]}))}))},t.prototype.track=function(e,t){},t.prototype.setUserProfile=function(e,t){return Promise.resolve(void 0)},t}(y);t.DisableAnalyticsCore=m;var _=function(e){function t(t){var r=e.call(this)||this;r.mutex=new g.Mutex,r.stopwatch=d.StopwatchFactory.createStopwatch(),r.worker=new p.PersistentQueue;var n=o(o({},c.DataManager.getGlobalProperties()),t);return c.DataManager.setGlobalProperties(n),r.globalProperties=n,r.getTrackingId().then((function(){return r.touchSession()})),r.setupWorker(),r}return i(t,e),t.prototype.setupWorker=function(){var e=this;document.addEventListener("readystatechange",(function(t){"complete"===document.readyState&&window.addEventListener("unload",(function(t){e.worker.stop()}))}))},t.prototype.reset=function(){this.lastScreenName="",this.stopwatch.clear(),c.DataManager.reset()},t.prototype.getTrackingId=function(){return s(this,void 0,void 0,(function(){return a(this,(function(e){return[2,l.default.trackingApiKey]}))}))},t.prototype.register=function(e){var t=o(o({},this.globalProperties),e);c.DataManager.setGlobalProperties(t),this.globalProperties=t},t.prototype.enterScreenStart=function(e){this.time(h.SystemEvents.SCREEN_ENTER),this.lastScreenName=e||""},t.prototype.enterScreen=function(e,t){void 0===t&&(t={}),this.lastScreenName=e||"",this.time("di_pageview_"+e);var r=o({},t);r[h.EventColumnIds.SCREEN_NAME]=e,this.track(h.SystemEvents.SCREEN_ENTER,r)},t.prototype.exitScreen=function(e,t){void 0===t&&(t={});var r=this.stopwatch.stop("di_pageview_"+e),n=o({},t);n[h.EventColumnIds.SCREEN_NAME]=e,n[h.EventColumnIds.START_TIME]=r.startTime||0,n[h.EventColumnIds.DURATION]=r.duration||0,this.track(h.SystemEvents.PAGE_VIEW,n)},t.prototype.touchSession=function(){return s(this,void 0,void 0,(function(){var e,t;return a(this,(function(r){switch(r.label){case 0:return[4,this.mutex.acquire()];case 1:e=r.sent();try{(t=v.TrackingSessionManager.getSession()).isExpired?(t.sessionId&&this.endSession(t),v.TrackingSessionManager.deleteSession(),this.createSession()):v.TrackingSessionManager.updateSession(t.sessionId)}finally{e()}return[2]}}))}))},t.prototype.createSession=function(){var e=this.buildCreateSessionTrackingData();return this.enqueueEventData(h.SystemEvents.SESSION_CREATED,e)},t.prototype.endSession=function(e){var t=this.buildEndSessionTrackingData(e);return this.track(h.SystemEvents.SESSION_END,t)},t.prototype.time=function(e){this.stopwatch.start(e)},t.prototype.identify=function(e){var t=c.DataManager.getUserId();t&&0!==t.length&&t!==e&&c.DataManager.reset(),c.DataManager.setUserId(e)},t.prototype.setUserProfile=function(e,t){var r;return c.DataManager.setUserId(e),this.worker.add(h.SystemEvents.SET_USER,o(((r={})[h.EventColumnIds.USER_ID]=e,r),t))},t.prototype.track=function(e,t){var r=this.buildTrackingData(e,t);this.enqueueEventData(e,r)},t.prototype.enqueueEventData=function(e,t){this.worker.add(e,t)},t.prototype.buildCreateSessionTrackingData=function(){var e=this.buildTrackingData(h.SystemEvents.SESSION_CREATED,{}),t=v.TrackingSessionManager.createSession(e),r=t[0],n=t[1];return t[2],e[h.EventColumnIds.SESSION_ID]=r,e[h.EventColumnIds.START_TIME]=n,e[h.EventColumnIds.TIME]=n,e},t.prototype.buildEndSessionTrackingData=function(e){var t=e.properties||{};return t[h.EventColumnIds.SESSION_ID]=e.sessionId,t[h.EventColumnIds.START_TIME]=e.createdAt,t[h.EventColumnIds.DURATION]=Date.now()-e.createdAt,t[h.EventColumnIds.TIME]=Date.now(),t},t.prototype.buildTrackingData=function(e,t){var r=c.DataManager.getTrackingId(),n=v.TrackingSessionManager.getSession();this.enrichScreenName(t),this.enrichDuration(e,t);var i=o(o(o(o({},this.globalProperties),t),f.default.buildClientSpecifications()),f.default.buildPageAndReferrerInfo(t[h.EventColumnIds.URL],t[h.EventColumnIds.REFERRER]));return i[h.EventColumnIds.LIB_PLATFORM]=l.default.platform,i[h.EventColumnIds.LIB_VERSION]=l.default.version,i[h.EventColumnIds.SESSION_ID]=n.sessionId||t[h.EventColumnIds.SESSION_ID]||"",i[h.EventColumnIds.TRACKING_ID]=r||t[h.EventColumnIds.TRACKING_ID]||"",i[h.EventColumnIds.USER_ID]=c.DataManager.getUserId()||"",i[h.EventColumnIds.TIME]=t[h.EventColumnIds.TIME]||Date.now(),i},t.prototype.enrichScreenName=function(e){e[h.EventColumnIds.SCREEN_NAME]||(e[h.EventColumnIds.SCREEN_NAME]=this.lastScreenName||window.document.location.pathname)},t.prototype.enrichDuration=function(e,t){var r=this.stopwatch.stop(e);t[h.EventColumnIds.START_TIME]||(t[h.EventColumnIds.START_TIME]=r.startTime||0),t[h.EventColumnIds.DURATION]||(t[h.EventColumnIds.DURATION]=r.duration||0)},t}(y);t.AnalyticsCore=_},8115:function(e,t,r){"use strict";var n=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))},i=this&&this.__generator||function(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.DiAnalytics=void 0;var s=r(8898),a=r(5819),u=o(r(4243)),c=o(r(7277)),l=function(){function e(){}return e.getInstance=function(){if(!this.instance){var e=s.DataManager.getTrackingHost(),t=s.DataManager.getTrackingApiKey();if(!e||!t)throw new Error("DiAnalytics: You have to call DiAnalytics.getInstance first.");this.init(e,t)}return this.instance},e.init=function(e,t,r,n){null!=n&&n?this.instance=new a.DisableAnalyticsCore:(c.default.setValue("trackingApiKey",t).setValue("host",e),s.DataManager.setTrackingHost(e),s.DataManager.setTrackingApiKey(t),this.instance=new a.AnalyticsCore(r||{}))},e.autoTrackDom=function(e){},e.enterScreenStart=function(e){var t=this;return this.getInstance().touchSession().then((function(r){t.getInstance().enterScreenStart(e)}))},e.enterScreen=function(e,t){var r=this;return void 0===t&&(t={}),this.getInstance().touchSession().then((function(n){r.getInstance().enterScreen(e,t)}))},e.exitScreen=function(e,t){return void 0===t&&(t={}),n(this,void 0,void 0,(function(){var r=this;return i(this,(function(n){return[2,this.getInstance().touchSession().then((function(n){r.getInstance().exitScreen(e,t)}))]}))}))},e.register=function(e){var t=this;this.getInstance().touchSession().then((function(r){t.getInstance().register(e)}))},e.time=function(e){var t=this;return this.getInstance().touchSession().then((function(r){t.getInstance().time(e)})),this},e.track=function(e,t){return void 0===t&&(t={}),n(this,void 0,void 0,(function(){return i(this,(function(r){switch(r.label){case 0:return[4,this.getInstance().touchSession()];case 1:return r.sent(),[2,this.getInstance().track(e,t)]}}))}))},e.identify=function(e){return n(this,void 0,void 0,(function(){return i(this,(function(t){switch(t.label){case 0:return[4,this.getInstance().touchSession()];case 1:return t.sent(),[2,this.getInstance().identify(e)]}}))}))},e.setUserProfile=function(e,t){return void 0===t&&(t={}),n(this,void 0,void 0,(function(){return i(this,(function(r){switch(r.label){case 0:return[4,this.getInstance().touchSession()];case 1:return r.sent(),[2,this.getInstance().setUserProfile(e,t)]}}))}))},e.notifyUsingCookies=function(e,t,r,n){u.default.showBanner()},e.reset=function(){return this.getInstance().reset(),this},e}();t.DiAnalytics=l},1244:function(e,t,r){"use strict";var n,i=this&&this.__extends||(n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)});Object.defineProperty(t,"__esModule",{value:!0}),t.TrackingServiceImpl=t.TrackingService=void 0;var o=r(1363),s=r(3597),a=function(){};t.TrackingService=a;var u=function(e){function t(t){var r=e.call(this)||this;return r.trackingRepository=t,r}return i(t,e),t.prototype.multiTrack=function(e){return this.trackingRepository.multiTrack(e)},t.prototype.track=function(e,t){return this.trackingRepository.track(e,t)},t}(a);t.TrackingServiceImpl=u;var c=new u(new o.TrackingRepositoryImpl(s.BASE_CLIENT));t.default=c},655:(e,t,r)=>{"use strict";r.r(t),r.d(t,{__extends:()=>i,__assign:()=>o,__rest:()=>s,__decorate:()=>a,__param:()=>u,__metadata:()=>c,__awaiter:()=>l,__generator:()=>f,__createBinding:()=>d,__exportStar:()=>p,__values:()=>h,__read:()=>v,__spread:()=>g,__spreadArrays:()=>y,__spreadArray:()=>m,__await:()=>_,__asyncGenerator:()=>b,__asyncDelegator:()=>w,__asyncValues:()=>S,__makeTemplateObject:()=>E,__importStar:()=>A,__importDefault:()=>M,__classPrivateFieldGet:()=>P,__classPrivateFieldSet:()=>I});var n=function(e,t){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])})(e,t)};function i(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function r(){this.constructor=e}n(e,t),e.prototype=null===t?Object.create(t):(r.prototype=t.prototype,new r)}var o=function(){return(o=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e}).apply(this,arguments)};function s(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}function a(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s}function u(e,t){return function(r,n){t(r,n,e)}}function c(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e,t,r,n){return new(r||(r=Promise))((function(i,o){function s(e){try{u(n.next(e))}catch(e){o(e)}}function a(e){try{u(n.throw(e))}catch(e){o(e)}}function u(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r((function(e){e(t)}))).then(s,a)}u((n=n.apply(e,t||[])).next())}))}function f(e,t){var r,n,i,o,s={label:0,sent:function(){if(1&i[0])throw i[1];return i[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(r)throw new TypeError("Generator is already executing.");for(;s;)try{if(r=1,n&&(i=2&o[0]?n.return:o[0]?n.throw||((i=n.return)&&i.call(n),0):n.next)&&!(i=i.call(n,o[1])).done)return i;switch(n=0,i&&(o=[2&o[0],i.value]),o[0]){case 0:case 1:i=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!((i=(i=s.trys).length>0&&i[i.length-1])||6!==o[0]&&2!==o[0])){s=0;continue}if(3===o[0]&&(!i||o[1]>i[0]&&o[1]<i[3])){s.label=o[1];break}if(6===o[0]&&s.label<i[1]){s.label=i[1],i=o;break}if(i&&s.label<i[2]){s.label=i[2],s.ops.push(o);break}i[2]&&s.ops.pop(),s.trys.pop();continue}o=t.call(e,s)}catch(e){o=[6,e],n=0}finally{r=i=0}if(5&o[0])throw o[1];return{value:o[0]?o[1]:void 0,done:!0}}([o,a])}}}var d=Object.create?function(e,t,r,n){void 0===n&&(n=r),Object.defineProperty(e,n,{enumerable:!0,get:function(){return t[r]}})}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]};function p(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||d(t,e,r)}function h(e){var t="function"==typeof Symbol&&Symbol.iterator,r=t&&e[t],n=0;if(r)return r.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function v(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,i,o=r.call(e),s=[];try{for(;(void 0===t||t-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(e){i={error:e}}finally{try{n&&!n.done&&(r=o.return)&&r.call(o)}finally{if(i)throw i.error}}return s}function g(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(v(arguments[t]));return e}function y(){for(var e=0,t=0,r=arguments.length;t<r;t++)e+=arguments[t].length;var n=Array(e),i=0;for(t=0;t<r;t++)for(var o=arguments[t],s=0,a=o.length;s<a;s++,i++)n[i]=o[s];return n}function m(e,t,r){if(r||2===arguments.length)for(var n,i=0,o=t.length;i<o;i++)!n&&i in t||(n||(n=Array.prototype.slice.call(t,0,i)),n[i]=t[i]);return e.concat(n||Array.prototype.slice.call(t))}function _(e){return this instanceof _?(this.v=e,this):new _(e)}function b(e,t,r){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var n,i=r.apply(e,t||[]),o=[];return n={},s("next"),s("throw"),s("return"),n[Symbol.asyncIterator]=function(){return this},n;function s(e){i[e]&&(n[e]=function(t){return new Promise((function(r,n){o.push([e,t,r,n])>1||a(e,t)}))})}function a(e,t){try{(r=i[e](t)).value instanceof _?Promise.resolve(r.value.v).then(u,c):l(o[0][2],r)}catch(e){l(o[0][3],e)}var r}function u(e){a("next",e)}function c(e){a("throw",e)}function l(e,t){e(t),o.shift(),o.length&&a(o[0][0],o[0][1])}}function w(e){var t,r;return t={},n("next"),n("throw",(function(e){throw e})),n("return"),t[Symbol.iterator]=function(){return this},t;function n(n,i){t[n]=e[n]?function(t){return(r=!r)?{value:_(e[n](t)),done:"return"===n}:i?i(t):t}:i}}function S(e){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var t,r=e[Symbol.asyncIterator];return r?r.call(e):(e=h(e),t={},n("next"),n("throw"),n("return"),t[Symbol.asyncIterator]=function(){return this},t);function n(r){t[r]=e[r]&&function(t){return new Promise((function(n,i){!function(e,t,r,n){Promise.resolve(n).then((function(t){e({value:t,done:r})}),t)}(n,i,(t=e[r](t)).done,t.value)}))}}}function E(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e}var O=Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t};function A(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&d(t,e,r);return O(t,e),t}function M(e){return e&&e.__esModule?e:{default:e}}function P(e,t,r,n){if("a"===r&&!n)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!n:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===r?n:"a"===r?n.call(e):n?n.value:t.get(e)}function I(e,t,r,n,i){if("m"===n)throw new TypeError("Private method is not writable");if("a"===n&&!i)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!i:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===n?i.call(e,r):i?i.value=r:t.set(e,r),r}},1614:(e,t,r)=>{"use strict";var n;r.r(t),r.d(t,{NIL:()=>x,parse:()=>g,stringify:()=>l,v1:()=>v,v3:()=>A,v4:()=>M,v5:()=>R,validate:()=>a,version:()=>k});var i=new Uint8Array(16);function o(){if(!n&&!(n="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return n(i)}const s=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,a=function(e){return"string"==typeof e&&s.test(e)};for(var u=[],c=0;c<256;++c)u.push((c+256).toString(16).substr(1));const l=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,r=(u[e[t+0]]+u[e[t+1]]+u[e[t+2]]+u[e[t+3]]+"-"+u[e[t+4]]+u[e[t+5]]+"-"+u[e[t+6]]+u[e[t+7]]+"-"+u[e[t+8]]+u[e[t+9]]+"-"+u[e[t+10]]+u[e[t+11]]+u[e[t+12]]+u[e[t+13]]+u[e[t+14]]+u[e[t+15]]).toLowerCase();if(!a(r))throw TypeError("Stringified UUID is invalid");return r};var f,d,p=0,h=0;const v=function(e,t,r){var n=t&&r||0,i=t||new Array(16),s=(e=e||{}).node||f,a=void 0!==e.clockseq?e.clockseq:d;if(null==s||null==a){var u=e.random||(e.rng||o)();null==s&&(s=f=[1|u[0],u[1],u[2],u[3],u[4],u[5]]),null==a&&(a=d=16383&(u[6]<<8|u[7]))}var c=void 0!==e.msecs?e.msecs:Date.now(),v=void 0!==e.nsecs?e.nsecs:h+1,g=c-p+(v-h)/1e4;if(g<0&&void 0===e.clockseq&&(a=a+1&16383),(g<0||c>p)&&void 0===e.nsecs&&(v=0),v>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");p=c,h=v,d=a;var y=(1e4*(268435455&(c+=122192928e5))+v)%4294967296;i[n++]=y>>>24&255,i[n++]=y>>>16&255,i[n++]=y>>>8&255,i[n++]=255&y;var m=c/4294967296*1e4&268435455;i[n++]=m>>>8&255,i[n++]=255&m,i[n++]=m>>>24&15|16,i[n++]=m>>>16&255,i[n++]=a>>>8|128,i[n++]=255&a;for(var _=0;_<6;++_)i[n+_]=s[_];return t||l(i)},g=function(e){if(!a(e))throw TypeError("Invalid UUID");var t,r=new Uint8Array(16);return r[0]=(t=parseInt(e.slice(0,8),16))>>>24,r[1]=t>>>16&255,r[2]=t>>>8&255,r[3]=255&t,r[4]=(t=parseInt(e.slice(9,13),16))>>>8,r[5]=255&t,r[6]=(t=parseInt(e.slice(14,18),16))>>>8,r[7]=255&t,r[8]=(t=parseInt(e.slice(19,23),16))>>>8,r[9]=255&t,r[10]=(t=parseInt(e.slice(24,36),16))/1099511627776&255,r[11]=t/4294967296&255,r[12]=t>>>24&255,r[13]=t>>>16&255,r[14]=t>>>8&255,r[15]=255&t,r};function y(e,t,r){function n(e,n,i,o){if("string"==typeof e&&(e=function(e){e=unescape(encodeURIComponent(e));for(var t=[],r=0;r<e.length;++r)t.push(e.charCodeAt(r));return t}(e)),"string"==typeof n&&(n=g(n)),16!==n.length)throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");var s=new Uint8Array(16+e.length);if(s.set(n),s.set(e,n.length),(s=r(s))[6]=15&s[6]|t,s[8]=63&s[8]|128,i){o=o||0;for(var a=0;a<16;++a)i[o+a]=s[a];return i}return l(s)}try{n.name=e}catch(e){}return n.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",n.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",n}function m(e){return 14+(e+64>>>9<<4)+1}function _(e,t){var r=(65535&e)+(65535&t);return(e>>16)+(t>>16)+(r>>16)<<16|65535&r}function b(e,t,r,n,i,o){return _((s=_(_(t,e),_(n,o)))<<(a=i)|s>>>32-a,r);var s,a}function w(e,t,r,n,i,o,s){return b(t&r|~t&n,e,t,i,o,s)}function S(e,t,r,n,i,o,s){return b(t&n|r&~n,e,t,i,o,s)}function E(e,t,r,n,i,o,s){return b(t^r^n,e,t,i,o,s)}function O(e,t,r,n,i,o,s){return b(r^(t|~n),e,t,i,o,s)}const A=y("v3",48,(function(e){if("string"==typeof e){var t=unescape(encodeURIComponent(e));e=new Uint8Array(t.length);for(var r=0;r<t.length;++r)e[r]=t.charCodeAt(r)}return function(e){for(var t=[],r=32*e.length,n="0123456789abcdef",i=0;i<r;i+=8){var o=e[i>>5]>>>i%32&255,s=parseInt(n.charAt(o>>>4&15)+n.charAt(15&o),16);t.push(s)}return t}(function(e,t){e[t>>5]|=128<<t%32,e[m(t)-1]=t;for(var r=1732584193,n=-271733879,i=-1732584194,o=271733878,s=0;s<e.length;s+=16){var a=r,u=n,c=i,l=o;r=w(r,n,i,o,e[s],7,-680876936),o=w(o,r,n,i,e[s+1],12,-389564586),i=w(i,o,r,n,e[s+2],17,606105819),n=w(n,i,o,r,e[s+3],22,-1044525330),r=w(r,n,i,o,e[s+4],7,-176418897),o=w(o,r,n,i,e[s+5],12,1200080426),i=w(i,o,r,n,e[s+6],17,-1473231341),n=w(n,i,o,r,e[s+7],22,-45705983),r=w(r,n,i,o,e[s+8],7,1770035416),o=w(o,r,n,i,e[s+9],12,-1958414417),i=w(i,o,r,n,e[s+10],17,-42063),n=w(n,i,o,r,e[s+11],22,-1990404162),r=w(r,n,i,o,e[s+12],7,1804603682),o=w(o,r,n,i,e[s+13],12,-40341101),i=w(i,o,r,n,e[s+14],17,-1502002290),r=S(r,n=w(n,i,o,r,e[s+15],22,1236535329),i,o,e[s+1],5,-165796510),o=S(o,r,n,i,e[s+6],9,-1069501632),i=S(i,o,r,n,e[s+11],14,643717713),n=S(n,i,o,r,e[s],20,-373897302),r=S(r,n,i,o,e[s+5],5,-701558691),o=S(o,r,n,i,e[s+10],9,38016083),i=S(i,o,r,n,e[s+15],14,-660478335),n=S(n,i,o,r,e[s+4],20,-405537848),r=S(r,n,i,o,e[s+9],5,568446438),o=S(o,r,n,i,e[s+14],9,-1019803690),i=S(i,o,r,n,e[s+3],14,-187363961),n=S(n,i,o,r,e[s+8],20,1163531501),r=S(r,n,i,o,e[s+13],5,-1444681467),o=S(o,r,n,i,e[s+2],9,-51403784),i=S(i,o,r,n,e[s+7],14,1735328473),r=E(r,n=S(n,i,o,r,e[s+12],20,-1926607734),i,o,e[s+5],4,-378558),o=E(o,r,n,i,e[s+8],11,-2022574463),i=E(i,o,r,n,e[s+11],16,1839030562),n=E(n,i,o,r,e[s+14],23,-35309556),r=E(r,n,i,o,e[s+1],4,-1530992060),o=E(o,r,n,i,e[s+4],11,1272893353),i=E(i,o,r,n,e[s+7],16,-155497632),n=E(n,i,o,r,e[s+10],23,-1094730640),r=E(r,n,i,o,e[s+13],4,681279174),o=E(o,r,n,i,e[s],11,-358537222),i=E(i,o,r,n,e[s+3],16,-722521979),n=E(n,i,o,r,e[s+6],23,76029189),r=E(r,n,i,o,e[s+9],4,-640364487),o=E(o,r,n,i,e[s+12],11,-421815835),i=E(i,o,r,n,e[s+15],16,530742520),r=O(r,n=E(n,i,o,r,e[s+2],23,-995338651),i,o,e[s],6,-198630844),o=O(o,r,n,i,e[s+7],10,1126891415),i=O(i,o,r,n,e[s+14],15,-1416354905),n=O(n,i,o,r,e[s+5],21,-57434055),r=O(r,n,i,o,e[s+12],6,1700485571),o=O(o,r,n,i,e[s+3],10,-1894986606),i=O(i,o,r,n,e[s+10],15,-1051523),n=O(n,i,o,r,e[s+1],21,-2054922799),r=O(r,n,i,o,e[s+8],6,1873313359),o=O(o,r,n,i,e[s+15],10,-30611744),i=O(i,o,r,n,e[s+6],15,-1560198380),n=O(n,i,o,r,e[s+13],21,1309151649),r=O(r,n,i,o,e[s+4],6,-145523070),o=O(o,r,n,i,e[s+11],10,-1120210379),i=O(i,o,r,n,e[s+2],15,718787259),n=O(n,i,o,r,e[s+9],21,-343485551),r=_(r,a),n=_(n,u),i=_(i,c),o=_(o,l)}return[r,n,i,o]}(function(e){if(0===e.length)return[];for(var t=8*e.length,r=new Uint32Array(m(t)),n=0;n<t;n+=8)r[n>>5]|=(255&e[n/8])<<n%32;return r}(e),8*e.length))})),M=function(e,t,r){var n=(e=e||{}).random||(e.rng||o)();if(n[6]=15&n[6]|64,n[8]=63&n[8]|128,t){r=r||0;for(var i=0;i<16;++i)t[r+i]=n[i];return t}return l(n)};function P(e,t,r,n){switch(e){case 0:return t&r^~t&n;case 1:return t^r^n;case 2:return t&r^t&n^r&n;case 3:return t^r^n}}function I(e,t){return e<<t|e>>>32-t}const R=y("v5",80,(function(e){var t=[1518500249,1859775393,2400959708,3395469782],r=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof e){var n=unescape(encodeURIComponent(e));e=[];for(var i=0;i<n.length;++i)e.push(n.charCodeAt(i))}else Array.isArray(e)||(e=Array.prototype.slice.call(e));e.push(128);for(var o=e.length/4+2,s=Math.ceil(o/16),a=new Array(s),u=0;u<s;++u){for(var c=new Uint32Array(16),l=0;l<16;++l)c[l]=e[64*u+4*l]<<24|e[64*u+4*l+1]<<16|e[64*u+4*l+2]<<8|e[64*u+4*l+3];a[u]=c}a[s-1][14]=8*(e.length-1)/Math.pow(2,32),a[s-1][14]=Math.floor(a[s-1][14]),a[s-1][15]=8*(e.length-1)&4294967295;for(var f=0;f<s;++f){for(var d=new Uint32Array(80),p=0;p<16;++p)d[p]=a[f][p];for(var h=16;h<80;++h)d[h]=I(d[h-3]^d[h-8]^d[h-14]^d[h-16],1);for(var v=r[0],g=r[1],y=r[2],m=r[3],_=r[4],b=0;b<80;++b){var w=Math.floor(b/20),S=I(v,5)+P(w,g,y,m)+_+t[w]+d[b]>>>0;_=m,m=y,y=I(g,30)>>>0,g=v,v=S}r[0]=r[0]+v>>>0,r[1]=r[1]+g>>>0,r[2]=r[2]+y>>>0,r[3]=r[3]+m>>>0,r[4]=r[4]+_>>>0}return[r[0]>>24&255,r[0]>>16&255,r[0]>>8&255,255&r[0],r[1]>>24&255,r[1]>>16&255,r[1]>>8&255,255&r[1],r[2]>>24&255,r[2]>>16&255,r[2]>>8&255,255&r[2],r[3]>>24&255,r[3]>>16&255,r[3]>>8&255,255&r[3],r[4]>>24&255,r[4]>>16&255,r[4]>>8&255,255&r[4]]})),x="00000000-0000-0000-0000-000000000000",k=function(e){if(!a(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}},4147:e=>{"use strict";e.exports=JSON.parse('{"name":"di-web-analytics","version":"0.7.0","description":"Data insider web analytics","repository":{"type":"git","url":"git+https://github.com/datainsider-co/di-web-analytics"},"homepage":"https://github.com/datainsider-co/di-web-analytics/blob/main/README.md","main":"dist/index.js","types":"dist/index.d.ts","scripts":{"test":"mocha -r ts-node/register tests/**/*.spec.ts","build":"rm -rf dist && tsc","dev":"webpack --config webpack.config.js --watch"},"keywords":["di-web-analytics","di-web","analytics"],"author":"Data insider","license":"MIT","devDependencies":{"@types/chai":"^4.2.11","@types/lodash":"^4.14.157","@types/mocha":"^5.2.4","@types/uuid":"^8.3.0","chai":"^4.1.2","css-loader":"^6.2.0","deepmerge":"^4.2.2","eslint":"^6.7.2","eslint-plugin-prettier":"^3.1.3","eslint-plugin-vue":"^6.2.2","lodash":"^4.17.19","mocha":"^8.0.1","postcss":"^8.3.6","postcss-loader":"^6.1.1","prettier":"^1.19.1","style-loader":"^3.2.1","tcs":"^10.0.0","ts-loader":"^9.2.5","ts-node":"^8.10.2","typescript":"^4.3.5"},"dependencies":{"@types/node":"^16.6.1","@types/uuid":"^8.3.0","async-mutex":"^0.2.4","axios":"^0.20.0","bowser":"^2.11.0","js-cookies":"^1.0.4","mini-json":"^1.0.0","storage-based-queue":"^1.2.6","uuid":"^8.3.2","webpack":"^5.50.0","webpack-cli":"^4.8.0"}}')}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={id:e,exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return __webpack_require__.d(t,{a:t}),t},__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),__webpack_require__.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __webpack_exports__={};return(()=>{"use strict";var e=__webpack_exports__,t=__webpack_require__(8115);e.default=t.DiAnalytics})(),__webpack_exports__=__webpack_exports__.default,__webpack_exports__})()}));