1(()=>{var e={92443(e){e.exports=window.jQuery},32602(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(31601),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([e.id,".link[data-v-ed4156ba]{display:inline-block;width:82px;padding-left:5px;border-left:2px solid #4a66bc;margin-left:10px}.link a[data-v-ed4156ba],.link span[data-v-ed4156ba]{max-width:100%;font-size:var(--font-size-xxs);font-weight:var(--font-weight-bold);line-height:17px;color:#ddd}.link a[data-v-ed4156ba]{cursor:pointer;text-decoration:underline}.link a[data-v-ed4156ba]:hover{color:#fff}.link.article-views-link[data-v-ed4156ba],.link.articles-link[data-v-ed4156ba]{border-left:2px solid #c1c4c9 !important}.link.contrib-link[data-v-ed4156ba]{border-left:2px solid #b39c43 !important}.link.socials-link[data-v-ed4156ba]{border-left:2px solid #8e8bb7 !important}.link[data-v-ed4156ba]:last-child{border-right:2px solid #4a66bc;width:105px}.admin-stats-bar[data-v-ed4156ba]{position:fixed;bottom:0;height:53px;width:100%;color:#fff;background-color:#2c3e50;z-index:9}.admin-stats-bar .container[data-v-ed4156ba]{display:grid;grid-template-columns:auto 1fr;column-gap:16px;height:100%;width:calc(100% - 50px);max-width:1400px;background-color:#2c3e50;margin:0 auto}.admin-stats-bar .container .admin-bar-logo[data-v-ed4156ba]{display:flex;justify-content:flex-start;align-items:center}.admin-stats-bar .container .content-left[data-v-ed4156ba]{display:flex;justify-content:flex-start;align-items:center;height:100%}@media(max-width: 1028px){.admin-stats-bar .container .content-left .below-tablet-hide[data-v-ed4156ba]{display:none}}@media(max-width: 1104px){.admin-stats-bar .container .content-left.socials-link[data-v-ed4156ba]{display:none}}@media(max-width: 1028px){.admin-stats-bar .container .content-left.contrib-link[data-v-ed4156ba]{display:none}}@media(max-width: 876px){.admin-stats-bar .container .content-left.aritcles-link[data-v-ed4156ba]{display:none}}@media(max-width: 810px){.admin-stats-bar .container .content-left.article-views-link[data-v-ed4156ba]{display:none}}.admin-stats-bar .container .content-right[data-v-ed4156ba]{display:flex;justify-content:flex-end;align-items:center;height:100%}.admin-stats-bar .close[data-v-ed4156ba]{cursor:pointer;display:grid;place-items:center;height:100%;width:40px;font-size:24px;font-weight:var(--font-weight-bold)}.admin-stats-bar .close[data-v-ed4156ba]:hover{background:rgb(53.0483870968,74.75,96.4516129032)}",""]);const s=o},33886(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(31601),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([e.id,'.block-admin-border-highlight{border:1px solid green}.omnicard-admin-border-highlight{border:1px solid #1e90ff}.image-admin-border-highlight{border:1px solid #f0f}.piano-admin-border-highlight{display:block;background-color:#fff;text-align:center;border:1px solid red;z-index:9999999999;min-height:10px}.piano-admin-border-margin-highlight{display:block;background-color:#fff;text-align:center;border:1px solid red;margin-bottom:10px;z-index:9999999999}.piano-subscription-admin-border-highlight{display:block;background-color:#e6e6fa;margin-bottom:"10px";z-index:9999999999}.advert-admin-highlight{display:grid;place-items:center;background:#cdcdcd;width:100%;height:100%;flex:1;text-align:center}',""]);const s=o},10049(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(31601),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([e.id,".admin-bar-logo[data-v-ec6a1666]{position:relative;display:inline-block;height:auto;width:36px}",""]);const s=o},56294(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(31601),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([e.id,".admin-message[data-v-e854ed1e]{position:fixed;top:0;width:100%;color:#fff;z-index:9}.admin-message .nq-cb-notice-container[data-v-e854ed1e]{position:relative}.admin-message .container[data-v-e854ed1e]{cursor:default;max-width:100%;padding:0 25px}.admin-message .container .asb-admin-message[data-v-e854ed1e]{display:flex;align-items:center;width:calc(100% - 160px);padding-left:10px}.admin-message .container .asb-admin-message a[data-v-e854ed1e]{color:inherit;text-decoration:underline}.admin-message .container .nq-cb-notice-close[data-v-e854ed1e]{position:absolute;display:block;top:10px;right:10px;color:#fff}.admin-message .container .asb-admin-message-heading[data-v-e854ed1e]{display:flex;justify-content:center;align-items:center;width:160px;padding-right:10px;padding-left:10px}.admin-message .container h2[data-v-e854ed1e]{width:100%;font-family:var(--global-font);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);line-height:16px;text-transform:uppercase;padding-top:8px;padding-bottom:10px;border-right:1px solid #fff}.admin-message .container p[data-v-e854ed1e]{font-size:var(--font-size-xs);font-weight:var(--font-weight-regular);line-height:20px;padding-top:5px;padding-bottom:5px;margin:0}.admin-message .warning .container[data-v-e854ed1e]{background-color:#ffc107 !important}.admin-message .warning .container>.asb-admin-message-heading[data-v-e854ed1e],.admin-message .warning .container p[data-v-e854ed1e],.admin-message .warning .container a[data-v-e854ed1e]{color:#000 !important}.admin-message .warning .container>.asb-admin-message-heading[data-v-e854ed1e],.admin-message .warning .container h2[data-v-e854ed1e],.admin-message .warning .container h3[data-v-e854ed1e]{color:#000 !important;border-right:1px solid #000 !important}.admin-message .warning .container>.nq-cb-notice-close[data-v-e854ed1e],.admin-message .warning .container a[data-v-e854ed1e]{color:#000 !important}.admin-message .danger .container[data-v-e854ed1e]{background-color:#721c24
1!important}.admin-message .success .container[data-v-e854ed1e]{background-color:#155724 !important}.admin-message .info .container[data-v-e854ed1e]{background-color:#0062cc !important}",""]);const s=o},32950(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(31601),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([e.id,".link[data-v-20f5d7af]{display:inline-block;width:82px;padding-left:5px;border-left:2px solid #4a66bc;margin-left:10px}.link a[data-v-20f5d7af],.link span[data-v-20f5d7af]{max-width:100%;font-size:var(--font-size-xxs);font-weight:var(--font-weight-bold);line-height:17px;color:#ddd}.link a[data-v-20f5d7af]{cursor:pointer;text-decoration:underline}.link a[data-v-20f5d7af]:hover{color:#fff}.link.article-views-link[data-v-20f5d7af],.link.articles-link[data-v-20f5d7af]{border-left:2px solid #c1c4c9 !important}.link.contrib-link[data-v-20f5d7af]{border-left:2px solid #b39c43 !important}.link.socials-link[data-v-20f5d7af]{border-left:2px solid #8e8bb7 !important}.link[data-v-20f5d7af]:last-child{border-right:2px solid #4a66bc;width:105px}.v-popup-item[data-v-20f5d7af]{cursor:pointer;position:relative;transition:.15s linear;height:100%}@media(max-width: 810px){.v-popup-item[data-v-20f5d7af]{text-wrap-mode:nowrap}}.v-popup-item a[data-v-20f5d7af]{display:flex;align-items:center;height:100%;font-family:var(--body-font);font-size:var(--font-size-xxs);font-weight:var(--font-wight-semibold);color:#fff;text-align:center;padding:0 6px}.v-popup-item[data-v-20f5d7af]:hover{color:#fff !important;background:rgb(53.0483870968,74.75,96.4516129032)}.v-enter-active[data-v-20f5d7af],.v-leave-active[data-v-20f5d7af]{transition:.25s}.v-enter[data-v-20f5d7af],.v-leave-to[data-v-20f5d7af]{transform:rotateX(90deg);opacity:0}
1",""]);const s=o},8513(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(31601),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([e.id,".link[data-v-9d173f86]{display:inline-block;width:82px;padding-left:5px;border-left:2px solid #4a66bc;margin-left:10px}.link a[data-v-9d173f86],.link span[data-v-9d173f86]{max-width:100%;font-size:var(--font-size-xxs);font-weight:var(--font-weight-bold);line-height:17px;color:#ddd}.link a[data-v-9d173f86]{cursor:pointer;text-decoration:underline}.link a[data-v-9d173f86]:hover{color:#fff}.link.article-views-link[data-v-9d173f86],.link.articles-link[data-v-9d173f86]{border-left:2px solid #c1c4c9 !important}.link.contrib-link[data-v-9d173f86]{border-left:2px solid #b39c43 !important}.link.socials-link[data-v-9d173f86]{border-left:2px solid #8e8bb7 !important}.link[data-v-9d173f86]:last-child{border-right:2px solid #4a66bc;width:105px}.v-nav-menu[data-v-9d173f86]{position:absolute;bottom:100%;right:0;min-width:215px;background:rgb(53.0483870968,74.75,96.4516129032);padding:6px 0;box-shadow:none;transform-origin:bottom}.v-nav-menu.hasMenuOpen[data-v-9d173f86]{border-top-right-radius:0;border-top-left-radius:5px}.v-nav-menu.hasMenuOpen[data-v-9d173f86]:has(.left){border-top-right-radius:5px;border-top-left-radius:0}.v-nav-menu[data-v-9d173f86]:not(.hasMenuOpen){border-radius:5px 5px 0 0}.v-nav-menu hr[data-v-9d173f86]{border:none;border-bottom:1px solid hsla(0,0%,100%,.15);margin:6px 0}.v-nav-menu .item[data-v-9d173f86]{cursor:pointer;position:relative;display:flex;align-items:center;width:100%;min-width:220px;font-family:var(--body-font);font-size:var(--font-size-xxs);font-weight:var(--font-wight-semibold);text-align:left;white-space:nowrap;color:#fff;padding:6px 25px;transition:.15s linear;-webkit-user-select:none;user-select:none}.v-nav-menu .item.hoverable[data-v-9d173f86]:hover{color:#fff;background:hsl(210,29.0322580645%,35.3137254902%)}.v-nav-menu .v-nav-menu[data-v-9d173f86]{bottom:-6px;left:100%;background:rgb(65.7161290323,92.6,119.4838709677);border-radius:0 5px 5px 0;transform-origin:left}.v-nav-menu .v-nav-menu.left[data-v-9d173f86]{left:initial !important;right:100% !important;border-radius:5px 0 0 5px !important;transform-origin:right !important}@media(max-width: 810px){.v-nav-menu .v-nav-menu.left[data-v-9d173f86]{left:100% !important;border-radius:0 5px 5px 0 !important}}.v-nav-menu .v-nav-menu .item[data-v-9d173f86]{color:#fff}.v-nav-menu .v-nav-menu .item[data-v-9d173f86]:hover{color:#fff;background:hsl(210,29.0322580645%,43.3137254902%)}.v-nav-menu .v-nav-menu input[type=checkbox][data-v-9d173f86]{margin-left:12px;margin-right:0;height:14px;width:14px}",""]);const s=o},5182(e,t,n){"use strict";n.r(t),n.d(t,{default:()=>s});var r=n(31601),i=n.n(r),a=n(76314),o=n.n(a)()(i());o.push([e.id,".link[data-v-0a6b87df]{display:inline-block;width:82px;padding-left:5px;border-left:2px solid #4a66bc;margin-left:10px}.link a[data-v-0a6b87df],.link span[data-v-0a6b87df]{max-width:100%;font-size:var(--font-size-xxs);font-weight:var(--font-weight-bold);line-height:17px;color:#ddd}.link a[data-v-0a6b87df]{cursor:pointer;text-decoration:underline}.link a[data-v-0a6b87df]:hover{color:#fff}.link.article-views-link[data-v-0a6b87df],.link.articles-link[data-v-0a6b87df]{border-left:2px solid #c1c4c9 !important}.link.contrib-link[data-v-0a6b87df]{border-left:2px solid #b39c43 !important}.link.socials-link[data-v-0a6b87df]{border-left:2px solid #8e8bb7 !important}.link[data-v-0a6b87df]:last-child{border-right:2px solid #4a66bc;width:105px}.v-popup-search[data-v-0a6b87df]{position:relative;height:100%;width:50px;background:#2c3e50}.v-popup-search .label[data-v-0a6b87df]{cursor:pointer;display:grid;place-items:center;height:100%;width:100%;color:#fff}.v-popup-search .label[data-v-0a6b87df]:hover{background:rgb(53.0483870968,74.75,96.4516129032)}.v-popup-search .popup[data-v-0a6b87df]{position:absolute;bottom:100%;right:0;width:200px;background:rgb(53.0483870968,74.75,96.4516129032);padding:12px;border-radius:5px 5px 0 0;transform-origin:bottom}",""]);const s=o},76314(e){"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map(function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n}).join("")},t.i=function(e,n,r,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(o[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);r&&o[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},31601(e){"use strict";e.exports=function(e){return e[1]}},26639(e,t,n){var r=n(32602);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(70534).A)("c40490da",r,!0,{})},36439(e,t,n){var r=n(33886);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(70534).A)("0f318d1d",r,!0,{})},3552(e,t,n){var r=n(10049);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(70534).A)("07ed4fff",r,!0,{})}
1,23265(e,t,n){var r=n(56294);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(70534).A)("35859810",r,!0,{})},21937(e,t,n){var r=n(32950);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(70534).A)("d1439010",r,!0,{})},61078(e,t,n){var r=n(8513);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(70534).A)("3704e8f5",r,!0,{})},42341(e,t,n){var r=n(5182);r.__esModule&&(r=r.default),"string"==typeof r&&(r=[[e.id,r,""]]),r.locals&&(e.exports=r.locals);(0,n(70534).A)("2d8c9c1e",r,!0,{})},70534(e,t,n){"use strict";function r(e,t){for(var n=[],r={},i=0;i<t.length;i++){var a=t[i],o=a[0],s={id:e+":"+i,css:a[1],media:a[2],sourceMap:a[3]};r[o]?r[o].parts.push(s):n.push(r[o]={id:o,parts:[s]})}return n}n.d(t,{A:()=>h});var i="undefined"!=typeof document;if("undefined"!=typeof DEBUG&&DEBUG&&!i)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var a={},o=i&&(document.head||document.getElementsByTagName("head")[0]),s=null,c=0,l=!1,d=function(){},u=null,p="data-vue-ssr-id",f="undefined"!=typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function h(e,t,n,i){l=n,u=i||{};var o=r(e,t);return m(o),function(t){for(var n=[],i=0;i<o.length;i++){var s=o[i];(c=a[s.id]).refs--,n.push(c)}t?m(o=r(e,t)):o=[];for(i=0;i<n.length;i++){var c;if(0===(c=n[i]).refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete a[c.id]}}}}function m(e){for(var t=0;t<e.length;t++){var n=e[t],r=a[n.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](n.parts[i]);for(;i<n.parts.length;
1i++)r.parts.push(g(n.parts[i]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var o=[];for(i=0;i<n.parts.length;i++)o.push(g(n.parts[i]));a[n.id]={id:n.id,refs:1,parts:o}}}}function v(){var e=document.createElement("style");return e.type="text/css",o.appendChild(e),e}function g(e){var t,n,r=document.querySelector("style["+p+'~="'+e.id+'"]');if(r){if(l)return d;r.parentNode.removeChild(r)}if(f){var i=c++;r=s||(s=v()),t=w.bind(null,r,i,!1),n=w.bind(null,r,i,!0)}else r=v(),t=_.bind(null,r),n=function(){r.parentNode.removeChild(r)};return t(e),function(r){if(r){if(r.css===e.css&&r.media===e.media&&r.sourceMap===e.sourceMap)return;t(e=r)}else n()}}var y,b=(y=[],function(e,t){return y[e]=t,y.filter(Boolean).join("\n")});function w(e,t,n,r){var i=n?"":r.css;if(e.styleSheet)e.styleSheet.cssText=b(t,i);else{var a=document.createTextNode(i),o=e.childNodes;o[t]&&e.removeChild(o[t]),o.length?e.insertBefore(a,o[t]):e.appendChild(a)}}function _(e,t){var n=t.css,r=t.media,i=t.sourceMap;if(r&&e.setAttribute("media",r),u.ssrId&&e.setAttribute(p,t.id),i&&(n+="\n/*# sourceURL="+i.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(i))))+" */"),e.styleSheet)e.styleSheet.cssText=n;else{for(;e.firstChild;)e.removeChild(e.firstChild);e.appendChild(document.createTextNode(n))}}},79306(e,t,n){"use strict";var r=n(94901),i=n(16823),a=TypeError;e.exports=function(e){if(r(e))return e;throw new a(i(e)+" is not a function")}},73506(e,t,n){"use strict";var r=n(13925),i=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw new a("Can't set "+i(e)+" as a prototype")}},6469(e,t,n){"use strict";var r=n(78227),i=n(2360),a=n(24913).f,o=r("unscopables"),s=Array.prototype;void 0===s[o]&&a(s,o,{configurable:!0,value:i(null)}),e.exports=function(e){s[o][e]=!0}},57829(e,t,n){"use strict";var r=n(68183).charAt;e.exports=function(e,t,n){return t+(n&&r(e,t).length||1)}},90679(e,t,n){"use strict";var r=n(1625),i=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new i("Incorrect invocation")}},28551(e,t,n){"use strict";var r=n(20034),i=String,a=TypeError;e.exports=function(e){if(r(e))return e;throw new a(i(e)+" is not an object")}},19617(e,t,n){"use strict";var r=n(25397),i=n(35610),a=n(26198),o=function(e){return function(t,n,o){var s=r(t),c=a(s);if(0===c)return!e&&-1;var l,d=i(o,c);if(e&&n!=n){for(;c>d;)if((l=s[d++])!=l)return!0}else for(;c>d;d++)if((e||d in s)&&s[d]===n)return e||d||0;return!e&&-1}};e.exports={includes:o(!0),indexOf:o(!1)}},67680(e,t,n){"use strict";var r=n(79504);e.exports=r([].slice)},74488(e,t,n){"use strict";var r=n(67680),i=Math.floor,a=function(e,t){var n=e.length;if(n<8)for(var o,s,c=1;c<n;){for(s=c,o=e[c];s&&t(e[s-1],o)>0;)e[s]=e[--s];s!==c++&&(e[s]=o)}else for(var l=i(n/2),d=a(r(e,0,l),t),u=a(r(e,l),t),p=d.length,f=u.length,h=0,m=0;h<p||m<f;)e[h+m]=h<p&&m<f?t(d[h],u[m])<=0?d[h++]:u[m++]:h<p?d[h++]:u[m++];return e};e.exports=a},96319(e,t,n){"use strict";var r=n(28551),i=n(9539);e.exports=function(e,t,n,a){try{return a?t(r(n)[0],n[1]):t(n)}catch(o){i(e,"throw",o)}}},22195(e,t,n){"use strict";var r=n(79504),i=r({}.toString),a=r("".slice);e.exports=function(e){return a(i(e),8,-1)}},36955(e,t,n){"use strict";var r=n(92140),i=n(94901),a=n(22195),o=n(78227)("toStringTag"),s=Object,c="Arguments"===a(function(){return arguments}());e.exports=r?a:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(n){}}(t=s(e),o))?n:c?a(t):"Object"===(r=a(t))&&i(t.callee)?"Arguments":r}},77740(e,t,n){"use strict";var r=n(39297),i=n(35031),a=n(77347),o=n(24913);e.exports=function(e,t,n){for(var s=i(t),c=o.f,l=a.f,d=0;d<s.length;d++){var u=s[d];r(e,u)||n&&r(n,u)||c(e,u,l(t,u))}}},12211(e,t,n){"use strict";var r=n(79039);e.exports=!r(function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype})},62529(e){"use strict";e.exports=function(e,t){return{value:e,done:t}}},66699(e,t,n){"use strict";var r=n(43724),i=n(24913),a=n(6980);e.exports=r?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}},6980(e){"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},97040(e,t,n){"use strict";var r=n(43724),i=n(24913),a=n(6980);e.exports=function(e,t,n){r?i.f(e,t,a(0,n)):e[t]=n}},62106(e,t,n){"use strict";var r=n(50283),i=n(24913);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),i.f(e,t,n)}}
vendor: 9,253 bytes, line 1
1,36840(e,t,n){"use strict";var r=n(94901),i=n(24913),a=n(50283),o=n(39433);e.exports=function(e,t,n,s){s||(s={});var c=s.enumerable,l=void 0!==s.name?s.name:t;if(r(n)&&a(n,l,s),s.global)c?e[t]=n:o(t,n);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(d){}c?e[t]=n:i.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},56279(e,t,n){"use strict";var r=n(36840);e.exports=function(e,t,n){for(var i in t)r(e,i,t[i],n);return e}},39433(e,t,n){"use strict";var r=n(44576),i=Object.defineProperty;e.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},43724(e,t,n){"use strict";var r=n(79039);e.exports=!r(function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]})},4055(e,t,n){"use strict";var r=n(44576),i=n(20034),a=r.document,o=i(a)&&i(a.createElement);e.exports=function(e){return o?a.createElement(e):{}}},67400(e){"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},79296(e,t,n){"use strict";var r=n(4055)("span").classList,i=r&&r.constructor&&r.constructor.prototype;e.exports=i===Object.prototype?void 0:i},88727(e){"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},82839(e,t,n){"use strict";var r=n(44576).navigator,i=r&&r.userAgent;e.exports=i?String(i):""},39519(e,t,n){"use strict";var r,i,a=n(44576),o=n(82839),s=a.process,c=a.Deno,l=s&&s.versions||c&&c.version,d=l&&l.v8;d&&(i=(r=d.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!i&&o&&(!(r=o.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=o.match(/Chrome\/(\d+)/))&&(i=+r[1]),e.exports=i},46518(e,t,n){"use strict";var r=n(44576),i=n(77347).f,a=n(66699),o=n(36840),s=n(39433),c=n(77740),l=n(92796);e.exports=function(e,t){var n,d,u,p,f,h=e.target,m=e.global,v=e.stat;if(n=m?r:v?r[h]||s(h,{}):r[h]&&r[h].prototype)for(d in t){if(p=t[d],u=e.dontCallGetSet?(f=i(n,d))&&f.value:n[d],!l(m?d:h+(v?".":"#")+d,e.forced)&&void 0!==u){if(typeof p==typeof u)continue;c(p,u)}(e.sham||u&&u.sham)&&a(p,"sham",!0),o(n,d,p,e)}}},79039(e){"use strict";e.exports=function(e){try{return!!e()}catch(t){return!0}}},89228(e,t,n){"use strict";n(27495);var r=n(69565),i=n(36840),a=n(57323),o=n(79039),s=n(78227),c=n(66699),l=s("species"),d=RegExp.prototype;e.exports=function(e,t,n,u){var p=s(e),f=!o(function(){var t={};return t[p]=function(){return 7},7!==""[e](t)}),h=f&&!o(function(){var t=!1,n=/a/;if("split"===e){var r={};r[l]=function(){return n},(n={constructor:r,flags:""})[p]=/./[p]}return n.exec=function(){return t=!0,null},n[p](""),!t});if(!f||!h||n){var m=/./[p],v=t(p,""[e],function(e,t,n,i,o){var s=t.exec;return s===a||s===d.exec?f&&!o?{done:!0,value:r(m,t,n,i)}:{done:!0,value:r(e,n,t,i)}:{done:!1}});i(String.prototype,e,v[0]),i(d,p,v[1])}u&&c(d[p],"sham",!0)}},18745(e,t,n){"use strict";var r=n(40616),i=Function.prototype,a=i.apply,o=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?o.bind(a):function(){return o.apply(a,arguments)})},76080(e,t,n){"use strict";var r=n(27476),i=n(79306),a=n(40616),o=r(r.bind);e.exports=function(e,t){return i(e),void 0===t?e:a?o(e,t):function(){return e.apply(t,arguments)}}},40616(e,t,n){"use strict";var r=n(79039);e.exports=!r(function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")})},69565(e,t,n){"use strict";var r=n(40616),i=Function.prototype.call;e.exports=r?i.bind(i):function(){return i.apply(i,arguments)}},10350(e,t,n){"use strict";var r=n(43724),i=n(39297),a=Function.prototype,o=r&&Object.getOwnPropertyDescriptor,s=i(a,"name"),c=s&&"something"===function(){}.name,l=s&&(!r||r&&o(a,"name").configurable);e.exports={EXISTS:s,PROPER:c,CONFIGURABLE:l}},46706(e,t,n){"use strict";var r=n(79504),i=n(79306);e.exports=function(e,t,n){try{return r(i(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(a){}}},27476(e,t,n){"use strict";var r=n(22195),i=n(79504);e.exports=function(e){if("Function"===r(e))return i(e)}},79504(e,t,n){"use strict";var r=n(40616),i=Function.prototype,a=i.call,o=r&&i.bind.bind(a,a);e.exports=r?o:function(e){return function(){return a.apply(e,arguments)}}},97751(e,t,n){"use strict";var r=n(44576),i=n(94901);e.exports=function(e,t){return arguments.length<2?(n=r[e],i(n)?n:void 0):r[e]&&r[e][t];var n}},1767(e){"use strict";e.exports=function(e){return{iterator:e,next:e.next,done:!1}}},50851(e,t,n){"use strict";var r=n(36955),i=n(55966),a=n(64117),o=n(26269),s=n(78227)("iterator");e.exports=function(e){if(!a(e))return i(e,s)||i(e,"@@iterator")||o[r(e)]}},70081(e,t,n){"use strict";var r=n(69565),i=n(79306),a=n(28551),o=n(16823),s=n(50851),c=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(i(n))return a(r(n,e));throw new c(o(e)+" is not iterable")}},55966(e,t,n){"use strict";var r=n(79306),i=n(64117);e.exports=function(e,t){var n=e[t];return i(n)?void 0:r(n)}},2478(e,t,n){"use strict";var r=n(79504),i=n(48981),a=Math.floor,o=r("".charAt),s=r("".replace),c=r("".slice),l=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,d=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,u,p){var f=n+e.length,h=r.length,m=d;return void 0!==u&&(u=i(u),m=l),s(p,m,function(i,s){var l;switch(o(s,0)){case"$":return"$";case"&":return e;case"`":return c(t,0,n);case"'":return c(t,f);case"<":l=u[c(s,1,-1)];break;default:var d=+s;if(0===d)return i;if(d>h){var p=a(d/10);return 0===p?i:p<=h?void 0===r[p-1]?o(s,1):r[p-1]+o(s,1):i}l=r[d-1]}return void 0===l?"":l})}},44576(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},39297(e,t,n){"use strict";var r=n(79504),i=n(48981),a=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return a(i(e),t)}},30421(e){"use strict";e.exports={}},20397(e,t,n){"use strict";var r=n(97751);e.exports=r("document","documentElement")},35917(e,t,n){"use strict";var r=n(43724),i=n(79039),a=n(4055);e.exports=!r&&!i(function(){return 7!==Object.defineProperty(a("div"),"a",{get:function(){return 7}}).a})},47055(e,t,n){"use strict";var r=n(79504),i=n(79039),a=n(22195),o=Object,s=r("".split);e.exports=i(function(){return!o("z").propertyIsEnumerable(0)})?function(e){return"String"===a(e)?s(e,""):o(e)}:o},23167(e,t,n){"use strict";var r=n(94901),i=n(20034),a=n(52967);e.exports=function(e,t,n){var o,s;return a&&r(o=t.constructor)&&o!==n&&i(s=o.prototype)&&s!==n.prototype&&a(e,s),e}},33706(e,t,n){"use strict";var r=n(79504),i=n(94901),a=n(77629),o=r(Function.toString);i(a.inspectSource)||(a.inspectSource=function(e){return o(e)}),e.exports=a.inspectSource},91181(e,t,n){"use strict";var r,i,a,o=n(58622),s=n(44576),c=n(20034),l=n(66699),d=n(39297),u=n(77629),p=n(66119),f=n(30421),h="Object already initialized",m=s.TypeError,v=s.WeakMap;if(o||u.state){var g=u.state||(u.state=new v);g.get=g.get,g.has=g.has,g.set=g.set,r=function(e,t){if(g.has(e))throw new m(h);return t.facade=e,g.set(e,t),t},i=function(e){return g.get(e)||{}},a=function(e){return g.has(e)}}else{var y=p("state");f[y]=!0,r=function(e,t){if(d(e,y))throw new m(h);return t.facade=e,l(e,y,t),t},i=function(e){return d(e,y)?e[y]:{}},a=function(e){return d(e,y)}}e.exports={set:r,get:i,has:a,enforce:function(e){return a(e)?i(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!c(t)||(n=i(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},44209(e,t,n){"use strict";var r=n(78227),i=n(26269),a=r("iterator"),o=Array.prototype;e.exports=function(e){return void 0!==e&&(i.Array===e||o[a]===e)}},34376(e,t,n){"use strict";var r=n(22195);e.exports=Array.isArray||function(e){return"Array"===r(e)}},94901(e){"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},92796(e,t,n){"use strict";var r=n(79039),i=n(94901),a=/#|\.prototype\./,o=function(e,t){var n=c[s(e)];return n===d||n!==l&&(i(t)?r(t):!!t)},s=o.normalize=function(e){return String(e).replace(a,".").toLowerCase()},c=o.data={},l=o.NATIVE="N",d=o.POLYFILL="P";e.exports=o},64117(e){"use strict";e.exports=function(e){return null==e}},20034(e,t,n){"use strict";var r=n(94901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},13925(e,t,n){"use strict";var r=n(20034);e.exports=function(e){return r(e)||null===e}},96395(e){"use strict";e.exports=!1},65810(e,t,n){"use strict";var r=n(20034),i=n(91181).get;e.exports=function(e){if(!r(e))return!1;var t=i(e);return!!t&&"RawJSON"===t.type}},60788(e,t,n){"use strict";var r=n(20034),i=n(22195),a=n(78227)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[a])?!!t:"RegExp"===i(e))}}
vendor: 4,257 bytes, line 1
1,10757(e,t,n){"use strict";var r=n(97751),i=n(94901),a=n(1625),o=n(7040),s=Object;e.exports=o?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return i(t)&&a(t.prototype,s(e))}},72652(e,t,n){"use strict";var r=n(76080),i=n(69565),a=n(28551),o=n(16823),s=n(44209),c=n(26198),l=n(1625),d=n(70081),u=n(50851),p=n(9539),f=TypeError,h=function(e,t){this.stopped=e,this.result=t},m=h.prototype;e.exports=function(e,t,n){var v,g,y,b,w,_,S,x=n&&n.that,k=!(!n||!n.AS_ENTRIES),C=!(!n||!n.IS_RECORD),T=!(!n||!n.IS_ITERATOR),O=!(!n||!n.INTERRUPTED),E=r(t,x),A=function(e){var t=v;return v=void 0,t&&p(t,"normal"),new h(!0,e)},L=function(e){return k?(a(e),O?E(e[0],e[1],A):E(e[0],e[1])):O?E(e,A):E(e)};if(C)v=e.iterator;else if(T)v=e;else{if(!(g=u(e)))throw new f(o(e)+" is not iterable");if(s(g)){for(y=0,b=c(e);b>y;y++)if((w=L(e[y]))&&l(m,w))return w;return new h(!1)}v=d(e,g)}for(_=C?e.next:v.next;!(S=i(_,v)).done;){var I=S.value;try{w=L(I)}catch(R){if(!v)throw R;p(v,"throw",R)}if("object"==typeof w&&w&&l(m,w))return w}return new h(!1)}},91385(e,t,n){"use strict";var r=n(9539);e.exports=function(e,t,n){for(var i=e.length-1;i>=0;i--)if(void 0!==e[i])try{n=r(e[i].iterator,t,n)}catch(a){t="throw",n=a}if("throw"===t)throw n;return n}},9539(e,t,n){"use strict";var r=n(69565),i=n(28551),a=n(55966);e.exports=function(e,t,n){var o,s;i(e);try{if(!(o=a(e,"return"))){if("throw"===t)throw n;return n}o=r(o,e)}catch(c){s=!0,o=c}if("throw"===t)throw n;if(s)throw o;return i(o),n}},33994(e,t,n){"use strict";var r=n(57657).IteratorPrototype,i=n(2360),a=n(6980),o=n(10687),s=n(26269),c=function(){return this};e.exports=function(e,t,n,l){var d=t+" Iterator";return e.prototype=i(r,{next:a(+!l,n)}),o(e,d,!1,!0),s[d]=c,e}},19462(e,t,n){"use strict";var r=n(69565),i=n(2360),a=n(66699),o=n(56279),s=n(78227),c=n(91181),l=n(55966),d=n(57657).IteratorPrototype,u=n(62529),p=n(9539),f=n(91385),h=s("toStringTag"),m="IteratorHelper",v="WrapForValidIterator",g="normal",y="throw",b=c.set,w=function(e){var t=c.getterFor(e?v:m);return o(i(d),{next:function(){var n=t(this);if(e)return n.nextHandler();if(n.done)return u(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:u(r,n.done)}catch(i){throw n.done=!0,i}},return:function(){var n=t(this),i=n.iterator,a=n.done;if(n.done=!0,e){var o=l(i,"return");return o?r(o,i):u(void 0,!0)}if(a)return u(void 0,!0);if(n.inner)try{p(n.inner.iterator,g)}catch(s){return p(i,y,s)}if(n.openIters)try{f(n.openIters,g)}catch(s){if(i)return p(i,y,s);throw s}return i&&p(i,g),u(void 0,!0)}})},_=w(!0),S=w(!1);a(S,h,"Iterator Helper"),e.exports=function(e,t,n){var r=function(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?v:m,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,b(this,i)};return r.prototype=t?_:S,r}},51088(e,t,n){"use strict";var r=n(46518),i=n(69565),a=n(96395),o=n(10350),s=n(94901),c=n(33994),l=n(42787),d=n(52967),u=n(10687),p=n(66699),f=n(36840),h=n(78227),m=n(26269),v=n(57657),g=o.PROPER,y=o.CONFIGURABLE,b=v.IteratorPrototype,w=v.BUGGY_SAFARI_ITERATORS,_=h("iterator"),S="keys",x="values",k="entries",C=function(){return this};e.exports=function(e,t,n,o,h,v,T){c(n,t,o);var O,E,A,L=function(e){if(e===h&&D)return D;if(!w&&e&&e in P)return P[e];switch(e){case S:case x:case k:return function(){return new n(this,e)}}return function(){return new n(this)}},I=t+" Iterator",R=!1,P=e.prototype,N=P[_]||P["@@iterator"]||h&&P[h],D=!w&&N||L(h),j="Array"===t&&P.entries||N;if(j&&(O=l(j.call(new e)))!==Object.prototype&&O.next&&(a||l(O)===b||(d?d(O,b):s(O[_])||f(O,_,C)),u(O,I,!0,!0),a&&(m[I]=C)),g&&h===x&&N&&N.name!==x&&(!a&&y?p(P,"name",x):(R=!0,D=function(){return i(N,this)})),h)if(E={values:L(x),keys:v?D:L(S),entries:L(k)},T)for(A in E)(w||R||!(A in P))&&f(P,A,E[A]);else r({target:t,proto:!0,forced:w||R},E);return a&&!T||P[_]===D||f(P,_,D,{name:h}),m[t]=D,E}},30684(e){"use strict";e.exports=function(e,t){var n="function"==typeof Iterator&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(r){return!0}}},84549(e,t,n){"use strict";var r=n(44576);e.exports=function(e,t){var n=r.Iterator,i=n&&n.prototype,a=i&&i[e],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(s){s instanceof t||(o=!1)}if(!o)return a}}
vendor: 4,343 bytes, line 1
1,57657(e,t,n){"use strict";var r,i,a,o=n(79039),s=n(94901),c=n(20034),l=n(2360),d=n(42787),u=n(36840),p=n(78227),f=n(96395),h=p("iterator"),m=!1;[].keys&&("next"in(a=[].keys())?(i=d(d(a)))!==Object.prototype&&(r=i):m=!0),!c(r)||o(function(){var e={};return r[h].call(e)!==e})?r={}:f&&(r=l(r)),s(r[h])||u(r,h,function(){return this}),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},26269(e){"use strict";e.exports={}},26198(e,t,n){"use strict";var r=n(18014);e.exports=function(e){return r(e.length)}},50283(e,t,n){"use strict";var r=n(79504),i=n(79039),a=n(94901),o=n(39297),s=n(43724),c=n(10350).CONFIGURABLE,l=n(33706),d=n(91181),u=d.enforce,p=d.get,f=String,h=Object.defineProperty,m=r("".slice),v=r("".replace),g=r([].join),y=s&&!i(function(){return 8!==h(function(){},"length",{value:8}).length}),b=String(String).split("String"),w=e.exports=function(e,t,n){"Symbol("===m(f(t),0,7)&&(t="["+v(f(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!o(e,"name")||c&&e.name!==t)&&(s?h(e,"name",{value:t,configurable:!0}):e.name=t),y&&n&&o(n,"arity")&&e.length!==n.arity&&h(e,"length",{value:n.arity});try{n&&o(n,"constructor")&&n.constructor?s&&h(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(i){}var r=u(e);return o(r,"source")||(r.source=g(b,"string"==typeof t?t:"")),e};Function.prototype.toString=w(function(){return a(this)&&p(this).source||l(this)},"toString")},80741(e){"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},27819(e,t,n){"use strict";var r=n(79039);e.exports=!r(function(){var e="9007199254740993",t=JSON.rawJSON(e);return!JSON.isRawJSON(t)||JSON.stringify(t)!==e})},2360(e,t,n){"use strict";var r,i=n(28551),a=n(96801),o=n(88727),s=n(30421),c=n(20397),l=n(4055),d=n(66119),u="prototype",p="script",f=d("IE_PROTO"),h=function(){},m=function(e){return"<"+p+">"+e+"</"+p+">"},v=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},g=function(){try{r=new ActiveXObject("htmlfile")}catch(a){}var e,t,n;g="undefined"!=typeof document?document.domain&&r?v(r):(t=l("iframe"),n="java"+p+":",t.style.display="none",c.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):v(r);for(var i=o.length;i--;)delete g[u][o[i]];return g()};s[f]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(h[u]=i(e),n=new h,h[u]=null,n[f]=e):n=g(),void 0===t?n:a.f(n,t)}},96801(e,t,n){"use strict";var r=n(43724),i=n(48686),a=n(24913),o=n(28551),s=n(25397),c=n(71072);t.f=r&&!i?Object.defineProperties:function(e,t){o(e);for(var n,r=s(t),i=c(t),l=i.length,d=0;l>d;)a.f(e,n=i[d++],r[n]);return e}},24913(e,t,n){"use strict";var r=n(43724),i=n(35917),a=n(48686),o=n(28551),s=n(56969),c=TypeError,l=Object.defineProperty,d=Object.getOwnPropertyDescriptor,u="enumerable",p="configurable",f="writable";t.f=r?a?function(e,t,n){if(o(e),t=s(t),o(n),"function"==typeof e&&"prototype"===t&&"value"in n&&f in n&&!n[f]){var r=d(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:p in n?n[p]:r[p],enumerable:u in n?n[u]:r[u],writable:!1})}return l(e,t,n)}:l:function(e,t,n){if(o(e),t=s(t),o(n),i)try{return l(e,t,n)}catch(r){}if("get"in n||"set"in n)throw new c("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},77347(e,t,n){"use strict";var r=n(43724),i=n(69565),a=n(48773),o=n(6980),s=n(25397),c=n(56969),l=n(39297),d=n(35917),u=Object.getOwnPropertyDescriptor;t.f=r?u:function(e,t){if(e=s(e),t=c(t),d)try{return u(e,t)}catch(n){}if(l(e,t))return o(!i(a.f,e,t),e[t])}},38480(e,t,n){"use strict";var r=n(61828),i=n(88727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,i)}},33717(e,t){"use strict";t.f=Object.getOwnPropertySymbols},42787(e,t,n){"use strict";var r=n(39297),i=n(94901),a=n(48981),o=n(66119),s=n(12211),c=o("IE_PROTO"),l=Object,d=l.prototype;e.exports=s?l.getPrototypeOf:function(e){var t=a(e);if(r(t,c))return t[c];var n=t.constructor;return i(n)&&t instanceof n?n.prototype:t instanceof l?d:null}},1625(e,t,n){"use strict";var r=n(79504);e.exports=r({}.isPrototypeOf)},61828(e,t,n){"use strict";var r=n(79504),i=n(39297),a=n(25397),o=n(19617).indexOf,s=n(30421),c=r([].push);e.exports=function(e,t){var n,r=a(e),l=0,d=[];for(n in r)!i(s,n)&&i(r,n)&&c(d,n);for(;t.length>l;
1)i(r,n=t[l++])&&(~o(d,n)||c(d,n));return d}},71072(e,t,n){"use strict";var r=n(61828),i=n(88727);e.exports=Object.keys||function(e){return r(e,i)}},48773(e,t){"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,i=r&&!n.call({1:2},1);t.f=i?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},52967(e,t,n){"use strict";var r=n(46706),i=n(20034),a=n(67750),o=n(73506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(s){}return function(n,r){return a(n),o(r),i(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},84270(e,t,n){"use strict";var r=n(69565),i=n(94901),a=n(20034),o=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&i(n=e.toString)&&!a(s=r(n,e)))return s;if(i(n=e.valueOf)&&!a(s=r(n,e)))return s;if("string"!==t&&i(n=e.toString)&&!a(s=r(n,e)))return s;throw new o("Can't convert object to primitive value")}},35031(e,t,n){"use strict";var r=n(97751),i=n(79504),a=n(38480),o=n(33717),s=n(28551),c=i([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=a.f(s(e)),n=o.f;return n?c(t,n(e)):t}},616(e,t,n){"use strict";var r=n(79504),i=n(39297),a=SyntaxError,o=parseInt,s=String.fromCharCode,c=r("".charAt),l=r("".slice),d=r(/./.exec),u={'\\"':'"',"\\\\":"\\","\\/":"/","\\b":"\b","\\f":"\f","\\n":"\n","\\r":"\r","\\t":"\t"},p=/^[\da-f]{4}$/i,f=/^[\u0000-\u001F]$/;e.exports=function(e,t){for(var n=!0,r="";t<e.length;){var h=c(e,t);if("\\"===h){var m=l(e,t,t+2);if(i(u,m))r+=u[m],t+=2;else{if("\\u"!==m)throw new a('Unknown escape sequence: "'+m+'"');var v=l(e,t+=2,t+4);if(!d(p,v))throw new a("Bad Unicode escape at: "+t);r+=s(o(v,16)),t+=4}}else{if('"'===h){n=!1,t++;break}if(d(f,h))throw new a("Bad control character in string literal at: "+t);r+=h,t++}}if(n)throw new a("Unterminated string at: "+t);return{value:r,end:t}}},11056(e,t,n){"use strict";var r=n(24913).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},56682(e,t,n){"use strict";var r=n(69565),i=n(28551),a=n(94901),o=n(22195),s=n(57323),c=TypeError;e.exports=function(e,t){var n=e.exec;if(a(n)){var l=r(n,e,t);return null!==l&&i(l),l}if("RegExp"===o(e))return r(s,e,t);throw new c("RegExp#exec called on incompatible receiver")}},57323(e,t,n){"use strict";var r,i,a=n(69565),o=n(79504),s=n(655),c=n(67979),l=n(58429),d=n(25745),u=n(2360),p=n(91181).get,f=n(83635),h=n(18814),m=d("native-string-replace",String.prototype.replace),v=RegExp.prototype.exec,g=v,y=o("".charAt),b=o("".indexOf),w=o("".replace),_=o("".slice),S=(i=/b*/g,a(v,r=/a/,"a"),a(v,i,"a"),0!==r.lastIndex||0!==i.lastIndex),x=l.BROKEN_CARET,k=void 0!==/()??/.exec("")[1],C=function(e,t){for(var n=e.groups=u(null),r=0;r<t.length;r++){var i=t[r];n[i[0]]=e[i[1]]}};(S||k||x||f||h)&&(g=function(e){var t,n,r,i=this,o=p(i),l=s(e),d=o.raw;if(d)return d.lastIndex=i.lastIndex,t=a(g,d,l),i.lastIndex=d.lastIndex,t&&o.groups&&C(t,o.groups),t;var u=o.groups,f=x&&i.sticky,h=a(c,i),T=i.source,O=0,E=l;if(f){h=w(h,"y",""),-1===b(h,"g")&&(h+="g"),E=_(l,i.lastIndex);var A=i.lastIndex>0&&y(l,i.lastIndex-1);i.lastIndex>0&&(!i.multiline||i.multiline&&"\n"!==A&&"\r"!==A&&"\u2028"!==A&&"\u2029"!==A)&&(T="(?: (?:"+T+"))",E=" "+E,O++),n=new RegExp("^(?:"+T+")",h)}k&&(n=new RegExp("^"+T+"$(?!\\s)",h)),S&&(r=i.lastIndex);var L=a(v,f?n:i,E);return f?L?(L.input=l,L[0]=_(L[0],O),L.index=i.lastIndex,i.lastIndex+=L[0].length):i.lastIndex=0:S&&L&&(i.lastIndex=i.global?L.index+L[0].length:r),k&&L&&L.length>1&&a(m,L[0],n,function(){for(var e=1;e<arguments.length-2;e++)void 0===arguments[e]&&(L[e]=void 0)}),L&&u&&C(L,u),L}),e.exports=g},65213(e,t,n){"use strict";var r=n(44576),i=n(79039),a=r.RegExp,o=!i(function(){var e=!0;try{a(".","d")}catch(c){e=!1}var t={},n="",r=e?"dgimsy":"gimsy",i=function(e,r){Object.defineProperty(t,e,{get:function(){return n+=r,!0}})},o={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};for(var s in e&&(o.hasIndices="d"),o)i(s,o[s]);return Object.getOwnPropertyDescriptor(a.prototype,"flags").get.call(t)!==r||n!==r});e.exports={correct:o}},67979(e,t,n){"use strict";var r=n(28551);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},61034(e,t,n){"use strict";var r=n(69565),i=n(39297),a=n(1625),o=n(65213),s=n(67979),c=RegExp.prototype;e.exports=o.correct?function(e){return e.flags}:function(e){return o.correct||!a(c,e)||i(e,"flags")?e.flags:r(s,e)}},58429(e,t,n){"use strict";var r=n(79039),i=n(44576).RegExp,a=r(function(){var e=i("a","y");return e.lastIndex=2,null!==e.exec("abcd")}),o=a||r(function(){return!i("a","y").sticky}),s=a||r(function(){var e=i("^r","gy");return e.lastIndex=2,null!==e.exec("str")});e.exports={BROKEN_CARET:s,MISSED_STICKY:o,UNSUPPORTED_Y:a}},83635(e,t,n){"use strict";var r=n(79039),i=n(44576).RegExp;e.exports=r(function(){var e=i(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)})},18814(e,t,n){"use strict";var r=n(79039),i=n(44576).RegExp;e.exports=r(function(){var e=i("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")})},67750(e,t,n){"use strict";var r=n(64117),i=TypeError;e.exports=function(e){if(r(e))throw new i("Can't call method on "+e);return e}},93389(e,t,n){"use strict";var r=n(44576),i=n(43724),a=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!i)return r[e];var t=a(r,e);return t&&t.value}},87633(e,t,n){"use strict";var r=n(97751),i=n(62106),a=n(78227),o=n(43724),s=a("species");e.exports=function(e){var t=r(e);o&&t&&!t[s]&&i(t,s,{configurable:!0,get:function(){return this}})}},10687(e,t,n){"use strict";var r=n(24913).f,i=n(39297),a=n(78227)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!i(e,a)&&r(e,a,{configurable:!0,value:t})}},66119(e,t,n){"use strict";var r=n(25745),i=n(33392),a=r("keys");e.exports=function(e){return a[e]||(a[e]=i(e))}},77629(e,t,n){"use strict";var r=n(96395),i=n(44576),a=n(39433),o="__core-js_shared__",s=e.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:"3.49.0",mode:r?"pure":"global",copyright:"© 2013â2025 Denis Pushkarev (zloirock.ru), 2025â2026 CoreJS Company (core-js.io). All rights reserved.",license:"https://github.com/zloirock/core-js/blob/v3.49.0/LICENSE",source:"https://github.com/zloirock/core-js"})},25745(e,t,n){"use strict";var r=n(77629);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},68183(e,t,n){"use strict";
1var r=n(79504),i=n(91291),a=n(655),o=n(67750),s=r("".charAt),c=r("".charCodeAt),l=r("".slice),d=function(e){return function(t,n){var r,d,u=a(o(t)),p=i(n),f=u.length;return p<0||p>=f?e?"":void 0:(r=c(u,p))<55296||r>56319||p+1===f||(d=c(u,p+1))<56320||d>57343?e?s(u,p):r:e?l(u,p,p+2):d-56320+(r-55296<<10)+65536}};e.exports={codeAt:d(!1),charAt:d(!0)}},60706(e,t,n){"use strict";var r=n(10350).PROPER,i=n(79039),a=n(47452);e.exports=function(e){return i(function(){return!!a[e]()||"âÂ
á "!=="âÂ
á "[e]()||r&&a[e].name!==e})}},43802(e,t,n){"use strict";var r=n(79504),i=n(67750),a=n(655),o=n(47452),s=r("".replace),c=RegExp("^["+o+"]+"),l=RegExp("(^|[^"+o+"])["+o+"]+$"),d=function(e){return function(t){var n=a(i(t));return 1&e&&(n=s(n,c,"")),2&e&&(n=s(n,l,"$1")),n}};e.exports={start:d(1),end:d(2),trim:d(3)}},4495(e,t,n){"use strict";var r=n(39519),i=n(79039),a=n(44576).String;e.exports=!!Object.getOwnPropertySymbols&&!i(function(){var e=Symbol("symbol detection");return!a(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41})},35610(e,t,n){"use strict";var r=n(91291),i=Math.max,a=Math.min;e.exports=function(e,t){var n=r(e);return n<0?i(n+t,0):a(n,t)}},25397(e,t,n){"use strict";var r=n(47055),i=n(67750);e.exports=function(e){return r(i(e))}},91291(e,t,n){"use strict";var r=n(80741);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},18014(e,t,n){"use strict";var r=n(91291),i=Math.min;e.exports=function(e){var t=r(e);return t>0?i(t,9007199254740991):0}},48981(e,t,n){"use strict";var r=n(67750),i=Object;e.exports=function(e){return i(r(e))}},72777(e,t,n){"use strict";var r=n(69565),i=n(20034),a=n(10757),o=n(55966),s=n(84270),c=n(78227),l=TypeError,d=c("toPrimitive");e.exports=function(e,t){if(!i(e)||a(e))return e;var n,c=o(e,d);if(c){if(void 0===t&&(t="default"),n=r(c,e,t),!i(n)||a(n))return n;throw new l("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},56969(e,t,n){"use strict";var r=n(72777),i=n(10757);e.exports=function(e){var t=r(e,"string");return i(t)?t:t+""}},92140(e,t,n){"use strict";var r={};r[n(78227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655(e,t,n){"use strict";var r=n(36955),i=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return i(e)}},16823(e){"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(n){return"Object"}}},33392(e,t,n){"use strict";var r=n(79504),i=0,a=Math.random(),o=r(1.1.toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+o(++i+a,36)}},67416(e,t,n){"use strict";var r=n(79039),i=n(78227),a=n(43724),o=n(96395),s=i("iterator");e.exports=!r(function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach(function(e,n){t.delete("b"),r+=n+e}),n.delete("a",2),n.delete("b",void 0),o&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(o||!a)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://ÑеÑÑ").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==r||"x"!==new URL("https://x",void 0).host})},7040(e,t,n){"use strict";var r=n(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},48686(e,t,n){"use strict";var r=n(43724),i=n(79039);e.exports=r&&i(function(){return 42!==Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype})},22812(e){"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},58622(e,t,n){"use strict";var r=n(44576),i=n(94901),a=r.WeakMap;e.exports=i(a)&&/native code/.test(String(a))},78227(e,t,n){"use strict";var r=n(44576),i=n(25745),a=n(39297),o=n(33392),s=n(4495),c=n(7040),l=r.Symbol,d=i("wks"),u=c?l.for||l:l&&l.withoutSetter||o;e.exports=function(e){return a(d,e)||(d[e]=s&&a(l,e)?l[e]:u("Symbol."+e)),d[e]}},47452(e){"use strict";e.exports="\t\n\v\f\r  áââââââ
ââââââ¯âã\u2028\u2029\ufeff"},74423(e,t,n){"use strict";var r=n(46518),i=n(19617).includes,a=n(79039),o=n(6469),s=a(function(){return!Array(1).includes()}
1),c=a(function(){return[,1].includes(void 0,1)});r({target:"Array",proto:!0,forced:s||c},{includes:function(e){return i(this,e,arguments.length>1?arguments[1]:void 0)}}),o("includes")},23792(e,t,n){"use strict";var r=n(25397),i=n(6469),a=n(26269),o=n(91181),s=n(24913).f,c=n(51088),l=n(62529),d=n(96395),u=n(43724),p="Array Iterator",f=o.set,h=o.getterFor(p);e.exports=c(Array,"Array",function(e,t){f(this,{type:p,target:r(e),index:0,kind:t})},function(){var e=h(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,l(void 0,!0);switch(e.kind){case"keys":return l(n,!1);case"values":return l(t[n],!1)}return l([n,t[n]],!1)},"values");var m=a.Arguments=a.Array;if(i("keys"),i("values"),i("entries"),!d&&u&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(v){}},18111(e,t,n){"use strict";var r=n(46518),i=n(44576),a=n(90679),o=n(28551),s=n(94901),c=n(42787),l=n(62106),d=n(97040),u=n(79039),p=n(39297),f=n(78227),h=n(57657).IteratorPrototype,m=n(43724),v=n(96395),g="constructor",y="Iterator",b=f("toStringTag"),w=TypeError,_=i[y],S=v||!s(_)||_.prototype!==h||!u(function(){_({})}),x=function(){if(a(this,h),c(this)===h)throw new w("Abstract class Iterator not directly constructable")},k=function(e,t){m?l(h,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===h)throw new w("You can't redefine this property");p(this,e)?this[e]=t:d(this,e,t)}}):h[e]=t};p(h,b)||k(b,y),!S&&p(h,g)&&h[g]!==Object||k(g,x),x.prototype=h,r({global:!0,constructor:!0,forced:S},{Iterator:x})},81148(e,t,n){"use strict";var r=n(46518),i=n(69565),a=n(72652),o=n(79306),s=n(28551),c=n(1767),l=n(9539),d=n(84549)("every",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:d},{every:function(e){s(this);try{o(e)}catch(r){l(this,"throw",r)}if(d)return i(d,this,e);var t=c(this),n=0;return!a(t,function(t,r){if(!e(t,n++))return r()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},22489(e,t,n){"use strict";var r=n(46518),i=n(69565),a=n(79306),o=n(28551),s=n(1767),c=n(19462),l=n(96319),d=n(96395),u=n(9539),p=n(30684),f=n(84549),h=!d&&!p("filter",function(){}),m=!d&&!h&&f("filter",TypeError),v=d||h||m,g=c(function(){for(var e,t,n=this.iterator,r=this.predicate,a=this.next;;){if(e=o(i(a,n)),this.done=!!e.done)return;if(t=e.value,l(n,r,[t,this.counter++],!0))return t}});r({target:"Iterator",proto:!0,real:!0,forced:v},{filter:function(e){o(this);try{a(e)}catch(t){u(this,"throw",t)}return m?i(m,this,e):new g(s(this),{predicate:e})}})},20116(e,t,n){"use strict";var r=n(46518),i=n(69565),a=n(72652),o=n(79306),s=n(28551),c=n(1767),l=n(9539),d=n(84549)("find",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:d},{find:function(e){s(this);try{o(e)}catch(r){l(this,"throw",r)}if(d)return i(d,this,e);var t=c(this),n=0;return a(t,function(t,r){if(e(t,n++))return r(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})},7588(e,t,n){"use strict";var r=n(46518),i=n(69565),a=n(72652),o=n(79306),s=n(28551),c=n(1767),l=n(9539),d=n(84549)("forEach",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:d},{forEach:function(e){s(this);try{o(e)}catch(r){l(this,"throw",r)}if(d)return i(d,this,e);var t=c(this),n=0;a(t,function(t){e(t,n++)},{IS_RECORD:!0})}})},61701(e,t,n){"use strict";var r=n(46518),i=n(69565),a=n(79306),o=n(28551),s=n(1767),c=n(19462),l=n(96319),d=n(9539),u=n(30684),p=n(84549),f=n(96395),h=!f&&!u("map",function(){}),m=!f&&!h&&p("map",TypeError),v=f||h||m,g=c(function(){var e=this.iterator,t=o(i(this.next,e));if(!(this.done=!!t.done))return l(e,this.mapper,[t.value,this.counter++],!0)});r({target:"Iterator",proto:!0,real:!0,forced:v},{map:function(e){o(this);try{a(e)}catch(t){d(this,"throw",t)}return m?i(m,this,e):new g(s(this),{mapper:e})}})},13579(e,t,n){"use strict";var r=n(46518),i=n(69565),a=n(72652),o=n(79306),s=n(28551),c=n(1767),l=n(9539),d=n(84549)("some",TypeError);r({target:"Iterator",proto:!0,real:!0,forced:d},{some:function(e){s(this);try{o(e)}catch(r){l(this,"throw",r)}if(d)return i(d,this,e);var t=c(this),n=0;return a(t,function(t,r){if(e(t,n++))return r()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}})},33110(e,t,n){"use strict";var r=n(46518),i=n(97751),a=n(18745),o=n(69565),s=n(79504),c=n(79039),l=n(34376),d=n(94901),u=n(65810),p=n(10757),f=n(22195),h=n(655),m=n(67680),v=n(616),g=n(33392),y=n(4495),b=n(27819),w=String,_=i("JSON","stringify"),S=s(/./.exec),x=s("".charAt),k=s("".charCodeAt),C=s("".replace),T=s("".slice),O=s([].push),E=s(1.1.toString),A=/[\uD800-\uDFFF]/g,L=/^[\uD800-\uDBFF]$/,I=/^[\uDC00-\uDFFF]$/,R=g(),P=R.length,N=!y||c(function(){var e=i("Symbol")("stringify detection");return"[null]"!==_([e])||"{}"!==_({a:e})||"{}"!==_(Object(e))}),D=c(function(){return'"\\udf06\\ud834"'!==_("\udf06\ud834")||'"\\udead"'!==_("\udead")}),j=N?function(e,t){var n=m(arguments),r=M(t);if(d(r)||void 0!==e&&!p(e))return n[1]=function(e,t){if(d(r)&&(t=o(r,this,w(e),t)),!p(t))return t},a(_,null,n)}:_,$=function(e,t,n){var r=x(n,t-1),i=x(n,t+1);return S(L,e)&&!S(I,i)||S(I,e)&&!S(L,r)?"\\u"+E(k(e,0),16):e},M=function(e){if(d(e))return e;if(l(e)){for(var t=e.length,n=[],r=0;r<t;r++){var i=e[r];"string"==typeof i?O(n,i):"number"!=typeof i&&"Number"!==f(i)&&"String"!==f(i)||O(n,h(i))}var a=n.length,o=!0;return function(e,t){if(o)return o=!1,t;if(l(this))return t;for(var r=0;r<a;r++)if(n[r]===e)return t}}};_&&r({target:"JSON",stat:!0,arity:3,forced:N||D||!b},{stringify:function(e,t,n){var r=M(t),i=[],a=j(e,function(e,t){var n=d(r)?o(r,this,w(e),t):t;return!b&&u(n)?R+(O(i,n.rawJSON)-1):n},n);if("string"!=typeof a)return a;
1if(D&&(a=C(a,A,$)),b)return a;for(var s="",c=a.length,l=0;l<c;l++){var p=x(a,l);if('"'===p){var f=v(a,++l).end-1,h=T(a,l,f);s+=T(h,0,P)===R?i[T(h,P)]:'"'+h+'"',l=f}else s+=p}return s}})},84864(e,t,n){"use strict";var r=n(43724),i=n(44576),a=n(79504),o=n(92796),s=n(23167),c=n(66699),l=n(2360),d=n(38480).f,u=n(1625),p=n(60788),f=n(655),h=n(61034),m=n(58429),v=n(11056),g=n(36840),y=n(79039),b=n(39297),w=n(91181).enforce,_=n(87633),S=n(78227),x=n(83635),k=n(18814),C=S("match"),T=i.RegExp,O=T.prototype,E=i.SyntaxError,A=a(O.exec),L=a("".charAt),I=a("".replace),R=a("".indexOf),P=a("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,D=/a/g,j=/a/g,$=new T(D)!==D,M=m.MISSED_STICKY,F=m.UNSUPPORTED_Y,q=r&&(!$||M||x||k||y(function(){return j[C]=!1,T(D)!==D||T(j)===j||"/a/i"!==String(T(D,"i"))}));if(o("RegExp",q)){for(var B=function(e,t){var n,r,i,a,o,d,m=u(O,this),v=p(e),g=void 0===t,y=[],_=e;if(!m&&v&&g&&e.constructor===B)return e;if((v||u(O,e))&&(e=e.source,g&&(t=h(_))),e=void 0===e?"":f(e),t=void 0===t?"":f(t),_=e,x&&"dotAll"in D&&(r=!!t&&R(t,"s")>-1)&&(t=I(t,/s/g,"")),n=t,M&&"sticky"in D&&(i=!!t&&R(t,"y")>-1)&&F&&(t=I(t,/y/g,"")),k&&(a=function(e){for(var t,n=e.length,r=0,i="",a=[],o=l(null),s=!1,c=!1,d=0,u="";r<n;r++){if("\\"===(t=L(e,r))){if(t+=L(e,++r),!c&&"\\"===L(t,1)){i+="\\x5c";continue}}else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:i+=t,A(N,P(e,r+1))?(r+=2,c=!0,d++):"?"!==L(e,r+1)&&d++;continue;case">"===t&&c:if(""===u||b(o,u))throw new E("Invalid capture group name");o[u]=!0,a[a.length]=[u,d],c=!1,u="";continue}c?u+=t:i+=t}for(var p=0;p<a.length;p++)for(var f="\\k<"+a[p][0]+">",h="\\"+a[p][1];R(i,f)>-1;)i=I(i,f,h);return[i,a]}(e),e=a[0],y=a[1]),o=s(T(e,t),m?this:O,B),(r||i||y.length)&&(d=w(o),r&&(d.dotAll=!0,d.raw=B(function(e){for(var t,n=e.length,r=0,i="",a=!1;r<n;r++)"\\"!==(t=L(e,r))?a||"."!==t?("["===t?a=!0:"]"===t&&(a=!1),i+=t):i+="[\\s\\S]":i+=t+L(e,++r);return i}(e),n)),i&&(d.sticky=!0),y.length&&(d.groups=y)),e!==_)try{c(o,"source",""===_?"(?:)":_)}catch(S){}return o},V=d(T),U=0;V.length>U;)v(B,T,V[U++]);O.constructor=B,B.prototype=O,g(i,"RegExp",B,{constructor:!0})}_("RegExp")},27495(e,t,n){"use strict";var r=n(46518),i=n(57323);r({target:"RegExp",proto:!0,forced:/./.exec!==i},{exec:i})},27337(e,t,n){"use strict";var r=n(46518),i=n(79504),a=n(35610),o=RangeError,s=String.fromCharCode,c=String.fromCodePoint,l=i([].join);r({target:"String",stat:!0,arity:1,forced:!!c&&1!==c.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,i=0;r>i;){if(a(t=+arguments[i],1114111)!==t)throw new o(t+" is not a valid code point");n[i++]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return l(n,"")}})},25440(e,t,n){"use strict";var r=n(18745),i=n(69565),a=n(79504),o=n(89228),s=n(79039),c=n(28551),l=n(94901),d=n(20034),u=n(91291),p=n(18014),f=n(655),h=n(67750),m=n(57829),v=n(55966),g=n(2478),y=n(61034),b=n(56682),w=n(78227)("replace"),_=Math.max,S=Math.min,x=a([].concat),k=a([].push),C=a("".indexOf),T=a("".slice),O=function(e){return void 0===e?e:String(e)},E="$0"==="a".replace(/./,"$0"),A=!!/./[w]&&""===/./[w]("a","$0");o("replace",function(e,t,n){var a=A?"$":"$0";return[function(e,n){var r=h(this),a=d(e)?v(e,w):void 0;return a?i(a,e,r,n):i(t,f(r),e,n)},function(e,i){var o=c(this),s=f(e),d=l(i);d||(i=f(i));var h=f(y(o));if("string"==typeof i&&!~C(i,a)&&!~C(i,"$<")&&!~C(h,"y")){var v=n(t,o,s,i);if(v.done)return v.value}var w,E=!!~C(h,"g");E&&(w=!!~C(h,"u")||!!~C(h,"v"),o.lastIndex=0);for(var A,L=[];null!==(A=b(o,s))&&(k(L,A),E);){""===f(A[0])&&(o.lastIndex=m(s,p(o.lastIndex),w))}for(var I="",R=0,P=0;P<L.length;P++){for(var N,D=f((A=L[P])[0]),j=_(S(u(A.index),s.length),0),$=[],M=1;M<A.length;M++)k($,O(A[M]));var F=A.groups;if(d){var q=x([D],$,j,s);void 0!==F&&k(q,F),N=f(r(i,void 0,q))}else N=g(D,s,j,$,F,i);j>=R&&(I+=T(s,R,j)+N,R=j+D.length)}return I+T(s,R)}]},!!s(function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")})||!E||A)},42762(e,t,n){"use strict";var r=n(46518),i=n(43802).trim;r({target:"String",proto:!0,forced:n(60706)("trim")},{trim:function(){return i(this)}})},89463(e,t,n){"use strict";var r=n(46518),i=n(43724),a=n(44576),o=n(69565),s=n(79504),c=n(39297),l=n(94901),d=n(1625),u=n(655),p=n(62106),f=n(77740),h=a.Symbol,m=h&&h.prototype;if(i&&l(h)&&(!("description"in m)||void 0!==h().description)){var v={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=d(m,this)?new h(e):void 0===e?h():h(e);return""===e&&(v[t]=!0),t};f(g,h);var y=g.for;g.for={for:function(e){var t=u(e),n=o(y,this,t);return""===t&&(v[n]=!0),n}}.for,g.prototype=m,m.constructor=g;var b="Symbol(description detection)"===String(h("description detection")),w=s(m.valueOf),_=s(m.toString),S=/^Symbol\((.*)\)[^)]+$/,x=s("".replace),k=s("".slice);p(m,"description",{configurable:!0,get:function(){var e=w(this);if(c(v,e))return"";var t=_(e),n=b?k(t,7,-1):x(t,S,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},98992(e,t,n){"use strict";n(18111)}
vendor: 5,012 bytes, line 1
1,23215(e,t,n){"use strict";n(81148)},54520(e,t,n){"use strict";n(22489)},72577(e,t,n){"use strict";n(20116)},3949(e,t,n){"use strict";n(7588)},81454(e,t,n){"use strict";n(61701)},37550(e,t,n){"use strict";n(13579)},62953(e,t,n){"use strict";var r=n(44576),i=n(67400),a=n(79296),o=n(23792),s=n(66699),c=n(10687),l=n(78227)("iterator"),d=o.values,u=function(e,t){if(e){if(e[l]!==d)try{s(e,l,d)}catch(r){e[l]=d}if(c(e,t,!0),i[t])for(var n in o)if(e[n]!==o[n])try{s(e,n,o[n])}catch(r){e[n]=o[n]}}};for(var p in i)u(r[p]&&r[p].prototype,p);u(a,"DOMTokenList")},98406(e,t,n){"use strict";n(23792),n(27337);var r=n(46518),i=n(44576),a=n(93389),o=n(97751),s=n(69565),c=n(79504),l=n(43724),d=n(67416),u=n(36840),p=n(62106),f=n(56279),h=n(10687),m=n(33994),v=n(91181),g=n(90679),y=n(94901),b=n(39297),w=n(76080),_=n(36955),S=n(28551),x=n(20034),k=n(655),C=n(2360),T=n(6980),O=n(70081),E=n(50851),A=n(62529),L=n(22812),I=n(78227),R=n(74488),P=I("iterator"),N="URLSearchParams",D=N+"Iterator",j=v.set,$=v.getterFor(N),M=v.getterFor(D),F=a("fetch"),q=a("Request"),B=a("Headers"),V=q&&q.prototype,U=B&&B.prototype,H=i.TypeError,z=i.encodeURIComponent,W=String.fromCharCode,J=o("String","fromCodePoint"),K=parseInt,G=c("".charAt),Y=c([].join),X=c([].push),Q=c("".replace),Z=c([].shift),ee=c([].splice),te=c("".split),ne=c("".slice),re=c(/./.exec),ie=/\+/g,ae=/^[0-9a-f]+$/i,oe=function(e,t){var n=ne(e,t,t+2);return re(ae,n)?K(n,16):NaN},se=function(e){for(var t=0,n=128;n>0&&0!==(e&n);n>>=1)t++;return t},ce=function(e){var t=null,n=e.length;switch(n){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return null===t||t>1114111||t>=55296&&t<=57343||t<(n>3?65536:n>2?2048:n>1?128:0)?null:t},le=function(e){for(var t=(e=Q(e,ie," ")).length,n="",r=0;r<t;){var i=G(e,r);if("%"===i){if("%"===G(e,r+1)||r+3>t){n+="%",r++;continue}var a=oe(e,r+1);if(a!=a){n+=i,r++;continue}r+=2;var o=se(a);if(0===o)i=W(a);else{if(1===o||o>4){n+="�",r++;continue}for(var s=[a],c=1;c<o&&!(++r+3>t||"%"!==G(e,r));){var l=oe(e,r+1);if(l!=l||l>191||l<128)break;if(1===c){if(224===a&&l<160)break;if(237===a&&l>159)break;if(240===a&&l<144)break;if(244===a&&l>143)break}X(s,l),r+=2,c++}if(s.length!==o){n+="�";continue}var d=ce(s);if(null===d){for(var u=0;u<o;u++)n+="�";r++;continue}i=J(d)}}n+=i,r++}return n},de=/[!'()~]|%20/g,ue={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},pe=function(e){return ue[e]},fe=function(e){return Q(z(e),de,pe)},he=m(function(e,t){j(this,{type:D,target:$(e).entries,index:0,kind:t})},N,function(){var e=M(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,A(void 0,!0);var r=t[n];switch(e.kind){case"keys":return A(r.key,!1);case"values":return A(r.value,!1)}return A([r.key,r.value],!1)},!0),me=function(e){this.entries=[],this.url=null,void 0!==e&&(x(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===G(e,0)?ne(e,1):e:k(e)))};me.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,i,a,o,c,l=this.entries,d=E(e);if(d)for(n=(t=O(e,d)).next;!(r=s(n,t)).done;){if(a=(i=O(S(r.value))).next,(o=s(a,i)).done||(c=s(a,i)).done||!s(a,i).done)throw new H("Expected sequence with length 2");X(l,{key:k(o.value),value:k(c.value)})}else for(var u in e)b(e,u)&&X(l,{key:u,value:k(e[u])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,i=te(e,"&"),a=0;a<i.length;)(t=i[a++]).length&&(n=te(t,"="),X(r,{key:le(Z(n)),value:le(Y(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],X(n,fe(e.key)+"="+fe(e.value));return Y(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ve=function(){g(this,ge);var e=j(this,new me(arguments.length>0?arguments[0]:void 0));l||(this.size=e.entries.length)},ge=ve.prototype;if(f(ge,{append:function(e,t){var n=$(this);L(arguments.length,2),X(n.entries,{key:k(e),value:k(t)}),l||this.size++,n.updateURL()},delete:function(e){for(var t=$(this),n=L(arguments.length,1),r=t.entries,i=k(e),a=n<2?void 0:arguments[1],o=void 0===a?a:k(a),s=0;s<r.length;){var c=r[s];c.key!==i||void 0!==o&&c.value!==o?s++:ee(r,s,1)}l||(this.size=r.length),t.updateURL()},get:function(e){var t=$(this).entries;L(arguments.length,1);for(var n=k(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=$(this).entries;L(arguments.length,1);for(var n=k(e),r=[],i=0;i<t.length;i++)t[i].key===n&&X(r,t[i].value);return r},has:function(e){for(var t=$(this).entries,n=L(arguments.length,1),r=k(e),i=n<2?void 0:arguments[1],a=void 0===i?i:k(i),o=0;o<t.length;){var s=t[o++];if(s.key===r&&(void 0===a||s.value===a))return!0}return!1},set:function(e,t){var n=$(this);L(arguments.length,2);for(var r,i=n.entries,a=!1,o=k(e),s=k(t),c=0;c<i.length;c++)(r=i[c]).key===o&&(a?ee(i,c--,1):(a=!0,r.value=s));a||X(i,{key:o,value:s}),l||(this.size=i.length),n.updateURL()}
1,sort:function(){var e=$(this);R(e.entries,function(e,t){return e.key>t.key?1:-1}),e.updateURL()},forEach:function(e){for(var t,n=$(this).entries,r=w(e,arguments.length>1?arguments[1]:void 0),i=0;i<n.length;)r((t=n[i++]).value,t.key,this)},keys:function(){return new he(this,"keys")},values:function(){return new he(this,"values")},entries:function(){return new he(this,"entries")}},{enumerable:!0}),u(ge,P,ge.entries,{name:"entries"}),u(ge,"toString",function(){return $(this).serialize()},{enumerable:!0}),l&&p(ge,"size",{get:function(){return $(this).entries.length},configurable:!0,enumerable:!0}),h(ve,N),r({global:!0,constructor:!0,forced:!d},{URLSearchParams:ve}),!d&&y(B)){var ye=c(U.has),be=c(U.set),we=function(e){if(x(e)){var t,n=e.body;if(_(n)===N)return t=e.headers?new B(e.headers):new B,ye(t,"content-type")||be(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),C(e,{body:T(0,k(n)),headers:T(0,t)})}return e};if(y(F)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return F(e,arguments.length>1?we(arguments[1]):{})}}),y(q)){var _e=function(e){return g(this,V),new q(e,arguments.length>1?we(arguments[1]):{})};V.constructor=_e,_e.prototype=V,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:_e})}}e.exports={URLSearchParams:ve,getState:$}},48408(e,t,n){"use strict";n(98406)}},t={};function n(r){var i=t[r];if(void 0!==i)return i.exports;var a=t[r]={id:r,exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=e=>{(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},(()=>{"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:()=>De,hasStandardBrowserEnv:()=>$e,hasStandardBrowserWebWorkerEnv:()=>Me,navigator:()=>je,origin:()=>Fe});n(98992),n(3949),n(37550);const t={css:{logLabel:"color: #FFF; background: #188ae2; padding: 2px 0px 2px 4px; border-radius: 3px 0px 0px 3px; font-weight: bold",log:"color: #FFF; background: #188ae2; padding: 2px 4px 2px 0px; border-radius: 0px 3px 3px 0px;",successLabel:"color: #FFF; background: #31ce77; padding: 2px 0px 2px 4px; border-radius: 3px 0px 0px 3px; font-weight: bold",success:"color: #FFF; background: #31ce77; padding: 2px 4px 2px 0px; border-radius: 0px 3px 3px 0px;",warningLabel:"color: #FFF; background: #F57C00; padding: 2px 0px 2px 4px; border-radius: 3px 0px 0px 3px; font-weight: bold",warning:"color: #FFF; background: #F57C00; padding: 2px 4px 2px 0px; border-radius: 0px 3px 3px 0px;",errorLabel:"color: #FFF; background: #f34943; padding: 2px 0px 2px 4px; border-radius: 3px 0px 0px 3px; font-weight: bold",error:"color: #FFF; background: #f34943; padding: 2px 4px 2px 0px; border-radius: 0px 3px 3px 0px;"},print(e,t){if(1===parseInt(this.getCookie("debug"),10)){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];var a,o;if(1===r.length&&"string"==typeof r[0])(a=console).log.apply(a,["%c".concat(e," %c%s"),this.css["".concat(t,"Label")],this.css[t]].concat(r));else(o=console).log.apply(o,["%c".concat(e),this.css[t]].concat(r))}},log(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.print.apply(this,["Martini Log:","log"].concat(t))},success(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.print.apply(this,["Martini Success:","success"].concat(t))},warn(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.print.apply(this,["Martini Warning:","warning"].concat(t))},error(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];this.print.apply(this,["Martini Error:","error"].concat(t))},getCookie(e){const t="".concat(e,"="),n=document.cookie.split(";");for(let r=0;r<n.length;r+=1){let e=n[r];for(;" "===e.charAt(0);)e=e.substring(1);if(0===e.indexOf(t))return e.substring(t.length,e.length)}return""}};var r=n(92443);const i={selectorType:{id:"id",class:"class"},targetType:{content:"content",header:"header"},bodySelectors:{content:"allow-skins",header:"skin-detected--for-header"},selectors:{header:{id:["skin_test_for_header_id"],class:["skin_test_for_header_class","ism-anchor"]}},skinDetectionTimeout:5e4,dfpArticleFluid:document.querySelector("#DFP_article_fluid_1"),init(){return window.screen.width<1210||!r("body").hasClass("allow-skins")?null:r("body").hasClass("has-relative-skin")?this.setContentWidth(this.targetType.content):(this.observeSkins(),null)},setContentWidthInsideTakeover(e,t){if(e){let n=!1;e.id?n=document.querySelector("#".concat(e.id)).closest("#redesign-content"):e.classList[0]&&(n=document.querySelector(".".concat(e.classList[0])).closest("#redesign-content")),n&&t.classList.add("content--skin-injected-inside-takeover")}},setContentWidth(e){if("header"!==e)return;const t=document.querySelector("body");t&&!t.classList.contains(this.bodySelectors.header)&&t.classList.add(this.bodySelectors.header)},observeSkins(){t.log("Advertising Skin: observe skin_container");const e=new MutationObserver(n=>
1{n.forEach(n=>{for(let r=0;r<n.addedNodes.length;r++)Object.keys(this.selectors).forEach(i=>{const a=this.selectors[i];Object.keys(a).forEach(o=>{const s=a[o];this.checkElementExists({selectorArray:s,element:n.addedNodes[r],type:o})&&(t.log("\n Advertising Skin: Skin detected due to the following matches in ".concat(s," as type ").concat(o," for element ").concat(n.addedNodes[r].id," ").concat(n.addedNodes[r].classList,"\n "),n),this.setContentWidth(this.targetType[i],n.addedNodes[r]),e.disconnect())})}),this.checkForAdPosition(n.addedNodes[r])})});e.observe(document.body,{subtree:!0,childList:!0,attributes:!0}),window.setTimeout(()=>{e.disconnect()},this.skinDetectionTimeout)},checkForAdPosition(e){if("ayl-wrapper"===e.id)this.dfpArticleFluid.empty()},checkElementExists(e){let n=e.selectorArray,r=e.element,i=e.type;if(n.length)switch(i){case this.selectorType.id:const e=r.id;return e&&"string"==typeof e&&t.log("SKIN: (name, id, createive disp, section)",r.tagName,e,e.startsWith("creative_dispjdx"),"SECTION"===r.tagName),!(!e||"string"!=typeof e||!n.some(t=>e.startsWith("creative_dispjdx")?!("SECTION"!==r.tagName||!this.hasFullWidthStyle(r)):e.startsWith(t)));case this.selectorType.class:return!!(r&&r.classList&&n.some(e=>r.classList.contains(e)));default:return!1}return!1},hasFullWidthStyle(e){const n=e.style,r=window.getComputedStyle(e,null);if(void 0!==n.width){if(t.log("SKIN: Style: Width:",n.width,r.width),"100%"===r.width)return!0;if(parseInt(r.width,10)>1e3)return!0}return!1}},a={newrelic:window.newrelic,userId:window.data_layer.user.hash,user:window.data_layer.user,article:window.data_layer.article,piano:window.data_layer.piano,init(){this.newrelic&&"object"==typeof this.newrelic&&(this.newrelic.setUserId(this.userId?this.userId:null),this.newrelic.setCustomAttribute("is_subscriber",""!==this.user.subscription_plan?"yes":"no"),this.newrelic.setCustomAttribute("is_admin","yes"===this.user.is_admin?"yes":"no"),this.newrelic.setCustomAttribute("is_logged_in","yes"===this.user.is_logged_in?"yes":"no"),this.newrelic.setCustomAttribute("user_was_shown_consent_popup","yes"===this.piano.custom_variables.user_seen_consent_modal?"yes":"no"),this.trackArticlePage())},trackArticlePage(){if(""===this.article.content_level)return;const e=parseInt(this.user.level,10),t=parseInt(this.article.content_level,10);this.newrelic.setCustomAttribute("article_content_level",this.article.content_level),"yes"===this.article.content_is_restricted&&this.newrelic.setCustomAttribute("user_saw_article_gate",t>e?"yes":"no")}};var o=n(92443);const s={primaryNav:"#primary-nav",secondaryNav:"#secondary-nav",subNav:".sub-nav",content:".content",footer:"footer",megaNav:"#mega-menu",megaNavButton:".primary-nav__menu--more-btn",searchButton:"#primary-nav .search-icon",searchField:"#mega-menu .searchbar-input",init(){o(document).ready(()=>{this.bind()})},bind(){o(this.megaNavButton).off().on("click",e=>{e.preventDefault(),o(this.megaNav).show(),o(this.primaryNav).hide(),o(this.secondaryNav).hide(),o(this.subNav).hide(),o(this.content).hide(),o(this.footer).hide(),o("html,body").scrollTop(0)}),o(this.searchButton).off().on("click",e=>{e.preventDefault(),o(this.megaNav).show(),o(this.primaryNav).hide(),o(this.secondaryNav).hide(),o(this.subNav).hide(),o(this.content).hide(),o(this.footer).hide(),o(this.searchField).focus()})}};n(72577);var c=n(92443);const l={topNavPrimaryLinks:"header-primary-links",smallNav:"small-header-top-navigation",classifiedsNav:c("#classifieds-nav"),accountNav:c("#account-nav"),topNavLinks:c("#links-nav"),init(){(document.querySelector(".".concat(this.topNavPrimaryLinks))||document.querySelector(".".concat(this.smallNav)))&&(this.classifiedsNav.on("click",e=>{e.stopPropagation(),this.toggleClassifieds()}),c(document).not(this.classifiedsNav).on("click",()=>{this.toggleClassifieds(!0)}),this.accountNav.on("click",e=>{e.stopPropagation(),this.toggleAccount()}),c(document).not(this.accountNav).on("click",()=>{this.toggleAccount(!0)}),this.topNavLinks.on("click",e=>{e.stopPropagation(),this.toggleTopNavLinks()}),c(document).not(this.topNavLinks).on("click",()=>{this.toggleTopNavLinks(!0)}))},toggleClassifieds(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.classifiedsNav.find(".classifieds-nav-container"),n=this.classifiedsNav.find(".dropdown-icon-closed"),r=this.classifiedsNav.find(".dropdown-icon-open");t.hasClass("open")?(t.removeClass("open"),n.show(),r.hide()):e||(t.addClass("open"),r.show(),n.hide())},toggleAccount(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.accountNav.find(".account-nav-container"),n=this.accountNav.find(".dropdown-icon-closed"),r=this.accountNav.find(".dropdown-icon-open");t.hasClass("open")?(t.removeClass("open"),window.screen.width>579&&(n.show(),r.hide())):e||(t.addClass("open"),window.screen.width>579&&(r.show(),n.hide()))},toggleTopNavLinks(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=this.topNavLinks.find(".links-nav-container"),n=this.topNavLinks.find(".dropdown-icon-closed"),r=this.topNavLinks.find(".dropdown-icon-open");t.hasClass("open")?(t.removeClass("open"),window.screen.width<579&&(n.show(),r.hide())):e||(t.addClass("open"),window.screen.width<579&&(r.show(),n.hide()))}};n(81454);const d={init(e){let n=e.elements,r=e.onInvisible,i=e.onVisible,a=e.callback;const o=n.root,s=n.rootMargin,c=n.target,l=n.threshold;if(!o||!c)throw new Error("root or target is not an element",o,c);new IntersectionObserver((e,n)=>
1{e.forEach(e=>{t.log("Intersection Observer",e,n),"function"==typeof a&&a(e,n),0===e.intersectionRatio&&"function"==typeof r&&r(e,n),0!==e.intersectionRatio&&"function"==typeof i&&i(e,n)})},{root:o,rootMargin:s||"0px",threshold:l||1}).observe(c)}},u={selector:"secondary-nav",init(){const e=document.getElementById("secondary-nav");e&&this.listenToHorizontalScroll(e)},listenToHorizontalScroll(e){const t=e.querySelector("a:last-child");if(!t)return;const n={root:e,target:t,threshold:Array(11).fill().map((e,t)=>.1*t)};d.init({elements:n,onInvisible:()=>{e.classList.contains("mar-bg-transparent")&&e.classList.remove("mar-bg-transparent")},onVisible:t=>{t.intersectionRatio>.75?e.classList.contains("mar-bg-transparent")||e.classList.add("mar-bg-transparent"):e.classList.contains("mar-bg-transparent")&&e.classList.remove("mar-bg-transparent")}})}};n(27495),n(25440);function p(e,t){return function(){return e.apply(t,arguments)}}const{toString:f}=Object.prototype,{getPrototypeOf:h}=Object,{iterator:m,toStringTag:v}=Symbol,g=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),y=(e,t)=>{let n=e;const r=[];for(;null!=n&&n!==Object.prototype;){if(-1!==r.indexOf(n))return!1;if(r.push(n),g(n,t))return!0;n=h(n)}return!1},b=(w=Object.create(null),e=>{const t=f.call(e);return w[t]||(w[t]=t.slice(8,-1).toLowerCase())});var w;const _=e=>(e=e.toLowerCase(),t=>b(t)===e),S=e=>t=>typeof t===e,{isArray:x}=Array,k=S("undefined");function C(e){return null!==e&&!k(e)&&null!==e.constructor&&!k(e.constructor)&&E(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const T=_("ArrayBuffer");const O=S("string"),E=S("function"),A=S("number"),L=e=>null!==e&&"object"==typeof e,I=e=>{if(!L(e))return!1;const t=h(e);return!(null!==t&&t!==Object.prototype&&null!==h(t)||y(e,v)||y(e,m))},R=_("Date"),P=_("File"),N=_("Blob"),D=_("FileList");const j="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},$=void 0!==j.FormData?j.FormData:void 0,M=_("URLSearchParams"),[F,q,B,V]=["ReadableStream","Request","Response","Headers"].map(_);function U(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),x(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(C(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function H(e,t){if(C(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const z="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,W=e=>!k(e)&&e!==z;const J=(K="undefined"!=typeof Uint8Array&&h(Uint8Array),e=>K&&e instanceof K);var K;const G=_("HTMLFormElement"),{propertyIsEnumerable:Y}=Object.prototype,X=_("RegExp"),Q=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};U(n,(n,i)=>{let a;!1!==(a=t(n,i,e))&&(r[i]=a||n)}),Object.defineProperties(e,r)};const Z=_("AsyncFunction"),ee=(te="function"==typeof setImmediate,ne=E(z.postMessage),te?setImmediate:ne?((e,t)=>(z.addEventListener("message",({source:n,data:r})=>{n===z&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),z.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e));var te,ne;const re="undefined"!=typeof queueMicrotask?queueMicrotask.bind(z):"undefined"!=typeof process&&process.nextTick||ee,ie=e=>null!=e&&E(e[m]),ae={isArray:x,isArrayBuffer:T,isBuffer:C,isFormData:e=>{if(!e)return!1;if($&&e instanceof $)return!0;const t=h(e);if(!t||t===Object.prototype)return!1;if(!E(e.append))return!1;const n=b(e);return"formdata"===n||"object"===n&&E(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&T(e.buffer),t},isString:O,isNumber:A,isBoolean:e=>!0===e||!1===e,isObject:L,isPlainObject:I,isEmptyObject:e=>{if(!L(e)||C(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(Qn){return!1}},isReadableStream:F,isRequest:q,isResponse:B,isHeaders:V,isUndefined:k,isDate:R,isFile:P,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:N,isRegExp:X,isFunction:E,isStream:e=>L(e)&&E(e.pipe),isURLSearchParams:M,isTypedArray:J,isFileList:D,forEac
vendor: 21,845 bytes, line 1
1h:U,merge:function e(...t){const{caseless:n,skipUndefined:r}=W(this)&&this||{},i={},a=(t,a)=>{if("__proto__"===a||"constructor"===a||"prototype"===a)return;const o=n&&"string"==typeof a&&H(i,a)||a,s=g(i,o)?i[o]:void 0;I(s)&&I(t)?i[o]=e(s,t):I(t)?i[o]=e({},t):x(t)?i[o]=t.slice():r&&k(t)||(i[o]=t)};for(let o=0,s=t.length;o<s;o++){const e=t[o];if(!e||C(e))continue;if(U(e,a),"object"!=typeof e||x(e))continue;const n=Object.getOwnPropertySymbols(e);for(let t=0;t<n.length;t++){const r=n[t];Y.call(e,r)&&a(e[r],r)}}return i},extend:(e,t,n,{allOwnKeys:r}={})=>(U(t,(t,r)=>{n&&E(t)?Object.defineProperty(e,r,{__proto__:null,value:p(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,o;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],r&&!r(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&h(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:b,kindOfTest:_,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(x(e))return e;let t=e.length;if(!A(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[m]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:G,hasOwnProperty:g,hasOwnProp:g,hasOwnInPrototypeChain:y,getSafeProp:(e,t)=>null!=e&&y(e,t)?e[t]:void 0,reduceDescriptors:Q,freezeMethods:e=>{Q(e,(t,n)=>{if(E(e)&&["arguments","caller","callee"].includes(n))return!1;const r=e[n];E(r)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},r=e=>{e.forEach(e=>{n[e]=!0})};return x(e)?r(e):r(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:H,global:z,isContextDefined:W,isSpecCompliantForm:function(e){return!!(e&&E(e.append)&&"FormData"===e[v]&&e[m])},toJSONObject:e=>{const t=new WeakSet,n=e=>{if(L(e)){if(t.has(e))return;if(C(e))return e;if(!("toJSON"in e)){t.add(e);const r=x(e)?[]:{};return U(e,(e,t)=>{const i=n(e);!k(i)&&(r[t]=i)}),t.delete(e),r}}return e};return n(e)},isAsyncFn:Z,isThenable:e=>e&&(L(e)||E(e))&&E(e.then)&&E(e.catch),setImmediate:ee,asap:re,isIterable:ie,isSafeIterable:e=>null!=e&&y(e,m)&&ie(e)},oe=ae.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]),se=e=>{const t={};let n,r,i;return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&oe[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t};n.dn(se);const ce=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),le=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function de(e,t){return ae.isArray(e)?e.map(e=>de(e,t)):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function ue(e){const t=Object.create(null);return ae.forEach(e.toJSON(),(e,n)=>{t[n]=(e=>de(e,le))(e)}),t}const pe=Symbol("internals");function fe(e){return e&&String(e).trim().toLowerCase()}function he(e){return!1===e||null==e?e:ae.isArray(e)?e.map(he):(e=>de(e,ce))(String(e))}function me(e,t,n,r,i){return ae.isFunction(r)?r.call(this,t,n):(i&&(t=n),ae.isString(t)?ae.isString(r)?-1!==t.indexOf(r):ae.isRegExp(r)?r.test(t):void 0:void 0)}class ve{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=fe(t);if(!i)return;const a=ae.findKey(r,i);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=he(e))}const a=(e,t)=>ae.forEach(e,(e,n)=>i(e,n,t));if(ae.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(ae.isString(e)&&(e=e.trim())&&!(e=>/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))(e))a(se(e),t);else if(ae.isObject(e)&&ae.isSafeIterable(e)){let n,r,i=Object.create(null);for(const t of e){if(!ae.isArray(t))throw new TypeError("Object iterator must return a key-value pair");r=t[0],ae.hasOwnProp(i,r)?(n=i[r],i[r]=ae.isArray(n)?[...n,t[1]]:[n,t[1]]):i[r]=t[1]}a(i,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=fe(e)){const n=ae.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(ae.isFunction(t))return t.call(this,e,n);if(ae.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=fe(e)){const n=ae.findKey(this,e);return!(!n||void 0===this[n]||t&&!me(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=fe(e)){const i=ae.findKey(n,e);!i||t&&!me(0,n[i],i,t)||(delete n[i],r=!0)}}return ae.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!me(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return ae.forEach(this,(r,i)=>{const a=ae.findKey(n,i);if(a)return t[a]=he(r),void delete t[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(i):String(i).trim();o!==i&&delete t[i],t[o]=he(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ae.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&ae.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[pe]=this[pe]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=fe(e);t[r]||(!function(e,t){const n=ae.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{__proto__:null,value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return ae.isArray(e)?e.forEach(r):r(e),this}}ve.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ae.reduceDescriptors(ve.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),ae.freezeMethods(ve);const ge=ve;function ye(e,t){const n=new Set(t.map(e=>String(e).toLowerCase())),r=[],i=e=>{if(null===e||"object"!=typeof e)return e;if(ae.isBuffer(e))return e;if(-1!==r.indexOf(e))return;let t;if(e instanceof ge&&(e=e.toJSON()),r.push(e),ae.isArray(e))t=[],e.forEach((e,n)=>{const r=i(e);ae.isUndefined(r)||(t[n]=r)});else{if(!ae.isPlainObject(e)&&function(e){if(ae.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(ae.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return r.pop(),e;t=Object.create(null);for(const[r,a]of Object.entries(e)){const e=n.has(r.toLowerCase())?"[REDACTED ****]":i(a);ae.isUndefined(e)||(t[r]=e)}}return r.pop(),t};return i(e)}class be extends Error{static from(e,t,n,r,i,a){const o=new be(e.message,t||e.code,n,r,i);return o.cause=e,o.name=e.name,null!=e.status&&null==o.status&&(o.status=e.status),a&&Object.assign(o,a),o}constructor(e,t,n,r,i){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){const e=this.config,t=e&&ae.hasOwnProp(e,"redact")?e.redact:void 0,n=ae.isArray(t)&&t.length>0?ye(e,t):ae.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}be.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",be.ERR_BAD_OPTION="ERR_BAD_OPTION",be.ECONNABORTED="ECONNABORTED",be.ETIMEDOUT="ETIMEDOUT",be.ECONNREFUSED="ECONNREFUSED",be.ERR_NETWORK="ERR_NETWORK",be.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",be.ERR_DEPRECATED="ERR_DEPRECATED",be.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",be.ERR_BAD_REQUEST="ERR_BAD_REQUEST",be.ERR_CANCELED="ERR_CANCELED",be.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",be.ERR_INVALID_URL="ERR_INVALID_URL",be.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";const we=be;function _e(e){return ae.isPlainObject(e)||ae.isArray(e)}function Se(e){return ae.endsWith(e,"[]")?e.slice(0,-2):e}function xe(e,t,n){return e?e.concat(t).map(function(e,t){return e=Se(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const ke=ae.toFlatObject(ae,{},null,function(e){return/^is[A-Z]/.test(e)});const Ce=function(e,t,n){if(!ae.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=ae.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ae.isUndefined(t[e])})).metaTokens,i=n.visitor||f,a=n.dots,o=n.indexes,s=n.Blob||"undefined"!=typeof Blob&&Blob,c=void 0===n.maxDepth?100:n.maxDepth,l=s&&ae.isSpecCompliantForm(t),d=[];if(!ae.isFunction(i))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(ae.isDate(e))return e.toISOString();if(ae.isBoolean(e))return e.toString();if(!l&&ae.isBlob(e))throw new we("Blob is not supported. Use a Buffer instead.");return ae.isArrayBuffer(e)||ae.isTypedArray(e)?l&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function p(e){if(e>c)throw new we("Object is too deeply nested ("+e+" levels). Max depth: "+c,we.ERR_FORM_DATA_DEPTH_EXCEEDED)}function f(e,n,i){let s=e;if(ae.isReactNative(t)&&ae.isReactNativeBlob(e))return t.append(xe(i,n,a),u(e)),!1;if(e&&!i&&"object"==typeof e)if(ae.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=function(e,t){if(c===1/0)return JSON.stringify(e);const n=[];return JSON.stringify(e,function(e,r){if(!ae.isObject(r))return r;for(;n.length&&n[n.length-1]!==this;)n.pop();return n.push(r),p(t+n.length-1),r})}(e,1);else if(ae.isArray(e)&&function(e){return ae.isArray(e)&&!e.some(_e)}(e)||(ae.isFileList(e)||ae.endsWith(n,"[]"))&&(s=ae.toArray(e)))return n=Se(n),s.forEach(function(e,r){!ae.isUndefined(e)&&null!==e&&t.append(!0===o?xe([n],r,a):null===o?n:n+"[]",u(e))}),!1;return!!_e(e)||(t.append(xe(i,n,a),u(e)),!1)}const h=Object.assign(ke,{defaultVisitor:f,convertValue:u,isVisitable:_e});if(!ae.isObject(e))throw new TypeError("data must be an object");return function e(n,r,a=0){if(!ae.isUndefined(n)){if(p(a),-1!==d.indexOf(n))throw new Error("Circular reference detected in "+r.join("."));d.push(n),ae.forEach(n,function(n,o){!0===(!(ae.isUndefined(n)||null===n)&&i.call(t,n,ae.isString(o)?o.trim():o,r,h))&&e(n,r?r.concat(o):[o],a+1)}),d.pop()}}(e),t};function Te(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function Oe(e,t){this._pairs=[],e&&Ce(e,this,t)}const Ee=Oe.prototype;Ee.append=function(e,t){this._pairs.push([e,t])},Ee.toString=function(e){const t=e?function(t){return e.call(this,t,Te)}:Te;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};const Ae=Oe;function Le(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Ie(e,t,n){if(!t)return e;const r=ae.isFunction(n)?{serialize:n}:n,i=ae.getSafeProp(r,"encode")||Le,a=ae.getSafeProp(r,"serialize");let o;if(o=a?a(t,r):ae.isURLSearchParams(t)?t.toString():new Ae(t,r).toString(i),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}const Re=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ae.forEach(this.handlers,function(t){null!==t&&e(t)})}},Pe={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1,validateStatusUndefinedResolves:!0},Ne={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:Ae,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]},De="undefined"!=typeof window&&"undefined"!=typeof document,je="object"==typeof navigator&&navigator||void 0,$e=De&&(!je||["ReactNative","NativeScript","NS"].indexOf(je.product)<0),Me="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Fe=De&&window.location.href||"http://localhost",qe={...e,...Ne};function Be(e){if(e>100)throw new we("FormData field is too deeply nested ("+e+" levels). Max depth: 100",we.ERR_FORM_DATA_DEPTH_EXCEEDED)}const Ve=function(e){function t(e,n,r,i){Be(i);let a=e[i++];if("__proto__"===a)return!0;const o=Number.isFinite(+a),s=i>=e.length;if(a=!a&&ae.isArray(r)?r.length:a,s)return ae.hasOwnProp(r,a)?r[a]=ae.isArray(r[a])?r[a].concat(n):[r[a],n]:r[a]=n,!o;ae.hasOwnProp(r,a)&&ae.isObject(r[a])||(r[a]=[]);return t(e,n,r[a],i)&&ae.isArray(r[a])&&(r[a]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}(r[a])),!o}if(ae.isFormData(e)&&ae.isFunction(e.entries)){const n={};return ae.forEachEntry(e,(e,r)=>{t(function(e){const t=[],n=/\w+|\[(\w*)]/g;let r;for(;null!==(r=n.exec(e));)Be(t.length),t.push("[]"===r[0]?"":r[1]||r[0]);return t}(e),r,n,0)}),n}return null},Ue=(e,t)=>null!=e&&ae.hasOwnProp(e,t)?e[t]:void 0;const He={transitional:Pe,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=ae.isObject(e);i&&ae.isHTMLForm(e)&&(e=new FormData(e));if(ae.isFormData(e))return r?JSON.stringify(Ve(e)):e;if(ae.isArrayBuffer(e)||ae.isBuffer(e)||ae.isStream(e)||ae.isFile(e)||ae.isBlob(e)||ae.isReadableStream(e))return e;if(ae.isArrayBufferView(e))return e.buffer;if(ae.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){const t=Ue(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Ce(e,new qe.classes.URLSearchParams,{visitor:function(e,t,n,r){return qe.isNode&&ae.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((a=ae.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Ue(this,"env"),r=n&&n.FormData;return Ce(a?{"files[]":e}:e,r&&new r,t)}}return i||r?(t.setContentType("application/json",!1),function(e,t,n){if(ae.isString(e))try{return(t||JSON.parse)(e),ae.trim(e)}catch(Qn){if("SyntaxError"!==Qn.name)throw Qn}return(n||JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Ue(this,"transitional")||He.transitional,n=t&&t.forcedJSONParsing,r=Ue(this,"responseType"),i="json"===r;if(ae.isResponse(e)||ae.isReadableStream(e))return e;if(e&&ae.isString(e)&&(n&&!r||i)){const n=!(t&&t.silentJSONParsing)&&i;try{return JSON.parse(e,Ue(this,"parseReviver"))}catch(Qn){if(n){if("SyntaxError"===Qn.name)throw we.from(Qn,we.ERR_BAD_RESPONSE,this,null,Ue(this,"response"));throw Qn}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:qe.classes.FormData,Blob:qe.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ae.forEach(["delete","get","head","post","put","patch","query"],e=>{He.headers[e]={}});const ze=He;function We(e,t){const n=this||ze,r=t||n,i=ge.from(r.headers);let a=r.data;return ae.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Je(e){return!(!e||!e.__CANCEL__)}const Ke=class extends we{constructor(e,t,n){super(null==e?"canceled":e,we.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Ge(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new we("Request failed with status code "+n.status,n.status>=400&&n.status<500?we.ERR_BAD_REQUEST:we.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}const Ye=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,a=0,o=0;return t=void 0!==t?t:1e3,function(s){const c=Date.now(),l=r[o];i||(i=c),n[a]=s,r[a]=c;let d=o,u=0;for(;d!==a;)u+=n[d++],d%=e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),c-i<t)return;const p=l&&c-l;return p?Math.round(1e3*u/p):void 0}};const Xe=function(e,t){let n,r,i=0,a=1e3/t;const o=(t,a=Date.now())=>{i=a,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=a?o(e,t):(n=e,r||(r=setTimeout(()=>{r=null,o(n)},a-s)))},()=>n&&o(n)]},Qe=(e,t,n=3)=>{let r=0;const i=Ye(50,250);return Xe(n=>{if(!n||"number"!=typeof n.loaded)return;const a=n.loaded,o=n.lengthComputable?n.total:void 0,s=null!=o?Math.min(a,o):a,c=Math.max(0,s-r),l=i(c);r=Math.max(r,s);e({loaded:s,total:o,progress:o?s/o:void 0,bytes:c,rate:l||void 0,estimated:l&&o?(o-s)/l:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},Ze=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},et=e=>(...t)=>ae.asap(()=>e(...t)),tt=qe.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,qe.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(qe.origin),qe.navigator&&/(msie|trident)/i.test(qe.navigator.userAgent)):()=>!0,nt=qe.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];ae.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),ae.isString(r)&&s.push(`path=${r}`),ae.isString(i)&&s.push(`domain=${i}`),!0===a&&s.push("secure"),ae.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const r=t[n].replace(/^\s+/,""),i=r.indexOf("=");if(-1!==i&&r.slice(0,i)===e)return decodeURIComponent(r.slice(i+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read:()=>null,remove(){}};const rt=/^https?:(?!\/\/)/i,it=/[\t\n\r]/g;function at(e,t){if("string"==typeof e&&rt.test(function(e){return function(e){let t=0;for(;t<e.length&&e.charCodeAt(t)<=32;)t++;return e.slice(t)}(e).replace(it,"")}(e)))throw new we('Invalid URL: missing "//" after protocol',we.ERR_INVALID_URL,t)}function ot(e,t,n,r){at(t,r);let i=!("string"==typeof(a=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(a));var a;return e&&(i||!1===n)?(at(e,r),function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t)):t}const st=e=>e instanceof ge?{...e}:e;function ct(e,t){t=t||{};const n=Object.create(null);function r(e,t,n,r){return ae.isPlainObject(e)&&ae.isPlainObject(t)?ae.merge.call({caseless:r},e,t):ae.isPlainObject(t)?ae.merge({},t):ae.isArray(t)?t.slice():t}function i(e,t,n,i){return ae.isUndefined(t)?ae.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function a(e,t){if(!ae.isUndefined(t))return r(void 0,t)}function o(e,t){return ae.isUndefined(t)?ae.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,a){return ae.hasOwnProp(t,a)?r(n,i):ae.hasOwnProp(e,a)?r(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const c={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,allowedSocketPaths:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>i(st(e),st(t),0,!0)};return ae.forEach(Object.keys({...e,...t}),function(r){if("__proto__"===r||"constructor"===r||"prototype"===r)return;const a=ae.hasOwnProp(c,r)?c[r]:i,o=a(ae.hasOwnProp(e,r)?e[r]:void 0,ae.hasOwnProp(t,r)?t[r]:void 0,r);ae.isUndefined(o)&&a!==s||(n[r]=o)}),ae.hasOwnProp(t,"validateStatus")&&ae.isUndefined(t.validateStatus)&&!1===function(n){const r=ae.hasOwnProp(t,"transitional")?t.transitional:void 0;if(!ae.isUndefined(r)){if(!ae.isPlainObject(r))return;if(ae.hasOwnProp(r,n))return r[n]}const i=ae.hasOwnProp(e,"transitional")?e.transitional:void 0;if(ae.isPlainObject(i)&&ae.hasOwnProp(i,n))return i[n]}("validateStatusUndefinedResolves")&&(ae.hasOwnProp(e,"validateStatus")?n.validateStatus=r(void 0,e.validateStatus):delete n.val
1idateStatus),n}const lt=["content-type","content-length"];const dt=function(e){const t=ct({},e),n=e=>ae.hasOwnProp(t,e)?t[e]:void 0,r=n("data");let i=n("withXSRFToken");const a=n("xsrfHeaderName"),o=n("xsrfCookieName");let s=n("headers");const c=n("auth"),l=n("baseURL"),d=n("allowAbsoluteUrls"),u=n("url");if(t.headers=s=ge.from(s),t.url=Ie(ot(l,u,d,t),n("params"),n("paramsSerializer")),c){const e=ae.getSafeProp(c,"username")||"",t=ae.getSafeProp(c,"password")||"";s.set("Authorization","Basic "+btoa(e+":"+(t?(e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))(t):"")))}if(ae.isFormData(r)&&(qe.hasStandardBrowserEnv||qe.hasStandardBrowserWebWorkerEnv||ae.isReactNative(r)?s.setContentType(void 0):ae.isFunction(r.getHeaders)&&function(e,t,n){"content-only"===n?Object.entries(t).forEach(([t,n])=>{lt.includes(t.toLowerCase())&&e.set(t,n)}):e.set(t)}(s,r.getHeaders(),n("formDataHeaderPolicy"))),qe.hasStandardBrowserEnv){ae.isFunction(i)&&(i=i(t));if(!0===i||null==i&&tt(t.url)){const e=a&&o&&nt.read(o);e&&s.set(a,e)}}return t},ut="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=dt(e);let i=r.data;const a=ge.from(r.headers).normalize();let o,s,c,l,d,{responseType:u,onUploadProgress:p,onDownloadProgress:f}=r;function h(){l&&l(),d&&d(),r.cancelToken&&r.cancelToken.unsubscribe(o),r.signal&&r.signal.removeEventListener("abort",o)}let m=new XMLHttpRequest;function v(){if(!m)return;const r=ge.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Ge(function(e){t(e),h()},function(e){n(e),h()},{data:u&&"text"!==u&&"json"!==u?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=v:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&m.responseURL.startsWith("file:"))&&setTimeout(v)},m.onabort=function(){m&&(n(new we("Request aborted",we.ECONNABORTED,e,m)),h(),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",i=new we(r,we.ERR_NETWORK,e,m);i.event=t||null,n(i),h(),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||Pe;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new we(t,i.clarifyTimeoutError?we.ETIMEDOUT:we.ECONNABORTED,e,m)),h(),m=null},void 0===i&&a.setContentType(null),"setRequestHeader"in m&&ae.forEach(ue(a),function(e,t){m.setRequestHeader(t,e)}),ae.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),u&&"json"!==u&&(m.responseType=r.responseType),f&&([c,d]=Qe(f,!0),m.addEventListener("progress",c)),p&&m.upload&&([s,l]=Qe(p),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",l)),(r.cancelToken||r.signal)&&(o=t=>{m&&(n(!t||t.type?new Ke(null,e,m):t),m.abort(),h(),m=null)},r.cancelToken&&r.cancelToken.subscribe(o),r.signal&&(r.signal.aborted?o():r.signal.addEventListener("abort",o))
vendor: 14,250 bytes, line 1
1);const g=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(r.url);!g||qe.protocols.includes(g)?m.send(i||null):n(new we("Unsupported protocol "+g+":",we.ERR_BAD_REQUEST,e))})},pt=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let r=!1;const i=function(e){if(!r){r=!0,o();const t=e instanceof Error?e:this.reason;n.abort(t instanceof we?t:new Ke(t instanceof Error?t.message:t))}};let a=t&&setTimeout(()=>{a=null,i(new we(`timeout of ${t}ms exceeded`,we.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));const{signal:s}=n;return s.unsubscribe=()=>ae.asap(o),s},ft=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},ht=async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}},mt=(e,t,n,r)=>{const i=async function*(e,t){for await(const n of ht(e))yield*ft(n,t)}(e,t);let a,o=0,s=e=>{a||(a=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let a=r.byteLength;if(n){let e=o+=a;n(e)}e.enqueue(new Uint8Array(r))}catch(t){throw s(t),t}},cancel:e=>(s(e),i.return())},{highWaterMark:2})},vt=e=>e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102,gt=(e,t,n)=>t+2<n&&vt(e.charCodeAt(t+1))&&vt(e.charCodeAt(t+2));const yt="1.18.0",{isFunction:bt}=ae,wt=e=>{if(!ae.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},_t=(e,...t)=>{try{return!!e(...t)}catch(Qn){return!1}},St=e=>{const t=void 0!==ae.global&&null!==ae.global?ae.global:globalThis,{ReadableStream:n,TextEncoder:r}=t;e=ae.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:i,Request:a,Response:o}=e,s=i?bt(i):"function"==typeof fetch,c=bt(a),l=bt(o);if(!s)return!1;const d=s&&bt(n),u=s&&("function"==typeof r?(p=new r,e=>p.encode(e)):async e=>new Uint8Array(await new a(e).arrayBuffer()));var p;const f=c&&d&&_t(()=>{let e=!1;const t=new a(qe.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),r=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!r}),h=l&&d&&_t(()=>ae.isReadableStream(new o("").body)),m={stream:h&&(e=>e.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new we(`Response type '${e}' is not supported`,we.ERR_NOT_SUPPORT,n)})});const v=async e=>{if(null==e)return 0;if(ae.isBlob(e))return e.size;if(ae.isSpecCompliantForm(e)){const t=new a(qe.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ae.isArrayBufferView(e)||ae.isArrayBuffer(e)?e.byteLength:(ae.isURLSearchParams(e)&&(e+=""),ae.isString(e)?(await u(e)).byteLength:void 0)};return async e=>{let{url:t,method:n,data:s,signal:l,cancelToken:u,timeout:p,onDownloadProgress:g,onUploadProgress:y,responseType:b,headers:w,withCredentials:_="same-origin",fetchOptions:S,maxContentLength:x,maxBodyLength:k}=dt(e);const C=ae.isNumber(x)&&x>-1,T=ae.isNumber(k)&&k>-1;let O=i||fetch;b=b?(b+"").toLowerCase():"text";let E=pt([l,u&&u.toAbortSignal()],p),A=null;const L=E&&E.unsubscribe&&(()=>{E.unsubscribe()});let I,R=null;const P=()=>new we("Request body larger than maxBodyLength limit",we.ERR_BAD_REQUEST,e,A);try{let i;const l=(N="auth",ae.hasOwnProp(e,N)?e[N]:void 0);if(l){const e=ae.getSafeProp(l,"username")||"";i={username:e,password:ae.getSafeProp(l,"password")||""}}if((e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")})(t)){const e=new URL(t,qe.origin);if(!i&&(e.username||e.password)){const t=wt(e.username);i={username:t,password:wt(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(i&&(w.delete("authorization"),w.set("Authorization","Basic "+btoa((e=>encodeURIComponent(e).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))((i.username||"")+":"+(i.password||""))))),C&&"string"==typeof t&&t.startsWith("data:")){const n=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),r=e.slice(t+1);if(/;base64/i.test(n)){let e=r.length;const t=r.length;for(let s=0;s<t;s++)if(37===r.charCodeAt(s)&&s+2<t){const t=r.charCodeAt(s+1),n=r.charCodeAt(s+2);vt(t)&&vt(n)&&(e-=2,s+=2)}let n=0,i=t-1;const a=e=>e>=2&&37===r.charCodeAt(e-2)&&51===r.charCodeAt(e-1)&&(68===r.charCodeAt(e)||100===r.charCodeAt(e));i>=0&&(61===r.charCodeAt(i)?(n++,i--):a(i)&&(n++,i-=3)),1===n&&i>=0&&(61===r.charCodeAt(i)||a(i))&&n++;const o=3*Math.floor(e/4)-(n||0);return o>0?o:0}let i=0;for(let a=0,o=r.length;a<o;a++){const e=r.charCodeAt(a);if(37===e&>(r,a,o))i+=1,a+=2;else if(e<128)i+=1;else if(e<2048)i+=2;else if(e>=55296&&e<=56319&&a+1<o){const e=r.charCodeAt(a+1);e>=56320&&e<=57343?(i+=4,a++):i+=3}else i+=3}return i}(t);if(n>x)throw new we("maxContentLength size of "+x+" exceeded",we.ERR_BAD_RESPONSE,e,A)}if(T&&"get"!==n&&"head"!==n){const e=await v(s);if("number"==typeof e&&isFinite(e)&&(I=e,e>k))throw P()}const u=T&&(ae.isReadableStream(s)||ae.isStream(s)),p=(e,t,n)=>mt(e,65536,e=>{if(T&&e>k)throw R=P();t&&t(e)},n);if(f&&"get"!==n&&"head"!==n&&(y||u)){if(I=null==I?await(async(e,t)=>{const n=ae.toFiniteNumber(e.getContentLength());return null==n?v(t):n})(w,s):I,0!==I||u){let e,n=new a(t,{method:"POST",body:s,duplex:"half"});if(ae.isFormData(s)&&(e=n.headers.get("content-type"))&&w.setContentType(e),n.body){const[e,t]=y&&Ze(I,Qe(et(y)))||[];s=p(n.body,e,t)}}}else if(u&&!c&&d&&"get"!==n&&"head"!==n)s=p(s);else if(u&&c&&!f&&"get"!==n&&"head"!==n)throw new we("Stream request bodies are not supported by the current fetch implementation",we.ERR_NOT_SUPPORT,e,A);ae.isString(_)||(_=_?"include":"omit");const D=c&&"credentials"in a.prototype;if(ae.isFormData(s)){const e=w.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&w.delete("content-type")}w.set("User-Agent","axios/"+yt,!1);const j={...S,signal:E,method:n.toUpperCase(),headers:ue(w.normalize()),body:s,duplex:"half",credentials:D?_:void 0};A=c&&new a(t,j);let $=await(c?O(A,S):O(t,j));const M=ge.from($.headers);if(C){const t=ae.toFiniteNumber(M.getContentLength());if(null!=t&&t>x)throw new we("maxContentLength size of "+x+" exceeded",we.ERR_BAD_RESPONSE,e,A)}const F=h&&("stream"===b||"response"===b);if(h&&$.body&&(g||C||F&&L)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=$[e]});const n=ae.toFiniteNumber(M.getContentLength()),[r,i]=g&&Ze(n,Qe(et(g),!0))||[];let a=0;const s=t=>{if(C&&(a=t,a>x))throw new we("maxContentLength size of "+x+" exceeded",we.ERR_BAD_RESPONSE,e,A);r&&r(t)};$=new o(mt($.body,65536,s,()=>{i&&i(),L&&L()}),t)}b=b||"text";let q=await m[ae.findKey(m,b)||"text"]($,e);if(C&&!h&&!F){let t;if(null!=q&&("number"==typeof q.byteLength?t=q.byteLength:"number"==typeof q.size?t=q.size:"string"==typeof q&&(t="function"==typeof r?(new r).encode(q).byteLength:q.length)),"number"==typeof t&&t>x)throw new we("maxContentLength size of "+x+" exceeded",we.ERR_BAD_RESPONSE,e,A)}return!F&&L&&L(),await new Promise((t,n)=>{Ge(t,n,{data:q,headers:ge.from($.headers),status:$.status,statusText:$.statusText,config:e,request:A})})}catch(D){if(L&&L(),E&&E.aborted&&E.reason instanceof we){const t=E.reason;throw t.config=e,A&&(t.request=A),D!==t&&(t.cause=D),t}if(R)throw A&&!R.request&&(R.request=A),R;if(D instanceof we)throw A&&!D.request&&(D.request=A),D;if(D&&"TypeError"===D.name&&/Load failed|fetch/i.test(D.message))throw Object.assign(new we("Network Error",we.ERR_NETWORK,e,A,D&&D.response),{cause:D.cause||D});throw we.from(D,D&&D.code,e,A,D&&D.response)}var N}},xt=new Map,kt=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,a=[r,i,n];let o,s,c=a.length,l=xt;for(;c--;)o=a[c],s=l.get(o),void 0===s&&l.set(o,s=c?new Map:St(t)),l=s;return s},Ct=(kt(),{http:null,xhr:ut,fetch:{get:kt}});ae.forEach(Ct,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(Qn){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Tt=e=>`- ${e}`,Ot=e=>ae.isFunction(e)||null===e||!1===e;const Et={getAdapter:function(e,t){e=ae.isArray(e)?e:[e];const{length:n}=e;let r,i;const a={};for(let o=0;o<n;o++){let n;if(r=e[o],i=r,!Ot(r)&&(i=Ct[(n=String(r)).toLowerCase()],void 0===i))throw new we(`Unknown adapter '${n}'`);if(i&&(ae.isFunction(i)||(i=i.get(t))))break;a[n||"#"+o]=i}if(!i){const e=Object.entries(a).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(Tt).join("\n"):" "+Tt(e[0]):"as no adapter specified";throw new we("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return i},adapters:Ct};function At(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Ke(null,e)}function Lt(e){At(e),e.headers=ge.from(e.headers),e.data=We.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1);return Et.getAdapter(e.adapter||ze.adapter,e)(e).then(function(t){At(e),e.response=t;try{t.data=We.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=ge.from(t.headers),t},function(t){if(!Je(t)&&(At(e),t&&t.response)){e.response=t.response;try{t.response.data=We.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=ge.from(t.response.headers)}return Promise.reject(t)})}const It={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{It[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const Rt={};It.transitional=function(e,t,n){function r(e,t){return"[Axios v"+yt+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>{if(!1===e)throw new we(r(i," has been removed"+(t?" in "+t:"")),we.ERR_DEPRECATED);return t&&!Rt[i]&&(Rt[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}},It.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};const Pt={assertOptions:function(e,t,n){if("object"!=typeof e)throw new we("options must be an object",we.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=Object.prototype.hasOwnProperty.call(t,a)?t[a]:void 0;if(o){const t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new we("option "+a+" must be "+n,we.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new we("Unknown option "+a,we.ERR_BAD_OPTION)}},validators:It},Nt=Pt.validators;class Dt{constructor(e){this.defaults=e||{},this.interceptors={request:new Re,response:new Re}}async request(e,t){try{return await this._request(e,t)}catch(n){if(n instanceof Error){let e={};Error.captureStackTrace?Error.captureStackTrace(e):e=new Error;const t=(()=>{if(!e.stack)return"";const t=e.stack.indexOf("\n");return-1===t?"":e.stack.slice(t+1)})();try{if(n.stack){if(t){const e=t.indexOf("\n"),r=-1===e?-1:t.indexOf("\n",e+1),i=-1===r?"":t.slice(r+1);String(n.stack).endsWith(i)||(n.stack+="\n"+t)}}else n.stack=t}catch(Qn){}}throw n}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=ct(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&Pt.assertOptions(n,{silentJSONParsing:Nt.transitional(Nt.boolean),forcedJSONParsing:Nt.transitional(Nt.boolean),clarifyTimeoutError:Nt.transitional(Nt.boolean),legacyInterceptorReqResOrdering:Nt.transitional(Nt.boolean),advertiseZstdAcceptEncoding:Nt.transitional(Nt.boolean),validateStatusUndefinedResolves:Nt.transitional(Nt.boolean)},!1),null!=r&&(ae.isFunction(r)?t.paramsSerializer={serialize:r}:Pt.assertOptions(r,{encode:Nt.function,serialize:Nt.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Pt.assertOptions(t,{baseUrl:Nt.spelling("baseURL"),withXsrfToken:Nt.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&ae.merge(i.common,i[t.method]);i&&ae.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete i[e]}),t.headers=ge.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||Pe;n&&n.legacyInterceptorReqResOrdering?o.unshift(e.fulfilled,e.rejected):o.push(e.fulfilled,e.rejected)});const c=[];let l;this.interceptors.response.forEach(function(e){c.push(e.fulfilled,e.rejected)});let d,u=0;if(!s){const e=[Lt.bind(this),void 0];for(e.unshift(...o),e.push(...c),d=e.length,l=Promise.resolve(t);u<d;)l=l.then(e[u++],e[u++]);return l}d=o.length;let p=t;for(;u<d;){const e=o[u++],t=o[u++];try{p=e(p)}catch(f){t.call(this,f);break}}try{l=Lt.call(this,p)}catch(f){return Promise.reject(f)}for(u=0,d=c.length;u<d;)l=l.then(c[u++],c[u++]);return l}getUri(e){return Ie(ot((e=ct(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls,e),e.params,e.paramsSerializer)}}ae.forEach(["delete","get","head","options"],function(e){Dt.prototype[e]=function(t,n){return this.request(ct(n||{},{method:e,url:t,data:n&&ae.hasOwnProp(n,"data")?n.data:void 0}))}}),ae.forEach(["post","put","patch","query"],function(e){function t(t){return function(n,r,i){return this.request(ct(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}Dt.prototype[e]=t(),"query"!==e&&(Dt.prototype[e+"Form"]=t(!0))});const jt=Dt;class $t{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new Ke(e,r,i),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}
1subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;return{token:new $t(function(t){e=t}),cancel:e}}}const Mt=$t;const Ft={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Ft).forEach(([e,t])=>{Ft[t]=e});const qt=Ft;const Bt=function e(t){const n=new jt(t),r=p(jt.prototype.request,n);return ae.extend(r,jt.prototype,n,{allOwnKeys:!0}),ae.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(ct(t,n))},r}(ze);Bt.Axios=jt,Bt.CanceledError=Ke,Bt.CancelToken=Mt,Bt.isCancel=Je,Bt.VERSION=yt,Bt.toFormData=Ce,Bt.AxiosError=we,Bt.Cancel=Bt.CanceledError,Bt.all=function(e){return Promise.all(e)},Bt.spread=function(e){return function(t){return e.apply(null,t)}}
1,Bt.isAxiosError=function(e){return ae.isObject(e)&&!0===e.isAxiosError},Bt.mergeConfig=ct,Bt.AxiosHeaders=ge,Bt.formToJSON=e=>Ve(ae.isHTMLForm(e)?new FormData(e):e),Bt.getAdapter=Et.getAdapter,Bt.HttpStatusCode=qt,Bt.default=Bt;const Vt=Bt;var Ut=n(92443);const Ht={mostPopularData:[],trendingData:[],triesForData:0,showOverlay:!0,showOverlayAfterStickyAd:!1,overlayTimesTriggered:0,overlayPosition:null,overlayActive:!1,delayLoad:!0,overlayData:null,nextUpContainer:null,topTriggerEl:Ut("#module-content"),bottomTriggerEl:Ut(".footer-outer"),md:null,prevScroll:0,trackEvents:!1,async init(){},setMostPopular(e){const t=[];Ut.each(e.html["Most read"].data,(e,n)=>{const r={label:""};if(0===t.length)r.label="Most popular";else if(10===t.length)return;r.url=n.link.replace("?ref=mr","?ref=nuo"),r.img="".concat(n.imageUri,"?type=nile-list"),r.headline=n.headline,r.type="most-popular",r.num=t.length+1,t.push(r)}),this.mostPopularData=t},setTrending(e){const t=[];Ut.each(e.articles,(e,n)=>{const r={label:""};if(0===t.length)r.label="Trending";else if(10===t.length)return;r.url="".concat(n.url,"&ref=nuo"),r.img="".concat(n.imagePath,"?type=mc1&htype=").concat(n.rectThumbnailType),r.headline=n.headline,r.type="trending",r.num="",t.push(r)}),this.trendingData=t},initOverlayDisplay(){if(Ut(".mar-leaderboard--top").hasClass("mar-leaderboard--fixed-top"))window.setTimeout(()=>{this.initOverlayDisplay()},300);else if(10!==this.triesForData){if(0===this.mostPopularData.length||0===this.trendingData.length)return this.triesForData+=1,void window.setTimeout(()=>{this.initOverlayDisplay()},500);this.overlayData=this.trendingData.concat(this.mostPopularData),this.generateEl(),this.createScrollEventHandler(),this.createResizeEventHandler()}},stickyAdClosedTrigger(){this.showOverlayAfterStickyAd&&this.initOverlayDisplay()},createResizeEventHandler(){let e=!1;Ut(window).on("resize",()=>{e&&window.clearTimeout(e),e=window.setTimeout(()=>{Ut(".header-sticky-articles__carousel .slick-slide h3 a").each((e,t)=>{Ut(t).text(this.overlayData[e].headline),this.multiLneEllipsis(Ut(t))})},200)})},createScrollEventHandler(){let e=!1;Ut(window).on("scroll",()=>{e&&window.clearTimeout(e),e=window.setTimeout(()=>{const e=this.topTriggerEl.offset().top,t=this.bottomTriggerEl.offset().top-Ut(window).height(),n=Ut(window).scrollTop();Ut.cookie("next_up_close_clicked")||(Ut(".mar-leaderboard--top").hasClass("mar-leaderboard--fixed-top")?this.hideOverlay():(n<e&&this.overlayActive&&"top"===this.overlayPosition||n>t&&this.overlayActive&&"bottom"===this.overlayPosition?this.hideOverlay():n>e&&!this.overlayActive&&this.displayOverlay(),this.prevScroll=n))},250)})},checkScrollUp:(e,t)=>!(e>
1t),generateEl(){if(Ut(".header-sticky-articles").length>0)return;const e=Ut('<div class="header-sticky-articles"></div>'),t=Ut('<div class="header-sticky-articles__wrapper"></div>'),n=Ut('<div class="header-sticky-articles__carousel"></div>'),r=Ut('<div class="header-sticky-articles__close-button"><span class="iconify" data-icon="ep:close-bold"></span></div>');Ut.each(this.overlayData,(e,t)=>{const r=Ut('\n <div class="header-sticky-articles__carousel-item">\n '.concat(t.num?'<div class="header-sticky-articles__num">'.concat(t.num,"</div>"):"",'\n <div class="header-sticky-articles__slide-row">\n <div class="header-sticky-articles__slide-left">\n <a href="').concat(t.url,'">\n <img alt="').concat(t.headline,'" src="').concat(t.img,'"/>\n </a>\n </div>\n <div class="header-sticky-articles__slide-right">\n <h3>\n ').concat(t.label?'<div class="header-sticky-articles__slide-label">'.concat(t.label,"</div>"):"",'\n <a href="').concat(t.url,'">').concat(t.headline,"</a>\n </h3>\n </div>\n </div>\n </div>"));n.append(r)}),e.append(t),t.append(n),"top"===this.overlayPosition?e.addClass("header-sticky-articles--pos-top"):e.addClass("header-sticky-articles--pos-bottom"),Ut("body").append(e),Ut(".header-sticky-articles__carousel").slick({infinite:!1,slidesToShow:3,slidesToScroll:3,prevArrow:'<button type="button" class="slick-prev"><span class="iconify" data-icon="akar-icons:chevron-left"></span></button>',nextArrow:'<button type="button" class="slick-next"><span class="iconify" data-icon="akar-icons:chevron-right"></span></button>',speed:500,responsive:[{breakpoint:992,settings:{slidesToShow:2,slidesToScroll:2}},{breakpoint:576,settings:{slidesToShow:1,slidesToScroll:1,prevArrow:!1,nextArrow:!1}}]}),this.nextUpContainer=Ut(".header-sticky-articles"),t.append(r),this.bind()},displayOverlay(){this.overlayActive=!0,this.delayLoad=!1;let e="60px";if("top"===this.overlayPosition&&(e="140px"),0===this.overlayTimesTriggered&&Ut(".header-sticky-articles__carousel .slick-slide h3 a").each((e,t)=>{this.multiLneEllipsis(Ut(t))}),"top"===this.overlayPosition){let e="60px";Ut(window).width()<=768&&(e="60px"),this.nextUpContainer.stop().animate({opacity:1,top:e},300)}else this.nextUpContainer.stop().animate({opacity:1,bottom:"0"},300);0===this.overlayTimesTriggered&&this.trackEvents&&(window.s.events="event27",window.s.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar28,events",window.s.linkTrackEvents="event27",window.s.suppressPageView=!0,window.s.tl(!0,"o","Next Up Overlay")),this.overlayTimesTriggered+=1,Ut(".block-article-content__info-container").stop().animate({top:e},250)},hideOverlay(){this.overlayActive=!1,"top"===this.overlayPosition?this.nextUpContainer.stop().animate({opacity:1,top:"-140px"},300):this.nextUpContainer.stop().animate({opacity:1,bottom:"-140px"},200),Ut(".block-article-content__info-container").stop().animate({top:"20px"},250)},multiLneEllipsis(e){const t=e.parent().height();for(;e.outerHeight()>t;)e.text((e,t)=>t.replace(/\W*\s(\S)*$/,"..."))},bind(){this.trackEvents&&(this.nextUpContainer.on("click",".header-sticky-articles__close-button",()=>{window.s.events="event28",window.s.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar28,events",window.s.linkTrackEvents="event28",window.s.suppressPageView=!0,window.s.tl(!0,"o","Close Next Up Overlay")}),Ut(".header-sticky-articles__carousel").on("click","a",()=>{window.s.events="event25",window.s.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar28,events",window.s.linkTrackEvents="event25",window.s.suppressPageView=!0,window.s.tl(!0,"o","Article Clicked In Next Up Overlay")})),this.nextUpContainer.on("click",".header-sticky-articles__close-button",()=>{const e=new Date,t=window.innerWidth;e.setDate(e.getDate()+1),document.cookie="next_up_close_clicked=1; expires=".concat(e,"; path='/'"),this.hideOverlay(),t>992&&Ut(".header-sticky-nav__article-headline").show()}),Ut(".piano-id__login").on("click",()=>{this.hideOverlay()}),Ut(".piano-id__register").on("click",()=>{this.hideOverlay()})},async getPopularArticles(){let e=[];try{e=await Vt.get("/api/most-popular/MostPopularDataPanel/")}catch(Qn){t.log("Error fetching most read data",Qn)}return e.data}};var zt=n(92443);const Wt={load(e){void 0!==e.title?void 0!==Ht&&Ht.setTrending(e):zt(".article-continuation").hide()}};n(62953),n(48408);var Jt=n(92443);const Kt={stickyNavContainer:Jt("#header-sticky-nav"),overlayActive:!1,canDisplay:!1,topTriggerEl:Jt("#module-content"),prevScroll:0,shareTrayButton:Jt(".social-bar__tray-link"),el:'[data-uses-js="sticky-nav"]',init(){document.querySelector(this.el)&&0!==this.topTriggerEl.length&&this.stickyAdClosedTrigger()},stickyAdClosedTrigger(){this.checkIfToDisplay(),this.createScrollEventHandler(),this.bind()},createScrollEventHandler(){let e=!1;Jt(window).on("scroll",()=>{const t=Jt(window).scrollTop(),n=this.prevScroll;e&&window.clearTimeout(e),e=window.setTimeout(()=>{this.checkScrollUp(t,n),this.checkIfToDisplay()},250),this.prevScroll=t})},checkIfToDisplay(){if(Jt(".mar-leaderboard--top").hasClass("mar-leaderboard--fixed-top"))return void this.hideOverlay();if(!0===window.hide_overlay_for_exco)return this.canDisplay=!1,void this.hideOverlay();this.canDisplay=!0;const e=this.topTriggerEl.offset().top,t=Jt(window).scrollTop();t<e&&this.overlayActive?this.hideOverlay():t>e&&!this.overlayActive&&this.displayOverlay()},displayOverlay(){this.canDisplay&&(this.overlayActive=!0,this.delayLoad=!1,this.stickyNavContainer.stop().animate({opacity:1,top:0,left:0},300))},hideOverlay(){this.overlayActive=!1,this.stickyNavContainer.stop().animate({opacity:1,top:"-140px"},300)},bind(){this.stickyNavContainer.on("click",".article-sticky-search",()=>{Jt("html, body").animate({scrollTop:Jt(".primary-nav-non-sticky .primary-nav-right").offset().top-50},400),Jt(".primary-nav-non-sticky .primary-nav-right .search a").click()}),this.stickyNavContainer.on("click",".article-sticky-menu",()=>{Jt(".primary-nav-non-sticky .primary-nav-right .trigger-mega-nav").click()}),window.navigator.share?this.shareTrayButton.on("click",e=>{if(e.preventDefault(),window.navigator.share){const e=new URLSearchParams(window.location.search);e.set("ref","suit"),navigator.share({url:"".concat(window.location.origin).concat(window.location.pathname,"?").concat(e.toString())}).then(()=>{t.log("Share Navigator: ",window.navigator)}).catch(e=>{t.log(e)})}}):this.shareTrayButton.hide(),Jt(".piano-id__login").on("click",()=>{this.hideOverlay()}),Jt(".piano-id__register").on("click",()=>{this.hideOverlay()})},checkScrollUp:(e,t)=>!(e>t)};var Gt=n(92443);const Yt={primaryNav:"#primary-nav",secondaryNav:"#secondary-nav",subNav:".sub-nav",content:".content",footer:"footer",megaNav:"#mega-menu",cancelButton:"#mega-menu .mega-menu__cancel-button--icon",mainBody:"body",init(){Gt(document).ready(()=>{this.bind()})},bind(){Gt(this.cancelButton).off().on("click",e=>{e.preventDefault(),Gt(this.megaNav).hide(),Gt(this.primaryNav).show(),Gt(this.secondaryNav).show(),Gt(this.subNav).show(),Gt(this.content).show(),Gt(this.footer).show()})}},Xt={isHomePage:()=>
1"/"===document.location.pathname,init(){this.updateDom(),this.reinit()},reinit(){setTimeout(()=>{this.init()},6e4)},updateDom(){document.querySelectorAll(".formatTimeStampEs6").forEach(e=>{const t=e&&e.dataset,n=t.timestamp,r=t.showTime&&"true"==t.showTime,i=t.hideOldDates&&"true"==t.hideOldDates,a=void 0!==t.format&&"homepage"===t.format,o=new Date(1e3*n),s=new Date,c=new Date;c.setDate(c.getDate()-1);const l=this.updateFormats({ts:n,showTime:r,hideOldDates:i,isHomepage:a,displayTime:o,currentTime:s,yesterday:c});e.textContent=l})},updateFormats(e){let t=e.ts,n=e.displayTime,r=e.currentTime,i=e.yesterday,a=e.hideOldDates,o=void 0!==a&&a,s=e.showTime,c=void 0!==s&&s,l=e.isHomepage,d=void 0!==l&&l,u="";return 0==this.checkDatesMatch(n,r)?o?this.checkDatesMatch(i,n)&&!d&&(u="Yesterday"):u=this.getDateAsString({displayTime:n,currentTime:r,showTime:c}):u=this.getDateDiff({ts:t,currentDate:r}),u},getDateDiff(e){let t=e.ts,n=e.currentDate;const r=Math.round(n.getTime()/1e3);let i=parseInt(r-t,10);return i<60?this.getDateDiffString(1,"min"):(i=parseInt(i/60,10),i<60?this.getDateDiffString(i,"min"):(i=parseInt(i/60,10),i<24?this.getDateDiffString(i,"hr"):""))},getDateDiffString(e,t){let n=t;return 1!==e&&(n+="s"),"".concat(e," ").concat(n," ago")},getDateAsString(e){let t=e.displayTime,n=e.currentTime,r=e.showTime,i=void 0!==r&&r;const a=t.getDate(),o=this.getOrdinalOfDay(a);let s="".concat(t.getDate()).concat(o," ").concat(["January","February","March","April","May","June","July","August","September","October","November","December"][t.getMonth()]);return n.getFullYear()!==t.getFullYear()&&(s+=" ".concat(t.getFullYear())),!0===i&&(s+=" ".concat(t.toLocaleTimeString("en-GB",{hour12:!0,hour:"numeric",minute:"2-digit"}))),s},getOrdinalOfDay(e){if(e>3&&e<21)return"th";switch(e%10){case 1:return"st";case 2:return"nd";case 3:return"rd";default:return"th"}},checkDatesMatch:(e,t)=>"".concat(e.getFullYear(),"-").concat(e.getDate(),"-").concat(e.getDay())==="".concat(t.getFullYear(),"-").concat(t.getDate(),"-").concat(t.getDay()),convertUnixTimestamp:e=>new Date(1e3*e).toLocaleString("en-gb",{day:"numeric",month:"long",year:"numeric"}),formatTimeToMerideim(e){const t=new Date(1e3*e);let n=t.getHours();const r=t.getMinutes()<10?"0".concat(t.getMinutes()):t.getMinutes(),i=n>=12?"pm":"am";return n=(n+11)%12+1,"".concat(n,":").concat(r,'<span class="time-of-day">').concat(i,"</span>")},formatTimeToDate:e=>new Date(1e3*e).toLocaleDateString("en-GB",{day:"2-digit",month:"2-digit",year:"2-digit"})},Qt={selector:".mar-tab",setActiveTabSelector:'[data-uses-js="set-first-active-tab"]',init(){if(document.querySelector(this.selector)){const e=document.querySelector(this.setActiveTabSelector);e&&this.setFirstActiveTab(e),this.bind()}},bind(){document.querySelectorAll("".concat(this.selector," .mar-tab__heading-link")).forEach(e=>{e.classList.contains("mar-tab--psuedo-link")||e.addEventListener("click",this.handleTabClick)});const e=window.location.hash.substr(1);if(e){const t=document.querySelector("".concat(this.selector,' .mar-tab__heading-item > a[data-body="').concat(e,'"]'));t&&t.click()}},handleTabClick(e){e.preventDefault();const t="mar-tab--active",n=e.target,r=n.dataset.body,i=n.closest(".mar-tab"),a=n.closest(".mar-tab__heading-item"),o=i.querySelector('.mar-tab__body[data-body="'.concat(r,'"]'));!1===a.classList.contains(t)&&(i.querySelectorAll(".mar-tab__heading-item").forEach(e=>{e&&e.classList.contains(t)&&e.classList.remove(t)}),a.classList.add(t)),i.querySelectorAll(".mar-tab__body").forEach(e=>{e&&e.classList.contains(t)&&e.classList.remove(t)}),o.classList.add(t)},setFirstActiveTab(e){const t=e.querySelector(".mar-tab__headings li"),n=e.querySelector(".mar-tab__body"),r="mar-tab--active";t&&(t.classList.contains(r)||t.classList.add(r)),n&&(n.classList.contains(r)||n.classList.add(r))}},Zt=[{group:1,sites:[{name:"Oxford Mail",siteId:78},{name:"Ipswich Star",siteId:1155},{name:"Watford Observer",siteId:14},{name:"Hampshire Chronicle",siteId:180},{name:"Somerset County Gazette",siteId:88},{name:"County Times",siteId:1115},{name:"Stourbridge News",siteId:160},{name:"Runcorn and Widnes World",siteId:202},{name:"The Gazette",siteId:1005},{name:"Times and Star",siteId:1126}]},{group:2,sites:[{name:"Echo News",siteId:109},{name:"Bucks Free Press",siteId:1},{name:"Greenock Telegraph",siteId:1025},{name:"Wiltshire Times",siteId:59},{name:"Salisbury Journal",siteId:54},{name:"The Westmorland Gazette",siteId:30},{name:"Kidderminster Shuttle",siteId:156},{name:"Bridport News",siteId:185},{name:"Stroud News & Journal",siteId:143},{name:"Whitehaven News",siteId:1127}]},{group:3,sites:[{name:"The Northern Echo",siteId:118},{name:"Glasgow Times",siteId:211},{name:"East Anglian Daily Times",siteId:1153},{name:"The National",siteId:1106},{name:"The Comet",siteId:1170},{name:"Ayr Advertiser",siteId:1007},{name:"Impartial Reporter",siteId:1090},{name:"Hunts Post",siteId:1174},{name:"Herts Advertiser",siteId:1173},{name:"Dudley News",siteId:153}]}];var en=n(92443);const tn={mostReadSideBar:'[data-uses-js="most-read-side-bar"]',currentSiteId:window.data_layer.site.id,showMostRead:!0,async
1init(){return!(en(".most-read").length<1)&&("yes"===window.data_layer.site.allowing_mr_replacement&&this.checkSiteIdbyGroup(),!("yes"===window.data_layer.site.allowing_mr_replacement&&!this.showMostRead)&&(await this.renderData(),Qt.init(),this.bind(),{success:!0}))},bind(){const e=document.querySelector(".read-more-cta__scroll-to");en('.most-read [data-uses-js="most-read"]').on("click",e=>{this.handleReadMoreClick(e.currentTarget)}),en(".most-read .mar-tab__heading-link").on("click",e=>{this.handleHeadingsTab(e)}),e&&en(e).on("click",e=>{e.preventDefault();const t=document.querySelector('.most-read [data-uses-js="most-read"]');this.handleReadMoreClick(t),this.scrollToMostReadBlock()})},async fetchData(){let e=[];try{e=await Vt.get("/api/most-popular/")}catch(Qn){t.log("Error fetching most read data",Qn)}return e},async renderData(){const e=await this.fetchData(),n=[];if(e&&e.data&&e.data.html){const t=e.data.html["Most commented"],r=e.data.html["Most read"];r&&n.push(r),t&&n.push(t);const i=en(".most-read__headings"),a=en(".most-read__body"),o=document.querySelector(".most-read").dataset.limit;n.forEach(e=>{const t=this.renderHeading({isActive:"mostread"===e.id,item:e});i.append(t);const n=this.renderList({isActive:"mostread"===e.id,item:e,limit:o},"mostread"===e.id);a.append(n)}),a.each((e,t)=>{const n=en(t).find(".loader");n.hasClass("hidden")||n.addClass("hidden");const r=en(t).find(".most-read__list");this.toggleReadMoreButton({show:!0,targetBody:r})})}else t.log("No HTML data: most-read")},renderHeading(e){let t=e.isActive,n=e.item;const r=n.id,i=n.title,a=document.createElement("li"),o="most commented"===i.toLowerCase()?"Commented":i;return a.setAttribute("class","mar-tab__heading-item ".concat(t?"mar-tab--active":"")),a.setAttribute("role","listitem"),a.innerHTML='\n <h2>\n <a\n class="mar-tab__heading-link"\n href="#"\n data-body="'.concat(r,'">\n ').concat(o,'\n </a>\n </h2>\n <span class="mar-tab__heading-line"></span>\n '),a},renderList(e){let t=e.isActive,n=e.item,r=e.limit,i=void 0===r?10:r,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const o=n.id,s=n.data,c=document.createElement("ol"),l=document.querySelector(this.mostReadSideBar),d=document.querySelector(".most-read__ad-container"),u=document.querySelector(".most-read_ad-element");
1return l&&a&&!0!==window.whiteList?s.forEach((e,t)=>{const n=document.createElement("li"),r=t>=i?"hidden":"";n.setAttribute("class","mar-list-numbered__item most-read__list-item ".concat(r)),n.setAttribute("data-list-num",t),n.setAttribute("role","listitem"),t<=4?u.before(n):t>4&&d.append(n),n.innerHTML='\n <h3 class="headline">\n <a href="'.concat(e.uri,'"\n data-o-track="true"\n data-o-ref="').concat(e.trackingCode,'"\n data-o-kv-').concat(t,'="prop30:lp:').concat(t+1,'">\n ').concat(e.headline,"</a>\n </h3>")}):(c.setAttribute("class","mar-list-numbered most-read__list mar-tab__body ".concat(t?"mar-tab--active":"")),c.setAttribute("role","list"),c.setAttribute("data-body",o),c.setAttribute("data-tracking","yes"),c.innerHTML=s.map((e,t)=>'\n <li class="mar-list-numbered__item most-read__list-item '.concat(t>=i?"hidden":"",'" role="listitem" data-list-num="').concat(t,'">\n <h3 class="headline">\n <a href="').concat(e.uri,'"\n data-o-track="true"\n data-o-ref="').concat(e.trackingCode,'"\n data-o-kv-').concat(t,'="prop30:lp:').concat(t+1,'">\n ').concat(e.headline,"</a>\n </h3>\n </li>")).join("")),c},handleReadMoreClick(e){const t=en(e).closest(".read-more-cta__container");t.closest(".most-read").find(".most-read__list.mar-tab--active .most-read__list-item ").each((e,t)=>{en(t).hasClass("hidden")&&en(t).removeClass("hidden")}),t.hasClass("hidden")||t.addClass("hidden")},toggleReadMoreButton(e){let t=e.show,n=e.targetBody;const r=document.querySelector(".most-read").dataset.limit,i=n||en(".mar-tab--active"),a=n.find("li"),o=i.closest(".most-read").find(".read-more-cta__container");a.length>r?o.hasClass("hidden")&&o.removeClass("hidden"):o.hasClass("hidden")||o.addClass("hidden"),t&&o.hasClass("hidden")&&o.removeClass("hidden")},handleHeadingsTab(e){const t=en(e.currentTarget),n=t.data("body"),r=t.closest(".most-read").find('.most-read__list[data-body="'.concat(n,'"]'));this.toggleReadMoreButton({targetBody:r}),this.resetInActiveListItems(e)},resetInActiveListItems(e){const t=en(e.currentTarget),n=t.data("body"),r=t.closest(".most-read"),i=r.data("limit");r.find('.most-read__list[data-body="'.concat(n,'"]')).find("li").each((e,t)=>{e>=i&&(en(t).hasClass("hidden")||en(t).addClass("hidden"))})},scrollToMostReadBlock(){const e=(window.innerWidth>768?document.querySelector("#mostReadBlock"):document.querySelector('#mostReadBlock .most-read__list-item[data-list-num="10"]')).getBoundingClientRect().top+window.pageYOffset-49;window.scrollTo({top:e,behavior:"instant"})},checkSiteIdbyGroup(){Zt.forEach(e=>{1===e.group||2===e.group?e.sites.forEach(e=>{e.siteId===parseInt(this.currentSiteId,10)&&(this.showMostRead=!1)}):3===e.group?e.sites.some(e=>e.siteId!==parseInt(this.currentSiteId,10)||(this.showMostRead=!0,!1)):this.showMostRead=!0})}};n(33110);function nn(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)"__proto__"!==r&&(e[r]=n[r])}return e}var rn=function e(t,n){function r(e,r,i){if("undefined"!=typeof document){"number"==typeof(i=nn({},n,i)).expires&&(i.expires=new Date(Date.now()+864e5*i.expires)),i.expires&&(i.expires=i.expires.toUTCString()),e=encodeURIComponent(e).replace(/%(2[346B]|5E|60|7C)/g,decodeURIComponent).replace(/[()]/g,escape);var a="";for(var o in i)i[o]&&(a+="; "+o,!0!==i[o]&&(a+="="+i[o].split(";")[0]));return document.cookie=e+"="+t.write(r,e)+a}}return Object.create({set:r,get:function(e){if("undefined"!=typeof document&&(!arguments.length||e)){for(var n=document.cookie?document.cookie.split("; "):[],r={},i=0;i<n.length;i++){var a=n[i].split("="),o=a.slice(1).join("=");try{var s=decodeURIComponent(a[0]);if(s in r||(r[s]=t.read(o,s)),e===s)break}catch(c){}}return e?r[e]:r}},remove:function(e,t){r(e,"",nn({},t,{expires:-1}))},withAttributes:function(t){return e(this.converter,nn({},this.attributes,t))},withConverter:function(t){return e(nn({},this.converter,t),this.attributes)}},{attributes:{value:Object.freeze(n)},converter:{value:Object.freeze(t)}})}({read:function(e){return'"'===e[0]&&(e=e.slice(1,-1)),e.replace(/(%[\dA-F]{2})+/gi,decodeURIComponent)},write:function(e){return encodeURIComponent(e).replace(/%(2[346BF]|3[AC-F]|40|5[BDE]|60|7[BCD])/g,decode
1URIComponent)}},{path:"/"});const an="event29",on="Breaking news alert banner displayed";var sn=n(92443);const cn={viewsBeforeHide:3,loadDelay:3e3,init(){window.breakingNews=this,this.check(),t.log("Breaking news initialized")},check(){const e=sn("#breakingNewsBanner").data("url"),t=sn("#breakingNewsBanner").data("headline"),n=sn("#breakingNewsBanner").data("id");if("number"!=typeof n)return!1;if(sn("#article").length&&"number"==typeof sn("#article").data("id")&&sn("#article").data("id")===n)return this.incrementCookie(n,this.viewsBeforeHide+1),!1;if(this.checkForOthers())return!1;if(this.incrementCookie(n)>this.viewsBeforeHide)return!1;window.addEventListener("load",()=>{const n=document.querySelector(".bottom-leaderboard");(null==n?void 0:n.offsetHeight)>0&&sn("#breakingNewsBanner").addClass("breaking-news-alert--has-ad"),this.display(t,e)})},checkForOthers:()=>"true"===rn.get("nqab"),incrementCookie(e,t){let n=t;void 0===t&&(n=1);const r=rn.get("nqbn");let i=r&&"string"==typeof r?JSON.parse(r):"";return i?i[e]+=n:(i={},i[e]=n),rn.set("nqbn",JSON.stringify(i),{path:"/"}),i[e]},display(e,t){const n='\n <h4 class="breaking-news-alert__label"><a href="'.concat(t,'">Breaking</a></h4>\n <article class="breaking-news-alert__headline">\n <h2><a href="').concat(t,'">').concat(e,'</a></h2>\n </article>\n <a href="#" class="breaking-news-alert__close">\n <i class="iconify" data-icon="majesticons:close-line" data-inline="false" aria-hidden="true"></i>\n <span class="breaking-news-alert__close-text">Close</span>\n </a>');sn("#breakingNewsBanner").html(n).slideDown("slow"),sn("#breakingNewsBanner .breaking-news-alert__close").on("click",e=>{this.close(e)}),this.sendOmnitureEvent(an,on)},close(e){e.preventDefault();const t=sn("#breakingNewsBanner").data("id");this.incrementCookie(t,this.viewsBeforeHide+1),sn("#breakingNewsBanner").slideUp("fast")},sendOmnitureEvent(e,t){const n=window.s_gi("newsquestgroupprod");n.events=e,n.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar10,eVar16,eVar17,eVar18,eVar19,eVar25,eVar43,events",n.linkTrackEvents=e,n.tl(this,"o",t)}},ln={modalSelector:{container:"mar-modal-container",inner:"mar-modal",dialog:"mar-modal__dialog",header:"mar-modal__header",title:"mar-modal__title",body:"mar-modal__body",actions:"mar-modal__actions",animateOut:"mar-modal-container--animate-out",animateOutLayout:"mar-modal-container--animate-out-layout",submitBtn:'[data-uses-js="modal-submit"]',cancelBtn:'[data-uses-js="modal-cancel"]'},hiddenSelector:"visually-hidden",noScrollSelector:"no-scroll",bodyContentSelector:"takeover",openSelector:'[data-uses-js="open-modal"]',closeSelector:'[data-uses-js="close-modal"]',modalVariants:["sm","md","lg"],sourceContent:null,customClass:null,init(){t.log("modal has been inititated");document.querySelector(this.openSelector)&&this.bind()},bind(){document.addEventListener("click",e=>{e.target.closest(this.openSelector)&&(this.toggleModal(!0),this.renderModalSize({btnElement:e.target.closest(this.openSelector),open:!0}),this.toggleModalName({btnElement:e.target.closest(this.openSelector),add:!0})),e.target.closest(this.closeSelector)&&this.close(),e.target.closest(this.modalSelector.cancelBtn)&&this.close()})},async open(e){let t=e.size,n=e.heading,r=e.source,i=e.content,a=e.btnElement,o=e.btnSecondary,s=e.customClass;this.toggleModal(!0),this.renderModalSize({open:!0,btnElement:a,size:t}),this.renderContent({heading:n,source:r,content:i,btnElement:a,btnSecondary:o,customClass:s}),r&&(document.querySelector(".".concat(this.modalSelector.container)).dataset.source=r)},close(){this.toggleModal(!1),this.renderModalSize({open:!1}),this.toggleModalName({add:!1}),this.destroyContent(document.querySelector(".".concat(this.modalSelector.container)).dataset.source)},toggleModal(e){const t=document.querySelector("body"),n=document.querySelector(".".concat(this.modalSelector.container)),r=document.getElementById(this.bodyContentSelector),i=window.innerWidth-document.documentElement.clientWidth;e?(requestAnimationFrame(()=>{n.classList.remove(this.hiddenSelector)}),n.classList.remove(this.modalSelector.animateOut),t.classList.add(this.noScrollSelector),t.style.paddingRight="".concat(i,"px")):(n.classList.add(this.modalSelector.animateOut),t.classList.remove(this.noScrollSelector),t.style.removeProperty("padding-right"),r.classList.add(this.modalSelector.animateOutLayout),requestAnimationFrame(()=>{r.classList.remove(this.modalSelector.animateOutLayout),n.classList.add(this.hiddenSelector)}))},renderModalSize(e){let t=e.btnElement,n=e.open,r=e.variants,i=void 0===r?this.modalVariants:r,a=e.size;const o=document.querySelector(".".concat(this.modalSelector.container)),s=o.querySelector(".".concat(this.modalSelector.inner));if(n){if(!o)return;const e=a||t.dataset.modalSize,n="".concat(this.modalSelector.inner,"--").concat(e);s.classList.contains(n)||s.classList.add(n)}else{if(!i.length)return;
1i.forEach(e=>{const t="".concat(this.modalSelector.inner,"--").concat(e);s.classList.contains(t)&&s.classList.remove(t)})}},renderContent(e){let t=e.heading,n=e.source,r=e.content,i=e.btnElement,a=e.btnSecondary,o=e.customClass;const s=document.querySelector(".".concat(this.modalSelector.container)),c=s.querySelector(".".concat(this.modalSelector.header)),l=s.querySelector(".".concat(this.modalSelector.title)),d=s.querySelector(".".concat(this.modalSelector.body));let u=s.querySelector(this.modalSelector.submitBtn);const p=s.querySelector(this.modalSelector.cancelBtn),f=i||{text:""},h=f.text,m=f.addEventListener,v=f.dataUsesJs;o&&(s.classList.add(o),this.customClass=o),t?(c.classList.remove("hidden"),l.innerHTML=t,l.style.textAlign="left"):(c.classList.add("hidden"),l.innerHTML=""),r?d.innerHTML=r:n?(this.sourceContent=document.querySelector(n).innerHTML,document.querySelector(n).innerHTML="",d.innerHTML=this.sourceContent):d.innerHTML="",u&&u.classList.remove("hidden"),i&&p.classList.remove("hidden"),i?(h&&u&&(u.textContent=h),"function"==typeof m&&u&&u.addEventListener("click",m),v&&(null===u||""===u?(u=s.querySelector("button"),u.dataset.usesJs=v,u.textContent=h,u.addEventListener("click",m)):u.dataset.usesJs=v)):u&&u.classList.add("hidden"),a?(a.text&&(p.textContent=a.text),"function"==typeof a.addEventListener&&p.addEventListener("click",a.addEventListener)):p.classList.add("hidden"),i||a||document.querySelector(".".concat(this.modalSelector.actions)).classList.add("hidden")},destroyContent(e){if(e){const t=document.querySelector(".".concat(this.modalSelector.container));t.querySelector(".".concat(this.modalSelector.body)).innerHTML="",t.dataset.source=null,t.classList.remove(this.customClass),this.customClass=null,document.querySelector(e).innerHTML=this.sourceContent}},toggleModalName(e){let t=e.btnElement,n=e.add;const r=document.querySelector(".".concat(this.modalSelector.container));if(n){const e=t.dataset.modalName;e&&r.setAttribute("data-modal-name",e)}else r.removeAttribute("data-modal-name")}},dn={name:"facebook",eventId:"event33",eventType:"Facebook Share"},un={name:"twitter",eventId:"event32",eventType:"Tweet"},pn={name:"google_plus",eventId:"event35",eventType:"Google +1"},fn={eventId:"event93",name:"bluesky",eventType:"Bluesky Post"};var hn=n(92443);const mn={customSharing:'[data-uses-js="custom-sharing"]',modalCloseSelector:'[data-uses-js="close-modal"]',socialShareButtons:document.querySelectorAll(".social-share-button"),init(){this.bind()},bind(){document.addEventListener("click",e=>{const t=e.target;if(!t)return;const n=t.closest(this.customSharing);t.closest(".social-links__close-icon")&&(e.preventDefault(),ln.close()),n&&(e.preventDefault(),this.createLink(n)),t.closest(this.modalCloseSelector)&&(e.preventDefault(),ln.close())}),this.socialShareButtons.length&&this.socialShareButtons.forEach(e=>{e.addEventListener("click",e=>{e.preventDefault(),this.openSocialShareModal()})}),hn("button.print").on("click",e=>{e.preventDefault(),window.print();const t=window.s_gi("newsquestgroupprod");t.events="event30",t.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar10,eVar16,eVar17,eVar18,eVar19,eVar25,eVar43,events",t.linkTrackEvents="event30",t.tl(this,"o","Print this page")})},createLink(e){let t=hn(e).attr("data-share-url");if(t+=this.encode(hn(e).attr("data-share-path")),-1!==t.indexOf("facebook")){let n=hn(e).attr("data-share-headline");void 0!==n&&""!==n||(n=document.title),t+="&p[title]= + ".concat(this.encode(n)),t+="&display=popup",this.record(dn.name,dn.eventId,dn.eventType)}else if(-1!==t.indexOf("twitter")){const n=hn(e).attr("data-share-headline");t+="&text=".concat(this.encode(n)),this.record(un.name,un.eventId,un.eventType)}else if(-1!==t.indexOf("plus.google"))this.record(pn.name,pn.eventId,pn.eventType);else if(-1!==t.indexOf("bsky")){const n=hn(e).attr("data-share-headline");t+="&text=".concat(this.encode(n)),this.record(fn.name,fn.eventId,fn.eventType)}t+="&ref=nativeshare",this.opener(t)},encode:e=>encodeURIComponent(e),opener(e){window.open(e,"_blank","height=400,width=680px,location=no,menubar=no,resizable=yes,scrollbars=yes,status=no,titlebar=no")},async postLikes(e,n,r){const i=n||document.location.href,a=r||document.location.title;try{const n={headers:{"content-type":"application/x-www-form-urlencoded;charset=utf-8"}},r=new FormData;r.append("url",i),r.append("type",e),r.append("title",a);const o=await Vt.post("/misc/like/",r,n);return t.log("Success posting to /misc/like",o),o}catch(o){return t.log("Error posting to /misc/like",o),o}},async record(e,n,r){await this.postLikes(e);let i=null;try{i=window.s_gi(window.omnitureShareAccount)}catch(a){i=window.s_gi("newsquestgroupprod")}null!==i&&(i.events=n,i.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar10,eVar16,eVar17,eVar18,eVar19,eVar25,eVar43,events",i.linkTrackEvents=n,i.tl(document,"o",r),t.log("Sending social icons message to omniture"))},async openSocialShareModal(){this.record("Share","event108","Share drawer opened");const e=document.getElementsByClassName("mar-article__headline")[0].innerText;let n=document.location.href;const r=window.matchMedia("(hover: hover) and (pointer: fine)").matches;if(navigator.canShare&&!r||(t.log("Web Share API not supported"),ln.open({size:"sm",heading:"",source:"",content:this.renderModalContent(),btnSecondary:null,customClass:"social-share-modal"})),navigator.canShare&&!r){n+="?ref=nativeshare";try{await navigator.share({title:e,url:n})}catch(i){t.log("Error sharing:",i)}}},renderModalContent(){const e=document.querySelector("[data-bluesky]").getAttribute("data-bluesky"),t=document.querySelector("[data-facebook]").getAttribute("data-facebook"),n=document.querySelector("[data-twitter]").getAttribute("data-twitter");return'\n <div class="content">\n <div class="social-links__header">\n <h5>Share this article</h5>\n <svg class="social-links__close-icon" xmlns="http://www.w3.org/2000/svg" width="14" height="14" viewBox="0 0 14 14" fill="none">\n <path d="M14 1.41L12.59 0L7 5.59L1.41 0L0 1.41L5.59 7L0 12.59L1.41 14L7 8.41L12.59 14L14 12.59L8.41 7L14 1.41Z" fill="#636363"/>\n </svg>\n </div>\n <div class="social-links">\n <div\n class="social-links__icon"\
1n data-uses-js="custom-sharing"\n data-share-url="https://www.facebook.com/sharer/sharer.php?u="\n data-share-path='.concat(t,'\n >\n <button aria-label="Share on Facebook" class="social-bar__button social-bar__link button-with-icon social-bar__button--with-icon bg-fb">\n <span class="iconify" data-icon="logos:facebook"></span>\n </button>\n <label class="social-links__label">Facebook</label>\n </div>\n <div\n class="social-links__icon"\n data-uses-js="custom-sharing"\n data-share-url="https://twitter.com/share?url="\n data-share-path=').concat(n,'\n data-share-headline="%escape(social_media_headline)"\n >\n <button aria-label="Share on Twitter" class="social-bar__button social-bar__link button-with-icon social-bar__button--with-icon bg-twitter">\n <span class="iconify" data-icon="fa6-brands:x-twitter"></span>\n </button>\n <label class="social-links__label">X.com</label>\n </div>\n <div class="social-links__icon"\n data-uses-js="custom-sharing"\n data-share-url="https://bsky.app/intent/compose?text=%raw(article_headline)"\n data-share-path=').concat(e,'>\n <button aria-label="Share on Bluesky" class="social-bar__button social-bar__link social-bar__button--with-icon bg-blue-sky">\n <span class="iconify" data-icon="fa6-brands:bluesky"></span>\n </button>\n <label class="social-links__label">Bluesky</label>\n </div>\n </div>\n </div>\n ')}};function vn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function gn(e,t){if(e){if("string"==typeof e)return vn(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?vn(e,t):void 0}}function yn(e){return function(e){if(Array.isArray(e))return vn(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||gn(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}const bn={footerSelector:"site-footer",socialMediaSelector:"footer__social-media--link",iconSelector:"iconify",init(){t.log("Social Media Icons initiated");const e=yn(document.querySelectorAll(".".concat(this.footerSelector," .").concat(this.socialMediaSelector)));0!==e.length&&this.addIcons(e)},addIcons(e){e.forEach(e=>{const t=e.dataset.mediaType,n=e.querySelector(".".concat(this.iconSelector));switch(n.setAttribute("data-inline",!1),t){case"facebook":n.setAttribute("data-icon","ri:facebook-fill");break;case"twitter":n.setAttribute("data-icon","ri:twitter-x-fill");break;case"linkedin":n.setAttribute("data-icon","ri:linkedin-fill");break;case"instagram":n.setAttribute("data-icon","ri:instagram-fill");break;default:n.setAttribute("data-icon","ri:".concat(t,"-fill"))}})}},wn=e=>{let t=e.event,n=e.selector;return!!(t&&t.target&&t.target.matches&&t.target.closest)&&(t.target.matches(n)||t.target.closest(n))},_n={alertSelector:"mar-alert",alertClose:'[data-uses-js="mar-alert-close"]',animationDuration:350,messageSelector:"mar-alert__message",types:{success:"success",error:"error",info:"info"},typeSelectors:{success:"mar-alert--success",error:"mar-alert--error",info:"mar-alert--info"},init(e){const t=e||".".concat(this.alertSelector);document.querySelector(t)&&this.bind()},bind(){document.addEventListener("click",e=>{if(wn({event:e,selector:this.alertClose})){const t=e.target.closest(".".concat(this.alertSelector));t&&this.removeAlert(t)}})},show(e){let t=e.type,n=e.message,r=e.targetSibling,i=e.timeout;if(r){const e=this.createAlert({type:t,message:n});r.after(e),this.bind(),i&&setTimeout(()=>{this.removeAlert(e)},i)}},createAlert(e){let t=e.type,n=e.message;const r=document.createElement("div"),i=document.createElement("span"),a=document.createElement("span");return r.classList.add("mar-alert",this.typeSelectors[t]),setTimeout(()=>{r.classList.add("mar-alert--active")},0),i.classList.add("iconify","mar-alert__close"),i.setAttribute("data-uses-js","mar-alert-close"),i.setAttribute("data-icon","fa-solid:times"),i.setAttribute("data-inline",!1),a.classList.add(this.messageSelector),a.innerHTML=n,r.appendChild(i),r.appendChild(a),r},removeAlert(e){e&&(e.classList.remove("mar-alert--active"),setTimeout(()=>{e.remove()},this.animationDuration))}},Sn={selector:"mar-debug",init(){const e=Boolean(Number(rn.get("debug")));document.querySelector(".".concat(this.selector))&&e&&this.parseSqlLogText()},parseSqlLogText(){document.querySelectorAll(".".concat(this.selector)).forEac
1h(e=>{const t=e.querySelector("pre");if(!t)return;const n=t.textContent.replace(/\bSeriously?\b.*/g,'<h2 class="mar-debug__heading">$&</h2>').replace(/\d{4}\/\d{2}\/\d{2}/g,'<br /> <span class="mar-debug__date">$&</span>').replace(/\d{2}\:\d{2}\:\d{2}\.\d{3}/g,'<span class="mar-debug__time">$&</span>').replace(/[A-Z]{2,3}:/g,'<span class="mar-debug__type">$&</span>').replace(/\bQuery completed\b/g,'<span class="mar-debug__completed">$&</span>');t.innerHTML=n})}};n(74423),n(54520);var xn=n(92443);const kn={mostReadSideBar:'[data-uses-js="most-read-side-bar"]',adSelectors:{dfpStandardMpu1:"DFP_standard_mpu_1",dfpStandardMpu2:"DFP_standard_mpu_2"},adSelectorContainers:{dfpPremiumMpu:"premium_mpu_container",dfpHighVis:"high_vis_container",dfpStandardMpu1:"standard_mpu_1_container",dfpStandardMpu2:"standard_mpu_2_container"},adSelectorOrder:{blockBamLegacyList:{belowSmallTablet:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="3"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="7"]'}],aboveSmallTablet:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="0"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="13"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="11"]'}],aboveSmallDesktop:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="0"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="14"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="6"]'}],aboveDesktop:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="0"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="14"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="6"]'}]},blockBamTopStories:{belowSmallTablet:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="4"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="6"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="8"]'},{id:"standard_mpu_2_container",orderAfter:'[data-uses-js="article-story"][data-position="9"]'}],aboveSmallTablet:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="0"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="3"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="5"]'},{id:"standard_mpu_2_container",orderAfter:'[data-uses-js="article-story"][data-position="11"]'}],aboveSmallDesktop:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="0"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="4"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="8"]'},{id:"standard_mpu_2_container",orderAfter:'[data-uses-js="article-story"][data-position="11"]'}],aboveDesktop:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="0"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="6"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="10"]'},{id:"standard_mpu_2_container",orderAfter:'[data-uses-js="article-story"][data-position="11"]'}]},blockFtmLegacyList:{belowSmallTablet:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="3"]'},{id:"desktop-teaser",orderAfter:'[data-uses-js="article-story"][data-position="4"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="26"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="9"]'},{id:"standard_mpu_2_container",orderAfter:'[data-uses-js="article-story"][data-position="28"]'}],aboveSmallTablet:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="0"]'},{id:"desktop-teaser",orderAfter:'[data-uses-js="article-story"][data-position="4"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="17"]'},{id:"standard_mpu_1_container",orderAfter:"#desktop-teaser"},{id:"standard_mpu_2_container",orderAfter:'[data-uses-js="article-story"][data-position="22"]'}
1],aboveSmallDesktop:[{id:"premium_mpu_container",orderAfter:'[data-uses-js="article-story"][data-position="0"]'},{id:"desktop-teaser",orderAfter:'[data-uses-js="article-story"][data-position="6"]'},{id:"high_vis_container",orderAfter:'[data-uses-js="article-story"][data-position="23"]'},{id:"standard_mpu_1_container",orderAfter:'[data-uses-js="article-story"][data-position="8"]'},{id:"standard_mpu_2_container",orderAfter:'[data-uses-js="article-story"][data-position="27"]'}]},trafficLanding:{belowSmallTablet:[{id:"standard_mpu_2_container",orderAfter:'[data-uses-js="filter-form-position"]'}],aboveSmallTablet:[{id:"standard_mpu_2_container",orderAfter:".traffic-landing__results-list li:nth-child(2)"}]}},init(){if(window.whiteList){if(0===Object.keys(window.whiteListAds).length)return xn(".mar-block-ad").each((e,t)=>{void 0!==xn(t).attr("id")&&(xn(t).attr("id").includes("piano")||xn(t).attr("id").includes("po-"))||xn(t).remove()}),void xn(".bottom-leaderboard").remove();xn(".mar-block-ad").each((e,t)=>{void 0!==xn(t).attr("id")&&(xn(t).attr("id").includes("piano")||xn(t).attr("id").includes("po-")||xn(t).attr("id").includes("premium_mpu")||xn(t).attr("id").includes("standard_mpu_1")||xn(t).attr("id").includes("high_vis")||xn(t).attr("id").includes("inArticleAd")||xn(t).attr("id").includes("inArticleAd-1")||xn(t).attr("id").includes("standard_mpu_2"))||xn(t).remove()}),xn(".bottom-leaderboard").remove()}this.adBlockPlacement({list:this.adSelectorOrder.blockBamTopStories,id:"block-bam-top-stories"}),this.adBlockPlacement({list:this.adSelectorOrder.trafficLanding,id:"traffic-landing"})},adBlockPlacement(e){let t=e.list,n=e.id;const r=window.innerWidth,i=document.getElementById(n);i&&t&&((e=>e<=768)(r)&&t.belowSmallTablet&&this.reorderAds(t.belowSmallTablet,i),(e=>e>768)(r)&&t.aboveSmallTablet&&this.reorderAds(t.aboveSmallTablet,i),(e=>e>992)(r)&&t.aboveTablet&&this.reorderAds(t.aboveTablet,i),(e=>e>1200)(r)&&t.aboveSmallDesktop&&this.reorderAds(t.aboveSmallDesktop,i),(e=>e>1400)(r)&&t.aboveDesktop&&this.reorderAds(t.aboveDesktop,i))},async reorderAds(e,n){return n&&e&&e.length?(await this.unsetArticleOrder(),e.map(e=>{const t=n.querySelector("#".concat(e.id));return this.unsetAdOrder(e.id),t?(t.remove(),n.querySelector(e.orderAfter).after(t),{[e.id]:t}):null}).filter(e=>null!=e)):(t.log("ReorderAds: Parent element, ".concat(n," does not exist")),null)},unsetArticleOrder(){Array.from(document.querySelectorAll('article[data-uses-js="article-story"')).forEach(e=>{e.style.order="unset"})},unsetAdOrder(e){const t=document.getElementById(e);t&&(t.style.order="unset")},checkForEmptyChildren(){xn(".mar-block-ad").find("div").each((e,t)=>{xn(t).is(":empty")&&xn(t).parents(".mar-block-ad").css("margin",0)})}};class Cn{constructor(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";this.eventTarget=document.appendChild(document.createComment(e))}on(e,t){this.eventTarget.addEventListener(e,t)}once(e,t){this.eventTarget.addEventListener(e,t,{once:!0})}off(e,t){this.eventTarget.removeEventListener(e,t)}emit(e,t){return this.eventTarget.dispatchEvent(new CustomEvent(e,{detail:t}))}}const Tn="top-ad-timer-ended",On={selector:'[data-uses-js="dfp-top-ad-fixed"]',stickyBlockSelector:"mar-leaderboard--top",stickyModifierSelector:"mar-leaderboard--fixed-top",topLeaderboardAdSelector:"mar-leaderboard--top",timeout:1e4,isBlockTopFixedTimerEnded:!1,eventEmitter:null,userAdExperience:window.data_layer.user.advertising_experience,init(){if("Ad-Light"===this.userAdExperience||"Ad-Free"===this.userAdExperience||!0===window.whiteList)return;const e=document.getElementById("site-header"),n=document.querySelector(".".concat(this.stickyBlockSelector));!e&&!n||n&&"true"===n.dataset.dontStick||d.init({elements:{root:document,target:e,threshold:Array(11).fill().map((e,t)=>.1*t)},callback:(e,n)=>{this.eventEmitter.on(Tn,r=>{let i=r.detail;t.log("PERFORMANCE top-ad-timer-ended on",i,performance.now()-i.start),i.ended&&(n.unobserve(e.target),this.eventEmitter.off(Tn))}),e.intersectionRatio<.5&&!this.isBlockTopFixedTimerEnded&&this.addFixedTopAd(),e.intersectionRatio>
1=.5&&this.removeFixedTopAd()}})},addFixedTopAd(){const e=document.querySelector(this.selector),t=document.querySelector(".".concat(this.stickyBlockSelector));if(!e)return;document.querySelector(".".concat(this.topLeaderboardAdSelector)).style.cssText="min-height: 5px !IMPORTANT",t.classList.add("mar-block-ad--min-height"),e.classList.add(this.stickyModifierSelector)},removeFixedTopAd(){const e=document.querySelector(this.selector),t=document.querySelector(".".concat(this.stickyBlockSelector));if(e&&e.classList.contains(this.stickyModifierSelector)){t.classList.remove("mar-block-ad--min-height"),e.classList.remove(this.stickyModifierSelector);document.querySelector(".".concat(this.topLeaderboardAdSelector)).style.cssText=""}},setTimeoutRemoveFixedTopAd(e){this.eventEmitter=new Cn("top-ad-timer-bus");const t=setTimeout(()=>{const n=!0;this.removeFixedTopAd(),this.isBlockTopFixedTimerEnded=n,this.eventEmitter.emit(Tn,{ended:n,start:e}),clearTimeout(t)},this.timeout)}},En={queryString:null,get(e){return null===this.queryString&&this.decode(),e.indexOf("[")>1?this.queryString.getAll(e):this.queryString.get(e)},decode(e){let t=e;return void 0===t&&(t=window.location.search.slice(1)),this.queryString=new URLSearchParams(t),this.queryString},encode(){return this.queryString.toString()},stringify:e=>"?".concat(Object.entries(e).map(e=>e.join("=")).join("&")),set(e,t){e.indexOf("[")>1?this.queryString.append(e,t):this.queryString.set(e,t)},delete(e){this.queryString.delete(e)}},An={init(){let e=!1;"yes"===window.data_layer.user.is_privacy_plus||("yes"===En.get("show-onboarding")&&"yes"===window.data_layer.site.onboarding_enabled&&(e=!0),"yes"===En.get("show-onboarding")&&En.get("flow")&&En.get("flow").length>0&&(e=!0),e&&window.data_layer_helper.loadScript("/resources/responsive-static/build/mds/js/onboarding.js",!0))}};n(89463),n(42762);const Ln={callback:null,callbackFromString(e,t){if(this.callBack=e,null!==this.callBack&&this.callBack.length>0){var n;const o=e.split("."),s=o.pop();let c=t;for(let e=0;e<o.length;e+=1)c=c[o[e]];for(var r=arguments.length,i=new Array(r>2?r-2:0),a=2;a<r;a++)i[a-2]=arguments[a];return(n=c)[s].apply(n,i)}return!1}};var In=n(92443);const Rn={el:'[data-uses-js="image-upload"]',imageUploadList:".image-upload__uploaded-images",imageClone:In("#imageClone").clone(!0),init(e){""===e&&null===e&&void 0===e||(this.el="#image-upload__".concat(e),this.imageUploadList="#image-upload-list__".concat(e,".image-upload__uploaded-images"),this.imageClone=In("".concat(this.el," #imageClone")).clone(!0)),this.imageClone.removeAttr("id"),this.imageClone.removeAttr("hidden"),this.bind()},bind(){In("".concat(this.imageUploadList)).on("click",".image-delete",e=>{this.imageDelete(e.target)}),In("".concat(this.el," #imageId")).on("change",()=>{this.imageUpload(),In("".concat(this.imageUploadList," .image-ownership")).each((e,t)=>{In(t.options).each((e,t)=>{In(t).text(In(t).data("text"))}),In(t).off(),In(t).on("change",e=>{In(t.options).each((e,t)=>{In(t).text(In(t).data("text"))});const n=e.target;In(n.options[n.selectedIndex]).text().length>25&&In(n.options[n.selectedIndex]).text("".concat(In(n.options[n.selectedIndex]).text().substr(0,50),"..."))})})})},imageUpload(){const e=this.imageClone.clone(!0),t=In("#imageId").val();e.find(".image-preview").attr("src","/resources/images/".concat(t,"/")),e.find(".image_id_index").text(t),e.find(".image_id_index").attr("class","image_id_index_".concat(t)),e.removeAttr("hidden"),In("".concat(this.imageUploadList)).append(e)},imageDelete(e){const t=In(e).closest(".image-item");t&&t.remove()}};var Pn=n(92443);const Nn={el:'[data-uses-js="image-upload"]',imageUploadList:".image-upload__uploaded-images",dataTarget:"",defaultWidth:0,defaultHeight:0,defaultWidthType:"",defaultHeightType:"",isMulti:!1,originalClass:"",originalStyle:"",originalName:"",errorStack:[],callBack:null,defaultMaxImages:0,loadingSpinner:Pn("#es-spinner"),id:null,init(e){""===e&&null===e&&void 0===e||(this.el="#image-upload__".concat(e),this.imageUploadList="#image-upload-list__".concat(e,".image-upload__uploaded-images"),this.loadingSpinner=Pn("".concat(this.imageUploadList," #es-spinner"))),this.bind(),Rn.init(e)},bind(){return this.checkBrowser()?(Pn("".concat(this.el," .call-image-upload")).off().on("change",e=>{this.upload(e,e.currentTarget)}),!0):(Pn("".concat(this.el," .call-image-upload")).replaceWith('<div class="mar-alert mar-alert--error">You must use a modern browser</div>'),!1)},checkBrowser:()=>"undefined"!=typeof FileReader,upload(e,t){e.preventDefault(),this.loadingSpinner.show(),Pn("".concat(this.el," .mar-alert--error")).remove(),this.id=Pn(t).attr("id"),this.originalStyle=Pn(t).attr("style"),this.originalClass=Pn(t).attr("class"),this.originalName=Pn(t).attr("name"),this.isMulti=Pn(t).attr("multiple"),this.dataTarget=Pn(t).attr("data-target"),this.defaultWidthType=Pn(t).attr("data-width-type"),this.defaultHeightType=Pn(t).attr("data-height-type"),this.defaultMaxImages=parseInt(Pn(t).attr("data-max-images"),10);const n=Pn(t).attr("data-width"),r=Pn(t).attr("data-height");Number.isNaN(parseInt(n,10))||(this.defaultWidth=n),Number.isNaN(parseInt(r,10))||(this.defaultHeight=r);const i=Pn(t).attr("data-callback");void 0!==i&&(this.callBack=i);const a=e.files||e.target.files;this.handleImages(a)},handleImages(e){let n=e;const r=[];let i=0,a=n.length;return this.defaultMaxImages&&n.length>this.defaultMaxImages?(_n.show({type:_n.types.error,message:"A maximum of ".concat(this.defaultMaxImages," images can be uploaded"),targetSibling:d
1ocument.querySelector(this.dataTarget)}),this.loadingSpinner.hide(),t.log("Too many images were uploaded (max: ".concat(this.defaultMaxImages,", tried to upload: ").concat(n.length," images)")),!1):(Pn.each(n,(e,o)=>{if(o.type.match("image.*"))if("image/jpg"!==o.type&&"image/jpeg"!==o.type&&"image/png"!==o.type&&"image/gif"!==o.type)r.push(!0),this.loadingSpinner.hide(),a+=-1,_n.show({type:_n.types.error,message:"Sorry, You can only upload jpg, gif or png files.",targetSibling:document.querySelector(this.dataTarget)});else{const e=new FileReader;e.errors=r,e.onloadend=()=>{const n=e.result,s=o.name,c=new Image;c.src=e.result,c.onload=async()=>{if(this.imageValidate(c,s)){const e=new FormData;e.append("file",n),e.append("name",s),await Vt.post("/ws/images/add/",e).then(e=>{this.imageSuccess(e.data)}).catch(e=>{t.log(e),this.imageError(e.response)})}else r.push(!0);if(i+=1,i===a&&r.length>0){const e=this.createNewButton();Pn("".concat(this.el," #").concat(this.id)).replaceWith(Pn(e)),this.bind()}},t.log("File reader onloadend - Errors length: %s",r.length)},e.readAsDataURL(o)}else r.push(!0),this.loadingSpinner.hide(),a+=-1,_n.show({type:_n.types.error,message:"Sorry, You can only upload images here.",targetSibling:document.querySelector(this.dataTarget)});if(n+=-1,n&&r.length>0){const e=this.createNewButton();Pn("".concat(this.el," #").concat(this.id)).replaceWith(e),this.bind()}}),!0)},imageSuccess(e){const t=e.id;Pn(this.dataTarget).val(t),Pn(this.dataTarget).trigger("change");const n=this.createNewButton();Pn("".concat(this.el," #").concat(this.id)).replaceWith(n),this.bind(),null!==this.callBack&&this.callBack.length>0&&Ln.callbackFromString(this.callBack,window,t,this.id),this.loadingSpinner.hide()},imageError(e){let t;e.responseText&&(t=e.responseText.substring(0,e.responseText.indexOf("\n")).replace("<pre>","")),_n.show({type:_n.types.error,message:t,targetSibling:document.getElementById(this.dataTarget),timeout:2e3}),this.loadingSpinner.hide()},imageValidate(e,t){let n="";try{this.imageSizeValidate(e.width,this.defaultWidthType,this.defaultWidth,"width")}catch(r){n+="<b>".concat(t,"</b>: ").concat(r.message)}try{this.imageSizeValidate(e.height,this.defaultHeightType,this.defaultHeight,"height")}catch(r){n+="<br/><b>".concat(t,":</b> ").concat(r.message)}return!(n.length>0)||(_n.show({type:_n.types.error,message:n,targetSibling:document.querySelector(this.dataTarget)}),this.loadingSpinner.hide(),!1)},imageSizeValidate(e,t,n,r){if(""===t||0===parseInt(n,10))return"";const i=parseInt(n,10);switch(t){case">":if(e<=i)throw new Error("The image ".concat(r," must be greater than ").concat(i,"px (").concat(e,"px)"));break;case">=":if(e<i)throw new Error("The image ".concat(r," must be greater than or equal to ").concat(i,"px (").concat(e,"px)"));break;case"=":if(e!==i)throw new Error("The image ".concat(r," must be ").concat(i,"px (").concat(e,"px)"));break;case"<=":if(e>i)throw new Error("The image ".concat(r," must less than or equal to ").concat(i,"px (").concat(e,"px)"));break;case"<":if(e<=i)throw new Error("The image ".concat(r," must be less than ").concat(i,"px (").concat(e,"px)"));break;default:throw new Error("Error processing image")}return!0},imageCaptionValidate(e){let t=!1;return Pn(e).each((e,n)=>{const r=Pn(n).find(".image-caption");0===Pn(n).find(".image-ownership").get(0).selectedIndex?(t=!0,Pn(n).find(".image-item__source .image-item__error").css("display","block")):Pn(n).find(".image-item__source .image-item__error").css("display","none"),0===r.val().length?(t=!0,Pn(n).find(".image-item__caption .image-item__error").css("display","block")):Pn(n).find(".image-item__caption .image-item__error").css("display","none")}),t},createNewButton(){const e=Pn("<input />").attr("type","file");return e.attr("data-width",this.defaultWidth),e.attr("data-height",this.defaultHeight),e.attr("data-callback",this.callBack),e.attr("data-target",this.dataTarget),e.attr("id",this.id),e.attr("data-width-type",this.defaultWidthType),e.attr("data-height-type",this.defaultHeightType),e.addClass(this.originalClass),e.attr("name",this.originalName),e.attr("style",this.originalStyle),this.isMulti&&e.attr("multiple",""),e.attr("data-max-images",this.defaultMaxImages),e},magnifyImagePreview(e,t,n){Pn(".magnify").each((r,i)=>{!1===e?Pn(i).off("click").on("click",e=>{e.preventDefault();const r=i.src.replace("?type=thumb","");ln.renderContent({heading:"",content:'<img class="'.concat(n,'" src="').concat(r,'"/>'),customClass:t}),Pn(".mar-modal__actions").remove()}):Pn(i).removeClass("magnify")})}},Dn={options:[{source:"I took this picture myself",value:"UGC (contributions)",options:["Free to re-use"],warning:"Please ensure the contributions have come through the 'send us your news' or contributions facility. If not, ensure the contributor is aware that Newsquest contributor terms apply before uploading the image(s) <a href='http://www.newsquest.co.uk/contributor-terms/' target='_blank'>http://www.newsquest.co.uk/contributor-terms/</a>"},{source:"This picture was taken by someone else, but I have their permission to use it in this way",value:"UGC (contributions)",options:["Free to re-use"],warning:"Please ensure the contributions have come through the 'send us your news' or contributions facility. If not, ensure the contributor is aware that Newsquest contributor terms apply before uploading the image(s) <a href='http://www.newsquest.co.uk/contributor-terms/' target='_blank'>http://www.newsquest.co.uk/contributor-terms/</a>"}]};var jn=n(92443);const $n={data:"",assignmentId:jn("#assignment-id").text(),shortTextClone:jn("#short-text-field-template").clone(!0),longTextClone:jn("#long-text-field-template").clone(!0),photoClone:jn("#photo-field-template").clone(!0).off(),termsClone:jn("#terms-agree").clone(!0),imageClone:jn("#imageClone").clone(!0),questionList:jn("#question-list"),btnSendResponse:jn("#send-assignment-response"),responseForm:jn("#assignment-response-form"),systemQuestionList:jn("#system-question-list"),responseElementContainer:jn("#ccn-assignment-response__container"),isModal:!1,modalCloseSelector:'[data-uses-js="close-modal"]',openAssignmentResponse:jn(".open-assignment-response"),responseModal:jn("#assignment-add-response"),responseFullPage:jn("#ccn-questionnaire-view"),sendSubscriptionRequest:!1,subscribe_to_newsletter:!1,init(){0!==jn(this.responseElementContainer).length&&(this.shortTextClone.attr("id","").attr("hidden",!1),this.longTextClone.attr("id","").attr("hidden",!1),this.photoClone.attr("id","").attr("hidden",!1),this.termsClone.attr("id","").attr("hidden",!1),jn("#system-question-header").hide(),this.responseFullPage.length>0&&this.getQuestionnaireDetails(),this.bind(),Nn.init())},bind(){"yes"===window.data_layer.user.signed_up_primary_news_newsletter&&jn(".subscribe-field").addClass("hidden"),this.responseModal.length>0&&(this.isModal=!0,ln.renderContent({heading:"",content:"",customClass:"ccn-assignment-response__modal"}),jn(this.responseElementContainer).appendTo(".mar-modal-container .mar-modal__body"),jn(".mar-modal-container .mar-modal__actions").addClass("hidden"),this.openAssignmentResponse.on("click",e=>{this.assignmentId=jn(e.currentTarget).attr("data-collection-id"),this.getQuestionnaireDetails(),jn(this.responseForm).show(),jn("#response-submit-success").hide()})),jn("#close-preview-modal").on("click",()=>{jn("#imagePreviewModal").modal("hide")}),jn("#accept-terms").on("change",e=>{jn(e.currentTarget).prop("checked")?(this.btnSendResponse.removeClass("disabled"),this.btnSendResponse.prop("disabled",!1)):(this.btnSendResponse.addClass("disabled"),this.btnSendResponse.prop("disabled",!0))}),this.btnSendResponse.on("click",async e=>{e.preventDefault();const t=await this.sendAssignmentResponse();
1t&&t.data.success&&(this.subscribe_to_newsletter||"no"!==window.data_layer.user.signed_up_primary_news_newsletter||jn(".newsletter-subscribe").removeClass("hidden"),jn("#assignment-response-form").hide(),jn("#response-submit-success").show())}),document.addEventListener("change",e=>{e.target.id.includes("subscribe_to_newsletter")&&(this.subscribe_to_newsletter=e.target.checked),"subscribe_to_newsletter_field"===e.target.id&&(this.sendSubscriptionRequest=e.target.checked)}),document.addEventListener("click",async e=>{wn({event:e,selector:"".concat(this.modalCloseSelector)})&&await this.handleSubscribeToNewsletter()}),this.setSiteInfo()},bindPageData(){const e=jn(this.responseForm).data("logged-in"),t=jn(this.responseForm).data("user"),n=jn(this.responseForm).data("email");jn("#question-list").empty(),jn("#system-question-header").hide(),this.systemQuestionList.empty(),jn("#credit-me").prop("checked",!0),jn("#accept-terms").prop("checked",!1),jn("#accept-terms").trigger("change"),jn("#es-spinner").hide(),jn("#assignment-description").text(this.data.description),jn(".ccn-assignment-response__modal").length&&(jn("#assignment-title").text(this.data.title),jn("#assignment-title").removeClass("hidden")),this.data.questions.forEach((r,i)=>{let a;const o=r.system_question>0;let s;"long_text"===r.format?a=this.longTextClone.clone(!0).off():"short_text"===r.format?a=this.shortTextClone.clone(!0).off():"photo"===r.format?a=this.photoClone.clone(!0).off():"checkbox"===r.format&&(a=this.termsClone.clone(!0).off(),a.hide()),a.attr("data-mandatory-question",r.is_mandatory),a.attr("data-question-id",r.id),a.attr("id","answer-row-".concat(i)),5===r.system_question&&jn("#accept-terms").attr("data-question-id",r.id);const c="answer_".concat(i);let l;if("photo"!==r.format){if(a.find("[name='answer_index']").attr("id",c).attr("name",c).attr("form","response_form").attr("system_question",r.system_question),1===e)switch(r.system_question){case 1:t&&a.find("input").val(t);break;case 2:n&&a.find("input").val(n)}r.max_limit>0&&(!o||4===r.system_question)&&(l=1===r.max_limit?"word":"words",a.find(".max-limit").text("(Maximum of ".concat(r.max_limit," ").concat(l,")"))),a.find("label").attr("for",c),a.find(".mar-form-elements__form-control").bind("paste",e=>{const t=e.originalEvent.clipboardData.getData("text");this.checkMaxTextField(r,e,t)}),a.find(".mar-form-elements__form-control").on("keydown",e=>{this.checkMaxTextField(r,e)})}else s="response_image_id_".concat(i),a.attr("data-question-type","photo"),a.find(".img-upload-label").attr("data-target","#".concat(s)),a.find(".img-upload-label").attr("for",s),a.find("#imageId").attr("id","image_id_".concat(s)),a.find("#imgfile").attr("id",s).attr("name",s).attr("data-target","#image_id_".concat(s)),a.find(".image-upload__uploaded-images").attr("data-question-id",r.id),r.max_limit>0&&(l=1===r.max_limit?"photo":"photos",a.find(".max-limit").text("(Maximum of ".concat(r.max_limit," ").concat(l,")")),a.find(".image-upload__uploaded-images").attr("data-max-limit",r.max_limit));if(a.find(".question-title").text(r.question),0===r.is_mandatory?a.find(".mandatory-question").attr("hidden",!0):a.find(".mar-form-elements__form-control").attr("required","required"),this.systemQuestionList.children().length>0&&jn("#system-question-header").show(),o?a.appendTo(this.systemQuestionList):a.appendTo(this.questionList),"photo"===r.format){const e="#answer-row-".concat(i," .image-upload__uploaded-images");jn("#".concat(s)).on("change",e=>{Nn.upload(e,e.currentTarget)}),jn("#image_id_".concat(s)).on("change",t=>{const n=jn(t.currentTarget).val();this.createImageRow(n,"response_form",e,r.id),Nn.magnifyImagePreview(this.isModal,"ccn-assignment-response__modal","ccn-assignment-response__image-magnify");const a=jn("#answer_".concat(i)),o="".concat(a.val()," ").concat(n);a.val(o.trim())})}}),jn(".img-upload-label").on("click",e=>{const t=e.currentTarget.dataset.target;jn("#imgfile").attr("data-target",t)}),jn(".ccn-assignment-response__modal").length?(jn(".return-to-homepage").addClass("hidden"),jn(".return-to-article").removeClass("hidden")):(jn("#dg-success").find(".return-to-homepage").removeClass("hidden"),jn("#dg-success").find(".return-to-article").addClass("hidden"))},checkMaxTextField(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";if(e.max_limit<1)return;jn(t.currentTarget).val().split(/\s+/).length+(n?n.split(/\s+/).length:0)>
1=e.max_limit&&(32===t.keyCode||n.length>0)&&t.preventDefault()},async getQuestionnaireDetails(){try{let e=jn("#assignment-id").attr("data-hash");""===e&&(e=jn('a.cta[data-collection-id="'.concat(this.assignmentId,'"]')).attr("data-hash"));const t=await Vt.get("/ws/ccn/assignments/form/".concat(e,"/"));this.data=t.data.body,this.bindPageData()}catch(e){t.log(e),_n.show({type:_n.types.error,message:e,targetSibling:document.querySelector(".ccn-assignment-response__submit-container")})}},async sendAssignmentResponse(){let e=!1,n=!0;this.responseForm.find(".mar-form-elements__form-control").removeClass("is-invalid").removeClass("is-valid"),this.responseForm.find(".img-upload-label").removeClass("border border-danger");this.responseForm.find(":invalid").each((e,t)=>{n=!1,jn(t).addClass("is-invalid")});let r=!1,i=!1,a=!1;this.responseForm.find(".mar-form-elements__form-control").each((e,t)=>{jn(t).attr("required")&&0===jn(t).val().trim().length?(jn(t).addClass("is-invalid"),r=!0):"2"!==jn(t).attr("system_question")||/^[^@]+@[a-zA-Z0-9._-]+\.[a-zA-Z]+$/.test(jn(t).val().trim())?"3"===jn(t).attr("system_question")&&jn(t).val().trim().length<4?(jn(t).addClass("is-invalid"),i=!0):this.responseForm.find(".mar-form-elements__form-control").not(".is-invalid").addClass("is-valid"):(jn(t).addClass("is-invalid"),a=!0)});const o=[];jn("#question-list .mar-form-elements__form-group").each((e,t)=>{"photo"===jn(t).attr("data-question-type")&&"1"===jn(t).attr("data-mandatory-question")&&o.push(jn(t))}),o.forEach(e=>{0===jn(e).find(".image-upload__uploaded-images").find(".image-upload__image-item").length&&(n=!1,jn(e).find(".img-upload-label").addClass("border border-danger"))});const s=jn(".image-upload__uploaded-images").find(".image-upload__image-item"),c=s.length;if(c>0&&s.each((e,t)=>{const r=jn(t),i=r.find(".image-caption"),a=r.find(".image-source");let o=0,s=0;i&&(o=i.val().length),a&&(s=a.find("option:selected").val().length),0===o&&(n=!1,i.removeClass("is-valid").addClass("is-invalid")),0===s&&(n=!1,a.removeClass("is-valid").addClass("is-invalid"))}),r?(n=!1,_n.show({type:_n.types.error,message:"You haven't answered at least one required question.",targetSibling:document.querySelector(".ccn-assignment-response__submit-container"),timeout:2e3})):a?(n=!1,_n.show({type:_n.types.error,message:'Please enter a valid email address. If the entered email is correct and it still isn\'t working, please contact our <a href="/contact/techcontact/" target="_blank">technical support desk</a>.',targetSibling:document.querySelector(".ccn-assignment-response__submit-container"),timeout:2e3})):i?(n=!1,_n.show({type:_n.types.error,message:'Please enter a valid phone number. If the entered phone number is correct and it still isn\'t working, please contact our <a href="/contact/techcontact/" target="_blank">technical support desk</a>.',targetSibling:document.querySelector(".ccn-assignment-response__submit-container"),timeout:2e3})):0===c&&o.length>0&&_n.show({type:_n.types.error,message:"You haven't answered at least one required picture question.",targetSibling:document.querySelector(".ccn-assignment-response__submit-container"),timeout:2e3}),n)try{const t=[],r=new FormData;r.append("allow_attribution",jn("#credit-me").is(":checked")),jn("#question-list").children().each((e,n)=>{if("photo"!==jn(n).attr("data-question-type")){const e=jn(n).attr("data-question-id"),i=jn(n).find(".mar-form-elements__form-control").val();
1e&&i&&(r.append("question_id[]",e),r.append("answer[]",i),t.push(Number(e)))}}),this.systemQuestionList.children().each((e,n)=>{if("photo"!==jn(n).attr("data-question-type")){const e=jn(n).attr("data-question-id"),i=jn(n).find(".mar-form-elements__form-control").val();e&&i&&(r.append("question_id[]",e),r.append("answer[]",i),t.push(Number(e)))}});const i=jn("#accept-terms").attr("data-question-id"),a=jn("#accept-terms").is(":checked");i&&a&&(r.append("question_id[]",i),r.append("answer[]",a),t.push(Number(i)));let o="",s="";const c=[];jn("#question-list .mar-form-elements__form-group").each((e,t)=>{"photo"===jn(t).attr("data-question-type")&&c.push(jn(t))}),jn(c).each((e,n)=>{s="",o="";const i=jn(n).find(".image-upload__uploaded-images").find(".image-upload__image-item");i.length>0&&i.each((e,n)=>{s=jn(n).attr("data-question-id");const i=jn(n).attr("data-image-id"),a=jn(n).find(".image-caption").val(),c=jn(n).find(".image-source").val();o+="".concat(i.toString()," "),r.append("image_question_id[]",s),r.append("image_id[]",i),r.append("caption[]",a),r.append("ownership[]",c),r.append("usage_rights[]","Free to re-use"),r.append("send_to_knowledge[]",!0),t.push(Number(s))}),s&&o&&(r.append("question_id[]",s),r.append("answer[]",o),t.push(Number(s)))});const l=[];if(this.data.questions.forEach(e=>{e.is_mandatory&&l.push(e.id)}),l.forEach(e=>{t.includes(e)||(n=!1)}),r.append("subscribe_to_newsletter",this.subscribe_to_newsletter),n){e=await Vt.post("/ws/ccn/assignments/assignment/".concat(this.assignmentId,"/answer/"),r)}else _n.show({type:_n.types.error,message:"You haven't answered at least one required question.",targetSibling:document.querySelector(".ccn-assignment-response__submit-container"),timeout:2e3})}catch(l){_n.show({type:_n.types.error,message:l.response.data.body.error,targetSibling:document.querySelector(".ccn-assignment-response__submit-container"),timeout:2e3}),t.log(l)}return e},createImageRow(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:".image-upload__uploaded-images",r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:null,i="image-row";r&&(i+="-".concat(r)),i+="-".concat(e);const a="#".concat(i);if(0===jn(a).length){const a=this.imageClone.clone(!0);a.attr("id",i),a.attr("data-image-id",e),a.attr("data-question-id",r),a.find(".image-delete").attr("data-question-id",r);let o="image_id_".concat(e);const s=a.find("#image_id_index");if(s.attr("id",o),s.attr("name",o),s.attr("form",t),s.val(e),r){o="image_question_id_".concat(e);const n=a.find("#image_question_id_index");n.attr("id",o),n.attr("name",o),n.attr("form",t),n.val(r)}a.find(".image-preview").attr("src","/resources/images/".concat(e)),a.find(".image-delete").attr("data-image-id",e).attr("data-question-id",r),o="caption_".concat(e);const c=a.find("#caption_index");c.attr("id",o),c.attr("name",o),c.attr("form",t),o="ownership_".concat(e);const l=a.find("#ownership_index");l.attr("id",o),l.attr("name",o),l.attr("form",t),a.find('label[for="ownership_index"]').attr("for",o),o="usage_rights_".concat(e);const d=a.find("#usage_rights_index");d.attr("id",o),d.attr("name",o),d.attr("form",t),o="send_to_knowledge_".concat(e);const u=a.find("#send_to_knowledge_index");u.attr("id",o),u.attr("name",o),u.attr("form",t),a.find("#".concat(o)).val(1),a.attr("hidden",!1),jn(n).append(a),jn("".concat(n," .image-delete")).each((e,t)=>
1{jn(t).off("click").on("click",e=>{jn("#image-row-".concat(e.target.getAttribute("data-question-id"),"-").concat(e.target.getAttribute("data-image-id"))).remove(),null!==jn(n).data("max-limit")&&parseInt(jn(n).data("max-limit"),10)>0&&jn("".concat(n," .image-item")).length<parseInt(jn(n).data("max-limit"),10)&&jn(n).siblings(".custom-upload-image").attr("hidden",!1)})}),jn("".concat(n," select")).filter(function(){return this.id.match(/ownership_\d+$/)}).each((e,t)=>{jn(t.options).each((e,t)=>{jn(t).text(jn(t).data("text"))}),jn(t).on("change",e=>{jn(t.options).each((e,t)=>{jn(t).text(jn(t).data("text"))});const n=e.target;jn(n.options[n.selectedIndex]).text().length>41&&jn(n.options[n.selectedIndex]).text("".concat(jn(n.options[n.selectedIndex]).text().substr(0,40),"..."))})}),jn("".concat(n," select")).filter(function(){return this.id.match(/ownership_\d+$/)}).each((t,n)=>{jn(n).on("change",t=>{jn("#usage_rights_".concat(e," option")).not("option:first-child").remove(),Dn.options.forEach(n=>{if(n.value===t.currentTarget.value){jn("#usage_rights_".concat(e)).val(n.options[0])}})})})}this.checkMaxImageCount(r),null!==jn(n).data("max-limit")&&parseInt(jn(n).data("max-limit"),10)>0&&jn("".concat(n," .image-item")).length>=parseInt(jn(n).data("max-limit"),10)&&jn(n).siblings(".custom-upload-image").attr("hidden",!0),jn(".image-delete").off().on("click",e=>{e.preventDefault(),e.stopPropagation(),jn(e.currentTarget).parents(".image-item").remove(),this.checkMaxImageCount(jn(e.currentTarget).attr("data-question-id"))})},checkMaxImageCount(e){let t="";jn(".image-upload__uploaded-images").each((n,r)=>{Number(jn(r).attr("data-question-id"))===Number(e)&&(t=jn(r))});const n=t.children().length,r=t.attr("data-max-limit"),i=t.siblings(".custom-upload-image");n>=r?i.hide():(i.show(),i.attr("hidden",!1))},async handleSubscribeToNewsletter(){if(!this.sendSubscriptionRequest)return;const e={email:jn(this.responseForm).data("email"),subscribe_to_newsletter:this.subscribe_to_newsletter};(await Vt.post("/ws/contribute/subscribe/",JSON.stringify(e))).data.subscribed_to_newsletter&&(window.location.reload(),this.sendSubscriptionRequest=!1),ln.close()},setSiteInfo(){const e=window.data_layer.piano.custom_variables.primary_news_newsletter_name,t=window.data_layer.site.piano_site_name.includes("the")?window.data_layer.site.piano_site_name:"the ".concat(window.data_layer.site.piano_site_name),n=document.getElementById("newsletter-name"),r=document.getElementById("newsletter-name__success"),i=document.getElementById("site-name__field"),a=document.getElementById("site-name__success");i.innerText=t,a.innerText=t,e.includes("the")?(n.innerText=e.split(" ").slice(1).join(" "),r.innerText=e.split(" ").slice(1).join(" ")):(n.innerText=e,r.innerText=e)}};var Mn=n(92443);const Fn={init(){Mn(document).on("click",'a[data-o-track="true"]',e=>{Mn(e.target).data("o-ref")?this.clickTrack(e.target):this.clickTrack(Mn(e.target).parent()[0])})},clickTrack(e){const t=Mn(e).data("o-ref");Mn.cookie("o-ref",t,{path:"/",domain:window.data_layer.site.cookie_domain}),Mn.each(e.attributes,(e,t)=>{if(/^data-o-kv-/.test(t.name)){const e=t.value.split(":");Mn.cookie("o-".concat(e[0]),"".concat(e[1],"=").concat(e[2]),{path:"/",domain:window.data_layer.site.cookie_domain})}})}};n(92443);const qn={init(){var e,n;null===(e=document.querySelector("#bottom-expandable-wrapper .invisible-target"))||void 0===e||e.addEventListener("click",()=>{var e;null===(e=document.getElementById("bottom-expandable-wrapper"))||void 0===e||e.classList.toggle("open")}),null===(n=document.querySelector("#bottom-expandable-wrapper-offer .invisible-target"))||void 0===n||n.addEventListener("click",()=>{const e=document.getElementById("bottom-expandable-wrapper-offer");null==e||e.classList.toggle("open"),!0===window.pianoExpandableStartOpen&&(t.log("Piano: closing"),e.style.display="none")})}};function Bn(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}
1finally{try{if(!c&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}(e,t)||gn(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var Vn=n(92443),Un=n.n(Vn),Hn=n(92443);const zn={scrollTo(e,t,n){let r=n&&n.offset;if(e){r=document.getElementById(e).getBoundingClientRect().top-t}r&&window.scrollTo({top:r,behavior:n&&n.behavior?n.behavior:"smooth"})},isInViewport(e){const t=Hn(e).offset().top,n=t+Hn(e).outerHeight(),r=Hn(window).scrollTop(),i=r+Hn(window).height();return n>r&&t<i}};n(84864);const Wn=e=>e.replace(/\w\S*/g,e=>e.charAt(0).toUpperCase()+e.substr(1).toLowerCase()),Jn=e=>e.charAt(0).toUpperCase()+e.slice(1),Kn={piano:null,dataLayer:{},init(){Un()(document).on("click","#piano-helper-init",e=>{e.preventDefault(),this.show()}),Un()(document).on("click","#show-piano-divs",e=>{e.preventDefault(),this.showPianoDivs()}),Un()(document).on("click","#show-new-piano-divs",e=>{e.preventDefault(),this.showNewPianoDivs()}),Un()(document).on("click","#datalayer-helper-init",e=>{e.preventDefault(),this.showLaunch()}),Un()(document).on("click","#piano-hide-newsquest",e=>{e.preventDefault(),this.setHideNewsquestCookie()}),Un()(document).on("click","#piano-show-newsquest",e=>{e.preventDefault(),this.unsetHideNewsquestCookie()})},async show(){"yes"===Un().cookie("nq-show-piano-viewer")?(Un()("#piano-no-cookie").hide(),Un()("#piano-cookie").show()):(Un()("#piano-no-cookie").show(),Un()("#piano-cookie").hide()),this.list(),await Un()(".modal").modal("hide"),Un()("#piano-helper-modal").modal("show")},async showLaunch(){this.listLaunch(),await Un()(".modal").modal("hide"),Un()("#launch-helper-modal").modal()},list(){this.getParams(),Object.entries(this.piano.customVariables).forEach(e=>{const t=Bn(e,2),n=t[0],r=t[1];Un()(".piano-custom-variables-available").append("<tr><td>".concat(n,"</td><td>").concat(r,"</td></tr>"))}),this.piano.tags.split(",").forEach(e=>{Un()(".piano-tags-available").append("<li>".concat(e,"</li>"))})},showNewPianoDivs(){Un()('*[id^="po-"]').each((e,t)=>{const n=Un()(t);"po-inline-articlegate-partialarticle"!==n.attr("id")&&"po-inline-articlegate-fullarticle"!==n.attr("id")&&"po-overlay-articlegate-full-width-full-article-scroll-below"!==n.attr("id")&&"piano-helper-modal"!==n.attr("id")&&"piano-helper-init"!==n.attr("id")&&"piano-meter-display"!==n.attr("id")&&(n.html("#".concat(n.attr("id"))),n.css({border:"5px solid forestgreen",backgroundColor:"#ffffff",textAlign:"center",display:"block",zIndex:9999999999}))}),Un()("#po-inline-articlegate-partialarticle").css({backgroundColor:"lavender",display:"block",marginBottom:"10px",zIndex:9999999999}).html('<div style="text-align: center"><b>#po-inline-articlegate-partialarticle</b> (replaces all shaded content )</div>'.concat(Un()("#po-inline-articlegate-partialarticle").html())),Un()("#po-inline-articlegate-fullarticle").css({border:"5px solid forestgreen",backgroundColor:"#ffffff",display:"block",zIndex:9999999999,marginBottom:"10px"}).html('<div style="text-align: center"><b>#po-inline-articlegate-fullarticle</b> (replaces <b>ALL</b> content below)</div>'.concat(Un()("#po-inline-articlegate-fullarticle").html())),Un()("#po-overlay-articlegate-full-width-full-article-scroll-below").css({border:"5px solid forestgreen",backgroundColor:"#ffffff",display:"block",zIndex:9999999999,marginBottom:"10px"}).html('<div style="text-align: center"><b>#po-overlay-articlegate-full-width-full-article-scroll-below</b> (replaces <b>ALL</b> content below)</div>'.concat(Un()("#po-overlay-articlegate-full-width-full-article-scroll-below").html())),Un()("#piano-helper-modal").modal("hide")},showPianoDivs(){Un()('*[id^="piano"]').each((e,t)=>{const n=Un()(t);"piano-helper-modal"!==n.attr("id")&&"piano-helper-init"!==n.attr("id")&&"piano-meter-display"!==n.attr("id")&&(n.attr("id"),n.html("#".concat(n.attr("id"))),n.css({border:"5px solid black",backgroundColor:"#ffffff",textAlign:"center",display:"block",zIndex:9999999999}))}),Un()('*[id^="subscription-"]').each((e,t)=>{const n=Un()(t);n.html("#".concat(n.attr("id"))),n.css({border:"5px solid black",backgroundColor:"#ffffff",textAlign:"center",display:"block",zIndex:9999999999,marginBottom:"10px"})}),Un()("#po-inline-subscribe-page").css({backgroundColor:"lavender",display:"block",marginBottom:"10px",zIndex:9999999999}).html('<div style="text-align: center"><b>#po-inline-subscribe-page</b> (replaces all shaded content )</div>'.concat(Un()("#po-inline-subscribe-page").html())),Un()("#piano-helper-modal").modal("hide")},getParams(){const e=window.tp||{customVariables:{},customParams:{},tags:""};this.piano=e},getLaunchParams:()=>window.data_layer,jumpLaunch(e){const t=Un()(e.currentTarget).val();zn.scrollTo("launch-block-".concat(t,"-list"),75)},listLaunch(){const e=window.data_layer;this.listItems(e,"data_layer."),Object.entries(this.dataLayer).forEach(e
1=>{const t=Bn(e,2),n=t[0],r=t[1],i=Bn(n.split("-"),2),a=i[0],o=i[1];0===Un()("#launch-block-".concat(a)).length&&(this.createBlock(a),Un()("#launch-jump").append('<option value="'.concat(a,'" ').concat(Jn(a)," items</option>")));const s=o.split(".");s.shift();const c=Jn(s.shift());let l=s.join(" ").replace(/_/g," ");l=Wn(l),l=l.replace("Id","ID"),l=l.replace("Cmp","CMP"),Un()("#launch-block-".concat(a,"-list tbody")).append("\n <tr>\n <td>".concat(l,"</td>\n <td><code>").concat(r,"</code></td>\n <td>\n <code>").concat(o,'</code>\n <a class="mar-pl-2 fa-copy" style="cursor: pointer; text-decoration:none; text-black-50">\n <span class="iconify regular" data-icon="fa-regular:copy" data-inline="false" style="font-size: 1.2em; user-select:none;"></span>\n <span class="iconify text-success hidden solid" data-icon="fa-solid:copy" data-inline="false" style="font-size: 1.2em;user-select: none;"></span>\n </a>\n </td>\n <td>\n <code>_satellite.getVar("').concat(c,": ").concat(l,'");</code>\n <a class="mar-pl-2 fa-copy" style="cursor: pointer; text-decoration:none; text-black-50">\n <span class="iconify regular" data-icon="fa-regular:copy" data-inline="false" style="font-size: 1.2em;user-select:none;"></span>\n <span class="iconify text-success hidden solid" data-icon="fa-solid:copy" data-inline="false" style="font-size: 1.2em;user-select: none;"></span>\n </a>\n </td>\n </tr>\n </tr>'))}),Un()(".fa-copy").on("click",e=>{e.preventDefault();const t=Un()(e.currentTarget).siblings("code").text(),n=e.currentTarget;Un()('<input style="position:fixed;top:0;z-index:999999" id="copy">').appendTo("#launch-helper-modal"),Un()("#copy").val(t).focus().select(),document.execCommand("copy"),Un()("#copy").remove(),n.querySelector(".regular").classList.add("hidden"),n.querySelector(".solid").classList.remove("hidden"),setTimeout(()=>{n.querySelector(".regular").classList.remove("hidden"),n.querySelector(".solid").classList.add("hidden")},3e3)})},createBlock(e){const t=Un()('<div class="card"></div>').attr("id","launch-block-".concat(e)),n=Un()('<div class="card-header" style="cursor:pointer;"></div>'),r=Un()("<h4></h4>").html("".concat(Jn(e)," items")),i=Un()('<span class="float-right collapsed collapse-icon-container"></span>').attr("data-toggle","collapse").attr("data-target","#launch-block-".concat(e,"-list-body")).html('\n <span class="iconify plus-icon" data-icon="fa:plus-circle" data-inline="false"></span>\n <span class="iconify minus-icon hidden" data-icon="fa:minus-circle" data-inline="false"></span>\n ').attr("id","launch-block-".concat(e,"-cross")).attr("role","button"),a=Un()('<div class="card-body collapse"></div>').attr("id","launch-block-".concat(e,"-list-body")),o=Un()("<table>\n <thead>\n <tr>\n <th>Key</th>\n <th>Value</th>\n <th>JavaScript</th>\n <th>Launch code</th>\n </tr>\n </thead>\n <tbody>\n </tbody>\n </table>").attr("id","launch-block-".concat(e,"-list"));a.append(o),r.append(i),n.append(r),t.append(n),t.append(a),Un()(".modal-launch-template").append(t),Un()(".card-header").on("click",e=>{const t=e.currentTarget,n=Un()(e.currentTarget).siblings(".card-body"),r=t.querySelector("svg.plus-icon"),i=t.querySelector("svg.minus-icon");n.hasClass("show")?(Un()(n).collapse("hide"),r.classList.remove("hidden"),i.classList.add("hidden")):(Un()(n).collapse("show"),i.classList.remove("hidden"),r.classList.add("hidden"))})},listItems(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";
1Object.entries(e).forEach(e=>{const r=Bn(e,2),i=r[0],a=r[1];let o="";o=""===n?i:n;let s="";s=null===a||!1===a?"":a,"object"==typeof s?this.listItems(s,"".concat(t).concat(i,"."),o):this.dataLayer["".concat(n,"-").concat(t).concat(i)]=s})},setHideNewsquestCookie(){const e=new Date;e.setMinutes(e.getMinutes()+60),Un().cookie("nq-show-piano-viewer","yes",{expires:e,path:"/",domain:window.data_layer.site.cookie_domain}),document.location.reload()},unsetHideNewsquestCookie(){Un().cookie("nq-show-piano-viewer","yes",{expires:-1,path:"/",domain:window.data_layer.site.cookie_domain}),document.location.reload()}};function Gn(e){return Gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Gn(e)}function Yn(e){var t=function(e,t){if("object"!=Gn(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=Gn(r))return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==Gn(t)?t:t+""}class Xn{static trackMobileVerification(e,n){try{switch(window.s.events=e,window.s.linkTrackEvents=e,e){case this.Events.MobileVerification.Started:case this.Events.MobileVerification.CodeSent:case this.Events.MobileVerification.Success:window.s.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar7,eVar16,eVar19,eVar26";break;case this.Events.MobileVerification.TelNoError:case this.Events.MobileVerification.CodeError:window.s.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar7,eVar16,eVar19,eVar26,eVar31",window.s.eVar31=n||"Unknown error"}switch(window.s.tl(!0,"o","mobile verification"),e){case this.Events.MobileVerification.Started:t.success("Log verify phone begin");break;case this.Events.MobileVerification.TelNoError:t.error("Log verify phone tel no error");break;case this.Events.MobileVerification.CodeSent:t.success("Log verify phone code sent");break;case this.Events.MobileVerification.CodeError:t.error("Log verify phone code error");break;case this.Events.MobileVerification.Success:t.success("Log verify phone success")}}catch(Qn){t.error(Qn)}}static trackNewsletter(e){try{let n;switch(window.s.events=e,e){case this.Events.NewsletterSubscription.Subscribed:window.s.eVar99="+1",window.s.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar27,eVar43,eVar61,eVar63,eVar99,prop62,list3,events",n="Newsletter subscription, event85";break;case this.Events.NewsletterSubscription.Unsubscribed:window.s.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar27,eVar43,eVar61,eVar63,prop62,list3,events",n="Newsletter unsubscription, event86"}window.s.suppressPageView=!0,window.s.linkTrackEvents=e,window.s.tl(!0,"o","Newsletter Sign Up"),window.s.events="",t.success(n)}catch(Qn){t.error(Qn)}}static trackSubEditor(e,t){const n=window.s;n.linkTrackVars="eVar2,prop3,prop4,prop5,prop6,prop7,prop8,prop9,prop15,prop16,prop17,prop18,prop20,prop23,prop26,eVar61eVar3,eVar4,eVar5,eVar6,eVar7,eVar8,eVar9,eVar15,eVar16,eVar17,eVar18,eVar20,eVar23,eVar26",n.eVar2="(www) /admin/martina/sub-editor/",n.prop4=t.articleId,n.prop5="AdminModule",n.prop6="admin",n.prop7="admin/martina/sub-editor/",n.prop8="admin/martina/sub-editor/choose-task/",n.prop9="admin/martina/sub-editor/choose-task/",n.eVar6="admin",n.eVar7="admin/martina/sub-editor/",n.eVar8="admin/martina/sub-editor/choose-task/",n.eVar9="admin/martina/sub-editor/choose-task/","PageEntry"===e&&(n.eVar3="Martina Sub-Editor > Choose task"),"Suggestions"===e&&(n.eVar3="Martina Sub-Editor > Suggestions",n.eVar8="admin/martina/sub-editor/suggestions/",n.eVar9="admin/martina/sub-editor/suggestions/".concat(t.taskName,"/"),n.prop8="admin/martina/sub-editor/suggestions/",n.prop9="admin/martina/sub-editor/suggestions/".concat(t.taskName,"/"),n.eVar61=t.siteId,n.eVar62=t.taskId),"FinalCheck"===e&&(n.eVar3="Martina Sub-Editor > Final Check",n.eVar8="admin/martina/sub-editor/final-check/",n.eVar9="admin/martina/sub-editor/final-check/".concat(t.taskName,"/"),n.prop8="admin/martina/sub-editor/final-check/",n.prop9="admin/martina/sub-editor/final-check/".concat(t.taskName,"/"),n.eVar61=t.siteId,n.eVar62=t.taskId),n.t()}}var Qn,Zn,er;Qn=Xn,er={MobileVerification:{Started:"event98",TelNoError:"event99",CodeSent:"event100",CodeError:"event101",Success:"event102"},NewsletterSubscription:{Subscribed:"event85",Unsubscribed:"event86"}},(Zn=Yn(Zn="Events"))in Qn?Object.defineProperty(Qn,Zn,{value:er,enumerable:!0,configurable:!0,writable:!0}):Qn[Zn]=er;var tr=n(92443);const nr={eventSent:!1,registrationSent:!1,loginSent:!1,height:500,width:460,isNewsletterSignup:!1,init(){window.screen.width<460&&(this.width=window.screen.width),tr(document).on("click",".piano-id__register",e=>{e.preventDefault(),this.isNewsletterSignup=!0,tr.cookie("reg_return_url",window.location.pathname,{expires:1,path:"/;SameSite=Lax",domain:window.data_layer.site.cookie_domain});const t=sessionStorage.getItem("nq_content_id");window.location="/user/create-account/commenting/".concat(t,"/")}),tr(document).on("click",".piano-id__login",e=>{e.preventDefault(),this.login()}),tr(document).on("click",".piano-id__logout",e=>{e.preventDefault(),this.logout()}),tr("#piano-id-logout").on("click",e=>{e.preventDefault(),this.logout()}),tr(document).on("click",".piano-user-link",()=>{this.isNewsletterSignup=!0,tr.cookie("reg_return_url",window.location.pathname,{expires:1,path:"/;SameSite=Lax",domain:window.data_layer.site.cookie_domain})}),-1!==document.cookie.indexOf("newsletterSignUpBulletins")&&(this.isNewsletterSignup=!0),tr(document).on("click",".newsletter-option",()=>{this.checkNewsletters()}),-1!==document.cookie.indexOf("reg_newsletters")&&(this.isNewsletterSignup=!0)},reloadPage(){t.log("AA: Would reload this page"),window.setTimeout(()=>{window.location.reload()},1e3)},login(){t.log("TPM: login function called"),window.tp.pianoId.show({screen:"login",displayMode:"modal",loggedIn:()=>{t.log("TPM: login callback called"),this.loggedIn()},loggedOut:()=>{},registrationSuccess:()=>{t.log("TPM: registeredSuccess callback called"),this.registered()},width:this.width,height:this.height})},register(){window.tp.pianoId.show({screen:"register",displayMode:"modal",loggedIn:()=>{t.log("TPM: logloggedInin callback called"),this.loggedIn(!0)},loggedOut:()=>{},registrationSuccess:()=>{t.log("TPM: registrationSuccess callback called"),this.registered()},width:this.width,height:this.height})},logout(){try{window.tp.pianoId.logout(),!1===this.isLoggedInAsAdmin()&&tr.removeCookie("nqdm_au",{path:"/",domain:window.data_layer.site.cookie_domain}),this.logOutOfViafoura(),this.reloadPage()}catch(e){t.log("Error piano-id.logout",e)}},isLoggedInAsAdmin:()=>!!tr.cookie("nq_al")||(!!tr.cookie("nq_internal_admin_entra")||!!tr.cookie("nq_external_admin")),loggedIn(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];t.log("AA: login method triggered, have we sent a login event already? ".concat(this.loginSent,"\n Is this from a registration? ").concat(e)),this.loginSent?this.redirectUser(!0):(this.raiseLaunchEvent("user-has-logged-in"),this.loginSent=!0,this.sendToAdobe("event8","Login"),e||(this.loginUser(),this.redirectUser(!0)))},registered(){t.log("AA: registered method triggered, have we sent a registration event already? ".concat(this.registrationSent)),this.registrationSent||(this.sendToAdobe("event3","Registration"),this.raiseLaunchEvent("user-has-registered"),this.registerUser(),this.registrationSent=!0,this.redirectUser())},async registerUser(){await Vt.get("/api/user/create-id/")},async loginUser(){await Vt.get("/api/user/login-id/")},sendToAdobe(e,n){if(t.log("AA: sending ".concat(e)),this.eventSent)return;const r=window.s;r.eVar2=window.location.href,r.pageName="(www) ".concat(window.location.pathname),r.events=e,r.linkTrackEvents=e,r.suppressPageView=!0;try{r.tl(!0,"o",n)}catch(i){}r.ignoreNext=!0},redirectToPage(e){t.log("AA: Would redirect to ".concat(e)),window.setTimeout(()=>{window.location=e},1e3)},checkNewsletters(){let e="";document.querySelectorAll(".newsletter-option:checked").forEach(t=>{""!==e&&(e+=","),e+=tr(t).val()}
1),""!==e&&tr.cookie("newsletterSignUpBulletins",e,{expires:1,path:"/",domain:window.data_layer.site.cookie_domain})},redirectUser(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if("yes"===window.data_layer.site.disable_newsletters)return document.location.pathname.indexOf("account/login")>0?void this.redirectToPage("/"):void this.reloadPage();!0!==this.isNewsletterSignup&&!0!==this.isTopNavigation||!1!==e?document.location.pathname.indexOf("account/register")>0&&!1===e?this.redirectToPage("/user/account/newsletters/"):document.location.pathname.indexOf("account/login")>0?this.redirectToPage("/"):this.reloadPage():this.redirectToPage("/user/account/newsletters/")},raiseLaunchEvent(e){t.log("launch:piano:".concat(e," has been dispatched"));const n=new Event("launch:piano:".concat(e));window.dispatchEvent(n)},logOutOfViafoura(){}};var rr=n(92443);const ir={commentsModalSelector:"article-comments__interrupt-modal-content",activeChurn:{eventStarted:"martini:piano-active-churn:started",eventFinished:"martini:piano-active-churn:finished",attemptStorageKey:"piano_active_churn_attempt_id",startedInFlight:!1,finishedInFlight:!1},init(){var e=this;window.addEventListener("message",e=>{const t=e.data;switch(t.src){case"send-email":this.handleEmail(t);break;case"expand-window":this.expandWindow();break;case"close-bottom-banner":case"close-fixed-banner":this.closeBottomBanner();break;case"login":this.login(t);break;case"register":this.register(t);break;case"open-comments-modal":this.showCommentsModal();break;case"sign-up":this.signUp(t);break;case"login-modal":this.loginModal();break;case"register-modal":this.registerModal();break;case"start-checkout":this.showOffer(t);break;case"close-partial-article":this.closePartialArticle();break;case"close-fullarticle":this.closeFullArticle();break;case"init-ad-slot":this.initAdSlot(t);break;case"active-churn-save-started":this.handleActiveChurnSaveStarted({detail:t});break;case"active-churn-save-finished":this.handleActiveChurnSaveFinished({detail:t})}}),window.addEventListener(this.activeChurn.eventStarted,e=>{this.handleActiveChurnSaveStarted(e)}),window.addEventListener(this.activeChurn.eventFinished,e=>{this.handleActiveChurnSaveFinished(e)}),window.activeChurnSaveStarted=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{window.dispatchEvent(new CustomEvent(e.activeChurn.eventStarted,{detail:n}))}catch(r){t.log(r)}},window.activeChurnSaveFinished=function(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};try{window.dispatchEvent(new CustomEvent(e.activeChurn.eventFinished,{detail:n}))}catch(r){t.log(r)}}}
1,setActiveChurnAttemptId(e){try{if(null==e||""===e)return;window.sessionStorage.setItem(this.activeChurn.attemptStorageKey,String(e))}catch(n){t.log(n)}},getActiveChurnAttemptId(){try{return window.sessionStorage.getItem(this.activeChurn.attemptStorageKey)}catch(e){t.log(e)}return null},clearActiveChurnAttemptId(){try{window.sessionStorage.removeItem(this.activeChurn.attemptStorageKey)}catch(e){t.log(e)}},async handleActiveChurnSaveStarted(e){if(!0!==this.activeChurn.startedInFlight){this.activeChurn.startedInFlight=!0;try{const t=e&&e.detail?e.detail:{},n=await fetch("/api/users/active-churn/save-started/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r=await n.json();if(200===n.status&&r&&!0===r.success&&r.data){const e=void 0!==r.data.attempt_id?r.data.attempt_id:r.data.id;this.setActiveChurnAttemptId(e)}}catch(n){t.log(n)}finally{this.activeChurn.startedInFlight=!1}}},async handleActiveChurnSaveFinished(e){if(!0!==this.activeChurn.finishedInFlight){this.activeChurn.finishedInFlight=!0;try{const t=e&&e.detail?e.detail:{};if(void 0===t.attempt_id||null===t.attempt_id||""===t.attempt_id){const e=this.getActiveChurnAttemptId();e&&(t.attempt_id=e)}const n=await fetch("/api/users/active-churn/save-finished/",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(t)}),r=await n.json();200===n.status&&r&&!0===r.success&&this.clearActiveChurnAttemptId()}catch(n){t.log(n)}finally{this.activeChurn.finishedInFlight=!1}}},closeBottomBanner(){rr("#bottom-expandable-wrapper").hide()},async handleEmail(e){const t={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"email=".concat(e.email)},n=await fetch("/api/user/register-with-email/",t),r=await n.json();if(void 0!==r.success&&!0===r.success)return nr.sendToAdobe("event3"),void(window.location="/user/account/newsletters/");void 0===r.redirect?window.location="/user/login/?newsletter_signup=1":window.location=r.redirect},expandWindow(){window.$("#bottom-expandable-wrapper").toggleClass("open")},login(e){rr.cookie("reg_return_url",window.location.pathname,{expires:1,path:"/;SameSite=Lax"}),window.location="/user/login/?cmpid=".concat(e.cmpid)},register(e){rr.cookie("reg_return_url",window.location.pathname,{expires:1,path:"/;SameSite=Lax"}),rr.cookie("reg_newsletters",!0,{expires:1,path:"/"}),window.location="/my/account/register/?cmpid=".concat(e.cmpid,"&newsletter_signup=1")},async showCommentsModal(){const e=document.getElementById(this.commentsModalSelector);if(e){const t=e.innerHTML;await ln.open({size:ln.modalVariants[1],heading:"Subscriber Comments",content:t,btnElement:null}),ln.bind()}},async signUp(e){var n;if("yes"===window.data_layer.user.is_logged_in)return void this.signUpLoggedIn(e);const r=e.email,i=e.newsletter_id,a=null!==(n=e.template_id)&&void 0!==n?n:"template-not-found";if(r)try{const e={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"email=".concat(r,"&newsletter_id=").concat(i,"&template_id=").concat(a)};await fetch("/api/user/register-with-newsletter/",e),Xn.trackNewsletter(Xn.Events.NewsletterSubscription.Subscribed)}catch(o){t.log(o)}},async signUpLoggedIn(e){var n;t.log("Signing up logged-in user to newsletter with data");const r=e.newsletter_id,i=null!==(n=e.template_id)&&void 0!==n?n:"template-not-found";try{const e={method:"POST",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:"bulletin_id=".concat(r,"&template_id=").concat(i)};await fetch("/api/user/bulletin-subscription/",e),Xn.trackNewsletter(Xn.Events.NewsletterSubscription.Subscribed)}catch(a){t.log(a)}},loginModal(){nr.login()},registerModal(){nr.register()},setLts(e){const t=window.s;t.events="event89",t.eVar79=e,t.linkTrackVars="eVar2,eVar4,eVar5,eVar6,eVar7,eVar16,eVar19,eVar25,eVar26,eVar28,eVar59,eVar60,eVar61,eVar62,eVar79,eVar80,prop63,list3,events",t.suppressPageView=!0,t.linkTrackEvents="event89",t.tl(!0,"o","Non Meter LtS Score")},setLtsHighShowingGate(){const e=window.s;e.eVar59="T1 / Inline / Interrupt for Premium Content / 2021 (1)",e.events="event5",e.linkTrackVars="eVar2,eVar3,eVar4,eVar5,eVar6,eVar16,eVar19,eVar25,eVar26,eVar28,eVar43,eVar59,eVar61,eVar62,prop63,eVar80,eVar79,list3, events",e.linkTrackEvents="event5",e.tl(document,"o","Metered Access Notice")},showOffer(e){const t={templateId:e.templateId,termId:e.termId,offerId:e.offerId,displayMode:"modal",checkoutFlowId:e.checkoutFlowId};""!==e.templateVariantId&&(t.templateVariantId=e.templateVariantId),window.tp.offer.startCheckout(t)},closePartialArticle(){rr("#po-inline-articlewall-partialarticle-closable").css("display","none"),rr("#po-inline-articlegate-partialarticle").css("display","block")},closeFullArticle(){rr("#po-inline-articlewall-fullarticle-closable").css("display","none"),rr("#po-inline-articlegate-fullarticle").css("display","block")},setContentScore:async e=>e,initAdSlot(e){const t=e.ad_slot_id;window.addAdSlot(t,t.replace("DFP_",""))}};var ar=Object.freeze({}),or=Array.isArray;function sr(e){return null==e}function cr(e){return null!=e}function lr(e){return!0===e}function dr(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function ur(e){return"function"==typeof e}function pr(e){return null!==e&&"object"==typeof e}var fr=Object.prototype.toString;function hr(e){return"[object Object]"===fr.call(e)}function mr(e){return"[object RegExp]"===fr.call(e)}function vr(e){var t=parseFloat(String(e));return t>=0&&Math.floor(t)===t&&isFinite(e)}function gr(e){return cr(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function yr(e){return null==e?"":Array.isArray(e)||hr(e)&&e.toString===fr?JSON.stringify(e,br,2):String(e)}function br(e,t){return t&&t.__v_isRef?t.value:t}function wr(e){var t=parseFloat(e);return isNaN(t)?e:t}function _r(e,t){for(var n=Object.create(null),r=e.split(","),i=0;i<r.length;i++)n[r[i]]=!0;return t?function(e){return n[e.toLowerCase()]}:function(e){return n[e]}}var Sr=_r("slot,component",!0),xr=_r("key,ref,slot,slot-scope,is");function kr(e,t){var n=e.length;if(n){if(t===e[n-1])return void(e.length=n-1);var r=e.indexOf(t);if(r>-1)return e.splice(r,1)}}var Cr=Object.prototype.hasOwnProperty;function Tr(e,t){return Cr.call(e,t)}function Or(e){var t=Object.create(null);return function(n){return t[n]||(t[n]=e(n))}}var Er=/-(\w)/g,Ar=Or(function(e){return e.replace(Er,function(e,t){return t?t.toUpperCase():""})}),Lr=Or(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}),Ir=/\B([A-Z])/g,Rr=Or(function(e){return e.replace(Ir,"-$1").toLowerCase()});var Pr=Function.prototype.bind?function(e,t){return e.bind(t)}:function(e,t){function n(n){var r=arguments.length;return r?r>1?e.apply(t,arguments):e.call(t,n):e.call(t)}return n._length=e.length,n};function Nr(e,t){t=t||0;for(var n=e.length-t,r=new Array(n);n--;)r[n]=e[n+t];return r}function Dr(e,t){for(var n in t)e[n]=t[n];return e}function jr(e){for(var t={},n=0;n<e.length;n++)e[n]&&Dr(t,e[n]);return t}function $r(e,t,n){}var Mr=function(e,t,n){return!1},Fr=function(e){return e};function qr(e,t){if(e===t)return!0;var n=pr(e),r=pr(t);if(!n||!r)return!n&&!r&&String(e)===String(t);try{var i=Array.isArray(e),a=Array.isArray(t);if(i&&a)return e.length===t.length&&e.every(function(e,n){return qr(e,t[n])});if(e instanceof Date&&t instanceof Date)return e.getTime()===t.getTime();if(i||a)return!1;var o=Object.keys(e),s=Object.keys(t);return o.length===s.length&&o.every(function(n){return qr(e[n],t[n])})}catch(Qn){return!1}}function Br(e,t){for(var n=0;n<e.length;n++)if(qr(e[n],t))return n;return-1}function Vr(e){var t=!1;return function(){t||(t=!0,e.apply(this,arguments))}}function Ur(e,t){return e===t?0===e&&1/e!=1/t:e==e||t==t}var Hr="data-server-rendered",zr=["component","directive","filter"],Wr=["beforeCreate","created","beforeMount","mounted","beforeUpdate","updated","beforeDestroy","destroyed","activated","deactivated","errorCaptured","
1serverPrefetch","renderTracked","renderTriggered"],Jr={optionMergeStrategies:Object.create(null),silent:!1,productionTip:!1,devtools:!1,performance:!1,errorHandler:null,warnHandler:null,ignoredElements:[],keyCodes:Object.create(null),isReservedTag:Mr,isReservedAttr:Mr,isUnknownElement:Mr,getTagNamespace:$r,parsePlatformTagName:Fr,mustUseProp:Mr,async:!0,_lifecycleHooks:Wr},Kr=/a-zA-Z\u00B7\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u037D\u037F-\u1FFF\u200C-\u200D\u203F-\u2040\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD/;function Gr(e){var t=(e+"").charCodeAt(0);return 36===t||95===t}function Yr(e,t,n,r){Object.defineProperty(e,t,{value:n,enumerable:!!r,writable:!0,configurable:!0})}var Xr=new RegExp("[^".concat(Kr.source,".$_\\d]"));var Qr="__proto__"in{},Zr="undefined"!=typeof window,ei=Zr&&window.navigator.userAgent.toLowerCase(),ti=ei&&/msie|trident/.test(ei),ni=ei&&ei.indexOf("msie 9.0")>0,ri=ei&&ei.indexOf("edge/")>0;ei&&ei.indexOf("android");var ii=ei&&/iphone|ipad|ipod|ios/.test(ei);ei&&/chrome\/\d+/.test(ei),ei&&/phantomjs/.test(ei);var ai,oi=ei&&ei.match(/firefox\/(\d+)/),si={}.watch,ci=!1;if(Zr)try{var li={};Object.defineProperty(li,"passive",{get:function(){ci=!0}}),window.addEventListener("test-passive",null,li)}catch(Qn){}var di=function(){return void 0===ai&&(ai=!Zr&&void 0!==n.g&&(n.g.process&&"server"===n.g.process.env.VUE_ENV)),ai},ui=Zr&&window.__VUE_DEVTOOLS_GLOBAL_HOOK__;function pi(e){return"function"==typeof e&&/native code/.test(e.toString())}var fi,hi="undefined"!=typeof Symbol&&pi(Symbol)&&"undefined"!=typeof Reflect&&pi(Reflect.ownKeys);fi="undefined"!=typeof Set&&pi(Set)?Set:function(){function e(){this.set=Object.create(null)}return e.prototype.has=function(e){return!0===this.set[e]},e.prototype.add=function(e){this.set[e]=!0},e.prototype.clear=function(){this.set=Object.create(null)},e}();var mi=null;function vi(e){void 0===e&&(e=null),e||mi&&mi._scope.off(),mi=e,e&&e._scope.on()}var gi=function(){function e(e,t,n,r,i,a,o,s){this.tag=e,this.data=t,this.children=n,this.text=r,this.elm=i,this.ns=void 0,this.context=a,this.fnContext=void 0,this.fnOptions=void 0,this.fnScopeId=void 0,this.key=t&&t.key,this.componentOptions=o,this.componentInstance=void 0,this.parent=void 0,this.raw=!1,this.isStatic=!1,this.isRootInsert=!0,this.isComment=!1,this.isCloned=!1,this.isOnce=!1,this.asyncFactory=s,this.asyncMeta=void 0,this.isAsyncPlaceholder=!1}return Object.defineProperty(e.prototype,"child",{get:function(){return this.componentInstance},enumerable:!1,configurable:!0}),e}(),yi=function(e){void 0===e&&(e="");var t=new gi;return t.text=e,t.isComment=!0,t};function bi(e){return new gi(void 0,void 0,void 0,String(e))}function wi(e){var t=new gi(e.tag,e.data,e.children&&e.children.slice(),e.text,e.elm,e.context,e.componentOptions,e.asyncFactory);return t.ns=e.ns,t.isStatic=e.isStatic,t.key=e.key,t.isComment=e.isComment,t.fnContext=e.fnContext,t.fnOptions=e.fnOptions,t.fnScopeId=e.fnScopeId,t.asyncMeta=e.asyncMeta,t.isCloned=!0,t}"function"==typeof SuppressedError&&SuppressedError;var _i=0,Si=[],xi=function(){function e(){this._pending=!1,this.id=_i++,this.subs=[]}return e.prototype.addSub=function(e){this.subs.push(e)},e.prototype.removeSub=function(e){this.subs[this.subs.indexOf(e)]=null,this._pending||(this._pending=!0,Si.push(this))}
1,e.prototype.depend=function(t){e.target&&e.target.addDep(this)},e.prototype.notify=function(e){var t=this.subs.filter(function(e){return e});for(var n=0,r=t.length;n<r;n++){0,t[n].update()}},e}();xi.target=null;var ki=[];function Ci(e){ki.push(e),xi.target=e}function Ti(){ki.pop(),xi.target=ki[ki.length-1]}var Oi=Array.prototype,Ei=Object.create(Oi);["push","pop","shift","unshift","splice","sort","reverse"].forEach(function(e){var t=Oi[e];Yr(Ei,e,function(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i,a=t.apply(this,n),o=this.__ob__;switch(e){case"push":case"unshift":i=n;break;case"splice":i=n.slice(2)}return i&&o.observeArray(i),o.dep.notify(),a})});var Ai=Object.getOwnPropertyNames(Ei),Li={},Ii=!0;function Ri(e){Ii=e}var Pi={notify:$r,depend:$r,addSub:$r,removeSub:$r},Ni=function(){function e(e,t,n){if(void 0===t&&(t=!1),void 0===n&&(n=!1),this.value=e,this.shallow=t,this.mock=n,this.dep=n?Pi:new xi,this.vmCount=0,Yr(e,"__ob__",this),or(e)){if(!n)if(Qr)e.__proto__=Ei;else for(var r=0,i=Ai.length;r<i;r++){Yr(e,o=Ai[r],Ei[o])}t||this.observeArray(e)}else{var a=Object.keys(e);for(r=0;r<a.length;r++){var o;ji(e,o=a[r],Li,void 0,t,n)}}}return e.prototype.observeArray=function(e){for(var t=0,n=e.length;t<n;t++)Di(e[t],!1,this.mock)},e}();function Di(e,t,n){return e&&Tr(e,"__ob__")&&e.__ob__ instanceof Ni?e.__ob__:!Ii||!n&&di()||!or(e)&&!hr(e)||!Object.isExtensible(e)||e.__v_skip||Hi(e)||e instanceof gi?void 0:new Ni(e,t,n)}function ji(e,t,n,r,i,a,o){void 0===o&&(o=!1);var s=new xi,c=Object.getOwnPropertyDescriptor(e,t);if(!c||!1!==c.configurable){var l=c&&c.get,d=c&&c.set;l&&!d||n!==Li&&2!==arguments.length||(n=e[t]);var u=i?n&&n.__ob__:Di(n,!1,a);return Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){var t=l?l.call(e):n;return xi.target&&(s.depend(),u&&(u.dep.depend(),or(t)&&Fi(t))),Hi(t)&&!i?t.value:t},set:function(t){var r=l?l.call(e):n;if(Ur(r,t)){if(d)d.call(e,t);else{if(l)return;if(!i&&Hi(r)&&!Hi(t))return void(r.value=t);n=t}u=i?t&&t.__ob__:Di(t,!1,a),s.notify()}}}),s}}function $i(e,t,n){if(!Vi(e)){var r=e.__ob__;return or(e)&&vr(t)?(e.length=Math.max(e.length,t),e.splice(t,1,n),r&&!r.shallow&&r.mock&&Di(n,!1,!0),n):t in e&&!(t in Object.prototype)?(e[t]=n,n):e._isVue||r&&r.vmCount?n:r?(ji(r.value,t,n,void 0,r.shallow,r.mock),r.dep.notify(),n):(e[t]=n,n)}}function Mi(e,t){if(or(e)&&vr(t))e.splice(t,1);else{var n=e.__ob__;e._isVue||n&&n.vmCount||Vi(e)||Tr(e,t)&&(delete e[t],n&&n.dep.notify())}}function Fi(e){for(var t=void 0,n=0,r=e.length;n<r;n++)(t=e[n])&&t.__ob__&&t.__ob__.dep.depend(),or(t)&&Fi(t)}function qi(e){return Bi(e,!0),Yr(e,"__v_isShallow",!0),e}function Bi(e,t){if(!Vi(e)){Di(e,t,di());0}}function Vi(e){return!(!e||!e.__v_isReadonly)}var Ui="__v_isRef";function Hi(e){return!(!e||!0!==e.__v_isRef)}function zi(e,t,n){Object.defineProperty(e,n,{enumerable:!0,configurable:!0,get:function(){var e=t[n];if(Hi(e))return e.value;var r=e&&e.__ob__;return r&&r.dep.depend(),e},set:function(e){var r=t[n];Hi(r)&&!Hi(e)?r.value=e:t[n]=e}})}function Wi(e,t){var n,r,i=ur(e);i?(n=e,r=$r):(n=e.get,r=e.set);var a=di()?null:new ko(mi,n,$r,{lazy:!0});var o={effect:a,get value(){return a?(a.dirty&&a.evaluate(),xi.target&&a.depend(),a.value):n()},set value(e){r(e)}};return Yr(o,Ui,!0),Yr(o,"__v_isReadonly",i),o}var Ji=Or(function(e){var t="&"===e.charAt(0),n="~"===(e=t?e.slice(1):e).charAt(0),r="!"===(e=n?e.slice(1):e).charAt(0);return{name:e=r?e.slice(1):e,once:n,capture:r,passive:t}});function Ki(e,t){function n(){var e=n.fns;if(!or(e))return ao(e,null,arguments,t,"v-on handler");for(var r=e.slice(),i=0;i<r.length;i++)ao(r[i],null,arguments,t,"v-on handler")}return n.fns=e,n}function Gi(e,t,n,r,i,a){var o,s,c,l;for(o in e)s=e[o],c=t[o],l=Ji(o),sr(s)||(sr(c)?(sr(s.fns)&&(s=e[o]=Ki(s,a)),lr(l.once)&&(s=e[o]=i(l.name,s,l.capture)),n(l.name,s,l.capture,l.passive,l.params)):s!==c&&(c.fns=s,e[o]=c));for(o in t)sr(e[o])&&r((l=Ji(o)).name,t[o],l.capture)}function Yi(e,t,n){var r;e instanceof gi&&(e=e.data.hook||(e.data.hook={}));var i=e[t];function a(){n.apply(this,arguments),kr(r.fns,a)}sr(i)?r=Ki([a]):cr(i.fns)&&lr(i.merged)?(r=i).fns.push(a):r=Ki([i,a]),r.merged=!0,e[t]=r}function Xi(e,t,n,r,i){if(cr(t)){if(Tr(t,n))return e[n]=t[n],i||delete t[n],!0;if(Tr(t,r))return e[n]=t[r],i||delete t[r],!0}return!1}function Qi(e){return dr(e)?[bi(e)]:or(e)?ea(e):void 0}function Zi(e){return cr(e)&&cr(e.text)&&!1===e.isComment}function ea(e,t){var n,r,i,a,o=[];for(n=0;n<e.length;n++)sr(r=e[n])||"boolean"==typeof r||(a=o[i=o.length-1],or(r)?r.length>0&&(Zi((r=ea(r,"".concat(t||"","_").concat(n)))[0])&&Zi(a)&&(o[i]=bi(a.text+r[0].text),r.shift()),o.push.apply(o,r)):dr(r)?Zi(a)?o[i]=bi(a.text+r):""!==r&&o.push(bi(r)):Zi(r)&&Zi(a)?o[i]=bi(a.text+r.text):(lr(e._isVList)&&cr(r.tag)&&sr(r.key)&&cr(t)&&(r.key="__vlist".concat(t,"_").concat(n,"__")),o.push(r)));return o}function ta(e,t,n,r,i,a){return(or(n)||dr(n))&&(i=r,r=n,n=void 0),lr(a)&&(i=2),function(e,t,n,r,i){if(cr(n)&&cr(n.__ob__))return yi();cr(n)&&cr(n.is)&&(t=n.is);if(!t)return yi();0;or(r)&&ur(r[0])&&((n=n||{}).scopedSlots={default:r[0]},r.length=0);2===i?r=Qi(r):1===i&&(r=function(e){for(var t=0;t<e.length;t++)if(or(e[t]))return Array.prototype.concat.apply([],e);return e}(r));var a,o;if("string"==typeof t){var s=void 0;o=e.$vnode&&e.$vnode.ns||Jr.getTagNamespace(t),a=Jr.isReservedTag(t)?new gi(Jr.parsePlatformTagName(t),n,r,void 0,void 0,e):n&&n.pre||!cr(s=Qo(e.$options,"components",t))?new gi(t,n,r,void 0,void 0,e):Vo(s,n,e,r,t)}else a=Vo(t,n,e,r);return or(a)?a:cr(a)?(cr(o)&&na(a,o),cr(n)&&function(e){pr(e.style)&&_o(e.style);pr(e.class)&&_o(e.class)}(n),a):yi()}(e,t,n,r,i)}function na(e,t,n){if(e.ns=t,"foreignObject"===e.tag&&(t=void 0,n=!0),cr(e.children))for(var r=0,i=e.children.length;r<i;r++){var a=e.children[r];cr(a.tag)&&(sr(a.ns)||lr(n)&&"svg"!==a.tag)&&na(a,t,n)}}function ra(e,t){var n,r,i,a,o=null;if(or(e)||"string"==typeof e)for(o=new Array(e.length),n=0,r=e.length;n<r;n++)o[n]=t(e[n],n);else if("number"==typeof e)for(o=new Array(e),n=0;n<e;n++)o[n]=t(n+1,n);else if(pr(e))if(hi&&e[Symbol.iterator]){o=[];for(var s=e[Symbol.iterator](),c=s.next();!c.done;)o.push(t(c.value,o.length)),c=s.next()}else for(i=Object.keys(e),o=new Array(i.length),n=0,r=i.length;n<r;n++)a=i[n],o[n]=t(e[a],a,n);return cr(o)||(o=[]),o._isVList=!0,o}function ia(e,t,n,r){var i,a=this.$scopedSlots[e];a?(n=n||{},r&&(n=Dr(Dr({},r),n)),i=a(n)||(ur(t)?t():t)):i=this.$slots[e]||(ur(t)?t():t);var o=n&&n.slot;return o?this.$createElement("template",{slot:o},i):i}function aa(e){return Qo(this.$options,"filters",e,!0)||Fr}function oa(e,t){return or(e)?-1===e.indexOf(t):e!==t}function sa(e,t,n,r,i){var a=Jr.keyCodes[t]||n;return i&&r&&!Jr.keyCodes[t]?oa(i,r):a?oa(a,e):r?Rr(r)!==t:void 0===e}function ca(e,t,n,r,i){if(n)if(pr(n)){or(n)&&(n=jr(n));
1var a=void 0,o=function(o){if("class"===o||"style"===o||xr(o))a=e;else{var s=e.attrs&&e.attrs.type;a=r||Jr.mustUseProp(t,s,o)?e.domProps||(e.domProps={}):e.attrs||(e.attrs={})}var c=Ar(o),l=Rr(o);c in a||l in a||(a[o]=n[o],i&&((e.on||(e.on={}))["update:".concat(o)]=function(e){n[o]=e}))};for(var s in n)o(s)}else;return e}function la(e,t){var n=this._staticTrees||(this._staticTrees=[]),r=n[e];return r&&!t||ua(r=n[e]=this.$options.staticRenderFns[e].call(this._renderProxy,this._c,this),"__static__".concat(e),!1),r}function da(e,t,n){return ua(e,"__once__".concat(t).concat(n?"_".concat(n):""),!0),e}function ua(e,t,n){if(or(e))for(var r=0;r<e.length;r++)e[r]&&"string"!=typeof e[r]&&pa(e[r],"".concat(t,"_").concat(r),n);else pa(e,t,n)}function pa(e,t,n){e.isStatic=!0,e.key=t,e.isOnce=n}function fa(e,t){if(t)if(hr(t)){var n=e.on=e.on?Dr({},e.on):{};for(var r in t){var i=n[r],a=t[r];n[r]=i?[].concat(i,a):a}}else;return e}function ha(e,t,n,r){t=t||{$stable:!n};for(var i=0;i<e.length;i++){var a=e[i];or(a)?ha(a,t,n):a&&(a.proxy&&(a.fn.proxy=!0),t[a.key]=a.fn)}return r&&(t.$key=r),t}function ma(e,t){for(var n=0;n<t.length;n+=2){var r=t[n];"string"==typeof r&&r&&(e[t[n]]=t[n+1])}return e}function va(e,t){return"string"==typeof e?t+e:e}function ga(e){e._o=da,e._n=wr,e._s=yr,e._l=ra,e._t=ia,e._q=qr,e._i=Br,e._m=la,e._f=aa,e._k=sa,e._b=ca,e._v=bi,e._e=yi,e._u=ha,e._g=fa,e._d=ma,e._p=va}function ya(e,t){if(!e||!e.length)return{};for(var n={},r=0,i=e.length;r<i;r++){var a=e[r],o=a.data;if(o&&o.attrs&&o.attrs.slot&&delete o.attrs.slot,a.context!==t&&a.fnContext!==t||!o||null==o.slot)(n.default||(n.default=[])).push(a);else{var s=o.slot,c=n[s]||(n[s]=[]);"template"===a.tag?c.push.apply(c,a.children||[]):c.push(a)}}for(var l in n)n[l].every(ba)&&delete n[l];return n}function ba(e){return e.isComment&&!e.asyncFactory||" "===e.text}function wa(e){return e.isComment&&e.asyncFactory}function _a(e,t,n,r){var i,a=Object.keys(n).length>0,o=t?!!t.$stable:!a,s=t&&t.$key;if(t){if(t._normalized)return t._normalized;if(o&&r&&r!==ar&&s===r.$key&&!a&&!r.$hasNormal)return r;for(var c in i={},t)t[c]&&"$"!==c[0]&&(i[c]=Sa(e,n,c,t[c]))}else i={};for(var l in n)l in i||(i[l]=xa(n,l));return t&&Object.isExtensible(t)&&(t._normalized=i),Yr(i,"$stable",o),Yr(i,"$key",s),Yr(i,"$hasNormal",a),i}function Sa(e,t,n,r){var i=function(){var t=mi;vi(e);var n=arguments.length?r.apply(null,arguments):r({}),i=(n=n&&"object"==typeof n&&!or(n)?[n]:Qi(n))&&n[0];return vi(t),n&&(!i||1===n.length&&i.isComment&&!wa(i))?void 0:n};return r.proxy&&Object.defineProperty(t,n,{get:i,enumerable:!0,configurable:!0}),i}function xa(e,t){return function(){return e[t]}}function ka(e){return{get attrs(){if(!e._attrsProxy){var t=e._attrsProxy={};Yr(t,"_v_attr_proxy",!0),Ca(t,e.$attrs,ar,e,"$attrs")}return e._attrsProxy},get listeners(){e._listenersProxy||Ca(e._listenersProxy={},e.$listeners,ar,e,"$listeners");return e._listenersProxy},get slots(){return function(e){e._slotsProxy||Oa(e._slotsProxy={},e.$scopedSlots);return e._slotsProxy}(e)},emit:Pr(e.$emit,e),expose:function(t){t&&Object.keys(t).forEach(function(n){return zi(e,t,n)})}}}function Ca(e,t,n,r,i){var a=!1;for(var o in t)o in e?t[o]!==n[o]&&(a=!0):(a=!0,Ta(e,o,r,i));for(var o in e)o in t||(a=!0,delete e[o]);return a}function Ta(e,t,n,r){Object.defineProperty(e,t,{enumerable:!0,configurable:!0,get:function(){return n[r][t]}})}function Oa(e,t){for(var n in t)e[n]=t[n];for(var n in e)n in t||delete e[n]}var Ea,Aa,La=null;function Ia(e,t){return(e.__esModule||hi&&"Module"===e[Symbol.toStringTag])&&(e=e.default),pr(e)?t.extend(e):e}function Ra(e){if(or(e))for(var t=0;t<e.length;t++){var n=e[t];if(cr(n)&&(cr(n.componentOptions)||wa(n)))return n}}function Pa(e,t){Ea.$on(e,t)}function Na(e,t){Ea.$off(e,t)}function Da(e,t){var n=Ea;return function r(){null!==t.apply(null,arguments)&&n.$off(e,r)}}function ja(e,t,n){Ea=e,Gi(t,n||{},Pa,Na,Da,e),Ea=void 0}var $a=function(){function e(e){void 0===e&&(e=!1),this.detached=e,this.active=!0,this.effects=[],this.cleanups=[],this.parent=Aa,!e&&Aa&&(this.index=(Aa.scopes||(Aa.scopes=[])).push(this)-1)}return e.prototype.run=function(e){if(this.active){var t=Aa;try{return Aa=this,e()}finally{Aa=t}}else 0},e.prototype.on=function(){Aa=this},e.prototype.off=function(){Aa=this.parent},e.prototype.stop=function(e){if(this.active){var t=void 0,n=void 0;for(t=0,n=this.effects.length;t<n;t++)this.effects[t].teardown();for(t=0,n=this.cleanups.length;t<n;t++)this.cleanups[t]();if(this.scopes)for(t=0,n=this.scopes.length;t<n;t++)this.scopes[t].stop(!0);if(!this.detached&&this.parent&&!e){var r=this.parent.scopes.pop();r&&r!==this&&(this.parent.scopes[this.index]=r,r.index=this.index)}this.parent=void 0,this.active=!1}},e}();var Ma=null;function Fa(e){var t=Ma;return Ma=e,function(){Ma=t}}function qa(e){for(;e&&(e=e.$parent);)if(e._inactive)return!0;return!1}function Ba(e,t){if(t){if(e._directInactive=!1,qa(e))return}else if(e._directInactive)return;if(e._inactive||null===e._inactive){e._inactive=!1;for(var n=0;n<e.$children.length;n++)Ba(e.$children[n]);Ua(e,"activated")}}function Va(e,t){if(!(t&&(e._directInactive=!0,qa(e))||e._inactive)){e._inactive=!0;for(var n=0;n<e.$children.length;n++)Va(e.$children[n]);Ua(e,"deactivated")}}function Ua(e,t,n,r){void 0===r&&(r=!0),Ci();var i=mi,a=Aa;r&&vi(e);var o=e.$options[t],s="".concat(t," hook");if(o)for(var c=0,l=o.length;c<l;c++)ao(o[c],e,n||null,e,s);e._hasHookEvent&&e.$emit("hook:"+t),r&&(vi(i),a&&a.on()),Ti()}var Ha=[],za=[],Wa={},Ja=!1,Ka=!1,Ga=0;var Ya=0,Xa=Date.now;if(Zr&&!ti){var Qa=window.performance;Qa&&"function"==typeof Qa.now&&Xa()>document.createEvent("Event").timeStamp&&(Xa=function(){return Qa.now()})}var Za=function(e,t){if(e.post){if(!t.post)return 1}else if(t.post)return-1;return e.id-t.id};function eo(){var e,t;for(Ya=Xa(),Ka=!0,Ha.sort(Za),Ga=0;Ga<Ha.length;Ga++)(e=Ha[Ga]).before&&e.before(),t=e.id,Wa[t]=null,e.run();var n=za.slice(),r=Ha.slice();Ga=Ha.length=za.length=0,Wa={},Ja=Ka=!1,function(e){for(var t=0;t<e.length;t++)e[t]._inactive=!0,Ba(e[t],!0)}(n),function(e){var t=e.length;for(;t--;){var n=e[t],r=n.vm;r&&r._watcher===n&&r._isMounted&&!r._isDestroyed&&Ua(r,"updated")}}(r),function(){for(var e=0;e<Si.length;e++){var t=Si[e];t.subs=t.subs.filter(function(e){return e}),t._pending=!1}Si.length=0}(),ui&&Jr.devtools&&ui.emit("flush")}function to(e){var t=e.id;if(null==Wa[t]&&(e!==xi.target||!e.noRecurse)){if(Wa[t]=!0,Ka){for(var n=Ha.length-1;n>Ga&&Ha[n].id>e.id;)n--;Ha.splice(n+1,0,e)}else Ha.push(e);Ja||(Ja=!0,yo(eo))}}var no="watcher";"".concat(no," callback"),"".concat(no," getter"),"".concat(no," cleanup");function ro(e){var t=e._provided,n=e.$parent&&e.$parent._provided;return n===t?e._provided=Object.create(n):t}function io(e,t,n){Ci();try{if(t)for(var r=t;r=r.$parent;){var i=r.$options.errorCaptured;if(i)for(var a=0;a<i.length;a++)try{if(!1===i[a].call(r,e,t,n))return}catch(Qn){oo(Qn,r,"errorCaptured hook")}}oo(e,t,n)}finally{Ti()}}function ao(e,t,n,r,i){var a;try{(a=n?e.apply(t,n):e.call(t))&&!a._isVue&&gr(a)&&!a._handled&&(a.catch(function(e){return io(e,r,i+" (Promise/async)")}),a._handled=!0)}catch(Qn){io(Qn,r,i)}return a}
1function oo(e,t,n){if(Jr.errorHandler)try{return Jr.errorHandler.call(null,e,t,n)}catch(Qn){Qn!==e&&so(Qn,null,"config.errorHandler")}so(e,t,n)}function so(e,t,n){if(!Zr||"undefined"==typeof console)throw e;console.error(e)}var co,lo=!1,uo=[],po=!1;function fo(){po=!1;var e=uo.slice(0);uo.length=0;for(var t=0;t<e.length;t++)e[t]()}if("undefined"!=typeof Promise&&pi(Promise)){var ho=Promise.resolve();co=function(){ho.then(fo),ii&&setTimeout($r)},lo=!0}else if(ti||"undefined"==typeof MutationObserver||!pi(MutationObserver)&&"[object MutationObserverConstructor]"!==MutationObserver.toString())co="undefined"!=typeof setImmediate&&pi(setImmediate)?function(){setImmediate(fo)}:function(){setTimeout(fo,0)};else{var mo=1,vo=new MutationObserver(fo),go=document.createTextNode(String(mo));vo.observe(go,{characterData:!0}),co=function(){mo=(mo+1)%2,go.data=String(mo)},lo=!0}function yo(e,t){var n;if(uo.push(function(){if(e)try{e.call(t)}catch(Qn){io(Qn,t,"nextTick")}else n&&n(t)}),po||(po=!0,co()),!e&&"undefined"!=typeof Promise)return new Promise(function(e){n=e})}function bo(e){return function(t,n){if(void 0===n&&(n=mi),n)return function(e,t,n){var r=e.$options;r[t]=Ko(r[t],n)}(n,e,t)}}bo("beforeMount"),bo("mounted"),bo("beforeUpdate"),bo("updated"),bo("beforeDestroy"),bo("destroyed"),bo("activated"),bo("deactivated"),bo("serverPrefetch"),bo("renderTracked"),bo("renderTriggered"),bo("errorCaptured");var wo=new fi;function _o(e){return So(e,wo),wo.clear(),e}function So(e,t){var n,r,i=or(e);if(!(!i&&!pr(e)||e.__v_skip||Object.isFrozen(e)||e instanceof gi)){if(e.__ob__){var a=e.__ob__.dep.id;if(t.has(a))return;t.add(a)}if(i)for(n=e.length;n--;)So(e[n],t);else if(Hi(e))So(e.value,t);else for(n=(r=Object.keys(e)).length;n--;)So(e[r[n]],t)}}var xo=0,ko=function(){function e(e,t,n,r,i){var a,o;a=this,void 0===(o=Aa&&!Aa._vm?Aa:e?e._scope:void 0)&&(o=Aa),o&&o.active&&o.effects.push(a),(this.vm=e)&&i&&(e._watcher=this),r?(this.deep=!!r.deep,this.user=!!r.user,this.lazy=!!r.lazy,this.sync=!!r.sync,this.before=r.before):this.deep=this.user=this.lazy=this.sync=!1,this.cb=n,this.id=++xo,this.active=!0,this.post=!1,this.dirty=this.lazy,this.deps=[],this.newDeps=[],this.depIds=new fi,this.newDepIds=new fi,this.expression="",ur(t)?this.getter=t:(this.getter=function(e){if(!Xr.test(e)){var t=e.split(".");return function(e){for(var n=0;n<t.length;n++){if(!e)return;e=e[t[n]]}return e}}}(t),this.getter||(this.getter=$r)),this.value=this.lazy?void 0:this.get()}return e.prototype.get=function(){var e;Ci(this);var t=this.vm;try{e=this.getter.call(t,t)}catch(Qn){if(!this.user)throw Qn;io(Qn,t,'getter for watcher "'.concat(this.expression,'"'))}finally{this.deep&&_o(e),Ti(),this.cleanupDeps()}return e},e.prototype.addDep=function(e){var t=e.id;this.newDepIds.has(t)||(this.newDepIds.add(t),this.newDeps.push(e),this.depIds.has(t)||e.addSub(this))},e.prototype.cleanupDeps=function(){for(var e=this.deps.length;e--;){var t=this.deps[e];this.newDepIds.has(t.id)||t.removeSub(this)}var n=this.depIds;this.depIds=this.newDepIds,this.newDepIds=n,this.newDepIds.clear(),n=this.deps,this.deps=this.newDeps,this.newDeps=n,this.newDeps.length=0},e.prototype.update=function(){this.lazy?this.dirty=!0:this.sync?this.run():to(this)},e.prototype.run=function(){if(this.active){var e=this.get();if(e!==this.value||pr(e)||this.deep){var t=this.value;if(this.value=e,this.user){var n='callback for watcher "'.concat(this.expression,'"');ao(this.cb,this.vm,[e,t],this.vm,n)}else this.cb.call(this.vm,e,t)}}},e.prototype.evaluate=function(){this.value=this.get(),this.dirty=!1}
1,e.prototype.depend=function(){for(var e=this.deps.length;e--;)this.deps[e].depend()},e.prototype.teardown=function(){if(this.vm&&!this.vm._isBeingDestroyed&&kr(this.vm._scope.effects,this),this.active){for(var e=this.deps.length;e--;)this.deps[e].removeSub(this);this.active=!1,this.onStop&&this.onStop()}},e}(),Co={enumerable:!0,configurable:!0,get:$r,set:$r};function To(e,t,n){Co.get=function(){return this[t][n]},Co.set=function(e){this[t][n]=e},Object.defineProperty(e,n,Co)}function Oo(e){var t=e.$options;if(t.props&&function(e,t){var n=e.$options.propsData||{},r=e._props=qi({}),i=e.$options._propKeys=[],a=!e.$parent;a||Ri(!1);var o=function(a){i.push(a);var o=Zo(a,t,n,e);ji(r,a,o,void 0,!0),a in e||To(e,"_props",a)};for(var s in t)o(s);Ri(!0)}(e,t.props),function(e){var t=e.$options,n=t.setup;if(n){var r=e._setupContext=ka(e);vi(e),Ci();var i=ao(n,null,[e._props||qi({}),r],e,"setup");if(Ti(),vi(),ur(i))t.render=i;else if(pr(i))if(e._setupState=i,i.__sfc){var a=e._setupProxy={};for(var o in i)"__sfc"!==o&&zi(a,i,o)}else for(var o in i)Gr(o)||zi(e,i,o)}}(e),t.methods&&function(e,t){e.$options.props;for(var n in t)e[n]="function"!=typeof t[n]?$r:Pr(t[n],e)}(e,t.methods),t.data)!function(e){var t=e.$options.data;t=e._data=ur(t)?function(e,t){Ci();try{return e.call(t,t)}catch(Qn){return io(Qn,t,"data()"),{}}finally{Ti()}}(t,e):t||{},hr(t)||(t={});var n=Object.keys(t),r=e.$options.props,i=(e.$options.methods,n.length);for(;i--;){var a=n[i];0,r&&Tr(r,a)||Gr(a)||To(e,"_data",a)}var o=Di(t);o&&o.vmCount++}(e);else{var n=Di(e._data={});n&&n.vmCount++}t.computed&&function(e,t){var n=e._computedWatchers=Object.create(null),r=di();for(var i in t){var a=t[i],o=ur(a)?a:a.get;0,r||(n[i]=new ko(e,o||$r,$r,Eo)),i in e||Ao(e,i,a)}}(e,t.computed),t.watch&&t.watch!==si&&function(e,t){for(var n in t){var r=t[n];if(or(r))for(var i=0;i<r.length;i++)Ro(e,n,r[i]);else Ro(e,n,r)}}(e,t.watch)}var Eo={lazy:!0};function Ao(e,t,n){var r=!di();ur(n)?(Co.get=r?Lo(t):Io(n),Co.set=$r):(Co.get=n.get?r&&!1!==n.cache?Lo(t):Io(n.get):$r,Co.set=n.set||$r),Object.defineProperty(e,t,Co)}function Lo(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),xi.target&&t.depend(),t.value}}function Io(e){return function(){return e.call(this,this)}}function Ro(e,t,n,r){return hr(n)&&(r=n,n=n.handler),"string"==typeof n&&(n=e[n]),e.$watch(t,n,r)}function Po(e,t){if(e){for(var n=Object.create(null),r=hi?Reflect.ownKeys(e):Object.keys(e),i=0;i<r.length;i++){var a=r[i];if("__ob__"!==a){var o=e[a].from;if(o in t._provided)n[a]=t._provided[o];else if("default"in e[a]){var s=e[a].default;n[a]=ur(s)?s.call(t):s}else 0}}return n}}var No=0;function Do(e){var t=e.options;if(e.super){var n=Do(e.super);if(n!==e.superOptions){e.superOptions=n;var r=function(e){var t,n=e.options,r=e.sealedOptions;for(var i in n)n[i]!==r[i]&&(t||(t={}),t[i]=n[i]);return t}(e);r&&Dr(e.extendOptions,r),(t=e.options=Xo(n,e.extendOptions)).name&&(t.components[t.name]=e)}}return t}function jo(e,t,n,r,i){var a,o=this,s=i.options;Tr(r,"_uid")?(a=Object.create(r))._original=r:(a=r,r=r._original);var c=lr(s._compiled),l=!c;this.data=e,this.props=t,this.children=n,this.parent=r,this.listeners=e.on||ar,this.injections=Po(s.inject,r),this.slots=function(){return o.$slots||_a(r,e.scopedSlots,o.$slots=ya(n,r)),o.$slots},Object.defineProperty(this,"scopedSlots",{enumerable:!0,get:function(){return _a(r,e.scopedSlots,this.slots())}}),c&&(this.$options=s,this.$slots=this.slots(),this.$scopedSlots=_a(r,e.scopedSlots,this.$slots)),s._scopeId?this._c=function(e,t,n,i){var o=ta(a,e,t,n,i,l);return o&&!or(o)&&(o.fnScopeId=s._scopeId,o.fnContext=r),o}:this._c=function(e,t,n,r){return ta(a,e,t,n,r,l)}}function $o(e,t,n,r,i){var a=wi(e);return a.fnContext=n,a.fnOptions=r,t.slot&&((a.data||(a.data={})).slot=t.slot),a}function Mo(e,t){for(var n in t)e[Ar(n)]=t[n]}function Fo(e){return e.name||e.__name||e._componentTag}ga(jo.prototype);var qo={init:function(e,t){if(e.componentInstance&&!e.componentInstance._isDestroyed&&e.data.keepAlive){var n=e;qo.prepatch(n,n)}else{(e.componentInstance=function(e,t){var n={_isComponent:!0,_parentVnode:e,parent:t},r=e.data.inlineTemplate;cr(r)&&(n.render=r.render,n.staticRenderFns=r.staticRenderFns);return new e.componentOptions.Ctor(n)}(e,Ma)).$mount(t?e.elm:void 0,t)}},prepatch:function(e,t){var n=t.componentOptions;!function(e,t,n,r,i){var a=r.data.scopedSlots,o=e.$scopedSlots,s=!!(a&&!a.$stable||o!==ar&&!o.$stable||a&&e.$scopedSlots.$key!==a.$key||!a&&e.$scopedSlots.$key),c=!!(i||e.$o
1ptions._renderChildren||s),l=e.$vnode;e.$options._parentVnode=r,e.$vnode=r,e._vnode&&(e._vnode.parent=r),e.$options._renderChildren=i;var d=r.data.attrs||ar;e._attrsProxy&&Ca(e._attrsProxy,d,l.data&&l.data.attrs||ar,e,"$attrs")&&(c=!0),e.$attrs=d,n=n||ar;var u=e.$options._parentListeners;if(e._listenersProxy&&Ca(e._listenersProxy,n,u||ar,e,"$listeners"),e.$listeners=e.$options._parentListeners=n,ja(e,n,u),t&&e.$options.props){Ri(!1);for(var p=e._props,f=e.$options._propKeys||[],h=0;h<f.length;h++){var m=f[h],v=e.$options.props;p[m]=Zo(m,v,t,e)}Ri(!0),e.$options.propsData=t}c&&(e.$slots=ya(i,r.context),e.$forceUpdate())}(t.componentInstance=e.componentInstance,n.propsData,n.listeners,t,n.children)},insert:function(e){var t,n=e.context,r=e.componentInstance;r._isMounted||(r._isMounted=!0,Ua(r,"mounted")),e.data.keepAlive&&(n._isMounted?((t=r)._inactive=!1,za.push(t)):Ba(r,!0))},destroy:function(e){var t=e.componentInstance;t._isDestroyed||(e.data.keepAlive?Va(t,!0):t.$destroy())}},Bo=Object.keys(qo);function Vo(e,t,n,r,i){if(!sr(e)){var a=n.$options._base;if(pr(e)&&(e=a.extend(e)),"function"==typeof e){var o;if(sr(e.cid)&&(e=function(e,t){if(lr(e.error)&&cr(e.errorComp))return e.errorComp;if(cr(e.resolved))return e.resolved;var n=La;if(n&&cr(e.owners)&&-1===e.owners.indexOf(n)&&e.owners.push(n),lr(e.loading)&&cr(e.loadingComp))return e.loadingComp;if(n&&!cr(e.owners)){var r=e.owners=[n],i=!0,a=null,o=null;n.$on("hook:destroyed",function(){return kr(r,n)});var s=function(e){for(var t=0,n=r.length;t<n;t++)r[t].$forceUpdate();e&&(r.length=0,null!==a&&(clearTimeout(a),a=null),null!==o&&(clearTimeout(o),o=null))},c=Vr(function(n){e.resolved=Ia(n,t),i?r.length=0:s(!0)}),l=Vr(function(t){cr(e.errorComp)&&(e.error=!0,s(!0))}),d=e(c,l);return pr(d)&&(gr(d)?sr(e.resolved)&&d.then(c,l):gr(d.component)&&(d.component.then(c,l),cr(d.error)&&(e.errorComp=Ia(d.error,t)),cr(d.loading)&&(e.loadingComp=Ia(d.loading,t),0===d.delay?e.loading=!0:a=setTimeout(function(){a=null,sr(e.resolved)&&sr(e.error)&&(e.loading=!0,s(!1))},d.delay||200)),cr(d.timeout)&&(o=setTimeout(function(){o=null,sr(e.resolved)&&l(null)},d.timeout)))),i=!1,e.loading?e.loadingComp:e.resolved}}(o=e,a),void 0===e))return function(e,t,n,r,i){var a=yi();return a.asyncFactory=e,a.asyncMeta={data:t,context:n,children:r,tag:i},a}(o,t,n,r,i);t=t||{},Do(e),cr(t.model)&&function(e,t){var n=e.model&&e.model.prop||"value",r=e.model&&e.model.event||"input";(t.attrs||(t.attrs={}))[n]=t.model.value;var i=t.on||(t.on={}),a=i[r],o=t.model.callback;cr(a)?(or(a)?-1===a.indexOf(o):a!==o)&&(i[r]=[o].concat(a)):i[r]=o}(e.options,t);var s=function(e,t){var n=t.options.props;if(!sr(n)){var r={},i=e.attrs,a=e.props;if(cr(i)||cr(a))for(var o in n){var s=Rr(o);Xi(r,a,o,s,!0)||Xi(r,i,o,s,!1)}return r}}(t,e);if(lr(e.options.functional))return function(e,t,n,r,i){var a=e.options,o={},s=a.props;if(cr(s))for(var c in s)o[c]=Zo(c,s,t||ar);else cr(n.attrs)&&Mo(o,n.attrs),cr(n.props)&&Mo(o,n.props);var l=new jo(n,o,i,r,e),d=a.render.call(null,l._c,l);if(d instanceof gi)return $o(d,n,l.parent,a);if(or(d)){for(var u=Qi(d)||[],p=new Array(u.length),f=0;f<u.length;f++)p[f]=$o(u[f],n,l.parent,a);return p}}(e,s,t,n,r);var c=t.on;if(t.on=t.nativeOn,lr(e.options.abstract)){var l=t.slot;t={},l&&(t.slot=l)}!function(e){for(var t=e.hook||(e.hook={}),n=0;n<Bo.length;n++){var r=Bo[n],i=t[r],a=qo[r];i===a||i&&i._merged||(t[r]=i?Uo(a,i):a)}}(t);var d=Fo(e.options)||i;return new gi("vue-component-".concat(e.cid).concat(d?"-".concat(d):""),t,void 0,void 0,void 0,n,{Ctor:e,propsData:s,listeners:c,tag:i,children:r},o)}}}function Uo(e,t){var n=function(n,r){e(n,r),t(n,r)};return n._merged=!0,n}var Ho=$r,zo=Jr.optionMergeStrategies;function Wo(e,t,n){if(void 0===n&&(n=!0),!t)return e;for(var r,i,a,o=hi?Reflect.ownKeys(t):Object.keys(t),s=0;s<o.length;s++)"__ob__"!==(r=o[s])&&(i=e[r],a=t[r],n&&Tr(e,r)?i!==a&&hr(i)&&hr(a)&&Wo(i,a):$i(e,r,a));return e}function Jo(e,t,n){return n?function(){var r=ur(t)?t.call(n,n):t,i=ur(e)?e.call(n,n):e;return r?Wo(r,i):i}:t?e?function(){return Wo(ur(t)?t.call(this,this):t,ur(e)?e.call(this,this):e)}:t:e}function Ko(e,t){var n=t?e?e.concat(t):or(t)?t:[t]:e;return n?function(e){for(var t=[],n=0;n<e.length;
1n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(n):n}function Go(e,t,n,r){var i=Object.create(e||null);return t?Dr(i,t):i}zo.data=function(e,t,n){return n?Jo(e,t,n):t&&"function"!=typeof t?e:Jo(e,t)},Wr.forEach(function(e){zo[e]=Ko}),zr.forEach(function(e){zo[e+"s"]=Go}),zo.watch=function(e,t,n,r){if(e===si&&(e=void 0),t===si&&(t=void 0),!t)return Object.create(e||null);if(!e)return t;var i={};for(var a in Dr(i,e),t){var o=i[a],s=t[a];o&&!or(o)&&(o=[o]),i[a]=o?o.concat(s):or(s)?s:[s]}return i},zo.props=zo.methods=zo.inject=zo.computed=function(e,t,n,r){if(!e)return t;var i=Object.create(null);return Dr(i,e),t&&Dr(i,t),i},zo.provide=function(e,t){return e?function(){var n=Object.create(null);return Wo(n,ur(e)?e.call(this):e),t&&Wo(n,ur(t)?t.call(this):t,!1),n}:t};var Yo=function(e,t){return void 0===t?e:t};function Xo(e,t,n){if(ur(t)&&(t=t.options),function(e){var t=e.props;if(t){var n,r,i={};if(or(t))for(n=t.length;n--;)"string"==typeof(r=t[n])&&(i[Ar(r)]={type:null});else if(hr(t))for(var a in t)r=t[a],i[Ar(a)]=hr(r)?r:{type:r};e.props=i}}(t),function(e){var t=e.inject;if(t){var n=e.inject={};if(or(t))for(var r=0;r<t.length;r++)n[t[r]]={from:t[r]};else if(hr(t))for(var i in t){var a=t[i];n[i]=hr(a)?Dr({from:i},a):{from:a}}}}(t),function(e){var t=e.directives;if(t)for(var n in t){var r=t[n];ur(r)&&(t[n]={bind:r,update:r})}}(t),!t._base&&(t.extends&&(e=Xo(e,t.extends,n)),t.mixins))for(var r=0,i=t.mixins.length;r<i;r++)e=Xo(e,t.mixins[r],n);var a,o={};for(a in e)s(a);for(a in t)Tr(e,a)||s(a);function s(r){var i=zo[r]||Yo;o[r]=i(e[r],t[r],n,r)}return o}function Qo(e,t,n,r){if("string"==typeof n){var i=e[t];if(Tr(i,n))return i[n];var a=Ar(n);if(Tr(i,a))return i[a];var o=Lr(a);return Tr(i,o)?i[o]:i[n]||i[a]||i[o]}}function Zo(e,t,n,r){var i=t[e],a=!Tr(n,e),o=n[e],s=rs(Boolean,i.type);if(s>-1)if(a&&!Tr(i,"default"))o=!1;else if(""===o||o===Rr(e)){var c=rs(String,i.type);(c<0||s<c)&&(o=!0)}if(void 0===o){o=function(e,t,n){if(!Tr(t,"default"))return;var r=t.default;0;if(e&&e.$options.propsData&&void 0===e.$options.propsData[n]&&void 0!==e._props[n])return e._props[n];return ur(r)&&"Function"!==ts(t.type)?r.call(e):r}(r,i,e);var l=Ii;Ri(!0),Di(o),Ri(l)}return o}var es=/^\s*function (\w+)/;function ts(e){var t=e&&e.toString().match(es);return t?t[1]:""}function ns(e,t){return ts(e)===ts(t)}function rs(e,t){if(!or(t))return ns(t,e)?0:-1;for(var n=0,r=t.length;n<r;n++)if(ns(t[n],e))return n;return-1}function is(e){this._init(e)}function as(e){e.cid=0;var t=1;e.extend=function(e){e=e||{};var n=this,r=n.cid,i=e._Ctor||(e._Ctor={});if(i[r])return i[r];var a=Fo(e)||Fo(n.options);var o=function(e){this._init(e)};return(o.prototype=Object.create(n.prototype)).constructor=o,o.cid=t++,o.options=Xo(n.options,e),o.super=n,o.options.props&&function(e){var t=e.options.props;for(var n in t)To(e.prototype,"_props",n)}(o),o.options.computed&&function(e){var t=e.options.computed;for(var n in t)Ao(e.prototype,n,t[n])}(o),o.extend=n.extend,o.mixin=n.mixin,o.use=n.use,zr.forEach(function(e){o[e]=n[e]}),a&&(o.options.components[a]=o),o.superOptions=n.options,o.extendOptions=e,o.sealedOptions=Dr({},o.options),i[r]=o,o}}function os(e){return e&&(Fo(e.Ctor.options)||e.tag)}function ss(e,t){return or(e)?e.indexOf(t)>-1:"string"==typeof e?e.split(",").indexOf(t)>-1:!!mr(e)&&e.test(t)}function cs(e,t){var n=e.cache,r=e.keys,i=e._vnode,a=e.$vnode;for(var o in n){var s=n[o];if(s){var c=s.name;c&&!t(c)&&ls(n,o,r,i)}}a.componentOptions.children=void 0}function ls(e,t,n,r){var i=e[t];!i||r&&i.tag===r.tag||i.componentInstance.$destroy(),e[t]=null,kr(n,t)}!function(e){e.prototype._init=function(e){var t=this;t._uid=No++,t._isVue=!0,t.__v_skip=!0,t._scope=new $a(!0),t._scope.parent=void 0,t._scope._vm=!0,e&&e._isComponent?function(e,t){var n=e.$options=Object.create(e.constructor.options),r=t._parentVnode;n.parent=t.parent,n._parentVnode=r;var i=r.componentOptions;n.propsData=i.propsData,n._parentListeners=i.listeners,n._renderChildren=i.children,n._componentTag=i.tag,t.render&&(n.render=t.render,n.staticRenderFns=t.staticRenderFns)}(t,e):t.$options=Xo(Do(t.constructor),e||{},t),t._renderProxy=t,t._self=t,function(e){var t=e.$options,n=t.parent;if(n&&!t.abstract){for(;n.$options.abstract&&n.$parent;)n=n.$parent;n.$children.push(e)}e.$parent=n,e.$root=n?n.$root:e,e.$children=[],e.$refs={},e._provided=n?n._provided:Object.create(null),e._watcher=null,e._inactive=null,e._directInactive=!1,e._isMounted=!1,e._isDestroyed=!1,e._isBeingDestroyed=!1}(t),function(e){e._events=Object.create(null),e._hasHookEvent=!1;var t=e.$options._parentListeners;t&&ja(e,t)}(t),function(e){e._vnode=null,e._staticTrees=null;
1var t=e.$options,n=e.$vnode=t._parentVnode,r=n&&n.context;e.$slots=ya(t._renderChildren,r),e.$scopedSlots=n?_a(e.$parent,n.data.scopedSlots,e.$slots):ar,e._c=function(t,n,r,i){return ta(e,t,n,r,i,!1)},e.$createElement=function(t,n,r,i){return ta(e,t,n,r,i,!0)};var i=n&&n.data;ji(e,"$attrs",i&&i.attrs||ar,null,!0),ji(e,"$listeners",t._parentListeners||ar,null,!0)}(t),Ua(t,"beforeCreate",void 0,!1),function(e){var t=Po(e.$options.inject,e);t&&(Ri(!1),Object.keys(t).forEach(function(n){ji(e,n,t[n])}),Ri(!0))}(t),Oo(t),function(e){var t=e.$options.provide;if(t){var n=ur(t)?t.call(e):t;if(!pr(n))return;for(var r=ro(e),i=hi?Reflect.ownKeys(n):Object.keys(n),a=0;a<i.length;a++){var o=i[a];Object.defineProperty(r,o,Object.getOwnPropertyDescriptor(n,o))}}}(t),Ua(t,"created"),t.$options.el&&t.$mount(t.$options.el)}}(is),function(e){var t={get:function(){return this._data}},n={get:function(){return this._props}};Object.defineProperty(e.prototype,"$data",t),Object.defineProperty(e.prototype,"$props",n),e.prototype.$set=$i,e.prototype.$delete=Mi,e.prototype.$watch=function(e,t,n){var r=this;if(hr(t))return Ro(r,e,t,n);(n=n||{}).user=!0;var i=new ko(r,e,t,n);if(n.immediate){var a='callback for immediate watcher "'.concat(i.expression,'"');Ci(),ao(t,r,[i.value],r,a),Ti()}return function(){i.teardown()}}}(is),function(e){var t=/^hook:/;e.prototype.$on=function(e,n){var r=this;if(or(e))for(var i=0,a=e.length;i<a;i++)r.$on(e[i],n);else(r._events[e]||(r._events[e]=[])).push(n),t.test(e)&&(r._hasHookEvent=!0);return r},e.prototype.$once=function(e,t){var n=this;function r(){n.$off(e,r),t.apply(n,arguments)}return r.fn=t,n.$on(e,r),n},e.prototype.$off=function(e,t){var n=this;if(!arguments.length)return n._events=Object.create(null),n;if(or(e)){for(var r=0,i=e.length;r<i;r++)n.$off(e[r],t);return n}var a,o=n._events[e];if(!o)return n;if(!t)return n._events[e]=null,n;for(var s=o.length;s--;)if((a=o[s])===t||a.fn===t){o.splice(s,1);break}return n},e.prototype.$emit=function(e){var t=this,n=t._events[e];if(n){n=n.length>1?Nr(n):n;for(var r=Nr(arguments,1),i='event handler for "'.concat(e,'"'),a=0,o=n.length;a<o;a++)ao(n[a],t,r,t,i)}return t}}(is),function(e){e.prototype._update=function(e,t){var n=this,r=n.$el,i=n._vnode,a=Fa(n);n._vnode=e,n.$el=i?n.__patch__(i,e):n.__patch__(n.$el,e,t,!1),a(),r&&(r.__vue__=null),n.$el&&(n.$el.__vue__=n);for(var o=n;o&&o.$vnode&&o.$parent&&o.$vnode===o.$parent._vnode;)o.$parent.$el=o.$el,o=o.$parent},e.prototype.$forceUpdate=function(){this._watcher&&this._watcher.update()},e.prototype.$destroy=function(){var e=this;if(!e._isBeingDestroyed){Ua(e,"beforeDestroy"),e._isBeingDestroyed=!0;var t=e.$parent;
1!t||t._isBeingDestroyed||e.$options.abstract||kr(t.$children,e),e._scope.stop(),e._data.__ob__&&e._data.__ob__.vmCount--,e._isDestroyed=!0,e.__patch__(e._vnode,null),Ua(e,"destroyed"),e.$off(),e.$el&&(e.$el.__vue__=null),e.$vnode&&(e.$vnode.parent=null)}}}(is),function(e){ga(e.prototype),e.prototype.$nextTick=function(e){return yo(e,this)},e.prototype._render=function(){var e=this,t=e.$options,n=t.render,r=t._parentVnode;r&&e._isMounted&&(e.$scopedSlots=_a(e.$parent,r.data.scopedSlots,e.$slots,e.$scopedSlots),e._slotsProxy&&Oa(e._slotsProxy,e.$scopedSlots)),e.$vnode=r;var i,a=mi,o=La;try{vi(e),La=e,i=n.call(e._renderProxy,e.$createElement)}catch(Qn){io(Qn,e,"render"),i=e._vnode}finally{La=o,vi(a)}return or(i)&&1===i.length&&(i=i[0]),i instanceof gi||(i=yi()),i.parent=r,i}}(is);var ds=[String,RegExp,Array],us={name:"keep-alive",abstract:!0,props:{include:ds,exclude:ds,max:[String,Number]},methods:{cacheVNode:function(){var e=this,t=e.cache,n=e.keys,r=e.vnodeToCache,i=e.keyToCache;if(r){var a=r.tag,o=r.componentInstance,s=r.componentOptions;t[i]={name:os(s),tag:a,componentInstance:o},n.push(i),this.max&&n.length>parseInt(this.max)&&ls(t,n[0],n,this._vnode),this.vnodeToCache=null}}},created:function(){this.cache=Object.create(null),this.keys=[]},destroyed:function(){for(var e in this.cache)ls(this.cache,e,this.keys)},mounted:function(){var e=this;this.cacheVNode(),this.$watch("include",function(t){cs(e,function(e){return ss(t,e)})}),this.$watch("exclude",function(t){cs(e,function(e){return!ss(t,e)})})},updated:function(){this.cacheVNode()},render:function(){var e=this.$slots.default,t=Ra(e),n=t&&t.componentOptions;if(n){var r=os(n),i=this.include,a=this.exclude;if(i&&(!r||!ss(i,r))||a&&r&&ss(a,r))return t;var o=this.cache,s=this.keys,c=null==t.key?n.Ctor.cid+(n.tag?"::".concat(n.tag):""):t.key;o[c]?(t.componentInstance=o[c].componentInstance,kr(s,c),s.push(c)):(this.vnodeToCache=t,this.keyToCache=c),t.data.keepAlive=!0}return t||e&&e[0]}},ps={KeepAlive:us};!function(e){var t={get:function(){return Jr}};Object.defineProperty(e,"config",t),e.util={warn:Ho,extend:Dr,mergeOptions:Xo,defineReactive:ji},e.set=$i,e.delete=Mi,e.nextTick=yo,e.observable=function(e){return Di(e),e},e.options=Object.create(null),zr.forEach(function(t){e.options[t+"s"]=Object.create(null)}),e.options._base=e,Dr(e.options.components,ps),function(e){e.use=function(e){var t=this._installedPlugins||(this._installedPlugins=[]);if(t.indexOf(e)>-1)return this;var n=Nr(arguments,1);return n.unshift(this),ur(e.install)?e.install.apply(e,n):ur(e)&&e.apply(null,n),t.push(e),this}}(e),function(e){e.mixin=function(e){return this.options=Xo(this.options,e),this}}(e),as(e),function(e){zr.forEach(function(t){e[t]=function(e,n){return n?("component"===t&&hr(n)&&(n.name=n.name||e,n=this.options._base.extend(n)),"directive"===t&&ur(n)&&(n={bind:n,update:n}),this.options[t+"s"][e]=n,n):this.options[t+"s"][e]}})}(e)}(is),Object.defineProperty(is.prototype,"$isServer",{get:di}),Object.defineProperty(is.prototype,"$ssrContext",{get:function(){return this.$vnode&&this.$vnode.ssrContext}}),Object.defineProperty(is,"FunctionalRenderContext",{value:jo}),is.version="2.7.16";var fs=_r("style,class"),hs=_r("input,textarea,option,select,progress"),ms=function(e,t,n){return"value"===n&&hs(e)&&"button"!==t||"selected"===n&&"option"===e||"checked"===n&&"input"===e||"muted"===n&&"video"===e},vs=_r("contenteditable,draggable,spellcheck"),gs=_r("events,caret,typing,plaintext-only"),ys=_r("allowfullscreen,async,autofocus,autoplay,checked,compact,controls,declare,default,defaultchecked,defaultmuted,defaultselected,defer,disabled,enabled,formnovalidate,hidden,indeterminate,inert,ismap,itemscope,loop,multiple,muted,nohref,noresize,noshade,novalidate,nowrap,open,pauseonexit,readonly,required,reversed,scoped,seamless,selected,sortable,truespeed,typemustmatch,visible"),bs="http://www.w3.org/1999/xlink",ws=function(e){return":"===e.charAt(5)&&"xlink"===e.slice(0,5)},_s=function(e){return ws(e)?e.slice(6,e.length):""},Ss=function(e){return null==e||!1===e};function xs(e){for(var t=e.data,n=e,r=e;cr(r.componentInstance);)(r=r.componentInstance._vnode)&&r.data&&(t=ks(r.data,t));for(;cr(n=n.parent);)n&&n.data&&(t=ks(t,n.data));return function(e,t){if(cr(e)||cr(t))return Cs(e,Ts(t));return""}(t.staticClass,t.class)}function ks(e,t){return{staticClass:Cs(e.staticClass,t.staticClass),class:cr(e.class)?[e.class,t.class]:t.class}}function Cs(e,t){return e?t?e+" "+t:e:t||""}function Ts(e){return Array.isArray(e)?function(e){for(var t,n="",r=0,i=e.length;r<i;r++)cr(t=Ts(e[r]))&&""!==t&&(n&&(n+=" "),n+=t);return n}(e):pr(e)?function(e){var t="";for(var n in e)e[n]&&(t&&(t+=" "),t+=n);return t}(e):"string"==typeof e?e:""}var Os={svg:"http://www.w3.org/2000/svg",math:"http://www.w3.org/1998/Math/MathML"},Es=_r("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,menuitem,summary,content,element,shadow,template,blockquote,iframe,tfoot"),As=_r("svg,animate,circle,clippath,cursor,defs,desc,ellipse,filter,font-face,foreignobject,g,glyph,image,line,marker,mask,missing-glyph,path,pattern,polygon,polyline,rect,switch,symbol,text,textpath,tspan,use,view",!0),Ls=function(e){return Es(e)||As(e)};function Is(e){return As(e)?"svg":"math"===e?"math":void 0}var Rs=Object.create(null);var Ps=_r("text,number,password,search,email,tel,url");function Ns(e){if("string"==typeof e){var t=document.querySelector(e);return t||document.createElement("div")}return e}var Ds=Object.freeze({__proto__:null,createElement:function(e,t){var n=document.createElement(e);return"select"!==e||t.data&&t.data.attrs&&void 0!==t.data.attrs.multiple&&n.setAttribute("multiple","multiple"),n},createElementNS:function(e,t){return document.createElementNS(Os[e],t)},createTextNode:function(e){return document.createTextNode(e)},createComment:function(e){return document.createComment(e)},insertBefore:function(e,t,n){e.insertBefore(t,n)},removeChild:function(e,t){e.removeChild(t)},appendChild:function(e,t){e.appendChild(t)},parentNode:function(e){return e.parentNode},nextSibling:function(e){return e.nextSibling},tagName:function(e){return e.tagName},setTextContent:function(e,t){e.textContent=t},setStyleScope:function(e,t){e.setAttribute(t,"")}}),js={create:function(e,t){$s(t)},update:function(e,t){e.data.ref!==t.data.ref&&($s(e,!0),$s(t))},destroy:function(e){$s(e,!0)}};function $s(e,t){var n=e.data.ref;if(cr(n)){var r=e.context,i=e.componentInstance||e.elm,a=t?null:i,o=t?void 0:i;if(ur(n))ao(n,r,[a],r,"template ref function");else{var s=e.data.refInFor,c="string"==typeof n||"number"==typeof n,l=Hi(n),d=r.$refs;if(c||l)if(s){var u=c?d[n]:n.value;t?or(u)&&kr(u,i):or(u)?u.includes(i)||u.push(i):c?(d[n]=[i],Ms(r,n,d[n])):n.value=[i]}else if(c){if(t&&d[n]!==i)return;d[n]=o,Ms(r,n,a)}else if(l){if(t&&n.value!==i)return;n.value=a}else 0}}}function Ms(e,t,n){var r=e._setupState;r&&Tr(r,t)&&(Hi(r[t])?r[t].value=n:r[t]=n)}var Fs=new gi("",{},[]),qs=["create","activate","update","remove","destroy"];function Bs(e,t){return e.key===t.key&&e.asyncFactory===t.asyncFactory&&(e.tag===t.tag&&e.isComment===t.isComment&&cr(e.data)===cr(t.data)&&function(e,t){if("input"!==e.tag)return!0;var n,r=cr(n=e.data)&&cr(n=n.attrs)&&n.type,i=cr(n=t.data)&&cr(n=n.attrs)&&n.type;return r===i||Ps(r)&&Ps(i)}(e,t)||lr(e.isAsyncPlaceholder)&&sr(t.asyncFactory.error))}function Vs(e,t,n){var r,i,a={};for(r=t;r<=n;++r)cr(i=e[r].key)&&(a[i]=r);return a}var Us={create:Hs,update:Hs,destroy:function(e){Hs(e,Fs)}};function Hs(e,t){(e.data.directives||t.data.directives)&&function(e,t){var n,r,i,a=e===Fs,o=t===Fs,s=Ws(e.data.directives,e.context),c=Ws(t.data.directives,t.context),l=[],d=[];for(n in c)r=s[n],i=c[n],r?(i.oldValue=r.value,i.oldArg=r.arg,Ks(i,"update",t,e),i.def&&i.def.componentUpdated&&d.push(i)):(Ks(i,"bind",t,e),i.def&&i.def.inserted&&l.push(i));if(l.length){var u=function(){for(var n=0;n<l.length;n++)Ks(l[n],"inserted",t,e)};a?Yi(t,"insert",u):u()}d.length&&Yi(t,"postpatch",function(){for(var n=0;n<d.length;n++)Ks(d[n],"componentUpdated",t,e)});if(!a)for(n in s)c[n]||Ks(s[n],"unbind",e,e,o)}(e,t)}var zs=Object.create(null);function Ws(e,t){var n,r,i=Object.create(null);if(!e)return i;for(n=0;n<e.length;n++){if((r=e[n]).modifiers||(r.modifiers=zs),i[Js(r)]=r,t._setupState&&t._setupState.__sfc){var a=r.def||Qo(t,"_setupState","v-"+r.name);r.def="function"==typeof a?{bind:a,update:a}:a}
1r.def=r.def||Qo(t.$options,"directives",r.name)}return i}function Js(e){return e.rawName||"".concat(e.name,".").concat(Object.keys(e.modifiers||{}).join("."))}function Ks(e,t,n,r,i){var a=e.def&&e.def[t];if(a)try{a(n.elm,e,n,r,i)}catch(Qn){io(Qn,n.context,"directive ".concat(e.name," ").concat(t," hook"))}}var Gs=[js,Us];function Ys(e,t){var n=t.componentOptions;if(!(cr(n)&&!1===n.Ctor.options.inheritAttrs||sr(e.data.attrs)&&sr(t.data.attrs))){var r,i,a=t.elm,o=e.data.attrs||{},s=t.data.attrs||{};for(r in(cr(s.__ob__)||lr(s._v_attr_proxy))&&(s=t.data.attrs=Dr({},s)),s)i=s[r],o[r]!==i&&Xs(a,r,i,t.data.pre);for(r in(ti||ri)&&s.value!==o.value&&Xs(a,"value",s.value),o)sr(s[r])&&(ws(r)?a.removeAttributeNS(bs,_s(r)):vs(r)||a.removeAttribute(r))}}function Xs(e,t,n,r){r||e.tagName.indexOf("-")>-1?Qs(e,t,n):ys(t)?Ss(n)?e.removeAttribute(t):(n="allowfullscreen"===t&&"EMBED"===e.tagName?"true":t,e.setAttribute(t,n)):vs(t)?e.setAttribute(t,function(e,t){return Ss(t)||"false"===t?"false":"contenteditable"===e&&gs(t)?t:"true"}(t,n)):ws(t)?Ss(n)?e.removeAttributeNS(bs,_s(t)):e.setAttributeNS(bs,t,n):Qs(e,t,n)}function Qs(e,t,n){if(Ss(n))e.removeAttribute(t);else{if(ti&&!ni&&"TEXTAREA"===e.tagName&&"placeholder"===t&&""!==n&&!e.__ieph){var r=function(t){t.stopImmediatePropagation(),e.removeEventListener("input",r)};e.addEventListener("input",r),e.__ieph=!0}e.setAttribute(t,n)}}var Zs={create:Ys,update:Ys};function ec(e,t){var n=t.elm,r=t.data,i=e.data;if(!(sr(r.staticClass)&&sr(r.class)&&(sr(i)||sr(i.staticClass)&&sr(i.class)))){var a=xs(t),o=n._transitionClasses;cr(o)&&(a=Cs(a,Ts(o))),a!==n._prevClass&&(n.setAttribute("class",a),n._prevClass=a)}}var tc,nc,rc,ic,ac,oc,sc={create:ec,update:ec},cc=/[\w).+\-_$\]]/;function lc(e){var t,n,r,i,a,o=!1,s=!1,c=!1,l=!1,d=0,u=0,p=0,f=0;for(r=0;r<e.length;r++)if(n=t,t=e.charCodeAt(r),o)39===t&&92!==n&&(o=!1);else if(s)34===t&&92!==n&&(s=!1);else if(c)96===t&&92!==n&&(c=!1);else if(l)47===t&&92!==n&&(l=!1);else if(124!==t||124===e.charCodeAt(r+1)||124===e.charCodeAt(r-1)||d||u||p){switch(t){case 34:s=!0;break;case 39:o=!0;break;case 96:c=!0;break;case 40:p++;break;case 41:p--;break;case 91:u++;break;case 93:u--;break;case 123:d++;break;case 125:d--}if(47===t){for(var h=r-1,m=void 0;h>=0&&" "===(m=e.charAt(h));h--);m&&cc.test(m)||(l=!0)}}else void 0===i?(f=r+1,i=e.slice(0,r).trim()):v();function v(){(a||(a=[])).push(e.slice(f,r).trim()),f=r+1}if(void 0===i?i=e.slice(0,r).trim():0!==f&&v(),a)for(r=0;r<a.length;r++)i=dc(i,a[r]);return i}function dc(e,t){var n=t.indexOf("(");if(n<0)return'_f("'.concat(t,'")(').concat(e,")");var r=t.slice(0,n),i=t.slice(n+1);return'_f("'.concat(r,'")(').concat(e).concat(")"!==i?","+i:i)}function uc(e,t){console.error("[Vue compiler]: ".concat(e))}function pc(e,t){return e?e.map(function(e){return e[t]}).filter(function(e){return e}):[]}function fc(e,t,n,r,i){(e.props||(e.props=[])).push(Sc({name:t,value:n,dynamic:i},r)),e.plain=!1}function hc(e,t,n,r,i){(i?e.dynamicAttrs||(e.dynamicAttrs=[]):e.attrs||(e.attrs=[])).push(Sc({name:t,value:n,dynamic:i},r)),e.plain=!1}function mc(e,t,n,r){e.attrsMap[t]=n,e.attrsList.push(Sc({name:t,value:n},r))}function vc(e,t,n,r,i,a,o,s){(e.directives||(e.directives=[])).push(Sc({name:t,rawName:n,value:r,arg:i,isDynamicArg:a,modifiers:o},s)),e.plain=!1}function gc(e,t,n){return n?"_p(".concat(t,',"').concat(e,'")'):e+t}function yc(e,t,n,r,i,a,o,s){var c;(r=r||ar).right?s?t="(".concat(t,")==='click'?'contextmenu':(").concat(t,")"):"click"===t&&(t="contextmenu",delete r.right):r.middle&&(s?t="(".concat(t,")==='click'?'mouseup':(").concat(t,")"):"click"===t&&(t="mouseup")),r.capture&&(delete r.capture,t=gc("!",t,s)),r.once&&(delete r.once,t=gc("~",t,s)),r.passive&&(delete r.passive,t=gc("&",t,s)),r.native?(delete r.native,c=e.nativeEvents||(e.nativeEvents={})):c=e.events||(e.events={});var l=Sc({value:n.trim(),dynamic:s},o);r!==ar&&(l.modifiers=r);var d=c[t];Array.isArray(d)?i?d.unshift(l):d.push(l):c[t]=d?i?[l,d]:[d,l]:l,e.plain=!1}function bc(e,t,n){var r=wc(e,":"+t)||wc(e,"v-bind:"+t);if(null!=r)return lc(r);if(!1!==n){var i=wc(e,t);if(null!=i)return JSON.stringify(i)}}function wc(e,t,n){var r;if(null!=(r=e.attrsMap[t]))for(var i=e.attrsList,a=0,o=i.length;a<o;a++)if(i[a].name===t){i.splice(a,1);break}return n&&delete e.attrsMap[t],r}function _c(e,t){for(var n=e.attrsList,r=0,i=n.length;r<i;r++){var a=n[r];if(t.test(a.name))return n.splice(r,1),a}}function Sc(e,t){return t&&(null!=t.start&&(e.start=t.start),null!=t.end&&(e.end=t.end)),e}function xc(e,t,n){var r=n||{},i=r.number,a="$$v",o=a;r.trim&&(o="(typeof ".concat(a," === 'string'")+"? ".concat(a,".trim()")+": ".concat(a,")")),i&&(o="_n(".concat(o,")"));var s=kc(t,o);e.model={value:"(".concat(t,")"),expression:JSON.stringify(t),callback:"function (".concat(a,") {").concat(s,"}")}}function kc(e,t){var n=function(e){if(e=e.trim(),tc=e.length,e.indexOf("[")<0||e.lastIndexOf("]")<tc-1)return(ic=e.lastIndexOf("."))>-1?{exp:e.slice(0,ic),key:'"'+e.slice(ic+1)+'"'}:{exp:e,key:null};nc=e,ic=ac=oc=0;for(;!Tc();)Oc(rc=Cc())?Ac(rc):91===rc&&Ec(rc);return{exp:e.slice(0,ac),key:e.slice(ac+1,oc)}}(e);return null===n.key?"".concat(e,"=").concat(t):"$set(".concat(n.exp,", ").concat(n.key,", ").concat(t,")")}function Cc(){return nc.charCodeAt(++ic)}function Tc(){return ic>=tc}function Oc(e){return 34===e||39===e}function Ec(e){var t=1;for(ac=ic;!Tc();)if(Oc(e=Cc()))Ac(e);else if(91===e&&t++,93===e&&t--,0===t){oc=ic;break}}function Ac(e){for(var t=e;!Tc()&&(e=Cc())!==t;);}var Lc,Ic="__r",Rc="__c";
vendor: 17,533 bytes, line 1
1function Pc(e,t,n){var r=Lc;return function i(){null!==t.apply(null,arguments)&&jc(e,i,n,r)}}var Nc=lo&&!(oi&&Number(oi[1])<=53);function Dc(e,t,n,r){if(Nc){var i=Ya,a=t;t=a._wrapper=function(e){if(e.target===e.currentTarget||e.timeStamp>=i||e.timeStamp<=0||e.target.ownerDocument!==document)return a.apply(this,arguments)}}Lc.addEventListener(e,t,ci?{capture:n,passive:r}:n)}function jc(e,t,n,r){(r||Lc).removeEventListener(e,t._wrapper||t,n)}function $c(e,t){if(!sr(e.data.on)||!sr(t.data.on)){var n=t.data.on||{},r=e.data.on||{};Lc=t.elm||e.elm,function(e){if(cr(e[Ic])){var t=ti?"change":"input";e[t]=[].concat(e[Ic],e[t]||[]),delete e[Ic]}cr(e[Rc])&&(e.change=[].concat(e[Rc],e.change||[]),delete e[Rc])}(n),Gi(n,r,Dc,jc,Pc,t.context),Lc=void 0}}var Mc,Fc={create:$c,update:$c,destroy:function(e){return $c(e,Fs)}};function qc(e,t){if(!sr(e.data.domProps)||!sr(t.data.domProps)){var n,r,i=t.elm,a=e.data.domProps||{},o=t.data.domProps||{};for(n in(cr(o.__ob__)||lr(o._v_attr_proxy))&&(o=t.data.domProps=Dr({},o)),a)n in o||(i[n]="");for(n in o){if(r=o[n],"textContent"===n||"innerHTML"===n){if(t.children&&(t.children.length=0),r===a[n])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===n&&"PROGRESS"!==i.tagName){i._value=r;var s=sr(r)?"":String(r);Bc(i,s)&&(i.value=s)}else if("innerHTML"===n&&As(i.tagName)&&sr(i.innerHTML)){(Mc=Mc||document.createElement("div")).innerHTML="<svg>".concat(r,"</svg>");for(var c=Mc.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;c.firstChild;)i.appendChild(c.firstChild)}else if(r!==a[n])try{i[n]=r}catch(Qn){}}}}function Bc(e,t){return!e.composing&&("OPTION"===e.tagName||function(e,t){var n=!0;try{n=document.activeElement!==e}catch(Qn){}return n&&e.value!==t}(e,t)||function(e,t){var n=e.value,r=e._vModifiers;if(cr(r)){if(r.number)return wr(n)!==wr(t);if(r.trim)return n.trim()!==t.trim()}return n!==t}(e,t))}var Vc={create:qc,update:qc},Uc=Or(function(e){var t={},n=/:(.+)/;return e.split(/;(?![^(]*\))/g).forEach(function(e){if(e){var r=e.split(n);r.length>1&&(t[r[0].trim()]=r[1].trim())}}),t});function Hc(e){var t=zc(e.style);return e.staticStyle?Dr(e.staticStyle,t):t}function zc(e){return Array.isArray(e)?jr(e):"string"==typeof e?Uc(e):e}var Wc,Jc=/^--/,Kc=/\s*!important$/,Gc=function(e,t,n){if(Jc.test(t))e.style.setProperty(t,n);else if(Kc.test(n))e.style.setProperty(Rr(t),n.replace(Kc,""),"important");else{var r=Xc(t);if(Array.isArray(n))for(var i=0,a=n.length;i<a;i++)e.style[r]=n[i];else e.style[r]=n}},Yc=["Webkit","Moz","ms"],Xc=Or(function(e){if(Wc=Wc||document.createElement("div").style,"filter"!==(e=Ar(e))&&e in Wc)return e;for(var t=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<Yc.length;n++){var r=Yc[n]+t;if(r in Wc)return r}});function Qc(e,t){var n=t.data,r=e.data;if(!(sr(n.staticStyle)&&sr(n.style)&&sr(r.staticStyle)&&sr(r.style))){var i,a,o=t.elm,s=r.staticStyle,c=r.normalizedStyle||r.style||{},l=s||c,d=zc(t.data.style)||{};t.data.normalizedStyle=cr(d.__ob__)?Dr({},d):d;var u=function(e,t){var n,r={};if(t)for(var i=e;i.componentInstance;)(i=i.componentInstance._vnode)&&i.data&&(n=Hc(i.data))&&Dr(r,n);(n=Hc(e.data))&&Dr(r,n);for(var a=e;a=a.parent;)a.data&&(n=Hc(a.data))&&Dr(r,n);return r}(t,!0);for(a in l)sr(u[a])&&Gc(o,a,"");for(a in u)i=u[a],Gc(o,a,null==i?"":i)}}var Zc={create:Qc,update:Qc},el=/\s+/;function tl(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(el).forEach(function(t){return e.classList.add(t)}):e.classList.add(t);else{var n=" ".concat(e.getAttribute("class")||""," ");n.indexOf(" "+t+" ")<0&&e.setAttribute("class",(n+t).trim())}}function nl(e,t){if(t&&(t=t.trim()))if(e.classList)t.indexOf(" ")>-1?t.split(el).forEach(function(t){return e.classList.remove(t)}):e.classList.remove(t),e.classList.length||e.removeAttribute("class");else{for(var n=" ".concat(e.getAttribute("class")||""," "),r=" "+t+" ";n.indexOf(r)>=0;)n=n.replace(r," ");(n=n.trim())?e.setAttribute("class",n):e.removeAttribute("class")}}function rl(e){if(e){if("object"==typeof e){var t={};return!1!==e.css&&Dr(t,il(e.name||"v")),Dr(t,e),t}return"string"==typeof e?il(e):void 0}}var il=Or(function(e){return{enterClass:"".concat(e,"-enter"),enterToClass:"".concat(e,"-enter-to"),enterActiveClass:"".concat(e,"-enter-active"),leaveClass:"".concat(e,"-leave"),leaveToClass:"".concat(e,"-leave-to"),leaveActiveClass:"".concat(e,"-leave-active")}}),al=Zr&&!ni,ol="transition",sl="animation",cl="transition",ll="transitionend",dl="animation",ul="animationend";al&&(void 0===window.ontransitionend&&void 0!==window.onwebkittransitionend&&(cl="WebkitTransition",ll="webkitTransitionEnd"),void 0===window.onanimationend&&void 0!==window.onwebkitanimationend&&(dl="WebkitAnimation",ul="webkitAnimationEnd"));var pl=Zr?window.requestAnimationFrame?window.requestAnimationFrame.bind(window):setTimeout:function(e){return e()};function fl(e){pl(function(){pl(e)})}function hl(e,t){var n=e._transitionClasses||(e._transitionClasses=[]);n.indexOf(t)<0&&(n.push(t),tl(e,t))}function ml(e,t){e._transitionClasses&&kr(e._transitionClasses,t),nl(e,t)}function vl(e,t,n){var r=yl(e,t),i=r.type,a=r.timeout,o=r.propCount;if(!i)return n();var s=i===ol?ll:ul,c=0,l=function(){e.removeEventListener(s,d),n()},d=function(t){t.target===e&&++c>=o&&l()};setTimeout(function(){c<o&&l()},a+1),e.addEventListener(s,d)}var gl=/\b(transform|all)(,|$)/;function yl(e,t){var n,r=window.getComputedStyle(e),i=(r[cl+"Delay"]||"").split(", "),a=(r[cl+"Duration"]||"").split(", "),o=bl(i,a),s=(r[dl+"Delay"]||"").split(", "),c=(r[dl+"Duration"]||"").split(", "),l=bl(s,c),d=0,u=0;return t===ol?o>0&&(n=ol,d=o,u=a.length):t===sl?l>0&&(n=sl,d=l,u=c.length):u=(n=(d=Math.max(o,l))>0?o>l?ol:sl:null)?n===ol?a.length:c.length:0,{type:n,timeout:d,propCount:u,hasTransform:n===ol&&gl.test(r[cl+"Property"])}}function bl(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max.apply(null,t.map(function(t,n){return wl(t)+wl(e[n])}))}function wl(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function _l(e,t){var n=e.elm;cr(n._leaveCb)&&(n._leaveCb.cancelled=!0,n._leaveCb());var r=rl(e.data.transition);if(!sr(r)&&!cr(n._enterCb)&&1===n.nodeType){for(var i=r.css,a=r.type,o=r.enterClass,s=r.enterToClass,c=r.enterActiveClass,l=r.appearClass,d=r.appearToClass,u=r.appearActiveClass,p=r.beforeEnter,f=r.enter,h=r.afterEnter,m=r.enterCancelled,v=r.beforeAppear,g=r.appear,y=r.afterAppear,b=r.appearCancelled,w=r.duration,_=Ma,S=Ma.$vnode;S&&S.parent;)_=S.context,S=S.parent;var x=!_._isMounted||!e.isRootInsert;if(!x||g||""===g){var k=x&&l?l:o,C=x&&u?u:c,T=x&&d?d:s,O=x&&v||p,E=x&&ur(g)?g:f,A=x&&y||h,L=x&&b||m,I=wr(pr(w)?w.enter:w);0;var R=!1!==i&&!ni,P=kl(E),N=n._enterCb=Vr(function(){R&&(ml(n,T),ml(n,C)),N.cancelled?(R&&ml(n,k),L&&L(n)):A&&A(n),n._enterCb=null});e.data.show||Yi(e,"insert",function(){var t=n.parentNode,r=t&&t._pending&&t._pending[e.key];r&&r.tag===e.tag&&r.elm._leaveCb&&r.elm._leaveCb(),E&&E(n,N)}),O&&O(n),R&&(hl(n,k),hl(n,C),fl(function(){ml(n,k),N.cancelled||(hl(n,T),P||(xl(I)?setTimeout(N,I):vl(n,a,N)))})),e.data.show&&(t&&t(),E&&E(n,N)),R||P||N()}}}function Sl(e,t){var n=e.elm;cr(n._enterCb)&&(n._enterCb.cancelled=!0,n._enterCb());var r=rl(e.data.transition);if(sr(r)||1!==n.nodeType)return t();if(!cr(n._leaveCb)){var i=r.css,a=r.type,o=r.leaveClass,s=r.leaveToClass,c=r.leaveActiveClass,l=r.beforeLeave,d=r.leave,u=r.afterLeave,p=r.leaveCancelled,f=r.delayLeave,h=r.duration,m=!1!==i&&!ni,v=kl(d),g=wr(pr(h)?h.leave:h);0;var y=n._leaveCb=Vr(function(){n.parentNode&&n.parentNode._pending&&(n.parentNode._pending[e.key]=null),m&&(ml(n,s),ml(n,c)),y.cancelled?(m&&ml(n,o),p&&p(n)):(t(),u&&u(n)),n._leaveCb=null});f?f(b):b()}function b(){y.cancelled||(!e.data.show&&n.parentNode&&((n.parentNode._pending||(n.parentNode._pending={}))[e.key]=e),l&&l(n),m&&(hl(n,o),hl(n,c),fl(function(){ml(n,o),y.cancelled||(hl(n,s),v||(xl(g)?setTimeout(y,g):vl(n,a,y)))})),d&&d(n,y),m||v||y())}}function xl(e){return"number"==typeof e&&!isNaN(e)}function kl(e){if(sr(e))return!1;var t=e.fns;return cr(t)?kl(Array.isArray(t)?t[0]:t):(e._length||e.length)>1}function Cl(e,t){!0!==t.data.show&&_l(t)}var Tl=function(e){var t,n,r={},i=e.modules,a=e.nodeOps;for(t=0;t<qs.length;++t)for(r[qs[t]]=[],n=0;n<i.length;++n)cr(i[n][qs[t]])&&r[qs[t]].push(i[n][qs[t]]);function o(e){var t=a.parentNode(e);cr(t)&&a.removeChild(t,e)}function s(e,t,n,i,o,s,u){if(cr(e.elm)&&cr(s)&&(e=s[u]=wi(e)),e.isRootInsert=!o,!function(e,t,n,i){var a=e.data;if(cr(a)){var o=cr(e.componentInstance)&&a.keepAlive;if(cr(a=a.hook)&&cr(a=a.init)&&a(e,!1),cr(e.componentInstance))return c(e,t),l(n,e.elm,i),lr(o)&&function(e,t,n,i){var a,o=e;for(;o.componentInstance;)if(cr(a=(o=o.componentInstance._vnode).data)&&cr(a=a.transition)){for(a=0;a<r.activate.length;++a)r.activate[a](Fs,o);t.push(o);break}l(n,e.elm,i)}(e,t,n,i),!0}}(e,t,n,i)){var h=e.data,m=e.children,v=e.tag;cr(v)?(e.elm=e.ns?a.createElementNS(e.ns,v):a.createElement(v,e),f(e),d(e,m,t),cr(h)&&p(e,t),l(n,e.elm,i)):lr(e.isComment)?(e.elm=a.createComment(e.text),l(n,e.elm,i)):(e.elm=a.createTextNode(e.text),l(n,e.elm,i))}}function c(e,t){cr(e.data.pendingInsert)&&(t.push.apply(t,e.data.pendingInsert),e.data.pendingInsert=null),e.elm=e.componentInstance.$el,u(e)?(p(e,t),f(e)):($s(e),t.push(e))}function l(e,t,n){cr(e)&&(cr(n)?a.parentNode(n)===e&&a.insertBefore(e,t,n):a.appendChild(e,t))}function d(e,t,n){if(or(t)){0;for(var r=0;r<t.length;++r)s(t[r],n,e.elm,null,!0,t,r)}else dr(e.text)&&a.appendChild(e.elm,a.createTextNode(String(e.text)))}function u(e){for(;e.componentInstance;)e=e.componentInstance._vnode;return cr(e.tag)}function p(e,n){for(var i=0;i<r.create.length;++i)r.create[i](Fs,e);cr(t=e.data.hook)&&(cr(t.create)&&t.create(Fs,e),cr(t.insert)&&n.push(e))}function f(e){var t;if(cr(t=e.fnScopeId))a.setStyleScope(e.elm,t);else for(var n=e;n;)cr(t=n.context)&&cr(t=t.$options._scopeId)&&a.setStyleScope(e.elm,t),n=n.parent;cr(t=Ma)&&t!==e.context&&t!==e.fnContext&&cr(t=t.$options._scopeId)&&a.setStyleScope(e.elm,t)}function h(e,t,n,r,i,a){for(;r<=i;++r)s(n[r],a,e,t,!1,n,r)}function m(e){var t,n,i=e.data;if(cr(i))for(cr(t=i.hook)&&cr(t=t.destroy)&&t(e),t=0;t<r.destroy.length;++t)r.destroy[t](e);if(cr(t=e.children))for(n=0;n<e.children.length;++n)m(e.children[n])}function v(e,t,n){for(;t<=n;++t){var r=e[t];cr(r)&&(cr(r.tag)?(g(r),m(r)):o(r.elm))}}function g(e,t){if(cr(t)||cr(e.data)){var n,i=r.remove.length+1;for(cr(t)?t.listeners+=i:t=function(e,t){function n(){0===--n.listeners&&o(e)}return n.listeners=t,n}(e.elm,i),cr(n=e.componentInstance)&&cr(n=n._vnode)&&cr(n.data)&&g(n,t),n=0;n<r.remove.length;++n)r.remove[n](e,t);cr(n=e.data.hook)&&cr(n=n.remove)?n(e,t):t()}else o(e.elm)}function y(e,t,n,r){for(var i=n;i<r;i++){var a=t[i];if(cr(a)&&Bs(e,a))return i}}function b(e,t,n,i,o,c){if(e!==t){cr(t.elm)&&cr(i)&&(t=i[o]=wi(t));var l=t.elm=e.elm;if(lr(e.isAsyncPlaceholder))cr(t.asyncFactory.resolved)?S(e.elm,t,n):t.isAsyncPlaceholder=!0;else if(lr(t.isStatic)&&lr(e.isStatic)&&t.key===e.key&&(lr(t.isCloned)||lr(t.isOnce)))t.componentInstance=e.componentInstance;else{var d,p=t.data;cr(p)&&cr(d=p.hook)&&cr(d=d.prepatch)&&d(e,t);var f=e.children,m=t.children;if(cr(p)&&u(t)){for(d=0;d<r.update.length;++d)r.update[d](e,t);cr(d=p.hook)&&cr(d=d.update)&&d(e,t)}sr(t.text)?cr(f)&&cr(m)?f!==m&&function(e,t,n,r,i){var o,c,l,d=0,u=0,p=t.length-1,f=t[0],m=t[p],g=n.length-1,w=n[0],_=n[g],S=!i;for(;d<=p&&u<=g;)sr(f)?f=t[++d]:sr(m)?m=t[--p]:Bs(f,w)?(b(f,w,r,n,u),f=t[++d],w=n[++u]):Bs(m,_)?(b(m,_,r,n,g),m=t[--p],_=n[--g]):Bs(f,_)?(b(f,_,r,n,g),S&&a.insertBefore(e,f.elm,a.nextSibling(m.elm)),f=t[++d],_=n[--g]):Bs(m,w)?(b(m,w,r,n,u),S&&a.insertBefore(e,m.elm,f.elm),m=t[--p],w=n[++u]):(sr(o)&&(o=Vs(t,d,p)),sr(c=cr(w.key)?o[w.key]:y(w,t,d,p))?s(w,r,e,f.elm,!1,n,u):Bs(l=t[c],w)?(b(l,w,r,n,u),t[c]=void 0,S&&a.insertBefore(e,l.elm,f.elm)):s(w,r,e,f.elm,!1,n,u),w=n[++u]);d>p?h(e,sr(n[g+1])?null:n[g+1].elm,n,u,g,r):u>g&&v(t,d,p)}(l,f,m,n,c):cr(m)?(cr(e.text)&&a.setTextContent(l,""),h(l,null,m,0,m.length-1,n)):cr(f)?v(f,0,f.length-1):cr(e.text)&&a.setTextContent(l,""):e.text!==t.text&&a.setTextContent(l,t.text),cr(p)&&cr(d=p.hook)&&cr(d=d.postpatch)&&d(e,t)}}}function w(e,t,n){if(lr(n)&&cr(e.parent))e.parent.data.pendingInsert=t;else for(var r=0;r<t.length;++r)t[r].data.hook.insert(t[r])}var _=_r("attrs,class,staticClass,staticStyle,key");function S(e,t,n,r){var i,a=t.tag,o=t.data,s=t.children;if(r=r||o&&o.pre,t.elm=e,lr(t.isComment)&&cr(t.asyncFactory))return t.isAsyncPlaceholder=!0,!0;if(cr(o)&&(cr(i=o.hook)&&cr(i=i.init)&&i(t,!0),cr(i=t.componentInstance)))return c(t,n),!0;if(cr(a)){if(cr(s))if(e.hasChildNodes())if(cr(i=o)&&cr(i=i.domProps)&&cr(i=i.innerHTML)){if(i!==e.innerHTML)return!1}else{for(var l=!0,u=e.firstChild,f=0;f<s.length;f++){if(!u||!S(u,s[f],n,r)){l=!1;break}u=u.nextSibling}if(!l||u)return!1}else d(t,s,n);if(cr(o)){var h=!1;for(var m in o)if(!_(m)){h=!0,p(t,n);break}!h&&o.class&&_o(o.class)}}else e.data!==t.text&&(e.data=t.text);return!0}return function(e,t,n,i){if(!sr(t)){var o,c=!1,l=[];if(sr(e))c=!0,s(t,l);else{var d=cr(e.nodeType);if(!d&&Bs(e,t))b(e,t,l,null,null,i);else{if(d){if(1===e.nodeType&&e.hasAttribute(Hr)&&(e.removeAttribute(Hr),n=!0),lr(n)&&S(e,t,l))return w(t,l,!0),e;o=e,e=new gi(a.tagName(o).toLowerCase(),{},[],void 0,o)}var p=e.elm,f=a.parentNode(p);if(s(t,l,p._leaveCb?null:f,a.nextSibling(p)),cr(t.parent))for(var h=t.parent,g=u(t);h;){for(var y=0;y<r.destroy.length;++y)r.destroy[y](h);if(h.elm=t.elm,g){for(var _=0;_<r.create.length;++_)r.create[_](Fs,h);var x=h.data.hook.insert;if(x.merged)for(var k=x.fns.slice(1),C=0;C<k.length;C++)k[C]()}else $s(h);h=h.parent}cr(f)?v([e],0,0):cr(e.tag)&&m(e)}}return w(t,l,c),t.elm}cr(e)&&m(e)}}({nodeOps:Ds,modules:[Zs,sc,Fc,Vc,Zc,Zr?{create:Cl,activate:Cl,remove:function(e,t){!0!==e.data.show?Sl(e,t):t()}}:{}].concat(Gs)});ni&&document.addEventListener("selectionchange",function(){var e=document.activeElement;e&&e.vmodel&&Nl(e,"input")});var Ol={inserted:function(e,t,n,r){"select"===n.tag?(r.elm&&!r.elm._vOptions?Yi(n,"postpatch",function(){Ol.componentUpdated(e,t,n)}):El(e,t,n.context),e._vOptions=[].map.call(e.options,Il)):("textarea"===n.tag||Ps(e.type))&&(e._vModifiers=t.modifiers,t.modifiers.lazy||(e.addEventListener("compositionstart",Rl),e.addEventListener("compositionend",Pl),e.addEventListener("change",Pl),ni&&(e.vmodel=!0)))},componentUpdated:function(e,t,n){if("select"===n.tag){El(e,t,n.context);var r=e._vOptions,i=e._vOptions=[].map.call(e.options,Il);if(i.some(function(e,t){return!qr(e,r[t])}))(e.multiple?t.value.some(function(e){return Ll(e,i)}):t.value!==t.oldValue&&Ll(t.value,i))&&Nl(e,"change")}}};function El(e,t,n){Al(e,t,n),(ti||ri)&&setTimeout(function(){Al(e,t,n)},0)}function Al(e,t,n){var r=t.value,i=e.multiple;if(!i||Array.isArray(r)){for(var a,o,s=0,c=e.options.length;s<c;s++)if(o=e.options[s],i)a=Br(r,Il(o))>-1,o.selected!==a&&(o.selected=a);else if(qr(Il(o),r))return void(e.selectedIndex!==s&&(e.selectedIndex=s));i||(e.selectedIndex=-1)}}function Ll(e,t){return t.every(function(t){return!qr(t,e)})}function Il(e){return"_value"in e?e._value:e.value}function Rl(e){e.target.composing=!0}function Pl(e){e.target.composing&&(e.target.composing=!1,Nl(e.target,"input"))}function Nl(e,t){var n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}function Dl(e){return!e.componentInstance||e.data&&e.data.transition?e:Dl(e.componentInstance._vnode)}var jl={bind:function(e,t,n){var r=t.value,i=(n=Dl(n)).data&&n.data.transition,a=e.__vOriginalDisplay="none"===e.style.display?"":e.style.display;r&&i?(n.data.show=!0,_l(n,function(){e.style.display=a})):e.style.display=r?a:"none"},update:function(e,t,n){var r=t.value;!r!=!t.oldValue&&((n=Dl(n)).data&&n.data.transition?(n.data.show=!0,r?_l(n,function(){e.style.display=e.__vOriginalDisplay}):Sl(n,function(){e.style.display="none"})):e.style.display=r?e.__vOriginalDisplay:"none")},unbind:function(e,t,n,r,i){i||(e.style.display=e.__vOriginalDisplay)}},$l={model:Ol,show:jl},Ml={name:String,appear:Boolean,css:Boolean,mode:String,type:String,enterClass:String,leaveClass:String,enterToClass:String,leaveToClass:String,enterActiveClass:String,leaveActiveClass:String,appearClass:String,appearActiveClass:String,appearToClass:String,duration:[Number,String,Object]};function Fl(e){var t=e&&e.componentOptions;return t&&t.Ctor.options.abstract?Fl(Ra(t.children)):e}function ql(e){var t={},n=e.$options;for(var r in n.propsData)t[r]=e[r];var i=n._parentListeners;for(var r in i)t[Ar(r)]=i[r];return t}function Bl(e,t){if(/\d-keep-alive$/.test(t.tag))return e("keep-alive",{props:t.componentOptions.propsData})}var Vl=function(e){return e.tag||wa(e)},Ul=function(e){return"show"===e.name},Hl={name:"transition",props:Ml,abstract:!0,render:function(e){var t=this,n=this.$slots.default;if(n&&(n=n.filter(Vl)).length){0;var r=this.mode;0;var i=n[0];if(function(e){for(;e=e.parent;)if(e.data.transition)return!0}(this.$vnode))return i;var a=Fl(i);if(!a)return i;if(this._leaving)return Bl(e,i);var o="__transition-".concat(this._uid,"-");a.key=null==a.key?a.isComment?o+"comment":o+a.tag:dr(a.key)?0===String(a.key).indexOf(o)?a.key:o+a.key:a.key;var s=(a.data||(a.data={})).transition=ql(this),c=this._vnode,l=Fl(c);if(a.data.directives&&a.data.directives.some(Ul)&&(a.data.show=!0),l&&l.data&&!function(e,t){return t.key===e.key&&t.tag===e.tag}(a,l)&&!wa(l)&&(!l.componentInstance||!l.componentInstance._vnode.isComment)){var d=l.data.transition=Dr({},s);if("out-in"===r)return this._leaving=!0,Yi(d,"afterLeave",function(){t._leaving=!1,t.$forceUpdate()}
1),Bl(e,i);if("in-out"===r){if(wa(a))return c;var u,p=function(){u()};Yi(s,"afterEnter",p),Yi(s,"enterCancelled",p),Yi(d,"delayLeave",function(e){u=e})}}return i}}},zl=Dr({tag:String,moveClass:String},Ml);delete zl.mode;var Wl={props:zl,beforeMount:function(){var e=this,t=this._update;this._update=function(n,r){var i=Fa(e);e.__patch__(e._vnode,e.kept,!1,!0),e._vnode=e.kept,i(),t.call(e,n,r)}},render:function(e){for(var t=this.tag||this.$vnode.data.tag||"span",n=Object.create(null),r=this.prevChildren=this.children,i=this.$slots.default||[],a=this.children=[],o=ql(this),s=0;s<i.length;s++){if((d=i[s]).tag)if(null!=d.key&&0!==String(d.key).indexOf("__vlist"))a.push(d),n[d.key]=d,(d.data||(d.data={})).transition=o;else;}if(r){var c=[],l=[];for(s=0;s<r.length;s++){var d;(d=r[s]).data.transition=o,d.data.pos=d.elm.getBoundingClientRect(),n[d.key]?c.push(d):l.push(d)}this.kept=e(t,null,c),this.removed=l}return e(t,null,a)},updated:function(){var e=this.prevChildren,t=this.moveClass||(this.name||"v")+"-move";e.length&&this.hasMove(e[0].elm,t)&&(e.forEach(Jl),e.forEach(Kl),e.forEach(Gl),this._reflow=document.body.offsetHeight,e.forEach(function(e){if(e.data.moved){var n=e.elm,r=n.style;hl(n,t),r.transform=r.WebkitTransform=r.transitionDuration="",n.addEventListener(ll,n._moveCb=function e(r){r&&r.target!==n||r&&!/transform$/.test(r.propertyName)||(n.removeEventListener(ll,e),n._moveCb=null,ml(n,t))})}}))},methods:{hasMove:function(e,t){if(!al)return!1;if(this._hasMove)return this._hasMove;var n=e.cloneNode();e._transitionClasses&&e._transitionClasses.forEach(function(e){nl(n,e)}),tl(n,t),n.style.display="none",this.$el.appendChild(n);var r=yl(n);return this.$el.removeChild(n),this._hasMove=r.hasTransform}}};function Jl(e){e.elm._moveCb&&e.elm._moveCb(),e.elm._enterCb&&e.elm._enterCb()}function Kl(e){e.data.newPos=e.elm.getBoundingClientRect()}function Gl(e){var t=e.data.pos,n=e.data.newPos,r=t.left-n.left,i=t.top-n.top;if(r||i){e.data.moved=!0;var a=e.elm.style;a.transform=a.WebkitTransform="translate(".concat(r,"px,").concat(i,"px)"),a.transitionDuration="0s"}}var Yl={Transition:Hl,TransitionGroup:Wl};is.config.mustUseProp=ms,is.config.isReservedTag=Ls,is.config.isReservedAttr=fs,is.config.getTagNamespace=Is,is.config.isUnknownElement=function(e){if(!Zr)return!0;if(Ls(e))return!1;if(e=e.toLowerCase(),null!=Rs[e])return Rs[e];var t=document.createElement(e);return e.indexOf("-")>-1?Rs[e]=t.constructor===window.HTMLUnknownElement||t.constructor===window.HTMLElement:Rs[e]=/HTMLUnknownElement/.test(t.toString())},Dr(is.options.directives,$l),Dr(is.options.components,Yl),is.prototype.__patch__=Zr?Tl:$r,is.prototype.$mount=function(e,t){return function(e,t,n){var r;e.$el=t,e.$options.render||(e.$options.render=yi),Ua(e,"beforeMount"),r=function(){e._update(e._render(),n)},new ko(e,r,$r,{before:function(){e._isMounted&&!e._isDestroyed&&Ua(e,"beforeUpdate")}},!0),n=!1;var i=e._preWatchers;if(i)for(var a=0;a<i.length;a++)i[a].run();return null==e.$vnode&&(e._isMounted=!0,Ua(e,"mounted")),e}(this,e=e&&Zr?Ns(e):void 0,t)},Zr&&setTimeout(function(){Jr.devtools&&ui&&ui.emit("init",is)},0);var Xl=/\{\{((?:.|\r?\n)+?)\}\}/g,Ql=/[-.*+?^${}()|[\]\/\\]/g,Zl=Or(function(e){var t=e[0].replace(Ql,"\\$&"),n=e[1].replace(Ql,"\\$&");return new RegExp(t+"((?:.|\\n)+?)"+n,"g")});var ed={staticKeys:["staticClass"],transformNode:function(e,t){t.warn;var n=wc(e,"class");n&&(e.staticClass=JSON.stringify(n.replace(/\s+/g," ").trim()));var r=bc(e,"class",!1);r&&(e.classBinding=r)},genData:function(e){var t="";return e.staticClass&&(t+="staticClass:".concat(e.staticClass,",")),e.classBinding&&(t+="class:".concat(e.classBinding,",")),t}};var td,nd={staticKeys:["staticStyle"],transformNode:function(e,t){t.warn;var n=wc(e,"style");n&&(e.staticStyle=JSON.stringify(Uc(n)));var r=bc(e,"style",!1);r&&(e.styleBinding=r)},genData:function(e){var t="";return e.staticStyle&&(t+="staticStyle:".concat(e.staticStyle,",")),e.styleBinding&&(t+="style:(".concat(e.styleBinding,"),")),t}},rd=function(e){return(td=td||document.createElement("div")).innerHTML=e,td.textContent},id=_r("area,base,br,col,embed,frame,hr,img,input,isindex,keygen,link,meta,param,source,track,wbr"),ad=_r("colgroup,dd,dt,li,options,p,td,tfoot,th,thead,tr,source"),od=_r("address,article,aside,base,blockquote,body,caption,col,colgroup,dd,details,dialog,div,dl,dt,fieldset,figcaption,figure,footer,form,h1,h2,h3,h4,h5,h6,head,header,hgroup,hr,html,legend,li,menuitem,meta,optgroup,option,param,rp,rt,source,style,summary,tbody,td,tfoot,th,thead,title,tr,track"),sd=/^\s*([^\s"'<>\/=]+)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,cd=/^\s*((?:v-[\w-]+:|@|:|#)\[[^=]+?\][^\s"'<>\/=]*)(?:\s*(=)\s*(?:"([^"]*)"+|'([^']*)'+|([^\s"'=<>`]+)))?/,ld="[a-zA-Z_][\\-\\.0-9_a-zA-Z".concat(Kr.source,"]*"),dd="((?:".concat(ld,"\\:)?").concat(ld,")"),ud=new RegExp("^<".concat(dd)),pd=/^\s*(\/?)>/,fd=new RegExp("^<\\/".concat(dd,"[^>]*>")),hd=/^<!DOCTYPE [^>]+>/i,md=/^<!\--/,vd=/^<!\[/,gd=_r("script,style,textarea",!0),yd={},bd={"<":"<",">":">",""":'"',"&":"&"," ":"\n","	":"\t","'":"'"},wd=/&(?:lt|gt|quot|amp|#39);/g,_d=/&(?:lt|gt|quot|amp|#39|#10|#9);/g,Sd=_r("pre,textarea",!0),xd=function(e,t){return e&&Sd(e)&&"\n"===t[0]};function kd(e,t){var n=t?_d:wd;return e.replace(n,function(e){return bd[e]})}function Cd(e,t){for(var n,r,i=[],a=t.expectHTML,o=t.isUnaryTag||Mr,s=t.canBeLeftOpenTag||Mr,c=0,l=function(){if(n=e,r&&gd(r)){var l=0,p=r.toLowerCase(),f=yd[p]||(yd[p]=new RegExp("([\\s\\S]*?)(</"+p+"[^>]*>)","i"));S=e.replace(f,function(e,n,r){return l=r.length,gd(p)||"noscript"===p||(n=n.replace(/<!\--([\s\S]*?)-->/g,"$1").replace(/<!\[CDATA\[([\s\S]*?)]]>/g,"$1")),xd(p,n)&&(n=n.slice(1)),t.chars&&t.chars(n),""});c+=e.length-S.length,e=S,u(p,c-l,c)}else{var h=e.indexOf("<");if(0===h){if(md.test(e)){var m=e.indexOf("--\x3e");
1if(m>=0)return t.shouldKeepComment&&t.comment&&t.comment(e.substring(4,m),c,c+m+3),d(m+3),"continue"}if(vd.test(e)){var v=e.indexOf("]>");if(v>=0)return d(v+2),"continue"}var g=e.match(hd);if(g)return d(g[0].length),"continue";var y=e.match(fd);if(y){var b=c;return d(y[0].length),u(y[1],b,c),"continue"}var w=function(){var t=e.match(ud);if(t){var n={tagName:t[1],attrs:[],start:c};d(t[0].length);for(var r=void 0,i=void 0;!(r=e.match(pd))&&(i=e.match(cd)||e.match(sd));)i.start=c,d(i[0].length),i.end=c,n.attrs.push(i);if(r)return n.unarySlash=r[1],d(r[0].length),n.end=c,n}}();if(w)return function(e){var n=e.tagName,c=e.unarySlash;a&&("p"===r&&od(n)&&u(r),s(n)&&r===n&&u(n));for(var l=o(n)||!!c,d=e.attrs.length,p=new Array(d),f=0;f<d;f++){var h=e.attrs[f],m=h[3]||h[4]||h[5]||"",v="a"===n&&"href"===h[1]?t.shouldDecodeNewlinesForHref:t.shouldDecodeNewlines;p[f]={name:h[1],value:kd(m,v)}}l||(i.push({tag:n,lowerCasedTag:n.toLowerCase(),attrs:p,start:e.start,end:e.end}),r=n);t.start&&t.start(n,p,l,e.start,e.end)}(w),xd(w.tagName,e)&&d(1),"continue"}var _=void 0,S=void 0,x=void 0;if(h>=0){for(S=e.slice(h);!(fd.test(S)||ud.test(S)||md.test(S)||vd.test(S)||(x=S.indexOf("<",1))<0);)h+=x,S=e.slice(h);_=e.substring(0,h)}h<0&&(_=e),_&&d(_.length),t.chars&&_&&t.chars(_,c-_.length,c)}if(e===n)return t.chars&&t.chars(e),"break"};e;){if("break"===l())break}function d(t){c+=t,e=e.substring(t)}function u(e,n,a){var o,s;if(null==n&&(n=c),null==a&&(a=c),e)for(s=e.toLowerCase(),o=i.length-1;o>=0&&i[o].lowerCasedTag!==s;o--);else o=0;if(o>=0){for(var l=i.length-1;l>=o;l--)t.end&&t.end(i[l].tag,n,a);i.length=o,r=o&&i[o-1].tag}else"br"===s?t.start&&t.start(e,[],!0,n,a):"p"===s&&(t.start&&t.start(e,[],!1,n,a),t.end&&t.end(e,n,a))}u()}var Td,Od,Ed,Ad,Ld,Id,Rd,Pd,Nd=/^@|^v-on:/,Dd=/^v-|^@|^:|^#/,jd=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,$d=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,Md=/^\(|\)$/g,Fd=/^\[.*\]$/,qd=/:(.*)$/,Bd=/^:|^\.|^v-bind:/,Vd=/\.[^.\]]+(?=[^\]]*$)/g,Ud=/^v-slot(:|$)|^#/,Hd=/[\r\n]/,zd=/[ \f\t\r\n]+/g,Wd=Or(rd),Jd="_empty_";function Kd(e,t,n){return{type:1,tag:e,attrsList:t,attrsMap:tu(t),rawAttrsMap:{},parent:n,children:[]}}function Gd(e,t){Td=t.warn||uc,Id=t.isPreTag||Mr,Rd=t.mustUseProp||Mr,Pd=t.getTagNamespace||Mr;var n=t.isReservedTag||Mr;Ed=pc(t.modules,"transformNode"),Ad=pc(t.modules,"preTransformNode"),Ld=pc(t.modules,"postTransformNode"),Od=t.delimiters;var r,i,a=[],o=!1!==t.preserveWhitespace,s=t.whitespace,c=!1,l=!1;function d(e){if(u(e),c||e.processed||(e=Yd(e,t)),a.length||e===r||r.if&&(e.elseif||e.else)&&Qd(r,{exp:e.elseif,block:e}),i&&!e.forbidden)if(e.elseif||e.else)o=e,s=function(e){for(var t=e.length;t--;){if(1===e[t].type)return e[t];e.pop()}}(i.children),s&&s.if&&Qd(s,{exp:o.elseif,block:o});else{if(e.slotScope){var n=e.slotTarget||'"default"';(i.scopedSlots||(i.scopedSlots={}))[n]=e}i.children.push(e),e.parent=i}var o,s;e.children=e.children.filter(function(e){return!e.slotScope}),u(e),e.pre&&(c=!1),Id(e.tag)&&(l=!1);for(var d=0;d<Ld.length;d++)Ld[d](e,t)}function u(e){if(!l)for(var t=void 0;(t=e.children[e.children.length-1])&&3===t.type&&" "===t.text;)e.children.pop()}return Cd(e,{warn:Td,expectHTML:t.expectHTML,isUnaryTag:t.isUnaryTag,canBeLeftOpenTag:t.canBeLeftOpenTag,shouldDecodeNewlines:t.shouldDecodeNewlines,shouldDecodeNewlinesForHref:t.shouldDecodeNewlinesForHref,shouldKeepComment:t.comments,outputSourceRange:t.outputSourceRange,start:function(e,n,o,s,u){var p=i&&i.ns||Pd(e);ti&&"svg"===p&&(n=function(e){for(var t=[],n=0;n<e.length;n++){var r=e[n];nu.test(r.name)||(r.name=r.name.replace(ru,""),t.push(r))}return t}(n));var f,h=Kd(e,n,i);p&&(h.ns=p),"style"!==(f=h).tag&&("script"!==f.tag||f.attrsMap.type&&"text/javascript"!==f.attrsMap.type)||di()||(h.forbidden=!0);for(var m=0;m<Ad.length;m++)h=Ad[m](h,t)||h;c||(!function(e){null!=wc(e,"v-pre")&&(e.pre=!0)}(h),h.pre&&(c=!0)),Id(h.tag)&&(l=!0),c?function(e){var t=e.attrsList,n=t.length;if(n)for(var r=e.attrs=new Array(n),i=0;i<n;i++)r[i]={name:t[i].name,value:JSON.stringify(t[i].value)},null!=t[i].start&&(r[i].start=t[i].start,r[i].end=t[i].end);else e.pre||(e.plain=!0)}(h):h.processed||(Xd(h),function(e){var t=wc(e,"v-if");if(t)e.if=t,Qd(e,{exp:t,block:e});else{null!=wc(e,"v-else")&&(e.else=!0);var n=wc(e,"v-else-if");n&&(e.elseif=n)}}(h),function(e){var t=wc(e,"v-once");null!=t&&(e.once=!0)}(h)),r||(r=h),o?d(h):(i=h,a.push(h))},end:function(e,t,n){var r=a[a.length-1];a.length-=1,i=a[a.length-1],d(r)},chars:function(e,t,n){if(i&&(!ti||"textarea"!==i.tag||i.attrsMap.placeholder!==e)){var r,a=i.children;if(e=l||e.trim()?"script"===(r=i).tag||"style"===r.tag?e:Wd(e):a.length?s?"condense"===s&&Hd.test(e)?"":" ":o?" ":"":""){l||"condense"!==s||(e=e.replace(zd," "));var d=void 0,u=void 0;!c&&" "!==e&&(d=function(e,t){var n=t?Zl(t):Xl;if(n.test(e)){for(var r,i,a,o=[],s=[],c=n.lastIndex=0;r=n.exec(e);){(i=r.index)>c&&(s.push(a=e.slice(c,i)),o.push(JSON.stringify(a)));var l=lc(r[1].trim());o.push("_s(".concat(l,")")),s.push({"@binding":l}),c=i+r[0].length}return c<e.length&&(s.push(a=e.slice(c)),o.push(JSON.stringify(a))),{expression:o.join("+"),tokens:s}}}(e,Od))?u={type:2,expression:d.expression,tokens:d.tokens,text:e}:" "===e&&a.length&&" "===a[a.length-1].text||(u={type:3,text:e}),u&&a.push(u)}}},comment:function(e,t,n){if(i){var r={type:3,text:e,isComment:!0};0,i.children.push(r)}}}),r}function Yd(e,t){var n;!function(e){var t=bc(e,"key");if(t){e.key=t}}(e),e.plain=!e.key&&!e.scopedSlots&&!e.attrsList.length,function(e){var t=bc(e,"ref");t&&(e.ref=t,e.refInFor=function(e){var t=e;for(;t;){if(void 0!==t.for)return!0;t=t.parent}return!1}(e))}(e),function(e){var t;"template"===e.tag?(t=wc(e,"scope"),e.slotScope=t||wc(e,"slot-scope")):(t=wc(e,"slot-scope"))&&(e.slotScope=t);var n=bc(e,"slot");n&&(e.slotTarget='""'===n?'"default"':n,e.slotTargetDynamic=!(!e.attrsMap[":slot"]&&!e.attrsMap["v-bind:slot"]),"template"===e.tag||e.slotScope||hc(e,"slot",n,function(e,t){return e.rawAttrsMap[":"+t]||e.rawAttrsMap["v-bind:"+t]||e.rawAttrsMap[t]}(e,"slot")));if("template"===e.tag){if(o=_c(e,Ud)){0;var r=Zd(o),i=r.name,a=r.dynamic;e.slotTarget=i,e.slotTargetDynamic=a,e.slotScope=o.value||Jd}}else{var o;if(o=_c(e,Ud)){0;var s=e.scopedSlots||(e.scopedSlots={}),c=Zd(o),l=c.name,d=(a=c.dynamic,s[l]=Kd("template",[],e));d.slotTarget=l,d.slotTargetDynamic=a,d.children=e.children.filter(function(e){if(!e.slotScope)return e.parent=d,!0}),d.slotScope=o.value||Jd,e.children=[],e.plain=!1}
1}}(e),"slot"===(n=e).tag&&(n.slotName=bc(n,"name")),function(e){var t;(t=bc(e,"is"))&&(e.component=t);null!=wc(e,"inline-template")&&(e.inlineTemplate=!0)}(e);for(var r=0;r<Ed.length;r++)e=Ed[r](e,t)||e;return function(e){var t,n,r,i,a,o,s,c,l=e.attrsList;for(t=0,n=l.length;t<n;t++){if(r=i=l[t].name,a=l[t].value,Dd.test(r))if(e.hasBindings=!0,(o=eu(r.replace(Dd,"")))&&(r=r.replace(Vd,"")),Bd.test(r))r=r.replace(Bd,""),a=lc(a),(c=Fd.test(r))&&(r=r.slice(1,-1)),o&&(o.prop&&!c&&"innerHtml"===(r=Ar(r))&&(r="innerHTML"),o.camel&&!c&&(r=Ar(r)),o.sync&&(s=kc(a,"$event"),c?yc(e,'"update:"+('.concat(r,")"),s,null,!1,0,l[t],!0):(yc(e,"update:".concat(Ar(r)),s,null,!1,0,l[t]),Rr(r)!==Ar(r)&&yc(e,"update:".concat(Rr(r)),s,null,!1,0,l[t])))),o&&o.prop||!e.component&&Rd(e.tag,e.attrsMap.type,r)?fc(e,r,a,l[t],c):hc(e,r,a,l[t],c);else if(Nd.test(r))r=r.replace(Nd,""),(c=Fd.test(r))&&(r=r.slice(1,-1)),yc(e,r,a,o,!1,0,l[t],c);else{var d=(r=r.replace(Dd,"")).match(qd),u=d&&d[1];c=!1,u&&(r=r.slice(0,-(u.length+1)),Fd.test(u)&&(u=u.slice(1,-1),c=!0)),vc(e,r,i,a,u,c,o,l[t])}else hc(e,r,JSON.stringify(a),l[t]),!e.component&&"muted"===r&&Rd(e.tag,e.attrsMap.type,r)&&fc(e,r,"true",l[t])}}(e),e}function Xd(e){var t;if(t=wc(e,"v-for")){var n=function(e){var t=e.match(jd);if(!t)return;var n={};n.for=t[2].trim();var r=t[1].trim().replace(Md,""),i=r.match($d);i?(n.alias=r.replace($d,"").trim(),n.iterator1=i[1].trim(),i[2]&&(n.iterator2=i[2].trim())):n.alias=r;return n}(t);n&&Dr(e,n)}}function Qd(e,t){e.ifConditions||(e.ifConditions=[]),e.ifConditions.push(t)}function Zd(e){var t=e.name.replace(Ud,"");return t||"#"!==e.name[0]&&(t="default"),Fd.test(t)?{name:t.slice(1,-1),dynamic:!0}:{name:'"'.concat(t,'"'),dynamic:!1}
1}function eu(e){var t=e.match(Vd);if(t){var n={};return t.forEach(function(e){n[e.slice(1)]=!0}),n}}function tu(e){for(var t={},n=0,r=e.length;n<r;n++)t[e[n].name]=e[n].value;return t}var nu=/^xmlns:NS\d+/,ru=/^NS\d+:/;function iu(e){return Kd(e.tag,e.attrsList.slice(),e.parent)}var au=[ed,nd,{preTransformNode:function(e,t){if("input"===e.tag){var n=e.attrsMap;if(!n["v-model"])return;var r=void 0;if((n[":type"]||n["v-bind:type"])&&(r=bc(e,"type")),n.type||r||!n["v-bind"]||(r="(".concat(n["v-bind"],").type")),r){var i=wc(e,"v-if",!0),a=i?"&&(".concat(i,")"):"",o=null!=wc(e,"v-else",!0),s=wc(e,"v-else-if",!0),c=iu(e);Xd(c),mc(c,"type","checkbox"),Yd(c,t),c.processed=!0,c.if="(".concat(r,")==='checkbox'")+a,Qd(c,{exp:c.if,block:c});var l=iu(e);wc(l,"v-for",!0),mc(l,"type","radio"),Yd(l,t),Qd(c,{exp:"(".concat(r,")==='radio'")+a,block:l});var d=iu(e);return wc(d,"v-for",!0),mc(d,":type",r),Yd(d,t),Qd(c,{exp:i,block:d}),o?c.else=!0:s&&(c.elseif=s),c}}}}];var ou,su,cu={model:function(e,t,n){0;var r=t.value,i=t.modifiers,a=e.tag,o=e.attrsMap.type;if(e.component)return xc(e,r,i),!1;if("select"===a)!function(e,t,n){var r=n&&n.number,i='Array.prototype.filter.call($event.target.options,function(o){return o.selected}).map(function(o){var val = "_value" in o ? o._value : o.value;'+"return ".concat(r?"_n(val)":"val","})"),a="$event.target.multiple ? $$selectedVal : $$selectedVal[0]",o="var $$selectedVal = ".concat(i,";");o="".concat(o," ").concat(kc(t,a)),yc(e,"change",o,null,!0)}(e,r,i);else if("input"===a&&"checkbox"===o)!function(e,t,n){var r=n&&n.number,i=bc(e,"value")||"null",a=bc(e,"true-value")||"true",o=bc(e,"false-value")||"false";fc(e,"checked","Array.isArray(".concat(t,")")+"?_i(".concat(t,",").concat(i,")>-1")+("true"===a?":(".concat(t,")"):":_q(".concat(t,",").concat(a,")"))),yc(e,"change","var $$a=".concat(t,",")+"$$el=$event.target,"+"$$c=$$el.checked?(".concat(a,"):(").concat(o,");")+"if(Array.isArray($$a)){"+"var $$v=".concat(r?"_n("+i+")":i,",")+"$$i=_i($$a,$$v);"+"if($$el.checked){$$i<0&&(".concat(kc(t,"$$a.concat([$$v])"),")}")+"else{$$i>-1&&(".concat(kc(t,"$$a.slice(0,$$i).concat($$a.slice($$i+1))"),")}")+"}else{".concat(kc(t,"$$c"),"}"),null,!0)}(e,r,i);else if("input"===a&&"radio"===o)!function(e,t,n){var r=n&&n.number,i=bc(e,"value")||"null";i=r?"_n(".concat(i,")"):i,fc(e,"checked","_q(".concat(t,",").concat(i,")")),yc(e,"change",kc(t,i),null,!0)}(e,r,i);else if("input"===a||"textarea"===a)!function(e,t,n){var r=e.attrsMap.type;0;var i=n||{},a=i.lazy,o=i.number,s=i.trim,c=!a&&"range"!==r,l=a?"change":"range"===r?Ic:"input",d="$event.target.value";s&&(d="$event.target.value.trim()");o&&(d="_n(".concat(d,")"));var u=kc(t,d);c&&(u="if($event.target.composing)return;".concat(u));fc(e,"value","(".concat(t,")")),yc(e,l,u,null,!0),(s||o)&&yc(e,"blur","$forceUpdate()")}(e,r,i);else{if(!Jr.isReservedTag(a))return xc(e,r,i),!1}return!0},text:function(e,t){t.value&&fc(e,"textContent","_s(".concat(t.value,")"),t)},html:function(e,t){t.value&&fc(e,"innerHTML","_s(".concat(t.value,")"),t)}},lu={expectHTML:!0,modules:au,directives:cu,isPreTag:function(e){return"pre"===e},isUnaryTag:id,mustUseProp:ms,canBeLeftOpenTag:ad,isReservedTag:Ls,getTagNamespace:Is,staticKeys:function(e){return e.reduce(function(e,t){return e.concat(t.staticKeys||[])},[]).join(",")}(au)},du=Or(function(e){return _r("type,tag,attrsList,attrsMap,plain,parent,children,attrs,start,end,rawAttrsMap"+(e?","+e:""))});function uu(e,t){e&&(ou=du(t.staticKeys||""),su=t.isReservedTag||Mr,pu(e),fu(e,!1))}function pu(e){if(e.static=function(e){if(2===e.type)return!1;if(3===e.type)return!0;return!(!e.pre&&(e.hasBindings||e.if||e.for||Sr(e.tag)||!su(e.tag)||function(e){for(;e.parent;){if("template"!==(e=e.parent).tag)return!1;if(e.for)return!0}return!1}(e)||!Object.keys(e).every(ou)))}(e),1===e.type){if(!su(e.tag)&&"slot"!==e.tag&&null==e.attrsMap["inline-template"])return;for(var t=0,n=e.children.length;t<n;t++){var r=e.children[t];pu(r),r.static||(e.static=!1)}if(e.ifConditions)for(t=1,n=e.ifConditions.length;t<n;t++){var i=e.ifConditions[t].block;pu(i),i.static||(e.static=!1)}}}function fu(e,t){if(1===e.type){if((e.static||e.once)&&(e.staticInFor=t),e.static&&e.children.length&&(1!==e.children.length||3!==e.children[0].type))return void(e.staticRoot=!0);if(e.staticRoot=!1,e.children)for(var n=0,r=e.children.length;n<r;n++)fu(e.children[n],t||!!e.for);if(e.ifConditions)for(n=1,r=e.ifConditions.length;n<r;n++)fu(e.ifConditions[n].block,t)}}var hu=/^([\w$_]+|\([^)]*?\))\s*=>|^function(?:\s+[\w$]+)?\s*\(/,mu=/\([^)]*?\);*$/,vu=/^[A-Za-z_$][\w$]*(?:\.[A-Za-z_$][\w$]*|\['[^']*?']|\["[^"]*?"]|\[\d+]|\[[A-Za-z_$][\w$]*])*$/,gu={esc:27,tab:9,enter:13,space:32,up:38,left:37,right:39,down:40,delete:[8,46]},yu={esc:["Esc","Escape"],tab:"Tab",enter:"Enter",space:[" ","Spacebar"],up:["Up","ArrowUp"],left:["Left","ArrowLeft"],right:["Right","ArrowRight"],down:["Down","ArrowDown"],delete:["Backspace","Delete","Del"]},bu=function(e){return"if(".concat(e,")return null;")},wu={stop:"$event.stopPropagation();",prevent:"$event.preventDefault();",self:bu("$event.target !== $event.currentTarget"),ctrl:bu("!$event.ctrlKey"),shift:bu("!$event.shiftKey"),alt:bu("!$event.altKey"),meta:bu("!$event.metaKey"),left:bu("'button' in $event && $event.button !== 0"),middle:bu("'button' in $event && $event.button !== 1"),right:bu("'button' in $event && $event.button !== 2")};function _u(e,t){var n=t?"nativeOn:":"on:",r="",i="";for(var a in e){var o=Su(e[a]);e[a]&&e[a].dynamic?i+="".concat(a,",").concat(o,","):r+='"'.concat(a,'":').concat(o,",")}return r="{".concat(r.slice(0,-1),"}"),i?n+"_d(".concat(r,",[").concat(i.slice(0,-1),"])"):n+r}function Su(e){if(!e)return"function(){}";if(Array.isArray(e))return"[".concat(e.map(function(e){return Su(e)}).join(","),"]");var t=vu.test(e.value),n=hu.test(e.value),r=vu.test(e.value.replace(mu,""));if(e.modifiers){var i="",a="",o=[],s=function(t){if(wu[t])a+=wu[t],gu[t]&&o.push(t);else if("exact"===t){var n=e.modifiers;a+=bu(["ctrl","shift","alt","meta"].filter(function(e){return!n[e]}).map(function(e){return"$event.".concat(e,"Key")}).join("||"))}else o.push(t)};for(var c in e.modifiers)s(c);o.length&&(i+=function(e){return"if(!$event.type.indexOf('key')&&"+"".concat(e.map(xu).join("&&"),")return null;")}(o)),a&&(i+=a);var l=t?"return ".concat(e.value,".apply(null, arguments)"):n?"return (".concat(e.value,").apply(null, arguments)"):r?"return ".concat(e.value):e.value;
1return"function($event){".concat(i).concat(l,"}")}return t||n?e.value:"function($event){".concat(r?"return ".concat(e.value):e.value,"}")}function xu(e){var t=parseInt(e,10);if(t)return"$event.keyCode!==".concat(t);var n=gu[e],r=yu[e];return"_k($event.keyCode,"+"".concat(JSON.stringify(e),",")+"".concat(JSON.stringify(n),",")+"$event.key,"+"".concat(JSON.stringify(r))+")"}var ku={on:function(e,t){e.wrapListeners=function(e){return"_g(".concat(e,",").concat(t.value,")")}},bind:function(e,t){e.wrapData=function(n){return"_b(".concat(n,",'").concat(e.tag,"',").concat(t.value,",").concat(t.modifiers&&t.modifiers.prop?"true":"false").concat(t.modifiers&&t.modifiers.sync?",true":"",")")}},cloak:$r},Cu=function(e){this.options=e,this.warn=e.warn||uc,this.transforms=pc(e.modules,"transformCode"),this.dataGenFns=pc(e.modules,"genData"),this.directives=Dr(Dr({},ku),e.directives);var t=e.isReservedTag||Mr;this.maybeComponent=function(e){return!!e.component||!t(e.tag)},this.onceId=0,this.staticRenderFns=[],this.pre=!1};function Tu(e,t){var n=new Cu(t),r=e?"script"===e.tag?"null":Ou(e,n):'_c("div")';return{render:"with(this){return ".concat(r,"}"),staticRenderFns:n.staticRenderFns}}function Ou(e,t){if(e.parent&&(e.pre=e.pre||e.parent.pre),e.staticRoot&&!e.staticProcessed)return Eu(e,t);if(e.once&&!e.onceProcessed)return Au(e,t);if(e.for&&!e.forProcessed)return Ru(e,t);if(e.if&&!e.ifProcessed)return Lu(e,t);if("template"!==e.tag||e.slotTarget||t.pre){if("slot"===e.tag)return function(e,t){var n=e.slotName||'"default"',r=ju(e,t),i="_t(".concat(n).concat(r?",function(){return ".concat(r,"}"):""),a=e.attrs||e.dynamicAttrs?Fu((e.attrs||[]).concat(e.dynamicAttrs||[]).map(function(e){return{name:Ar(e.name),value:e.value,dynamic:e.dynamic}})):null,o=e.attrsMap["v-bind"];!a&&!o||r||(i+=",null");a&&(i+=",".concat(a));o&&(i+="".concat(a?"":",null",",").concat(o));return i+")"}(e,t);var n=void 0;if(e.component)n=function(e,t,n){var r=t.inlineTemplate?null:ju(t,n,!0);return"_c(".concat(e,",").concat(Pu(t,n)).concat(r?",".concat(r):"",")")}(e.component,e,t);else{var r=void 0,i=t.maybeComponent(e);(!e.plain||e.pre&&i)&&(r=Pu(e,t));var a=void 0,o=t.options.bindings;i&&o&&!1!==o.__isScriptSetup&&(a=function(e,t){var n=Ar(t),r=Lr(n),i=function(i){return e[t]===i?t:e[n]===i?n:e[r]===i?r:void 0},a=i("setup-const")||i("setup-reactive-const");if(a)return a;var o=i("setup-let")||i("setup-ref")||i("setup-maybe-ref");if(o)return o}(o,e.tag)),a||(a="'".concat(e.tag,"'"));var s=e.inlineTemplate?null:ju(e,t,!0);n="_c(".concat(a).concat(r?",".concat(r):"").concat(s?",".concat(s):"",")")}for(var c=0;c<t.transforms.length;c++)n=t.transforms[c](e,n);return n}return ju(e,t)||"void 0"}function Eu(e,t){e.staticProcessed=!0;var n=t.pre;return e.pre&&(t.pre=e.pre),t.staticRenderFns.push("with(this){return ".concat(Ou(e,t),"}")),t.pre=n,"_m(".concat(t.staticRenderFns.length-1).concat(e.staticInFor?",true":"",")")}function Au(e,t){if(e.onceProcessed=!0,e.if&&!e.ifProcessed)return Lu(e,t);if(e.staticInFor){for(var n="",r=e.parent;r;){if(r.for){n=r.key;break}r=r.parent}return n?"_o(".concat(Ou(e,t),",").concat(t.onceId++,",").concat(n,")"):Ou(e,t)}return Eu(e,t)}function Lu(e,t,n,r){return e.ifProcessed=!0,Iu(e.ifConditions.slice(),t,n,r)}function Iu(e,t,n,r){if(!e.length)return r||"_e()";var i=e.shift();return i.exp?"(".concat(i.exp,")?").concat(a(i.block),":").concat(Iu(e,t,n,r)):"".concat(a(i.block));function a(e){return n?n(e,t):e.once?Au(e,t):Ou(e,t)}}function Ru(e,t,n,r){var i=e.for,a=e.alias,o=e.iterator1?",".concat(e.iterator1):"",s=e.iterator2?",".concat(e.iterator2):"";return e.forProcessed=!0,"".concat(r||"_l","((").concat(i,"),")+"function(".concat(a).concat(o).concat(s,"){")+"return ".concat((n||Ou)(e,t))+"})"}function Pu(e,t){var n="{",r=function(e,t){var n=e.directives;if(!n)return;var r,i,a,o,s="directives:[",c=!1;for(r=0,i=n.length;r<i;r++){a=n[r],o=!0;var l=t.directives[a.name];l&&(o=!!l(e,a,t.warn)),o&&(c=!0,s+='{name:"'.concat(a.name,'",rawName:"').concat(a.rawName,'"').concat(a.value?",value:(".concat(a.value,"),expression:").concat(JSON.stringify(a.value)):"").concat(a.arg?",arg:".concat(a.isDynamicArg?a.arg:'"'.concat(a.arg,'"')):"").
1concat(a.modifiers?",modifiers:".concat(JSON.stringify(a.modifiers)):"","},"))}if(c)return s.slice(0,-1)+"]"}(e,t);r&&(n+=r+","),e.key&&(n+="key:".concat(e.key,",")),e.ref&&(n+="ref:".concat(e.ref,",")),e.refInFor&&(n+="refInFor:true,"),e.pre&&(n+="pre:true,"),e.component&&(n+='tag:"'.concat(e.tag,'",'));for(var i=0;i<t.dataGenFns.length;i++)n+=t.dataGenFns[i](e);if(e.attrs&&(n+="attrs:".concat(Fu(e.attrs),",")),e.props&&(n+="domProps:".concat(Fu(e.props),",")),e.events&&(n+="".concat(_u(e.events,!1),",")),e.nativeEvents&&(n+="".concat(_u(e.nativeEvents,!0),",")),e.slotTarget&&!e.slotScope&&(n+="slot:".concat(e.slotTarget,",")),e.scopedSlots&&(n+="".concat(function(e,t,n){var r=e.for||Object.keys(t).some(function(e){var n=t[e];return n.slotTargetDynamic||n.if||n.for||Nu(n)}),i=!!e.if;if(!r)for(var a=e.parent;a;){if(a.slotScope&&a.slotScope!==Jd||a.for){r=!0;break}a.if&&(i=!0),a=a.parent}var o=Object.keys(t).map(function(e){return Du(t[e],n)}).join(",");return"scopedSlots:_u([".concat(o,"]").concat(r?",null,true":"").concat(!r&&i?",null,false,".concat(function(e){var t=5381,n=e.length;for(;n;)t=33*t^e.charCodeAt(--n);return t>>>0}(o)):"",")")}(e,e.scopedSlots,t),",")),e.model&&(n+="model:{value:".concat(e.model.value,",callback:").concat(e.model.callback,",expression:").concat(e.model.expression,"},")),e.inlineTemplate){var a=function(e,t){var n=e.children[0];0;if(n&&1===n.type){var r=Tu(n,t.options);return"inlineTemplate:{render:function(){".concat(r.render,"},staticRenderFns:[").concat(r.staticRenderFns.map(function(e){return"function(){".concat(e,"}")}).join(","),"]}")}}(e,t);a&&(n+="".concat(a,","))}return n=n.replace(/,$/,"")+"}",e.dynamicAttrs&&(n="_b(".concat(n,',"').concat(e.tag,'",').concat(Fu(e.dynamicAttrs),")")),e.wrapData&&(n=e.wrapData(n)),e.wrapListeners&&(n=e.wrapListeners(n)),n}function Nu(e){return 1===e.type&&("slot"===e.tag||e.children.some(Nu))}function Du(e,t){var n=e.attrsMap["slot-scope"];if(e.if&&!e.ifProcessed&&!n)return Lu(e,t,Du,"null");if(e.for&&!e.forProcessed)return Ru(e,t,Du);var r=e.slotScope===Jd?"":String(e.slotScope),i="function(".concat(r,"){")+"return ".concat("template"===e.tag?e.if&&n?"(".concat(e.if,")?").concat(ju(e,t)||"undefined",":undefined"):ju(e,t)||"undefined":Ou(e,t),"}"),a=r?"":",proxy:true";return"{key:".concat(e.slotTarget||'"default"',",fn:").concat(i).concat(a,"}")}function ju(e,t,n,r,i){var a=e.children;if(a.length){var o=a[0];if(1===a.length&&o.for&&"template"!==o.tag&&"slot"!==o.tag){var s=n?t.maybeComponent(o)?",1":",0":"";return"".concat((r||Ou)(o,t)).concat(s)}var c=n?function(e,t){for(var n=0,r=0;r<e.length;r++){var i=e[r];if(1===i.type){if($u(i)||i.ifConditions&&i.ifConditions.some(function(e){return $u(e.block)})){n=2;break}(t(i)||i.ifConditions&&i.ifConditions.some(function(e){return t(e.block)}))&&(n=1)}}return n}(a,t.maybeComponent):0,l=i||Mu;return"[".concat(a.map(function(e){return l(e,t)}).join(","),"]").concat(c?",".concat(c):"")}}function $u(e){return void 0!==e.for||"template"===e.tag||"slot"===e.tag}function Mu(e,t){return 1===e.type?Ou(e,t):3===e.type&&e.isComment?function(e){return"_e(".concat(JSON.stringify(e.text),")")}(e):"_v(".concat(2===(n=e).type?n.expression:qu(JSON.stringify(n.text)),")");var n}function Fu(e){for(var t="",n="",r=0;r<e.length;r++){var i=e[r],a=qu(i.value);i.dynamic?n+="".concat(i.name,",").concat(a,","):t+='"'.concat(i.name,'":').concat(a,",")}return t="{".concat(t.slice(0,-1),"}"),n?"_d(".concat(t,",[").concat(n.slice(0,-1),"])"):t}function qu(e){return e.replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments".split(",").join("\\b|\\b")+"\\b"),new RegExp("\\b"+"delete,typeof,void".split(",").join("\\s*\\([^\\)]*\\)|\\b")+"\\s*\\([^\\)]*\\)");function Bu(e,t){try{return new Function(e)}catch(n){return t.push({err:n,code:e}),$r}}function Vu(e){var t=Object.create(null);return function(n,r,i){(r=Dr({},r)).warn;delete r.warn;var a=r.delimiters?String(r.delimiters)+n:n;if(t[a])return t[a];var o=e(n,r);var s={},c=[];return s.render=Bu(o.render,c),s.staticRenderFns=o.staticRenderFns.map(function(e){return Bu(e,c)}),t[a]=s}}var Uu,Hu,zu=(Uu=function(e,t){var n=Gd(e.trim(),t);!1!==t.optimize&&uu(n,t);var r=Tu(n,t);return{ast:n,render:r.render,staticRenderFns:r.staticRenderFns}},function(e){function t(t,n){var r=Object.create(e),i=[],a=[];if(n)for(var o in n.modules&&(r.modules=(e.modules||[]).concat(n.modules)),n.directives&&(r.directives=Dr(Object.create(e.directives||null),n.directives)),n)"modules"!==o&&"directives"!==o&&(r[o]=n[o]);r.warn=function(e,t,n){(n?a:i).push(e)};var s=Uu(t.trim(),r);return s.errors=i,s.tips=a,s}return{compile:t,compileToFunctions:Vu(t)}}),Wu=zu(lu).compileToFunctions;function Ju(e){return(Hu=Hu||document.createElement("div")).innerHTML=e?'<a href="\n"/>':'<div a="\n"/>',Hu.innerHTML.indexOf(" ")>0}var Ku=!!Zr&&Ju(!1),Gu=!!Zr&&Ju(!0),Yu=Or(function(e){var t=Ns(e);return t&&t.innerHTML}),Xu=is.prototype.$mount;is.prototype.$mount=function(e,t){if((e=e&&Ns(e))===document.body||e===document.documentElement)return this;var n=this.$options;if(!n.render){var r=n.template;if(r)if("string"==typeof r)"#"===r.charAt(0)&&(r=Yu(r));else{if(!r.nodeType)return this;r=r.innerHTML}else e&&(r=function(e){if(e.outerHTML)return e.outerHTML;var t=document.createElement("div");return t.appendChild(e.cloneNode(!0)),t.innerHTML}(e));if(r){0;var i=Wu(r,{outputSourceRange:!1,shouldDecodeNewlines:Ku,shouldDecodeNewlinesForHref:Gu,delimiters:n.delimiters,comments:n.comments},this),a=i.render,o=i.staticRenderFns;n.render=a,n.staticRenderFns=o}}return Xu.call(this,e,t)},is.compile=Wu;n(23215);const Qu={name:"AdminBarLogo"};n(3552);
1function Zu(e,t,n,r,i,a,o,s){var c,l="function"==typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),r&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),i&&i.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):i&&(c=s?function(){i.call(this,(l.functional?this.parent:this).$root.$options.shadowRoot)}:i),c)if(l.functional){l._injectStyles=c;var d=l.render;l.render=function(e,t){return c.call(t),d(e,t)}}else{var u=l.beforeCreate;l.beforeCreate=u?[].concat(u,c):[c]}return{exports:e,options:l}}const ep=Zu(Qu,function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("a",{staticClass:"admin-bar-logo",attrs:{href:"/admin/"}},[n("img",{attrs:{src:"/resources/responsive-static/images/admin/martini-icon-only.png",alt:"Martini Icon"}}),e._v(" "),n("i",{staticClass:"iconify",attrs:{"data-icon":"fa-solid:glass-martini","data-inline":"true"}})])}],!1,null,"ec6a1666",null).exports;const tp={name:"AdminMessageBar",props:{message:Object}};n(23265);const np=Zu(tp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"admin-message"},[n("div",{staticClass:"nq-cb-notice-container",class:e.message.global_admin_alert_level},[n("div",{staticClass:"container"},[n("div",{staticClass:"row"},[e._m(0),e._v(" "),n("div",{staticClass:"asb-admin-message"},[n("p",[e._v(e._s(e.message.global_admin_msg))])]),e._v(" "),n("a",{staticClass:"nq-cb-notice-close",attrs:{href:"#"},on:{click:function(t){return t.preventDefault(),e.onNoticeCloseClick.apply(null,arguments)}}},[n("i",{staticClass:"iconify asb__close--x",attrs:{"data-icon":"fa-solid:times","data-inline":"true"}})])])])])])},[function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"asb-admin-message-heading"},[n("h2",[e._v("Admin Message")])])}],!1,null,"e854ed1e",null).exports;const rp={name:"PopUpMenu",props:{items:Array,visible:Boolean},data(){var e;return{showSubMenu:Array(null===(e=this.items)||void 0===e?void 0:e.length).fill(!1)}},computed:{hasMenuOpen(){return this.showSubMenu.some(e=>!0===e)}},methods:{onMouseEnter(e){this.items[e].items&&this.$set(this.showSubMenu,e,!0)},onTransitionEnter(e,t){let n=e.getBoundingClientRect();n.bottom>window.innerHeight&&(e.style.top=-1*(n.bottom-window.innerHeight+16)+"px"),n.right>window.innerWidth&&e.classList.add("left");e.animate([{transform:"rotateY(90deg)",opacity:0}
1,{transform:"rotateY(0deg)",opacity:1}],250).onfinish=t},onTransitionLeave(e,t){e.animate([{transform:"rotateY(0deg)",opacity:1},{transform:"rotateY(90deg)",opacity:0}],250).onfinish=()=>{e.classList.remove("left"),t()}},onClick(e){e.function?e.function():e.link&&(e.target?window.open(e.link,e.target):window.location.href=e.link)}}},ip=rp;n(61078);var ap=Zu(ip,function(){var e=this,t=e.$createElement,n=e._self._c||t;return e.visible?n("div",{staticClass:"v-nav-menu",class:{hasMenuOpen:e.hasMenuOpen}},[e._l(e.items,function(t,r){return[t.divider?n("hr",{key:r}):n("a",{key:t.label,staticClass:"item",class:{hoverable:t.items||t.link},on:{mouseenter:function(t){return e.onMouseEnter(r)},mouseleave:function(t){return e.$set(e.showSubMenu,r,!1)},click:function(n){return e.onClick(t)}}},[n("div",{staticStyle:{flex:"1"}},[e._v(e._s(t.label))]),e._v(" "),void 0!==t.value?n("input",{attrs:{type:"checkbox"},domProps:{checked:t.value}}):e._e(),e._v(" "),t.items?n("i",{staticClass:"iconify",attrs:{"data-icon":"mdi:chevron-right","data-inline":"true"}}):e._e(),e._v(" "),n("Transition",{attrs:{css:!1},on:{enter:e.onTransitionEnter,leave:e.onTransitionLeave}},[t.items?n("PopUpMenu",{attrs:{visible:e.showSubMenu[r],items:t.items}}):e._e()],1)],1)]})],2):e._e()},[],!1,null,"9d173f86",null);const op={name:"PopUpItem",components:{PopUpMenu:ap.exports},props:{items:Array,label:String},data:()=>({open:!1})};n(21937);const sp=Zu(op,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-popup-item",on:{mouseenter:function(t){e.open=!0},mouseleave:function(t){e.open=!1}}},[n("a",[n("div",{domProps:{textContent:e._s(e.label)}}),e._v(" "),n("i",{staticClass:"iconify",attrs:{"data-icon":"mdi:chevron-up","data-inline":"true"}})]),e._v(" "),n("Transition",[e._t("default",function(){return[e.items?n("PopUpMenu",{attrs:{visible:e.open,items:e.items}}):e._e()]})],2)],1)},[],!1,null,"20f5d7af",null).exports;const cp={name:"PopUpSearch",props:{value:String},data:()=>({open:!1}),watch:{open:function(e){if(e){let e=[{transform:"rotateX(90deg)",opacity:0}
1,{transform:"rotateX(0deg)",opacity:1}];this.$refs.popup.style.display="block",this.$refs.popup.animate(e,250)}else{let e=[{transform:"rotateX(0deg)",opacity:1},{transform:"rotateX(90deg)",opacity:0}];this.$refs.popup.animate(e,250).onfinish=()=>{this.$refs.popup.style.display="none"}}}},mounted(){this.$refs.popup.style.display="none"}};n(42341);const lp=Zu(cp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-popup-search",on:{mouseleave:function(t){e.open=!1}}},[n("div",{staticClass:"label",on:{mouseenter:function(t){e.open=!0}}},[n("i",{staticClass:"iconify",staticStyle:{"font-size":"14px"},attrs:{"data-icon":"fa:search","data-inline":"true"}})]),e._v(" "),n("div",{ref:"popup",staticClass:"popup"},[n("input",{attrs:{id:"search-article",type:"search",placeholder:"Search Article by ID"},domProps:{value:e.value},on:{input:function(t){return e.$emit("input",t.target.value)},keyup:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"enter",13,t.key,"Enter")?null:e.$emit("submit")}}})])])},[],!1,null,"0a6b87df",null).exports,dp={showAdPositions:!1,showPianoTargets:!1,toggleShowAdPositions(){this.showAdPositions=!this.showAdPositions;document.querySelectorAll('*[id^="DFP_"]').forEach(e=>{if(e.parentElement)if(this.showAdPositions){e.parentElement.classList.add("advert-admin-highlight");const t=document.createElement("div");t.classList.add("advert-admin-highlight-label"),t.innerHTML="#".concat(e.id).concat(e.parentElement.classList.contains("ad-sticky")?" (floating)":""),e.parentElement.appendChild(t)}else{var t;null===(t=e.parentElement.querySelector(".advert-admin-highlight-label"))||void 0===t||t.remove(),e.parentElement.classList.remove("advert-admin-highlight"),Array.from(e.parentElement.children).forEach(e=>e.style.removeProperty("display"))}})},setShowAdminControls(e){document.querySelectorAll(".admin-header, .admin-links-toggler").forEach(t=>{t.style.display=e?"block":"none"}),document.querySelectorAll(".admin-config-link").forEach(t=>{t.style.display=e?"flex":"none"})},setShowSkinMode(e){e?document.body.classList.add("allow-skins"):document.body.classList.remove("allow-skins")},toggleShowBlockOutlines(){document.querySelectorAll(".block").forEach(e=>{e.classList.toggle("block-admin-border-highlight")})},toggleShowOmnicardOutlines(){document.querySelectorAll(".omnicard, .omni-lead-story").forEach(e=>{e.classList.toggle("omnicard-admin-border-highlight")})},toggleShowPianoTargets(){this.showPianoTargets=!this.showPianoTargets;const e=document.querySelectorAll('*[id^="po-"]'),t=["po-inline-articlegate-partialarticle","po-inline-articlegate-fullarticle","po-overlay-articlegate-full-width-full-article-scroll-below","piano-helper-modal","piano-helper-init","piano-meter-display"],n=document.getElementById("po-inline-articlegate-partialarticle"),r=document.getElementById("po-inline-articlegate-fullarticle"),i=document.getElementById("po-overlay-articlegate-full-width-full-article-scroll-below");e.forEach(e=>{t.includes(e.id)||("po-inline-article-inside"===e.id&&(e.classList.add("shown"),e.removeAttribute("style"),e.style.display="block"),this.togglePianoHighlight(e,"piano-admin-border-highlight","#".concat(e.id)))}),n&&this.togglePianoHighlight(n,"piano-subscription-admin-border-highlight",'<div style="text-align: center">\n <b>#po-inline-articlegate-partialarticle</b> (replaces all shaded content )\n </div>\n '.concat(n.innerHTML)),r&&this.togglePianoHighlight(r,"piano-admin-border-highlight",'<div style="text-align: center">\n <b>#po-inline-articlegate-fullarticle</b> (replaces <b>ALL</b> content below)\n </div>\n '.concat(r.innerHTML)),i&&this.togglePianoHighlight(i,"piano-admin-border-highlight",'<div style="text-align: center">\n <b>#po-overlay-articlegate-full-width-full-article-scroll-below</b> (replaces <b>ALL</b> content below)\n </div>\n '.concat(i.innerHTML))},togglePianoHighlight(e,t,n){if(e)if(this.showPianoTargets){const r=document.createElement("div");r.classList.add("piano-target-highlight"),r.innerHTML=n,e.appendChild(r),e.classList.add(t),e.style.display="block"}else e.classList.remove(t),e.querySelector(".piano-target-highlight").remove(),e.style.removeProperty("display")},toggleShowImageOutlines(){document.querySelectorAll("img").forEach(e
1=>{e.classList.toggle("image-admin-border-highlight")})}};var up=n(92443);const pp={name:"AdminBarController",components:{AdminBarLogo:ep,AdminMessageBar:np,PopUpItem:sp,PopUpSearch:lp},props:{admin_message_bar:Array},data(){return{messages:[{global_admin_alert_level:"warning",global_admin_msg:"Test message"}],links:[{label:"Editorial<br/>Targets",url:"/admin/editorial-targets/statistics/"},{label:"Site<br />Dashboard",url:"/admin/site-dashboard/"},{label:"Global<br />Most Read",url:"http://uatu.newsquestdigital.co.uk/mostread-bysite-bigscreen-global.php"},{label:"Site<br />Most Read",url:"http://uatu.newsquestdigital.co.uk/mostread-bysite-bigscreen.php?site_id=".concat(this.siteId)},{label:"Parse.ly<br />All sites",url:"https://dash.parsely.com/newsquest/"},{label:"Parse.ly<br />This site",url:"https://dash.parsely.com/".concat(this.parselySiteId,"/")},{label:"Parse.ly<br />LPT",url:"https://app.powerbi.com/links/62F3fe3vL8?ctid=b0660fd3-3ef0-4a73-b44e-f93c297faf15/"},{label:"Parse.ly<br />Editorial KPI's",url:"https://app.powerbi.com/links/nJuPmPhvm9?ctid=b0660fd3-3ef0-4a73-b44e-f93c297faf15&/"}],devSettings:{showAll:!1,showBlockOutlines:!1,showOmnicardOutlines:!1,showSkinMode:!1,showPianoTargets:!1,showAdPositions:!1,showAdminControls:!0,showImageOutlines:!1},rememberDevToolsSettings:!1,infoItems:[{label:"Site ID:"},{label:"Region:"},{label:"Region ID:"},{divider:!0},{label:"Dev tools",items:[{label:"Show all",value:Wi(()=>this.devSettings.showAll),function:()=>{let e=!Object.values(this.devSettings).every(e=>!0===e);Object.keys(this.devSettings).forEach(t=>this.$set(this.devSettings,t,e))}},{label:"Show Block Outlines",value:Wi(()=>this.devSettings.showBlockOutlines),function:()=>this.$set(this.devSettings,"showBlockOutlines",!this.devSettings.showBlockOutlines)},{label:"Show Omnicard Outlines",value:Wi(()=>this.devSettings.showOmnicardOutlines),function:()=>this.$set(this.devSettings,"showOmnicardOutlines",!this.devSettings.showOmnicardOutlines)},{label:"Show Skin Mode",value:Wi(()=>this.devSettings.showSkinMode),function:()=>this.$set(this.devSettings,"showSkinMode",!this.devSettings.showSkinMode)},{label:"Show Piano Targets",value:Wi(()=>this.devSettings.showPianoTargets),function:()=>this.$set(this.devSettings,"showPianoTargets",!this.devSettings.showPianoTargets)},{label:"Show Admin Controls",value:Wi(()=>this.devSettings.showAdminControls),function:()=>this.$set(this.devSettings,"showAdminControls",!this.devSettings.showAdminControls)},{label:"Show Ad Positions",value:Wi(()=>this.devSettings.showAdPositions),function:()=>this.$set(this.devSettings,"showAdPositions",!this.devSettings.showAdPositions)},{label:"Show Image Outlines",value:Wi(()=>this.devSettings.showImageOutlines),function:()=>this.$set(this.devSettings,"showImageOutlines",!this.devSettings.showImageOutlines)},{label:"Remember Settings",value:Wi(()=>this.rememberDevToolsSettings),function:()=>this.rememberDevToolsSettings=!this.rememberDevToolsSettings},{label:"Logout",function:()=>nr.logout()}]},{label:"Dev information",items:[{label:"Piano information",function:()=>Kn.show()},{label:"Data layer content",function:()=>Kn.showLaunch()}]}],helpItems:[{label:"Martini help",link:"https://newsquest365.sharepoint.com/sites/DigitalEditorialWiki/",target:"_blank"},{label:"Contact helpdesk",link:"https://newsquest365.sharepoint.com/sites/DigitalEditorialWiki/SitePages/Contact-the-Digital-Media-help-desk.aspx",target:"_blank"}],searchText:"",siteId:window.data_layer.site.id,parselySiteId:window.data_layer.parsely.site_id}},methods:{onArticleSearchSubmit(){window.location.href="".concat(window.location,"admin/article_information/?article_id=").concat(this.searchText)},onNoticeCloseClick(){up("#adminMessageBar").slideUp();const e=Math.round(+new Date/1e3);up.cookie("nqdm_adme",e)},onStatsBarCloseClick(){this.$el.animate([{transform:"translateY(0)"},{transform:"translateY(100%)"}],{duration:250,easing:"ease-in-out"}).onfinish=()=>{this.$el.parentNode.removeChild(this.$el),this.$destroy()}},togglePianoHighlight(e,t,n){if(e)if(this.devSettings.showPianoTargets){let r=document.createElement("div");r.classList.add("piano-target-highlight"),r.innerHTML=n,e.appendChild(r),e.classList.add(t),e.style.display="block"}else e.classList.remove(t),e.querySelector(".piano-target-highlight").remove(),e.style.removeProperty("display")},toggleAdvertHighlight(e,t){if(e)if(this.devSettings.showAdPositions){e.classList.add("advert-admin-highlight");let n=document.createElement("div");n.classList.add("advert-admin-highlight-label"),n.innerHTML="".concat(t).concat(e.classList.contains("ad-sticky")?" (floating)":""),e.appendChild(n)}else{var n;null===(n=e.querySelector(".advert-admin-highlight-label"))||void 0===n||n.remove(),e.classList.remove("advert-admin-highlight"),Array.from(e.children).forEac
1h(e=>e.style.removeProperty("display"))}},updateCookie(){this.rememberDevToolsSettings?document.cookie="nq_dev_settings=".concat(JSON.stringify(this.devSettings),"; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/"):document.cookie="nq_dev_settings=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/"},readCookie(){let e=document.cookie.split(";").find(e=>e.includes("nq_dev_settings"));if(e){let t=JSON.parse(e.split("=")[1]);delete t.showAll,this.devSettings.showAdPositions=t.showAdPositions,this.devSettings.showAdminControls=t.showAdminControls,this.devSettings.showBlockOutlines=t.showBlockOutlines,this.devSettings.showOmnicardOutlines=t.showOmnicardOutlines,this.devSettings.showPianoTargets=t.showPianoTargets,this.devSettings.showSkinMode=t.showSkinMode,this.devSettings.showImageOutlines=t.showImageOutlines,this.devSettings.showAll=Object.values(t).every(e=>!0===e)}}},watch:{rememberDevToolsSettings:function(e){e?(document.cookie="nq_remember_dev_settings=true; expires=Fri, 31 Dec 9999 23:59:59 GMT; path=/",this.updateCookie()):(document.cookie="nq_remember_dev_settings=true; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/",document.cookie="nq_dev_settings=true; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/")},devSettings:{handler:function(){this.$nextTick(()=>this.updateCookie())},deep:!0},"devSettings.showAll":function(e){Object.keys(this.devSettings).forEach(t=>{"showAll"!==t&&(this.devSettings[t]=e)})},"devSettings.showBlockOutlines":dp.toggleShowBlockOutlines,"devSettings.showOmnicardOutlines":dp.toggleShowOmnicardOutlines,"devSettings.showSkinMode":function(e){dp.setShowSkinMode(e)},"devSettings.showPianoTargets":dp.toggleShowPianoTargets,"devSettings.showAdPositions":dp.toggleShowAdPositions,"devSettings.showAdminControls":function(e){dp.setShowAdminControls(e)},"devSettings.showImageOutlines":dp.toggleShowImageOutlines},mounted(){this.siteId=window.data_layer.site.id,this.parselySiteId=window.data_layer.parsely.site_id,this.links[3].url="http://uatu.newsquestdigital.co.uk/mostread-bysite-bigscreen.php?site_id=".concat(this.siteId),this.links[5].url="https://dash.parsely.com/".concat(this.parselySiteId,"/"),this.infoItems[0].label="Site ID: ".concat(this.siteId),this.infoItems[1].label="Region: ".concat(window.data_layer.site.centre_name),this.infoItems[2].label="Region ID: ".concat(window.data_layer.site.centre_id);let e=document.cookie.split(";").find(e=>e.includes("nq_remember_dev_settings"));e&&(this.rememberDevToolsSettings="true"===e.split("=")[1],this.rememberDevToolsSettings&&this.readCookie()),this.devSettings.showSkinMode=document.body.classList.contains("allow-skins")}},fp=pp;n(26639),n(36439);const hp=Zu(fp,function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"v-admin-bar"},[e._l(e.admin_message_bar,function(e){return n("AdminMessageBar",{key:e.global_admin_msg,attrs:{message:e}})}),e._v(" "),n("div",{staticClass:"admin-stats-bar"},[n("div",{staticClass:"container"},[n("div",{staticClass:"content-left"},[n("AdminBarLogo"),e._v(" "),n("div",{staticClass:"content-left below-tablet-hide"},e._l(e.links,function(t){return n("div",{key:t.label,staticClass:"link",class:t.class},[t.url?n("a",{attrs:{href:t.url,target:"_blank"},domProps:{innerHTML:e._s(t.label)}}):n("span",{domProps:{innerHTML:e._s(t.label)}})])}),0)],1),e._v(" "),n("div",{staticClass:"content-right"},[n("PopUpItem",{attrs:{label:"Site Info & Tools",items:e.infoItems}}),e._v(" "),n("PopUpItem",{attrs:{label:"Help",items:e.helpItems}}),e._v(" "),n("PopUpSearch",{on:{submit:e.onArticleSearchSubmit},model:{value:e.searchText,callback:function(t){e.searchText=t},expression:"searchText"}}),e._v(" "),n("div",{staticClass:"close",on:{click:function(t){return t.preventDefault(),e.onStatsBarCloseClick.apply(null,arguments)}}},[n("i",{staticClass:"iconify",attrs:{"data-icon":"fa-solid:times","data-inline":"true"}})])],1)])])],2)},[],!1,null,"ed4156ba",null).exports,mp={init(){if("yes"===window.data_layer.user.is_admin)this.initialiseVueComponent();else{if(document.cookie.split(";").find(e=>e.includes("nq_remember_dev_settings"))){const e=document.cookie.split(";").find(e=>e.includes("nq_dev_settings"));if(e){const t=JSON.parse(e.split("=")[1]);t.showAdPositions&&dp.toggleShowAdPositions(),t.showBlockOutlines&&dp.toggleShowBlockOutlines(),t.showOmnicardOutlines&&dp.toggleShowOmnicardOutlines(),t.showPianoTargets&&dp.toggleShowPianoTargets(),t.showImageOutlines&&dp.toggleShowImageOutlines(),dp.setShowSkinMode(t.showSkinMode)}}}},initialiseVueComponent(){new(is.extend(hp))({propsData:window.adminBarData}).$mount("#adminNoticeBar")}};var vp=n(92443);window.martiniRecommend=Wt,window.addEventListener("DOMContentLoaded",()=>{window.martiniRecommend="redesignArticleContinuation",t.log("DOMContentLoaded: global");const e=performance.now();
1ir.init(),qn.init(),nr.init(),window.pianoId=nr,i.init(),a.init(),s.init(),l.init(),Yt.init(),u.init(),Ht.init(),Kt.init(),Xt.init(),Qt.init(),mn.init(),tn.init().then(e=>{kn.injectAdIntoMostReadSideBar(),t.log("Success init most-read",e)}).catch(e=>{t.log("Error init most read",e)}),kn.init(),cn.init(),ln.init(),bn.init(),_n.init(),Sn.init(),Fn.init(),An.init(),mp.init(),window.history.scrollRestoration="auto",vp("#assignment-response-form").length>0&&$n.init(),t.log("PERFORMANCE EOF",performance.now()-e)}),window.setTimeout(()=>{const e=performance.now();On.setTimeoutRemoveFixedTopAd(e),On.init()},2e3),document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementById("user-login-not-loggedin");if(e&&-1===e.href.indexOf("redirect_url=")){const t=-1===e.href.indexOf("?")?"?":"&";e.href="".concat(e.href).concat(t,"redirect_url=").concat(encodeURIComponent("/user/account/"))}})})()})();
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.