!function(){"use strict";var t={4977:function(t,n,e){var r=e(4188),o=e(3174),i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not a function")}},2937:function(t,n,e){var r=e(3243).has;t.exports=function(t){return r(t),t}},3770:function(t,n,e){var r=e(831),o=String,i=TypeError;t.exports=function(t){if(r(t))return t;throw new i(o(t)+" is not an object")}},1458:function(t,n,e){var r=e(380),o=e(675),i=e(9389),a=function(t){return function(n,e,a){var c=r(n),u=i(c);if(0===u)return!t&&-1;var s,f=o(a,u);if(t&&e!==e){for(;u>f;)if((s=c[f++])!==s)return!0}else for(;u>f;f++)if((t||f in c)&&c[f]===e)return t||f||0;return!t&&-1}};t.exports={includes:a(!0),indexOf:a(!1)}},8689:function(t,n,e){var r=e(6881),o=r({}.toString),i=r("".slice);t.exports=function(t){return i(o(t),8,-1)}},5438:function(t,n,e){var r=e(9345),o=e(4188),i=e(8689),a=e(4282)("toStringTag"),c=Object,u="Arguments"===i(function(){return arguments}());t.exports=r?i:function(t){var n,e,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(e=function(t,n){try{return t[n]}catch(t){}}(n=c(t),a))?e:u?i(n):"Object"===(r=i(n))&&o(n.callee)?"Arguments":r}},8657:function(t,n,e){var r=e(4418),o=e(3168),i=e(9304),a=e(4466);t.exports=function(t,n,e){for(var c=o(n),u=a.f,s=i.f,f=0;f0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),t.exports=o},5613:function(t,n,e){var r=e(9117),o=e(9304).f,i=e(8088),a=e(7509),c=e(4798),u=e(8657),s=e(8489);t.exports=function(t,n){var e,f,p,l,d,v=t.target,m=t.global,g=t.stat;if(e=m?r:g?r[v]||c(v,{}):r[v]&&r[v].prototype)for(f in n){if(l=n[f],p=t.dontCallGetSet?(d=o(e,f))&&d.value:e[f],!s(m?f:v+(g?".":"#")+f,t.forced)&&void 0!==p){if(typeof l==typeof p)continue;u(l,p)}(t.sham||p&&p.sham)&&i(l,"sham",!0),a(e,f,l,t)}}},5234:function(t){t.exports=function(t){try{return!!t()}catch(t){return!0}}},5821:function(t,n,e){var r=e(5691),o=e(4977),i=e(9055),a=r(r.bind);t.exports=function(t,n){return o(t),void 0===n?t:i?a(t,n):function(){return t.apply(n,arguments)}}},9055:function(t,n,e){var r=e(5234);t.exports=!r((function(){var t=function(){}.bind();return"function"!=typeof t||t.hasOwnProperty("prototype")}))},9944:function(t,n,e){var r=e(9055),o=Function.prototype.call;t.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},2735:function(t,n,e){var r=e(6893),o=e(4418),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,c=o(i,"name"),u=c&&"something"===function(){}.name,s=c&&(!r||r&&a(i,"name").configurable);t.exports={EXISTS:c,PROPER:u,CONFIGURABLE:s}},1025:function(t,n,e){var r=e(6881),o=e(4977);t.exports=function(t,n,e){try{return r(o(Object.getOwnPropertyDescriptor(t,n)[e]))}catch(t){}}},5691:function(t,n,e){var r=e(8689),o=e(6881);t.exports=function(t){if("Function"===r(t))return o(t)}},6881:function(t,n,e){var r=e(9055),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);t.exports=r?a:function(t){return function(){return i.apply(t,arguments)}}},5604:function(t,n,e){var r=e(9117),o=e(4188);t.exports=function(t,n){return arguments.length<2?(e=r[t],o(e)?e:void 0):r[t]&&r[t][n];var e}},6002:function(t){t.exports=function(t){return{iterator:t,next:t.next,done:!1}}},2913:function(t,n,e){var r=e(4977),o=e(4318);t.exports=function(t,n){var e=t[n];return o(e)?void 0:r(e)}},5558:function(t,n,e){var r=e(4977),o=e(3770),i=e(9944),a=e(6744),c=e(6002),u="Invalid size",s=RangeError,f=TypeError,p=Math.max,l=function(t,n){this.set=t,this.size=p(n,0),this.has=r(t.has),this.keys=r(t.keys)};l.prototype={getIterator:function(){return c(o(i(this.keys,this.set)))},includes:function(t){return i(this.has,this.set,t)}},t.exports=function(t){o(t);var n=+t.size;if(n!==n)throw new f(u);var e=a(n);if(e<0)throw new s(u);return new l(t,e)}},9117:function(t,n,e){var r=function(t){return t&&t.Math===Math&&t};t.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof e.g&&e.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},4418:function(t,n,e){var r=e(6881),o=e(3628),i=r({}.hasOwnProperty);t.exports=Object.hasOwn||function(t,n){return i(o(t),n)}},7588:function(t){t.exports={}},9622:function(t,n,e){var r=e(6893),o=e(5234),i=e(5926);t.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7568:function(t,n,e){var r=e(6881),o=e(5234),i=e(8689),a=Object,c=r("".split);t.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(t){return"String"===i(t)?c(t,""):a(t)}:a},3029:function(t,n,e){var r=e(6881),o=e(4188),i=e(2694),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(t){return a(t)}),t.exports=i.inspectSource},3086:function(t,n,e){var r,o,i,a=e(5945),c=e(9117),u=e(831),s=e(8088),f=e(4418),p=e(2694),l=e(168),d=e(7588),v="Object already initialized",m=c.TypeError,g=c.WeakMap;if(a||p.state){var h=p.state||(p.state=new g);h.get=h.get,h.has=h.has,h.set=h.set,r=function(t,n){if(h.has(t))throw new m(v);return n.facade=t,h.set(t,n),n},o=function(t){return h.get(t)||{}},i=function(t){return h.has(t)}}else{var w=l("state");d[w]=!0,r=function(t,n){if(f(t,w))throw new m(v);return n.facade=t,s(t,w,n),n},o=function(t){return f(t,w)?t[w]:{}},i=function(t){return f(t,w)}}t.exports={set:r,get:o,has:i,enforce:function(t){return i(t)?o(t):r(t,{})},getterFor:function(t){return function(n){var e;if(!u(n)||(e=o(n)).type!==t)throw new m("Incompatible receiver, "+t+" required");return e}}}},4188:function(t){var n="object"==typeof document&&document.all;t.exports="undefined"==typeof n&&void 0!==n?function(t){return"function"==typeof t||t===n}:function(t){return"function"==typeof t}},8489:function(t,n,e){var r=e(5234),o=e(4188),i=/#|\.prototype\./,a=function(t,n){var e=u[c(t)];return e===f||e!==s&&(o(n)?r(n):!!n)},c=a.normalize=function(t){return String(t).replace(i,".").toLowerCase()},u=a.data={},s=a.NATIVE="N",f=a.POLYFILL="P";t.exports=a},4194:function(t,n,e){var r=e(5438),o=e(4418),i=e(4318),a=e(4282),c=e(9164),u=a("iterator"),s=Object;t.exports=function(t){if(i(t))return!1;var n=s(t);return void 0!==n[u]||"@@iterator"in n||o(c,r(n))}},4318:function(t){t.exports=function(t){return null===t||void 0===t}},831:function(t,n,e){var r=e(4188);t.exports=function(t){return"object"==typeof t?null!==t:r(t)}},1942:function(t){t.exports=!1},6032:function(t,n,e){var r=e(5604),o=e(4188),i=e(4578),a=e(9809),c=Object;t.exports=a?function(t){return"symbol"==typeof t}:function(t){var n=r("Symbol");return o(n)&&i(n.prototype,c(t))}},7032:function(t,n,e){var r=e(9944);t.exports=function(t,n,e){for(var o,i,a=e?t:t.iterator,c=t.next;!(o=r(c,a)).done;)if(void 0!==(i=n(o.value)))return i}},8500:function(t,n,e){var r=e(9944),o=e(3770),i=e(2913);t.exports=function(t,n,e){var a,c;o(t);try{if(!(a=i(t,"return"))){if("throw"===n)throw e;return e}a=r(a,t)}catch(t){c=!0,a=t}if("throw"===n)throw e;if(c)throw a;return o(a),e}},9164:function(t){t.exports={}},9389:function(t,n,e){var r=e(7611);t.exports=function(t){return r(t.length)}},4530:function(t,n,e){var r=e(6881),o=e(5234),i=e(4188),a=e(4418),c=e(6893),u=e(2735).CONFIGURABLE,s=e(3029),f=e(3086),p=f.enforce,l=f.get,d=String,v=Object.defineProperty,m=r("".slice),g=r("".replace),h=r([].join),w=c&&!o((function(){return 8!==v((function(){}),"length",{value:8}).length})),b=String(String).split("String"),y=t.exports=function(t,n,e){"Symbol("===m(d(n),0,7)&&(n="["+g(d(n),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),e&&e.getter&&(n="get "+n),e&&e.setter&&(n="set "+n),(!a(t,"name")||u&&t.name!==n)&&(c?v(t,"name",{value:n,configurable:!0}):t.name=n),w&&e&&a(e,"arity")&&t.length!==e.arity&&v(t,"length",{value:e.arity});try{e&&a(e,"constructor")&&e.constructor?c&&v(t,"prototype",{writable:!1}):t.prototype&&(t.prototype=void 0)}catch(t){}var r=p(t);return a(r,"source")||(r.source=h(b,"string"==typeof n?n:"")),t};Function.prototype.toString=y((function(){return i(this)&&l(this).source||s(this)}),"toString")},142:function(t){var n=Math.ceil,e=Math.floor;t.exports=Math.trunc||function(t){var r=+t;return(r>0?e:n)(r)}},4466:function(t,n,e){var r=e(6893),o=e(9622),i=e(3315),a=e(3770),c=e(2344),u=TypeError,s=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p="enumerable",l="configurable",d="writable";n.f=r?i?function(t,n,e){if(a(t),n=c(n),a(e),"function"===typeof t&&"prototype"===n&&"value"in e&&d in e&&!e[d]){var r=f(t,n);r&&r[d]&&(t[n]=e.value,e={configurable:l in e?e[l]:r[l],enumerable:p in e?e[p]:r[p],writable:!1})}return s(t,n,e)}:s:function(t,n,e){if(a(t),n=c(n),a(e),o)try{return s(t,n,e)}catch(t){}if("get"in e||"set"in e)throw new u("Accessors not supported");return"value"in e&&(t[n]=e.value),t}},9304:function(t,n,e){var r=e(6893),o=e(9944),i=e(4416),a=e(9123),c=e(380),u=e(2344),s=e(4418),f=e(9622),p=Object.getOwnPropertyDescriptor;n.f=r?p:function(t,n){if(t=c(t),n=u(n),f)try{return p(t,n)}catch(t){}if(s(t,n))return a(!o(i.f,t,n),t[n])}},5629:function(t,n,e){var r=e(1843),o=e(1274).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return r(t,o)}},156:function(t,n){n.f=Object.getOwnPropertySymbols},4578:function(t,n,e){var r=e(6881);t.exports=r({}.isPrototypeOf)},1843:function(t,n,e){var r=e(6881),o=e(4418),i=e(380),a=e(1458).indexOf,c=e(7588),u=r([].push);t.exports=function(t,n){var e,r=i(t),s=0,f=[];for(e in r)!o(c,e)&&o(r,e)&&u(f,e);for(;n.length>s;)o(r,e=n[s++])&&(~a(f,e)||u(f,e));return f}},4416:function(t,n){var e={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!e.call({1:2},1);n.f=o?function(t){var n=r(this,t);return!!n&&n.enumerable}:e},2287:function(t,n,e){var r=e(9944),o=e(4188),i=e(831),a=TypeError;t.exports=function(t,n){var e,c;if("string"===n&&o(e=t.toString)&&!i(c=r(e,t)))return c;if(o(e=t.valueOf)&&!i(c=r(e,t)))return c;if("string"!==n&&o(e=t.toString)&&!i(c=r(e,t)))return c;throw new a("Can't convert object to primitive value")}},3168:function(t,n,e){var r=e(5604),o=e(6881),i=e(5629),a=e(156),c=e(3770),u=o([].concat);t.exports=r("Reflect","ownKeys")||function(t){var n=i.f(c(t)),e=a.f;return e?u(n,e(t)):n}},9509:function(t,n,e){var r=e(4318),o=TypeError;t.exports=function(t){if(r(t))throw new o("Can't call method on "+t);return t}},679:function(t,n,e){var r=e(3243),o=e(9800),i=r.Set,a=r.add;t.exports=function(t){var n=new i;return o(t,(function(t){a(n,t)})),n}},7059:function(t,n,e){var r=e(2937),o=e(3243),i=e(679),a=e(7173),c=e(5558),u=e(9800),s=e(7032),f=o.has,p=o.remove;t.exports=function(t){var n=r(this),e=c(t),o=i(n);return a(n)<=e.size?u(n,(function(t){e.includes(t)&&p(o,t)})):s(e.getIterator(),(function(t){f(n,t)&&p(o,t)})),o}},3243:function(t,n,e){var r=e(6881),o=Set.prototype;t.exports={Set:Set,add:r(o.add),has:r(o.has),remove:r(o.delete),proto:o}},3721:function(t,n,e){var r=e(2937),o=e(3243),i=e(7173),a=e(5558),c=e(9800),u=e(7032),s=o.Set,f=o.add,p=o.has;t.exports=function(t){var n=r(this),e=a(t),o=new s;return i(n)>e.size?u(e.getIterator(),(function(t){p(n,t)&&f(o,t)})):c(n,(function(t){e.includes(t)&&f(o,t)})),o}},9978:function(t,n,e){var r=e(2937),o=e(3243).has,i=e(7173),a=e(5558),c=e(9800),u=e(7032),s=e(8500);t.exports=function(t){var n=r(this),e=a(t);if(i(n)<=e.size)return!1!==c(n,(function(t){if(e.includes(t))return!1}),!0);var f=e.getIterator();return!1!==u(f,(function(t){if(o(n,t))return s(f,"normal",!1)}))}},4361:function(t,n,e){var r=e(2937),o=e(7173),i=e(9800),a=e(5558);t.exports=function(t){var n=r(this),e=a(t);return!(o(n)>e.size)&&!1!==i(n,(function(t){if(!e.includes(t))return!1}),!0)}},7528:function(t,n,e){var r=e(2937),o=e(3243).has,i=e(7173),a=e(5558),c=e(7032),u=e(8500);t.exports=function(t){var n=r(this),e=a(t);if(i(n)0?o(n,9007199254740991):0}},3628:function(t,n,e){var r=e(9509),o=Object;t.exports=function(t){return o(r(t))}},290:function(t,n,e){var r=e(9944),o=e(831),i=e(6032),a=e(2913),c=e(2287),u=e(4282),s=TypeError,f=u("toPrimitive");t.exports=function(t,n){if(!o(t)||i(t))return t;var e,u=a(t,f);if(u){if(void 0===n&&(n="default"),e=r(u,t,n),!o(e)||i(e))return e;throw new s("Can't convert object to primitive value")}return void 0===n&&(n="number"),c(t,n)}},2344:function(t,n,e){var r=e(290),o=e(6032);t.exports=function(t){var n=r(t,"string");return o(n)?n:n+""}},8019:function(t,n,e){var r=e(5604),o=e(4188),i=e(4194),a=e(831),c=r("Set");t.exports=function(t){return function(t){return a(t)&&"number"==typeof t.size&&o(t.has)&&o(t.keys)}(t)?t:i(t)?new c(t):t}},9345:function(t,n,e){var r={};r[e(4282)("toStringTag")]="z",t.exports="[object z]"===String(r)},2618:function(t,n,e){var r=e(5438),o=String;t.exports=function(t){if("Symbol"===r(t))throw new TypeError("Cannot convert a Symbol value to a string");return o(t)}},3174:function(t){var n=String;t.exports=function(t){try{return n(t)}catch(t){return"Object"}}},6209:function(t,n,e){var r=e(6881),o=0,i=Math.random(),a=r(1..toString);t.exports=function(t){return"Symbol("+(void 0===t?"":t)+")_"+a(++o+i,36)}},9809:function(t,n,e){var r=e(8944);t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},3315:function(t,n,e){var r=e(6893),o=e(5234);t.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},5945:function(t,n,e){var r=e(9117),o=e(4188),i=r.WeakMap;t.exports=o(i)&&/native code/.test(String(i))},4282:function(t,n,e){var r=e(9117),o=e(746),i=e(4418),a=e(6209),c=e(8944),u=e(9809),s=r.Symbol,f=o("wks"),p=u?s.for||s:s&&s.withoutSetter||a;t.exports=function(t){return i(f,t)||(f[t]=c&&i(s,t)?s[t]:p("Symbol."+t)),f[t]}},3118:function(t,n,e){var r=e(5613),o=e(2937),i=e(3243).add;r({target:"Set",proto:!0,real:!0,forced:!0},{addAll:function(){for(var t=o(this),n=0,e=arguments.length;n1?arguments[1]:void 0);return!1!==a(n,(function(t){if(!e(t,t,n))return!1}),!0)}})},889:function(t,n,e){var r=e(5613),o=e(5821),i=e(2937),a=e(3243),c=e(9800),u=a.Set,s=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{filter:function(t){var n=i(this),e=o(t,arguments.length>1?arguments[1]:void 0),r=new u;return c(n,(function(t){e(t,t,n)&&s(r,t)})),r}})},8788:function(t,n,e){var r=e(5613),o=e(5821),i=e(2937),a=e(9800);r({target:"Set",proto:!0,real:!0,forced:!0},{find:function(t){var n=i(this),e=o(t,arguments.length>1?arguments[1]:void 0),r=a(n,(function(t){if(e(t,t,n))return{value:t}}),!0);return r&&r.value}})},6826:function(t,n,e){var r=e(5613),o=e(9944),i=e(8019),a=e(3721);r({target:"Set",proto:!0,real:!0,forced:!0},{intersection:function(t){return o(a,this,i(t))}})},5949:function(t,n,e){var r=e(5613),o=e(9944),i=e(8019),a=e(9978);r({target:"Set",proto:!0,real:!0,forced:!0},{isDisjointFrom:function(t){return o(a,this,i(t))}})},9402:function(t,n,e){var r=e(5613),o=e(9944),i=e(8019),a=e(4361);r({target:"Set",proto:!0,real:!0,forced:!0},{isSubsetOf:function(t){return o(a,this,i(t))}})},4035:function(t,n,e){var r=e(5613),o=e(9944),i=e(8019),a=e(7528);r({target:"Set",proto:!0,real:!0,forced:!0},{isSupersetOf:function(t){return o(a,this,i(t))}})},4419:function(t,n,e){var r=e(5613),o=e(6881),i=e(2937),a=e(9800),c=e(2618),u=o([].join),s=o([].push);r({target:"Set",proto:!0,real:!0,forced:!0},{join:function(t){var n=i(this),e=void 0===t?",":c(t),r=[];return a(n,(function(t){s(r,t)})),u(r,e)}})},629:function(t,n,e){var r=e(5613),o=e(5821),i=e(2937),a=e(3243),c=e(9800),u=a.Set,s=a.add;r({target:"Set",proto:!0,real:!0,forced:!0},{map:function(t){var n=i(this),e=o(t,arguments.length>1?arguments[1]:void 0),r=new u;return c(n,(function(t){s(r,e(t,t,n))})),r}})},29:function(t,n,e){var r=e(5613),o=e(4977),i=e(2937),a=e(9800),c=TypeError;r({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(t){var n=i(this),e=arguments.length<2,r=e?void 0:arguments[1];if(o(t),a(n,(function(o){e?(e=!1,r=o):r=t(r,o,o,n)})),e)throw new c("Reduce of empty set with no initial value");return r}})},1019:function(t,n,e){var r=e(5613),o=e(5821),i=e(2937),a=e(9800);r({target:"Set",proto:!0,real:!0,forced:!0},{some:function(t){var n=i(this),e=o(t,arguments.length>1?arguments[1]:void 0);return!0===a(n,(function(t){if(e(t,t,n))return!0}),!0)}})},5478:function(t,n,e){var r=e(5613),o=e(9944),i=e(8019),a=e(1657);r({target:"Set",proto:!0,real:!0,forced:!0},{symmetricDifference:function(t){return o(a,this,i(t))}})},5976:function(t,n,e){var r=e(5613),o=e(9944),i=e(8019),a=e(5077);r({target:"Set",proto:!0,real:!0,forced:!0},{union:function(t){return o(a,this,i(t))}})}},n={};function e(r){var o=n[r];if(void 0!==o)return o.exports;var i=n[r]={exports:{}};return t[r].call(i.exports,i,i.exports,e),i.exports}e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,{a:n}),n},e.d=function(t,n){for(var r in n)e.o(n,r)&&!e.o(t,r)&&Object.defineProperty(t,r,{enumerable:!0,get:n[r]})},e.g=function(){if("object"===typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"===typeof window)return window}}(),e.o=function(t,n){return Object.prototype.hasOwnProperty.call(t,n)};var r=window.wp.domReady,o=e.n(r),i=(e(3118),e(374),e(2252),e(8124),e(889),e(8788),e(6826),e(5949),e(9402),e(4035),e(4419),e(629),e(29),e(1019),e(5478),e(5976),window.wp.apiFetch),a=e.n(i);var c=(t=!1)=>{if(!window.JAC)return;if(!commentsData?.spotId)return;const n=document.querySelector(`#${commentsData.containerId}`);let e="none";window?.tenupDataLayer?.category&&window?.tenupDataLayer?.post_tag&&(e=[...new Set([...window.tenupDataLayer.category,...window.tenupDataLayer.post_tag])]);const r=n.clientWidth,o=localStorage.getItem("OW_STORAGE")||void 0;function i(t,n){const e=JSON.parse(t),{type:r,messages:o}=e;r&&"spotim"===r&&Array.isArray(o)&&o.forEach((t=>{const{action:e,args:r}=t;e&&window.SPOTIM.safeframe.messageHandlers[e]instanceof Function&&window.SPOTIM.safeframe.messageHandlers[e](r,n)}))}function c(t){if(!window.JAC)return;const n=Math.random().toString(36).substring(2,15)+Math.random().toString(36).substring(2,15),{positions:e}=JAC.getConfig().client,r=Object.keys(e).filter((t=>t.startsWith("commentWidget-")));JAC.updateMeta(r,"openWeb",JSON.stringify({...t,type:"SPOTIM",id:n}))}function u(t){const{action:n,callback:e}=t;window.SPOTIM.safeframe.messageHandlers[n]=e}function s(){window.SPOTIM.safeframe.subscribeToMessage({action:"sso_api_ready",callback:()=>{window.SPOTIM.safeframe.isApiReady=!0,function(){const n=JSON.parse(localStorage.getItem("SPOTIM_CURRENT_USER"))?.data,e=n&&n?.displayName,r=n&&n?.displayName&&n?.id,o=!t?.openwebUserId&&!r||t?.openwebUserId===r;(!t?.userIsLoggedIn||!o&&e)&&window.SPOTIM.safeframe.sendMessageToFrame({action:"logout"}),t?.userIsLoggedIn&&window.SPOTIM.safeframe.sendMessageToFrame({action:"startSafeframeSso"}),window.SPOTIM.safeframe.loginCalled=!0}()}})}function f(){window.SPOTIM.safeframe.subscribeToMessage({action:"sso_login_success",callback:n=>{var e;e=n.userData,t?.openwebUserId!==e.id&&a()({path:"/tc/v1/openweb/save_user",method:"POST",data:{openweb_user_id:e.id}})}})}window.JAC.createPosition(commentsData.containerId,{client:{targetElement:commentsData.containerId,safeFrame:{enabled:!0,sandbox:{baseUrl:"https://openweb.jac.yahoosandbox.com"},features:{resize:{enabled:!0},expandOver:{enabled:!0}}},content:{markup:`\n\t\t\t\t\t\t\t<\/script>`,size:{width:r,height:500}},meta:{OpenWeb:{hostUrl:commentsData.postUrl,localStorage:o}},fetch:{auto:!0},render:{auto:!0,requireViewable:!1}}}),window.SPOTIM&&"object"!==typeof window.SPOTIM||(window.SPOTIM={}),window.SPOTIM.safeframe={messageHandlers:{},subscribeToMessage:u,incomingMessageHandler:i,sendMessageToFrame:c},s(),window.SPOTIM.safeframe.subscribeToMessage({action:"sso_code_a",callback:t=>{const{code_a:n}=t;a()({path:"/tc/v1/openweb/verify",method:"POST",data:{code_a:n}}).then((t=>{"string"===typeof t&&window.SPOTIM.safeframe.sendMessageToFrame({action:"completeSSOCallback",args:t})}))}}),f(),window.SPOTIM.safeframe.subscribeToMessage({action:"sso_login_error",callback:()=>{}}),window.SPOTIM.safeframe.subscribeToMessage({action:"navigate",callback:t=>{window.open(encodeURI(t.url),"_blank")}}),window.SPOTIM.safeframe.subscribeToMessage({action:"spotim_event",callback:t=>{switch(t.type){case"spot-im-login-start":window.location.replace(commentsData.registerUrl);break;case"spot-im-login-clicked":window.location.replace(commentsData.loginUrl)}}}),window.SPOTIM.safeframe.subscribeToMessage({action:"storage_update",callback:t=>{localStorage.setItem("OW_STORAGE",JSON.stringify(t.storage))}}),function(){const t=Array.from(new URLSearchParams(window.location.search).keys());["spot_reset_password","spot_ticket","spot_im_verify","spot_im_comment_id","spot_im_reply_id","spot_im_highlight_immediate","spot_im_scroll_to_comments","spot_im_expand_reply","spot_im_load_app_immediately","spot_im_open_profile_followers","ow_immediate"].some((n=>t.includes(n)))&&n.scrollIntoView({behavior:"smooth"})}(),"object"===typeof JAC&&null!==JAC&&(JAC.on("AD_MESSAGE",(({meta:t})=>{const{positionName:n,message:e}=t;window?.SPOTIM?.safeframe?.incomingMessageHandler(e,n)})),JAC.on("POSITION_RENDER_COMPLETE",(function(t){const{positionName:n}=t.meta;if(n===commentsData?.containerId){const t=document.querySelector(`#jacPosition_${n} iframe`);t&&(t.setAttribute("title","Conversations"),t.setAttribute("tabindex","0"))}})))};o()((function(){if(window?.tc?.userProfile){const t=window.tc.userProfile;t?.lu?c({...t,userIsLoggedIn:!0}):c()}else document.addEventListener("profileLoaded",(t=>{const n={...t.detail.profile,userIsLoggedIn:!0};c(n)})),document.addEventListener("noProfileLoaded",(()=>{c()}))}))}();; !function(){const e=document.querySelectorAll(".has-block-animation"),n=new IntersectionObserver((e=>{e.forEach((e=>{if(e.isIntersecting){const o=e.target;o.classList.remove("has-block-animation"),n.unobserve(o)}}))}));e.forEach((e=>{n.observe(e)}))}();; /*! For license information please see frontend.js.LICENSE.txt */ !function(){var e={7068:function(){const e=document.querySelectorAll('[data-ga-event-label="copy"]');const t=e=>{e.preventDefault();const t=e.target.closest("a");t&&t.dataset.copyText&&navigator.clipboard.writeText(t.dataset.copyText).then((()=>{!function(e,t){const n=document.createElement("span");n.classList.add("copy-link-tooltip"),n.textContent=t,e.appendChild(n),setTimeout((()=>{n.remove()}),2e3)}(t,"Link copied!")})).catch((e=>{console.error("Error in copying text: ",e)}))};e.forEach((e=>{e.addEventListener("click",t)}))},7657:function(){(()=>{const e=new URL(window.location.href);if(e.pathname.startsWith("/events/")){const t=["promo","ref","utm_campaign","utm_content","utm_medium","utm_source","utm_term"],n=e.hostname;document.querySelectorAll(`a[href^="https://${n}/events"], a[href^="/events/"]`).forEach((n=>{let o=n.getAttribute("href");t.forEach((t=>{const n=e.searchParams.get(t);if(n){const e=o.includes("?")?"&":"?";o+=`${e}${t}=${n}`}})),n.setAttribute("href",o)}))}})()},9939:function(){const e=(e,t,n)=>{const o=document.createElement(e);return o.className=t,o.textContent=n,o},t={create:({title:t,description:n,continueTitle:o,continueSecription:i,ctaText:r,ctaLink:a,secondaryText:c,secondaryCtaText:s,secondaryCtaLink:d})=>{const u=document.createElement("div"),l=document.createElement("div"),f=document.createElement("button");let m;f.classList.add("tc23-info-popup__close"),u.setAttribute("role","dialog"),u.setAttribute("aria-modal","true"),u.setAttribute("aria-labelledby","popupMessage"),u.classList.add("tc23-info-popup__overlay"),l.innerHTML='
',l.classList.add("tc23-info-popup__content"),f.textContent="Close",document.body.appendChild(u),u.appendChild(l),l.appendChild(f);const p=l.querySelector(".tc23-info-popup__content__content");if(t){const n=e("h2","tc23-info-popup__title",t);p.appendChild(n)}if(n){const t=e("p","tc23-info-popup__description",n);p.appendChild(t)}if(o||i){const t=e("hr","tc23-info-popup__separator");p.appendChild(t)}if(o){const t=e("h2","tc23-info-popup__continue-title",o);p.appendChild(t)}if(i){const t=e("p","tc23-info-popup__continue-description",i);p.appendChild(t)}if(r&&a){const e=((e,t)=>{const n=document.createElement("a");n.classList.add("btn__link"),n.href=t,n.textContent=e;const o=document.createElement("div");o.classList.add("btn"),o.appendChild(n);const i=document.createElement("div");return i.classList.add("wp-block-buttons","is-content-justification-center","is-layout-flex","wp-block-buttons-is-layout-flex"),i.appendChild(o),i})(r,a);p.appendChild(e)}if(c&&s&&d){const t=e("p","tc23-info-popup__secondary-cta",`${c} `),n=document.createElement("a");n.href=d,n.textContent=s,t.appendChild(n),p.appendChild(t)}f.focus();const h=()=>{u.classList.add("fade-out"),u.addEventListener("animationend",(()=>{u.remove()}),{once:!0}),window.removeEventListener("keydown",g)};f.onclick=h;const g=e=>{"Escape"===e.key&&h(),"Tab"===e.key&&w(e)},w=e=>{m=u.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');const t=m[0],n=m[m.length-1],{activeElement:o}=u.ownerDocument;e.shiftKey&&o===t?(n.focus(),e.preventDefault()):e.shiftKey||o!==n||(t.focus(),e.preventDefault())};u.addEventListener("click",(e=>{e.target===u&&h()})),window.addEventListener("keydown",g)}};window.InfoPopup=t},8741:function(e,t,n){const o=n(7231);e.exports={iframeResize:o,iframeResizer:o,contentWindow:n(4656)}},4656:function(e){!function(t){if("undefined"!==typeof window){var n=!0,o=10,i="",r=0,a="",c=null,s="",d=!1,u={resize:1,click:1},l=128,f=!0,m=1,p="bodyOffset",h=p,g=!0,w="",v={},b=32,y=null,E=!1,T=!1,C="[iFrameSizer]",I=C.length,S="",O={max:1,min:1,bodyScroll:1,documentElementScroll:1},x="child",k=!0,M=window.parent,A="*",L=0,z=!1,R=null,_=16,N=1,P="scroll",F=P,H=window,W=function(){ee("onMessage function not defined")},j=function(){},D=function(){},q={height:function(){return ee("Custom height calculation function not defined"),document.documentElement.offsetHeight},width:function(){return ee("Custom width calculation function not defined"),document.body.scrollWidth}},U={},B=!1;try{var V=Object.create({},{passive:{get:function(){B=!0}}});window.addEventListener("test",K,V),window.removeEventListener("test",K,V)}catch(e){}var $={bodyOffset:function(){return document.body.offsetHeight+le("marginTop")+le("marginBottom")},offset:function(){return $.bodyOffset()},bodyScroll:function(){return document.body.scrollHeight},custom:function(){return q.height()},documentElementOffset:function(){return document.documentElement.offsetHeight},documentElementScroll:function(){return document.documentElement.scrollHeight},max:function(){return Math.max.apply(null,me($))},min:function(){return Math.min.apply(null,me($))},grow:function(){return $.max()},lowestElement:function(){return Math.max($.bodyOffset()||$.documentElementOffset(),fe("bottom",he()))},taggedElement:function(){return pe("bottom","data-iframe-height")}},J={bodyScroll:function(){return document.body.scrollWidth},bodyOffset:function(){return document.body.offsetWidth},custom:function(){return q.width()},documentElementScroll:function(){return document.documentElement.scrollWidth},documentElementOffset:function(){return document.documentElement.offsetWidth},scroll:function(){return Math.max(J.bodyScroll(),J.documentElementScroll())},max:function(){return Math.max.apply(null,me(J))},min:function(){return Math.min.apply(null,me(J))},rightMostElement:function(){return fe("right",he())},taggedElement:function(){return pe("right","data-iframe-width")}},Y=function(e){var t,n,o,i=null,r=0,a=function(){r=Date.now(),i=null,o=e.apply(t,n),i||(t=n=null)};return function(){var c=Date.now();r||(r=c);var s=_-(c-r);return t=this,n=arguments,s<=0||s>_?(i&&(clearTimeout(i),i=null),r=c,o=e.apply(t,n),i||(t=n=null)):i||(i=setTimeout(a,s)),o}}(ge);"iframeResizer"in window||(window.iframeChildListener=function(e){Te({data:e,sameDomian:!0})},X(window,"message",Te),X(window,"readystatechange",Ce),Ce())}function K(){}function X(e,t,n,o){e.addEventListener(t,n,!!B&&(o||{}))}function G(e){return e.charAt(0).toUpperCase()+e.slice(1)}function Q(e){return C+"["+S+"] "+e}function Z(e){E&&"object"===typeof window.console&&console.log(Q(e))}function ee(e){"object"===typeof window.console&&console.warn(Q(e))}function te(){!function(){function e(e){return"true"===e}var o=w.slice(I).split(":");S=o[0],r=t===o[1]?r:Number(o[1]),d=t===o[2]?d:e(o[2]),E=t===o[3]?E:e(o[3]),b=t===o[4]?b:Number(o[4]),n=t===o[6]?n:e(o[6]),a=o[7],h=t===o[8]?h:o[8],i=o[9],s=o[10],L=t===o[11]?L:Number(o[11]),v.enable=t!==o[12]&&e(o[12]),x=t===o[13]?x:o[13],F=t===o[14]?F:o[14],T=t===o[15]?T:e(o[15])}(),Z("Initialising iFrame ("+window.location.href+")"),function(){function e(){var e=window.iFrameResizer;Z("Reading data from page: "+JSON.stringify(e)),Object.keys(e).forEach(ne,e),W="onMessage"in e?e.onMessage:W,j="onReady"in e?e.onReady:j,A="targetOrigin"in e?e.targetOrigin:A,h="heightCalculationMethod"in e?e.heightCalculationMethod:h,F="widthCalculationMethod"in e?e.widthCalculationMethod:F}function t(e,t){return"function"===typeof e&&(Z("Setup custom "+t+"CalcMethod"),q[t]=e,e="custom"),e}"iFrameResizer"in window&&Object===window.iFrameResizer.constructor&&(e(),h=t(h,"height"),F=t(F,"width"));Z("TargetOrigin for parent set to: "+A)}(),function(){t===a&&(a=r+"px");oe("margin",function(e,t){-1!==t.indexOf("-")&&(ee("Negative CSS value ignored for "+e),t="");return t}("margin",a))}(),oe("background",i),oe("padding",s),function(){var e=document.createElement("div");e.style.clear="both",e.style.display="block",e.style.height="0",document.body.appendChild(e)}(),ce(),se(),document.documentElement.style.height="",document.body.style.height="",Z('HTML & body height set to "auto"'),Z("Enable public methods"),H.parentIFrame={autoResize:function(e){return!0===e&&!1===n?(n=!0,de()):!1===e&&!0===n&&(n=!1,re("remove"),null!==c&&c.disconnect(),clearInterval(y)),Ee(0,0,"autoResize",JSON.stringify(n)),n},close:function(){Ee(0,0,"close")},getId:function(){return S},getPageInfo:function(e){"function"===typeof e?(D=e,Ee(0,0,"pageInfo")):(D=function(){},Ee(0,0,"pageInfoStop"))},moveToAnchor:function(e){v.findTarget(e)},reset:function(){ye("parentIFrame.reset")},scrollTo:function(e,t){Ee(t,e,"scrollTo")},scrollToOffset:function(e,t){Ee(t,e,"scrollToOffset")},sendMessage:function(e,t){Ee(0,0,"message",JSON.stringify(e),t)},setHeightCalculationMethod:function(e){h=e,ce()},setWidthCalculationMethod:function(e){F=e,se()},setTargetOrigin:function(e){Z("Set targetOrigin: "+e),A=e},size:function(e,t){we("size","parentIFrame.size("+(e||"")+(t?","+t:"")+")",e,t)}},function(){if(!0!==T)return;function e(e){Ee(0,0,e.type,e.screenY+":"+e.screenX)}function t(t,n){Z("Add event listener: "+n),X(window.document,t,e)}t("mouseenter","Mouse Enter"),t("mouseleave","Mouse Leave")}(),de(),v=function(){function e(){return{x:window.pageXOffset===t?document.documentElement.scrollLeft:window.pageXOffset,y:window.pageYOffset===t?document.documentElement.scrollTop:window.pageYOffset}}function n(t){var n=t.getBoundingClientRect(),o=e();return{x:parseInt(n.left,10)+parseInt(o.x,10),y:parseInt(n.top,10)+parseInt(o.y,10)}}function o(e){function o(e){var t=n(e);Z("Moving to in page link (#"+i+") at x: "+t.x+" y: "+t.y),Ee(t.y,t.x,"scrollToOffset")}var i=e.split("#")[1]||e,r=decodeURIComponent(i),a=document.getElementById(r)||document.getElementsByName(r)[0];t===a?(Z("In page link (#"+i+") not found in iFrame, so sending to parent"),Ee(0,0,"inPageLink","#"+i)):o(a)}function i(){var e=window.location.hash,t=window.location.href;""!==e&&"#"!==e&&o(t)}function r(){function e(e){function t(e){e.preventDefault(),o(this.getAttribute("href"))}"#"!==e.getAttribute("href")&&X(e,"click",t)}Array.prototype.forEach.call(document.querySelectorAll('a[href^="#"]'),e)}function a(){X(window,"hashchange",i)}function c(){setTimeout(i,l)}function s(){Array.prototype.forEach&&document.querySelectorAll?(Z("Setting up location.hash handlers"),r(),a(),c()):ee("In page linking not fully supported in this browser! (See README.md for IE8 workaround)")}v.enable?s():Z("In page linking not enabled");return{findTarget:o}}(),we("init","Init message from host page"),j()}function ne(e){var t=e.split("Callback");if(2===t.length){var n="on"+t[0].charAt(0).toUpperCase()+t[0].slice(1);this[n]=this[e],delete this[e],ee("Deprecated: '"+e+"' has been renamed '"+n+"'. The old method will be removed in the next major version.")}}function oe(e,n){t!==n&&""!==n&&"null"!==n&&(document.body.style[e]=n,Z("Body "+e+' set to "'+n+'"'))}function ie(e){var t={add:function(t){function n(){we(e.eventName,e.eventType)}U[t]=n,X(window,t,n,{passive:!0})},remove:function(e){var t,n,o,i=U[e];delete U[e],t=window,n=e,o=i,t.removeEventListener(n,o,!1)}};e.eventNames&&Array.prototype.map?(e.eventName=e.eventNames[0],e.eventNames.map(t[e.method])):t[e.method](e.eventName),Z(G(e.method)+" event listener: "+e.eventType)}function re(e){ie({method:e,eventType:"Animation Start",eventNames:["animationstart","webkitAnimationStart"]}),ie({method:e,eventType:"Animation Iteration",eventNames:["animationiteration","webkitAnimationIteration"]}),ie({method:e,eventType:"Animation End",eventNames:["animationend","webkitAnimationEnd"]}),ie({method:e,eventType:"Input",eventName:"input"}),ie({method:e,eventType:"Mouse Up",eventName:"mouseup"}),ie({method:e,eventType:"Mouse Down",eventName:"mousedown"}),ie({method:e,eventType:"Orientation Change",eventName:"orientationchange"}),ie({method:e,eventType:"Print",eventNames:["afterprint","beforeprint"]}),ie({method:e,eventType:"Ready State Change",eventName:"readystatechange"}),ie({method:e,eventType:"Touch Start",eventName:"touchstart"}),ie({method:e,eventType:"Touch End",eventName:"touchend"}),ie({method:e,eventType:"Touch Cancel",eventName:"touchcancel"}),ie({method:e,eventType:"Transition Start",eventNames:["transitionstart","webkitTransitionStart","MSTransitionStart","oTransitionStart","otransitionstart"]}),ie({method:e,eventType:"Transition Iteration",eventNames:["transitioniteration","webkitTransitionIteration","MSTransitionIteration","oTransitionIteration","otransitioniteration"]}),ie({method:e,eventType:"Transition End",eventNames:["transitionend","webkitTransitionEnd","MSTransitionEnd","oTransitionEnd","otransitionend"]}),"child"===x&&ie({method:e,eventType:"IFrame Resized",eventName:"resize"})}function ae(e,t,n,o){return t!==e&&(e in n||(ee(e+" is not a valid option for "+o+"CalculationMethod."),e=t),Z(o+' calculation method set to "'+e+'"')),e}function ce(){h=ae(h,p,$,"height")}function se(){F=ae(F,P,J,"width")}function de(){!0===n?(re("add"),function(){var e=0>b;window.MutationObserver||window.WebKitMutationObserver?e?ue():c=function(){function e(e){function t(e){!1===e.complete&&(Z("Attach listeners to "+e.src),e.addEventListener("load",i,!1),e.addEventListener("error",r,!1),s.push(e))}"attributes"===e.type&&"src"===e.attributeName?t(e.target):"childList"===e.type&&Array.prototype.forEach.call(e.target.querySelectorAll("img"),t)}function t(e){s.splice(s.indexOf(e),1)}function n(e){Z("Remove listeners from "+e.src),e.removeEventListener("load",i,!1),e.removeEventListener("error",r,!1),t(e)}function o(e,t,o){n(e.target),we(t,o+": "+e.target.src)}function i(e){o(e,"imageLoad","Image loaded")}function r(e){o(e,"imageLoadFailed","Image load failed")}function a(t){we("mutationObserver","mutationObserver: "+t[0].target+" "+t[0].type),t.forEach(e)}function c(){var e=document.querySelector("body"),t={attributes:!0,attributeOldValue:!1,characterData:!0,characterDataOldValue:!1,childList:!0,subtree:!0};return u=new d(a),Z("Create body MutationObserver"),u.observe(e,t),u}var s=[],d=window.MutationObserver||window.WebKitMutationObserver,u=c();return{disconnect:function(){"disconnect"in u&&(Z("Disconnect body MutationObserver"),u.disconnect(),s.forEach(n))}}}():(Z("MutationObserver not supported in this browser!"),ue())}()):Z("Auto Resize disabled")}function ue(){0!==b&&(Z("setInterval: "+b+"ms"),y=setInterval((function(){we("interval","setInterval: "+b)}),Math.abs(b)))}function le(e,t){var n=0;return t=t||document.body,n=null===(n=document.defaultView.getComputedStyle(t,null))?0:n[e],parseInt(n,o)}function fe(e,t){for(var n=t.length,o=0,i=0,r=G(e),a=Date.now(),c=0;ci&&(i=o);return a=Date.now()-a,Z("Parsed "+n+" HTML elements"),Z("Element position calculated in "+a+"ms"),function(e){e>_/2&&Z("Event throttle increased to "+(_=2*e)+"ms")}(a),i}function me(e){return[e.bodyOffset(),e.bodyScroll(),e.documentElementOffset(),e.documentElementScroll()]}function pe(e,t){var n=document.querySelectorAll("["+t+"]");return 0===n.length&&(ee("No tagged elements ("+t+") found on page"),document.querySelectorAll("body *")),fe(e,n)}function he(){return document.querySelectorAll("body *")}function ge(e,n,o,i){var r,a;!function(){function e(e,t){return!(Math.abs(e-t)<=L)}return r=t===o?$[h]():o,a=t===i?J[F]():i,e(m,r)||d&&e(N,a)}()&&"init"!==e?!(e in{init:1,interval:1,size:1})&&(h in O||d&&F in O)?ye(n):e in{interval:1}||Z("No change in size detected"):(ve(),Ee(m=r,N=a,e))}function we(e,t,n,o){z&&e in u?Z("Trigger event cancelled: "+e):(e in{reset:1,resetPage:1,init:1}||Z("Trigger event: "+t),"init"===e?ge(e,t,n,o):Y(e,t,n,o))}function ve(){z||(z=!0,Z("Trigger event lock on")),clearTimeout(R),R=setTimeout((function(){z=!1,Z("Trigger event lock off"),Z("--")}),l)}function be(e){m=$[h](),N=J[F](),Ee(m,N,e)}function ye(e){var t=h;h=p,Z("Reset trigger event: "+e),ve(),be("reset"),h=t}function Ee(e,n,o,i,r){!0===k&&(t===r?r=A:Z("Message targetOrigin: "+r),function(){var a=S+":"+e+":"+n+":"+o+(t===i?"":":"+i);Z("Sending message to host page ("+a+")"),M.postMessage(C+a,r)}())}function Te(n){var o={init:function(){w=n.data,M=n.source,te(),f=!1,setTimeout((function(){g=!1}),l)},reset:function(){g?Z("Page reset ignored by init"):(Z("Page size reset by host page"),be("resetPage"))},resize:function(){we("resizeParent","Parent window requested size check")},moveToAnchor:function(){v.findTarget(r())},inPageLink:function(){this.moveToAnchor()},pageInfo:function(){var e=r();Z("PageInfoFromParent called from parent: "+e),D(JSON.parse(e)),Z(" --")},message:function(){var e=r();Z("onMessage called from parent: "+e),W(JSON.parse(e)),Z(" --")}};function i(){return n.data.split("]")[1].split(":")[0]}function r(){return n.data.slice(n.data.indexOf(":")+1)}function a(){return n.data.split(":")[2]in{true:1,false:1}}function c(){var r=i();r in o?o[r]():!e.exports&&"iFrameResize"in window||window.jQuery!==t&&"iFrameResize"in window.jQuery.prototype||a()||ee("Unexpected message ("+n.data+")")}C===(""+n.data).slice(0,I)&&(!1===f?c():a()?o.init():Z('Ignored message of type "'+i()+'". Received before initialization.'))}function Ce(){"loading"!==document.readyState&&window.parent.postMessage("[iFrameResizerChild]Ready","*")}}()},7231:function(e,t){var n,o,i;console.info("\nIFRAME-RESIZER\n\nIframe-Resizer 5 is now available via the following two packages:\n\n * @iframe-resizer/parent\n * @iframe-resizer/child\n\nAdditionally their are also new versions of iframe-resizer for React, Vue, and jQuery.\n\nVersion 5 of iframe-resizer has been extensively rewritten to use modern browser APIs, which has enabled significantly better performance and greater accuracy in the detection of content resizing events.\n\nPlease see https://iframe-resizer.com/upgrade for more details.\n"),function(r){if("undefined"!==typeof window){var a,c,s=0,d=!1,u=!1,l=7,f="[iFrameSizer]",m=f.length,p=null,h=window.requestAnimationFrame,g=Object.freeze({max:1,scroll:1,bodyScroll:1,documentElementScroll:1}),w={},v=null,b=Object.freeze({autoResize:!0,bodyBackground:null,bodyMargin:null,bodyMarginV1:8,bodyPadding:null,checkOrigin:!0,inPageLinks:!1,enablePublicMethods:!0,heightCalculationMethod:"bodyOffset",id:"iFrameResizer",interval:32,license:"1jqr0si6pnt",log:!1,maxHeight:1/0,maxWidth:1/0,minHeight:0,minWidth:0,mouseEvents:!0,resizeFrom:"parent",scrolling:!1,sizeHeight:!0,sizeWidth:!1,warningTimeout:5e3,tolerance:0,widthCalculationMethod:"scroll",onClose:function(){return!0},onClosed:function(){},onInit:function(){},onMessage:function(){k("onMessage function not defined")},onMouseEnter:function(){},onMouseLeave:function(){},onResized:function(){},onScroll:function(){return!0}}),y={};window.jQuery!==r&&((c=window.jQuery).fn?c.fn.iFrameResize||(c.fn.iFrameResize=function(e){return this.filter("iframe").each((function(t,n){q(n,e)})).end()}):x("","Unable to bind to jQuery, it is not fully loaded.")),o=[],(i="function"===typeof(n=J)?n.apply(t,o):n)===r||(e.exports=i),window.iFrameResize=window.iFrameResize||J()}function E(){return window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver}function T(e,t,n){e.addEventListener(t,n,!1)}function C(e,t,n){e.removeEventListener(t,n,!1)}function I(e){return f+"["+function(e){var t="Host page: "+e;return window.top!==window.self&&(t=window.parentIFrame&&window.parentIFrame.getId?window.parentIFrame.getId()+": "+e:"Nested host page: "+e),t}(e)+"]"}function S(e){return w[e]?w[e].log:d}function O(e,t){M("log",e,t,S(e))}function x(e,t){M("info",e,t,S(e))}function k(e,t){M("warn",e,t,!0)}function M(e,t,n,o){!0===o&&"object"===typeof window.console&&console[e](I(t),n)}function A(e){function t(){i("Height"),i("Width"),W((function(){H(v),N(b),h("onResized",v)}),v,"init")}function n(e){return"border-box"!==e.boxSizing?0:(e.paddingTop?parseInt(e.paddingTop,10):0)+(e.paddingBottom?parseInt(e.paddingBottom,10):0)}function o(e){return"border-box"!==e.boxSizing?0:(e.borderTopWidth?parseInt(e.borderTopWidth,10):0)+(e.borderBottomWidth?parseInt(e.borderBottomWidth,10):0)}function i(e){var t=Number(w[b]["max"+e]),n=Number(w[b]["min"+e]),o=e.toLowerCase(),i=Number(v[o]);O(b,"Checking "+o+" is in range "+n+"-"+t),it&&(i=t,O(b,"Set "+o+" to max value")),v[o]=""+i}function r(e){return g.slice(g.indexOf(":")+l+e)}function a(e,t){var n,o,i;n=function(){j("Send Page Info","pageInfo:"+function(){var e=document.body.getBoundingClientRect(),t=v.iframe.getBoundingClientRect();return JSON.stringify({iframeHeight:t.height,iframeWidth:t.width,clientHeight:Math.max(document.documentElement.clientHeight,window.innerHeight||0),clientWidth:Math.max(document.documentElement.clientWidth,window.innerWidth||0),offsetTop:parseInt(t.top-e.top,10),offsetLeft:parseInt(t.left-e.left,10),scrollTop:window.pageYOffset,scrollLeft:window.pageXOffset,documentHeight:document.documentElement.clientHeight,documentWidth:document.documentElement.clientWidth,windowHeight:window.innerHeight,windowWidth:window.innerWidth})}(),e,t)},o=32,y[i=t]||(y[i]=setTimeout((function(){y[i]=null,n()}),o))}function c(e){var t=e.getBoundingClientRect();return _(b),{x:Math.floor(Number(t.left)+Number(p.x)),y:Math.floor(Number(t.top)+Number(p.y))}}function s(e){var t=e?c(v.iframe):{x:0,y:0},n={x:Number(v.width)+t.x,y:Number(v.height)+t.y};O(b,"Reposition requested from iFrame (offset x:"+t.x+" y:"+t.y+")"),window.top===window.self?(p=n,d(),O(b,"--")):window.parentIFrame?window.parentIFrame["scrollTo"+(e?"Offset":"")](n.x,n.y):k(b,"Unable to scroll to requested position, window.parentIFrame not found")}function d(){!1===h("onScroll",p)?P():N(b)}function u(e){var t={};if(0===Number(v.width)&&0===Number(v.height)){var n=r(9).split(":");t={x:n[1],y:n[0]}}else t={x:v.width,y:v.height};h(e,{iframe:v.iframe,screenX:Number(t.x),screenY:Number(t.y),type:v.type})}function h(e,t){return L(b,e,t)}var g=e.data,v={},b=null;"[iFrameResizerChild]Ready"===g?function(){for(var e in w)j("iFrame requested init",D(e),w[e].iframe,e)}():f===(""+g).slice(0,m)&&g.slice(m).split(":")[0]in w?(v=function(){var e=g.slice(m).split(":"),t=e[1]?parseInt(e[1],10):0,i=w[e[0]]&&w[e[0]].iframe,r=getComputedStyle(i);return{iframe:i,id:e[0],height:t+n(r)+o(r),width:e[2],type:e[3]}}(),b=v.id,w[b]&&(w[b].loaded=!0),!function(){var e=v.type in{true:1,false:1,undefined:1};return e&&O(b,"Ignoring init message from meta parent page"),e}()&&function(e){var t=!0;return w[e]||(t=!1,k(v.type+" No settings for "+e+". Message was: "+g)),t}(b)&&(O(b,"Received: "+g),function(){var e=!0;return null===v.iframe&&(k(b,"IFrame ("+v.id+") not found"),e=!1),e}()&&function(){var t=e.origin,n=w[b]&&w[b].checkOrigin;if(n&&""+t!=="null"&&!(n.constructor===Array?function(){var e=0,o=!1;for(O(b,"Checking connection is from allowed list of origins: "+n);ew[o]["max"+e])throw new Error("Value for min"+e+" can not be greater than max"+e)}n("Height"),n("Width"),t("maxHeight"),t("minHeight"),t("maxWidth"),t("minWidth")}(),"number"!==typeof(w[o]&&w[o].bodyMargin)&&"0"!==(w[o]&&w[o].bodyMargin)||(w[o].bodyMarginV1=w[o].bodyMargin,w[o].bodyMargin=w[o].bodyMargin+"px"),function(t){var n=E();n&&(a=function(t){if(!e.parentNode)return null;var n=new t((function(t){t.forEach((function(t){Array.prototype.slice.call(t.removedNodes).forEach((function(t){t===e&&R(e)}))}))}));return n.observe(e.parentNode,{childList:!0}),n}(n)),T(e,"load",(function(){j("iFrame.onload",t,e,r,!0),function(){var t=w[o]&&w[o].firstRun,n=w[o]&&w[o].heightCalculationMethod in g;!t&&n&&F({iframe:e,height:0,width:0,type:"init"})}()})),j("init",t,e,r,!0)}(D(o)),w[o]&&(w[o].iframe.iFrameResizer={close:R.bind(null,w[o].iframe),removeListeners:z.bind(null,w[o].iframe),resize:j.bind(null,"Window resize","resize",w[o].iframe),moveToAnchor:function(e){j("Move to anchor","moveToAnchor:"+e,w[o].iframe,o)},sendMessage:function(e){j("Send Message","message:"+(e=JSON.stringify(e)),w[o].iframe,o)}}))}function U(e,t){null===v&&(v=setTimeout((function(){v=null,e()}),t))}function B(){"hidden"!==document.visibilityState&&(O("document","Trigger event: Visibility change"),U((function(){V("Tab Visible","resize")}),16))}function V(e,t){Object.keys(w).forEach((function(n){(function(e){return w[e]&&"parent"===w[e].resizeFrom&&w[e].autoResize&&!w[e].firstRun})(n)&&j(e,t,w[n].iframe,n)}))}function $(){T(window,"message",A),T(window,"resize",(function(){var e;O("window","Trigger event: "+(e="resize")),U((function(){V("Window "+e,"resize")}),16)})),T(document,"visibilitychange",B),T(document,"-webkit-visibilitychange",B)}function J(){function e(e,n){n&&(!function(){if(!n.tagName)throw new TypeError("Object is not a valid DOM element");if("IFRAME"!==n.tagName.toUpperCase())throw new TypeError("Expected