function anonymous( ) { /*! * gears-navigation - v3.56.0 - 76552eb * * Copyright (c) 2014 Sprocket, Inc. */(()=>{var t={6106:(t,e,r)=>{var n=r(2926);const s=window.SPSDK.$,i=r(5401);t.exports={button:function(t,e){if(!(t&&t.length&&e))return;const r=e.styles;if(r&&!s.isEmptyObject(r)&&!s.isArray(r)&&"string"!=typeof r){if(r.backgroundColorBegin){const t=r.backgroundColorBegin,e=r["background-color"];t&&e&&(r["background-image"]="linear-gradient(to bottom, ".concat(t,", ").concat(e,")")),this.device.ua().webkit&&t&&e&&(r["background-image"]="-webkit-linear-gradient(top, ".concat(t,", ").concat(e,")"))}else r["background-image"]="none";return t.css(r)}},guide:function(t,e,r){if(!(t&&t.length&&e))return;const n=e.styles,o=e.animations;if(n&&!s.isEmptyObject(n)){const s=t.find(".spm-".concat(r,"-main")),o=t.find(".spm-".concat(r,"-content"));"dialog"===r&&n["border-width"]&&(n["border-style"]="solid"),s.length&&s.css(n);const a={"font-size":n["font-size"],color:n.color};o.length&&o.css(a),i.arrow(t,e,r)}if(o&&!s.isEmptyObject(o)){const e=o["animation-duration"];return s.isNumeric(e)&&(o["animation-duration"]="".concat(e,"ms")),t.css(o)}},guidePosition:function(t,e,r){const n=this,i=()=>{const i=n.device.innerWidth()<460?0:20,o=e.horizon,a=e.placement;let c={};if("toast"===r){const e=t.width()!==s("html").width();"left"===o||"right"===o?(c={maxWidth:"auto",width:"auto"},c[o]=0):e||(c={left:0,right:0,marginLeft:"auto",marginRight:"auto"})}"dialog"===r&&("left"===o?c.left=i:"right"===o?c.left=n.device.innerWidth()-t.outerWidth()-i:s.extend(c,{left:0,right:0,marginLeft:"auto",marginRight:"auto"}),"top"===a?c.top=t.outerHeight()/2+i:"bottom"===a&&(c.top=n.device.innerHeight()-t.outerHeight()/2-i)),t.css(c)};this.device.setResize(300,i,this),i()},checkResponsiveSize:function(t,e,r){const n=(t,e)=>null!==r?{style:t,navData:r[e]}:{style:t},s=this.device.innerWidth(),i={width:e[0]};if(t[0]<=s)return n(i,0);let o=0;for(let e=0,r=0,n=t.length;rs&&(o=e)}return i.width=e[o],n(i,o)},setButtonResponsive:function(t,e,r){const n=e.button;for(let e=0,s=0,i=n.length;si&&(o+=", "),i++;if(""===o)continue;const a=this.makeButtonStyle(s).wrapInnerStyle,c=t.children("div"),u='
';c.length>0&&!c.hasClass("spm-".concat(r,"-button"))?(t.children("div").children(o).wrapAll(u),t.find(".spm-button-wrapInner:eq(".concat(e,")")).css(a)):(t.children(o).wrapAll(u),t.find(".spm-button-wrapInner:eq(".concat(e,")")).css(a))}return t},resetButtonResponsive:function(t,e){t.find(".spm-button-wrapInner").children(".spm-".concat(e,"-button")).unwrap()},makeButtonStyle:function(t){let e={};return t.position&&t.position.length>0&&(e={borderCollapse:"separate",display:"table",tableLayout:"fixed",width:"100%",paddingLeft:t.position[0].value+t.position[0].unit,paddingRight:t.position[1].value+t.position[1].unit}),null==t.padding||s.isEmptyObject(t.padding)||(e.borderSpacing="".concat(t.padding.value+t.padding.unit," 5px")),{wrapInnerStyle:e}},setWrapperGuideStyle:function(t,e,r){if("balloon"===e){let e;e=t.width.indexOf("%")>0?"".concat(this.device.innerWidth()*parseInt(t.width,10)/100,"px"):t.width;return{width:e,maxWidth:e,minWidth:e}}if("dialog"===e){const e=this.device.innerWidth(),r=t.width.replace(/(px|%)/,"");let n;return n=-1===t.width.indexOf("%")?"".concat(e/2-r/2,"px"):"".concat("100"===r?2:(100-r)/2,"%"),{left:n,maxWidth:t.width,width:t.width}}if("toast"===e&&"toast-type-7"===r.guideType&&-1===r.customClass.indexOf("spm-row-btn"))return{maxWidth:t.width,right:"auto"}},setResponsive:function(t,e,r){if(!(t&&t.length&&e))return;if(!(s.isArray(e.customDesign)&&e.customDesign.length>0))return;const i=this,o=[],a=[],c=[];e.customDesign.sort(((t,e)=>e.browserWidth.width-t.browserWidth.width));const u=e.customDesign;for(let t=0,e=u.length;t0,p=t.find(".spm-".concat(r,"-main"));let l;d&&(l=t.find(".spm-".concat(r,"-nav")));const v=()=>{let n,u,v;d?(n=i.checkResponsiveSize(o,a,c),u=n.style,v=n.navData):u=i.checkResponsiveSize(o,a).style;const h=s.extend({},u);-1!==h.width.indexOf("%")&&("toast"===r&&(h.width=s("html").width()*parseInt(h.width,10)/100),"toast"!==r&&(h.width="100%")),p.length&&p.css(h);const f=i.setWrapperGuideStyle(u,r,e);void 0!==f&&t.css(f),i.resetButtonResponsive(l,r),v&&i.setButtonResponsive(l,v,r)};return i.device.setResize(300,v,i),v()},removeResponsive:function(){return this.device.removeResize()},formatForFadeAnimation:function(t){let e,r;return t.animations&&(r="fade"===t.animations["animation-name"],e=t.animations["animation-duration"]||250),{isUseFade:r,fadeSpeed:e}},showWithAnimation:function(t,e){const r=e.isUseFade,n=e.fadeSpeed;return r?t.hide().fadeIn(n):t.detach().css({display:"block"})},hideWithAnimation:function(t,e){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:()=>{};const n=e.isUseFade,s=e.fadeSpeed;return n?t.fadeOut(s,(()=>(r(),t.detach()))):(r(),t.detach())},device:{ua:function(){const t=window.navigator.userAgent.toLowerCase();return{Tablet:-1!==t.indexOf("windows")&&-1!==t.indexOf("touch")||-1!==t.indexOf("ipad")||-1!==t.indexOf("android")&&-1===t.indexOf("mobile")||-1!==t.indexOf("firefox")&&-1!==t.indexOf("tablet")||-1!==t.indexOf("kindle")||-1!==t.indexOf("silk")||-1!==t.indexOf("playbook"),Mobile:-1!==t.indexOf("windows")&&-1!==t.indexOf("phone")||-1!==t.indexOf("iphone")||-1!==t.indexOf("ipod")||-1!==t.indexOf("android")&&-1!==t.indexOf("mobile")||-1!==t.indexOf("firefox")&&-1!==t.indexOf("mobile")||-1!==t.indexOf("blackberry"),webkit:t.indexOf("webkit/")>0}},innerWidth:function(){return window.innerWidth},innerHeight:function(){return window.innerHeight},setResize:function(t,e,r){let n=null;s(window).on("resize.device",(()=>{clearTimeout(n),n=i(t,e.call(r))}));const i=(t,e)=>{if("function"==typeof e)return setTimeout(e,t)}},removeResize:function(){return s(window).off("resize.device")}}}},5401:t=>{t.exports={arrow:function(t,e,r){if(!("balloon"===r&&e&&e.placement&&e.styles))return;const n=e.styles,s=n["border-width"],i=n["background-color"],o=i?"border-".concat(e.placement,"-color: ").concat(i," !important;"):"";let a="",c="",u="",d="";if(s){const t=n["border-color"];switch(d="".concat(e.placement,": ").concat(-11-s,"px !important;"),t&&(u="border-".concat(e.placement,"-color: ").concat(t," !important;")),e.placement){case"top":a="bottom: auto !important;";break;case"bottom":a="top: auto !important;";break;case"left":c="right: -10px !important;";break;case"right":c="left: -10px !important;",a="left: auto !important;"}}const p=[""].join("");return t.append(p)}}},5766:(t,e)=>{"use strict";e.byteLength=function(t){var e=c(t),r=e[0],n=e[1];return 3*(r+n)/4-n},e.toByteArray=function(t){var e,r,i=c(t),o=i[0],a=i[1],u=new s(function(t,e,r){return 3*(e+r)/4-r}(0,o,a)),d=0,p=a>0?o-4:o;for(r=0;r>16&255,u[d++]=e>>8&255,u[d++]=255&e;2===a&&(e=n[t.charCodeAt(r)]<<2|n[t.charCodeAt(r+1)]>>4,u[d++]=255&e);1===a&&(e=n[t.charCodeAt(r)]<<10|n[t.charCodeAt(r+1)]<<4|n[t.charCodeAt(r+2)]>>2,u[d++]=e>>8&255,u[d++]=255&e);return u},e.fromByteArray=function(t){for(var e,n=t.length,s=n%3,i=[],o=16383,a=0,c=n-s;ac?c:a+o));1===s?(e=t[n-1],i.push(r[e>>2]+r[e<<4&63]+"==")):2===s&&(e=(t[n-2]<<8)+t[n-1],i.push(r[e>>10]+r[e>>4&63]+r[e<<2&63]+"="));return i.join("")};for(var r=[],n=[],s="undefined"!=typeof Uint8Array?Uint8Array:Array,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",o=0,a=i.length;o0)throw new Error("Invalid string. Length must be a multiple of 4");var r=t.indexOf("=");return-1===r&&(r=e),[r,r===e?0:4-r%4]}function u(t,e,n){for(var s,i,o=[],a=e;a>18&63]+r[i>>12&63]+r[i>>6&63]+r[63&i]);return o.join("")}n["-".charCodeAt(0)]=62,n["_".charCodeAt(0)]=63},5792:t=>{var e={utf8:{stringToBytes:function(t){return e.bin.stringToBytes(unescape(encodeURIComponent(t)))},bytesToString:function(t){return decodeURIComponent(escape(e.bin.bytesToString(t)))}},bin:{stringToBytes:function(t){for(var e=[],r=0;r{r(6382);var n=r(5607);t.exports=n("Array").push},3590:(t,e,r)=>{var n=r(8902),s=r(7077),i=Array.prototype;t.exports=function(t){var e=t.push;return t===i||n(i,t)&&e===i.push?s:e}},6813:(t,e,r)=>{var n=r(8902),s=r(3842),i=String.prototype;t.exports=function(t){var e=t.trim;return"string"==typeof t||t===i||n(i,t)&&e===i.trim?s:e}},3842:(t,e,r)=>{r(957);var n=r(5607);t.exports=n("String").trim},6235:(t,e,r)=>{var n=r(6447),s=r(9288),i=TypeError;t.exports=function(t){if(n(t))return t;throw i(s(t)+" is not a function")}},1138:(t,e,r)=>{var n=r(5744),s=String,i=TypeError;t.exports=function(t){if(n(t))return t;throw i(s(t)+" is not an object")}},5072:(t,e,r)=>{"use strict";var n=r(69),s=r(4770),i=TypeError,o=Object.getOwnPropertyDescriptor,a=n&&!function(){if(void 0!==this)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(t){return t instanceof TypeError}}();t.exports=a?function(t,e){if(s(t)&&!o(t,"length").writable)throw i("Cannot set read only .length");return t.length=e}:function(t,e){return t.length=e}},9272:(t,e,r)=>{var n=r(4120),s=n({}.toString),i=n("".slice);t.exports=function(t){return i(s(t),8,-1)}},4696:(t,e,r)=>{var n=r(3471),s=r(6447),i=r(9272),o=r(8182)("toStringTag"),a=Object,c="Arguments"==i(function(){return arguments}());t.exports=n?i:function(t){var e,r,n;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,e){try{return t[e]}catch(t){}}(e=a(t),o))?r:c?i(e):"Object"==(n=i(e))&&s(e.callee)?"Arguments":n}},8711:(t,e,r)=>{var n=r(69),s=r(2454),i=r(774);t.exports=n?function(t,e,r){return s.f(t,e,i(1,r))}:function(t,e,r){return t[e]=r,t}},774:t=>{t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},5098:(t,e,r)=>{var n=r(8576),s=Object.defineProperty;t.exports=function(t,e){try{s(n,t,{value:e,configurable:!0,writable:!0})}catch(r){n[t]=e}return e}},69:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},8382:t=>{var e="object"==typeof document&&document.all,r=void 0===e&&void 0!==e;t.exports={all:e,IS_HTMLDDA:r}},7449:(t,e,r)=>{var n=r(8576),s=r(5744),i=n.document,o=s(i)&&s(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},9425:t=>{var e=TypeError;t.exports=function(t){if(t>9007199254740991)throw e("Maximum allowed index exceeded");return t}},8989:t=>{t.exports="undefined"!=typeof navigator&&String(navigator.userAgent)||""},4218:(t,e,r)=>{var n,s,i=r(8576),o=r(8989),a=i.process,c=i.Deno,u=a&&a.versions||c&&c.version,d=u&&u.v8;d&&(s=(n=d.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!s&&o&&(!(n=o.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=o.match(/Chrome\/(\d+)/))&&(s=+n[1]),t.exports=s},5607:(t,e,r)=>{var n=r(7545);t.exports=function(t){return n[t+"Prototype"]}},3085:(t,e,r)=>{"use strict";var n=r(8576),s=r(6298),i=r(4914),o=r(6447),a=r(5141).f,c=r(9245),u=r(7545),d=r(8043),p=r(8711),l=r(4500),v=function(t){var e=function(r,n,i){if(this instanceof e){switch(arguments.length){case 0:return new t;case 1:return new t(r);case 2:return new t(r,n)}return new t(r,n,i)}return s(t,this,arguments)};return e.prototype=t.prototype,e};t.exports=function(t,e){var r,s,h,f,g,m,w,b,y,x=t.target,S=t.global,A=t.stat,I=t.proto,_=S?n:A?n[x]:(n[x]||{}).prototype,k=S?u:u[x]||p(u,x,{})[x],O=k.prototype;for(f in e)s=!(r=c(S?f:x+(A?".":"#")+f,t.forced))&&_&&l(_,f),m=k[f],s&&(w=t.dontCallGetSet?(y=a(_,f))&&y.value:_[f]),g=s&&w?w:e[f],s&&typeof m==typeof g||(b=t.bind&&s?d(g,n):t.wrap&&s?v(g):I&&o(g)?i(g):g,(t.sham||g&&g.sham||m&&m.sham)&&p(b,"sham",!0),p(k,f,b),I&&(l(u,h=x+"Prototype")||p(u,h,{}),p(u[h],f,g),t.real&&O&&(r||!O[f])&&p(O,f,g)))}},6192:t=>{t.exports=function(t){try{return!!t()}catch(t){return!0}}},6298:(t,e,r)=>{var n=r(2784),s=Function.prototype,i=s.apply,o=s.call;t.exports="object"==typeof Reflect&&Reflect.apply||(n?o.bind(i):function(){return o.apply(i,arguments)})},8043:(t,e,r)=>{var n=r(4914),s=r(6235),i=r(2784),o=n(n.bind);t.exports=function(t,e){return s(t),void 0===e?t:i?o(t,e):function(){return t.apply(e,arguments)}}},2784:(t,e,r)=>{var n=r(6192);t.exports=!n((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},8922:(t,e,r)=>{var n=r(2784),s=Function.prototype.call;t.exports=n?s.bind(s):function(){return s.apply(s,arguments)}},2282:(t,e,r)=>{var n=r(69),s=r(4500),i=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,a=s(i,"name"),c=a&&"something"===function(){}.name,u=a&&(!n||n&&o(i,"name").configurable);t.exports={EXISTS:a,PROPER:c,CONFIGURABLE:u}},4914:(t,e,r)=>{var n=r(9272),s=r(4120);t.exports=function(t){if("Function"===n(t))return s(t)}},4120:(t,e,r)=>{var n=r(2784),s=Function.prototype,i=s.call,o=n&&s.bind.bind(i,i);t.exports=n?o:function(t){return function(){return i.apply(t,arguments)}}},150:(t,e,r)=>{var n=r(7545),s=r(8576),i=r(6447),o=function(t){return i(t)?t:void 0};t.exports=function(t,e){return arguments.length<2?o(n[t])||o(s[t]):n[t]&&n[t][e]||s[t]&&s[t][e]}},5037:(t,e,r)=>{var n=r(6235),s=r(5646);t.exports=function(t,e){var r=t[e];return s(r)?void 0:n(r)}},8576:function(t,e,r){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof r.g&&r.g)||function(){return this}()||this||Function("return this")()},4500:(t,e,r)=>{var n=r(4120),s=r(1795),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,e){return i(s(t),e)}},188:(t,e,r)=>{var n=r(69),s=r(6192),i=r(7449);t.exports=!n&&!s((function(){return 7!=Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},2202:(t,e,r)=>{var n=r(4120),s=r(6192),i=r(9272),o=Object,a=n("".split);t.exports=s((function(){return!o("z").propertyIsEnumerable(0)}))?function(t){return"String"==i(t)?a(t,""):o(t)}:o},4770:(t,e,r)=>{var n=r(9272);t.exports=Array.isArray||function(t){return"Array"==n(t)}},6447:(t,e,r)=>{var n=r(8382),s=n.all;t.exports=n.IS_HTMLDDA?function(t){return"function"==typeof t||t===s}:function(t){return"function"==typeof t}},9245:(t,e,r)=>{var n=r(6192),s=r(6447),i=/#|\.prototype\./,o=function(t,e){var r=c[a(t)];return r==d||r!=u&&(s(e)?n(e):!!e)},a=o.normalize=function(t){return String(t).replace(i,".").toLowerCase()},c=o.data={},u=o.NATIVE="N",d=o.POLYFILL="P";t.exports=o},5646:t=>{t.exports=function(t){return null==t}},5744:(t,e,r)=>{var n=r(6447),s=r(8382),i=s.all;t.exports=s.IS_HTMLDDA?function(t){return"object"==typeof t?null!==t:n(t)||t===i}:function(t){return"object"==typeof t?null!==t:n(t)}},5546:t=>{t.exports=!0},3236:(t,e,r)=>{var n=r(150),s=r(6447),i=r(8902),o=r(615),a=Object;t.exports=o?function(t){return"symbol"==typeof t}:function(t){var e=n("Symbol");return s(e)&&i(e.prototype,a(t))}},4104:(t,e,r)=>{var n=r(8445);t.exports=function(t){return n(t.length)}},7679:t=>{var e=Math.ceil,r=Math.floor;t.exports=Math.trunc||function(t){var n=+t;return(n>0?r:e)(n)}},2454:(t,e,r)=>{var n=r(69),s=r(188),i=r(9600),o=r(1138),a=r(77),c=TypeError,u=Object.defineProperty,d=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",v="writable";e.f=n?i?function(t,e,r){if(o(t),e=a(e),o(r),"function"==typeof t&&"prototype"===e&&"value"in r&&v in r&&!r.writable){var n=d(t,e);n&&n.writable&&(t[e]=r.value,r={configurable:l in r?r.configurable:n.configurable,enumerable:p in r?r.enumerable:n.enumerable,writable:!1})}return u(t,e,r)}:u:function(t,e,r){if(o(t),e=a(e),o(r),s)try{return u(t,e,r)}catch(t){}if("get"in r||"set"in r)throw c("Accessors not supported");return"value"in r&&(t[e]=r.value),t}},5141:(t,e,r)=>{var n=r(69),s=r(8922),i=r(6007),o=r(774),a=r(101),c=r(77),u=r(4500),d=r(188),p=Object.getOwnPropertyDescriptor;e.f=n?p:function(t,e){if(t=a(t),e=c(e),d)try{return p(t,e)}catch(t){}if(u(t,e))return o(!s(i.f,t,e),t[e])}},8902:(t,e,r)=>{var n=r(4120);t.exports=n({}.isPrototypeOf)},6007:(t,e)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,s=n&&!r.call({1:2},1);e.f=s?function(t){var e=n(this,t);return!!e&&e.enumerable}:r},380:(t,e,r)=>{var n=r(8922),s=r(6447),i=r(5744),o=TypeError;t.exports=function(t,e){var r,a;if("string"===e&&s(r=t.toString)&&!i(a=n(r,t)))return a;if(s(r=t.valueOf)&&!i(a=n(r,t)))return a;if("string"!==e&&s(r=t.toString)&&!i(a=n(r,t)))return a;throw o("Can't convert object to primitive value")}},7545:t=>{t.exports={}},3209:(t,e,r)=>{var n=r(5646),s=TypeError;t.exports=function(t){if(n(t))throw s("Can't call method on "+t);return t}},6434:(t,e,r)=>{var n=r(8576),s=r(5098),i="__core-js_shared__",o=n[i]||s(i,{});t.exports=o},8717:(t,e,r)=>{var n=r(5546),s=r(6434);(t.exports=function(t,e){return s[t]||(s[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.30.2",mode:n?"pure":"global",copyright:"© 2014-2023 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.30.2/LICENSE",source:"https://github.com/zloirock/core-js"})},6815:(t,e,r)=>{var n=r(2282).PROPER,s=r(6192),i=r(1450);t.exports=function(t){return s((function(){return!!i[t]()||"​…᠎"!=="​…᠎"[t]()||n&&i[t].name!==t}))}},4277:(t,e,r)=>{var n=r(4120),s=r(3209),i=r(4845),o=r(1450),a=n("".replace),c=RegExp("^["+o+"]+"),u=RegExp("(^|[^"+o+"])["+o+"]+$"),d=function(t){return function(e){var r=i(s(e));return 1&t&&(r=a(r,c,"")),2&t&&(r=a(r,u,"$1")),r}};t.exports={start:d(1),end:d(2),trim:d(3)}},6770:(t,e,r)=>{var n=r(4218),s=r(6192),i=r(8576).String;t.exports=!!Object.getOwnPropertySymbols&&!s((function(){var t=Symbol();return!i(t)||!(Object(t)instanceof Symbol)||!Symbol.sham&&n&&n<41}))},101:(t,e,r)=>{var n=r(2202),s=r(3209);t.exports=function(t){return n(s(t))}},1941:(t,e,r)=>{var n=r(7679);t.exports=function(t){var e=+t;return e!=e||0===e?0:n(e)}},8445:(t,e,r)=>{var n=r(1941),s=Math.min;t.exports=function(t){return t>0?s(n(t),9007199254740991):0}},1795:(t,e,r)=>{var n=r(3209),s=Object;t.exports=function(t){return s(n(t))}},7888:(t,e,r)=>{var n=r(8922),s=r(5744),i=r(3236),o=r(5037),a=r(380),c=r(8182),u=TypeError,d=c("toPrimitive");t.exports=function(t,e){if(!s(t)||i(t))return t;var r,c=o(t,d);if(c){if(void 0===e&&(e="default"),r=n(c,t,e),!s(r)||i(r))return r;throw u("Can't convert object to primitive value")}return void 0===e&&(e="number"),a(t,e)}},77:(t,e,r)=>{var n=r(7888),s=r(3236);t.exports=function(t){var e=n(t,"string");return s(e)?e:e+""}},3471:(t,e,r)=>{var n={};n[r(8182)("toStringTag")]="z",t.exports="[object z]"===String(n)},4845:(t,e,r)=>{var n=r(4696),s=String;t.exports=function(t){if("Symbol"===n(t))throw TypeError("Cannot convert a Symbol value to a string");return s(t)}},9288:t=>{var e=String;t.exports=function(t){try{return e(t)}catch(t){return"Object"}}},2759:(t,e,r)=>{var n=r(4120),s=0,i=Math.random(),o=n(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+o(++s+i,36)}},615:(t,e,r)=>{var n=r(6770);t.exports=n&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},9600:(t,e,r)=>{var n=r(69),s=r(6192);t.exports=n&&s((function(){return 42!=Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8182:(t,e,r)=>{var n=r(8576),s=r(8717),i=r(4500),o=r(2759),a=r(6770),c=r(615),u=n.Symbol,d=s("wks"),p=c?u.for||u:u&&u.withoutSetter||o;t.exports=function(t){return i(d,t)||(d[t]=a&&i(u,t)?u[t]:p("Symbol."+t)),d[t]}},1450:t=>{t.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},6382:(t,e,r)=>{"use strict";var n=r(3085),s=r(1795),i=r(4104),o=r(5072),a=r(9425);n({target:"Array",proto:!0,arity:1,forced:r(6192)((function(){return 4294967297!==[].push.call({length:4294967296},1)}))||!function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(t){return t instanceof TypeError}}()},{push:function(t){var e=s(this),r=i(e),n=arguments.length;a(r+n);for(var c=0;c{"use strict";var n=r(3085),s=r(4277).trim;n({target:"String",proto:!0,forced:r(6815)("trim")},{trim:function(){return s(this)}})},2926:(t,e,r)=>{var n=r(3590);t.exports=n},3739:(t,e,r)=>{var n=r(6813);t.exports=n},9562:t=>{var e,r;e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",r={rotl:function(t,e){return t<>>32-e},rotr:function(t,e){return t<<32-e|t>>>e},endian:function(t){if(t.constructor==Number)return 16711935&r.rotl(t,8)|4278255360&r.rotl(t,24);for(var e=0;e0;t--)e.push(Math.floor(256*Math.random()));return e},bytesToWords:function(t){for(var e=[],r=0,n=0;r>>5]|=t[r]<<24-n%32;return e},wordsToBytes:function(t){for(var e=[],r=0;r<32*t.length;r+=8)e.push(t[r>>>5]>>>24-r%32&255);return e},bytesToHex:function(t){for(var e=[],r=0;r>>4).toString(16)),e.push((15&t[r]).toString(16));return e.join("")},hexToBytes:function(t){for(var e=[],r=0;r>>6*(3-i)&63)):r.push("=");return r.join("")},base64ToBytes:function(t){t=t.replace(/[^A-Z0-9+\/]/gi,"");for(var r=[],n=0,s=0;n>>6-2*s);return r}},t.exports=r},4313:t=>{t.exports='
'},7899:t=>{t.exports='
'},2387:t=>{t.exports='
'},564:t=>{t.exports='
'},3250:t=>{t.exports='
'},7280:t=>{t.exports='
'},7836:t=>{t.exports='
'},6859:t=>{t.exports='
'},3225:t=>{t.exports='
'},471:t=>{t.exports='
'},3479:t=>{t.exports='
'},3253:t=>{t.exports='
'},1155:t=>{t.exports='
'},8098:t=>{t.exports='
'},8104:t=>{t.exports='
'},1196:t=>{t.exports='
'},4216:t=>{t.exports='
'},5972:t=>{t.exports='
'},5696:t=>{t.exports='
'},9826:t=>{t.exports='
'},7044:t=>{t.exports='
'},9670:t=>{t.exports='
'},5617:t=>{t.exports='
'},6692:t=>{t.exports='
'},934:t=>{t.exports='
'},3954:t=>{t.exports='
'},1838:t=>{t.exports='
'},8497:t=>{t.exports='
'},4069:t=>{t.exports='
'},5212:t=>{t.exports='
'},1024:t=>{t.exports='
'},988:t=>{t.exports='
'},3255:t=>{t.exports='
'},9305:t=>{t.exports='
'},3335:t=>{function e(t){return!!t.constructor&&"function"==typeof t.constructor.isBuffer&&t.constructor.isBuffer(t)} /*! * Determine if an object is a Buffer * * @author Feross Aboukhadijeh * @license MIT */ t.exports=function(t){return null!=t&&(e(t)||function(t){return"function"==typeof t.readFloatLE&&"function"==typeof t.slice&&e(t.slice(0,0))}(t)||!!t._isBuffer)}},251:function(t,e,r){"use strict";var n;!function(s){function i(t,e,r){var n,s,i,o,a,f,g,m,w,b=0,y=[],x=0,S=!1,A=[],I=[],_=!1,k=!1,O=-1;if(n=(r=r||{}).encoding||"UTF8",(w=r.numRounds||1)!==parseInt(w,10)||1>w)throw Error("numRounds must a integer >= 1");if("SHA-1"===t)a=512,f=z,g=N,o=160,m=function(t){return t.slice()};else if(0===t.lastIndexOf("SHA-",0))if(f=function(e,r){return K(e,r,t)},g=function(e,r,n,s){var i,o;if("SHA-224"===t||"SHA-256"===t)i=15+(r+65>>>9<<4),o=16;else{if("SHA-384"!==t&&"SHA-512"!==t)throw Error("Unexpected error in SHA-2 implementation");i=31+(r+129>>>10<<5),o=32}for(;e.length<=i;)e.push(0);for(e[r>>>5]|=128<<24-r%32,r+=n,e[i]=4294967295&r,e[i-1]=r/4294967296|0,n=e.length,r=0;re;e+=1)r[e]=t[e].slice();return r},O=1,"SHA3-224"===t)a=1152,o=224;else if("SHA3-256"===t)a=1088,o=256;else if("SHA3-384"===t)a=832,o=384;else if("SHA3-512"===t)a=576,o=512;else if("SHAKE128"===t)a=1344,o=-1,P=31,k=!0;else{if("SHAKE256"!==t)throw Error("Chosen SHA variant is not supported");a=1088,o=-1,P=31,k=!0}g=function(t,e,r,n,s){var i,o=P,c=[],u=(r=a)>>>5,d=0,p=e>>>5;for(i=0;i=r;i+=u)n=M(t.slice(i,i+u),n),e-=r;for(t=t.slice(i),e%=r;t.length>>3)>>2]^=o<=s));)c.push(t.a),0==64*(d+=1)%r&&(M(null,n),d=0);return c}}i=h(e,n,O),s=H(t),this.setHMACKey=function(e,r,i){var c;if(!0===S)throw Error("HMAC key already set");if(!0===_)throw Error("Cannot set HMAC key after calling update");if(!0===k)throw Error("SHAKE is not supported for HMAC");for(e=(r=h(r,n=(i||{}).encoding||"UTF8",O)(e)).binLen,r=r.value,i=(c=a>>>3)/4-1,c>>5;for(t=(e=i(t,y,x)).binLen,r=e.value,e=t>>>5,n=0;n>>5),x=t%a,_=!0},this.getHash=function(e,r){var n,i,a,h;if(!0===S)throw Error("Cannot call getHash after setting HMAC key");if(a=v(r),!0===k){if(-1===a.shakeLen)throw Error("shakeLen must be specified in options");o=a.shakeLen}switch(e){case"HEX":n=function(t){return c(t,o,O,a)};break;case"B64":n=function(t){return u(t,o,O,a)};break;case"BYTES":n=function(t){return d(t,o,O)};break;case"ARRAYBUFFER":try{i=new ArrayBuffer(0)}catch(t){throw Error("ARRAYBUFFER not supported by this environment")}n=function(t){return p(t,o,O)};break;case"UINT8ARRAY":try{i=new Uint8Array(0)}catch(t){throw Error("UINT8ARRAY not supported by this environment")}n=function(t){return l(t,o,O)};break;default:throw Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}for(h=g(y.slice(),x,b,m(s),o),i=1;i>>24-o%32),h=g(h,o,0,H(t),o);return n(h)},this.getHMAC=function(e,r){var n,i,h,w;if(!1===S)throw Error("Cannot call getHMAC without first setting HMAC key");switch(h=v(r),e){case"HEX":n=function(t){return c(t,o,O,h)};break;case"B64":n=function(t){return u(t,o,O,h)};break;case"BYTES":n=function(t){return d(t,o,O)};break;case"ARRAYBUFFER":try{n=new ArrayBuffer(0)}catch(t){throw Error("ARRAYBUFFER not supported by this environment")}n=function(t){return p(t,o,O)};break;case"UINT8ARRAY":try{n=new Uint8Array(0)}catch(t){throw Error("UINT8ARRAY not supported by this environment")}n=function(t){return l(t,o,O)};break;default:throw Error("outputFormat must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}return i=g(y.slice(),x,b,m(s),o),w=f(I,H(t)),n(w=g(i,o,a,w,o))}}function o(t,e){this.a=t,this.b=e}function a(t,e,r,n){var s,i,o,a,c;for(e=e||[0],i=(r=r||0)>>>3,c=-1===n?3:0,s=0;s>>2,e.length<=o&&e.push(0),e[o]|=t[s]<<8*(c+a%4*n);return{value:e,binLen:8*t.length+r}}function c(t,e,r,n){var s,i,o,a="";for(e/=8,o=-1===r?3:0,s=0;s>>2]>>>8*(o+s%4*r),a+="0123456789abcdef".charAt(i>>>4&15)+"0123456789abcdef".charAt(15&i);return n.outputUpper?a.toUpperCase():a}function u(t,e,r,n){var s,i,o,a,c="",u=e/8;for(a=-1===r?3:0,s=0;s>>2]:0,o=s+2>>2]:0,o=(t[s>>>2]>>>8*(a+s%4*r)&255)<<16|(i>>>8*(a+(s+1)%4*r)&255)<<8|o>>>8*(a+(s+2)%4*r)&255,i=0;4>i;i+=1)c+=8*s+6*i<=e?"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/".charAt(o>>>6*(3-i)&63):n.b64Pad;return c}function d(t,e,r){var n,s,i,o="";for(e/=8,i=-1===r?3:0,n=0;n>>2]>>>8*(i+n%4*r)&255,o+=String.fromCharCode(s);return o}function p(t,e,r){e/=8;var n,s,i,o=new ArrayBuffer(e);for(i=new Uint8Array(o),s=-1===r?3:0,n=0;n>>2]>>>8*(s+n%4*r)&255;return o}function l(t,e,r){e/=8;var n,s,i=new Uint8Array(e);for(s=-1===r?3:0,n=0;n>>2]>>>8*(s+n%4*r)&255;return i}function v(t){var e={outputUpper:!1,b64Pad:"=",shakeLen:-1};if(t=t||{},e.outputUpper=t.outputUpper||!1,!0===t.hasOwnProperty("b64Pad")&&(e.b64Pad=t.b64Pad),!0===t.hasOwnProperty("shakeLen")){if(0!=t.shakeLen%8)throw Error("shakeLen must be a multiple of 8");e.shakeLen=t.shakeLen}if("boolean"!=typeof e.outputUpper)throw Error("Invalid outputUpper formatting option");if("string"!=typeof e.b64Pad)throw Error("Invalid b64Pad formatting option");return e}function h(t,e,r){switch(e){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(t){case"HEX":t=function(t,e,n){var s,i,o,a,c,u,d=t.length;if(0!=d%2)throw Error("String of HEX type must be in byte increments");for(e=e||[0],c=(n=n||0)>>>3,u=-1===r?3:0,s=0;s>>1)+c)>>>2;e.length<=o;)e.push(0);e[o]|=i<<8*(u+a%4*r)}return{value:e,binLen:4*d+n}};break;case"TEXT":t=function(t,n,s){var i,o,a,c,u,d,p,l,v=0;if(n=n||[0],u=(s=s||0)>>>3,"UTF8"===e)for(l=-1===r?3:0,a=0;a(i=t.charCodeAt(a))?o.push(i):2048>i?(o.push(192|i>>>6),o.push(128|63&i)):55296>i||57344<=i?o.push(224|i>>>12,128|i>>>6&63,128|63&i):(a+=1,i=65536+((1023&i)<<10|1023&t.charCodeAt(a)),o.push(240|i>>>18,128|i>>>12&63,128|i>>>6&63,128|63&i)),c=0;c>>2;n.length<=d;)n.push(0);n[d]|=o[c]<<8*(l+p%4*r),v+=1}else if("UTF16BE"===e||"UTF16LE"===e)for(l=-1===r?2:0,o="UTF16LE"===e&&1!==r||"UTF16LE"!==e&&1===r,a=0;a>>8),d=(p=v+u)>>>2;n.length<=d;)n.push(0);n[d]|=i<<8*(l+p%4*r),v+=2}return{value:n,binLen:8*v+s}};break;case"B64":t=function(t,e,n){var s,i,o,a,c,u,d,p,l=0;if(-1===t.search(/^[a-zA-Z0-9=+\/]+$/))throw Error("Invalid character in base-64 string");if(i=t.indexOf("="),t=t.replace(/\=/g,""),-1!==i&&i{t.exports=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t}},7394:(t,e,r)=>{var n,s=r(4019),i=(n=/[^.]+$/.exec(s&&s.keys&&s.keys.IE_PROTO||""))?"Symbol(src)_1."+n:"";t.exports=function(t){return!!i&&i in t}},6001:t=>{var e=Object.prototype;t.exports=function(t){var r=t&&t.constructor;return t===("function"==typeof r&&r.prototype||e)}},8792:(t,e,r)=>{var n=r(9259);t.exports=function(t){return t==t&&!n(t)}},3945:t=>{t.exports=function(){this.__data__=[],this.size=0}},1846:(t,e,r)=>{var n=r(2218),s=Array.prototype.splice;t.exports=function(t){var e=this.__data__,r=n(e,t);return!(r<0)&&(r==e.length-1?e.pop():s.call(e,r,1),--this.size,!0)}},8028:(t,e,r)=>{var n=r(2218);t.exports=function(t){var e=this.__data__,r=n(e,t);return r<0?void 0:e[r][1]}},2344:(t,e,r)=>{var n=r(2218);t.exports=function(t){return n(this.__data__,t)>-1}},4769:(t,e,r)=>{var n=r(2218);t.exports=function(t,e){var r=this.__data__,s=n(r,t);return s<0?(++this.size,r.push([t,e])):r[s][1]=e,this}},2411:(t,e,r)=>{var n=r(9612),s=r(235),i=r(326);t.exports=function(){this.size=0,this.__data__={hash:new n,map:new(i||s),string:new n}}},6417:(t,e,r)=>{var n=r(7937);t.exports=function(t){var e=n(this,t).delete(t);return this.size-=e?1:0,e}},6928:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).get(t)}},9493:(t,e,r)=>{var n=r(7937);t.exports=function(t){return n(this,t).has(t)}},4150:(t,e,r)=>{var n=r(7937);t.exports=function(t,e){var r=n(this,t),s=r.size;return r.set(t,e),this.size+=r.size==s?0:1,this}},5179:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t,n){r[++e]=[n,t]})),r}},3477:t=>{t.exports=function(t,e){return function(r){return null!=r&&(r[t]===e&&(void 0!==e||t in Object(r)))}}},7777:(t,e,r)=>{var n=r(733);t.exports=function(t){var e=n(t,(function(t){return 500===r.size&&r.clear(),t})),r=e.cache;return e}},9191:(t,e,r)=>{var n=r(8761)(Object,"create");t.exports=n},4248:(t,e,r)=>{var n=r(241)(Object.keys,Object);t.exports=n},2966:t=>{t.exports=function(t){var e=[];if(null!=t)for(var r in Object(t))e.push(r);return e}},4146:(t,e,r)=>{t=r.nmd(t);var n=r(1242),s=e&&!e.nodeType&&e,i=s&&t&&!t.nodeType&&t,o=i&&i.exports===s&&n.process,a=function(){try{var t=i&&i.require&&i.require("util").types;return t||o&&o.binding&&o.binding("util")}catch(t){}}();t.exports=a},7157:t=>{var e=Object.prototype.toString;t.exports=function(t){return e.call(t)}},241:t=>{t.exports=function(t,e){return function(r){return t(e(r))}}},3114:(t,e,r)=>{var n=r(9432),s=Math.max;t.exports=function(t,e,r){return e=s(void 0===e?t.length-1:e,0),function(){for(var i=arguments,o=-1,a=s(i.length-e,0),c=Array(a);++o{var n=r(3324),s=r(9872);t.exports=function(t,e){return e.length<2?t:n(t,s(e,0,-1))}},7772:(t,e,r)=>{var n=r(1242),s="object"==typeof self&&self&&self.Object===Object&&self,i=n||s||Function("return this")();t.exports=i},2842:t=>{t.exports=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this}},2482:t=>{t.exports=function(t){return this.__data__.has(t)}},4207:t=>{t.exports=function(t){var e=-1,r=Array(t.size);return t.forEach((function(t){r[++e]=t})),r}},5251:(t,e,r)=>{var n=r(6532),s=r(7787)(n);t.exports=s},7787:t=>{var e=Date.now;t.exports=function(t){var r=0,n=0;return function(){var s=e(),i=16-(s-n);if(n=s,i>0){if(++r>=800)return arguments[0]}else r=0;return t.apply(void 0,arguments)}}},5243:(t,e,r)=>{var n=r(235);t.exports=function(){this.__data__=new n,this.size=0}},2858:t=>{t.exports=function(t){var e=this.__data__,r=e.delete(t);return this.size=e.size,r}},4417:t=>{t.exports=function(t){return this.__data__.get(t)}},8605:t=>{t.exports=function(t){return this.__data__.has(t)}},1418:(t,e,r)=>{var n=r(235),s=r(326),i=r(6738);t.exports=function(t,e){var r=this.__data__;if(r instanceof n){var o=r.__data__;if(!s||o.length<199)return o.push([t,e]),this.size=++r.size,this;r=this.__data__=new i(o)}return r.set(t,e),this.size=r.size,this}},4452:(t,e,r)=>{var n=r(7777),s=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i=/\\(\\)?/g,o=n((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(s,(function(t,r,n,s){e.push(n?s.replace(i,"$1"):r||t)})),e}));t.exports=o},3812:(t,e,r)=>{var n=r(4795);t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},7035:t=>{var e=Function.prototype.toString;t.exports=function(t){if(null!=t){try{return e.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},2153:t=>{var e=/\s/;t.exports=function(t){for(var r=t.length;r--&&e.test(t.charAt(r)););return r}},9524:(t,e,r)=>{var n=r(752),s=r(7263),i=r(8582),o=s((function(t,e){n(e,i(e),t)}));t.exports=o},6874:t=>{t.exports=function(t){return function(){return t}}},1225:t=>{t.exports=function(t,e){return t===e||t!=t&&e!=e}},2421:(t,e,r)=>{t.exports=r(9524)},5281:(t,e,r)=>{var n=r(8776)(r(2982));t.exports=n},2982:(t,e,r)=>{var n=r(1359),s=r(8286),i=r(8101),o=Math.max;t.exports=function(t,e,r){var a=null==t?0:t.length;if(!a)return-1;var c=null==r?0:i(r);return c<0&&(c=o(a+c,0)),n(t,s(e,3),c)}},2579:(t,e,r)=>{var n=r(3324);t.exports=function(t,e,r){var s=null==t?void 0:n(t,e);return void 0===s?r:s}},5041:(t,e,r)=>{var n=r(187),s=r(1369);t.exports=function(t,e){return null!=t&&s(t,e,n)}},3059:t=>{t.exports=function(t){return t}},9631:(t,e,r)=>{var n=r(5183),s=r(5125),i=Object.prototype,o=i.hasOwnProperty,a=i.propertyIsEnumerable,c=n(function(){return arguments}())?n:function(t){return s(t)&&o.call(t,"callee")&&!a.call(t,"callee")};t.exports=c},6152:t=>{var e=Array.isArray;t.exports=e},7878:(t,e,r)=>{var n=r(1049),s=r(1158);t.exports=function(t){return null!=t&&s(t.length)&&!n(t)}},3226:(t,e,r)=>{t=r.nmd(t);var n=r(7772),s=r(6330),i=e&&!e.nodeType&&e,o=i&&t&&!t.nodeType&&t,a=o&&o.exports===i?n.Buffer:void 0,c=(a?a.isBuffer:void 0)||s;t.exports=c},1049:(t,e,r)=>{var n=r(3366),s=r(9259);t.exports=function(t){if(!s(t))return!1;var e=n(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1158:t=>{t.exports=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},9259:t=>{t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},5125:t=>{t.exports=function(t){return null!=t&&"object"==typeof t}},4795:(t,e,r)=>{var n=r(3366),s=r(5125);t.exports=function(t){return"symbol"==typeof t||s(t)&&"[object Symbol]"==n(t)}},7598:(t,e,r)=>{var n=r(5522),s=r(7826),i=r(4146),o=i&&i.isTypedArray,a=o?s(o):n;t.exports=a},249:(t,e,r)=>{var n=r(1634),s=r(6411),i=r(7878);t.exports=function(t){return i(t)?n(t):s(t)}},8582:(t,e,r)=>{var n=r(1634),s=r(8390),i=r(7878);t.exports=function(t){return i(t)?n(t,!0):s(t)}},6974:t=>{t.exports=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0}},733:(t,e,r)=>{var n=r(6738);function s(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var r=function(){var n=arguments,s=e?e.apply(this,n):n[0],i=r.cache;if(i.has(s))return i.get(s);var o=t.apply(this,n);return r.cache=i.set(s,o)||i,o};return r.cache=new(s.Cache||n),r}s.Cache=n,t.exports=s},5798:(t,e,r)=>{var n=r(256),s=r(2952),i=r(1401),o=r(3812);t.exports=function(t){return i(t)?n(o(t)):s(t)}},4116:(t,e,r)=>{var n=r(8286),s=r(2676);t.exports=function(t,e){var r=[];if(!t||!t.length)return r;var i=-1,o=[],a=t.length;for(e=n(e,3);++i{var n=r(7064),s=r(8286),i=r(4751),o=r(6152),a=r(2406);t.exports=function(t,e,r){var c=o(t)?n:i;return r&&a(t,e,r)&&(e=void 0),c(t,s(e,3))}},981:t=>{t.exports=function(){return[]}},6330:t=>{t.exports=function(){return!1}},5707:(t,e,r)=>{var n=r(7642),s=1/0;t.exports=function(t){return t?(t=n(t))===s||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},8101:(t,e,r)=>{var n=r(5707);t.exports=function(t){var e=n(t),r=e%1;return e==e?r?e-r:e:0}},7642:(t,e,r)=>{var n=r(1704),s=r(9259),i=r(4795),o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(i(t))return NaN;if(s(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=s(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var r=a.test(t);return r||c.test(t)?u(t.slice(2),r?2:8):o.test(t)?NaN:+t}},6188:(t,e,r)=>{var n=r(1054);t.exports=function(t){return null==t?"":n(t)}},8762:(t,e,r)=>{var n,s,i,o,a;n=r(9562),s=r(5792).utf8,i=r(3335),o=r(5792).bin,(a=function(t,e){t.constructor==String?t=e&&"binary"===e.encoding?o.stringToBytes(t):s.stringToBytes(t):i(t)?t=Array.prototype.slice.call(t,0):Array.isArray(t)||t.constructor===Uint8Array||(t=t.toString());for(var r=n.bytesToWords(t),c=8*t.length,u=1732584193,d=-271733879,p=-1732584194,l=271733878,v=0;v>>24)|4278255360&(r[v]<<24|r[v]>>>8);r[c>>>5]|=128<>>9<<4)]=c;var h=a._ff,f=a._gg,g=a._hh,m=a._ii;for(v=0;v>>0,d=d+b>>>0,p=p+y>>>0,l=l+x>>>0}return n.endian([u,d,p,l])})._ff=function(t,e,r,n,s,i,o){var a=t+(e&r|~e&n)+(s>>>0)+o;return(a<>>32-i)+e},a._gg=function(t,e,r,n,s,i,o){var a=t+(e&n|r&~n)+(s>>>0)+o;return(a<>>32-i)+e},a._hh=function(t,e,r,n,s,i,o){var a=t+(e^r^n)+(s>>>0)+o;return(a<>>32-i)+e},a._ii=function(t,e,r,n,s,i,o){var a=t+(r^(e|~n))+(s>>>0)+o;return(a<>>32-i)+e},a._blocksize=16,a._digestsize=16,t.exports=function(t,e){if(null==t)throw new Error("Illegal argument "+t);var r=n.wordsToBytes(a(t,e));return e&&e.asBytes?r:e&&e.asString?o.bytesToString(r):n.bytesToHex(r)}},1313:(t,e,r)=>{var n=r(8421),s=r(2824),i=r(244),o=r(330),a=r(5028),c=r(3929),u=r(3154);u.alea=n,u.xor128=s,u.xorwow=i,u.xorshift7=o,u.xor4096=a,u.tychei=c,t.exports=u},8421:function(t,e,r){var n;!function(t,s,i){function o(t){var e,r=this,n=(e=4022871197,function(t){t=t.toString();for(var r=0;r>>0,e=(n*=e)>>>0,e+=4294967296*(n-=e)}return 2.3283064365386963e-10*(e>>>0)});r.next=function(){var t=2091639*r.s0+2.3283064365386963e-10*r.c;return r.s0=r.s1,r.s1=r.s2,r.s2=t-(r.c=0|t)},r.c=1,r.s0=n(" "),r.s1=n(" "),r.s2=n(" "),r.s0-=n(t),r.s0<0&&(r.s0+=1),r.s1-=n(t),r.s1<0&&(r.s1+=1),r.s2-=n(t),r.s2<0&&(r.s2+=1),n=null}function a(t,e){return e.c=t.c,e.s0=t.s0,e.s1=t.s1,e.s2=t.s2,e}function c(t,e){var r=new o(t),n=e&&e.state,s=r.next;return s.int32=function(){return 4294967296*r.next()|0},s.double=function(){return s()+11102230246251565e-32*(2097152*s()|0)},s.quick=s,n&&("object"==typeof n&&a(n,r),s.state=function(){return a(r,{})}),s}s&&s.exports?s.exports=c:r.amdD&&r.amdO?void 0===(n=function(){return c}.call(e,r,e,s))||(s.exports=n):this.alea=c}(0,t=r.nmd(t),r.amdD)},3929:function(t,e,r){var n;!function(t,s,i){function o(t){var e=this,r="";e.next=function(){var t=e.b,r=e.c,n=e.d,s=e.a;return t=t<<25^t>>>7^r,r=r-n|0,n=n<<24^n>>>8^s,s=s-t|0,e.b=t=t<<20^t>>>12^r,e.c=r=r-n|0,e.d=n<<16^r>>>16^s,e.a=s-t|0},e.a=0,e.b=0,e.c=-1640531527,e.d=1367130551,t===Math.floor(t)?(e.a=t/4294967296|0,e.b=0|t):r+=t;for(var n=0;n>>0)/4294967296};return s.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},s.int32=r.next,s.quick=s,n&&("object"==typeof n&&a(n,r),s.state=function(){return a(r,{})}),s}s&&s.exports?s.exports=c:r.amdD&&r.amdO?void 0===(n=function(){return c}.call(e,r,e,s))||(s.exports=n):this.tychei=c}(0,t=r.nmd(t),r.amdD)},2824:function(t,e,r){var n;!function(t,s,i){function o(t){var e=this,r="";e.x=0,e.y=0,e.z=0,e.w=0,e.next=function(){var t=e.x^e.x<<11;return e.x=e.y,e.y=e.z,e.z=e.w,e.w^=e.w>>>19^t^t>>>8},t===(0|t)?e.x=t:r+=t;for(var n=0;n>>0)/4294967296};return s.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},s.int32=r.next,s.quick=s,n&&("object"==typeof n&&a(n,r),s.state=function(){return a(r,{})}),s}s&&s.exports?s.exports=c:r.amdD&&r.amdO?void 0===(n=function(){return c}.call(e,r,e,s))||(s.exports=n):this.xor128=c}(0,t=r.nmd(t),r.amdD)},5028:function(t,e,r){var n;!function(t,s,i){function o(t){var e=this;e.next=function(){var t,r,n=e.w,s=e.X,i=e.i;return e.w=n=n+1640531527|0,r=s[i+34&127],t=s[i=i+1&127],r^=r<<13,t^=t<<17,r^=r>>>15,t^=t>>>12,r=s[i]=r^t,e.i=i,r+(n^n>>>16)|0},function(t,e){var r,n,s,i,o,a=[],c=128;for(e===(0|e)?(n=e,e=null):(e+="\0",n=0,c=Math.max(c,e.length)),s=0,i=-32;i>>15,n^=n<<4,n^=n>>>13,i>=0&&(o=o+1640531527|0,s=0==(r=a[127&i]^=n+o)?s+1:0);for(s>=128&&(a[127&(e&&e.length||0)]=-1),s=127,i=512;i>0;--i)n=a[s+34&127],r=a[s=s+1&127],n^=n<<13,r^=r<<17,n^=n>>>15,r^=r>>>12,a[s]=n^r;t.w=o,t.X=a,t.i=s}(e,t)}function a(t,e){return e.i=t.i,e.w=t.w,e.X=t.X.slice(),e}function c(t,e){null==t&&(t=+new Date);var r=new o(t),n=e&&e.state,s=function(){return(r.next()>>>0)/4294967296};return s.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},s.int32=r.next,s.quick=s,n&&(n.X&&a(n,r),s.state=function(){return a(r,{})}),s}s&&s.exports?s.exports=c:r.amdD&&r.amdO?void 0===(n=function(){return c}.call(e,r,e,s))||(s.exports=n):this.xor4096=c}(0,t=r.nmd(t),r.amdD)},330:function(t,e,r){var n;!function(t,s,i){function o(t){var e=this;e.next=function(){var t,r,n=e.x,s=e.i;return t=n[s],r=(t^=t>>>7)^t<<24,r^=(t=n[s+1&7])^t>>>10,r^=(t=n[s+3&7])^t>>>3,r^=(t=n[s+4&7])^t<<7,t=n[s+7&7],r^=(t^=t<<13)^t<<9,n[s]=r,e.i=s+1&7,r},function(t,e){var r,n=[];if(e===(0|e))n[0]=e;else for(e=""+e,r=0;r0;--r)t.next()}(e,t)}function a(t,e){return e.x=t.x.slice(),e.i=t.i,e}function c(t,e){null==t&&(t=+new Date);var r=new o(t),n=e&&e.state,s=function(){return(r.next()>>>0)/4294967296};return s.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},s.int32=r.next,s.quick=s,n&&(n.x&&a(n,r),s.state=function(){return a(r,{})}),s}s&&s.exports?s.exports=c:r.amdD&&r.amdO?void 0===(n=function(){return c}.call(e,r,e,s))||(s.exports=n):this.xorshift7=c}(0,t=r.nmd(t),r.amdD)},244:function(t,e,r){var n;!function(t,s,i){function o(t){var e=this,r="";e.next=function(){var t=e.x^e.x>>>2;return e.x=e.y,e.y=e.z,e.z=e.w,e.w=e.v,(e.d=e.d+362437|0)+(e.v=e.v^e.v<<4^t^t<<1)|0},e.x=0,e.y=0,e.z=0,e.w=0,e.v=0,t===(0|t)?e.x=t:r+=t;for(var n=0;n>>4),e.next()}function a(t,e){return e.x=t.x,e.y=t.y,e.z=t.z,e.w=t.w,e.v=t.v,e.d=t.d,e}function c(t,e){var r=new o(t),n=e&&e.state,s=function(){return(r.next()>>>0)/4294967296};return s.double=function(){do{var t=((r.next()>>>11)+(r.next()>>>0)/4294967296)/(1<<21)}while(0===t);return t},s.int32=r.next,s.quick=s,n&&("object"==typeof n&&a(n,r),s.state=function(){return a(r,{})}),s}s&&s.exports?s.exports=c:r.amdD&&r.amdO?void 0===(n=function(){return c}.call(e,r,e,s))||(s.exports=n):this.xorwow=c}(0,t=r.nmd(t),r.amdD)},3154:(t,e,r)=>{var n;!function(s,i){var o,a=(0,eval)("this"),c=256,u=i.pow(c,6),d=i.pow(2,52),p=2*d,l=255;function v(t,e,r){var n=[],l=m(g((e=1==e?{entropy:!0}:e||{}).entropy?[t,w(s)]:null==t?function(){try{var t;return o&&(t=o.randomBytes)?t=t(c):(t=new Uint8Array(c),(a.crypto||a.msCrypto).getRandomValues(t)),w(t)}catch(t){var e=a.navigator,r=e&&e.plugins;return[+new Date,a,r,a.screen,w(s)]}}():t,3),n),v=new h(n),b=function(){for(var t=v.g(6),e=u,r=0;t=p;)t/=2,e/=2,r>>>=1;return(t+r)/e};return b.int32=function(){return 0|v.g(4)},b.quick=function(){return v.g(4)/4294967296},b.double=b,m(w(v.S),s),(e.pass||r||function(t,e,r,n){return n&&(n.S&&f(n,v),t.state=function(){return f(v,{})}),r?(i.random=t,e):t})(b,l,"global"in e?e.global:this==i,e.state)}function h(t){var e,r=t.length,n=this,s=0,i=n.i=n.j=0,o=n.S=[];for(r||(t=[r++]);s>>8&255]<<16|l[t>>>16&255]<<8|l[t>>>24&255])>>32-e:l[t]>>8-e),8>e+o)a=a<>e-n-1&1,8==++o&&(o=0,s[i++]=l[a],a=0,i===s.length&&(s=this.f()));s[i]=a,this.buffer=s,this.i=o,this.index=i},o.prototype.finish=function(){var t,e=this.buffer,r=this.index;return 0a;++a){for(var u=p=a,d=7,p=p>>>1;p;p>>>=1)u<<=1,u|=1&p,--d;c[a]=(u<>>0}var l=c;function v(t){this.buffer=new(i?Uint16Array:Array)(2*t),this.length=0}function h(t){var e,r,n,s,o,a,c,u,d,p,l=t.length,v=0,h=Number.POSITIVE_INFINITY;for(u=0;uv&&(v=t[u]),t[u]>=1;for(p=n<<16|u,d=a;di[n]);)s=i[r],i[r]=i[n],i[n]=s,s=i[r+1],i[r+1]=i[n+1],i[n+1]=s,r=n;return this.length},v.prototype.pop=function(){var t,e,r,n,s,i=this.buffer;for(e=i[0],t=i[1],this.length-=2,i[0]=i[this.length],i[1]=i[this.length+1],s=0;!((n=2*s+2)>=this.length)&&(n+2i[n]&&(n+=2),i[n]>i[s]);)r=i[s],i[s]=i[n],i[n]=r,r=i[s+1],i[s+1]=i[n+1],i[n+1]=r,s=n;return{index:t,value:e,length:this.length}};var g,m=2,w={NONE:0,r:1,k:m,N:3},b=[];for(g=0;288>g;g++)switch(r){case 143>=g:b.push([g+48,8]);break;case 255>=g:b.push([g-144+400,9]);break;case 279>=g:b.push([g-256+0,7]);break;case 287>=g:b.push([g-280+192,8]);break;default:t("invalid literal: "+g)}function y(t,e){this.length=t,this.G=e}f.prototype.j=function(){var n,s,a,c,u=this.input;switch(this.h){case 0:for(a=0,c=u.length;a>>8&255,w[y++]=255&l,w[y++]=l>>>8&255,i)w.set(v,y),y+=v.length,w=w.subarray(0,y);else{for(f=0,g=v.length;fX)for(;0X?X:138)>X-3&&V=V?(rt[J++]=17,rt[J++]=V-3,nt[17]++):(rt[J++]=18,rt[J++]=V-11,nt[18]++),X-=V;else if(rt[J++]=et[G],nt[et[G]]++,3>--X)for(;0X?X:6)>X-3&&VK;K++)q[K]=B[W[K]];for(C=19;4=e:return[265,e-11,1];case 14>=e:return[266,e-13,1];case 16>=e:return[267,e-15,1];case 18>=e:return[268,e-17,1];case 22>=e:return[269,e-19,2];case 26>=e:return[270,e-23,2];case 30>=e:return[271,e-27,2];case 34>=e:return[272,e-31,2];case 42>=e:return[273,e-35,3];case 50>=e:return[274,e-43,3];case 58>=e:return[275,e-51,3];case 66>=e:return[276,e-59,3];case 82>=e:return[277,e-67,4];case 98>=e:return[278,e-83,4];case 114>=e:return[279,e-99,4];case 130>=e:return[280,e-115,4];case 162>=e:return[281,e-131,5];case 194>=e:return[282,e-163,5];case 226>=e:return[283,e-195,5];case 257>=e:return[284,e-227,5];case 258===e:return[285,e-258,0];default:t("invalid length: "+e)}}var n,s,i=[];for(n=3;258>=n;n++)s=e(n),i[n]=s[2]<<24|s[1]<<16|s[0];return i}(),S=i?new Uint32Array(x):x;function A(n,s){function o(e,n){var s,i,o,a,c=e.G,u=[],d=0;switch(s=S[e.length],u[d++]=65535&s,u[d++]=s>>16&255,u[d++]=s>>24,r){case 1===c:i=[0,c-1,0];break;case 2===c:i=[1,c-2,0];break;case 3===c:i=[2,c-3,0];break;case 4===c:i=[3,c-4,0];break;case 6>=c:i=[4,c-5,1];break;case 8>=c:i=[5,c-7,1];break;case 12>=c:i=[6,c-9,2];break;case 16>=c:i=[7,c-13,2];break;case 24>=c:i=[8,c-17,3];break;case 32>=c:i=[9,c-25,3];break;case 48>=c:i=[10,c-33,4];break;case 64>=c:i=[11,c-49,4];break;case 96>=c:i=[12,c-65,5];break;case 128>=c:i=[13,c-97,5];break;case 192>=c:i=[14,c-129,6];break;case 256>=c:i=[15,c-193,6];break;case 384>=c:i=[16,c-257,7];break;case 512>=c:i=[17,c-385,7];break;case 768>=c:i=[18,c-513,8];break;case 1024>=c:i=[19,c-769,8];break;case 1536>=c:i=[20,c-1025,9];break;case 2048>=c:i=[21,c-1537,9];break;case 3072>=c:i=[22,c-2049,10];break;case 4096>=c:i=[23,c-3073,10];break;case 6144>=c:i=[24,c-4097,11];break;case 8192>=c:i=[25,c-6145,11];break;case 12288>=c:i=[26,c-8193,12];break;case 16384>=c:i=[27,c-12289,12];break;case 24576>=c:i=[28,c-16385,13];break;case 32768>=c:i=[29,c-24577,13];break;default:t("invalid distance")}for(s=i,u[d++]=s[0],u[d++]=s[1],u[d++]=s[2],o=0,a=u.length;o=u;)y[u++]=0;for(u=0;29>=u;)x[u++]=0}for(y[256]=1,a=0,c=s.length;a=c){for(h&&o(h,-1),u=0,d=c-a;ui&&e+iu&&(s=n,u=i),258===i)break}return new y(u,e-s)}function _(t,e){var r,n,s,o,a,c=t.length,u=new v(572),d=new(i?Uint8Array:Array)(c);if(!i)for(o=0;o2*d[o-1]+p[o]&&(d[o]=2*d[o-1]+p[o]),v[o]=Array(d[o]),h[o]=Array(d[o]);for(s=0;st[s]?(v[o][a]=c,h[o][a]=e,u+=2):(v[o][a]=t[s],h[o][a]=s,++s);f[o]=0,1===p[o]&&n(o)}return l}(n,n.length,e),o=0,a=r.length;o>>=1;return o}function O(e,r){switch(this.l=[],this.m=32768,this.e=this.g=this.c=this.q=0,this.input=i?new Uint8Array(e):e,this.s=!1,this.n=j,this.B=!1,!r&&(r={})||(r.index&&(this.c=r.index),r.bufferSize&&(this.m=r.bufferSize),r.bufferType&&(this.n=r.bufferType),r.resize&&(this.B=r.resize)),this.n){case P:this.b=32768,this.a=new(i?Uint8Array:Array)(32768+this.m+258);break;case j:this.b=0,this.a=new(i?Uint8Array:Array)(this.m),this.f=this.J,this.t=this.H,this.o=this.I;break;default:t(Error("invalid inflate mode"))}}var P=0,j=1,E={D:P,C:j};O.prototype.p=function(){for(;!this.s;){var n=X(this,3);switch(1&n&&(this.s=r),n>>>=1){case 0:var s=this.input,o=this.c,a=this.a,c=this.b,u=s.length,d=e,p=a.length,l=e;switch(this.e=this.g=0,o+1>=u&&t(Error("invalid uncompressed block header: LEN")),d=s[o++]|s[o++]<<8,o+1>=u&&t(Error("invalid uncompressed block header: NLEN")),d===~(s[o++]|s[o++]<<8)&&t(Error("invalid uncompressed block header: length verify")),o+d>s.length&&t(Error("input buffer is broken")),this.n){case P:for(;c+d>a.length;){if(d-=l=p-c,i)a.set(s.subarray(o,o+l),c),c+=l,o+=l;else for(;l--;)a[c++]=s[o++];this.b=c,a=this.f(),c=this.b}break;case j:for(;c+d>a.length;)a=this.f({v:2});break;default:t(Error("invalid inflate mode"))}if(i)a.set(s.subarray(o,o+d),c),c+=d,o+=d;else for(;d--;)a[c++]=s[o++];this.c=o,this.b=c,this.a=a;break;case 1:this.o(q,Y);break;case 2:var v,f,g,m,w=X(this,5)+257,b=X(this,5)+1,y=X(this,4)+4,x=new(i?Uint8Array:Array)($.length),S=e,A=e,I=e,_=e,k=e;for(k=0;k=T?8:255>=T?9:279>=T?7:8;var L,W,q=h(M),G=new(i?Uint8Array:Array)(30);for(L=0,W=G.length;L=c&&t(Error("input buffer is broken")),s|=o[a++]<>>r,e.e=i-r,e.c=a,n}function Z(e,r){for(var n,s,i=e.g,o=e.e,a=e.input,c=e.c,u=a.length,d=r[0],p=r[1];o=u);)i|=a[c++]<>>16)>o&&t(Error("invalid code length: "+s)),e.g=i>>s,e.e=o-s,e.c=c,65535&n}function J(t){if("string"==typeof t){var e,r,n=t.split("");for(e=0,r=n.length;e>>0;t=n}for(var s,i=1,o=0,a=t.length,c=0;0>>0}function V(e,r){var n,s;if(this.input=e,this.c=0,!r&&(r={})||(r.index&&(this.c=r.index),r.verify&&(this.M=r.verify)),n=e[this.c++],s=e[this.c++],(15&n)===Q)this.method=Q;else t(Error("unsupported compression method"));0!=((n<<8)+s)%31&&t(Error("invalid fcheck flag:"+((n<<8)+s)%31)),32&s&&t(Error("fdict flag is not supported")),this.A=new O(e,{index:this.c,bufferSize:r.bufferSize,bufferType:r.bufferType,resize:r.resize})}O.prototype.o=function(t,e){var r=this.a,n=this.b;this.u=t;for(var s,i,o,a,c=r.length-258;256!==(s=Z(this,t));)if(256>s)n>=c&&(this.b=n,r=this.f(),n=this.b),r[n++]=s;else for(a=U[i=s-257],0=c&&(this.b=n,r=this.f(),n=this.b);a--;)r[n]=r[n++-o];for(;8<=this.e;)this.e-=8,this.c--;this.b=n},O.prototype.I=function(t,e){var r=this.a,n=this.b;this.u=t;for(var s,i,o,a,c=r.length;256!==(s=Z(this,t));)if(256>s)n>=c&&(c=(r=this.f()).length),r[n++]=s;else for(a=U[i=s-257],0c&&(c=(r=this.f()).length);a--;)r[n]=r[n++-o];for(;8<=this.e;)this.e-=8,this.c--;this.b=n},O.prototype.f=function(){var t,e,r=new(i?Uint8Array:Array)(this.b-32768),n=this.b-32768,s=this.a;if(i)r.set(s.subarray(32768,r.length));else for(t=0,e=r.length;tt;++t)s[t]=s[n+t];return this.b=32768,s},O.prototype.J=function(t){var e,r,n,s=this.input.length/this.c+1|0,o=this.input,a=this.a;return t&&("number"==typeof t.v&&(s=t.v),"number"==typeof t.F&&(s+=t.F)),2>s?r=(n=(o.length-this.c)/this.u[2]/2*258|0)e&&(this.a.length=e),t=this.a),this.buffer=t},V.prototype.p=function(){var e,r=this.input;return e=this.A.p(),this.c=this.A.c,this.M&&((r[this.c++]<<24|r[this.c++]<<16|r[this.c++]<<8|r[this.c++])>>>0!==J(e)&&t(Error("invalid adler-32 checksum"))),e};var Q=8;function tt(t,e){this.input=t,this.a=new(i?Uint8Array:Array)(32768),this.h=et.k;var r,n={};for(r in!e&&(e={})||"number"!=typeof e.compressionType||(this.h=e.compressionType),e)n[r]=e[r];n.outputBuffer=this.a,this.z=new f(this.input,n)}var et=w;function rt(t,e){var r,n,i,o;if(Object.keys)r=Object.keys(e);else for(n in r=[],i=0,e)r[i++]=n;for(i=0,o=r.length;i>24&255,c[u++]=a>>16&255,c[u++]=a>>8&255,c[u++]=255&a,c},s("Zlib.Inflate",V),s("Zlib.Inflate.prototype.decompress",V.prototype.p),rt("Zlib.Inflate.BufferType",{ADAPTIVE:E.C,BLOCK:E.D}),s("Zlib.Deflate",tt),s("Zlib.Deflate.compress",(function(t,e){return new tt(t,e).j()})),s("Zlib.Deflate.prototype.compress",tt.prototype.j),rt("Zlib.Deflate.CompressionType",{NONE:et.NONE,FIXED:et.r,DYNAMIC:et.k})}).call(this)},660:()=>{}},e={};function r(n){var s=e[n];if(void 0!==s)return s.exports;var i=e[n]={id:n,loaded:!1,exports:{}};return t[n].call(i.exports,i,i.exports,r),i.loaded=!0,i.exports}r.amdD=function(){throw new Error("define cannot be used indirect")},r.amdO={},r.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return r.d(e,{a:e}),e},r.d=(t,e)=>{for(var n in e)r.o(e,n)&&!r.o(t,n)&&Object.defineProperty(t,n,{enumerable:!0,get:e[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),r.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),r.nmd=t=>(t.paths=[],t.children||(t.children=[]),t),(()=>{"use strict";function t(t,e,r){return e in t?Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):t[e]=r,t}var e=r(2579),n=r.n(e),s=r(2421),i=r.n(s);class o{constructor(){t(this,"class",void 0),t(this,"url",void 0),this.class="",this.url="",i()(this,n()(window.SPSDK,"config.gearsConfig.navigation",{}))}}var a=r(1525),c=r.n(a),u=r(5281),d=r.n(u),p=r(4116),l=r.n(p),v=r(3739),h=r.n(v),f=r(2926),g=r.n(f);async function m(){var t,e;if(!(null!==(t=window.SPSDK.modules)&&void 0!==t&&t.preview||null!==(e=window.SPSDK.modules)&&void 0!==e&&e.debug))return{};const r=await window.SPSDK.sprStore.get("preview_".concat(window.SPSDK.params.services));return null!=r?r:{}}var w=r(5766),b=r(9733);const y=async()=>{const t=await x("navigation.status.".concat(window.SPSDK.params.services)),e=await S("_spr_.nav.stat.".concat(window.SPSDK.params.services));return e||t?e&&(!t||e.t>t.t)?(A(e.d),e.d):t&&(!e||t.t>e.t)?(A(t.d),t.d):t?t.d:null:null},x=async t=>{const e=await window.SPSDK.storage.get(t);if("string"!=typeof e)return e;try{return JSON.parse((new TextDecoder).decode(new b.Zlib.Inflate(w.toByteArray(e)).decompress()))}catch(t){return null}},S=async t=>{const e=await window.SPSDK.sprStore.get(t);if(null===e)return null;if(e.startsWith("{"))try{return JSON.parse(e)}catch(t){return null}try{return JSON.parse((new TextDecoder).decode(new b.Zlib.Inflate(w.toByteArray(e)).decompress()))}catch(t){return null}},A=async t=>{const e={d:t,t:(new Date).getTime()/1e3|0},r=w.fromByteArray(new b.Zlib.Deflate((new TextEncoder).encode(JSON.stringify(e))).compress());return await window.SPSDK.sprStore.set("_spr_.nav.stat.".concat(window.SPSDK.params.services),r),window.SPSDK.storage.set("navigation.status.".concat(window.SPSDK.params.services),r)},I={cache:null,get:async t=>{I.cache||(I.cache=await y()||[]);for(const e of I.cache)if(e.scenario===t)return e;return null},getAll:async()=>(I.cache||(I.cache=await y()||[]),I.cache),remove:async t=>{I.cache||(I.cache=await y()||[]);const e=[];for(const r of I.cache)r.scenario!==t&&g()(e).call(e,r);return I.cache=e,A(I.cache)},set:async t=>{I.cache||(I.cache=await y()||[]);let e=!1;const r=[];for(const n of I.cache)n.scenario===t.scenario?(g()(r).call(r,t),e=!0):g()(r).call(r,n);return e||g()(r).call(r,t),I.cache=r,A(I.cache)},setAll:async t=>(I.cache=t,A(I.cache))},_=I;var k=r(8762),O=r.n(k);function P(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),g()(r).apply(r,n)}return r}const j=window.SPSDK.storage;function E(e){this.cache.main=function(e){for(var r=1;r=0)return!0}else{const e=h()(U).call(U,t.substr(6));if(window.SPSDK.location.href.match(new RegExp(e)))return!0}return!1}function z(t,e){for(const r of Object.keys(t)){const n=t[r];if(0!==n.ratio&&(0!==n.steps.length&&"terminator"!==n.steps[0].type)){if(e){if(!n.steps.some((t=>"terminator"!==t.type&&H(t.uri))))continue}else if(!H(n.steps[0].uri))continue;return!0}}return!1}function N(t,e){const r=Number((new Date).getTime()/1e3),n=e.phases[t].end,s=n?Number(new Date(n).getTime()/1e3):null;if(s&&s{const s=e.phases[t],i=new Date(s.start).getTime();i>r||g()(n).call(n,{name:t,date:i})})),n.sort(((t,e)=>t.datee.date?1:0));let s=null;for(let e=0;e=1209600}function K(t,e){return(e||-1)>function(t,e){const r=new RegExp(".{1,2}","g"),n=t.match(r)||[];let s=0,i=0;for(;i=t.range[1])throw R("".concat(t.type,":").concat(i," exceeds the upper limit ").concat(t.range[1],". skipped.")),new Error;return R("".concat(t.type,":").concat(i," is in range [").concat(t.range[0],", ").concat(t.range[1],"]!")),i}function W(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;return new Promise((e=>{setTimeout(e,t)}))}const q=class{constructor(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};t(this,"$element",void 0),t(this,"config",void 0),t(this,"delay",void 0),t(this,"fakeObj",void 0),t(this,"forceApply",void 0),t(this,"id",void 0),t(this,"isFake",void 0),t(this,"isFirstShow",void 0),t(this,"optGroup",void 0),t(this,"overlay",void 0),t(this,"patternId",void 0),t(this,"phaseId",void 0),t(this,"progress",void 0),t(this,"resource",void 0),t(this,"userScore",void 0),t(this,"segmentConfig",void 0),t(this,"shown",void 0),t(this,"stepId",void 0),t(this,"widget",void 0),this.$element=null,this.config=new o,this.delay=0,this.fakeObj=r,this.forceApply=!1,this.id=e,this.isFake=!!Object.keys(r).length,this.isFirstShow=!1,this.optGroup="random",this.overlay=null,this.patternId=null,this.phaseId=null,this.progress=null,this.resource=null,this.userScore=null,this.segmentConfig={useExclusionRate:!1},this.shown=!1,this.stepId=null,this.widget=null}canShow(){return!(!this.resource||!this.progress)&&((!this.resource.random||!this.step().stepOnce||-1===U.inArray(this.stepId,this.progress.shown))&&("nondisplay"===this.patternId&&(void 0===(t=this.step().uri)||""===t||Array.isArray(t)&&""===t[0])?z(this.phase().patterns,!!this.resource.random):H(this.step().uri)));var t}async decideShowParams(){var t,e;if(!this.resource)throw new Error("Resource is not initialized.");if(this.isFake)return this._decideShowParamsFromFakeData();if(null!==(t=this.progress)&&void 0!==t&&t.pattern){if(N(this.progress.phase,this.resource))throw R("This phase is old. check phase start and end time."),new B("Current phase is too old.");return this._decideShowParamsFromProgress()}if(!window.SPSDK.params.users)throw new Error("User not found.");const r=this.getActivePhaseId();if(!r)throw R("It is not active for this phase. check phase date."),new Error("No active phase found.");const n=this.resource.phases[r];if(this.segmentConfig.useExclusionRate&&K(window.SPSDK.params.users,null!==(e=window.SPSDK.config.exclusionRate)&&void 0!==e?e:0)){if(!z(n.patterns,!!this.resource.random))throw R("group=control, but display url not matched with location.href. aborted."),new Error("Display URL not matched.");return R("group=control"),[null,null,"control",0]}const s=this.getPatternName(r);return[r,s,"random",M(this.id,r,s,n.patterns[s].delay||0)]}_decideShowParamsFromFakeData(){var t;if(!this.resource)throw new Error("Resource is not initialized.");const e=this.fakeObj.phase?this.fakeObj.phase:this.getActivePhaseId();if(!e)return R("There are no active phases. check phase date."),[null,null,null,0];const r=this.resource.phases[e];if(!r)return R("This scenario does not have phase data for ".concat(e,". Please check phase id.")),[null,null,null,0];const n=null!==(t=this.fakeObj.pattern)&&void 0!==t?t:this.getPatternName(e);if(!n)return R("Invalid pattern id ".concat(n,".")),[null,null,null,0];const s=r.patterns[n];if(!s)return R("This scenario does not have pattern data for ".concat(n,". Please check pattern id.")),[null,null,null,0];return[e,n,"preview",M(this.id,e,n,s.delay||0)]}_decideShowParamsFromProgress(){if(!this.progress||!this.resource)throw new Error("Progress or resource is not initialized.");const t=this.progress.phase,e=this.progress.pattern,r=this.resource.phases[t];if(!r)return[null,null,null,0];return r.patterns[e]?[t,e,this.progress.group,0]:[null,null,null,0]}async finish(){await _.remove(this.id),this.shown=!1}getActivePhaseId(){if(!this.resource)throw new Error("Resource is not initialized.");const t=this.resource,e=(new Date).getTime(),r=Object.keys(t.phases).map((e=>{const r=t.phases[e].end;return{id:e,start:new Date(t.phases[e].start).getTime(),end:r?new Date(r).getTime():-1}})).filter((t=>t.start<=e)).sort(((t,e)=>e.start-t.start));if(0===r.length)return null;const n=r[0];return n.end>0&&n.end<=e?null:n.id}getPatternName(t){if(!this.resource)throw new Error("Resource is not initialized.");const e=this.resource.phases[t];let r=0;const n=[];for(const t of Object.keys(e.patterns).sort())r+=e.patterns[t].ratio,g()(n).call(n,r);const s=function(t,e,r,n){const s=new(F())("SHA-256","TEXT");return s.update("".concat(t,":").concat(e,":").concat(r)),(s.getHash("HEX").match(new RegExp(".{1,2}","g"))||[]).map((t=>parseInt(t,16))).reduce(((t,e)=>t+e),0)%n}(Date.parse(e.start)s)return t;i++}throw new Error("Cannot decide patter id!")}getStep(t){const e=0===t?this.pattern().steps[t]:d()(this.pattern().steps,(e=>e.id===t));return e||this.getStep(0)}hide(t){var e,r;null!=t&&t.uri&&!H(t.uri)||(null===(e=this.widget)||void 0===e||e.destroy(),null===(r=this.overlay)||void 0===r||r.hide(),this.widget=null,this.$element=null)}async init(){return this.resource=await T.get(this.id),!!(this.resource&&this.resource.phases&&Object.keys(this.resource.phases).length)&&(!(!this.isFake&&!this.resource.active)&&(this.forceApply=!!this.resource.forceApply,this.resource.segmentConfig&&(this.segmentConfig=this.resource.segmentConfig),this.progress=await _.get(this.id)||{},this.progress.step||(this.isFirstShow=!0),this.progress.group&&(this.optGroup=this.progress.group),!0))}pattern(){if(!this.patternId)throw new Error("patternId not initialized!");return this.phase().patterns[this.patternId]}phase(){if(!this.resource||!this.phaseId)throw new Error("resource or phaseId not initialized!");return this.resource.phases[this.phaseId]}async run(){if(!this.resource)throw new Error("resource not initialized!");if(!this.progress)throw new Error("progress not initialized!");if(this.resource.userScore&&!this.progress.step&&!this.isFake)try{this.userScore=await L(this.resource.userScore)}catch(t){return}try{[this.phaseId,this.patternId,this.optGroup,this.delay]=await this.decideShowParams(),R("decided phase=".concat(this.phaseId,", pattern=").concat(this.patternId,", group=").concat(this.optGroup,", delay=").concat(this.delay))}catch(t){return void(t instanceof B&&await _.remove(this.id))}if("control"===this.optGroup)return Q.trigger("groupDetermined",[{group:this.optGroup,pattern:this.patternId,phase:this.phaseId,scenario:this.id}]),Q.trigger("start",[{group:this.optGroup,pattern:this.patternId,phase:this.phaseId,scenario:this.id,step:this.stepId}]),void this.sendStartAct();if(0===this.pattern().steps.length)return void R("step is empty, skipped...");if(this.stepId=this.isFirstShow?this.pattern().steps[0].id:this.progress.step,!this.step())return void await _.remove(this.id);if(this.canShow())return void this.show();if(!this.resource.random)return;const t=this.stepId;for(const t of this.pattern().steps)if("terminator"!==t.type&&(this.stepId=t.id,this.canShow()))return void this.show();this.stepId=t}sendStartAct(){if("preview"===this.optGroup)return;const t={scenario:this.id,phase:this.phaseId,pattern:this.patternId,delay:this.delay,group:this.optGroup,sessionId:window.SPSDK.session.id};this.userScore&&(t.score=this.userScore),Q.sendScenarioInfoAsActivity("start",t)}sendStepAct(){var t;let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"show";if("preview"===this.optGroup)return;let r=(null===(t=this.progress)||void 0===t?void 0:t.sequence)||1;"close"!==e&&"end"!==e||r++;const n={scenario:this.id,phase:this.phaseId,pattern:this.patternId,step:this.stepId,step_seq:r,group:this.optGroup,sessionId:window.SPSDK.session.id};Q.sendStepInfoAsActivity(e,n)}async show(){var t,e,r;if(this.shown=!0,!Q.user){const t=await window.SPSDK.get("users");Q.user=t.resource}Q.trigger("groupDetermined",[{scenario:this.id,phase:this.phaseId,pattern:this.patternId,group:this.optGroup}]),this.isFirstShow&&(Q.trigger("start",[{group:this.optGroup,scenario:this.id,phase:this.phaseId,pattern:this.patternId,step:this.stepId}]),this.sendStartAct(),this.delay>0&&await W(this.delay));const n=(null===(t=this.progress)||void 0===t?void 0:t.sequence)||1;await this.updateProgress(n,!0),await this.updateLastShownStepId();const s=this.step();s.uri&&(this.overlay&&this.overlay.hide(),!Q.checkStepUri(s.uri))||(null!==(e=s.data)&&void 0!==e&&null!==(r=e.delay)&&void 0!==r&&r.value&&await W(s.data.delay.value),"nondisplay"!==this.patternId&&Q.trigger("show",[{group:this.optGroup,scenario:this.id,phase:this.phaseId,pattern:this.patternId,step:this.stepId}]),Q.trigger("showInternal.".concat(s.type),[s,this]))}step(){const t=d()(this.pattern().steps,(t=>t.id===this.stepId));if(!t)throw new Error("step not found. ".concat(JSON.stringify(this)));return t}updateProgress(t){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(!(this.optGroup&&this.resource&&this.progress&&this.phaseId&&this.patternId&&this.stepId))throw new Error("Scenario info is not initialized!");this.progress.scenario=this.id,this.progress.phase=this.phaseId,this.progress.pattern=this.patternId,this.progress.step=this.stepId,this.progress.sequence=t,this.progress.group=this.optGroup;const r=this.progress.shown||[];return e&&g()(r).call(r,this.stepId),this.progress.shown=r.filter(((t,e,r)=>r.indexOf(t)===e)),_.set(this.progress)}updateLastShownStepId(){if(!this.progress||!this.stepId)throw new Error("Scenario info is not initialized!");return this.progress.lastShownStepId=this.stepId,_.set(this.progress)}};class G{constructor(e,r){t(this,"id",void 0),t(this,"resource",void 0),this.id=e,this.resource=r}getSegmentUserAgent(){var t;return null===(t=this.resource.segment)||void 0===t?void 0:t.userAgent}isUserAgentMatched(t){var e;const r=null===(e=this.resource.segment)||void 0===e?void 0:e.userAgent;return!r||new RegExp(r.regex).test(t)}}const Y=window.SPSDK.$,X=window.SPSDK.debug("gears.navigation:navigation"),Z=Y({});function J(t){return[].slice.call(t).map((t=>"function"==typeof t?window.SPSDK.observe(t):t))}window.SPSDK.observe||(window.SPSDK.observe=t=>t);const V={busy:!1,pendingScenarios:[],runningScenarios:[],user:null,preview:{get:m,remove:async function(){return window.SPSDK.sprStore.remove("preview_".concat(window.SPSDK.params.services))},set:function(t){return window.SPSDK.sprStore.set("preview_".concat(window.SPSDK.params.services),t)}},bind:function(){for(var t=arguments.length,e=new Array(t),r=0;r{if("flags.gears.navigation.request"!==t.name.split(":")[0])return;const e=t.name.split(":scenario-")[1];X("scenario request received: %s",e),V.start(e)},checkStepUri:function(t){if(void 0===t)return X("Setting of uri is necessary!"),!1;const e=Array.isArray(t)?t:[t];for(const t of e)if(0!==t.indexOf("regex|")){if(window.SPSDK.location.href.indexOf(t)>=0)return!0}else{const e=h()(Y).call(Y,t.substr(6));if(window.SPSDK.location.href.match(new RegExp(e)))return!0}return!1},clear:()=>{V.pendingScenarios=[],V.runningScenarios.forEach((t=>{t.hide(null)})),V.runningScenarios=[],V.busy=!1},finish:t=>{l()(V.runningScenarios,(e=>e.id===t))},getActiveScenario:t=>d()(V.runningScenarios,(e=>e.id===t&&e.shown)),on:function(){for(var t=arguments.length,e=new Array(t),r=0;r{const t=await T.load();if("errors"in t)return;const{scenarios:e}=t.resource,r=await V._reloadProgressForResume(e);await V._handleProgressForResume(r,e)},async _reloadProgressForResume(t){const e=await _.getAll();if(!e)return[];const r=[];if(!window.SPSDK.session.isNew){const n=await m();for(const s of e)t[s.scenario]&&(t[s.scenario].active||n.scenario)&&g()(r).call(r,s)}return e.length!==r.length&&await _.setAll(r),r},async _handleProgressForResume(t,e){for(const n of t){var r;const t=n.scenario;X("resume: %s",t);!(null===(r=e[t].shouldContinue)||void 0===r||r)&&n.lastShownStepId&&n.lastShownStepId===n.step?(V.sendStepInfoAsActivity("cancel.dropout",{scenario:n.scenario,phase:n.phase,pattern:n.pattern,step:n.step,step_seq:n.sequence,group:n.group,sessionId:window.SPSDK.session.id}),await _.remove(t),X("resume: does not continue %s",t)):window.SPSDK.trigger("counterChanged",{name:"flags.gears.navigation.request:scenario-".concat(t)})}},run:async()=>{if(!V.busy){for(V.busy=!0;V.pendingScenarios.length;){var t;const e=V.pendingScenarios.shift();if(!e)continue;X("start: %s",e.id);await e.init()&&(!e.forceApply&&d()(V.runningScenarios,{forceApply:!1})||(g()(t=V.runningScenarios).call(t,e),await e.run(),e.shown||V.finish(e.id),X("end: %s",e.id)))}V.busy=!1}},sleep:t=>new Promise((e=>setTimeout(e,t))),sendScenarioInfoAsActivity:(t,e)=>{window.SPSDK.track("activities.gears.navigation.".concat(t),e),X("send step act: %s, %o",t,e)},sendStepInfoAsActivity:(t,e)=>{window.SPSDK.track("activities.gears.navigation.".concat(t),e),X("send step act: %s, %o",t,e)},start:async t=>{var e;const r=await m();if(!function(t,e){var r,n;return!(null!==(r=window.SPSDK.modules)&&void 0!==r&&r.preview&&(null==t||!t.scenario||e!==(null==t?void 0:t.scenario))||null!==(n=window.SPSDK.modules)&&void 0!==n&&n.debug&&null!=t&&t.scenario&&e!==(null==t?void 0:t.scenario))}(r,t))return;const n=await T.load();if("errors"in n)return;const s=new G(t,n.resource.scenarios[t]),i=window.navigator.userAgent;if(!s.isUserAgentMatched(i)){const e={scenario:t,metadata:{definedDevice:s.getSegmentUserAgent(),detectedUserAgent:i}};return void X("send blocked mismatchDevice act: %o",e)}const o=[...V.pendingScenarios,...V.runningScenarios];c()(o,{id:t})||(g()(e=V.pendingScenarios).call(e,new q(t,r)),V.busy||V.run())},trigger:function(){for(var t=arguments.length,e=new Array(t),r=0;r{var i,o,a,c,u;const[d,p,l,v]=null!==n&&"object"==typeof n?[V.runningScenarios[0].id,e,r,n]:[e,r,n,s],h=V.getActiveScenario(d);if(!h)return;if(h.stepId=p,void 0===(null===(i=h.progress)||void 0===i?void 0:i.step))return void X("There are not data of the localstorage or navigation config!");let f;h.progress.step?(h.progress.sequence++,f=h.getStep(h.progress.step)):f=null,await h.updateProgress(h.progress.sequence);const g=h.getStep(p);if(V.trigger("stepChanged",[h.id,h.phaseId,h.patternId,f]),h.hide(f),l)if(v.target)if(/^(?!.*(chrome|mobile)).+(safari).+$/i.test(window.navigator.userAgent)||/trident/i.test(window.navigator.userAgent)){const t=window.open("about:blank");t&&(t.location.href=l)}else window.open(l,"_blank","noreferrer,noopener");else document.location.href=l;else{if(null!==(o=f)&&void 0!==o&&null!==(a=o.data)&&void 0!==a&&a.animations&&"fade"===(null===(c=f)||void 0===c||null===(u=c.data)||void 0===u?void 0:u.animations["animation-name"])&&"terminator"!==g.type){var m,w;const t=parseInt((null!==(m=null===(w=f)||void 0===w?void 0:w.data.animations["animation-duration"])&&void 0!==m?m:0).toString(),10)+300;await V.sleep(t)}h.isFirstShow=!1,h.show()}})),V.on("shownInternal.navigation",(async(t,e,r)=>{"nondisplay"!==e.patternId&&(V.trigger("shown",[{group:e.optGroup,scenario:e.id,phase:e.phaseId,pattern:e.patternId,step:e.stepId},r]),await e.sendStepAct()),e.step().end&&("nondisplay"!==e.patternId&&(V.trigger("end",[{group:e.optGroup,scenario:e.id,phase:e.phaseId,pattern:e.patternId,step:e.stepId}]),await e.sendStepAct("end")),await e.finish(),V.finish(e.id))})),V.on("stepClosed",(async(t,e)=>{V.trigger("close",[{group:e.optGroup,scenario:e.id,phase:e.phaseId,pattern:e.patternId,step:e.stepId}]),await e.sendStepAct("close"),await e.finish(),V.finish(e.id)}));const Q=V,tt=window.SPSDK.$,et=r(6106);const rt=class{constructor(t,e){this.config=new o,this.$element=tt(t),this.$event=tt({}),this.widgetName=this.getWidgetName();const r=[{},this.defaults(),e];""!==e.guideType&&void 0!==e.guideType&&g()(r).call(r,{template:this.templates()["guideTmp".concat(e.guideType.split("".concat(this.widgetName,"-type-"))[1])]}),this.options=tt.extend.apply(tt,r),this.fadeInfo=et.formatForFadeAnimation(this.options)}addElement(){const t=this.tip();this.options.container?t.appendTo(this.options.container):t.appendTo(this.$element)}applyPlacement(){}defaults(){return{}}destroy(){return et.removeResponsive(),this.hide().$element.off(".".concat(this.widgetName))}getButtons(){const t=this.$element,e=this.options;let r=("function"==typeof e.button?e.button.call(t[0]):e.button)||null;return null===r||r instanceof Array||(r=[r]),r}getWidgetName(){return"widget"}getContent(){const t=this.$element,e=this.options;return("function"==typeof e.content?e.content.call(t[0]):e.content)||t.attr("data-content")}getContentImage(){const t=this.$element,e=this.options;return("function"==typeof e.content?e.contentImage.call(t[0]):e.contentImage)||t.attr("data-contentImage")}hide(){const t=this.tip();return et.hideWithAnimation(t,this.fadeInfo,(()=>{t.removeClass("in top bottom")})),this}one(){return tt.fn.one.apply(this.$event,arguments)}setContent(){const t=this,e=this.tip(),r=this.options.title,n=this.getContent(),s=this.getContentImage(),i=this.getButtons();if(et.guide(e,this.options,this.widgetName),null===i&&et.setResponsive(e,this.options,this.widgetName),r?e.find(".spm-".concat(this.widgetName,"-title"))[this.options.html?"html":"text"](r):e.find(".spm-".concat(this.widgetName,"-title")).hide(),e.find(".spm-".concat(this.widgetName,"-content"))[this.options.html?"html":"text"](n),e.find(".spm-navigation-image")[this.options.html?"html":"text"](s),e.removeClass("top bottom left right in"),e.find(".spm-".concat(this.widgetName,"-close")).click((e=>{t.hide(),et.removeResponsive(),"function"==typeof t.options.close&&t.options.close.call(t,e)})),null!==i){const t=e.find(".spm-".concat(this.widgetName,"-nav > div"));let r;r=t.length>0&&!t.hasClass("spm-".concat(this.widgetName,"-button"))?t.empty():e.find(".spm-".concat(this.widgetName,"-nav")).empty();for(let t=0,e=i.length;t").addClass("spm-".concat(this.widgetName,"-button")).html(e.label).attr(n);et.button(s,e),s.appendTo(r)}et.setResponsive(e,this.options,this.widgetName)}"function"==typeof this.options.callback&&e.find(".spm-".concat(this.widgetName,"-button")).on("click",(function(){tt.proxy(t.options.callback(this),this)})),this.options.customClass&&e.addClass(this.options.customClass),e.attr({"data-scenario":this.options.scenarioData.scenario,"data-phase":this.options.scenarioData.phase,"data-pattern":this.options.scenarioData.pattern,"data-step":this.options.scenarioData.step,"data-sequence":this.options.scenarioData.sequence}),this.config.class?e.addClass(this.config.class):e.addClass(this.options.naviClass)}show(){const t=tt.Event("show");if(this.$element.trigger(t),t.isDefaultPrevented())return;const e=this.tip();return this.setContent(),et.showWithAnimation(e,this.fadeInfo),this.addElement(e),this.applyPlacement(),this.$event.trigger("shown")}templates(){return{}}tip(){return this.$tip||(this.$tip=tt(this.options.template),this.options.isForce&&this.$tip.addClass("spm-navigation-force")),this.$tip}},nt=r(6106);const st=class extends rt{applyPlacement(){let t,e=!1;const r=this.tip();t="function"==typeof this.options.placement?this.options.placement.call(this,r[0],this.$element[0]):this.options.placement;const n=this.getPosition(t);this.attachTip(n,t);const s=r[0].offsetWidth,i=r[0].offsetHeight;let o=r[0].offsetWidth;const a=r[0].offsetHeight;if("top"===t&&a!==i&&(n.top=n.top+i-a,e=!0),"bottom"===t||"top"===t){let t=0;n.left<0&&(t=-2*n.left,n.left=0,r.offset(n),o=r[0].offsetWidth),this.replaceArrow(t-s+o,o,"left")}else this.replaceArrow(a-i,a,"top");e&&this.attachTip(n,t,e)}attachTip(t,e,r){const n=this.tip();r||n.addClass(e).addClass("in"),"body"===this.options.container?n.css({top:t.top,left:t.left}):n.offset(t)}defaults(){return{animation:!0,placement:"top",trigger:"manual",title:"",content:"",naviClass:"spg-navigation",template:this.templates().defaultTmp,html:!1,container:!1,offset:{x:0,y:0}}}getPosition(t){const e=this.tip(),r=this.$element[0].getBoundingClientRect(),n=i()({},r,this.$element.offset()),s=e[0].getBoundingClientRect(),o=s.width,a=s.height;switch(t){case"bottom":return{top:n.top+n.height+this.options.offset.y,left:n.left+n.width/2-o/2};case"top":return{top:n.top-a-this.options.offset.y,left:n.left+n.width/2-o/2};case"left":return{top:n.top+n.height/2-a/2,left:n.left-o-this.options.offset.x};case"right":return{top:n.top+n.height/2-a/2,left:n.left+n.width+this.options.offset.x}}return null}getWidgetName(){return"balloon"}replaceArrow(t,e,r){this.tip().find(".spm-balloon-arrow").css(r,t?"".concat(50*(1-t/e),"%"):"")}show(){super.show(),nt.device.setResize(1e3,this.applyPlacement,this)}templates(){return{defaultTmp:'',guideTmp1:'',guideTmp2:'',guideTmp3:''}}},it=window.SPSDK.$,ot=r(6106);class at{constructor(){let t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];this.isForce=t,this.$layer=null,this.$overlay=null,this.$sel=null}show(t){this.$overlay||(this.$overlay=it('
'),this.isForce&&this.$overlay.addClass("spm-navigation-force"),this.$overlay.appendTo(it("body")),t.isUseFade?this.$overlay.css("opacity",.6).hide().fadeIn(t.fadeSpeed):this.$overlay.animate({opacity:.6},250,"swing"))}hide(t){t=t||0,this.$overlay&&this.$overlay.animate({opacity:0},t,"swing",(()=>{this.$overlay.remove(),this.$overlay=null,it(".spm-navigation-overlay").length||it("body").find("*").removeClass("spm-navigation-float spm-navigation-relative")})),this.$layer&&(this.hideFocus(),this.$layer.remove(),this.$layer=null)}hideFocus(){this.$sel&&this.$sel.removeClass("spm-navigation-float spm-navigation-force spm-navigation-relative")}showFocus(t,e){this.$sel=t,this.$layer||(this.$layer=it('
'),this.isForce&&this.$layer.addClass("spm-navigation-force"),this.$layer.appendTo(it("body")),e.isUseFade&&this.$layer.hide().fadeIn(e.fadeSpeed));ot.device.setResize(1e3,(()=>this.setFocusPosition(t)),this),this.setFocusPosition(t),t.addClass("spm-navigation-float"),this.isForce&&t.addClass("spm-navigation-force"),"absolute"!==t.css("position")&&"relative"!==t.css("position")&&t.addClass("spm-navigation-relative")}setFocusPosition(t){this.$layer.css({left:t.offset().left-5,top:t.offset().top-5}).height(t.outerHeight()+10).width(t.outerWidth()+10)}setTimerRemoveOverlay(t){return setTimeout((()=>this.hide(250)),t)}}const ct=window.SPSDK.$,ut=r(6106);Q.on("showInternal.balloon",((t,e,r)=>{const n={html:!0,isForce:r.forceApply,offset:{x:5,y:5},placement:"bottom",scenarioData:{scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId,sequence:r.progress.sequence},callback:function(t){Q.trigger("click",[{group:r.optGroup,scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId},t]);const e=ct(t),n=e.attr("data-next");void 0!==e.attr("data-target")&&(s.target=e.attr("data-target")),Q.trigger("goStep",[r.id,n,e.attr("data-uri"),s])},close:function(){r.overlay&&r.overlay.hide(),Q.trigger("stepClosed",[r])}},s=ct.extend(n,e.data),i=(t=>{const e=t.context?ct(t.context):null;return e&&0===e.length?null:ct(t.selector,e)})(e.data);if(null!==i&&0!==i.length){if(r.widget=new st(i,s),r.widget.one("shown",(function(){Q.trigger("shownInternal.navigation",[r,r.widget.tip()])})),s.useScroll||void 0===s.useScroll){const t=window.innerHeight?window.innerHeight:document.documentElement.clientHeight;ct("html,body").stop().animate({scrollTop:Math.ceil(i.offset().top-t/2)},500,"swing")}if(r.overlay&&r.overlay.hideFocus(),s.useModal||void 0===s.useModal){r.overlay=new at(r.forceApply);const t=ut.formatForFadeAnimation(s);r.overlay.show(t),r.overlay.showFocus(i,t),s.shortTimeModal&&r.overlay.setTimerRemoveOverlay(1e3)}r.widget.show()}}));const dt=r(6106);const pt=class extends rt{applyPlacement(){let t;const e=this.tip();t="function"==typeof this.options.placement?this.options.placement.call(this,e[0],this.$element[0]):this.options.placement,e.addClass(t).addClass("in"),"top"===t?e.addClass("top"):e.addClass("bottom"),null!=this.options.horizon&&dt.guidePosition(this.tip(),this.options,this.widgetName)}defaults(){return{animation:!0,placement:"bottom",trigger:"manual",title:"",content:"",naviClass:"spg-navigation",template:this.templates().defaultTmp,html:!1,container:!1}}getWidgetName(){return"toast"}templates(){return{defaultTmp:'',guideTmp1:'',guideTmp2:'',guideTmp3:'',guideTmp4:'',guideTmp5:' ',guideTmp6:'',guideTmp7:''}}},lt=window.SPSDK.$;Q.on("showInternal.toast",((t,e,r)=>{r.overlay&&r.overlay.hide();const n={html:!0,isForce:r.forceApply,offset:{x:5,y:5},placement:"bottom",scenarioData:{scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId,sequence:r.progress.sequence},callback:function(t){Q.trigger("click",[{group:r.optGroup,scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId},t]);const e=lt(t),n=e.attr("data-next");void 0!==e.attr("data-target")&&(s.target=e.attr("data-target")),Q.trigger("goStep",[r.id,n,e.attr("data-uri"),s])},close:function(){Q.trigger("stepClosed",[r])}},s=lt.extend(n,e.data),i=(e.data,lt("body"));null!==i&&0!==i.length&&(r.widget=new pt(i,s),r.widget.one("shown",(function(){Q.trigger("shownInternal.navigation",[r,r.widget.tip()])})),r.widget.show())}));const vt=r(6106);const ht=class extends rt{applyPlacement(){null!=this.options.horizon&&vt.guidePosition(this.tip(),this.options,this.widgetName)}defaults(){return{animation:!0,trigger:"manual",title:"",content:"",naviClass:"spg-navigation",template:this.templates().defaultTmp,html:!1,container:!1}}getWidgetName(){return"dialog"}templates(){return{defaultTmp:'',guideTmp1:'',guideTmp2:''}}},ft=window.SPSDK.$,gt=r(6106);Q.on("showInternal.dialog",((t,e,r)=>{const n={html:!0,isForce:r.forceApply,offset:{x:5,y:5},scenarioData:{scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId,sequence:r.progress.sequence},callback:function(t){Q.trigger("click",[{group:r.optGroup,scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId},t]);const e=ft(t),n=e.attr("data-next");void 0!==e.attr("data-target")&&(s.target=e.attr("data-target")),Q.trigger("goStep",[r.id,n,e.attr("data-uri"),s])},close:function(){r.overlay&&r.overlay.hide(),Q.trigger("stepClosed",[r])}},s=ft.extend(n,e.data),i=(e.data,ft("body"));if(null!==i&&0!==i.length){if(r.widget=new ht(i,s),r.widget.one("shown",(function(){Q.trigger("shownInternal.navigation",[r,r.widget.tip()])})),s.useModal||void 0===s.useModal){r.overlay=new at(r.forceApply);const t=gt.formatForFadeAnimation(s);r.overlay.show(t),s.shortTimeModal&&r.overlay.setTimerRemoveOverlay(1e3)}r.widget.show()}}));const mt=class extends rt{addElement(){const t=this.tip();switch(this.options.embedType){case"append":t.appendTo(this.$element);break;case"prepend":t.prependTo(this.$element);break;default:this.$element.replaceWith(t),this.$element=t}}defaults(){return{trigger:"manual",content:"",naviClass:"spg-navigation",template:this.templates().defaultTmp,html:!1,container:!1}}getWidgetName(){return"embedded"}templates(){return{defaultTmp:''}}},wt=window.SPSDK.$;Q.on("showInternal.embedded",((t,e,r)=>{const n={html:!0,isForce:r.forceApply,embedType:"replace",scenarioData:{scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId,sequence:r.progress.sequence},callback:function(t){Q.trigger("click",[{group:r.optGroup,scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId},t]);const e=wt(t),n=e.attr("data-next");void 0!==e.attr("data-target")&&(s.target=e.attr("data-target")),Q.trigger("goStep",[r.id,n,e.attr("data-uri"),s])}},s=wt.extend(n,e.data),i=(t=>{const e=t.context?wt(t.context):null;return e&&0===e.length?null:wt(t.selector,e)})(e.data);null!==i&&0!==i.length&&(r.widget=new mt(i,s),r.widget.one("shown",(function(){Q.trigger("shownInternal.navigation",[r,r.widget.tip()])})),r.widget.show())})),Q.on("showInternal.terminator",((t,e,r)=>{r.overlay&&r.overlay.hide(),Q.trigger("shownInternal.navigation",[r,null])}));var bt=r(6106),yt=r.n(bt);const xt=window.SPSDK.$;class St{constructor(e){t(this,"$element",void 0),t(this,"$targetArea",void 0),t(this,"$modal",void 0),this.$element=e,this.$targetArea=xt('
'),this.$modal=xt('
')}hide(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.$modal.animate({opacity:0},t,"swing",(()=>{this.$modal.remove()})),this.hideFocus()}hideFocus(){var t;null===(t=this.$element)||void 0===t||t.removeClass("spg-tour02-modal-target_z-index spg-tour02-modal-target_position"),this.$targetArea.remove()}show(t){this.$modal.appendTo("body"),t.isUseFade?this.$modal.css("opacity",.6).hide().fadeIn(t.fadeSpeed):this.$modal.animate({opacity:.6},250,"swing"),this.$element&&this.showFocus(t)}showFocus(t){this.$element&&(this.$targetArea.appendTo(xt("body")),t.isUseFade&&this.$targetArea.hide().fadeIn(t.fadeSpeed),yt().device.setResize(1e3,(()=>{this.$element&&this.setFocusPosition(this.$element)}),this),this.setFocusPosition(this.$element),this.$element.addClass("spg-tour02-modal-target_z-index spg-tour02-modal-target_position"))}setFocusPosition(t){const e=t.offset()||{left:0,top:0};this.$targetArea.css({left:e.left-5,top:e.top-5,height:(t.outerHeight()||0)+10,width:(t.outerWidth()||0)+10})}setTimerRemoveOverlay(t){setTimeout((()=>this.hide(250)),t)}}const At=window.SPSDK.$;const It=class{constructor(e,r){var n;t(this,"$element",void 0),t(this,"$event",void 0),t(this,"$tip",void 0),t(this,"config",void 0),t(this,"fadeInfo",void 0),t(this,"options",void 0),t(this,"widgetName","widget"),this.config=(null===(n=window.SPSDK.config.gearsConfig)||void 0===n?void 0:n.navigation)||{},this.$element=At(e),this.$event=At({}),this.options=At.extend.apply(At,[{},this.defaults(),r]),this.options.template=this.templates()[r.guideType||""]||"",this.$tip=At(this.options.template),this.fadeInfo=yt().formatForFadeAnimation(this.options)}applyBoxStyle(){var t;const e=this.$tip.find(".spg-tour02-main");if(this.options.styles&&e.css(this.options.styles),this.options.customDesign&&this.options.customDesign[0]&&null!==(t=this.options.customDesign[0].guideWidth)&&void 0!==t&&t.width){const t=this.options.customDesign[0].guideWidth;switch(t.unit){case"px":e.css("width","".concat(t.width,"px"));break;case"%":e.css("width","calc(".concat(t.width,"vw - 20px)"))}}}applyPlacement(){}defaults(){return{}}destroy(){return this.hide()}hide(){return this.$tip.detach(),this}generateButtonStyle(t){if(!t)return{};const e=Object.assign({},t);return t["background-color"]&&t.backgroundColorBegin&&(delete e.backgroundColorBegin,e["background-image"]="linear-gradient(to top, ".concat(t.backgroundColorBegin,", ").concat(t["background-color"],")")),e}getButtonLayout(){if(!this.options.customDesign||!this.options.customDesign[0]||!this.options.customDesign[0].buttonsPosition)return[{buttons:this.options.button||[]}];let t=0;return this.options.customDesign[0].buttonsPosition.button.map((e=>{var r;const n={buttons:(null===(r=this.options.button)||void 0===r?void 0:r.slice(t,t+e.layout))||[]};if(t+=e.layout,!e.padding||!e.position)return n;if(n.rowStyle={"margin-left":"0px","margin-right":"0px","padding-left":e.position[0].value+e.position[0].unit,"padding-right":e.position[1].value+e.position[1].unit},"px"===e.padding.unit){var s;const t=(null!==(s=e.padding.value)&&void 0!==s?s:0)/2+"px";n.rowStyle["margin-left"]="-"+t,n.rowStyle["margin-right"]="-"+t,n.buttonStyle={"margin-left":t,"margin-right":t}}else if("%"===e.padding.unit){var i;n.buttonStyle={"margin-left":"0px","margin-right":"0px",width:(100-(null!==(i=e.padding.value)&&void 0!==i?i:0)*(n.buttons.length-1))/n.buttons.length+"%"}}return n}))}one(t,e){this.$event.one(t,e)}setStepButtons(){const t=this.$tip.find('div[data-template="row"]').attr("data-template",null).remove(),e=t.find('div[data-template="button"]').attr("data-template",null).remove();this.options.button&&this.options.button.length>0?(this.getButtonLayout().forEach((r=>{const n=t.clone();r.rowStyle&&n.css(r.rowStyle),n.appendTo(this.$tip.find(".spg-tour02-nav")),r.buttons.forEach((t=>{const s={"data-next":t.id};t.target&&(s["data-target"]=t.target),t.uri&&(s["data-uri"]=t.uri);const i=e.clone();r.buttonStyle&&i.css(r.buttonStyle),i.css(this.generateButtonStyle(t.styles)).html(t.label).attr(s).appendTo(n)}))})),this.$tip.find(".spg-tour02-nav-button").on("click",(t=>{"function"==typeof this.options.callback&&this.options.callback(t.currentTarget)}))):this.$tip.find(".spg-tour02-nav").remove()}setContent(){this.applyBoxStyle(),this.$tip.find(".spg-tour02-title").html(this.options.title||""),this.$tip.find(".spg-tour02-description").html(this.options.content||"");const t=At(this.options.contentImage||"").attr("src");t&&this.$tip.find(".spg-tour02-main-grid-image").append(At("
").css("background-image","url(".concat(t,")"))),this.$tip.find(".spg-tour02-image,.spg-tour02-topimage,.spg-tour02-content-column-image").html(this.options.contentImage||""),this.$tip.find(".spg-tour02-end").on("click",(t=>{this.hide(),"function"==typeof this.options.close&&this.options.close.call(this,t)})),this.setStepButtons(),this.options.customClass&&this.$tip.addClass(this.options.customClass),this.config.class&&this.$tip.addClass(this.config.class),this.$tip.attr({"data-scenario":this.options.scenarioData.scenario,"data-phase":this.options.scenarioData.phase,"data-pattern":this.options.scenarioData.pattern,"data-step":this.options.scenarioData.step,"data-sequence":this.options.scenarioData.sequence})}show(){const t=At.Event("show");this.$element.trigger(t),t.isDefaultPrevented()||(this.setContent(),this.fadeInfo.fadeSpeed&&this.$tip.css("animation-duration",this.fadeInfo.fadeSpeed/1e3+"s"),this.fadeInfo.isUseFade&&this.$tip.css("animation-name","spgPopupAnime-fadeIn"),this.$tip.appendTo("body"),this.applyPlacement(),this.$event.trigger("shown"))}templates(){return{}}};var _t=r(5972),kt=r.n(_t),Ot=r(5696),Pt=r.n(Ot),jt=r(9826),Et=r.n(jt),Tt=r(7044),Dt=r.n(Tt),Ct=r(9670),$t=r.n(Ct),Ft=r(5617),Ut=r.n(Ft),Rt=r(6692),Bt=r.n(Rt),Ht=r(934),zt=r.n(Ht),Nt=r(3954),Kt=r.n(Nt),Mt=r(1838),Lt=r.n(Mt),Wt=r(8497),qt=r.n(Wt),Gt=r(4069),Yt=r.n(Gt),Xt=r(5212),Zt=r.n(Xt),Jt=r(1024),Vt=r.n(Jt),Qt=r(988),te=r.n(Qt),ee=r(3255),re=r.n(ee),ne=r(9305),se=r.n(ne);const ie=class extends It{constructor(){super(...arguments),t(this,"widgetName","speech")}addClass(t){this.$tip.addClass("spg-tour02-position_".concat(t));this.$tip.addClass("spg-tour02-animation-transform_slide-in-"+{bottom:"bottom-top",left:"left-right",right:"right-left",top:"top-bottom"}[t])}applyPlacement(){var t;this.$tip.css(this.calcPosition(null!==(t=this.options.placement)&&void 0!==t?t:"top"))}calcPosition(t){const e=i()({},this.$element[0].getBoundingClientRect(),this.$element.offset()||{left:0,top:0}),r=this.$tip[0].getBoundingClientRect();switch(t){case"bottom":return{bottom:"",left:e.left+e.width/2-r.width/2+"px",right:"",top:e.top+e.height+10+"px"};case"left":return{bottom:"",left:"",right:window.innerWidth-e.left+10+"px",top:e.top+e.height/2+"px"};case"right":return{bottom:"",left:e.left+e.width+10+"px",right:"",top:e.top+e.height/2+"px"};default:return{bottom:document.documentElement.clientHeight-e.top+10+"px",left:e.left+e.width/2-r.width/2+"px",right:"",top:""}}}defaults(){return{html:!1,offset:{x:0,y:0},placement:"top",template:this.templates()["standard-01"]}}show(){var t;super.show(),this.addClass(null!==(t=this.options.placement)&&void 0!==t?t:"top"),yt().device.setResize(1e3,this.applyPlacement,this)}templates(){return{"buttonImg-01":kt(),"buttonImg-02":Pt(),"columnImg-01":Et(),"columnImg-02":Dt(),"columnImg-03":$t(),"columnImg-04":Ut(),"gridImg-01":Bt(),"gridImg-02":zt(),"gridImg-03":Kt(),"gridImg-04":Lt(),"standard-01":qt(),"standard-02":Yt(),"standard-03":Zt(),"standard-04":Vt(),"standard-05":te(),"standard-06":re(),"standard-07":se()}}},oe=window.SPSDK.$;Q.on("showInternal.speech",((t,e,r)=>{var n;const s=oe.extend({html:!0,isForce:r.forceApply,offset:{x:5,y:5},placement:"bottom",scenarioData:{scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId,sequence:null===(n=r.progress)||void 0===n?void 0:n.sequence},template:"speech-type-1",callback:function(t){Q.trigger("click",[{group:r.optGroup,scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId},t]);const e=oe(t),n=e.attr("data-next");void 0!==e.attr("data-target")&&(s.target=e.attr("data-target")),Q.trigger("goStep",[r.id,n,e.attr("data-uri"),s])},close:function(){r.overlay&&r.overlay.hide(),Q.trigger("stepClosed",[r])}},e.data),i=(t=>{const e=t.context?oe(t.context):void 0;return e&&0===e.length?null:t.selector?oe(t.selector,e):null})(s);if(null!==i&&0!==i.length){if(r.widget=new ie(i,s),r.widget.one("shown",(function(){var t;Q.trigger("shownInternal.navigation",[r,null===(t=r.widget)||void 0===t?void 0:t.$tip])})),s.useScroll){const t=window.innerHeight?window.innerHeight:document.documentElement.clientHeight,e=i.offset();oe("html,body").stop().animate({scrollTop:Math.ceil((e?e.top:0)-t/2)},500,"swing")}if(r.overlay&&r.overlay.hideFocus(),s.useModal){r.overlay=new St(i);const t=yt().formatForFadeAnimation(s);r.overlay.show(t),s.shortTimeModal&&r.overlay.setTimerRemoveOverlay(1e3)}r.widget.show()}}));var ae=r(4313),ce=r.n(ae),ue=r(7899),de=r.n(ue),pe=r(2387),le=r.n(pe),ve=r(564),he=r.n(ve),fe=r(3250),ge=r.n(fe),me=r(7280),we=r.n(me),be=r(7836),ye=r.n(be),xe=r(6859),Se=r.n(xe),Ae=r(3225),Ie=r.n(Ae),_e=r(471),ke=r.n(_e),Oe=r(3479),Pe=r.n(Oe),je=r(3253),Ee=r.n(je),Te=r(1155),De=r.n(Te),Ce=r(8098),$e=r.n(Ce),Fe=r(8104),Ue=r.n(Fe),Re=r(1196),Be=r.n(Re),He=r(4216),ze=r.n(He);const Ne=class extends It{constructor(){super(...arguments),t(this,"widgetName","card")}addClass(t,e){const r=(()=>{switch(t){case"middle":return e;case"bottom":case"top":return"center"===e?t:"".concat(t,"-").concat(e);default:return"top"}})();this.$tip.addClass("spg-tour02-position_"+r);const n=(()=>{switch(t){case"bottom":return"slide-in-bottom-top";case"middle":switch(e){case"left":return"slide-in-left-right";case"right":return"slide-in-right-left";default:return"fade-in"}case"top":return"slide-in-top-bottom";default:return"fade-in"}})();this.$tip.addClass("spg-tour02-animation-transform_"+n)}defaults(){return{html:!1,placement:"top",template:this.templates()["standard-01"]}}show(){var t,e;super.show(),this.addClass(null!==(t=this.options.placement)&&void 0!==t?t:"top",null!==(e=this.options.horizon)&&void 0!==e?e:"center"),yt().device.setResize(1e3,this.applyPlacement,this)}templates(){return{"buttonImg-01":ce(),"buttonImg-02":de(),"columnImg-01":le(),"columnImg-02":he(),"columnImg-03":ge(),"columnImg-04":we(),"gridImg-01":ye(),"gridImg-02":Se(),"gridImg-03":Ie(),"gridImg-04":ke(),"standard-01":Pe(),"standard-02":Ee(),"standard-03":De(),"standard-04":$e(),"standard-05":Ue(),"standard-06":Be(),"standard-07":ze()}}},Ke=window.SPSDK.$;Q.on("showInternal.card",((t,e,r)=>{var n;const s=Ke.extend({html:!0,isForce:r.forceApply,offset:{x:5,y:5},placement:"bottom",scenarioData:{scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId,sequence:null===(n=r.progress)||void 0===n?void 0:n.sequence},template:"standard-01",callback:function(t){Q.trigger("click",[{group:r.optGroup,scenario:r.id,phase:r.phaseId,pattern:r.patternId,step:r.stepId},t]);const e=Ke(t),n=e.attr("data-next");void 0!==e.attr("data-target")&&(s.target=e.attr("data-target")),Q.trigger("goStep",[r.id,n,e.attr("data-uri"),s])},close:function(){r.overlay&&r.overlay.hide(),Q.trigger("stepClosed",[r])}},e.data);if(r.widget=new Ne(Ke("body"),s),r.widget.one("shown",(function(){var t;Q.trigger("shownInternal.navigation",[r,null===(t=r.widget)||void 0===t?void 0:t.$tip])})),r.overlay&&r.overlay.hideFocus(),s.useModal){r.overlay=new St;const t=yt().formatForFadeAnimation(s);r.overlay.show(t),s.shortTimeModal&&r.overlay.setTimerRemoveOverlay(1e3)}r.widget.show()}));const Me=window.SPSDK.$;window.SPSDK.ready((()=>{const t=new o;let e;e=t.url?t.url.match(/^(http:|https:)?\/\//)?t.url:"//".concat(t.url):"//".concat(window.SPSDK.params.gearsHost,"/navigation/css/navigation.css"),Me('').attr("href",e).appendTo("body");const r=window.SPSDK.params.assetsHost||window.SPSDK.params.gearsHost.split("/")[0];Me('').attr("href","//".concat(r,"/css/default/tour02.css")).appendTo("body")})),window.SPSDK.on("counterChanged",((t,e)=>Q.changeCounterHandler(e))),window.SPSDK.userReady((()=>Q.resume())),window.SPSDK.registerHook("afterPageLoad",(()=>{Q.clear(),Q.resume()})),window.SPSDK.gears.navigation=Q})()})(); }