/*! For license information please see init.56c464fb7213027d95cc.js.LICENSE.txt */ !function(){"use strict";var e,t,r={5(e,t,r){r.d(t,{c:function(){return i},q:function(){return o}});var n=r(400),o=function(e){var t=(0,n.Qd)(e)?JSON.stringify(e):String(e);return new Blob([t]).size},i=function(e){var t=0;return e.forEach(function(e,r){t+=r.length,t+="string"==typeof e?e.length:e.size}),t}},42(e,t,r){r.d(t,{NM:function(){return i},VP:function(){return o},wp:function(){return n}});var n=function(){return window.top===window},o=function(e){try{return Boolean(e.location.href)}catch(e){return!1}},i=function(){if(n())return!1;try{return Boolean(window.frameElement)}catch(e){return!1}}},102(e,t,r){r.d(t,{V1:function(){return n},ks:function(){return i},qf:function(){return o}});var n=function(e){return null!==e&&"object"==typeof e&&"FormData"===e.constructor.name},o=function(e){return null!==e&&"object"==typeof e&&"Blob"===e.constructor.name},i=function(e){return null!==e&&"object"==typeof e&&"Request"===e.constructor.name}},114(e,t,r){r.d(t,{VW:function(){return l},Wo:function(){return d},fj:function(){return u},l2:function(){return s},t9:function(){return c},w$:function(){return f}});var n=r(812),o=r(933),i=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},a=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]{this.processMiddlewares("console","debug",e,...t),null!==this.loggingLevel&&n.DEBUG>=this.loggingLevel&&console.debug(e,...t)};debugGroup=(e,...t)=>{this.isGroupLoggingEnabled?null!==this.loggingLevel&&n.DEBUG>=this.loggingLevel&&this.pushToGroup("debug",e,...t):this.debug(e,...t)};debugNoConsole=(e,...t)=>{this.processMiddlewares("internal","debug",e,...t)};enableGroupLogging=()=>{this.isGroupLoggingEnabled=!0,null!==this.groupLoggingIntervalId&&(this.groupLoggingIntervalId=setInterval(()=>{const e=this.groupsByKey;this.groupsByKey=new Map;for(const[t,r]of e.entries()){console.groupCollapsed(t);for(const[e,...t]of r)console[e](...t);console.groupEnd()}},1e3))};error=(e,...t)=>{this.processMiddlewares("console","error",e,...t),null!==this.loggingLevel&&n.ERROR>=this.loggingLevel&&console.error(e,...t)};errorGroup=(e,...t)=>{this.isGroupLoggingEnabled?null!==this.loggingLevel&&n.ERROR>=this.loggingLevel&&this.pushToGroup("error",e,...t):this.error(e,...t)};errorNoConsole=(e,...t)=>{this.processMiddlewares("internal","error",e,...t)};info=(e,...t)=>{this.processMiddlewares("console","info",e,...t),null!==this.loggingLevel&&n.INFO>=this.loggingLevel&&console.log(e,...t)};infoGroup=(e,...t)=>{this.isGroupLoggingEnabled?null!==this.loggingLevel&&n.INFO>=this.loggingLevel&&this.pushToGroup("info",e,...t):this.info(e,...t)};infoNoConsole=(e,...t)=>{this.processMiddlewares("internal","info",e,...t)};setLoggingLevel=e=>{this.loggingLevel=o.convertLogLevelToNumber(e)};setMiddleware=e=>{this.middlewares.push(e)};warn=(e,...t)=>{this.processMiddlewares("console","warn",e,...t),null!==this.loggingLevel&&n.WARN>=this.loggingLevel&&console.warn(e,...t)};warnGroup=(e,...t)=>{this.isGroupLoggingEnabled?null!==this.loggingLevel&&n.WARN>=this.loggingLevel&&this.pushToGroup("warn",e,...t):this.warn(e,...t)};warnNoConsole=(e,...t)=>{this.processMiddlewares("internal","warn",e,...t)};static convertLogLevelToNumber=e=>{switch(e){case"debug":return n.DEBUG;case"info":return n.INFO;case"warn":return n.WARN;default:return n.ERROR}};processMiddlewares=(e,t,r,...n)=>{this.middlewares.forEach(o=>o(e,t,r,...n))};pushToGroup(e,t,...r){let n=this.groupsByKey.get(t);n||(n=[],this.groupsByKey.set(t,n)),n.push([e,...r])}}const i=new o},232(e,t,r){r.d(t,{Q:function(){return n}});var n=function(e){return void 0===e.isTrusted||e.isTrusted}},283(e,t,r){r.d(t,{NC:function(){return d},As:function(){return l},Fd:function(){return u},mS:function(){return h}});var n=r(661),o=r(102),i=r(592),a=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},s=function(e,t,r){if(r||2===arguments.length)for(var n,o=0,i=t.length;o=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},u=function(e){try{if((0,n.bJ)(e)&&!Object.hasOwn(e,"toJSON"))return l(e);if("object"==typeof e&&null!==e){var t=Object.keys(e);if(1===t.length&&"isTrusted"===t[0])return l(e)}if(["function","symbol","bigint","undefined"].includes(typeof e))return l(e);var r=JSON.stringify(e);return(0,i.G)(r)}catch(t){return l(e)}},l=function(e,t){try{return(0,i.f)(d(e),t).stringified}catch(e){return JSON.stringify("[non-serializable object]")}},d=function(e,t){return void 0===t&&(t=new WeakMap),Array.isArray(e)?e.map(function(e){return d(e,t)}):"object"==typeof e&&null!==e?e instanceof Element?"[Element: ".concat(e.tagName,"]"):f(e,t):["function","symbol","bigint","undefined"].includes(typeof e)?typeof e:null===e||"number"==typeof e||"string"==typeof e||"boolean"==typeof e?e:JSON.stringify(e)},f=function(e,t){var r,i=Object.keys(e);if((0,o.V1)(e)){var c={};e.forEach(function(e,t){c[t]="string"==typeof e?e:"[file:".concat(e.type,"][").concat(e.name,"]")}),r=c}else if((0,n.bJ)(e)&&!Object.hasOwn(e,"toJSON"))r=g(e);else if(1===i.length&&"isTrusted"===i[0]){var u=Object.keys(Object.getPrototypeOf(e));r=JSON.parse(JSON.stringify(e,s(s([],a(i),!1),a(u),!1)))}else r=p(t,e);return r},p=function(e,t){var r,n;if(e.has(t))return"[circular]";e.set(t,!0);var o=[];try{for(var i=c(Object.entries(t)),s=i.next();!s.done;s=i.next()){var u=a(s.value,2),l=u[0],f=u[1];o.push([l,d(f,e)])}}catch(e){r={error:e}}finally{try{s&&!s.done&&(n=i.return)&&n.call(i)}finally{if(r)throw r.error}}return Object.fromEntries(o)},g=function(e){var t=JSON.parse(JSON.stringify(e));return t.name||(t.name=e.name),t.stack||(t.stack=e.stack),t.message||(t.message=e.message),t},h=function(e){var t,r,n,o;if(Array.isArray(e))n="["+e.map(function(e){return h(e)}).join(",")+"]";else if("function"==typeof e||(o=e)instanceof RegExp||"object"==typeof o&&null!==o&&"RegExp"===o.constructor.name)n=e.toString();else if("boolean"==typeof e||void 0===e)n=e;else if("object"==typeof e&&null!==e){var i=[];try{for(var s=c(Object.entries(e)),u=s.next();!u.done;u=s.next()){var l=a(u.value,2),d=l[0],f=l[1];i.push([d,h(f)])}}catch(e){t={error:e}}finally{try{u&&!u.done&&(r=s.return)&&r.call(s)}finally{if(t)throw t.error}}n="{".concat(i.map(function(e){var t=a(e,2),r=t[0],n=t[1];return'"'.concat(r,'":').concat(n)}).join(","),"}")}else n=JSON.stringify(e);return n}},288(e,t,r){r.d(t,{f:function(){return i}});var n,o=(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])},n(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)}),i=function(e){function t(r,n){var o=void 0===n?{}:n,i=o.additionalData,a=void 0===i?{}:i,s=o.originalError,c=o.shouldReport,u=void 0===c||c,l=e.call(this,r)||this;return Object.setPrototypeOf(l,t.prototype),l.name="WebSDKError",l.additionalData=a,l.shouldReport=u,s&&(l.originalName=s.name,l.originalStack=s.stack,l.originalMessage=s.message,l.originalError=s),s instanceof t&&(l.originalAdditionalData=s.additionalData),l}return o(t,e),t.prototype.toJSON=function(){return{name:this.name,additionalData:this.additionalData,message:this.message,originalAdditionalData:this.originalAdditionalData,originalError:this.originalError,originalMessage:this.originalMessage,originalName:this.originalName,originalStack:this.originalStack,shouldReport:this.shouldReport,stack:this.stack}},t}(Error)},358(e,t,r){r.d(t,{o:function(){return n}});var n=function(e){for(var t=[],r=1;r0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}(t),!1))}},400(e,t,r){r.d(t,{$_:function(){return s},NH:function(){return a},Qd:function(){return i}});var n=function(){return n=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},i=function(e){if("[object Object]"!==Object.prototype.toString.call(e))return!1;var t=Object.getPrototypeOf(e);return null===t||t===Object.prototype},a=function(e){var t,r,n={};try{for(var i=function(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.")}(Object.entries(e)),a=i.next();!a.done;a=i.next()){var s=o(a.value,2),c=s[0],u=s[1];null!==u&&"number"!=typeof u&&"string"!=typeof u&&"boolean"!=typeof u||(n[c]=u)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}return Object.entries(n).forEach(function(e){var t=o(e,2),r=t[0],i=t[1];("function"==typeof i||"object"==typeof i&&null!==i||"symbol"==typeof i)&&delete n[r]}),n},s=function(e){var t=n({},e);return Object.entries(t).forEach(function(e){var r=o(e,2),n=r[0],i=r[1];""!==i&&null!=i||delete t[n]}),t}},498(e,t,r){r.d(t,{e:function(){return a},w:function(){return n}});var n,o=r(400),i=r(524);!function(e){e.CLICK="click",e.CUSTOM_EVENT="custom event",e.IDENTIFY="identify",e.PROPERTIES="global event"}(n||(n={}));var a=function(e,t,r){(0,i.Nu)(e,t);var n=(0,o.NH)(e);return(0,i.fB)(n,t,r)}},524(e,t,r){r.d(t,{EE:function(){return O},I2:function(){return k},M0:function(){return E},Nu:function(){return S},fB:function(){return R}});var n=r(897),o=r(283),i=r(358),a=r(400),s=r(498),c=r(5),u=function(){return u=Object.assign||function(e){for(var t,r=1,n=arguments.length;r0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},d="https://web.developer.smartlook.com/docs",f="".concat(d,"/custom-click-properties"),p="".concat(d,"/error-logging#custom-errors-api"),g="".concat(d,"/custom-events#creating-custom-events"),h="".concat(d,"/custom-event-properties"),v="".concat(d,"/identify-visitor"),y="".concat(d,"/custom-navigation-event"),w=function(e){return(0,n.Kg)(e)&&e.length>0&&e.length<=200},b=function(e){return(0,c.q)(e)<=5e3},m=function(e,t){var r=e.trim();return r!==e&&(0,i.o)("Invalid format of string '".concat(r,"'. Please remove spaces at the beginning or at the end of the string. See more at ").concat(I(t),".")),r},S=function(e,t){var r,n=o.NC(e);if(!(0,a.Qd)(n)){var s=(r=n,Object.prototype.toString.call(r).slice(8,-1).toLowerCase());(0,i.o)("Invalid type of ".concat(t," properties. Expected plain object, got ").concat(s,". See more at ").concat(I(t)))}},R=function(e,t,r){var n,o;void 0===r&&(r="");var a=u({},e);try{for(var s=function(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.")}(Object.entries(e)),c=s.next();!c.done;c=s.next()){var d=l(c.value,2),f=d[0],p=d[1],g=w(f),h=b(p);if(g&&h||delete a[f],g){var v=m(f,t);v!==f&&(a[v]=a[f],delete a[f])}else(0,i.o)("".concat(r?"".concat(r,": "):"","Invalid name of ").concat(t," property '").concat(f,"'. See more at ").concat(I(t)));h||(0,i.o)("".concat(r?"".concat(r,": "):"","Invalid value of ").concat(t," property '").concat(f,"' (").concat(typeof p,"). See more at ").concat(I(t)),p)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(n)throw n.error}}return a},k=function(e){return w(e)?m(String(e),s.w.CUSTOM_EVENT):((0,i.o)("Invalid custom event name '".concat(e,"'. See more at ").concat(g)),e)},E=function(e){var t;if(t=e,(0,c.q)(t)<=5e3)return e;(0,i.o)("Invalid error message. See more at ".concat(p))},O=function(e){if(function(e){return(0,n.Kg)(e)&&e.length>0&&e.length<=1e3}(e))return e;(0,i.o)("Invalid navigation url '".concat(e,"'. See more at ").concat(y))},I=function(e){var t,r;return null!==(r=((t={})[s.w.CLICK]=f,t[s.w.CUSTOM_EVENT]=g,t[s.w.IDENTIFY]=v,t[s.w.PROPERTIES]=h,t)[e])&&void 0!==r?r:d}},590(e,t,r){r.d(t,{$:function(){return n}});var n=function(){return((e=21)=>{let t="",r=crypto.getRandomValues(new Uint8Array(e|=0));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&r[e]];return t})()}},592(e,t,r){r.d(t,{G:function(){return c},f:function(){return s}});var n=r(283),o=function(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.")},i=function(e,t){var r="function"==typeof Symbol&&e[Symbol.iterator];if(!r)return e;var n,o,i=r.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a},a="[smartlook-truncated]",s=function(e,t){void 0===t&&(t=16384);var r=JSON.stringify(e);return r.length<=t?{isTruncated:!1,stringified:r}:(Array.isArray(e)?r=function(e,t){var r,i,s="";try{for(var c=o(e),u=c.next();!u.done;u=c.next()){var l=u.value;if(t<=0){s+=JSON.stringify(a)+",";break}var d=(0,n.As)(l,t)+",";s+=d,t-=d.length}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return"["+s.slice(0,Math.max(0,s.length-1))+"]"}(e,t):"object"==typeof e&&null!==e?r=function(e,t){var r,s,c="";try{for(var u=o(Object.entries(e)),l=u.next();!l.done;l=u.next()){var d=i(l.value,2),f=d[0],p=d[1];if(t<=0){c+=JSON.stringify(a)+":true,";break}var g='"'.concat(f,'":').concat((0,n.As)(p,t),",");c+=g,t-=g.length}}catch(e){r={error:e}}finally{try{l&&!l.done&&(s=u.return)&&s.call(u)}finally{if(r)throw r.error}}return"{"+c.slice(0,Math.max(0,c.length-1))+"}"}(e,t):"string"==typeof e?r=JSON.stringify(a+"[string] "+e.slice(0,Math.max(0,t))):"number"==typeof e&&(r=JSON.stringify(a+"[number] "+String(e).slice(0,Math.max(0,t)))),{isTruncated:!0,stringified:r})},c=function(e,t){return void 0===t&&(t=16384),e.length<=t?e:JSON.stringify(a+"[string] "+e.slice(0,Math.max(0,t)))}},650(e,t,r){r.d(t,{f4:function(){return d},vS:function(){return f}});var n=r(288),o=r(120),i=r(590),a=r(135),s=r(114),c=function(e,t,r,n){return new(r||(r=Promise))(function(o,i){function a(e){try{c(n.next(e))}catch(e){i(e)}}function s(e){try{c(n.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(a,s)}c((n=n.apply(e,t||[])).next())})},u=function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0)&&!(n=i.next()).done;)a.push(n.value)}catch(e){o={error:e}}finally{try{n&&!n.done&&(r=i.return)&&r.call(i)}finally{if(o)throw o.error}}return a}(n),!1),void 0,function(e,t,r,n){var o,a,s,c,d,f,p,g,h,v;return void 0===n&&(n=[]),u(this,function(u){switch(u.label){case 0:u.trys.push([0,5,6,7]),o=function(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.")}(e),a=o.next(),u.label=1;case 1:return a.done?[3,4]:(s=a.value).sessionId?n.includes(s.sessionId)?[3,3]:[4,l(s.sessionId,t,r)]:[3,3];case 2:if(null==(c=u.sent())?void 0:c.isActive)return[2,{sessionId:s.sessionId,sessionTimeRemaining:c.sessionTimeRemaining,visitorId:null!==(g=s.visitorId)&&void 0!==g?g:i.$()}];u.label=3;case 3:return a=o.next(),[3,1];case 4:return[3,7];case 5:return d=u.sent(),f={error:d},[3,7];case 6:try{a&&!a.done&&(p=o.return)&&p.call(o)}finally{if(f)throw f.error}return[7];case 7:return r.clearAssetsStore(),[2,{sessionId:i.$(),visitorId:null!==(v=null===(h=e.find(function(e){return null!==e.visitorId}))||void 0===h?void 0:h.visitorId)&&void 0!==v?v:i.$()}]}})})}},661(e,t,r){r.d(t,{bJ:function(){return n},eu:function(){return o},v2:function(){return i}});var n=function(e){var t,r;return null!==e&&"object"==typeof e&&(e instanceof Error||(null===(t=e.constructor.name)||void 0===t?void 0:t.endsWith("Error"))||(null===(r=e.constructor.name)||void 0===r?void 0:r.endsWith("Exception")))},o=function(e){return n(e)&&(e instanceof SyntaxError||"SyntaxError"===e.constructor.name)},i=function(e){return n(t=e)&&(t instanceof DOMException||"DOMException"===t.constructor.name)&&"SecurityError"===e.name;var t}},806(e,t,r){r.d(t,{ni:function(){return n},u5:function(){return i},xw:function(){return o}});var n=function(e){var t,r,n=null;try{n=null!==(r=null===(t=e.defaultView)||void 0===t?void 0:t.frameElement)&&void 0!==r?r:null}catch(e){}return n},o=function(e){try{return e.contentDocument}catch(e){}return null},i=function(e){var t,r=null;try{r=null!==(t=e.frameElement)&&void 0!==t?t:null}catch(e){}return r}},812(e,t,r){r.d(t,{F:function(){return p},T:function(){return g}});var n=r(288),o=r(135),i=r(933),a=function(){return t=function(){return function(e,t){var r,n,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(c){return function(s){if(r)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(r=1,n&&(o=2&s[0]?n.return:s[0]?n.throw||((o=n.return)&&o.call(n),0):n.next)&&!(o=o.call(n,s[1])).done)return o;switch(n=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,n=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(!((o=(o=a.trys).length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]