1(function () { 2 // 1) Inject the Referly affiliate-tracker with its program id, once, at runtime. 3 // data-program-id / data-affiliate are set on the element in JS so SG's JS 4 // optimiser cannot strip them (as it does with a static <script src> tag). 5 if (!document.getElementById('referly-affiliate-tracker-js')) { 6 var s = document.createElement('script'); 7 s.id = 'referly-affiliate-tracker-js'; 8 s.src = 'https://cdn.jsdelivr.net/npm/affiliate-tracker/dist/affiliate-tracker.js'; 9 s.async = true; 10 s.setAttribute('data-affiliate', ''); 11 s.setAttribute('data-program-id', '793208a7-1e3b-470e-ac48-93cdc39c2bc7'); 12 (document.head || document.documentElement).appendChild(s); 13 } 14 15 // 2) Stamp passthrough[pushLapAffiliateId] onto every ThriveCart checkout link, 16 // once window.affiliateId is set by the tracker. Defensive: no id -> no-op. 17 function stampCheckoutLinks() { 18 var aff = window.affiliateId; 19 if (!aff) { return; } // no affiliate id yet -> leave links untouched 20 var links = document.querySelectorAll( 21 'a[href*="checkout.martinebongue.com"], a[href*="thrivecart.com"]' 22 ); 23 for (var i = 0; i < links.length; i++) { 24 var a = links[i]; 25 try { 26 var u = new URL(a.href, window.location.origin); 27 if (u.searchParams.has('passthrough[pushLapAffiliateId]')) { continue; } // don't double-stamp 28 u.searchParams.set('passthrough[pushLapAffiliateId]', aff); 29 a.href = u.toString(); 30 } catch (e) { /* skip malformed hrefs */ } 31 } 32 } 33 stampCheckoutLinks(); 34 if (document.readyState === 'loading') { 35 document.addEventListener('DOMContentLoaded', stampCheckoutLinks); 36 } 37 var tries = 0; 38 var iv = setInterval(function () { 39 stampCheckoutLinks(); 40 if (++tries >= 15) { clearInterval(iv); } 41 }, 1000); 42})();; 43/*! jQuery Migrate v3.4.1 | (c) OpenJS Foundation and other contributors | jquery.org/license */ 44"undefined"==typeof jQuery.migrateMute&&(jQuery.migrateMute=!0),function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],function(e){return t(e,window)}):"object"==typeof module&&module.exports?module.exports=t(require("jquery"),window):t(jQuery,window)}(function(s,n){"use strict";function e(e){return 0<=function(e,t){for(var r=/^(\d+)\.(\d+)\.(\d+)/,n=r.exec(e)||[],o=r.exec(t)||[],a=1;a<=3;a++){if(+o[a]<+n[a])return 1;if(+n[a]<+o[a])return-1}return 0}(s.fn.jquery,e)}s.migrateVersion="3.4.1";var t=Object.create(null);s.migrateDisablePatches=function(){for(var e=0;e<arguments.length;e++)t[arguments[e]]=!0},s.migrateEnablePatches=function(){for(var e=0;e<arguments.length;e++)delete t[arguments[e]]},s.migrateIsPatchEnabled=function(e){return!t[e]},n.console&&n.console.log&&(s&&e("3.0.0")&&!e("5.0.0")||n.console.log("JQMIGRATE: jQuery 3.x-4.x REQUIRED"),s.migrateWarnings&&n.console.log("JQMIGRATE: Migrate plugin loaded multiple times"),n.console.log("JQMIGRATE: Migrate is installed"+(s.migrateMute?"":" with logging active")+", version "+s.migrateVersion));var o={};function u(e,t){var r=n.console;!s.migrateIsPatchEnabled(e)||s.migrateDeduplicateWarnings&&o[t]||(o[t]=!0,s.migrateWarnings.push(t+" ["+e+"]"),r&&r.warn&&!s.migrateMute&&(r.warn("JQMIGRATE: "+t),s.migrateTrace&&r.trace&&r.trace()))}function r(e,t,r,n,o){Object.defineProperty(e,t,{configurable:!0,enumerable:!0,get:function(){return u(n,o),r},set:function(e){u(n,o),r=e}})}function a(e,t,r,n,o){var a=e[t];e[t]=function(){return o&&u(n,o),(s.migrateIsPatchEnabled(n)?r:a||s.noop).apply(this,arguments)}}function c(e,t,r,n,o){if(!o)throw new Error("No warning message provided");return a(e,t,r,n,o),0}function i(e,t,r,n){return a(e,t,r,n),0}s.migrateDeduplicateWarnings=!0,s.migrateWarnings=[],void 0===s.migrateTrace&&(s.migrateTrace=!0),s.migrateReset=function(){o={},s.migrateWarnings.length=0},"BackCompat"===n.document.compatMode&&u("quirks","jQuery is not compatible with Quirks Mode");var d,l,p,f={},m=s.fn.init,y=s.find,h=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/,g=/\[(\s*[-\w]+\s*)([~|^$*]?=)\s*([-\w#]*?#[-\w#]*)\s*\]/g,v=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;for(d in i(s.fn,"init",function(e){var t=Array.prototype.slice.call(arguments);return s.migrateIsPatchEnabled("selector-empty-id")&&"string"==typeof e&&"#"===e&&(u("selector-empty-id","jQuery( '#' ) is not a valid selector"),t[0]=[]),m.apply(this,t)},"selector-empty-id"),s.fn.init.prototype=s.fn,i(s,"find",function(t){var r=Array.prototype.slice.call(arguments);if("string"==typeof t&&h.test(t))try{n.document.querySelector(t)}catch(e){t=t.replace(g,function(e,t,r,n){return"["+t+r+'"'+n+'"]'});try{n.document.querySelector(t),u("selector-hash","Attribute selector with '#' must be quoted: "+r[0]),r[0]=t}catch(e){u("selector-hash","Attribute selector with '#' was not fixed: "+r[0])}}return y.apply(this,r)},"selector-hash"),y)Object.prototype.hasOwnProperty.call(y,d)&&(s.find[d]=y[d]);c(s.fn,"size",function(){return this.length},"size","jQuery.fn.size() is deprecated and removed; use the .length property"),c(s,"parseJSON",function(){return JSON.parse.apply(null,arguments)},"parseJSON","jQuery.parseJSON is deprecated; use JSON.parse"),c(s,"holdReady",s.holdReady,"holdReady","jQuery.holdReady is deprecated"),c(s,"unique",s.uniqueSort,"unique","jQuery.unique is deprecated; use jQuery.uniqueSort"),r(s.expr,"filters",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr.filters is deprecated; use jQuery.expr.pseudos"),r(s.expr,":",s.expr.pseudos,"expr-pre-pseudos","jQuery.expr[':'] is deprecated; use jQuery.expr.pseudos"),e("3.1.1")&&c(s,"trim",function(e){return null==e?"":(e+"").replace(v,"$1")},"trim","jQuery.trim is deprecated; use String.prototype.trim"),e("3.2.0")&&(c(s,"nodeName",function(e,t){return e.no
44deName&&e.nodeName.toLowerCase()===t.toLowerCase()},"nodeName","jQuery.nodeName is deprecated"),c(s,"isArray",Array.isArray,"isArray","jQuery.isArray is deprecated; use Array.isArray")),e("3.3.0")&&(c(s,"isNumeric",function(e){var t=typeof e;return("number"==t||"string"==t)&&!isNaN(e-parseFloat(e))},"isNumeric","jQuery.isNumeric() is deprecated"),s.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(e,t){f["[object "+t+"]"]=t.toLowerCase()}),c(s,"type",function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?f[Object.prototype.toString.call(e)]||"object":typeof e},"type","jQuery.type is deprecated"),c(s,"isFunction",function(e){return"function"==typeof e},"isFunction","jQuery.isFunction() is deprecated"),c(s,"isWindow",function(e){return null!=e&&e===e.window},"isWindow","jQuery.isWindow() is deprecated")),s.ajax&&(l=s.ajax,p=/(=)\?(?=&|$)|\?\?/,i(s,"ajax",function(){var e=l.apply(this,arguments);return e.promise&&(c(e,"success",e.done,"jqXHR-methods","jQXHR.success is deprecated and removed"),c(e,"error",e.fail,"jqXHR-methods","jQXHR.error is deprecated and removed"),c(e,"complete",e.always,"jqXHR-methods","jQXHR.complete is deprecated and removed")),e},"jqXHR-methods"),e("4.0.0")||s.ajaxPrefilter("+json",function(e){!1!==e.jsonp&&(p.test(e.url)||"string"==typeof e.data&&0===(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&p.test(e.data))&&u("jsonp-promotion","JSON-to-JSONP auto-promotion is deprecated")}));var j=s.fn.removeAttr,b=s.fn.toggleClass,w=/\S+/g;function x(e){return e.replace(/-([a-z])/g,function(e,t){return t.toUpperCase()})}i(s.fn,"removeAttr",function(e){var r=this,n=!1;return s.each(e.match(w),function(e,t){s.expr.match.bool.test(t)&&r.each(function(){if(!1!==s(this).prop(t))return!(n=!0)}),n&&(u("removeAttr-bool","jQuery.fn.removeAttr no longer sets boolean properties: "+t),r.prop(t,!1))}),j.apply(this,arguments)},"removeAttr-bool"),i(s.fn,"toggleClass",function(t){return void 0!==t&&"boolean"!=typeof t?b.apply(this,arguments):(u("toggleClass-bool","jQuery.fn.toggleClass( boolean ) is deprecated"),this.each(function(){var e=this.getAttribute&&this.getAttribute("class")||"";e&&s.data(this,"__className__",e),this.setAttribute&&this.setAttribute("class",!e&&!1!==t&&s.data(this,"__className__")||"")}))},"toggleClass-bool");var Q,A,R=!1,C=/^[a-z]/,N=/^(?:Border(?:Top|Right|Bottom|Left)?(?:Width|)|(?:Margin|Padding)?(?:Top|Right|Bottom|Left)?|(?:Min|Max)?(?:Width|Height))$/;s.swap&&s.each(["height","width","reliableMarginRight"],function(e,t){var r=s.cssHooks[t]&&s.cssHooks[t].get;r&&(s.cssHooks[t].get=function(){var e;return R=!0,e=r.apply(this,arguments),R=!1,e})}),i(s,"swap",function(e,t,r,n){var o,a,i={};for(a in R||u("swap","jQuery.swap() is undocumented and deprecated"),t)i[a]=e.style[a],e.style[a]=t[a];for(a in o=r.apply(e,n||[]),t)e.style[a]=i[a];return o},"swap"),e("3.4.0")&&"undefined"!=typeof Proxy&&(s.cssProps=new Proxy(s.cssProps||{},{set:function(){return u("cssProps","jQuery.cssProps is deprecated"),Reflect.set.apply(this,arguments)}})),e("4.0.0")?(A={animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},"undefined"!=typeof Proxy?s.cssNumber=new Proxy(A,{get:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.get.apply(this,arguments)},set:function(){return u("css-number","jQuery.cssNumber is deprecated"),Reflect.set.apply(this,arguments)}}):s.cssNumber=A):A=s.cssNumber,Q=s.fn.css,i(s.fn,"css",function(e,t){var r,n,o=this;return e&&"object"==typeof e&&!Array.isArray(e)?(s.each(e,function(e,t){s.fn.css.call(o,e,t)}),this):("number"==typeof t&&(r=x(e),n=r,C.test(n)&&N.test(n[0].toUpperCase()+n.slice(1))||A[r]||u("css-number",'Number-typed values are deprecated for jQuery.fn.css( "'+e+'", value )')),Q.apply(this,arguments))},"css-number");var S,P,k,H,E=s.data;i(s,"data",function(e,t,r){var n,o,a;if(t&&"object"==typeof t&&2===arguments.length){for(a in n=s.hasData(e)&&E.call(this,e),o={},t)a!==x(a)?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+a),n[a]=t[a]):o[a]=t[a];return E.call(this,e,o),t}return t&&"string"==typeof t&&t!==x(t)&&(n=s.hasData(e)&&E.call(this,e))&&t in n?(u("data-camelCase","jQuery.data() always sets/gets camelCased names: "+t),2<arguments.length&&(n[t]=r),n[t]):E.apply(this,arguments)},"data-camelCase"),s.fx&&(k=s.Tween.prototype.run,H=function(e){return e},i(s.Tween.prototype,"run",function(){1<s.easing[this.easing].length&&(u("easing-one-arg","'jQuery.easing."+this.easing.toString()+"' should use only one argument"),s.easing[this.easing]=H),k.apply(this,arguments)},"easing-one-arg"),S=s.fx.interval,P="jQuery.fx.interval is deprecated",n.requestAnimationFrame&&Object.defineProperty(s.fx,"interval",{configurable:!0,enumerable:!0,get:function(){return n.document.hidden||u("fx-interval",P),s.migrateIsPatchEnabled("fx-interval")&&void 0===S?13:S},set:function(e){u("fx-interval",P),S=e}}));var M=s.fn.load,q=s.event.add,O=s.event.fix;s.event.props=[],s.event.fixHooks={}
44,r(s.event.props,"concat",s.event.props.concat,"event-old-patch","jQuery.event.props.concat() is deprecated and removed"),i(s.event,"fix",function(e){var t,r=e.type,n=this.fixHooks[r],o=s.event.props;if(o.length){u("event-old-patch","jQuery.event.props are deprecated and removed: "+o.join());while(o.length)s.event.addProp(o.pop())}if(n&&!n._migrated_&&(n._migrated_=!0,u("event-old-patch","jQuery.event.fixHooks are deprecated and removed: "+r),(o=n.props)&&o.length))while(o.length)s.event.addProp(o.pop());return t=O.call(this,e),n&&n.filter?n.filter(t,e):t},"event-old-patch"),i(s.event,"add",function(e,t){return e===n&&"load"===t&&"complete"===n.document.readyState&&u("load-after-event","jQuery(window).on('load'...) called after load event occurred"),q.apply(this,arguments)},"load-after-event"),s.each(["load","unload","error"],function(e,t){i(s.fn,t,function(){var e=Array.prototype.slice.call(arguments,0);return"load"===t&&"string"==typeof e[0]?M.apply(this,e):(u("shorthand-removed-v3","jQuery.fn."+t+"() is deprecated"),e.splice(0,0,t),arguments.length?this.on.apply(this,e):(this.triggerHandler.apply(this,e),this))},"shorthand-removed-v3")}),s.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),function(e,r){c(s.fn,r,function(e,t){return 0<arguments.length?this.on(r,null,e,t):this.trigger(r)},"shorthand-deprecated-v3","jQuery.fn."+r+"() event shorthand is deprecated")}),s(function(){s(n.document).triggerHandler("ready")}),s.event.special.ready={setup:function(){this===n.document&&u("ready-event","'ready' event is deprecated")}},c(s.fn,"bind",function(e,t,r){return this.on(e,null,t,r)},"pre-on-methods","jQuery.fn.bind() is deprecated"),c(s.fn,"unbind",function(e,t){return this.off(e,null,t)},"pre-on-methods","jQuery.fn.unbind() is deprecated"),c(s.fn,"delegate",function(e,t,r,n){return this.on(t,e,r,n)},"pre-on-methods","jQuery.fn.delegate() is deprecated"),c(s.fn,"undelegate",function(e,t,r){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",r)},"pre-on-methods","jQuery.fn.undelegate() is deprecated"),c(s.fn,"hover",function(e,t){return this.on("mouseenter",e).on("mouseleave",t||e)},"pre-on-methods","jQuery.fn.hover() is deprecated");function T(e){var t=n.document.implementation.createHTMLDocument("");return t.body.innerHTML=e,t.body&&t.body.innerHTML}var F=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi;s.UNSAFE_restoreLegacyHtmlPrefilter=function(){s.migrateEnablePatches("self-closed-tags")},i(s,"htmlPrefilter",function(e){var t,r;return(r=(t=e).replace(F,"<$1></$2>"))!==t&&T(t)!==T(r)&&u("self-closed-tags","HTML tags must be properly nested and closed: "+t),e.replace(F,"<$1></$2>")},"self-closed-tags"),s.migrateDisablePatches("self-closed-tags");var D,W,_,I=s.fn.offset;return i(s.fn,"offset",function(){var e=this[0];return!e||e.nodeType&&e.getBoundingClientRect?I.apply(this,arguments):(u("offset-valid-elem","jQuery.fn.offset() requires a valid DOM element"),arguments.length?this:void 0)},"offset-valid-elem"),s.ajax&&(D=s.param,i(s,"param",function(e,t){var r=s.ajaxSettings&&s.ajaxSettings.traditional;return void 0===t&&r&&(u("param-ajax-traditional","jQuery.param() no longer uses jQuery.ajaxSettings.traditional"),t=r),D.call(this,e,t)},"param-ajax-traditional")),c(s.fn,"andSelf",s.fn.addBack,"andSelf","jQuery.fn.andSelf() is deprecated and removed, use jQuery.fn.addBack()"),s.Deferred&&(W=s.Deferred,_=[["resolve","done",s.Callbacks("once memory"),s.Callbacks("once memory"),"resolved"],["reject","fail",s.Callbacks("once memory"),s.Callbacks("once memory"),"rejected"],["notify","progress",s.Callbacks("memory"),s.Callbacks("memory")]],i(s,"Deferred",function(e){var a=W(),i=a.promise();function t(){var o=arguments;return s.Deferred(function(n){s.each(_,function(e,t){var r="function"==typeof o[e]&&o[e];a[t[1]](function(){var e=r&&r.apply(this,arguments);e&&"function"==typeof e.promise?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[t[0]+"With"](this===i?n.promise():this,r?[e]:arguments)})}),o=null}).promise()}return c(a,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),c(i,"pipe",t,"deferred-pipe","deferred.pipe() is deprecated"),e&&e.call(a,a),a},"deferred-pipe"),s.Deferred.exceptionHook=W.exceptionHook),s}); 45; 46/*! 47 * Font Awesome Free 5.15.1 by @fontawesome - https://fontawesome.com 48 * License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) 49 */ 50(function(){
vendor: 14,869 bytes, line 50
50var l,a;l=this,a=function(){"use strict";var l={},a={};try{"undefined"!=typeof window&&(l=window),"undefined"!=typeof document&&(a=document)}catch(l){}var e=(l.navigator||{}).userAgent,r=void 0===e?"":e,n=l,o=a,u=(n.document,!!o.documentElement&&!!o.head&&"function"==typeof o.addEventListener&&o.createElement,~r.indexOf("MSIE")||r.indexOf("Trident/"),"___FONT_AWESOME___"),t=function(){try{return"production"===process.env.NODE_ENV}catch(l){return!1}}();var f=n||{};f[u]||(f[u]={}),f[u].styles||(f[u].styles={}),f[u].hooks||(f[u].hooks={}),f[u].shims||(f[u].shims=[]);var i=f[u],s=[["glass",null,"glass-martini"],["meetup","fab",null],["star-o","far","star"],["remove",null,"times"],["close",null,"times"],["gear",null,"cog"],["trash-o","far","trash-alt"],["file-o","far","file"],["clock-o","far","clock"],["arrow-circle-o-down","far","arrow-alt-circle-down"],["arrow-circle-o-up","far","arrow-alt-circle-up"],["play-circle-o","far","play-circle"],["repeat",null,"redo"],["rotate-right",null,"redo"],["refresh",null,"sync"],["list-alt","far",null],["dedent",null,"outdent"],["video-camera",null,"video"],["picture-o","far","image"],["photo","far","image"],["image","far","image"],["pencil",null,"pencil-alt"],["map-marker",null,"map-marker-alt"],["pencil-square-o","far","edit"],["share-square-o","far","share-square"],["check-square-o","far","check-square"],["arrows",null,"arrows-alt"],["times-circle-o","far","times-circle"],["check-circle-o","far","check-circle"],["mail-forward",null,"share"],["expand",null,"expand-alt"],["compress",null,"compress-alt"],["eye","far",null],["eye-slash","far",null],["warning",null,"exclamation-triangle"],["calendar",null,"calendar-alt"],["arrows-v",null,"arrows-alt-v"],["arrows-h",null,"arrows-alt-h"],["bar-chart","far","chart-bar"],["bar-chart-o","far","chart-bar"],["twitter-square","fab",null],["facebook-square","fab",null],["gears",null,"cogs"],["thumbs-o-up","far","thumbs-up"],["thumbs-o-down","far","thumbs-down"],["heart-o","far","heart"],["sign-out",null,"sign-out-alt"],["linkedin-square","fab","linkedin"],["thumb-tack",null,"thumbtack"],["external-link",null,"external-link-alt"],["sign-in",null,"sign-in-alt"],["github-square","fab",null],["lemon-o","far","lemon"],["square-o","far","square"],["bookmark-o","far","bookmark"],["twitter","fab",null],["facebook","fab","facebook-f"],["facebook-f","fab","facebook-f"],["github","fab",null],["credit-card","far",null],["feed",null,"rss"],["hdd-o","far","hdd"],["hand-o-right","far","hand-point-right"],["hand-o-left","far","hand-point-left"],["hand-o-up","far","hand-point-up"],["hand-o-down","far","hand-point-down"],["arrows-alt",null,"expand-arrows-alt"],["group",null,"users"],["chain",null,"link"],["scissors",null,"cut"],["files-o","far","copy"],["floppy-o","far","save"],["navicon",null,"bars"],["reorder",null,"bars"],["pinterest","fab",null],["pinterest-square","fab",null],["google-plus-square","fab",null],["google-plus","fab","google-plus-g"],["money","far","money-bill-alt"],["unsorted",null,"sort"],["sort-desc",null,"sort-down"],["sort-asc",null,"sort-up"],["linkedin","fab","linkedin-in"],["rotate-left",null,"undo"],["legal",null,"gavel"],["tachometer",null,"tachometer-alt"],["dashboard",null,"tachometer-alt"],["comment-o","far","comment"],["comments-o","far","comments"],["flash",null,"bolt"],["clipboard","far",null],["paste","far","clipboard"],["lightbulb-o","far","lightbulb"],["exchange",null,"exchange-alt"],["cloud-download",null,"cloud-download-alt"],["cloud-upload",null,"cloud-upload-alt"],["bell-o","far","bell"],["cutlery",null,"utensils"],["file-text-o","far","file-alt"],["building-o","far","building"],["hospital-o","far","hospital"],["tablet",null,"tablet-alt"],["mobile",null,"mobile-alt"],["mobile-phone",null,"mobile-alt"],["circle-o","far","circle"],["mail-reply",null,"reply"],["github-alt","fab",null],["folder-o","far","folder"],["folder-open-o","far","folder-open"],["smile-o","far","smile"],["frown-o","far","frown"],["meh-o","far","meh"],["keyboard-o","far","keyboard"],["flag-o","far","flag"],["mail-reply-all",null,"reply-all"],["star-half-o","far","star-half"],["star-half-empty","far","star-half"],["star-half-full","far","star-half"],["code-fork",null,"code-branch"],["chain-broken",null,"unlink"],["shield",null,"shield-alt"],["calendar-o","far","calendar"],["maxcdn","fab",null],["html5","fab",null],["css3","fab",null],["ticket",null,"ticket-alt"],["minus-square-o","far","minus-square"],["level-up",null,"level-up-alt"],["level-down",null,"level-down-alt"],["pencil-square",null,"pen-square"],["external-link-square",null,"external-link-square-alt"],["compass","far",null],["caret-square-o-down","far","caret-square-down"],["toggle-down","far","caret-square-down"],["caret-square-o-up","far","caret-square-up"],["toggle-up","far","caret-square-up"],["caret-square-o-right","far","caret-square-right"],["toggle-right","far","caret-square-right"],["eur",null,"euro-sign"],["euro",null,"euro-sign"],["gbp",null,"pound-sign"],["usd",null,"dollar-sign"],["dollar",null,"dollar-sign"],["inr",null,"rupee-sign"],["rupee",null,"rupee-sign"],["jpy",null,"yen-sign"],["cny",null,"yen-sign"],["rmb",null,"yen-sign"],["yen",null,"yen-sign"],["rub",null,"ruble-sign"],["ruble",null,"ruble-sign"],["rouble",null,"ruble-sign"],["krw",null,"won-sign"],["won",null,"won-sign"],["btc","fab",null],["bitcoin","fab","btc"],["file-text",null,"file-alt"],["sort-alpha-asc",null,"sort-alpha-down"],["sort-alpha-desc",null,"sort-alpha-down-alt"],["sort-amount-asc",null,"sort-amount-down"],["sort-amount-desc",null,"sort-amount-down-alt"],["sort-numeric-asc",null,"sort-numeric-down"],["sort-numeric-desc",null,"sort-numeric-down-alt"],["youtube-square","fab",null],["youtube","fab",null],["xing","fab",null],["xing-square","fab",null],["youtube-play","fab","youtube"],["dropbox","fab",null],["stack-overflow","fab",null],["instagram","fab",null],["flickr","fab",null],["adn","fab",null],["bitbucket","fab",null],["bitbucket-square","fab","bitbucket"],["tumblr","fab",null],["tumblr-square","fab",null],["long-arrow-down",null,"long-arrow-alt-down"],["long-arrow-up",null,"long-arrow-alt-up"],["long-arrow-left",null,"long-arrow-alt-left"],["long-arrow-right",null,"long-arrow-alt-right"],["apple","fab",null],["windows","fab",null],["android","fab",null],["linux","fab",null],["dribbble","fab",null],["skype","fab",null],["foursquare","fab",null],["trello","fab",null],["gratipay","fab",null],["gittip","fab","gratipay"],["sun-o","far","sun"],["moon-o","far","moon"],["vk","fab",null],["weibo","fab",null],["renren","fab",null],["pagelines","fab",null],["stack-exchange","fab",null],["arrow-circle-o-right","far","arrow-alt-circle-right"],["arrow-circle-o-left","far","arrow-alt-circle-left"],["caret-square-o-left","far","caret-square-left"],["toggle-left","far","caret-square-left"],["dot-circle-o","far","dot-circle"],["vimeo-square","fab",null],["try",null,"lira-sign"],["turkish-lira",null,"lira-sign"],["plus-square-o","far","plus-square"],["slack","fab",null],["wordpress","fab",null],["openid","fab",null],["institution",null,"university"],["bank",null,"university"],["mortar-board",null,"graduation-cap"],["yahoo","fab",null],["google","fab",null],["reddit","fab",null],["reddit-square","fab",null],["stumbleupon-circle","fab",null],["stumbleupon","fab",null],["delicious","fab",null],["digg","fab",null],["pied-piper-pp","fab",null],["pied-piper-alt","fab",null],["drupal","fab",null],["joomla","fab",null],["spoon",null,"utensil-spoon"],["behance","fab",null],["behance-square","fab",null],["steam","fab",null],["steam-square","fab",null],["automobile",null,"car"],["envelope-o","far","envelope"],["spotify","fab",null],["deviantart","fab",null],["soundcloud","fab",null],["file-pdf-o","far","file-pdf"],["file-word-o","far","file-word"],["file-excel-o","far","file-excel"],["file-powerpoint-o","far","file-powerpoint"],["file-image-o","far","file-image"],["file-photo-o","far","file-image"],["file-picture-o","far","file-image"],["file-archive-o","far","file-archive"],["file-zip-o","far","file-archive"],["file-audio-o","far","file-audio"],["file-sound-o","far","file-audio"],["file-video-o","far","file-video"],["file-movie-o","far","file-video"],["file-code-o","far","file-code"],["vine","fab",null],["codepen","fab",null],["jsfiddle","fab",null],["life-ring","far",null],["life-bouy","far","life-ring"],["life-buoy","far","life-ring"],["life-saver","far","life-ring"],["support","far","life-ring"],["circle-o-notch",null,"circle-notch"],["rebel","fab",null],["ra","fab","rebel"],["resistance","fab","rebel"],["empire","fab",null],["ge","fab","empire"],["git-square","fab",null],["git","fab",null],["hacker-news","fab",null],["y-combinator-square","fab","hacker-news"],["yc-square","fab","hacker-news"],["tencent-weibo","fab",null],["qq","fab",null],["weixin","fab",null],["wechat","fab","weixin"],["send",null,"paper-plane"],["paper-plane-o","far","paper-plane"],["send-o","far","paper-plane"],["circle-thin","far","circle"],["header",null,"heading"],["sliders",null,"sliders-h"],["futbol-o","far","futbol"],["soccer-ball-o","far","futbol"],["slideshare","fab",null],["twitch","fab",null],["yelp","fab",null],["newspaper-o","far","newspaper"],["paypal","fab",null],["google-wallet","fab",null],["cc-visa","fab",null],["cc-mastercard","fab",null],["cc-discover","fab",null],["cc-amex","fab",null],["cc-paypal","fab",null],["cc-stripe","fab",null],["bell-slash-o","far","bell-slash"],["trash",null,"trash-alt"],["copyright","far",null],["eyedropper",null,"eye-dropper"],["area-chart",null,"chart-area"],["pie-chart",null,"chart-pie"],["line-chart",null,"chart-line"],["lastfm","fab",null],["lastfm-square","fab",null],["ioxhost","fab",null],["angellist","fab",null],["cc","far","closed-captioning"],["ils",null,"shekel-sign"],["shekel",null,"shekel-sign"],["sheqel",null,"shekel-sign"],["meanpath","fab","font-awesome"],["buysellads","fab",null],["connectdevelop","fab",null],["dashcube","fab",null],["forumbee","fab",null],["leanpub","fab",null],["sellsy","fab",null],["shirtsinbulk","fab",null],["simplybuilt","fab",null],["skyatlas","fab",null],["diamond","far","gem"],["intersex",null,"transgender"],["facebook-official","fab","facebook"],["pinterest-p","fab",null],["whatsapp","fab",null],["hotel",null,"bed"],["viacoin","fab",null],["medium","fab",null],["y-combinator","fab",null],["yc","fab","y-combinator"],["optin-monster","fab",null],["opencart","fab",null],["expeditedssl","fab",null],["battery-4",null,"battery-full"],["battery",null,"battery-full"],["battery-3",null,"battery-three-quarters"],["battery-2",null,"battery-half"],["battery-1",null,"battery-quarter"],["battery-0",null,"battery-empty"],["object-group","far",null],["object-ungroup","far",null],["sticky-note-o","far","sticky-note"],["cc-jcb","fab",null],["cc-diners-club","fab",null],["clone","far",null],["hourglass-o","far","hourglass"],["hourglass-1",null,"hourglass-start"],["hourglass-2",null,"hourglass-half"],["hourglass-3",null,"hourglass-end"],["hand-rock-o","far","hand-rock"],["hand-grab-o","far","hand-rock"],["hand-paper-o","far","hand-paper"],["hand-stop-o","far","hand-paper"],["hand-scissors-o","far","hand-scissors"],["hand-lizard-o","far","hand-lizard"],["hand-spock-o","far","hand-spock"],["hand-pointer-o","far","hand-pointer"],["hand-peace-o","far","hand-peace"],["registered","far",null],["creative-commons","fab",null],["gg","fab",null],["gg-circle","fab",null],["tripadvisor","fab",null],["odnoklassniki","fab",null],["odnoklassniki-square","fab",null],["get-pocket","fab",null],["wikipedia-w","fab",null],["safari","fab",null],["chrome","fab",null],["firefox","fab",null],["opera","fab",null],["internet-explorer","fab",null],["television",null,"tv"],["contao","fab",null],["500px","fab",null],["amazon","fab",null],["calendar-plus-o","far","calendar-plus"],["calendar-minus-o","far","calendar-minus"],["calendar-times-o","far","calendar-times"],["calendar-check-o","far","calendar-check"],["map-o","far","map"],["commenting",null,"comment-dots"],["commenting-o","far","comment-dots"],["houzz","fab",null],["vimeo","fab","vimeo-v"],["black-tie","fab",null],["fonticons","fab",null],["reddit-alien","fab",null],["edge","fab",null],["credit-card-alt",null,"credit-card"],["codiepie","fab",null],["modx","fab",null],["fort-awesome","fab",null],["usb","fab",null],["product-hunt","fab",null],["mixcloud","fab",null],["scribd","fab",null],["pause-circle-o","far","pause-circle"],["stop-circle-o","far","stop-circle"],["bluetooth","fab",null],["bluetooth-b","fab",null],["gitlab","fab",null],["wpbeginner","fab",null],["wpforms","fab",null],["envira","fab",null],["wheelchair-alt","fab","accessible-icon"],["question-circle-o","far","question-circle"],["volume-control-phone",null,"phone-volume"],["asl-interpreting",null,"american-sign-language-interpreting"],["deafness",null,"deaf"],["hard-of-hearing",null,"deaf"],["glide","fab",null],["glide-g","fab",null],["signing",null,"sign-language"],["viadeo","fab",null],["viadeo-square","fab",null],["snapchat","fab",null],["snapchat-ghost","fab",null],["snapchat-square","fab",null],["pied-piper","fab",null],["first-order","fab",null],["yoast","fab",null],["themeisle","fab",null],["google-plus-official","fab","google-plus"],["google-plus-circle","fab","google-plus"],["font-awesome","fab",null],["fa","fab","font-awesome"],["handshake-o","far","handshake"],["envelope-open-o","far","envelope-open"],["linode","fab",null],["address-book-o","far","address-book"],["vcard",null,"address-card"],["address-card-o","far","address-card"],["vcard-o","far","address-card"],["user-circle-o","far","user-circle"],["user-o","far","user"],["id-badge","far",null],["drivers-license",null,"id-card"],["id-card-o","far","id-card"],["drivers-license-o","far","id-card"],["quora","fab",null],["free-code-camp","fab",null],["telegram","fab",null],["thermometer-4",null,"thermometer-full"],["thermometer",null,"thermometer-full"],["thermometer-3",null,"thermometer-three-quarters"],["thermometer-2",null,"thermometer-half"],["thermometer-1",null,"thermometer-quarter"],["thermometer-0",null,"thermometer-empty"],["bathtub",null,"bath"],["s15",null,"bath"],["window-maximize","far",null],["window-restore","far",null],["times-rectangle",null,"window-close"],["window-close-o","far","window-close"],["times-rectangle-o","far","window-close"],["bandcamp","fab",null],["grav","fab",null],["etsy","fab",null],["imdb","fab",null],["ravelry","fab",null],["eercast","fab","sellcast"],["snowflake-o","far","snowflake"],["superpowers","fab",null],["wpexplorer","fab",null],["cab",null,"taxi"]];return function(l){try{l()}catch(l){if(!t)throw l}}(function(){var l;"function"==typeof i.hooks.addShims?i.hooks.addShims(s):(l=i.shims).push.apply(l,s)}),s},"object"==typeof exports&&"undefined"!=typeof module?module.exports=a():"function"==typeof define&&define.amd?define(a):l["fontawesome-free-shims"]=a();
50})(); 51; 52!function(e,t){e._EPYT_=e._EPYT_||{ajaxurl:"/wp-admin/admin-ajax.php",security:"",gallery_scrolloffset:100,eppathtoscripts:"/wp-content/plugins/youtube-embed-plus/scripts/",eppath:"/wp-content/plugins/youtube-embed-plus/",epresponsiveselector:["iframe.__youtube_prefs_widget__"],epdovol:!0,evselector:'iframe.__youtube_prefs__[src], iframe[src*="youtube.com/embed/"], iframe[src*="youtube-nocookie.com/embed/"]',stopMobileBuffer:!0,ajax_compat:!1,usingdefault:!0,ytapi_load:"light",pause_others:!1,facade_mode:!1,not_live_on_channel:!1,maxres_facade:"eager"},e._EPYT_.touchmoved=!1,e._EPYT_.apiVideos=e._EPYT_.apiVideos||{},0===e.location.toString().indexOf("https://")&&(e._EPYT_.ajaxurl=e._EPYT_.ajaxurl.replace("http://","https://")),e._EPYT_.pageLoaded=!1,t(e).on("load._EPYT_",(function(){e._EPYT_.pageLoaded=!0})),document.querySelectorAll||(document.querySelectorAll=function(t){var a=document,o=a.documentElement.firstChild,r=a.createElement("STYLE");return o.appendChild(r),a.__qsaels=[],r.styleSheet.cssText=t+"{x:expression(document.__qsaels.push(this))}",e.scrollBy(0,0),a.__qsaels}),void 0===e._EPADashboard_&&(e._EPADashboard_={initStarted:!1,checkCount:0,onPlayerReady:function(a){try{if(void 0!==_EPYT_.epdovol&&_EPYT_.epdovol){var o=parseInt(a.target.getIframe().getAttribute("data-vol"));isNaN(o)||(0===o?a.target.mute():(a.target.isMuted()&&a.target.unMute(),a.target.setVolume(o)))}var r=parseInt(a.target.getIframe().getAttribute("data-epautoplay"));isNaN(r)||1!==r||a.target.playVideo()}catch(e){}try{var i=a.target.getIframe(),n=i.getAttribute("id");e._EPYT_.apiVideos[n]=a.target,e._EPYT_.not_live_on_channel&&a.target.getVideoUrl().indexOf("live_stream")>0&&e._EPADashboard_.doLiveFallback(i)}catch(e){}finally{t(a.target.getIframe()).css("opacity",1)}},onPlayerStateChange:function(a){var o=a.target.getIframe();if(e._EPYT_.pause_others&&a.data===e.YT.PlayerState.PLAYING&&e._EPADashboard_.pauseOthers(a.target),a.data===e.YT.PlayerState.PLAYING&&!0!==a.target.ponce&&-1===o.src.indexOf("autoplay=1")&&(a.target.ponce=!0),a.data===e.YT.PlayerState.ENDED&&"1"==t(o).data("relstop"))if("function"==typeof a.target.stopVideo)a.target.stopVideo();else{var r=t(o).clone(!0).off();r.attr("src",e._EPADashboard_.cleanSrc(r.attr("src").replace("autoplay=1","autoplay=0"))),t(o).replaceWith(r),e._EPADashboard_.setupevents(r.attr("id")),o=r.get(0)}var i=t(o).closest(".epyt-gallery");if((i.length||(i=t("#"+t(o).data("epytgalleryid"))),i.length)&&("1"==i.find(".epyt-pagebutton").first().data("autonext")&&a.data===e.YT.PlayerState.ENDED)){var n=i.find(".epyt-current-video");n.length||(n=i.find(".epyt-gallery-thumb").first());var d=n.find(" ~ .epyt-gallery-thumb").first();d.length?d.trigger("click"):i.find('.epyt-pagebutton.epyt-next[data-pagetoken!=""][data-pagetoken]').first().trigger("click")}},isMobile:function(){return/Mobi|Android/i.test(navigator.userAgent)},base64DecodeUnicode:function(e){return e=e.replace(/\s/g,""),decodeURIComponent(Array.prototype.map.call(atob(e),(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)})).join(""))},findSwapBlock:function(e){var a=t(e).closest(".wp-block-embed");return a.length||(a=t(e).closest(".epyt-live-chat-wrapper")),a.length||(a=t(e).closest(".epyt-video-wrapper")),a.length||(a=t(e)),a},doLiveFallback:function(a){var o=_EPADashboard_.findSwapBlock(a);if(o.length){var r=t("#epyt-live-fallback");if(r.length){var i="";try{i=e._EPADashboard_.base64DecodeUnicode(r.get(0).innerHTML)}catch(e){}if(i){var n=o.parent();e._EPADashboard_.loadYTAPI(),o.replaceWith(i),e._EPADashboard_.apiInit(),e._EPADashboard_.pageReady(),setTimeout((function(){void 0!==t.fn.fitVidsEP&&n.fitVidsEP()}),1)}}}},videoEqual:function(e,t){return!(!e.getIframe||!t.getIframe||e.getIframe().id!==t.getIframe().id)},pauseOthers:function(t){if(t)for(var a in e._EPYT_.apiVideos){var o=e._EPYT_.apiVideos[a];o&&"function"==typeof o.pauseVideo&&o!=t&&!_EPADashboard_.videoEqual(o,t)&&"function"==typeof o.getPlayerState&&[YT.PlayerState.BUFFERING,e.YT.PlayerState.PLAYING].indexOf(o.getPlayerState())>=0&&o.pauseVideo()}},justid:function(e){return new RegExp("[\\?&]v=([^&#]*)").exec(e)[1]},setupevents:function(t){if(void 0!==e.YT&&null!==e.YT&&e.YT.loaded){var a=document.getElementById(t);if(!a.epytsetupdone){e._EPADashboard_.log("Setting up YT API events: "+t),a.epytsetupdone=!0;var o={events:{onReady:e._EPADashboard_.onPlayerReady,onStateChange:e._EPADashboard_.onPlayerStateChange},host:(a.src||"").indexOf("nocookie")>0?"https://www.youtube-nocookie.com":"https://www.youtube.com"};return new e.YT.Player(t,o)}}},apiInit:function(){if(void 0!==e.YT){e._EPADashboard_.initStarted=!0;for(var t=document.querySelectorAll(_EPYT_.evselector),a=0;a<t.length;a++)t[a].hasAttribute("id")||(t[a].id="_dytid_"+Math.round(8999*Math.random()+1e3)),e._EPADashboard_.setupevents(t[a].id)}},log:function(e){try{}catch(e){}},doubleCheck:function(){e._EPADashboard_.checkInterval=setInterval((function(){e._EPADashboard_.checkCount++,e._EPADashboard_.checkCount>=5||e._EPADashboard_.initStarted?clearInterval(e._EPADashboard_.checkInterval):(e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API init check"))}),1e3)},selectText:function(t){if(document.selection)(a=document.body.createTextRange()).moveToElementText(t),a.select();else if(e.getSelection){var a,o=e.getSelection();(a=document.createRange()).selectNode(t),o.removeAllRanges(),o.addRange(a)}},setVidSrc:function(t,a){if(t.is(".epyt-facade"))return t.attr("data-facadesrc",e._EPADashboard_.cleanSrc(a)),void t.trigger("click");var o=e._EPADashboard_.cleanSrc(a),r=e._EPADashboard_.parseYouTubeEmbedUrl(o),i=t.attr("id"),n=i?e._EPYT_.apiVideos[i]:null,d=void 0!==e.YT&&null!==e.YT&&e.YT.loaded;if(r.videoId&&"live_stream"!==r.videoId&&d&&n&&"function"==typeof n.loadVideoById){var s=e._EPADashboard_.mapUrlParamsToLoadOptions(r.params,r.videoId),l="1"===r.params.autoplay;try{l?n.loadVideoById(s):n.cueVideoById(s),t.data("ep-current-src",o)}catch(a){return void e._EPADashboard_.setVidSrcLegacy(t,o)}t.css("opacity","1")}else e._EPADashboard_.setVidSrcLegacy(t,o)},cleanSrc:function(e){return e.replace("enablejsapi=1?enablejsapi=1","enablejsapi=1")},parseYouTubeEmbedUrl:function(e){var t={videoId:null,params:{}};if(!e||"string"!=typeof e)return t;var a=e.match(/\/embed\/([a-zA-Z0-9_-]{11})/);a&&a[1]?t.videoId=a[1]:e.indexOf("/embed/live_stream")>-1&&(t.videoId="live_stream");var o=e.indexOf("?");if(o>-1)for(var r=e.substring(o+1).split("#")[0].split("&"),i=0;i<r.length;i++){var n=r[i].split("=");2===n.length&&(t.params[decodeURIComponent(n[0])]=decodeURIComponent(n[1]))}return t},mapUrlParamsToLoadOptions:function(e,t){var a={videoId:t},o=e.start||e.t;if(o){var r=parseInt(o,10);!isNaN(r)&&r>0&&(a.startSeconds=r)}if(e.end){var i=parseInt(e.end,10);!isNaN(i)&&i>0&&(a.endSeconds=i)}return a},setVidSrcLegacy:function(t,a){if(t.get(0).src&&t.get(0).contentWindow&&t.get(0).contentWindow.location)try{t.get(0).contentWindow.location.replace(a)}catch(e){t.attr("src",a)}else t.attr("src",a);t.get(0).epytsetupdone=!1,t.attr("id")||t.attr("id","_dytid_"+Math.round(8999*Math.random()+1e3)),e._EPADashboard_.setupevents(t.attr("id")),t.css("opacity","1")},loadYTAPI:function(){if(void 0===e.YT){if("never"!==e._EPYT_.ytapi_load&&("always"===e._EPYT_.ytapi_load||t('iframe[src*="youtube.com/embed/"], iframe[data-src*="youtube.com/embed/"], .__youtube_prefs__').length)){var a=document.createElement("script");a.src="https://www.youtube.com/iframe_api",a.type="text/javascript",document.getElementsByTagName("head")[0].appendChild(a)}}else e.YT.loaded&&(e._EPYT_.pageLoaded?(e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API available")):t(e).on("load._EPYT_",(function(){e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API available 2")})))},resolveFacadeQuality:function(e,a){if(e.epytFacadeCount=void 0===e.epytFacadeCount?0:e.epytFacadeCount+1,a||e.naturalHeight<200){var o=t(e).attr("src");o&&(t(e).attr("src",o.replace("maxresdefault","hqdefault")),t(e).off("load.epyt"))}e.epytFacadeCount>2&&t(e).off("load.epyt")},maximizeFacadeQuality:function(e){var a=t(e).attr("src");if(a&&a.indexOf("maxresdefault")<0){var o=a.replace("hqdefault","maxresdefault"),r=new Image;r.src=o,t(r).on("load.epyt",(function(){t(r).off("load.epyt"),r.naturalHeight>200&&(t(e).off("load.epyt"),t(e).attr("src",r.src))})).on("error",(function(){t(r).off("load.epyt")})).each((function(){r.complete&&t(r).trigger("load")}))}},pageReady:function(){e._EPYT_.not_live_on_channel&&"never"!==e._EPYT_.ytapi_load&&t(".epyt-live-channel").each((function(){var e=t(this);e.data("eypt-fallback")||(e.data("eypt-fallback",!0),e.css("opacity",0),setTimeout((function(){e.css("opacity",1)}),4e3))})),t(".epyt-gallery").each((function(){var a=t(this);if(!a.data("epytevents")||!t("body").hasClass("block-editor-page")){a.data("epytevents","1");var o=t(this).find("iframe, div.__youtube_prefs_gdpr__, div.epyt-facade").first(),r=o.data("src")||o.data("facadesrc")||o.attr("src");r||(r=o.data("ep-src"));var i=t(this).find(".epyt-gallery-list .epyt-gallery-thumb").first().data("videoid");void 0!==r?(r=r.replace(i,"GALLERYVIDEOID"),a.data("ep-gallerysrc",r)):o.hasClass("__youtube_prefs_gdpr__")&&a.data("ep-gallerysrc",""),a.on("click touchend",".epyt-gallery-list .epyt-gallery-thumb",(function(r){if(o=a.find("iframe, div.__youtube_prefs_gdpr__, div.epyt-facade").first(),!e._EPYT_.touchmoved&&!t(this).hasClass("epyt-current-video")){a.find(".epyt-gallery-list .epyt-gallery-thumb").removeClass("epyt-current-video"),t(this).addClass("epyt-current-video");var i=t(this).data("videoid");a.data("currvid",i);var n=a.data("ep-gallerysrc").replace("GALLERYVIDEOID",i),d=a.find(".epyt-pagebutton").first().data("thumbplay");"0"!==d&&0!==d&&(n.indexOf("autoplay")>0?n=n.replace("autoplay=0","autoplay=1"):n+="&autoplay=1",o.addClass("epyt-thumbplay"));var s=Math.max(t("body").scrollTop(),t("html").scrollTop()),l=o.offset().top-parseInt(_EPYT_.gallery_scrolloffset);s>l?t("html, body").animate({scrollTop:l},500,(function(){e._EPADashboard_.setVidSrc(o,n)})):e._EPADashboard_.setVidSrc(o,n)}})).on("touchmove",(function(t){e._EPYT_.touchmoved=!0})).on("touchstart",(function(){e._EPYT_.touchmoved=!1})).on("keydown",".epyt-gallery-list .epyt-gallery-thumb, .epyt-pagebutton",(function(e){var a=e.which;13!==a&&32!==a||(e.preventDefault(),t(this).trigger("click"))})),a.on("mouseenter",".epyt-gallery-list .epyt-gallery-thumb",(function(){t(this).addClass("hover")})),a.on("mouseleave",".epyt-gallery-list .epyt-gallery-thumb",(function(){t(this).removeClass("hover")}
52)),a.on("click touchend",".epyt-pagebutton",(function(o){if(!e._EPYT_.touchmoved&&!a.find(".epyt-gallery-list").hasClass("epyt-loading")){a.find(".epyt-gallery-list").addClass("epyt-loading");var r=void 0!==o.originalEvent,i={action:"my_embedplus_gallery_page",security:_EPYT_.security,options:{playlistId:t(this).data("playlistid"),pageToken:t(this).data("pagetoken"),pageSize:t(this).data("pagesize"),columns:t(this).data("epcolumns"),showTitle:t(this).data("showtitle"),showPaging:t(this).data("showpaging"),autonext:t(this).data("autonext"),thumbplay:t(this).data("thumbplay")}},n=t(this).hasClass("epyt-next"),d=parseInt(a.data("currpage")+"");d+=n?1:-1,a.data("currpage",d),t.post(_EPYT_.ajaxurl,i,(function(e){a.find(".epyt-gallery-list").html(e),a.find(".epyt-current").each((function(){t(this).text(a.data("currpage"))})),a.find('.epyt-gallery-thumb[data-videoid="'+a.data("currvid")+'"]').addClass("epyt-current-video"),"1"!=a.find(".epyt-pagebutton").first().data("autonext")||r||a.find(".epyt-gallery-thumb").first().trigger("click")})).fail((function(){alert("Sorry, there was an error loading the next page.")})).always((function(){if(a.find(".epyt-gallery-list").removeClass("epyt-loading"),"1"!=a.find(".epyt-pagebutton").first().data("autonext")){var e=Math.max(t("body").scrollTop(),t("html").scrollTop()),o=a.find(".epyt-gallery-list").offset().top-parseInt(_EPYT_.gallery_scrolloffset);e>o&&t("html, body").animate({scrollTop:o},500)}}))}})).on("touchmove",(function(t){e._EPYT_.touchmoved=!0})).on("touchstart",(function(){e._EPYT_.touchmoved=!1}))}})),t(".__youtube_prefs_gdpr__.epyt-is-override").each((function(){t(this).parent(".wp-block-embed__wrapper").addClass("epyt-is-override__wrapper")})),t("button.__youtube_prefs_gdpr__").on("click",(function(a){a.preventDefault(),t.cookie&&(t.cookie("ytprefs_gdpr_consent","1",{expires:30,path:"/"}),e.top.location.reload())})),"eager"===e._EPYT_.maxres_facade?t("img.epyt-facade-poster").on("load.epyt",(function(){e._EPADashboard_.resolveFacadeQuality(this,!1)})).on("error",(function(){e._EPADashboard_.resolveFacadeQuality(this,!0)})).each((function(){this.complete&&t(this).trigger("load")})):"soft"===e._EPYT_.maxres_facade&&t("img.epyt-facade-poster").on("load.epyt",(function(){e._EPADashboard_.maximizeFacadeQuality(this)})).each((function(){this.complete&&t(this).trigger("load")})),t(".epyt-facade-play").each((function(){t(this).find("svg").length||t(this).append('<svg data-no-lazy="1" height="100%" version="1.1" viewBox="0 0 68 48" width="100%"><path class="ytp-large-play-button-bg" d="M66.52,7.74c-0.78-2.93-2.49-5.41-5.42-6.19C55.79,.13,34,0,34,0S12.21,.13,6.9,1.55 C3.97,2.33,2.27,4.81,1.48,7.74C0.06,13.05,0,24,0,24s0.06,10.95,1.48,16.26c0.78,2.93,2.49,5.41,5.42,6.19 C12.21,47.87,34,48,34,48s21.79-0.13,27.1-1.55c2.93-0.78,4.64-3.26,5.42-6.19C67.94,34.95,68,24,68,24S67.94,13.05,66.52,7.74z" fill="#f00"></path><path d="M 45,24 27,14 27,34" fill="#fff"></path></svg>')})),t(".epyt-facade-poster[data-facadeoembed]").each((function(){var a=t(this);if(!a.data("facadeoembedcomplete")){a.data("facadeoembedcomplete","1");var o="https://www.youtube.com/"+a.data("facadeoembed");t.get("https://youtube.com/oembed",{url:o,format:"json"},(function(t){var o="eager"===e._EPYT_.maxres_facade?t.thumbnail_url.replace("hqdefault","maxresdefault"):t.thumbnail_url;a.attr("src",o)}),"json").fail((function(){})).always((function(){}))}})),t(document).on("click",".epyt-facade",(function(a){var o=t(this),r=o.attr("data-facadesrc");r=e._EPADashboard_.cleanSrc(r);for(var i=document.createElement("iframe"),n=0;n<this.attributes.length;n++){var d=this.attributes[n];(["allow","class","height","id","width"].indexOf(d.name.toLowerCase())>=0||0==d.name.toLowerCase().indexOf("data-"))&&t(i).attr(d.name,d.value)}t(i).removeClass("epyt-facade"),t(i).attr("allowfullscreen","").attr("title",o.find("img").attr("alt")).attr("allow","accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share").attr("referrerpolicy","strict-origin-when-cross-origin"),e._EPADashboard_.loadYTAPI(),o.replaceWith(i),e._EPADashboard_.setVidSrc(t(i),r),setTimeout((function(){void 0!==t.fn.fitVidsEP&&t(t(i).parent()).fitVidsEP()}),1)}))}}),e.onYouTubeIframeAPIReady=void 0!==e.onYouTubeIframeAPIReady?e.onYouTubeIframeAPIReady:function(){e._EPYT_.pageLoaded?(e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API ready")):t(e).on("load._EPYT_",(function(){e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API ready 2")}))},(!e._EPYT_.facade_mode||e._EPYT_.not_live_on_channel&&t('iframe[src*="youtube.com/embed/live_stream"], iframe[data-src*="youtube.com/embed/live_stream"]').length)&&e._EPADashboard_.loadYTAPI(),e._EPYT_.pageLoaded?e._EPADashboard_.doubleCheck():t(e).on("load._EPYT_",(function(){e._EPADashboard_.doubleCheck()})),t(document).ready((function(){e._EPADashboard_.pageReady(),(!e._EPYT_.facade_mode||e._EPYT_.not_live_on_channel&&t('iframe[src*="youtube.com/embed/live_stream"], iframe[data-src*="youtube.com/embed/live_stream"]').length)&&e._EPADashboard_.loadYTAPI(),e._EPYT_.ajax_compat&&t(e).on("load._EPYT_",(function(){t(document).ajaxSuccess((function(t,a,o){a&&a.responseText&&(-1!==a.responseText.indexOf("<iframe ")||-1!==a.responseText.indexOf("enablejsapi"))&&(e._EPADashboard_.loadYTAPI(),e._EPADashboard_.apiInit(),e._EPADashboard_.log("YT API AJAX"),e._EPADashboard_.pageReady())}))}))}))}(window,jQuery);; 53window._mktz=window._mktz||[];; 54;(function () { 55 var script = document.createElement('script') 56 script.src = 'https://app.offerlab.com/assets/embed/offerlab-cta.js' 57 script.async = true 58 script.dataset.publishableKey = '48dobQXiKeqXjzS1YDpdtwYe' 59 document.head.appendChild(script) 60})(); 61(function(){function addVTOOverlays(){var wrappers=document.querySelectorAll(".elementor-widget-html div[style*='position:relative']");
61wrappers.forEach(function(w){if(w.querySelector(".vto"))return;var iframe=w.querySelector("iframe[data-src*='youtube'],iframe[src*='youtube']");if(!iframe)return;var o=document.createElement("div");o.className="vto";o.setAttribute("aria-label","Tap to play video");o.setAttribute("role","button");o.setAttribute("tabindex","0");function activate(){o.style.display="none";}o.addEventListener("click",activate);o.addEventListener("keypress",function(e){if(e.key==="Enter"||e.key===" ")activate();});w.appendChild(o);});}if(document.readyState==="loading"){document.addEventListener("DOMContentLoaded",addVTOOverlays);}else{addVTOOverlays();}setTimeout(addVTOOverlays,800);setTimeout(addVTOOverlays,2500);})();; 62var h=document.getElementById("meHeader");window.addEventListener("scroll",function(){h.classList.toggle("scrolled",window.scrollY>20)});var btn=document.getElementById("meHamburger"),menu=document.getElementById("meMobileMenu");btn.addEventListener("click",function(){menu.classList.toggle("open")});document.addEventListener("click",function(e){if(!h.contains(e.target)){menu.classList.remove("open")}});; 63/* Sales-page A/B engine, served as an EXTERNAL file so WordPress does not HTML-encode 64 the && operators and SiteGround does not break it by bundling inline JS. 65 Page is detected from the URL path; Supabase anon creds are baked (public key, safe). */ 66(function(){ 67 var p = location.pathname; 68 var PAGE = p.indexOf('automations-made-easy') >= 0 ? 'ame' 69 : p.indexOf('traffic-automation-avalanche') >= 0 ? 'taa' 70 : p.indexOf('work-with-me') >= 0 ? 'wwm' : null; 71 if (!PAGE) return; 72 var SUPA_URL = 'https://lfnxjhwrwkzywmahlkek.supabase.co', SUPA_KEY = 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6ImxmbnhqaHdyd2t6eXdtYWhsa2VrIiwicm9sZSI6ImFub24iLCJpYXQiOjE3NzYwODQ5NDQsImV4cCI6MjA5MTY2MDk0NH0.wQhw-E_qRpytENUYdw79MtNQqBJ4ge6YAYhsL-F4vPs'; 73 var BASE = ['headline','subheadline','cta_text','cta_color','price'].map(function(e){return PAGE+'_'+e}); 74 var SKEY = 'mb_ab_'+PAGE+'_v2', CKEY = 'mb_abcfg_'+PAGE, SESS = 'mb_ab_session'; 75 function g(k){try{return localStorage.getItem(k)}catch(e){return null}} 76 function set(k,v){try{localStorage.setItem(k,v)}catch(e){}} 77 function uuid(){return (typeof crypto!=='undefined'&&crypto.randomUUID)?crypto.randomUUID():'s_'+Date.now().toString(36)+Math.random().toString(36).slice(2,12)} 78 function esch(s){return String(s==null?'':s).replace(/[&<>"]/g,function(c){return {'&':'&','<':'<','>':'>','"':'"'}[c]})} 79 function acc(s){return esch(s).replace(/\*([^*]+)\*/g,'<span class="accent">$1</span>')} 80 function ready(fn){if(document.readyState==='loading')document.addEventListener('DOMContentLoaded',fn);else fn()} 81 var qs=new URLSearchParams(location.search); 82 if(qs.get('abreset')==='1'){try{localStorage.removeItem(SKEY)}catch(e){}} 83 var force={};(qs.get('ab')||'').split(';').forEach(function(p){var kv=p.split(':');if(kv.length===2)force[kv[0].trim()]=kv[1].trim()}); 84 var sid=g(SESS);if(!sid){sid=uuid();set(SESS,sid)}window.__mb_sid=sid; 85 86 function readCfg(){try{var x=JSON.parse(g(CKEY)||'null');return (x&&x.variants)?x:null}catch(e){return null}} 87 function tlist(cfg){var k=(cfg&&cfg.controls)?Object.keys(cfg.controls):[];return k.length?k:BASE} 88 function assign(cfg){ 89 var saved=null;try{saved=JSON.parse(g(SKEY)||'null')}catch(e){} 90 var asn=(saved&&saved.assignments)?saved.assignments:{}; 91 var changed=false; 92 tlist(cfg).forEach(function(tk){ 93 var vmap=((cfg.variants)||{})[tk]||{}, keys=Object.keys(vmap); 94 if(force[tk]){asn[tk]=force[tk];return} 95 if(!keys.length){asn[tk]=((cfg.controls)||{})[tk]||asn[tk]||'A';return} 96 if(tk===cfg.active){ 97 var cur=asn[tk]; 98 if(keys.indexOf(cur)<0){ 99 var tot=0;keys.forEach(function(k){tot+=(vmap[k].weight||100)}); 100 var roll=Math.random()*tot,a=0,pick=keys[0]; 101 for(var i=0;i<keys.length;i++){a+=(vmap[keys[i]].weight||100);if(roll<=a){pick=keys[i];break}} 102 cur=pick;changed=true; 103 } 104 asn[tk]=cur; 105 } else { asn[tk]=((cfg.controls)||{})[tk]||'A'; } 106 }); 107 if(changed&&!Object.keys(force).length){set(SKEY,JSON.stringify({assignments:asn,ts:Date.now()}))} 108 return asn; 109 } 110 function vget(cfg,tk,vk){var m=((cfg.variants)||{})[tk]||{};return m[vk]||m[((cfg.controls)||{})[tk]]||m.A||{}} 111 function apply(cfg,asn){ 112 window.__mb_asn=asn; 113 var hv=vget(cfg,PAGE+'_headline',asn[PAGE+'_headline']); 114 var sv=vget(cfg,PAGE+'_subheadline',asn[PAGE+'_subheadline']); 115 var hEl=document.getElementById('ab-headline'); if(hEl&&hv.label!=null)hEl.innerHTML=acc(hv.label); 116 var sEl=document.getElementById('ab-subheadline'); if(sEl&&sv.label!=null)sEl.innerHTML=acc(sv.label); 117 var cv=vget(cfg,PAGE+'_cta_color',asn[PAGE+'_cta_color']); 118 if(cv.value){var st=document.documentElement.style;if(cv.value.bg)st.setProperty('--cta-bg',cv.value.bg);if(cv.value.fg)st.setProperty('--cta-fg',cv.value.fg);if(cv.value.hover_bg)st.setProperty('--cta-hover-bg',cv.value.hover_bg)} 119 var pv=vget(cfg,PAGE+'_price',asn[PAGE+'_price']); 120 var priceTxt=pv.value&&pv.value.price, priceUrl=pv.value&&pv.value.url; 121 var tv=vget(cfg,PAGE+'_cta_text',asn[PAGE+'_cta_text']); var txt=(tv.value&&tv.value.text)||tv.label; 122 document.querySelectorAll('.cta-text').forEach(function(el){if(txt!=null)el.textContent=txt}); 123 if(priceTxt){ 124 document.querySelectorAll('.cta-text').forEach(function(el){el.textContent=el.textContent.replace(/\{price\}/g,priceTxt)}); 125 document.querySelectorAll('.ab-price').forEach(function(el){el.textContent=priceTxt}); 126 } 127 document.querySelectorAll('a.btn-primary').forEach(function(a){
128 try{var med='';try{med=new URL(a.href,location.href).searchParams.get('utm_medium')||''}catch(e){} 129 var u=new URL(priceUrl||a.href,location.href); 130 u.searchParams.set('utm_source','sales_page');if(med)u.searchParams.set('utm_medium',med);u.searchParams.set('utm_campaign',PAGE);u.searchParams.set('mb_sid',sid); 131 a.href=u.toString();}catch(e){} 132 }); 133 } 134 function post(type,a){ 135 var rows=Object.keys(a||{}).map(function(tk){return{test_key:tk,variant_key:a[tk],event_type:type,session_id:sid,page:PAGE}}); 136 if(!rows.length)return; 137 try{fetch(SUPA_URL+'/rest/v1/sp_ab_events',{method:'POST',headers:{'apikey':SUPA_KEY,'Authorization':'Bearer '+SUPA_KEY,'Content-Type':'application/json','Prefer':'return=minimal'},body:JSON.stringify(rows),keepalive:true}).catch(function(){})}catch(e){} 138 } 139 var impFired=false; function fireImp(a){if(!impFired){impFired=true;post('impression',a)}} 140 141 var cfg=readCfg(), asn=null; 142 if(cfg){ asn=assign(cfg); ready(function(){apply(cfg,asn);fireImp(asn)}); } 143 ready(function(){ 144 document.querySelectorAll('a.btn-primary').forEach(function(a){a.addEventListener('click',function(){post('click',window.__mb_asn||asn)})}); 145 }); 146 function buildCfg(tests,vars){ 147 var c={active:null,controls:{},variants:{}}; 148 tests.forEach(function(t){c.controls[t.test_key]=t.control_variant||'A'; if(t.is_active)c.active=t.test_key}); 149 vars.forEach(function(v){ if(v.is_active!==false){(c.variants[v.test_key]=c.variants[v.test_key]||{})[v.variant_key]={label:v.label,value:v.value,weight:v.weight};} }); 150 return c; 151 } 152 var hdr={headers:{'apikey':SUPA_KEY,'Authorization':'Bearer '+SUPA_KEY}}; 153 Promise.all([ 154 fetch(SUPA_URL+'/rest/v1/sp_ab_tests?page=eq.'+PAGE+'&select=test_key,is_active,control_variant',hdr).then(function(r){return r.ok?r.json():[]}), 155 fetch(SUPA_URL+'/rest/v1/sp_ab_variants?test_key=like.'+PAGE+'_*&select=test_key,variant_key,label,value,weight,is_active',hdr).then(function(r){return r.ok?r.json():[]}) 156 ]).then(function(res){ 157 var tests=res[0],vars=res[1]; if(!tests||!tests.length){ready(function(){fireImp(asn||{})});return} 158 var c=buildCfg(tests,vars); set(CKEY,JSON.stringify(c)); 159 var a2=assign(c); ready(function(){apply(c,a2);fireImp(a2)}); 160 }).catch(function(){ ready(function(){fireImp(asn||{})}); }); 161})(); 162; 163var __webpack_modules__=[,(t,e,i)=>{i.d(e,{Wistia:()=>a});var n=i(2),s=i(3),o=i(4),r=i(5);r.z.Wistia??={},r.z.Wistia.Preact??={...n,hooks:s,compat:o},r.z.Wistia._destructors??={},r.z.Wistia._initializers??={},r.z.Wistia._remoteData??=new Map,r.z.Wistia.api??=()=>(console.error("Accessed Wistia.api() before it was initialized"),null),r.z.Wistia.defineControl??=()=>(console.error("Accessed Wistia.defineControl() before it was initialized"),null),r.z.Wistia.EventShepherdManager??={},r.z.Wistia.mixin??=(t,e={})=>{Object.keys(e).forEach((i=>{(function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)})(e,i)&&(t[i]=e[i])}))},r.z.Wistia.playlistMethods??=new Map,r.z.Wistia.PublicApi??=null,r.z.Wistia.uncacheMedia??=()=>(console.error("Accessed Wistia.uncacheMedia() before it was initialized"),null),r.z.Wistia.VisitorKey??=null,r.z.Wistia.visitorKey??=null,r.z.Wistia.wistia??=void 0,r.z.Wistia._liveStreamEventDataPromises??={},r.z.Wistia._mediaDataPromises??={},r.z.Wistia._liveStreamPollingPromises??={},r.z.Wistia.first??=()=>r.z.Wistia.api()??document.querySelector("wistia-player");const a=r.z.Wistia},(t,e,i)=>{i.r(e),i.d(e,{Component:()=>I,Fragment:()=>L,cloneElement:()=>Z,createContext:()=>tt,createElement:()=>S,createRef:()=>A,h:()=>S,hydrate:()=>J,isValidElement:()=>r,options:()=>s,render:()=>X,toChildArray:()=>F});var n,s,o,r,a,l,h,u,c,d,p,m,g,f,y,_,v={},b=[],w=/acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i,E=Array.isArray;function C(t,e){for(var i in e)t[i]=e[i];return t}function T(t){t&&t.parentNode&&t.parentNode.removeChild(t)}function S(t,e,i){var s,o,r,a={};for(r in e)"key"==r?s=e[r]:"ref"==r?o=e[r]:a[r]=e[r];if(arguments.length>2&&(a.children=arguments.length>3?n.call(arguments,2):i),"function"==typeof t&&null!=t.defaultProps)for(r in t.defaultProps)void 0===a[r]&&(a[r]=t.defaultProps[r]);return P(t,a,s,o,null)}function P(t,e,i,n,r){var a={type:t,props:e,key:i,ref:n,__k:null,__:null,__b:0,__e:null,__c:null,constructor:void 0,__v:null==r?++o:r,__i:-1,__u:0};return null==r&&null!=s.vnode&&s.vnode(a),a}function A(){return{current:null}}function L(t){return t.children}function I(t,e){this.props=t,this.context=e}function M(t,e){if(null==e)return t.__?M(t.__,t.__i+1):null;for(var i;e<t.__k.length;e++)if(null!=(i=t.__k[e])&&null!=i.__e)return i.__e;return"function"==typeof t.type?M(t):null}function D(t){if(t.__P&&t.__d){var e=t.__v,i=e.__e,n=[],o=[],r=C({},e);r.__v=e.__v+1,s.vnode&&s.vnode(r),j(t.__P,r,e,t.__n,t.__P.namespaceURI,32&e.__u?[i]:null,n,null==i?M(e):i,!!(32&e.__u),o),r.__v=e.__v,r.__.__k[r.__i]=r,z(n,r,o),e.__e=e.__=null,r.__e!=i&&k(r)}}function k(t){if(null!=(t=t.__)&&null!=t.__c)return t.__e=t.__c.base=null,t.__k.some((function(e){if(null!=e&&null!=e.__e)return t.__e=t.__c.base=e.__e})),k(t)}function O(t){(!t.__d&&(t.__d=!0)&&a.push(t)&&!x.__r++||l!=s.debounceRendering)&&((l=s.debounceRendering)||h)(x)}function x(){try{for(var t,e=1;a.length;)a.length>e&&a.sort(u),t=a.shift(),e=a.length,D(t)}finally{a.length=x.__r=0}}function B(t,e,i,n,s,o,r,a,l,h,u){var c,d,p,m,g,f,y,_=n&&n.__k||b,w=e.length;for(l=R(i,e,_,l,w),c=0;c<w;c++)null!=(p=i.__k[c])&&(d=-1!=p.__i&&_[p.__i]||v,p.__i=c,f=j(t,p,d,s,o,r,a,l,h,u),m=p.__e,p.ref&&d.ref!=p.ref&&(d.ref&&G(d.ref,null,p),u.push(p.ref,p.__c||m,p)),null==g&&null!=m&&(g=m),(y=!!(4&p.__u))||d.__
vendor: 5,864 bytes, line 163
163k===p.__k?(l=W(p,l,t,y),y&&d.__e&&(d.__e=null)):"function"==typeof p.type&&void 0!==f?l=f:m&&(l=m.nextSibling),p.__u&=-7);return i.__e=g,l}function R(t,e,i,n,s){var o,r,a,l,h,u=i.length,c=u,d=0;for(t.__k=new Array(s),o=0;o<s;o++)null!=(r=e[o])&&"boolean"!=typeof r&&"function"!=typeof r?("string"==typeof r||"number"==typeof r||"bigint"==typeof r||r.constructor==String?r=t.__k[o]=P(null,r,null,null,null):E(r)?r=t.__k[o]=P(L,{children:r},null,null,null):void 0===r.constructor&&r.__b>0?r=t.__k[o]=P(r.type,r.props,r.key,r.ref?r.ref:null,r.__v):t.__k[o]=r,l=o+d,r.__=t,r.__b=t.__b+1,a=null,-1!=(h=r.__i=N(r,i,l,c))&&(c--,(a=i[h])&&(a.__u|=2)),null==a||null==a.__v?(-1==h&&(s>u?d--:s<u&&d++),"function"!=typeof r.type&&(r.__u|=4)):h!=l&&(h==l-1?d--:h==l+1?d++:(h>l?d--:d++,r.__u|=4))):t.__k[o]=null;if(c)for(o=0;o<u;o++)null!=(a=i[o])&&!(2&a.__u)&&(a.__e==n&&(n=M(a)),Y(a,a));return n}function W(t,e,i,n){var s,o;if("function"==typeof t.type){for(s=t.__k,o=0;s&&o<s.length;o++)s[o]&&(s[o].__=t,e=W(s[o],e,i,n));return e}t.__e!=e&&(n&&(e&&t.type&&!e.parentNode&&(e=M(t)),i.insertBefore(t.__e,e||null)),e=t.__e);do{e=e&&e.nextSibling}while(null!=e&&8==e.nodeType);return e}function F(t,e){return e=e||[],null==t||"boolean"==typeof t||(E(t)?t.some((function(t){F(t,e)})):e.push(t)),e}function N(t,e,i,n){var s,o,r,a=t.key,l=t.type,h=e[i],u=null!=h&&!(2&h.__u);if(null===h&&null==a||u&&a==h.key&&l==h.type)return i;if(n>(u?1:0))for(s=i-1,o=i+1;s>=0||o<e.length;)if(null!=(h=e[r=s>=0?s--:o++])&&!(2&h.__u)&&a==h.key&&l==h.type)return r;return-1}function H(t,e,i){"-"==e[0]?t.setProperty(e,null==i?"":i):t[e]=null==i?"":"number"!=typeof i||w.test(e)?i:i+"px"}function V(t,e,i,n,s){var o,r;t:if("style"==e)if("string"==typeof i)t.style.cssText=i;else{if("string"==typeof n&&(t.style.cssText=n=""),n)for(e in n)i&&e in i||H(t.style,e,"");if(i)for(e in i)n&&i[e]==n[e]||H(t.style,e,i[e])}else if("o"==e[0]&&"n"==e[1])o=e!=(e=e.replace(m,"$1")),r=e.toLowerCase(),e=r in t||"onFocusOut"==e||"onFocusIn"==e?r.slice(2):e.slice(2),t.l||(t.l={}),t.l[e+o]=i,i?n?i[p]=n[p]:(i[p]=g,t.addEventListener(e,o?y:f,o)):t.removeEventListener(e,o?y:f,o);else{if("http://www.w3.org/2000/svg"==s)e=e.replace(/xlink(H|:h)/,"h").replace(/sName$/,"s");else if("width"!=e&&"height"!=e&&"href"!=e&&"list"!=e&&"form"!=e&&"tabIndex"!=e&&"download"!=e&&"rowSpan"!=e&&"colSpan"!=e&&"role"!=e&&"popover"!=e&&e in t)try{t[e]=null==i?"":i;break t}catch(t){}"function"==typeof i||(null==i||!1===i&&"-"!=e[4]?t.removeAttribute(e):t.setAttribute(e,"popover"==e&&1==i?"":i))}}function $(t){return function(e){if(this.l){var i=this.l[e.type+t];if(null==e[d])e[d]=g++;else if(e[d]<i[p])return;return i(s.event?s.event(e):e)}}}function j(t,e,i,n,o,r,a,l,h,u){var c,d,p,m,g,f,y,_,v,w,S,P,A,M,D,k=e.type;if(void 0!==e.constructor)return null;128&i.__u&&(h=!!(32&i.__u),r=[l=e.__e=i.__e]),(c=s.__b)&&c(e);t:if("function"==typeof k)try{if(_=e.props,v=k.prototype&&k.prototype.render,w=(c=k.contextType)&&n[c.__c],S=c?w?w.props.value:c.__:n,i.__c?y=(d=e.__c=i.__c).__=d.__E:(v?e.__c=d=new k(_,S):(e.__c=d=new I(_,S),d.constructor=k,d.render=Q),w&&w.sub(d),d.state||(d.state={}),d.__n=n,p=d.__d=!0,d.__h=[],d._sb=[]),v&&null==d.__s&&(d.__s=d.state),v&&null!=k.getDerivedStateFromProps&&(d.__s==d.state&&(d.__s=C({},d.__s)),C(d.__s,k.getDerivedStateFromProps(_,d.__s))),m=d.props,g=d.state,d.__v=e,p)v&&null==k.getDerivedStateFromProps&&null!=d.componentWillMount&&d.componentWillMount(),v&&null!=d.componentDidMount&&d.__h.push(d.componentDidMount);else{if(v&&null==k.getDerivedStateFromProps&&_!==m&&null!=d.componentWillReceiveProps&&d.componentWillReceiveProps(_,S),e.__v==i.__v||!d.__e&&null!=d.shouldComponentUpdate&&!1===d.shouldComponentUpdate(_,d.__s,S)){e.__v!=i.__v&&(d.props=_,d.state=d.__s,d.__d=!1),e.__e=i.__e,e.__k=i.__k,e.__k.some((function(t){t&&(t.__=e)})),b.push.apply(d.__h,d._sb),d._sb=[],d.__h.length&&a.push(d);break t}null!=d.componentWillUpdate&&d.componentWillUpdate(_,d.__s,S),v&&null!=d.componentDidUpdate&&d.__h.push((function(){d.componentDidUpdate(m,g,f)}))}if(d.context=S,d.props=_,d.__P=t,d.__e=!1,P=s.__r,A=0,v)d.state=d.__s,d.__d=!1,P&&P(e),c=d.render(d.props,d.state,d.context),b.push.apply(d.__h,d._sb),d._sb=[];else do{d.__d=!1,P&&P(e),c=d.render(d.props,d.state,d.context),d.state=d.__s}while(d.__d&&++A<25);d.state=d.__s,null!=d.getChildContext&&(n=C(C({},n),d.getChildContext())),v&&!p&&null!=d.getSnapshotBeforeUpdate&&(f=d.getSnapshotBeforeUpdate(m,g)),M=null!=c&&c.type===L&&null==c.key?q(c.props.children):c,l=B(t,E(M)?M:[M],e,i,n,o,r,a,l,h,u),d.base=e.__e,e.__u&=-161,d.__h.length&&a.push(d),y&&(d.__E=d.__=null)}catch(t){if(e.__v=null,h||null!=r)if(t.then){for(e.__u|=h?160:128;l&&8==l.nodeType&&l.nextSibling;)l=l.nextSibling;r[r.indexOf(l)]=null,e.__e=l}else{for(D=r.length;D--;)T(r[D]);U(e)}else e.__e=i.__e,e.__k=i.__k,t.then||U(e);s.__e(t,e,i)}else null==r&&e.__v==i.__v?(e.__k=i.__k,e.__e=i.__e):l=e.__e=K(i.__e,e,i,n,o,r,a,h,u);return(c=s.diffed)&&c(e),128&e.__u?void 0:l}function U(t){t&&(t.__c&&(t.__c.__e=!0),t.__k&&t.__k.some(U))}function z(t,e,i){for(var n=0;n<i.length;n++)G(i[n],i[++n],i[++n]);s.__c&&s.__c(e,t),t.some((function(e){try{t=e.__h,e.__h=[],t.some((function(t){t.call(e)}))}catch(t){s.__e(t,e.__v)}}))}function q(t){return"object"!=typeof t||null==t||t.__b>0?t:E(t)?t.map(q):C({},t)}function K(t,e,i,o,r,a,l,h,u){var c,d,p,m,g,f,y,_=i.props||v,b=e.props,w=e.type;if("svg"==w?r="http://www.w3.org/2000/svg":"math"==w?r="http://www.w3.org/1998/Math/MathML":r||(r="http://www.w3.org/1999/xhtml"),null!=a)for(c=0;c<a.length;c++)if((g=a[c])&&"setAttribute"in g==!!w&&(w?g.localName==w:3==g.nodeType)){t=g,a[c]=null;break}if(null==t){if(null==w)return document.createTextNode(b);t=document.createElementNS(r,w,b.is&&b),h&&(s.__m&&s.__m(e,a),h=!1),a=null}if(null==w)_===b||h&&t.data==b||(t.data=b);else{if(a=a&&n.call(t.childNodes),!h&&null!=a)for(_={}
vendor: 3,305 bytes, line 163
163,c=0;c<t.attributes.length;c++)_[(g=t.attributes[c]).name]=g.value;for(c in _)g=_[c],"dangerouslySetInnerHTML"==c?p=g:"children"==c||c in b||"value"==c&&"defaultValue"in b||"checked"==c&&"defaultChecked"in b||V(t,c,null,g,r);for(c in b)g=b[c],"children"==c?m=g:"dangerouslySetInnerHTML"==c?d=g:"value"==c?f=g:"checked"==c?y=g:h&&"function"!=typeof g||_[c]===g||V(t,c,g,_[c],r);if(d)h||p&&(d.__html==p.__html||d.__html==t.innerHTML)||(t.innerHTML=d.__html),e.__k=[];else if(p&&(t.innerHTML=""),B("template"==e.type?t.content:t,E(m)?m:[m],e,i,o,"foreignObject"==w?"http://www.w3.org/1999/xhtml":r,a,l,a?a[0]:i.__k&&M(i,0),h,u),null!=a)for(c=a.length;c--;)T(a[c]);h||(c="value","progress"==w&&null==f?t.removeAttribute("value"):null!=f&&(f!==t[c]||"progress"==w&&!f||"option"==w&&f!=_[c])&&V(t,c,f,_[c],r),c="checked",null!=y&&y!=t[c]&&V(t,c,y,_[c],r))}return t}function G(t,e,i){try{if("function"==typeof t){var n="function"==typeof t.__u;n&&t.__u(),n&&null==e||(t.__u=t(e))}else t.current=e}catch(t){s.__e(t,i)}}function Y(t,e,i){var n,o;if(s.unmount&&s.unmount(t),(n=t.ref)&&(n.current&&n.current!=t.__e||G(n,null,e)),null!=(n=t.__c)){if(n.componentWillUnmount)try{n.componentWillUnmount()}catch(t){s.__e(t,e)}n.base=n.__P=null}if(n=t.__k)for(o=0;o<n.length;o++)n[o]&&Y(n[o],e,i||"function"!=typeof t.type);i||T(t.__e),t.__c=t.__=t.__e=void 0}function Q(t,e,i){return this.constructor(t,i)}function X(t,e,i){var o,r,a,l;e==document&&(e=document.documentElement),s.__&&s.__(t,e),r=(o="function"==typeof i)?null:i&&i.__k||e.__k,a=[],l=[],j(e,t=(!o&&i||e).__k=S(L,null,[t]),r||v,v,e.namespaceURI,!o&&i?[i]:r?null:e.firstChild?n.call(e.childNodes):null,a,!o&&i?i:r?r.__e:e.firstChild,o,l),z(a,t,l)}function J(t,e){X(t,e,J)}function Z(t,e,i){var s,o,r,a,l=C({},t.props);for(r in t.type&&t.type.defaultProps&&(a=t.type.defaultProps),e)"key"==r?s=e[r]:"ref"==r?o=e[r]:l[r]=void 0===e[r]&&null!=a?a[r]:e[r];return arguments.length>2&&(l.children=arguments.length>3?n.call(arguments,2):i),P(t.type,l,s||t.key,o||t.ref,null)}function tt(t){function e(t){var i,n;return this.getChildContext||(i=new Set,(n={})[e.__c]=this,this.getChildContext=function(){return n},this.componentWillUnmount=function(){i=null},this.shouldComponentUpdate=function(t){this.props.value!=t.value&&i.forEach((function(t){t.__e=!0,O(t)}))},this.sub=function(t){i.add(t);var e=t.componentWillUnmount;t.componentWillUnmount=function(){i&&i.delete(t),e&&e.call(t)}}),t.children}return e.__c="__cC"+_++,e.__=t,e.Provider=e.__l=(e.Consumer=function(t,e){return t.children(e)}).contextType=e,e}n=b.slice,s={__e:function(t,e,i,n){for(var s,o,r;e=e.__;)if((s=e.__c)&&!s.__)try{if((o=s.constructor)&&null!=o.getDerivedStateFromError&&(s.setState(o.getDerivedStateFromError(t)),r=s.__d),null!=s.componentDidCatch&&(s.componentDidCatch(t,n||{}),r=s.__d),r)return s.__E=s}catch(e){t=e}throw t}},o=0,r=function(t){return null!=t&&void 0===t.constructor},I.prototype.setState=function(t,e){var i;i=null!=this.__s&&this.__s!=this.state?this.__s:this.__s=C({},this.state),"function"==typeof t&&(t=t(C({},i),this.props)),t&&C(i,t),null!=t&&this.__v&&(e&&this._sb.push(e),O(this))},I.prototype.forceUpdate=function(t){this.__v&&(this.__e=!0,t&&this.__h.push(t),O(this))},I.prototype.render=L,a=[],h="function"==typeof Promise?Promise.prototype.then.bind(Prom
163ise.resolve()):setTimeout,u=function(t,e){return t.__v.__b-e.__v.__b},x.__r=0,c=Math.random().toString(8),d="__d"+c,p="__a"+c,m=/(PointerCapture)$|Capture$/i,g=0,f=$(!1),y=$(!0),_=0},(t,e,i)=>{i.r(e),i.d(e,{useCallback:()=>S,useContext:()=>P,useDebugValue:()=>A,useEffect:()=>b,useErrorBoundary:()=>L,useId:()=>I,useImperativeHandle:()=>C,useLayoutEffect:()=>w,useMemo:()=>T,useReducer:()=>v,useRef:()=>E,useState:()=>_});var n,s,o,r,a=i(2),l=0,h=[],u=a.options,c=u.__b,d=u.__r,p=u.diffed,m=u.__c,g=u.unmount,f=u.__;function y(t,e){u.__h&&u.__h(s,t,l||e),l=0;var i=s.__H||(s.__H={__:[],__h:[]});return t>=i.__.length&&i.__.push({}),i.__[t]}function _(t){return l=1,v(R,t)}function v(t,e,i){var o=y(n++,2);if(o.t=t,!o.__c&&(o.__=[i?i(e):R(void 0,e),function(t){var e=o.__N?o.__N[0]:o.__[0],i=o.t(e,t);e!==i&&(o.__N=[i,o.__[1]],o.__c.setState({}))}],o.__c=s,!s.__f)){var r=function(t,e,i){if(!o.__c.__H)return!0;var n=o.__c.__H.__.filter((function(t){return t.__c}));if(n.every((function(t){return!t.__N})))return!a||a.call(this,t,e,i);var s=o.__c.props!==t;return n.some((function(t){if(t.__N){var e=t.__[0];t.__=t.__N,t.__N=void 0,e!==t.__[0]&&(s=!0)}})),a&&a.call(this,t,e,i)||s};s.__f=!0;var a=s.shouldComponentUpdate,l=s.componentWillUpdate;s.componentWillUpdate=function(t,e,i){if(this.__e){var n=a;a=void 0,r(t,e,i),a=n}l&&l.call(this,t,e,i)},s.shouldComponentUpdate=r}return o.__N||o.__}function b(t,e){var i=y(n++,3);!u.__s&&B(i.__H,e)&&(i.__=t,i.u=e,s.__H.__h.push(i))}function w(t,e){var i=y(n++,4);!u.__s&&B(i.__H,e)&&(i.__=t,i.u=e,s.__h.push(i))}function E(t){return l=5,T((function(){return{current:t}}),[])}function C(t,e,i){l=6,w((function(){if("function"==typeof t){var i=t(e());return function(){t(null),i&&"function"==typeof i&&i()}}if(t)return t.current=e(),function(){return t.current=null}}),null==i?i:i.concat(t))}function T(t,e){var i=y(n++,7);
vendor: 5,022 bytes, line 163
163return B(i.__H,e)&&(i.__=t(),i.__H=e,i.__h=t),i.__}function S(t,e){return l=8,T((function(){return t}),e)}function P(t){var e=s.context[t.__c],i=y(n++,9);return i.c=t,e?(null==i.__&&(i.__=!0,e.sub(s)),e.props.value):t.__}function A(t,e){u.useDebugValue&&u.useDebugValue(e?e(t):t)}function L(t){var e=y(n++,10),i=_();return e.__=t,s.componentDidCatch||(s.componentDidCatch=function(t,n){e.__&&e.__(t,n),i[1](t)}),[i[0],function(){i[1](void 0)}]}function I(){var t=y(n++,11);if(!t.__){for(var e=s.__v;null!==e&&!e.__m&&null!==e.__;)e=e.__;var i=e.__m||(e.__m=[0,0]);t.__="P"+i[0]+"-"+i[1]++}return t.__}function M(){for(var t;t=h.shift();){var e=t.__H;if(t.__P&&e)try{e.__h.some(O),e.__h.some(x),e.__h=[]}catch(i){e.__h=[],u.__e(i,t.__v)}}}u.__b=function(t){s=null,c&&c(t)},u.__=function(t,e){t&&e.__k&&e.__k.__m&&(t.__m=e.__k.__m),f&&f(t,e)},u.__r=function(t){d&&d(t),n=0;var e=(s=t.__c).__H;e&&(o===s?(e.__h=[],s.__h=[],e.__.some((function(t){t.__N&&(t.__=t.__N),t.u=t.__N=void 0}))):(e.__h.some(O),e.__h.some(x),e.__h=[],n=0)),o=s},u.diffed=function(t){p&&p(t);var e=t.__c;e&&e.__H&&(e.__H.__h.length&&(1!==h.push(e)&&r===u.requestAnimationFrame||((r=u.requestAnimationFrame)||k)(M)),e.__H.__.some((function(t){t.u&&(t.__H=t.u),t.u=void 0}))),o=s=null},u.__c=function(t,e){e.some((function(t){try{t.__h.some(O),t.__h=t.__h.filter((function(t){return!t.__||x(t)}))}catch(i){e.some((function(t){t.__h&&(t.__h=[])})),e=[],u.__e(i,t.__v)}})),m&&m(t,e)},u.unmount=function(t){g&&g(t);var e,i=t.__c;i&&i.__H&&(i.__H.__.some((function(t){try{O(t)}catch(t){e=t}})),i.__H=void 0,e&&u.__e(e,i.__v))};var D="function"==typeof requestAnimationFrame;function k(t){var e,i=function(){clearTimeout(n),D&&cancelAnimationFrame(e),setTimeout(t)},n=setTimeout(i,35);D&&(e=requestAnimationFrame(i))}function O(t){var e=s,i=t.__c;"function"==typeof i&&(t.__c=void 0,i()),s=e}function x(t){var e=s;t.__c=t.__(),s=e}function B(t,e){return!t||t.length!==e.length||e.some((function(e,i){return e!==t[i]}))}function R(t,e){return"function"==typeof e?e(t):e}},(t,e,i)=>{i.r(e),i.d(e,{Children:()=>v,Component:()=>n.Component,Fragment:()=>n.Fragment,PureComponent:()=>p,StrictMode:()=>n.Fragment,Suspense:()=>T,SuspenseList:()=>A,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:()=>q,cloneElement:()=>J,createContext:()=>n.createContext,createElement:()=>n.createElement,createFactory:()=>G,createPortal:()=>D,createRef:()=>n.createRef,default:()=>st,findDOMNode:()=>tt,flushSync:()=>it,forwardRef:()=>y,hydrate:()=>N,isElement:()=>nt,isFragment:()=>Q,isMemo:()=>X,isValidElement:()=>Y,lazy:()=>P,memo:()=>m,render:()=>F,startTransition:()=>h,unmountComponentAtNode:()=>Z,unstable_batchedUpdates:()=>et,useCallback:()=>s.useCallback,useContext:()=>s.useContext,useDebugValue:()=>s.useDebugValue,useDeferredValue:()=>u,useEffect:()=>s.useEffect,useErrorBoundary:()=>s.useErrorBoundary,useId:()=>s.useId,useImperativeHandle:()=>s.useImperativeHandle,useInsertionEffect:()=>d,useLayoutEffect:()=>s.useLayoutEffect,useMemo:()=>s.useMemo,useReducer:()=>s.useReducer,useRef:()=>s.useRef,useState:()=>s.useState,useSyncExternalStore:()=>a,useTransition:()=>c,version:()=>K});var n=i(2),s=i(3);function o(t,e){for(var i in e)t[i]=e[i];return t}function r(t,e){for(var i in t)if("__source"!==i&&!(i in e))return!0;for(var n in e)if("__source"!==n&&t[n]!==e[n])return!0;return!1}function a(t,e){var i=e(),n=(0,s.useState)({t:{__:i,u:e}}),o=n[0].t,r=n[1];return(0,s.useLayoutEffect)((function(){o.__=i,o.u=e,l(o)&&r({t:o})}),[t,i,e]),(0,s.useEffect)((function(){return l(o)&&r({t:o}),t((function(){l(o)&&r({t:o})}))}),[t]),i}function l(t){try{return!((e=t.__)===(i=t.u())&&(0!==e||1/e==1/i)||e!=e&&i!=i)}catch(t){return!0}var e,i}function h(t){t()}function u(t){return t}function c(){return[!1,h]}var d=s.useLayoutEffect;function p(t,e){this.props=t,this.context=e}function m(t,e){function i(t){var i=this.props.ref;return i!=t.ref&&i&&("function"==typeof i?i(null):i.current=null),e?!e(this.props,t)||i!=t.ref:r(this.props,t)}function s(e){return this.shouldComponentUpdate=i,(0,n.createElement)(t,e)}return s.displayName="Memo("+(t.displayName||t.name)+")",s.__f=s.prototype.isReactComponent=!0,s.type=t,s}(p.prototype=new n.Component).isPureReactComponent=!0,p.prototype.shouldComponentUpdate=function(t,e){return r(this.props,t)||r(this.state,e)};var g=n.options.__b;n.options.__b=function(t){t.type&&t.type.__f&&t.ref&&(t.props.ref=t.ref,t.ref=null),g&&g(t)};var f="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.forward_ref")||3911;function y(t){function e(e){var i=o({},e);return delete i.ref,t(i,e.ref||null)}return e.$$typeof=f,e.render=t,e.prototype.isReactComponent=e.__f=!0,e.displayName="ForwardRef("+(t.displayName||t.name)+")",e}var _=function(t,e){return null==t?null:(0,n.toChildArray)((0,n.toChildArray)(t).map(e))},v={map:_,forEach:_,count:function(t){return t?(0,n.toChildArray)(t).length:0},only:function(t){var e=(0,n.toChildArray)(t);if(1!==e.length)throw"Children.only";return e[0]},toArray:n.toChildArray},b=n.options.__e;
vendor: 4,412 bytes, line 163
163n.options.__e=function(t,e,i,n){if(t.then)for(var s,o=e;o=o.__;)if((s=o.__c)&&s.__c)return null==e.__e&&(e.__e=i.__e,e.__k=i.__k),s.__c(t,e);b(t,e,i,n)};var w=n.options.unmount;function E(t,e,i){return t&&(t.__c&&t.__c.__H&&(t.__c.__H.__.forEach((function(t){"function"==typeof t.__c&&t.__c()})),t.__c.__H=null),null!=(t=o({},t)).__c&&(t.__c.__P===i&&(t.__c.__P=e),t.__c.__e=!0,t.__c=null),t.__k=t.__k&&t.__k.map((function(t){return E(t,e,i)}))),t}function C(t,e,i){return t&&i&&(t.__v=null,t.__k=t.__k&&t.__k.map((function(t){return C(t,e,i)})),t.__c&&t.__c.__P===e&&(t.__e&&i.appendChild(t.__e),t.__c.__e=!0,t.__c.__P=i)),t}function T(){this.__u=0,this.o=null,this.__b=null}function S(t){var e=t.__&&t.__.__c;return e&&e.__a&&e.__a(t)}function P(t){var e,i,s,o=null;function r(r){if(e||(e=t()).then((function(t){t&&(o=t.default||t),s=!0}),(function(t){i=t,s=!0})),i)throw i;if(!s)throw e;return o?(0,n.createElement)(o,r):null}return r.displayName="Lazy",r.__f=!0,r}function A(){this.i=null,this.l=null}n.options.unmount=function(t){var e=t.__c;e&&(e.__z=!0),e&&e.__R&&e.__R(),e&&32&t.__u&&(t.type=null),w&&w(t)},(T.prototype=new n.Component).__c=function(t,e){var i=e.__c,n=this;null==n.o&&(n.o=[]),n.o.push(i);var s=S(n.__v),o=!1,r=function(){o||n.__z||(o=!0,i.__R=null,s?s(l):l())};i.__R=r;var a=i.__P;i.__P=null;var l=function(){if(! --n.__u){if(n.state.__a){var t=n.state.__a;n.__v.__k[0]=C(t,t.__c.__P,t.__c.__O)}var e;for(n.setState({__a:n.__b=null});e=n.o.pop();)e.__P=a,e.forceUpdate()}};n.__u++||32&e.__u||n.setState({__a:n.__b=n.__v.__k[0]}),t.then(r,r)},T.prototype.componentWillUnmount=function(){this.o=[]},T.prototype.render=function(t,e){if(this.__b){if(this.__v.__k){var i=document.createElement("div"),s=this.__v.__k[0].__c;this.__v.__k[0]=E(this.__b,i,s.__O=s.__P)}this.__b=null}var o=e.__a&&(0,n.createElement)(n.Fragment,null,t.fallback);return o&&(o.__u&=-33),[(0,n.createElement)(n.Fragment,null,e.__a?null:t.children),o]};var L=function(t,e,i){if(++i[1]===i[0]&&t.l.delete(e),t.props.revealOrder&&("t"!==t.props.revealOrder[0]||!t.l.size))for(i=t.i;i;){for(;i.length>3;)i.pop()();if(i[1]<i[0])break;t.i=i=i[2]}};function I(t){return this.getChildContext=function(){return t.context},t.children}function M(t){var e=this,i=t.h;if(e.componentWillUnmount=function(){(0,n.render)(null,e.v),e.v=null,e.h=null},e.h&&e.h!==i&&e.componentWillUnmount(),!e.v){for(var s=e.__v;null!==s&&!s.__m&&null!==s.__;)s=s.__;e.h=i,e.v={nodeType:1,parentNode:i,childNodes:[],__k:{__m:s.__m},contains:function(){return!0},namespaceURI:i.namespaceURI,insertBefore:function(t,i){this.childNodes.push(t),e.h.insertBefore(t,i)},removeChild:function(t){this.childNodes.splice(this.childNodes.indexOf(t)>>>1,1),e.h.removeChild(t)}}}(0,n.render)((0,n.createElement)(I,{context:e.context},t.__v),e.v)}function D(t,e){var i=(0,n.createElement)(M,{__v:t,h:e});return i.containerInfo=e,i}(A.prototype=new n.Component).__a=function(t){var e=this,i=S(e.__v),n=e.l.get(t);return n[0]++,function(s){var o=function(){e.props.revealOrder?(n.push(s),L(e,t,n)):s()};i?i(o):o()}},A.prototype.render=function(t){this.i=null,this.l=new Map;var e=(0,n.toChildArray)(t.children);t.revealOrder&&"b"===t.revealOrder[0]&&e.reverse();for(var i=e.length;i--;)this.l.set(e[i],this.i=[1,0,this.i]);return t.children},A.prototype.componentDidUpdate=A.prototype.componentDidMount=function(){var t=this;this.l.forEach((function(e,i){L(t,i,e)}))};var k="undefined"!=typeof Symbol&&Symbol.for&&Symbol.for("react.element")||60103,O=/^(?:accent|alignment|arabic|baseline|cap|clip(?!PathU)|color|dominant|fill|flood|font|glyph(?!R)|horiz|image(!S)|letter|lighting|marker(?!H|W|U)|overline|paint|pointer|shape|stop|strikethrough|stroke|text(?!L)|transform|underline|unicode|units|v|vector|vert|word|writing|x(?!C))[A-Z]/,x=/^on(Ani|Tra|Tou|BeforeInp|Compo)/,B=/[A-Z0-9]/g,R="undefined"!=typeof document,W=function(t){return("undefined"!=typeof Symbol&&"symbol"==typeof Symbol()?/fil|che|rad/:/fil|che|ra/).test(t)};function F(t,e,i){return null==e.__k&&(e.textContent=""),(0,n.render)(t,e),"function"==typeof i&&i(),t?t.__c:null}function N(t,e,i){return(0,n.hydrate)(t,e),"function"==typeof i&&i(),t?t.__c:null}n.Component.prototype.isReactComponent=!0,["componentWillMount","componentWillReceiveProps","componentWillUpdate"].forEach((function(t){Object.defineProperty(n.Component.prototype,t,{configurable:!0,get:function(){return this["UNSAFE_"+t]}
163,set:function(e){Object.defineProperty(this,t,{configurable:!0,writable:!0,value:e})}})}));var H=n.options.event;n.options.event=function(t){return H&&(t=H(t)),t.persist=function(){},t.isPropagationStopped=function(){return this.cancelBubble},t.isDefaultPrevented=function(){return this.defaultPrevented},t.nativeEvent=t};var V,$={configurable:!0,get:function(){return this.class}},j=n.options.vnode;n.options.vnode=function(t){"string"==typeof t.type&&function(t){var e=t.props,i=t.type,s={},o=-1==i.indexOf("-");for(var r in e){var a=e[r];if(!("value"===r&&"defaultValue"in e&&null==a||R&&"children"===r&&"noscript"===i||"class"===r||"className"===r)){var l=r.toLowerCase();"defaultValue"===r&&"value"in e&&null==e.value?r="value":"download"===r&&!0===a?a="":"translate"===l&&"no"===a?a=!1:"o"===l[0]&&"n"===l[1]?"ondoubleclick"===l?r="ondblclick":"onchange"!==l||"input"!==i&&"textarea"!==i||W(e.type)?"onfocus"===l?r="onfocusin":"onblur"===l?r="onfocusout":x.test(r)&&(r=l):l=r="oninput":o&&O.test(r)?r=r.replace(B,"-$&").toLowerCase():null===a&&(a=void 0),"oninput"===l&&s[r=l]&&(r="oninputCapture"),s[r]=a}}"select"==i&&(s.multiple&&Array.isArray(s.value)&&(s.value=(0,n.toChildArray)(e.children).forEach((function(t){t.props.selected=-1!=s.value.indexOf(t.props.value)}))),null!=s.defaultValue&&(s.value=(0,n.toChildArray)(e.children).forEach((function(t){t.props.selected=s.multiple?-1!=s.defaultValue.indexOf(t.props.value):s.defaultValue==t.props.value})))),e.class&&!e.className?(s.class=e.class,Object.defineProperty(s,"className",$)):e.className&&(s.class=s.className=e.className),t.props=s}(t),t.$$typeof=k,j&&j(t)};var U=n.options.__r;n.options.__r=function(t){U&&U(t),V=t.__c};var z=n.options.diffed;n.options.diffed=function(t){z&&z(t);var e=t.props,i=t.__e;null!=i&&"textarea"===t.type&&"value"in e&&e.value!==i.value&&(i.value=null==e.value?"":e.value),V=null};var q={ReactCurrentDispatcher:{current:{readContext:function(t){return V.__n[t.__c].props.value},useCallback:s.useCallback,useContext:s.useContext,useDebugValue:s.useDebugValue,useDeferredValue:u,useEffect:s.useEffect,useId:s.useId,useImperativeHandle:s.useImperativeHandle,useInsertionEffect:d,useLayoutEffect:s.useLayoutEffect,useMemo:s.useMemo,useReducer:s.useReducer,useRef:s.useRef,useState:s.useState,useSyncExternalStore:a,useTransition:c}}},K="18.3.1";function G(t){return n.createElement.bind(null,t)}function Y(t){return!!t&&t.$$typeof===k}function Q(t){return Y(t)&&t.type===n.Fragment}function X(t){return!!t&&"string"==typeof t.displayName&&0==t.displayName.indexOf("Memo(")}function J(t){return Y(t)?n.cloneElement.apply(null,arguments):t}function Z(t){return!!t.__k&&((0,n.render)(null,t),!0)}function tt(t){return t&&(t.base||1===t.nodeType&&t)||null}var et=function(t,e){return t(e)},it=function(t,e){var i=n.options.debounceRendering;n.options.debounceRendering=function(t){return t()};var s=t(e);return n.options.debounceRendering=i,s},nt=Y,st={useState:s.useState,useId:s.useId,useReducer:s.useReducer,useEffect:s.useEffect,useLayoutEffect:s.useLayoutEffect,useInsertionEffect:d,useTransition:c,useDeferredValue:u,useSyncExternalStore:a,startTransition:h,useRef:s.useRef,useImperativeHandle:s.useImperativeHandle,useMemo:s.useMemo,useCallback:s.useCallback,useContext:s.useContext,useDebugValue:s.useDebugValue,version:"18.3.1",Children:v,render:F,hydrate:N,unmountComponentAtNode:Z,createPortal:D,createElement:n.createElement,createContext:n.createContext,createFactory:G,cloneElement:J,createRef:n.createRef,Fragment:n.Fragment,isValidElement:Y,isElement:nt,isFragment:Q,isMemo:X,findDOMNode:tt,Component:n.Component,PureComponent:p,memo:m,forwardRef:y,flushSync:it,unstable_batchedUpdates:et,StrictMode:n.Fragment,Suspense:T,SuspenseList:A,lazy:P,__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED:q}},(t,e,i)=>{let n;i.d(e,{z:()=>s});try{n=self,n.self!==n&&void 0!==n.self&&"undefined"!=typeof window&&(n=window)}catch(t){n="undefined"!=typeof globalThis?globalThis:window}const s=n},,(t,e,i)=>{i.d(e,{Bx:()=>h,DM:()=>c,Et:()=>l,Kg:()=>o,Tn:()=>p,gD:()=>n,jw:()=>r,n9:()=>s,uI:()=>a,uu:()=>d}),Number.NaN;var n=t=>(t=>null===t)(t)||(t=>void 0===t)(t),s=t=>!n(t),o=t=>"string"==typeof t,r=t=>o(t)&&""===t,a=t=>o(t)&&!r(t),l=t=>"number"==typeof t,h=t=>!l(t),u=t=>s(t)&&"object"==typeof t&&!(t instanceof Array),c=t=>u(t)&&0===Object.keys(t).length,d=t=>u(t)&&Object.keys(t).length>0,p=t=>s(t)&&"function"==typeof t},(t,e,i)=>{i.d(e,{K6:()=>l,bJ:()=>h,cO:()=>r,hu:()=>c,s1:()=>a,ui:()=>u});var n=i(7),s=i(9),o=i(10);const r="#2949E5",a={nonText:3,largeText:3,paragraphText:4.5,smallText:5.5,backgroundColorWhereNonTextHitAreaContentsHaveProperContrast:2},l=t=>{let e=t;if(t instanceof s.Q1){if((0,n.gD)(t.r)||(0,n.gD)(t.g)||(0,n.gD)(t.b))throw new Error("Color does not contain required RGB values");e=[t.r,t.g,t.b]}else if("string"==typeof t){const i=new s.Q1(t);if((0,n.gD)(i.r)||(0,n.gD)(i.g)||(0,n.gD)(i.b))throw new Error("Color does not contain required RGB values");e=[i.r,i.g,i.b]}const i=e[0]/255,o=e[1]/255,r=e[2]/255,a=Math.max(i,o,r),l=Math.min(i,o,r);let h=0,u=0;const c=(a+l)/2;a===l&&(h=0,u=0);const d=a-l;return 0===d?{hue:h,saturation:u,lightness:100*i}:(u=c>.5?d/(2-a-l):d/(a+l),h=a===i?(o-r)/d+(o<r?6:0):a===o?(r-i)/d+2:(i-o)/d+4,h/=6,{hue:360*h,saturation:100*u,lightness:100*c})},h=(t,e)=>{const i=new s.Q1(t),n=new s.Q1(e),o=i.getRelativeLuminance(),r=n.getRelativeLuminance(),a=o>r?(o+.05)/(r+.05):(r+.05)/(o+.05);return Number.parseFloat(a.toFixed(3))},u=(t,e,i="paragraphText")=>{const r=new s.Q1(t),u=new s.Q1(e);if((0,n.gD)(r.r)||(0,n.gD)(r.g)||(0,n.gD)(r.b))throw new Error("Color does not contain required RGB values");const c=h(r.toHexWithHash(),u.toHexWithHash());if(r.hasAccessibleContrast(u,i))return r.toHexWithHash();const{lightness:d}=l([r.r,r.g,r.b]),p=new s.Q1(r).lighten(1),m=new s.Q1(r).darken(1);let g=d<15||p.getContrastRatio(u)>m.getContrastRatio(u);d>75&&1===c&&(g=!1);let f=new s.Q1(r),y=0;for(;!f.hasAccessibleContrast(u,i);){if(y+=1,y>1e3)return(0,o.N7)("other",new Error(`Exceeded ${y}
163 attempts to find contrasting color`),{key:"adjust-color-for-proper-contrast",foregroundColor:r.toHexWithHash(),backgroundColor:u.toHexWithHash()}),f.toHexWithHash();const t=f.getRelativeLuminance();if(y>1&&(1===t||0===t)){if(a[i]>3)return h("#fff",u.toHexWithHash())>h("#000",u.toHexWithHash())?"#fff":"#000";g=!g,f=new s.Q1(r)}g?f.lighten(1):f.darken(1)}return f.toHexWithHash()},c=(t,e,i)=>{const n=new s.Q1(t),{searchParams:o}=new URL(window.location.toString()),r=Boolean(o.get("useAccessiblePlayerIconColor")??!1);return i||!r&&!e||new s.Q1("#fff").getContrastRatio(n)>=a.paragraphText?"#ffffff":u(t,t,"paragraphText")}},(t,e,i)=>{i.d(e,{Q1:()=>u});var n=i(8);const s=/^#?([0-9a-f]{3,4}|[0-9a-f]{6,8})$/i,o=/^rgba?\((\d{1,3}(?:\.\d+)?%?),\s*(\d{1,3}(?:\.\d+)?%?),\s*(\d{1,3}(?:\.\d+)?%?)(?:,\s*([01]?\.?\d*))?\)$/,r=/^\d+(\.\d+)*%$/,a=/([0-9a-f])/gi,l=t=>r.test(t)?2.55*parseFloat(t):t,h=(t,e,i)=>(i<0&&(i+=1),i>1&&(i-=1),i<1/6?t+6*(e-t)*i:i<.5?e:i<2/3?t+(e-t)*(2/3-i)*6:t);class u{constructor(t){t instanceof u?(this.r=t.r,this.g=t.g,this.b=t.b,this.a=t.a):t?this.parse(t):(this.r=this.g=this.b=0,this.a=1)}parse(t){let e=!1;if(Array.isArray(t))this.r=t[0],this.g=t[1],this.b=t[2],this.a=t[3]??1,e=!0;else{const i=String(t).replace(/\s+/g,"");if(s.test(i)){let t=i.replace(/^#/,"");3!==t.length&&4!==t.length||(t=t.replace(a,"$1$1")),this.r=parseInt(t.substr(0,2),16),this.g=parseInt(t.substr(2,2),16),this.b=parseInt(t.substr(4,2),16),8===t.length?this.a=parseInt(t.substr(6,2),16)/255:this.a=1,e=!0}else if(o.test(i)){const t=i.match(o);this.r=parseFloat(l(t[1])),this.g=parseFloat(l(t[2])),this.b=parseFloat(l(t[3])),t[4]?this.a=parseFloat(t[4]):this.a=1,e=!0}}return(!e||isNaN(this.r)||isNaN(this.g)||isNaN(this.b)||isNaN(this.a)||this.r<0||this.g<0||this.b<0||this.a<0)&&(this.r=41,this.g=73,this.b=229,this.a=1,console.error(`An invalid color was provided, ${t.toString()}, using default color instead.`)),this}clone(){return new u(this)}_hslFromRgb(){const{hue:t,saturation:e,lightness:i}=(0,n.K6)([this.r,this.g,this.b]);return this._h=t,this._s=e,this._l=i,this}_rgbFromHsl(){const t=this._h/360,e=this._s/100,i=this._l/100,n=i<.5?i*(1+e):i+e-i*e,s=2*i-n;return this.r=255*h(s,n,t+1/3),this.g=255*h(s,n,t),this.b=255*h(s,n,t-1/3),this}blendChannel(t,e,i,n){return n?(this[t]=Math.sqrt(this[t]**2*(1-i)+e**2*i),this):(this[t]=i*e+(1-i)*this[t],this)}blend(t,e,i){return t=new u(t),this.blendChannel("r",t.r,e,i),this.blendChannel("g",t.g,e,i),this.blendChannel("b",t.b,e,i),this}getContrastRatio(t){return Number.parseFloat((0,n.bJ)(this.toHexWithHash(),new u(t).toHexWithHash()).toFixed(3))}hasAccessibleContrast(t,e){return this.getContrastRatio(t)>=n.s1[e]}hue(){return this._hslFromRgb(),this._h}lightenChannel(t,e){return this[t]+=e,this[t]<0?this[t]=0:this[t]>255&&(this[t]=255),this}lighten(t){return this.looksLikePercent(t)?this.lightness(this.lightness()+parseFloat(t)):(this.lightenChannel("r",t),this.lightenChannel("g",t),this.lightenChannel("b",t)),this}darken(t){return"string"==typeof t?this.lighten(`-${t}`):this.lighten(-t)}looksLikePercent(t){return/^-?\d+(\.\d+)?%$/.test(t)}lightness(t){return this._hslFromRgb(),null!=t?(this._l=Math.max(0,Math.min(100,t)),this._rgbFromHsl(),this):this._l}saturation(t){return this._hslFromRgb(),null!=t?(this._s=Math.max(0,Math.min(100,t)),this._rgbFromHsl(),this):this._s}setHue(t){if(this._hslFromRgb(),null!=t)return this._h=Math.max(0,Math.min(360,t)),this._rgbFromHsl(),this}shade(t,e){return this.blend("#000000",t,e)}grayLevel(){return(.299*this.r+.587*this.g+.114*this.b)/255}tint(t,e){return this.blend("#ffffff",t,e)}whiteLevel(){return Math.min(Math.min(this.r,this.g),this.b)}getRelativeLuminance(){const t=t=>{const e=.003921569*t;return e<=.03928?e/12.92:((e+.055)/1.055)**2.4},e=t(this.r),i=t(this.g),n=t(this.b);return Math.min(.2126*e+.7152*i+.0722*n,1)}isDark(t){return t?this.getRelativeLuminance()<.15:this.grayLevel()<=.4}isLight(t){return t?this.getRelativeLuminance()>=.8:this.grayLevel()>.4}isGrayscale(){return this.r===this.g&&this.g===this.b}distanceFrom(t){return Math.sqrt((this.r-t.r)**2+(this.g-t.g)**2+(this.b-t.b)**2)}channelDominance(){return["r","g","b"].sort(((t,e)=>this[e]-this[t]))}alpha(t){return null!=t?(this.a=t,this):this.a}red(t){return null!=t?(this.r=t,this):this.r}green(t){return null!=t?(this.g=t,this):this.g}blue(t){return null!=t?(this.b=t,this):this.b}toHex(){let t=Math.round(this.r).toString(16),e=Math.round(this.g).toString(16),i=Math.round(this.b).toString(16);return 1===t.length&&(t=`0${t}`),1===e.length&&(e=`0${e}`),1===i.length&&(i=`0${i}`),`${t}${e}${i}`}toHexWithAlpha(){let t=Math.round(255*this.a).toString(16);return 1===t.length&&(t=`0${t}`),`${t}${this.toHex()}`}toHexWithHash(){return`#${this.toHex()}`}toRgb(){return`rgb(${Math.round(this.r)},${Math.round(this.g)},${Math.round(this.b)})`}toRgba(){return`rgba(${Math.round(this.r)},${Math.round(this.g)},${Math.round(this.b)},${this.a})`}toRgbaOrHex(){return this.toRgba()}toPercent(){return`rgba(${this.r/255*100}%,${this.g/255*100}%,${this.b/255*100}%,${this.a})`}toIeGradient(){return`progid:DXImageTransform.Microsoft.gradient(startColorStr='#${this.toHexWithAlpha()}', endColorStr='#${this.toHexWithAlpha()}')`}toString(){return this.toPercent()}}},(t,e,i)=>{i.d(e,{N7:()=>d,sd:()=>c});var n=i(7),s=i(11),o=i(1),r=i(23),a=i(24),l=i(26);let h=!1;const u=[],c=()=>
163{if(!0===(0,s.isVisitorTrackingEnabled)()&&!window.Sentry&&!o.Wistia.isSentryInitialized&&!h){h=!0;const t=document.createElement("script");t.src="https://browser.sentry-cdn.com/9.6.1/bundle.min.js",t.crossOrigin="anonymous",t.integrity="sha384-kbRmCeIl7Uxr+vT9YhSAdguCdd4L5QPRj7jzQTanorUVVlw/Y5X9vtzVyOEHLfpH",t.onload=()=>(()=>{if((0,n.gD)(window.Sentry)||(0,n.gD)(window.Sentry.BrowserClient)||(0,n.gD)(window.Sentry.makeFetchTransport)||(0,n.gD)(window.Sentry.defaultStackParser)||(0,n.gD)(window.Sentry.Scope))return;const t=new window.Sentry.BrowserClient({dsn:"https://a3591ba5e949a37083cc6f5a4191e903@o4505518331658240.ingest.us.sentry.io/4505794284290048",transport:window.Sentry.makeFetchTransport,stackParser:window.Sentry.defaultStackParser,integrations:[window.Sentry.httpContextIntegration()],release:(0,n.uI)(a.TAGGED_VERSION)?a.TAGGED_VERSION:a.CURRENT_SHA}),e=new window.Sentry.Scope;e.setClient(t),e.setTags({pillar:"publish"}),o.Wistia._sentryScope=e,t.init(),o.Wistia.isSentryInitialized=!0,u.length>0&&(0,l.countMetric)("player/buffered-sentry-errors",u.length),u.forEach((t=>{d(t.product,t.error,{...t.details,isBuffered:"true"})})),u.length=0,g(),f()})(),document.head.appendChild(t)}},d=(t,e,i)=>{try{if(!0!==(0,s.isVisitorTrackingEnabled)())return;if(!o.Wistia.isSentryInitialized)return c(),void(u.length<50&&u.push({details:i,error:e,product:t}));const a="mediaPlayback"===(r=t)?.001:"hlsPlayback"===r?.01:1;let l=!1;const h=(0,n.gD)(window.crypto)?window.msCrypto:window.crypto;l=void 0!==h?h.getRandomValues(new Uint32Array(1))[0]/4294967296<a:Math.random()<a,l?(0,s.isVisitorTrackingEnabled)()&&(o.Wistia._sentryScope.clear(),o.Wistia._sentryScope.setTag("pillar","publish"),o.Wistia._sentryScope.setTag("product",t),(0,n.uu)(i)&&o.Wistia._sentryScope.setTags(i),o.Wistia._sentryScope.setTag("url",window.location.href),o.Wistia._sentryScope.captureException(e)):console.error(e)}catch(t){console.error(t)}var r},p=t=>{const e=t.error;if(!(e instanceof Error))return;const i=t.error?.source??"",n=(0,r.Ni)("fast");i.includes(n)&&d("globalListener",e)},m=t=>{const e=t.reason;e instanceof Error&&(t.reason?.stack??"").includes((0,r.Ni)("fast"))&&d("globalListener",e)},g=()=>{o.Wistia._isListeningForGlobalErrors||(window.addEventListener("error",p),o.Wistia._isListeningForGlobalErrors=!0)},f=()=>{o.Wistia._isListeningForGlobalUnhandledRejections||(window.addEventListener("unhandledrejection",m),o.Wistia._isListeningForGlobalUnhandledRejections=!0)}},(t,e,i)=>{i.d(e,{consent:()=>a,isVisitorTrackingEnabled:()=>h});var n=i(12),s=i(17),o=i(19),r=i(1);r.Wistia._visitorTrackingDomain||(r.Wistia._visitorTrackingDomain=location.hostname||""),r.Wistia._visitorTracking||((()=>{const t=(0,s.y1)().visitorTrackingEnabled;null!=t&&((0,s.$B)((t=>delete t.visitorTrackingEnabled)),r.Wistia._visitorTracking={},r.Wistia._visitorTracking[r.Wistia._visitorTrackingDomain]={isEnabled:t,updatedAt:Date.now()},(0,s.$B)((t=>t.visitorTracking=r.Wistia._visitorTracking)))})(),r.Wistia._visitorTracking=(0,s.y1)().visitorTracking||{});const a=t=>null==t?h():l(t);r.Wistia.consent=a;const l=(t,e=r.Wistia._visitorTrackingDomain)=>{"default"===t?delete r.Wistia._visitorTracking[e]:r.Wistia._visitorTracking[e]={isEnabled:"true"==`${t}`,updatedAt:Date.now()},(0,s.$B)((t=>t.visitorTracking=r.Wistia._visitorTracking)),(0,n.mj)("visitortrackingchange",t),[...document.getElementsByTagName("wistia-player")].forEach((e=>{e.dispatchEvent(new CustomEvent("visitor-tracking-change",{detail:{isTrackingEnabled:t}}))}))},h=()=>{if("boolean"==typeof r.Wistia._visitorTracking)return r.Wistia._visitorTracking;if(r.Wistia._visitorTracking){const t=(()=>{if(r.Wistia._visitorTrackingDomain){const t=r.Wistia._visitorTrackingDomain.split(".");for(;t.length>0;){const e=r.Wistia._visitorTracking[t.join(".")],i=e&&e.isEnabled;if(null!=i)return i;t.shift()}}})();if(null!=t)return Boolean(t)}const t=(0,o.bp)();if(r.Wistia.channel&&r.Wistia.channel.all)try{t.push(...r.Wistia.channel.all())}catch(t){}return!(t.some((t=>!0===(t._mediaData||t._galleryData||{}).privacyMode))||u())},u=()=>Object.values(r.Wistia._privacyModeSources||{}).some(Boolean)},(t,e,i)=>{i.d(e,{PD:()=>o,mj:()=>l,tJ:()=>r,vs:()=>a});var n=i(13),s=i(1);(0,n.R)(s.Wistia);const o=s.Wistia.bind.bind(s.Wistia),r=s.Wistia.on.bind(s.Wistia),a=s.Wistia.off.bind(s.Wistia),l=(s.Wistia.rebind.bind(s.Wistia),s.Wistia.trigger.bind(s.Wistia));s.Wistia.unbind.bind(s.Wistia)},(t,e,i)=>{i.d(e,{R:()=>r});var n=i(14),s=i(1),o=i(15);s.Wistia.bindable||(s.Wistia.EventShepherdManager||(s.Wistia.EventShepherdManager={}),s.Wistia.bindable={bind(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),this;if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),this;const i=this.embedElement||this.container;if(Object.keys(o.h).includes(t)&&i){const n=a(i);return void 0===s.Wistia.EventShepherdManager[n]&&(s.Wistia.EventShepherdManager[n]=new o.S),s.Wistia.EventShepherdManager[n].addListener(t,i,e),this}if(e)return n.oI.call(this,t,e),this;s.Wistia.warn&&s.Wistia.warn(this.constructor.name,"bind","falsey value passed in as callback:",e)},unbind(t,e){if("crosstime"===t&&this.crossTime)return e?this.crossTime.removeBinding(arguments[1],arguments[2]):this.crossTime.removeAllBindings(),this;if("betweentimes"===t&&this.betweenTimes)return e?this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]):this.betweenTimes.removeAllBindings(),this;const i=this.embedElement||this.container;if(Object.keys(o.h).includes(t)&&i){const n=a(i);return void 0===s.Wistia.EventShepherdManager[n]||s.Wistia.EventShepherdManager[n].removeListener(t,i,e),this}return e?n.Nw.call(this,t,e):this._bindings&&(this._bindings[t]=[]),this._bindings&&this._bindings[t]&&!this._bindings[t].length&&(this._bindings[t]=null,delete this._bindings[t]),this},on(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.addBinding(arguments[1],arguments[2]),()=>{this.crossTime.removeBinding(arguments[1],arguments[2])};if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.addBinding(arguments[1],arguments[2],arguments[3]),()=>{this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3])};const i=this.embedElement||this.container;if(Object.keys(o.h).includes(t)&&i){const n=a(i);return void 0===s.Wistia.EventShepherdManager[n]&&(s.Wistia.EventShepherdManager[n]=new o.S(i)),s.Wistia.EventShepherdManager[n].addListener(t,i,e),()=>{s.Wistia.EventShepherdManager[n].removeListener(t,i,e)}}return n.oI.call(this,t,e)},off(t,e){if("crosstime"===t&&this.crossTime)return this.crossTime.removeBinding(arguments[1],arguments[2]);if("betweentimes"===t&&this.betweenTimes)return this.betweenTimes.removeBinding(arguments[1],arguments[2],arguments[3]);const i=this.embedElement||this.container;if(Object.keys(o.h).includes(t)&&i){const n=a(i);return void 0===s.Wistia.EventShepherdManager[n]?()=>{}:s.Wistia.EventShepherdManager[n].removeListener(t,i,e)}return n.Nw.call(this,t,e)},rebind(t,e){return this.unbind(t,e),this.bind(t,e),this},trigger(t,...e){return n.hZ.call(this,t,...e),this},bindNamed(){return n.RX.apply(this,arguments)},unbindNamed(){return n._Z.apply(this,arguments)},unbindAllInNamespace(){return n.E0.apply(this,arguments)}});const r=function(t){for(let e in s.Wistia.bindable){const i=s.Wistia.bindable[e];t[e]||(t[e]=i)}},a=function(t){return t?.mediaId?t.mediaId:t?.id?t.id:void 0}},(t,e,i)=>{i.d(e,{E0:()=>m,Nw:()=>a,RX:()=>d,Ut:()=>f,_Z:()=>p,hZ:()=>h,oI:()=>r});var n=i(1),s=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const o=Array.prototype.slice,r=function(t,e){const i=this;return i._bindings||(i._bindings={}),i._bindings[t]||(i._bindings[t]=[]),i._bindings[t].push(e),function(){i.unbind(t,e)}},a=function(t,e){if(!this._bindings)return this;if(!this._bindings[t])return this;const i=[];for(let n=0;n<this._bindings[t].length;n++){let s=this._bindings[t][n];s!==e&&i.push(s)}this._bindings[t]=i},l=function(t,e){return this.unbind(t,e),this.bind(t,e),{event:t,fn:e}},h=function(t,...e){return this._bindings&&null!=this._bindings.all&&u.apply(this,["all",t].concat(e)),u.apply(this,[t].concat(e))},u=function(t){if(!this._bindings)return this;if(!this._bindings[t])return this;
163const e=o.call(arguments,1);let i;const s=[...this._bindings[t]];for(let o=0;o<s.length;o++){let r=s[o];try{r.apply(this,e)===this.unbind&&(null==i&&(i=[]),i.push({event:t,fn:r}))}catch(t){if(this._throwTriggerErrors)throw t;n.Wistia.error&&n.Wistia.error(t)}}if(i)for(let t=0;t<i.length;t++){let e=i[t];this.unbind(e.event,e.fn)}return this},c=function(t,e){null==t._namedBindings&&(t._namedBindings={}),null==t._namedBindings[e]&&(t._namedBindings[e]={})},d=function(t,e,i,n){return this.unbindNamed(t,e),function(t,e,i,n,s){c(t,e),t._namedBindings[e][i]={event:n,fn:s}}(this,t,e,i,n),this.bind(i,n),function(){this.unbindNamed(t,e)}},p=function(t,e){c(this,t);const i=function(t,e,i){return c(t,e),t._namedBindings[e][i]}(this,t,e);if(i){const{event:t,fn:e}=i;this.unbind(t,e)}const n=this._namedBindings;return delete n[t][e],g(n[t])&&delete n[t],this},m=function(t){const e=this._namedBindings&&this._namedBindings[t];if(null==e)return this;for(let i in e)s(e,i)&&this.unbindNamed(t,i)},g=function(t){for(let e in t)if(s(t,e))return!1;return!0},f=function(t){return t.bind=r,t.unbind=a,t.on=r,t.off=a,t.rebind=l,t.trigger=h,t.bindNamed=d,t.unbindNamed=p,t.unbindAllInNamespace=m,t};f(function(){}.prototype)},(t,e,i)=>{i.d(e,{S:()=>o,h:()=>n});const n={mutechange:i(16).MUTE_CHANGE_EVENT},s={mutechange:t=>t.isMuted};class o{constructor(){var t,e,i;t=this,i={},(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e="convertedEventsMap"))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}addListener(t,e,i){const o=n[t]??t;this.convertedEventsMap[o]??=[];const r=e=>{if(s[t]){const n=s[t](e.detail);i(n)}else i()};this.convertedEventsMap[o].push({givenCallback:i,eventListenerCallback:r}),e.addEventListener(o,r)}removeAllListeners(t){Object.keys(this.convertedEventsMap).forEach((e=>{this.convertedEventsMap[e]?.forEach((i=>{t.removeEventListener(e,i.eventListenerCallback)})),this.convertedEventsMap[e]=[]}))}removeListener(t,e,i){const s=n[t]??t,o=[];i?(e.removeEventListener(s,i),this.convertedEventsMap[s]&&(this.convertedEventsMap[s].forEac
163h(((t,n)=>{t.givenCallback===i&&(o.push(n),e.removeEventListener(s,t.eventListenerCallback))})),o.forEach((t=>{this.convertedEventsMap[s]&&this.convertedEventsMap[s].splice(t,1)})))):this.convertedEventsMap[s]=[]}}},(t,e,i)=>{i.r(e),i.d(e,{AFTER_REPLACE_EVENT:()=>n,API_READY_EVENT:()=>s,BEFORE_REPLACE_EVENT:()=>o,BETWEENTIMES_EVENT_EV1:()=>r,CROSSTIME_EVENT_EV1:()=>a,EMBED_OPTIONS_CHANGED_EVENT:()=>l,IMPL_CREATED_EVENT:()=>h,INIT_EMBED_EVENT:()=>u,INPUT_CONTEXT_CHANGE_EVENT:()=>c,INTERNAL_API_CREATED_EVENT:()=>d,INTERNAL_API_ON_FIND_EVENT:()=>p,LOADED_MEDIA_DATA_EVENT:()=>m,MUTE_CHANGE_EVENT:()=>g,PLAYER_COLOR_CHANGE_EVENT:()=>f,TIME_UPDATE_EVENT:()=>y});const n="after-replace",s="api-ready",o="before-replace",r="betweentimes",a="crosstime",l="embed-options-changed",h="impl-created",u="initembed",c="input-context-change",d="internal-api-created",p="internal-api-on-find",m="loaded-media-data",g="mute-change",f="playercolorchange",y="time-update"},(t,e,i)=>{i.d(e,{$B:()=>a,y1:()=>r});var n=i(18),s=i(1);const o="wistia",r=()=>(0,n.Lg)(o),a=t=>(s.Wistia._localStorage=(0,n.yo)(o,t),s.Wistia._localStorage)},(t,e,i)=>{i.d(e,{$1:()=>h,Lg:()=>l,yo:()=>u});var n=i(1);const s=t=>{setTimeout((()=>{throw t}),0)},o="_namespacedLocalStorage",r=(t="wistia-test-localstorage")=>{try{if("undefined"==typeof localStorage)return!1;if(null!=n.Wistia._localStorageWorks)return n.Wistia._localStorageWorks;const e=localStorage.getItem(t);localStorage.removeItem(t),localStorage.setItem(t,e),localStorage.removeItem(t),n.Wistia._localStorageWorks=!0}catch(t){n.Wistia._localStorageWorks=!1}return n.Wistia._localStorageWorks},a=()=>(null==n.Wistia[o]&&(n.Wistia[o]={}),n.Wistia[o]),l=t=>{if(!r())return a()[t]||{};if(localStorage[t])try{return"null"===localStorage[t]?{}:JSON.parse(localStorage[t])}catch(t){s(t)}return{}},h=t=>{if(r())try{localStorage.removeItem(t)}catch(t){s(t)}else a()[t]={}},u=(t,e)=>{const i=l(t);try{e(i)}catch(t){s(t)}return((t,e)=>{if(!r())return null!=e&&"object"==typeof e&&(a()[t]=e),e;try{a()[t]=e,localStorage[t]=JSON.stringify(e)}catch(t){s(t)}return e})(t,i)}},(t,e,i)=>{i.d(e,{D9:()=>h,FY:()=>l,bp:()=>a,k$:()=>u});var n=i(83),s=i(20),o=i(21),r=i(84);const a=()=>(void 0===(0,o.wData)("video")?[]:Object.values((0,o.wData)("video"))).concat(void 0===(0,o.wData)("iframe_api")?[]:Object.values((0,o.wData)("iframe_api"))),l=t=>{if(void 0===t)return a()[0]??null;let e=null;if("string"==typeof t){const i=t;if(e=document.querySelector(`[unique-id='${i}']`)??document.getElementById(i),null===e){const t=a().find((t=>{if(t.hashedId()?.startsWith(i)||t.container?.id.startsWith(i))return t;if("mediaLanguages"in t&&"languageToLocalization"in t){if(t.mediaLanguages().some((e=>{const n=t.languageToLocalization(e);return null!=n&&(0,r.G)(n.hashedId).startsWith(i)})))return t;if((0,r.G)(t._mediaData?.sourceHashedId).startsWith(i))return t}return null}));"removed"!==t&&(e=t?.container??null)}}else if("number"==typeof t){let i=t;const n=a();i<0&&(i=n.length+i);const s=n[i];void 0!==s&&"removed"!==s&&(e=s.container??null)}else t instanceof HTMLElement?e=t:s.ct.error("Unrecognized matcher",t);return"WISTIA-PLAYER"===e?.tagName?e.deprecatedApiDoNotUse:void 0!==e?.wistiaApi&&"removed"!==e.wistiaApi?e.wistiaApi:null},h=t=>{let e=null;const i=t,n=a().find((t=>t.hashedId()?.startsWith(i)?t:null));return"removed"!==n&&(e=n?.container??null),"WISTIA-PLAYER"===e?.tagName?e.deprecatedApiDoNotUse:void 0!==e?.wistiaApi&&"removed"!==e.wistiaApi?e.wistiaApi:null},u=()=>[...Array.from((0,n.e)("wistia_embed_initialized")).reduce(((t,e)=>(void 0!==e.wistiaApi&&"removed"!==e.wistiaApi&&null!==e.wistiaApi&&t.push(e.wistiaApi),t)),[]),...Array.from(document.querySelectorAll("wistia-player")).reduce(((t,e)=>(void 0!==e.deprecatedApiDoNotUse&&"removed"!==e.deprecatedApiDoNotUse&&null!==e.deprecatedApiDoNotUse&&t.push(e.deprecatedApiDoNotUse),t)),[])]},(t,e,i)=>{i.d(e,{ct:()=>m,p_:()=>o});var n=i(12),s=i(1);const o={ERROR:0,WARNING:1,NOTICE:2,INFO:3,DEBUG:4,error:0,warning:1,notice:2,info:3,debug:4},r=function(){},a=function(t){const e=this;return null==t&&(t={}),e.error=(...t)=>e.log(0,t),e.warn=(...t)=>e.log(1,t),e.notice=(...t)=>e.log(1,t),e.info=(...t)=>e.log(3,t),e.debug=(...t)=>e.log(4,t),e.ctx=t,e.ctx.initializedAt||e.reset(),e},l=a.prototype;l.reset=function(){this.ctx.level=0,this.ctx.grep=null,this.ctx.grepv=null,this.ctx.first1000LogLines=[],this.ctx.last1000LogLines=[],this.ctx.initializedAt=(new Date).getTime()},l.setLevel=function(t){const e=this.logFunc(3);null!=o[t]?(this.ctx.level=o[t],e(`Log level set to "${t}" (${o[t]})`)):e(`Unknown log level "${t}"`)},l.setGrep=function(t){this.ctx.grep=t},l.setGrepv=function(t){this.ctx.grepv=t},l.first1000LogLines=function(){return this.ctx.first1000LogLines},l.last1000LogLines=function(){return this.ctx.last1000LogLines},l.matchedGrep=function(t){let e=!1;if(this.ctx.grep||this.ctx.grepv){let i=[];for(let e=0;e<t.length;e++)try{let n=t[e];i.push(n.toString&&n.toString())}catch(t){i.push("")}let n=i.join(" "),s=!this.ctx.grep||n.match(this.ctx.grep),o=!this.ctx.grepv||!n.match(this.ctx.grepv);e=s&&o}else e=!0;return e},l.now=function(){return"undefined"!=typeof performance&&"function"==typeof performance.now?performance.now().toFixed(3):Date.now?Date.now()-this.ctx.initializedAt:(new Date).getTime()-this.ctx.initializedAt}
163,l.messagesToLogLine=function(t,e,i){let n,s=[t,e];s=s.concat(i);try{n=s.join(" ")||"",n.length>200&&(n=n.slice(0,200))}catch(t){n="could not serialize"}return n},l.persistLine=function(t){this.ctx.first1000LogLines.length<1e3?this.ctx.first1000LogLines.push(t):(this.ctx.last1000LogLines.length>=1e3&&this.ctx.last1000LogLines.shift(),this.ctx.last1000LogLines.push(t))},l.log=function(t,e){const i=t<=this.ctx.level,s=t<4,o=(i||s)&&this.matchedGrep(e);let r;if(0===t&&(0,n.mj)("problem",{type:"error-logged",data:{messages:e}}),o&&(i||s)&&(r=this.now()),s&&o){const i=this.messagesToLogLine(t,r,e);this.persistLine(i)}if(i&&o){const i=this.logFunc(t);let n;1===e.length&&(n=e[0])instanceof Error?(i(n.message),n.stack&&i(n.stack)):i(...e)}};const h=function(...t){console.error.apply(console,t)},u=function(...t){console.warn.apply(console,t)},c=function(...t){console.info.apply(console,t)},d=function(...t){console.debug.apply(console,t)},p=function(t){console.log.apply(console,t)};l.logFunc=function(t){if(null==t&&(t=this.level),!console)return r;let e;return 0===t?e=h:1===t?e=u:3===t?e=c:4===t&&(e=d),e||(e=p),"function"!=typeof e&&(this.noConsoleLog=!0,e=r),e},l.maybePrefix=function(t,e){if(t){if("function"==typeof t)try{t=t()}catch(e){t=`prefix err "${e.message}"`}return t instanceof Array?t.concat(e):[t].concat(e)}return e},l.getPrefixedFunctions=function(t){return{log:(...e)=>this.log(0,this.maybePrefix(t,e)),error:(...e)=>this.log(0,this.maybePrefix(t,e)),warn:(...e)=>this.log(1,this.maybePrefix(t,e)),notice:(...e)=>this.log(1,this.maybePrefix(t,e)),info:(...e)=>this.log(3,this.maybePrefix(t,e)),debug:(...e)=>this.log(4,this.maybePrefix(t,e))}},s.Wistia&&null==s.Wistia.wlogCtx&&(s.Wistia.wlogCtx={});const m=new a(s.Wistia.wlogCtx)},(t,e,i)=>{i.r(e),i.d(e,{wData:()=>o,wRemoveData:()=>r});var n=i(22),s=i(1);const o=(t,e)=>((0,n.isArray)(t)||(t=t.split(".")),null!=e&&(0,n.setDeep)(s.Wistia,["_data"].concat(t),e),(0,n.getDeep)(s.Wistia,["_data"].concat(t))),r=t=>((0,n.isArray)(t)||(t=t.split(".")),(0,n.unsetDeep)(s.Wistia,["_data"].concat(t)))},(t,e,i)=>{i.r(e),i.d(e,{assign:()=>n.k,cast:()=>y,castDeep:()=>v,clone:()=>u,eachDeep:()=>N,eachLeaf:()=>H,equalsDeep:()=>F,except:()=>w,exists:()=>f,filter:()=>P,getDeep:()=>c,identityFunc:()=>l,indexOf:()=>$,isArray:()=>L,isBasicType:()=>B,isEmpty:()=>R,isFunction:()=>D,isObject:()=>M,isRegExp:()=>O,isSubsetDeep:()=>W,keys:()=>j,legacyShouldDeleteFromMerge:()=>h,merge:()=>r,mergeOne:()=>a,only:()=>b,pick:()=>V,select:()=>E,setAndPreserveUndefined:()=>p,setDeep:()=>d,sort:()=>S,unsetDeep:()=>g,values:()=>T});var n=i(27),s=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const o=Array.prototype.slice,r=(t,...e)=>{if(0===e.length)return t;for(let i=0;i<e.length;i++)a(t,e[i]);return t},a=(t,e,i=l,n=h)=>{if(L(e)){L(t)||(t=[]);for(let s=0;s<e.length;s++){let o=e[s];null==t[s]&&null!=o&&(L(o)?t[s]=[]:M(o)&&(t[s]={}));const r=a(t[s],o,i);n(e,s,r)?delete t[s]:t[s]=r}return i(t)}if(M(e)){for(let o in e)if(s(e,o)&&(s(t,o)||null==t[o])){let s=e[o];L(s)?(L(t[o])||(t[o]=[]),a(t[o],s,i),t[o]=i(t[o])):M(s)?(M(t[o])||(t[o]={}),a(t[o],s,i),t[o]=i(t[o])):null==t?(t={}
163,n(e,o,s)||(t[o]=i(s))):n(e,o,s)?delete t[o]:t[o]=i(s)}return i(t)}return i(e)},l=t=>t,h=(t,e,i)=>null==i,u=(t,e)=>L(t)?a([],t,e):a({},t,e),c=(t,e,i)=>{e="string"==typeof e?e.split("."):o.call(e);let n,r=t;for(;null!=t&&e.length;){let o=e.shift();void 0!==t[o]&&(M(t[o])||L(t[o]))||!i||(0===o?(t=r[n]=[])[o]={}:t[o]={}),r=t,n=o,t=s(t,o)?t[o]:void 0}return t},d=(t,e,i)=>m(t,e,i,!0),p=(t,e,i)=>m(t,e,i,!1),m=(t,e,i,n=!0)=>{const s=(e="string"==typeof e?e.split("."):o.call(e)).pop();null!=(t=c(t,e,!0))&&(M(t)||L(t))&&null!=s&&(n&&null==i?delete t[s]:t[s]=i)},g=(t,e)=>d(t,e),f=(t,e)=>void 0!==c(t,e),y=t=>null==t?t:M(t)||L(t)?v(t):_(`${t}`,t),_=(t,e=t)=>/^-?[1-9]\d*?$/.test(t)?parseInt(t,10):"0"===t||"-0"===t?0:/^-?\d*\.\d+$/.test(t)?parseFloat(t):!!/^true$/i.test(t)||!/^false$/i.test(t)&&e,v=t=>a(t,t,(t=>"string"==typeof t?_(t):t),(()=>!1)),b=(t,e)=>{const i={},n={};for(let t=0;t<e.length;t++)n[e[t]]=!0;for(let e in t)n[e]&&(i[e]=t[e]);return i},w=(t,e)=>{const i={},n={};for(let t=0;t<e.length;t++)n[e[t]]=!0;for(let e in t)n[e]||(i[e]=t[e]);return i},E=(t,e)=>{const i=[],n="function"==typeof e,s=n?e:null;for(let o=0;o<t.length;o++){let r=t[o];if(n)s(r)&&i.push(r);else{let t=!0;for(let i in e){let n=e[i];if(n instanceof Array){if(!r[i]||r[i]<n[0]||r[i]>n[1]){t=!1;break}}else if(n instanceof RegExp){if(!n.test(r[i])){t=!1;break}}else if(n instanceof C){let e=!1;for(let t=0;t<n.values.length;t++){let s=n.values[t];if(r[i]===s){e=!0;break}}if(!e){t=!1;break}}else if("function"==typeof n){if(null==r[i]||!n(r[i])){t=!1;break}}else if(r[i]!==n){t=!1;break}}t&&i.push(r)}}return i},C=function(t){return this.values=t,this},T=(...t)=>new C(t),S=(t,e)=>{const i="function"==typeof e,n=i?e:null,s=o.call(t);return i?s.sort(n):s.sort(((t,i)=>{let n;n=e instanceof Array?u(e):e.split(/\s*,\s*/);let s=0;for(;0===s&&n.length>0;){let e=n.shift().split(/\s+/),o=e[0],r=e[1];if(r="desc"===r?-1:1,t[o]<i[o]){s=-1*r;break}if(t[o]!==i[o]){s=1*r;break}s=0}return s})),s},P=(t,e,i)=>{const n=void 0===i?void 0:i,s=[];for(let i=0;i<t.length;i++)e.call(n,t[i],i,t)&&s.push(t[i]);return s},A=/^\s*function Array()/,L=t=>null!=t&&t.push&&A.test(t.constructor),I=/^\s*function Object()/,M=t=>null!=t&&"object"==typeof t&&I.test(t.constructor),D=t=>null!=t&&"function"==typeof t,k=/^\s*function RegExp()/,O=t=>null!=t&&k.test(t.constructor),x=/^string|number|boolean|function$/i,B=t=>null!=t&&(x.test(typeof t)||O(t)),R=t=>null==t||!(!L(t)||t.length)||!!M(t)&&!Object.keys(t).length,W=(t,e)=>{if(t===e)return!0;if(null!=t&&null==e||null==t&&null!=e)return!1;let i=!0;return H(t,((t,n)=>{t!==c(e,n)&&(i=!1)})),i},F=(t,e)=>W(t,e)&&W(e,t),N=(t,e,i,n,r)=>{if(null==i&&(i=[]),B(t))e(t,i,n,r);else if(M(t)||L(t)){e(t,i,n,r);for(let n in t)if(s(t,n)){const s=o.call(i);s.push(n),N(t[n],e,s,t,n)}}else e(t,i,n,r)},H=(t,e)=>{N(t,((t,i,n,s)=>{L(t)||M(t)||e(t,i,n,s)}))},V=(t,e)=>{const i={};for(let n=0;n<e.length;n++){const s=e[n];void 0!==t[s]&&(i[s]=t[s])}return i},$=(t,e)=>{for(let i=0;i<t.length;i++)if(t[i]===e)return i;return-1},j=t=>{if(Object.keys)return Object.keys(t);const e=[];for(let i in t)s(t,i)&&e.push(i);return e}},(t,e,i)=>{i.d(e,{Ni:()=>l,rY:()=>h});const n=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wistia\.io/i,s=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.claw\.wistia\.io/i,o=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.wiz\.wistia\.io/i,r=/([a-z0-9-]+)-cde-([a-z0-9-]+)\.([a-z0-9-]+)\.cdb-staging\.wistia\.io/i,a=/([a-z0-9-]+)-txl-([a-z0-9-]+)\.([a-z0-9-]+)\.mtl\.wistia\.io/i,l=(t="app")=>h(t)||`${t}.wistia.com`,h=(t="app")=>{if((()=>{if("undefined"==typeof document||"function"!=typeof document.querySelector)return!1;try{const t=document.querySelector('meta[name="wistia-host-mode"]'),e=t?.getAttribute("content");return"string"==typeof e&&"production"===e.trim().toLowerCase()}catch{return!1}})())return null;if("undefined"!=typeof window&&window.location){const e=window.location.hostname,i=r.exec(e);if(i)return`${t}-cde-${i[2]}.${i[3]}.cdb-staging.wistia.io`;const l=n.exec(e);if(l)return`${t}-cde-${l[2]}.${l[3]}.wistia.io`;const h=s.exec(e);if(h)return`${t}-cde-${h[2]}.${h[3]}.claw.wistia.io`;const u=o.exec(e);if(u)return`${t}-cde-${u[2]}.${u[3]}.wiz.wistia.io`;const c=a.exec(e);if(c)return`${t}-txl-${c[2]}.${c[3]}.mtl.wistia.io`}return null}},(t,e,i)=>{i.r(e),i.d(e,{CURRENT_SHA:()=>y,EMBED_HOST:()=>h,PROD_EMBED_HOST:()=>d,PROD_FASTLY_SSL_HOST:()=>m,PROD_FAST_HOSTNAME_COM:()=>c,PROD_FAST_HOSTNAME_NET:()=>u,PROD_SSL_EMBED_HOST:()=>p,SSL_EMBED_HOST:()=>g,TAGGED_VERSION:()=>f,VALID_FASTLY_HOSTS:()=>k,appHost:()=>b,cdnFastProtectedWistiaComHost:()=>C,cdnFastWistiaCanaryHost:()=>S,cdnFastWistiaComHost:()=>E,cdnFastWistiaNetHost:()=>T,deliveryHost:()=>v,eV1Host:()=>A,eV1HostWithPort:()=>L,eV1Protocol:()=>I,eV1Url:()=>P,forceValidFastWistiaHost:()=>x,getDevFastHostname:()=>w,isEmbedOnACustomerPage:()=>
163B,mediaDataHost:()=>M,metricsHost:()=>D});var n=i(5),s=i(25),o=i(23);const r=(0,o.Ni)("app"),a=(0,o.Ni)("fast-protected"),l=(0,o.Ni)("fast"),h="embed.wistia.com",u="fast.wistia.net",c="fast.wistia.com",d="embed.wistia.com",p="embed-ssl.wistia.com",m="embed-fastly.wistia.com",g="embed-ssl.wistia.com",f="",y="f7161b4f0230e432151c4d16b766c04eeb1ced13",_="undefined"!=typeof window&&n.z===window&&n.z.location?n.z.location.protocol:"https:",v=(t=_)=>((t,e,i)=>"https:"===t?e:i)(t,g,h),b=()=>r,w=()=>(0,o.rY)("fast")||null,E=(t=void 0)=>{if(t)return t;return w()||l},C=t=>t||a,T=()=>{const t=w();return t||"fast.wistia.net"},S=()=>"fast-canary.wistia.net",P=(()=>{const t=document.getElementsByTagName("script");for(let e=0;e<t.length;e++){const i=t[e];if(i.src){const t=new s.Url(i.src),e=/\/assets\/external\/E-v1?\.js$/.test(t.rawPath),n=t.host===E()||t.host===T()||t.host===S(),o="https:"===location.protocol&&"https:"===t.protocol,r=""===t.protocol||null==t.protocol,a=o||r||"http:"===location.protocol,l=!i.readyState||/loaded|complete/.test(i.readyState);if(e&&n&&a&&l)return t}}return new s.Url(`${(0,s.proto)()}//${T()}/E-v1.js`)})(),A=()=>P.host,L=()=>P.port?`${A()}:${P.port}`:A(),I=()=>P.protocol,M=(t={})=>t.embedHost?x(t.embedHost):L(),D=()=>"pipedream.wistia.com",k=["wistia.net","wistia.com","wistia.mx","wistia.dev","wistia.tech","wistia.am","wistia.se","wistia.io","wistia.st"],O=new RegExp(`(${k.map((t=>`\\.${t.replace(".","\\.")}`)).join("|")})$`),x=t=>t&&O.test(t)?t:L(),B=()=>null===window.location.href.match(/^http(s)?:\/\/(\S)*.wistia.(io|test|st|com)/gi)},(t,e,i)=>{i.r(e),i.d(e,{Url:()=>m,brack:()=>c,createUrl:()=>f,debrack:()=>d,joinPath:()=>u,objectToQueryParams:()=>l,parseUrl:()=>y,proto:()=>o,queryParamsToObject:()=>r,splitPath:()=>h,urlComponentToObject:()=>a});var n=i(22),s=i(20);const o=(t=location.href)=>/^http:\/\//.test(t)?"http:":"https:",r=t=>{const e={};if(!t)return e;const i=t.split("&");for(let t=0;t<i.length;t++){let o=i[t].split("="),r=o[0],l=o[1];try{r=d(decodeURIComponent(r))||""}catch(t){setTimeout((()=>{s.ct.notice(t)}),50),r=""}(0,n.cast)(r);const h=(0,n.getDeep)(e,r);if(null!=h)if((0,n.isArray)(h))h.push(a(l));else{const t=[h];t.push(a(l)),(0,n.setAndPreserveUndefined)(e,r,t)}else(0,n.setAndPreserveUndefined)(e,r,a(l))}return e},a=t=>{if(null==t)return t;let e;try{e=decodeURIComponent(t)}catch(i){setTimeout((()=>{s.ct.notice(i)}),50),e=t}return e},l=t=>{const e=[];return(0,n.eachLeaf)(t,((t,i)=>{null!=t?e.push(`${encodeURIComponent(c(i))}=${encodeURIComponent(t)}`):e.push(encodeURIComponent(c(i)))})),e.join("&")},h=t=>{const e=[];if(null==t)return e;const i=t.split(/\/+/);for(let t=0;t<i.length;t++){let n=i[t];null!=n&&""!==n&&e.push(n)}return e},u=t=>("string"==typeof t&&(t=t.split("/")),null==t?"":`/${t.join("/")}`),c=t=>{let e=t[0];for(let i=1;i<t.length;i++)e+=`[${t[i]}]`;return e},d=t=>t.match(/([\w\-_]+)/g),p=["protocol","host","port","params","path"],m=function(t){const e=this;e.params={},e.path=[],e.host="",e.rawPath="","object"==typeof t?e.fromOptions(t):t&&e.fromRaw(t)},g=m.prototype;g.fromOptions=function(t){for(let e=0;e<p.length;e++){let i=p[e];null!=t[i]&&(this[i]=t[i])}return this},g.fromRaw=function(t){let e;return this.rawUrl=t,e=t.match(/^((?:https?:)|(?:file:)|(?:ftp:))?\/\//),e&&(this.protocol=e[1]||void 0),e=t.match(/\/\/([^:?#/]*)/),e&&(this.host=e[1]||void 0),e=t.match(/\/\/.*?(\/[^?#$]+)/)||t.match(/(^\/[^/][^?#$]+)/),e&&this.setPath(e[1]),e=t.match(/:(\d+)/),e&&(this.port=parseInt(e[1],10)),e=t.match(/\?([^#]+)/),e&&(this.rawParams=e[1],this.params=r(this.rawParams)),e=t.match(/#(.*)$/),e&&(this.anchor=e[1]),this},g.clone=function(){return new m({protocol:this.protocol,host:this.host,port:this.port,path:(0,n.clone)(this.path),params:(0,n.clone)(this.params),anchor:this.anchor})},g.ext=function(t){if(null!=t){const e=this.ext(),i=this.path.length-1,n=new RegExp(`\\.${e}`,"g");return e&&(this.path[i]=`${this.path[i].replace(n,"")}`),this.path[i]=`${this.path[i]}.${t}`}const e=this.path[this.path.length-1].match(/\.(.*)$/);return null!=e&&e[1]||null},g.isRelative=function(t=window.location){const e=this.protocol,i=this.host;return!(null!=e&&""!==e&&e!==t.protocol||i&&i!==t.hostname)},g.toString=function(){return this.isRelative()?this.relative():this.absolute()},g.absolute=function(){let t="";null!=this.protocol&&(t=this.protocol);let e="";return null!=this.port&&(e=`:${this.port}`),`${t}//${this.host||location.host}${e}${this.relative()}`},g.relative=function(){let t="";this.path.length>0&&(t=u(this.path),this._hasTrailingSlash&&(t+="/"));let e=`?${l(this.params)}`;return 1===e.length&&(e=""),`${t}${e}${this.relativeAnchor()}`},g.authority=function(){const t=null!=this.port?`:${this.port}`:"";return`${this.host}${t}`},g.relativeProtocol=function(){let t="";return null!=this.port&&(t=`:${this.port}`),`//${this.host}${t}${this.relative()}`},g.relativeAnchor=function(){let t="";return null!=this.anchor&&(t=`#${this.anchor}`),`${t}`},g.setPath=function(t){this.rawPath=t,this._hasTrailingSlash=/\/$/.test(this.rawPath),this.path=h(this.rawPath)},m.create=t=>new m(t);const f=m.create;m.parse=t=>new m(t);const y=m.parse},(t,e,i)=>{i.r(e),i.d(e,{_clearMetricsCache:()=>p,countMetric:()=>h,sampleMetric:()=>c,sendMetric:()=>d,sendMetrics:()=>u});var n=i(27),s=i(28),o=i(11),r=i(24),a=i(1);null==a.Wistia._simpleMetricsCache&&(a.Wistia._simpleMetricsCache={}),null==a.Wistia._simpleMetricsDebounceInterval&&(a.Wistia._simpleMetricsDebounceInterval=500);const l=a.Wistia._simpleMetricsCache,h=(t,e=1,i={})=>d("count",t,e,i),u=(...t)=>{if(!(0,o.isVisitorTrackingEnabled)())return;const e=`https://${(0,r.metricsHost)()}/mput?topic=metrics`;return fetch(e,{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t.join("\n")}).then((t=>{t.ok||console.error(t)}
163)).catch((t=>{console.error(t)}))},c=(t,e,i)=>d("sample",t,e,i),d=(t,e,i,r={})=>{if((0,o.isVisitorTrackingEnabled)())try{null==l.toMput&&(l.toMput=[]);const o=(0,n.k)({type:t,key:e,value:null!=i?i:null},r),h=JSON.stringify(o,(()=>{const t=new WeakSet;return(e,i)=>{if("object"==typeof i&&null!==i){if(t.has(i))return"[Circular]";t.add(i)}return i}})());l.toMput.push(h),clearTimeout(a.Wistia._msendTimeout),a.Wistia._msendTimeout=setTimeout((()=>{(0,s.R)((()=>{u.apply(void 0,l.toMput),l.toMput=[]}))}),a.Wistia._simpleMetricsDebounceInterval)}catch(t){console.error(t.message),console.error(t.stack)}},p=()=>{l.toMput=[]}},(t,e,i)=>{i.d(e,{k:()=>s});var n=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const s=(t,...e)=>{if(Object.assign)return Object.assign(t,...e);for(let i=0;i<e.length;i++)o(t,e[i]);return t},o=(t,e)=>{for(let i in e)n(e,i)&&(t[i]=e[i]);return t}},(t,e,i)=>{i.d(e,{R:()=>n});const n=(t,e=4e3,i=document,n=window)=>{if(/loaded|complete/.test(i.readyState))setTimeout(t,0);else{const i=()=>{n.removeEventListener("load",s,!1)},s=()=>{clearTimeout(o),i(),t()};n.addEventListener("load",s,!1);const o=setTimeout((()=>{i(),t()}),e)}}},(t,e,i)=>{i.d(e,{b:()=>n});const n=t=>{if("object"!=typeof t||null===t)return!1;const{colors:e,on:i}=t;return!i||!(!Array.isArray(e)||"boolean"!=typeof i)&&0!==e.length&&e.every((t=>"string"==typeof t[0]&&"number"==typeof t[1]))}},,,,,,,,,,,,,,,,(t,e,i)=>{i.d(e,{w5:()=>s,yY:()=>n});const n="WistiaPlayerInter, Helvetica, Sans-Serif",s="WistiaPlayerInterNumbersSemiBold, Helvetica, Sans-Serif"},,,,,(t,e,i)=>{i.d(e,{G4:()=>u,G5:()=>a,NV:()=>h,Rp:()=>l,ab:()=>r});var n=i(51),s=i(7);const o=(t,e=0)=>{let i=`${t}`;for(;i.length<e;)i=`0${i}`;return i},r=(t,e)=>{let i=0,n=0,s=0,o=t;const r=e.includes("h"),a=e.includes("m");return r&&o>0&&(i+=Math.floor(o/3600),o%=3600),a&&o>0&&(n+=Math.floor(o/60),o%=60),s=Math.round(o),r&&60===n&&(i+=1,n=0),a&&60===s&&(n+=1,s=0),{hours:i,minutes:n,seconds:s}},a=t=>{const{hours:e,minutes:i,seconds:n}=r(t,"hms");return 0===e?`${i}:${o(n,2)}`:`${e}:${o(i,2)}:${o(n,2)}`},l=t=>{if((0,s.gD)(t)||(0,s.Et)(t))return t;try{const e=(0,n.qg)(t.toUpperCase());return(0,n.fP)(e)}catch{}try{const e=(0,n.qg)(`PT${t.toUpperCase()}`);return(0,n.fP)(e)}catch{}return t},h=t=>{const{hours:e,minutes:i,seconds:n}=r(t,"hms"),s=0===e,o=0===i;return s&&o?`${n} second${1===n?"":"s"}`:`${s?"":`${e} hour${1===e?"":"s"}`} ${o?"":`${i} minute${1===e?"":"s"}`}`.trim()},u=(t,e)=>(e.getTime()-t.getTime())/1e3},(t,e)=>{e.fP=e._N=e.qg=e.T1=void 0;var i="\\d+",n="".concat(i,"(?:[\\.,]").concat(i,")?"),s="(".concat(i,"Y)?(").concat(i,"M)?(").concat(i,"W)?(").concat(i,"D)?"),o="T(".concat(n,"H)?(").concat(n,"M)?(").concat(n,"S)?"),r="P(?:".concat(s,"(?:").concat(o,")?)"),a=["years","months","weeks","days","hours","minutes","seconds"],l=Object.freeze({years:0,months:0,weeks:0,days:0,hours:0,minutes:0,seconds:0});e.T1=new RegExp(r),e.qg=function(t){var i=t.replace(/,/g,".").match(e.T1);if(!i)throw new RangeError("invalid duration: ".concat(t));var n=i.slice(1);if(0===n.filter((function(t){return null!=t})).length)throw new RangeError("invalid duration: ".concat(t));if(n.filter((function(t){return/\./.test(t||"")})).length>1)throw new RangeError("only the smallest unit can be fractional");return n.reduce((function(t,e,i){return t[a[i]]=parseFloat(e||"0")||0,t}),{})},e._N=function(t,e){void 0===e&&(e=new Date);var i=Object.assign({},l,t),n=e.getTime(),s=new Date(n);s.setFullYear(s.getFullYear()+i.years),s.setMonth(s.getMonth()+i.months),s.setDate(s.getDate()+i.days);var o=3600*i.hours*1e3,r=60*i.minutes*1e3;return s.setMilliseconds(s.getMilliseconds()+1e3*i.seconds+o+r),s.setDate(s.getDate()+7*i.weeks),s},e.fP=function(t,i){void 0===i&&(i=new Date);var n=Object.assign({},l,t),s=i.getTime(),o=new Date(s),r=(0,e._N)(n,o),a=60*(i.getTimezoneOffset()-r.getTimezoneOffset());return(r.getTime()-o.getTime())/1e3+a},e._N,e.fP,e.T1,e.qg},,,,(t,e,i)=>{i.d(e,{qN:()=>r,yz:()=>a});var n=i(29),s=i(8),o=i(9);i(22),s.cO;const r=(t,e=.9)=>0===t.colors.length?null:t.colors.every((t=>Boolean(t[0]&&t[1]>=0&&t[1]<=1)))?`linear-gradient(90deg, ${t.colors.map((t=>{return`${((t,e=.9)=>new o.Q1(t).alpha(e).toRgba())(t[0],e)} ${i=t[1],100*i}%`;var i})).join(", ")})`:null,a=(t,e=0)=>(0,n.b)(t)?t.colors[e][0]:null},,(t,e,i)=>{i.d(e,{$:()=>n,b:()=>s});const n=t=>t.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((t,e)=>(void 0!==e?"-":"")+t.toLowerCase())),s=t=>t.replace(/-./g,(t=>t[1].toUpperCase()))},,,,,,,(t,e,i)=>{i.r(e),i.d(e,{addInlineCss:()=>_,currentEventSource:()=>yt,docScrollLeft:()=>pt,docScrollTop:()=>dt,elemAddClass:()=>L,elemAfter:()=>S,elemAncestorHasClass:()=>Y,elemAncestorWithClass:()=>G,elemAncestors:()=>Q,elemAnimate:()=>J,elemAppend:()=>E,elemBefore:()=>T,elemBind:()=>Z,elemBindKey:()=>nt,elemBindOnce:()=>ot,elemCancelFullscreen:()=>ht,elemClasses:()=>k,elemClone:()=>w,elemContainsOffset:()=>V,elemFromObject:()=>v,elemHasClass:()=>I,elemHeight:()=>H,elemHtml:()=>m,elemInDom:()=>z,elemIsDescendantOf:()=>K,elemIsHidden:()=>j,elemIsHiddenByStyle:()=>U,elemIsInside:()=>X,elemMutationObserver:()=>ct,elemOffset:()=>l.hG,elemPrepend:()=>C,elemRebind:()=>st,elemRemove:()=>P,elemRemoveClass:()=>A,elemRequestFullscreen:()=>lt,elemScrollOffset:()=>$,elemStripEventAttributes:()=>ut,elemStyle:()=>x,elemToObject:()=>b,elemTrigger:()=>rt,elemUnbind:()=>tt,elemUnbindAll:()=>et,elemUnbindAllInside:()=>it,elemWidth:()=>N,elemZoom:()=>l.RK,execCssTags:()=>f,execScriptTags:()=>h.yj,formInputIsFocused:()=>ft,fullscreenElement:()=>at,getComputedStyle:()=>F,getCssTags:()=>g,getDeepActiveElement:()=>q,getLastActiveEventAt:()=>vt,getScriptTags:()=>
163h.zB,inUserEventContext:()=>_t,isBoxModel:()=>l.ni,isDocReady:()=>s.O,onDocReady:()=>s.P,pageLoaded:()=>o.R,propsWithVendorPrefixes:()=>W,removeCssTags:()=>y,removeScriptTags:()=>h.XG,safeRequestAnimationFrame:()=>mt});var n=i(22),s=i(80),o=i(28),r=i(65),a=i(20),l=i(82),h=i(67),u=i(70),c=i(1),d=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const p=(0,r.o1)(),m=(t,e)=>{const i=g(e),n=(0,h.zB)(e);return e=y(e),e=(0,h.XG)(e),t.innerHTML=e,f(i,t),(0,h.yj)(n)},g=t=>t.match(/<link.*?rel=['"]stylesheet['"][^>]*>|<style>[\s\S]+?<\/style>/gi)||[],f=(t,e)=>{if(!t)return null;(0,n.isArray)(t)||(t=g(t));const i=[];for(let n=0;n<t.length;n++){let s=t[n];if(/<link.*?rel=['"]stylesheet['"][^>]*>/.test(s)){const t=s.match(/href=['"](.*?)['"]/i);if(t){let n=document.createElement("link");n.setAttribute("rel","stylesheet"),n.setAttribute("href",t[1]),n.className="wistia_injected_style",(e||document.body||document.head).appendChild(n),i.push(n)}}else if(/<style>[\s\S]+?<\/style>/gi.test(s)){const t=s.match(/<style>([\s\S]+?)<\/style>/i);if(t){let n=_(e||document.body||document.head,t[1]);i.push(n)}}}return i},y=t=>t.replace(/<link.*?rel=['"]stylesheet['"][^>]*>|<style>[\s\S]+?<\/style>/gi,""),_=(t,e)=>{const i=t||document.body||document.head,n=document.createElement("style");return n.id=(0,u.h)("wistia_","_style"),n.setAttribute("type","text/css"),n.className="wistia_injected_style",i.appendChild(n,i.nextSibling),n.styleSheet?n.styleSheet.cssText=e:n.appendChild(document.createTextNode(e)),n},v=t=>{if((0,n.isArray)(t)){let e=[];for(let i=0;i<t.length;i++)e.push(v(t[i]));return e}const e=t.tagName||"div";let i=t.childNodes||[];(0,n.isArray)(i)||(i=[i]);const s=document.createElement(e);for(let e in t)if(d(t,e)){let i=t[e];if("childNodes"!==e&&"tagName"!==e&&"ref"!==e){let t=e.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase();if("style"===e)if((0,n.isObject)(i))for(let t in i)s.style[t]=i[t];else{let t=i.split(";");for(let e=0;e<t.length;e++){let i=t[e].split(/\s*:\s*/),n=i[0],o=i[1];n&&o&&(s.style[n]=o)}}else if("events"===e)for(let t in i){let e=i[t];Z(s,t,e)}else"className"===e||"class"===e?s.className=i:"innerHTML"===e?s.innerHTML=i:"innerText"===e?s.innerText=i:null!=i&&"function"==typeof i.toString&&s.setAttribute(t,i.toString())}}for(let t=0;t<i.length;t++){let e=i[t];if((0,n.isObject)(e)){let t=v(e);E(s,t)}else{let t=document.createTextNode(e.toString());E(s,t)}}return"function"==typeof t.ref&&t.ref(s),s},b=t=>{if((0,n.isArray)(t)){let e=[];for(let i=0;i<t.length;i++)e.push(b(t[i]))}const e={};e.tagName=t.tagName.toLowerCase();const i=Object.keys(t);for(let n=0;n<i.length;n++){let s=i[n];if("tagName"!==s&&"childNodes"!==s&&"nodeType"!==s&&"nodeValue"!==s)if("style"===s){e.style={};let i=Object.keys(t.style);for(let n=0;n<i.length;n++){let s=i[n];const o=t.style[s];o&&!/^\d/.test(s)&&"length"!==s&&(e.style[s]=o)}}else{const i=t.getAttribute(s);null!=i&&(e[s]=i)}}let s=[];for(let e=0;e<t.childNodes.length;e++){let i=t.childNodes[e];1===i.nodeType?s.push(b(i)):3===i.nodeType&&s.push(i.nodeValue)}return s.length>0&&(e.childNodes=s),e},w=t=>{const e=b(t);return v(e)},E=(t,e)=>{if((0,n.isArray)(e))for(let i=0;i<e.length;i++)E(t,e[i]);else t.tagName.includes("-")?t.shadowRoot.appendChild(e,{wistiaGridCaller:!0}):t.appendChild(e,{wistiaGridCaller:!0})},C=(t,e)=>{if(!(0,n.isArray)(e))return 0===t.childNodes.length?E(t,e):t.insertBefore(e,t.childNodes[0]);for(let i=0;i<e.length;i++)C(t,e[i])},T=(t,e)=>{if(!(0,n.isArray)(e))return t.parentNode.insertBefore(e,t);e=e.reverse();for(let i=0;i<e.length;i++)T(t,e[i])},S=(t,e)=>{if(!(0,n.isArray)(e))return t.parentNode.insertBefore(e,t.nextSibling);e=e.reverse();for(let i=0;i<e.length;i++)S(t,e[i])},P=t=>
163{if((0,n.isArray)(t)||window.NodeList&&t instanceof NodeList){for(let e=0;e<t.length;e++)P(t[e]);return}let e;null==t||1!==t.nodeType&&3!==t.nodeType||!(e=t.parentNode)||(e.removeChild(t),t=null)},A=(t,e)=>{if((0,n.isArray)(t)||window.NodeList&&t instanceof NodeList){for(let i=0;i<t.length;i++)A(t[i],e);return}if(!I(t,e))return;let i=t.getAttribute("class");if(i){const n=new RegExp(`\\b${e}\\b`,"g"),s=O(i.replace(n,""));t.setAttribute("class",s)}},L=(t,e)=>{if((0,n.isArray)(t)||window.NodeList&&t instanceof NodeList){for(let i=0;i<t.length;i++)L(t[i],e);return}if(I(t,e))return;let i,s=t.getAttribute("class");s?(A(t,e),i=O(`${s} ${e}`)):i=e,t.setAttribute("class",i)},I=(t,e)=>{let i=null!=t&&"function"==typeof t.getAttribute&&t.getAttribute("class");if(!i&&t&&"string"==typeof t.className&&(i=t.className),!i)return!1;let n=!1;return D(i,e,(t=>{let s=0===t||" "===i.charAt(t-1),o=t+e.length===i.length,r=" "===i.charAt(t+e.length);if(s&&(o||r))return n=!0,M})),n},M={},D=(t,e,i)=>{let n=-1;for(;-1!=(n=t.indexOf(e,n+1))&&i(n)!==M;);},k=t=>t&&"string"!=typeof t.className?[""]:(t&&t.className||"").split(/\s+/),O=t=>t.replace(/^\s+/g,"").replace(/\s+$/g,"").replace(/\s+/g," "),x=(t,...e)=>{if((0,n.isArray)(t)||window.NodeList&&t instanceof NodeList){let i=[];for(let n=0;n<t.length;n++){let s=t[n];1===s.nodeType&&i.push(x(s,...e))}return i}if(2===e.length){let i=e[0],n=e[1];t.style[i]=n}else if(1===e.length)if("string"==typeof e[0]){let i=e[0];try{return t.currentStyle?t.currentStyle[i]:window.getComputedStyle?window.getComputedStyle(t,null).getPropertyValue(i):null}catch(t){a.ct.notice(t)}}else{let i=W(e[0]);for(let e in i){let n=i[e];t.style[e]=n}}else(0,a.ct)("Unexpected args",t,...e)},B={borderImage:!0,mixBlendMode:!0,transform:!0,transition:!0,transitionDuration:!0},R=["webkit","moz","o","ms"],W=t=>{if(p.chrome)return t;const e={};for(let i in t){let n=t[i];if(e[i]=n,B[i]){let t=R;for(let s=0;s<t.length;s++){let o=t[s]+i.charAt(0).toUpperCase()+i.slice(1);i[o]||(e[o]=n)}}}return e},F=(t,e)=>{if(!window.getComputedStyle)return null;const i=window.getComputedStyle(t,null);return null==i?null:null!=e?i[e]:i},N=t=>{if(t===window)return window.innerWidth?window.innerWidth:document.documentElement?document.documentElement.offsetWidth:document.body.offsetWidth;if(t===document){const t=document.body,e=document.documentElement;return Math.max(t.scrollWidth,t.offsetWidth,e.clientWidth,e.scrollWidth,e.offsetWidth)}let e;return(e=F(t,"width"))&&null!=e?parseFloat(e):t.currentStyle?t.offsetWidth:-1},H=t=>{if(t===window)return window.innerHeight?window.innerHeight:document.documentElement?document.documentElement.offsetHeight:document.body.offsetHeight;if(t===document){const t=document.body,e=document.documentElement;return Math.max(t.scrollHeight,t.offsetHeight,e.clientHeight,e.scrollHeight,e.offsetHeight)}let e;return(e=F(t,"height"))&&null!=e?parseFloat(e):t.currentStyle?t.offsetHeight:-1},V=(t,e,i)=>{let n=(0,l.hG)(t);return n.right=n.left+N(t),n.bottom=n.top+H(t),n.left<=e&&e<n.right&&n.top<=i&&i<n.bottom},$=t=>{let e=0,i=0;if(t.parentNode)for(;t&&t.offsetParent;)i+=t.scrollTop,e+=t.scrollLeft,t=t.parentNode;return{left:e,top:i}},j=t=>{for(;t&&1===t.nodeType;){if("none"===x(t,"display"))return!0;t=t.parentNode}return!1},U=t=>{const e=t.ownerDocument.defaultView;if(!e)return!1;let i=t;for(;i;){const{display:t,visibility:n}=e.getComputedStyle(i);if("none"===t||"hidden"===n||"collapse"===n)return!0;const s=i.getRootNode();i=i.parentElement||(s instanceof ShadowRoot?s.host:null)}return!1},z=t=>{for(;t;){if(t===document)return!0;const e=t.parentNode;if(null!=e)t=e;else{if("function"!=typeof t.getRootNode)return!1;t=t.getRootNode()?.host}}return!1},q=(t=document)=>{let e=t.activeElement;for(;e?.shadowRoot?.activeElement;)e=e.shadowRoot.activeElement;return e},K=(t,e)=>{let i=Q(t);for(let t=0;t<i.length;t++)if(i[t]===e)return!0;return!1},G=(t,e)=>{let i=Q(t);for(let t=0;t<i.length;t++)if(I(i[t],e))return i[t];return null},Y=(t,e)=>!!G(t,e),Q=t=>{let e=t;const i=[];for(;e=e.parentNode;)i.push(e);return i},X=(t,e)=>t===e||K(t,e),J=(t,e={},i={})=>{i=(0,n.merge)({time:400,easing:"ease"},i);
163const s=((t,e,i)=>{const n=[];for(let s in t)n.push(`${s} ${e}ms ${i}`);return n.join(",")})(e,i.time,i.easing);x(t,{transition:s}),mt((()=>{x(t,e),setTimeout((()=>{x(t,{transition:""}),"function"==typeof i.callback&&i.callback()}),i.time)}))},Z=(t,e,i,n=!1)=>{const s=(n,...s)=>{(n=n||window.event).pageX||n.pageY||!n.clientX&&!n.clientY||(n.pageX=n.clientX+pt(),n.pageY=n.clientY+dt()),n.preventDefault||(n.preventDefault=function(){n.returnValue=!1}),n.stopPropagation||(n.stopPropagation=function(){n.cancelBubble=!0}),null==n.which&&(n.which=null!=n.charCode?n.charCode:n.keyCode),null==n.which&&null!=n.button&&(1&n.button?n.which=1:2&n.button?n.which=3:4&n.button?n.which=2:n.which=0),n.target||n.srcElement&&(n.target=n.srcElement),n.target&&3===n.target.nodeType&&(n.target=n.target.parentNode);const o=i.apply(n.target,[n].concat(s));return o===tt&&tt(t,e,i),o};c.Wistia._elemBind=c.Wistia._elemBind||{};const o=nt(t,e,i);return c.Wistia._elemBind[o]=s,s.elem=t,s.event=e,t.addEventListener(e,s,n),function(){tt(t,e,i,n)}},tt=(t,e,i,n=!1)=>{if(null==t||null==t._wistiaElemId||null==i||!i._wistiaBindId)return;const s=nt(t,e,i),o=c.Wistia._elemBind[s];return o&&(t.removeEventListener(e,o,n),o.elem=null,o.event=null),delete c.Wistia._elemBind[s]},et=t=>{for(let e in c.Wistia._elemBind){let i=c.Wistia._elemBind[e];if(i&&t===i.elem){let t=i.event;i.elem.removeEventListener(t,i,!1),i.elem=null,i.event=null,delete c.Wistia._elemBind[e]}}},it=t=>{let e=0;for(let i in c.Wistia._elemBind){let n=c.Wistia._elemBind[i];if(n&&X(n.elem,t)){let t=n.event;n.elem.removeEventListener(t,n,!1),n.elem=null,n.event=null,delete c.Wistia._elemBind[i],e+=1}}return e},nt=(t,e,i)=>(t._wistiaElemId=t._wistiaElemId||(0,u.h)("wistia_elem_"),i._wistiaBindId=i._wistiaBindId||(0,u.h)("wistia_bind_"),`${t._wistiaElemId}.${e}.${i._wistiaBindId}`),st=(t,e,i)=>{if(i)return tt(t,e,i),Z(t,e,i)},ot=(t,e,i)=>Z(t,e,(function(...t){return i.apply(this,t),tt})),rt=(t,e,...i)=>{if(t.dispatchEvent){const n=document.createEvent("Events");return n.initEvent(e,!0,!1),"click"===e||"doubleclick"===e?n.which=1:"rightclick"===e&&(n.which=2),n.customArguments=i,t.dispatchEvent(n)}if(t.fireEvent){const n={customArguments:i};return t.fireEvent(`on${e}`,n)}a.ct.error("neither dispatchEvent nor fireEvent is defined for",t,e)},at=()=>document.fullscreenElement||document.webkitFullscreenElement,lt=t=>{try{if(t.requestFullscreen&&document.fullscreenEnabled)return t.requestFullscreen().catch((t=>(a.ct.notice("requestFullscreen failed",t),Promise.reject(t))));if(t.webkitEnterFullscreen){if(void 0!==t.readyState&&t.readyState<HTMLMediaElement.HAVE_METADATA){const t="webkitEnterFullscreen requires at least HAVE_METADATA readyState";return a.ct.notice(t),Promise.reject(new Error(t))}if(!1===t.webkitSupportsFullscreen){const t="webkitEnterFullscreen is not currently supported for this element";return a.ct.notice(t),Promise.reject(new Error(t))}return t.webkitEnterFullscreen(),Promise.resolve()}}catch(t){return a.ct.notice("requestFullscreen failed",t),Promise.reject(t)}return a.ct.notice("no requestFullscreen functionality detected"),Promise.resolve()},ht=t=>document.exitFullscreen?document.exitFullscreen():t&&t.webkitExitFullscreen?new Promise((e=>{t.webkitExitFullscreen(),e()})):(a.ct.notice("no cancelFullscreen functionality detected"),Promise.resolve()),ut=t=>{const e=t&&t.attributes||[];try{for(let i=0;i<e.length;i++){let n=e[i];/^on.+/i.test(n.name)&&(t[n.name]=null,t.removeAttribute(n.name))}}catch(t){a.ct.error(t)}if(t.childNodes)for(let e=0;e<t.childNodes.length;e++){let i=t.childNodes[e];1===i.nodeType&&ut(i)}},ct=t=>{const e=p.mutationObserver;return e?new window[e](t):null},dt=t=>{let e=document.body,i=document.documentElement;if(null==t)return i&&i.scrollTop||e&&e.scrollTop||0;e&&(e.scrollTop=t),i&&(i.scrollTop=t)},pt=t=>{let e=document.body,i=document.documentElement;if(null==t)return i&&i.scrollLeft||e&&e.scrollLeft||0;e&&(e.scrollLeft=t),i&&(i.scrollLeft=t)},mt=t=>(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||(t=>setTimeout(t,1e3/60)))(t),gt=/^(radio|checkbox|switch|option|menuitemradio|menuitemcheckbox)$/i,ft=()=>{let t=document.activeElement;return"WISTIA-PLAYER"===document.activeElement.tagName&&(t=document.activeElement.shadowRoot.activeElement),"WISTIA-FORM-EMBED"===t.tagName&&(t=t.shadowRoot.activeElement),/^textarea|input|select$/i.test(t.tagName)||gt.test(t.getAttribute("role")||"")||t.isContentEditable},yt=()=>_t()?"user-event":"non-user-event",_t=()=>!!bt,vt=()=>wt;let bt,wt=-1;["auxclick","click","contextmenu","dblclick","focus","keydown","keypress","keyup","mousedown","mouseup","reset","submit","touchend","touchstart"].forEach((t=>{Z(document,t,(t=>{bt=t,wt=Date.now(),setTimeout((()=>{bt===t&&(bt=void 0)}),0)}),!p.passiveSupported||{capture:!0,passive:!0})}
163))},(t,e,i)=>{i.d(e,{GS:()=>j,o1:()=>V});var n=i(5),s=i(66);const o=navigator.userAgent;let r=null;const a=/(webkit)[ /]([^\s]+)/i,l=/OPR\/([^\s]+)/i,h=/(edge)\/(\d+(?:\.\d+)?)/i,u=/(mozilla)(?:.*? rv:([^\s)]+))?/i,c=/(android) ([^;]+)/i,d=/(iphone)/i,p=/(Windows Phone OS (\d+(?:\.\d+)?))/,m=/OS (\d+)_(\d+)/i,g=/(firefox)/i,f=/Mobile VR/i,y=/Version\/([^\s]+)/i,_=()=>(b()[1]||"webkit").toLowerCase(),v=()=>b()[2],b=()=>{let t;return t=o.match(h),t||(t=o.match(a),t||(t=o.match(l),t||(t?(null!=document.documentMode&&(t[2]=document.documentMode),t):(t=o.match(u),t||[]))))},w=()=>{const t=o.match(c);return null!=t&&{version:t[2]}},E=()=>d.test(o),C=()=>I()>0||w()||S(),T=()=>{try{const t=matchMedia("(hover:hover)");if("not all"!==t.media)return t.matches}catch(t){}return!C()},S=()=>/Macintosh/i.test(navigator.userAgent)&&navigator.maxTouchPoints&&navigator.maxTouchPoints>1,P=()=>a.test(o)&&!/chrome/i.test(o)&&!S()&&!E(),A=()=>!(!/Chrome/.test(o)||!/Google Inc/.test(navigator.vendor))&&{version:L()},L=()=>{const t=o.match(/\bChrome\/([^\s]+)/);return t&&t[1]},I=()=>{const t=o.match(m),e=o.match(y);return null!=t?parseFloat(`${t[1]}.${t[2]}`):null!=e&&e[1]&&S()?parseFloat(e[1]):0},M=()=>h.test(o),D=()=>g.test(o),k=()=>{const t=document.createElement("video");let e=!1;try{if(t.canPlayType){e={};const i='video/mp4; codecs="avc1.42E01E';e.h264=!!t.canPlayType(`${i}"`)||!!t.canPlayType(`${i}, mp4a.40.2"`),e.webm=!!t.canPlayType('video/webm; codecs="vp9, vorbis"'),e.nativeHls=!!t.canPlayType("application/vnd.apple.mpegURL")}}catch(t){e={ogg:!1,h264:!1,webm:!1,nativeHls:!1}}return e},O=()=>{try{return"localStorage"in n.z&&null!=n.z.localStorage}catch(t){return!1}},x=["WebKit","Moz","O","Ms",""],B=()=>{for(let t=0;t<x.length;t++){let e=`${x[t]}MutationObserver`;if(n.z[e])return e}return null},R=()=>{const t=/webkit|mozilla|edge/.test(_());return!!(E()||S()||w())||Boolean(t&&k().h264&&Object.defineProperties)};let W;const F=()=>{if(null!=W)return W;try{const t=Object.defineProperty({},"passive",{get(){W=!0}});window.addEventListener("test",null,t)}catch(t){W=!1}return W},N=()=>{const t=A(),e=D(),i=M(),n=l.test(o),s=t&&v()>=32,r=t&&v()>=75&&w(),a=e&&v()>=65,h=e&&v()>=67&&w(),u=i&&v()>=18,c=n&&v()>=19;return s||r||a||h||u||c},H=()=>{try{const t=document.createElement("canvas"),e=t.getContext("webgl")||t.getContext("experimental-webgl");return!!e&&(e.getExtension("WEBGL_lose_context")?.loseContext(),!0)}catch(t){return!1}},V=()=>r||(r=$(),r),$=()=>{const t={browser:{version:v()},edge:M(),firefox:D(),gearvr:f.test(o),hdr:!!window.matchMedia?.("(dynamic-range: high)").matches||!!(screen.colorDepth&&screen.colorDepth>=30),hdrCodecs:{hevc:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="hvc1.2.4.L153.B0"')??!1,av1:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="av01.0.08M.10.0.110.09.16.09"')??!1,vp92:window.MediaSource?.isTypeSupported?.('video/mp4; codecs="vp09.02.10.10.01.09.16.09"')??!1},android:w(),oldandroid:w()&&parseFloat(w().version)<4.1,iphone:E(),ipad:S(),safari:P(),chrome:A(),winphone:{version:p.test(o)[2]},ios:{version:I()},windows:/win/i.test(navigator.platform),mac:/mac/i.test(navigator.platform),retina:null!=n.z.devicePixelRatio&&n.z.devicePixelRatio>1,hoverIsNatural:T(),touchScreen:C(),video:k(),managedMediaSource:"ManagedMediaSource"in window&&"function"==typeof window.ManagedMediaSource?.isTypeSupported,mediaSource:n.z.MediaSource&&n.z.MediaSource.isTypeSupported('video/mp4; codecs="avc1.42E01E, mp4a.40.2"'),nativeHls:(E()||S()||P())&&k().nativeHls,localstorage:O(),fullscreenEnabled:document.fullscreenEnabled||document.mozFullScreenEnabled||document.webkitFullscreenEnabled||document.msFullscreenEnabled,vulcanV2Support:R(),mutationObserver:B(),callingPlayRequiresEventContext:I()>0||w()||P(),passiveSupported:F(),webp:N(),webgl:H(),performanceMeasure:(0,s.O)()};return t.browser[_()]=!0,t},j=()=>{const t=w(),e=S(),i=E();return t||e||i}},(t,e,i)=>{i.d(e,{O:()=>n});const n=()=>{const{performance:t}=window;return Boolean(t)&&Boolean(t.measure)}},(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{XG:()=>removeScriptTags,yj:()=>execScriptTags,zB:()=>getScriptTags});var utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(68);const getScriptTags=t=>t.match(/<script.*?src[^>]*>\s*<\/script>|<script.*?>[\s\S]+?<\/script>/gi)||[],scriptTagsToRunScriptsInput=scriptTags=>{if(!scriptTags)return[];scriptTags instanceof Array||(scriptTags=getScriptTags(scriptTags));const hashes=[];for(let i=0;i<scriptTags.length;i++){let scriptTag=scriptTags[i],hash={},matches=scriptTag.match(/<script.*?>/i);if(matches&&(matches=matches[0].match(/src="([^"]+)"/i),matches&&(hash.src=matches[1],hash.async=/async/i.test(scriptTag.replace(hash.src,"")))),!matches&&(matches=scriptTag.match(/<script>([\s\S]+?)<\/script>/i),matches)){let src=matches[1];hash.fn=function(){return eval(src)}}hashes.push(hash)}return hashes},execScriptTags=(t,e)=>{if(!t)return null;const i=scriptTagsToRunScriptsInput(t);return(0,utilities_script_utils_js__WEBPACK_IMPORTED_MODULE_0__.AK)(i).then(e)},removeScriptTags=t=>t.replace(/<script.*?src[^>]*>\s*<\/script>|<script>[\s\S]+?<\/script>/g,"")},(t,e,i)=>{i.d(e,{AK:()=>h,Rb:()=>r,j3:()=>l,wz:()=>a});var n=i(20),s=i(22),o=i(69);const r=(t,e={})=>{const i=document.getElementsByTagName("script");for(let n=0;n<i.length;n++){const s=i[n];let o=s.getAttribute("src")||"";
163if(e.ignoreQueryParams){let t=o.split("?");o=t[0]}if(!e.scriptRegex&&e.ignoreProtocol&&(o=o.replace(/^https?:/,""),t=t.replace(/^https?:/,"")),e.scriptRegex&&e.scriptRegex.test(o))return s;if(e.testStartsWith&&0===o.indexOf(t))return s;if(o===t)return s}return null},a=(t,e={})=>{let i;for(;i=r(t,e);)if(i&&(i.onload=i.onreadystatechange=i.onerror=null,i.parentNode&&(i.parentNode.removeChild,1)))try{i.parentNode.removeChild(i)}catch(t){setTimeout((()=>{throw t}),0)}},l=(t,e=8e3,i={})=>{let n,s;return null==e&&(e=8e3),null==i&&(i={}),new Promise((a=>{!0===i.once&&(n=r(t))&&(s=!0),i.once&&s?n.readyState&&!/loaded|complete/.test(n.readyState)||setTimeout((()=>{a()}),1):(0,o.j)(t,e).then(a).catch((t=>{a(t),setTimeout((()=>{console.error(t)}),1)}))}))},h=(...t)=>{let e;e=t[0]instanceof Array?t[0]:t,e=u(e);const i=[],s=[],o=[];return e.forEach((t=>{const e={...t},n=new Promise((t=>{e.resolve=t}));e.promise=n,o.push(e.promise),t.async?i.push(e):s.push(e)})),s.reduce(((t,e)=>{if(e.fn)try{e.fn()}catch(t){n.ct.error(t)}finally{e.resolve()}else e.src&&l(e.src,null,e).then(e.resolve);return t.then(e.promise)}),Promise.resolve()),setTimeout((()=>{i.forEach((t=>{if(t.fn)try{t.fn()}catch(t){n.ct.error(t)}finally{t.resolve()}else t.src&&l(t.src,null,t).then(t.resolve)}))}),1),Promise.all(o)},u=t=>{const e=[];for(let i=0;i<t.length;i++){let n=t[i];"string"==typeof n?e.push({src:n,async:!1}):(0,s.isObject)(n)?e.push(n):e.push({fn:n,async:!1})}return e}},(t,e,i)=>{i.d(e,{j:()=>s});var n=i(24);const s=(t,e)=>{const i=n.TAGGED_VERSION;return new Promise(((n,s)=>{let o;null==e&&(e=8e3),o=document.createElement("script"),o.src=t,o.async=!0,o.type="text/javascript",/https?:\/\/fast\.wistia\./.test(o.src)&&""!==i&&i.length>0&&(o.src=`${o.src}@${i}`);let r=null,a=!1;const l=()=>{o.onerror=o.onreadystatechange=o.onload=null,clearTimeout(r),clearTimeout(u),r=setTimeout((()=>{o&&o.parentNode&&o.parentNode.removeChild(o)}),500)},h=()=>{const t=o.readyState;a||t&&!/loaded|complete/.test(t)||(a=!0,setTimeout((()=>{n(),l()}),1))},u=setTimeout((()=>{a=!0,l(),s(new Error("timeout"))}),e);o.onerror=t=>{a=!0,l(),s(t)},o.onreadystatechange=h,o.onload=h,(document.body||document.head).appendChild(o)}))}},(t,e,i)=>{i.d(e,{h:()=>s});var n=i(1);const s=(t="wistia_",e="")=>{const i=n.Wistia._sequenceVal||1,s=`${t}${i}${e}`;return n.Wistia._sequenceVal=i+1,s}},,,(t,e,i)=>{i(74),i(76),i(110),i(115),i(116),window._wq=window._wq||[]},(t,e,i)=>{var n=i(75);!function(t){(null!=t._initializers?t._initializers.initEventLoop:void 0)||(t._initializers.initEventLoop=()=>t.eventLoop=n.O,t._destructors.destroyEventLoop=function(){return null!=t.eventLoop&&t.eventLoop.stop(),t.eventLoop=null})}(window.Wistia)},(t,e,i)=>{i.d(e,{O:()=>l});var n=i(20),s=i(1);const o=n.ct.getPrefixedFunctions("event_loop"),r=function(t={}){this._timeoutId=null,this._latency=null!=t.latency?t.latency:100,this._blurLatency=null!=t.blurLatency?t.blurLatency:2e3,this._functions={},this._paused={},window.addEventListener("blur",(()=>this.blur()),!1),window.addEventListener("focus",(()=>this.focus()),!1),this.start()},a=r.prototype;a.start=function(){clearTimeout(this._timeoutId),this._loopFn=this._loopFn||(()=>{this.runFunctions(),this._timeoutId=setTimeout(this._loopFn,this._latency)}),this._loopFn()},a.resync=function(){this.start()},a.resyncNextTick=function(){setTimeout((()=>{this.resync()}),0)},a.stop=function(){clearTimeout(this._timeoutId)},a.clear=function(){this._functions={}},a.runFunctions=function(){this._pausedDirty&&this.updatePaused();const t=[];for(let e in this._functions){let i=this._functions[e],n=(new Date).getTime(),s=n-i.lastRanAt;if(!i.paused&&s>=i.interval){i.lastRanAt=n;try{i.fn()===this.remove&&t.push(e)}catch(t){o.error(t)}}}for(let e=0;e<t.length;e++)this.remove(t[e])},a.add=function(t,e,i){const n=(new Date).getTime();this._functions[t]={addedAt:n,lastRanAt:-1,interval:e,fn:i};const s=i();this._functions[t]&&(this._functions[t].lastRanAt=(new Date).getTime()),this._functions[t]&&s===this.remove?delete this._functions[t]:this._pausedDirty=!0},a.remove=function(t){this.forEachMatchingKey(t,(t=>{delete this._functions[t]}))},a.forEachMatchingKey=function(t,e){for(let i in this._functions){let n=this._functions[i];this.key1IncludesKey2(t,i)&&e(i,n)}},a.latency=function(t){if(null==t)return this._latency;this._latency=t},a.interval=function(t,e){if(null==e)return this._functions[t].interval;null==this._functions[t]?o.notice("setting interval of ",t,"to",e,"failed because",t,"is not defined"):this._functions[t].interval=e},a.pause=function(t){this._paused[t]=!0,this._pausedDirty=!0},a.unpause=function(t){this._paused[t]=!1,this._pausedDirty=!0},a.isPaused=function(t){for(let e in this.paused)if(this._paused[e]&&this.key1IncludesKey2(e,t))return!0;return!1},a.updatePaused=function(){for(let t in this._functions)this._functions[t].paused=this.isPaused(t);this._pausedDirty=!1},a.key1IncludesKey2=function(t,e){return"function"==typeof e.indexOf&&0===e.indexOf(t)&&(e.length===t.length||"."===e.charAt(t.length))},a.blur=function(){this._blurred||(this._blurred=!0,this._savedLatency=this._latency,this._latency=this._blurLatency)},a.focus=function(){this._blurred&&(this._blurred=!1,this._latency=this._savedLatency,this.resync())},null==s.Wistia.eventLoop&&(s.Wistia.eventLoop=new r({latency:100,blurLatency:100}));const l=s.Wistia.eventLoop},(t,e,i)=>{!function(t){var e,n,s,o,r,a,l,h,u,c,d,p,m,g,f,y;t.embed||(n=i(77),d=i(88).mediaFromCache,u=i(91).n,c=i(90).M,p=i(22).merge,o=i(27).k,l=i(96).$,r=i(26).countMetric,m=i(97).S,f=i(98).setEmbedOptionStore,y=i(99).f,s=i(100).K,g=i(98),h=g.getEmbedOptionStore,e=g.GLOBAL_ID_KEY,t._embed={},t.embed=function(i,n){var o,l,u,g,y,_,v,b,w,E,C;return null==n&&(n={}),t.info("Wistia.embed",i,n),"function"==typeof t.flushInitQueue&&t.flushInitQueue(),"string"==typeof i?g=i:(g=i.hashedId,w=p({},i.embedOptions,n),c(i,w),t.cacheMedia(g,i)),n.container?"string"==typeof n.container?_=document.getElementById(n.container):(_=n.container,r("legacy/embed-with-container",1,{hashedId:g,url:window.location.href})):i.container?"string"==typeof i.container?_=document.getElementById(n.container):(_=i.container,r("legacy/embed-with-container",1,{hashedId:g,url:window.location.href})):(o="wistia_"+g,_=document.getElementById(o)),u=h(e),y=h(_.id||""),(l=m(_)).useWebComponent||(null!=(v=d(g))&&null!=(b=v.embedOptions)?b.useWebComponent:void 0)||y.useWebComponent||u.useWebComponent?(l.useWebComponent=!0,(C=a(g,Object.assign({},n,l))).originalContainer=_,C.originalContainer._convertingToAurora=!0,C.uniqueId=C.originalContainer.uniqueId,C.originalContainer.uniqueId=void 0,E=new s(C),C.translationApi=E,_.append(C),f("__"+C.uniqueId+"_dom_options__",l),C.translationApi):new t.PublicApi(g,n)},a=function(t,e){var i;return(i=document.createElement("wistia-player")).setAttribute("media-id",t),e.id&&delete e.id,Object.entries(e).forEach((function(t){var e,n,s,o,r;return e=t[0],r=t[1],s=(n=y(e,r))[0],o=n[1],i.setAttribute(s,o)})),i}
163,t.embedEngine=function(t,e,i,s){var a;return null==i&&(i={}),null==s&&(s={}),a="string"==typeof e?e:e.hashedId,new Promise((function(h){var c;return c=function(e){var o,r;return o=n.buildContext(s),r=n.bestUsableEngine(o,e,i),l("assets/external/"+r).then((function(n){var s;return s=new(0,n.default)(t,e,p({duration:e.duration},i)),h(s)}))},"string"==typeof e?u(a,i).then((function(t){return c(t)}),o({},i,{errorCallback:function(){return r("player/failure/embed-failed")}})):c(e)}))})}(Wistia)},(t,e,i)=>{i.r(e),i.d(e,{ALPHA_VIDEO_ENGINE_PATH:()=>D,HLS_ENGINE_PATH:()=>P,MANUAL_QUALITY_ENGINE_PATH:()=>I,NATIVE_HLS_ENGINE_PATH:()=>A,PLUGIN_CONFIGS:()=>k,SIMPLE_AUDIO_ENGINE_PATH:()=>L,SPHERICAL_VIDEO_ENGINE_PATH:()=>M,bestPlayer:()=>O,bestUsableEngine:()=>x,bestUsableEngineClass:()=>B,buildContext:()=>R,canPlayInline:()=>W,canUsePlayer:()=>F,choosePlayer:()=>N,determinePlayerPreferenceFromInput:()=>V,doesBrowserSupportHlsTools:()=>$,enginesToLoad:()=>j,getDefaultContext:()=>z,hasAssetsForPlayer:()=>Y,hasEnoughReadyMp4Assets:()=>J,hasSupportedHlsAssets:()=>Z,isBrowserInNativeAndroid:()=>it,isBrowserOldChrome:()=>nt,isHlsEnabled:()=>st,isMobile:()=>ot,isNotPlayable:()=>rt,isPasswordProtected:()=>at,isSupportedPlayer:()=>ht,isValidPlayer:()=>ut,logWarnings:()=>ct,playerPlugins:()=>dt,report:()=>pt,shouldServeHls:()=>mt,supportedPlayers:()=>gt,urlHasBeenTamperedWith:()=>yt,usablePlayers:()=>ft,xhrHasBeenTamperedWith:()=>bt});var n=i(22),s=i(65),o=i(78),r=i(85),a=i(5),l=i(20),h=i(86),u=i(1),c=i(87);const d=l.ct.getPrefixedFunctions("judy"),p="auto",m="carouselHardWall",g="external",f="hlsVideo",y="html5",_="manualQualityVideo",v="nativeHlsVideo",b="notplayable",w="passwordprotected",E="simplehtml5",C="vulcan-v2",T="sphericalVideo",S=[C,y,E,g,b,w],P="engines/hls_video.js",A="engines/native_hls_video.js",L="engines/simple_audio.js",I="engines/manual_quality_video.js",M="engines/spherical_video.js",D="engines/alpha_video.js",k={notPlayableVideo:{on:!0,initBeforeHasData:!0,async:!1,loadWeight:-1},vulcanV2Player:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1},hlsVideo:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:0},nativeHlsVideo:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:0},passwordProtectedVideo:{on:!0,initBeforeHasData:!0,async:!1,loadWeight:-1},externalPlayer:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1},html5Player:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1},playlist:{on:!0,initBeforeHasData:!1,async:!1,loadWeight:-1}},O=(t,e,i)=>{const{detect:n,logger:s}=t;return lt({mediaData:e,options:i},n),n.oldandroid?(s.info("external on old android"),g):F(t,C,e)?(s.info("default, ret",C),C):"Audio"===e.mediaType||"LiveStream"===e.mediaType?C:F(t,y,e)?(s.info("default, ret",y),y):(s.info("nothing left, use",g),g)},x=(t,e,i={})=>{const{detect:n,logger:s}=t;s.info("bestUsableEngineClass");const o=mt(t,e,i),r=lt({mediaData:e,options:i},n);if(i.engine)return i.engine;if(r)return s.info(T),M;if("Audio"===e.mediaType)return L;const a=n.safari||n.ios.version>0,l="null"!==window.origin,h=a&&!l;return o&&n.nativeHls&&(!1===n.managedMediaSource||h)?(s.info(v),A):o?(0,c.i9)(e.assets).length>0&&n.webgl?(s.info("alphaVideo"),D):(s.info(f),P):(s.info(_),I)},B=(t,e,i={})=>{const{detect:n,logger:s}=t;s.info("bestUsableEngineClass");const o=mt(t,e,i),r=u.Wistia.engines||{};return"Audio"===e.mediaType?r.SimpleAudio:o&&n.nativeHls&&r.NativeHlsVideo?(s.info(v),r.NativeHlsVideo):o&&r.HlsVideo?(s.info(f),r.HlsVideo):(s.info(_),r.ManualQualityVideo)},R=(t={})=>{const e=H(t);return{...z(),...t,pageUrl:e}},W=t=>{const{detect:e}=t;return e.android||e.ios.version>=10},F=(t,e,i)=>ht(t,e)&&Y(t,e,i),N=(t,e,i)=>{const{detect:n}=t,{logger:s}=t;let{playerForce:o}=i;s.info("choosePlayer input",e.hashedId);let r=V(t,e,i);if(o&&!ut(t,o)&&(s.error(`Invalid playerForce option: "${o}", ignoring`),o=null),r&&r!==p&&!ut(t,r)&&(s.error(`Invalid playerPreference option: "${r}", ignoring`),r=p),s.info("playerPreference is",r),o)return s.info('"playerForce" used, return',o),o;if(e.carouselHardWall)return s.info("return",m),m;if(at(t,i))return s.info("return",w),w;if(rt(t,e,i))return s.info("return",b),b;if(e.protected)return C;if(r!==p&&F(t,r,e)){const t=lt({mediaData:e,options:i},n);return r!==C&&t?(s.info("this player doesn't support spherical, return",C),C):(s.info('"playerPreference" used, return',r),r)}return s.info("choosing player with no preference"),O(t,e,i)},H=(t={})=>t.pageUrl?t.pageUrl:Object(window.FreshUrl).originalUrl?window.FreshUrl.originalUrl:window.top===window.self?location.href||"":document.referrer||"",V=(t,e,i)=>{const n=i.playerPreference||i.platformPreference;return n&&n!==p?n===y?ot(t)?y:C:n===E?y:n:p},$=t=>{const e=Boolean(window.Promise);return(t.mediaSource||t.nativeHls)&&e},j=(t,e,i={})=>{const{detect:n,logger:s}
163=t;let o=[];s.info("enginesToLoad");const r=mt(t,e,i);r&&n.nativeHls?(s.info(v),o.push(v)):r?(s.info(f),o.push(f)):(s.info(_),o.push(_)),lt({mediaData:e,options:i},n)&&(o.push(T),s.info(T));const a={};o.forEach((t=>{a[t]=!0}));const l=[];for(let t in a)l.push(t);return l};let U;const z=()=>U||(U={detect:(0,n.clone)((0,s.o1)()),inIframe:top!==self,location:window.location,logger:d,pageUrl:location.href,silenceGlobalWarnings:a.z.wistiaSilenceGlobalWarnings,userAgent:navigator.userAgent},U),q=(t,e)=>{const i={};return i[e]=k[e],i},K=(t,e,i={})=>!1!==i.instantHls&&e.instantHlsAssetsReady&&mt(t,e,i),G=(t,e,i={})=>e.originalIsEligibleForDirectPlayback&&mt(t,e,i),Y=(t,e,i)=>{if(!ut(t,e))return!1;if(e===b||e===w||e===m)return!0;const{assets:n}=i;if(e===C)return K(t,i)||G(t,i)||Q(n)||X(n);if(e===y)return(0,h.readyPublicMp4s)(n).length>0;if(e===g)return(0,h.readyPublicMp4s)(n).length>0;throw new Error(`Unhandled player type '${e}'`)},Q=t=>(0,h.readyPublicMp4s)(t).length>0||(0,h.readyPublicM3u8s)(t).length>0,X=t=>(0,h.readyPublicMp3s)(t).length>0,J=t=>{const e=(0,h.filter)(t,{container:"mp4",metadata:t=>t&&t.max_bitrate,public:!0,sortBy:"width desc",status:h.READY,type:/\b(?!captioned_video)\S+/});return Boolean(e[0]&&e[0].width>=400)},Z=(t,e={})=>{if(!1!==e.instantHls&&t.instantHlsAssetsReady)return!0;if(t.originalIsEligibleForDirectPlayback)return!0;const i=J(t.assets);return i||(0,o.U9)("player/originV2/media-has-no-metadata",1,{hashedId:t.hashedId}),i},tt=({pageUrl:t},e)=>{const i=et(t);if(null!=i)return i;const n=(0,r.Qy)("forceHls");return null!=n?n:e.hls},et=t=>{const e=t&&t.match&&t.match(/[&?]whls=([^&]+)/),i=e&&e[1];return null!=i?(0,n.cast)(i):null},it=(t,e)=>t.android&&(!1===e.playsinline||!0===e.nativeMode),nt=t=>t.chrome&&parseInt(t.chrome.version,10)<50,st=(t,e,i)=>{const n=tt(t,i);return!0===n||!1===n?n:!1!==e.hls_enabled},ot=({detect:t})=>t.iphone||t.ipad||t.android,rt=(t,e,i={})=>{const{assets:n}=e;if(!e.protected&&(K(t,e,i)||G(t,e,i)))return!1;const s="Audio"===e.type?0==(0,h.readyPublicMp3s)(n).length:0==(0,h.readyPublicMp4s)(n).length;if("LiveStream"===e.mediaType)return!1;if(e.protected&&!i.authorization?.jwt)return i.notPlayableOptions={fadeIn:!1,message:"This video is set to private.",shouldRefresh:!1},!0;const o=mt(t,e,i);return e.protected&&!1===o?(i.notPlayableOptions={fadeIn:!1,message:"This video is not playable.",shouldRefresh:!1},!0):0===n.length||1===n.length&&"original"===n[0].type||s||(0,h.nonfailedPublicOver400)(n).length>0&&0===(0,h.readyPublicOver400)(n).length},at=(t,e)=>{const i=(0,n.getDeep)(e,"plugin.passwordProtectedVideo");return null!=i&&!1!==i.on},lt=(t={})=>{if(t.options.overrideSpherical)return!1;const e=String(t.mediaData?.spherical),i=String(t.opts?.spherical);return"true"===e||"true"===i},ht=(t,e)=>!!ut(t,e)&&(0,n.indexOf)(gt(t),e)>=0,ut=(t,e)=>(0,n.indexOf)(S,e)>=0,ct=t=>{const{detect:e,userAgent:i,logger:n,silenceGlobalWarnings:s}=t;if(s)return;const o=/phantomjs/i.test(i);bt()&&(o||n.error("The XMLHttpRequest constructor has been tampered with. Because this affects CORS/Range XHR requests, HLS playback has been disabled. To enable HLS playback and other important features, please remove code that changes the definition of window.XMLHttpRequest.")),yt()&&e.mediaSource&&!o&&n.error("window.URL.createObjectURL has been tampered with. Because this affects use of Media Source Extensions, HLS playback has been disabled. window.URL is a browser API that should not be clobbered. Its current value is:",window.URL)},dt=(t,e,i,s)=>{const{logger:o}=t,r={};o.info("playerPlugins input",e,i.hashedId,i,s),e===b?(0,n.merge)(r,q(0,"notPlayableVideo")):e===w?(0,n.merge)(r,q(0,"passwordProtectedVideo")):e===y?(0,n.merge)(r,q(0,"html5Player")):e===g?(0,n.merge)(r,q(0,"externalPlayer")):e===C&&(0,n.merge)(r,q(0,"vulcanV2Player"));const a=[];for(let t in r)a.push(t);return o.info("playerPlugins output",...a,r),r},pt=(t,e,i)=>({bestPlayer:O(t,e,i),playerPreferenceFromInput:V(t,e,i),supportedPlayers:gt(t),usablePlayers:ft(t,e.assets)}),mt=(t,e,i)=>{if("LiveStream"===e.type)return!0;const{detect:n}=t;return $(n)&&!nt(n)&&!it(n,i)&&st(t,e,i)&&Z(e)&&(!bt(t)&&!yt(t)||tt(t,i))},gt=t=>{const{detect:e}=t,i=[b,w,g,m];return e.vulcanV2Support&&i.push(C),e.video.h264&&i.push(y),i},ft=(t,e)=>{const i=[],n=gt(t);for(let s=0;s<n.length;s++){let o=n[s];F(t,o,e)&&i.push(o)}return i},yt=()=>"function"!=typeof(window.URL&&window.URL.createObjectURL),_t=/\s*function\s+XMLHttpRequest\(\)\s*{\s*\[native code\]\s*}\s*/m,vt=/\[object XMLHttpRequestConstructor\]/m,bt=()=>{if(XMLHttpRequest&&XMLHttpRequest.prototype&&XMLHttpRequest.prototype.constructor){const t=XMLHttpRequest.prototype.constructor.toString();return!(_t.test(t)||vt.test(t))}return!0}},(t,e,i)=>{i.d(e,{U9:()=>m,XM:()=>g,tN:()=>d});var n=i(79),s=i(20),o=i(22),r=i(64),a=i(25),l=i(24),h=i(11),u=i(1);null==u.Wistia._metricsCache&&(u.Wistia._metricsCache={});const c=u.Wistia._metricsCache,d=(t,e,i,a={})=>{try{null==c.toMput&&(c.toMput=[]),null==c.requestId&&(c.requestId=0);const l=(0,o.merge)({type:t,key:e,value:null!=i?i:null,request_id:c.requestId},a),h=JSON.stringify(l);s.ct.debug("send metrics",h),c.toMput.push(h),(0,n.doTimeout)("metrics.debounce",(()=>{(0,r.pageLoaded)((()=>{p.apply(void 0,c.toMput),c.toMput=[],c.requestId+=1}))}),500)}catch(t){s.ct.error(t)}},p=(...t)=>{if(!(0,h.isVisitorTrackingEnabled)())return;const e=`${(0,a.proto)()}//${(0,l.metricsHost)()}/mput?topic=metrics`;return fetch(e,{method:"POST",mode:"cors",headers:{"Content-Type":"application/x-www-form-urlencoded"},body:t.join("\n")}).then((t=>{t.ok||console.error(t)}
163)).catch((t=>{console.error(t)}))},m=(t,e=1,i={})=>d("count",t,e,i),g=(t,e,i)=>d("sample",t,e,i)},(t,e,i)=>{i.r(e),i.d(e,{clearTimeouts:()=>r,doTimeout:()=>o});var n=i(22),s=i(1);null==s.Wistia._timeouts&&(s.Wistia._timeouts={});const o=(t,e,i=1)=>{(0,n.isArray)(t)&&(t=t.join("."));const o=l(t);if(r(t,o),e){let n=s.Wistia._timeouts[o];null==n&&(n=s.Wistia._timeouts[o]={});let r=setTimeout((()=>{delete n[t],e()}),i);return n[t]=r,r}return s.Wistia._timeouts[o][t]},r=(t,e=null)=>{let i;if((0,n.isArray)(t)&&(t=t.join(".")),"__global__"===(e=e||l(t))&&(i=s.Wistia._timeouts[t],i))for(let t in i){let e=i[t];clearTimeout(e),delete i[t]}if(i=s.Wistia._timeouts[e],i)for(let e in i){let n=i[e];!e.indexOf||0!==e.indexOf(t)||e.length!==t.length&&"."!==e.charAt(t.length)||(clearTimeout(n),delete i[e])}s.Wistia.blockSweepTimeouts||(s.Wistia.blockSweepTimeouts=!0,setTimeout(a,0),setTimeout((()=>{s.Wistia.blockSweepTimeouts=!1}),5e3))},a=()=>{for(let t in s.Wistia._timeouts){let e=s.Wistia._timeouts[t];(0,n.isEmpty)(e)&&delete s.Wistia._timeouts[t]}},l=t=>{const e=t.indexOf(".");return e>0?t.substring(0,e):"__global__"}},(t,e,i)=>{i.d(e,{O:()=>s,P:()=>o});var n=i(81);const s=()=>/loaded|complete/.test(document.readyState),o=function(){let t,e;if(arguments.length>1?(t=arguments[0],e=arguments[1]):(t=1e4,e=arguments[0]),s())e();else if(top===self&&document.documentElement.doScroll){const i=function(){try{return document.documentElement.doScroll("left"),!0}catch(t){return!1}};(0,n.w)(i,e,50,t,e)}else{const i=function(){s()&&(clearTimeout(r),o(),e())},n=function(){document.addEventListener("DOMContentLoaded",i,!1),document.addEventListener("readystatechange",i,!1),window.addEventListener("load",i,!1)},o=function(){document.removeEventListener("DOMContentLoaded",i,!1),document.removeEventListener("readystatechange",i,!1),window.removeEventListener("load",i,!1)},r=setTimeout((function(){o(),e()}),t);n()}}},(t,e,i)=>{i.d(e,{w:()=>n});const n=(t,e,i,n,s)=>{let o=null;const r=(new Date).getTime(),a=()=>{(new Date).getTime()-r>n?"function"==typeof s&&s():t()?e():(clearTimeout(o),o=setTimeout(a,i))};o=setTimeout(a,1)}},(t,e,i)=>{let n;i.d(e,{RK:()=>r,hG:()=>o,ni:()=>s});const s=()=>
163{if(null!=n)return n;const t=document.createElement("div");return t.style.paddingLeft=t.style.width="1px",document.body.appendChild(t),n=2===t.offsetWidth,document.body.removeChild(t),n},o=t=>{const e=document.body,i=document.defaultView,n=document.documentElement,o=t.getBoundingClientRect(),a=n.clientTop||e.clientTop||0,l=n.clientLeft||e.clientLeft||0;let h,u;h=i&&null!=i.pageYOffset?i.pageYOffset:s()&&n&&null!=n.scrollTop?n.scrollTop:e.scrollTop,u=i&&null!=i.pageXOffset?i.pageXOffset:s()&&n&&null!=n.scrollLeft?n.scrollLeft:e.scrollLeft;const c=r(t);return{height:o.height*c,top:o.top*c+h-a,left:o.left*c+u-l,width:o.width*c,zoom:c}},r=t=>t&&t!==document.documentElement?r(t.parentElement)*(getComputedStyle(t).zoom||1):1},(t,e,i)=>{i.d(e,{e:()=>n});const n=(t="wistia_embed")=>{const e=document.querySelectorAll(`div.${t},span.${t},iframe.${t}`);return Array.from(e).map((t=>"WISTIA-PLAYER"===t.lastChild?.nodeName?t.lastChild:t))}},(t,e,i)=>{i.d(e,{G:()=>n});const n=t=>null==t?"":t.toString()},(t,e,i)=>{i.d(e,{$1:()=>a,Qy:()=>r});var n=i(17),s=i(22),o=i(1);o.Wistia._localStorage||(o.Wistia._localStorage=(0,n.y1)());const r=(t,e,i=!1)=>{if(null!=e){const r=i?s.unsetDeep:s.setDeep;return o.Wistia._localStorage=(0,n.$B)((i=>r(i,t,e))),e}return null!=t?(0,s.getDeep)(o.Wistia._localStorage,t):o.Wistia._localStorage},a=t=>r(t,"nada",!0)},(t,e,i)=>{i.r(e),i.d(e,{BAKERY_HOSTS:()=>O,FAILED:()=>c,PROCESSING:()=>p,QUEUED:()=>d,READY:()=>m,assetUrlWithExtension:()=>B,channelArtworkStill:()=>L,filter:()=>f,filterOver400:()=>w,findClosestAssetByQuality:()=>P,getStillWidth:()=>k,hasAnyReadyHdrAssets:()=>W,iphone:()=>z,isBakeryUrl:()=>x,m3u8:()=>H,moveToFront:()=>Y,mp4:()=>F,nearestOutsideRange:()=>G,nonfailedPublicOver400:()=>C,numericSizeSnapped:()=>S,one:()=>y,onePublicReadyWithContainer:()=>R,original:()=>V,originalAspect:()=>U,playable:()=>$,readyPublicM3u8s:()=>b,readyPublicMp3s:()=>_,readyPublicMp4s:()=>v,readyPublicOver400:()=>E,smallestNormalMp4:()=>q,still:()=>A,stillUrl:()=>D,thumbnailAssets:()=>I,urlWithCorrectHost:()=>K,videoAspect:()=>j,webm:()=>N,withinQualityRange:()=>T});var n=i(22),s=i(25),o=i(65),r=i(24),a=i(20),l=i(23),h=i(87);const u=Array.prototype.slice,c=-1,d=0,p=1,m=2,g=["select","sortFn","sortBy","unique"],f=(t,e={})=>{if(!t)return[];t.assets&&(t=t.assets),e.includeStackedAlpha||(t=t.filter((t=>!(0,h.Yw)(t)))),null==(e=(0,n.except)(e,["includeStackedAlpha"])).qualityMin&&null==e.qualityMax||(t=T(t,e.qualityMin,e.qualityMax),e=(0,n.except)(e,["qualityMin","qualityMax"]));const i=(0,n.only)(e,g),s=i.select||(0,n.except)(e,g);s&&(i.select=s);let o=i.select?(0,n.select)(t,i.select):(0,n.clone)(t);if((i.sortFn||i.sortBy)&&(o=(0,n.sort)(o,i.sortFn||i.sortBy)),i.unique){const t={};for(let e=0;e<o.length;e++){let n=o[e],s=n[`${i.unique}`]||"__undefined__";t[s]||(t[s]=n)}o=[];for(let e in t)o.push(t[e])}return o},y=(t,e)=>f(t,e)[0]||null,_=t=>f(t,{ext:"mp3",status:m,public:!0}),v=t=>f(t,{container:"mp4",status:m,public:!0}),b=t=>f(t,{container:"m3u8",status:m,public:!0}),w=t=>{const e=[];for(let i=0;i<t.length;i++){let n=t[i],s=null!=n.opt_vbitrate&&n.opt_vbitrate>=500&&n.opt_vbitrate<=1e5,o=null!=n.width&&n.width>400;(s||o)&&e.push(n)}return e},E=t=>w(f(t,{container:/mp4/,public:!0,status:m})),C=t=>w(f(t,{container:/mp4/,public:!0,status:t=>t!==c})),T=(t,e=100,i=1e4)=>f(t,{select:t=>{const n=S(t.width,t.height);return e<=n&&n<=i}}),S=(t,e)=>{if(e>t){const i=t;t=e,e=i}return t/e<1.05&&(t=e*(16/9)),t>=3740?2160:t>=3100?1800:t>=2460?1440:t>=1820?1080:t>=1180?720:t>=860?540:t>=540?360:e},P=(t,e)=>{let i;i="4k"===e?2160:parseInt(e,10);const n=T(t,i,i)[0];if(n)return n;const s=G(t,i,i);if(1===s.length)return s[0];const o=j(t),r=Math.round(o*i),[a,l]=s;return Math.abs(a.width-r)<Math.abs(l.width-r)?a:l},A=t=>{let e=y(t,{type:/^still_image$/,sortBy:"created_at desc"});return e||(e=L(t)),e||(e=y(t,{container:/mp4/,sortBy:"width desc"})),e},L=t=>y(t,{type:/^channel_still_image$/,sortBy:"created_at desc"}),I=(t,e)=>{if(e.stillUrl)return[{height:null,url:e.stillUrl,width:null}];const i=A(t);if(null!=e.instantHlsStillAsset&&(!i||/mp4/.test(i.container)))return[e.instantHlsStillAsset];if(null!=e.originalFileStillAsset&&(!i||/mp4/.test(i.container)))return[e.originalFileStillAsset];if(!i)return[];const n=i.width/i.height;return[320,640,960,1280,1920,3840].map((e=>{const i=Math.round(e/n);return{height:i,url:D(t,{videoWidth:e,videoHeight:i,playButton:!1}),width:e}}))},M=(0,l.Ni)("fast"),D=(t,e={})=>{const i=A(t);if(!i)return;if(i.status!==m){const t=L();return t&&t.status===m?t.url:`//${M}/assets/images/blank.gif`}let o=(e=(0,n.merge)({aspect:i.width/i.height||1,stillUrl:i.url,playButton:!1,playerColor:e.playerColor||"636155",videoWidth:i.width||640,videoHeight:i.height||360,stillSnap:!0},e)).videoWidth,a=e.videoHeight;const l=new s.Url(e.stillUrl);return e.retina&&(l.params.image_play_button_size="2x",o*=2,a*=2),e.stillSnap&&(o=k({videoWidth:o,stillAssetWidth:i.width||640}),a=Math.round(o/e.aspect)),x(e.stillUrl)?("https:"===e.protocol&&(l.protocol="https:",l.host=e.embedHost===r.PROD_FAST_HOSTNAME_COM||e.embedHost===r.PROD_FAST_HOSTNAME_NET?r.PROD_SSL_EMBED_HOST:r.SSL_EMBED_HOST),l.params.image_crop_resized=`${o}x${a}`,(null==e.playButton||e.playButton)&&(l.params.image_play_button_rounded=1,l.params.image_play_button_color=`${`${e.playerColor}`.replace(/^#+/,"")}e0`),e.ext&&l.ext(e.ext),"bin"===l.ext()&&l.ext("jpg"),l.absolute()):e.stillUrl},k=t=>
163{const e=[640,960,1280,1920,3840];t.stillAssetWidth<3840&&e.push(t.stillAssetWidth);const i=[];for(let n=0;n<e.length;n++){let s=e[n];s<=t.stillAssetWidth&&i.push(s)}i.sort(((t,e)=>t-e));for(let e=0;e<i.length;e++){let n=i[e];if(t.videoWidth<=n)return n}return Math.max(...i)},O=[r.EMBED_HOST,r.SSL_EMBED_HOST,(0,l.Ni)("embed"),(0,l.Ni)("prime"),(0,l.Ni)("mixergy-cdn"),(0,l.Ni)("embed-fastly"),r.PROD_EMBED_HOST,r.PROD_SSL_EMBED_HOST,r.PROD_FASTLY_SSL_HOST],x=t=>{if(null==t)return!1;const e=new s.Url(t);return!!e.host&&O.join(",").indexOf(e.host)>=0},B=(t,e)=>null==t?t:t.replace(/\.bin$/,`.${e}`),R=(t,e,i)=>(i=(0,n.merge)({container:e,public:!0,status:m},i),y(t,i)),W=t=>t.some((t=>"hdr_video"===t.type&&t.status===m&&t.public&&"mp4"===t.container)),F=(t,e)=>R(t,"mp4",e),N=(t,e)=>R(t,"webm",e),H=(t,e)=>R(t,"m3u8",e),V=t=>y(t,{type:"original"}),$=(t,e,i=(0,o.o1)())=>i.video.webm&&N(t,e)||F(t,e),j=t=>{const e=F(t)||H(t)||N(t)||V(t);return e&&e.height?e.width/e.height:640/360},U=t=>{const e=j(t),i=V(t);if(i&&i.width&&i.height){const t=i.width/i.height;return t>1&&e<1||t<1&&e>1?1/t:t}return e},z=(t,e)=>{if(j(t)>1)return e=(0,n.merge)({width:640},e),F(t,e)||q(t,e);const i=(0,n.merge)({width:320},e),s=(0,n.merge)({width:640},e);return F(t,i)||F(t,s)||q(t,e)},q=(t,e)=>(e=(0,n.merge)({sortBy:"width asc",width:[640,1920]},e),F(t,e)),K=(t,e=r.eV1Protocol())=>{const i=new s.Url(t);return x(t)&&("https:"===e?(i.host=r.deliveryHost(location.protocol),i.protocol="https:"):(i.host=r.deliveryHost(location.protocol),i.protocol="http:")),i.absolute()},G=(t,e,i)=>{if(0===t.length)return[];const n=u.call(t).sort(((t,e)=>S(t.width,t.height)-S(e.width,e.height)));let s,o;for(let t=0;t<n.length;t++){let r=n[t],a=S(r.width,r.height);if(a<e&&(s=r),a>=i){o=r;break}}const r=[];return s&&r.push(s),o&&r.push(o),0===r.length&&(a.ct.error("nearestOutsideRange: no nearby assets found, using first in list",n[0]),r.push(n[0])),r},Y=(t,e)=>{if(!e)return t;let i=-1;for(let n=0;n<t.length;n++)if(t[n].url===e.url){i=n;break}return i>0&&(t.splice(i,1),t.unshift(e)),t}},(t,e,i)=>{i.d(e,{Od:()=>o,Yw:()=>n,i9:()=>s});const n=t=>"stacked_alpha_video"===t?.type,s=t=>(t??[]).filter((t=>n(t)&&2===t.status&&t.public&&"string"==typeof t.url));Error;const o=t=>t instanceof Error&&"AlphaVideoUnavailableError"===t.name},(t,e,i)=>{i.r(e),i.d(e,{cacheMedia:()=>p,mediaDataScriptRegExp:()=>d,mediaDataUrl:()=>c,mediaFromCache:()=>f,transformResponse:()=>u,uncacheMedia:()=>m});var n=i(1),s=i(5),o=i(22),r=i(68),a=i(89),l=i(24),h=i(90);const u=(t,e)=>{const i={...t},n=(0,o.merge)({},i.media?.embedOptions,e);return i.error?i:(delete i.media.unnamed_assets,(0,h.M)(i.media,n),i.media)},c=(t,e={})=>{const i=(0,l.mediaDataHost)(e);return`${(0,l.eV1Protocol)()}//${i}/embed/medias/${t}.json`},d=t=>{const e="https:"===location.protocol?"https":"https?";return new RegExp(`^(${e}:)?//((${(0,l.cdnFastWistiaComHost)().replace(".","\\.")})|(${(0,l.cdnFastWistiaNetHost)().replace(".","\\.")}))/embed/medias/${t}\\.jsonp\\??`)},p=(t,e)=>(0,a.ry)(t,e),m=t=>{(0,a.s3)(t),n.Wistia.uncacheCaptions?.(t),g(t)},g=t=>{window[`wistiajsonp-/embed/medias/${t}.json`]=null,(0,r.wz)(c(t),{scriptRegex:d(t)})},f=t=>y(t),y=t=>{const e=(0,a.F2)(t);if(e)return e;const i=s.z[`wistiajsonp-/embed/medias/${t}.json`];return null!=i&&i.media?i.media:null}},(t,e,i)=>{i.d(e,{F2:()=>r,FC:()=>h,ry:()=>a,s3:()=>l});var n=i(7),s=i(1),o=i(20);const r=t=>{const e=s.Wistia._remoteData.get(`media_${t}`);return(0,n.gD)(e)?null:(function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)}(e,"error")&&o.ct.error(`Received cached error response instead of MediaData when retrieving cached mediaData for ${t}`),e)},a=(t,e)=>{s.Wistia._remoteData.set(`media_${t}`,e)},l=t=>{s.Wistia._remoteData.delete(`media_${t}`),Reflect.deleteProperty(s.Wistia._mediaDataPromises,t)},h=t=>{const e=s.Wistia._remoteData.get(`carousel_${t}`);return(0,n.gD)(e)?null:e}},(t,e,i)=>{i.d(e,{M:()=>u});var n=i(22),s=i(25),o=i(65),r=i(7),a=i(86);const l=(0,o.o1)(),h=(t,e)=>{if(!t||!e)return;e.plugin||(e.plugin={}),e.plugin.form||(e.plugin.form={});const i=e.plugin.form;t.form_button_text&&(i.formButtonText=t.form_button_text),t.form_lower_text&&(i.formLowerText=t.form_lower_text),t.title&&(i.title=t.title)},u=(t,e={})=>(((t,e={})=>
163{if(!0!==e.allowOriginalAsMp4)return;const i=t.assets.filter((t=>"original"===t.type))[0];(0,a.readyPublicOver400)(t.assets).length>0||(t.assets=[...t.assets,(0,n.assign)({},i,{display_name:`${i.display_name} copy`,container:"mp4",codec:"h264",type:"mp4_video"})])})(t,e),(t=>{t.assets&&l.webp&&(t.assets=t.assets.map((t=>{if("still_image"===t.type&&Object(t).url){const e=new s.Url(t.url);e.ext("webp"),t.url=e.absolute()}return t})))})(t),((t,e={})=>{(0,r.n9)(e.channelId)&&t.embedOptions&&(t.embedOptions.channelId=e.channelId)})(t,e),((t,e={})=>{(0,r.n9)(e.channelPassword)&&t.embedOptions&&(t.embedOptions.channelPassword=e.channelPassword)})(t,e),(t=>{if(h(t.formCustomizations,t.embedOptions),Array.isArray(t.translatedMediaData))for(const e of t.translatedMediaData)h(e.formCustomizations,e.embedOptions)})(t),t)},(t,e,i)=>{i.d(e,{n:()=>p});var n=i(1),s=i(68),o=i(88),r=i(24),a=i(90),l=i(89),h=i(92),u=i(22),c=i(93);const d=(t,e={})=>{const i=(0,r.mediaDataHost)(e);return`${(0,r.eV1Protocol)()}//${i}/embed/${t}.js`},p=async(t,e={})=>{if(null!=(0,l.F2)(t)&&!0!==e.skipCache)return(0,c.j)(t,e);const i=n.Wistia._inlineMediaData?.[t];if(null!=i){const n=(0,u.clone)(i);return(0,a.M)(n,e),(0,l.ry)(t,n),(0,c.j)(t,e)}const r=[];let p;if(((t,e={})=>{const i=(0,o.mediaDataUrl)(t,e).replace(/\.json(?!p)/,".jsonp").replace(/&$/,""),n=(0,s.Rb)(i,{ignoreProtocol:!0,scriptRegex:(0,o.mediaDataScriptRegExp)(t)});return Boolean(n)})(t,e)&&r.push((async(t,e)=>new Promise(((i,n)=>{const s={isSettled:!1,intervalId:-1,timeoutId:-1},o=()=>{s.isSettled=!0,clearInterval(s.intervalId),clearTimeout(s.timeoutId)},r=()=>{const s=window[`wistiajsonp-/embed/medias/${t}.jsonp`];if(s){if(s.media)return o(),(0,l.ry)(t,s.media),void(0,c.j)(t,e).then(i).catch((()=>{n(new Error("Failed to fetch media data via jsonp"))}));(0,h.V)(s)&&(o(),i(s))}};r(),s.isSettled||(s.intervalId=window.setInterval(r,15),s.timeoutId=window.setTimeout((()=>{o(),n(new Error("Timeout loading jsonp media data"))}),3e4))})))(t,e)),((t,e={})=>{const i=d(t,e),n=(0,s.Rb)(i,{ignoreProtocol:!0});return Boolean(n)})(t,e)&&r.push((async(t,e={})=>{const i=d(t,e);return new Promise(((n,s)=>{setTimeout((()=>{s(new Error("Timeout loading js media data"))}),3e4),import(i).then((e=>{const{mediaData:i}=e;(0,l.ry)(t,i)})).then((async()=>(0,c.j)(t,e))).then(n).catch((t=>{s(t instanceof Error?t:new Error(String(t)))}))}))})(t,e)),0===r.length)p=await(0,c.j)(t,e);else{const[i,n]=((t,e={})=>{const i={current:-1};return[new Promise(((n,s)=>{i.current=window.setTimeout((()=>{(0,c.j)(t,e).then(n).catch((t=>{s(t instanceof Error?t:new Error(String(t)))}))}),15e3)})),i]})(t,e);p=await Promise.any([...r,i]),clearTimeout(n.current)}return p}},(t,e,i)=>{i.d(e,{V:()=>s});var n=i(7);const s=t=>!(!function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),"error")}(t)||(0,n.gD)(t.error)||"true"!==t.error&&!0!==t.error)},(t,e,i)=>{i.d(e,{j:()=>d});var n=i(7),s=i(1),o=i(24),r=i(90),a=i(89),l=i(92),h=i(94),u=i(95);const c=async(t,e={})=>{const i=t,h=(0,a.F2)(i);if(h&&!0!==e.skipCache)return Promise.resolve(h);if((0,n.n9)(s.Wistia._mediaDataPromises[i])&&!0!==e.skipCache)return s.Wistia._mediaDataPromises[i];const u=(0,o.mediaDataHost)(e),c=new window.URL(`https://${u}/embed/medias/${t}.json`);(0,n.n9)(e.channelId)&&c.searchParams.set("channelId",e.channelId.toString());const d=e.channelPassword??e.plugin?.passwordProtectedChannel?.password;(0,n.n9)(d)&&c.searchParams.set("channelPassword",d),(0,n.n9)(e.password)&&c.searchParams.set("password",e.password),e.deferFetchingToCarousel&&c.searchParams.set("defer_fetching_to_carousel","true"),e.bypassOriginShield&&c.searchParams.set("bos","1");const p=fetch(c.href).then((t=>t.json())).then((t=>{if((0,l.V)(t))return t;const{media:i}=t;return(0,r.M)(i,e),(0,a.ry)(i.hashedId??"",i),i})).finally((()=>{Reflect.deleteProperty(s.Wistia._mediaDataPromises,i)}));return s.Wistia._mediaDataPromises[i]=p,p},d=async(t,e={})=>{const i=await c(t,e);if((0,l.V)(i))return i;const n=i;if(null==n.localizations||0===n.localizations.length)return n;const s=(0,u.getViewerPreferences)().localization,o=[];null!=e.overrideMediaLanguage&&o.push(e.overrideMediaLanguage),null!=s?.bcp47LanguageTag&&o.push(s.bcp47LanguageTag),null!=e.defaultMediaLanguage&&o.push(e.defaultMediaLanguage);const r=o.filter(((t,e)=>o.indexOf(t)===e));let a=(0,h.J)(n.localizations.map((t=>t.bcp47LanguageTag)),r);if(-1===a&&(a=(0,h.J)(n.localizations.map((t=>t.wistiaLanguageCode)),r)),-1===a&&(a=(0,h.J)(n.localizations.map((t=>t.bcp47LanguageTag)),[...navigator.languages??["en"]])),a>=0){const t=n.localizations[a];return n.hashedId===t.hashedId||"alternate_audio"===t.localizationIntent?n:c(t.hashedId,{...e})}return n}},(t,e,i)=>{i.d(e,{J:()=>
163o});const n=t=>t.split("-")[0],s=()=>{const t=new Error;return t.stack?.split("\n").slice(2).join("\n")},o=(t,e)=>{t.some((t=>"string"!=typeof t))&&(console.error("availableLanguages has non-string values",t,s()),t=t.filter((t=>"string"==typeof t))),e.some((t=>"string"!=typeof t))&&(console.error("preferredLanguages has non-string values",e,s()),e=e.filter((t=>"string"==typeof t)));for(const i of e){if(t.includes(i))return t.indexOf(i);const e=n(i);if(t.some((t=>n(t)===e)))return t.findIndex((t=>n(t)===e))}return-1}},(t,e,i)=>{i.r(e),i.d(e,{deleteViewerPreferences:()=>o,getViewerPreference:()=>l,getViewerPreferences:()=>a,setViewerPreference:()=>h});var n=i(18),s=i(1);const o=()=>{(0,n.$1)(r())},r=()=>"wistia-viewer-preferences",a=()=>!1===s.Wistia._viewerPreferencesEnabled?{}:(0,n.Lg)(r()),l=t=>{const e=a();return e?e[t]:null},h=(t,e)=>{(0,n.yo)(r(),(i=>{i.plugin&&delete i.plugin,i[t]=e}))}},(t,e,i)=>{i.d(e,{$:()=>a});var n=i(24),s=i(10),o=i(26);const r=async(t,e=3,i=200,n=0)=>{const s=0===n?t:`${t}${t.includes("?")?"&":"?"}retry=${n}`;try{const e=await import(s);return n>0&&(0,o.countMetric)("dynamic-import/retry-success",1,{attempt:String(n),url:t}),e}catch(s){if(e<=0)throw s;return await new Promise((t=>{setTimeout(t,i)})),r(t,e-1,i,n+1)}},a=async(t,e={})=>{const i=function(t){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),"host")}(e)&&null!=e.host?e.host:(0,n.eV1HostWithPort)(),a=n.TAGGED_VERSION,l=n.CURRENT_SHA,h=`${(0,n.eV1Protocol)()}//${i}/${t}${""!==a&&a.length>0&&!0!==e.mediaData?`@${a}`:""!==l&&l.length>0&&!0!==e.mediaData?`@${l}`:""}`;try{return await r(h)}catch(t){const e=t instanceof Error?t:new Error(String(t));throw(0,s.N7)("dynamicImport",e,{importUrl:h}),(0,o.countMetric)("dynamic-import/failure-after-retry",1,{attempt:String(3),url:h}),t}}},(t,e,i)=>{i.d(e,{S:()=>r});var n=i(64),s=i(25),o=i(22);const r=t=>{const e=[];(0,n.elemClasses)(t).forEach((t=>{t.indexOf("=")>0&&e.push(t)}));const i=(0,s.queryParamsToObject)(e.join("&"));return(0,o.cast)(i)}},(t,e,i)=>{i.r(e),i.d(e,{GLOBAL_ID_KEY:()=>a,OPTION_PREFIX:()=>r,getEmbedOptionStore:()=>l,getOrSetEmbedOptionStore:()=>c,removeEmbedOptionStore:()=>u,setEmbedOptionStore:()=>h});var n=i(22),s=i(21),o=i(19);const r="wistia_embed_options_",a="__global__",l=(t,e=o.FY)=>{if(void 0!==(0,s.wData)([r,t]))return(0,s.wData)([r,t]);const i=e(t);if(null===i||"removed"===i)return{};if(void 0!==(0,s.wData)(r)){const t=Object.keys((0,s.wData)(r)).find((t=>e(t)===i));if(void 0!==(0,s.wData)([r,t]))return(0,s.wData)([r,t])}return{}},h=(t,e)=>null!==e?(0,s.wData)([r,t],(0,n.cast)((0,n.clone)(e))):{},u=t=>{(0,s.wRemoveData)([r,t])},c=(t,e)=>{let i=t,l=e;if((0,n.isObject)(i)&&"object"==typeof i&&(l=i,i=a),null!=l)return(0,s.wData)([r,i],(0,n.cast)((0,n.clone)(l)));if(void 0!==i){if(void 0!==(0,s.wData)([r,t]))return(0,s.wData)([r,t]);const e=(0,o.FY)(i);if(null===e||"removed"===e)return{};if(void 0!==(0,s.wData)(r)){const t=Object.keys((0,s.wData)(r)).find((t=>(0,o.FY)(t)===e));if(void 0!==(0,s.wData)([r,t]))return(0,s.wData)([r,t])}return{}}return(0,s.wData)(r)}},(t,e,i)=>{i.d(e,{f:()=>n});const n=(t,e)=>{let i=t,n=e;switch(e){case"true":n=!0;break;case"false":n=!1}switch(t){case"autoPlay":i="autoplay";break;case"controlsVisibleOnLoad":i="hide-controls-on-load",n=!n;break;case"copyLinkAndThumbnailEnabled":i="hide-copy-link-and-thumbnail",n=!n;break;case"fullscreenButton":i="fullscreen-control";break;case"playbar":i="play-bar-control";break;case"playButton":i="big-play-button";break;case"popover":i="wistia-popover";break;case"popoverDisableAutoPlay":i="popover-disable-autoplay";break;case"preload":"boolean"==typeof e&&e&&(n="auto"),"boolean"!=typeof e||e||(n="none");break;case"silentAutoPlay":i="silent-autoplay";break;case"smallPlayButton":i="play-pause-control";break;case"stillUrl":i="poster";break;case"wmode":i="transparent-letterbox","transparent"===e&&(n=!0);break;default:i=t.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((t,e)=>(void 0!==e?"-":"")+t.toLowerCase()))}return[i,n]}},(t,e,i)=>{i.d(e,{K:()=>L});var n=i(7),s=i(101),o=i(102),r=i(104),a=i(16),l=i(64),h=i(106),u=i(1),c=i(15);function d(t,e,i){p(t,e),e.set(t,i)}function p(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function m(t,e){return t.get(f(t,e))}function g(t,e,i){return t.set(f(t,e),i),i}function f(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var y=new WeakMap,_=new WeakMap,v=new WeakMap,b=new WeakMap,w=new WeakMap,E=new WeakMap,C=new WeakMap,T=new WeakMap,S=new WeakMap,P=new WeakSet,A=ne
163w WeakMap;class L{constructor(t){var e;p(this,e=P),e.add(this),d(this,y,void 0),d(this,_,void 0),d(this,v,[]),d(this,b,void 0),d(this,w,void 0),d(this,E,void 0),d(this,C,void 0),d(this,T,void 0),d(this,S,void 0),d(this,A,(()=>{f(P,this,I).call(this)})),g(S,this,t);const i=s.V;g(C,this,new i),m(C,this).call(this,!0),g(T,this,new o.E(m(S,this),this.unbind)),g(E,this,new r.$(m(S,this),this.unbind)),g(_,this,!1),m(S,this).addEventListener(a.INTERNAL_API_CREATED_EVENT,m(A,this)),m(S,this).whenApiReady().then((()=>{g(_,this,!0),f(P,this,I).call(this)}))}get _mediaData(){return m(S,this).mediaData}get container(){return m(S,this)}get controls(){return m(S,this).controls}get plugin(){return Object.keys(this.pluginFunction).forEach((t=>{this.pluginFunction[t]=void 0})),Object.keys(m(S,this).plugins).forEach((t=>{this.pluginFunction[t]=m(S,this).plugins[t]})),this.pluginFunction}get popover(){return{show:()=>{m(C,this).synchronize((t=>{m(S,this).showPopover().then((()=>{t()})).catch((()=>{t()}))}))},hide:()=>{m(C,this).synchronize((t=>{m(S,this).hidePopover().then((()=>{t()})).catch((()=>{t()}))}))},height:(t,e)=>{const i=m(S,this).parentElement;if(!i)return this;if(void 0!==t&&(i.style.height=`${t}px`,e?.constrain)){const e=t/m(S,this).aspect;i.style.width=`${e}px`}return this.height(t,e)},width:(t,e)=>{const i=m(S,this).parentElement;if(!i)return this;if(void 0!==t&&(i.style.width=`${t}px`,e?.constrain)){const e=t/m(S,this).aspect;i.style.height=`${e}px`}return this.width(t,e)}}}async addPlugin(t,e){return m(S,this).definePlugin(t,e)}addToPlaylist(t,e={},i={}){if(!m(b,this)){const t=[{hashedId:m(S,this).mediaId}],e={autoAdvance:!0,startIndex:0,source:{id:"test",type:"player-api"}};g(b,this,new h.ze(t,m(S,this),e,"fast.wistia.com"))}let n;if(null!=i.index)n=i.index;else if(null!=i.after){if(n=m(b,this).orderedPlaylistMedias.findIndex((t=>t.hashedId===i.after))+1,0===n)throw new Error('Media to position "after" not found in playlist')}else if(null!=i.before&&(n=m(b,this).orderedPlaylistMedias.findIndex((t=>t.hashedId===i.before)),-1===n))throw new Error('Media to position "before" not found in playlist');const s=null!=n?{index:n}:void 0;return m(b,this).addMediaToPlaylist({hashedId:t,embedOptions:e},s),m(b,this).orderedPlaylistMedias}aspect(){return m(S,this).aspect}bind(t,e,i,n){if(Object.keys(c.h).includes(t)){const{mediaId:i}=m(S,this);return u.Wistia.EventShepherdManager[i]??=new c.S,u.Wistia.EventShepherdManager[i].addListener(t,m(S,this),e),this}switch(t){case"crosstime":return m(T,this).addBinding(e,i),this;case"betweentimes":return m(E,this).addBinding(e,i,n),this;default:{const i=m(S,this).deprecatedApiDoNotUse;return i?i.bind(t,e):m(v,this).push({event:t,fn:e}),this}}}cancelFullscreen(){return m(C,this).synchronize((t=>{m(S,this).cancelFullscreen().then((()=>{t()})).catch((()=>{t()}))})),this}captionsEnabled(t){return null!=t?(m(S,this).captionsEnabled=t,m(S,this).captionsEnabled):m(S,this).captionsEnabled}captionsLanguage(t){return null!=t?(m(S,this).captionsLanguageCode=t,m(S,this).captionsLanguage):m(S,this).captionsLanguage}captionsLanguageCode(t){return null!=t?(m(S,this).captionsLanguageCode=t,m(S,this).captionsLanguageCode):m(S,this).captionsLanguageCode}captionsLanguages(){return m(S,this).captionsLanguages}duration(){return m(S,this).duration}email(t){return void 0===t?m(S,this).email??null:(m(C,this).synchronize((e=>{m(S,this).email=t,e()})),this)}embedded(t){const e=m(S,this).shadowRoot?.querySelector(".w-ui-container");return t?e?.hasChildNodes()?(t(),this):(e&&g(w,this,e),g(y,this,new MutationObserver((e=>{e.forEach((e=>{Array.from(e.addedNodes).forEach((e=>{1===e.nodeType&&(e.classList.contains("w-ui-container")&&g(w,this,e),(0,l.elemIsDescendantOf)(e,m(w,this))&&(t(),m(y,this)?.disconnect(),g(y,this,void 0),g(w,this,void 0)))}))}))}))),m(y,this).observe(m(S,this).shadowRoot,{subtree:!0,childList:!0}),this):e?.hasChildNodes()??!1}enterInputContext(t){m(S,this).enterInputContext(t)}eventKey(){return m(S,this).eventKey}exitInputContext(t){m(S,this).exitInputContext(t)}getControl(t){return m(S,this).controls[t]}getInputContext(){return m(S,this).inputContext}getMediaElement(){return m(S,this).shadowRoot?.querySelector("video, audio")??null}async getRemapTime(){return m(S,this).getRemapTime()}hasData(t){const e=Object.keys(m(S,this).mediaData).length>0;return t?e?(t(),this):(m(S,this).addEventListener(a.LOADED_MEDIA_DATA_EVENT,(()=>{t()})),this):e}hashedId(){return m(S,this).mediaId}height(t,e={}){if(null!=t&&!Number.isNaN(t)){if(m(S,this).style.height=`${t}px`,e.constrain){const e=t*m(S,this).aspect;m(S,this).style.width=`${e}px`}return this}return m(S,this).getBoundingClientRect().height}inFullscreen(){return m(S,this).inFullscreen}isInstantHls(){return m(S,this).instantHls}isMuted(){return m(S,this).muted}language(t){return null!=t?(m(S,this).language=t,m(S,this).language):m(S,this).language}languages(){return m(S,this).languages}languagesToLocalizations(t){return m(S,this).languagesToLocalizations(t)}languageToLocalization(t){return m(S,this).languageToLocalization(t)}mediaLanguage(t){return null!=t?(m(S,this).mediaLanguageCode=t,m(S,this).mediaLanguage):m(S,this).mediaLanguage}mediaLanguageCode(t){return null!=t?(m(S,this).mediaLanguageCode=t,m(S,this).mediaLanguageCode):m(S,this).mediaLanguageCode}mediaLanguages(){return m(S,this).mediaLanguages}mute(){return m(C,this).synchronize((t=>{m(S,this).muted=!0,t()})),this}name(){return m(S,this).name??null}pause(){return m(C,this).synchronize((t=>{m(S,this).pause().then((()=>{t()})).catch((()=>{t()}))})),this}percentWatched(){return m(S,this).percentWatched}play(){return m(C,this).synchronize((t=>{m(S,this).play().then((()=>{t()})).catch((()=>{t()}))})),this}playbackRate(t){return void 0===t?m(S,this).playbackRate:(m(C,this).synchronize((e=>{m(S,this).playbackRate=t,e()})),this)}ready(t){return t?(m(S,this).whenApiReady().then((()=>{t()})),this):m(_,this)}async releaseControls(t){return m(S,this).releaseControls(t)}remove(){m(y,this)?.disconnect(),g(y,this,void 0),g(w,this,void 0),g(v,this,[]),m(S,this).removeEventListener(a.INTERNAL_API_CREATED_EVENT,m(A,this)),m(S,this).remove()}replaceWith(t,e={}){return m(C,this).synchronize((i=>{g(_,this,!1),m(S,this).replaceWithMedia(t,e).then((()=>{g(_,this,!0),i()})).catch((()=>{i()}))})),this}async requestControls(t){return m(S,this).requestControls(t)}requestFullscreen(){return m(C,this).synchronize((t=>{m(S,this).requestFullscreen().then((()=>{t()})).catch((()=>{t()}))})),this}secondsWatched(){return m(S,this).secondsWatched}secondsWatchedVector(){return m(S,this).secondsWatchedVector}setControlEnabled(t,e){return m(C,this).synchronize((i=>{e&&m(S,this).enableControl(t).then((()=>{i()})).catch((()=>{i()})),e||m(S,this).disableControl(t).then((()=>{i()})).catch((()=>{i()})),i()})),this}sourceHashedId(){return m(S,this).sourceMediaId}state(){return m(S,this).state}time(t){return void 0===t?m(S,this).currentTime:(m(C,this).synchronize((e=>{const i=()=>{m(S,this).removeEventListener("seeked",i),e()};m(S,this).addEventListener("seeked",i),m(S,this).currentTime=t})),this)}unbind(t,e,i,n){if(Object.keys(c.h).includes(t))return u.Wistia.EventShepherdManager[m(S,this).mediaId]?.removeListener(t,m(S,this),e),this;switch(t){case"crosstime":return m(T,this).removeBinding(e,i),this;case"betweentimes":return m(E,this).removeBinding(e,i,n),this;default:return g(v,this,m(v,this).filter((i=>i.event!==t||void 0!==e&&i.fn!==e))),m(S,this).deprecatedApiDoNotUse?.unbind(t,e),this}}unmute(){return m(C,this).synchronize((t=>{m(S,this).muted=!1,t()})),this}videoHeight(t,e={}){if((0,n.Et)(t)&&!0!==m(S,this).embedOptions.videoFoam){if(m(S,this).style.height=`${t}px`,e.constrain){const e=t/m(S,this).aspect;m(S,this).style.width=`${e}px`}else console.warn("setting `videoHeight` while `videoFoam` is enabled results in a no-op");return this}return parseFloat(getComputedStyle(m(S,this)).height)}videoQuality(t){return void 0===t?m(S,this).videoQuality:(m(C,this).synchronize((e=>{m(S,this).videoQuality=t,e()})),this)}videoWidth(t,e={}){if((0,n.Et)(t)&&!0!==m(S,this).embedOptions.videoFoam){if(m(S,this).style.width=`${t}px`,e.constrain){const e=t/m(S,this).aspect;m(S,this).style.height=`${e}px`}else console.warn("setting `videoWidth` while `videoFoam` is enabled results in a no-op");return this}return parseFloat(getComputedStyle(m(S,this)).width)}visitorKey(){return null!=window.Wistia?.visitorKey?.value()?window.Wistia.visitorKey.value(
163):null}volume(t){return void 0===t?m(S,this).volume:(m(C,this).synchronize((e=>{m(S,this).volume=t,e()})),this)}async whenControlMounted(t){return m(S,this).whenControlMounted(t)}width(t,e={}){if(null!=t&&!Number.isNaN(t)){if(m(S,this).style.width=`${t}px`,e.constrain){const e=t/m(S,this).aspect;m(S,this).style.height=`${e}px`}return this}return m(S,this).getBoundingClientRect().width}pluginFunction(t,e){return e?(m(C,this).synchronize((i=>{e(m(S,this).getPlugin(t)),i()})),this):m(S,this).getPlugin(t)}}function I(){const t=m(S,this).deprecatedApiDoNotUse;if(!t)return;const e=m(v,this);g(v,this,[]),e.forEach((({event:e,fn:i})=>{t.bind(e,i)}))}},(t,e,i)=>{i.d(e,{V:()=>s});var n=i(79);let s;(function(){let t=[].slice;s=function(){function e(){var t;return this._queue=[],this._green=!1,this._lock=!1,this.allInOne=(t=this,function(){return t._allInOne.apply(t,arguments)}),this.defineMethodsOn(this.allInOne),this.allInOne}return e.prototype.defineMethodsOn=function(t){let e,i,n,s,o;for(i in e={},n=this,s=[],n)o=n[i],s.push(function(i,n,s){if("[object Function]"===e.toString.call(n))return t[i]=function(){return s[i].apply(s,arguments)}}(i,o,this));return s},e.prototype.flush=function(){let e,i;if(e=arguments.length>=1?t.call(arguments,0):[],!this._green)return this;for(this._lock=!0;this._queue.length>0&&(i=this._queue.shift(),e.length||!this.goArgs?this.tryAndReport((()=>i.apply(null,e))):this.tryAndReport(function(t){return function(){return i.apply(null,t.goArgs)}}(this)),!this._block&&this._green););return this._lock=!1,this},e.prototype._debug=function(){return"undefined"!=typeof console&&null!==console?console.log.apply(console,arguments):void 0},e.prototype.synchronize=function(){let e,i,n,s;for(i=arguments.length>=1?t.call(arguments,0):[],n=0,s=i.length;n<s;n++)e=i[n],this.synchronizeFn(e);return this},e.prototype.synchronizeFn=function(t){let e,i,n;var s;return i=null,s=this,e=function(){return clearTimeout(i),s._block=!1,s.go()},n=function(i){return function(){return i._block=!0,i.stop(),t(e)}}(this),i=setTimeout(function(i){return function(){return i._debug("StopGo#synchronize timed out",t),e()}}(this),5e3),this.runFn(n),this},e.prototype.tryAndReport=function(t){let e;try{return t()}catch(t){return e=t,e.stack?("undefined"!=typeof console&&null!==console&&console.log(e.message),"undefined"!=typeof console&&null!==console?console.log(e.stack):void 0):"undefined"!=typeof console&&null!==console?console.log(e):void 0}},e.prototype.clearSynchronized=function(){return this.setQueue([]),this._block=!1,this._green=!0},e.prototype.filter=function(t){let e;return this._queue=function(){let i,n,s,o;for(s=this._queue,o=[],i=0,n=s.length;i<n;i++)e=s[i],t(e)&&o.push(e);return o}.call(this),this},e.prototype.push=function(t){return this._queue.push(t),this},e.prototype.go=function(){let e;return e=arguments.length>=1?t.call(arguments,0):[],this._green=!0,this.goArgs=e,this.flush.apply(this,e),this},e.prototype.stop=function(){return this._green=!1,this},e.prototype.run=function(){let e,i,n,s;for(i=arguments.length>=1?t.call(arguments,0):[],n=0,s=i.length;n<s;n++)e=i[n],this.runFn(e);return this},e.prototype.then=function(){return this.run.apply(this,arguments)},e.prototype.runFn=function(t){return this._green&&!this._block?this._lock?this.tryAndReport(t):(this.push(t),this.flush()):this.push(t),this},e.prototype.remove=function(){let e,i,n,s;for(i=arguments.length>=1?t.call(arguments,0):[],n=0,s=i.length;n<s;n++)e=i[n],this.removeFn(e);return this},e.prototype.removeFn=function(t){return this.filter((e=>t!==e)),this},e.prototype.setQueue=function(t){return this._queue=t,this},e.prototype.getQueue=function(){return this._queue},e.prototype._allInOne=function(){let e,i;return e=arguments[0],i=arguments.length>=2?t.call(arguments,1):[],!0===e?this.go.apply(this,i):!1===e?this.stop():null!=e?e instanceof Array?this.run.apply(this,e):"string"==typeof e?this[e].apply(this,i):this.run.apply(this,arguments):this._green},e}(),s.when=function(){let e,i,n,o,r,a,l,h;for(h=arguments.length>=1?t.call(arguments,0):[],a=new s,n=function(){return a.go.apply(a,arguments)},r=h.reverse(),e=function(t,e){return n=function(){return e((function(){return t.apply(null,arguments)}))}},i=0,o=r.length;i<o;i++)l=r[i],e(n,l);return n(),a}
163,s._drainStopGosAsync=function(t,e,i){let o;if(null==i&&(i=0),!(e.length<1))return o=e.shift(),o.run((()=>s._drainStopGosAsync(t,e,i+1))),(0,n.doTimeout)(`${t}.${i}`,(()=>o.go()),0),o}}).call(void 0)},(t,e,i)=>{i.d(e,{E:()=>o});var n=i(103);function s(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class o extends n.Y{constructor(t,e){super(e),s(this,"apiInstance",void 0),s(this,"embedElement",void 0),this.apiInstance=t,this.embedElement=t}get currentTime(){return this.apiInstance.currentTime}get state(){return this.apiInstance.state}}},(t,e,i)=>{function n(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,{Y:()=>s});class s{constructor(t){n(this,"bindings",{}),n(this,"unbindFunction",void 0),this.unbindFunction=t}addBinding(t,e){if(!/^(\d+\.)?\d+$/.test(t))throw new Error("crosstime: Expected first argument to be a number");if("function"!=typeof e)throw new Error("crosstime: Expected second argument to be a function");let i,n=this.currentTime>t;const s=()=>
163{if(void 0!==i)return;const s=()=>{i=requestAnimationFrame((()=>{this.currentTime<t&&t-this.currentTime<2&&"playing"===this.state?s():this.currentTime>t?(e.call(this.unbindFunction)===this.unbindFunction&&this.removeBinding(t,e),n=!0,i=void 0):(cancelAnimationFrame(i),i=void 0)}))};s()},o=()=>{this.currentTime<t&&(n=!1),n||s()};this.embedElement.addEventListener("time-update",o);const r=()=>{void 0!==i&&cancelAnimationFrame(i),i=void 0};this.embedElement.addEventListener("pause",r),this.embedElement.addEventListener("end",r),this.embedElement.addEventListener("waiting",r),this.bindings[t]??=[],this.bindings[t].push({callback:e,clearAnimationFrame:r,timeChangeBinding:o})}removeAllBindings(){Object.keys(this.bindings).forEach((t=>{this.bindings[t].forEach((t=>{t.clearAnimationFrame(),this.embedElement.removeEventListener("time-update",t.timeChangeBinding),this.embedElement.removeEventListener("pause",t.clearAnimationFrame),this.embedElement.removeEventListener("end",t.clearAnimationFrame),this.embedElement.removeEventListener("waiting",t.clearAnimationFrame)}))})),this.bindings={}}removeBinding(t,e){const i=this.bindings[t],n=[];i&&(i.forEach(((t,i)=>{t.callback===e&&(n.push(i),t.clearAnimationFrame(),this.embedElement.removeEventListener("time-update",t.timeChangeBinding),this.embedElement.removeEventListener("pause",t.clearAnimationFrame),this.embedElement.removeEventListener("end",t.clearAnimationFrame),this.embedElement.removeEventListener("waiting",t.clearAnimationFrame))})),n.forEach((t=>{i.splice(t,1)})))}}},(t,e,i)=>{i.d(e,{$:()=>r});var n=i(105),s=i(102);function o(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class r extends n.b{constructor(t,e){super(e),o(this,"apiInstance",void 0),o(this,"crossTime",void 0),o(this,"embedElement",void 0),this.apiInstance=t,this.embedElement=t,this.crossTime=new s.E(this.apiInstance,e)}get currentTime(){return this.apiInstance.currentTime}}},(t,e,i)=>{function n(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function s(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}i.d(e,{b:()=>r});var o=new WeakSet;class r{constructor(t){var e,i;(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e=this,i=o),i.add(e),n(this,"bindings",{}),n(this,"unbindFunction",void 0),this.unbindFunction=t}addBinding(t,e,i){if(!/^(\d+\.)?\d+$/.test(t))throw new Error("betweenTimes: Expected first argument to be a number");if(!/^(\d+\.)?\d+$/.test(e))throw new Error("betweenTimes: Expected second argument to be number");if("function"!=typeof i)throw new Error("betweenTimes: Expected third argument to be a function");const n=s(o,this,a).call(this,t,e);let r=!1;const l=()=>{const n=this.currentTime;t<=n&&n<e&&!r?(r=!0,i.call(this.unbindFunction,r)===this.unbindFunction&&this.removeBinding(t,e,i)):t<=n&&n<e||!r||(r=!1,i.call(this.unbindFunction,r)===this.unbindFunction&&this.removeBinding(t,e,i))};this.crossTime.addBinding(t,l),this.crossTime.addBinding(e,l),this.embedElement.addEventListener("time-update",l),l(),this.bindings[n]??=[],this.bindings[n].push({callback:i,endTime:e,startTime:t,timeUpdateBinding:l})}removeAllBindings(){Object.keys(this.bindings).forEach((t=>{const e=this.bindings[t];e?.forEach((t=>{this.embedElement.removeEventListener("time-update",t.timeUpdateBinding),this.crossTime.removeBinding(t.startTime,t.timeUpdateBinding),this.crossTime.removeBinding(t.endTime,t.timeUpdateBinding)}))})),this.bindings={}}removeBinding(t,e,i){const n=s(o,this,a).call(this,t,e),r=this.bindings[n],l=[];r&&(r.forEach(((n,s)=>{n.callback===i&&(l.push(s),this.embedElement.removeEventListener("time-update",n.timeUpdateBinding),this.crossTime.removeBinding(t,n.timeUpdateBinding),this.crossTime.removeBinding(e,n.timeUpdateBinding))})),l.forEach((t=>{r.splice(t,1)})))}}function a(t,e){return`${t}-${e}`}},(t,e,i)=>{i.d(e,{ze:()=>g});var n=i(7),s=i(107),o=i.n(s),r=i(1),a=i(24),l=i(89),h=i(93),u=i(108),c=i(109),d=i(92);
163function p(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const m=(0,a.cdnFastWistiaNetHost)();class g{constructor(t,e,i,s){p(this,"activeMediaId",void 0),p(this,"activeMediaIndex",void 0),p(this,"isInitialized",void 0),p(this,"orderedPlaylistMedias",void 0),p(this,"sourceIdentifier",void 0),p(this,"_autoAdvance",void 0),p(this,"_embedHost",void 0),p(this,"_endBehavior",void 0),p(this,"_isInsidePlayerControl",void 0),p(this,"_overrideEmbedOptions",void 0),p(this,"_player",void 0),p(this,"_transition",void 0),p(this,"_handlePlayerEnded",(()=>{this.playNextMedia(!0)})),this.sourceIdentifier=`${i.source.type}_${i.source.id}`,this._embedHost=s??m,this.orderedPlaylistMedias=t,this._player=e,this._autoAdvance=i.autoAdvance??!0,this._endBehavior=i.endBehavior??"default",this._transition=i.transition??"fade",this._isInsidePlayerControl=i.isInsidePlayerControl??!1,this._overrideEmbedOptions=i.overrideEmbedOptions,(0,n.Et)(i.startIndex)&&i.startIndex>=t.length-1?(this.activeMediaIndex=this._lastMediaIndex,this.activeMediaId=t[this._lastMediaIndex].hashedId):(0,n.Bx)(i.startIndex)?(this.activeMediaIndex=0,this.activeMediaId=t[0].hashedId):(this.activeMediaIndex=i.startIndex,this.activeMediaId=t[i.startIndex].hashedId),this._autoAdvance&&this._player.addEventListener("ended",this._handlePlayerEnded),(0,n.gD)(r.Wistia.playlistMethods)&&(r.Wistia.playlistMethods=new Map),r.Wistia.playlistMethods.set(this.sourceIdentifier,this)}set overrideEmbedOptions(t){this._overrideEmbedOptions=t}get _lastMediaIndex(){return this.orderedPlaylistMedias.length-1}addMediaToPlaylist(t,e){(0,n.n9)(e)&&(0,n.n9)(e.index)?this.orderedPlaylistMedias.splice(e.index,0,t):this.orderedPlaylistMedias.push(t)}getNextMedia(){if(this.activeMediaIndex===this._lastMediaIndex){if("no-loop"===this._endBehavior)return;return this.orderedPlaylistMedias[0]}return this.orderedPlaylistMedias[this.activeMediaIndex+1]}getPreviousMedia(){if(0===this.activeMediaIndex){if("no-loop"===this._endBehavior)return;return this.orderedPlaylistMedias[this._lastMediaIndex]}return this.orderedPlaylistMedias[this.activeMediaIndex-1]}async playMedia(t){this.activeMediaIndex=this._getIndexOfMediaInPlaylist(t.hashedId),this.activeMediaId=t.hashedId,await this._enqueueMedia(t),this.prefetchNextMedia(),this.prefetchPreviousMedia()}async playNextMedia(t=!1){return new Promise(((e,i)=>{const s=this.getNextMedia();if((0,n.gD)(s)){const t=new u.P("no next media");throw i(t),t}this.activeMediaId=s.hashedId,this.activeMediaIndex=this.activeMediaIndex===this._lastMediaIndex?0:this.activeMediaIndex+1,this._enqueueMedia(s,t).then((()=>{this.prefetchNextMedia(),e()})).catch((t=>{t instanceof Error&&i(t),i(new Error(`failed to enqueue media ${s.hashedId}`))}))}))}async playPreviousMedia(){return new Promise(((t,e)=>{const i=this.getPreviousMedia();if((0,n.gD)(i)){const t=new c.$("no previous media");throw e(t),t}this.activeMediaId=i.hashedId,this.activeMediaIndex=0===this.activeMediaIndex?this._lastMediaIndex:this.activeMediaIndex-1,this._enqueueMedia(i).then((()=>{this.prefetchPreviousMedia(),t()})).catch((t=>{t instanceof Error&&e(t),e(new Error(`failed to enqueue media ${i.hashedId}`))}))}))}prefetchNextMedia(){const t=this.getNextMedia();(0,n.gD)(t)||this._prefetchMedia(t)}prefetchPreviousMedia(){const t=this.getPreviousMedia();(0,n.gD)(t)||this._prefetchMedia(t)}removePlayerEndedListener(){this._player.removeEventListener("ended",this._handlePlayerEnded)}setAutoAdvance(t){this._autoAdvance=t}setEndBehavior(t){this._endBehavior=t}async _enqueueMedia(t,e=!1){const i=await this._prefetchMedia(t);if((0,n.gD)(i))return Promise.resolve();const s=this.orderedPlaylistMedias[0].hashedId===t.hashedId;this._autoAdvance&&this._isInsidePlayerControl&&this.removePlayerEndedListener(),await this._player.replaceWithMedia(i.hashedId,{...i.embedOptions,...this._overrideEmbedOptions??{},transition:this._transition}),e&&document.dispatchEvent(new CustomEvent("playlist-methods-autoplay-next-media-started"));let o=!1;
163return e?this._autoAdvance&&(o=!s||"default"===this._endBehavior):o=!0,o&&await this._player.play(),document.dispatchEvent(new CustomEvent("playlist-methods-changed-media",{detail:{mediaId:i.hashedId}})),Promise.resolve()}_getCachedMediaDataAsPlaylistMedia(t){const e=(0,l.F2)(t);return(0,n.n9)(e)?{durationInSeconds:e.duration??0,embedOptions:e.embedOptions??{},hashedId:e.hashedId??"",name:e.name??""}:null}_getIndexOfMediaInPlaylist(t){return Math.max(this.orderedPlaylistMedias.findIndex((e=>e.hashedId===t)),0)}_getMediaDataAsPlaylistMedia(t){return{durationInSeconds:t.duration??0,embedOptions:t.embedOptions??{},hashedId:t.hashedId??"",name:t.name??""}}async _prefetchMedia(t){t.embedOptions?.plugin?.passwordProtectedVideo&&delete t.embedOptions.plugin.passwordProtectedVideo;const e=this._getCachedMediaDataAsPlaylistMedia(t.hashedId);if((0,n.n9)(e))return o()(e.embedOptions,t.embedOptions),Promise.resolve(e);const i={...t.embedOptions,embedHost:this._embedHost};(0,n.n9)(t.embedOptions?.channelId)&&(i.channelId=t.embedOptions.channelId),(0,n.n9)(t.embedOptions?.channelPassword)&&(i.channelPassword=t.embedOptions.channelPassword);const s=await(0,h.j)(t.hashedId,i);if((0,d.V)(s))return Promise.resolve(null);const r=s,a=this._getMediaDataAsPlaylistMedia(r);return o()(a.embedOptions,t.embedOptions),a}}},(t,e,i)=>{t=i.nmd(t);var n="__lodash_hash_undefined__",s=9007199254740991,o="[object Arguments]",r="[object Function]",a="[object Object]",l=/^\[object .+?Constructor\]$/,h=/^(?:0|[1-9]\d*)$/,u={};u["[object Float32Array]"]=u["[object Float64Array]"]=u["[object Int8Array]"]=u["[object Int16Array]"]=u["[object Int32Array]"]=u["[object Uint8Array]"]=u["[object Uint8ClampedArray]"]=u["[object Uint16Array]"]=u["[object Uint32Array]"]=!0,u[o]=u["[object Array]"]=u["[object ArrayBuffer]"]=u["[object Boolean]"]=u["[object DataView]"]=u["[object Date]"]=u["[object Error]"]=u[r]=u["[object Map]"]=u["[object Number]"]=u[a]=u["[object RegExp]"]=u["[object Set]"]=u["[object String]"]=u["[object WeakMap]"]=!1;var c,d,p,m="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,g="object"==typeof self&&self&&self.Object===Object&&self,f=m||g||Function("return this")(),y=e&&!e.nodeType&&e,_=y&&t&&!t.nodeType&&t,v=_&&_.exports===y,b=v&&m.process,w=function(){try{return _&&_.require&&_.require("util").types||b&&b.binding&&b.binding("util")}catch(t){}}(),E=w&&w.isTypedArray,C=Array.prototype,T=Function.prototype,S=Object.prototype,P=f["__core-js_shared__"],A=T.toString,L=S.hasOwnProperty,I=(c=/[^.]+$/.exec(P&&P.keys&&P.keys.IE_PROTO||""))?"Symbol(src)_1."+c:"",M=S.toString,D=A.call(Object),k=RegExp("^"+A.call(L).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),O=v?f.Buffer:void 0,x=f.Symbol,B=f.Uint8Array,R=(O&&O.allocUnsafe,d=Object.getPrototypeOf,p=Object,function(t){return d(p(t))}),W=Object.create,F=S.propertyIsEnumerable,N=C.splice,H=x?x.toStringTag:void 0,V=function(){try{var t=at(Object,"defineProperty");return t({},"",{}),t}catch(t){}}(),$=O?O.isBuffer:void 0,j=Math.max,U=Date.now,z=at(f,"Map"),q=at(Object,"create"),K=function(){function t(){}return function(e){if(!vt(e))return{};if(W)return W(e);t.prototype=e;var i=new t;return t.prototype=void 0,i}}();function G(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Y(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Q(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function X(t){var e=this.__data__=new Y(t);this.size=e.size}function J(t,e,i){(void 0!==i&&!dt(t[e],i)||void 0===i&&!(e in t))&&et(t,e,i)}function Z(t,e,i){var n=t[e];L.call(t,e)&&dt(n,i)&&(void 0!==i||e in t)||et(t,e,i)}function tt(t,e){for(var i=t.length;i--;)if(dt(t[i][0],e))return i;return-1}function et(t,e,i){"__proto__"==e&&V?V(t,e,{configurable:!0,enumerable:!0,value:i,writable:!0}):t[e]=i}G.prototype.clear=function(){this.__data__=q?q(null):{},this.size=0},G.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},G.prototype.get=function(t){var e=this.__data__;if(q){var i=e[t];return i===n?void 0:i}return L.call(e,t)?e[t]:void 0},G.prototype.has=function(t){var e=this.__data__;return q?void 0!==e[t]:L.call(e,t)},G.prototype.set=function(t,e){var i=this.__data__;return this.size+=this.has(t)?0:1,i[t]=q&&void 0===e?n:e,this},Y.prototype.clear=function(){this.__data__=[],this.size=0},Y.prototype.delete=function(t){var e=this.__data__,i=tt(e,t);return!(i<0||(i==e.length-1?e.pop():N.call(e,i,1),--this.size,0))},Y.prototype.get=function(t){var e=this.__data__,i=tt(e,t);return i<0?void 0:e[i][1]},Y.prototype.has=function(t){return tt(this.__data__,t)>-1}
vendor: 4,721 bytes, line 163
163,Y.prototype.set=function(t,e){var i=this.__data__,n=tt(i,t);return n<0?(++this.size,i.push([t,e])):i[n][1]=e,this},Q.prototype.clear=function(){this.size=0,this.__data__={hash:new G,map:new(z||Y),string:new G}},Q.prototype.delete=function(t){var e=rt(this,t).delete(t);return this.size-=e?1:0,e},Q.prototype.get=function(t){return rt(this,t).get(t)},Q.prototype.has=function(t){return rt(this,t).has(t)},Q.prototype.set=function(t,e){var i=rt(this,t),n=i.size;return i.set(t,e),this.size+=i.size==n?0:1,this},X.prototype.clear=function(){this.__data__=new Y,this.size=0},X.prototype.delete=function(t){var e=this.__data__,i=e.delete(t);return this.size=e.size,i},X.prototype.get=function(t){return this.__data__.get(t)},X.prototype.has=function(t){return this.__data__.has(t)},X.prototype.set=function(t,e){var i=this.__data__;if(i instanceof Y){var n=i.__data__;if(!z||n.length<199)return n.push([t,e]),this.size=++i.size,this;i=this.__data__=new Q(n)}return i.set(t,e),this.size=i.size,this};function it(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":H&&H in Object(t)?function(t){var e=L.call(t,H),i=t[H];try{t[H]=void 0;var n=!0}catch(t){}var s=M.call(t);return n&&(e?t[H]=i:delete t[H]),s}(t):function(t){return M.call(t)}(t)}function nt(t){return bt(t)&&it(t)==o}function st(t,e,i,n,s){t!==e&&function(t,e,i){for(var n=-1,s=Object(t),o=i(t),r=o.length;r--;){var a=o[++n];if(!1===e(s[a],a,s))break}}(e,(function(o,r){if(s||(s=new X),vt(o))!function(t,e,i,n,s,o,r){var l=ut(t,i),h=ut(e,i),u=r.get(h);if(u)J(t,i,u);else{var c,d,p,m,g,f=o?o(l,h,i+"",t,e,r):void 0,y=void 0===f;if(y){var _=mt(h),v=!_&&ft(h),b=!_&&!v&&wt(h);f=h,_||v||b?mt(l)?f=l:bt(g=l)&>(g)?f=function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e}(l):v?(y=!1,f=function(t){return t.slice()}(h)):b?(y=!1,m=new(p=(c=h).buffer).constructor(p.byteLength),new B(m).set(new B(p)),d=m,f=new c.constructor(d,c.byteOffset,c.length)):f=[]:function(t){if(!bt(t)||it(t)!=a)return!1;var e=R(t);if(null===e)return!0;var i=L.call(e,"constructor")&&e.constructor;return"function"==typeof i&&i instanceof i&&A.call(i)==D}(h)||pt(h)?(f=l,pt(l)?f=function(t){return function(t,e,i){var n=!i;i||(i={});for(var s=-1,o=e.length;++s<o;){var r=e[s],a=void 0;void 0===a&&(a=t[r]),n?et(i,r,a):Z(i,r,a)}return i}(t,Et(t))}(l):vt(l)&&!yt(l)||(f=function(t){return"function"!=typeof t.constructor||ht(t)?{}:K(R(t))}(h))):y=!1}y&&(r.set(h,f),s(f,h,n,o,r),r.delete(h)),J(t,i,f)}}(t,e,r,i,st,n,s);else{var l=n?n(ut(t,r),o,r+"",t,e,s):void 0;void 0===l&&(l=o),J(t,r,l)}}),Et)}var ot=V?function(t,e){return V(t,"toString",{configurable:!0,enumerable:!1,value:(i=e,function(){return i}),writable:!0});var i}:St;function rt(t,e){var i,n,s=t.__data__;return("string"==(n=typeof(i=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?s["string"==typeof e?"string":"hash"]:s.map}function at(t,e){var i=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!vt(t)||function(t){return!!I&&I in t}(t))&&(yt(t)?k:l).test(function(t){if(null!=t){try{return A.call(t)}catch(t){}try{return t+""}catch(t){}}return""}(t))}(i)?i:void 0}function lt(t,e){var i=typeof t;return!!(e=null==e?s:e)&&("number"==i||"symbol"!=i&&h.test(t))&&t>-1&&t%1==0&&t<e}function ht(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||S)}function ut(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]}var ct=function(t){var e=0,i=0;return function(){var n=U(),s=16-(n-i);if(i=n,s>0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}(ot);function dt(t,e){return t===e||t!=t&&e!=e}var pt=nt(function(){return arguments}())?nt:function(t){return bt(t)&&L.call(t,"callee")&&!F.call(t,"callee")},mt=Array.isArray;function gt(t){return null!=t&&_t(t.length)&&!yt(t)}var ft=$||function(){return!1};function yt(t){if(!vt(t))return!1;var e=it(t);return e==r||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}function _t(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=s}function vt(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}function bt(t){return null!=t&&"object"==typeof t}var wt=E?function(t){return function(e){return t(e)}}(E):function(t){return bt(t)&&_t(t.length)&&!!u[it(t)]};function Et(t){return gt(t)?function(t,e){var i=mt(t),n=!i&&pt(t),s=!i&&!n&&ft(t),o=!i&&!n&&!s&&wt(t),r=i||n||s||o,a=r?function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}(t.length,String):[],l=a.length;for(var h in t)!e&&!L.call(t,h)||r&&("length"==h||s&&("offset"==h||"parent"==h)||o&&("buffer"==h||"byteLength"==h||"byteOffset"==h)||lt(h,l))||a.push(h);return a}(t,!0):function(t){if(!vt(t))return function(t){var e=[];
163if(null!=t)for(var i in Object(t))e.push(i);return e}(t);var e=ht(t),i=[];for(var n in t)("constructor"!=n||!e&&L.call(t,n))&&i.push(n);return i}(t)}var Ct,Tt=(Ct=function(t,e,i){st(t,e,i)},function(t,e){return ct(function(t,e,i){return e=j(void 0===e?t.length-1:e,0),function(){for(var n=arguments,s=-1,o=j(n.length-e,0),r=Array(o);++s<o;)r[s]=n[e+s];s=-1;for(var a=Array(e+1);++s<e;)a[s]=n[s];return a[e]=i(r),function(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}(t,this,a)}}(t,e,St),t+"")}((function(t,e){var i=-1,n=e.length,s=n>1?e[n-1]:void 0,o=n>2?e[2]:void 0;for(s=Ct.length>3&&"function"==typeof s?(n--,s):void 0,o&&function(t,e,i){if(!vt(i))return!1;var n=typeof e;return!!("number"==n?gt(i)&<(e,i.length):"string"==n&&e in i)&&dt(i[e],t)}(e[0],e[1],o)&&(s=n<3?void 0:s,n=1),t=Object(t);++i<n;){var r=e[i];r&&Ct(t,r,i)}return t})));function St(t){return t}t.exports=Tt},(t,e,i)=>{i.d(e,{P:()=>n});class n extends Error{constructor(t){super(t)}}},(t,e,i)=>{i.d(e,{$:()=>n});class n extends Error{constructor(t){super(t)}}},(t,e,i)=>{!function(t){var e,n,s,o,r,a,l,h,u,c,d,p,m,g,f,y,_,v;t.embeds||(t.embeds={},n=i(101).V,v=i(20).ct,d=i(80).P,o=i(111).o,_=i(112).nF,(m=i(64)).elemClasses,a=m.elemHasClass,l=m.elemMutationObserver,i(25).queryParamsToObject,r=i(79).clearTimeouts,(g=i(22)).cast,c=g.isObject,s=g.assign,g.clone,p=i(97).S,h=i(83).e,u=(f=i(98)).getOrSetEmbedOptionStore,y=f.setEmbedOptionStore,e=f.GLOBAL_ID_KEY,t.embeds.setup=function(e){return t.embeds.notEmbedding((function(){var i;if(d(i=function(){var i,n,s,r,a,l,h,u,c;t.embeds.notEmbedding(!1),r=[];try{for((e=t.embeds.uninitialized(e))&&e.length&&e.length>0&&t.info("initializing",null!=e?e.length:void 0,"embedElems"),l=0,h=e.length;l<h;l++){s=e[l];try{if(t.info("initializing elem",s),a=t.embeds.hashedIdForElem(s,{asyncOnly:!0}),!document.body.contains(s))continue;s.id?document.getElementById(s.id)!==s&&(u=t.embeds.genIdFor(a),t.error('Duplicate DOM ID found for container "'+s.id+'". Changing it to "'+u+'" to avoid issues.',s),s.id=u):s.id=t.embeds.genIdFor(a),s.uniqueId=s.id,c=p(s),y("__"+s.id+"_dom_options__",c),function(e,i){r.push((function(){if(!t.embeds.containerIsInitialized(i))return t.embed(e,{container:i.id})}))}(a,s)}catch(e){i=e,t.error(i)}}}catch(e){n=e,t.error(n)}return r.push((function(){return t.watchForInit()})),r.push((function(){return t.embeds.notEmbedding(!0)})),o("embeds_setup",r)}),0===t.detect.ios.version&&!t.detect.safari)return i()}))},t.embeds._setupThrottled=_(500,t.embeds.setup),t.embeds.hashedIdForElem=function(t,e){var i,n,s,o,r,a;return null==e&&(e={}),"WISTIA-PLAYER"===t.tagName?t.mediaId:e.asyncOnly?(null!=(i=t.className)&&null!=(n=i.match(/wistia_async_([^\s]+)/))?n[1]:void 0)||null:(null!=(s=t.className)&&null!=(o=s.match(/wistia_async_([^\s]+)/))?o[1]:void 0)||(null!=(r=t.className)&&null!=(a=r.match(/wistia_([^\s]+)/))?a[1]:void 0)||null},t.embeds.genIdFor=function(t){var e,i,n;for(e="wistia-"+t,n=1;i=e+"-"+n,document.getElementById(i)||document.querySelector("[unique-id="+i+"]");)n+=1;return i},t.options=u,t.embeds.uninitialized=function(e){var i,n,s,o;for(null==e&&(e=h()),o=[],n=0,s=e.length;n<s;n++)i=e[n],t.embeds.hashedIdForElem(i,{asyncOnly:!0})&&!t.embeds.containerIsInitialized(i)&&o.push(i);return o},t.embeds.containerIsInitialized=function(e){return e&&(e.wistiaApi||"WISTIA-PLAYER"===e.tagName||e._convertingToAurora)&&!(e.wistiaApi instanceof t.IframeApiProxy)},t.embeds.initialized=function(e){var i,n,s,o;for(o in s=[],n=t._data.video)i=n[o],s.push(i);return s},t.embeds.observe=function(){var e,i;if(!t.embeds.initObserver){if(t.embeds.initObserver=l((function(e){var i,n,s,o,r,l,h,u,c,d;for(n=[],i=!1,s=0,r=e.length;s<r;s++)for((null!=(c=(h=e[s]).addedNodes)?c.length:void 0)>0&&(i=!0),o=0,l=(d=h.addedNodes||[]).length;o<l;o++)u=d[o],a(u,"wistia_embed")&&n.push(u);if(n.length>0&&setTimeout((function(){return t.embeds.setup(n)}),10),i)return t.embeds._setupThrottled()})),e={subtree:!0,childList:!0},t.detect.ios.version>0||t.detect.safari)return d((function(){return t.embeds.initObserver.observe(document.body,e)}));try{return t.embeds.initObserver.observe(document.body,e)}catch(n){return i=n,v.notice(i),d((function(){try{return t.embeds.initObserver.observe(document.body,e)}catch(t){return i=t,v.error(i)}}))}}},t.embeds.unobserve=function(){var e;return null!=(e=t.embeds.initObserver)&&e.disconnect(),t.embeds.initObserver=null},t.embeds.poll=function(e){return null==e&&(e=500),t.eventLoop.add("poll_setup_embeds",e,(function(){return t.embeds.setup()}))},t.embeds.unpoll=function(){var e;return null!=(e=t.eventLoop)?e.remove("poll_setup_embeds"):void 0},t.embeds.watch=function(){return t.embeds._dontWatch=!1,t.detect.mutationObserver?(t.embeds.observe(),t.embeds.poll(2e3)):t.embeds.poll()},t.embeds.dontWatch=function(){return t.embeds._dontWatch=!0,t.embeds.unwatch()},t.embeds.unwatch=function(){return t.embeds.unobserve(),t.embeds.unpoll()},t.flushInit=function(){var e,i,n,s;if(window.wistiaInit){if(wistiaInit instanceof Array)for(n=0,s=wistiaInit.length;n<s;n++){i=wistiaInit[n];try{"function"==typeof i&&i(t)}catch(t){e=t,v.error(e)}}else"function"==typeof wistiaInit&&wistiaInit(t);return window.wistiaInit=null}},t.addQueue=function(e){return t._queueNames.push(e),t.watchForInit()},t._queueNames=["_wq","wistiaInitQueue"],t._wqBoundListeners=[],t.flushInitQueue=function(){var i,n,s,o,r,a,l,h,u,d,p,m,g,f,_;if(!t._isFlushingInitQueue){t._isFlushingInitQueue=!0;try{for(i=function(t){return t.translationApi?t.translationApi:t},f=t._queueNames,a=0,u=f.length;a<u;a++)if(m=f[a],(p=window[m])&&p instanceof Array&&p.length>0){for(r=[];p.length>0;)if(_=p.shift(),c(_))if(_.revoke&&t.revokeQueueListener(_.revoke),_.__unbinds||(_.__unbinds=[]),_.id)g=!1,_.options&&("_all"===_.id?(y(e,_.options),g=!0):(y(_.id,_.options),g=!0)),function(e){var n,s;s="_all"===e.id?[]:[e.id],e.onFind&&(n=s.concat([function(t){return e.onFind(i(t))}]),e.__unbinds=e.__unbinds.concat(t.api.apply(t,n)),g=!0),e.onHasData&&(n=s.concat([function(t){return t.hasData((function(){return e.onHasData(i(t))}))}]),e.__unbinds=e.__unbinds.concat(t.api.apply(t,n)),g=!0),e.onEmbedded&&(n=s.concat([function(t){return t.embedded((function(){return e.onEmbedded(i(t))}))}]),e.__unbinds=e.__unbinds.concat(t.api.apply(t,n)),g=!0),e.onReady&&(n=s.concat([function(t){return t.ready((function(){return e.onReady(i(t))}))}]),e.__unbinds=e.__unbinds.concat(t.api.apply(t,n)),g=!0),g?t._wqBoundListeners.push(e):t.error("No initialization function provided for ID "+e.id,e)}(_);else for(h in o=function(n,s,o){var a,l;return"function"==typeof o?(l=function(t){return t.hasData((function(){return o(i(t))}))}
163,a=function(){return n.__unbinds="_all"===s?n.__unbinds.concat(t.api(l)):n.__unbinds.concat(t.api(s,l)),t._wqBoundListeners.push(n)},r.push(a)):c(o)?(a="_all"===s?function(){return y(e,o)}:function(){return y(s,o)},r.push(a)):"__unbinds"!==s&&"revoke"!==s?t.error("Unknown initialization object:",o,"Expected Object or Function."):void 0},_)o(_,h,_[h]);else"function"==typeof _?function(e){var i;i=function(){return e(t)},r.push(i)}(_):t.notice(m+": Don't know what to do with "+_+", ignoring.");for(l=0,d=r.length;l<d;l++){s=r[l];try{"function"==typeof s&&s(t)}catch(t){n=t,v.error(n)}}p.length=0}}catch(t){n=t,v.error(n)}return t._isFlushingInitQueue=!1}},t.getInitQueueListeners=function(){return s([],t._wqBoundListeners)},t.revokeQueueListener=function(e){var i,n,s,o,r,a,l,h;for(a=[],i=0,s=(l=e instanceof Array?e:[e]).length;i<s;i++){if((e=l[i]).__unbinds){for(n=0,o=(r=e.__unbinds).length;n<o;n++)"function"==typeof(h=r[n])&&h();delete e.__unbinds}a.push(t._wqBoundListeners=t._wqBoundListeners.filter((function(t){return t!==e})))}return a},t.watchForInit=function(){if(null==t._pollInit&&(t._pollInit=function(){return t.flushInitQueue(),t.flushInit()}),t._pollInit(),t.eventLoop)return t.eventLoop.unpause("poll_init"),t.eventLoop.add("poll_init",500,t._pollInit)},t.api=function(e,i){var n,s,o,r,a,l,h,u,c,d,p,m;if(null!=e){if(i)return t.api.onFind(e,i);if("function"==typeof e)return t.api.onFind(e);if("string"==typeof e){if(c=e,!(o=document.getElementById(c)))for(h=0,u=(s=t.api.all()).length;h<u;h++)if(0===(null!=(d=(a=s[h]).hashedId())?d.indexOf(c):void 0)||0===(null!=(p=a.container.id)?p.indexOf(c):void 0)){o=a.container;break}}else"number"==typeof e?(l=e,n=t.api.all(),l<0&&(l=n.length+l),o=(null!=(m=n[l])?m.container:void 0)||null):window.HTMLElement&&e instanceof HTMLElement?o=e:t.error("Wistia.api: Unrecognized matcher",e);return r=null!=o?o.querySelector("wistia-player"):void 0,(null!=o?o.wistiaApi:void 0)&&(o.wistiaApi instanceof t.PublicApi||t.IframeApi&&o.wistiaApi instanceof t.IframeApi)?o.wistiaApi:"WISTIA-PLAYER"===(null!=o?o.tagName:void 0)&&(null!=o?o.translationApi:void 0)?o.translationApi:(null!=r?r.translationApi:void 0)?null!=r?r.translationApi:void 0:null}return t.api.all()[0]||null},t.api.all=function(){return t.api._apiHandles().concat(t.api._iframeHandles())},t.api._apiHandles=function(){return t.embeds.initialized()},t.api._iframeHandles=function(){var e,i,n,s;for(s in n=[],i=t._data.iframe_api)e=i[s],n.push(e);return n},t.api.onFind=function(e,i){var n,s;return"function"==typeof e&&(i=e,e=null),n=function(n){return(null===e||t.api(e)===n)&&(i(n),!0)},wistiaEmbeds.each(n),s=[wistiaEmbeds.on("initembed",n),wistiaEmbeds.on("afterreplace",n)],function(){var t,e,i,n;for(i=[],t=0,e=s.length;t<e;t++)n=s[t],i.push(n());return i}},t._asyncInitSoonAfterLoad=function(e){return null==e&&(e=10),setTimeout((function(){var e;try{return t.embeds.setup(),t.embeds._dontWatch||t.embeds.watch(),t.watchForInit()}catch(t){return e=t,v.error(e)}}),e)},t._initializers.initAsyncEmbeds=function(){var e,i,s;return t.embeds.notEmbedding=new n,t.embeds.notEmbedding(!0),null==t._data&&(t._data={}),null==(e=t._data).video&&(e.video={}),null==(i=t._data).iframe_api&&(i.iframe_api={}),window._inWistiaIframe?setTimeout((function(){return t.watchForInit()}),10):(t._asyncInitSoonAfterLoad(),t._asyncInitSoonAfterLoad(500),null!=(s=t.eventLoop)?s.pause("poll_init"):void 0)},t._destructors.destroyAsyncEmbeds=function(){var e,i;return r("embeds_setup"),null!=(e=t.eventLoop)&&e.remove("poll_init"),null!=(i=t.embeds)?i.unwatch():void 0})}(Wistia)},(t,e,i)=>{i.d(e,{o:()=>r});var n=i(101),s=i(20),o=i(79);const r=(t,e,i=1)=>{const r=[];for(let t of e)!function(t){r.push((new n.V).run((function(){try{return t()}catch(t){return s.ct.error(t)}})))}(t);const a=r[r.length-1];n.V._drainStopGosAsync(t,r);const l=new n.V;return a.then((()=>(0,o.doTimeout)(`${t}.last`,(()=>l.go()),0))),l}},(t,e,i)=>{i.d(e,{F5:()=>h,KA:()=>l,Uh:()=>o.U,nF:()=>s.n,u:()=>a,wt:()=>n.w});var n=i(81),s=i(113),o=i(114),r=i(1);const a=t=>decodeURIComponent(atob(t).split("").map((t=>`%${`00${t.charCodeAt(0).toString(16)}`.slice(-2)}`)).join("")),l=t=>btoa(encodeURIComponent(t).replace(/%([0-9A-F]{2})/g,((t,e)=>String.fromCharCode(`0x${e}`)))),h=function(){try{return parent.frames.length}catch(t){return r.Wistia.warn(t),1}}},(t,e,i)=>{i.d(e,{n:()=>n});const n=(t,e,i={})=>{let n=null,s=null,o=null,r=null,a=0;const l=function(){a=!1===i.leading?0:(new Date).getTime(),r=null,o=e.apply(n,s),r||(n=s=null)};return function(){const h=(new Date).getTime();a||!1!==i.leading||(a=h);const u=t-(h-a);return n=this,s=arguments,u<=0||u>t?(clearTimeout(r),r=null,a=h,o=e.apply(n,s),r||(n=s=null)):r||!1===i.trailing||(r=setTimeout(l,u)),o}}},(t,e,i)=>{i.d(e,{U:()=>s});const n={},s=(t,e={})=>
163{if(!t)return"";if(e.cache){const e=n[t];if(n[t])return e}const i=document.createElement("div");let s;return i.innerHTML=t.toString().replace(/</g,"<").replace(/>/g,">"),s=i.childNodes.length>0?i.childNodes[0].nodeValue:"",e.cache&&(n[t]=s),s}},(t,e,i)=>{var n=i(20),s=i(21),o=i(79),r=i(70),a=i(64);!function(t){t.EmbedListener||(t.EmbedListener=class extends Array{constructor(){super(),this.uuid=(0,r.h)(),this.logger=n.ct.getPrefixedFunctions("EmbedShepherd"),this.bindHandles(),this.bind("down",(()=>(this.logger.info("got down event, prune and rebind handles"),(0,o.doTimeout)("prune_zombies_later",(()=>(this.pruneZombies(),this.bindHandles())))))),this.bind("up",(t=>(this.logger.info("got up event, set _bound=false for",t),t._bound=!1,this.bindHandles())))}bindHandles(){const t=this.allUnboundHandles();return this.logger.info("bindHandles",t),(()=>{const e=[];for(let i of Array.from(t))this.logger.info("bind to all events for",i),i._bound=!0,e.push(this.push(i));return e})()}isHandleDown(t){if(t.looksDown)return t.looksDown();const e=t.container;return!e||!(0,a.elemInDom)(e)||(0,a.elemIsHidden)(e)}pruneZombies(){let t;this.logger.info("pruneZombies");const e=[];for(t of Array.from(this.allBoundHandles()))this.isHandleDown(t)?this.logger.info("prune zombie",t):e.push(t);for(let t=0,e=this.length,i=e>=0;i?t<=e:t>=e;i?t++:t--)delete this[t];return this.length=0,(()=>{const i=[];for(t of Array.from(e))i.push(this.push(t));return i})()}allBoundHandles(){const t=[];for(let e of Array.from(this.allHandles()))e._bound&&t.push(e);return t}allUnboundHandles(){const t=[];for(let e of Array.from(this.allHandles()))e._bound||t.push(e);return t}allHandles(){return this.apiHandles().concat(this.iframeApiHandles())}iframeApiHandles(){this.iframes||(this.iframes=document.getElementsByTagName("iframe"));const e=[];for(let i of Array.from(this.iframes))!i.wistiaApi||i.wistiaApi instanceof t.IframeApiProxy||"removed"===i.wistiaApi||e.push(i.wistiaApi);return e}apiHandles(){const t=[];if(window.Wistia){const e=(0,s.wData)("video");for(let i in e){let n=e[i];t.push(n)}}return t}each(t){return Array.from(this.allBoundHandles()).map((e=>t(e)))}onFind(t){const e=e=>e.up((()=>(this.logger.info("onFind",e),t(e),e.unbind)));return this.each(e),this.bind("initembed",e)}},t.mixin(t.EmbedListener.prototype,t.bindable),t._initializers.initEmbedShepherd=function(){return window.wistiaEmbeds?(n.ct.info("EmbedShepherd window.wistiaEmbeds already exists, call bindHandles"),window.wistiaEmbeds.bindHandles?.()):(n.ct.info("EmbedShepherd initialize embed shepherd"),window.wistiaEmbeds=new t.EmbedListener),n.ct.info("EmbedShepherd call window.wistiaEmbedShepherdReady()"),window.wistiaEmbedShepherdReady?.()},t._destructors.destroyEmbedShepherd=function(){return window.wistiaEmbeds?.each((t=>t._bound=!1)),window.wistiaEmbeds=null})}(window.Wistia)},(t,e,i)=>{var n=i(117),s=i(96),o=i(118),r=i(119);!function(t){t.mux||(t.mux={});const e=t=>{(0,s.$)("assets/external/wistia-mux.js").then((e=>{t.embedded((()=>{e.init(t,{embedType:"legacy"})}))}))};t._initializers.initMux=()=>{if(t.mux._setup)return;const i=r._;(0,o.k)(i)?(t.mux._setup=!0,t.mux._disabled=!1):t.mux._disabled=!0,(0,n.onFindApiHandle)({matcher:n.ALL_API_HANDLES_KEY,functionToRun:i=>{const n="WISTIA-PLAYER"===i.container?.tagName,s=()=>!n&&(0,r.J)(i,!t.mux._disabled);s()?e(i):i.hasData((()=>{s()&&e(i)}))}})},t._destructors.destroyMux=()=>{t.mux._disabled=!0;const e=t.api.all();for(let t=0;t<e.length;t++)e[t].mux?.destroy()}}(window.Wistia)},(t,e,i)=>{i.d(e,{ALL_API_HANDLES_KEY:()=>u,onFindApiHandle:()=>y,onFindApiHandleRunOnce:()=>_});var n=i(81),s=i(19),o=i(83),r=i(64),a=i(80),l=i(20),h=i(16);const u="_all";let c=null;const d=[],p=[],m=(t,e)=>{const i=t.wistiaApi??t.deprecatedApiDoNotUse??null;null!==i&&"removed"!==i&&e(i)},g=(t,e)=>(t.addEventListener(h.INIT_EMBED_EVENT,e),t.addEventListener(h.INTERNAL_API_ON_FIND_EVENT,e),t.addEventListener(h.AFTER_REPLACE_EVENT,e),[()=>t.removeEventListener(h.INIT_EMBED_EVENT,e),()=>t.removeEventListener(h.INTERNAL_API_ON_FIND_EVENT,e),()=>t.removeEventListener(h.AFTER_REPLACE_EVENT,e)]),f=(t,e,i,n)=>{null!==t&&"removed"!==t&&void 0!==t&&(e!==u&&t!==(0,s.FY)(e)||(n?t.up((()=>i(t))):i(t)))},y=({matcher:t,functionToRun:e,shouldOnlyRunWhenVisible:i=!1})=>{const s=n=>{f(n,t,e,i)},h=n=>{const{api:s,deprecatedApiDoNotUse:o}=n.detail;f(s??o,t,e,i)};d.push(s),p.push(h),null===c&&(c=(0,r.elemMutationObserver)((t=>{t.forEach((t=>{const{addedNodes:e}=t;e.forEach((t=>{if(!(t instanceof HTMLElement))return;let e=null;"WISTIA-PLAYER"===t.tagName||(0,r.elemHasClass)(t,"wistia_embed")?e=t:t.querySelector("wistia-player")?e=t.querySelector("wistia-player"):t.querySelector(".wistia_embed")&&(e=t.querySelector(".wistia_embed")),null!==e&&(d.forEac
163h((t=>{m(e,t)})),p.forEach((t=>{g(e,t)})))}))}))})),(0,a.P)((()=>{if(null!==c)try{c.observe(document.body,{subtree:!0,childList:!0})}catch(t){l.ct.error(t)}})));const u=()=>{const t=((t,e)=>{const i=Array.from((0,o.e)()),n=Array.from(document.getElementsByTagName("wistia-player"));return i.concat(n).reduce(((i,n)=>(m(n,t),[...i,...g(n,e)])),[])})(s,h);return()=>t.map((t=>t()))};u(),(0,n.w)(a.O,u,300,1e4)},_=({matcher:t,functionToRun:e,shouldOnlyRunWhenVisible:i=!1})=>{const n=new Set;y({matcher:t,shouldOnlyRunWhenVisible:i,functionToRun:t=>{n.has(t)||(n.add(t),e(t))}})}},(t,e,i)=>{i.d(e,{k:()=>n});const n=t=>{const e=window.crypto;return void 0!==e?e.getRandomValues(new Uint32Array(1))[0]/4294967296<t:Math.random()>=t}},(t,e,i)=>{i.d(e,{J:()=>s,_:()=>n});const n=.1,s=(t,e)=>{const i="undefined"!=typeof console&&"function"==typeof console.trace&&"function"==typeof console.info&&"function"==typeof console.debug,n=!0!==window.wistiaDisableMux,s=!1!==t._opts?.mux,o=null==t.iframe,r=e,a="LiveStream"===t._mediaData?.type;return i&&n&&s&&o&&(r||a)}},(t,e,i)=>{i(1),i(121),i(122),i(159),i(186),i(187)},(t,e,i)=>{var n=i(20),s=i(25);!function(t){const e=t;t.wlog||(t.wlog=n.ct,t.log=n.ct.error,t.error=n.ct.error,t.warn=n.ct.warn,t.notice=n.ct.notice,t.info=n.ct.info,t.debug=n.ct.debug,t.logLevels=n.p_,t.stacktrace=function(){try{throw new Error("stacktrace")}catch(t){return t.stack}},t.logHelpers={_log(t,...i){const n=e[t];return i=[].concat(this._logPrefix()).concat(i),n(...Array.from(i||[]))},_logPrefix(){return[this.constructor.name]},error(...t){return this._log("error",...Array.from(t))},warn(...t){return this._log("notice",...Array.from(t))},notice(...t){return this._log("notice",...Array.from(t))},info(...t){return this._log("info",...Array.from(t))},debug(...t){return this._log("debug",...Array.from(t))},log(...t){return this._log("error",...Array.from(t))}},t._initializers.initWLog=function(){let t,e,i,o;const r=(0,s.parseUrl)(location.href);if(document.referrer&&(e=(0,s.parseUrl)(document.referrer)),((t=r?.params?.wlog)||top!==self&&(t=e?.params?.wlog))&&n.ct.setLevel(t),((i=r?.params?.wgrep)||(i=e?.params?.wgrep))&&n.ct.setGrep(new RegExp(i,"i")),(o=r?.params?.wgrepv)||(o=e?.params?.wgrepv))return n.ct.setGrepv(new RegExp(o,"i"))},t._destructors.destroyWLog=()=>n.ct?.reset())}(window.Wistia)},(t,e,i)=>{var n=function(t,e){return function(){return t.apply(e,arguments)}},s=[].slice;!function(t){var e,o,r,a,l,h,u,c,d,p,m,g,f,y,_,v,b,w,E,C,T,S,P,A,L,I,M,D,k,O,x,B,R,W,F,N,H,V,$,j,U,z,q,K,G,Y,Q,X,J,Z,tt,et,it,nt,st,ot,rt,at,lt,ht,ut,ct,dt,pt,mt,gt,ft,yt,_t,vt,bt,wt,Et,Ct,Tt,St,Pt,At,Lt,It,Mt,Dt,kt,Ot,xt,Bt,Rt,Wt,Ft,Nt,Ht,Vt,$t,jt,Ut,zt,qt,Kt,Gt,Yt,Qt,Xt,Jt,Zt,te,ee,ie,ne,se,oe;t.PublicApi||(c=i(77),p=i(101).V,i(5).z,Dt=i(123),It=Dt.pluginScriptsToLoad,ot=Dt.getPluginsNotInList,Mt=i(124).D,kt=i(125),mt=kt.injectJsonLd,Yt=kt.removeInjectedJsonLd,(Vt=i(25)).proto,Lt=Vt.parseUrl,Vt.Url,a=i(129).h,r=i(130).U,$t=i(131),tt=$t.getLanguage,_t=$t.isSupportedPlayerLanguage,wt=$t.loadAndDefineTranslation,jt=i(21),se=jt.wData,oe=jt.wRemoveData,Ut=i(79),E=Ut.doTimeout,_=Ut.clearTimeouts,Zt=i(70).h,g=i(27).k,zt=i(22),v=zt.clone,St=zt.merge,ft=zt.isEmpty,y=zt.cast,zt.setDeep,zt.getDeep,yt=zt.isObject,$=zt.equalsDeep,qt=i(26),b=qt.countMetric,Qt=qt.sampleMetric,i(112).wt,j=i(132).i,dt=i(133).H,at=i(134).Tx,rt=i(94).J,Kt=i(95),lt=Kt.getViewerPreference,ht=Kt.getViewerPreferences,te=Kt.setViewerPreference,C=i(96).$,i(139).TI,Ct=i(140).v,i(141).s,U=i(50).Rp,i(142).R7,Gt=i(16),e=Gt.AFTER_REPLACE_EVENT,o=Gt.BEFORE_REPLACE_EVENT,d=Gt.LOADED_MEDIA_DATA_EVENT,u=Gt.IMPL_CREATED_EVENT,pt=i(143).N,z=i(144).U,Ot=i(98),J=Ot.getEmbedOptionStore,h=Ot.GLOBAL_ID_KEY,nt=i(19).D9,xt=i(145),X=xt.getDefaultPlayerBorderRadius,K=xt.getDefaultBigPlayButtonBorderRadius,G=xt.getDefaultCaptionsBorderRadius,Y=xt.getDefaultControlBarBorderRadius,Q=xt.getDefaultControlBarDistance,(Bt=i(88)).mediaDataUrl,Bt.mediaDataScriptRegExp,Bt.transformResponse,f=Bt.cacheMedia,Z=i(91).n,i(68).Rb,Xt=i(146).A,m=i(100).K,t.Judy=c,t.Assets=i(86),Rt=i(64),N=Rt.elemUnbindAllInside,H=Rt.elemWidth,T=Rt.elemAddClass,Rt.elemAfter,S=Rt.elemAnimate,P=Rt.elemAppend,A=Rt.elemBefore,L=Rt.elemFromObject,I=Rt.elemHasClass,M=Rt.elemHeight,D=Rt.elemInDom,k=Rt.elemIsHidden,O=Rt.elemOffset,Rt.elemPrepend,x=Rt.elemRebind,B=Rt.elemRemove,R=Rt.elemStyle,W=Rt.elemUnbind,F=Rt.elemUnbindAll,ct=Rt.inUserEventC
163ontext,Jt=i(147).scrollTop,(Wt=i(24)).eV1Protocol,Wt.eV1HostWithPort,ut=i(12).mj,i(148).b,i(112).nF,Ft=i(149),gt=Ft.insertIntoArray,ie=Ft.toArray,Tt=i(90).M,V=i(150).U,Pt=i(151).a,st=i(152).w,w=i(154).I,ee=i(155).A,Nt=i(156),Et=Nt.maxEmbedSlots,l=Nt.EMBED_SLOT_THROTTLE_INTERVAL,ne=i(157).A,Ht=i(158),q=Ht.getCaptionsLanguages,et=Ht.getLanguages,it=Ht.getMediaLanguages,vt=Ht.languageToLocalization,bt=Ht.limitedLanguageProperties,t.PublicApi=function(){function i(e,i){var s,o,r,a,l,h,u,c;this._definePluginMethod=n(this._definePluginMethod,this),this._doResize=n(this._doResize,this),this._doMonitor=n(this._doMonitor,this),this._loadTranslationsAndExecPlugins=n(this._loadTranslationsAndExecPlugins,this),this._loadTranslations=n(this._loadTranslations,this),this._initWithMediaData=n(this._initWithMediaData,this),this._allocEmbedSlot=n(this._allocEmbedSlot,this),this.on("problem",(c=this,function(t){return t.video=c,ut("problem",t)})),this.info("initialize"),this._hasImpl=new p,this._notReplacing=new p,this._notReplacing(!0),this.hasPlugins=new p,this.up=new p,this.up(!0),this.down=new p,this.down(!1),this.inViewport=new p,this.inViewport(!1),this._implVersion=0,this._playlistIndex=0,this._attrs={},this.params={},this.options={},this.controls={},this._pluginStopGos={},this.plugins={},this.data={},this._definePluginMethod(),this.hashedId(e),this._givenOptions=i,this._playlist=[],this._setupContainer(),this._setupTranslationApiForLegacyEmbeds(),this._validate(),this._inferPropertiesBeforeMediaData(),this._dedupContainer(),this._addToGlobalCache(),this._setupBindings(),this.supportedPlayers=[],this.addToPlaylist(this.hashedId(),i),this.down(this.looksDown()),this.up(this.looksUp()),this._hasImpl(function(t){return function(){if(t._wvideoInUrl())return t._scrollToContainer(),t.popover?t.embedded((function(){return t.popover.showAndPlay()})):t.play()}}(this)),null!=(h=window.wistiaEmbeds)&&h.bindHandles(),this.monitor(),this.embedded(function(t){return function(){return t.monitor()}}(this)),this.ready(function(t){return function(){return t.monitor()}}(this)),o=function(e){return function(){return e._onInitializable((function(){return e._withFreeEmbedSlots((function(){var i,n,s,o,r,a,l,h;return e._initTime=(new Date).getTime(),e.hasData((function(){return e._hasDataTime=(new Date).getTime()})),e.embedded((function(){return e._embeddedTime=(new Date).getTime()})),e.ready((function(){return e._readyTime=(new Date).getTime(),e.removeSwatch()})),o=e._gatherOptions(),i=e.hashedId(),null!==o.viewerPreferences&&void 0!==o.viewerPreferences&&(t._viewerPreferencesEnabled=o.viewerPreferences),(null!=(r=o.mediaData)?r.hashedId:void 0)&&(f(o.mediaData.hashedId,o.mediaData),i=o.mediaData.hashedId),(n=g({},e._gatherOptions())).overrideMediaLanguage=n.language,"alternate_audio"===(null!=(a=n.localization)?a.localizationIntent:void 0)&&(s=null!=(l=n.mediaData)&&null!=(h=l.localizations)?h.find((function(t){return t.sourceLanguage})):void 0)&&(i=s.hashedId,n.overrideMediaLanguage=s.iso6392LanguageCode,e._givenOptions.audioPreference={lang:n.localization.ietfLanguageTag||n.localization.bcp47LanguageTag,characteristics:""}),Z(i,n).then((function(t){var i;return"alternate_audio"===(null!=(i=lt("localization"))?i.localizationIntent:void 0)&&t.hashedId===e.sourceHashedId()&&(e._givenOptions.audioPreference={lang:i.ietfLanguageTag||i.bcp47LanguageTag,characteristics:""}),e._initWithMediaData(t)})).catch((function(){return b("player/failure/init-failed")}))}))}))}}(this),ee(this._gatherOptions())?(this.popover={show:function(t){return function(){return t._hasImpl((function(){return t.popover.show()}))}}(this),hide:function(t){return function(){return t._hasImpl((function(){return t.popover.hide()}))}}(this),height:function(t){return function(e,i){return null!=e?t._hasImpl((function(){return t.popover.height(e,i)})):0}}(this),width:function(t){return function(e,i){return null!=e?t._hasImpl((function(){return t.popover.width(e,i)})):0}}(this)},C("assets/external/popover.js").then(function(e){return function(){return e.popover=new t.Popover(e),o()}}
163(this))):o(),this.trigger("initembed"),this.container.dispatchEvent(new CustomEvent("initembed",{detail:{api:this}})),Ct(),performance.mark("player_init_complete");try{if(t.detect.performanceMeasure)for(Qt("player/initembed-latency",performance.measure("player_init_latency","player_init_start","player_init_complete").duration),u=t.Metrics.embedTypeBuckets(this.container),a=0,l=u.length;a<l;a++)s=u[a],Qt("player/initembed-latency."+s,performance.measure("player_init_latency","player_init_start","player_init_complete").duration)}catch(t){r=t,setTimeout((function(){throw r}),0)}}return i.prototype._withFreeEmbedSlots=function(e){var i,n;return this._setupEmbedSlots(),i=null,this.embedded((n=this,function(){return clearTimeout(i),i=setTimeout((function(){return n._freeEmbedSlot()}),l)})),null==this._freeEmbedSlotOnError&&(this._freeEmbedSlotOnError=function(t){return function(){return t._freeEmbedSlot(),t.unbind}}(this)),this.rebind("servererror",this._freeEmbedSlotOnError),t._embedSlotFree(function(t){return function(){return t._allocEmbedSlot(),i=setTimeout((function(){return t._freeEmbedSlot()}),1e3),e()}}(this))},i.prototype._onInitializable=function(e){return this.popover&&k(this.container)?(this.info("popover, delaying init until container is visible"),t.eventLoop.add(this.uuid+".wait_for_container_visible",500,(i=this,function(){var n;if(!k(i.container)){i.info("container became visible, initializing");try{e()}catch(e){n=e,t.error(n)}return t.eventLoop.remove}}))):e();var i},i.prototype._setupEmbedSlots=function(){if(null==t._embedSlots&&(t._embedSlots=[]),!t._embedSlotFree)return t._embedSlotFree=new p,t._embedSlotFree(!0)},i.prototype._maxEmbedSlots=function(){var t,e;return e=function(){var e,i;for(t in i=[],e=se("video"))e[t],i.push(t);return i}().length,Et(e)},i.prototype._freeEmbedSlot=function(){var e;if(this._setupEmbedSlots(),t._embedSlots=function(){var i,n,s,o;for(o=[],i=0,n=(s=t._embedSlots).length;i<n;i++)(e=s[i])!==this&&o.push(e);return o}.call(this),t._embedSlots.length<this._maxEmbedSlots())return t._embedSlotFree(!0)},i.prototype._allocEmbedSlot=function(){if(this._setupEmbedSlots(),t._embedSlots.push(this),t._embedSlots.length>=this._maxEmbedSlots())return t._embedSlotFree(!1)},i.prototype._shouldLazyLoad=function(){var t;return t=this._gatherOptions(),!window._inWistiaIframe&&parent===self&&(t.lazyLoad||this.popover&&!1!==t.lazyLoad)},i.prototype._initWithMediaData=function(e){var i,n,s,o,l,h;this.info("_initWithMediaData",e);try{0===t.Player.assets(e,{public:!0}).length&&t.Metrics.videoCount(this,"player/no-public-assets")}catch(t){i=t,this.debug(i)}if(!this.isRemoved())return Object.hasOwn(e,"error")&&e.error?(this.notice("display error message from server"),w({container:this.container,width:this.width(),height:this.height(),hashedId:this.hashedId(),errorResponse:e}),void this.trigger("servererror")):(this.hashedId(e.hashedId),this._originalMediaData=v(e),this._mediaData=e,this._mediaData=Tt(v(e),this._gatherOptions()),this.data.media=e,o=this._optionSources(),this.info("_optionSources",o),(null!=(l=o.inline)?l.container:void 0)instanceof HTMLElement&&(o.inline=g({},o.inline,{container:o.inline.container.uniqueId||o.inline.container.id||"container-with-no-id"})),b("player/option-sources",1,{optionSources:o,hashedId:this._hashedId,url:window.location.href}),this._opts=this._gatherOptions(),this.info("_opts",v(this._opts)),St(this._mediaData,this._opts.mergeMediaData),this._inferPropertiesAfterMediaData(),s=c.choosePlayer(this.judyCtx(),this._mediaData,this._opts),this._playerPlugins=c.playerPlugins(this.judyCtx(),s,this._mediaData,this._opts),c.logWarnings(this.judyCtx(),s,this._mediaData,this._opts),this._implVersion+=1,n=this._implVersion,this._loadTranslationsAndExecPlugins().then((h=this,function(){var t,e,i;if(h.isRemoved())h.notice("abort, video already removed");else{if(h._implVersion===n){h.hasPlugins(!0),e=st(s),h.supportedPlayers=c.supportedPlayers(h.judyCtx(),h._mediaData.assets);try{h.crossTime=new a(h,h.unbind),h.betweenTimes=new r(h,h.unbind),h._impl=new e(h).init(),h.container.dispatchEvent(new CustomEvent(u,{detail:{impl:h._impl}}))}catch(i){throw t=i,h.error("Failed to initialize impl of class",e,"preferred",s,"supported",h.supportedPlayers),t}
163return h.grid=h._impl.setupGrid({initDimensions:!1}),h._hasImpl(!0),h.hasData(!0),(null!=(i=h._embedContainer)?i.parentNode:void 0)?(h._runMethodsFromOptions(),h._impl.embed(),h._getFadeInTime()>0&&R(h._impl.gridChildren(),{opacity:0}),h._impl.embedded((function(){return h._getFadeInTime()>0?S(h._impl.gridChildren(),{opacity:1},{time:h._getFadeInTime(),callback:function(){return h.trigger("transitiondone")}}):h.trigger("transitiondone")})),E(h.uuid+".prefetch_next_media",(function(){return h.prefetchNextMedia()}),2e3),h._injectJsonLd()):h.notice("embed(): container removed, giving up")}h.notice("_initWithMediaData(): impl changed from",n,"to",h._implVersion,"not completing init")}})));this.notice("abort, video already removed")},i.prototype._getFadeInTime=function(){return null!=this._opts.fadeInTime?this._opts.fadeInTime:200},i.prototype.judyCtx=function(){return this._judyCtx||(this._judyCtx=c.buildContext({pageUrl:this._attrs.pageUrl}))},i.prototype._wvideoInUrl=function(){return!this._opts._inIframe&&Lt(this._attrs.pageUrl).params.wvideo===this.hashedId()},i.prototype._scrollToContainer=function(){var t;return t=O(this.container),Jt(t.top-100)},i.prototype._injectJsonLd=function(){if("WISTIA-PLAYER"!==this.container.tagName&&(this._jsonLdId&&Yt(this._jsonLdId),"notplayable"!==this.playerType&&"passwordprotected"!==this.playerType&&"carouselHardWall"!==this.playerType&&!1!==this._attrs.seo))return this._jsonLdId="w-json-ld"+this._impl.uuid,mt(this._jsonLdId,this._mediaData,{videoWidth:this.videoWidth(),videoHeight:this.videoHeight(),embedOptions:this._opts})},i.prototype._setDeprecatedProperties=function(){return this.options=v(this._opts),this.params=v(this._opts),St(this.params,this._attrs),this._attrs.email&&(this.params.trackEmail=this._attrs.email),this._hasImpl((t=this,function(){var e;return t.playerType=t.embedType=null!=(e=t._impl)?e.playerType:void 0}));var t},i.prototype.elem=function(){var t;return null!=(t=this._impl)&&"function"==typeof t.elem?t.elem():void 0},i.prototype._loadTranslations=function(){var t;return t=this.captionsLanguage(),_t(t.bcp47LanguageTag)?wt(t.bcp47LanguageTag):Promise.resolve()},i.prototype._loadTranslationsAndExecPlugins=function(){return Promise.all([this._loadTranslations(),this._execPlugins()])},i.prototype._execPlugins=function(){var e;return this._pluginScripts=It(this._mediaData,this._opts,this._playerPlugins),t.plugin._setFnForDefinedPlugins(this,this._pluginScripts),(e=ot(this._pluginScripts)).length>0&&b("custom-plugin-exec",1,{customPlugins:e,hashedId:this._hashedId,url:window.location.href}),this.info("_execPlugins",this._pluginScripts),t.plugin._execQueue(this,this._pluginScripts)},i.prototype._optionSources=function(t){var e,i,n,s,o,r,a,l,u,c,d,p;if(null==t&&(t={}),"v1"===(o=(t=St({givenOptions:v(this._givenOptions),mediaData:v(this._mediaData),hashedId:this._hashedId,container:this.container},t)).givenOptions).version?n={}:t.mediaData?(n=v(this._customizeEmbedOptions||t.mediaData.embedOptions),t.preserveStillUrl||delete n.stillUrl):n={},a=V(["disallowOriginalFilePlayback","autoPlay","deliveryCdn","forceInstantHls","forceOriginalFilePlayback","hls","techInfo"],this._inferPageUrl()),i=t.container.uniqueId||t.container.id,e=o.channelPreferences||(null!=(l=o.mediaData)&&null!=(u=l.embedOptions)?u.channelPreferences:void 0)||{},s={},delete(d={customize:n,global:J(h),hashedId:J(t.hashedId,nt),dom:J("__"+i+"_dom_options__"),container:J(i),inline:o,inferredOptions:s,viewerPreferences:ht(),channelPreferences:e,queryParamOptions:a,override:t.override||{}}).viewerPreferences.plugin,o.optionSourceOverrides)for(r in c=o.optionSourceOverrides)p=c[r],d.hasOwnProperty(r)&&(d[r]=p);for(r in d)p=d[r],ft(p)&&delete d[r];return d},i.prototype._mergeSources=function(t,e){var i,n,s,o,r;for(i in n={},t)r=t[i],(null!=(s=e.only)?s.indexOf(i):void 0)>=0||(null!=(o=e.except)?o.indexOf(i):void 0)<0?St(n,r):e.only||e.except||St(n,r);return n},i.prototype._gatherOptions=function(t){var e,i;return null==t&&(t={}),i=this._optionSources(t),"v1"===(e=this._mergeSources(i,t)).version&&(i.customize={},e=this._mergeSources(i,t)),y(e),Pt(e)},i.prototype.hashedId=function(t){return null!=t?("number"==typeof t&&(t=t.toString()),this._hashedId=t,this):this._hashedId},i.prototype.sourceHashedId=function(){var t;return(null!=(t=this._mediaData)?t.sourceHashedId:void 0)||this.hashedId()},i.prototype.isAudio=function(){return"Audio"===this._mediaData.mediaType},i.prototype.isLiveMedia=function(){var t;return"LiveStream"===(null!=(t=this._mediaData)?t.mediaType:void 0)},i.prototype._setupContainer=function(){var t,e,i,n,s,o,r,a,l,h,u,c,d,p;if(this._containerId=this._givenOptions.container?this._givenOptions.container:"wistia_"+this.hashedId(),this.wistiaPlaylistElem=null,"string"==typeof this._containerId?this.container=document.getElementById(this._containerId):this.container=this._containerId,this.container){if("WISTIA-PLAYER"===this.container.tagName&&"WISTIA-PLAYLIST"===(null!=(a=this.container.parentElement)?a.tagName:void 0))return;if("WISTIA-PLAYER"===this.container.tagName&&(ee(this._gatherOptions())||this.wistiaPlaylistElem)){for(this.webComponentParent=this.container.parentNode,this._startingHtml=this.webComponentParent.cloneNode(!0),e=0,i=(l=Array.prototype.slice.call(this._startingHtml.childNodes)).length;e<i;e++)"WISTIA-PLAYER"===(t=l[e]).tagName&&B(t);for(this._startingHtml=this._startingHtml.innerHTML,o=0,n=(h=Array.prototype.slice.call(this.webComponentParent.childNodes)).length;o<n;o++)t=h[o],I(t,"wistia_swatch")||"WISTIA-PLAYER"===t.tagName||"WISTIA-CHANNEL-CAROUSEL"===t.tagName||B(t)}else if("WISTIA-PLAYER"!==this.container.tagName){for(this.container.wistiaApi=this,this._startingHtml=this.container.innerHTML,r=0,s=(u=Array.prototype.slice.call(this.container.childNodes)).length;r<s;r++)t=u[r],I(t,"wistia_swatch")||B(t);T(this.container,"wistia_embed_initialized")}}else"string"==typeof this._containerId&&(this.container=document.querySelector("[unique-id='"+this._containerId+"']"),"WISTIA-PLAYLIST"===(null!=(c=this.container)&&null!=(d=c.parentElement)?d.tagName:void 0)&&(this.wistiaPlaylistElem=this.container.parentElement),this._startingHtml=null!=(p=this.container)?p.innerHTML:void 0);return this.info("container",this.container)},i.prototype._setupTranslationApiForLegacyEmbeds=function(){if(this.container&&"WISTIA-PLAYER"===this.container.tagName&&this.container.getAttribute("use-web-component")&&!this.container.translationApi)return this.translationApi=new m(this.container),this.container.translationApi=this.translationApi},i.prototype._inferPropertiesBeforeMediaData=function(){var e;if(this.chrome=L({id:Zt("wistia_chrome_"),class:"w-chrome notranslate",style:z,tabindex:-1}),R(this.chrome,{outline:"none",overflow:"hidden",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"}),e=this._gatherOptions(),ee(e)?(this._popoverContainer=L({role:"dialog",id:this.container.id+"_popover_container"}),t.detect.safari||t.detect.iphone||t.detect.ipad||this._popoverContainer.setAttribute("aria-modal",!0),this._popoverContainer.setAttribute("aria-hidden","true"),this._popoverContainer.setAttribute("inert",""),this._embedContainer=L({id:this.container.id+"_popover",style:{height:this._popoverSize(e).height+"px",width:this._popoverSize(e).width+"px"}}),"WISTIA-PLAYER"===this.container.tagName&&R(this._embedContainer,{position:"absolute"}),P(this._popoverContainer,this._embedContainer),P(document.body,this._popoverContainer)):this._embedContainer=this.container,P(this._embedContainer,this.chrome),e.uuid?this.uuid=e.uuid:this.uuid=Zt(),this.info("uuid",this.uuid),null!=e.playlistLoop&&(this._attrs.playlistLoop=e.playlistLoop),this._embedContainer)return this._attrs.startingWidth=H(this._embedContainer),this._attrs.startingHeight=M(this._embedContainer)},i.prototype._popoverSize=function(t){var e,i,n,s,o;return null==t&&(t=this._opts),null==t&&(t={}
163),t.popoverSize?(o=(s=(null!=(n=t.popoverSize)?n.split("x"):void 0)||[640,360])[0],e=s[1],o=parseInt(o),e=parseInt(e)):this._mediaData&&(i=this.asset({container:"mp4",width:[0,960],sortBy:"width desc"}))?(o=i.width,e=i.height):(o=640,e=360),{width:o,height:e}},i.prototype._inferPropertiesAfterMediaData=function(){var e,i,n,s,o,r,a,l,h,u,c,d,p,m,g,f,y,_,v;return"WISTIA-PLAYER"===this.container.tagName&&this.isAudio()&&0===M(this.chrome)&&(this.chrome.style.height="45px"),this._opts.authorization&&(this._attrs.authorization=this._opts.authorization),this._attrs.audioPreference=this._opts.audioPreference,this._attrs.shouldTrack=!this._opts.doNotTrack,this._attrs.seekThreshold=this._opts.seekThreshold||1.5,c=(d=pt(this._opts,this._mediaData))[0],u=d[1],this._attrs.qualityMin=c,this._attrs.qualityMax=u,(null!=(p=this.container.parentNode)&&null!=(m=p.classList)?m.contains("wistia_responsive_wrapper"):void 0)&&(null!=(g=this.container.parentNode)&&null!=(f=g.parentNode)&&null!=(y=f.classList)?y.contains("wistia_responsive_padding"):void 0)&&(this.container.parentNode.style.height="100%",this.container.parentNode.style.left=0,this.container.parentNode.style.position="absolute",this.container.parentNode.style.top=0,this.container.parentNode.style.width="100%",this.container.parentNode.parentNode.style.padding=1/this._mediaData.aspectRatio*100+"% 0 0 0",this.container.parentNode.parentNode.style.position="relative"),this._opts.videoQuality&&b("legacy/video-quality-set",1,{hashedId:this._hashedId,videoQuality:this._opts.videoQuality,url:window.location.href}),this._attrs.qualityMax<this._attrs.qualityMin&&(this.error("qualityMax "+this._attrs.qualityMax+" is less than qualityMin "+this._attrs.qualityMin+". Setting qualityMax to "+this._attrs.qualityMin+"."),this._attrs.qualityMax=this._attrs.qualityMin),this._attrs.pageUrl=this._inferPageUrl(),this._attrs.referrerUrl||(this._attrs.referrerUrl=(null!=(_=this._opts)?_.referrerUrl:void 0)||document.referrer),null!=this._opts.trackEmail&&(this._attrs.email=this._opts.trackEmail),!this._attrs.email&&this._attrs.shouldTrack&&(v=j(this._attrs.pageUrl))&&(this._attrs.email=v),!this._attrs.email&&t.localStorage([this._attrs.pageUrl,"trackEmail"])&&(this._attrs.email=t.localStorage([this._attrs.pageUrl,"trackEmail"])),this._handleDidPlayerColorChange(),e=(o=this._attrs.captionsBackgroundColor)&&o!==this._opts.captionsBackgroundColor,this._attrs.captionsBackgroundColor=this._opts.captionsBackgroundColor,e&&this.container.dispatchEvent(new CustomEvent("captionsbackgroundcolorchange",{detail:{color:this._attrs.captionsBackgroundColor,prevColor:o}})),s=(l=this._attrs.captionsTextSize)&&l!==this._opts.captionsTextSize,this._attrs.captionsTextSize=this._opts.captionsTextSize,s&&this.container.dispatchEvent(new CustomEvent("captionstextsizechange",{detail:{size:this._attrs.captionsTextSize,prevSize:l}})),n=(a=this._attrs.captionsFontFamily)&&a!==this._opts.captionsFontFamily,this._attrs.captionsFontFamily=this._opts.captionsFontFamily,n&&this.container.dispatchEvent(new CustomEvent("captionsfontfamilychange",{detail:{font:this._attrs.captionsFontFamily,prevFont:a}})),r=this._attrs.captionsBorderRadius,h=G(this._opts),i=r&&r!==h,this._attrs.captionsBorderRadius=h,i&&this.container.dispatchEvent(new CustomEvent("captionsborderradiuschange",{detail:{borderRadius:this._attrs.captionsBorderRadius,prevBorderRadius:r}})),this._attrs.forceOriginalFilePlayback=this._opts.forceOriginalFilePlayback,this._attrs.disallowOriginalFilePlayback=this._opts.disallowOriginalFilePlayback,this._attrs.aspect=this._opts.aspect,null!==this._opts.audioDescriptionControl&&void 0!==this._opts.audioDescriptionControl&&(this._attrs.audioDescriptionControl=this._opts.audioDescriptionControl),null!==this._opts.audioDescriptionIsRequired&&void 0!==this._opts.audioDescriptionIsRequired&&(this._attrs.audioDescriptionControl=this._opts.audioDescriptionIsRequired),null!==this._opts.autoplay&&void 0!==this._opts.autoplay?this._attrs.autoplay=this._opts.autoplay:this._attrs.autoplay=this._opts.autoPlay,null!==this._opts.bigPlayButton&&void 0!==this._opts.bigPlayButton?this._attrs.bigPlayButton=this._opts.bigPlayButton:this._attrs.bigPlayButton=this._opts.playButton,null!==this._opts.controlsVisibleOnLoad&&void 0!==this._opts.controlsVisibleOnLoad?this._attrs.controlsVisibleOnLoad=this._opts.controlsVisibleOnLoad:this._attrs.controlsVisibleOnLoad=!0,null!==this._opts.copyLinkAndThumbnailEnabled&&void 0!==this._opts.copyLinkAndThumbnailEnabled?this._attrs.copyLinkAndThumbnail=this._opts.copyLinkAndThumbnailEnabled:null!==this._opts.copyLinkAndThumbnail&&void 0!==this._opts.copyLinkAndThumbnail?this._attrs.copyLinkAndThumbnail=this._opts.copyLinkAndThumbnail:this._attrs.copyLinkAndThumbnail=!0,this._attrs.doNotTrack=this._opts.doNotTrack,this._attrs.endVideoBehavior=this._opts.endVideoBehavior||"default",this._attrs.forceInstantHls=this._opts.forceInstantHls,null!==this._opts.fullscreenControl&&void 0!==this._opts.fullscreenControl?this._attrs.fullscreenControl=this._opts.fullscreenControl:this._attrs.fullscreenControl=this._opts.fullscreenButton,this._attrs.playbackRateControl=this._opts.playbackRateControl,null!==this._opts.playBarControl&&void 0!==this._opts.playBarControl?this._attrs.playBarControl=this._opts.playBarControl:this._attrs.playBarControl=this._opts.playbar,this._attrs.playerBackgroun
163dColor=this._opts.playerBackgroundColor||"#000000",this._attrs.playlistLinks=this._opts.playlistLinks,null!==this._opts.playPauseControl&&void 0!==this._opts.playPauseControl?this._attrs.playPauseControl=this._opts.playPauseControl:this._attrs.playPauseControl=this._opts.smallPlayButton,this._attrs.playPauseNotifier=this._opts.playPauseNotifier,this._attrs.popoverAnimateThumbnail=this._opts.popoverAnimateThumbnail,this._attrs.popoverAnimation=this._opts.popoverAnimation,this._attrs.popoverBorderColor=this._opts.popoverBorderColor,this._attrs.popoverBorderRadius=this._opts.popoverBorderRadius,this._attrs.popoverBorderWidth=this._opts.popoverBorderWidth,this._attrs.popoverBoxShadow=this._opts.popoverBoxShadow,this._attrs.popoverCaption=this._opts.popoverCaption,this._attrs.popoverCaptionContainer=this._opts.popoverCaptionContainer,this._attrs.popoverContent=this._opts.popoverContent,null!==this._opts.popoverDisableAutoplay&&void 0!==this._opts.popoverDisableAutoplay?this._attrs.popoverDisableAutoplay=this._opts.popoverDisableAutoplay:this._attrs.popoverDisableAutoplay=this._opts.popoverDisableAutoPlay,this._attrs.popoverShowOnLoad=this._opts.popoverShowOnLoad,this._attrs.popoverOverlayColor=this._opts.popoverOverlayColor,this._attrs.popoverOverlayOpacity=this._opts.popoverOverlayOpacity,this._attrs.popoverPreventScroll=this._opts.popoverPreventScroll,null!==this._opts.poster&&void 0!==this._opts.poster?this._attrs.poster=this._opts.poster:this._attrs.poster=this._opts.stillUrl,this._attrs.preload=this._opts.preload,this._attrs.qualityControl=this._opts.qualityControl,this._attrs.resumable=this._opts.resumable,this._attrs.rotateToFullscreen=this._opts.rotateToFullscreen,this._attrs.seo=this._opts.seo,"WISTIA-PLAYER"!==this.container.tagName||null!==this._opts.seo&&void 0!==this._opts.seo||(this._attrs.seo=!0),this._attrs.settingsControl=this._opts.settingsControl,null!==this._opts.silentAutoplay&&void 0!==this._opts.silentAutoplay?this._attrs.silentAutoplay=this._opts.silentAutoplay:this._attrs.silentAutoplay=this._opts.silentAutoPlay,this._attrs.statsUrl=this._opts.statsUrl,null!==this._opts.transparentLetterbox&&void 0!==this._opts.transparentLetterbox?this._attrs.transparentLetterbox=this._opts.transparentLetterbox:"transparent"===this._opts.wmode&&(this._attrs.transparentLetterbox=!0),this._opts.volume&&(this._attrs.volume=this._opts.volume),this._attrs.volumeControl=this._opts.volumeControl,null!==this._opts.wistiaPopover&&void 0!==this._opts.wistiaPopover?this._attrs.wistiaPopover=this._opts.wistiaPopover:this._attrs.wistiaPopover=this._opts.popover,this._attrs.bigPlayButtonBorderRadius=K(this._opts),this._attrs.controlBarBorderRadius=Y(this._opts),this._attrs.floatingControlBar=this._opts.floatingControlBar||!1,this._attrs.controlBarDistance=Q(this._opts),this._attrs.playerBorderRadius=X(this._opts),this._attrs.roundedPlayer=this._opts.roundedPlayer||0,this._attrs.captionsBackgroundColor=this._opts.captionsBackgroundColor,this._attrs.captionsTextColor=this._opts.captionsTextColor,this._attrs.captionsTextSize=this._opts.captionsTextSize,this._attrs.captionsFontFamily=this._opts.captionsFontFamily,this._attrs.captionsBorderRadius=G(this._opts),this._opts.noDeprecatedProperties||this._setDeprecatedProperties(),this},i.prototype._handleDidPlayerColorChange=function(t,e){var i,n,s,o,r,a,l,h,u,c,d,p,m,g;return null==t&&(t={}),null==e&&(e={}),u=v(this._attrs.playerColor),r=v(this._opts.playerColor),c=v(this._attrs.playerColorGradient),a=v(this._opts.playerColorGradient),h=v(this._attrs.opaqueControls),o=v(this._opts.opaqueControls),l=v(this._attrs.contrastIcons),s=v(this._opts.contrastIcons),p=u&&u!==r,n=c&&!$(c,a),d=h!==o,i=l!==s,g=this,m=function(){return g._attrs.playerColor=Xt(r||"636155"),g._attrs.playerColorGradient=a,g._attrs.opaqueControls=o,g._attrs.contrastIcons=s,(p||n)&&g.container.dispatchEvent(new CustomEvent("playercolorchange",{detail:{color:r,prevColor:u,gradient:a,prevGradient:c,prevContrastIcons:l,contrastIcons:s}})),d&&g.container.dispatchEvent(new CustomEvent("opaquecontrolschange",{detail:{opaqueControls:o,prevOpaqueControls:h}}
163)),i&&g.container.dispatchEvent(new CustomEvent("contrasticonschange",{detail:{contrastIcons:s,prevContrastIcons:l}})),g.unbind("transitiondone",m)},!1===this._notReplacing()?this.bind("transitiondone",m):m()},i.prototype._inferPageUrl=function(){var t;return(null!=(t=this._opts)?t.pageUrl:void 0)?this._opts.pageUrl:dt()},i.prototype._runMethodsFromOptions=function(){var e,i,n,s,o;if(null!=this._opts.foreignData&&this.foreignData(this._opts.foreignData),null!=this._opts.email?this.email(this._opts.email):null!=this._opts.trackEmail&&this.email(this._opts.trackEmail),null!=this._opts.playerLanguage&&this.playerLanguage(this._opts.playerLanguage),null==this._opts.captionsLanguage||this._hasReplaced||this.captionsLanguageCode(this._opts.captionsLanguage),null!=this._opts.mediaLanguage&&this.embedded((o=this,function(){if(o.mediaLanguageCode()!==o._opts.mediaLanguage&&!o._hasReplaced)return o.mediaLanguageCode(o._opts.mediaLanguage)})),null!=this._opts.videoFoam&&this.videoFoam(this._opts.videoFoam),this._opts.controlScaling&&this.controlScaling(this._opts.controlScaling),null!=this._attrs.volume&&this.volume(this._attrs.volume),this.isLiveMedia()||(!0!==this._opts.muted&&0!==this._attrs.volume||this.mute(),!1===this._opts.muted&&this.unmute()),this._opts.suppressPlay&&this.suppressPlay(this._opts.suppressPlay),this.popover&&!("function"==typeof(e=this.popover).isVisible?e.isVisible():void 0)||!this._attrs.autoplay||this._hasImpl(function(t){return function(){return t._playSuspendedOffScreenEnabled()?t.inViewport()?t.play():t.bind("enterviewport",(function(){return t.play(),t.unbind})):t.play()}}(this)),this._opts.pause&&this.pause(),null!=this._opts.time)return n=t.detect.iphone||t.detect.ipad||t.detect.android,i=this.popover&&!this.popover._visible,s="playing"!==this.state()&&(n||i),this.time(this._opts.time,{lazy:s})},i.prototype._playSuspendedOffScreenEnabled=function(){return null!=this._opts.playSuspendedOffScreen&&"auto"!==this._opts.playSuspendedOffScreen?this._opts.playSuspendedOffScreen:this.isMuted()},i.prototype._validate=function(){return ne({container:this.container,containerId:this._containerId,hashedId:this._hashedId})},i.prototype._dedupContainer=function(){var t,e,i,n,s,o,r,a,l,h;if(se("video")){for(h in l=[],o=se("video"))e=o[h],t=this.container.uniqueId||this.container.id,i=(null!=(r=e.container)?r.uniqueId:void 0)||(null!=(a=e.container)?a.id:void 0),t&&i===t&&l.push(e);for(n=0,s=l.length;n<s;n++)i=(e=l[n]).container.uniqueId||e.container.id,this.notice("_dedupContainer",i),e.remove();if(l.length>0)return this.container.wistiaApi=this}},i.prototype._addToGlobalCache=function(){var t;return this.info("_addToGlobalCache",this.uuid),t=this.container.translationApi?this.container.translationApi:this,se(["video",this.uuid],t)},i.prototype._implExec=function(){var e,i,n;return i=arguments[0],e=2<=arguments.length?s.call(arguments,1):[],this._hasImpl((n=this,function(){var s;return n._impl[i]?n._impl[i]._originalMethod===n[i]&&void 0!==n[i]?void n.warn("calling "+i+" would result in an infinite loop"):(s=n._impl)[i].apply(s,e):n.warn(i+" is not defined",t.stacktrace())})),this},i.prototype._implGet=function(){var e,i,n,o;return n=arguments[0],i=arguments[1],e=3<=arguments.length?s.call(arguments,2):[],null==i&&(i=null),this._hasImpl()?this._impl[n]?this._impl[n]._originalMethod===this[n]&&void 0!==this[n]?void this.warn("calling "+n+" would result in an infinite loop"):(o=this._impl)[n].apply(o,e):this.warn(n+" is not defined",t.stacktrace()):i},i.prototype._implSetOrGet=function(){var t,e,i;return i=arguments[0],e=arguments[1],(t=3<=arguments.length?s.call(arguments,2):[]).length>0?this._implExec.apply(this,[i].concat(s.call(t))):this._implGet(i,e)},i.prototype._implPromise=function(){var t,e,i;return e=arguments[0],t=2<=arguments.length?s.call(arguments,1):[],new Promise((i=this,function(n,s){return i._hasImpl((function(){var o,r;return i._impl[e]?i._impl[e]._originalMethod===i[e]&&void 0!==i[e]?void i.warn("calling "+e+" would result in an infinite loop"):(r=(o=i._impl)[e].apply(o,t))instanceof Promise?r.then(n).catch(s):n(r):s(new Error(e+" is not defined on _impl"))}))}))},i.prototype._commandQueueImplPromise=function(){var e,i,n;
163return i=arguments[0],e=2<=arguments.length?s.call(arguments,1):[],this._hasImpl((n=this,function(){return n._impl[i]&&n._impl.commandQueueOpen?n._impl[i]._originalMethod===n[i]&&void 0!==n[i]?void n.warn("calling "+i+" would result in an infinite loop"):n._impl.commandQueueOpen.synchronize((function(t){var s;return n._impl?(s=n._impl)[i].apply(s,e).finally((function(){return t()})).catch((function(){})):Promise.resolve()})):n.warn(i+" is not defined",t.stacktrace())})),this},i.prototype.rebuild=function(){return this._hasImpl((t=this,function(){return t._impl.rebuild(),t._runMethodsFromOptions()}));var t},i.prototype.fullRebuild=function(t){return null==t&&(t={}),this.replaceWith(this._impl._mediaData,St({force:this._impl.playerType,inPlace:!1,transition:"none"},t))},i.prototype.rebuildAs=function(t,e){return null==e&&(e={}),this.fullRebuild(St(this._givenOptions,e,{force:t,transition:"none"}))},i.prototype.replace=function(t,e){return null==e&&(e={}),this.replaceWith(t,St({inlineOptionsOnly:!0},e))},i.prototype.replaceWith=function(e,i){var n,s;return null==i&&(i={}),this.info("replaceWith",e,i),s=this,n=function(){var n,r,a,l,h,u,c,d,p,m,g;return m=s._impl?s._replaceWithMediaData:s._initWithMediaData,s._impl.trigger("beforereplace",e),s.container.dispatchEvent(new CustomEvent(o,{detail:{mediaId:e}})),null!==i.viewerPreferences&&void 0!==i.viewerPreferences&&(t._viewerPreferencesEnabled=i.viewerPreferences),s._notReplacing(!1),s.hasData(!1),s._hasImpl(!1),s._initTime=(new Date).getTime(),s.hasData((function(){return s._hasDataTime=(new Date).getTime(),s.embedded((function(){return s._embeddedTime=(new Date).getTime()}))})),s._lastHeight=null,yt(e)&&e.hashedId&&(f(e.hashedId,e),e=e.hashedId),(null!=(u=i.mediaData)?u.hashedId:void 0)&&(f(i.mediaData.hashedId,i.mediaData),e=i.mediaData.hashedId),n=v(s._gatherOptions()),l=St({},n,i),h={bypassOriginShield:Boolean(l.bypassOriginShield),channelId:l.channelId||null,channelPassword:l.channelPassword||null,defaultMediaLanguage:l.defaultMediaLanguage||null,deferFetchingToCarousel:Boolean(l.deferFetchingToCarousel),embedHost:l.embedHost||null,overrideMediaLanguage:l.overrideMediaLanguage||null,password:l.password||null,plugin:l.plugin,skipCache:Boolean(l.skipCache)},(a=l.localization)||(r=l.language||s.mediaLanguage().wistiaLanguageCode,(g=s.findLocalizationByLanguage(r))&&(a=s.languageToLocalization(g))),"alternate_audio"===(null!=a?a.localizationIntent:void 0)?h.overrideMediaLanguage=null!=(c=s.sourceLocalization())?c.bcp47LanguageTag:void 0:a&&(h.overrideMediaLanguage=a.bcp47LanguageTag),(null!=(d=i.plugin)&&null!=(p=d.passwordProtectedVideo)?p.password:void 0)&&(h.password=i.plugin.passwordProtectedVideo.password),Z(e,h).then((function(t){return m.call(s,t,i)})).catch((function(){return b("player/failure/replace-failed")}))},this._hasImpl(function(t){return function(){return t._notReplacing(n)}}(this)),this},i.prototype._replaceWithMediaData=function(){var t,e;return t=1<=arguments.length?s.call(arguments,0):[],this._impl.commandQueueOpen.synchronize((e=this,function(i){return e._replaceWithMediaDataQueuable.apply(e,t),e._notReplacing(i)}))},i.prototype._replaceWithMediaDataQueuable=function(i,n){var s,o,r,a,l,h,m,g,f,_,b,C,T,S,P,A;return null==n&&(n={}),n=v(n),this.info("_replaceWithMediaData",i,n),Object.hasOwn(i,"error")&&i.error?(w({container:this.container,width:this.width(),height:this.height(),hashedId:this.hashedId(),errorResponse:i}),void this.trigger("servererror")):(null!=n.playlistIndex?(this._playlistIndex=n.playlistIndex,delete n.playlistIndex):this._inPlaylist(i.hashedId)&&(this._playlistIndex=this._playlistIndexOf(i.hashedId)),null!=n.playlistShouldAutoAdvance&&(this._playlistShouldAutoAdvance=n.playlistShouldAutoAdvance),n.inlineOptionsOnly&&(l=n.inlineOptionsOnly,delete n.inlineOptionsOnly),null!=n.inPlace&&(a=n.inPlace,delete n.inPlace),null!=n.transition&&(S=n.transition,delete n.transition),null!=n.transitionTime&&(P=n.transitionTime,delete n.transitionTime),this.hasData(!1),this._hasImpl(!1),null!=(f=this._impl._tracker)&&f.stopMonitoring(),this._clobberVideoBindings(),this._savedState={},this._suspended=!1,"function"==typeof(m=this._impl).wipeOutstandingAsyncFunctions&&m.wipeOutstandingAsyncFunctions(),this._hashedId=i.hashedId,this._originalMediaData=i,this.data.media=i,this._givenOptions=n,this._mediaData=i,this.container.dis
163patchEvent(new CustomEvent(d,{detail:{mediaData:i}})),this._opts=l?this._gatherOptions({only:"inline"}):this._gatherOptions(),this._embedOptions=null,this._mediaData=Tt(v(i),this._opts),this._languages=null,this._captionsLanguages=null,this._mediaLanguages=null,this._customizeEmbedOptions=null,m.trigger("beforereplaceengine"),m.freezeLastFrame(),g=new p,T=function(){return g.go()},ct()&&!0===this._attrs.autoplay&&!m.isMuted()&&(s=m.engine)?(s.stopStreaming(),s.play().then(T).catch(T),setTimeout(T,2e3)):T(),!1===y(null!=(_=this._mediaData.embedOptions.plugin)&&null!=(b=_.passwordProtectedVideo)?b.on:void 0)&&null!=(null!=(C=this._opts.plugin)?C.passwordProtectedVideo:void 0)&&(this._opts.plugin.passwordProtectedVideo.on=!1),this.info("_opts",v(this._opts)),St(this._mediaData,this._opts.mediaData),this._cachedRemapTime=null,this._cachedLoadedRemapTime=null,this._inferPropertiesAfterMediaData(),r="notplayable"!==m.playerType&&"passwordprotected"!==m.playerType&&"carouselHardWall"!==m.playerType&&(!("html5"!==m.playerType||!(t.detect.iphone||t.detect.android||t.detect.ipad||t.detect.safari))||null!=a&&a),this.info("inPlace",r),h=c.choosePlayer(this.judyCtx(),this._mediaData,this._opts),this._playerPlugins=c.playerPlugins(this.judyCtx(),h,this._mediaData,this._opts),c.logWarnings(this.judyCtx(),h,this._mediaData,this._opts),r&&(this.removePlugins(),m.stopStreaming()),this.plugin=null,this._pluginStopGos={},this._definePluginMethod(),this.hasPlugins(!1),m.commandQueueOpen.setQueue([]),this.removeSwatch(),this._implVersion+=1,o=this._implVersion,g((A=this,function(){var t;return null!=(t=m.engine)&&t.destroy(),A._loadTranslationsAndExecPlugins().then((function(){var t,i,n,s;if(A._implVersion===o)return A.hasPlugins(!0),A.supportedPlayers=c.supportedPlayers(A.judyCtx(),A._mediaData.assets),n=st(h),A._impl=new n(A).init(),A.container.dispatchEvent(new CustomEvent(u,{detail:{impl:A._impl}})),A._setupBindings(),A.grid=r?A._impl.grid=m.grid:A._impl.setupGrid({initDimensions:!1}),"function"==typeof(t=A._impl).transferStateFrom&&t.transferStateFrom(m),A._hasImpl(!0),A.hasData(!0),r||A._runMethodsFromOptions(),r?A._replaceMode((function(){return A._impl.initFrom(m)})):A._replaceMode((function(){return A._embedWithTransitionFrom(m,S,{time:P})})),A.embedded((function(){return A._hasReplaced=!0,A._notReplacing(!0)})),r&&A._runMethodsFromOptions(),i=Boolean(A.popover&&A.popover._visible),A._allowContainerMatch()&&!i&&(A._allowFoam()&&!m._opts.videoFoam&&(A.container.style.width="",A.container.style.height=""),null!=(s=A._impl)&&s.width(A.containerWidth(),{constrain:!0})),E(A._impl.uuid+".inject_json_ld",(function(){return A._injectJsonLd()})),A.trigger("afterreplace"),A.container.dispatchEvent(new CustomEvent(e,{detail:{api:A}})),E(A.uuid+".prefetch_next_media",(function(){return A.prefetchNextMedia()}),2e3);A.notice("replaceWith(): impl changed from",o,"to",A._implVersion,"not completing replacement")}))})))},i.prototype._embedWithTransitionFrom=function(t,e,i){var n,s,o,r,a;return null==e&&(e="none"),this.info("_embedWithTransitionFrom",t,e),"none"!==e&&b("player/replacewith-transition",1,{transition:e,hashedId:this._hashedId,url:window.location.href}),"none"!==e&&"WISTIA-PLAYER"===(null!=(s=this.container)?s.tagName:void 0)&&this.chrome&&(n=null!=t?t.videoHeight():void 0)>0&&(R(this.chrome,{height:n+"px"}),a=this,o=function(){if(a.unbind("transitiondone",o),a.chrome)return R(a.chrome,{height:""})},this.bind("transitiondone",o)),r=new Promise(function(t){return function(e){var i,n;return(null!=(i=t._impl.lastPlayInfo())?i.isPending:void 0)?(n=t._impl.on("play",(function(){return n(),e()})),E(t._impl.uuid+".slow_play_fallback",(function(){return t._impl.embedded((function(){return n(),e()}))}),2e3)):t._impl.embedded(e)}}(this)),"slide"===e||"slideleft"===e?(this.info("slideleft"),this._impl.embed(t),r.then(function(e){return function(){return t.slideOutLeft(i,(function(){return t.remove()})),e._impl.slideInLeft(i,(function(){return e._impl.trigger("transitiondone")}))}}(this))):"slideright"===e?(this.info("slideright"),this._impl.embed(t),r.then(function(e){return function(){return t.slideOutRight(i,(function(){return t.remove()})),e._impl.slideInRight(i,(function(){return e._impl.trigger("transitiondone")}))}}(this))):"fade"===e?(this.info("fade"),!0!==t._attrs.transparentLetterbox&&(t.grid.center.style.backgroundColor="#000"),null!=i.time&&(i.time=Math.round(i.time/2)),t.fadeOut(i,function(e){return function(){var n;return t.remove(),!0!==e._impl._attrs.transparentLetterbox&&null!=(n=e._impl.grid)&&(n.center.style.backgroundColor="#000"),e._impl.embed(t),r.then((function(){return e._impl.fadeIn(i,(function(){var t,i;return(null!=(t=e._impl)?t.grid:void 0)&&(e._impl.grid.center.style.backgroundColor=""),null!=(i=e._impl)?i.trigger("transitiondone"):void 0}))}))}}(this))):"crossfade"===e?(this.info("crossfade"),t.grid&&R(t.grid.root,{position:"absolute",zIndex:0}),R(this._impl.grid.root,{zIndex:1}),this._impl.embed(t),r.then(function(e){return function(){return e._impl.fadeIn(i,(function(){var i,n;return t.remove(),(null!=(i=e._impl)?i.grid:void 0)&&R(e._impl.grid.root,{zIndex:""}),null!=(n=e._impl)?n.trigger("transitiondone"):void 0}))}}(this))):(this.info("no transition"),this._impl.embed(t),t.remove(),r.then(function(t){return function(){return setTimeout((function(){if(t._impl)return t._impl.trigger("transitiondone")}),0)}}(this)))},i.prototype._clobberVideoBindings=function(){var e,i,n;for(e in this.crossTime.removeAllBindings(),this.betweenTimes.removeAllBindings(),t.EventShepherdManager[this.container.id]&&this.container&&t.EventShepherdManager[this.container.id].removeAllListeners(this.container),n=[],i=this._bindings)i[e],"afterreplace"!==e&&"beforereplace"!==e&&"all"!==e?n.push(this.unbind(e)):n.push(void 0);return n},i.prototype._replaceMode=function(t){return this.info("_replaceMode",!0),this._impl._replacing=!0,t(),this._impl.embedded((e=this,function(){return e._impl._replacing=!1,e.info("_replaceMode",!1)}));var e},i.prototype.remove=function(e){var i,n,s,o,r,a,l,h,u;return null==e&&(e={}),this.info("remove"),this.trigger("down"),this.trigger("beforeremove"),this._freeEmbedSlot(),null!=(i=this.elem())&&null!=(n=i.mux)&&"function"==typeof n.destroy&&n.destroy(),this.removeSwatch(),this._implExec("remove",{trigger:!1}),this._hasImpl(!1),Yt(this._jsonLdId),null!=(s=this.popover)&&"function"==typeof s.remove&&s.remove(),B(this._popoverContainer),null!=(o=this._impl)&&o.stopStreaming(),null!=(r=this._intersectionObserver)&&r.disconnect(),F(this._foamDummyElem),B(this._foamDummyElem),null!=(a=t.eventLoop)&&a.remove(this.uuid),null!=(l=this._resizeObserver)&&l.disconnect(),this._resizeObserver=null,_(this.uuid),this._unbindListeners(),B(this.chrome),oe(["video",this.uuid]),this.trigger("afterremove"),this._bindings={},"WISTIA-PLAYER"===this.container.tagName&&this.container.getAttribute("use-web-component")&&B(this.container),e.unsetWistiaApiOnContainer?(this.container.wistiaApi=void 0,"WISTIA-PLAYER"===this.container.tagName&&this.container.getAttribute("use-web-component")&&(this.container.originalContainer.uniqueId=this.container.uniqueId,this.container.originalContainer._convertingToAurora=!1,B(this.container))):this.container.wistiaApi="removed",this._impl=null,null!=(h=window.__wistiaStores)&&(h[this.uuid]=null),null!=(u=window.__wistiaStores)?delete u[this.uuid]:void 0},i.prototype.removeSwatch=function(){var t,e;if((e=this.container.querySelector(".wistia_swatch")||(null!=(t=this.container.originalContainer)?t.querySelector(".wistia_swatch"):void 0))&&B(e),"WISTIA-PLAYER"===this.container.tagName&&(e=this.container.shadowRoot.querySelector(".wistia_swatch")))return B(e)},i.prototype.fullRemove=function(){var t,e,i;return e=this._embedContainer,i=this._popoverContainer,t=this.container,this.remove(),B(e),B(i),B(t),this.container=this._embedContainer=null,this},i.prototype.isRemoved=function(){return!se(["video",this.uuid])},i.prototype._unbindListeners=function(){if(N(this.chrome),this._throttleTriggerViewport&&W(window,"scroll",this._throttleTriggerViewport),this._doResize)return W(window,"resize",this._doResize)},i.prototype._saveState=function(){var t;return this._savedState={state:this.state(),time:this.time(),volume:this.volume(),inFullscreen:this.inFullscreen(),uuid:null!=(t=this._impl)?t.uuid:void 0}},i.prototype.suspend=function(){var e,i;if(!this._suspended)return this._saveState(),this.info("suspend",v(this._savedState)),this.pause(),this.suppressPlay(!0),!(null!=(e=this._impl)&&"function"==typeof e._inNativeMode?e._inNativeMode():void 0)&&t.detect.fullscreenEnabled||this.cancelFullscreen(),this._suspended=!0,this._suspendPlayBinding=(i=this,function(){return i.pause()}),this._suspendSeekBinding=function(t){return function(){return t.pause(),t.time(t._savedState.time)}
163}(this),this.bind("play",this._suspendPlayBinding),this.bind("seek",this._suspendSeekBinding),this.trigger("suspendstatechange",!0),this},i.prototype.unsuspend=function(t){var e,i,n;if(null==t&&(t={}),this._suspended)return i=St({},this._savedState,t),this.info("unsuspend",v(i)),this._suspended=!1,this.unbind("play",this._suspendPlayBinding),this.unbind("seek",this._suspendSeekBinding),i.uuid!==(null!=(e=this._impl)?e.uuid:void 0)||(this.suppressPlay(!1),this.volume(i.volume),n={pause:"playing"!==i.state},null!=i.time&&Math.abs(i.time-this.time())>.5&&("ended"===i.state?this.time(i.time-1,n):this.time(i.time,n)),"playing"===i.state&&this.play(),this.trigger("suspendstatechange",!1)),this},i.prototype._setupBindings=function(){var t;return this.bind("afterend",(t=this,function(){if(t.playlistShouldAutoAdvance())return t._suspended?t.bind("suspendstatechange",(function(e){if(!1===e)return"ended"===t.state()&&t._nextEmbedOrPlaylistLoop(),t.unbind})):t._nextEmbedOrPlaylistLoop()})),this.bind("widthchange",function(t){return function(){var e,i;return null!=(e=t._impl)&&(e._width=t._width=t.width()),null!=(i=t._impl)?i._videoWidth=t._videoWidth=t.videoWidth():void 0}}(this)),this.bind("heightchange",function(t){return function(){return t._impl._height=t._height=t.height(),t._impl._videoHeight=t._videoHeight=t.videoHeight()}}(this)),this.looksUp()&&(this.inViewport(this._isInViewportNow()),this.inViewport()?this.trigger("enterviewport"):this.trigger("leaveviewport")),this._intersectionObserver=new window.IntersectionObserver(function(t){return function(e){return e[0].isIntersecting?(t.trigger("enterviewport"),t.inViewport(!0)):(t.trigger("leaveviewport"),t.inViewport(!1))}}(this)),this._intersectionObserver.observe(this.container),x(window,"resize",this._doResize)},i.prototype._nextEmbedOrPlaylistLoop=function(){return this.nextVideo()?this.embedNext():this._attrs.playlistLoop?(this.info("playlistLoop"),this.embedIndex(0,{autoPlay:!0})):void 0},i.prototype._isInViewportNow=function(){var t,e,i,n;return!this.down()&&!this.looksDown()&&(!window.IntersectionObserver&&top!==self||(t=(e=O(this.container).top)+M(this.container),n=Jt(),i=Jt()+M(window),e>=n&&e<i||t>=n&&t<i||e<=n&&t>=i))},i.prototype._pauseEventLoop=function(){var e;if(t.eventLoop.pause(this.uuid),null!=(e=this._impl)?e.uuid:void 0)return t.eventLoop.pause(this._impl.uuid)},i.prototype._unpauseEventLoop=function(){var e;if(t.eventLoop.unpause(this.uuid),null!=(e=this._impl)?e.uuid:void 0)return t.eventLoop.unpause(this._impl.uuid)},i.prototype.playlistIndex=function(){return this._playlistIndexOf(this.sourceHashedId())},i.prototype.nextVideo=function(){return this.playlistIndex()>=0&&this._playlist[this.playlistIndex()+1]||null},i.prototype.previousVideo=function(){return this.playlistIndex()>0&&this._playlist[this.playlistIndex()-1]||null},i.prototype._playlistIndexOf=function(t){var e,i,n,s;for(e=i=0,n=this._playlist.length;0<=n?i<=n:i>=n;e=0<=n?++i:--i)if((null!=(s=this._playlist[e])?s.hashedId:void 0)===t)return e;return-1},i.prototype._inPlaylist=function(t){return this._playlistIndexOf(t)>=0},i.prototype._setTransitionOptions=function(t){if(t.transition||(t.transition=this._opts.playlistTransition||"fade"),t.transitionTime||(t.transitionTime=this._opts.playlistTransitionTime),t.playlistIndex&&"slide"===t.transition)return t.playlistIndex>=this._playlistIndex?t.transition="slideleft":t.transition="slideright"},i.prototype.embedNext=function(t){var e,i;return i=this.nextVideo(),this.info("embedNext",i),(e=St({autoPlay:!0,resumable:!1},i.options,t)).playlistIndex=this._playlistIndex+1,e.playlistShouldAutoAdvance=this._playlistShouldAutoAdvance,this._setTransitionOptions(e),this.replaceWith(i.hashedId,e)},i.prototype.embedPrevious=function(t){var e,i;return i=this.previousVideo(),this.info("embedPrevious",i),(e=St({autoPlay:!0,resumable:!1},i.options,t)).playlistIndex=this._playlistIndex-1,e.playlistShouldAutoAdvance=this._playlistShouldAutoAdvance,this.replaceWith(i.hashedId,e)},i.prototype.embedIndex=function(t,e){var i,n;return n=this._playlist[t],this.info("embedIndex",t,n),(i=St({autoPlay:!0},n.options,e)).playlistIndex=t,i.playlistShouldAutoAdvance=this._playlistShouldAutoAdvance,this.replaceWith(n.hashedId,i)}
163,i.prototype.addToPlaylist=function(t,e,i){var n,s,o,r,a;for(null==e&&(e={}),null==i&&(i={}),null==this._playlist&&(this._playlist=[]),o=0,r=(a=ie(t)).length;o<r;o++)n={hashedId:s=a[o],options:e},(i=v(i)).after?i.detect=function(t){return t.hashedId===i.after}:i.before&&(i.detect=function(t){return t.hashedId===i.before}),this.info("addToPlaylist",n,i),gt(this._playlist,n,i),this.hasData(function(t){return function(){var i,n;return s===(null!=(i=t.nextVideo())?i.hashedId:void 0)||s===(null!=(n=t.previousVideo())?n.hashedId:void 0)?t.prefetchMedia(s,e):void 0}}(this));return this.info("updated _playlist",v(this._playlist)),this.trigger("playlistchange",this._playlist),this._playlist},i.prototype.setPlaylist=function(t,e){return null==e&&(e={}),this._playlist=[],null!=(null!=e?e.playlistShouldAutoAdvance:void 0)&&(this._playlistShouldAutoAdvance=e.playlistShouldAutoAdvance),this.addToPlaylist(t,e),this._playlistIndex=this._playlistIndexOf(this.hashedId()),this.trigger("playlistchange",this._playlist)},i.prototype.playlistShouldAutoAdvance=function(){return null==this._playlistShouldAutoAdvance||this._playlistShouldAutoAdvance},i.prototype.setPlaylistShouldAutoAdvance=function(t){return this._playlistShouldAutoAdvance=t},i.prototype.prefetchNextMedia=function(){var t;if(!this._opts._inLegacyPlaylist&&(t=this.nextVideo()))return this.prefetchMedia(t.hashedId,t.options)},i.prototype.sourceLocalization=function(){return bt(this.mediaLanguages().find((function(t){return t.isOriginal}))||this.mediaLanguages()[0]||this.defaultLocalization())},i.prototype.findLocalizationByLanguage=function(t){return this.mediaLanguages().find((function(e){return e.wistiaLanguageCode===t||e.bcp47LanguageTag===t}))},i.prototype.findCaptionsLanguageByCode=function(t){var e;return(e=this.captionsLanguages().findIndex((function(e){return e.wistiaLanguageCode===t||e.bcp47LanguageTag===t})))>=0||(e=rt(this.languages().map((function(t){return t.bcp47LanguageTag})),[t]))>=0?this.captionsLanguages()[e]:null},i.prototype.prefetchMedia=function(t,e){var i,n;return null==e&&(e={}),(e=g({embedHost:this._opts.embedHost},e)).overrideMediaLanguage=null!=(i=this.findLocalizationByLanguage(e.language))?i.bcp47LanguageTag:void 0,this.info("@prefetchMedia",t),Z(t,e).then((n=this,function(i){var s;return n.info("prefetched",t),s=n._gatherOptions({givenOptions:e,mediaData:i,hashedId:i.hashedId,container:n.container}),Mt(i,s)})).catch((function(){return b("player/failure/prefetch-failed")}))},i.prototype.addPlugin=function(e,i){return null==i&&(i={}),this.info("addPlugin",e,i),new Promise((n=this,function(s){return n._hasImpl((function(){return n.hasPlugin(e)||t.plugin._inject(n,e,i),n.plugin(e).then((function(t){return s(t)}))}))}));var n},i.prototype.hasPlugin=function(t){return!!this.plugin[t]},i.prototype.turnOffPluginApis=function(){var t,e,i,n;for(e in this.info("turnOffPluginApis"),n=[],i=this.plugin)i[e],n.push("function"==typeof(t=this._pluginStopGos)[e]?t[e](!1):void 0);return n},i.prototype.removePlugin=function(t){var e,i,n;if(i=this.plugin[t]){try{"function"==typeof i.remove&&i.remove()}catch(t){e=t,setTimeout((function(){throw e}),0)}return delete this.plugin[t],(null!=(n=this._impl.plugin)?n[t]:void 0)&&delete this._impl.plugin[t],i.uuid&&this.plugins&&(delete this.plugins[this.uuid],oe(["plugins",t,this.uuid,i.uuid])),this.trigger("pluginremoved",t)}},i.prototype.removePlugins=function(){var t,e,i;for(t in this.info("removePlugins"),i=[],e=this.plugin)e[t],i.push(this.removePlugin(t));return i},i.prototype.containerWidth=function(){return H(this._embedContainer)},i.prototype.containerHeight=function(){return M(this._embedContainer)},i.prototype._getScreenScrolls=function(t,e){var i;return i=t.bottom+window.pageYOffset,Math.max(0,i/e-1)},i.prototype._getEmbedVisibilityMetrics=function(){var t,e,i,n,s;return this.embedOptions()._inIframe||this.isRemoved()?null:(s=M(window),n=(e=this.elem().getBoundingClientRect()).height,i=this._getScreenScrolls(e,s),this.popover&&(t=this.container.getBoundingClientRect(),i=this._getScreenScrolls(t,s)),{screen_scrolls:i,ratio_of_screen:n/s,screen_width:window.screen.width,screen_height:window.screen.height})},i.prototype._getPageTitle=function(){return this._attrs.pageTitle||document.title},i.prototype._getBrowserLanguage=function(){return window.navigator.language},i.prototype._goToDownState=function(){var t;return this.info("_goToDownState"),this._stateBeforeDown=this.state(),this.up(!1),this.down(!0),null!=(t=this._impl.engine)&&t.pause(),this.ready(!1),this.trigger("down")},i.prototype._goToUpState=function(){var t;return this.info("_goToUpState"),this.down(!1),this._ignoreUp=!0,this._doSizing(),this._ignoreUp=!1,this.up(!0),this.ready(!1),null!=(t=this._impl)&&t.checkForReady(),"playing"===this._stateBeforeDown&&this.play(),this.trigger("up")},i.prototype._checkDownState=function(){var t;return t=this.looksDown(),this.up()&&t?(this.info("moving to down state"),this._goToDownState()):this.down()&&!t?(this.info("moving to up state"),this._goToUpState()):void 0},i.prototype._removeHandleIfGoneFromDOM=function(){return!(!this.embedded()||(this.elem()?!this._embedContainer||this._embedContainer.parentNode||(this.warn("container removed from DOM",this._embedContainer.id),this.remove({unsetWistiaApiOnContainer:!0}),0):(this.warn("video element removed from DOM",this._embedContainer.id),this.remove(),0)))},i.prototype._doFoam=function(){var t,e,i,n,s,o,r,a,l,h,u,c;if(null==this._parentBoxSizing&&(this._parentBoxSizing=R(this._embedContainer.parentNode,"box-sizing")),"WISTIA-PLAYER"!==this.container.tagName)return this.popover?(h=(c=H(window))/(u=M(window)),e=(l=Math.min(c,u))>500?160:Math.abs(h-this.aspect())<.2?.2*l:.1*l,r=h>this.aspect()?Math.round((u-e)*this.aspect()):c-e):"border-box"===this._parentBoxSizing?(this._foamDummyElem||(this._foamDummyElem=L({class:"wistia_video_foam_dummy","data-source-container-id":this._embedContainer.id,style:{border:0,display:"block",height:0,margin:0,padding:0,position:"static",visibility:"hidden",
163width:"auto"}}),A(this._embedContainer,this._foamDummyElem)),r=H(this._foamDummyElem)):r=H(this._embedContainer.parentNode),isNaN(r)||this._lastParentWidth===r&&this._didFoam?void 0:(this._didFoam=!0,s=(o=r)-this.extraWidth(),i=(n=this.heightForWidth(s))+this.extraHeight(),(t=this.videoFoam()).maxHeight&&i>t.maxHeight&&(n=(i=t.maxHeight)-this.extraHeight(),o=(s=this.widthForHeight(n))+this.extraWidth()),t.maxWidth&&o>t.maxWidth&&(s=(o=t.maxWidth)-this.extraWidth(),i=(n=this.heightForWidth(s))+this.extraHeight()),t.minHeight&&i<t.minHeight&&(n=(i=t.minHeight)-this.extraHeight(),o=(s=this.widthForHeight(n))+this.extraWidth()),t.minWidth&&o<t.minWidth&&(s=(o=t.minWidth)-this.extraWidth(),i=(n=this.heightForWidth(s))+this.extraHeight()),this.info("videoFoam set width",o),null!=(a=this._impl)&&a.width(o,{constrain:!0}),this._lastParentWidth=r)},i.prototype._allowFoam=function(){var t;return this._hasImpl()&&this.grid&&(this.up()||this._ignoreUp)&&this.looksUp()&&(this._attrs.videoFoam||(null!=(t=this.popover)?t.isResponsive():void 0))&&!this.isAudio()},i.prototype._allowContainerMatch=function(){return(this.up()||this._ignoreUp)&&!this._opts.dontMonitorSize&&!this.inFullscreen()&&"WISTIA-PLAYER"!==this.container.tagName},i.prototype._doContainerMatch=function(){var t,e,i,n;if(n=this.containerWidth(),t=this.containerHeight(),this._lastWidth!==n&&(this.notice("container width changed to "+n+", matching"),null!=(e=this._impl)&&e.width(n),this.info("_doContainerMatch set width",n),this.trigger("widthchange",n,this._lastWidth),this._lastWidth=n),this._lastHeight!==t)return this.notice("container height changed to "+t+", matching"),null!=(i=this._impl)&&i.height(t),this.trigger("heightchange",t,this._lastHeight),this._lastHeight=t},i.prototype.monitor=function(){return this.info("monitor"),this._lastWidth=this._attrs.startingWidth,this._lastHeight=this._attrs.startingHeight,this._lastParentWidth=this.width(),this._didFoam=!1,this._hasImpl((e=this,function(){var i,n,s;if(t.eventLoop.add(e.uuid+".monitor",500,e._doMonitor),window.ResizeObserver)return n=!1,i=null,s=function(t){var s;if(s=t[0])return i=s,n?void 0:(n=!0,requestAnimationFrame((function(){var t;if(n=!1,i&&(e._allowFoam()||e.isAudio()&&"WISTIA-PLAYER"===(null!=(t=e.container)?t.tagName:void 0)))return e._lastWidth!==i.contentRect.width&&e.trigger("widthchange",i.contentRect.width,e._lastWidth),e._lastHeight!==i.contentRect.height&&e.trigger("heightchange",i.contentRect.height,e._lastHeight),e._lastWidth=i.contentRect.width,e._lastHeight=i.contentRect.height,e._doSizing()})))},e._resizeObserver=new ResizeObserver(s),e._resizeObserver.observe(e.container)}));var e},i.prototype._doMonitor=function(){if(!this._removeHandleIfGoneFromDOM())return this._checkDownState(),this.chrome&&!D(this.chrome)&&(this.notice("Chrome was removed from DOM. Injecting it back in."),P(this._embedContainer,this.chrome)),this._doSizing()},i.prototype._doSizing=function(){var t,e;if("WISTIA-PLAYER"!==this.container.tagName)if(this.popover){if(this.popover.fixedSizeTooBigForWindow())return this._doFoam();if(!this._opts.popoverSize)return this._doFoam();if(this._lastWidth=this.width(),this._lastHeight=this.height(),this._lastWidth!==this._popoverSize().width||this._lastHeight!==this._popoverSize().height)return null!=(t=this._impl)&&t.width(this._popoverSize().width),null!=(e=this._impl)?e.height(this._popoverSize().height):void 0}else{if(this._allowFoam())return this._doFoam();if(this._allowContainerMatch())return this._doContainerMatch()}},i.prototype.looksDown=function(){return!this._embedContainer||!D(this._embedContainer)||k(this._embedContainer)},i.prototype.looksUp=function(){return!this.looksDown()},i.prototype._doResize=function(){var t;return"function"==typeof this._throttleTriggerViewport&&this._throttleTriggerViewport(),this._debounceDoMonitor||this.embedded((t=this,function(){return requestAnimationFrame((function(){return t._doMonitor(),t._debounceDoMonitor=!1}))})),this._debounceDoMonitor=!0},i.prototype._definePluginMethod=function(){var t;if(!this.plugin)return this.plugin=(t=this,function(e,i){var n;return(n=t._pluginStopGos[e])||(n=t._pluginStopGos[e]=new p)(!!t.plugin[e],t.plugin[e]),i?n((function(){return i(t.plugin[e])})):n})},i.prototype.videoFoam=function(t){return null!=t?(this.info("videoFoam",t),this._attrs.videoFoam=t,this.monitor(),t):this._attrs.videoFoam||!1},i.prototype._transformAndUpdateMediaData=function(){var t,e,i;return this._mediaData=Tt(v(this._originalMediaData),this._opts),null!=(t=this._impl)&&null!=(e=t.engine)&&e.onMediaDataChanged(this._mediaData,this._opts),null!=(i=this._impl)?i._mediaData=this._mediaData:void 0},i.prototype._trackVideoFoamManualSizeChange=function(e){return t.Metrics.count("player/videofoam-manual-sizechange",1,{method:e,href:window.location.href})},i.prototype.aspect=function(){return this._implGet("aspect",0)},i.prototype.asset=function(){return this._implGet.apply(this,["asset",null].concat(s.call(arguments)))},i.prototype.assets=function(){return this._implGet.apply(this,["assets",null].concat(s.call(arguments)))},i.prototype.audioDescriptionControlEnabled=function(){return this._implSetOrGet.apply(this,["audioDescriptionControlEnabled",!1].concat(s.call(arguments)))},i.prototype.bigPlayButtonEnabled=function(){return this._implSetOrGet.apply(this,["bigPlayButtonEnabled",!1].concat(s.call(arguments)))},i.prototype.bigPlayButtonTimeEnabled=function(){return this._implSetOrGet.apply(this,["bigPlayButtonTimeEnabled",!1].concat(s.call(arguments)))},i.prototype.cancelOverlay=function(){return this._implPromise.apply(this,["cancelOverlay"].concat(s.call(arguments)))},i.prototype.cancelFullscreen=function(){return this._commandQueueImplPromise("cancelFullscreen")},i.prototype.captureCurrentFrame=function(){return this._implGet.apply(this,["captureCurrentFrame",null].concat(s.call(arguments)))},i.prototype.closeTabMenu=function(){return this._implExec("closeTabMenu")},i.prototype.contrastIcons=function(){return this._implSetOrGet.apply(this,["contrastIcons",!1].concat(s.call(arguments)))},i.prototype.controlScaling=function(){return this._implSetOrGet.apply(this,["controlScaling","auto"].concat(s.call(arguments)))},i.prototype.createControl=function(){return this._implGet.apply(this,["createControl",null].concat(s.call(arguments)))},i.prototype.defineOverlay=function(){return this._implExec.apply(this,["defineOverlay"].concat(s.call(arguments)))}
163,i.prototype.destroyControl=function(){return this._implExec.apply(this,["destroyControl"].concat(s.call(arguments)))},i.prototype.doNotTrack=function(){return this._opts.doNotTrack},i.prototype.duration=function(){return this._implGet("duration",null)},i.prototype.embedded=function(){return this._implSetOrGet.apply(this,["embedded",!1].concat(s.call(arguments)))},i.prototype.embedOptions=function(){return this._hasImpl()?this._implGet.apply(this,["embedOptions",{}].concat(s.call(arguments))):this._embedOptions?this._embedOptions:this._embedOptions=this._gatherOptions()},i.prototype.enterInputContext=function(){return this._implExec.apply(this,["enterInputContext"].concat(s.call(arguments)))},i.prototype.eventKey=function(){return this._implGet("eventKey",null)},i.prototype.exitInputContext=function(){return this._implExec.apply(this,["exitInputContext"].concat(s.call(arguments)))},i.prototype.extraHeight=function(){return this._implGet("extraHeight",0)},i.prototype.extraWidth=function(){return this._implGet("extraWidth",0)},i.prototype.fit=function(){return this._implExec("fit")},i.prototype.fullscreenControlEnabled=function(){return this._implSetOrGet.apply(this,["fullscreenControlEnabled",!1].concat(s.call(arguments)))},i.prototype.focus=function(){return this._implPromise.apply(this,["focus"].concat(s.call(arguments)))},i.prototype.getBuffered=function(){return this._implGet("getBuffered",[])},i.prototype.getConnectedCarouselEmbed=function(){var t;if(null===this.wistiaPlaylistElem)return Array.from(document.getElementsByTagName("wistia-channel-carousel")).find((t=this,function(e){return e.activeMediaId===t._mediaData.hashedId}))},i.prototype.getFocusedChapter=function(){return this._implGet("getFocusedChapter",null)},i.prototype.getInputContext=function(){return this._implGet("getInputContext",[])},i.prototype.getMediaElement=function(){return this._implGet("getMediaElement",null)},i.prototype.getMediaType=function(){return this._implGet("getMediaType",null)},i.prototype.getOverlays=function(){return this._implGet("getOverlays",{})},i.prototype.getRegion=function(){return this._implGet.apply(this,["getRegion",null].concat(s.call(arguments)))},i.prototype.getSelectedCaptions=function(){var t,e;return null!=(t=this.controls)&&null!=(e=t.captions)?e.getSelectedCaptions():void 0},i.prototype.hasData=function(){return this._implSetOrGet.apply(this,["hasData",!1].concat(s.call(arguments)))},i.prototype.height=function(){var t,e;return arguments.length>0?!0!==(null!=(e=this._opts)?e.videoFoam:void 0)?(t=parseFloat(arguments[0]),this.container.style.height=t+"px",this._implExec.apply(this,["height"].concat(s.call(arguments)))):(this._trackVideoFoamManualSizeChange("height"),console.warn("setting `height` while `videoFoam` is enabled results in a no-op"),this):this._implGet("height",null)},i.prototype.heightForWidth=function(){return this._implGet.apply(this,["heightForWidth",null].concat(s.call(arguments)))},i.prototype.hideControls=function(){return this._implExec.apply(this,["hideControls",null].concat(s.call(arguments)))},i.prototype.ieSizeHack=function(){return this._implExec("ieSizeHack")},i.prototype.inFullscreen=function(){return this._implGet("inFullscreen",!1)},i.prototype.inSilentPlaybackMode=function(){return this._implGet("inSilentPlaybackMode",!1)},i.prototype.isInstantHls=function(){return this._implGet("isInstantHls",!1)},i.prototype.isMuted=function(){return this._implGet("isMuted")},i.prototype.isResumableEnabled=function(){return this._implGet("isResumableEnabled")},i.prototype.language=function(t){return null!=t?(this.captionsLanguageCode(t),this.mediaLanguageCode(t),this):this.mediaLanguage()},i.prototype.languages=function(){return this._mediaData?(this._languages=et(this._mediaData),this._languages):[]},i.prototype.mediaLanguageCode=function(t){var e,i,n,s,o,r,a;return null!=t?this.embedded()?(e=this.findLocalizationByLanguage(t))?(e=this.languageToLocalization(e))?("eng"!==e.wistiaLanguageCode&&wt(e.bcp47LanguageTag),ct()&&te("localization",e),r=g({},{language:e.bcp47LanguageTag,localization:e,existingTracker:null!=(i=this._impl)?i._tracker:void 0,embedHost:this._opts.embedHost,authorization:this._opts.authorization}),e.hasCaptions&&this.captionsLanguageCode(e.wistiaLanguageCode),this.hashedId()!==this.sourceHashedId()||"alternate_audio"!==e.localizationIntent&&!e.sourceLanguage?(this.getRemapTime().then(function(t){return function(i){var n,s,o,a,l,h;if(h="playing"===t.state(),l="beforeplay"===t.state(),a=i(t.mediaLanguage().wistiaLanguageCode,e.wistiaLanguageCode,t.time()),l||(r.time=a),h&&(r.autoPlay=!0),n=null!=(s=t.plugin.carousel)?s.options:void 0,o=e.hashedId,"alternate_audio"===e.localizationIntent&&(o=t.sourceHashedId(),r.audioPreference={lang:e.ietfLanguageTag||e.bcp47LanguageTag,characteristics:""}),t.replaceWith(o,r),null!=n)return t.addPlugin("carousel",n)}}(this)),e.bcp47LanguageTag):(this._hasImpl((a=this,function(){return a._impl.getAudioTracks().then((function(t){var i,n;if(((i=t.find((function(t){return(t.language===e.wistiaLanguageCode||t.lang===e.wistiaLanguageCode||t.language===e.bcp47LanguageTag||t.lang===e.bcp47LanguageTag)&&!t.characteristics})))||e.sourceLanguage)&&(n=i?parseInt(i.id.toString(),10):0,a._impl.changeAudioTrack(n),e.sourceLanguage?(a._opts.audioPreference=null,a._attrs.audioPreference=null):(a._opts.audioPreference={lang:e.ietfLanguageTag||e.bcp47LanguageTag,characteristics:""},a._attrs.audioPreference=a._opts.audioPreference),ct()))return te("localization",e)}))}
163)),e.bcp47LanguageTag)):(console.error("languageToLocalization returned null for "+t+". This language exists in mediaLanguages() but not in _mediaData.localizations"),null):(console.error("Language "+t+" not found. Available languages for "+this.sourceHashedId()+": "+JSON.stringify(this.mediaLanguages().map((function(t){return t.bcp47LanguageTag})))),null):(console.error("Cannot set media language before media is embedded"),null):(null!=(n=this._attrs)&&null!=(s=n.audioPreference)?s.lang:void 0)?this._attrs.audioPreference.lang:(null!=(o=this._mediaData)?o.ietfLanguageTag:void 0)?(this.findLocalizationByLanguage(this._mediaData.ietfLanguageTag)||this.defaultLocalization()).bcp47LanguageTag:this.sourceLocalization().bcp47LanguageTag},i.prototype.mediaLanguage=function(t){return null!=t?(b("player/api/deprecated-media-language-setter",1,{hashedId:this.hashedId(),code:t,url:window.location.href}),this.mediaLanguageCode(t)):bt(this.findLocalizationByLanguage(this.mediaLanguageCode())||this.defaultLocalization())},i.prototype.mediaLanguages=function(){return this._mediaData?(this._mediaLanguages||(this._mediaLanguages=it(this._mediaData)),this._mediaLanguages):[]},i.prototype.limitedLanguageProperties=function(t){return bt(t)},i.prototype.captionsEnabled=function(t){var e,i,n,s,o,r,a;return null==t?null!=this._captionsEnabled?this._captionsEnabled:Boolean(null!=(r=this.controls)&&null!=(a=r.captions)?a.isEnabled():void 0):(s=this._captionsEnabled,this._captionsEnabled=t,s!==t?(ct()&&((i=lt("captionsViewerPreferences")||{}).onByViewerPreferences=t,te("captionsViewerPreferences",i)),n={visible:t,bcp47LanguageTag:(e=this.captionsLanguage()).bcp47LanguageTag,wistiaLanguageCode:e.wistiaLanguageCode,language:e.wistiaLanguageCode},this.trigger("captionschange",n),null!=(o=this._impl)?o.embedElement.dispatchEvent(new CustomEvent("captions-change",{detail:n})):void 0):void 0)},i.prototype.captionsLanguageCode=function(t){var e,i,n,s,o,r,a,l,h,u,c,d,p,m,f,y,_,v;return e=lt("captionsViewerPreferences")||{},y=this._captionsLanguageCode,null!=t?(n=this.findCaptionsLanguageByCode(t))?(ct()&&(e.language=n.wistiaLanguageCode,e.bcp47LanguageTag=n.bcp47LanguageTag,delete e.iso6392Language,te("captionsViewerPreferences",e)),null!=(_=null!=(c=(this._mediaData.translatedMediaData||[]).find((function(t){return t.wistiaLanguageCode===n.wistiaLanguageCode})))?c.embedOptions:void 0)&&this.setCustomizeEmbedOptions(_),u=this.playerLanguage(),s=this._captionsLanguageCode,this._captionsLanguageCode=n.wistiaLanguageCode,s!==this._captionsLanguageCode&&(i={visible:this.captionsEnabled(),bcp47LanguageTag:n.bcp47LanguageTag,wistiaLanguageCode:n.wistiaLanguageCode,language:n.wistiaLanguageCode},this.trigger("captionschange",i),null!=(d=this._impl)&&d.embedElement.dispatchEvent(new CustomEvent("captions-change",{detail:i})),r=n.bcp47LanguageTag,v=this,o=function(){var t;if(u.code!==r)return v.trigger("playerlanguagechange",v.playerLanguage()),null!=(t=v._impl)?t.embedElement.dispatchEvent(new CustomEvent("player-language-change",{detail:{playerLanguage:v.playerLanguage()}})):void 0},_t(r)?wt(r).then((function(){return o()})):(r="en-US",o())),n.bcp47LanguageTag):(console.error("Language "+t+" not found. Available languages for "+this.sourceHashedId()+": "+JSON.stringify(this.captionsLanguages().map((function(t){return t.bcp47LanguageTag})))),null):this._mediaData&&this._opts?(null!=y&&(f=this.findCaptionsLanguageByCode(y)),h=g({language:this._opts.language},(null!=(p=this._opts.plugin)?p["captions-v1"]:void 0)||{},(null!=(m=this._opts.plugin)?m.captions:void 0)||{}),l=at(this._mediaData,h),null==f&&l>=0&&(a=this._mediaData.availableTranscripts[l],f=this.findCaptionsLanguageByCode(a.wistiaLanguageCode)),null==f&&this._mediaData.ietfLanguageTag&&(f=this.findCaptionsLanguageByCode(this._mediaData.ietfLanguageTag)),null==f&&(f=this.captionsLanguages().find((function(t){return t.isOriginal}))),null==f&&this.captionsLanguages().length>0&&(f=this.captionsLanguages().find((function(t){return"eng"===t.wistiaLanguageCode}))||this.captionsLanguages()[0]),(f||this.defaultLocalization()).bcp47LanguageTag):this.defaultLocalization().bcp47LanguageTag},i.prototype.captionsLanguage=function(t){return null!=t?(b("player/api/deprecated-captions-language-setter",1,{hashedId:this.hashedId(),code:t,url:window.location.href}),this.captionsLanguageCode(t)):bt(this.findCaptionsLanguageByCode(this.captionsLanguageCode())||this.defaultLocalization())},i.prototype.captionsLanguages=function(){return this._mediaData?(this._captionsLanguages||(this._captionsLanguages=q(this._mediaData)),this._captionsLanguages):[]},i.prototype.defaultLocalization=function(){return{bcp47LanguageTag:"en",wistiaLanguageCode:"eng",familyName:"English",familyNativeName:"English",name:"English",nativeName:"English",duration:this.duration(),hashedId:this.hashedId(),sourceLanguage:!0,timeMappings:[],alpha3Bibliographic:"eng",alpha3Terminologic:"eng",genericName:"English",genericNativeName:"English",ietfLanguageTag:"eng",iso6392LanguageCode:"eng"}},i.prototype.languageToLocalization=function(t){return vt(this._mediaData,t)},i.prototype.languagesToLocalizations=function(t){return t.map((e=this,function(t){return e.languageToLocalization(t)}));var e},i.prototype.lastPauseInfo=function(){return this._implGet("lastPauseInfo",{})},i.prototype.lastPlayInfo=function(){return this._implGet("lastPlayInfo",{})},i.prototype.layout=function(){return this._implSetOrGet.apply(this,["layout","primary"].concat(s.call(arguments)))},i.prototype.look=function(){return this._implSetOrGet.apply(this,["look",{}].concat(s.call(arguments)))},i.prototype.mp4Asset=function(){return this._implGet.apply(this,["mp4Asset",null].concat(s.call(arguments)))},i.prototype.mute=function(){return this._implExec("mute")},i.prototype.name=function(){return this._implSetOrGet.apply(this,["name",""].concat(s.call(arguments)))},i.prototype.opaqueControls=function(){return this._implSetOrGet.apply(this,["opaqueControls",!1].concat(s.call(arguments)))}
163,i.prototype.openChaptersTab=function(){return this._implExec("openChaptersTab")},i.prototype.openShareTab=function(){return this._implExec("openShareTab")},i.prototype.openTabMenu=function(){return this._implExec("openTabMenu")},i.prototype.openTranscriptTab=function(){return this._implExec("openTranscriptTab")},i.prototype.originalAsset=function(){return this._implGet.apply(this,["originalAsset",null].concat(s.call(arguments)))},i.prototype.pause=function(){return this._commandQueueImplPromise("pause")},i.prototype.percentWatched=function(){return this._implGet("percentWatched",0)},i.prototype.playbarControlEnabled=function(){return this._implSetOrGet.apply(this,["playbarControlEnabled",!1].concat(s.call(arguments)))},i.prototype.play=function(){return this._commandQueueImplPromise("play")},i.prototype.playbackRate=function(){return this._implSetOrGet.apply(this,["playbackRate",1].concat(s.call(arguments)))},i.prototype.playbackRateControlEnabled=function(){return this._implSetOrGet.apply(this,["playbackRateControlEnabled",!1].concat(s.call(arguments)))},i.prototype.playerColor=function(){return this._implSetOrGet.apply(this,["playerColor","636155"].concat(s.call(arguments)))},i.prototype.playerBackgroundColor=function(){return this._implSetOrGet.apply(this,["playerBackgroundColor","000000"].concat(s.call(arguments)))},i.prototype.playPauseControlEnabled=function(){return this._implSetOrGet.apply(this,["playPauseControlEnabled",!1].concat(s.call(arguments)))},i.prototype.qualityControlEnabled=function(){return this._implSetOrGet.apply(this,["qualityControlEnabled",!1].concat(s.call(arguments)))},i.prototype.getRemapTime=function(){var t;return this._cachedRemapTime||(this._cachedRemapTime=new Promise((t=this,function(e){return t.hasData((function(){return t.mediaLanguages().length<=1?(null==t._cachedUnloadedRemapTime&&(t._cachedUnloadedRemapTime=Promise.resolve((function(t,e,i){return i}))),void e(t._cachedUnloadedRemapTime)):(null==t._cachedLoadedRemapTime&&(t._cachedLoadedRemapTime=C("assets/external/timeMapping.js").then((function(e){var i;return i=e.remapTime,function(e,n,s){var o,r,a,l;return r=1e3*s,a=t.languageToLocalization(t.sourceLocalization()),o=t.languageToLocalization(t.findLocalizationByLanguage(e)),l=t.languageToLocalization(t.findLocalizationByLanguage(n)),null==o||null==l||null==a?s:i(a,o,l,r)/1e3}}))),e(t._cachedLoadedRemapTime))}))}))),this._cachedRemapTime},i.prototype.playerLanguage=function(t){return null!=t?this.captionsLanguage(t):tt(this.captionsLanguage().bcp47LanguageTag)||tt("en-US")},i.prototype.requestFullscreen=function(){return this._commandQueueImplPromise("requestFullscreen")},i.prototype.requestOverlay=function(){return this._implPromise.apply(this,["requestOverlay"].concat(s.call(arguments)))},i.prototype.ready=function(){return this._implSetOrGet.apply(this,["ready",!1].concat(s.call(arguments)))},i.prototype.releaseChromeless=function(){return this._implExec.apply(this,["releaseChromeless"].concat(s.call(arguments)))},i.prototype.releaseControls=function(){return this._implExec.apply(this,["releaseControls"].concat(s.call(arguments)))},i.prototype.requestChromeless=function(){return this._implExec.apply(this,["requestChromeless"].concat(s.call(arguments)))},i.prototype.requestControls=function(){return this._implExec.apply(this,["requestControls"].concat(s.call(arguments)))},i.prototype.rotateToFullscreen=function(){return this._implSetOrGet.apply(this,["rotateToFullscreen",!1].concat(s.call(arguments)))},i.prototype.secondsWatched=function(){return this._implGet("secondsWatched",0)},i.prototype.secondsWatchedVector=function(){return this._implGet("secondsWatchedVector",[])},i.prototype.selectableQualities=function(){return this._implGet("selectableQualities",[])},i.prototype.selectedQuality=function(){return this._implGet("selectedQuality",[])},i.prototype.setCustomizeEmbedOptions=function(t){return this._implExec("setCustomizeEmbedOptions",t)},i.prototype.setFocusedChapter=function(){return this._implSetOrGet.apply(this,["setFocusedChapter",null].concat(s.call(arguments)))},i.prototype.setRoundedPlayer=function(){return this._implSetOrGet.apply(this,["setRoundedPlayer",!1].concat(s.call(arguments)))},i.prototype.settingsControlEnabled=function(){return this._implSetOrGet.apply(this,["settingsControlEnabled",!1].concat(s.call(arguments)))},i.prototype.shouldResume=function(){return this._implGet("shouldResume")},i.prototype.showControls=function(){return this._implExec.apply(this,["showControls",null].concat(s.call(arguments)))},i.prototype.state=function(){return this._implGet("state","beforeplay")},i.prototype.stillUrl=function(){return this._implGet.apply(this,["stillUrl",null].concat(s.call(arguments)))},i.prototype.suppressPlay=function(){return this._implSetOrGet.apply(this,["suppressPlay",this].concat(s.call(arguments)))},i.prototype.thumbnailAssets=function(){return this._implGet("thumbnailAssets",[])},i.prototype.time=function(){var t,e;
163return e=arguments[0],t=2<=arguments.length?s.call(arguments,1):[],null!=e?this._commandQueueImplPromise.apply(this,["time",U(e)].concat(s.call(t))):this._implGet("time",0)},i.prototype.trim=function(){return this._implSetOrGet.apply(this,["trim",{start:0,end:-1}].concat(s.call(arguments)))},i.prototype.unmute=function(){return this._implExec("unmute")},i.prototype.undefineOverlay=function(){return this._implPromise.apply(this,["undefineOverlay"].concat(s.call(arguments)))},i.prototype.videoHeight=function(){var t,e;return arguments.length>0?!0!==(null!=(e=this._opts)?e.videoFoam:void 0)?(t=parseFloat(arguments[0]),this.container.style.height=t+"px",this._implExec.apply(this,["videoHeight"].concat(s.call(arguments)))):(this._trackVideoFoamManualSizeChange("videoHeight"),console.warn("setting `videoHeight` while `videoFoam` is enabled results in a no-op"),this):this._implGet("videoHeight",null)},i.prototype.videoQuality=function(t){return null!=t?this._commandQueueImplPromise.apply(this,["setVideoQuality",t].concat(s.call(arguments))):this._implGet("getVideoQuality")},i.prototype.videoWidth=function(){var t,e;return arguments.length>0?!0!==(null!=(t=this._opts)?t.videoFoam:void 0)?(e=parseFloat(arguments[0]),this.container.style.width=e+"px",this._implExec.apply(this,["videoWidth"].concat(s.call(arguments)))):(this._trackVideoFoamManualSizeChange("videoWidth"),console.warn("setting `videoWidth` while `videoFoam` is enabled results in a no-op"),this):this._implGet("videoWidth",null)},i.prototype.visitorKey=function(){return t.visitorKey.value()||null},i.prototype.volume=function(){return this._implSetOrGet.apply(this,["volume",0].concat(s.call(arguments)))},i.prototype.volumeControlEnabled=function(){return this._implSetOrGet.apply(this,["volumeControlEnabled",!1].concat(s.call(arguments)))},i.prototype.whenVideoElementInDom=function(){return new Promise((t=this,function(e){return t._hasImpl((function(){return e(t._implGet.apply(t,["whenVideoElementInDom",null].concat(s.call(arguments))))}))}));var t},i.prototype.width=function(){var t,e;return arguments.length>0?!0!==(null!=(t=this._opts)?t.videoFoam:void 0)?(e=parseFloat(arguments[0]),this.container.style.width=e+"px",this._implExec.apply(this,["width"].concat(s.call(arguments)))):(this._trackVideoFoamManualSizeChange("width"),console.warn("setting `width` while `videoFoam` is enabled results in a no-op"),this):this._implGet("width",null)},i.prototype.widthForHeight=function(){return this._implGet.apply(this,["widthForHeight",null].concat(s.call(arguments)))},i.prototype.chaptersEnabled=function(){return this._implSetOrGet.apply(this,["chaptersEnabled",null].concat(s.call(arguments)))},i.prototype.chaptersVisibleOnLoad=function(){return this._implSetOrGet.apply(this,["chaptersVisibleOnLoad",null].concat(s.call(arguments)))},i.prototype.addChapter=function(){return this._implExec.apply(this,["addChapter"].concat(s.call(arguments)))},i.prototype.getChapter=function(){return this._implGet.apply(this,["getChapter",null].concat(s.call(arguments)))},i.prototype.removeChapter=function(){return this._implExec.apply(this,["removeChapter"].concat(s.call(arguments)))},i.prototype.chapters=function(){return this._implSetOrGet.apply(this,["chapters",[]].concat(s.call(arguments)))},i.prototype.customerLogo=function(){return this._implExec.apply(this,["customerLogo"].concat(s.call(arguments)))},i.prototype.setControlEnabled=function(t,e){return this._implSetOrGet("setControlEnabled",null,t,e)},i.prototype.isControlDisabled=function(t){return this._implGet("isControlDisabled",!1,t)},i.prototype.isControlEnabled=function(t){return this._implGet("isControlEnabled",!1,t)},i.prototype.whenControlMounted=function(t){return this._implPromise("whenControlMounted",t)},i.prototype.getControl=function(t){return this._implGet("getControl",null,t)},i.prototype.getEmail=function(){return this.email()},i.prototype.getEventKey=function(){return this.eventKey()},i.prototype.getVisitorKey=function(){return this.visitorKey()},i.prototype.setEmail=function(t){return this.email(t)},i.prototype.setPlayerColor=function(){return this._implExec.apply(this,["playerColor"].concat(s.call(arguments)))},i.prototype.removeReadyFn=function(){var t,e;return t=1<=arguments.length?s.call(arguments,0):[],this._hasImpl((e=this,function(){var i;return(i=e._impl.ready).remove.apply(i,t)}))},i.prototype.isKeyboardFocused=function(t){return this._implSetOrGet("isKeyboardFocused",null,t)},i.prototype.email=function(e){var i,n;return null!=e?(this.info("email",e),i=this._attrs.email,this._attrs.email=e,t.localStorage([this._attrs.pageUrl,"trackEmail"],e),(null!=(n=this._opts)?n.noDeprecatedProperties:void 0)||(this.params.trackEmail=e),e!==i&&this.container.dis
163patchEvent(new CustomEvent("emailchange",{detail:{email:e}})),this):this._attrs.email||null},i.prototype.foreignData=function(t){var e,i;if(void 0===t)return this._attrs.foreignData||this._foreignData||null;if(null===t)return this._attrs.foreignData=null,this.trigger("foreigndatachange",t);if(this.info("foreignData",t),!yt(t))throw new Error("foreignData can only be an Object");return t=v(t),this._attrs.foreignData=t,null!=(e=this._impl)&&null!=(i=e.tracker)&&i.transmit({force:!0}),this.trigger("foreigndatachange",t)},i.prototype.foreignIds=function(){return Object.entries(this.foreignData()||{}).filter((function(t){var e,i;return e=t[0],i=t[1],["hubspot_utk","marketoCookie","eloqua_guid","klaviyo_exchange_id","pardot_visitor_id","activecampaign_id"].includes(e)&&!!i})).map((function(t){return{type:t[0],value:t[1]}}))},i.classFor=function(t){return st(t)},i}(),t.mixin(t.PublicApi.prototype,t.bindable),At=t.PublicApi.prototype.trigger,t.PublicApi.prototype._triggerNoImpl=function(){var t,e,i,n;return i=arguments[0],e=2<=arguments.length?s.call(arguments,1):[],At.call.apply(At,[this,i].concat(s.call(e))),t=this.container.translationApi?this.container.translationApi:this,null!=(n=window.wistiaEmbeds)?n.trigger.apply(n,[i,t].concat(s.call(e))):void 0},t.PublicApi.prototype.trigger=function(){var t,e;return t=1<=arguments.length?s.call(arguments,0):[],this._impl?(e=this._impl).trigger.apply(e,t):this._triggerNoImpl.apply(this,t)},t.mixin(t.PublicApi.prototype,t.logHelpers),t.PublicApi.prototype._logPrefix=function(){var t;return[this.constructor.name,this.hashedId()||"no hashedId",null!=(t=this.container)?t.id:void 0,this.uuid]})}(i(1).Wistia)},(t,e,i)=>{i.r(e),i.d(e,{allow3rdParty:()=>w,getPluginsNotInList:()=>p,getSourceName:()=>_,pluginScriptsFromDefinedPlugins:()=>g,pluginScriptsToLoad:()=>m});var n=i(22),s=i(77),o=i(24),r=i(65),a=i(26),l=i(1),h=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const u=(0,r.o1)(),c="Audio",d=["airplay","audioChapters","audioShare","captions","captions-v1","chapters","cropFill","customizePreview","customerLogo","dimTheLights","dimthelights","eventbrite","externalPlayer","facebookPixel","googleAnalytics4","hlsVideo","html5Player","formPlugin","hubspotForm","marketoForm","midrollLink-v1","midrollLink-v2","nativeHlsVideo","notPlayableVideo","passwordProtectedVideo","postRoll-v1","postRoll-v2","relatedMedia","requireEmail-v1","share","share-v2","socialbar-v1","thumbnailTextOverlay","thumbnailTextOverlay-v2","turnstile","videoThumbnail","vulcanV2Player","watchNext","wistiaLogo"],p=(t={})=>t.reduce(((t,e)=>(-1===d.indexOf(e.name)&&t.push(e),t)),[]),m=(t,e={},i={})=>{const r=s.buildContext(),{mediaType:a}=t,h=t.embedOptions,c=Object(h).plugin,d=e.plugin||c||{},p=(0,n.merge)({},d,i),m=s.choosePlayer(r,t,e),v=g(p,e,t);if((u.safari||u.iphone||u.ipad)&&!1!==e.airplayButton){const t={name:"airplay",options:p.airplay||{},async:!0,src:`${(0,o.eV1Protocol)()}//${(0,o.eV1HostWithPort)()}/assets/external/airplay.js`};v.push(t)}const b=f(v,e,m,a);return"vulcan-v2"===m&&e.chaptersOn&&!p.chapters&&b.push({name:_("chapters"),src:`${(0,o.eV1Protocol)()}//${(0,o.eV1HostWithPort)()}/assets/external/chapters.js`,async:!0}),e.showCustomerLogo&&e.customerLogoImageUrl&&t.enableCustomerLogo&&b.push({name:"customerLogo",options:p.customerLogo||{},async:!0,src:`${(0,o.eV1Protocol)()}//${(0,o.eV1HostWithPort)()}/assets/external/customerLogo.js`}),!0!==e.branding&&!0!==t.branding||b.push({name:"wistiaLogo",options:p.wistiaLogo||{},async:!0,src:`${(0,o.eV1Protocol)()}//${(0,o.eV1HostWithPort)()}/assets/external/wistiaLogo.js`}),"vulcan-v2"!==m||l.Wistia.VulcanV2Player||b.push({name:"vulcanV2Player",options:{},async:!1,src:`${(0,o.eV1Protocol)()}//${(0,o.eV1HostWithPort)()}/assets/external/vulcanV2Player.js`}),"carouselHardWall"!==m||l.Wistia.CarouselHardWallPlayer||b.push({name:"carouselHardWall",options:{},async:!1,src:`${(0,o.eV1Protocol)()}//${(0,o.eV1HostWithPort)()}/assets/external/carouselHardWallPlayer.js`}),t.localizations?.length>0&&b.push({name:"localizationSwitcher",options:{},async:!1,src:`${(0,o.eV1Protocol)()}//${(0,o.eV1HostWithPort)()}/assets/external/localizationSwitcher.js`}),y(b)},g=(t,e,i={})=>{const s={};return Object.keys(t).forEach((r=>
163{if(!h(t,r))return;if(!(t=>"socialbar-v1"!==t&&-1===t.indexOf("transcript"))(_(r)))return;if(!b(r))return void console.warn("invalid plugin name",r);let a=t[r];if("form"===v(r)){const e=t["requireEmail-v1"]??{};C(e,{media_hashed_id:i.hashedId,account_key:i.accountKey}),a=T(e,a)}if("turnstile"===v(r)&&("boolean"==typeof t.form?.on?t.form?.on:"true"===t.form?.on)&&(a={...a,on:!1}),a&&!1!==a.on){const t=_(r),i={name:v(r),src:`${(0,o.eV1Protocol)()}//${(0,o.eV1HostWithPort)()}/assets/external/${t}.js`,async:null!=a.async?a.async:!/^(requireEmail|captions|midrollLink|share|turnstile)/.test(r),options:a};h(a,"src")&&a.src&&w(e)&&(i.src=a.src);const l=s[t];l?(0,n.assign)(l,i):s[t]=i}})),Object.values(s)},f=(t,e,i,n)=>t.map((t=>{if("vulcan-v2"===i)switch(t.name){case"captions-v1":t.name="captions",t.src=t.src.replace(/captions-v1/,"captions");break;case"share":n===c?(t.name="audioShare",t.src=t.src.replace(/share/,"audioShare")):(t.name="share-v2",t.src=t.src.replace(/share/,"share-v2"));break;case"chapters":n===c?(t.name="audioChapters",t.src=t.src.replace(/chapters/,"audioChapters")):t.name="chapters";break;case"postRoll-v1":t.name="postRoll-v2",t.src=t.src.replace(/postRoll-v1/,"postRoll-v2");break;case"midrollLink-v1":t.name="midrollLink-v2",t.src=t.src.replace(/midrollLink-v1/,"midrollLink-v2");break;case"requireEmail-v1":e._inLegacyPlaylist||(t.name="turnstile",t.src=t.src.replace(/requireEmail-v1/,"turnstile"))}return t})),y=t=>{const e=t=>{let e=0;return t&&t.options&&t.options.loadWeight&&(e=t.options.loadWeight),e};return t.sort(((t,i)=>e(t)-e(i)))},_=t=>{switch(t){case"form":return"formPlugin";case"requireEmail":case"requireEmail-v1":return"turnstile";case"postRoll":return"postRoll-v2";case"captions":return"captions-v1";default:return t}},v=t=>"form"===t?"form":_(t),b=t=>/^[a-zA-Z0-9_-]+$/.test(t),w=(t={})=>!1!==t.allowThirdParty&&!/([\w_-]+\.)?wistia\.(com|st|io)$/.test(window.location.hostname),E=["askName","emailExampleText","firstNameExampleText","lastNameExampleText","validDomains","invalidDomains","alwaysShow","sectionIndex","videoIndex"],C=(t,e={})=>{for(const i of E)void 0!==t[i]&&null!==t[i]&&(0,a.countMetric)("player/turnstile-plugin-option-used",1,{option:i,...e})},T=(t,e)=>({...e,...t,skippable:t.allowSkip??e.skippable,formButtonText:t.submitButtonText??e.formButtonText,formLowerText:t.bottomText??e.formLowerText,title:t.topText??e.title})},(t,e,i)=>{i.d(e,{D:()=>l});var n=i(77),s=i(68),o=i(123),r=i(96),a=i(1);const l=(t,e={})=>{const i=(0,o.pluginScriptsToLoad)(t,e),s=n.buildContext(),a=n.bestUsableEngine(s,t,e),l=h(i),u=(0,r.$)(`assets/external/${a}`);return Promise.all([l,u])},h=(t=[])=>{const e=t.filter((t=>(a.Wistia.plugin._prefetched[t.src]||(a.Wistia.plugin._prefetched[t.src]="fetching"),!a.Wistia.plugin._prefetched[t.src])));return 0===e.length?Promise.resolve():(0,s.AK)(e).then((()=>{e.forEach((t=>{a.Wistia.plugin._prefetched[t.src]="fetched"}))}))}},(t,e,i)=>{i.r(e),i.d(e,{injectJsonLd:()=>d,removeInjectedJsonLd:()=>p});var n=i(126),s=i(22),o=i(24),r=i(86),a=i(25),l=i(128),h=i(127);const u=(t,e)=>{const i=`https://${(0,o.cdnFastWistiaNetHost)()}/embed/iframe/${t.hashedId}`;return(0,n.Vq)(t,e)&&!(0,n.Qy)(e)&&t.embedOptions.plugin?.videoThumbnail?`${i}?wseektoaction=true`:i},c=t=>{const{assets:e}=t;if("Audio"===t.mediaType)return(0,r.readyPublicMp3s)(e)[0]?.url;const i=(0,r.readyPublicMp4s)(e);if(0===i.length)return;const n=(0,r.findClosestAssetByQuality)(i,1080);if(!n)return;const s=new a.Url(n.url);return s.ext("m3u8"),s.absolute()},d=(t,e,i={})=>{let a;a="Audio"===e.mediaType?((t,e={})=>{const{videoWidth:i,videoHeight:n}=e;let{embedOptions:a}=e;a||(a=(0,s.cast)((0,s.clone)(t.embedOptions)));const h={"@context":"http://schema.org/","@id":`https://${(0,o.cdnFastWistiaNetHost)()}/embed/iframe/${t.hashedId}`,"@type":"AudioObject",duration:`PT${(0,l.J)(t.duration)}`,name:t.name,thumbnailUrl:(0,r.stillUrl)(t.assets,{ext:"jpg",protocol:"https:",videoWidth:i,videoHeight:n,embedHost:a?.embedHost}),contentUrl:c(t),embedUrl:u(t,a),uploadDate:new Date(1e3*t.createdAt).toISOString(),description:t.seoDescription};return t.captions&&t.captions[0]&&(h.transcript=t.captions[0].text),h})(e,i):((t,e={})=>{const{videoWidth:i,videoHeight:a}=e;let{embedOptions:d}=e;d||(d=(0,s.cast)((0,s.clone)(t.embedOptions))??{});const p={"@context":"http://schema.org/","@id":`https://${(0,o.cdnFastWistiaNetHost)()}/embed/iframe/${t.hashedId}`,"@type":"VideoObject",duration:`PT${(0,l.J)(t.duration)}`,name:t.name,thumbnailUrl:(0,r.stillUrl)(t.assets,{ext:"jpg",protocol:"https:",videoWidth:i,videoHeight:a,embedHost:d?.embedHost}),embedUrl:u(t,d),uploadDate:new Date(1e3*t.createdAt).toISOString(),description:t.seoDescription};if("Video"===t.mediaType&&(p.contentUrl=c(t)),t.captions&&t.captions[0]&&(p.transcript=t.captions[0].text),(0,n.Vq)(t,d))if((0,n.Qy)(d)){const e=(0,h.a)(d).chapter
163List;p.hasPart=(0,n.oG)(e,location.href,t.duration)}else p.potentialAction=(0,n.CR)();return p})(e,i);const d=JSON.stringify(a),m=document.createElement("script");m.className="w-json-ld",m.type="application/ld+json",m.innerHTML=d,m._wistia=!0,m.setAttribute("id",t),p(t);const g=document.querySelectorAll("script.w-json-ld"),f=g[g.length-1];f?f.parentNode.insertBefore(m,f.nextSibling):document.head.insertBefore(m,document.head.childNodes[0])},p=t=>{if(!t)return;const e=document.getElementById(t);e&&e.remove()}},(t,e,i)=>{i.d(e,{CR:()=>l,Qy:()=>o,Vq:()=>r,oG:()=>a});var n=i(7),s=i(127);const o=t=>{const e=(0,s.a)(t);if(!e)return!1;const{chapterList:i}=e;return!1!==e.on&&"false"!==e.on&&Array.isArray(i)&&i.length>0},r=(t,e)=>{if(!1===e.keyMoments)return!1;const{duration:i,type:n}=t,{passwordProtectedVideo:s,"requireEmail-v1":o,form:r}=e.plugin??{},a="LiveStream"===n,l=!0===s?.on||"true"===s?.on,h=o&&!1!==o.on&&"end"!==o.time&&!o.persistentTurnstile;return!l&&!h&&!(!1!==r?.on&&"end"!==r?.time&&"pause"===r?.displayMode)&&!a&&"number"==typeof i&&i>=30},a=(t,e,i)=>{if(!Array.isArray(t)||0===t.length)return[];const s=(t=>{const e={};return[...t].sort(((t,e)=>t.time-e.time)).filter((({time:t,title:i,deleted:n})=>!Boolean(e[t])&&!n&&"Chapter Title"!==i&&(e[t]=!0,!0)))})(t).map(((t,s,o)=>{const{time:r,title:a}=t,l=new window.URL(e),h=Math.floor(r),u=o[s+1],c=(0,n.n9)(u)?u.time:i;return l.searchParams.set("wtime",`${h}s`),{"@type":"Clip",endOffset:Math.floor(c),name:a,startOffset:h,url:l.toString()}}));return s},l=()=>{const t=new window.URL(window.location.href);return t.searchParams.set("wtime","{seek_to_second_number}"),{"@type":"SeekToAction",target:t.toString().replace("%7Bseek_to_second_number%7D","{seek_to_second_number}"),"startOffset-input":"required name=seek_to_second_number"}}},(t,e,i)=>{i.d(e,{a:()=>s});var n=i(7);const s=t=>{const{plugin:e,chaptersOn:i,chapterList:s}=t;if(e?.chapters)return e.chapters;const o=!0===i||"true"===i;return(0,n.n9)(s)||o?{on:i,chapterList:(0,n.n9)(s)&&s.length>0?s:[]}:void 0}},(t,e,i)=>{i.d(e,{J:()=>s});var n=i(50);const s=t=>{const{hours:e,minutes:i,seconds:s}=(0,n.ab)(t,"hms");let o="";return e&&(o+=`${e}H`),(i||t>60&&0!==s)&&(o+=`${i}M`),(s||0===t)&&(o+=`${s}S`),o}},(t,e,i)=>{i.d(e,{h:()=>o});var n=i(103);function s(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class o extends n.Y{constructor(t,e){super(e),s(this,"apiInstance",void 0),s(this,"embedElement",void 0),this.apiInstance=t,this.embedElement=t.container}get currentTime(){return this.apiInstance.time()}get state(){return this.apiInstance.state()}}},(t,e,i)=>{i.d(e,{U:()=>r});var n=i(105),s=i(129);function o(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class r extends n.b{constructor(t,e){super(e),o(this,"apiInstance",void 0),o(this,"crossTime",void 0),o(this,"embedElement",void 0),this.apiInstance=t,this.embedElement=t.container,this.crossTime=new s.h(this.apiInstance,e)}get currentTime(){return this.apiInstance.time()}}},(t,e,i)=>{i.r(e),i.d(e,{defineTranslations:()=>m,getDefaultTranslation:()=>T,getLanguage:()=>d,getLanguagePreference:()=>b,getTranslation:()=>_,getTranslations:()=>v,isSupportedPlayerLanguage:()=>p,loadAndDefineTranslation:()=>E,matchingLanguages:()=>C,supportedLanguages:()=>l});var n=i(22),s=i(96),o=i(1);const r=o.Wistia.languages=o.Wistia.languages||{},a=o.Wistia.translations=o.Wistia.translations||{};o.Wistia._translationPromises||(o.Wistia._translationPromises={});const l=["ar","de","es","en-US","fr","it","ja","ko","pt","ru","zh-CN"],h={ara:"ar",ger:"de",spa:"es",eng:"en-US",fre:"fr",ita:"it",jpn:"ja",kor:"ko",por:"pt",rus:"ru",chi:"zh-CN"},u=t=>{if(null==t)return"en-US";if(t=h[t]||t,!l.includes(t)){const e=C((()=>[t]))[0];e&&(t=e)}return("en"===t||/^en-/.test(t))&&(t="en-US"),("zh"===t||/^zh-/.test(t))&&(t="zh-CN"),t}
163,c=(t,e,i)=>{r[t]={code:t,text:y(e)},i&&m(t,i)},d=t=>r[u(t)],p=t=>l.includes(u(t)),m=(t,e)=>{if(null==r[t])throw new Error(`Must define a language with code ${t} before defining its translations.`);const i=a[t];i?(0,n.merge)(i,e):a[t]=(0,n.clone)(e)};let g;const f=o.Wistia.cachedDecodings=o.Wistia.cachedDecodings||{},y=t=>(g||(g=document.createElement("textarea")),null!=f[t]?f[t]:(g.innerHTML=t,f[t]=g.value,g.value)),_=(t,e)=>{let i;return t=u(t),i=a[t]&&a[t][e]?a[t][e]:a["en-US"][e],y((t=>null==t?"?":t)(i))},v=(t,e=[])=>{const i={};return e.forEach((e=>{i[e]=_(t,e)})),i},b=()=>(navigator.languages||navigator.language?o.Wistia.languagePreference=navigator.languages||[navigator.language]:o.Wistia.languagePreference=["en-US"],o.Wistia.languagePreference);let w=Promise.resolve({code:"en-US",translations:a["en-US"]});const E=t=>{if(t=u(t),!l.includes(t))return w;if(o.Wistia._translationPromises[t])return o.Wistia._translationPromises[t];if("en-US"===t)return w;const e=new Promise(((e,i)=>{(0,s.$)([`assets/external/translations/${t}.js`]).then((i=>{const{languageCode:n,languageLabel:s,translations:o}=i;c(n,s,o),e({code:t,translations:o[t]})})).catch(i)}));return o.Wistia._translationPromises[t]=e,e},C=(t=b)=>t().reduce(((t,e)=>{const i=-1!==l.indexOf(e),n=e.split("-")[0],s=-1!==l.indexOf(n);return i?t.push(e):s&&t.push(n),t}),[]),T=()=>{let t=C()[0];return t&&"en"!==t||(t="en-US"),a[t]?Promise.resolve({code:t,translations:a[t]}):E(t)};c("en-US","English"),m("en-US",{BACKGROUND_FOCUS_MORE_OPTIONS_HINT:"Press O for more options",ELLIPSIS_LESS:"Show fewer buttons",ELLIPSIS_MORE:"Show more buttons",PAUSE:"Pause",PLAY:"Play",PLAY_BUTTON_LIVE_NOT_STARTED:"Livestream has not started",PLAY_BUTTON_TITLE_WHEN_NOT_PLAYING:"Play Video",PLAY_BUTTON_TITLE_WHEN_PLAYING:"Pause Video",REWATCH:"Rewatch",SKIP:"Skip"})},(t,e,i)=>{i.d(e,{i:()=>o});var n=i(112),s=i(20);const o=t=>{const e=/wemail=([^&#]+)/.exec(t)??null;if(e)try{return decodeURIComponent(e[1])}catch{return e[1]}const i=/wkey=([^&#]+)/.exec(t)??null;if(i){const t=i[1];try{return(0,n.u)(t)}catch(t){s.ct.info("Failed to decode email from wkey",t)}}return null}},(t,e,i)=>{i.d(e,{H:()=>n});const n=()=>null!=window.FreshUrl?.originalUrl?window.FreshUrl.originalUrl:window.top===window.self?window.location.href||"":document.referrer||""},(t,e,i)=>{i.d(e,{Tx:()=>r});var n=i(1),s=(i(135),i(24),i(20),i(136)),o=i(94);n.Wistia.captionsPromises??={},n.Wistia.captionsPromises,n.Wistia.uncacheCaptions=(t,e)=>{if(t&&e){const i=a(t,e);delete n.Wistia.captionsPromises[i]}else t?Object.keys(n.Wistia.captionsPromises).forEach((e=>{e.startsWith(t)&&delete n.Wistia.captionsPromises[e]})):Object.keys(n.Wistia.captionsPromises).forEach((t=>{delete n.Wistia.captionsPromises[t]}))};const r=(t,e={})=>{if(null==t||null==t.availableTranscripts)return-1;const i=[];e.language&&i.push(e.language);const n=(0,s.JM)();null!=n.bcp47LanguageTag&&i.push(n.bcp47LanguageTag);const r=i.filter(((t,e)=>i.indexOf(t)===e));let a=(0,o.J)(t.availableTranscripts.map((t=>t.bcp47LanguageTag)),r);return-1===a&&(a=(0,o.J)(t.availableTranscripts.map((t=>t.wistiaLanguageCode)),r)),-1===a&&(a=(0,o.J)(t.availableTranscripts.map((t=>t.bcp47LanguageTag)),[...navigator.languages,"en"])),a},a=(t,e)=>`${t}${e?`-${e}`:""}`},(t,e,i)=>{i(26)},(t,e,i)=>{i.d(e,{JM:()=>r,S7:()=>a});var n=i(137),s=i(138),o=i(95);const r=()=>{const t=(0,o.getViewerPreference)("captionsViewerPreferences");return"object"!=typeof(e=t)||null==e?{}:t;var e},a=()=>{const t=r();return(0,s.lN)(t)?t:{...n.f5}}},(t,e,i)=>{i.d(e,{$N:()=>o,L1:()=>a,UJ:()=>r,Yc:()=>s,f5:()=>l});var n=i(45);const s=new Map([["Monospace serif",'"Courier New", Courier, "Nimbus Mono L", "Cutive Mono", monospace'],["Monospace sans-serif",'"Deja Vu Sans Mono", "Lucida Console", Monaco, Consolas, "PT Mono", monospace'],["Proportional serif",'"Times New Roman", Times, Georgia, Cambria, "PT Serif Caption", serif'],["Proportional sans-serif",n.yY],["Casual",'"Comic Sans MS", Impact, Handlee, fantasy'],["Cursive",'"Monotype Corsiva", "URW Chancery L", "Apple Chancery", "Dancing Script", cursive'],["Small caps",n.yY]]),o=[100,12
1630,140,160],r=[100,75,50,25,0],a=(r.filter((t=>0!==t)),[{ariaLabel:"Black",hex:"#000000"},{ariaLabel:"Yellow",hex:"#FFF200"},{ariaLabel:"Green",hex:"#00F024"},{ariaLabel:"Cyan",hex:"#00EAFF"},{ariaLabel:"Blue",hex:"#001AFF"},{ariaLabel:"Magenta",hex:"#FF00AA"},{ariaLabel:"Red",hex:"#FF0000"},{ariaLabel:"White",hex:"#FFFFFF"}]),l={fontSize:o[0],fontOpacityPercentage:r[0],backgroundOpacityPercentage:r[1],windowOpacityPercentage:r[r.length-1],fontColor:a[a.length-1].hex,backgroundColor:a[0].hex,windowColor:a[0].hex,fontFamily:"Proportional sans-serif",characterEdgeStyle:"None"}},(t,e,i)=>{i.d(e,{lN:()=>r});var n=i(137);const s=t=>n.UJ.some((e=>e===t)),o=t=>n.L1.some((e=>e.hex===t)),r=t=>{if("object"!=typeof t||null===t)return!1;const e=t;return o(e.backgroundColor)&&s(e.backgroundOpacityPercentage)&&o(e.fontColor)&&(t=>n.$N.some((e=>e===t)))(e.fontSize)&&s(e.fontOpacityPercentage)&&o(e.windowColor)&&s(e.windowOpacityPercentage)}},(t,e,i)=>{i.d(e,{TI:()=>a});var n=i(17),s=i(18);const o=t=>`channel_${t}`,r=t=>`wistia_channel_${t}`,a=t=>((t=>{const e=o(t),i=(0,n.y1)()[e]||{},a=r(t);!0!==i.copied&&0!==Object.keys(i).length&&((0,s.yo)(a,(t=>
163{Object.keys(i).forEach((e=>{t[e]=i[e]}))})),(0,n.$B)((e=>{e[o(t)].copied=!0})))})(t),(0,s.Lg)([r(t)])||{})},(t,e,i)=>{i.d(e,{v:()=>u});var n=i(80),s=i(79),o=i(96),r=i(113),a=i(19),l=i(1);l.Wistia._destructors.destroyEmbedLinks=()=>{l.Wistia.EmbedLink.EmbedLinkClass&&l.Wistia.EmbedLink.EmbedLinkClass._onEv1Destroy()};const h=(...t)=>{(()=>{const t=(0,a.k$)();for(let e=0;e<t.length;e++)if(t[e]._attrs&&t[e]._attrs.playlistLinks)return!0;return document.querySelectorAll('a[href^="#wistia_"]').length>0||[...document.getElementsByTagName("wistia-player")].some((t=>t.shadowRoot.querySelectorAll('a[href^="#wistia_"]').length>0))})()&&(0,o.$)("assets/external/embedLinks.js").then((e=>{e.EmbedLink.setupAll(...t)}))},u=(0,r.n)(1e3,((...t)=>{h(...t),(0,n.P)((()=>{h(...t),(0,s.doTimeout)("maybe_load_embed_links_5000",h,5e3)}))}));l.Wistia.EmbedLink={},l.Wistia.EmbedLink.setupAll=h},(t,e,i)=>{i.d(e,{s:()=>s});var n=i(79);const s=(t,e,i)=>(...s)=>{(0,n.clearTimeouts)(t),(0,n.doTimeout)(t,(()=>e(...s)),i)}},(t,e,i)=>{i.d(e,{EA:()=>n,Lc:()=>s,R7:()=>o});const n=34,s=218,o=16/9},(t,e,i)=>{i.d(e,{N:()=>r}),i(86);var n=i(26);const s=2160,o=t=>"4k"===t?2160:parseInt(t,10),r=(t,e)=>{if(t.videoQuality&&"auto"!==t.videoQuality)return(0,n.countMetric)("legacy/videoquality-embed-option",1,{videoQuality:t.videoQuality,hashedId:e?.hashedId,url:window.location.href}),"sd-only"===t.videoQuality?[200,360]:"md"===t.videoQuality?[540,s]:"hd-only"===t.videoQuality?[720,s]:[360,s];let i,r;return i=t.qualityMin?o(t.qualityMin):360,r=t.qualityMax?o(t.qualityMax):s,[i,r]}},(t,e,i)=>{i.d(e,{J:()=>s,U:()=>o});var n=i(22);const s=t=>{if(/string|number|boolean/.test(typeof t))return t.toString();if(t instanceof Array){let e="";for(const i of t)e+=s(i);return e}if("object"!=typeof t)return t.toString();const e=[];let i,o;for(const n in t){let s=t[n];"tagName"===n?i=s:"childNodes"===n?o=s:e.push({key:n,val:s})}i||(i="div");let r=`<${i}`;for(const t of e)"style"===t.key&&(0,n.isObject)(t.val)&&(t.val=`${(()=>{const e=[];for(let i in t.val){const n=t.val[i];e.push(`${i.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}:${n}`)}return e})().join(";")};`),r+=` ${t.key}="${t.val}"`;return/^(br|hr|img|link|meta|input)$/i.test(i)?r+=" />":(r+=">",o&&("string"==typeof o?r+=o:"object"==typeof o&&(r+=s(o))),r+=`</${i}>`),r},o="display:inline-block;height:100%;line-height:normal;margin:0;padding:0;position:relative;vertical-align:top;width:100%;"},(t,e,i)=>{i.r(e),i.d(e,{CONTROL_BAR_DISTANCE_RATIO:()=>n,getDefaultBigPlayButtonBorderRadius:()=>o,getDefaultCaptionsBorderRadius:()=>a,getDefaultControlBarBorderRadius:()=>r,getDefaultControlBarDistance:()=>l,getDefaultPlayerBorderRadius:()=>s});const n=.75,s=({playerBorderRadius:t,roundedPlayer:e})=>void 0!==e?e:void 0!==t?t:0,o=({bigPlayButtonBorderRadius:t,roundedPlayer:e})=>void 0!==t?t:void 0!==e?.75*e:0,r=({controlBarBorderRadius:t,floatingControlBar:e,roundedPlayer:i})=>void 0!==t?t:void 0!==i?i*n:!0===e?18:0,a=({captionsBorderRadius:t,roundedPlayer:e})=>void 0!==t?t:void 0!==e?.5*e:0,l=({controlBarBorderRadius:t,floatingControlBar:e,roundedPlayer:i})=>void 0!==i?i/4:void 0!==t?t/2:!0===e?6:0},(t,e,i)=>{i.d(e,{A:()=>n});const n=t=>{if(t){if((t=`${t}`.replace(/^#/g,"")).length<6){let e="";for(let i=0;i<6-t.length;i++)e+="0";t=`${e}${t}`}return/^[\da-f]{6}$/i.test(t)||(t="636155"),t}return"636155"}},(t,e,i)=>{i.d(e,{scrollLeft:()=>n,scrollTop:()=>s});const n=t=>{if(!t)return document?.documentElement?.scrollLeft||document?.body?.scrollLeft||0;document.body&&(document.body.scrollLeft=t),document.documentElement&&(document.documentElement.scrollLeft=t)},s=t=>{if(!t)return document?.documentElement?.scrollTop||document?.body?.scrollTop||0;document.body&&(document.body.scrollTop=t),document.documentElement&&(document.documentElement.scrollTop=t)}},(t,e,i)=>{i.d(e,{b:()=>n});const n=(t="",e="")=>{let i=(new Date).getTime();return window.performance&&"function"==typeof window.performance.now&&(i+=window.performance.now()),t+"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx-xxxxxxxxx-xxxxxxxxxxxx-xxxx".replace(/[xy]/g,(t=>{const e=(i+16*Math.random())%16|0;return i=Math.floor(i/16),("x"===t?e:3&e|8).toString(16)}))+e}},(t,e,i)=>{i.r(e),i.d(e,{insertIntoArray:()=>s,toArray:()=>o});const n=(t,e)=>{for(let i=0,n=t.length,s=n>=0;s?i<=n:i>=n;s?i+=1:i-=1)if("function"==typeof e){if(e(t[i]))return i}else if(t[i]===e&&t[i]===e)return i;return-1}
163,s=function(t,e,i){let s;return null==i&&(i={}),i.after?(s=n(t,i.detect||i.after),s>=0?t.splice(s+1,0,e):"undefined"!=typeof console&&null!==console?console.log(`${i.after} not found when trying to add ${e} to array`):void 0):i.before?(s=n(t,i.detect||i.before),s>=0?t.splice(s,0,e):"undefined"!=typeof console&&null!==console?console.log(`${i.before} not found when trying to add ${e} to array`):void 0):null!=i.index?t.splice(i.index,0,e):t.push(e)},o=function(t,e){if(null==e&&(e=/\s+/),t instanceof Array)return t;if("string"==typeof t)return t.split(e);throw new Error(`Don't know how to convert ${t} into an array.`)}},(t,e,i)=>{i.d(e,{U:()=>a});var n=i(25),s=i(22),o=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const r=/^w_([^&]+)/,a=(t,e,i=r)=>{e||(e=top!==self?document.referrer||"":location.href||"");const a=new n.Url(e).params||{},l={};for(let e in a)if(o(a,e)){const n=e.match(i);if(n){const i=n[1];(0,s.indexOf)(t,i)>=0&&(l[i]=a[e])}}return l}},(t,e,i)=>{i.d(e,{a:()=>r});var n=i(22),s=i(20),o=i(7);const r=t=>(!0===t.twitter&&(s.ct.info("twitter detected"),(0,o.n9)((0,n.getDeep)(t,"plugin.socialbar-v1"))&&(s.ct.info("disabled socialbar"),(0,n.setDeep)(t,"plugin.socialbar-v1.on",!1))),(0,o.n9)(t.playButtonVisible)&&(t.playButton=Boolean((0,n.cast)(t.playButtonVisible)),delete t.playButtonVisible),t)},(t,e,i)=>{i.d(e,{w:()=>u});var n=i(7),s=i(1),o=i(78),r=i(20),a=i(65),l=i(153);const h=(0,a.o1)(),u=t=>{const e=(t=>{if(!(0,n.gD)(t))return(0,n.Kg)(t)?t:(0,l.W)(t)?t._impl?.embedType:t.embedType})(t);if((0,n.gD)(e))return s.Wistia.Player;const i={"vulcan-v2":s.Wistia.VulcanV2Player,vulcan:s.Wistia.VulcanPlayer,html5:s.Wistia.Html5Player,external:s.Wistia.ExternalPlayer,notplayable:s.Wistia.NotPlayablePlayer,passwordprotected:s.Wistia.PasswordProtectedPlayer,carouselHardWall:s.Wistia.CarouselHardWallPlayer},a=()=>((0,o.U9)(`player/${e}-class-not-defined`,1,{ua:navigator.userAgent,detect:h}),r.ct.error(`PublicApi.getPlayerClass: embedType is ${e} but its class is not defined. Using 'vulcan-v2' instead.`),s.Wistia.VulcanV2Player),u=i[e];if((0,n.gD)(u)&&e in i)return a();const c=u??s.Wistia.Player;return(0,n.gD)(c)?a():c}},(t,e,i)=>{i.d(e,{W:()=>s});var n=i(7);const s=t=>(0,n.uu)(t)&&"_impl"in t&&!("publicApi"in t)},(t,e,i)=>{i.d(e,{I:()=>o});var n=i(24),s=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const o=({container:t,width:e,height:i,hashedId:o,errorResponse:r})=>{const a=s(r,"iframe")&&Boolean(r.iframe);let l="";s(r,"message")?l=r.message??"":s(r,"error")&&(l=String(r.error));const h=()=>a?((t,e,i)=>{const s=`${(0,n.eV1Protocol)()}//${(0,n.eV1HostWithPort)()}`,o=document.createElement("iframe");return o.src=`${s}/embed/iframe/${i}`,o.height=String(e),o.width=String(t),o.frameBorder="0",o.scrolling="no",o})(e,i,o):((t,e,i)=>{const n=document.createElement("div");n.style.cssText=`background:#fff;border:2px dashed #ddd;font-family:Century Gothic,Arial;font-size:14px;text-align:center;width:${t};height:${e};`;const s=document.createElement("div");return s.style.cssText="background:rgba(0,0,0,.7);border-radius:4px;color:#fff;display:inline-block;margin:20px;padding:8px 12px;",s.textContent=i,n.appendChild(s),n})(e,i,l);if("WISTIA-PLAYER"===t.tagName){const{shadowRoot:e}=t;e&&(e.innerHTML="",e.appendChild(h()))}t.innerHTML="",t.appendChild(h())}},(t,e,i)=>{i.d(e,{A:()=>n});const n=t=>!t._inIframe&&(!0===t.wistiaPopover||!0===t.popover||"v2"===t.popover)},(t,e,i)=>{i.r(e),i.d(e,{EMBED_SLOT_THROTTLE_INTERVAL:()=>n,maxEmbedSlots:()=>s});const n=500,s=t=>t>20?5:t>10?8:13},(t,e,i)=>{i.d(e,{A:()=>n});const n=({container:t,containerId:e,hashedId:i})=>{const n=[];if(t||n.push(`Could not find element with ID "${e}" in DOM. Failed to initialize video "${i}".`),n.length>0)throw new Error(n.join(", "));return!0}},(t,e,i)=>{i.r(e),i.d(e,{getCaptionsLanguages:()=>h,getLanguages:()=>u,getMediaLanguages:()=>l,languageToLocalization:()=>c,limitedLanguageProperties:()=>r});var n=i(22);const s=["bcp47LanguageTag","familyName","hasCaptions","hasVideoStream","isOriginal","name","familyNativeName","nativeName","wistiaLanguageCode"],o={bcp47LanguageTag:"en",familyName:"English",familyNativeName:"English",name:"English",nativeName:"English",wistiaLanguageCode:"eng"},r=t=>(0,n.pick)(t,s),a=t=>{const e=new WeakMap;return i=>{const n=e.get(i);if(n)return n;const s=t(i);return Object.freeze(s),e.set(i,s),s}},l=a((t=>{const e=t.localizations??[];return 0===e.length?[{...o}]:e.map((t=>r(t)))})),h=a((t=>(t.availableTranscripts??[]).map((t=>r(t))))),u=t=>{const e=[];
163return[...l(t),...h(t)].forEach((t=>{e.some((e=>e.wistiaLanguageCode===t.wistiaLanguageCode))||e.push({...t})})),Object.freeze(e),e},c=(t,e)=>(t.localizations??[]).find((t=>t.wistiaLanguageCode===e.wistiaLanguageCode))},(t,e,i)=>{i(13),i(12),i(160),i(161),i(163),i(164),i(165),i(172),i(174),i(175),i(176),i(177),i(140),i(178),i(179),i(180),i(181),i(183),i(184)},(t,e,i)=>{var n=i(65);(t=>{t._initializers.initDetect=function(){if(!t.detect)return t.detect=(0,n.o1)()}})(window.Wistia)},(t,e,i)=>{var n=i(77),s=i(86),o=i(9),r=i(101),a=i(24),l=i(75),h=i(146),u=i(79),c=i(22),d=i(162),p=i(26),m=i(20),g=i(55),f=i(64),y=i(70),_=i(144),v=i(10),b=i(112),w=i(29),E=i(16),C=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};!function(t){if(t.Player)return;class e{constructor(t){this.publicApi=t,this.embedElement=t.container,this.uuid=(0,y.h)(),this._baseEventLoopDuration=300,this._eventLoopDuration=300,this.info("constructor"),this.transferFacadeProperties(),this.crossTime=this.publicApi.crossTime,this.betweenTimes=this.publicApi.betweenTimes,this._impl=this,(0,c.keys)(t).forEach((e=>{const i=t[e];i instanceof r.V&&!C(this,e)&&(this[e]=i)})),this.plugin=this.publicApi.plugin,this.ready=new r.V,this.hasData=new r.V,this.embedded=new r.V,this.embedded((()=>{const{embedElement:t}=this;t.dispatchEvent(new CustomEvent("embedded"))})),this.commandQueueOpen=new r.V,this.hasData(!0),this.commandQueueOpen(!0),this.playing=new r.V,this.notFullscreen=new r.V,this.resetStateVariables(),this.publicApi.isLiveMedia()||this.setupPercentTracking(),this._recordFirstEmbedIfEligible()}addLoopBehavior(){this.whenVideoElementInDom().then((()=>{this.engine?.getMediaElement().setAttribute("loop","")}))}animate(t={},e={}){this.info("animate",t,e);const i=e.callback;e.callback=()=>{this.grid&&(0,f.elemStyle)(this.grid.root,{position:"relative"}),i?.()};const n=this.grid?[this.grid.root]:[];return(0,f.elemStyle)(n,{position:"absolute"}),(0,f.elemAnimate)(n,t,e),this}aspect(){if(this._attrs.aspect)return this._attrs.aspect;if(this.publicApi.isAudio())return this.publicApi.width()/this.publicApi.height();if(null!=this._mediaData.aspectRatio)return this._mediaData.aspectRatio;if(this._currentAsset&&"variable"==this._currentAsset.width)return this.mp4Aspect()||this.originalAspect();if(this._currentAsset?.width&&this._currentAsset?.height)return this._currentAsset.width/this._currentAsset.height;const t=this.asset({container:/mp4/,status:2});if(t?.width&&t?.height)return t.width/t.height;if(null!=this._mediaData.instantHlsAspectRatio)return this._mediaData.instantHlsAspectRatio;const e=this.asset({container:/mp4/});return e?.width&&e?.height?e.width/e.height:640/360}asset(t){if("string"==typeof arguments[0]){const t=arguments[1];return this[`${arguments[0]}Asset`](t)}const e=arguments[0];return this.assets(e)[0]||null}assets(t){return s.filter(this._mediaData.assets,t)}bigPlayButtonEnabled(t){return this.publicApi._attrs.bigPlayButton=t,this}canAutoPlay(){return!0}cancelFullscreen(){this.info("cancelFullscreen"),this.rebuild()}checkForReady(){throw new Error("Define in subclass!")}cleanupRefs(){this.cleanup?.(),(0,c.keys)(this).forEach((t=>{const e=this[t];null!=e&&e!==this&&e.cleanup?.()}))}constrainToHeight(){return this.videoWidth(this.widthForHeight(this.videoHeight()))}constrainToWidth(){return this.videoHeight(this.heightForWidth(this.videoWidth()))}disableTextTracks(){this.info("disableTextTracks"),this._disableTextTracks||(this._disableTextTracks=()=>{this.elem()?.textTracks&&Array.prototype.slice.call(this.elem().textTracks).forEac
163h((t=>{t.mode="disabled"}))}),this.rebind("play",this._disableTextTracks)}duration(){return this._mediaData.duration||null}elem(){return null}embed(){throw new Error("Define in subclass!")}embedOptions(){return this._embedOptions||(this._embedOptions=(0,c.clone)(this._opts)),this._embedOptions}eventKey(){return this._tracker?.eventKey()}extraHeight(){return Math.max((0,f.elemHeight)(this.grid.above),(0,f.elemHeight)(this.grid.top))+Math.max((0,f.elemHeight)(this.grid.below),(0,f.elemHeight)(this.grid.bottom))}extraWidth(){return(0,f.elemWidth)(this.grid.left)+(0,f.elemWidth)(this.grid.right)}fade(t=0,...e){return(0,f.elemAnimate)(this.gridChildren(),{opacity:t},...e)}fadeIn(){const t=this._shortAnimArgs(arguments),e=t.callback;t.callback=()=>{(0,f.elemStyle)(this.gridChildren(),{opacity:""}),e?.()},(0,f.elemStyle)(this.gridChildren(),{opacity:0}),(0,u.doTimeout)(`${this.uuid}.fade_in`,(()=>this.fade(1,t)),1)}fadeOut(){const t=this._shortAnimArgs(arguments);(0,f.elemStyle)(this.gridChildren(),{opacity:1}),(0,u.doTimeout)(`${this.uuid}.fade_out`,(()=>this.fade(0,t)),1)}fit(){}focus(){this.chrome?.focus()}freezeLastFrame(){}fullscreenControlEnabled(t){return this.publicApi._attrs.fullscreenControl=t,this}getVisitorKey(){return this.visitorKey()}getEventKey(){return this.eventKey()}getMediaElement(){}getMediaType(){return this._mediaData.mediaType||null}getReadyState(){return this.engine?.getMediaElement()?.readyState}getStandardBuffered(){return this.engine?.getMediaElement()?.buffered}gridChildren(){if(!this.grid)return[];let e=this.grid;window.NodeList&&!NodeList.prototype.forEach&&(e=Array.prototype.slice.call(this.grid));const i=[];return(0,c.keys)(e).forEach((e=>{this.grid[e].childNodes.forEach((e=>{t.isGridElem(this.grid,e)||i.push(e)}))})),i}handleError(e){t.Metrics.videoCount(this,"player/playback-error");const i=e.target?.error??new Error("Unspecified error in media playback");throw(0,v.N7)("mediaPlayback",i.message,{mediaErrorCode:i.code}),i}hashedId(){return this._hashedId}hdAsset(){throw new Error("Implement in subclass!")}hlsAsset(t){return s.m3u8(this._mediaData.assets,t)}hlsAssetInRange(t={}){return s.m3u8(this._mediaData.assets,(0,c.merge)(this.qualityOptions(),t))}height(t,e={}){if(null!=t){this.info("height",t,e),t=parseFloat(t);const i=this.height();return this.chrome.style.height=`${t}px`,this.trigger("heightchange",t,i),this.embedElement.dispatchEvent(new CustomEvent("heightchange",{detail:{height:t,prevHeight:i}})),e.constrain&&this.constrainToHeight(),this}return(0,f.elemHeight)(this.grid.center)+Math.max((0,f.elemHeight)(this.grid.above),(0,f.elemHeight)(this.grid.top))+Math.max((0,f.elemHeight)(this.grid.below),(0,f.elemHeight)(this.grid.bottom))}heightForWidth(t){return t/this.aspect()}implContainer(){return this._opts.subContainer?this._embedContainer:this.grid.center}inFullscreen(){return!1}init(){return this.setupPipedreamTracking(),this}inSilentPlaybackMode(){return!1}iphoneAsset(t={}){return this._iphoneAsset||(this._iphoneAsset=s.iphone(this._mediaData.assets,t)),this._iphoneAsset}iphoneAssetInRange(t={}){return s.iphone(this._mediaData.assets,(0,c.merge)(this.qualityOptions(),t))}isInstantHls(){return Boolean((this._attrs.forceInstantHls||!this._mediaData.playableWithoutInstantHls)&&this._mediaData.instantHlsAssetsReady)}isMuted(){return Boolean(this._opts.muted)}isRemoved(){return null===this.grid}lastPlayInfo(){return{}}mp4Aspect(){const t=this.mp4Asset({width:640})||this.mp4Asset({width:960})||this.mp4Asset();return t?t.width/t.height:null}mdAsset(){throw new Error("Implement in subclass!")}mp4Asset(t){return s.mp4(this._mediaData.assets,t)}mp4AssetInRange(t={}){return s.mp4(this._mediaData.assets,(0,c.merge)(this.qualityOptions(),t))}mute(){this._muted=!0,this.trigger("volumechange",this.volume()),this.embedElement.dispatchEvent(new CustomEvent("volume-change",{detail:{volume:this.volume(),isMuted:!0}}))}originalAspect(){const t=this.originalAsset();if(t)return t.width/t.height;const e=this.bestAsset();return e().width/e().height}originalAsset(){return this._original||(this._original=s.original(this._mediaData.assets)),this._original}name(t){return null!=t&&(this._name=t,this.trigger("namechange",t)),null!=this._name?(0,b.Uh)(this._name):(0,b.Uh)(this._mediaData.name||"")}contrastIcons(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("contrastIcons",t);const n=e.contrastIcons;return e.contrastIcons=t,n!==e.contrastIcons&&(i.dispatchEvent(new CustomEvent("contrasticonschange",{detail:{contrastIcons:e.contrastIcons,prevContrastIcons:n}})),this.renderUI()),this}return e.contrastIcons??!1}opaqueControls(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("opaqueControls",t);const n=e.opaqueControls;return e.opaqueControls=t,n!==e.opaqueControls&&(i.dispatchEvent(new CustomEvent("opaquecontrolschange",{detail:{opaqueControls:e.opaqueControls,prevOpaqueControls:n}})),this.renderUI()),this}return e.opaqueControls??!1}pageUrl(){return this.publicApi._attrs.pageUrl}pause(){return this.info("pause"),this.ready((()=>this.pause())),this}percentWatched(){return this._secondsWatchedTracker?this._secondsWatchedTracker.secondsWatched()/Math.ceil(this.duration()):0}placeEmbed(t){const e=this.implContainer();this.info("placeEmbed",e,t),this.wrapperElem=(0,f.elemFromObject)({id:(0,y.h)("wistia_video_wrapper_"),style:_.U,class:"wistia_video_wrapper"}),(0,f.elemStyle)(this.wrapperElem,{overflow:"hidden"}),(0,f.elemAppend)(e,this.wrapperElem),"string"==typeof t?this.wrapperElem.innerHTML+=t:(0,f.elemAppend)(this.wrapperElem,t)}play(){return this.info("play"),this.ready((()=>this.play())),this}playableAsset(t){return s.playable(this._mediaData.assets,t)}playableAssetInRange(t={}){return s.playable(this._mediaData.assets,(0,c.merge)(this.qual
163ityOptions(),t))}playbackRate(t){return null!=t?this:1}playbarControlEnabled(t){return this.publicApi._attrs.playBarControl=t,this}playerColor(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("playerColor",t);const n=e.playerColor;return t=(0,h.A)(t),e.playerColor=new o.Q1(t).toHex(),n!==e.playerColor&&i.dispatchEvent(new CustomEvent("playercolorchange",{detail:{color:e.playerColor,prevColor:n,gradient:e.playerColorGradient,prevGradient:e.playerColorGradient}})),this}return e.playerColorGradient?.on&&(0,w.b)(e.playerColorGradient)?(0,g.yz)(e.playerColorGradient)??e.playerColor:e.playerColor}playerColorGradient(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("playerGradientColor",t);const n={...e.playerColorGradient};return e.playerColorGradient=t,i.dispatchEvent(new CustomEvent("playercolorchange",{detail:{color:e.playerColor,prevColor:e.playerColor,gradient:t,prevGradient:n}})),this}return e.playerColorGradient}captionsBackgroundColor(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("captionsBackgroundColor",t);const n=e.captionsBackgroundColor;return e.captionsTextColor,e.captionsBackgroundColor=new o.Q1(t).toHex(),n!==e.captionsBackgroundColor&&i.dispatchEvent(new CustomEvent("captionsbackgroundcolorchange",{detail:{color:e.captionsBackgroundColor,prevColor:n}})),this}return e.captionsBackgroundColor}captionsTextColor(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("captionsTextColor",t);const n=e.captionsTextColor;return e.captionsTextColor=new o.Q1(t).toHex(),n!==e.captionsTextColor&&i.dispatchEvent(new CustomEvent("captionstextcolorchange",{detail:{color:e.captionsTextColor,prevColor:n}})),this}return e.captionsTextColor}captionsTextSize(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("captionsTextSize",t);const n=e.captionsTextSize;return e.captionsTextSize=t,n!==e.captionsTextSize&&i.dispatchEvent(new CustomEvent("captionstextsizechange",{detail:{color:e.captionsTextSize,prevColor:n}})),this}return e.captionsTextSize}captionsFontFamily(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("captionsFontFamily",t);const n=e.captionsFontFamily;return e.captionsFontFamily=t,n!==e.captionsFontFamily&&i.dispatchEvent(new CustomEvent("captionsfontfamilychange",{detail:{color:e.captionsFontFamily,prevColor:n}})),this}return e.captionsFontFamily}captionsBorderRadius(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("captionsBorderRadius",t);const n=e.captionsBorderRadius;return e.captionsBorderRadius=t,n!==e.captionsBorderRadius&&i.dispatchEvent(new CustomEvent("captionsborderradiuschange",{detail:{color:e.captionsBorderRadius,prevColor:n}})),this}return e.captionsBorderRadius}playPauseNotifierEnabled(t){return this.publicApi._attrs.playPauseNotifier=t,this}preloadValue(){return this.engine?.getPreload()}qualityMax(t){this.engine?.qualityMax&&this.engine.qualityMax(t)}qualityMin(t){this.engine?.qualityMin&&this.engine.qualityMin(t)}qualityOptions(){const{qualityMin:t,qualityMax:e}=this._attrs;return{qualityMin:t,qualityMax:e}}rebuild(t={}){return this.info("rebuild"),this.embedded((()=>{this.ready(!1),this._oldVideoElem=this.elem(),this.stopStreaming(),(0,f.elemRemove)(this.wrapperElem),this.wipeOutstandingAsyncFunctions(),this.embed()})),this}async getRemapTime(){return this.publicApi.getRemapTime()}remove(t={}){this.info("remove"),!1!==t.trigger&&this.trigger("beforeremove"),this.hasData(!1),this.ready(!1),this.embedded(!1),this.engine?.destroy(),this.stopStreaming(),!1!==t.trigger&&(this.trigger("down"),this.trigger("afterremove")),this.wipeOutstandingAsyncFunctions(),this._bindings={},this.cleanupRefs(),this.grid?.root&&((0,f.elemUnbindAllInside)(this.grid.root),(0,f.elemRemove)(this.grid.root)),this.grid=null,this.elem()&&this.elem().removeEventListener("error",this.handleError)}removeLoopBehavior(){this.whenVideoElementInDom().then((()=>{this.engine?.getMediaElement().removeAttribute("loop")}))}renderUI(){}requestFullscreen(){}resetStateVariables(){this.info("resetStateVariables"),this._lastTimePosition=-1,this._lastState="beforeplay",this._streamSet=!1,this._issuedPlay=!1,this._issuedPau
163se=!1,this._beforePlay=!0,this._hasPlayed=!1,this._waiting=0,this._ended=!1,this.playing(!1)}rotateToFullscreen(t){const{_attrs:e,embedElement:i}=this;if(null!=t){this.info("rotateToFullscreen",t);const n=e.rotateToFullscreen;return e.rotateToFullscreen=t,n!==e.rotateToFullscreen&&(i.dispatchEvent(new CustomEvent("rotatetofullscreenchange",{detail:{rotateToFullscreen:e.rotateToFullscreen,prevRotateToFullscreen:n}})),this.renderUI()),this}return e.rotateToFullscreen??!1}sdAsset(){throw new Error("Implement in subclass!")}secondsWatched(){return this._secondsWatchedTracker?this._secondsWatchedTracker.secondsWatched():0}secondsWatchedVector(){return this._secondsWatchedTracker?this._secondsWatchedTracker.secondsWatchedVector():[]}setBigPlayButtonBorderRadius(t){this._attrs.bigPlayButtonBorderRadius=t;const{embedElement:e}=this;e.dispatchEvent(new Event("bigplaybuttonborderradiuschange")),this.trigger("bigplaybuttonborderradiuschange")}setControlBarBorderRadius(t){this._attrs.controlBarBorderRadius=t,this._attrs.playerBorderRadius&&0!==t?this.setControlBarDistance(this._attrs.playerBorderRadius/4):this.setControlBarDistance(.333*t);const{embedElement:e}=this;e.dispatchEvent(new Event("controlbarborderradiuschange")),this.trigger("controlbarborderradiuschange")}setControlBarDistance(t){this._attrs.controlBarDistance=t;const{embedElement:e}=this;e.dispatchEvent(new Event("controlbardistancechange")),this.trigger("controlbardistancechange")}setFloatingControlBar(t){this._attrs.floatingControlBar=t}setContrastIcons(t){this._attrs.contrastIcons=t;const{embedElement:e}=this;e.dispatchEvent(new Event("contrasticonschange")),this.trigger("contrasticonschange")}setOpaqueControls(t){this._attrs.opaqueControls=t;const{embedElement:e}=this;e.dispatchEvent(new Event("opaquecontrolschange")),this.trigger("opaquecontrolschange")}setPlayerBorderRadius(t){this._attrs.playerBorderRadius=t;const{embedElement:e}=this;
163e.dispatchEvent(new Event("playerborderradiuschange")),this.trigger("playerborderradiuschange")}setPlayerColor(t){return this.playerColor(t),this}setRoundedPlayer(t){this.setFloatingControlBar(Boolean(t)),this.setPlayerBorderRadius(t),this.setControlBarDistance(.25*t),this.setBigPlayButtonBorderRadius(.75*t),this.setControlBarBorderRadius(.75*t),this.renderUI()}setResumable(t){this._attrs.resumable=t;const{embedElement:e}=this;e.dispatchEvent(new Event("resumablechange"))}setupGrid(e){return this.grid||(this.grid=t.createGrid(this,e),(0,f.elemAppend)(this.chrome,this.grid.root)),this.grid}setupPercentTracking(){if(!this._trackPercent){if(this._secondsWatchedTracker=new d.W(this,this.duration(),{maxWatchingPlaybackRate:this._opts.maxWatchingPlaybackRate}),"playing"===this.state()){const t=Math.ceil(this.time());for(let e=0;e<t;e++)this._secondsWatchedTracker.trackSecond(e,{force:!0})}this._trackPercent=t=>{const e=this.percentWatched();if(this._secondsWatchedTracker.trackSecond(t),this.percentWatched()!==e){const{embedElement:t}=this;t.dispatchEvent(new CustomEvent("percent-watched-change",{detail:{percentWatched:this.percentWatched(),lastPercentWatched:e}})),this.trigger("percentwatchedchanged",this.percentWatched(),e),this._percentWatchedThreshold(this.percentWatched())}},this.rebind("secondchange",this._trackPercent)}}setupPipedreamTracking(){this.whenVideoElementInDom().then((e=>{(0,u.doTimeout)(`${this.uuid}.track-initembed`,(()=>{t.Metrics.videoCount(this,"player/initembed"),t.Metrics.mobileBuckets(this).forEach((e=>{t.Metrics.videoCount(this,`player/initembed.${e}`)})),t.Metrics.embedTypeBuckets(this.embedElement).forEach((e=>{t.Metrics.videoCount(this,`player/initembed.${e}`)}));const e=(0,n.usablePlayers)(this.publicApi.judyCtx(),this.publicApi._mediaData);t.Metrics.videoCount(this,"player/available-players",1,{available_players:e})}),100),e.addEventListener("error",this.handleError)})),this.bind("play",(()=>(t.Metrics.videoCount(this,"player/play"),t.Metrics.mobileBuckets(this).forEach((e=>{t.Metrics.videoCount(this,`player/play.${e}`)})),t.Metrics.embedTypeBuckets(this.embedElement).forEach((e=>{t.Metrics.videoCount(this,`player/play.${e}`)})),this.unbind))),t.Metrics.countEventOnce(this,"enter-fullscreen"),t.Metrics.countEventOnce(this,"end"),t.Metrics.countShowLoadingOnce(this),t.Metrics.countShowLoadingAll(this),t.Metrics.countShowLoadingLongTimeOnce(this),t.Metrics.countShowLoadingLongTimeAll(this),this.bind("secondchange",(()=>{if(this.secondsWatched()>=10)return t.Metrics.videoCount(this,"player/played-10-seconds"),t.Metrics.embedTypeBuckets(this.embedElement).forEach((e=>{t.Metrics.videoCount(this,`player/played-10-seconds.${e}`)})),this.unbind})),this.bind("secondchange",(()=>{if(this.secondsWatched()>=30)return t.Metrics.videoCount(this,"player/played-30-seconds"),this.unbind}))}settingsControlEnabled(t){return this.publicApi._attrs.settingsControl=t,this}slide(t,e,...i){return this.animate({transform:`translate(${t}px,${e}px)`},...i)}slideInLeft(){const t=this._shortAnimArgs(arguments);return(0,f.elemStyle)(this.grid.root,{transform:`translate(${this.videoWidth()}px, 0px)`}),(0,u.doTimeout)(`${this.uuid}.slide_in`,(()=>this.slide(0,0,t)),1),this}slideInRight(){const t=this._shortAnimArgs(arguments);return(0,f.elemStyle)(this.grid.root,{transform:`translate(${-this.videoWidth()}px, 0px)`}),(0,u.doTimeout)(`${this.uuid}.slide_in`,(()=>this.slide(0,0,t)),1),this}slideOutLeft(){const t=this._shortAnimArgs(arguments);return(0,f.elemStyle)(this.grid.root,{transform:"translate(0px, 0px)"}),(0,u.doTimeout)(`${this.uuid}.slide_out`,(()=>this.slide(-this.videoWidth(),0,t)),1),this}slideOutRight(){const t=this._shortAnimArgs(arguments);return(0,f.elemStyle)(this.grid.root,{transform:"translate(0px, 0px)"}),(0,u.doTimeout)(`${this.uuid}.slide_out`,(()=>this.slide(this.videoWidth(),0,t)),1),this}playPauseControlEnabled(t){return this.publicApi._attrs.playPauseControl=t,this}setCustomizeEmbedOptions(t){this.hasData((()=>{const e=this.embedOptions();this.publicApi._embedOptions=null,this.publicApi._customizeEmbedOptions=t,this.publicApi._opts=this._gatherOptions(),this._opts=(0,c.clone)(this.publicApi._opts),this._embedOptions=null,this.embedElement.dispatchEvent(new CustomEvent(E.EMBED_OPTIONS_CHANGED_EVENT,{detail:{currentEmbedOptions:this.embedOptions(),previousEmbedOptions:e}}))}))}sourceHashedId(){return this.publicApi.sourceHashedId()}suppressPlay(t){return null!=t?(this.info("suppressPlay",t),this._suppressPlay=Boolean(t),this._suppressPlay):this._suppressPlay}state(){return"beforeplay"}stillAsset(){return s.still(this._mediaData.assets)}stillUrl(t){return(t=(0,c.merge)({videoWidth:this.videoWidth(),videoHeight:this.videoHeight()},this._opts,{stillUrl:this._attrs.poster},t)).playerColor||(t.playerColor=this._mediaData?.embedOptions?.playerColor),s.stillUrl(this._mediaData.assets,t)}stopStreaming(){}
163thumbnailAssets(){return s.thumbnailAssets(this._mediaData.assets,(0,c.merge)({},this._opts,{instantHlsStillAsset:this._mediaData.instantHlsStillAsset,originalFileStillAsset:this._mediaData.originalFileStillAsset,playButton:!1,stillUrl:this._attrs.poster,videoHeight:this.videoHeight(),videoWidth:this.videoWidth()}))}time(t){return null!=t?(this.info("time",t),this.ready((()=>this.time(t))),this):0}transferFacadeProperties(){"\n _attrs\n _embedContainer\n _givenOptions\n _hashedId\n _hasImpl\n _mediaData\n _opts\n _originalMediaData\n _tracker\n chrome\n container\n controls\n data\n down\n fullscreenContainer\n options\n params\n plugin\n plugins\n up\n ".split(/[\n\s]+/).forEach((t=>{this[t]=this.publicApi[t]}))}trim(t){if(null==t)return this._trimSettings||{start:0,end:-1};this._trimSettings=t}unmute(){this._muted=!1,this._isPlayingSilently=!1,this.trigger("volumechange",this.volume()),this.embedElement.dispatchEvent(new CustomEvent("volume-change",{detail:{volume:this.volume(),isMuted:!1}}))}videoHeight(t,e={constrain:!1,trigger:!1}){if(null!=t){this.info("videoHeight",t,e),t=parseFloat(t);const i=this.height();return this.chrome.style.height=`${t}px`,this.trigger("heightchange",t,i),this.embedElement.dispatchEvent(new CustomEvent("heightchange",{detail:{height:t,prevHeight:i}})),e.constrain&&this.constrainToHeight(),this}return"WISTIA-PLAYER"!==this.embedElement?.tagName||this.embedElement?.wistiaPopover||this.inFullscreen()?(0,f.elemHeight)(this.chrome):(0,f.elemHeight)(this.embedElement)}videoWidth(t,e={constrain:!1,trigger:!1}){if(null!=t){this.info("videoWidth",t,e),t=parseFloat(t);const i=this.width();return this.chrome.style.width=`${t}px`,this.trigger("widthchange",t,i),this.embedElement.dispatchEvent(new CustomEvent("widthchange",{detail:{width:t,prevWidth:i}})),e.constrain&&this.constrainToWidth(),this}return"WISTIA-PLAYER"!==this.embedElement?.tagName||this.embedElement?.wistiaPopover||this.inFullscreen()?(0,f.elemWidth)(this.chrome):(0,f.elemWidth)(this.embedElement)}getVideoQuality(){return"auto"}setVideoQuality(){return this}visitorKey(){return this._tracker?.visitorKey()}volume(t){return null!=t?(this.info("volume",t),this.volumeAttr(t),this.ready((()=>this.volume(t)))):0}volumeAttr(t){this._attrs.volume=t}volumeControlEnabled(t){return this.publicApi._attrs.volumeControl=t,this}webmAsset(t){return s.webm(this._mediaData.assets,t)}webmAssetInRange(t={}){return s.webm(this._mediaData.assets,(0,c.merge)(this.qualityOptions(),t))}whenVideoElementInDom(){return new Promise((t=>{}))}width(t,e={}){if(null!=t){this.info("width",t,e),t=parseFloat(t);const i=this.width();return this.chrome.style.width=`${t}px`,this.trigger("widthchange",t,i),this.embedElement.dispatchEvent(new CustomEvent("widthchange",{detail:{width:t,prevWidth:i}})),e.constrain&&this.constrainToWidth(),this._width=t,this}return(0,f.elemWidth)(this.grid.left)+(0,f.elemWidth)(this.grid.center)+(0,f.elemWidth)(this.grid.right)}widthForHeight(t){return t*this.aspect()}wipeOutstandingAsyncFunctions(){this.info("wipeOutstandingAsyncFunctions"),l.O.remove(this.uuid),(0,u.clearTimeouts)(this.uuid),this._remoteMediaKey&&(0,u.clearTimeouts)(this._remoteMediaKey)}_isExternallyEmbedded(){return!this._isOnWistia()}_isLoggedIn(){return document.querySelector("body").classList.contains("logged_in")}_isOnWistia(){const t=this._opts._inIframe?document.referrer:window.location.href;return/wistia\.(io|st|com)/.test(t)}_isShared(){return this._isOnWistia()&&!this._isLoggedIn()}_percentWatchedThreshold(t){this._thresholds||(this._thresholds=[.25,.5,.75,1]);const e=[],i=Math.round(100*t)/100;this._thresholds.forEach((t=>{i>=t?this.trigger("percentWatchedThreshold",t):e.push(t)})),this._thresholds=e}_recordFirstEmbedIfEligible(){const{accountKey:t,firstEmbedForAccount:e,firstShareForAccount:i,hashedId:n}=this._mediaData,s=e&&this._isExternallyEmbedded(),o=i&&this._isShared();if(s||o){const r=`https://${(0,a.appHost)()}/account/activities`,l={account_key:t,media_hashed_id:n};return s&&(l.first_embed=this._isExternallyEmbedded()),o&&(l.first_share=this._isShared()),t>"wistia-production_1819717"&&((0,p.countMetric)("wistia/record-first-embed-or-share-metadata",1,{is_externally_embedded:this._isExternallyEmbedded(),is_shared:this._isShared(),first_embed_for_account:e,first_share_for_account:i,account_key:t,media_hashed_id:n}),s&&"WISTIA-PLAYER"===this.embedElement?.tagName&&(0,p.countMetric)("player/first-embed-web-component",1,{account_key:t,media_hashed_id:n,url:window.location.href})),fetch(r,{method:"POST",mode:"cors",headers:{"Content-Type":"application/json"},body:JSON.stringify(l)}).catch((t=>{m.ct.warn("Failed to record first embed/share for account",t)}))}}_refreshDataFromServer(e,i){const n=this.embedOptions().embedHost||t.remote.embedHost();return fetch(`//${n}/embed/medias/${this.hashedId()}.json`).then((t=>t.json())).then((i=>(this.publicApi._originalMediaData=i.media,this._mediaData=this.publicApi._transformAndUpdateMediaData(),this._newStill&&this._replaceStillAsset(this._newStill),this.publicApi._mediaData=this._mediaData,t.cacheMedia(this.hashedId(),this._mediaData),e?.(),this.trigger("refreshed-from-server"),this._mediaData))).catch(i)}_replaceStillAsset(t){const e=this.assets().filter((t=>"still_image"!==t.type));this._mediaData.assets=e,this._mediaData.assets.push(t)}_shortAnimArgs(t){return"function"==typeof t[0]?{callback:t[0]}:(0,c.merge)({},t[0],{callback:t[1]})}}e.FAILED=-1,e.PROCESSING=1,e.QUEUED=0,e.READY=2,e.asset=s.one,e.assets=s.filter,e.assetsWithinQualityRange=s.withinQualityRange,e.bakeryHosts=()=>s.BAKERY_HOSTS,e.isBakeryUrl=s.isBakeryUrl,e.stillAsset=s.still,e.stillUrl=s.stillUrl,t.mixin(e.prototype,t.bindable),t.mixin(e.prototype,t.logHelpers),e.prototype._logPrefix=function(){return[this.constructor.name,this.hashedId()||"no hashedId",this._embedContainer?.id,this.uuid]};const i=e.prototype.trigger;e.prototype.trigger=function(...t){return i.apply(this,t),this.publicApi._triggerNoImpl(...t)},t.PublicApi?.prototype&&Object.getOwnPropertyNames(t.PublicApi.prototype).forEach((i=>{const n=t.PublicApi.prototype[i];
163"function"!=typeof n||C(e.prototype,i)||function(t,i){e.prototype[t]=function(...e){return this.publicApi[t](...e)},e.prototype[t]._originalMethod=i}(i,n)})),t.Player=t.Video=e}(window.Wistia)},(t,e,i)=>{function n(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,{W:()=>s});class s{constructor(t,e,i={}){n(this,"onTimeChange",(()=>{this.lastTimeChangeAt=this.timeChangeAt,this.timeChangeAt=Date.now()})),n(this,"onPlaybarDragEnd",(()=>{this.playbarDragEndAt=Date.now()})),n(this,"onPlay",(()=>{this.playedAt=Date.now()})),this.video=t,this.duration=e,this.maxWatchingPlaybackRate=i.maxWatchingPlaybackRate||8,this.video.bind("timechange",this.onTimeChange),this.video.bind("playbardragend",this.onPlaybarDragEnd),this.video.bind("play",this.onPlay),this.reset(),i.existingTracker&&(this._secondsWatched=i.existingTracker._secondsWatched,this._totalWatched=i.existingTracker._totalWatched,this._totalRewatched=i.existingTracker._totalRewatched,this.timeChangeAt=i.existingTracker.timeChangeAt,this.lastTimeChangeAt=i.existingTracker.lastTimeChangeAt,this.lastPlaybarDragEndAt=i.existingTracker.lastPlaybarDragEndAt)}trackSecond(t,e={force:!1}){const i=()=>{!e.force&&this.shouldIgnoreTrack(t)||t>=this._secondsWatched.length||(this._secondsWatched[t]+=1,1===this._secondsWatched[t]?this._totalWatched+=1:this._totalRewatched+=1)};this.isScrubbing()?(clearTimeout(this.delayedScrubTimeout),this.delayedScrubTimeout=setTimeout(i,this.eventLoopDuration())):i()}shouldIgnoreTrack(t){const e=t===this._secondsWatched.length-1&&"ended"===this.video.state();return"playing"!==this.video.state()&&!e||this.video.playbackRate()>=this.maxWatchingPlaybackRate||!this.justReleasedPlaybar()&&!this.justPlayed()&&(!!this.isScrubbing()||void 0)}eventLoopDuration(){return this.video._impl?._eventLoopDuration||300}isScrubbing(){return this.lastTimeChangeAt&&Date.now()-this.lastTimeChangeAt<this.eventLoopDuration()}justPlayed(){return this.playedAt&&Date.now()-this.playedAt<this.eventLoopDuration()}justReleasedPlaybar(){return this.playbarDragEndAt&&Date.now()-this.playbarDragEndAt<this.eventLoopDuration()}secondsWatched(){return this._totalWatched||0}secondsWatchedVector(){return this._secondsWatched}reset(){clearTimeout(this.delayedScrubTimeout),this.timeChangeAt=null,this.lastTimeChangeAt=null,this.lastPlaybarDragEndAt=null,this._secondsWatched=[];for(let t=0;t<Math.ceil(this.duration);t++)this._secondsWatched.push(0);this._totalWatched=0,this._totalRewatched=0}}},(t,e,i)=>{var n=i(64);!function(t){null==t._onFullscreenChange&&(t._onFullscreenChange=function(){return n.fullscreenElement()?t.trigger("enterfullscreen",n.fullscreenElement()):t.trigger("cancelfullscreen")}),t._initializers.initFullscreenTriggers=function(){return n.elemRebind(document,"webkitfullscreenchange",t._onFullscreenChange),n.elemRebind(document,"fullscreenchange",t._onFullscreenChange)},t._destructors.destroyFullscreenTriggers=function(){return n.elemUnbind(document,"webkitfullscreenchange",t._onFullscreenChange),n.elemUnbind(document,"fullscreenchange",t._onFullscreenChange)}}(window.Wistia)},(t,e,i)=>{i(24);var n=i(25),s=i(79),o=i(70),r=i(22);!function(t){t.BandwidthTest=class{constructor(t){this.opt=t,this.opt=(0,r.merge)({minKbps:2500,timeoutLength:4e3,freshFor:36e5},this.opt),this.opt.uuid||(this.opt.uuid=(0,o.h)("bandwidth_test_"))}start(){this._testXhr?.abort(),this._testStart=(new Date).getTime(),this._testXhr=new XMLHttpRequest,this._testXhr.open("GET",this.testFileUrl(),!0);const t=1e6*Math.floor(100*Math.random()),e=t+999999;return this._testXhr.setRequestHeader("Range",`bytes=${t}-${e}`),(0,s.doTimeout)(`${this.uuid}.cancel_bandwidth_test`,(()=>(this.trigger("timeout"),this.fail())),this.opt.timeoutLength),this._testDataLoaded=0,this._onTestXhrProgress=t=>(this._testDataLoaded=t.loaded,this.trigger("progress",t)),this._testXhr.addEventListener("progress",this._onTestXhrProgress),this._onTestXhrLoaded=()=>this.succeed(),this._testXhr.addEventListener("load",this._onTestXhrLoaded),this._testXhr.send(null),this.trigger("started")}fail(){return this._sampleKbps(),this._supportsHd=!1,this.saveResult(),this.trigger("failed"),this.end()}succeed(){if(this._sampleKbps(),this._supportsHd=!0,this.saveResult(),this.trigger("succeeded"),this.end(),this._suspiciouslyFast())return this._reportSuspiciousBandwidthTest()}_reportSuspiciousBandwidthTest(){try{if(this._suspiciouslyFast())return t.Metrics.count("player/suspicious-bandwidth-test",1,{bw_test_time:this._testTime,visitor_key:t.visitorKey.value(
163),location:location?.protocol?.length&&location?.hostname?.length?`${location.protocol}//${location.hostname}`:null,connection_type:t.Metrics.connectionType(),agent:navigator.userAgent})}catch(e){return t.error(e)}}_suspiciouslyFast(){return this._testTime<.05}_sampleKbps(){return this._testEnd=(new Date).getTime(),this._testTime=(this._testEnd-this._testStart)/1e3,this._kbps=8*this._testDataLoaded/1e3/this._testTime}endEarly(){return null==this._supportsHd&&null!=this._testDataLoaded?(this._sampleKbps(),this._supportsHd=!(this._testTime>1)||this._kbps>=this.opt.minKbps,this.trigger("ended-early"),this.end()):(this.end(),this.trigger("ended-early"))}end(){return this._onTestXhrLoaded&&this._testXhr?.removeEventListener("load",this._onTestXhrLoaded),this._onTestXhrProgress&&this._testXhr?.removeEventListener("progress",this._onTestXhrProgress),this._testXhr?.abort(),this._testXhr=null,(0,s.clearTimeouts)(`${this.uuid}.cancel_bandwidth_test`),this.trigger("ended")}testFileUrl(){return this.opt.testFileUrl||("https:"===(0,n.proto)()?"https://embed-ssl.wistia.com/deliveries/6992339c876a95a37250fbe5b0a0eaecca3018a5/file.jpg?bust=2015-12-29a":"http://embed.wistia.com/deliveries/76a57ca47a1978a834d82dcf7eeb03a6.bin?bust=2015-12-29a")}saveKey(){return this.opt.saveKey||"bandwidth_test"}saveResult(){return t.localStorage(this.saveKey(),{updatedAt:(new Date).getTime(),supportsHd:this._supportsHd,clientKbps:this._kbps})}savedResult(){return t.localStorage(this.saveKey())}isFresh(){return(new Date).getTime()-(this.savedResult()?.updatedAt||0)<this.opt.freshFor}supportsHd(){return this._supportsHd||!1}},t.mixin(t.BandwidthTest.prototype,t.bindable)}(window.Wistia)},function(t,e,i){var n,s,o,r,a,l,h,u,c,d,p,m,g,f,y,_;r=i(1).Wistia,g=i(11).isVisitorTrackingEnabled,_=i(22),a=_.assign,f=_.merge,p=i(166).uh,c=i(89).FC,u=i(79).doTimeout,n=i(25).Url,y=i(64).pageLoaded,f=i(22).merge,i(68).j3,l=i(112).KA,d=i(167).RN,o=i(169),s=i(171),h=function(t){var e;return null!=(e="none"===t)?e:{true:!1}},m=function(t){var e;return{campaign:(e=new n(t._attrs.pageUrl).params).utm_campaign||null,medium:e.utm_medium||null,source:e.utm_source||null,term:e.utm_term||null,content:e.utm_content||null}},function(t){var e;t.VideoTracker2||(e=["_eventQueue","_failedEventsQueue","_played","_retryInterval","_retryTimer","clockStart","initializedOnce","lastBucket","lastRecordedTime","lastSecondsWatched","lastSeekTime","videoTrackerLocalStorage","videoTrackerSession"],t.VideoTracker2=function(){function i(t){var i,n;this.publicApi=t,this.eventQueue=[],this.initializedOnce=!1,this.monitoring=!1,this.remapTimeToSource=(n=this,function(t){var e,i;return i=n.publicApi.languageToLocalization(n.publicApi.sourceLocalization())||n.publicApi.defaultLocalization(),(e=n.publicApi.languageToLocalization(n.publicApi.mediaLanguage())||n.publicApi.defaultLocalization()).hasVideoStream&&i.wistiaLanguageCode!==e.wistiaLanguageCode?n.remapTime(e.wistiaLanguageCode,i.wistiaLanguageCode,t):t}),(i=this.publicApi.embedOptions().existingTracker)?(e.forEach(function(t){return function(e){return t[e]=i[e]}}(this)),this.initializedOnce&&this.publicApi.hasData(function(t){return function(){return t.timeRemappingReady((function(){return t.videoTrackerSession=new o(t.publicApi,t.remapTimeToSource,i.videoTrackerSession),t.videoTrackerLocalStorage=new s(t._getAccountKey(),t.publicApi.sourceHashedId(),(function(){var e;return(e=t.publicApi).info.apply(e,arguments)}))}))}}(this))):this._setStartValues(),this.publicApi.hasData(function(t){return function(){t.params=f({transmitInterval:1e3*(t.publicApi._mediaData.trackingTransmitInterval||10)},t.publicApi._opts),t.timeRemappingReady((function(){})),t.publicApi._attrs.shouldTrack}}(this))}return i.prototype.NUM_BUCKETS=1e3,i.prototype.conversions={"missing-conversion":0,"pre-roll-email":1,"post-roll-email":2,"mid-roll-email":3,"post-roll-click":4,"mid-roll-click":5,"non-video":6},i.prototype._setStartValues=function(){return this.clockStart=(new Date).getTime(),this._played=!1,this.lastRecordedTime=0,this.lastSeekTime=0,this.lastSecondsWatched=0,this.lastBucket=-1},i.prototype._getAccountKey=function(){return this.publicApi._opts.accountKey||this.publicApi._mediaData.accountKey},i.prototype._getEnabledEmbedOptions=function(){var t,e,i,n,s,o,r,a;for(e in o=(t=this.publicApi.embedOptions()).plugin||{},s={},i={turnstile_enabled:"requireEmail-v1",annotation_link_enabled:"midrollLink-v1",call_to_action_enabled:"postRoll-v1",eventbrite_enabled:"eventbrite",hubspot_form_enabled:"hubspotForm",marketo_form_enabled:"marketoForm"})n=i[e],s[e]=!!o[n]&&("true"===(r=o[n].on)||!0===r);return s.auto_play_enabled="true"===(a=t.autoPlay)||!0===a,s.looping_enabled="loop"===this.publicApi._attrs.endVideoBehavior,s},i.prototype._sourceMediaKey=function(){return this.publicApi._mediaData.sourceMediaKey||this.publicApi._mediaData.mediaKey},i.prototype._data=function(){var t,e,i,n,s,o,r,a,l,h,u,p,y,_,v,b,w;return l=(r=(_=this.publicApi.languageToLocalization(this.publicApi.sourceLocalization())||this.publicApi.defaultLocalization()).wistiaLanguageCode!==this.publicApi.mediaLanguage().wistiaLanguageCode)?this.publicApi._mediaData.mediaKey:void 0,a=r?this.publicApi._mediaData.duration:void 0,b=r?this._sourceMediaKey():void 0,v=r?_.duration:void 0,y=f({account_key:this._getAccountKey(),event_details:this.eventQueue,page_title:this.publicApi._getPageTitle(),browser_language:this.publicApi._getBrowserLanguage(),foreign_data:this.publicApi.foreignData(),foreign_ids:this.publicApi.foreignIds(),is_localization:r,localized_media_id:l,localized_media_duration:a,source_media_id:b,source_media_duration:v,media_duration:this.remapTimeToSource(parseFloat(this.publicApi._mediaData.duration)),media_id:this._sourceMediaKey(),media_type:this._mediaType(),referrer:this.publicApi._attrs.pageUrl,referrer_url:this.publicApi._attrs.referrerUrl,resumable_key:this.resumableKey(),session_id:this.visitorKey(),utm_params:m(this.publicApi),visitor_version:this.videoTrackerLocalStorage.getVisitorVersion(),event_version:"1.0.0",player_type:"modern",enabled_embed_options:this._getEnabledEmbedOptions(),visibility_metrics:this.publicApi._getEmbedVisibilityMetrics()},this.videoTrackerSession.fetchSessionData()),!(s=this.publicApi.email()
163)&&g()&&(null!=(h=this.publicApi._mediaData)?h.accountHashedId:void 0)&&null!=(null!=(o=d(this.publicApi._mediaData.accountHashedId)[0])?o.uniqueId:void 0)&&(s=o.uniqueId),s&&(y.email=s),!this.publicApi._opts.anonymizeIp&&g()||(y.anonymizeIp=!0),this.params.conversionType&&(y.conversion_type=this.conversions[this.params.conversionType]),this.params.conversionData&&(y.conversion_data=this.params.conversionData),this.publicApi._opts.channel&&(y.channel=this.publicApi._opts.channel),this.publicApi.embedOptions().channelId&&(y.channel_id=this.publicApi.embedOptions().channelId),this.publicApi._mediaData.projectId&&(y.project_id=this.publicApi._mediaData.projectId),(null!=(u=this.publicApi._mediaData.liveStreamEventDetails)?u.id:void 0)&&(y.live_stream_event_id=null!=(p=this.publicApi._mediaData.liveStreamEventDetails)?p.id:void 0),y.episode_id=this.publicApi.embedOptions().episodeIdMappings?this.publicApi.embedOptions().episodeIdMappings[this.publicApi.sourceHashedId()]:this.publicApi.embedOptions().episodeId?this.publicApi.embedOptions().episodeId:void 0,i=null,n=this.publicApi.getConnectedCarouselEmbed(),null!==this.publicApi.wistiaPlaylistElem&&null!==this.publicApi.wistiaPlaylistElem.channelId?i=this.publicApi.wistiaPlaylistElem.channelId:n&&(i=n.channelId),null!==i&&(e=(t=c(i)).medias.find((w=this,function(t){return t.hashedId===w.publicApi.sourceHashedId()})),t&&e&&(y.channel_id=t.numericId,y.episode_id=e.episodeId)),JSON.stringify(y)},i.prototype._mediaType=function(){return this.publicApi._mediaData.mediaType},i.prototype.reset=function(){return this.stopMonitoring(),this._setStartValues(),this.initializedOnce=!1},i.prototype.initialize=function(){var t;return this.initializedOnce||(this.publicApi.info("video tracker initialize"),this.videoTrackerLocalStorage=new s(this._getAccountKey(),this.publicApi.sourceHashedId(),(t=this,function(){var e;return(e=t.publicApi).info.apply(e,arguments)})),this._failedEventsQueue=[],this._retryTimer=null,this._retryInterval=1e3,this.initializedOnce=!0,this._setStartValues(),this.log("initialized"),this.videoTrackerLocalStorage.recordLoad(),this.debounceTransmit()),this},i.prototype.monitor=function(){var e;return this.initializedOnce||this.publicApi.hasData((e=this,function(){return e.timeRemappingReady((function(){return e.videoTrackerSession=new o(e.publicApi,e.remapTimeToSource)}))})),this.publicApi.embedded(function(e){return function(){return e.timeRemappingReady((function(){return e.stopMonitoring(),e.publicApi.info("_tracker.monitor"),e.initialize(),null==e.onPlaybackRateChange&&(e.onPlaybackRateChange=function(t){return e.log("playbackRateChange",null,t)}),null==e.onPlay&&(e.onPlay=function(){if(e.log("play"),e.videoTrackerLocalStorage.recordPlay(),!e._played)return e._played=!0,e.debounceTransmit()}),null==e.onPause&&(e.onPause=function(){if(Math.abs(e.remappedVideoDuration()-e.remappedVideoTime())>.3)return e.log("pause"),e.transmit()}),null==e.onEnd&&(e.onEnd=function(){return e.log("end"),e.transmit()}),null==e.onSeek&&(e.onSeek=function(t,i){if(!(Math.abs(i-t)<5))return e.lastSeekTime=i,e.log("seek")}),null==e.onConversionLink&&(e.onConversionLink=function(t){return e.logConversionOpportunity(t)}),null==e.onPercentWatchedThreshold&&(e.onPercentWatchedThreshold=function(t){return e.log("percentWatchedThreshold",null,t),e.transmit()}),e.monitoring=!0,e.publicApi.rebind("play",e.onPlay),e.publicApi.rebind("pause",e.onPause),e.publicApi.rebind("end",e.onEnd),e.publicApi.rebind("seek",e.onSeek),e.publicApi.rebind("playbackratechange",e.onPlaybackRateChange),e.publicApi.rebind("conversion-link",e.onConversionLink),e.publicApi.rebind("percentWatchedThreshold",e.onPercentWatchedThreshold),e.videoTrackerSession.setupBindings(),"playing"===e.publicApi.state()&&e.onPlay(),u(e.publicApi.uuid+".start_tracking_timeout",(function(){return e.publicApi.info("_tracker start tracking_loop"),t.eventLoop.add(e.publicApi.uuid+".tracking_loop",e.params.transmitInterval,(function(){return"playing"===e.publicApi.state()&&e.log("update"),e.transmit()}))}),Math.random()*e.params.transmitInterval+1e3)}))}}(this))},i.prototype.stopMonitoring=function(){if(this.publicApi.info("_tracker.stopMonitoring"),this.monitoring=!1,this.onPlay&&this.publicApi.unbind("play",this.onPlay),this.onPause&&this.publicApi.unbind("pause",this.onPause),this.onEnd&&this.publicApi.unbind("end",this.onEnd),this.onSeek&&this.publicApi.unbind("seek",this.onSeek),this.onConversionLink&&this.publicApi.unbind("conversion-link",this.onConversionLink),this.onPercentWatchedChanged&&this.publicApi.unbind("percentwatchedchanged",this.onPercentWatchedChanged),this.videoTrackerSession)return this.videoTrackerSession.removeBindings()},i.prototype.distilleryUrl=function(){return this.publicApi._attrs.statsUrl||this.publicApi._mediaData.distilleryUrl},i.prototype.sendToDistillery=function(e){return fetch(this.distilleryUrl(),{method:"POST",mode:"cors",headers:{"Content-Type":"text/plain"},body:encodeURIComponent(e)}).catch((i=this,function(e){return t.Metrics.videoCount(i.publicApi,"player/distillery-error-response/"+e.status)}));var i},i.prototype.readyToTrack=function(e){return this.publicApi.hasData((i=this,function(){return i.timeRemappingReady((function(){return y((function(){return t.visitorKey.ready().then(e)}))}))}));var i},i.prototype.timeRemappingReady=function(t){return this.publicApi.languages().length>1?this.publicApi.getRemapTime().then((e=this,function(i){return e.remapTime=i,t()})):t();var e},i.prototype.transmit=function(t){var e;if(null==t&&(t={}),this.publicApi._attrs.shouldTrack)return this.readyToTrack((e=this,function(){var i;if(e.eventQueue.length>0||t.force)return i=e._data(),e.publicApi.info("_tracker.transmit",i),e.publicApi.trigger("transmit-stats",i),e.sendToDistillery(l(i)),e.eventQueue=[]}))},i.prototype.debounceTransmit=function(){return u(this.publicApi.uuid+".transmit_play_data",(t=this,function(){return t.transmit()}),350);var t}
163,i.prototype.log=function(t,e,i){var n,s,o,r;if(this.publicApi._attrs.shouldTrack)return this.publicApi.info("_tracker.log",t,e,i),this.videoTrackerSession.ping(),o=(r=(s=this.videoTrackerSession.secondsWatched())-this.lastSecondsWatched)/this.remappedVideoDuration(),this.lastSecondsWatched=s,"conversion"===t?(this.params.conversionType=e,this.params.conversionData=i,this.transmit({force:!0})):(n={key:t,value:this.timeInVideo(),timeDelta:this.timeDelta(),uniquePlayedTime:r,uniquePlayedRatio:o},"initialized"===t?(n.lastAccountInstance=this.videoTrackerLocalStorage.lastLoadForAccount(),n.lastMediaInstance=this.videoTrackerLocalStorage.lastLoadForMedia(),n.isUnique=h(this.videoTrackerLocalStorage.lastLoadForMedia())):"play"===t?(n.lastAccountInstance=this.videoTrackerLocalStorage.lastPlayForAccount(),n.lastMediaInstance=this.videoTrackerLocalStorage.lastPlayForMedia(),n.isUnique=h(this.videoTrackerLocalStorage.lastPlayForMedia()),this._played?n.key="unpause":(this.addPlayedTime(n),this.addBuckets(n),this.lastRecordedTime=this.timeInVideo())):"seek"===t?(this.addPlayedTime(n,this.lastSeekTime),this.addBuckets(n,this.lastSeekTime),this.lastRecordedTime=this.timeInVideo()):"update"===t?(this.addPlayedTime(n),this.addBuckets(n),this.lastRecordedTime=this.timeInVideo()):"pause"===t?this._played&&(this.addPlayedTime(n),this.addBuckets(n),this.lastRecordedTime=this.timeInVideo()):"playbackRateChange"===t||"percentWatchedThreshold"===t?n.value=i:"end"===t&&(this.addPlayedTime(n),this.addBuckets(n),this.lastBucket=-1,this.lastRecordedTime=this.timeInVideo()),this.publicApi.debug("_tracker.log",n),this.eventQueue.push(n))},i.prototype.addPlayedTime=function(t,e){var i,n;return i=void 0!==e?e:this.timeInVideo(),n=Math.max(i-this.lastRecordedTime,0),t.playedTime=String(n)},i.prototype.addBuckets=function(t,e){var i,n;if("beforeplay"!==this.publicApi.state()&&(n=this.remappedVideoTime(),i=this._timeToBucket(e||n),this.lastBucket<i&&(t.startBucket=this.lastBucket+1,t.endBucket=i),this.lastBucket=this._timeToBucket(n),e))return this.lastBucket-=1},i.prototype._timeToBucket=function(t){return Math.floor(t/this.remappedVideoDuration()*this.NUM_BUCKETS)},i.prototype.logConversionOpportunity=function(e){var i,n;if(this.publicApi._attrs.shouldTrack)return this.videoTrackerSession.ping(),null!=e.co_key?(e.is_new_lead=(null!=(n=this.videoTrackerLocalStorage)?n.isNewLead():void 0)||!1,i={key:"conversion",value:e,timeDelta:this.timeDelta()},this.publicApi.info("_tracker.logConversionOpportunity",e),this.eventQueue.push(i)):t.Metrics.videoCount(this.publicApi,"player/no-co-key",1)},i.prototype.logAction=function(t,e){var i,n;return null==e&&(e={}),this.videoTrackerSession.ping(),i={time:this.remappedVideoTime(),key:t,type:"default",category:"default",text:"test",uniqueToVisitor:!1},n={value:a({},i,e),key:"action",timeDelta:this.timeDelta()},this.eventQueue.push(n)},i.prototype.logCaptionSelection=function(t){var e;if(this.publicApi._attrs.shouldTrack&&(this.videoTrackerSession.ping(),t.caption_key))return e={key:"caption",value:t,timeDelta:this.timeDelta()},this.publicApi.info("_tracker.logCaptionSelection",t),this.eventQueue.push(e)},i.prototype.logChapterClick=function(t,e){return this.logAction("chapterConversion",{text:t.title,type:"conversion",category:"chapter",uniqueToVisitor:!0,time:this.remapTimeToSource(e)}),this.logAction("chapterSelection-"+t.id,{text:t.title,type:"interaction",category:"chapter",time:this.remapTimeToSource(e)})},i.prototype.logShareClick=function(t){return this.logAction("shareConversion",{text:t,type:"conversion",category:"share",uniqueToVisitor:!0}),this.logAction("shareClick-"+t,{text:t,type:"interaction",category:"share"})},i.prototype.resumableKey=function(){return!1!==this.publicApi.embedOptions().resumable?p(this.publicApi.sourceHashedId()):null},i.prototype.timeInVideo=function(){var t;return null==(t=this.remappedVideoTime())&&(t="beforeplay"===this.publicApi.state()?0:this.remappedVideoDuration()),t.toFixed(1)},i.prototype.timeDelta=function(){return(new Date).getTime()-this.clockStart},i.prototype.remappedVideoDuration=function(){return this.remapTimeToSource(this.publicApi.duration())},i.prototype.remappedVideoTime=function(){return this.remapTimeToSource(this.publicApi.time())},i.prototype.visitorKey=function(){return this.publicApi.visitorKey()}
163,i.prototype.eventKey=function(){if(this.videoTrackerSession)return this.videoTrackerSession.eventKey()},i}())}(r)},(t,e,i)=>{i.d(e,{KO:()=>h,SB:()=>r,U2:()=>o,_L:()=>l,gI:()=>u,rQ:()=>d,uh:()=>a,w8:()=>c});var n=i(18);const s=t=>`wistia-video-progress-${t}`,o=t=>(0,n.Lg)(s(t)).lastTime,r=(t,e)=>{(0,n.yo)(s(t),(t=>{t.lastTime=e}))},a=t=>(0,n.Lg)(s(t)).resumableKey,l=(t,e)=>{(0,n.yo)(s(t),(t=>{t.resumableKey=e}))},h=(t,e)=>(o(t)||0)+5>e,u=t=>(o(t)||0)<10,c=t=>t<300,d=(t,e)=>!u(t)&&!h(t,e)},(t,e,i)=>{i.d(e,{NW:()=>a,RN:()=>h,kH:()=>l,mu:()=>r});var n=i(7),s=i(168),o=i(18);i(17);const r=t=>(()=>{const t=(0,o.Lg)(s.Yo);return Array.isArray(t)?t:[]})().find((e=>e.eventId===t)),a=()=>{const t=window.localStorage.getItem(s.kS);return(0,n.gD)(t)||(0,n.jw)(t)||(0,n.DM)(t)?null:JSON.parse(t)},l=({eventId:t,event:e})=>{const i=a()??{};i[t]=e,window.localStorage.setItem(s.kS,JSON.stringify(i))},h=(t,e=1)=>{if((0,n.gD)(t))return[];const i=(0,o.Lg)(s.zB);return i?.[t]?.sort(((t,e)=>e.lastUsed-t.lastUsed)).slice(0,e)??[]}},(t,e,i)=>{i.d(e,{Yo:()=>s,kS:()=>o,zB:()=>r});const n="wistia:live:",s=`${n}registeredEvents`,o=`${n}analyticsEvents`,r="wistia:contact:identities"},(t,e,i)=>{var n,s,o,r;i(1).Wistia,o=i(170).B,n=i(162).W,r=i(148).b,s=function(){function t(t,e,i){this.publicApi=t,this.lastFetchTime=(null!=i?i.lastFetchTime:void 0)||(new Date).getTime(),this._eventKey=(null!=i?i._eventKey:void 0)||null,this.remapTimeToSource=e,this.secondsWatchedTracker=new n(this.publicApi,this.remapTimeToSource(this.publicApi.duration()),{existingTracker:null!=i?i.secondsWatchedTracker:void 0,maxWatchingPlaybackRate:this.publicApi._opts.maxWatchingPlaybackRate})}return t.prototype.EVENT_KEY_REFRESH_INTERVAL=1800,t.prototype.withRefresh=function(t){if(o(this.lastFetchTime)>this.EVENT_KEY_REFRESH_INTERVAL&&this.reset(),this.lastFetchTime=(new Date).getTime(),"function"==typeof t)return t()},t.prototype.fetchSessionData=function(){return this.withRefresh((t=this,function(){return{event_key:t.eventKey(),seconds_watched:t.secondsWatchedTracker.secondsWatched()}}));var t},t.prototype.secondsWatched=function(){return this.withRefresh((t=this,function(){return t.secondsWatchedTracker.secondsWatched()}));var t},t.prototype.ping=function(){return this.withRefresh()},t.prototype.setupBindings=function(){var t;return null==this.binding&&(this.binding=(t=this,function(e){return t.secondsWatchedTracker.trackSecond(Math.floor(t.remapTimeToSource(e)))})),this.publicApi.rebind("secondchange",this.binding)},t.prototype.reset=function(){return this._eventKey=null,this.secondsWatchedTracker.reset()},t.prototype.removeBindings=function(){if(this.binding)return this.publicApi.unbind("secondchange",this.binding)},t.prototype.eventKey=function(){return this.isValidKey(this._eventKey)||(this._eventKey=r(Date.now().toString().substring(0,7)+"_"),this.publicApi.trigger("eventkeychange",this._eventKey)),this._eventKey},t.prototype.isValidKey=function(t){return(null!=t?t.length:void 0)>25&&/^[a-z0-9_\-\.]+$/i.test(t)},t}(),t.exports=s},(t,e,i)=>{i.d(e,{B:()=>n});const n=t=>t?Math.round(((new Date).getTime()-t)/1e3):null},(t,e,i)=>{var n,s,o,r;o=i(1).Wistia,r=i(170).B,n="action_recorded.conversion",s=function(){function t(t,e,i){this.accountKey=t,this.hashedId=e,this.logFn=i}return t.prototype.nullToNone=function(t){return null===t?"none":t},t.prototype.lastLoadForAccount=function(){return this._lastLoadForAccount||(this._lastLoadForAccount=this.nullToNone(r(o.localStorage("accounts_loaded."+this.accountKey))))},t.prototype.lastLoadForMedia=function(){return this._lastLoadForMedia||(this._lastLoadForMedia=this.nullToNone(r(o.localStorage("medias_loaded."+this.hashedId))))},t.prototype.lastPlayForAccount=function(){return this._lastPlayForAccount||(this._lastPlayForAccount=this.nullToNone(r(o.localStorage("accounts_played."+this.accountKey))))},t.prototype.lastPlayForMedia=function(){return this._lastPlayForMedia||(this._lastPlayForMedia=this.nullToNone(r(o.localStorage("medias_played."+this.hashedId))))},t.prototype.lastRecordingOfActionForMedia=function(t){return this.nullToNone(r(o.localStorage("action_recorded."+this.hashedId+"."+t)))},t.prototype.isNewLead=function(){return!o.localStorage(n)},t.prototype.setConvertedLead=function(){return this.logFn("recordConvertedLead"),o.localStorage(n,!0)},t.prototype.recordLastActionForMedia=function(t){return o.localStorage("action_recorded."+this.hashedId+"."+t,(new Date).getTime())},t.prototype.recordLoad=function(){return this.logFn("recordLoad"),o.localStorage("accounts_loaded."+this.accountKey,(new Date).getTime()),o.localStorage("medias_loaded."+this.hashedId,(new Date).getTime())},t.prototype.recordPlay=function(){return this.logFn("recordPlay"),o.localStorage("accounts_played."+this.accountKey,(new Date).getTime()),o.localStorage("medias_played."+this.hashedId,(new Date).getTime())},t.prototype._saveVisitorVersion=function(t){if(null==t&&(t=1),null==o.localStorage("visitor_version"))return o.localStorage("visitor_version",t)},t.prototype.getVisitorVersion=function(){return o.localStorage("visitor_version")||(this._saveVisitorVersion(0),0)},t.prototype.clearActionRecordings=function(){return["chapterImpression","chapterConversion","shareImpression","shareConversion"].forEach((t=this,function(e){return o.localStorage("action_recorded."+t.hashedId+"."+e,"",!0)}));var t},t}(),t.exports=s},(t,e,i)=>{var n=i(24),s=i(88),o=i(173),r=i(93),a=i(23);!function(t){t.remote||(t.remote={},t.remote.appHostname=a.Ni,t.remote.embedHost=n.cdnFastWistiaComHost,t.remote.externalEmbedHost=n.cdnFastWistiaNetHost,t.remote.appHost=n.appHost,t.remote.assetHost=n.deliveryHost,t.remote.media=r.j,t.cacheMedia=s.cacheMedia,t.uncacheMedia=s.uncacheMedia,t.mediaFromCache=s.mediaFromCache,t.remote.playlist=o.v)}(window.Wistia)},(t,e,i)=>{i.d(e,{v:()=>h});var n=i(25),s=i(24),o=i(20),r=i(70),a=i(79),l=i(1);null==l.Wistia._remotePlaylist&&(l.Wistia._remotePlaylist={});const h=(t,e)=>{const i=l.Wistia._remotePlaylist[t];if(i)(0,a.doTimeout)(`remote-playlist.${t}.${(0,r.h)()}`,(()=>{e(i)}));else{const i=`${(0,n.proto)()}//${(0,s.cdnFastWistiaComHost)()}/embed/playlists/${t}.json`;fetch(i).then((t=>t.json())).then((i=>{l.Wistia._remotePlaylist[t]=i,e(i)})).catch((()=>{o.ct.error(`Timed out fetching ${i}`)}))}}},(t,e,i)=>{var n=i(78),s=i(22),o=i(64),r=i(5);!function(t){t.Metrics||(t.Metrics={count:n.U9,sample:n.XM,send:n.tN,videoCount(t,e,i,n){return null==i&&(i=1),t.isInstantHls?.()&&this.videoSend(t,"count",`player/instant-hls/${e}`,i,n),this.videoSend(t,"count",e,i,n)},videoSample(t,e,i,n){return this.videoSend(t,"sample",e,i,n)},videoSend(e,i,n,a,l){return null==l&&(l={}),e.hasData?.((()=>{let h;const u=e.bandwidthTest?.().savedResult()||{};if(l=(0,s.merge)({location:location?.protocol?.length&&location?.hostname?.length?`${location.protocol}//${location.hostname}`:null,agent:navigator.userAgent,account_key:e._mediaData?.accountKey,at:e.time(),video_id:e.hashedId(),embed_type:e.playerType,duration:e.duration(),client_kbps:u.clientKbps,supports_hd:u.supportsHd,autoplay:!!e._attrs?.autoplay,in_iframe:top!==self,device_pixel_ratio:r.z.devicePixelRatio,window_width:(0,o.elemWidth)(window),window_height:(0,o.elemHeight)(window),video_width:e.videoWidth(),video_height:e.videoHeight(),visitor_key:e._tracker?.visitorKey(),event_key:e._tracker?.eventKe
163y(),event_time_delta:e._tracker?.timeDelta(),connection_type:this.connectionType(),version:9,channel:t.channelName},l),/romulus|html5|vulcan/.test(e.playerType)&&(l.errorState=e.elem()?.error),null!=e._cacheStatus&&(l.cache_status=e._cacheStatus),null!=e._assetServer&&(l.asset_server=e._assetServer),null!=e._cacheHit&&(l.cache_hit=e._cacheHit),e.inFullscreen&&(l.in_fullscreen=e.inFullscreen()),null!=e._substream?(l.substream=e._substream.index,l.adaptive=e._substream.adaptive,l.current_level=e._substream.currentLevel,l.all_level_names=e._substream.allLevelNames,h=e._substream.asset,l.hls_error_counts=e._substream.hlsErrorCounts()):(l.substream=null,l.adaptive=null,h=e.data?.asset),null!=h&&(l.asset_type=h.type,l.asset_slug=h.slug,l.bitrate=h.bitrate,l.asset_height=h.height,l.asset_width=h.width),e.videoElem?.buffered?.length>0&&(l.bufferedFrom0=e.videoElem.buffered.end(0)),null!=e._timeToFirstByte&&(l.time_to_first_byte=e._timeToFirstByte),l.buffered=null!=e.totalBuffered?e.totalBuffered():void 0,l.played=null!=e.totalPlayed?e.totalPlayed():void 0,this.send(i,n,a,l),e._mediaData&&e._mediaData.accountKey&&e._mediaData.accountSpecificMetrics)return this.send(i,`${e._mediaData.accountKey}/${n}`,a,l)}))},countEvent(t,e,i){return i||(i=e),null==this._private.countEventCallbacks[i]&&(this._private.countEventCallbacks[i]=this._private.mkCountEventCallback(e,i)),t.rebind(e,this._private.countEventCallbacks[i])},countEventOnce(t,e,i){return i||(i=e),null==this._private.countEventOnceCallbacks[i]&&(this._private.countEventOnceCallbacks[i]=this._private.mkCountEventOnceCallback(e,i)),t.rebind(e,this._private.countEventOnceCallbacks[i])},sampleEvent(t,e,i){return i||(i=e),null==this._private.sampleEventCallbacks[i]&&(this._private.sampleEventCallbacks[i]=this._private.mkSampleEventCallback(e,i)),t.rebind(e,this._private.sampleEventCallbacks[i])},countShowLoadingOnce(t){let e=-1;return t.bind("waiting",(i=>e<2&&i>=2?(this.videoCount(t,"player/show-loading/first",1),e=i,t.unbind):e=i))},countShowLoadingAll(t){let e=-1;return t.bind("waiting",(i=>(e<2&&i>=2&&(this.videoCount(t,"player/show-loading/all",1),this.embedTypeBuckets(t.embedElement).forEach((e=>{this.videoCount(t,`player/show-loading/all.${e}`,1)}))),e=i))),t.bind("done-waiting",(()=>e=-1))},countShowLoadingLongTimeOnce(t){let e=-1;return t.bind("waiting",(i=>e<5&&i>=5?(this.videoCount(t,"player/show-loading-long-time/first",1),e=i,t.unbind):e=i))},countShowLoadingLongTimeAll(t){let e=-1;return t.bind("waiting",(i=>(e<5&&i>=5&&this.videoCount(t,"player/show-loading-long-time/all",1),e=i))),t.bind("done-waiting",(()=>e=-1))},mobileBuckets:()=>t.detect.iphone||t.detect.android||/mobile/i.test(navigator.userAgent)?t.detect.iphone?["mobile","iphone"]:t.detect.android?["mobile","android"]:["mobile"]:[],embedTypeBuckets:t=>"WISTIA-PLAYER"===t?.tagName?!0===t?.useWebComponent?["web-component","translated-web-component"]:["web-component"]:["legacy"],connectionType(){const t=window.navigator.connection||window.navigator.mozConnection||window.navigator.webkitConnection;return t?.type},sumTimeRanges(t){if(null==t)return null;let e=0;for(let i=0,n=t.length,s=n>=0;s?i<n:i>n;s?i++:i--)e+=t.end(i)-t.start(i);return e},millisecondsSince:t=>(new Date).getTime()-t,_private:{countEventCallbacks:{},mkCountEventCallback:(e,i)=>function(n){return i||(i=e),t.Metrics.videoCount(this,`player/${i}`,n)},countEventOnceCallbacks:{},mkCountEventOnceCallback:(e,i)=>function(n){return i||(i=e),t.Metrics.videoCount(this,`player/${i}`,n),this.unbind},sampleEventCallbacks:{},mkSampleEventCallback:(e,i)=>function(n){return i||(i=e),t.Metrics.videoSample(this,`player/${i}`,n)}}})}(window.Wistia)},(t,e,i)=>{!function(t){var e,n,s,o,r,a,l,h,u,c,d,p;t.Plugin||(t.Plugin={}),t.Plugin.Base||(a=i(24),n=a.eV1HostWithPort,s=a.eV1Protocol,l=i(123),e=l.allow3rdParty,o=l.getSourceName,r=i(22).merge,h=i(21),d=h.wData,p=h.wRemoveData,c=i(70).h,u=i(68).AK,t.Plugin.Base=function(){function t(){this.pluginName="plugin",this.unbinds=[]}return t.prototype.instances=function(){return d(["plugins",this.pluginName,this.video.uuid])},t.prototype.register=function(t){var e;return(e=this.playlist||this.video||this.audio).plugins[this.uuid]=t,d(["plugins",this.pluginName,e.uuid,this.uuid],t)},t.prototype.remove=function(t){var e,i;if(null==t&&(t={}),(i=this.playlist||this.video||this.audio).plugins[this.uuid]=null,p(["plugins",this.pluginName,i.uuid,this.uuid]),null!=i&&null!=(e=i.unbinds)&&e.map((function(t){return"function"==typeof t?t():wlog.warn("trying to unbind a non-function",t)})),i.plugins[this.uuid]===this&&delete i.plugins[this.uuid],i.plugin[this.pluginName]===this)return delete i.plugin[this.pluginName]},t.prototype.fit=function(){},t.prototype.init=function(t,e){return null==t.plugins&&(t.plugins={}),(null!=t?t.playlist:void 0)?this.playlist=t:this.video=t,this.target=this.playlist||this.video||this.audio,this.options=e||{},this.params=r({},e||{}),this.uuid=this.params.uuid||c("wistia_","_plugin")},t}(),t.plugin||(t.plugin=function(e,i){var n,s,o,r,a,l;if((n=null!=(r=t.pluginQueue)&&null!=(a=r[e])?a.shift():void 0)&&(o=function(){var t,s;return n.video.info("initializing plugin",e,n.options),t=i(n.video._impl||n.video,n.options)||!0,n.video.plugin[e]=t,n.video._impl&&(n.video._impl.plugin[e]=t),n.video.trigger("plugininitialized",e),null!=(s=n.video._pluginStopGos)&&"function"==typeof s[e]?s[e](!0,t):void 0},s=function(){return n.options.initBeforeHasData?o():n.video.hasData(o)},!0!==n.options.initBeforeHasData&&(null!=(l=n.video)?l.looksDown():void 0)?(n.video.notice('Wistia.plugin: delaying initialization of plugin until "up"',e,n.options),n.video.bind("up",(function(){return s(),this.unbind}))):n.video._implVersion===n.implVersion?s():n.video.notice("Wistia.plugin impl changed, ignoring initialization",e,n.options)),!t.plugin[e])return t.plugin[e]=i},t.plugin._prefetched={},t.plugin._inject=function(e,i,r){var a,l,h;if(null==r&&(r={}),!1!==r.on)return l=o(i),a=s()+"//"+n()+"/assets/external/"+l+".js",h=[{name:i,options:r,src:Object.hasOwn(r,"src")&&r.src&&t.plugin._allow3rdParty(e.options)?r.src:a,async:!0}],t.plugin._setFnForDefinedPlugins(e,h),t.plugin._execQueue(e,h)},t.plugin._allow3rdParty=function(t){return e(t)},t.plugin._setFnForDefinedPlugins=function(e,i){var n,s,o,r;for(o=[],n=0,s=i.length;n<s;n++)r=i[n],t.plugin[r.name]&&o.push(function(i){return i.fn=function(){var n;return n=function(){var n,s,o;if(!e.plugin[i.name])return s=t.plugin[i.name](e._impl||e,i.options)||!0,e.plugin[i.name]=s,e._impl&&(e._impl.plugin[i.name]=s,e.trigger("plugininitialized",i.name)),null!=(o=e._pluginStopGos)&&"function"==typeof o[n=i.name]?o[n](!0,s):void 0},i.options.initBeforeHasData?n():e.hasData(n)},i.async=!1}(r));return o},t.plugin._queueUndefinedPlugins=function(e,i){var n,s,o,r,a,l;for(null==t.pluginQueue&&(t.pluginQueue={}),a=[],n=0,s=i.length;n<s;n++)(r=i[n]).subScripts?a.push(function(){var i,n,s,a;for(a=[],i=0,n=(s=r.subScripts).length;i<n;i++)l=s[i],o=l.name||l.src,null==t.pluginQueue[o]&&(t.pluginQueue[o]=[]),r.fn?a.push(void 0):a.push(t.pluginQueue[o].push({video:e,implVersion:e._implVersion,options:l.options}));return a}()):(o=r.name||r.src,null==t.pluginQueue[o]&&(t.pluginQueue[o]=[]),r.fn?a.push(void 0):a.push(t.pluginQueue[o].push({video:e,implVersion:e._implVersion,options:r.options})));return a},t.plugin._execQueue=function(e,i,n){return t.plugin._queueUndefinedPlugins(e,i),u(i).then(n)},t.plugin._init=function(e,i,n){var s,o;return o=e.charAt(0).toUpperCase()+e.substr(1),(s=new(0,t.Plugin[o])).init(i,n),s}
163,t.plugin._instance=function(t,e,i){return d(["plugins",t,e.uuid,i])},t.plugin._remove=function(e,i,n){var s;null!=(s=t.plugin._instance(e,i,n))&&s.remove()},t.plugin._isActive=function(e,i,n){return!!t.plugin._instance(e,i,n)},t.plugin._defined=function(){var e,i,n,s;for(e in n=[],i=t.plugin)s=i[e],/^_/.test(e)||n.push({name:e,options:s});return n}))}(Wistia)},(t,e,i)=>{var n=i(85);!function(t){t.localStorage||(t.localStorage=n.Qy,t.removeLocalStorage=n.$1)}(window.Wistia)},(t,e,i)=>{var n=i(64),s=i(26),o=i(70),r=i(123),a=i(144);!function(t){if(t.gridify)return;t.gridifyCss=function(t){return t.replace(/_grid$/,""),`#${t}_wrapper{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;font-family:Arial,sans-serif;font-size:14px;height:100%;position:relative;text-align:left;width:100%;}\n#${t}_wrapper *{-moz-box-sizing:content-box;-webkit-box-sizing:content-box;box-sizing:content-box;}\n#${t}_above{position:relative;}\n#${t}_main{display:block;height:100%;position:relative;}\n#${t}_behind{height:100%;left:0;position:absolute;top:0;width:100%;}\n#${t}_center{height:100%;overflow:hidden;position:relative;width:100%;}\n#${t}_front{display:none;height:100%;left:0;position:absolute;top:0;width:100%;}\n#${t}_top_inside{position:absolute;left:0;top:0;width:100%;}\n#${t}_top{width:100%;position:absolute;bottom:0;left:0;}\n#${t}_bottom_inside{position:absolute;left:0;bottom:0;width:100%;}\n#${t}_bottom{width:100%;position:absolute;top:0;left:0;}\n#${t}_left_inside{height:100%;position:absolute;left:0;top:0;}\n#${t}_left{height:100%;position:absolute;right:0;top:0;}\n#${t}_right_inside{height:100%;right:0;position:absolute;top:0;}\n#${t}_right{height:100%;left:0;position:absolute;top:0;}\n#${t}_below{position:relative;}`},t.gridifyHtml=t=>({id:`${t}_wrapper`,childNodes:[{id:`${t}_above`},{id:`${t}_main`,childNodes:[{id:`${t}_behind`},{id:`${t}_center`},{id:`${t}_front`},{id:`${t}_top_inside`,childNodes:{id:`${t}_top`}},{id:`${t}_bottom_inside`,childNodes:{id:`${t}_bottom`}},{id:`${t}_left_inside`,childNodes:{id:`${t}_left`}},{id:`${t}_right_inside`,childNodes:{id:`${t}_right`}}]},{id:`${t}_below`}]}),t.createGrid=function(i,n){const s=t.createGridSkeleton();t.initGridEventListeners(s);for(let t in s)"STYLE"!==s[t].nodeName&&!0!==i._opts._inLegacyPlaylist&&e(s[t],i);return s};const e=(e,n)=>(e.originalAppendChild=e.appendChild,e.originalAppend=e.append,e.originalPrepend=e.prepend,e.appendChild=(s,o)=>(null==o&&(o={}),!0!==o.wistiaGridCaller&&!0!==t._hasTrackedGrid&&(t._hasTrackedGrid=!0,i(n)),e.originalAppendChild(s)),e.append=(s,o)=>(null==o&&(o={}),!0!==o.wistiaGridCaller&&!0!==t._hasTrackedGrid&&(t._hasTrackedGrid=!0,i(n)),e.originalAppend(s)),e.prepend=(s,o)=>(null==o&&(o={}),!0!==o.wistiaGridCaller&&!0!==t._hasTrackedGrid&&(t._hasTrackedGrid=!0,i(n)),e.originalPrepend(s))),i=function(t){const e=(0,r.pluginScriptsToLoad)(t._mediaData,t._opts);return(0,s.countMetric)("custom-plugin-grid-append",1,{hashedId:t._mediaData.hashedId,href:window.location.href,plugins:(0,r.getPluginsNotInList)(e)})};t.createGridSkeleton=function(){const e=(0,o.h)("wistia_grid_"),i=(0,n.elemFromObject)(t.gridifyHtml(e)),s=(0,n.addInlineCss)(i,t.gridifyCss(e)),r={};r.css=s,r.root=i,(0,n.elemStyle)(i,{display:"none"}),(0,n.elemAppend)(document.body,i);const a=["wrapper","main","above","below","top","right","bottom","left","top_inside","right_inside","bottom_inside","left_inside","front","center","behind"];for(let t of Array.from(a))r[t]=document.getElementById(`${e}_${t}`);return(0,n.elemRemove)(i),(0,n.elemStyle)(i,{display:"block"}),r},t.initGridEventListeners=t=>t.center.addEventListener("scroll",(()=>{t.center.scrollTop=0,t.center.scrollLeft=0})),t.gridify=function(e,i){const s={},o=`${i.id}_grid`;i.innerHTML=(0,a.J)(t.gridifyHtml(o));for(let t of["wrapper","main","above","below","top","right","bottom","left","top_inside","right_inside","bottom_inside","left_inside","front","center","behind"])s[t]=document.getElementById(`${o}_${t}`);return(0,n.addInlineCss)(s.wrapper,t.gridifyCss(o)),s.wrapper.style.height="100%",s.main.style.width="100%",s},t.isGridElem=function(t,e){for(let i in t)if(e===t[i])return!0;return!1},t.grid={},t.grid.allNodesHidden=function(t){if(0===t.length)return!0;for(let e of Array.from(t))if(e.style&&"none"!==e.style.display)return!1;return!0},t.grid.zeroEmptySections=e=>(()=>{const i=[];for(let n of["top","bottom","left","right","above","below"]){let s=e.grid[n];s.childNodes.length?t.grid.allNodesHidden(s.childNodes)?(s.style.height="0px",s.style.fontSize="0px",s.style.lineHeight="0px",
163i.push(s.isEmpty=!0)):(s.style.height="",s.style.fontSize="",i.push(s.style.lineHeight="")):(s.appendChild(document.createTextNode(" "),{wistiaGridCaller:!0}),s.style.height="0px",s.style.fontSize="0px",s.style.lineHeight="0px",i.push(s.isEmpty=!0))}return i})(),t.grid.wrapperHeight=function(t){const{wrapper:e}=t.grid;return(0,n.elemHeight)(e)},t.grid.wrapperWidth=function(t){const{wrapper:e}=t.grid;return(0,n.elemWidth)(e)}}(window.Wistia)},(t,e,i)=>{var n=[].slice;!function(t){var e,s,o,r,a,l,h,u,c;if(h=i(64),r=h.elemRebind,a=h.elemUnbind,o=i(96).$,s=i(26).countMetric,t.iframeInit||(t.iframeInit=function(t,e){return o("assets/external/insideIframe.js").then((function(i){return i.iframeInit(t,e)}))}),!t.IframeApiProxy){for(l in e=function(){function t(t){this.iframe=t,this.loadIframeApi()}return t.prototype.loadIframeApi=function(){return new Promise((function(t){return setTimeout((function(){return o("assets/external/iframeApi.js").then((e=this,function(){return e._loaded=!0,t()}));var e}),0)}))},t.prototype.proxyFn=function(){var t,e,i,o;return e=arguments[0],t=2<=arguments.length?n.call(arguments,1):[],s("player/iframeApiProxy-praxyfn",1,{methodName:e}),this._loaded?(i=this.iframe.wistiaApi)[e].apply(i,t):(this.loadIframeApi().then((o=this,function(){var i;if(o.iframe.wistiaApi!==o)return(i=o.iframe.wistiaApi)[e].apply(i,t)})),this)},t.prototype._hasImpl=function(){var t;return t=1<=arguments.length?n.call(arguments,0):[],this.proxyFn.apply(this,["_hasImpl"].concat(n.call(t)))},t.prototype.hasData=function(){var t;return t=1<=arguments.length?n.call(arguments,0):[],this.proxyFn.apply(this,["hasData"].concat(n.call(t)))},t.prototype.embedded=function(){var t;return t=1<=arguments.length?n.call(arguments,0):[],this.proxyFn.apply(this,["embedded"].concat(n.call(t)))},t.prototype.ready=function(){var t;return t=1<=arguments.length?n.call(arguments,0):[],this.proxyFn.apply(this,["ready"].concat(n.call(t)))},t.prototype.up=function(){var t;return t=1<=arguments.length?n.call(arguments,0):[],this.proxyFn.apply(this,["up"].concat(n.call(t)))},t.prototype.down=function(){return this.proxyFn.apply(this,["down"].concat(n.call(args)))},t}(),u=t.PublicApi.prototype)c=u[l],e.prototype[l]||"function"!=typeof c||function(t){e.prototype[t]=function(){var e;return e=1<=arguments.length?n.call(arguments,0):[],this.proxyFn.apply(this,[t].concat(n.call(e)))}}(l);t.IframeApiProxy=e}null==t.maybeRequireIframeApi&&(t.maybeRequireIframeApi=function(){var t,i,n,s,o;if((o=document.querySelectorAll("iframe.wistia_embed,iframe[name=wistia_embed],iframe.wistia_playlist,iframe[name=wistia_playlist]")).length>0){for(s=[],t=0,n=o.length;t<n;t++)(i=o[t]).wistiaApi?s.push(void 0):s.push(i.wistiaIframeApiProxy=i.wistiaApi=new e(i));return s}}),null==t.onIframePostMessage&&(t.onIframePostMessage=function(t){if("new-wistia-iframe"===t.data)return o("assets/external/iframeApi.js"),a}),r(window,"message",t.onIframePostMessage),t.bind("ev1initend",(function(){return t.maybeRequireIframeApi(),r(window,"message",t.onIframePostMessage)})),t.bind("ev1destroystart",(function(){return a(window,"message",t.onIframePostMessage)}))}(Wistia)},(t,e,i)=>{var n=i(12),s=i(11),o=i(148),r=i(19),a=i(117);!function(t){if(t.VisitorKey)return;const e="__distillery";(0,n.PD)("visitortrackingchange",((e,i)=>{for(let t of Array.from((0,r.bp)()))t._postDownVisitorTrackingEnabled?.();if(t.visitorKey){if(!(0,s.isVisitorTrackingEnabled)())return t.visitorKey.unpersist(),t._destructors.destroyMux?.();if(t.visitorKey.value())return t.visitorKey.persist(t.visitorKey.value())}})),t.VisitorKey=class{constructor(){this.ready=this.ready.bind(this),this.unbinds=[],setTimeout((()=>this.unbinds.push((0,a.onFindApiHandle)({matcher:a.ALL_API_HANDLES_KEY,functionToRun:t=>t.hasData((()=>(t.iframe||!0!==t._mediaData?.privacyMode||this.unpersist(),this.ready())))}))),0)}ready(){return this._readyPromise||(this._readyPromise=new Promise((e=>{this.savedValue()||this.persist(t.VisitorKey.generate()),e()}))),this._readyPromise}reinitialize(){return this.destroy(),this.unbinds=[],this._readyPromise=null,this.ready()}persist(i){if(t.VisitorKey.isValid(i)){if(this.info?.("@persist",i),this._value=i,(0,s.isVisitorTrackingEnabled)())return!0!==window.wistiaDisableCookies&&this.localStorageValue()!==this._value?t.localStorage(e,this._value):void 0}else this.error(new Error(`Attempted to persist invalid visitor key '${i}'`))}unpersist(){return this.clearFromCurrentDomain()}clear(){return this.info?.("clear"),this.unpersist(),this._value=null}clearFromCurrentDomain(){return t.removeLocalStorage(e,null)}value(){let e=this._value||this.savedValue();return e||(e=t.VisitorKey.generate(),this.persist(e)),e}savedValue(){if((0,s.isVisitorTrackingEnabled)())return this.localStorageValue()}localStorageValue(){return t.localStorage(e)}isValid(){return t.VisitorKey.isValid(this.value())}destroy(){for(let t of Array.from(this.unbinds))t();return this.unbinds=[]}static isValid(t){return t?.length>25&&/^[a-z0-9_\-.]+$/i.test(t)}static generate(){return(0,o.b)(`${Date.now().toString().substring(0,7)}_`)}},t.logHelpers&&t.mixin(t.VisitorKey.prototype,t.logHelpers),t._initializer
163s.initVisitorKey=()=>t.visitorKey=new t.VisitorKey,t._destructors.destroyVisitorKey=function(){return t.visitorKey?.destroy(),t.visitorKey=null}}(window.Wistia)},(t,e,i)=>{var n=i(117);(t=>{t._initializers.initSpecificTime=function(){try{if(parent!==self)return;const e=location.href.match(/[?&]wtime=([\dhms]*)/),i=location.href.match(/[?&]wvideo(id)?=([^&]+)/)?.[2];if(!(e?.length>=2))return;if(t._specificTimeInitiated)return;t._specificTimeInitiated=!0;let s=!1;return(0,n.onFindApiHandle)({matcher:n.ALL_API_HANDLES_KEY,shouldOnlyRunWhenVisible:!0,functionToRun:t=>{if(!i||t.hashedId()===i)return s?void 0:(s=!0,t.embedded((()=>t.popover?.show())),t.time(e[1]).play())}})}catch(e){return t.error(e),t._specificTimeInitiated=!1}}})(window.Wistia)},(t,e,i)=>{var n=i(182);!function(t){t.Interpolation||(t.Interpolation=n.l)}(window.Wistia)},(t,e,i)=>{i.d(e,{l:()=>n});class n{constructor(...t){const e=t[0],{seedRange:i,seedFunction:s,seedStart:o}=e,r=e.outputStart,a=null!=r?r:0,l=e.outputEnd,h=null!=l?l:1,u=e.easing,c=null!=u?u:n.linear;
163if(null==i)throw new Error("Must provide seedRange argument");if(null!=s&&"function"!=typeof s)throw new Error("Given seed is not a function");if("function"!=typeof c)throw new Error(`Invalid easing function given: ${this.easing}`);this._seedRange=i,this._seedFunction=s||(()=>(new Date).getTime()),this._outputStart=a,this._outputEnd=h,this._easing=c,this._seedStart=o?.()||this.seed()}seed(){return this.seedFunction()()}seedStart(){return this._seedStart}seedRange(){return this._valOrFn(this._seedRange)}seedFunction(){return this._seedFunction}outputStart(){return this._valOrFn(this._outputStart)}outputEnd(){return this._valOrFn(this._outputEnd)}easing(){return this._valOrFn(this._easing)}value(){return this._easing(...Array.from(this.easingArgs()||[]))}atEnd(){return 1===this.ratio()}atStart(){return 0===this.ratio()}easingArgs(){return[this.c(),this.t(),this.d(),this.b()]}seedDelta(){return this.seedRange()>0?Math.min(this.seedRange(),this.seed()-this.seedStart()):this.seedRange()<0?Math.max(this.seedRange(),this.seed()-this.seedStart()):0}ratio(){const t=this.seedRange();return 0===t?1:Math.max(0,Math.min(1,this.seedDelta()/t))}c(){return this.outputEnd()-this.outputStart()}t(){return this.seedDelta()}d(){return this.seedRange()}b(){return this.outputStart()}_valOrFn(t){return"function"==typeof t?t():t}static linear(t,e,i,n){return t*e/(i||1)+n}static easeInOut(t,e,i,n){return(e/=(i||1)/2)<1?t/2*e*e+n:-t/2*((e-=1)*(e-2)-1)+n}}},(t,e,i)=>
163{var n=i(64),s=i(96),o=i(117);(0,o.onFindApiHandleRunOnce)({matcher:o.ALL_API_HANDLES_KEY,functionToRun:t=>{t.hasData((()=>{(t=>{if(t._mediaData&&t._mediaData.integrations)for(let e in t._mediaData.integrations)if(t._mediaData.integrations[e])return!0;return!1})(t)&&(0,n.pageLoaded)((()=>{setTimeout((()=>{(0,s.$)("assets/external/allIntegrations.js").then((t=>{t.runIntegrationsSetup()}))}),1e3)}))}))}})},(t,e,i)=>{var n=i(117),s=i(185);const o=t=>Object.fromEntries(Object.keys((0,s.Jy)(t)).map((t=>[t,!0])));(0,n.onFindApiHandleRunOnce)({matcher:n.ALL_API_HANDLES_KEY,functionToRun:t=>{t.hasData((()=>{t._mediaData&&t._mediaData.tagManager&&(t=>{if(t.doNotTrack?.())return;const e=t._mediaData.integrations||{},i="true"===document.documentElement.dataset.wistiaTagManagerDetectOnly,n=!1!==e.marketo_v2_watch_events&&"false"!==e.marketo_v2_watch_events,r=(0,s.Kl)((()=>{t._wistiaTagManagerPending||(t._wistiaTagManagerPending=!0,(0,s.Qz)({config:i?o(e):(0,s.Jy)(e),onForeignIds:e=>{t.foreignData({...t.foreignData()||{},...e})}}).then((({release:e,track:i})=>{const s=n?((t,e)=>{const i=()=>`${t.name()??""}`;let n=!1;const s=()=>{n||(n=!0,e("play",{videoName:i()}))},o=t=>e("percentWatched",{videoName:i(),percent:String(100*t)}),r=(t,n)=>e("conversion",{videoName:i(),conversionData:`${n}`}),a=t=>e("clickedLink",{videoName:i(),link:t.link});return t.bind("play",s),t.bind("percentWatchedThreshold",o),t.bind("conversion",r),t.bind("conversion-link",a),t.bind("conversion-postRoll",a),()=>{t.unbind("play",s),t.unbind("percentWatchedThreshold",o),t.unbind("conversion",r),t.unbind("conversion-link",a),t.unbind("conversion-postRoll",a)}})(t,i):null;t._wistiaTagManagerRelease=()=>{s?.(),e()},t._wistiaTagManagerRemoved&&t._wistiaTagManagerRelease()})).catch((()=>{t._wistiaTagManagerPending=!1})))}));t.bind("beforeremove",(()=>{t._wistiaTagManagerRemoved=!0,r(),t._wistiaTagManagerRelease?.(),t._wistiaTagManagerRelease=null}))})(t)}))}})},(t,e,i)=>{i.d(e,{Jy:()=>h,Kl:()=>m,Qz:()=>f});var n=i(96),s=i(12),o=i(11),r=i(1),a=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const l={hubspot_v2:"hubspot_v2",marketo_v2:"marketo_v2",eloqua:"eloqua",klaviyo_v2:"klaviyo_v2",pardot_v2:"pardot_v2",active_campaign:"activecampaign"},h=t=>Object.fromEntries(Object.entries(l).filter((([e])=>a(t,e))).map((([e,i])=>[i,t[e]]))),u=()=>Boolean((0,o.consent)()),c=s.tJ,d=s.vs,p=()=>{},m=t=>{if(u())return t(),p;const e=()=>{u()&&(d("visitortrackingchange",e),t())};return c("visitortrackingchange",e),()=>d("visitortrackingchange",e)},g=()=>(r.Wistia._tagManager??={el:null,refs:0},r.Wistia._tagManager),f=async({config:t,onForeignIds:e})=>{await(0,n.$)("assets/external/tag-manager.js");const i=g();i.el&&!i.el.isConnected&&(i.el=null),i.el??=document.querySelector("wistia-tag-manager");const s=t=>{const{detail:i}=t,n=i?.foreignIds;void 0!==n&&e(n)};if(i.el){i.el.addEventListener("foreignidschange",s);const n=i.el.foreignIds;void 0!==n&&Object.keys(n).length>0&&e(n),i.el.config=(o=i.el.config??{},r=t,Object.entries(r).reduce(((t,[e,i])=>{const n=!0===t[e]&&"object"==typeof i;return a(t,e)&&!n?t:{...t,[e]:i}}),{...o}))}else{const e=document.createElement("wistia-tag-manager");e.addEventListener("foreignidschange",s),e.config=t,document.body.appendChild(e),i.el=e}var o,r;i.refs+=1;let l=!1;return{release:()=>{l||(l=!0,i.el?.removeEventListener("foreignidschange",s),i.refs-=1,i.refs<=0&&(i.el?.remove(),i.el=null,i.refs=0))},track:(t,e)=>{g().el?.track?.(t,e)}}}},(t,e,i)=>{var n;n=i(131).getDefaultTranslation,Wistia,Wistia.initializeOnce=function(){var t;return Wistia._initializers.initDetect(),Wistia._initializers.initWLog(),Wistia._initializers.initVisitorKey(),(null!=(t=Wistia._initializers)?t.initEventLoop:void 0)&&Wistia._initializers.initEventLoop(),Wistia._initializers.initFullscreenTriggers(),Wistia.trigger("ev1initonce"),performance.mark("player_init_start")},Wistia.initializeEveryTime=function(){var t,e,i,s;return Wistia.trigger("ev1initstart"),(null!=(t=Wistia._initializer
163s)?t.initEmbedShepherd:void 0)&&Wistia._initializers.initEmbedShepherd(),(null!=(e=Wistia._initializers)?e.initMux:void 0)&&Wistia._initializers.initMux(),(null!=(i=Wistia._initializers)?i.initAsyncEmbeds:void 0)&&Wistia._initializers.initAsyncEmbeds(),Wistia._initializers.initSpecificTime(),n(),null!=(s=Wistia.eventLoop)&&s.resync(),Wistia.trigger("ev1initend")},Wistia.destroy=function(){return Wistia.trigger("ev1destroystart"),Wistia._destructors.destroyAsyncEmbeds(),Wistia._destructors.destroyEmbedShepherd(),Wistia._destructors.destroyEmbedLinks(),Wistia._destructors.destroyFullscreenTriggers(),Wistia._destructors.destroyEventLoop(),Wistia._destructors.destroyVisitorKey(),Wistia._destructors.destroyWLog(),Wistia._destructors.destroyMux(),Wistia.trigger("ev1destroyend")},Wistia.destroyGlobals=function(){var t,e;for(t in window.Wistia=null,window.wistiaApi=null,window.wistiaDispatch=null,window.wistiaBindIframes=null,window.wistiaEmbeds=null,window._wistiaElemId=null,window.wistiaInitQueue=null,window.wistiaInit=null,window.wistiaEmbedShepherdReady=null,e=[],window)window[t],/^wistiajson/.test(t)?e.push(window[t]=null):e.push(void 0);return e},Wistia.reinitialize=function(){return Wistia.destroy(),Wistia.initializeOnce(),Wistia.initializeEveryTime()},Wistia._initialized||(Wistia._initialized=!0,Wistia.initializeOnce()),Wistia.initializeEveryTime()},(t,e,i)=>{i(188)},(t,e,i)=>{i(2);var n=i(166),s=i(80),o=i(189),r=i(77),a=i(9),l=i(64),h=i(22),u=i(79),c=i(65),d=i(96),p=i(199),m=i(1),g=(i(200),i(211),i(213),i(214),i(220),i(224),i(227),i(229),i(231),i(233),i(235),i(236),i(241),i(243),i(246),i(248),i(249),i(251),i(255),i(257),i(260)),f=i(262),y=i(263),_=i(264),v=i(265),b=i(266),w=i(267),E=i(268),C=i(269),T=i(284),S=i(285),P=i(210),A=i(286),L=i(24),I=i(16),M=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};const D=(0,c.o1)();if(!m.Wistia.VulcanV2Player){const t=m.Wistia.Video;class e extends t{constructor(t){super(t),this.playerType="vulcan-v2",this._enabledControlOverrides={},this._visibilityRequests={},this._inputContextsToEnter=[],this._playerContext=[],this._overlays={},this._initialized=this.setupBehaviors(),this._isKeyboardFocused=void 0,this._overlayCodePromise=null,this.setupTracking(),t._playlist&&t._playlist.length>1&&this.loadLastFrameCanvasControl(),this.on("playlistchange",(t=>{t.length>1&&this.loadLastFrameCanvasControl()}));const e=this.on("beforereplace",(()=>{e(),this.loadLastFrameCanvasControl()}));(0,s.P)((()=>{(0,d.$)("assets/external/playPauseLoadingControl.js").then((t=>{(0,p.X)(t.PlayPauseLoadingCircleControl)})),D.touchScreen&&!this.publicApi.isLiveMedia()&&(0,d.$)("assets/external/skipControls.js").then((t=>{(0,p.X)(t.SkipAheadControl),(0,p.X)(t.SkipBackControl)}))})),this._opts.techInfo&&(0,d.$)("assets/external/vulcanV2Player/video/controls/TechInfoControl/TechInfoControl.js").then((t=>{(0,p.X)(t.TechInfoControl)})),this._opts.spherical&&(0,d.$)("assets/external/vulcanV2Player/video/controls/SphericalControl/SphericalControl.js").then((t=>{(0,p.X)(t.SphericalControl)})),this.publicApi.isLiveMedia()&&(0,d.$)("assets/external/captions-v3.js").then((t=>{(0,p.X)(t.CaptionsV3Control)}))}loadLastFrameCanvasControl(){this.ready((()=>{(0,d.$)("assets/external/vulcanV2Player/video/controls/LastFrameCanvasControl.js").then((t=>{(0,p.X)(t.LastFrameCanvasControl)}))}))}setupBehaviors(){return new Promise((t=>{this.addBehaviors([g.A,f.A,y.A,_.A,T.B,v.A,b.O,w.A]),this.publicApi.isLiveMedia()||this.addBehavior(E.A),"Audio"===this._mediaData.type?Promise.all([(0,d.$)("assets/external/vulcanV2Player/audio/AudioUIBehavior.js"),(0,d.$)("assets/external/interFontFace.js")]).then((([e])=>{this.addBehavior(e.AudioUIBehavior),t()})):(this.addBehavior(C.Ay),t())}))}removeBehaviors(){for(let t in this.behaviors)M(this.behaviors,t)&&this.removeBehavior(t)}setupTracking(){this.publicApi.isLiveMedia()?(this._tracker=new o.N(this.publicApi),this._tracker.monitor()):(this._tracker=new m.Wistia.VideoTracker2(this.publicApi),this._tracker.visitorKey(),this._tracker.monitor())}elem(){return this.engine?this.engine.getMediaElement():(this._dummyVideo||(this._dummyVideo=document.createElement("video")),this._dummyVideo)}embed(t){return this._initialized.then((()=>t instanceof e?this.behaviors.embed.embed(t):this.behaviors.embed.embed()))}
163eventKey(){return this._tracker.eventKey()}renderUI(){return this.ui||(this.ui=this.behaviors.ui),(this.ui.lastRenderPromise||Promise.resolve()).then((()=>this.ui.render()))}rebuild(){return this.behaviors.embed.rebuild(this)}onDimensionChangeSafe(){if(this.grid)try{this.onWidthChange(this.videoWidth()),this.onHeightChange(this.videoHeight())}catch(t){this.error(t)}}transferStateFrom(t){this.behaviors.fullscreen&&this.behaviors.fullscreen.transferStateFrom(t),this.isKeyboardFocused(t.isKeyboardFocused()),!0!==this.publicApi._opts.skipFocus&&this.focus()}bestEngine(){return r.bestUsableEngine(this.publicApi.judyCtx(),this._mediaData,this._opts)}initEngineAfterEmbedded(){this.embedded((()=>this.behaviors.embed.initializeEngine()))}setupBindings(){this.setupVideoBindings()}setupVideoBindings(){this.publicApi.bind("click",(()=>{this.initEngineAfterEmbedded()})),this.publicApi.bind("mouseenter",(()=>{this.initEngineAfterEmbedded()})),this.publicApi.bind("focusin",(()=>{this.initEngineAfterEmbedded()})),this.bind("widthchange",(t=>{this.onWidthChange(t)})),this.bind("heightchange",(t=>{this.onHeightChange(t)}))}addBehavior(t,e=!0){null==this.behaviors&&(this.behaviors={});const i=t.handle;if(i){this.behaviors[i]&&(this.behaviors[i].destroy(),this.behaviors[i]=null);try{const n=this.behaviors[i]=new t(this);return e&&n.init(),n}catch(t){setTimeout((()=>{throw t}),0),delete this.behaviors[i]}}else this.error("No handle defined for",t)}addBehaviors(t){const e=t.map((t=>this.addBehavior(t,!1)));return e.forEach((t=>{try{t.init()}catch(e){this.error("error in init for",t.constructor.handle,"behavior"),setTimeout((()=>{throw e}),0)}})),e}removeBehavior(t){this.behaviors[t]&&(this.behaviors[t].destroy(),delete this.behaviors[t])}isMediaDataUsingEmbedSsl(){for(let t=0;t<this._mediaData.assets.length;t++){const e=this._mediaData.assets[t];if(e.url&&/embed-ssl\.wistia\.com/.test(e.url))return!0}return!1}onWidthChange(t){this.engine&&this.engine.onWidthChange(t)}onHeightChange(t){this.engine&&this.engine.onHeightChange(t)}controlScaling(t){if(null==t)return this._controlScaling||"auto";{const e=this._controlScaling;this._controlScaling=t,e!==t&&this.trigger("controlscalingchange",t,e)}}audioDescriptionControlEnabled(t){this._attrs.audioDescriptionControl=t,this.setControlEnabled("audioDescriptionButton",t)}bigPlayButtonEnabled(t){super.bigPlayButtonEnabled(t),this.setControlEnabled("bigPlayButton",t)}bigPlayButtonTimeEnabled(t){this.isControlEnabled("bigPlayButton")&&this.ui.controls.bigPlayButton.setTimeEnabled(t)}playPauseControlEnabled(t){super.playPauseControlEnabled(t),this.setControlEnabled("smallPlayButton",t)}playbarControlEnabled(t){super.playbarControlEnabled(t),this.setControlEnabled("playbar",t)}settingsControlEnabled(t){super.settingsControlEnabled(t),this.setControlEnabled("settingsButton",t)}playbackRateControlEnabled(t){this.isControlEnabled("settingsButton")&&this.ui.controls.settingsButton.setPlaybackRateEnabled(t)}playPauseNotifierEnabled(t){super.playPauseNotifierEnabled(t),this.setControlEnabled("playPauseNotifier",t)}qualityControlEnabled(t){this.isControlEnabled("settingsButton")&&this.ui.controls.settingsButton.setQualityEnabled(t)}volumeControlEnabled(t){super.volumeControlEnabled(t),this.setControlEnabled("volumeButton",t)}fullscreenControlEnabled(t){super.fullscreenControlEnabled(t),this.setControlEnabled("fullscreenControl",t)}hideControls(){return this.ui.releaseControls("showControls")}showControls(){return this.requestControls("showControls",4e3)}requestChromeless(t,e){return this.requestControls(t,e,!1)}releaseChromeless(t){return this.releaseControls(t)}requestControls(t,e,i=!0){return this._visibilityRequests[t]=i,null!=e&&(0,u.doTimeout)(`${this.uuid}.${t}.release_controls`,(()=>{this.releaseControls(t)}),e),this.ui?.maybeToggleControls()}releaseControls(t){return this._visibilityRequests[t]=null,this.ui?.maybeToggleControls()}fit(){super.fit(),this.embedded((()=>{}))}getBuffered(){if(!this.engine)return[];if(this.engine.activeBufferRange()){const[t,e]=this.engine.activeBufferRange();return[{start:t,end:e}]}return[]}rangeBuffered(){this.engine.activeBufferRange()}timeBuffered(){const t=this.rangeBuffered();return t?t[1]-t[0]:0}totalBuffered(){return this.engine?this.engine.totalBuffered():0}totalPlayed(){return this.engine?this.engine.totalPlayed():0}sequentialBufferedRange(){return this.engine?this.engine.sequentialBufferedRange():[0,0]}requestFullscreen(){return this.behaviors.fullscreen.requestFullscreen()}cancelFullscreen(){return this.behaviors.fullscreen.cancelFullscreen()}inFullscreen(){return this.behaviors.fullscreen?.inFullscreen()}stopStreaming(){this.info("stopStreaming"),this.engine&&this.engine.stopStreaming()}cleanup(){this.info("cleanup"),this.removeBehaviors()}getVideoQuality(){return this.engine?this.engine.getCurrentQuality():"auto"}setVideoQuality(t="auto"){return new Promise((e=>{this.info("videoQuality",t),this.initEngineAfterEmbedded(),this.ready((()=>{e(this.engine.changeQuality(t,"playing"===this.state()))}
163))}))}changeAudioTrack(t){null!=t&&(this.initEngineAfterEmbedded(),this.info("changeAudioTrack",t),this.commandQueueOpen.synchronize((e=>{this.ready((()=>{this.engine.changeAudioTrack(t).then(e)}))})))}async getAudioTracks(){const t=this.bestEngine();return this.engine?this.engine.getAudioTracks():t===r.HLS_ENGINE_PATH||t===r.NATIVE_HLS_ENGINE_PATH?Promise.resolve((0,P.DK)((0,P.Wu)(this._mediaData.assets))):Promise.resolve([])}async getCurrentAudioTrack(){return this.engine?this.engine.getCurrentAudioTrack():{autoselect:!0,bitrate:0,default:!0,forced:!1,groupId:"audio",id:0,lang:void 0,name:"Off",label:"Off",isSelected:!0,enabled:!0,type:"AUDIO",url:""}}selectedQuality(){return this.engine?this.engine.selectedQuality():"auto"}selectableQualities(){return this.engine?this.engine.selectableQualities():["auto"]}stillUrl(t){return t=(0,h.merge)({playButton:!1},t),super.stillUrl(t)}play(){this.suppressPlay()||this.trigger("playcalled"),this.initEngineAfterEmbedded();const t=(0,l.inUserEventContext)()&&!this.ready();this.info("play");const e=()=>{this._isPlayPending=!1,this._lastPlayType=void 0,this._lastPlayRejectedAt=Date.now(),this.trigger("playrejected",this.lastPlayInfo())};return this.publicApi.isLiveMedia()&&!1===this.ready()?(e(),console.log("The call to play() failed likely because the livestream media was not yet ready. Try calling play() in an onReady event instead."),Promise.reject()):this.suppressPlay()?Promise.resolve():(this._isPlayPending=!0,this._lastPlayType=void 0,this._lastPlaySource=(0,l.currentEventSource)(),this._lastPlayIssuedAt=Date.now(),this._lastPlayResolvedAt=null,this._lastPlayRejectedAt=null,this.trigger("playpending",this.lastPlayInfo()),new Promise(((i,n)=>{this.ready((()=>{this._calledPlay=!0;const s={};t&&!1===this._attrs.silentAutoplay&&(s.silentAutoplay="allow",this.trigger("clicked-play-before-ready")),m.Wistia.detect.ios.version&&m.Wistia.detect.ios.version<10.1&&!(0,l.inUserEventContext)()&&!this.engine.isInitializingFromUnmuted()&&(this.notice("Play rejected because not in user context."),e(),n()),this.engine.play(s).then((t=>{this._isPlayPending=!1,this._lastPlayType=t,this._lastPlayResolvedAt=Date.now(),"play-silently"!==t||this._inSilentPlaybackMode||(this._inSilentPlaybackMode=!0,this.trigger("silentplaybackmodechange",!0),this.embedElement.dispatchEvent(new CustomEvent("silent-playback-mode-change",{detail:{isInSilentPlaybackMode:!0}}))),i()})).catch((t=>{this.notice(t),e(),n()}))}))})))}pause(){return this.info("pause"),this.trigger("receivepause"),this.initEngineAfterEmbedded(),this._isPausePending=!1,this._lastPauseSource=(0,l.currentEventSource)(),this._lastPauseIssuedAt=Date.now(),new Promise((t=>{this.ready()&&(this.engine.pause(),this._isPausePending=!1,t())}))}time(t,e){return null!=t?(this.info("time",t),this._lastSeekSource=(0,l.currentEventSource)(),this._lastSeekIssuedAt=Date.now(),"beforeplay"===this.state()&&(this._startPosition=t),this.initEngineAfterEmbedded(),new Promise((i=>{"beforeplay"===this.state()&&(this._lastPlaySource=(0,l.currentEventSource)(),this._lastPlayIssuedAt=Date.now(),this._isPlayPending=!0,this._lastPlayType=void 0,this._isPausePending=!0,this._lastPauseIssuedAt=this._lastPlayIssuedAt,this._lastPauseSource=this._lastPlaySource),t=Math.max(0,Math.min(this.duration(),t)),this.ready((()=>{if(e&&e.lazy&&"playing"!==this.state())return this.engine.seekOnPlay(t).then(this.behaviors.relayEvents.fireTimeChangedEventsIfChanged),this._isPlayPending=!1,this.embedElement.dispatchEvent(new CustomEvent("seeked",{detail:{lastSeekInfo:this.lastSeekInfo()}})),void i();"beforeplay"===this.state()?this._seekPromise=this.engine.seek(t,e).catch((e=>{this.notice(e),this.engine.seekOnPlay(t),this._isPlayPending=!1,this._lastPlayRejectedAt=Date.now(),this._lastPlayType=void 0,this.trigger("playrejected",this.lastPlayInfo()),this.embedElement.dispatchEvent(new CustomEvent("seeked",{detail:{lastSeekInfo:this.lastSeekInfo()}})),i()})).then((t=>{this.behaviors.relayEvents.fireTimeChangedEventsIfChanged(),this._isPlayPending=!1,this._isPausePending=!1,this._lastPlayType=t,"play-silently"===t&&(this._inSilentPlaybackMode=!0,this.trigger("silentplaybackmodechange",!0),this.embedElement.dispatchEvent(new CustomEvent("silent-playback-mode-change",{detail:{isInSilentPlaybackMode:!0}}
163))),this.embedElement.dispatchEvent(new CustomEvent("seeked",{detail:{lastSeekInfo:this.lastSeekInfo()}})),i()})):(this.info(`time ${t}: set immediately`),this.engine.setCurrentTime(t),this.behaviors.relayEvents.fireTimeChangedEventsIfChanged(),this.embedElement.dispatchEvent(new CustomEvent("seeked",{detail:{lastSeekInfo:this.lastSeekInfo()}})),i())}))}))):this.engine&&this.engine.getCurrentTime()||0}duration(){if(this.publicApi.isLiveMedia())return Infinity;if(this.engine)return this.engine.getDuration();const t=this._mediaData.duration,e={attributes:{cuts:this._opts.cuts,duration:t,trimEnd:this._opts.trimEnd,trimStart:this._opts.trimStart}};return(0,S.UA)(e)}volume(t){return null!=t&&(this.info("volume",t),t=Math.max(0,Math.min(1,t)),this.initEngineAfterEmbedded(),super.volumeAttr(t),this.ready()&&this.engine.setVolume(t)),this.engine?(super.volumeAttr(this.engine.getVolume()),this.engine.getVolume()):null!=this._attrs.volume?this._attrs.volume:1}mute(){this._muted=!0,this.ready()?this.engine.mute():this.ready((()=>{this.engine.mute()}))}unmute(){this._muted=!1,this.ready()&&(m.Wistia.detect.callingPlayRequiresEventContext?"playing"!==this.state()||(0,l.inUserEventContext)()?(this.engine.unmute(),this._inSilentPlaybackMode&&(this._inSilentPlaybackMode=!1,this.trigger("silentplaybackmodechange",!1),this.embedElement.dispatchEvent(new CustomEvent("silent-playback-mode-change",{detail:{isInSilentPlaybackMode:!1}})))):this.notice("could not unmute"):(this.engine.unmute(),this._inSilentPlaybackMode&&(this._inSilentPlaybackMode=!1,this.trigger("silentplaybackmodechange",!1),this.embedElement.dispatchEvent(new CustomEvent("silent-playback-mode-change",{detail:{isInSilentPlaybackMode:!1}})))))}isMuted(){return this.engine?this.engine.isMuted():null!=this._muted?this._muted:!!this._opts.muted}isResumableEnabled(){return!(!this.behaviors[E.A.handle]||null!=this._impl._startPosition||this.publicApi.isLiveMedia())&&(!0===this._attrs.resumable||!1!==this._attrs.resumable&&this.meetsAutoCriteraForResumable())}meetsAutoCriteraForResumable(){const t=this.isControlEnabled("playbar")||this._attrs.playBarControl;return!(0,n.w8)(this.duration())&&!this._attrs.autoplay&&!("loop"===this._attrs.endVideoBehavior)&&(t||this.isAudio())}setResumable(t){super.setResumable(t),!1===t?this.behaviors.resumable.destroyResumableKey():this.shouldResume()&&this.behaviors.resumable.initResumableKey(),this.behaviors.embed.updateStartPosition()}shouldResume(){return this.isResumableEnabled()&&(0,n.rQ)(this.publicApi.hashedId(),this.duration())}state(){if(this.engine){const t=this.engine.getPlaybackMode();return"beforeplay"===t&&this.behaviors.relayEvents?._hasPlayed?"paused":t}return"beforeplay"}setAriaLiveText(t){this.ui||(this.ui=this.behaviors.ui),this.ui.setAriaLiveText(t)}lastSeekInfo(){return{source:this._lastSeekSource,issuedAt:this._lastSeekIssuedAt}}lastPauseInfo(){return{source:this._lastPauseSource,issuedAt:this._lastPauseIssuedAt,isPending:!!this._isPausePending}}lastPlayInfo(){return{source:this._lastPlaySource,issuedAt:this._lastPlayIssuedAt,isPending:!!this._isPlayPending,playType:this._lastPlayType,resolvedAt:this._lastPlayResolvedAt,rejectedAt:this._lastPlayRejectedAt}}playerBackgroundColor(t){if(null!=t){this.info("playerBackgroundColor",t);const e=this._attrs.playerBackgroundColor;return this._attrs.playerBackgroundColor=new a.Q1(t).toHex(),e!==this._attrs.playerBackgroundColor&&this.trigger("playerbackgroundcolorchange",this._attrs.playerBackgroundColor,e),this}return this._attrs.playerBackgroundColor}preloadValue(){return this.behaviors.embed.preloadValue()}width(t,e={}){return null!=t?e.fullscreen||!this.inFullscreen()?super.width(t,e):(this.info(`notFullscreen => width(${t})`),this.notFullscreen((()=>{super.width(t,e)})),this):super.width(t,e)}height(t,e={}){return null!=t?e.fullscreen||!this.inFullscreen()?super.height(t,e):(this.info(`notFullscreen => height(${t})`),this.notFullscreen((()=>{super.height(t,e)})),this):super.height(t,e)}videoWidth(t,e={}){return null!=t?e.fullscreen||!this.inFullscreen()?super.videoWidth(t,e):(this.info(`notFullscreen => videoWidth(${t})`),this.notFullscreen((()=>{super.videoWidth(t,e)})),this):super.videoWidth(t,e)}videoHeight(t,e={}){return null!=t&&this.inFullscreen()?(this.info(`notFullscreen => videoHeight(${t})`),this.notFullscreen((()=>{super.videoHeight(t,e)})),this):super.videoHeight(t,e)}playbackRate(t){return null!=t?(this.initEngineAfterEmbedded(),this.ready((()=>{this.info("playbackRate",t);const e=parseFloat(t);if(isNaN(e))return this.error('playbackRate: Invalid argument "#{rate}" given. Expected a float.'),this;t=e;const i=this.engine.getPlaybackRate();this.engine.setPlaybackRate(t),this._eventLoopDuration=Math.max(50,Math.min(500,this._baseEventLoopDuration/t)),this._playbackRate=t,i!==this._playbackRate&&(this.trigger("playbackratechange",this._playbackRate),this.embedElement.dispatchEvent(new CustomEvent("rate-change",{detail:{playbackRate:this._playbackRate}})))}
163)),this):this.engine?this.engine.getPlaybackRate():1}trim(t){if(null==t)return this.engine.getTrim();this.embedded((()=>{(0,h.equalsDeep)(t,this.engine.getTrim())||(this.engine.setTrim(t),this.trigger("trimchange",t))}))}captureCurrentFrame(...t){return this.engine.captureCurrentFrame(...t)}getReportAProblemData(t){const e=t=>{try{return t()}catch(t){return`threw exception: ${t.message}`}},n=i(this.publicApi._opts),s=this.publicApi._optionSources();Object.keys(s).forEach((t=>{s[t]=i(s[t])}));const o={player_version:""!==L.TAGGED_VERSION&&L.TAGGED_VERSION.length>0?L.TAGGED_VERSION:A.H,media_key:this._mediaData.mediaKey,account_key:this._mediaData.accountKey,visitor_key:this.visitorKey(),event_key:this.eventKey(),referrer:document.referrer,page_url:location.href,extra_data:{first_1000_logs:m.Wistia.wlog.first1000LogLines(),last_1000_logs:m.Wistia.wlog.last1000LogLines(),browser_time:new Date,option_sources:e((()=>s)),embedOptions:n,active_plugins:e((()=>Object.keys(this.publicApi.plugin))),assets:this._mediaData.assets,selectedAsset:this.engine.selectedAsset(),attrs:this._attrs,judy:e((()=>r.report(this.publicApi.judyCtx(),this._mediaData,this._opts))),detect:m.Wistia.detect,engineDiagnostics:e((()=>this.engine.diagnosticData()))}};for(let t in this.publicApi.plugin){const e=this.publicApi.plugin[t];"function"==typeof e.getReportAProblemData&&(o.extra_data[t]=e.getReportAProblemData())}return o}isKeyboardFocused(t){return null!=t&&(this._isKeyboardFocused=t),this._isKeyboardFocused}setControlEnabled(t,e){const i=this.isControlEnabled(t)!==e;this._enabledControlOverrides[t]=e;const n=()=>{e?this.trigger("controlenabled",t):this.trigger("controldisabled",t)};return i?this.embedded()?this.renderUI().then(n):new Promise((t=>{this.embedded(t),n()})):this.ui&&this.ui.lastRenderPromise||Promise.resolve()}shouldControlMount(t){const e=m.Wistia._controlDefinitions[t];return!(e&&e.isVideoChrome&&this._opts.chromeless)&&(e&&e.shouldMount?e.shouldMount(this.publicApi):null!=e)}isControlDisabled(t){return!1===this._enabledControlOverrides[t]||!0!==this._enabledControlOverrides[t]&&!this.shouldControlMount(t)}isControlEnabled(t){return!this.isControlDisabled(t)}whenControlMounted(t){return new Promise((e=>{this.embedded((()=>{this.behaviors.ui.whenControlMounted(t).then(e)}))}))}getControl(t){return this.ui&&this.ui.controls&&this.ui.controls[t]}_doEnterInputContexts(){this._inputContextsToEnter=this._inputContextsToEnter.reverse().map((t=>{const e=this._playerContext.indexOf(t);return e>0&&this._playerContext.splice(e,1),(-1===e||e>0)&&(this._playerContext.unshift(t),this.trigger("inputcontextchange",t),this.embedElement.dispatchEvent(new CustomEvent(I.INPUT_CONTEXT_CHANGE_EVENT,{detail:{context:t}}))),t}))}enterInputContext(t){(0,u.clearTimeouts)(`${this.uuid}.enter_input_contexts`),this._inputContextsToEnter.push(t),(0,u.doTimeout)(`${this.uuid}.enter_input_contexts`,(()=>{this._doEnterInputContexts()}),10)}originalenterInputContext(t){const e=this._playerContext.indexOf(t);e>0&&this._playerContext.splice(e,1),(-1===e||e>0)&&(this._playerContext.unshift(t),this.trigger("inputcontextchange",t))}exitInputContext(t){const e=this.getInputContext(),i=this._playerContext.indexOf(t);if(-1===i)return;this._playerContext.splice(i,1);const n=this.getInputContext();e!==n&&(this.trigger("inputcontextchange",n),this.embedElement.dispatchEvent(new CustomEvent(I.INPUT_CONTEXT_CHANGE_EVENT,{detail:{context:n}})))}getInputContext(){return this._playerContext[0]}getMediaElement(){return this.engine&&this.engine.getMediaElement()}whenVideoElementInDom(){return this._whenVideoElementInDom?this._whenVideoElementInDom:this.engine?Promise.resolve(this.getMediaElement()):this._whenVideoElementInDom=new Promise((t=>{this.bind("engine-initialized",(()=>(t(this.getMediaElement()),this.unbind)))}))}inSilentPlaybackMode(){return!!this._inSilentPlaybackMode}checkForReady(){this.behaviors.embed.checkForReady()}loadOverlayCode(){return this._overlayCodePromise&&void 0!==this.behaviors.overlays||(this._overlayCodePromise=new Promise((t=>{this.behaviors.overlays?t():(0,d.$)("assets/external/vulcanV2Player/behaviors/OverlaysBehavior.js").then((e=>{this.behaviors.overlays||this.addBehavior(e.OverlaysBehavior),t()}))}))),this._overlayCodePromise}
163defineOverlay(t,e){return this.loadOverlayCode().then((()=>{this._overlays[t]=e}))}requestOverlay(t,e={shouldSuspendPlayer:!0}){return this.loadOverlayCode().then((()=>this.behaviors.overlays.requestOverlay(t,e)))}cancelOverlay(t){return this.loadOverlayCode().then((()=>this.behaviors.overlays.cancelOverlay(t)))}undefineOverlay(t){return this.loadOverlayCode().then((()=>this.behaviors.overlays.undefineOverlay(t)))}getOverlays(){return this._overlays}layout(t,e={}){if(null==t)return this._layout;this.whenVideoElementInDom().then((()=>{this.engine.setLayout(t,e)})),this._layout=t}focus(){this.isAudio()?this.whenControlMounted("audioBackgroundFocus").then((t=>{t.focus()})):this.whenControlMounted("backgroundFocus").then((t=>{t.focus()}))}_inNativeMode(){return this.behaviors.ui?.inNativeMode()||!1}_bandwidthTest(){return this.behaviors.bandwidthTest.bandwidthTest()}_focusNextVisibleElem(){return this.behaviors.ui.focusNextVisibleElem()}openTabMenu(){this.isAudio()&&this.ui.openTabMenu()}closeTabMenu(){this.isAudio()&&this.ui.closeTabMenu()}openChaptersTab(){this.isAudio()&&this.whenControlMounted("chaptersTab").then((t=>{this.ui.setSelectedTab(t.constructor.handle),this.openTabMenu()}))}openShareTab(){this.isAudio()&&this.whenControlMounted("shareTab").then((t=>{this.ui.setSelectedTab(t.constructor.handle),this.openTabMenu()}))}openTranscriptTab(){this.isAudio()&&this.whenControlMounted("transcriptTab").then((t=>{this.ui.setSelectedTab(t.constructor.handle),this.openTabMenu()}))}turnOffCaptions(){this.controls.captions?.turnOff(),this.controls.captionsButton?.matchMenuToSelectedTextTrack()}}m.Wistia.VulcanV2Player=e,m.Wistia.plugin("vulcanV2Player",((t,e)=>{m.Wistia.info("vulcanV2Player no-op plugin executed")}));const i=t=>{const e=(0,h.clone)(t);return e.container&&(e.container="removed to avoid circular"),e}}m.Wistia.VulcanV2Player},(t,e,i)=>{i.d(e,{N:()=>n.N});var n=i(190)},(t,e,i)=>{i.d(e,{N:()=>O});var n=i(148),s=i(64),o=i(11),r=i(191),a=i(192),l=i(196),h=i(197),u=i(198);function c(t,e,i){d(t,e),e.set(t,i)}function d(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function p(t,e){return t.get(g(t,e))}function m(t,e,i){return t.set(g(t,e),i),i}function g(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var f=new WeakMap,y=new WeakMap,_=new WeakMap,v=new WeakMap,b=new WeakMap,w=new WeakMap,E=new WeakMap,C=new WeakMap,T=new WeakMap,S=new WeakMap,P=new WeakMap,A=new WeakMap,L=new WeakMap,I=new WeakMap,M=new WeakMap,D=new WeakSet,k=new WeakMap;class O{constructor(t){var e;d(this,e=D),e.add(this),c(this,f,void 0),c(this,y,void 0),c(this,_,void 0),c(this,v,[]),c(this,b,{}),c(this,w,void 0),c(this,E,(()=>{const t=p(y,this)._mediaData;m(v,this,[]),m(_,this,new u.K(t.analyticsHost));const e=(0,l.u)(this.numericId,a.p.Scope.LIVE_EVENT,"load");m(w,this,a.p.load(p(f,this),{visitor_key:p(y,this).visitorKey(),session_key:(0,n.b)(`${Date.now().toString().substring(0,7)}_`),embed_url:p(y,this)._attrs.pageUrl,referrer_url:p(y,this)._attrs.referrerUrl,account_id:t.accountId,live_stream_event_channel_id:this.channelId(),live_stream_event_id:t.liveStreamEventDetails.id,live_series_id:t.liveStreamEventDetails.liveSeriesId??null,media_id:t.sourceMediaId??t.mediaId,media_type:"Video",player_type:"modern"},{first:e,scope:a.p.Scope.LIVE_EVENT,captions:this.captionsEnabled,live:this.isLive,email:this.email})),g(D,this,x).call(this,this.lastEvent,{force:!0}),document.addEventListener("visibilitychange",p(L,this)),"playing"===p(y,this).state()&&p(C,this).call(this),p(y,this).bind("play",p(C,this)),p(y,this).bind("pause",p(T,this)),p(y,this).bind("seek",p(P,this)),p(y,this).bind("end",p(A,this)),p(y,this).bind("annotation-impression",p(I,this)),p(y,this).bind("annotation-click",p(M,this)),p(b,this).flush=setInterval(p(k,this),5e3)})),c(this,C,(()=>{const t=(0,l.u)(this.numericId,a.p.Scope.LIVE_EVENT,a.p.Event.PLAY),e=this.captionsEnabled;m(w,this,p(w,this).play(Date.now(),p(y,this).time(),{first:t,captions:e,live:this.isLive,email:this.email}));const i=p(w,this).lastEvent.event===a.p.Event.PLAY;g(D,this,x).call(this,this.lastEvent,{force:i}),p(b,this).update=setInterval(p(S,this),5e3)})),c(this,T,(()=>{g(D,this,B).call(this,"update"),m(w,this,p(w,this).pause(Date.now(),p(y,this).time(),{captions:this.captionsEnabled,live:this.isLive,email:this.email})),g(D,this,x).call(this,this.lastEvent)})),c(this,S,(()=>
163{this.isPlaying&&(m(w,this,p(w,this).update(Date.now(),p(y,this).time(),{captions:this.captionsEnabled,live:this.isLive,email:this.email})),g(D,this,x).call(this,this.lastEvent))})),c(this,P,((t,e)=>{m(w,this,p(w,this).seek(Date.now(),e,t,{captions:this.captionsEnabled,live:this.isLive,email:this.email})),g(D,this,x).call(this,this.lastEvent)})),c(this,A,(()=>{m(w,this,p(w,this).end(Date.now(),p(y,this).time(),{captions:this.captionsEnabled,live:this.isLive,email:this.email})),g(D,this,x).call(this,this.lastEvent,{force:!0})})),c(this,L,(()=>{this.isPlaying&&(m(w,this,p(w,this).focusChange(Date.now(),p(y,this).time(),{focus:!document.hidden,captions:this.captionsEnabled,live:this.isLive,email:this.email})),g(D,this,x).call(this,this.lastEvent))})),c(this,I,(({annotationId:t})=>{const e=(0,l.u)(this.numericId,a.p.Scope.LIVE_ANNOTATION,`impression_${t}`);m(w,this,p(w,this).annotationImpression(Date.now(),p(y,this).time(),t,{first:e,captions:this.captionsEnabled,live:this.isLive,email:this.email})),g(D,this,x).call(this,this.lastEvent)})),c(this,M,(({annotationId:t})=>{const e=(0,l.u)(this.numericId,a.p.Scope.LIVE_ANNOTATION,`click_${t}`);m(w,this,p(w,this).annotationClick(Date.now(),p(y,this).time(),t,{first:e,captions:this.captionsEnabled,live:this.isLive,email:this.email})),g(D,this,x).call(this,this.lastEvent)})),c(this,k,(()=>{if(0===p(v,this).length)return;const t=p(v,this),e={...p(w,this).meta,events:t,anonymize_ip:this.shouldAnonymizeIp};m(v,this,[]),p(y,this).debug("Submitting events",e),p(_,this).liveStream(e).then((t=>{if(!t.ok)throw new Error(`Failed to send tracking events. Server responded with status: ${t.status}`)})).catch((e=>{p(y,this).error(e),m(v,this,[...t,...p(v,this)].sort(((t,e)=>t.time-e.time)))}))})),m(f,this,Date.now()),m(y,this,t)}get meta(){return p(w,this)?.meta}get lastEvent(){return p(w,this)?.lastEvent}get isPlaying(){return p(w,this)?.isPlaying}get captionsEnabled(){return!!p(y,this).getSelectedCaptions()}get isLive(){return!!p(y,this)._mediaData?.liveStreamEventDetails?.startedAt}get numericId(){return p(y,this)._mediaData?.liveStreamEventDetails?.id}get hashedId(){return p(y,this).hashedId()}get shouldAnonymizeIp(){return Boolean(p(y,this)._opts.anonymizeIp||!(0,o.isVisitorTrackingEnabled)())}get email(){return g(D,this,R).call(this),p(y,this).email()}monitor(){p(y,this).doNotTrack()||(this.stopMonitoring(),p(y,this).hasData((()=>(0,s.pageLoaded)(p(E,this)))))}stopMonitoring(){p(k,this).call(this),g(D,this,B).call(this,"flush"),g(D,this,B).call(this,"update"),document.removeEventListener("visibilitychange",p(L,this)),p(y,this).unbind("play",p(C,this)),p(y,this).unbind("pause",p(T,this)),p(y,this).unbind("seek",p(P,this)),p(y,this).unbind("end",p(A,this)),p(y,this).unbind("annotation-impression",p(I,this)),p(y,this).unbind("annotation-click",p(M,this))}timeDelta(){return(new Date).getTime()-p(f,this)}eventKey(){return this.meta?.session_key}visitorKey(){return p(y,this).visitorKey()}channelId(){const t=p(y,this)._mediaData,e=t?.liveStreamEventDetails?.id;return e?(0,r.FB)(e):null}}function x(t,{force:e=!1}={}){p(y,this).debug(t),m(v,this,[...p(v,this),t]),e&&p(k,this).call(this)}function B(t){p(b,this)[t]&&(clearInterval(p(b,this)[t]),delete p(b,this)[t])}function R(){const t=p(y,this)._mediaData,e=t?.liveStreamEventDetails?.hashedId;if(!p(y,this).email()&&e){const t=(0,h.e)(e)?.email;p(y,this).email(t)}}},(t,e,i)=>{i.d(e,{FB:()=>s});var n=i(167);const s=t=>{const e=new URLSearchParams(window.location.search).get("channelId");if(null!==e&&""!==e){const t=parseInt(e,10);if(!Number.isNaN(t))return t}const i=(0,n.mu)(t);return i?.channelId??null}},(t,e,i)=>{i.d(e,{p:()=>n.p0}),i(193);var n=i(194)},(t,e,i)=>{function n(t,e,i){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,i)}function s(t,e){return t.get(r(t,e))}function o(t,e,i){return t.set(r(t,e),i),i}function r(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}i.d(e,{U:()=>h});var a=new WeakMap,l=new WeakMap;class h{constructor(t,e){n(this,a,void 0),n(this,l,void 0),o(l,this,t),o(a,this,e)}get end(){return s(a,this)}get isAscending(){return this.start<=this.end}get isEmpty(){return this.start===this.end}get start(){return s(l,this)}foreach(t){for(let e=this.start;e<=this.end;++e)t(e)}includes(t){const e=Math.min(this.start,this.end),i=Math.max(this.start,this.end);return e<=t&&t<=i}reduce(t,e){let i=e;return this.foreach((e=>{i=t(i,e)})),i}toJSON(){return{start:this.start,end:this.end}}}},(t,e,i)=>{i.d(e,{p0:()=>d});var n,s=i(195),o=i(193);function r(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function a(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function l(t,e){return t.get(h(t,e))}
163function h(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var u=new WeakMap,c=new WeakSet;class d{constructor(t){var e;a(this,e=c),e.add(this),function(t,e){a(t,e),e.set(t,void 0)}(this,u),function(t,e,i){t.set(h(t,e),i)}(u,this,t)}get meta(){return l(u,this).meta}get startedAt(){return l(u,this).startedAt}get isPlaying(){return void 0===l(u,this).inactiveAt}get scope(){return l(u,this).scope}get histogram(){return l(u,this).histogram}get history(){return l(u,this).history}get lastEvent(){return this.history[0]}get position(){return this.lastEvent.player_position}get hasPlayed(){return l(u,this).hasPlayed}static load(t,e,{first:i=!1,scope:n,captions:o=!1,live:r=!1,email:a,focus:l=!0}={}){const h={time:t,event:d.Event.LOAD,scope:n,first:i,live:r,captions:o,email:a,focus:l,...d.EMPTY_METRICS};return new d({startedAt:t,meta:e,scope:n,inactiveAt:t,histogram:new s.d,history:[h]})}play(t,e,{first:i=!1,captions:n=!1,live:s=!1,email:o,focus:r=!0}={}){const a={time:t,event:this.hasPlayed?d.Event.UNPAUSE:d.Event.PLAY,scope:this.scope,first:i,live:s,captions:n,email:o,focus:r,player_position:e,...d.EMPTY_METRICS};return new d({...l(u,this),inactiveAt:void 0,history:[a,...this.history],hasPlayed:!0})}pause(t,e,{captions:i=!1,live:n=!1,email:s,focus:o=!0}={}){const r=h(c,this,p).call(this,e),a=h(c,this,m).call(this,r),g={time:t,event:d.Event.PAUSE,scope:this.scope,live:n,captions:i,email:s,focus:o,player_position:e,...a};return new d({...l(u,this),inactiveAt:t,histogram:this.histogram.union(r),history:[g,...this.history]})}seek(t,e,i,{captions:n=!1,live:s=!1,email:o,focus:r=!0}={}){let a=d.EMPTY_METRICS,g=this.histogram,f=t;if(this.isPlaying){const t=h(c,this,p).call(this,e);a=h(c,this,m).call(this,t),g=g.union(t),f=void 0}const y={time:t,event:d.Event.SEEK,scope:this.scope,live:s,captions:n,email:o,focus:r,previous_player_position:e,player_position:i,...a};return new d({...l(u,this),inactiveAt:f,histogram:g,history:[y,...this.history]})}update(t,e,{captions:i=!1,live:n=!1,email:s,focus:o=!document.hidden}={}){if(this.isPlaying){const r=h(c,this,p).call(this,e),a=h(c,this,m).call(this,r),g={time:t,event:d.Event.UPDATE,scope:this.scope,live:n,captions:i,email:s,focus:o,player_position:e,...a};return new d({...l(u,this),histogram:this.histogram.union(r),history:[g,...this.history]})}return this}focusChange(t,e,{focus:i=!document.hidden,captions:n=!1,live:s=!1,email:o}={}){if(!this.isPlaying)return this;const r={time:t,event:d.Event.FOCUS_CHANGE,scope:this.scope,captions:n,live:s,email:o,focus:i,player_position:e,...d.EMPTY_METRICS};return new d({...l(u,this),history:[r,...this.history]})}end(t,e,{captions:i=!1,live:n=!1,email:s,focus:o=!document.hidden}={}){const r=h(c,this,p).call(this,e),a=h(c,this,m).call(this,r),g={time:t,event:d.Event.END,scope:this.scope,live:n,captions:i,email:s,focus:o,player_position:e,...a};return new d({...l(u,this),inactiveAt:t,histogram:this.histogram.union(r),history:[g,...this.history]})}annotationImpression(t,e,i,{first:n=!1,captions:s=!1,live:o=!1,email:r,focus:a=!document.hidden}={}){const h={time:t,scope:d.Scope.LIVE_ANNOTATION,event:d.Event.IMPRESSION,first:n,live:o,captions:s,email:r,focus:a,player_position:e,annotation_id:i,role:d.Role.AUDIENCE_MEMBER,...d.EMPTY_METRICS};return new d({...l(u,this),history:[h,...this.history]})}annotationClick(t,e,i,{first:n=!1,captions:s=!1,live:o=!1,email:r,focus:a=!document.hidden}={}){const h={time:t,scope:d.Scope.LIVE_ANNOTATION,event:d.Event.CLICK,first:n,live:o,captions:s,email:r,focus:a,player_position:e,annotation_id:i,role:d.Role.AUDIENCE_MEMBER,...d.EMPTY_METRICS};return new d({...l(u,this),history:[h,...this.history]})}}function p(t){const e=this.lastEvent.event===n.Event.UPDATE;let i=this.position;e&&(i+=1);const s=new o.U(Math.floor(i),Math.floor(t));return s.isAscending?s:void 0}function m(t){return t?this.histogram.chunkInRangeBy(t,(({value:t})=>0===t)).reduce(((t,e)=>{const{bucket:i,value:n}=e[0],{bucket:s}=e[e.length-1];return 0===n?{...t,unique_played_time:t.unique_played_time+e.length,unique_played_ranges:[...t.unique_played_ranges,{start:i,end:s}]}:{...t,replayed_time:t.replayed_time+e.length,replayed_ranges:[...t.replayed_ranges,{start:i,end:s}]}}),{unique_played_time:0,unique_played_ranges:[],replayed_time:0,replayed_ranges:[]}):n.EMPTY_METRICS}n=d,r(d,"Scope",Object.freeze({LIVE_EVENT:"live_event",LIVE_ANNOTATION:"live_annotation"})),r(d,"Event",Object.freeze({LOAD:"load",PLAY:"play",SEEK:"seek",PAUSE:"pause",UNPAUSE:"unpause",UPDATE:"update",FOCUS_CHANGE:"focus_change",END:"end",IMPRESSION:"impression",CLICK:"click"})),r(d,"EMPTY_METRICS",{unique_played_time:0,unique_played_ranges:[],replayed_time:0,replayed_ranges:[]}),r(d,"Role",Object.freeze({AUDIENCE_MEMBER:"audienceMember"}))},(t,e,i)=>{i.d(e,{d:()=>r});var n=i(193);function s(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var o=new WeakMap;
163class r{constructor(t=[]){var e,i;(function(t,e,i){(function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")})(t,e),e.set(t,i)})(this,o,void 0),i=t,(e=o).set(s(e,this),i)}get buckets(){return(t=o).get(s(t,this));var t}chunkInRangeBy(t,e){const i=Symbol("empty"),{chunks:n}=t.reduce((({chunks:t,flip:i},n)=>{const s={bucket:n,value:this.valueAt(n)},o=e(s);if(i!==o)return{chunks:[[s],...t],flip:o};const[r,...a]=t;return{chunks:[[...r,s],...a],flip:i}}),{chunks:[],flip:i});return n.reverse()}union(t){if(!t)return this;const e=[...this.buckets];return t.foreach((t=>{e[t]=this.valueAt(t)+1})),new n.U(0,t.start-1).foreach((t=>{e[t]=this.valueAt(t)})),new r(e)}valueAt(t){return this.buckets[t]||0}}},(t,e,i)=>{i.d(e,{u:()=>s});var n=i(167);const s=(t,e,i)=>{const s=((0,n.NW)()??{})[t]??{},o=`${e}_${i}`;return!(o in s)&&((0,n.kH)({eventId:t,event:{...s,[o]:!0}}),!0)}},(t,e,i)=>{i.d(e,{e:()=>s});var n=i(18);const s=(t,e="audience")=>{return i=(0,n.Lg)("wistia:live:data"),["events",t,"user",e].join(".").split(".").reduce(((t,e)=>t&&t[e]),i);var i}},(t,e,i)=>{function n(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function s(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}i.d(e,{K:()=>a});var o=new WeakMap,r=new WeakSet;class a{constructor(t){var e;n(this,e=r),e.add(this),function(t,e){n(t,e),e.set(t,void 0)}(this,o),function(t,e,i){(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}(this,"liveStream",(t=>s(r,this,l).call(this,"/live-stream/1.0.0",t))),function(t,e,i){t.set(s(t,e),i)}(o,this,t)}}function l(t,e){const i=new URL(t,(n=o).get(s(n,this)));var n;return fetch(i,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json"},mode:"cors",credentials:"omit",body:JSON.stringify(e),keepalive:!0})}},(t,e,i)=>{i.d(e,{X:()=>r});var n=i(26),s=i(7),o=i(1);null==o.Wistia._controlDefinitions&&(o.Wistia._controlDefinitions={});const r=t=>{null!=t.handle?null==o.Wistia._controlDefinitions[t.handle]&&(o.Wistia._controlDefinitions[t.handle]=t,o.Wistia.trigger&&o.Wistia.trigger("controldefined",t)):console.error("Please specify a handle property for control",t)};o.Wistia.defineControl=t=>{const e={name:t.handle,location:location.origin+location.pathname};try{const t=o.Wistia.first();(0,s.Tn)(t.playerColor)&&(0,s.Tn)(t.hashedId)?(e.playerColor=t.playerColor(),e.hashedId=t.hashedId()):(e.playerColor=t.playerColor,e.hashedId=t.mediaId)}catch(t){}(0,n.countMetric)("player/custom-control-definition",1,e),r(t)}},(t,e,i)=>{var n=i(2),s=i(96),o=i(199),r=i(201),a=i(1),l=i(207),h=i(131),u=i(205),c=i(209),d=i(210),p=i(77);(0,h.defineTranslations)("en-US",{AUDIO_DESCRIPTION_HIDE_MENU:"Hide audio description menu",AUDIO_DESCRIPTION_SHOW_MENU:"Show audio description menu"});class m extends l.E{constructor(t){var e,i,n;super(t),e=this,n=t=>{const e=this.video.engine.getAudioTracks().then((e=>{const i=t=>"public.accessibility.describes-video"===t?.characteristics,n=t=>e.find((e=>Number(e.id)===Number(t))),s=e.find((t=>t.isSelected)),o=n(t);if(!o)return;let r=o;if(i(o))i(s)||(this.trackIdBeforeDescription=s?.id);else{if(!i(s))return;r=n(this.trackIdBeforeDescription)??o}Number(r.id)!==Number(s?.id)&&this.video.changeAudioTrack(r.id)}));return(0,u.C)()&&setTimeout((()=>{this.dialog.close(),this.buttonRoot.parentElement.focus()}),300),e},(i=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(i="onClickTrack"))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,this.video=t,this.unbinds.push(t.on("playerlanguagechange",(()=>{this.menuElem&&this.renderMenu()})),t.on("audiostreamchange",(()=>{this.menuElem&&this.renderMenu()})))}controlDialogOpened(){this.updateButtonLabel()}controlDialogClosed(){this.updateButtonLabel()}mountButton(t){this.buttonRoot=t,this.renderButton()}mountDialog(t){this.dialogRoot=t;const e=(0,s.$)("assets/external/interFontFace.js").then((()=>{this.renderMenu()}));return this.loading(new Promise((t=>{e.then(t)}))),e}onControlPropsUpdated(t){this.dialog&&this.dialog.isOpen()&&this.renderMenu(),t.playerLanguage&&this.props.playerLanguage.code!==t.playerLanguage.code&&(this.renderButton(),this.renderMenu())}renderButton(){this.updateButtonLabel(),(0,n.render)((0,n.h)(c._,null),this.buttonRoot),this.reactMounts.button=[this.buttonRoot]}renderMenu(){this.dialog.isOpen()&&this.dialogRoot&&this.video.engine.getAudioTracks().then((t=>{const e=t.filter((t=>t.characteristics&&"public.accessibility.describes-video"===t.characteristics||"Original"===t.label)),i=e.some((t=>t.isSelected&&"public.accessibility.describes-video"===t.characteristics));e.forEach((t=>{"Original"===t.label&&(t.isSelected=!i)})),(0,n.render)((0,n.h)(r.G,{...this.props,elemRef:t=>this.menuElem=t,onClick:this.onClickTrack,scale:this.props.scale,tracks:e}),this.dialogRoot),this.reactMounts.menu=[this.dialogRoot]}))}updateButtonLabel(){this.dialog&&(this.dialog.isOpen()?this.setButtonLabel(this.translate("HIDE_MENU")):this.setButtonLabel(this.translate("SHOW_MENU")))}translate(t){return(0,h.getTranslation)(this.props.playerLanguage.code,`AUDIO_DESCRIPTION_${t}`)}}m.shouldMount=t=>{const e=(0,d.Wu)(t._mediaData.assets).filter((t=>t?.details?.audioDescription)),i=(0,d.DK)(e),n=t._impl.bestEngine();return!(n!==p.HLS_ENGINE_PATH&&n!==p.NATIVE_HLS_ENGINE_PATH||(t=>{const e=t.embedOptions().plugin?.extendedAudioDescription;return e&&!1!==e.on})(t)||!1===t._attrs.audioDescriptionIsRequired||!1===t._attrs.audioDescriptionControl||!(i.length>1))},m.handle="audioDescriptionButton",m.type="control-bar-right",m.sortValue=51,m.isVideoChrome=!0,(0,o.X)(m),a.Wistia.AudioDescriptionControl
163=m},(t,e,i)=>{i.d(e,{G:()=>r});var n=i(2),s=i(202),o=i(204);class r extends n.Component{render(){return(0,n.h)("div",null,(0,n.h)("fieldset",{style:{border:0,padding:0,margin:0}},(0,n.h)(s.A,{tagName:"legend"},"Audio Description Menu"),this.props.tracks.map(((t,e)=>(0,n.h)(o.e,{...this.props,key:t.id,track:t,isLastItem:e===this.props.tracks.length-1,isFirstItem:0===e})))))}}},(t,e,i)=>{i.d(e,{A:()=>r});var n=i(2),s=i(203);class o extends n.Component{render(){const t=this.props.tagName||"div";return(0,n.h)(t,{...this.props,ref:this.props.elemRef,style:s._},this.props.children)}}const r=o},(t,e,i)=>{i.d(e,{_:()=>n});const n={clip:"rect(1px, 1px, 1px, 1px)",height:"1px",overflow:"hidden",position:"absolute",whiteSpace:"nowrap",width:"1px"}},(t,e,i)=>{i.d(e,{e:()=>c});var n=i(2),s=i(45),o=i(205),r=i(206),a=i(70),l=i(131),h=i(202);function u(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}(0,l.defineTranslations)("en-US",{AUDIO_DESCRIPTION_OFF:"Off"});class c extends n.Component{constructor(t){super(t),u(this,"onBlur",(()=>{this.state.isKeyboardFocused&&this.setState({isKeyboardFocused:!1})})),u(this,"onClick",(()=>{this.props.onClick(this.props.track.id)})),u(this,"onFocus",(()=>{(0,o.y)()||this.setState({isKeyboardFocused:!0})})),u(this,"onMouseEnter",(()=>{this.setState({isHovering:!0})})),u(this,"onMouseLeave",(()=>{this.setState({isHovering:!1})})),this.uuid=(0,a.h)()}checkStyle(){return{height:p(this),verticalAlign:"middle",visibility:this.props.track.isSelected?"visible":"hidden",width:d(this)}}menuItemStyle(){const{controlBarBorderRadius:t}=this.props;return{background:this.state.isHovering?"rgba(0,0,0,.3)":"",borderBottomLeftRadius:this.props.isLastItem?`${t}px`:0,borderBottomRightRadius:this.props.isLastItem?`${t}px`:0,borderTopLeftRadius:this.props.isFirstItem?`${t}px`:0,borderTopRightRadius:this.props.isFirstItem?`${t}px`:0,boxShadow:this.state.isKeyboardFocused?"0 0 0 2px #fff inset":"none",display:"block",fontFamily:s.yY,fontSize:m(this),lineHeight:p(this),marginRight:10*this.props.scale+"px",textAlign:"left",width:"100%"}}translate(t){return(0,l.getTranslation)(this.props.playerLanguage.code,`AUDIO_DESCRIPTION_${t}`)}render(){const{track:t,elemRef:e}=this.props;let i=t.label;"Original"===i&&(i=this.translate("OFF"));const s=`AD-${this.uuid}-${i}+${t.id}`;return(0,n.h)("div",{onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,ref:e,style:this.menuItemStyle()},(0,n.h)(h.A,{checked:Boolean(t.isSelected),id:s,name:"Audio Description Menu",onBlur:this.onBlur,onClick:this.onClick,onFocus:this.onFocus,tagName:"input",type:"radio",value:i}),(0,n.h)("label",{class:"w-css-reset",for:s},(0,n.h)("svg",{...(0,r.I)({width:40,height:34}),class:"w-checkmark",style:this.checkStyle()},(0,n.h)("polyline",{fill:"none",stroke:"#ffffff","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round","stroke-miterlimit":"10",points:"17,17 20,20 25,14 "})),i))}}const d=t=>`${(t=>40*t.props.scale)(t)}px`,p=t=>`${(t=>34*t.props.scale)(t)}px`,m=t=>14*t.props.scale},(t,e,i)=>{i.d(e,{C:()=>l,y:()=>a});var n=i(64),s=i(65),o=i(1);const r=(0,s.o1)();if(null==o.Wistia._isMouseDown){o.Wistia._isMouseDown=!1;const t=t=>{o.Wistia._isMouseDown=!0,o.Wistia._lastMouseDownAt=Date.now(),setTimeout((()=>{t.defaultPrevented&&(o.Wistia._isMouseDown=!1)}),0)},e=()=>{o.Wistia._lastMouseUpAt=Date.now(),setTimeout((()=>{o.Wistia._isMouseDown=!1}),0)},i=()=>{o.Wistia._lastMouseUpAt=Date.now(),setTimeout((()=>{o.Wistia._isMouseDown=!1}),0)};r.touchScreen?((0,n.elemBind)(document,"touchstart",t,!0),(0,n.elemBind)(document,"touchend",i,!0)):((0,n.elemBind)(document,"mousedown",t,!0),(0,n.elemBind)(document,"mouseup",e,!0));const s=r.windows?e:t;(0,n.elemBind)(document,"contextmenu",s,!0)}const a=()=>null!=o.Wistia._mouseDownForceReturnVal?o.Wistia._mouseDownForceReturnVal:o.Wistia._isMouseDown,l=()=>null!=o.Wistia._mouseDownForceReturnVal?o.Wistia._mouseDownForceReturnVal:Math.max(o.Wistia._lastMouseDownAt||0,(o.Wistia._lastMouseUpAt||0)-1)>Date.now()-500},(t,e,i)=>{i.d(e,{I:()=>n});const n=({width:t=40,height:e=34,styleOverride:i={},ariaHidden:n=!1,fillColor:s="#ffffff"})=>({x:"0px",y:"0px",viewBox:`0 0 ${t} ${e}`,"enable-background":`new 0 0 ${t} ${e}`,"aria-hidden":`${n}`,style:{fill:s,height:"100%",left:0,strokeWidth:0,top:0,width:"100%",...i}})},(t,e,i)=>{i.d(e,{E:()=>a});var n=i(208);function s(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}function o(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var r=new WeakMap;class a{constructor(t){var e,i,n;s(this,"_destroyed",void 0),s(this,"api",void 0),s(this,"embedElement",void 0),s(this,"eventListeners",void 0),s(this,"impl",void 0),s(this,"isWistiaPlayer",void 0),s(this,"props",void 0),s(this,"reactMounts",void 0),s(this,"rootElem",void 0),s(this,"unbinds",void 0),s(this,"video",void 0),n=void 0,function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,i=r),i.set(e,n),this.video=t,this.embedElement=t.container,this.unbinds=[],this.eventListeners=new Map,this.reactMounts={},this.isWistiaPlayer="WISTIA-PLAYER"===this.embedElement.tagName,this.impl=t,this.isWistiaPlayer?this.api=this.embedElement:this.api=t.publicApi,this.props={}}get disabledButton(){return(t=r).get(o(t,this));var t}set disabledButton(t){var e,i;i=t,(e=r).set(o(e,this),i)}destroy(){(0,n.cm)(this)}isAtRootLevel(){return!0}mount(t){this.rootElem=t}}},(t,e,i)=>{i.d(e,{cm:()=>a});var n=i(65),s=(i(79),i(64)),o=i(2),r=(i(70),i(199),function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)});(0,n.o1)();const a=t=>{t._destroyed=!0,(t=>{t.unbinds instanceof Array&&(t.unbinds.forEach((t=>{try{"function"==typeof t&&t()}catch(t){setTimeout((()=>{throw t}),1)}})),t.unbinds=null)})(t),(t=>
163{t.eventListeners instanceof Map&&(t.eventListeners.forEach(((e,i)=>{try{"function"==typeof e&&t.embedElement.removeEventListener(i,e)}catch(t){setTimeout((()=>{throw t}),1)}})),t.eventListeners.clear())})(t),l(t),u(t),c(t)},l=t=>{t.rootElem&&(0,s.elemRemove)(Array.prototype.slice.call(t.rootElem.childNodes))},h=t=>{const e=t[0],i=t[1];e&&i&&(0,o.render)((0,o.h)("nothing",null),e)},u=t=>{const e=t.reactMounts;if(e)if(e instanceof Array)h(e);else for(let t in e)r(e,t)&&e[t]&&h(e[t])},c=t=>{for(let i in t)r(t,i)&&("_"!==(e=i)[0]||"_"!==e[1])&&"mounted"!==i&&(t[i]=null);var e;t.__prevProps=null,t._destroyed=!0}},(t,e,i)=>{i.d(e,{_:()=>o});var n=i(2),s=i(206);const o=({onMouseEnter:t})=>{const e=(0,s.I)({width:40,height:34,ariaHidden:!0,styleOverride:{fill:"none"}});return(0,n.h)("svg",{...e,onMouseEnter:t},(0,n.h)("g",{stroke:"currentcolor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"},(0,n.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M19.7 14.6C21.9 14.6 22.7 16 22.7 17.4C22.7 18.7 22 20.2 19.7 20.2H18.2V14.6H19.7Z"}),(0,n.h)("path",{d:"M10 20.2L12.6 14.6L15 20.2"}),(0,n.h)("path",{d:"M10.5 19H14.5"}),(0,n.h)("path",{d:"M27.5 24.8C29.7 22.7 30.7 19.9 30.7 17.4C30.7 14.7 29.7 12.1 27.5 10"}),(0,n.h)("path",{d:"M24.6 12.9C26 14.1 26.6 15.7 26.6 17.4C26.6 19 26.1 20.7 24.6 21.9"})))}},(t,e,i)=>{i.d(e,{$y:()=>a,DK:()=>h,Wu:()=>l});var n=i(86),s=(i(22),i(24)),o=i(65);i(5);const r=(0,o.o1)(),a=(t,e={})=>{if(t.attributes.liveMedia)return t.mediaData.liveStreamEventDetails.manifestUrl;if(t.attributes.manifestUrl)return t.attributes.manifestUrl;const{allowHdr:i,authorization:n,bitDepth:o,channelId:a,channelPassword:l,clipForPoster:h,clipFrom:u,clipTo:c,codec:d,deliveryCdn:p,disallowOriginalFilePlayback:m,forceInstantHls:g,forceOriginalFilePlayback:f,includeExtendedAudioDescription:y,password:_,qualityMax:v,qualityMin:b,startPosition:w}=t.attributes,E=e.qualityMin||b,C=e.qualityMax||v,T=(t=>{const{mediaData:e,attributes:i}=t,n=`${(0,s.eV1Protocol)()}//${(0,s.cdnFastWistiaComHost)(i.embedHost)}`,o=`${(0,s.eV1Protocol)()}//${(0,s.cdnFastProtectedWistiaComHost)(i.assetHost)}`;if(e.protected&&i.authorization?.jwt){const t=e.sourceHashedId??e.hashedId,i=t!==e.hashedId,n=i?t:e.hashedId,s=new URL(`${o}/embed/accounts/${e.accountId}/medias/${n}.m3u8`);return i&&s.searchParams.set("localization",e.hashedId),s}return new URL(`${n}/embed/medias/${e.hashedId}.m3u8`)})(t);return"HlsVideo"!==t?.name&&(E&&T.searchParams.set("quality_min",E),C&&T.searchParams.set("quality_max",C)),m&&T.searchParams.set("disallow_original_file_playback",m),p&&T.searchParams.set("delivery_cdn",p),w&&-1!==w&&T.searchParams.set("start_position",w),h&&null!=u&&c&&(T.searchParams.set("clip_to",c),T.searchParams.set("clip_from",u)),g&&T.searchParams.set("force_instant_hls",!0),f&&T.searchParams.set("force_original_file_playback",!0),i&&r.hdr&&T.searchParams.set("allow_hdr",!0),o&&(Array.isArray(o)?o.forEach((t=>{T.searchParams.append("bit_depth[]",t)})):T.searchParams.set("bit_depth",o)),d&&(Array.isArray(d)?d.forEach((t=>{T.searchParams.append("codec[]",t)})):T.searchParams.set("codec",d)),n?.jwt&&T.searchParams.set("pma",n.jwt),_&&T.searchParams.set("password",_),a&&l&&(T.searchParams.set("channel_id",a),T.searchParams.set("channel_password",l)),T.toString()},l=t=>(0,n.filter)(t,{type:"mp4_alternate_audio",status:n.READY}),h=t=>{const e=[{audioCodec:void 0,autoselect:!0,default:!0,forced:!1,groupId:"audio",id:0,lang:void 0,name:"Off",label:"Original",type:"AUDIO",isSelected:!0}];return t.forEach(((t,i)=>{const n={audioCodec:void 0,autoselect:!1,default:!1,forced:!1,groupId:"audio",id:i+1,lang:void 0,name:t.details?.languageMetadata.name||"Alt Audio",label:t.details?.languageMetadata.name||"Alt Audio",type:"AUDIO",isSelected:!1};!0===t.details?.audioDescription&&(n.characteristics="public.accessibility.describes-video"),e.push(n)})),e}},(t,e,i)=>{var n=i(2),s=i(96),o=(i(1),i(207)),r=i(212),a=i(199),l=i(131);function h(t,e,i){u(t,e),e.set(t,i)}function u(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function c(t,e){return t.get(p(t,e))}function d(t,e,i){return t.set(p(t,e),i),i}
163function p(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}(0,l.defineTranslations)("en-US",{CAPTIONS_DISABLED:"No captions available",CAPTIONS_HIDE_MENU:"Hide captions menu",CAPTIONS_OFF:"Off",CAPTIONS_SHOW_MENU:"Show captions menu",CAPTIONS_TURN_OFF:"Turn off captions",CAPTIONS_TURN_ON:"Turn on captions"});const m="disabled",g="on",f="off",y="menu-open",_="menu-closed";var v=new WeakMap,b=new WeakMap,w=new WeakSet;class E extends o.E{constructor(t){var e;super(t),u(this,e=w),e.add(this),h(this,v,void 0),h(this,b,void 0),function(t,e,i){(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}(this,"onClickButton",(()=>{if(this.captionsV3Control?.selectedLanguage)this.captionsV3Control.setLanguage(void 0),d(b,this,f);else{const t=this.captionsV3Control.captionAndSubtitleTextTracks()[0].language;this.captionsV3Control.setLanguage(t),d(b,this,g)}this.renderButton()})),this.video=t,this.unbinds=[],this.disabledButton=!0,d(b,this,m),p(w,this,C).call(this).then((()=>{this.captionsV3Control.captionAndSubtitleTextTracks().length>0&&(this.disabledButton=!1,d(b,this,f),this.renderButton()),this.unbinds.push(this.video.on("addtrack",(()=>{this.disabledButton=!1,d(b,this,f),this.renderButton()})),this.video.on("captionschange",(()=>{this.captionsV3Control.selectedLanguage?d(b,this,g):d(b,this,f),this.renderButton()})))}))}mountButton(t){this.buttonRoot=t,this.renderButton()}onControlPropsUpdated(t){this.dialog&&this.dialog.isOpen()&&this.renderDialog(),t.playerLanguage&&this.props.playerLanguage.code!==t.playerLanguage.code&&this.updateButtonLabel()}renderButton(){!this.video._inNativeMode()&&this.buttonRoot&&(this.updateButtonLabel(),(0,n.render)((0,n.h)(r.b,{color:this.video.playerColor(),filled:Boolean(this.captionsV3Control?.selectedTrack)}),this.buttonRoot),this.reactMounts.button=[this.buttonRoot])}updateButtonLabel(){const t={[g]:"CAPTIONS_TURN_OFF",[f]:"CAPTIONS_TURN_ON",[_]:"CAPTIONS_SHOW_MENU",[y]:"CAPTIONS_HIDE_MENU",[m]:"CAPTIONS_DISABLED"}[c(b,this)],e=(0,l.getTranslation)(this.props.playerLanguage.code,t);this.setButtonLabel(e)}}function C(){return c(v,this)||d(v,this,(0,s.$)("assets/external/captions-v3.js").then((t=>((0,a.X)(t.CaptionsV3Control),this.video.whenControlMounted("captionsV3")))).then((()=>{this.captionsV3Control=this.video.controls.captionsV3}))),c(v,this)}E.handle="captionsV3Button",E.type="control-bar-right",E.sortValue=50,E.shouldMount=t=>t.isLiveMedia(),(0,a.X)(E)},(t,e,i)=>{i.d(e,{b:()=>o});var n=i(2),s=i(206);const o=({filled:t,color:e})=>{const i=(0,s.I)({width:40,height:34,ariaHidden:!0,styleOverride:{fill:"none"}}),o={fill:t?"currentcolor":"none",stroke:"currentcolor"},r={fill:"none",stroke:t?`#${e}`:"currentcolor"};return(0,n.h)("svg",i,(0,n.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M31 21.9811C31 23.5912 29.6 25 28 25H12C10.4 25 9 23.5912 9 21.9811V12.0189C9 10.4088 10.4 9 12 9H28C29.6 9 31 10.4088 31 12.0189V21.9811Z","stroke-width":"2","stroke-linecap":"round",...o}),(0,n.h)("path",{d:"M18.4 18.7C17.9 19.4 17.3 19.9 16.3 19.9C15 19.9 13.9 18.8 13.9 17.1C13.9 15.5 14.9 14.3 16.3 14.3C17.3 14.3 17.9 14.8 18.3 15.5","stroke-width":"1.8","stroke-linecap":"round",...r}),(0,n.h)("path",{d:"M25.8 18.7C25.3 19.4 24.7 19.9 23.7 19.9C22.4 19.9 21.3 18.8 21.3 17.1C21.3 15.5 22.3 14.3 23.7 14.3C24.7 14.3 25.3 14.8 25.7 15.5","stroke-width":"1.8","stroke-linecap":"round",...r}))}},(t,e,i)=>{var n=i(2),s=i(112),o=i(65),r=i(205),a=i(207),l=i(199),h=i(203),u=i(131);function c(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const d=(0,o.o1)();(0,u.defineTranslations)("en-US",{BACKGROUND_FOCUS_SHOW_CONTROLS:"Show controls"});class p extends a.E{constructor(t){super(t),c(this,"onControlPropsUpdated",(t=>{const{isFocusable:e}=this.props;t.isFocusable!=e&&e&&this._focusImmediately&&(this._isProgrammaticFocus=!0,this.el.focus({preventScroll:!0}),this._focusImmediately=!1)})),c(this,"focus",(()=>{this.props.isFocusable?(this._isProgrammaticFocus=!0,this.el.focus({preventScroll:!0})):this._focusImmediately=!0})),c(this,"onBlur",(()=>{this.video.exitInputContext("background-focus"),this.video.controls.focusOutline.hide(),this.video.controls.focusOutline.hideHint()})),c(this,"onFocus",(()=>{const t=this._isProgrammaticFocus;this._isProgrammaticFocus=!1,this.video.enterInputContext("background-focus"),!0===this.video.isKeyboardFocused()&&this.video.controls.focusOutline.show(),t||(0,r.C)()||!this.video.controls.contextMenu||this.video.controls.focusOutline.showHint(this.translate("BACKGROUND_FOCUS_MORE_OPTIONS_HINT"))})),c(this,"render",(()=>{const t=!this.video.publicApi.popover||this.video.publicApi.popover.isVisible()?0:-1,e=Boolean(this.video.controls.contextMenu),i=`${this.video.uuid}_background_focus_hint`;(0,n.render)((0,n.h)("div",null,(0,n.h)("button",{ref:t=>this.el=t,"aria-describedby":e?i:null,"aria-keyshortcuts":e?"o Shift+F10":null,"aria-label":`${this.getTranslation()}: ${(0,s.Uh)(this.video.name()||"")}`,class:"w-css-reset w-vulcan-v2-button",onBlur:this.onBlur,onFocus:this.onFocus,style:this.style(),tabIndex:t}),e?(0,n.h)("span",{id:i,style:h._},this.translate("BACKGROUND_FOCUS_MORE_OPTIONS_HINT")):null),this.rootElem),this.reactMounts=[this.rootElem]})),this.video=t,this._focusImmediately=!1,this.unbinds.push(this.video.on("play",this.render),this.video.on("pause",this.render),this.video.on("end",this.render))}mount(t){this.rootElem=t,this.render()}style(){return{...h._,pointerEvents:"none"}}getTranslation(){return d.touchScreen&&!this.props.chromeless?this.translate("BACKGROUND_FOCUS_SHOW_CONTROLS"):"playing"===this.video.state()?this.translate("PLAY_BUTTON_TITLE_WHEN_PLAYING"):this.translate("PLAY_BUTTON_TITLE_WHEN_NOT_PLAYING")}translate(t){return(0,u.getTranslation)(this.props.playerLanguage.code,t)}}p.shouldMount=()=>!0,p.handle="backgroundFocus",p.type="background",p.sortValue=100,(0,l.X)(p)},(t,e,i)=>{var n=i(215),s=i(2),o=i(55),r=i(207),a=i(216),l=i(199),h=i(219);function u(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class c extends r.E{constructor(t){super(t),u(this,"renderButton",(()=>{if(this.__destroyed||this.hiddenButton)return;const t=!this.video.publicApi.popover||this.video.publicApi.popover.isVisible()?0:-1,e=(0,h.A)(a.Fn);(0,s.render)((0,s.h)(e,{borderRadius:this.props.bigPlayButtonBorderRadius,buttonTabIndex:t,color:this.video.playerColor(),duration:this.video.duration(),elemRef:t=>this.buttonElem=t,isLiveMedia:this.video.isLiveMedia(),isVisible:this.shouldShow(),leftNudgeFraction:this.getLeftNudgeFraction(),noMixBlendMode:this.video.embedOptions().noMixBlendMode,onClick:this.onClick,controlBarDistance:this.props.controlBarDistance,playerLanguage:this.props.playerLanguage,scale:this.scale(),showBpbTime:this._timeEnabled,topNudgeFraction:this.getTopNudgeFraction(),videoHeight:this.props.videoHeight-.75*this.props.controlBarHeight,videoName:this.video.name()||"",videoWidth:this.props.videoWidth,backgroundGradientCss:this.backgroundGradientCss(),isOpaque:this.video.opaqueControls()??!1,hasContrastIcons:this.video.contrastIcons()??!1}),this.rootElem),this.reactMounts=[this.rootElem]})),u(this,"onClick",(()=>{this.video.play(),this.video.focus()})),this.video=t,this.eventListeners.set("playercolorchange",(()=>this.renderButton())),this.eventListeners.set("opaquecontrolschange",(()=>this.renderButton())),this.unbinds.push(t.on("play",this.renderButton),t.on("playrejected",this.renderButton),t.on("playpending",this.renderButton),t.on("playerlanguagechange",this.renderButton),t.on("end",this.renderButton),t.on("up",this.renderButton),t.on("trimchange",this.renderButton)),this._timeEnabled=this.video._opts.bpbTime,this.hiddenButton=this.video.isLiveMedia(),this.video.isLiveMedia()&&this.video.ready((()=>{this.hiddenButton=!1,this.renderButton()}))}mount(t){this.rootElem=t,this.renderButton()}backgroundGradientCss(){const t=this.video.playerColorGradient();if(t?.on)return(0,o.qN)(t)}onControlPropsUpdated(t){this.props.videoWidth===t.videoWidth&&this.props.videoHeight===t.videoHeight&&this.props.bigPlayButtonBorderRadius===t.bigPlayButtonBorderRadius||this.renderButton()}shouldShow(){const t=this.video;return!1===t.lastPlayInfo().isPending&&("beforeplay"===t.state()||"ended"===t.state()&&"reset"===t._attrs.endVideoBehavior)}scale(){return Math.min(1.3,Math.max(.3,(0,n.O8)(this.video,[640,960])))}setTimeEnabled(t){this._timeEnabled=t,this.renderButton()}setLeftNudgeFraction(t){this._leftNudgeFraction=t,this.renderButton()}setTopNudgeFraction(t){this._topNudgeFraction=t,this.renderButton()}getLeftNudgeFraction(){return null!=this._leftNudgeFraction?this._leftNudgeFraction:this.video._opts.bpbLeftNudge}getTopNudgeFraction(){return null!=this._topNudgeFraction?this._topNudgeFraction:this.video._opts.bpbTopNudge}getButtonOffsets(){const{offsetHeight:t,offsetTop:e}=this.buttonElem;return{offsetHeight:t,offsetTop:e}}}c.shouldMount=t=>{const e=t._attrs.bigPlayButton;return null==e||!0===e},c.handle="bigPlayButton",c.type="above-control-bar",(0,l.X)(c)},(t,e,i)=>{i.d(e,{O8:()=>l,wt:()=>h}),i(64),i(79);var n=i(65),s=i(22);const o=(0,n.o1)(),r=()=>{const t=document.querySelector("meta[name=viewport]"),e=t&&t.getAttribute("content"),i={};
163return e&&e.split(/[\s,]+/).forEach((t=>{const e=t.split("=");2===e.length&&(i[e[0]]=(0,s.cast)(e[1]))})),i},a=t=>{if(!(o.iphone||o.ipad||o.android))return[640,960];if(t?.isAudio())return[500,960];const e=r();let i;if(e.width){i="number"==typeof e.width?0+e.width:screen.width||window.innerWidth;const t=Math.max(e["minimum-scale"]||0,Math.min(e["maximum-scale"]||10,e["initial-scale"]||1));t<1&&(i/=t)}else i=window.innerWidth;return[i,2*i/3]},l=(t,e)=>{const i=t.videoWidth(),n=t.videoHeight();if(i/n<1){const[e,i]=(t=>{if(!(o.iphone||o.ipad||o.android))return[340,860];if(t?.isAudio())return[500,960];const e=r();let i;if(e.height){i="number"==typeof e.height?0+e.height:screen.height||window.innerHeight;const t=Math.max(e["minimum-scale"]||0,Math.min(e["maximum-scale"]||10,e["initial-scale"]||1));t<1&&(i/=t)}else i=window.innerWidth;return[i,2*i/1.3]})(t);if(n<=e)return n/e;if(n>i)return n/i}else{const[n,s]=e||a(t);if(i<=n)return i/n;if(i>s)return i/s}return 1},h=(t,e)=>{const[i,n]=e||a();return t<=i?t/i:t>n?t/n:1}},(t,e,i)=>{i.d(e,{Fn:()=>m});var n=i(2),s=i(3),o=i(217),r=i(131),a=i(9),l=i(112),h=i(65),u=i(50),c=i(45),d=i(8);const p=(0,h.o1)(),m=({backgroundGradientCss:t,baseHeight:e=80,baseWidth:i=125,borderRadius:h,buttonTabIndex:m,color:g,controlBarDistance:f=0,duration:y,elemRef:_,hasContrastIcons:v,isLiveMedia:b,isLoading:w=!1,isOpaque:E=!1,isVisible:C,leftNudgeFraction:T=0,noMixBlendMode:S=!1,onClick:P,playerLanguage:A,scale:L,showBpbTime:I,topNudgeFraction:M=0,videoName:D,videoWidth:k})=>
163{const[O,x]=(0,s.useState)(!1),B=i*L,R=e*L,W=(0,l.Uh)(D),F=`${(0,r.getTranslation)(A.code,"PLAY_BUTTON_TITLE_WHEN_NOT_PLAYING")}: ${W}`;const N={borderRadius:`${h}px`,display:C?"block":"none",left:`calc(50% + ${100*(T||0)}%)`,marginLeft:`-${B/2}px`,marginTop:`-${R/2}px`,overflow:"hidden",position:"absolute",top:`calc(50% + ${100*(M||0)}% - ${f}px)`,boxShadow:E?"0 3px 5px rgba(0,0,0,0.3)":void 0},H=!p.edge&&!S,V={background:new a.Q1(g??"#000").alpha(1).toRgba(),display:H?"block":"none",left:0,height:`${R}px`,mixBlendMode:"darken",position:"absolute",top:0,width:`${B}px`},$=null!=t,j=new a.Q1(g??"#000000");let U=(0,d.ui)(j,j,"nonText");const z=O?U:j,q=H?.7:.85,K=new a.Q1(z),G=(0,d.hu)(j,v,$);let Y=(0,d.ui)(G,U,"paragraphText");K.alpha(E?1:q);const Q=$?{background:t,backgroundSize:`${k}px 100%`,backgroundPositionX:"center"}:{};$&&(Y="#ffffff",U="rgba(0,0,0,0.4)");const X={backgroundColor:K.toRgba(),...Q,height:`${R}px`,left:0,position:"absolute",top:0,transition:"background-color 150ms",width:`${B}px`},J={backgroundColor:"transparent",border:0,color:O?Y:G,cursor:"pointer",height:`${R}px`,boxShadow:"none",width:`${B}px`},Z=I&&!b,tt={background:"rgba(0,0,0,.4)",color:"#fff",fontFamily:c.w5,fontSize:18*L+"px",lineHeight:30*L+"px",pointerEvents:"none",textAlign:"center"},et=()=>{x(!0)},it=()=>{x(!1)};return(0,n.h)("div",{class:"w-bpb-wrapper w-css-reset w-css-reset-tree",ref:_,style:N},(0,n.h)("button",{class:"w-big-play-button w-css-reset-button-important w-vulcan-v2-button",style:J,onMouseEnter:et,onMouseLeave:it,onFocusIn:et,onFocusOut:it,onClick:P,"aria-label":F,tabIndex:m,type:"button"},(0,n.h)("div",{style:V}),(0,n.h)("div",{style:X}),(0,n.h)(o.R,{width:i,height:e,scale:L,isLoading:w,overrideFillColor:O?Y:G})),Z?(0,n.h)("div",{class:"w-bpb-time",style:tt},(0,u.G5)(y)):null)}},(t,e,i)=>{i.d(e,{R:()=>r});var n=i(2),s=i(218),o=i(206);const r=({width:t,height:e,scale:i,isLoading:r=!1,overrideFillColor:a})=>{const l=e*i,h=(0,o.I)({width:t,height:e,styleOverride:{position:"absolute",height:`${l}px`,color:a},ariaHidden:!0}),u=t/2-18.5,c=e/2-18;return(0,n.h)("svg",{...h,"aria-hidden":"true"},(0,n.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",fill:"currentcolor",opacity:r?.5:1,transform:`translate(${u}, ${c})`,d:"M12.138 2.173C10.812 1.254 9 2.203 9 3.817v28.366c0 1.613 1.812 2.563 3.138 1.644l20.487-14.183a2 2 0 0 0 0-3.288L12.138 2.173Z"}),r&&(0,n.h)(s.e,null))}},(t,e,i)=>{i.d(e,{e:()=>r});var n=i(2),s=i(3),o=i(64);const r=()=>{const t=(0,s.useRef)(null),[e,i]=(0,s.useState)(!1);return(0,s.useEffect)((()=>{(0,o.addInlineCss)(t.current,"\n @keyframes w-loading-pulse {\n from {\n stroke-dashoffset: 55;\n }\n to {\n stroke-dashoffset: -175;\n }\n }\n .w-big-play-button-loading-anim {\n stroke-dasharray: 50 260;\n stroke-dashoffset: 55;\n animation: w-loading-pulse 1.2s infinite cubic-bezier(0.65, 0, 0, 1);\n }\n "),i(!0)}),[]),(0,n.h)("line",{ref:t,class:"w-big-play-button-loading-anim",x1:"0",y1:"78",x2:"125",y2:"78",style:{stroke:"currentcolor",strokeWidth:4,strokeLinecap:"round",opacity:e?1:0}})}},(t,e,i)=>{i.d(e,{A:()=>o});var n=i(2),s=i(64);const o=t=>class extends n.Component{constructor(...t){var e,i,n;super(...t),e=this,n=t=>{const e=this.props.onClick;e&&e(t)},(i=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(i="onClick"))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n}render(){return(0,n.h)(t,this.props)}componentDidMount(){this.setupBindings()}componentDidUpdate(){this.destroyBindings(),this.setupBindings()}componentWillUnmount(){this.destroyBindings()}setupBindings(){this.unbinds=[],this.unbinds.push((0,s.elemBind)(this.base,"click",this.onClick))}destroyBindings(){this.unbinds&&(this.unbinds.map((t=>t())),this.unbinds=null)}}},(t,e,i)=>{var n=i(2),s=i(14),o=i(205),r=i(65),a=i(96),l=i(199),h=i(131),u=i(221),c=i(207),d=i(1);
163function p(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const m=(0,r.o1)();(0,h.defineTranslations)("en-US",{CLICK_FOR_SOUND_DESKTOP_TEXT:"Click for sound",CLICK_FOR_SOUND_MOBILE_TEXT:"Tap for sound"});class g extends c.E{constructor(t){super(t),p(this,"renderButton",(()=>{const t=Boolean(this.video._opts.silentAutoPlayIsChromeless),e=this.isVisible();let i;if(t&&(e?this.video.requestChromeless("clickForSound"):this.video.releaseChromeless("clickForSound")),this.video.trigger("clickforsoundvisibilitychange",e),e){const t=new Promise((t=>{setTimeout(t,1e3)}));i=Promise.race([t,(0,a.$)("assets/external/interFontFace.js")])}else i=Promise.resolve();this.lastRenderPromise||(this.lastRenderPromise=Promise.resolve()),this.lastRenderPromise.then((()=>(this.lastRenderPromise=i,i))).then((()=>{(0,n.render)((0,n.h)(u.D,{...this.props,isLiveMedia:this.video.isLiveMedia(),isTouchscreen:m.touchScreen,backdropEnabled:this.getSilentAutoplayBackdropState(),buttonText:this.buttonText(),buttonTextEnabled:this.buttonTextEnabled(),elemRef:t=>this.buttonRoot=t,isVisible:this.isVisible(),onClick:this.onClick,scale:this.scale()}),this.rootElem),this.reactMounts=[this.rootElem],this.trigger("buttonrootrendered")}))})),p(this,"onClick",(t=>{if((0,o.y)()||this.video.focus(),this.video.unmute(),!1===this.video.isLiveMedia()&&!0!==d.Wistia._specificTimeInitiated){const t=this.video._opts?.time??this.video._attrs?.currentTime??0;"beforeplay"===this.video.state()&&t<=0?this.video.play():this.video.time(t).then((()=>this.video.play()))}!0!==this.video.embedOptions().plugin?.captions?.onByDefault&&this.video.turnOffCaptions(),this.setIsVisible(!1),this.trigger("click",t)})),this.silentAutoPlayBackdropEnabled=this.video._opts.silentAutoPlayBackdropEnabled,this.unbinds.push(t.on("play",this.renderButton),t.on("silentplaybackmodechange",this.renderButton),t.on("volumechange",this.renderButton))}mount(t){this.rootElem=t,this.renderButton()}onControlPropsUpdated(t){const e=this.props;t.scale===e.scale&&t.controlsAreVisible===e.controlsAreVisible&&t.controlBarHeight===e.controlBarHeight||this.renderButton(),t.playerLanguage&&this.props.playerLanguage.code!==t.playerLanguage.code&&this.renderButton()}getSilentAutoplayBackdropState(){return null==this.silentAutoPlayBackdropEnabled||this.silentAutoPlayBackdropEnabled}setSilentAutoPlayBackdropEnabled(t){this.silentAutoPlayBackdropEnabled=t,this.renderButton()}isVisible(){const t=this.video.embedOptions();return!0!==t.clickForSound?.disabled&&(null!=this._isVisible?this._isVisible:this.video.inSilentPlaybackMode())}setIsVisible(t){this._isVisible=t,this.renderButton(),this.video.trigger("clickforsoundvisibilitychange",this.isVisible())}buttonText(){return m.touchScreen?this.translate("MOBILE_TEXT"):this.translate("DESKTOP_TEXT")}buttonTextEnabled(){const t=this.video.embedOptions(),e=t.plugin?.videoThumbnail;return e?.on?e.clickForSound?.showText??!0:t.clickForSound?.showText??!0}afterButtonRenders(){return new Promise((t=>{this.bind("buttonrootrendered",(()=>(t(this.buttonRoot),this.unbind)))}))}translate(t){return(0,h.getTranslation)(this.props?.playerLanguage.code,`CLICK_FOR_SOUND_${t}`)}scale(){const{scale:t}=this.props;return m.touchScreen?t:1.5*t}}(0,s.Ut)(g.prototype),g.handle="clickForSoundButton",g.type="above-control-bar",(0,l.X)(g)},(t,e,i)=>{i.d(e,{D:()=>l});var n=i(2),s=i(3),o=i(205),r=i(45),a=i(222);const l=({backdropEnabled:t,buttonText:e,buttonTextEnabled:i,elemRef:l,isLiveMedia:h,isTouchscreen:u,isVisible:c,onClick:d,scale:p,videoWidth:m})=>{const g=`${m}px`,f=35*p,y=15*p-2,_=(0,s.useRef)(null),[v,b]=(0,s.useState)(!1),[w,E]=(0,s.useState)(u||h);return(0,n.h)(a.u,{class:"w-css-reset w-css-reset-tree","data-handle":"click-for-sound-backdrop",elemRef:l,onClick:d,onMouseEnter:()=>{E(!0)},onMouseLeave:()=>{u||h||E(!1)},style:{display:c?"block":"none",height:"100%",left:0,pointerEvents:t?"auto":"none",position:"absolute",top:0,width:"100%"}},(0,n.h)("button",{"aria-label":e,onFocus:()=>{(0,o.y)()||b(!0)},onBlur:()=>b(!1),class:"w-vulcan-v2-button click-for-sound-btn",style:{background:"rgba(0,0,0,0.8)",border:"2px s
163olid "+(v?"#fff":"transparent"),borderRadius:"60px",cursor:"pointer",display:"flex",justifyContent:"space-between",alignItems:"center",outline:"none",pointerEvents:"auto",position:"absolute",right:`${y}px`,top:`${y}px`,maxWidth:m-2*y+"px"}},i?(0,n.h)("div",{ref:_,style:{display:"flex",alignItems:"center",justifyContent:"flex-end",whiteSpace:"nowrap",overflow:"hidden",maxWidth:w?g:0,transition:"max-width 200ms"}},(0,n.h)("span",{style:{color:"#fff",fontFamily:r.yY,fontSize:m<640?"15px":"18px",fontWeight:500,paddingLeft:"1em",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:g}},e)):null,(0,n.h)("svg",{viewBox:"0 0 237 237",width:f,height:f},(0,n.h)("style",null,"\n @keyframes VOLUME_SMALL_WAVE_FLASH {\n 0% { opacity: 0; }\n 33% { opacity: 1; }\n 66% { opacity: 1; }\n 100% { opacity: 0; }\n }\n\n @keyframes VOLUME_LARGE_WAVE_FLASH {\n 0% { opacity: 0; }\n 33% { opacity: 1; }\n 66% { opacity: 1; }\n 100% { opacity: 0; }\n }\n\n .volume__small-wave {\n animation: VOLUME_SMALL_WAVE_FLASH 2s infinite;\n opacity: 0;\n }\n\n .volume__large-wave {\n animation: VOLUME_LARGE_WAVE_FLASH 2s infinite .3s;\n opacity: 0;\n }\n"),(0,n.h)("path",{fill:"#fff",d:"M88 107H65v24h24l23 23V84z"}),(0,n.h)("g",{fill:"none",stroke:"#fff","stroke-linecap":"round","stroke-width":"10"},(0,n.h)("path",{d:"M142 86c9 21 9 44 0 65",class:"volume__small-wave"}),(0,n.h)("path",{d:"M165 74c13 23 13 66 0 89",class:"volume__large-wave"})))))}},(t,e,i)=>{i.d(e,{u:()=>l});var n=i(2),s=i(65),o=i(223);function r(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const a=(0,s.o1)();class l extends n.Component{constructor(...t){super(...t),r(this,"onSwipe",((t,e)=>{const i=this.props.onSwipe;i&&i(t,e)})),r(this,"onPinch",((t,e)=>{const i=this.props.onPinch;i&&i(t,e)})),r(this,"onLongPress",((t,e)=>{const i=this.props.onLongPress;i&&i(t,e)})),r(this,"onCustomTouchMove",((t,e)=>{const i=this.props.onCustomTouchMove;i&&i(t,e)}))}render(){const t=this.props.tagName||"div";return(0,n.h)(t,{...this.props,ref:this.props.elemRef},this.props.children)}componentDidMount(){this._savedBase=this.base,this.setupBindings()}componentDidUpdate(){this.base!==this._savedBase&&(this._savedBase=this.base,this.destroyBindings(),this.setupBindings())}componentWillUnmount(){this.destroyBindings()}setupBindings(){if(this.unbinds=[],a.touchScreen){const t=this.touchEvents=new o.A(this.base);t.on("swipe",this.onSwipe),t.on("pinch",this.onPinch),t.on("longpress",this.onLongPress),t.on("touchmove",this.onCustomTouchMove)}}destroyBindings(){this.touchEvents&&(this.touchEvents.destroy(),this.touchEvents=null),this.unbinds&&(this.unbinds.map((t=>t())),this.unbinds=null)}}},(t,e,i)=>{i.d(e,{A:()=>l});var n=i(14),s=i(64);function o(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const r=(0,i(65).o1)();class a{constructor(t){o(this,"onTouchStart",(t=>{this.rootWidth=(0,s.elemWidth)(this.rootElem),this.rootHeight=(0,s.elemHeight)(this.rootElem),this.rootOffset=(0,s.elemOffset)(this.rootElem),this.resetTouchContext(),t.touches[0]&&(this.xDown=t.touches[0].clientX,this.yDown=t.touches[0].clientY),this.updatePinch(t),2==t.touches.length&&this.touchesAreInsideRootElem()&&t.preventDefault(),this.startedAt=Date.now(),(0,s.elemBind)(document,"touchmove",this.onTouchMoveDocument,{passive:!1}),(0,s.elemBind)(document,"touchend",this.onTouchEndDocument),(0,s.elemBind)(this.rootElem,"touchmove",this.onTouchMove,{passive:!1}),(0,s.elemBind)(this.rootElem,"touchend",this.onTouchEnd);const e=this.getTouchContext(t);this.trigger("touchstart",t,e),this.maybeTriggerMoreSpecificEvent(t,e)})),o(this,"onTouchMove",(t=>{t._handledByTouchMove=!0;const e=t.touches[0].clientX,i=t.touches[0].clientY;this.xDiff=this.xDown-e,this.yDiff=this.yDown-i,this.updatePinch(t),this.isPinch||(Math.sqrt(this.xDiff*this.xDiff+this.yDiff*this.yDiff)>25||Date.now()-this.startedAt>300)&&(this.isSwipe=!0);const n=this.getTouchContext(t);this.trigger("touchmove",t,n),this.maybeTriggerMoreSpecificEvent(t,n)})),o(this,"onTouchMoveDocument",(t=>{t._handledByTouchMove||this.onTouchMove(t)})),o(this,"onTouchEnd",(t=>{t._handledByTouchEnd=!0;const e=this.getTouchContext(t);this.trigger("touchend",t,e),this.maybeTriggerMoreSpecificEvent(t,e),setTimeout((()=>{this.resetTouchContext(),this.unbindTouchEndAndTouchMove()}),0)})),o(this,"onTouchEndDocument",(t=>{t._handledByTouchEnd||this.onTouchEnd(t)})),this.rootElem=t,this.xDown=this.yDown=null,this.xDiff=this.yDiff=0,this.isSwipe=!1,this.isPinch=!1,this.startedAt=null,this.initialPinchDistance=null,this.touch1=this.touch2=null,this.pinchDistance=0,this.pinchScale=0,(0,s.elemBind)(t,"touchstart",this.onTouchStart,!!r.passiveSupported&&{passive:!1})}updatePinch(t){const e=this.rootOffset;return 2===t.touches.length?(this.touch1={left:t.touches[0].pageX-e.left,top:t.touches[0].pageY-e.top},this.touch2={left:t.touches[1].pageX-e.left,top:t.touches[1].pageY-e.top},this.pinchDistance=Math.sqrt((this.touch1.left-this.touch2.left)*
163*2,(this.touch1.top-this.touch2.top)**2),null==this.initialPinchDistance&&(this.initialPinchDistance=this.pinchDistance),this.pinchScale=this.pinchDistance/this.initialPinchDistance,this.pinchDelta=this.pinchDistance-this.initialPinchDistance,this.isPinch=!0,this.pinchScale):0}getTouchContext(t){const e=this.rootOffset,i=Date.now()-this.startedAt,n=Object(t.touches[0]);return{xOffset:n.pageX-e.left,yOffset:n.pageY-e.top,xDelta:this.xDiff,yDelta:this.yDiff,absXDelta:Math.abs(this.xDiff),absYDelta:Math.abs(this.yDiff),delta:Math.sqrt(this.xDiff*this.xDiff+this.yDiff*this.yDiff),startedAt:this.startedAt,isSwipe:!this.isPinch&&this.isSwipe,isTap:i<1e3&&!this.isPinch&&!this.isSwipe,isLongPress:i>=1e3&&!this.isPinch&&!this.isSwipe,isPinch:this.isPinch,timeDelta:i,pinchScale:this.pinchScale,pinchDistance:this.pinchDistance}}touchIsInsideRootElem(t){return t.left>=0&&t.left<this.rootWidth&&t.top>=0&&t.top<this.rootHeight}touchesAreInsideRootElem(){return this.touchIsInsideRootElem(this.touch1)&&this.touchIsInsideRootElem(this.touch2)}resetTouchContext(){this.xDown=this.yDown=null,this.xDiff=this.yDiff=0,this.isSwipe=!1,this.isPinch=!1,this.startedAt=null,this.pinchDelta=0,this.pinchDistance=0,this.initialPinchDistance=null,this.touch1=this.touch2=null}maybeTriggerMoreSpecificEvent(t,e){e.isLongPress?this.trigger("longpress",t,e):e.isTap?this.trigger("tap",t,e):e.isSwipe?this.trigger("swipe",t,e):e.isPinch&&this.trigger("pinch",t,e)}destroy(){(0,s.elemUnbind)(this.rootElem,"touchstart",this.onTouchStart),this.unbindTouchEndAndTouchMove(),this.rootElem=null}unbindTouchEndAndTouchMove(){(0,s.elemUnbind)(document,"touchmove",this.onTouchMoveDocument),(0,s.elemUnbind)(document,"touchend",this.onTouchEndDocument),(0,s.elemUnbind)(this.rootElem,"touchmove",this.onTouchMove),(0,s.elemUnbind)(this.rootElem,"touchend",this.onTouchEnd)}}(0,n.Ut)(a.prototype);const l=a},(t,e,i)=>{var n=i(225),s=(i(2),i(64)),o=i(65),r=i(205),a=i(96),l=i(199),h=i(223),u=i(207),c=i(226);function d(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const p=(0,o.o1)();class m extends u.E{constructor(t){super(t),d(this,"onContextMenu",((t,e)=>{t.altKey||this.video.ui.shouldOnlyShowControlBar?.()||("contextmenu"===t.type&&t.preventDefault(),this.pageX=t.pageX,this.pageY=t.pageY,this._hasLoaded||this.loading(new Promise((t=>{this.resolveLoadingPromise=t})),{x:this.pageX,y:this.pageY}),new Promise((t=>{e&&e.isLongPress||!(0,r.y)()?t():(0,s.elemBind)(document,"mouseup",(e=>(this.pageX=e.pageX,this.pageY=e.pageY,t(),s.elemUnbind)))})).then((()=>(0,n.R)(this.loadContextMenu()))).then((()=>{this.renderMenu&&(this.resolveLoadingPromise(),this.renderMenu(),this.menuElemRef.focus())})))})),d(this,"onDocumentKeyDown",(t=>{if((0,s.formInputIsFocused)()||t.wistiaPlayerHandled||!(0,c.Y)(t))return;const e=(0,s.getDeepActiveElement)();if(!e||!(0,s.elemIsInside)(e,this.video.chrome))return;if(t.preventDefault(),t.wistiaPlayerHandled=!0,this._visible)return void this.closeAndRefocus();this.returnFocusTo=e;const i=(0,s.elemOffset)(this.video._embedContainer);this.onContextMenu({type:"keydown",pageX:i.left+i.width/2,pageY:i.top+i.height/2},{isLongPress:!0})})),d(this,"onClick",(t=>{(0,s.elemIsInside)(t.target,this.rootElem)||p.safari&&t.ctrlKey||(this.hideMenu?this.hideMenu():this._hasLoaded||this.loading(new Promise((t=>{t()}))))})),d(this,"onDocumentMouseUp",(t=>{t.ctrlKey||(0,s.elemIsInside)(t.target,this.rootElem)||((0,s.elemUnbind)(document,"mouseup",this.onDocumentMouseUp),this.loadContextMenu().then((()=>{this.hideMenu()})))})),p.touchScreen?(this.touchEvents=new h.A(t.chrome),this.touchEvents.bind("longpress",this.onContextMenu)):this.unbinds.push((0,s.elemBind)(t.chrome,"contextmenu",this.onContextMenu)),this.unbinds.push((0,s.elemBind)(t.chrome,"click",this.onClick)),this.unbinds.push((0,s.elemBind)(document,"keydown",this.onDocumentKeyDown)),this.eventListeners.set("hide-copy-link-and-thumbn
163ail-change",(()=>{this.renderMenu()})),this.eventListeners.forEach(((e,i)=>{t.embedElement.addEventListener(i,e)}))}mount(t){this.rootElem=t}destroy(){this.touchEvents&&(this.touchEvents.destroy(),this.touchEvents=null),super.destroy()}onControlPropsUpdated(t){this.props.playerLanguage===t.playerLanguage&&this.props.controlBarBorderRadius===t.controlBarBorderRadius||!this._visible||this.renderMenu()}loadContextMenu(){return Promise.all([(0,a.$)("assets/external/interFontFace.js"),(0,a.$)("assets/external/vulcanV2Player/shared/controls/ContextMenuControl/menu.js")]).then((([,t])=>{const{ContextMenuExtensions:e}=t;for(let t in e)this[t]=e[t].bind(this);this._hasLoaded=!0}))}removeEventListeners(){this.eventListeners instanceof Map&&(this.eventListeners.forEach(((t,e)=>{this.impl.video.embedElement.removeEventListener(e,t)})),this.eventListeners.clear())}}m.handle="contextMenu",m.type="foreground",(0,l.X)(m)},(t,e,i)=>{i.d(e,{R:()=>s});const n=t=>{setTimeout((()=>{throw t}),0)},s=t=>t.catch(n)},(t,e,i)=>{i.d(e,{Y:()=>n});const n=t=>"ContextMenu"===t.key||(121===t.keyCode?t.shiftKey:79===t.keyCode&&!t.ctrlKey&&!t.metaKey&&!t.altKey)},(t,e,i)=>{var n=i(2),s=i(207),o=i(228),r=i(199),a=i(131);class l extends s.E{constructor(...t){var e,i,n;super(...t),e=this,n=()=>{const{ui:t}=this.video;if(t.isShowingMore())return t.showLess(),void this.renderButton();t.showMore().then((()=>
163{if(!this.buttonElem)return;const e=t.getControlsByType("control-bar-right").find((t=>t.buttonElement&&!t.disabledButton));e?.buttonElement?.focus()})).catch((()=>{})),this.renderButton()},(i=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(i="onClickButton"))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n}mountButton(t){this.buttonElem=t,this.renderButton()}renderButton(){(0,n.render)((0,n.h)(o.e,null),this.buttonElem),this.setButtonLabel(this.translate(this.video.ui.isShowingMore()?"LESS":"MORE"))}translate(t){return(0,a.getTranslation)(this.props.playerLanguage.code,`ELLIPSIS_${t}`)}}l.handle="ellipsisButton",l.isVideoChrome=!0,l.type="ellipsis",l.sortValue=1e5,l.shouldMount=t=>{const e=t._impl.ui?.getControlsByType("control-bar-right")||[],i=t._impl.ui?.getControlsByType("playbar")||[];return e.length>0&&i.length>0&&t._impl.ui&&!t._impl.ui.shouldShowMoreDefaultValue()},(0,r.X)(l)},(t,e,i)=>{i.d(e,{e:()=>o});var n=i(2),s=i(206);class o extends n.Component{shouldComponentUpdate(){return!1}render(){const{onMouseEnter:t,...e}=this.props,i={...(0,s.I)({width:40,height:34,ariaHidden:!0}),...e};return t&&(i.onMouseEnter=t),(0,n.h)("svg",i,(0,n.h)("circle",{cx:"20",cy:"17",r:"2",fill:"currentcolor"}),(0,n.h)("circle",{cx:"13",cy:"17",r:"2",fill:"currentcolor"}),(0,n.h)("circle",{cx:"27",cy:"17",r:"2",fill:"currentcolor"}))}}},(t,e,i)=>{var n=i(2),s=i(45),o=i(207),r=i(199),a=i(230);class l extends o.E{constructor(t){super(t),this.video=t,this._isVisible=!1,this._isHintVisible=!1}mount(t){this.rootElem=t,this.render()}onControlPropsUpdated(){this._isHintVisible&&this.render()}hide(){this._isVisible=!1,this.render()}show(){this._isVisible=!0,this.render()}hideHint(){this._isHintVisible=!1,this.render()}showHint(t){this._hintText=t,this._isHintVisible=!0,this.render()}hintStyle(){const{controlBarHeight:t,controlsAreVisible:e,playerBorderRadius:i,scale:n}=this.props,o=12*n;return{background:"rgba(0,0,0,.6)",borderRadius:`${Math.min(i,8*n)}px`,bottom:`${(e?t:0)+o}px`,color:"#fff",fontFamily:s.yY,fontSize:`${Math.max(11,12*n)}px`,left:`${o}px`,lineHeight:1,padding:`${6*n}px ${8*n}px ${4*n}px`,pointerEvents:"none",position:"absolute",whiteSpace:"nowrap"}}style(){return{boxShadow:this._isVisible?a.TWO_TONE_FOCUS_RING_INSET_BOX_SHADOW:"none",borderRadius:`${this.props.playerBorderRadius}px`,display:this._isVisible||this._isHintVisible?"block":"none",height:"100%",left:0,pointerEvents:"none",position:"absolute",right:0,width:"100%"}}render(){(0,n.render)((0,n.h)("div",{style:this.style(),class:"w-focus-outline"},this._isHintVisible?(0,n.h)("span",{"aria-hidden":"true",style:this.hintStyle()},this._hintText):null),this.rootElem)}}l.shouldMount=t=>!t.isAudio(),l.handle="focusOutline",l.type="foreground",l.sortValue=100,(0,r.X)(l)},(t,e,i)=>{i.d(e,{BIG_PLAY_BUTTON_FOCUS_VISIBLE_RULE:()=>s,TWO_TONE_FOCUS_RING_INSET_BOX_SHADOW:()=>n});const n="inset 0 0 0 2px #ffffff, inset 0 0 0 4px #101014",s=`.w-big-play-button:focus-visible{box-shadow:${n}!important;}`},(t,e,i)=>{var n=i(2),s=i(64),o=i(65),r=i(207),a=i(232),l=i(199),h=i(131);function u(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const c=(0,o.o1)();(0,h.defineTranslations)("en-US",{FULLSCREEN_DOUBLE_TAP:"Double-tap to zoom in or out",FULLSCREEN_TITLE_WHEN_IN_FULLSCREEN:"Unfullscreen",FULLSCREEN_TITLE_WHEN_NOT_IN_FULLSCREEN:"Fullscreen"});class d extends r.E{constructor(t){super(t),u(this,"onClickButton",(()=>{this.toggleFullscreen()})),u(this,"onKeyUp",(t=>{if((0,s.formInputIsFocused)())return;const e=this.impl.getInputContext();"background-focus"!==e&&"player-mouseover"!==e&&"player-focus"!==e&&"playbar-focus"!==e||70===t.keyCode&&this.toggleFullscreen()})),this.unbinds.push(this.impl.on("enterfullscreen",(()=>{this.renderButton()})),this.impl.on("cancelfullscreen",(()=>{this.renderButton()})),(0,s.elemBind)(document,"keyup",this.onKeyUp)),p()||m(this.impl)||!g()||(this.mountDialog=this.maybeMountDialog)}inFullscreen(){return this.isWistiaPlayer?this.api.inFullscreen:this.api.inFullscreen()}onControlPropsUpdated(t){t.playerLanguage&&this.props.playerLanguage.code!==t.playerLanguage.code&&(this.renderButton(),this.dialog&&this.dialog.isOpen()&&this.renderDialog())}maybeMountDialog(t){this.dialogElem=t,this.renderDialog()}
163renderDialog(){this.dialogElem.innerHTML=this.translate("DOUBLE_TAP")}mountButton(t){this.buttonElem=t,this.renderButton()}renderButton(){if(!this.buttonElem)return;const t=this.inFullscreen()?this.translate("TITLE_WHEN_IN_FULLSCREEN"):this.translate("TITLE_WHEN_NOT_IN_FULLSCREEN");this.setButtonLabel(t),(0,n.render)((0,n.h)(a.D,null),this.buttonElem),this.reactMounts=[this.buttonElem]}translate(t){return(0,h.getTranslation)(this.props.playerLanguage.code,`FULLSCREEN_${t}`)}toggleFullscreen(){if(p()||m(this.impl))if(this.inFullscreen())this.api.cancelFullscreen();else{const t=this.api.requestFullscreen();t instanceof Promise&&t.catch((()=>{}))}}}d.handle="fullscreenControl",d.type="control-bar-right",d.sortValue=1e3,(0,l.X)(d);const p=()=>c.fullscreenEnabled,m=t=>{const e=t._mediaData,i=t._opts,n=(e.spherical||i.spherical)&&!i.overrideSpherical,s=top!==self;return c.ios.version>0&&(!s||!n)},g=()=>c.ios.version>0||c.android;d.shouldMount=t=>{const e=t._attrs.fullscreenControl;return(!0===e||null==e)&&(p()||m(t)||g())}},(t,e,i)=>{i.d(e,{D:()=>o});var n=i(2),s=i(206);const o=()=>{const t=(0,s.I)({width:40,height:34,ariaHidden:!0,styleOverride:{fill:"none"}});return(0,n.h)("svg",t,(0,n.h)("rect",{x:"14",y:"13",width:"12",height:"8",rx:"1.5",stroke:"currentcolor","stroke-width":"2"}),(0,n.h)("g",{stroke:"currentcolor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"},(0,n.h)("path",{d:"M10 13V11C10 9.89543 10.8954 9 12 9H14"}),(0,n.h)("path",{d:"M30 13V11C30 9.89543 29.1046 9 28 9H26"}),(0,n.h)("path",{d:"M30 21L30 23C30 24.1046 29.1046 25 28 25L26 25"}),(0,n.h)("path",{d:"M10 21L10 23C10 24.1046 10.8954 25 12 25L14 25"})))}},(t,e,i)=>{var n=i(64),s=i(2),o=i(207),r=i(234),a=i(199);function l(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class h extends o.E{constructor(t){super(t),l(this,"show",(t=>{this._isVisible=!0,this.renderMenu(t)})),l(this,"hide",(()=>{this._isVisible=!1,(0,s.render)((0,s.h)("nothing",null),this.rootElem),this.reactMounts=[this.rootElem]})),this._isVisible=!1}mount(t){this.rootElem=t}renderMenu(t){const e=t.x||0,i=t.y||0,o=(0,n.elemOffset)(this.video._embedContainer);this._isVisible&&((0,s.render)((0,s.h)(r.A,{videoOffset:o,x:e,y:i}),this.rootElem),this.reactMounts=[this.rootElem])}}h.handle="loadingHourglass",h.type="foreground",(0,a.X)(h)},(t,e,i)=>{i.d(e,{A:()=>r});var n=i(2),s=i(64);class o extends n.Component{constructor(t){var e,i,n;super(t),e=this,n=t=>{const e=t.pageX-this.props.videoOffset.left+10,i=t.pageY-this.props.videoOffset.top;this.setState({x:e,y:i})},(i=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(i="onMouseMove"))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,this.animationInterval=void 0,this.state={x:this.props.x+10,y:this.props.y,floatingPixel:8}}componentWillMount(){this.animationInterval=setInterval((()=>{let t=this.state.floatingPixel+1;t>10&&(t=8),this.setState({floatingPixel:t})}),500),(0,s.elemBind)(document,"mousemove",this.onMouseMove)}componentWillUnmount(){clearInterval(this.animationInterval),(0,s.elemUnbind)(document,"mousemove",this.onMouseMove)}sandStyle(){return{fill:"#000000",width:"1",height:"1"}}anchorStyle(){return{height:0,left:`${this.state.x}px`,position:"absolute",top:`${this.state.y}px`,width:0}}sandProps(t,e){return{className:"sand",x:t,y:e,style:this.sandStyle()}}useRules(){return{fill:"#FFFFFF","fill-rule":"evenodd"}}hourGlassProps(t){return{stroke:"#000000",x:"1.5",y:t,width:"12",height:"2"}}defsProps(t){return{x:1,y:t,width:13,height:3}}render(){return(0,n.h)("div",{style:this.anchorStyle(),onMouseMove:this.onMouseMove},(0,n.h)("svg",{width:"15px",height:"20px",viewBox:"0 0 15 20",version:"1.1"},(0,n.h)("defs",null,(0,n.h)("rect",{id:"path-1",...this.defsProps(1)}),(0,n.h)("rect",{id:"path-2",...this.defsProps(16)}),(0,n.h)("polygon",{id:"path-3",points:"2 3 13 3 13 7 10.25 10 13 13 13 17 2 17 2 13 4.75 10 2 7"})),(0,n.h)("g",{id:"Page-1",stroke:"none","stroke-width":"1",fill:"none","fill-rule":"evenodd"},(0,n.h)("g",{id:"hourglass"},(0,n.h)("g",{id:"top"},(0,n.h)("use",{...this.useRules(),xlinkKref:"#path-1"}),(0,n.h)("rect",this.hourGlassProps(1.5))),(0,n.h)("g",{id:"bottom"},(0,n.h)("use",{...this.useRules(),xlinkHref:"#path-2"}),(0,n.h)("rect",this.hourGlassProps(16.5))),(0,n.h)("g",{id:"glass"},(0,n.h)("use",{...this.useRules(),xlinkHref:"#path-3"}),(0,n.h)("path",{stroke:"#000000",d:"M2.5,3.5 L2.5,6.80550815 L5.42828419,10 L2.5,13.1944918 L2.5,16.5 L12.5,16.5 L12.5,13.1944918 L9.57171581,10 L12.5,6.80550815 L12.5,3.5 L2.5,3.5 Z"})),(0,n.h)("rect",{id:"floater",fill:"#000000",x:"7",y:this.state.floatingPixel,width:"1",height:"1"}),[[5,6],[7,6],[6,7],[8,7],[7,11],[6,12],[8,12],[7,13],[6,14],[8,14],[5,13],[9,13],[4,14],[10,14],[5,6],[9,6]].map((t=>(0,n.h)("rect",this.sandProps(t[0],t[1]))))))))}}const r=o},(t,e,i)=>
163{var n=i(2),s=i(96),o=i(207),r=i(199),a=i(131),l=i(228);function h(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}(0,a.defineTranslations)("en-US",{MULTI_CONTROL_TITLE:"Settings",MULTI_CONTROL_HIDE_MENU:"Hide Settings menu",MULTI_CONTROL_SHOW_MENU:"Show Settings menu"});class u extends o.E{constructor(...t){super(...t),h(this,"buttonRoot",void 0),h(this,"dialog",void 0),h(this,"dialogRoot",void 0),h(this,"loading",void 0),h(this,"setButtonLabel",void 0),h(this,"renderDialog",void 0),h(this,"loadMenuCode",(async()=>Promise.all([(0,s.$)("assets/external/interFontFace.js"),(0,s.$)("assets/external/vulcanV2Player/video/controls/MultiControl/dialog.js")]).then((([,t])=>{if(!this.renderDialog){const{renderDialog:e}=t;this.renderDialog=e}})))),h(this,"onMouseEnterButton",(()=>{this.loadMenuCode()}))}static shouldMount(t){const e=t.embedOptions();return e?.multiControl??!1}controlDialogClosed(){this.updateButtonLabel()}controlDialogOpened(){this.updateButtonLabel()}mountButton(t){this.buttonRoot=t,this.renderButton()}mountDialog(t){this.dialogRoot=t,this.renderMenu()}onControlPropsUpdated(t){this.dialog?.isOpen()&&this.renderMenu();const{playerLanguage:e}=this.props;null!=t.playerLanguage&&null!=this.props.playerLanguage&&t.playerLanguage.code!==e.code&&(this.renderButton(),this.renderMenu())}renderButton(){this.setButtonLabel(this.translate("MULTI_CONTROL_TITLE")),this.updateButtonLabel(),this.buttonRoot&&((0,n.render)((0,n.h)(l.e,{onMouseEnter:this.onMouseEnterButton}),this.buttonRoot),this.reactMounts=[this.buttonRoot])}renderMenu(){if(!this.dialogRoot)return;if(!this.dialog?.isOpen())return;const t=this.loadMenuCode().then((()=>{this.dialogRoot&&this.renderDialog?.(this.dialogRoot,this.impl)}));this.loading(new Promise((e=>{t.then(e)})))}translate(t){const e=this.props.playerLanguage;return(0,a.getTranslation)(e.code,t)}updateButtonLabel(){this.dialog&&(this.dialog.isOpen()?this.setButtonLabel(this.translate("MULTI_CONTROL_HIDE_MENU")):this.setButtonLabel(this.translate("MULTI_CONTROL_SHOW_MENU")))}}h(u,"handle","multiControl"),h(u,"sortValue",800),h(u,"type","control-bar-right"),(0,r.X)(u)},(t,e,i)=>{var n=i(237),s=i(199);class o extends n.A{width(){return this.props.width}left(){return this.props.left}}o.shouldMount=t=>{const e=t._attrs.playBarControl;return!0===e||null==e},o.handle="playbar",o.type="playbar",(0,s.X)(o)},(t,e,i)=>{i.d(e,{A:()=>p});var n=i(166),s=i(86),o=i(79),r=i(205),a=i(64),l=i(2),h=i(238),u=i(207);function c(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class d extends u.E{constructor(t){super(t),c(this,"onResize",(({playbarBarWidth:t,playbarBarLeftOffsetFromPlayerLeftEdge:e})=>{this.video.trigger("playbarresize",{playbarBarWidth:t,playbarBarLeftOffsetFromPlayerLeftEdge:e}),this._barWidth=t,this._barLeftOffset=e})),c(this,"renderPlaybar",(()=>{const t=this.video,e=t.plugin.chapters,i=e?e.getAllChapters():[],n=e?e.getChapterWithVisibleTitle():null,s=e?e.getChapterWithFocusedMarker():null,o=this.PlaybarComponent;(0,l.render)((0,l.h)(o,{getCurrentTime:this.getCurrentTime,getCurrentBufferTime:this.getCurrentBufferTime,duration:t.duration(),isBeforePlay:"beforeplay"===t.state(),isVisible:this.props.controlsAreVisible,isPlaying:"playing"===t.state(),isSeeking:t._impl.engine&&t._impl.engine.isSeeking(),...this.props,onDragStart:this.onDragStart,onDrag:this.onDrag,onDragEnd:this.onDragEnd,onBlur:this.onBlurPlaybar,onFocus:this.onFocusPlaybar,isPlaceholder:this.isPlaceholder(),chapters:i,chapterWithFocusedMarker:s,chapterWithVisibleTitle:n,onClickChapter:this.onClickChapter,onDismissChapterTitle:this.onDismissChapterTitle,onMouseEnterOrFocusChapter:this.onMouseEnterOrFocusChapter,onMouseLeaveOrBlurChapter:this.onMouseLeaveOrBlurChapter,mediaData:this.video._mediaData,embedOptions:this.video._opts,color:this.video.playerColor(),showTime:this.showTime,shouldShowStoryboard:this.shouldShowStoryboard(),shouldShowChapterTitles:!0,shouldShowTime:this.shouldShowTime(),storyboardAsset:this.storyboardAsset(),leftControlBarWidth:this.props.leftControlBarWidth,setTimeWidth:this.setTimeWidth,setRightBarMargin:this.setRightBarMargin,resumableTime:this.resumableTime(),getDurationBeforeCuts:this.getDurationBeforeCuts,getTimeBeforeCuts:this.getTimeBeforeCuts,onResize:this.onResize,playerIconColor:this.props.playerIconColor}),this.rootElem),this.reactMounts=[this.rootElem]})),c(this,"getDurationBeforeCuts",(()=>this.video?.engine?this.video.engine.getDurationBeforeCuts():-1)),c(this,"getTimeBeforeCuts",(t=>this.video?.engine?this.video.engine.getTimeBeforeCuts(t):-1)),c(this,"setTimeWidth",(t=>{this._timeWidth=t})),c(this,"setRightBarMargin",(t=>{this._rightBarMargin=t})),c(this,"renderNothing",(()=>{(0,l.render)((0,l.h)("nothing",null),this.rootElem),this.reactMounts=[this.rootElem]})),c(this,"renderIfNotPlaying",(()=>{"playing"!==this.video.state()&&this.render()})),c(this,"getCurrentTime",(()=>this.video?this.video.time():0)),c(this,"getCurrentBufferTime",(()=>{const t=this.video?this.video.getBuffered():[];return 0===t.length?0:t[t.length-1].end})),c(this,"onClickChapter",((t,e)=>{e&&(this.video.time(e.time),"beforeplay"===this.video.state()&&this.video.play())})),c(this,"onMouseEnterOrFocusChapter",((t,e)=>{e&&(this.chaptersPlugin().setChapterWithVisibleTitle(e.id),this.chaptersPlugin().setChapterWithFocusedMarker(e.id))})),c(this,"onMouseLeaveOrBlurChapter",(()=>{this.chaptersPlugin().setChapterWithVisibleTitle(null),this.chaptersPlugin().setChapterWithFocusedMarker(null)})),c(this,"onDismissChapterTitle",(()=>{this.chaptersPlugin().setChapterWithVisibleTitle(null)})),c(this,"onDragStart",((t,e)=>{this.video.requestControls("playbar-drag"),this.stateBeforeDrag=this.video.state(),this.onDrag(t,e),(0,o.doTimeout)(`${this.video.uuid}.maybe-pause-on-scrub`,(()=>{(0,r.y)()&&this.video.pause()}),300)})),c(this,"onDrag",((t,e)=>{if(!this.video)return;const i=e*this.video.duration();i!==this._timeSeekedToRecently&&(this.video.time(i),this._timeSeekedToRecently=i,(0,o.doTimeout)(`${this.video.uuid}.prevent-double-seek`,(()=>{this._timeSeekedToRecently=null}),300))})),c(this,"onDragEnd",((t,e)=>{this.video&&(this.video.releaseControls("playbar-drag"),this.onDrag(t,e),this.video.trigger("playbardragend"),"beforeplay"!==this.stateBeforeDrag&&"playing"!==this.stateBeforeDrag||this.video.play())})),c(this,"onFocusPlaybar",(()=>{this.video.enterInputContext("playbar-focus")})),c(this,"onBlurPlaybar",(()=>{this.video.exitInputContext("playbar-focus")})),c(this,"onKeyDown",(t=>{const e=this.video;
163if(!this.isVisible()||this.video._opts.spherical)return;if((0,a.formInputIsFocused)())return;const i=e.getInputContext();if("playbar-focus"!==i&&"player-mouseover"!==i&&"background-focus"!==i&&"player-focus"!==i)return;const n=e.duration(),s=t.keyCode;if(32===s)return void("playbar-focus"!==i&&"player-mouseover"!==i||t.preventDefault());null==this.keyDownStartedAt&&(this.keyDownStartedAt=Date.now());const o=Date.now()-this.keyDownStartedAt;let r=0;r="playing"===e.state()?t.shiftKey||o>200?33===s||34===s?n<30?5:n<60?10:10+n/60:n<30?2:n<60?5:5+n/60/2:33===s||34===s?n<60?5:20:2:t.shiftKey||o>200?1:1/24;let l=0;39===s||33===s?l=1:37!==s&&34!==s||(l=-1),-1===l?(t.preventDefault(),e.time(e.time()-r)):1===l&&(t.preventDefault(),e.time(e.time()+r))})),c(this,"onKeyUp",(t=>{if(!this.isVisible())return;if((0,a.formInputIsFocused)())return;this.keyDownStartedAt=null;const e=this.video;"playbar-focus"===e.getInputContext()&&32===t.keyCode&&("playing"===e.state()?e.pause():e.play())})),this.PlaybarComponent=h.A,this.showTime=!0,this._barWidth=0,this._barLeftOffset=0}get barWidth(){return this._barWidth}get barLeftOffset(){return this._barLeftOffset}mount(t){super.mount(t),this.eventListeners.set("playercolorchange",(()=>this.render())),this.eventListeners.set("opaquecontrolschange",(()=>this.render())),this.eventListeners.set("resumablechange",(()=>this.render()));const{video:e}=this;this.unbinds.push(e.on("play",(()=>{this.render()})),e.on("pause",(()=>{this.render()})),e.on("progress",this.renderIfNotPlaying),e.on("timechange",(()=>{this.render()})),e.on("end",(()=>{this.render()})),e.on("widthchange",(()=>{this.render()})),e.on("seeking",(()=>{this.render()})),e.on("trimchange",(()=>{this.renderNothing(),this.render()})),(0,a.elemBind)(document,"keydown",this.onKeyDown),(0,a.elemBind)(document,"keyup",this.onKeyUp));const i=()=>{const t=e.plugin.chapters;this.unbinds.push(t.on("focuschange",(()=>{this.render()})),t.on("changechapters",(()=>{this.render()})))};e.plugin("chapters").then(i),e.on("plugininitialized",(t=>{"chapters"===t&&i()})),this.render()}onControlPropsUpdated(t){t.width!==this.props.width&&this.render(),t.controlsAreVisible&&!this.props.controlsAreVisible&&this.render(),!t.controlsAreVisible&&this.props.controlsAreVisible&&this.render(),this.props.controlBarBorderRadius!==t.controlBarBorderRadius&&this.render()}render(){this.video.publicApi.isLiveMedia()?this.renderNothing():this.renderPlaybar()}resumableTime(){if(this.video.shouldResume())return(0,n.U2)(this.video.hashedId())}timeWidth(){return this._timeWidth}rightBarMargin(){return this._rightBarMargin}chaptersPlugin(){return this.video.plugin.chapters}isPlaceholder(){return!1}isVisible(){return!0}shouldShowTime(){return!0}shouldShowStoryboard(){if(null!=this._shouldShowStoryboard)return this._shouldShowStoryboard;const t=!!this.storyboardAsset();return this._shouldShowStoryboard=t}storyboardAsset(){return(0,s.one)(this.video._mediaData.assets,{type:"storyboard",status:s.READY,metadata:t=>t&&t.frame_count&&t.frame_width&&t.frame_height})}}const p=d},(t,e,i)=>{i.d(e,{A:()=>A});var n=i(239),s=i(45),o=i(9),r=i(5),a=i(22),l=i(64),h=i(2),u=i(65),c=i(205),d=i(96),p=i(240),m=i(223),g=i(50),f=i(131);function y(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}(0,n.EH)(),(0,f.defineTranslations)("en-US",{PLAYBAR_SEEK:"Seek"});const _=(0,u.o1)();let v,b;const w="vulcanV2Player/shared/ui_components",E="w-playbar";let C;const T=1.001,S=t=>Math.min(1,Math.max(0,t));class P extends h.Component{constructor(t){super(t),y(this,"onFocusChapterMarkers",(()=>{this.state.isKeyboardFocused&&this.setState({isKeyboardFocused:!1})})),y(this,"onFocus",(t=>{const{onFocus:e}=this.props;e&&e(t),(0,c.y)()||this.setState({isKeyboardFocused:!0})})),y(this,"onFocusOut",(()=>{this.state.isKeyboardFocused&&this.setState({isKeyboardFocused:!1})})),y(this,"onDocumentKeyUp",(t=>{if("Escape"!==t.key||t.escapeHandled)return;const e=this.isShowingHoverPreview()&&this.hasHoverPreviewContent(),i=this.isShowingChapterTitle();(e||i)&&(t.escapeHandled=!0,e&&this.setState({isHoverPreviewDismissed:!0}),i&&this.props.onDismissChapterTitle?.())})),y(this,"onMouseEnter",(t=>{this.touchEvents||(t.wistiaPlayerHandled=!0,this.setState({hoveredAt:Date.now(),isHoverPreviewDismissed:!1,isHovering:!0}
163),this.cachePositionDetails(),this.props.shouldShowStoryboard&&this.loadStoryboard())})),y(this,"onMouseLeave",(t=>{this.touchEvents||(t.wistiaPlayerHandled=!0,this.setState({hoveredAt:void 0,isHoverPreviewDismissed:!1,isHovering:!1}))})),y(this,"onMouseMove",(t=>{if(this.touchEvents)return;t.wistiaPlayerHandled=!0;const e=this.getPercentFromPossiblyExternalMouseEvent(t);this.setState({hoverPercent:e})})),y(this,"onMouseDown",(t=>{if(this.touchEvents)return;if(t.wistiaPlayerHandled)return;if(t.ctrlKey)return;t.preventDefault(),this.wrapperElem.focus(),t.wistiaPlayerHandled=!0,this.cachePositionDetails();const e=this.getPercentFromPossiblyExternalMouseEvent(t);this.handleWithProp("onDragStart",t,e),this.setState({dragPercent:e,dragMode:!0,wasBeforePlayOnDrag:this.props.isBeforePlay}),(0,l.elemBind)(document,"mousemove",this.onMouseMoveDragging),(0,l.elemBind)(document,"mouseup",this.onMouseUpDragging)})),y(this,"onMouseMoveDragging",(t=>{t.preventDefault(),t.wistiaPlayerHandled=!0;const e=this.getPercentFromPossiblyExternalMouseEvent(t);this.handleWithProp("onDrag",t,e),this.setState({dragPercent:e,dragMode:!0})})),y(this,"onMouseUpDragging",(t=>{t.wistiaPlayerHandled=!0;const e=this.getPercentFromPossiblyExternalMouseEvent(t);this.setState({dragPercent:e,dragMode:!1,isOverPlayhead:!1}),this.handleWithProp("onDragEnd",t,e),(0,l.elemUnbind)(document,"mousemove",this.onMouseMoveDragging),(0,l.elemUnbind)(document,"mouseup",this.onMouseUpDragging)})),y(this,"onTouchStart",(t=>{t.preventDefault(),t.wistiaPlayerHandled=!0,this.cachePositionDetails();const e=this.getPercentFromTouchEvent(t);this.handleWithProp("onDragStart",t,e),this.setState({dragPercent:e,dragMode:!0}),this.touchEvents.on("touchmove",this.onTouchMoveDragging),this.touchEvents.on("touchend",this.onTouchEndDragging)})),y(this,"onTouchMoveDragging",(t=>{t.preventDefault(),t.wistiaPlayerHandled=!0;const e=this.getPercentFromTouchEvent(t);this.handleWithProp("onDrag",t,e),this.setState({dragPercent:e,dragMode:!0})})),y(this,"onTouchEndDragging",(t=>{t.wistiaPlayerHandled=!0;const e=this.getPercentFromTouchEvent(t);this.setState({dragPercent:e,dragMode:!1,isOverPlayhead:!1}),this.handleWithProp("onDragEnd",t,e),this.touchEvents.off("touchmove",this.onTouchMoveDragging),this.touchEvents.off("touchend",this.onTouchEndDragging)})),y(this,"onMouseEnterPlayhead",(()=>{this.setState({isOverPlayhead:!0})})),y(this,"onMouseLeavePlayhead",(()=>{this.setState({isOverPlayhead:!1})})),y(this,"setWrapperRef",(t=>{this.wrapperElem=t,this.props.setPlaybarElemRef&&this.props.setPlaybarElemRef(t)})),y(this,"startAnimLoopIfPlaying",(()=>{this.props.isPlaying&&this.props.isVisible&&requestAnimationFrame(this.continuouslyUpdatePlaybar)})),y(this,"stopAnimLoop",(()=>{cancelAnimationFrame(this.animReq)})),y(this,"continuouslyUpdatePlaybar",(()=>{this.drawCanvas(),this.maybeUpdateTimeText(),(0,a.assign)(this.playheadEl.style,this.playheadStyle()),this.startAnimLoopIfPlaying()})),y(this,"loadStoryboard",(()=>(0,d.$)("assets/external/vulcanV2Player/video/ui_components/Storyboard.js").then((t=>{C=t.Storyboard,this.setState({loadedStoryboard:!0})})))),y(this,"loadChapters",(()=>Promise.all([(0,d.$)(`assets/external/${w}/ChapterMarkers.js`),(0,d.$)(`assets/external/${w}/ChapterTitles.js`)]).then((([t,e])=>{v=t.ChapterMarkers,b=e.ChapterTitles,this.setState({loadedChapters:!0})})))),this.state={currentBufferTime:t.getCurrentBufferTime(),currentTime:t.getCurrentTime(),dragMode:!1,dragPercent:0,hasPlayed:!1,hoverPercent:0,isHoverPreviewDismissed:!1,isHovering:!1,isKeyboardFocused:!1,isOverPlayhead:!1,loadedChapters:!1,loadedStoryboard:!1,timeWidth:null,wasBeforePlayOnDrag:!1},this.setColorsFromPlayerColor(t.color),t.chapters&&t.chapters.length>0&&this.loadChapters(),this.playheadScale=T}canvasHeight(){return this.props.height*(r.z.devicePixelRatio||1)}canvasStyle(){return{height:`${this.props.height}px`,left:-this.leftBarMargin()+"px",position:"absolute",top:0,width:`${this.leftBarMargin()+this.unfilledBarWidth()+this.rightBarMargin()}px`}}canvasWidth(){return(this.leftBarMargin()+this.unfilledBarWidth()+this.rightBarMargin())*(r.z.devicePixelRatio||1)}playheadStyle(){const t=1.4*this.barHeight()*4,e=this.props.height/2-t/2;return{borderRadius:"50%",height:`${t}px`,left:this.playedPercent()*this.unfilledBarWidth()-t/2+"px",opacity:0,position:"absolute",top:`${e}px`,width:`${t}px`}}componentWillReceiveProps(t){const e=this.props;e.color!==t.color&&this.setColorsFromPlayerColor(t.color),this.setState({dragMode:!1,currentTime:e.getCurrentTime(),currentBufferTime:e.getCurrentBufferTime()}),t.chapters&&t.chapters.length>
1630&&this.loadChapters()}drawCanvas(){if(!this.canvasEl)return;const t=r.z.devicePixelRatio||1,{dragMode:e,hoverPercent:i,isHovering:n,isKeyboardFocused:s,isOverPlayhead:l}=this.state,h=this.canvasWidth(),u=this.canvasHeight(),c=this.canvasEl.getContext("2d");c.globalCompositeOperation="source-over",c.clearRect(0,0,h,u);const d=this.unfilledBarWidth(),p=this.props.height*t/2;c.strokeStyle=`${this.props.playerIconColor}99`,c.lineWidth=this.barHeight()*t,c.beginPath(),c.lineCap="round",c.moveTo(this.leftBarMargin()*t,p),c.lineTo((this.leftBarMargin()+d)*t,p),c.stroke();const m=this.playedPercent()*d;c.strokeStyle=new o.Q1(this.props.playerIconColor).toRgba(),c.lineWidth=this.barHeight()*t,c.beginPath(),c.lineCap="round",c.moveTo(this.leftBarMargin()*t,p),c.lineTo((this.leftBarMargin()+m)*t,p),c.stroke();let{chapters:g}=this.props;const{chapterWithFocusedMarker:f,duration:y}=this.props,_=1.4*this.barHeight()*t;if(g?.length>0){if(f){g=(0,a.clone)(g);let t=-1;for(let e=0;e<g.length;e++)if(g[e].id===f.id){t=e;break}g.splice(t,1),g.push(f)}g.forEach((e=>{const i=e.time/y,n=(this.leftBarMargin()+i*d)*t;let s=_;f===e&&(s*=1.5),c.beginPath(),c.arc(n,p,1.6*s,0,2*Math.PI),c.closePath(),c.globalCompositeOperation="destination-out",c.fill()})),g.forEach((e=>{const i=e.time/y,n=(this.leftBarMargin()+i*d)*t;let s=.6,r=_;f===e&&(r*=2,s=1),c.beginPath(),c.arc(n,p,r,0,2*Math.PI),c.closePath(),c.globalCompositeOperation="source-over",c.fillStyle=new o.Q1(this.props.playerIconColor).alpha(s).toRgba(),c.fill();const a=r-.75*this.barHeight()*t;c.beginPath(),c.arc(n,p,a,0,2*Math.PI),c.closePath(),c.globalCompositeOperation="destination-out",c.fillStyle="rgba(0,0,0,1)",c.fill()})),c.globalCompositeOperation="source-over"}const v=e||s||l,b=v?2:T;let w=!1;b!==this.playheadScale&&(w=!0,this.playheadScale=v?2:T,this.lastScaledAt=Date.now());const E=v?0:100;w&&this.animateUntil(Date.now()+E);const C=0===E?1:2-Math.min(1,(Date.now()-this.lastScaledAt)/E),S=this.lastScaledAt?C*b:1,P=1.4*this.barHeight()*t*S,A=(this.leftBarMargin()+m)*t,L=2*P,I=2*L,M=c.createRadialGradient(A,p,0,A,p,L);if(M.addColorStop(0,new o.Q1(this.props.playerIconColor).alpha(.5).toRgba()),M.addColorStop(1,new o.Q1(this.props.playerIconColor).alpha(0).toRgba()),c.beginPath(),c.rect(A-L,p-L,I,I),c.closePath(),c.fillStyle=M,c.fill(),c.beginPath(),c.arc(A,p,P,0,2*Math.PI),c.closePath(),c.fillStyle=new o.Q1(this.props.playerIconColor).alpha(1).toRgba(),c.fill(),s&&(c.beginPath(),c.arc(A,p,1.5*P,0,2*Math.PI),c.closePath(),c.strokeWidth=t||1,c.stroke()),n&&!e&&!f){c.beginPath();const e=1.4*this.barHeight()*t,n=(this.leftBarMargin()+i*this.unfilledBarWidth())*t;c.arc(n,p,e,0,2*Math.PI),c.closePath(),c.fillStyle=`${this.props.playerIconColor}FF`,c.fill()}}animateUntil(t){(!this._animEndTime||t>this._animEndTime)&&(this._animEndTime=t),this._animating||(this.animateCanvasUntilEndTime(),this._animating=!0)}animateCanvasUntilEndTime(){requestAnimationFrame((()=>{Date.now()>this._animEndTime?this._animating=!1:(this.drawCanvas(),this.animateCanvasUntilEndTime())}))}maybeCallOnResize(){const t=this.unfilledBarWidth()+2,e=this.props.left+this.timeLeftPadding()+this.leftBarMargin()+this.timeWidth()-1;this._lastPlaybarWidth===t&&this._lastPlaybarBarLeftOffsetFromPlayerLeftEdge===e||(this.props.onResize?.({playbarBarWidth:t,playbarBarLeftOffsetFromPlayerLeftEdge:e}),this._lastPlaybarWidth=t,this._lastPlaybarBarLeftOffsetFromPlayerLeftEdge=e)}render(){return this.maybeCallOnResize(),this.oldWrapperElem=this.wrapperElem,(0,h.h)("div",{class:`${E}-wrapper w-css-reset w-css-reset-tree`,style:this.wrapperStyle()},this.props.shouldShowTime?this.renderTime():void 0,(0,h.h)("div",{style:{width:"100%",position:"relative"}},(0,h.h)("div",{"aria-describedby":this.props.controlBarId,"aria-label":(0,f.getTranslation)(this.props.playerLanguage?.code,"PLAYBAR_SEEK"),"aria-orientation":"horizontal","aria-valuemax":this.props.duration,"aria-valuemin":0,"aria-valuenow":this.ariaValueNow(),"aria-valuetext":this.ariaValueText(),onBlur:this.props.onBlur,onFocus:this.onFocus,onfocusout:this.onFocusOut,onKeyDown:this.onKeyDown,onMouseDown:this.onMouseDown,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseMove:this.onMouseMove,onMouseUp:this.onMouseUp,ref:this.setWrapperRef,role:"slider",style:this.dragAreaStyle(),tabindex:this.props.isVisible?0:-1},(0,h.h)("canvas",{height:this.canvasHeight(),ref:t=>this.canvasEl=t,style:this.canvasStyle(),width:this.canvasWidth()}),(0,h.h)("div",{onMouseEnter:this.onMouseEnterPlayhead,onMouseLeave:this.onMouseLeavePlayhead,ref:t=>this.playheadEl=t,style:this.playheadStyle()}),this.isStoryboardMounted()?(0,h.h)(C,{...this.props,hasChapters:this.state.loadedChapters,isHovering:this.isShowingHoverPreview(),getDurationBeforeCuts:this.props.getDurationBeforeCuts,getTimeBeforeCuts:this.props.getTimeBeforeCuts,hoverPercent:this.state.hoverPercent,left:this.props.left+this.timeWidth()+this.timeLeftPadding()+this.leftBarMargin(),width:this.unfilledBarWidth()}):null,this.props.shouldShowTimeOnHover&&this.isShowingHoverPreview()&&(0,h.h)(p.A,{left:this.state.hoverPercent*this.unfilledBarWidth(),time:this.getHoverTime(),height:this.props.height,widthOfPlaybar:this.unfilledBarWidth()})),this.props.chapters&&this.props.chapters.length>0&&void 0!==v&&(0,h.h)("div",{"aria-label":"Chapter Markers",role:"toolbar",style:{bottom:0,height:`${this.props.height}px`,outline:"none",paddingLeft:`${this.leftBarMargin()}px`,paddingRight:`${this.rightBarMargin()}px`,pointerEvents:"none",position:"absolute",width:"100%"}},(0,h.h)(v,{...this.props,onFocus:this.onFocusChapterMarkers,paddingLeft:this.leftBarMargin(),paddingRight:this.rightBarMargin(),timeLeft:-10,timeRight:-10}),this.props.shouldShowChapterTitles?(0,h.h)(b,{...this.props,leftBarMargin:this.leftBarMargin(),left:this.props.left+this.timeWidth()+this.timeLeftPadding()+this.leftBarMargin(),width:this.unfilledBarWidth()}):null)))}renderTime(){return(0,h.h)("div",{class:`${E}__time`,style:this.timeStyle(),ref:t=>this.timeElem=t})}componentDidMount(){this.drawCanvas(),this.lastRenderedAt=Date.now(),_.touchScreen&&this.wrapperElem&&(this.touchEvents=new m.A(this.wrapperElem),this.touchEvents.on("touchstart",this.onTouchStart)),this.maybeUpdateTimeText();const t=this.props;t.isPlaying&&this.setState({hasPlayed:!0}),t.isPlaying&&this.startAnimLoopIfPlaying(),(0,l.elemBind)(document,"keyup",this.onDocumentKeyUp,!0),this.props.setTimeWidth(this.timeWidth()+this.timeLeftPadding()+this.leftBarMargin()),this.props.setRightBarMargin(this.rightBarMargin())}componentDidUpdate(t,e){this.drawCanvas();const i=this.props;this.lastRenderedAt=Date.now(),_.touchScreen&&this.wrapperElem&&this.oldWrapperElem!==this.wrapperElem&&(this.touchEvents&&this.touchEvents.destroy(),this.touchEvents=new m.A(this.wrapperElem),this.touchEvents.on("touchstart",this.onTouchStart)),i.isPlaying&&!this.state.hasPlayed&&this.setState({hasPlayed:!0}),this.maybeUpdateTimeText();const n=i.isPlaying&&!t.isPlaying,s=e.currentBufferTime!=this.state.currentBufferTime,o=i.isVisible&&!t.isVisible;(n||o||s)&&this.startAnimLoopIfPlaying(),!i.isVisible&&t.isVisible&&this.stopAnimLoop(),this.props.setTimeWidth(this.timeWidth()+this.timeLeftPadding()+this.leftBarMargin()),this.props.setRightBarMargin(this.rightBarMargin())}componentWillUnmount(){(0,l.elemUnbind)(document,"keyup",this.onDocumentKeyUp,!0),(0,l.elemUnbind)(document,"mousemove",this.onMouseMoveDragging),(0,l.elemUnbind)(document,"mouseup",this.onMouseUpDragging),this.touchEvents&&(this.touchEvents.destroy(),this.touchEvents=null)}getHoverTime(){return(0,g.G5)(Math.round(this.state.hoverPercent*this.props.duration))}placeholderStyle(){return{cursor:"default",height:"100%",outline:"none",position:"relative",width:"100%"}}wrapperStyle(){const{videoWidth:t,width:e}=this.props;return{display:"flex",height:"100%",width:e===t?`${e}px`:"100%"}}dragAreaStyle(){return{cursor:"pointer",flex:"1 1",height:`${this.props.height}px`,outline:"none",marginLeft:`${this.leftBarMargin()}px`,marginRight:`${this.rightBarMargin()}px`,position:"relative"}}
163leftBarMargin(){const{leftControlBarWidth:t}=this.props;return 0===t?this.rightBarMargin():1.5*this.rightBarMargin()}rightBarMargin(){const{duration:t,scale:e}=this.props,i=7*(0,g.G5)(900).length,n=7*(0,g.G5)(t).length;return 10*(i<n?i/n:1)*e}timeLeftPadding(){const{leftControlBarWidth:t,isPlaceholder:e,shouldShowTime:i}=this.props;return i?0===t?this.leftBarMargin()/1.33:e?this.leftBarMargin():this.leftBarMargin()/3:0}timeStyle(){const{height:t,scale:e}=this.props;return{boxSizing:"content-box",color:this.props.playerIconColor,fontFamily:s.w5,fontSize:13*e+"px",letterSpacing:.5*e+"px",lineHeight:`${t}px`,paddingLeft:`${this.timeLeftPadding()}px`,pointerEvents:"none",position:"relative",textAlign:"center",width:`${this.timeWidth()}px`}}timeWidth(){const{duration:t,scale:e,shouldShowTime:i}=this.props;return i?8.5*(0,g.G5)(t).length*e:0}filledBarStyle(){const t=this.barHeight();return{background:"#fff",borderRadius:`${t}px`,height:`${t}px`,left:0,position:"absolute",top:0,width:100*this.playedPercent()+"%"}}barHeight(){const{scale:t}=this.props;return 2*t}unfilledBarStyle(){const{height:t}=this.props;return{background:`${this.props.playerIconColor}99`,borderRadius:`${this.barHeight()}px`,height:`${this.barHeight()}px`,left:0,pointerEvents:"none",position:"absolute",top:(t-this.barHeight())/2+"px",width:`${this.unfilledBarWidth()}px`}}unfilledBarWidth(){const t=2*this.props.controlBarDistance,{width:e}=this.props;return e-this.timeLeftPadding()-this.timeWidth()-this.leftBarMargin()-this.rightBarMargin()-t}playedPercent(){const t=this.state,{duration:e,getCurrentTime:i,isSeeking:n,resumableTime:s}=this.props;return t.dragMode||t.wasBeforePlayOnDrag&&(n||!t.hasPlayed)?t.dragPercent:s&&!t.hasPlayed?S(s/e):S(i()/e)}bufferedAheadPercent(){const t=this.state;if(this.props.isBeforePlay)return 0;if(t.dragMode){const e=t.currentBufferTime/this.props.duration;return S(e-t.dragPercent)}return S((this.props.getCurrentBufferTime()-this.props.getCurrentTime())/this.props.duration)}emptyPercent(){return 1-S(this.playedPercent()+this.bufferedAheadPercent())}timeText(){const t=this.state,e=this.props;return t.dragMode||t.wasBeforePlayOnDrag&&(this.props.isSeeking||!t.hasPlayed)?(0,g.G5)(t.dragPercent*e.duration):t.hasPlayed||this.props.getCurrentTime()>=1?(0,g.G5)(e.getCurrentTime()):e.resumableTime?(0,g.G5)(e.resumableTime):(0,g.G5)(e.duration)}ariaValueNow(){return this.state.dragMode?this.state.dragPercent*this.props.duration:this.props.getCurrentTime()}ariaValueText(){return(0,g.NV)(this.props.getCurrentTime())}cachePositionDetails(){this.offset=(0,l.elemOffset)(this.wrapperElem)}getPercentFromPossiblyExternalMouseEvent(t){return t.target===this.wrapperElem?this.getPercentFromMouseEvent(t):this.getPercentFromPageX(t.pageX)}getPercentFromMouseEvent({offsetX:t}){const e=this.offset?this.offset.zoom:1;return this.getPercentFromOffsetX(t/e)}getPercentFromOffsetX(t){return Math.max(0,Math.min(1,t/this.unfilledBarWidth()))}getPercentFromPageX(t){if(!this.canvasEl)return 0;const e=this.leftBarMargin(),i=this.unfilledBarWidth(),n=e+i+this.rightBarMargin();if(n<=0)return 0;const s=this.canvasEl.getBoundingClientRect(),o=s.width/n,r=s.left+window.scrollX+e*o,a=i*o;return a<=0?0:Math.max(0,Math.min(1,(t-r)/a))}getPercentFromTouchEvent({changedTouches:t}){return"0"in t?this.getPercentFromPageX(t[0].pageX):0}handleWithProp(t,e,...i){const n=this.props[t];n&&n(e,...i)}isShowingHoverPreview(){return this.state.isHovering&&!this.state.isHoverPreviewDismissed}isStoryboardMounted(){return Boolean(this.props.shouldShowStoryboard)&&void 0!==C}hasHoverPreviewContent(){return this.isStoryboardMounted()||Boolean(this.props.shouldShowTimeOnHover)}isShowingChapterTitle(){return Boolean(this.props.chapterWithVisibleTitle)}maybeUpdateTimeText(){const t=this.timeText();this.timeElem&&t!==this._lastTimeText&&(this.timeElem.innerText=t),this._lastTimeText=t}playheadLeftPosition(){return this.unfilledBarWidth()*this.playedPercent()}setColorsFromPlayerColor(t){this.playedColor=new o.Q1(t).darken(30).alpha(.7),this.bufferedColor=new o.Q1(t).lighten(75).alpha(.6),this.emptyColor=new o.Q1(t).lighten(40).alpha(.3)}}const A=P},(t,e,i)=>{i.d(e,{EH:()=>o});var n=i(64),s=i(1);const o=()=>{s.Wistia._interNumbersFontFaceSemiBold||(s.Wistia._interNumbersFontFaceSemiBold=(0,n.addInlineCss)(document.body||document.head,"\n@font-face {\nfont-family: 'WistiaPlayerInterNumbersSemiBold';\nfont-feature-settings: 'tnum' 1;\nsrc: url(data:application/x-font-woff;charset=utf-8;base64,d09GMk9UVE8AAAaMAAwAAAAACgAAAAZBAAMD1wAAAAAAAAAAAAAAAAAAAAAAAAAADYpwGhQbIBwqBmAAgTIBNgIkAzAEBgWDGgcgGykJEZWkARP8KHCbm2tEznyIN98tPTUk9Ig3oiVV3pbDIzXa+f/fZgXpALFTZhBoMVFC9cp036dXvRKVmVnsxe+D+1NDQI5lG7ikZWEINIElTeBIdnxlhauQ5GQtoLHA/wN0riVdSx5xgbxF3KTbgnjVQ4B9P7YqCx7FpEZK+6ilx0AoopUh4aExJEKmkU+0ncdr4iFfKhdSFD9y91LCRaxNbVqvi0dND3rxI7ndUDR7EiwT3bhiua9krFA0oepCy2hCjwmjnjDjKjNTDz2ZuHtN8820Wfw/l8u4w4yV/f8/6uscs5rmiN00LcP4hAofyZUSyS3WinX0RGFFtnGrjj36x6dlNa57+PLTlrUisH2n9orfgd+R34XfDd0NsWDXwfwhvKHpbs3UBni37dBlPvO4KYn/PgylilcgSdw6sjsSSxsRGfIJgqhi14bKZCHcQvjUh/+3HMotTYrGLVYCxyMFjEnYC98yTAp6atAKVxaZ9eu2NMji8WTj4w/Y34elD60PPwb5bEywLqAX/amwmUo6TBCy14N/TL44jb3sE5JdUIPXXI0RBSoGt3BUObn4agKGIxxQhlyQacbstK4fS2mZoBtFNQ1bd+4zND2vQu6anl7gWFOj8MV2DVMtU44xMhpwElrrjA7zO5IqWojd/v1Vso6cqp91zC2YrGhDOy07Iqyza2q9smDIwUYek0AWbCt/8x78QmrzayQ6xtpmqfCYsLfgU9HdeP3UqutZTTNd/9Q8k08Xz
163XzIxSdvLPda8YaeeZnkxUwql0nDKyUYdaWZjGAy7UDLHpVqBVHTxSV0wBy21El9u/491ik2J3YkdiP2LPZL41RBeeNUWtp97Bbn0Ee1g9wr9qqV/X+4R9nlPX03743dylnaXZyNp8v58yLOsFYCbUnCVQzjN+5QhlmKccO7aMkueWJggROd4qnw2x5LydUcg/NRamE3XMlkGovpRWPKWEavP74P2O1RANM/3gIIPJj7TX+lqU2geQuaBx4B/7cWAOx0ucTiEHYJU9y5DBuUMYNIHeHZz9tn+Fw2G5EBTqUlHRfRi4eB5wNlJsRsv5k4b6HyFkhIC6BO4LzPbWhW7rbCcxubeKHOc6UaBKZBMMd4j8XuRUynOCCa4EMfF9grkI1NcTaSAVtk1nrIOwFfeEBlQw4f4phb6zHzBOm0ZZ0dBcaZRVdYIo5xYiyOMEWONwQHmjKGE//VuRBgul1QrpyxmMvF4vGj0xfuuQrNt4tVTsRhEnjY9AuKa1FVLSEneQWzFd5WbO7hasX08ONUOVQgwQuVqACFXkSoIoUgK1hJEkAgbkG5CjqBS5wrRFuY2IfVwhRnLsVyZTZpatveGR4yEbYqbE6J80nM4aa+LD7Oqmr8PdSJFUQVynmgN4lerGQV1+uLdYzdOFWHPW/iK2gIQayhizQ0NMwyvBEBlrDczRfmU40CTtAHqLQGnjQG8MYkxm1MwJuTqjHwVCu9iRJ1C8ojWGHxUYowH0c5X57zpXquvlw0wzHHGMTfufxiJ1psFJTzq6nGeDvHF4LgmHHWCUViZBaInRn+cswnBi460RBPRYg9TRUQ0CZUC5LAT0qLLu50FpdTeBhjGf7/h4dg9hE0uqsBx/saOcYRDIfnOhfzGFBHyizcJK3p2edUjWrC0rn1aGjXtfVUCHMAKKhlxV8eTEIcV2jCOdKiqahv/MisrfRQVnxPJoOU62mR6pu2ZllIzo8zOZqQB7kWJXW2/c0aihata5PcIVJKfFRgHAETmEQVTCELptGMGcyigTnMJ1voUVN6uCZS9pV2hrwl7FYMvBwtUSd7L7E5qP9t7BIPRF7EcmA9ct2nIPHrxgWajtDltbXuBLuaY6qRZGa5ZlX5anfR0lYXaHUzVSFjZa8rfdhZ8rKXFZg21LVL5LFjI5TlDIbwnFGHE2dypHs6Q50N015dpOgLONEUlOqoiQgIaeCsjMq9gITDKwRMieQgKUy9UQY1BTFYZU2KpE2SkILMIjW8IdFwIKmMaK8oClJVssAEtFnz5dQ1s+w6EZoNGtPGQfzx+aoE8ikiP8GCYOWtgB+HBdWDaxACAZInVq14dZI85RRDvZGIghyONw59KV/BBEQ02P1ER8hmNGiURT2hQP8WfAY=);\n}\n"))};o()},(t,e,i)=>{i.d(e,{A:()=>r});var n=i(45),s=i(2);class o extends s.Component{getLeftValue(){const{left:t}=this.props;return this.isInBeginningZone()?0:this.isInEndZone()?void 0:t}getRightValue(){if(this.isInEndZone())return 0}getTopValue(){const{height:t}=this.props,e=t/2-1.5*this.heightOfTimeBadge();return Math.max(2,e)}isInBeginningZone(){const{left:t}=this.props;return t<this.widthOfTimeBadge()/2}isInEndZone(){const{left:t}=this.props,{widthOfPlaybar:e}=this.props;return t>=e-this.widthOfTimeBadge()/2}timeBadgeStyle(){const t=this.isInBeginningZone()||this.isInEndZone();return{color:"var(--wistia-player-icon-color, #fff)",fontFamily:n.w5,fontSize:"13px",left:this.getLeftValue(),position:"absolute",right:this.getRightValue(),top:this.getTopValue(),transform:t?"":"translateX(-50%)"}}widthOfTimeBadge(){return this._timeBadgeRef?.getBoundingClientRect().width||24}heightOfTimeBadge(){return this._timeBadgeRef?.getBoundingClientRect().height||16}render(){return(0,s.h)("span",{ref:t=>this._timeBadgeRef=t,style:this.timeBadgeStyle()},this.props.time)}}const r=o},(t,e,i)=>{var n=i(2),s=i(215),o=i(65),r=i(207),a=i(199),l=i(242);const h=(0,o.o1)();class u extends r.E{constructor(t){var e,i,n;super(t),e=this,n=()=>{this.playedOnce?this.video.isControlEnabled("centeredPlayPauseToggler")&&!this.props.chromeless||this.video._inNativeMode()||(this.ignoreNextPlayOrPause?this.ignoreNextPlayOrPause=!1:(this.isPlaying="playing"===this.video.state(),this.renderAndFade())):this.playedOnce=!0},(i=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(i="showIconAndFade"))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,this.isOpaque=!1,this.unbinds.push(t.on("play",this.showIconAndFade),t.on("pause",this.showIconAndFade))}mount(t){this.rootElem=t}onControlPropsUpdated(t){t.videoWidth!==this.props.videoWidth&&this.renderButton()}renderAndFade(){const t=this.video.lastPlayInfo();if(this.isPlaying&&"user-event"!==t.source)return;const e=this.video.lastPauseInfo();(this.isPlaying||"user-event"===e.source)&&(this.isOpaque=!0,this.renderButton(),clearTimeout(this.fadeTimeout),this.fadeTimeout=setTimeout((()=>{this.isOpaque=!1,this.renderButton()}),20))}renderButton(){(0,n.render)((0,n.h)("div",{class:"w-play-pause-notifier",style:this.rootStyle()},(0,n.h)(l.r,{isPlaying:!this.isPlaying,svgStyle:{color:"#fff"}})),this.rootElem),this.reactMounts=[this.rootElem]}oldRootStyle(){const t=this.scale(),e=this.isPlaying,i=e?60:50;return{height:(e?72:80)*t+"px",left:"50%",pointerEvents:"none",position:"absolute",opacity:this.isOpaque?.5:0,top:"50%",transform:`translate(-${e?33:50}%, -50%) scale(${this.isOpaque?.9:1.1})`,transition:this.isOpaque?"":"opacity .8s, transform .8s",width:i*t+"px"}}rootStyle(){const t=this.scale();return{background:"rgba(0,0,0,.6)",borderRadius:"50%",height:140*t+"px",left:"50%",pointerEvents:"none",position:"absolute",opacity:this.isOpaque?.6:0,top:"50%",transform:`translate(-50%, -50%) scale(${this.isOpaque?.7:.8})`,transition:this.isOpaque?"":"opacity .8s, transform .8s",width:140*t+"px"}}graphicStyle(){const t=this.scale(),e=this.isPlaying;return{height:(e?72:80)*t+"px",left:"50%",pointerEvents:"none",position:"absolute",top:"50%",transform:`translate(-${e?38:50}%, -${e?47:50}%)`,width:(e?60:50)*t+"px"}}scale(){return Math.min(1.3,Math.max(.3,(0,s.O8)(this.video,[640,960])))}svgStyle(){return{filter:"drop-shadow(0px 0px 3px rgba(0,0,0,0.5))"}}}u.shouldMount=t=>!1!==t._attrs.playPauseNotifier&&!h.touchScreen,u.handle="playPauseNotifier",u.type="above-control-bar",(0,a.X)(u)},(t,e,i)=>{i.d(e,{r:()=>o});var n=i(2),s=i(206);const o=({isPlaying:t,svgStyle:e={},marginLeft:i=0})=>{const o=(0,s.I)({width:40,height:34,ariaHidden:!0,styleOverride:{...e,fill:"none"}});return(0,n.h)("div",{style:{width:"100%",height:"100%",marginLeft:i??0}},(0,n.h)("svg",o,t?(0,n.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M16.5 11C15.6716 11 15 11.6716 15 12.5V22.5C15 23.3284 15.6716 24 16.5 24H17.5C18.3284 24 19 23.3284 19 22.5V12.5C19 11.6716 18.3284 11 17.5 11H16.5ZM23.5 11C22.6716 11 22 11.6716 22 12.5V22.5C22 23.3284 22.6716 24 23.5 24H24.5C25.3284 24 26 23.3284 26 22.5V12.5C26 11.6716 25.3284 11 24.5 11H23.5Z",fill:"currentcolor"}):(0,n.h)("path",{d:"M24.888 16.1913C25.4371 16.5906 25.4371 17.4094 24.888 17.8087L16.5882 23.845C15.9272 24.3257 15 23.8535 15 23.0362V10.9638C15 10.1465 15.9272 9.67433 16.5882 10.155L24.888 16.1913Z",fill:"currentcolor"})))}},(t,e,i)=>
163{var n=i(2),s=i(166),o=i(207),r=i(244),a=i(245),l=i(199);class h extends o.E{constructor(t){super(t),this.video=t,this.unbinds.push(t.on("play",(()=>this.renderProgressIndicator())),t.on("playrejected",(()=>this.renderProgressIndicator())),t.on("playpending",(()=>this.renderProgressIndicator())),t.on("up",(()=>this.renderProgressIndicator())),t.on("end",(()=>this.renderProgressIndicator())))}boundedScale(){const{scale:t}=this.props;return Math.min(Math.max(t,.8),2)}isVisible(){return this._isVisible}mount(t){this.rootElem=t,this.renderProgressIndicator()}onControlPropsUpdated(t){t.containerWidth!==this.props.containerWidth&&this.renderProgressIndicator()}rootStyle(){return{bottom:0,left:0,position:"absolute",width:"100%"}}renderProgressIndicator(){const t=((t,e)=>{if(null!=t&&e)return 100*t/e})((0,s.U2)(this.video.hashedId()),this.video.duration());this._isVisible=t>0&&this.video.shouldResume()&&(0,a.A)(this.video),(0,n.render)((0,n.h)("div",{style:this.rootStyle()},(0,n.h)(r.Z,{color:this.video.playerColor(),isVisible:this._isVisible,percentWatched:t,scale:this.boundedScale()})),this.rootElem)}}h.handle="playbarlessProgressIndicator",h.type="foreground",h.sortValue=1800,h.shouldMount=t=>!t.isAudio()&&!1!==t._attrs.resumable&&"v1"!==t._opts.version&&!1===t._attrs.controlsVisibleOnLoad,(0,l.X)(h)},(t,e,i)=>{i.d(e,{Z:()=>s});var n=i(2);class s extends n.Component{constructor(t){super(t),this.state={filledWidth:0,isDisplayNone:!0,isOpaque:!1,widthTransitionShouldDelay:!0}}componentDidMount(){this.maybeFadeInOrOut()}componentDidUpdate(t,e){const{isVisible:i}=t;this.maybeFadeInOrOut(i);const{filledWidth:n}=e;this.maybeChangeFilledWidth(n)}fadeIn(){const{isVisible:t}=this.props;clearTimeout(this.fadeTimeout),this.setState({isDisplayNone:!1},(()=>{t&&(this.fadeTimeout=setTimeout((()=>{t&&requestAnimationFrame((()=>{this.setState({isOpaque:!0})}))}),0))}))}fadeOut(){const{isVisible:t}=this.props;clearTimeout(this.fadeTimeout),this.setState({isOpaque:!1},(()=>{t||(this.fadeTimeout=setTimeout((()=>{t||this.setState({isDisplayNone:!0})}),200))}))}filledBarStyle(){const{widthTransitionShouldDelay:t,filledWidth:e}=this.state,{color:i}=this.props;return{backgroundColor:`#${i}`,height:"100%",transition:"width 500ms ease-out "+(t?"500ms":""),width:`${e}%`}}maybeFadeInOrOut(t){const{isVisible:e}=this.props;e!==t&&(e?this.fadeIn():this.fadeOut())}maybeChangeFilledWidth(t){const{percentWatched:e}=this.props;null!=e&&e!==t&&setTimeout((()=>{requestAnimationFrame((()=>{this.setState({filledWidth:e})}))}),0)}removeTransitionDelay(){this.setState({widthTransitionShouldDelay:!1})}unfilledBarStyle(){const{isDisplayNone:t,isOpaque:e}=this.state;return{backgroundColor:"#ffffff",bottom:0,boxShadow:"0 -1px 1px rgba(0, 0, 0, 0.9)",display:t?"none":"",height:e?6*this.props.scale+"px":0,opacity:e?.8:0,transition:"opacity 1s, height .5s",width:"100%"}}render(){const{percentWatched:t}=this.props;return(0,n.h)("div",{"aria-label":"Playback progress","aria-valuenow":Math.round(t??0),role:"progressbar",style:this.unfilledBarStyle()},(0,n.h)("div",{onTransitionEnd:()=>this.removeTransitionDelay(),style:this.filledBarStyle()}))}}},(t,e,i)=>{i.d(e,{A:()=>s});const n=(0,i(65).o1)(),s=function(t){const e=t.lastPlayInfo(),i=Date.now()-e.issuedAt,s=!e.source||e.rejectedAt,o=e.isPending&&"user-event"===e.source&&i<2e3,r=t._opts&&"reset"===t._attrs.endVideoBehavior&&"ended"===t.state(),a=e.isPending&&"non-user-event"===e.source&&!t.isMuted()&&(!1===t._attrs.silentAutoplay||null==t._attrs.silentAutoplay)&&(n.iphone||n.ipad||n.safari);return t.up()&&("beforeplay"===t.state()||r)&&(s||a||o||r)}},(t,e,i)=>{var n=i(64),s=i(2),o=i(96),r=i(1),a=i(207),l=i(199),h=i(131),u=i(247);function c(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}(0,h.defineTranslations)("en-US",{SETTINGS_PLAYBACK_RATE_TITLE:"Speed",SETTINGS_QUALITY_AUTO:"Auto",SETTINGS_QUALITY_TITLE:"Quality",SETTINGS_TITLE:"Settings",SETTINGS_HIDE_MENU:"Hide settings menu",SETTINGS_SHOW_MENU:"Show settings menu"});class d extends a.E{constructor(t){super(t),c(this,"onKeyUp",(t=>{const e=this.video.getInputContext(),i=["player-mouseover","player-focus","playbar-focus","background-focus"].indexOf(e)>=0;if(!(0,n.formInputIsFocused)()&&i&&this.getPlaybackRateEnabled()){if
163(">"===t.key){const t=Math.min(this.video.playbackRate()+.25,2);this.video.playbackRate(t)}if("<"===t.key){const t=Math.max(this.video.playbackRate()-.25,.5);this.video.playbackRate(t)}}})),c(this,"loadMenuCode",(()=>Promise.all([(0,o.$)("assets/external/interFontFace.js"),(0,o.$)("assets/external/vulcanV2Player/video/controls/SettingsControl/dialog.js")]).then((([,t])=>{if(!this.renderMenuImpl){const{renderMenu:e,onSelect:i,focusItemParent:n}=t;this.renderMenuImpl=e.bind(this),this.onSelect=i.bind(this),this.focusItemParent=n.bind(this)}})))),c(this,"onMouseEnterButton",(()=>{this.loadMenuCode()})),this.unbinds.push(t.on("playbackratechange",(()=>{this.menuElem&&this.renderMenu()})),t.on("qualitychange",(()=>{this.menuElem&&this.renderMenu()})),t.on("playerlanguagechange",(()=>{this.menuElem&&this.renderMenu()})),(0,n.elemBind)(document,"keyup",this.onKeyUp)),t.hasData((()=>{if(null==this._isQualityEnabled){const e=t._attrs.qualityControl;this._isQualityEnabled=!0===e||null==e}if(null==this._isPlaybackRateEnabled){const e=t._attrs.playbackRateControl;this._isPlaybackRateEnabled=!0===e||null==e}}))}translate(t){return(0,h.getTranslation)(this.props.playerLanguage.code,`SETTINGS_${t}`)}controlDialogOpened(){this.updateButtonLabel()}controlDialogClosed(){this.updateButtonLabel()}isAtRootLevel(){return this.menuElem?.isAtRootLevel()}mountButton(t){this.buttonRoot=t,this.renderButton()}mountDialog(t){return this.dialogRoot=t,this.renderMenu()}renderButton(){this.setButtonLabel(this.translate("TITLE")),this.updateButtonLabel(),(0,s.render)((0,s.h)(u.t,{onMouseEnter:this.onMouseEnterButton}),this.buttonRoot),this.reactMounts.button=[this.buttonRoot]}renderMenu(){if(!this.dialog.isOpen())return;const t=this.loadMenuCode().then((()=>{this.renderMenuImpl()}));return this.loading(new Promise((e=>{t.then(e)}))),t}onControlPropsUpdated(t){this.dialog&&this.dialog.isOpen()&&this.renderMenu(),t.playerLanguage&&this.props.playerLanguage.code!==t.playerLanguage.code&&(this.renderButton(),this.renderMenu())}updateButtonLabel(){this.dialog&&(this.dialog.isOpen()?this.setButtonLabel(this.translate("HIDE_MENU")):this.setButtonLabel(this.translate("SHOW_MENU")))}setQualityEnabled(t){return this._isQualityEnabled=t,this.loadMenuCode().then((()=>{this.dialog.isOpen()&&this.renderMenuImpl()}))}getPlaybackRateEnabled(){return Boolean(this._isPlaybackRateEnabled)}setPlaybackRateEnabled(t){return this._isPlaybackRateEnabled=t,this.loadMenuCode().then((()=>{this.dialog.isOpen()&&this.renderMenuImpl()}))}}d.shouldMount=t=>{const{_attrs:e}=t,i=e.settingsControl,n=e.qualityControl,s=e.playbackRateControl;return!t.isLiveMedia()&&!1!==i&&(!0===n||null==n||!0===s||null==s)},d.handle="settingsButton",d.type="control-bar-right",d.sortValue=200,d.isVideoChrome=!0,(0,l.X)(d),r.Wistia.SettingsControl=d},(t,e,i)=>{i.d(e,{t:()=>o});var n=i(2),s=i(206);const o=({onMouseEnter:t})=>{const e=(0,s.I)({width:40,height:34,ariaHidden:!0,styleOverride:{fill:"none"}});return(0,n.h)("svg",{...e,onMouseEnter:t},(0,n.h)("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M26.4 15.4H28.3C28.7 15.4 29 15.7 29 16.1V16.7C29 17.1 28.7 17.4 28.3 17.4H26.4C26 17.4 25.6 17.7 25.5 18.1L25.1 19.2C25 19.5 25 20 25.3 20.3L26.6 21.6C26.9 21.9 26.9 22.3 26.6 22.6L26.2 23C25.9 23.3 25.5 23.3 25.2 23L23.9 21.7C23.6 21.5 23.1 21.4 22.8 21.6L21.7 22.1C21.3 22.2 21 22.6 21 23V24.7C21 25.1 20.7 25.4 20.3 25.4H19.7C19.3 25.4 19 25.1 19 24.7V23C19 22.6 18.7 22.2 18.3 22.1L17.1 21.6C16.8 21.5 16.3 21.5 16 21.8L14.8 23C14.5 23.3 14.1 23.3 13.8 23L13.4 22.6C13.1 22.3 13.1 21.9 13.4 21.6L14.6 20.4C14.8 20.1 14.9 19.6 14.7 19.3L14.2 18.1C14.1 17.7 13.7 17.4 13.3 17.4H11.7C11.3 17.4 11 17.1 11 16.7V16.1C11 15.7 11.3 15.4 11.7 15.4H13.3C13.7 15.4 14.1 15.1 14.2 14.7L14.7 13.5C14.9 13.2 14.9 12.7 14.6 12.4L13.4 11.2C13.1 10.9 13.1 10.5 13.4 10.2L13.8 9.8C14.1 9.5 14.5 9.5 14.8 9.8L16 11C16.3 11.3 16.8 11.4 17.1 11.2L18.3 10.7C18.7 10.6 19 10.2 19 9.8V8.1C19 7.7 19.3 7.4 19.7 7.4H20.3C20.7 7.4 21 7.7 21 8.1V9.8C21 10.2 21.3 10.6 21.7 10.7L22.8 11.2C23.1 11.4 23.6 11.4 23.9 11.1L25.2 9.8C25.5 9.5 25.9 9.5 26.2 9.8L26.6 10.2C26.9 10.5 26.9 10.9 26.6 11.2L25.3 12.5C25 12.8 24.9 13.3 25.1 13.6L25.5 14.7C25.6 15.1 26 15.4 26.4 15.4ZM19.9 20.4C22 20.4 23.8 18.7 23.8 16.5C23.8 14.3 22.1 12.6 19.9 12.6C17.7 12.6 16 14.4 16 16.5C16 18.6 17.7 20.4 19.9 20.4Z",fill:"currentcolor"}))}},(t,e,i)=>
163{var n=i(2),s=i(199),o=i(207),r=i(131),a=i(242);function l(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const h=(0,i(65).o1)();var u=new WeakSet;class c extends o.E{constructor(t){var e,i;super(t),function(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}(e=this,i=u),i.add(e),l(this,"renderButton",(()=>{if(!this.buttonRoot)return;this.setButtonLabel(function(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}(u,this,d).call(this));const t="playing"!==this.video.state()?1.5*this.props.scale+"px":0;(0,n.render)((0,n.h)(a.r,{isPlaying:"playing"===this.video.state(),svgStyle:{verticalAlign:"top"},marginLeft:t}),this.buttonRoot),this.reactMounts=[this.rootElem]})),l(this,"onClickButton",(()=>{const t=this.video;"playing"===t.state()?t.pause():t.play()})),l(this,"onKeyDownButton",(t=>{32!==t.keyCode&&13!==t.keyCode||(t.__handledAlready=!0)})),this.unbinds.push(t.on("play",this.renderButton),t.on("pause",this.renderButton),t.on("end",this.renderButton)),t.isLiveMedia()?(this.disabledButton=!0,t.ready((()=>{this.disabledButton=!1,this.renderButton()}))):this.disabledButton=!1}onControlPropsUpdated(t){(t.playerLanguage&&this.props.playerLanguage.code!==t.playerLanguage.code||this.props.scale!==t.scale)&&this.renderButton()}mountButton(t){this.buttonRoot=t,this.renderButton()}wrapperStyle(){const{scale:t}=this.props,e="playing"===this.video.state();return{boxSizing:"border-box",height:"100%",marginLeft:e?0:1*t+"px",padding:e?`${10*t}px 0 ${11*t}px 0`:`${10*t}px 0 ${9*t}px 0`,position:"relative",width:"100%"}}translate(t){return(0,r.getTranslation)(this.props.playerLanguage.code,`PLAY_BUTTON_${t}`)}pcfButtonWidth(){return 40}}function d(){return this.disabledButton?this.translate("LIVE_NOT_STARTED"):"playing"===this.video.state()?this.translate("TITLE_WHEN_PLAYING"):this.translate("TITLE_WHEN_NOT_PLAYING")}c.shouldMount=t=>{const e=t._attrs.playPauseControl,i=!0===e||null==e,n=t._impl.ui&&t._impl.ui.shouldShowMoreDefaultValue();return h.iphone||h.ipad||h.android||t.isAudio()||!(t.aspect()<1)?i&&n:i},c.handle="smallPlayButton",c.type="control-bar-left",c.sortValue=100,(0,s.X)(c)},(t,e,i)=>{var n=i(2),s=i(199),o=i(207),r=i(250),a=i(131);(0,a.defineTranslations)("en-US",{STATUS_BAR_EMBED_CODE_COPIED:"Embed Code is now copied to your clipboard!"});class l extends o.E{constructor(t){super(t),this._isVisible=!1}flash(t,e=2e3){this._isVisible=!0,this.renderMenu(this.translate(t)),setTimeout((()=>{this.hide()}),e)}translate(t){return(0,a.getTranslation)(this.props.playerLanguage.code,`STATUS_BAR_${t}`)}hide(){this._isVisible=!1,(0,n.render)((0,n.h)("nothing",null),this.rootElem)}renderMenu(t){this._isVisible&&((0,n.render)((0,n.h)(r.A,{message:t}),this.rootElem),this.reactMounts=[this.rootElem])}}l.handle="statusBar",l.type="background",(0,s.X)(l)},(t,e,i)=>{i.d(e,{A:()=>a});var n=i(2);class s extends n.Component{styles(){return{background:"rgba(0,0,0,.3)",boxShadow:"none",cursor:"pointer",display:"flex",alignItems:"center",fontSize:r(this),lineHeight:o(this),padding:`0 ${10*this.props.scale}px`,width:"100%",height:"30px",color:"#fff",position:"absolute",justifyContent:"center"}}render(){return(0,n.h)("div",{style:this.styles()},this.props.message)}}const o=t=>`${(t=>34*t.props.scale)(t)}px`,r=t=>14*t.props.scale+"px",a=s},(t,e,i)=>{var n=i(2),s=i(207),o=i(252),r=i(245),a=i(199);function l(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class h extends s.E{constructor(t){super(t),l(this,"renderThumbnail",(t=>{const e=this.video,i=e.lastPlayInfo(),s=Date.now()-i.issuedAt,r=e.embedOptions().thumbnailAltText;this._isVisible=this.shouldShow();const a=!0===e._attrs.transparentLetterbox;(0,n.render)((0,n.h)(o.E,{...this.props,backgroundColor:a?"transparent":void 0,elemRef:t=>this.thumbnailElem=t,images:this.thumbnailAssets,isVisible:this.shouldShow(),onDisplay:t,hashedId:this.video.hashedId(),swatchEnabled:!e._attrs.poster&&this._swatchEnabled,uiHasRendered:this.video._impl.ui.hasRendered(),fitStrategy:this.video._opts.fitStrategy,thumbnailAltText:r}),this.rootElem),this._isVisible&&(this._hasRenderedVisible=!0);const l=2e3-s+1;this._isVisible&&s<2e3&&setTimeout((()=>{this._destroyed||this.renderThumbnailAndUpdateSwatch()}),l),this.reactMounts=[this.rootElem]})),l(this,"renderThumbnailAndUpdateSwatch",(t=>{this.renderThumbnail(t),this.updateSwatch()})),this.unbinds.push(t.on("play",(()=>{this._hasPlayed=!0,this.renderThumbnailAndUpdateSwatch()})),t.on("playrejected",(()=>{this.renderThumbnailAndUpdateSwatch()})),t.on("playpending",(()=>{this.renderThumbnailAndUpdateSwatch()})),t.on("up",this.renderThumbnailAndUpdateSwatch),t.on("end",this.renderThumbnailAndUpdateSwatch)),this.eventListeners.set("thumbnailchange",(()=>{this.thumbnailAssets=this.video.thumbnailAssets(),this.renderThumbnailAndUpdateSwatch()})),this._swatchEnabled=t._opts.swatchEnabled?t._opts.swatchEnabled:t._embedContainer.querySelector(".wistia_swatch")}mount(t){if(this.rootElem=t,this.thumbnailAssets=this.thumbnailAssets||this.video.thumbnailAssets(),!this.shouldShow())return Promise.resolve();const e=new Promise((t=>{setTimeout(t,1e3)})),i=new Promise((t=>{this.renderThumbnailAndUpdateSwatch(t),this.video.embedded((()=>{this.__destroyed||this.renderThumbnailAndUpdateSwatch()}))}));return Promise.race([i,e])}shouldShow(){return Boolean((0,r.A)(this.video)&&this.video.thumbnailAssets().length)}onControlPropsUpdated(t){this._hasRenderedVisible&&["videoWidth","videoHeight","playerLanguage","playerBorderRadius"].some((e=>this.props[e]!==t[e]))&&this.renderThumbnailAndUpdateSwatch()}updateSwatch(){const t=this.video._embedContainer.querySelector(".wistia_swatch");t&&(t.style.borderRadius=`${this.props.playerBorderRadius}px`)}}h.shouldShow=function(){return(0,r.A)(this.video)},h.shouldMount=t=>!t._opts.spherical,h.handle="thumbnail",h.type="background",h.sortValue=1e3,(0,a.X)(h)},(t,e,i)=>{i.d(e,{E:()=>l});var n=i(22),s=i(2),o=i(24),r=i(253);function a(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class l extends s.Component{constructor(t){super(t),a(this,"afterTwoSeconds",(()=>{this._displayed||1!==this.state.normalThumbOpacity||this.setState({normalThumbOpacity:0})})),a(this,"onDisplayNormalThumb",(()=>{this.setState({normalThumbOpacity:1}),this._displayed=!0,this.onDisplay&&this.onDisplay()})),this.state={normalThumbOpacity:t.isVisible?1:0},this.onDisplay=t.onDisplay}componentWillReceiveProps(t){!this.onDisplay&&t.onDisplay&&(this.onDisplay=t.onDisplay)}render(){this.props.isVisible&&(this._hasRenderedVisible=!0);const t={ariaHidden:this.props.ariaHidden,backgroundColor:this.props.backgroundColor,fitStrategy:this.props.fitStrategy,isVisible:this.props.isVisible,stillSnap:this.props.stillSnap,stretchLimit:this.props.stretchLimit,videoHeight:this.props.videoHeight,videoWidth:this.props.videoWidth,thumbnailAltText:this.props.thumbnailAltText,playerBorderRadius:this.props.playerBorderRadius},e=(0,n.assign)({},t,{ariaHidden:!0,images:[{url:`${(0,o.eV1Protocol)()}//${(0,o.eV1Host)()}/embed/medias/${this.props.hashedId}/swatch`}]}),i=(0,n.assign)({},t,{onDisplay:this.onDisplayNormalThumb,images:this.props.images});return(0,s.h)("div",{ref:this.props.elemRef},this.props.swatchEnabled&&this._hasRenderedVisible?(0,s.h)(r.V,{...e,wrapperStyle:this.swatchWra
163pperStyle()}):null,this._hasRenderedVisible?(0,s.h)(r.V,{...i,wrapperStyle:this.normalThumbWrapperStyle()}):null)}componentDidMount(){this._fadeTimer=setTimeout(this.afterTwoSeconds,2e3)}componentWillUnmount(){clearTimeout(this._fadeTimer)}normalThumbWrapperStyle(){const t=this.props.swatchEnabled&&this.props.uiHasRendered&&1===this.state.normalThumbOpacity?"opacity 3s":"";return{height:"100%",left:0,opacity:this.state.normalThumbOpacity,position:"naturalHeight"===this.props.fitStrategy?"relative":"absolute",top:0,transition:t,width:"100%"}}swatchWrapperStyle(){return{filter:"blur(5px)",height:"100%",left:0,position:"naturalHeight"===this.props.fitStrategy?"relative":"absolute",top:0,width:"100%"}}}},(t,e,i)=>{i.d(e,{V:()=>l});var n=i(254),s=i(2),o=i(22),r=i(64),a=i(131);(0,a.defineTranslations)("en-US",{THUMBNAIL_VIDEO_THUMBNAIL:"Video Thumbnail"});class l extends s.Component{constructor(t){super(t),this.initialState=this.state={isLoaded:!1,isDisplaying:!1},this.onDisplay=this.props.onDisplay}componentWillReceiveProps(t){t.images!==this.props.images&&(this._sortedImages=null,this.setState({isLoaded:!1,isDisplaying:!1})),!this.onDisplay&&t.onDisplay&&(this.onDisplay=t.onDisplay)}render(){const t=void 0!==this.props.thumbnailAltText?this.props.thumbnailAltText:this.translate("VIDEO_THUMBNAIL");return(0,s.h)("div",{style:this.wrapperStyle(),class:"w-css-reset"},(0,s.h)("img",{class:"w-css-reset",srcset:this.props.images.length>1?this.srcSet():null,src:this.bestSrc(),style:this.imgStyle(),alt:t,ref:t=>this.imgElem=t,"aria-hidden":this.props.ariaHidden?"true":null}))}translate(t){return(0,a.getTranslation)(this.props.playerLanguage,`THUMBNAIL_${t}`)}componentDidMount(){this.setStateBasedOnImgStatus(),this.maybeCallOnDisplay(this.initialState)}componentDidUpdate(t,e){this.setStateBasedOnImgStatus(),this.maybeCallOnDisplay(e)}maybeCallOnDisplay(){this.onDisplay&&this.state.isDisplaying&&!this.calledOnDisplay&&(this.calledOnDisplay=!0,this.onDisplay())}setStateBasedOnImgStatus(){const t=this.state,e=this.imgElem;t.isLoaded||(e.onload||(e.onload=()=>{(0,r.elemInDom)(e)&&this.setState({isLoaded:!0,isDisplaying:!0})}),e.complete&&this.setState({isLoaded:!0,isDisplaying:!0}))}wrapperStyle(){const t=this.state.isDisplaying&&this.props.isVisible;return(0,o.assign)({},this.props.wrapperStyle,{display:this.state.isLoaded&&!t?"none":"block"})}baseStyle(){const t=this.props.fitStrategy;return"cover"===t?this.coverStyle():"contain"===t?this.containStyle():"fill"===t?this.fillStyle():"naturalHeight"===t?this.naturalHeightStyle():this.containStyle()}imgStyle(){const t=this.state.isDisplaying&&this.props.isVisible;return(0,o.assign)(this.baseStyle(),{clip:t?"auto":"rect(0,0,0,0)",display:this.state.isLoaded&&!t?"none":"block",borderRadius:`${this.props.playerBorderRadius}px`})}containStyle(){return{backgroundColor:this.props.backgroundColor||"#000",height:"100%",objectFit:"contain",position:"absolute",width:"100%",top:0,left:0}}coverStyle(){return{height:"100%",objectFit:"cover",position:"absolute",width:"100%"}}fillStyle(){return{height:"100%",objectFit:"fill",position:"absolute",width:"100%"}}naturalHeightStyle(){return{width:"100%",position:"relative"}}bestSrc(){return(0,n.cd)(this.props.images,{videoWidth:this.props.videoWidth,videoHeight:this.props.videoHeight}).url}srcSet(){let t=this.sortedImages();return 0===t.length&&(t=[(0,n.YG)(this.props.videoWidth,this.props.videoHeight)]),t.map((t=>`${t.url} ${t.width}w`)).join(", ")}sortedImages(){return this._sortedImages||(this._sortedImages=(0,n.eZ)(this.props.images)),this._sortedImages}stretchLimit(){const t=this.props.stretchLimit;return null!=t?t:10}}},(t,e,i)=>{i.d(e,{YG:()=>r,cd:()=>o,eZ:()=>a});var n=i(24),s=i(5);const o=(t,e={})=>{const i=a(t);if(0===i.length)return r(e.videoWith,e.videoHeight);const n=e.videoWidth,o=(s.z.devicePixelRatio||1)*n;if(o<=i[0].width)return i[0];for(let t=0;t<i.length;t++){const e=i[t];if(e.width>=o)return e}return i[i.length-1]},r=(t,e)=>({height:e,url:`https://${(0,n.eV1HostWithPort)()}/assets/images/blank.gif`,width:t}),a=t=>t.map((t=>(t.aspect=t.width/t.height,t)))},(t,e,i)=>{var n=i(95),s=i(64),o=i(2),r=i(65),a=i(96),l=i(131),h=i(199),u=i(256),c=i(207);function d(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const p=(0,r.o1)();(0,l.defineTranslations)("en-US",{VOLUME_TITLE_WHEN_MUTED:"Unmute",VOLUME_TITLE_WHEN_UNMUTED:"Mute"});class m extends c.E{constructor(t){super(t),d(this,"loadSliderCode",(()=>
163(0,a.$)("assets/external/vulcanV2Player/video/controls/VolumeSliderControl/VolumeSliderControl.js").then((t=>{(0,h.X)(t.VolumeSliderControl)})))),d(this,"onClickButton",(()=>{p.touchScreen||this.toggleMute()})),d(this,"onFocusInButton",(()=>{this._isFocused=!0,this.video.enterInputContext("volume-button-focus"),this.loadSliderCode()})),d(this,"onFocusOutButton",(()=>{this._isFocused=!1,this.video.exitInputContext("volume-button-focus")})),d(this,"onMouseEnter",(()=>{this.timeoutForCloseSlider&&clearTimeout(this.timeoutForCloseSlider);const{anyDialogOpen:t}=this.props;t?this.timeoutForOpenSlider=setTimeout((()=>{this.openSlider()}),300):this.openSlider()})),d(this,"onMouseLeave",(()=>{clearTimeout(this.timeoutForOpenSlider),this.timeoutForCloseSlider&&clearTimeout(this.timeoutForCloseSlider),this._isFocused=!1,this.video.controls.volumeSlider&&(this.props.controlBarBorderRadius?this.timeoutForCloseSlider=setTimeout((()=>{this.video.controls.volumeSlider.isVisible()||this.video.controls.volumeSlider.hide()}),300):this.video.controls.volumeSlider.hide())})),d(this,"openSlider",(async()=>{this._isFocused=!0,await this.loadSliderCode(),this._isFocused&&(await this.video.controls.volumeSlider.mounted,this.video.controls.volumeSlider.show())})),d(this,"onKeyUp",(t=>{if((0,s.formInputIsFocused)()||t.wistiaPlayerHandled)return;const e=this.video,i=e.getInputContext();"background-focus"!==i&&"player-mouseover"!==i&&"player-focus"!==i&&"volume-button-focus"!==i&&"volume-slider-focus"!==i||77===t.keyCode&&(e.isMuted()?(e.unmute(),(0,n.setViewerPreference)("muted",void 0)):(e.mute(),(0,n.setViewerPreference)("muted",!0)))})),d(this,"onKeyDown",(t=>{if((0,s.formInputIsFocused)()||t.wistiaPlayerHandled)return;const e=this.video,i=e.getInputContext();if("player-mouseover"===i||"player-focus"===i||"volume-button-focus"===i||"volume-slider-focus"===i){const i=t.keyCode;let s=0;if(38===i?s=1:40===i&&(s=-1),1===s){t.preventDefault();const i=t.shiftKey?.01:.1;e.volume(e.volume()+i),(0,n.setViewerPreference)("volume",e.volume())}else if(-1===s){t.preventDefault();const i=t.shiftKey?.01:.1;e.volume(e.volume()-i),(0,n.setViewerPreference)("volume",e.volume())}}})),this.video=t,this.ariaPressed=Boolean(this.video.isMuted()),this.unbinds.push(t.on("volumechange",(()=>{this.buttonRoot&&this.renderButton()})),(0,s.elemBind)(document,"keyup",this.onKeyUp),(0,s.elemBind)(document,"keydown",this.onKeyDown))}onControlPropsUpdated(t){t.playerLanguage&&this.props.playerLanguage.code!==t.playerLanguage.code&&this.renderButton()}mountButton(t){this.buttonRoot=t,this.renderButton()}renderButton(){this.buttonRoot&&(this.setButtonLabel(this.video.isMuted()?this.translate("TITLE_WHEN_MUTED"):this.translate("TITLE_WHEN_UNMUTED")),(0,o.render)((0,o.h)(u.y,{volume:this.video.isMuted()?0:this.video.volume()}),this.buttonRoot),this.reactMounts.button=[this.buttonRoot])}translate(t){return(0,l.getTranslation)(this.props.playerLanguage.code,`VOLUME_${t}`)}getButtonTitle(){return 0===this.video.volume()?"Unmute":"Mute"}mute(){this.video.mute(),(0,n.setViewerPreference)("muted",!0)}unmute(){this.video.unmute(),(0,n.setViewerPreference)("muted",void 0)}toggleMute(){this.video.isMuted()?(this.ariaPressed=!1,this.unmute()):(this.ariaPressed=!0,this.mute())}}m.shouldMount=t=>{const e=t._attrs.volumeControl;return!(!0!==e&&null!=e||p.iphone||p.ipad||p.android)},m.handle="volumeButton",m.type="control-bar-right",m.sortValue=100,(0,h.X)(m)},(t,e,i)=>{i.d(e,{y:()=>r});var n=i(2),s=i(206);const o="opacity 100ms",r=({volume:t})=>{const e=(0,s.I)({width:40,height:34,ariaHidden:!0,styleOverride:{fill:"none"}}),i=(e=t)=>e>.66?2:e>.33?1:e>0?0:-1;return(0,n.h)("svg",e,(0,n.h)("g",{style:{transform:`translateX(${(()=>{const t=i();return 0===t?7:t<2?3:1.25})()}px)`,transition:"transform 100ms"}},(0,n.h)("path",{d:"M15.8 13.9995C15.3 14.4995 14.4 14.7995 13.8 14.7995H12.2C11.5 14.7995 11 15.2995 11 15.9995V17.5995C11 18.2995 11.5 18.7995 12.2 18.7995H13.8C14.5 18.7995 15.4 19.1995 15.8 19.5995L18.2 21.3999C18.5296 21.6472 19 21.412 19 20.9999V12.154C19 11.7163 18.4774 11.4899 18.1581 11.7892L15.8 13.9995Z",fill:"currentcolor"}),(0,n.h)("g",{stroke:"currentcolor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"},(0,n.h)("path",{d:"M22 11.5C22 11.5 23.1 14 23.1 16.5C23.1 19 22 21.5 22 21.5",style:{opacity:i()>=1?1:0,transition:o}}),(0,n.h)("path",{d:"M26 9C26 9 27.7 12.8 27.7 16.5C27.7 20.2 26 24 26 24",style:{opacity:i()>=2?1:0,transition:o}}),(0,n.h)("g",{style:{opacity:i()<0?1:0,transition:o}},(0,n.h)("path",{d:"M22 14L27 19"}),(0,n.h)("path",{d:"M27 14L22 19"})))))}},(t,e,i)=>
163{var n=i(2),s=i(96),o=i(207),r=i(258),a=i(199);class l extends o.E{constructor(t){var e,i,n;super(t),e=this,n=t=>{this.video.setAriaLiveText(t)},(i=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(i="setAriaLiveText"))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n,this.video=t,this.undbinds=[],this.undbinds.push(this.video.on("play",(()=>{this.renderLiveStreamStatus()})),this.video.on("pause",(()=>{this.renderLiveStreamStatus()})),this.video.on("end",(()=>{this.renderLiveStreamStatus()})),this.video.on("widthchange",(()=>{this.renderLiveStreamStatus()})),this.video.on("playerlanguagechange",(()=>{this.renderLiveStreamStatus()}))),this.video.ready((()=>{this.renderLiveStreamStatus()}))}onControlPropsUpdated(t){t.controlsAreVisible!==this.props.controlsAreVisible&&this.renderLiveStreamStatus()}mount(t){return this.rootElem=t,(0,s.$)("assets/external/interFontFace.js").then((()=>{this.renderLiveStreamStatus(),this.reactMounts=[this.rootElem]}))}renderLiveStreamStatus(){let t=null,e=!1;this.video._mediaData.liveStreamEventDetails?.scheduledFor&&(t=new Date(this.video._mediaData.liveStreamEventDetails.scheduledFor)),this.video._mediaData.liveStreamEventDetails?.enableCountdown&&(e=this.video._mediaData.liveStreamEventDetails.enableCountdown),(0,n.render)((0,n.h)(r.A,{videoState:this.video.state(),videoReady:this.video.ready(),scheduledFor:t,setAriaLiveText:this.setAriaLiveText,enableCountdown:e,...this.props}),this.rootElem)}}l.handle="liveStreamStatusOverlay",l.type="foreground",l.sortValue=500,l.shouldMount=t=>t.isLiveMedia(),(0,a.X)(l)},(t,e,i)=>{i.d(e,{A:()=>f});var n=i(2),s=i(3),o=i(45),r=i(259),a=i(131),l=i(50);function h(t,e){const i=t.toLocaleString(navigator.language,{month:"short",day:"numeric",year:"numeric"}),n=t.toLocaleString(navigator.language,{hour:"numeric",minute:"numeric",timeZoneName:"short"});return`${i} ${(0,a.getTranslation)(e,"LIVE_STREAM_STATUS_SCHEDULED_FOR_TIME_SEPARATOR")} ${n}`}function u({state:t}){return(0,n.h)("div",{style:{backgroundColor:"live"===t?"#fa4040":"",borderRadius:"50%",width:"12px",height:"12px",marginRight:"4px"}})}(0,a.defineTranslations)("en-US",{LIVE_STREAM_STATUS_COUNTDOWN:"Stream begins in",LIVE_STREAM_STATUS_LIVE:"Live",LIVE_STREAM_STATUS_LIVE_ARIA:"The stream is now live",LIVE_STREAM_STATUS_MINUTES:"minutes",LIVE_STREAM_STATUS_SCHEDULED_FOR:"Scheduled for",LIVE_STREAM_STATUS_SCHEDULED_FOR_ARIA:"The stream is scheduled for",LIVE_STREAM_STATUS_SCHEDULED_FOR_TIME_SEPARATOR:"at",LIVE_STREAM_STATUS_SECONDS:"seconds",LIVE_STREAM_STATUS_STREAM_ENDED:"The stream has ended",LIVE_STREAM_STATUS_WAITING_FOR_HOST:"Waiting for host",LIVE_STREAM_STATUS_WAITING_FOR_HOST_ARIA:"Waiting for host to connect to live stream"});const c={idle:{on:{READY:"live",NOT_READY:"beforeStream",START_COUNTDOWN:"countdown",PAST_SCHEDULE:"waitingForHost"}},beforeStream:{on:{PAST_SCHEDULE:"waitingForHost",READY:"live",START_COUNTDOWN:"countdown"}},countdown:{on:{PAST_SCHEDULE:"waitingForHost",READY:"live"}},waitingForHost:{on:{READY:"live",END:"ended"}},live:{on:{END:"ended"}},ended:{}};function d({children:t,scale:e,show:i}){return(0,n.h)("div",{className:"w-css-reset",style:{left:0,position:"absolute",top:0,display:"flex",opacity:i?1:0,transition:"opacity 200ms",margin:`${m({base:12,scale:e})}px 0 0 ${m({base:12,scale:e})}px`}},t)}function p(t,e){const i=c[t].on?.[e.type];return void 0===i?t:i}function m({scale:t,base:e}){const i=2*e;return Math.min(i,Math.max(0,t*e))}function g({children:t,scale:e}){return(0,n.h)("div",{className:"w-live-status",style:{backgroundColor:"rgba(11, 13, 14, 0.7)",padding:`${m({base:8,scale:e})}px ${m({base:12,scale:e})}px`,display:"flex",color:"#fff",alignItems:"center",borderRadius:"4px",fontFamily:o.yY,fontSize:`${m({base:14,scale:e})}px`}},t)}const f=function({controlsAreVisible:t,playerLanguage:e,scale:i,scheduledFor:o,videoReady:c,videoState:m,enableCountdown:f}
163){const[y,_]=(0,s.useState)(new Date),v="playing"!==m||t,[b,w]=(0,s.useReducer)(p,"idle");(0,s.useEffect)((()=>{"ended"===m?w({type:"END"}):c?w({type:"READY"}):function(t){return!!t&&Date.now()<t.getTime()}(o)?w(function(t){return!!t&&(0,l.G4)(new Date,t)<3600}(o)?{type:"START_COUNTDOWN"}:{type:"NOT_READY"}):w({type:"PAST_SCHEDULE"})}),[y,c,m]),(0,s.useEffect)((()=>{this.props.setAriaLiveText(E())}),[b]),(0,s.useEffect)((()=>{if("countdown"===b){const t=(0,l.G4)(new Date,o),e=Math.ceil(t),i=Math.ceil(t/60),n=t/60;let s="";i%5==0?s=`${C("COUNTDOWN")} ${i} ${C("MINUTES")}`:n&&e%5==0&&(s=`${C("COUNTDOWN")} ${e} ${C("SECONDS")}`),this.props.setAriaLiveText(s)}}),[y]),(0,r.$)((()=>_(new Date)),"live"===b||"ended"===b?null:1e3);const E=()=>{switch(b){case"live":return C("LIVE_ARIA");case"ended":return C("STREAM_ENDED");case"waitingForHost":return C("WAITING_FOR_HOST_ARIA");case"beforeStream":return`${C("SCHEDULED_FOR_ARIA")} ${h(o,e.code)}`}},C=t=>(0,a.getTranslation)(e.code,`LIVE_STREAM_STATUS_${t}`);return(0,n.h)(d,{scale:i,show:v},(0,n.h)(g,{scale:i},"live"===b&&(0,n.h)(u,{state:"live"}),(()=>{switch(b){case"live":return C("LIVE");case"ended":return C("STREAM_ENDED");case"waitingForHost":return C("WAITING_FOR_HOST");case"beforeStream":return`${C("SCHEDULED_FOR")} ${h(o,e.code)}`;case"countdown":return f?`${C("COUNTDOWN")} ${(0,l.G5)((0,l.G4)(new Date,o))}`:C("WAITING_FOR_HOST")}})()))}},(t,e,i)=>{i.d(e,{$:()=>s});var n=i(3);function s(t,e){const i=(0,n.useRef)(t);(0,n.useEffect)((()=>{i.current=t}),[t]),(0,n.useEffect)((()=>{if(null===e)return;const t=setInterval((()=>i.current()),e);return()=>clearInterval(t)}),[e])}},(t,e,i)=>{i.d(e,{A:()=>a});var n=i(1),s=i(261),o=i(77);class r extends s.K{init(){const t=this.impl;t.embedded((()=>{t.bestEngine()===o.MANUAL_QUALITY_ENGINE_PATH&&(this.bandwidthTest().isFresh()?(this._supportsHd=this.bandwidthTest().savedResult().supportsHd,this.impl.whenVideoElementInDom().then((()=>{this.impl.engine.setAttributes({supportsHd:this._supportsHd})}))):this.hdAsset()&&this.unbinds.push(t.on("play",(()=>(this.doBandwidthTest(),t.unbind)))))}))}bandwidthTest(){return this._bandwidthTest||(this._bandwidthTest=new n.Wistia.BandwidthTest({timeoutLength:4e3,uuid:this.impl.uuid,saveKey:"vulcan.bandwidth"})),this._bandwidthTest}doBandwidthTest(){const t=this.impl;t.info("doBandwidthTest"),this._endBandwidthTestEarly||(this._endBandwidthTestEarly=()=>{t.info("_endBandwidthTestEarly"),this.bandwidthTest().endEarly(),n.Wistia.Metrics.videoCount(t,"player/bandwidth_test/ended_early")});const e=["seek","pause","end","switched-to-asset-without-load"];e.forEach((e=>{this.unbinds.push(t.on(e,this._endBandwidthTestEarly))})),this._failBandwidthTestOnWaiting||(this._failBandwidthTestOnWaiting=()=>(t.info("_failBandwidthTestOnWaiting"),this.bandwidthTest().fail(),n.Wistia.Metrics.videoCount(t,"player/bandwidth_test/failed"),t.unbind)),this.unbinds.push(t.on("waiting",this._failBandwidthTestOnWaiting)),this._endBandwidthTestOnTime=()=>{t.info("_endBandwidthTestOnTime"),this._supportsHd=this.bandwidthTest().supportsHd(),t.engine.setAttributes({supportsHd:!0}),this._failBandwidthTestOnWaiting&&t.unbind("waiting",this._failBandwidthTestOnWaiting),this._endBandwidthTestEarly&&e.forEach((e=>{t.unbind(e,this._endBandwidthTestEarly)})),n.Wistia.Metrics.videoCount(t,"player/bandwidth_test/ended_on_time")},this.bandwidthTest().bind("ended",this._endBandwidthTestOnTime),this.bandwidthTest().start()}supportsHd(){return!!this.hdAsset()&&(null==this._supportsHd||this._supportsHd)}hdAsset(){if(this._hdAsset)return this._hdAsset;const t=this.impl;return this._hdAsset=t.playableAssetInRange({width:[980,2e3],sortBy:"width desc, bitrate desc"}),this._hdAsset}}r.handle="bandwidthTest";const a=r},(t,e,i)=>{i.d(e,{K:()=>s});var n=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};class s{constructor(t){this.impl=t,this.embedElement=t.container,this.unbinds=[],this.eventListeners=new Map,this.namedUnbinds={}}addNamedUnbind(t,e){this.namedUnbinds[t]&&this.namedUnbinds[t](),this.namedUnbinds[t]=e}removeNamedUnbind(t){this.namedUnbinds[t]&&(this.namedUnbinds[t](),delete this.namedUnbinds[t])}destroy(){this.unbinds instanceof Array&&this.unbinds.map((t=>t())),this.eventListeners instanceof Map&&(this.eventListeners.forEac
163h(((t,e)=>{this.embedElement.removeEventListener(e,t)})),this.eventListeners.clear());for(let t in this.namedUnbinds)n(this.namedUnbinds,t)&&this.namedUnbinds[t].map((t=>t()));this.unbinds=[],this.namedUnbinds={},this.impl=null,this._destroyed=!0}}},(t,e,i)=>{i.d(e,{A:()=>E});var n=i(21),s=i(90),o=i(64),r=i(166),a=i(205),l=i(112),h=i(79),u=i(22),c=i(86),d=i(77),p=i(87),m=i(96),g=i(1),f=i(261),y=i(210),_=i(26);function v(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const b=(0,i(65).o1)();class w extends f.K{constructor(...t){super(...t),v(this,"onFocusIn",(()=>{const t=!(0,a.C)();this.impl&&this.impl.isKeyboardFocused(t)})),v(this,"observeVideoWrapper",(()=>{if(window.ResizeObserver){const t=new window.ResizeObserver(this.updateBackgroun
163dColor);t.observe(this.impl.videoWrapper),this.unbinds.push((()=>t.disconnect()))}})),v(this,"videoFillsWrapper",(()=>{const t=this.impl,e=t._opts.fitStrategy;if("cover"===e||"fill"===e)return!0;const i=(0,o.elemWidth)(t.videoWrapper),n=(0,o.elemHeight)(t.videoWrapper),s=t.aspect();return i>0&&Math.abs(i/s-n)<2&&Math.abs(n*s-i)<2})),v(this,"updateBackgroundColor",(()=>{const t=this.impl;if(!t.videoWrapper||t._replacing||!t.embedded())return;const e=t.ui&&t.ui.isChromeless()&&("non-user-event"===t.lastPlayInfo().source||t._attrs.autoplay)&&t.isMuted(),i=!0===t._attrs.transparentLetterbox,n=t.engine?"AlphaVideo"===t.engine.name:t.bestEngine()===d.ALPHA_VIDEO_ENGINE_PATH;if((i||e||n||this.videoFillsWrapper())&&!t.inFullscreen())t.videoWrapper.style.backgroundColor="transparent";else{const e=t._attrs.playerBackgroundColor||t._opts.backgroundColor||"#000";t.videoWrapper.style.backgroundColor=e||"#000"}})),v(this,"updateStartPosition",(()=>{const t=this.impl,e="beforeplay"===t.state(),i="user-event"===t.lastPlayInfo()?.source,n=t.shouldResume()&&i;if(e)if(!t.engine||"HlsVideo"!==t.engine.name&&"NativeHlsVideo"!==t.engine.name){if(n){const e=(0,r.U2)(t.hashedId());t.time(e,{lazy:!0})}}else{const e=!1!==t._attrs.silentAutoplay||!0!==g.Wistia._specificTimeInitiated;if(n){const e=(0,r.U2)(t.hashedId());t.engine.updateStartPosition(e)}else e&&t.engine.updateStartPosition(-1)}}))}init(){this.unbinds.push(this.impl.on("playerbackgroundcolorchange",this.updateBackgroun
163dColor),this.impl.on("widthchange",this.updateBackgroundColor),this.impl.on("heightchange",this.updateBackgroundColor),this.impl.publicApi.on("transitiondone",this.updateBackgroundColor),this.impl.on("playpending",this.updateStartPosition))}embed(t){const e=this.impl,i=e&&e._opts.oldImpl;e.oldImpl=i||t,i&&i!==t?(this.impl.on("engine-initialized",(()=>{i.rebuild(),i.fullRebuild()})),e.oldImpl=i):e.oldImpl=t,e.resetStateVariables(),e.videoWrapper=(0,o.elemFromObject)({class:"w-video-wrapper w-css-reset",style:{width:"100%",height:"100%"}}),"WISTIA-PLAYER"===e.embedElement?.tagName&&(e.videoWrapper.style.display="flex",e.videoWrapper.style.alignItems="center"),this.updateBackgroundColor(),this.observeVideoWrapper(),(0,o.elemPrepend)(e.implContainer(),e.videoWrapper),e.uiContainer||(e.uiContainer=(0,o.elemFromObject)({class:"w-ui-container",style:{height:"100%",pointerEvents:e._inNativeMode()?"none":"",left:0,position:"absolute",top:0,width:"100%"}}),(0,o.elemAppend)(e.implContainer(),e.uiContainer)),e.uiContainer.addEventListener("focusin",this.onFocusIn),e.up((async()=>{if(this._preloadPreference=this.preloadValue(),e._mediaData.protected&&e._attrs.authorization){const t=(0,y.$y)({mediaData:e._mediaData,attributes:this.engineAttributes()}),i=t=>{e.replaceWith(e.hashedId(),{notPlayableOptions:{fadeIn:!1,message:t,shouldRefresh:!1},playerForce:"notplayable"})};try{const e=await fetch(t,{mode:"cors",headers:{"Content-Type":"text/plain"}});!e.ok&&String(e.status).startsWith(4)&&i("This video is set to private.")}catch{i("This video cannot be played.")}}e._replacing&&(this.initializeEngine(),e.info("embedded"),e.embedded(!0)),e.renderUI().then((()=>{try{e.setupBindings()}catch(t){setTimeout((()=>{throw t}),0)}(0,h.doTimeout)(`${e.uuid}.finish_embedding`,(()=>{e.info("embedded"),e.embedded(!0),(0,_.countMetric)("player/hdr-codec-support",1,{...b.hdrCodecs,hdr:b.hdr}),(0,o.pageLoaded)((()=>{this.initializeEngine()}))}),0)}))})),e.down()&&e.embedded(!0)}preloadValue(){const t=this.impl;let e,i;if(e=t._attrs.autoplay&&!t.publicApi.popover&&t.looksUp()?"auto":null!=t._attrs.preload?t._attrs.preload:t._mediaData.preloadPreference,t._mediaData.spherical)if(t._opts._inIframe)i="none";else{const t=[],e=(0,n.wData)("video");for(let i in e)t.push(e[i]);i=t.length>1?"none":"auto"}else if("metadata"===e)i="metadata";else if(!0===e||"auto"===e)i="auto";else if(!1===e||"none"===e)i="none";else{const e=[],s=(0,n.wData)("video");for(let t in s)e.push(s[t]);i=t._opts._inIframe&&top!==parent||t._opts._inIframe&&(0,l.F5)()>25||t._opts._inIframe&&(!window._allIframes||window._allIframes.length>2)||!t._opts._inIframe&&e.length>2||t._mediaData.stats&&t._mediaData.stats.loadCount>5e3&&t._mediaData.stats.uniquePlayCount/t._mediaData.stats.uniqueLoadCount<.1?"none":"metadata"}return i}rebuild(){const t=this.impl;return t.info("rebuild"),t.trigger("beforerebuild"),t.embedded((()=>{t.embedded(!1),t.ready(!1),t.removeBehaviors(),t.enginePromise=null,t.engine=null,t._oldVideoElem=t.elem(),t._whenVideoElementInDom=null,t.stopStreaming(),(0,o.elemRemove)(t.videoWrapper),t.videoWrapper=null,t.ui=null,t._lastPlayType=null,t._lastPlaySource=null,t._lastPlayIssuedAt=null,t._lastPlayResolvedAt=null,t._lastPlayRejectedAt=null,t.wipeOutstandingAsyncFunctions(),t.setupBehaviors(),t._tracker=null,t.setupTracking(),t.embed(),t.trigger("afterrebuild")})),t}checkForReady(){const t=this.impl;t._checkDownState(),t.up((()=>{t.embedded((()=>{t.onDimensionChangeSafe(),t.engine&&t.engine.onReady().then((()=>{t.onDimensionChangeSafe(),t.ready(!0)}))}))}))}cleanOldImplEngine(){this.impl.oldImpl=null,this.impl.embedElement._oldEngine&&(this.impl.embedElement._oldEngine=null)}initializeEngine(){const t=this.impl;if(!t)return;if(t.enginePromise)return t.enginePromise;const e=t.bestEngine();return t.enginePromise=(0,m.$)(`assets/external/${e}`).then((e=>{const i=e.default;if(t.grid)try{t._mediaData=(0,s.M)((0,u.clone)(t._mediaData),t._opts),t.engine=new i(t.videoWrapper,t._mediaData,this.engineAttributes(),this.otherEngine()),this.cleanOldImplEngine(),t.trigger("engine-initialized"),t.setupBindings(),this.checkForReady()}catch(e){if((0,p.Od)(e))return t._opts.engine=d.HLS_ENGINE_PATH,t.enginePromise=null,this.initializeEngine();t.error(e)}}))}engineAttributes(){const t=this.impl;let e,i;t._opts.videoQuality?e=t._opts.videoQuality:(t._opts.videoFoam||t.videoWidth()>=720)&&(e="md"),t._bandwidthTest().isFresh()&&(i=t._bandwidthTest().savedResult().clientKbps);let n,s=t._opts.layoutTiming;
163(t._startPosition||t.shouldResume())&&(n=t._startPosition||(0,r.U2)(t.hashedId())),t.isResumableEnabled()&&((0,r.gI)(t.hashedId())?g.Wistia.Metrics.videoCount(t,"player/resumable-close-to-beginning"):(0,r.KO)(t.hashedId(),t.duration())&&g.Wistia.Metrics.videoCount(t,"player/resumable-close-to-end"));const o=0===t._opts.trimStart&&-1===t._opts.trimEnd,a=!0===t._attrs.transparentLetterbox,l=t.embedOptions()?.plugin?.passwordProtectedVideo?.password,h=t.embedOptions()?.channelId,u=t.embedOptions()?.channelPassword;return{audioPreference:t._attrs.audioPreference,allowHdr:!1!==t._opts.allowHdr&&(0,c.hasAnyReadyHdrAssets)(t._mediaData.assets),aspectRatio:t._attrs.aspect??t._mediaData.aspectRatio,assetHost:t._opts.assetHost,authorization:t._attrs.authorization,backgroundColor:a?"transparent":t.playerBackgroundColor(),bitDepth:t._opts.bitDepth,captionsEnabled:()=>!0===t.plugin?.captions?.isEnabled,channelId:h,channelPassword:u,clipForPoster:t._opts.clipForPoster,clipFrom:t._opts.clipFrom,clipTo:t._opts.clipTo,codec:t._opts.codec,controls:t._inNativeMode(),cuts:t._opts.cuts,deliveryCdn:t._opts.deliveryCdn,disallowOriginalFilePlayback:t._opts.disallowOriginalFilePlayback,duration:t._mediaData.duration,embedHost:t._opts.embedHost,fitStrategy:t._opts.fitStrategy,forceInstantHls:t._opts.forceInstantHls,forceOriginalFilePlayback:t._opts.forceOriginalFilePlayback,hashedId:t.hashedId(),height:t.videoHeight(),hls:t._opts.hls,isInstantHls:t.isInstantHls(),isWebComponentPlayer:"WISTIA-PLAYER"===t.embedElement?.tagName,layoutTiming:s,liveMedia:t.isLiveMedia(),loop:"loop"===t._attrs.endVideoBehavior,muted:t._muted,name:t.name?.(),pageUrl:t._attrs.pageUrl,password:l,playbackRate:t._opts.playbackRate,playsinline:!0,preload:this._preloadPreference,qualityMax:t._attrs.qualityMax,qualityMin:t._attrs.qualityMin,savedBandwidth:i,silentAutoplay:t._attrs.silentAutoplay,startPosition:n,trimEnd:o?void 0:t._opts.trimEnd,trimStart:o?void 0:t._opts.trimStart,videoQuality:e,volume:t._attrs.volume,width:t.videoWidth()}}otherEngine(){const t=this.impl;return t.oldImpl?.engine?t.oldImpl?.engine:t.embedElement?._oldEngine?t.embedElement?._oldEngine:null}}w.handle="embed";const E=w},(t,e,i)=>{i.d(e,{A:()=>g});var n=i(65),s=i(12),o=i(79),r=i(26),a=i(7),l=i(64),h=i(147),u=i(1),c=i(261);function d(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const p=(0,n.o1)();class m extends c.K{constructor(...t){super(...t),d(this,"syncOrientationBinding",(()=>{this.getIsRotateToFullscreen()?this.bindOrientationListener():this.unbindOrientationListener()})),d(this,"onEnterFullscreen",(t=>{const e=this.impl;t!==e.chrome&&e.embedElement!==t&&t!==e.embedElement.getRootNode().host||(e.info("_onEnterFullscreen"),e.trigger("beforeenterfullscreen"),this.setFullscreenStateOnEmbedElement({inFullscreen:!0}
163),e.notFullscreen(!1),e.behaviors.embed.updateBackgroundColor(),e.engine&&e.engine.onEnterFullscreen(),e.trigger("enterfullscreen"),e.embedElement.dispatchEvent(new CustomEvent("enter-fullscreen")),e.trigger("enter-fullscreen"))})),d(this,"onEnterWebkitFullscreen",(t=>{const e=this.impl;this.setFullscreenStateOnEmbedElement({inFullscreen:!0,nativeFullscreen:!0}),e.notFullscreen(!1),e.trigger("enterfullscreen"),e.embedElement.dispatchEvent(new CustomEvent("enter-fullscreen")),e.trigger("enter-fullscreen")})),d(this,"onCancelFullscreen",(()=>{const t=this.impl;this._enteredFullscreenViaRotate=!1;const{inFullscreen:e,nativeFullscreen:i}=this.getFullscreenStateOnEmbedElement();if(i)this.setFullscreenStateOnEmbedElement({inFullscreen:!1,nativeFullscreen:!1}),t.notFullscreen(!0),"WISTIA-PLAYER"===t.embedElement.tagName&&t.embedElement.cancelFullscreen(),t.engine&&t.engine.onLeaveFullscreen(),t.trigger("cancelfullscreen"),t.embedElement.dispatchEvent(new CustomEvent("cancel-fullscreen")),t.trigger("cancel-fullscreen");else if(e){t.info("onCancelFullscreen"),this.setFullscreenStateOnEmbedElement({inFullscreen:!1}
163),t.notFullscreen(!0),t.behaviors.embed.updateBackgroundColor(),this._inFakeFullscreen&&(this.impl.chrome.style.width=this.getFullscreenStateOnEmbedElement().widthBeforeFullscreen,this.impl.chrome.style.height=this.getFullscreenStateOnEmbedElement().heightBeforeFullscreen),"WISTIA-PLAYER"===t.embedElement.tagName&&t.embedElement.cancelFullscreen(),t.engine&&t.engine.onLeaveFullscreen();const e=t.width(),i=t.height(),n=(0,l.elemWidth)(window),s=(0,l.elemHeight)(window);t.trigger("widthchange",n,e),t.trigger("heightchange",s,i),t.trigger("cancelfullscreen"),t.embedElement.dispatchEvent(new CustomEvent("cancel-fullscreen")),t.trigger("cancel-fullscreen")}})),d(this,"onOrientationChange",(()=>{if(!this.getIsRotateToFullscreen())return;const t=this.impl;if(t.inFullscreen()&&this.fullscreenResizeToWindowFlurry(),this.isLandscape()){if("playing"!==t.state()||t.isMuted())return;if(t.inFullscreen())return;this._enteredFullscreenViaRotate=!0,this.requestFullscreen().then((()=>{this._enteredFullscreenViaRotate||this.isLandscape()||!t.inFullscreen()||this.cancelFullscreen().catch((()=>{}))})).catch((()=>{this._enteredFullscreenViaRotate=!1}))}else this._enteredFullscreenViaRotate&&(this._enteredFullscreenViaRotate=!1,this.cancelFullscreen().catch((()=>{})))})),d(this,"fullscreenResizeToWindowFlurry",(()=>{const t=this.impl;this.fullscreenResizeToWindow(),[0,50,100,200,300,500,1e3].forEach((e=>{(0,o.doTimeout)(`${t.uuid}.fs-resize-flurry-${e}`,this.fullscreenResizeToWindow,e)}))})),d(this,"fullscreenResizeToWindow",(()=>{const t=this.impl;if(t.inFullscreen()&&!this.getFullscreenStateOnEmbedElement().nativeFullscreen){t.debug("fullscreenResizeToWindow");const e=t.width(),i=t.height(),n=(0,l.elemWidth)(window),s=(0,l.elemHeight)(window);t.trigger("widthchange",n,e),t.trigger("heightchange",s,i),this._inFakeFullscreen&&(e!==n&&(this.impl.chrome.style.width=`${n}px`),i!==s&&(this.impl.chrome.style.height=`${s}px`))}})),d(this,"maybeAutoFullscreen",(()=>{this.impl.isAudio()||this.impl._inNativeMode()&&!1===this.impl._opts.playsinline&&(0,l.inUserEventContext)()&&!this._hasAutoFullscreened&&(this._hasAutoFullscreened=!0,this.requestFullscreen().catch((()=>{})))}))}init(){const t=this.impl;(0,a.gD)(this.impl.embedElement._fullscreenState)&&(this.impl.embedElement._fullscreenState={heightBeforeFullscreen:void 0,inFullscreen:!1,nativeFullscreen:!1,widthBeforeFullscreen:void 0}),this.unbinds.push((0,s.tJ)("enterfullscreen",this.onEnterFullscreen),(0,s.tJ)("cancelfullscreen",this.onCancelFullscreen),(0,l.elemBind)(window,"resize",(()=>{this.fullscreenResizeToWindowFlurry()})),t.on("playpending",this.maybeAutoFullscreen)),t.whenVideoElementInDom().then((()=>{t.engine.bind("webkitbeginfullscreen",this.onEnterWebkitFullscreen),t.engine.bind("webkitendfullscreen",this.onCancelFullscreen)})),this.unbinds.push((0,l.elemBind)(t.embedElement,"rotatetofullscreenchange",this.syncOrientationBinding),(()=>this.unbindOrientationListener())),this.syncOrientationBinding()}bindOrientationListener(){this._orientationUnbind||(this._orientationUnbind=window.screen?.orientation?(0,l.elemBind)(window.screen.orientation,"change",this.onOrientationChange):(0,l.elemBind)(window,"orientationchange",this.onOrientationChange))}unbindOrientationListener(){this._orientationUnbind&&(this._orientationUnbind(),this._orientationUnbind=null,this._enteredFullscreenViaRotate=!1)}isLandscape(){const t=window.screen?.orientation?.type;return(0,a.n9)(t)?t.startsWith("landscape"):90===window.orientation||-90===window.orientation}requestFullscreen(){const t=this.impl;return t.inFullscreen()?Promise.resolve():(t.info("requestFullscreen"),t._inNativeMode()&&t.engine?t.engine.requestFullscreen():p.fullscreenEnabled?(0,l.elemRequestFullscreen)(t.chrome):this.getAllowFakeFullscreen()?(this.enterFakeFullscreen(),Promise.resolve()):t.engine?("beforeplay"===t.state()&&(p.iphone||p.ipad)&&t.engine.play().then((()=>t.engine.pause())),t.engine.requestFullscreen()):Promise.resolve())}cancelFullscreen(){const t=this.impl;return t.inFullscreen()?(t.info("cancelFullscreen"),t._inNativeMode()?t.engine.cancelFullscreen():p.fullscreenEnabled?(0,l.elemCancelFullscreen)():this.getAllowFakeFullscreen()?(this.cancelFakeFullscreen(),Promise.resolve()):t.engine.cancelFullscreen()):Promise.resolve()}getAllowFakeFullscreen(){return!this.impl._opts._inIframe&&p.ios.version>=10&&this.impl._opts.fakeFullscreen}getIsRotateToFullscreen(){const t=this.impl;
163return!(!t._attrs.rotateToFullscreen||!p.touchScreen||t.isAudio()||t._mediaData?.spherical||t._opts.spherical)}enterFakeFullscreen(){const t=this.impl;this.setFullscreenStateOnEmbedElement({widthBeforeFullscreen:t.chrome.style.width,heightBeforeFullscreen:t.chrome.style.height}),this._inFakeFullscreen=!0,this._chromeParent=t.chrome.parentNode,document.body.appendChild(t.chrome),this._leftOffsetBeforeFullscreen=(0,h.scrollLeft)(),this.onEnterFullscreen(t.chrome),this.setupFakeFullscreenBindings(),(0,l.elemStyle)(t.chrome,{position:"fixed",top:0,left:0,zIndex:2147483647}),(0,h.scrollLeft)(0),t.engine&&t.engine.onEnterFullscreen()}setupFakeFullscreenBindings(){const t=this.impl;u.Wistia.eventLoop.add(`${t.uuid}.fakefullscreen`,100,(()=>{this.fullscreenResizeToWindow()})),this._preventDefaultForTouchMove||(this._preventDefaultForTouchMove=function(t){t.preventDefault()}),(0,l.elemRebind)(t.uiContainer,"touchmove",this._preventDefaultForTouchMove)}cancelFakeFullscreen(){const t=this.impl;this.onCancelFullscreen(t.chrome),this._inFakeFullscreen=!1,this._chromeParent&&this._chromeParent.appendChild(t.chrome),t.chrome.style.position="",(0,h.scrollLeft)(this._leftOffsetBeforeFullscreen),u.Wistia.eventLoop.remove(`${t.uuid}.fakefullscreen`),t.engine&&t.engine.onLeaveFullscreen(),null!=this._preventDefaultForTouchMove&&(0,l.elemUnbind)(t.uiContainer,"touchmove",this._preventDefaultForTouchMove)}transferStateFrom(t){const e=t.behaviors&&t.behaviors.fullscreen;e&&(this.impl.embedElement._fullscreenState=t.embedElement._fullscreenState,e.getFullscreenStateOnEmbedElement().inFullscreen&&(0,r.countMetric)("player/replacewith-fullscreen",1,{inNativeFullscreen:this.inNativeFullscreen()}))}inFullscreen(){return this.getFullscreenStateOnEmbedElement().inFullscreen}inNativeFullscreen(){return this.getFullscreenStateOnEmbedElement().nativeFullscreen}getFullscreenStateOnEmbedElement(){return this.impl.embedElement._fullscreenState||{}}setFullscreenStateOnEmbedElement(t={}){if((0,a.n9)(this.impl.embedElement._fullscreenState)){const e={...this.impl.embedElement._fullscreenState,...t};this.impl.embedElement._fullscreenState=e}}}m.handle="fullscreen",u.Wistia._onFullscreenChange||(u.Wistia._onFullscreenChange=()=>{(0,l.fullscreenElement)()?(0,s.mj)("enterfullscreen",(0,l.fullscreenElement)()):(0,s.mj)("cancelfullscreen")},u.Wistia._initializers.initFullscreenTriggers=()=>{(0,l.elemRebind)(document,"webkitfullscreenchange",u.Wistia._onFullscreenChange),(0,l.elemRebind)(document,"fullscreenchange",u.Wistia._onFullscreenChange)},u.Wistia._destructors.destroyFullscreenTriggers=()=>{(0,l.elemUnbind)(document,"webkitfullscreenchange",u.Wistia._onFullscreenChange),(0,l.elemUnbind)(document,"fullscreenchange",u.Wistia._onFullscreenChange)});const g=m},(t,e,i)=>{i.d(e,{A:()=>a});var n=i(261),s=i(1);function o(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class r extends n.K{constructor(...t){super(...t),o(this,"onPlay",(()=>{if(null==this._startedLoadingAt)return this._startedLoadingAt=Date.now(),this.impl.unbind})),o(this,"onProgress",(()=>{const t=this.impl;if(t.engine.anyBuffered())return this._firstByteReceivedAt=Date.now(),null!=this._startedLoadingAt&&(this._timeToFirstByte=this._firstByteReceivedAt-this._startedLoadingAt),t.unbind})),o(this,"onWaiting",(t=>{const e=this.impl,i=e.engine.anyBuffered();
163!this._noDataFor5Seconds&&t>=5&&!i&&(this._noDataFor5Seconds=!0,s.Wistia.Metrics.videoCount(e,"player/no-data/5-seconds")),!this._noDataFor10Seconds&&t>=10&&!i&&(this._noDataFor10Seconds=!0,s.Wistia.Metrics.videoCount(e,"player/no-data/10-seconds")),!this._noDataFor15Seconds&&t>=15&&!i&&(this._noDataFor15Seconds=!0,s.Wistia.Metrics.videoCount(e,"player/no-data/15-seconds"))})),o(this,"onClickedPlayBeforeReady",(()=>{s.Wistia.Metrics.videoCount(this.impl,"player/clicked-play-before-ready")}))}init(){this.impl.whenVideoElementInDom().then((()=>this.doInit()))}doInit(){const t=this.impl;t.engine&&t.engine.getPreload()&&(this._startedLoadingAt=Date.now()),this.unbinds.push(t.on("play",this.onPlay),t.on("progress",this.onProgress),t.on("waiting",this.onWaiting),t.on("clicked-play-before-ready",this.onClickedPlayBeforeReady))}}r.handle="metrics";const a=r},(t,e,i)=>{i.d(e,{A:()=>l});var n=i(65),s=i(261),o=i(1);const r=(0,n.o1)();class a extends s.K{constructor(...t){var e,i,n;super(...t),e=this,n=()=>{const t=this.impl,e=t.getMediaElement();if(e&&e.error&&3===e.error.code&&/native_hls_video/.test(this.impl.bestEngine())){const e=t.lastPlayInfo().isPending;t.commandQueueOpen.clearSynchronized();const i=e?"playing":"not-playing";o.Wistia.Metrics.videoCount(t,`player/rebuild-non-hls-on-error/${i}`),this.unbinds.push(t.on("play",(()=>(o.Wistia.Metrics.videoCount(t,`player/rebuild-non-hls-on-error/${i}`),t.unbind)))),t.publicApi.fullRebuild({hls:!1,autoPlay:e&&!(r.ios.version&&r.ios.version<10.1)})}},(i=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(i="onError"))in e?Object.defineProperty(e,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[i]=n}init(){this.unbinds.push(this.impl.on("error",this.onError))}}a.handle="playbackErrorHandling";const l=a},(t,e,i)=>{i.d(e,{O:()=>s});var n=i(261);class s extends n.K{init(){this.unbinds=[this.impl.on("waiting",(t=>{t>=5&&this.impl.trigger("problem",{type:"long-buffer",data:{secondsWaiting:t}})})),this.impl.on("error",(t=>{const e=this.impl.getMediaElement().error;this.impl.trigger("problem",{type:"video-error",errorCode:e&&e.code||e,errorMessage:e&&e.message})}))]}}s.handle="problemMonitoring"},(t,e,i)=>{i.d(e,{A:()=>u});var n=i(75),s=(i(1),i(261)),o=i(64),r=i(16),a=i(77);function l(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class h extends s.K{constructor(...t){super(...t),l(this,"maybeFireStateAndTimeEvents",(()=>{this.fireStateChangedEventsIfChanged(),this.fireTimeChangedEventsIfChanged()})),l(this,"onLookChange",(t=>{this.impl.trigger("lookchange",t)})),l(this,"onPause",(()=>{this.maybeFireStateAndTimeEvents()})),l(this,"onPlaying",(()=>{this._beforePlay=!1,this.maybeFireStateAndTimeEvents()})),l(this,"onEnded",(()=>{this.maybeFireStateAndTimeEvents()})),l(this,"onAudioStreamChanged",(()=>{this.impl.trigger("audiostreamchange")})),l(this,"onVolumeChange",(()=>{const t=this.impl.isMuted();this.impl.trigger("volumechange",this.impl.volume(),t),this.impl.embedElement.dispatchEvent(new CustomEvent("volume-change",{detail:{volume:this.impl.volume(),isMuted:t}})),t!==this._isMuted&&(this._isMuted=t,this.impl.embedElement.dispatchEvent(new CustomEvent(r.MUTE_CHANGE_EVENT,{detail:{isMuted:t}})))})),l(this,"onRateChange",(()=>{this.impl.trigger("playbackratechange",this.impl.playbackRate()),this.impl.embedElement.dispatchEvent(new CustomEvent("rate-change",{detail:{playbackRate:this.impl.playbackRate()}})),n.O.interval(`${this.impl.uuid}.events`,this.impl._eventLoopDuration)})),l(this,"onProgress",(t=>{this.impl.trigger("progress",t)})),l(this,"onError",(t=>{this.impl.trigger("error",t)})),l(this,"onHlsLevelSwitched",(t=>{this.impl.trigger("hlslevelswitched",t)})),l(this,"onHlsFatalErrorRebuild",(t=>{this.impl.fullRebuild({engine:a.MANUAL_QUALITY_ENGINE_PATH})})),l(this,"onSeeking",(t=>{this.impl.trigger("seeking",t),this.impl.embedElement.dispatchEvent(new CustomEvent("seeking"))})),l(this,"onTimeUpdate",(t=>{this.impl.embedElement.dispatchEvent(new CustomEvent("time-update"))})),l(this,"onLoadedData",(t=>{this.impl.embedElement.dispatchEvent(new CustomEvent("loaded-data"))})),l(this,"onLoadedMetadata",(t=>{this.impl.embedElement.dispatchEvent(new CustomEvent("loaded-metadata"))})),l(this,"onCanPlay",(t=>{this.impl.embedElement.dispatchEvent(new CustomEvent("can-play"))})),l(this,"onCanPlayThrough",(t=>{this.impl.embedElement.dispatchEvent(new CustomEvent("can-play-through"))})),l(this,"onCustomWaiting",(t=>{this._waiting=t,this.impl.trigger("waiting",t),this.impl.embedElement.dispatchEvent(new CustomEvent("waiting",{detail:{duration:t}}))})),l(this,"onCustomDoneWaiting",(t=>{this._waiting=-1,this.impl.trigger("done-waiting",t)})),l(this,"fireTimeChangedEventsIfChanged",(()=>{if(this._destroyed)return;const t=this.impl;let e=!1;const i=Date.now(),n=t.time(),s=n!==this._lastTimePosition,r=n-this._lastTimePosition,a=Math.floor(n),l=Math.floor(this._lastTimePosition),h=(i-this._lastClockTime)/1e3,u=t.playbackRate(),c="beforeplay"===t.state()&&n<.3,d=Math.abs(Math.floor(n)-Math.floor(this._lastTimePosition))>1;if(s&&n>=0&&!c){if(t.trigger("timechange",n),t.embedElement.dispatchEvent(new CustomEvent("timechange",{detail:{timePosition:n}}
163)),a!==l){if(Math.abs(r/u-h)<.05&&d){e=!0;for(let e=l+1;e<a;e++)t.trigger("secondchange",e),t.embedElement.dispatchEvent(new CustomEvent("second-change",{detail:{second:e}}))}t.trigger("secondchange",a),t.embedElement.dispatchEvent(new CustomEvent("second-change",{detail:{second:a}}))}!this._beforePlay&&"ended"!==t.state()&&!e&&d&&Math.abs(n-this._lastTimePosition)>t._attrs.seekThreshold&&t.trigger("seek",n,this._lastTimePosition,{source:(0,o.currentEventSource)()}),this._lastTimePosition=n}return this._lastClockTime=i,Promise.resolve()}))}init(){this.resetState(),this.impl.whenVideoElementInDom().then((()=>this.doInit()))}doInit(){const t=this.impl,e=t.engine;this.unbinds.push(e.bind("lookchange",this.onLookChange),e.bind("pause",this.onPause),e.bind("playing",this.onPlaying),e.bind("ended",this.onEnded),e.bind("volumechange",this.onVolumeChange),e.bind("audiostreamchange",this.onAudioStreamChanged),e.bind("ratechange",this.onRateChange),e.bind("progress",this.onProgress),e.bind("custom-waiting",this.onCustomWaiting),e.bind("custom-done-waiting",this.onCustomDoneWaiting),e.bind("error",this.onError),e.bind("hlslevelswitched",this.onHlsLevelSwitched),e.bind("fatalerrorrebuild",this.onHlsFatalErrorRebuild),e.bind("seeking",this.onSeeking),e.bind("timeupdate",this.onTimeUpdate),e.bind("loadeddata",this.onLoadedData),e.bind("loadedmetadata",this.onLoadedMetadata),e.bind("canplay",this.onCanPlay),e.bind("canplaythrough",this.onCanPlayThrough)),n.O.add(`${t.uuid}.events`,t._eventLoopDuration,(()=>{if(!t.looksDown()){this.fireStateChangedEventsIfChanged(),this.fireTimeChangedEventsIfChanged();const e=t.getVideoQuality();e!==this._lastQuality&&(t.trigger("qualitychange",e),this._lastQuality=e)}}))}destroy(){n.O.remove(`${this.impl.uuid}.events`),super.destroy()}resetState(){this._waiting=-1,this._lastTimePosition=-1,this._beforePlay=!0,this._isMuted=this.impl.isMuted(),this._hasPlayed=!1}fireStateChangedEventsIfChanged(){if(this._destroyed)return;const t=this.impl,e=t.state();e!==this._lastState&&(t.trigger("statechange",e,this._lastState),"playing"===e&&(this._hasPlayed=!0,t.trigger("play",t.lastPlayInfo()),t.embedElement.dispatchEvent(new CustomEvent("play",{detail:{lastPlayInfo:t.lastPlayInfo()}}))),"paused"===e&&(t.trigger("pause",t.lastPauseInfo()),t.embedElement.dispatchEvent(new CustomEvent("pause",{detail:{lastPauseInfo:t.lastPauseInfo()}}))),"ended"===e&&(t.trigger("end"),t.embedElement.dispatchEvent(new Event("end")),t.embedElement.dispatchEvent(new Event("ended")),this.triggerAfterendTimeout()),this._lastState=e)}triggerAfterendTimeout(){setTimeout((()=>{this.impl.trigger("afterend")}),0)}}h.handle="relayEvents";const u=h},(t,e,i)=>{i.d(e,{A:()=>a});var n=i(166),s=i(261);function o(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class r extends s.K{constructor(...t){super(...t),o(this,"onEnd",(()=>{(0,n.SB)(this._hashedId,this.impl.time()),this.destroyResumableKey()})),o(this,"onSecondChange",(()=>{this._hasPlayed&&((0,n.SB)(this._hashedId,this.impl.time()),this.impl.shouldResume()||this.destroyResumableKey(),null===this._resumableKey&&this.setResumableKeyToEventKey())}))}init(){this._hasPlayed=!1,this._hashedId=this.impl.hashedId(),this._unbinds=[],this._resumableKey=(0,n.uh)(this._hashedId)||null,this.setupBindings(),!this.impl.shouldResume()&&this._resumableKey&&this.destroyResumableKey()}destroy(){this._unbinds.forEach((t=>{"function"==typeof t&&t()})),this._unbinds=[]}destroyResumableKey(){(0,n._L)(this._hashedId,null),this._resumableKey=null}lastTime(){return(0,n.U2)(this._hashedId)}resumableKey(){return this._resumableKey}setupBindings(){this._unbinds.push(this.impl.on("play",(()=>this._hasPlayed=!0)),this.impl.on("end",this.onEnd),this.impl.on("secondchange",this.onSecondC
163hange));const t=this.impl.on("eventkeychange",(()=>{this.initResumableKey(),t()}))}setResumableKeyToEventKey(){const t=this.impl.eventKey();t&&(this._resumableKey=t,(0,n._L)(this._hashedId,this._resumableKey))}initResumableKey(){this._resumableKey||this.setResumableKeyToEventKey()}}r.handle="resumable";const a=r},(t,e,i)=>{i.d(e,{Ay:()=>R});var n=i(270),s=i(70),o=i(2),r=i(205),a=i(215),l=i(65),h=i(79),u=i(22),c=i(55),d=i(64),p=i(230),m=i(1),g=i(261),f=i(271),y=i(278),_=i(279),v=i(276),b=i(136),w=i(280),E=i(281),C=i(282),T=i(283),S=i(8),P=function(t,e){if(null==t)throw new TypeError("Cannot convert undefined or null to object");return Object.prototype.hasOwnProperty.call(Object(t),e)};function A(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const L=(0,l.o1)(),I=t=>"control-bar-left"===t||"control-bar-right"===t||"wistia-logo"===t||"ellipsis"===t||"playbar"==t,M=["above-control-bar","background","control-bar-left","control-bar-right","wistia-logo","ellipsis","foreground","left-flyout","playbar","right-flyout"].reduce(((t,e)=>(t[e]=!0,t)),{}),D=t=>t.pcfButtonWidth?t.pcfButtonWidth():t.wistiaLogoButtonWidth?t.wistiaLogoButtonWidth():null!=t.constructor.width?t.constructor.width:v.fN,k=t=>t.pcfButtonHeight?t.pcfButtonHeight():null!=t.constructor.height?t.constructor.height:v.F$;class O extends g.K{constructor(...t){super(...t),A(this,"onBlurButton",((t,e)=>{const i=e.constructor.type;I(i)&&(e.__isFocused=!1,this.render())})),A(this,"onFocusButton",((t,e)=>{const i=e.constructor.type;I(i)&&(e.__isFocused=!0,this.render())})),A(this,"onFocusComplete",(()=>{this.impl.trigger("focuscomplete")})),A(this,"onFocusIn",(t=>{if(this.isMostRecentFocusViaMouse=(0,r.C)(),((0,r.C)()||this._isMouseDownFromTouch)&&t.srcElement===this.layoutRef)return void t.srcElement.blur();this.updateFocusedControl(t.target),this.impl.enterInputContext("player-focus");const e=this.isKeyboardFocused;this.isKeyboardFocused=!((0,r.C)()||this._isMouseDownFromTouch),!e&&this.isKeyboardFocused&&(this.impl.trigger("focusin",t),this.maybeToggleControls())})),A(this,"onFocusOut",(t=>{this._isDestroying||(this.updateFocusedControl(null),this.impl.exitInputContext("player-focus"),this.isKeyboardFocused?(0,h.doTimeout)(`${this.impl.uuid}.maybe_toggle_on_blur`,(()=>{const e=(0,d.getDeepActiveElement)();e&&(0,d.elemIsInside)(e,this.layoutRef)||(this.isKeyboardFocused=!1,this.impl?.trigger("focusout",t),this.maybeToggleControls())}),1e3):(0,h.doTimeout)(`${this.impl.uuid}.maybe_toggle_on_blur`,this.maybeToggleControls,50))})),A(this,"onKeyDown",(t=>{if(t.target!==this.layoutRef)return;const{keyCode:e,__handledAlready:i}=t;i||32!==e&&13!==e||this.togglePlay()})),A(this,"onMouseEnter",(t=>{this.impl.trigger("mouseenter",t),this.isHovering=!0,this.maybeToggleControls(),this.impl.enterInputContext("player-mouseover")})),A(this,"onMouseLeave",(t=>{this.impl.trigger("mouseleave",t),this.isHovering=!1,this.maybeToggleControls(),this.impl.exitInputContext("player-mouseover")})),A(this,"onMouseMove",(t=>{if(L.touchScreen)return;if("beforeplay"===this.impl.state())return;const e=this.lastPageX!==t.pageX||this.lastPageY!==t.pageY;e&&(this.lastMovedMouseAt=Date.now(),this.lastPageX=t.pageX,this.lastPageY=t.pageY),e&&(this.maybeToggleControls(),this.shouldShowControls()&&(clearTimeout(this.maybeToggleControlsTimeout),(0,d.elemIsInside)(t.target,this.backgroundElem)?(this.lastMouseMoveWasFromBackground=!0,this.maybeToggleControlsTimeout=setTimeout(this.maybeToggleControls,this.showControlsTimeout())):(this.lastMouseMoveWasFromBackground=!1,this.maybeToggleControls())))})),A(this,"onClick",(t=>{this.lastMovedMouseAt=Date.now();const e=m.Wistia.PopoverV3?._activePopover,i=!(0,r.C)();e&&e.setShouldShowFocusOutline(i),this.lastPageX=t.pageX,this.lastPageY=t.pageY,(0,d.elemIsInside)(t.target,this.backgroundElem)?L.touchScreen?(this.isBeforePlayOrReset()?this.impl.play():this.isChromeless()?this.togglePlay():L.ios.version&&L.ios.version<10.1?(this.tappedToHide=!1,this.impl.play()):this._areControlsVisible?this.tappedToHide=!this.tappedToHide:this.tappedToHide=!1,this.maybeToggleControls(),setTimeout(this.maybeToggleControls,this.showControlsTimeout())):t.ctrlKey||(this.togglePlay(),this.impl.isKeyboardFocused(i),this.impl.focus()):"beforeplay"!==this.impl.state()&&(this.tappedToHide=!1,this.maybeToggleControls(),setTimeout(this.maybeToggleControls,this.showControlsTimeout()))})),A(this,"onDblClick",(t=>{if(L.touchScreen)return;if(!(0,d.elemIsInside)(t.target,this.backgroundElem))return;const e=this.impl;this.impl.isControlEnabled("fullscreenControl")&&(e.inFullscreen()?e.cancelFullscreen():e.requestFullscreen().catch((()=>{})))})),A(this,"onTouchStart",(t=>{t._touchStartFromControlDialog&&(this._touchStartFromControlDialog=!0),this._cancelSwipe=!this.impl.inFullscreen()})),A(this,"onSwipe",((t,e)=>{if(this._cancelSwipe)return;this._swipeCtx=e;const i=this.impl,n=i.height(),s=i.width(),o=e.absYDelta/n,r=e.absXDelta/s;if(e.timeDelta>175&&(o<.02||r>o))return this._cancelSwipe=!0,void(0,d.elemAnimate)(i.chrome,{transform:"translate(0, 0)"},{time:200,callback:()=>{(0,d.elemAnimate)(i.chrome,{transform:""})}});if(o>=.02&&o>r){const t=e.yDelta/n;(0,d.elemStyle)(i.chrome,{transform:`translate(0, ${-1*t*n}px)`})}})),A(this,"onPinch",((t,e)=>{if(!this.impl.isControlEnabled("fullscreenControl"))return;this._pinchCtx=e;const i=this.impl;let n,s;this.impl.inFullscreen()?(n=.3,s=2.5):(n=.8,s=2.5),e.pinchScale<1?e.pinchScale*=1+.5*(1-e.pinchScale):e.pinchScale*=1+.25*(e.pinchScale-1);const o=Math.max(n,Math.min(s,e.pinchScale));(0,d.elemStyle)(i.chrome,{transform:`scale(${o})`})})),A(this,"onTouchEnd",(()=>{if(!this.impl.isControlEnabled("fullscreenControl"))return;const t=this._pinchCtx,e=this._swipeCtx;this._pinchCtx=null,this._swipeCtx=null;const i=this.impl;if(t)!i.inFullscreen()&&t.pinchScale>1.5?((0,d.elemStyle)(i.chrome,{transform:""}),i.requestFullscreen().catch((()=>{}))):i.inFullscreen()&&t.pinchScale<.7?((0,d.elemStyle)(i.chrome,{transform:""}),i.cancelFullscreen()):(0,d.elemAnimate)(i.chrome,{transform:"scale(1)"},{time:400,callback:()=>{(0,d.elemStyle)(i.chrome,{transform:""})}});else if(e){const t=i.height(),n=i.width(),s=e.absYDelta/t,o=e.absXDelta/n,r=()=>{(0,d.elemStyle)(i.chrome,{transform:""})};if(s>.16&&s>o&&Date.now()-e.startedAt<500&&!1===this._touchStartFromControlDialog){this._cancelSwipe=!0;const n=e.yDelta>0?-1:1;(0,d.elemAnimate)(i.chrome,{transform:`translate(0, ${n*t}px)`},{time:200,callback:()=>{i.cancelFullscreen(),r()}})}else this._cancelSwipe=!0,(0,d.elemAnimate)(i.chrome,{transform:"translate(0, 0)"},{time:200,callback:r})}this._touchStartFromControlDialog=!1})),A(this,"maybeToggleControls",(()=>{if(this._destroyed)return;const t=this._shouldShowControls;return this._shouldShowControls=this.shouldShowControls(),t!==this._shouldShowControls?this.lastRenderPromise.then((()=>this.render())):Promise.resolve()})),A(this,"mountRefsFn",(t=>{(0,u.assign)(this.mountRefs,t)})),A(this,"backgroundRefFn",(t=>{this.backgroundElem=t}))}init(){this.mountPromises=[],this.controls={},this.controlsByType={},this.dialogs=[],this.mountRefs={},this.buttonMountRefs={},this.lastRenderPromise=Promise.resolve(),this.lastMouseMoveWasFromBackgroun
163d=!0,this._touchStartFromControlDialog=!1,this._ariaLiveText="",this._previousBorderRadiusOn=!1,this._isDestroying=!1,this._viewerCaptionSettings=(0,b.S7)(),this.domId||(this.domId=(0,s.h)("w-vulcan-v2-"))}bigPlayButtonBorderRadius(){return this.impl._attrs.bigPlayButtonBorderRadius*this.scale()}controlBarBorderRadius(){return this.impl._attrs.controlBarBorderRadius*this.scale()}controlBarDistance(){return this.impl._attrs.controlBarDistance*this.scale()}controlBarWidth(){return this.videoWidth()-2*this.controlBarDistance()}captionsBackgroundColor(){return this._viewerCaptionSettings?.backgroundColor??this.impl._attrs.captionsBackgroundColor}captionsBackgroundOpacityPercentage(){return null!=this._viewerCaptionSettings?.backgroundOpacityPercentage?this._viewerCaptionSettings.backgroundOpacityPercentage/100:.7}captionsTextColor(){return this._viewerCaptionSettings?.fontColor??this.impl._attrs.captionsTextColor}captionsTextSize(){return null!=this._viewerCaptionSettings?.fontSize?(0,w.b)(this._viewerCaptionSettings.fontSize):this.impl._attrs.captionsTextSize}captionsTextShadow(){return(0,C.M)({characterEdgeStyle:this._viewerCaptionSettings?.characterEdgeStyle??"none",scale:this.scale()})}captionsTextOpacityPercentage(){return null!=this._viewerCaptionSettings?.fontOpacityPercentage?this._viewerCaptionSettings.fontOpacityPercentage/100:1}captionsFontFamily(){return null!=this._viewerCaptionSettings?.fontFamily?(0,E.d)(this._viewerCaptionSettings.fontFamily):this.impl._attrs.captionsFontFamily}captionsFontVariant(){return(0,T.s)(this.captionsFontFamily())}captionsBorderRadius(){return this.impl._attrs.captionsBorderRadius}captionsWindowColor(){return this._viewerCaptionSettings?.windowColor??"#000"}captionsWindowOpacityPercentage(){return null!=this._viewerCaptionSettings?.windowOpacityPercentage?this._viewerCaptionSettings.windowOpacityPercentage/100:0}setupBindings(){this._hasSetupBindings=!0;const t=this.impl;this.video=t.video,this.unbinds.push(t.on("play",(()=>{this.doneWaitingForPlay=!0,null!=this.tappedToHide&&(this.tappedToHide=!1),this.render(),this.maybeToggleControls(),setTimeout(this.maybeToggleControls,this.showControlsTimeout())})),t.on("pause",(()=>{L.touchScreen&&(null!=this.tappedToHide&&(this.tappedToHide=!1),this.maybeToggleControls())})),t.on("playrejected",(()=>{this.doneWaitingForPlay=!0,this.showVideoWrapper(),this.render()})),t.on("enter-fullscreen",(()=>{this._scale=null,this.cachedVideoHeight=null,this.cachedVideoWidth=null,this.render(),this.lastMouseMoveWasFromBackground=!0,this.maybeToggleControls(),(0,h.doTimeout)(`${this.impl.uuid}.maybe_toggle_on_fullscreen`,this.maybeToggleControls,this.showControlsTimeout())})),t.on("cancel-fullscreen",(()=>{this._scale=null,this.cachedVideoHeight=null,this.cachedVideoWidth=null,this.render(),this.lastMouseMoveWasFromBackground=!0,this.maybeToggleControls(),(0,h.doTimeout)(`${this.impl.uuid}.maybe_toggle_on_fullscreen`,this.maybeToggleControls,this.showControlsTimeout())})),t.on("up",(()=>{this._scale=null,this.cachedVideoHeight=null,this.cachedVideoWidth=null,this.render()})),t.on("playerlanguagechange",(()=>{this.render()})),t.on("popoverhide",(()=>{this.render()})),t.on("popovershow",(()=>{this.render()})),t.on("widthchange",(()=>{this._scale=null,this._isShowingMore=null,this.cachedVideoWidth=null,this.render()})),t.on("heightchange",(()=>{this._scale=null,this.cachedVideoHeight=null,this.render()})),m.Wistia.on("controldefined",(()=>{this.render()})),(0,d.elemBind)(document,"keyup",(e=>{(0,d.formInputIsFocused)()||"player-mouseover"===t.getInputContext()&&!1!==t._opts.hoverHotkeysEnabled&&32===e.keyCode&&this.togglePlay()})),(0,d.elemBind)(window,"mouseout",(t=>{const e=t.relatedTarget||t.toElement;e&&"HTML"!==e.nodeName||(this.isHovering=!1,this.impl.exitInputContext("player-mouseover"))})),(0,d.elemBind)(document,"touchend",(()=>{(0,r.y)()&&(this._isMouseDownFromTouch=!0),setTimeout((()=>{this._isMouseDownFromTouch=!1,this.render()}),50)}))),t.whenVideoElementInDom().then((()=>{this.unbinds.push(this.impl.engine.bind("webkitplaybacktargetavailabilitychanged",(()=>{setTimeout((()=>{this.render()}),0)})))})),t.whenVideoElementInDom().then((()=>
163{this.unbinds.push(this.impl.engine.bind("audiotracksupdated",(()=>{setTimeout((()=>{this.render()}),0)})))})),t.whenVideoElementInDom().then((()=>{this.unbinds.push(this.impl.engine.bind("livestream-mediadata-changed",(t=>{this.impl._mediaData=t,this.impl.behaviors.embed.rebuild()})),this.impl.engine.bind("livestreamready",(()=>{this.impl.ready((()=>{this.impl.play()}))})))}))}setupEventListeners(){this._hasSetupEventListeners=!0,this.eventListeners instanceof Map&&(this.eventListeners.set("bigplaybuttonborderradiuschange",(()=>{this.resetCssReset(),this.render()})),this.eventListeners.set("controlbarborderradiuschange",(()=>{this.resetCssReset(),this.render()})),this.eventListeners.set("playerborderradiuschange",(()=>{this.resetCssReset(),this.render()})),this.eventListeners.set("playercolorchange",(()=>this.render())),this.eventListeners.set("opaquecontrolschange",(()=>this.render())),this.eventListeners.set("captionsbackgroundcolorchange",(()=>{this.render()})),this.eventListeners.set("captionstextcolorchange",(()=>{this.render()})),this.eventListeners.set("captionstextsizechange",(()=>{this.render()})),this.eventListeners.set("captionsfontfamilychange",(()=>{this.render()})),this.eventListeners.set("captionsborderradiuschange",(()=>{this.render()})),this.eventListeners.set("captionssettingschange",(()=>{this._viewerCaptionSettings=(0,b.S7)(),this.render()})),this.eventListeners.forEach(((t,e)=>{this.embedElement.addEventListener(e,t)})))}backgroundGradientCss(){const t=this.impl._attrs.playerColorGradient;if(t?.on)return(0,c.qN)(t)}contrastIcons(){return this.impl.contrastIcons()}opaqueControls(){return this.impl.opaqueControls()}shouldUseAccessibleIconColor(){return this.impl._attrs.contrastIcons}render(){if(this.isRendering&&this.lastRenderPromise)return this.queuedRenderPromise||(this.queuedRenderPromise=this.lastRenderPromise.then((async()=>{await this.render(),this.queuedRenderPromise=void 0}))),this.queuedRenderPromise;const t=this.impl;if(this._destroyed||!t.grid)return new Promise((()=>{}));if(this._hasSetupBindings||this.setupBindings(),this._hasSetupEventListeners||this.setupEventListeners(),this.cssResetStyle||(this.cssResetStyle=(0,d.addInlineCss)(t.uiContainer,this.cssResetContent())),null==this.doneWaitingForPlay){const e=t._isPlayPending&&"beforeplay"===t.state();this.doneWaitingForPlay=!e}return this.lastRenderPromise=new Promise((e=>{this.isRendering=!0;const{newControls:i,existingControls:n}=this.setupControls();this.setControlProps();const s=null!=this._shouldShowControls?this._shouldShowControls:this.shouldShowControls();this._areControlsVisible=this._shouldShowControls,this.notifyControlsLayoutChange({controlBarHeight:this.controlBarHeight(),controlsAreVisible:s}),(0,d.elemStyle)(this.impl.chrome,{borderRadius:`${this.playerBorderRadius()}px`,clipPath:`inset(.5px round ${this.playerBorderRadius()}px)`}),(0,o.render)((0,o.h)(_.A,{ariaLiveText:this._ariaLiveText,afterRender:i.length>0?()=>{this.afterRender(n,i,e)}:null,allMounted:this.allMounted,backgroundRef:this.backgroundRefFn,bottomBarRightInnerRef:t=>{this.bottomBarRightInnerRef=t},color:t.playerColor(),controlBarHeight:this.controlBarHeight(),controlBarBorderRadius:this.controlBarBorderRadius(),controlsByType:this.controlsByType,controlBarId:this.controlBarId(),domId:this.domId,doneWaitingForPlay:this.doneWaitingForPlay,playerIconColor:this.playerIconColor(),inFullscreen:t.inFullscreen(),inNativeMode:this.inNativeMode(),isMouseDownFromTouch:this._isMouseDownFromTouch,isShowingMore:this.isShowingMore(),hasClickedToShowMore:null!=this._isShowingMore,layoutRef:t=>this.layoutRef=t,leftControlWidth:this.leftControlWidth,mountRefs:this.mountRefsFn,noMixBlendMode:t._opts.noMixBlendMode,onClick:this.onClick,onDblClick:this.onDblClick,onFocusComplete:this.onFocusComplete,onfocusin:this.onFocusIn,onfocusout:this.onFocusOut,onKeyDown:this.onKeyDown,onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseMove:this.onMouseMove,onPinch:this.onPinch,onSwipe:this.onSwipe,onTouchEnd:this.onTouchEnd,onTouchStart:this.onTouchStart,opaqueControls:this.opaqueControls(),contrastIcons:this.contrastIcons(),controlBarDistance:this.controlBarDistance(),playerBorderRadius:this.playerBorderRadius(),mediaName:t.name(),playerLanguage:t.playerLanguage(),rightControlWidth:this.rightControlWidth,scale:this.scale(),shouldAnimateIn:"WISTIA-PLAYER"===this.embedElement.tagName,shouldShowControls:s,videoHeight:this.videoHeight(),videoState:t.state(),videoWidth:this.videoWidth(),backgroundGradientCss:this.backgroundGradientCss()}),t.uiContainer),0===i.length&&this.afterRender(n,i,e)})),this.lastRenderPromise}afterRender(t,e,i){if(this._destroyed||!this.impl.grid)return void(this.isRendering=!1);const n=t.filter((t=>!t._destroyed));try{if(this.runOnControlPropsUpdated(n),this.renderButtons(n),this.mountControls(e),this.didFirstRender)i();else{this.didFirstRender=!0;const t=new Promise((t=>{(0,h.doTimeout)(`${this.impl.uuid}.two_seconds_elapsed`,t,2e3)}));this.allMountedPromise=Promise.race([t,Promise.all(this.mountPromises)]).catch((t=>{setTimeout((()=>{throw t}),0)})).then((()=>(this.allMounted=!0,this.render()))).then(i),0===this.mountPromises.length&&i(),this.doneWaitingForPlay?this.allMountedPromise.then((()=>{this.showVideoWrapper()})):((0,h.doTimeout)(`${this.impl.uuid}
163.bail_on_autoplay`,(()=>{this.doneWaitingForPlay||(this.doneWaitingForPlay=!0,this.showVideoWrapper(),this.render())}),2e3),this.showVideoWrapperAfterInitialPlay())}}catch(t){setTimeout((()=>{throw t}),0)}finally{this.isRendering=!1}}resetCssReset(){const t=Boolean(this.impl._attrs.controlBarBorderRadius||this.impl._attrs.bigPlayButtonBorderRadius);this.cssResetStyle&&this._previousBorderRadiusOn!==t&&((0,d.elemRemove)(this.cssResetStyle),this.cssResetStyle=null,this._previousBorderRadiusOn=t)}setControlProps(){const t=this.impl,e=this.anyDialogOpen(),i=this.isChromeless(),n=this.shouldShowControls(),s=this.isHovering,o=this.isMostRecentFocusViaMouse,r=t.playerLanguage(),a=this.scale(),l=this.videoHeight(),h=this.videoWidth(),c=this.vulcOffset=(0,d.elemOffset)(t.grid.center),p=this.bottomBarOffset={left:c.left,top:c.top+this.videoHeight()-this.controlBarHeight()};let m=0;this.getControlsByType("control-bar-left").forEach(((s,u)=>{s.__prevProps=s.props,s.props={anyDialogOpen:e,chromeless:i,controlsAreVisible:n,focusNextVisibleControl:this.createFocusNextControlFunction(s),height:Math.round(k(s)*a),isMostRecentFocusViaMouse:o,left:m,isLeftMostControl:0===m,isRightMostControl:t.isControlDisabled("playbar"),playerIconColor:this.playerIconColor(),controlBarId:this.controlBarId(),playerLanguage:r,scale:a,videoHeight:l,videoWidth:h,width:Math.round(D(s))*a},m+=s.props.width})),this.leftControlWidth=m;const g=this.getControlsByType("control-bar-right","wistia-logo","ellipsis");g.forEach(((s,u)=>{s.__prevProps=s.props,s.props={anyDialogOpen:e,chromeless:i,controlsAreVisible:n,focusNextVisibleControl:this.createFocusNextControlFunction(s),height:Math.round(k(s)*a),isMostRecentFocusViaMouse:o,isLeftMostControl:0===u&&t.isControlDisabled("playbar"),isRightMostControl:u===g.length-1,playerIconColor:this.playerIconColor(),controlBarId:this.controlBarId(),playerLanguage:r,scale:a,videoHeight:l,videoWidth:h,width:Math.round(D(s))*a},"volumeButton"===s.constructor.handle&&u===g.length-2&&(s.props.isRightMostControl=!0),"volumeSlider"===s.constructor.handle&&u===g.length-1&&(s.props.isRightMostControl=!1)}));let f=0;this.getControlsByType("ellipsis").slice().reverse().forEach((t=>{f+=t.props.width,t.props.left=h-f})),this.ellipsisWidth=f;let y=0;this.getControlsByType("wistia-logo").slice().reverse().forEach((t=>{f+=Math.round(t.largestButtonWidth)*a,y+=t.props.width,t.props.left=h-f})),this.wistiaLogoWidth=y,this.getControlsByType("control-bar-right").slice().reverse().forEach((t=>{f+=t.props.width,t.props.left=h-f})),this.rightControlWidth=f;const _=this.leftControlWidth+(this.ellipsisWidth>0?this.ellipsisWidth+this.wistiaLogoWidth:this.rightControlWidth),v=h-_,b=this.getControlsByType("playbar")[0];b&&(b.__prevProps=b.props,b.props={anyDialogOpen:e,chromeless:i,controlsAreVisible:n,focusNextVisibleControl:this.createFocusNextControlFunction(b),height:this.controlBarHeight(),isMostRecentFocusViaMouse:o,left:m,playerIconColor:this.playerIconColor(),controlBarId:this.controlBarId(),playerLanguage:r,scale:a,videoHeight:l,videoWidth:h,width:v}),this.playbarControlWidth=v;const w=this.controlBarHeight();["background","foreground","left-flyout","above-control-bar","right-flyout"].forEach((t=>{(this.controlsByType[t]||[]).forEach((t=>{t.__prevProps=t.props,t.props={anyDialogOpen:e,chromeless:i,controlBarHeight:w,isFocusable:this.allMounted&&this.doneWaitingForPlay,controlsAreVisible:n,focusNextVisibleControl:this.createFocusNextControlFunction(t),isHoveringOnPlayer:s,isMostRecentFocusViaMouse:o,playerIconColor:this.playerIconColor(),playerLanguage:r,scale:a,videoHeight:l,videoWidth:h}}))}));const E=p.top;this.eachButtonControl((t=>{t.props.top=E})),b&&(0,u.assign)(b.props,{top:E}),this.eachControl((t=>{t.props.bigPlayButtonBorderRadius=this.bigPlayButtonBorderRadius(),t.props.controlBarBorderRadius=this.controlBarBorderRadius(),t.props.controlBarDistance=this.controlBarDistance(),t.props.controlBarWidth=this.controlBarWidth(),t.props.leftControlBarWidth=this.leftControlWidth,t.props.playerBorderRadius=this.playerBorderRadius(),t.props.rightControlBarWidth=this.rightControlWidth})),this.forControls(["captions","captionsV3"],(t=>
163{t.props.captionsBackgroundColor=this.captionsBackgroundColor(),t.props.captionsBackgroundOpacityPercentage=this.captionsBackgroundOpacityPercentage(),t.props.captionsTextColor=this.captionsTextColor(),t.props.captionsTextSize=this.captionsTextSize(),t.props.captionsTextOpacityPercentage=this.captionsTextOpacityPercentage(),t.props.captionsFontFamily=this.captionsFontFamily(),t.props.captionsFontVariant=this.captionsFontVariant(),t.props.captionsBorderRadius=this.captionsBorderRadius(),t.props.captionsTextShadow=this.captionsTextShadow(),t.props.captionsWindowColor=this.captionsWindowColor(),t.props.captionsWindowOpacityPercentage=this.captionsWindowOpacityPercentage()}))}notifyControlsLayoutChange(t){this.controlsLayout?.controlBarHeight===t.controlBarHeight&&this.controlsLayout?.controlsAreVisible===t.controlsAreVisible||(this.controlsLayout={...t},this.impl.trigger("controlslayoutchange",this.controlsLayout))}runOnControlPropsUpdated(t){t.forEach((t=>{if("function"==typeof t.onControlPropsUpdated)try{t.onControlPropsUpdated(t.__prevProps||{})}catch(t){setTimeout((()=>{throw t}),0)}t.__prevProps=null}))}setupControls(){const t=this.impl;let e=!1;const i=[];for(let n in this.controls){const s=this.controls[n];if(M[s.constructor.type]){const o=s.constructor.shouldMount;if(t.isControlDisabled(n)||o&&!o(t.publicApi)){if(s.destroy)try{s.destroy()}catch(t){setTimeout((()=>{throw t}),1)}s.__destroyed=!0,delete this.mountRefs[n],delete this.buttonMountRefs[n],delete this.controls[B(s)],e=!0,i.push(s),t.trigger("controldestroyed",n)}}}let n=!1;const s=[],o=[];for(let e in m.Wistia._controlDefinitions){const i=m.Wistia._controlDefinitions[e];if(M[i.type]){const r=null!=this.controls[e],a=!t.isControlDisabled(e)&&(null==i.shouldMount||i.shouldMount(t.publicApi));if(a&&r&&o.push(this.controls[e]),!r&&a){try{const n=this.controls[e]=new i(t);n.mounted=new Promise((i=>{n.__didMount=()=>{n.mounted.isResolved=!0,t.trigger("controlmounted",e),i()}})),s.push(n)}catch(t){setTimeout((()=>{throw t}),1)}n=!0}}}if(n||e){const e={};this.eachControl((t=>{const i=t.constructor.type;null==e[i]&&(e[i]=[]),e[i].push(t)}));for(let t in e)e[t].sort(((t,e)=>(t.constructor.sortValue||0)-(e.constructor.sortValue||0)));this.controlsByType=e,t.publicApi.controls=t.controls=this.controls}return{newControls:s,existingControls:o,destroyedControls:i}}whenControlMounted(t){return new Promise((e=>{const i=this.controls[t];i&&i.mounted?i.mounted.then((()=>{e(i)})):this.impl.bind("controlmounted",(i=>{if(i===t)return e(this.controls[t]),this.impl.unbind}))}))}mountControls(t){t.forEach((t=>{const e=t.constructor.type,i=B(t),n=this.mountRefs[i];if(t.nextControlOfSameType||(t.nextControlOfSameType=(e=t)=>this.nextControlOfSameType(e)),t.loading||(t.loading=(i,n={})=>"control-bar-right"===e?this.renderButtonWithDialogLoader(t,i):this.renderHourglassLoader(i,n)),"control-bar-left"===e||"control-bar-right"===e||"wistia-logo"===e||"ellipsis"===e)if(t.mountButton){const e=this.renderButtonWithDialog(t);this.mountControl(t,(()=>t.mountButton(e)))}else t.mount&&this.mountControl(t,(()=>t.mount(n)));else this.mountControl(t,(()=>t.mount(n)));t.eventListeners instanceof Map&&t.eventListeners.forEach(((e,i)=>{t.embedElement.addEventListener(i,e)}))}))}mountControl(t,e){try{const i=B(t),n=e();n&&n.then&&n.catch?(n.handle=i,this.mountPromises.push(n),n.then((()=>{t.__didMount()}))):t.__didMount()}catch(t){setTimeout((()=>{throw t}),0)}}renderButtons(t){t.forEach((t=>{t.mountButton&&this.renderButtonWithDialog(t)}))}renderButtonWithDialog(t){const e=B(t);if(!this.impl)return;try{t.mountDialog&&!t.dialog&&(t.dialog=new y.A(this,{dialogWillOpen:x(t.controlDialogWillOpen,t),dialogOpened:x(t.controlDialogOpened,t),dialogWillClose:x(t.controlDialogWillClose,t),dialogClosed:x(t.controlDialogClosed,t),control:t}),this.dialogs.push(t.dialog))}catch(t){setTimeout((()=>{throw t}),0)}if(t.setButtonLabel||(t.setButtonLabel=e=>{t.__buttonLabel=e,this.renderButtonWithDialog(t)}),!this.mountRefs[e])return;const i=!this.impl.publicApi.popover||this.impl.publicApi.popover.isVisible()?0:-1;let n;return(0,o.render)((0,o.h)(f.A,{...t.props,buttonLabel:t.__buttonLabel,buttonRef:e=>{t.buttonElement=e},controlBarId:this.controlBarId(),closeDialogOnFocusOut:this.impl._opts.closeDialogsOnFocusOut,color:this.impl.playerColor(),control:t,key:`${e}_button_and_dialog`,onBlurButton:this.onBlurButton,onFocusButton:this.onFocusButton,rootRef:t=>
163this.buttonMountRefs[e]=t,stubRef:t=>n=t,tabIndex:i,videoState:this.impl.state()}),this.mountRefs[e]),n}renderButtonWithDialogLoader(t,e){return new Promise((i=>{const n=`${this.impl.uuid}.loading_dialog_indicator.${(0,s.h)()}`;(0,h.doTimeout)(n,(()=>{this.setLoadingDialogAndRender(t,!0),L.touchScreen?(0,d.elemBind)(document,"touchstart",(()=>{try{this.setLoadingDialogAndRender(t,!1)}catch(t){setTimeout((()=>{throw t}),0)}return i(),d.elemUnbind})):(0,d.elemBind)(document,"mousedown",(()=>{try{this.setLoadingDialogAndRender(t,!1)}catch(t){setTimeout((()=>{throw t}),0)}return i(),d.elemUnbind}))}),300),e.then((()=>{(0,h.clearTimeouts)(n),this.setLoadingDialogAndRender(t,!1),i()}))}))}setLoadingDialogAndRender(t,e){t.__isDialogLoading=e,this.renderButtonWithDialog(t)}renderHourglassLoader(t,e){return new Promise((i=>{const n=`${this.impl.uuid}.loading_indicator.${(0,s.h)()}`;(0,h.doTimeout)(n,(()=>{this.controls.loadingHourglass.show(e),L.touchScreen?(0,d.elemBind)(document,"touchstart",(()=>{try{this.controls.loadingHourglass.hide()}catch(t){setTimeout((()=>{throw t}),0)}return i(),d.elemUnbind})):(0,d.elemBind)(document,"mousedown",(()=>{try{this.controls.loadingHourglass.hide()}catch(t){setTimeout((()=>{throw t}),0)}return i(),d.elemUnbind}))}),300),t.then((()=>{(0,h.clearTimeouts)(n),this.controls.loadingHourglass.hide(),i()}))}))}forControl(t,e){const i=this.controls[t];i&&M[i.constructor.type]&&e(i)}forControls(t,e){t.forEach((t=>{this.forControl(t,e)}))}eachControl(t){for(let e in this.controls)M[this.controls[e].constructor.type]&&t(this.controls[e])}eachButtonControl(t){this.getControlsByType("control-bar-left","control-bar-right","wistia-logo","ellipsis").forEach(t)}spaceForPlaybar(){let t=0;return this.eachButtonControl((e=>{t+=D(e)})),this.videoWidth()-t*this.scale()}controlBarHeight(){const t=this.impl;return this.isBeforePlayOrReset()&&!t._attrs.controlsVisibleOnLoad||this.isChromeless()?0:Math.round(v.F$*this.scale())}isBeforePlayOrReset(){const t=this.impl;return"beforeplay"===t.state()||t._opts&&"reset"===t._attrs.endVideoBehavior&&"ended"===t.state()}shouldShowControls(){const t=this.impl;let e;return e=!(this.isChromeless()||t.publicApi.popover&&!t.publicApi.popover.isVisible()||(this.isBeforePlayOrReset()&&this.doneWaitingForPlay?!0!==t._attrs.controlsVisibleOnLoad:!this.hasRequestedControlsVisible()&&(L.touchScreen?null==this.tappedToHide||this.tappedToHide||"playing"===t.state()&&!this.anyDialogOpen()&&!(this.lastMovedMouseAt&&Date.now()-this.lastMovedMouseAt<3e3&&this.lastMovedMouseAt>t.lastPlayInfo().issuedAt):!this.anyDialogOpen()&&!this.isKeyboardFocused&&(!t.inFullscreen()&&!this.isHovering||!(this.lastMovedMouseAt&&Date.now()-this.lastMovedMouseAt<3e3)&&this.lastMouseMoveWasFromBackground)))),e}hasRequestedControlsVisible(){const t=this.impl._visibilityRequests;for(let e in t)if(t[e])return!0;return!1}createFocusNextControlFunction(t){const e=this.nextVisibleFocusableControl(t);return t=>{let i=e;t&&(i=this.nextVisibleFocusableControl(t));const n=B(i),s=this.mountRefs[n];return this.focusNextVisibleElem(s)}}focusNextVisibleElem(t){const e=t||this.impl.uiContainer,i=this.getVisibleFocusableElems(e);let n=0;for(let t=0;t<i.length;t++)if(document.activeElement===i[t]){n=t;break}return 0!==i.length&&(n===i.length-1?i[0].focus():i[n+1].focus(),!0)}getVisibleFocusableElems(t){const e=t.querySelectorAll('button, [href], input, select, textarea, [tabindex="0"]');return Array.prototype.slice.call(e).filter((t=>!(0,d.elemIsHidden)(t)))}updateFocusedControl(t){this.eachControl((e=>{const i=e.constructor.handle,n=this.mountRefs[i];e.__isFocused=t&&(0,d.elemIsInside)(t,n)})),this.render()}showControlsTimeout(){return this.impl.inFullscreen()||L.touchScreen?3e3:5e3}togglePlay(){const t=this.impl;"playing"===t.state()?t.pause():t.play()}showVideoWrapperAfterInitialPlay(){this.impl.ready((()=>{const t=[this.impl._playPromise,this.impl._seekPromise].filter((t=>null!=t));return Promise.all(t).then((()=>{this.showVideoWrapper()}))}))}showVideoWrapper(){this.impl?.videoWrapper&&(0,d.elemStyle)(this.impl.videoWrapper,{clip:""})}anyDialogOpen(){for(let t in this.controls){const e=this.controls[t];if(e.dialog&&e.dialog.isOpen())return!0}return!1}
163openDialog(t){this.dialogs.forEach((e=>{e!==t&&e.close()})),this.render()}closeDialog(t){this.render()}resizeDialog(t){this.render()}videoWidth(){return null!=this.cachedVideoWidth?this.cachedVideoWidth:this.cachedVideoWidth=this.impl.videoWidth()}videoHeight(){return null!=this.cachedVideoHeight?this.cachedVideoHeight:this.cachedVideoHeight=this.impl.videoHeight()}scale(){return null!=this._scale?this._scale:"auto"!==this.impl.controlScaling()?this.impl.controlScaling():this._scale=Math.min(1.3,Math.max(.95,(0,a.O8)(this.impl)))}playerIconColor(){return(0,S.hu)(this.impl.playerColor(),this.shouldUseAccessibleIconColor(),null!=this.backgroundGradientCss())}destroy(){this._isDestroying=!0;for(let t in this.buttonMountRefs)P(this.buttonMountRefs,t)&&(0,o.render)((0,o.h)("nothing",null),this.mountRefs[t]);(0,o.render)((0,o.h)("nothing",null),this.impl.uiContainer),this.eachControl((t=>{if(t.destroy)try{t.destroy()}catch(t){setTimeout((()=>{throw t}),0)}t.__destroyed=!0})),this.unbinds.forEach((t=>t())),(0,d.elemRemove)(this.cssResetStyle),this.cssResetStyle=null,super.destroy()}nextVisibleFocusableControl(t){const e=this.nextControlOfSameType(t);if(e)return e;const i=t.constructor.handle,n=Object.keys(this.mountRefs),s=n.indexOf(i)+1,o=n.slice(s);let r;for(let t=0;t<o.length;t++){const e=this.mountRefs[o[t]];if(this.getVisibleFocusableElems(e).length>0){r=o[t];break}}return r||void 0}nextControlOfSameType(t){const e=t.constructor.type,i=this.controlsByType[e],n=i.indexOf(t);let s=i[n+1];return"control-bar-left"===e&&(!s&&this.controlsByType.playbar&&(s=this.controlsByType.playbar[0]),!s&&this.controlsByType["control-bar-right"]&&(s=this.controlsByType["control-bar-right"][0]),!s&&this.controlsByType["wistia-logo"]&&(s=this.controlsByType["wistia-logo"][0]),!s&&this.controlsByType.ellipsis&&(s=this.controlsByType.ellipsis[0])),s}hasAnyVideoChromeControls(){for(let t in this.controls){const e=this.controls[t];if(e.constructor.isVideoChrome||I(e.constructor.type))return!0}return!1}hasRequestedChromeless(){const t=this.impl._visibilityRequests;for(let e in t)if(!1===t[e])return!0;return!1}isChromeless(){return this.inNativeMode()||this.impl._opts.chromeless||this.hasRequestedChromeless()||!this.hasAnyVideoChromeControls()}inNativeMode(){const t=this.impl._opts;return!0===t.nativeMode||L.ipad&&L.ios.version&&L.ios.version<10.1||!1===t.playsinline&&(L.ipad||L.iphone||L.android)}cssResetContent(){const t=`#${this.impl.chrome.id} #${this.impl.grid.wrapper.id}`,e=(0,n.D)(`${t} `,".w-css-reset"),i=(0,n.D)(`${t} .w-css-reset-tree `,""),s=Boolean(this.impl._attrs.controlBarBorderRadius||this.impl._attrs.bigPlayButtonBorderRadius)?"":"border-radius:0!important;";return`\n ${e}\n ${i}\n ${t} .w-css-reset-max-width-none-important{max-width:none!important}\n ${t} .w-css-reset-button-important{${s}color:var(--wistia-player-icon-color)!important;}\n ${t} .w-css-reset-dialog-button-important{${s}color:#fff!important;}\n ${t} ${p.BIG_PLAY_BUTTON_FOCUS_VISIBLE_RULE}\n `}hasRendered(){return!!this.allMounted}shouldShowMoreDefaultValue(){return(this.rightControlWidth-this.ellipsisWidth)/this.videoWidth()<.35}controlBarId(){return`${this.domId}-control-bar`}isShowingMore(){if(!this.controlsByType.ellipsis)return;const t=this.getControlsByType("playbar");return 0===t.length||!(t.filter((t=>t.__isFocused)).length>0)&&(!!(this.getControlsByType("control-bar-right").filter((t=>t.__isFocused)).length>0)||(null!=this._isShowingMore?this._isShowingMore:this.shouldShowMoreDefaultValue()))}playerBorderRadius(){return this.impl._attrs.playerBorderRadius*this.scale()}showMore(){return this._isShowingMore=!0,this.render()}
163showLess(){return this.dialogs.forEach((t=>t.close())),this._isShowingMore=!1,this.render()}getControlsByType(...t){if(1===t.length&&this.controlsByType[t[0]])return this.controlsByType[t[0]];const e=[];return t.forEach((t=>{e.push(...this.controlsByType[t]||[])})),e}setAriaLiveText(t){this._ariaLiveText=t,this.render()}}O.handle="ui";const x=(t,e)=>t?t.bind(e):null,B=t=>t.constructor.handle,R=O},(t,e,i)=>{i.d(e,{D:()=>h});var n=i(27);const s={"background-attachment":"scroll","background-color":"transparent","background-image":"none","background-position":"0 0","background-repeat":"no-repeat","background-size":"100% 100%"},o={"box-sizing":"inherit","box-shadow":"none",color:"inherit",display:"block",float:"none",font:"inherit","font-family":"inherit","font-style":"normal","font-weight":"normal","font-size":"inherit","letter-spacing":0,"line-height":"inherit",margin:0,"max-height":"none","max-width":"none","min-height":0,"min-width":0,padding:0,position:"static","text-decoration":"none","text-transform":"none","text-shadow":"none",transition:"none","word-wrap":"normal","-webkit-tap-highlight-color":"rgba(0,0,0,0)","-webkit-user-select":"none","-webkit-font-smoothing":"antialiased"},r={border:0,"border-radius":0,outline:"none",position:"static"},a=t=>{const e=[];for(let i in t){const n=t[i];e.push(`${i}:${n}`)}return e.join(";")},l=`\n&{font-size:14px;}\ndiv,span,ul,li,label,fieldset,button,img,a,svg,p{${a(o)}}\na{border:0;}\nh1{${a((0,n.k)({},o,{"font-size":"2em"}))}}\nh2{${a((0,n.k)({},o,{"font-size":"1.5em"}))}}\nh3{${a((0,n.k)({},o,{"font-size":"1.17em"}))}}\np{margin:1.4em 0;}\na,span,svg{display:inline;}\nul,ol,li{${a((0,n.k)({},o,{"list-style-type":"none",position:"static"}))}}\nul:before,ol:before,li:before{display:none}\nul:after,ol:after,li:after{display:none}\nlabel{${a((0,n.k)({},s,{float:"none",outline:"none"}))}}\nbutton{${a((0,n.k)({},s,r))}}\nimg{${a((0,n.k)({},{border:0,display:"inline-block","vertical-align":"top"},r))}}\nbutton::-moz-focus-inner{border: 0;}\n`,h=(t,e)=>l.trim().split(/\n+/).map((i=>((t,e,i)=>{const n=i.indexOf("{"),s=i.substring(0,n),o=i.substring(n,i.length);return s.split(/,\s*/).map((i=>i.indexOf("&")>=0?`${i.replace(/&/g,t)}${e}${o}`:i.indexOf("::")>=0?`${t}${e} ${i}${o}`:`${t}${i}${e}${o}`)).join("\n")})(t,e,i))).join("\n")},(t,e,i)=>{i.d(e,{A:()=>m});var n=i(64),s=i(2),o=i(205),r=i(65),a=i(26),l=i(272),h=i(275),u=i(276),c=i(277);function d(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class p extends s.Component{constructor(){super(),d(this,"onClickButton",(()=>{const t=this.props.control;if(t.buttonElement.focus(),!1!==t.toggleDialogOnClick){const e=t.dialog;e&&(e.isOpen()?e.close():((0,a.countMetric)("player/control-button-click",1,{control:t.constructor.handle,desktop:!(0,r.GS)(),mobile:(0,r.GS)()}),e.open()))}t.onClickButton&&((0,a.countMetric)("player/control-button-click",1,{control:t.constructor.handle,desktop:!(0,r.GS)(),mobile:(0,r.GS)()}),t.onClickButton())})),d(this,"onKeyboardFocusButton",(t=>{if(t.relatedTarget===this.dummyElem)return;const{control:e,onFocusButton:i}=this.props;i&&i(t,e),e.onFocusInButton&&e.onFocusInButton(t)})),d(this,"onDialogContentVisible",(()=>{!(0,o.C)()&&this.isNewElemOutsideOfBase(this.getActiveElement(),this.base)&&(0,c.FR)(this.dialogElem)})),d(this,"onBlurButton",(t=>{const{closeDialogOnFocusOut:e,control:i,onBlurButton:n}=this.props,s=i.dialog;setTimeout((()=>{const o=this.getActiveElement(),r=this.isNewElemOutsideOfBase(o,this.base);!1!==e&&!this.isDialogContentLoading()&&!1===this.state.isMouseInDialog&&r&&s&&s.close(),n&&r&&n(t,i),i.onFocusOutButton&&i.onFocusOutButton(t)}),150)})),d(this,"onKeyDownButton",(t=>{const e=this.props.control;e.onKeyDownButton&&e.onKeyDownButton(t)})),d(this,"onDialogKeyDown",(t=>{"Escape"===t.key&&this.props.control.dialog?.isOpen()&&(this._wasAtRootLevelOnEscapeDown=this.props.control.isAtRootLevel())})),d(this,"onDialogKeyUp",(t=>{const e=this.props.control;e.dialog?.isOpen()&&"Escape"===t.key&&(t.escapeHandled=!0,this._wasAtRootLevelOnEscapeDown&&(e.dialog?.close(),e.buttonElement?.focus()),this._wasAtRootLevelOnEscapeDown=!1)})),d(this,"onMouseEnterDialog",(()=>{this.setState({isMouseInDialog:!0})}
163)),d(this,"onMouseLeaveDialog",(()=>{this.setState({isMouseInDialog:!1})})),d(this,"onMouseEnter",(t=>{this._isHovering=!0;const e=this.props.control;e.onMouseEnter&&e.onMouseEnter(t)})),d(this,"onMouseLeave",(t=>{this._isHovering=!1;const e=this.props.control;e.onMouseLeave&&e.onMouseLeave(t)})),d(this,"onMouseDown",(()=>{this._isMouseDown=!0,this._lastClickedElem=this.getActiveElement(),(0,n.elemBind)(document,"mouseup",this.onMouseUp)})),d(this,"onMouseUp",(()=>{this._isMouseDown=!1,(0,n.elemUnbind)(document,"mouseup",this.onMouseUp)})),d(this,"onFocusOut",(()=>{setTimeout((()=>{const t=this.props.control;!1===this.props.closeDialogOnFocusOut||this.isDialogContentLoading()||!t.dialog||!t.dialog.isOpen()||this.getActiveElement()&&!this.isNewElemOutsideOfBase(this.getActiveElement(),this.base)||(this.getActiveElement()&&this.getActiveElement().tagName.match(/input|button/i)||!0!==this.state.isMouseInDialog||!(0,o.C)()&&!this._isMouseDown?t.dialog.close():this._lastClickedElem?.focus({preventScroll:!0}))}),500)})),d(this,"onBeforeDisplayNone",(()=>{const t=this.props.control;if(this.dialogElem&&this.getActiveElement()&&(0,n.elemIsInside)(this.getActiveElement(),this.dialogElem)){const e=t.nextControlOfSameType();e&&e.buttonElement?e.buttonElement.focus():t.buttonElement.focus()}})),d(this,"dialogRefFn",(t=>{this.dialogElem=t,this.props.dialogRef&&this.props.dialogRef(t)})),this.state={isMouseInDialog:!1}}getActiveElement(){return(0,n.getDeepActiveElement)()}render(){const t=this.props.control,e=t.mountDialog&&t.dialog&&t.dialog.hasOpened();return(0,s.h)("div",{class:"w-vulcan-button-wrapper w-css-reset",style:this.wrapperStyle(),onMouseEnter:this.onMouseEnter,onMouseLeave:this.onMouseLeave,onMouseDown:this.onMouseDown,onfocusout:this.onFocusOut,ref:this.props.rootRef},this.renderControlBarButton(),e?this.renderControlBarDialog():null)}componentDidMount(){const t=this.props.buttonRef;t&&t(this.buttonElem)}componentDidUpdate(){const t=this.props.buttonRef;t&&t(this.buttonElem)}renderControlBarButton(){const t=this.props,e=this.props.control,i=e.mountDialog&&e.dialog&&e.dialog.isOpen();return(0,s.h)(h.A,{ariaPressed:e.ariaPressed,buttonLabel:this.props.buttonLabel,buttonRef:t=>this.buttonElem=t,controlBarBorderRadius:this.props.controlBarBorderRadius,controlBarId:this.props.controlBarId,controlsAreVisible:this.props.controlsAreVisible,disabled:e.disabledButton,handle:t.control.constructor.handle,isActuallyLink:!!e.isActuallyLink&&e.isActuallyLink(),isDialogOpen:i,isLeftMostControl:this.props.isLeftMostControl,isLoading:t.control.__isDialogLoading||!1,isRightMostControl:this.props.isRightMostControl,linkAttrs:e.linkAttrs?e.linkAttrs():{},onBlur:this.onBlurButton,onClick:this.onClickButton,onKeyDownButton:this.onKeyDownButton,onKeyboardFocus:this.onKeyboardFocusButton,scale:t.scale,stubRef:t.stubRef,tabIndex:t.tabIndex,videoState:this.props.videoState})}isNewElemOutsideOfBase(t,e){return!t||!(0,n.elemIsInside)(t,e)}isDialogContentLoading(){return"none"===this.dialogElem?.style.display}renderControlBarDialog(){const t=this.props,e=t.control,i=u.F$*t.scale,n=t.videoHeight-t.controlBarDistance-i-10,o=e.dialogComponent;return(0,s.h)(l.A,{canvasHeight:n,canvasWidth:t.controlBarWidth,controlBarBorderRadius:t.controlBarBorderRadius,dialogRef:this.dialogRefFn,handle:`${e.constructor.handle}__dialog`,isOpen:e.dialog.isOpen(),left:e.props.left,mount:t=>e.mountDialog(t),newLook:this.props.newLook,onBeforeDisplayNone:this.onBeforeDisplayNone,onDialogContentVisible:this.onDialogContentVisible,onDialogKeyDown:this.onDialogKeyDown,onDialogKeyUp:this.onDialogKeyUp,onMouseEnter:this.onMouseEnterDialog,onMouseLeave:this.onMouseLeaveDialog,controlBarDistance:t.controlBarDistance,resizeRequestedAt:e.dialog._resizeRequestedAt,scale:t.scale,top:e.props.top,videoWidth:t.videoWidth},o&&(0,s.h)(o,{control:e,scale:t.scale}))}wrapperStyle(){const t=this.props.control;return{display:"inline-block",height:`${t.props.height}px`,position:"relative",verticalAlign:"top",width:`${t.props.width}px`}}}const m=p},(t,e,i)=>{i.d(e,{A:()=>u});var n=i(64),s=i(2),o=i(70),r=i(273),a=i(274);function l(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class h extends s.Component{constructor(t){super(t),l(this,"initStubResizeObserver",(()=>{this.stubElem&&(this._stubResizeObserver=new ResizeObserver((()=>{this.measureUserElem()})),this._stubResizeObserver.observe(this.stubElem))})),l(this,"dialogRefFn",(t=>{this.dialogElem=t,this.props.dialogRef&&this.props.dialogRef(t)})),l(this,"handleTransitionsAfterRender",(()=>{const t=this.props,e=this.state;t.isOpen?(e.isDisplayNone||e.isOpaque&&null==e.widthInButtons)&&this.setState({isDisplayNone:!1},(()=>{this.measureUserElem(),t.onDialogContentVisible&&t.onDialogContentVisible(),this.setState({isOpaque:!0},(()=>{setTimeout((()=>{this.setState({isFullyOpen:!0})}),120)}))})):!e.isDisplayNone&&e.isOpaque&&this.setState({isOpaque:!1,isFullyOpen:!1},(()=>{clearTimeout(this.displayNoneTimeout),this.displayNoneTimeout=setTimeout((()=>{this.setState({isDisplayNone:!0})}),200)}))})),l(this,"measureUserElem",(()=>{this.stubElem.style.width="";const t=(0,n.elemWidth)(this.stubElem),e=Number.isNaN(t)?120*this.props.scale:t;this.stubElem.style.width="100%";const i=40*this.props.scale,s=5*this.props.scale,o=Math.ceil((e+s)/i),r="captionsButton__dialog"!==this.props.handle?Math.min(6,o):o,a=Math.max(3,r);a===this.state.widthInButtons||isNaN(a)||this.setState({widthInButtons:a})})),l(this,"onTouchStart",(t=>{t._touchStartFromControlDialog=!0})),this.uuid=(0,o.h)(),this.state={isDisplayNone:!0,isOpaque:!1,widthInButtons:null}}componentWillReceiveProps(t){this.props.resizeRequestedAt!==t.resizeRequestedAt&&this.setState({widthInButtons:null})}componentWillUpdate(t,e){!0===e.isDisplayNone&&!1===this.state.isDisplayNone&&t.onBeforeDisplayNone&&t.onBeforeDisplayNone()}render(){return(0,s.h)("div",{ref:t=>this.anchorElem=t,class:"w-anchor w-css-reset",style:this.anchorStyle(),onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onTouchStart:this.onTouchStart},(0,s.h)("div",{class:"w-dialog w-css-reset",style:this.dialogStyle(),ref:this.dialogRefFn},(0,s.h)("div",{class:"w-css-reset",style:this.dialogContentWrapperStyle()},(0,s.h)(a.A,{style:this.stubStyle(),stubRef:t=>this.stubElem=t,handle:this.props.handle,class:"w-css-reset"},this.props.children))))}componentDidMount(){const t=this.props.mount(this.stubElem);t&&t.then&&t.catch?this.mountPromise=t:this.mountPromise=Promise.resolve(),this.mountPromise.then(this.handleTransitionsAfterRender),this.unbindWhenWistiaPlayerInterLoaded=(0,r.U)(this.measureUserElem),this.initStubResizeObserver(),this.props.onDialogKeyDown&&(this._keyDownHandler=t=>this.props.onDialogKeyDown(t),document.addEventListener("keydown",this._keyDownHandler,!0)),this.props.onDialogKeyUp&&(this._keyUpHandler=t=>this.props.onDialogKeyUp(t),document.addEventListener("keyup",this._keyUpHandler,!0))}componentDidUpdate(){this.mountPromise&&this.mountPromise.then(this.handleTransitionsAfterRender)}componentWillUnmount(){this.unbindWhenWistiaPlayerInterLoaded(),this._stubResizeObserver&&this._stubResizeObserver.disconnect(),this._keyDownHandler&&document.removeEventListener("keydown",this._keyDownHandler,!0),this._keyUpHandler&&document.removeEventListener("keyup",this._keyUpHandler,!0)}anchorStyle(){return{height:0,left:0,position:"absolute",top:0,width:"100%"}}dialogContentWrapperStyle(){const{isOpaque:t}=this.state;return{opacity:t?1:0,transition:`opacity 100ms ease ${t?48:0}ms`}}dialogStyle(){const{canvasHeight:t,controlBarBorderRadius:e,controlBarDistance:i}=this.props,{isDisplayNone:n,isOpaque:s}=this.state,{height:o,left:r,width:a}=this.dialogDimensions(),l=s?0:40;let h=`opacity 120ms ease ${l}ms, transform 120ms ease ${l}ms`;return this.state.isFullyOpen&&(h+=", width 120ms ease, left 120ms ease"),{background:"rgba(0,0,0,0.7)",borderRadius:`${e}px`,bottom:`${i}px`,color:"#fff",display:n?"none":"block",left:r,lineHeight:"34px",height:o,maxHeight:`${t}px`,opacity:s?1:0,overflowX:"hidden",overflowY:"auto",position:"absolute",transition:h,transform:`scaleY(${s?1:.6})`,transformOrigin:"center bottom",width:a}}dialogDimensions(){const{canvasHeight:t,canvasWidth:e,scale:i,controlBarDistance:n,handle:s,left:o,videoWidth:r}=this.props,{widthInButtons:a}=this.state;if(s.includes("multiControl")&&r<=400){const e=2*n;return{height:`${t}px`,left:-(o-e)+"px",width:r-e+"px"}}let l=0,h=null;if(null!=a){h=Math.min(40*a*i,e);const t=this.props.left+h-2*n-e;t>0&&(l=-1*t)}return{height:"auto",left:`${l}px`,width:`${h}px`}}stubStyle(){return{boxSizing:"border-box",display:"inline-block",height:"100%",verticalAlign:"bottom",width:"100%"}}}const u=h},(t,e,i)=>{i.d(e,{U:()=>n});const n=t=>{const e=e=>{Array.from(e.fontfaces).some((t=>
163"WistiaPlayerInter"===t.family))&&t()};return document.fonts.addEventListener("loadingdone",e),()=>{document.fonts.removeEventListener("loadingdone",e)}}},(t,e,i)=>{i.d(e,{A:()=>s});var n=i(2);class s extends n.Component{shouldComponentUpdate(t){return t.children!==this.props.children}render(){const t=this.props;return(0,n.h)("div",{class:t.class||"w-html-stub",style:t.style,ref:t.stubRef,"data-handle":t.handle},t.children)}componentDidMount(){const t=this.props.mount;t&&!this.props.children&&t(this.base)}componentWillUnmount(){const t=this.props.destroy;t&&t()}}},(t,e,i)=>{i.d(e,{A:()=>p});var n=i(9),s=i(2),o=i(65),r=i(205),a=i(22),l=i(274),h=i(222);function u(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const c=(0,o.o1)();class d extends s.Component{constructor(t){super(t),u(this,"onFocus",(t=>{this.setState({isKeyboardFocused:!(0,r.C)()}),!(0,r.C)()&&this.props.onKeyboardFocus&&this.props.onKeyboardFocus(t)})),u(this,"onBlur",(t=>{this.setState({isKeyboardFocused:!1}),this.props.onBlur&&this.props.onBlur(t)})),u(this,"onMouseDown",(()=>{this.setState({justClicked:!0})})),u(this,"onMouseUp",(()=>{this.setState({justClicked:!1})})),u(this,"onMouseEnter",(()=>{this.setState({isHovering:!0})})),u(this,"onMouseLeave",(()=>{this.setState({isHovering:!1})})),this.interval=void 0,this.state={isKeyboardFocused:!1,isHovering:!1,justClicked:!1,opacity:1}}render(){const t=this.props,e=t.buttonLabel,i={class:"w-vulcan-v2-button w-css-reset w-css-reset-tree w-css-reset-button-important",style:this.buttonStyle(),"aria-describedby":t.controlBarId,"aria-label":e,title:e,onClick:()=>{t.disabled||t.onClick()},onKeyDown:e=>{t.onKeyDownButton(e)},onMouseDown:!c.touchScreen&&!t.disabled&&this.onMouseDown,onMouseUp:!c.touchScreen&&!t.disabled&&this.onMouseUp,onTouchStart:c.touchScreen&&this.onMouseDown,onTouchEnd:c.touchScreen&&this.onMouseUp,elemRef:e=>{this.buttonElem=e,t.buttonRef&&t.buttonRef(e)},tabIndex:t.tabIndex,...t.linkAttrs};void 0!==t.isDialogOpen&&(i["aria-expanded"]=`${t.isDialogOpen}`),void 0!==t.ariaPressed&&(i["aria-pressed"]=`${t.ariaPressed}`),c.touchScreen||(i.onFocus=this.onFocus,i.onBlur=this.onBlur,i.onMouseEnter=this.onMouseEnter,i.onMouseLeave=this.onMouseLeave),t.disabled&&(i["aria-disabled"]=!0);const n=t.isActuallyLink?"a":"button";return(0,s.h)(h.u,{tagName:n,...i},(0,s.h)(l.A,{class:"w-vulcan-icon-wrapper",style:this.stubStyle(),stubRef:t=>this.stubRoot=t,handle:`${this.props.handle}_icon_wrapper`}))}componentDidMount(){this.props.mount&&this.props.mount(this.stubRoot,this.anchorRoot,this.buttonElem),this.props.stubRef&&this.props.stubRef(this.stubRoot),this.setInlineColorWithImportantFlag()}createLoadingInterval(){this.interval=setInterval((()=>{const t=.2===this.state.opacity?.8:.2;this.setState({opacity:t})}),400)}clearLoadingInterval(){clearInterval(this.interval),this.setState({opacity:1})}componentWillReceiveProps(t){!1===this.props.isLoading&&!0===t.isLoading?this.createLoadingInterval():!0===this.props.isLoading&&!1===t.isLoading&&this.clearLoadingInterval()}componentDidUpdate(){(0,a.assign)(this.stubRoot.style,this.stubStyle()),this.props.stubRef&&this.props.stubRef(this.stubRoot),this.setInlineColorWithImportantFlag()}rootStyle(){return{height:"100%",position:"relative",width:"100%"}}buttonStyle(){const{isHovering:t,isKeyboardFocused:e}=this.state,{controlBarBorderRadius:i,isActuallyLink:s}=this.props,o=new n.Q1("#000"),r=t&&!this.props.disabled?.2:0;o.alpha(r);const a=s?{display:"block",outline:"none"}:{};return{backgroundColor:t&&!this.props.disabled?"var(--wistia-player-color-hover)":"transparent",borderBottomLeftRadius:this.props.isLeftMostControl?`${i}px`:0,borderBottomRightRadius:this.props.isRightMostControl?`${i}px`:0,borderTopLeftRadius:this.props.isLeftMostControl?`${i}px`:0,borderTopRightRadius:this.props.isRightMostControl?`${i}px`:0,boxShadow:e?"0 0 0 2px var(--wistia-player-icon-color, #fff) inset":"none",cursor:this.props.disabled?"not-allowed":"pointer",height:"100%",position:"relative",transition:"background-color 150ms",width:"100%",...a}}stubStyle(){const{justClicked:t}=this.state;return{boxSizing:"border-box",height:"100%",position:"relative",opacity:this.props.disabled?.5:1,transform:`scale(${t?1.2:1.001})`,transition:"transform 200ms"}}setInlineColorWithImportantFlag(){if(!this.buttonElem)return;const{isHovering:t}=this.state,e=t&&!this.props.disabled?"var(--wistia-player-icon-color-hover)":"var(--wistia-player-icon-color)";this.buttonElem.style.setProperty("color",e,"important")}getOpacity(){return this.props.controlsAreVisible?null!=this.state.opacity?this.state.opacity:1:0}}const p=d},(t,e,i)=>{i.d(e,{F$:()=>n,fN:()=>s});const n=34,s=40},(t,e,i)=>{i.d(e,{FR:()=>s});const n=t=>"INPUT"===t.tagName,s=t=>{const e=(t=>{const e=[],i=document.createTreeWalker(t,NodeFilter.SHOW_ELEMENT,{acceptNode:t=>t instanceof HTMLElement&&(t=>{const e=n(t)&&"hidden"===t.type;return!((t=>n(t)||"BUTTON"===t.tagName)(t)&&t.disabled||t.hidden||e)&&t.tabIndex>=0})(t)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP});for(;i.nextNode();)e.push(i.currentNode);return e})(t);
163e[0]?.focus({preventScroll:!0})}},(t,e,i)=>{i.d(e,{A:()=>l});var n=i(14),s=i(277),o=i(205);function r(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}class a{constructor(t,e={}){r(this,"dialogWillOpen",(()=>new Promise((t=>{if(this.config.dialogWillOpen){const e=this.config.dialogWillOpen();if(e&&e.then)return void e.then(t)}t()})))),r(this,"doOpen",(()=>new Promise((t=>{this._isOpen?t():(this._isOpen=!0,this._hasOpened=!0,this.ui.openDialog(this),setTimeout(t,170))})))),r(this,"dialogOpened",(()=>new Promise((t=>{this.config.dialogOpened&&this.config.dialogOpened(),this.focusFirstElementInDialog(),t()})))),r(this,"focusFirstElementInDialog",(()=>{(0,o.C)()||setTimeout((()=>{const t=this.control.dialogRoot;t&&(0,s.FR)(t)}),0)})),r(this,"close",(async()=>(await this.control.mounted,this.isOpen()?this.dialogWillClose().then(this.doClose).then(this.dialogClosed):Promise.resolve()))),r(this,"dialogWillClose",(()=>new Promise((t=>{if(this.config.dialogWillClose){const e=this.config.dialogWillClose();if(e&&e.then)return void e.then(t)}t()})))),r(this,"doClose",(()=>new Promise((t=>{this._isOpen?(this._isOpen=!1,this.ui.closeDialog(this),setTimeout(t,200)):t()})))),r(this,"dialogClosed",(()=>new Promise((t=>{this.config.dialogClosed&&this.config.dialogClosed(),t()})))),this.ui=t,this.config=e,this._isOpen=!1,this._hasOpened=!1,this.control=e.control}async open(){if("beforeplay"!==this.ui.impl.state()||this.ui.impl._attrs.controlsVisibleOnLoad)return await this.control.mounted,this.isOpen()?Promise.resolve():this.dialogWillOpen().then(this.doOpen).then(this.dialogOpened)}isOpen(){return this._isOpen}hasOpened(){return this._hasOpened}resize(){this._resizeRequestedAt=Date.now(),this.ui.resizeDialog(this)}}(0,n.Ut)(a.prototype);const l=a},(t,e,i)=>{i.d(e,{A:()=>y});var n=i(9),s=i(2),o=i(65),r=i(22),a=i(64),l=i(205),h=i(8),u=i(222),c=i(274),d=i(131);function p(t,e,i){return(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}const m=(0,o.o1)();(0,d.defineTranslations)("en-US",{CONTROL_BAR_LABEL:"Video controls",CONTROL_BAR_LABEL_WITH_NAME:"Video controls: {name}"});class g extends s.Component{constructor(t){super(t),p(this,"onFocus",(()=>{this.props.isMouseDownFromTouch||(0,l.C)()||this.setState({isKeyboardFocused:!0}),this.props.onFocusComplete()})),p(this,"onBlur",(()=>{this.state.isKeyboardFocused&&this.setState({isKeyboardFocused:!1})})),p(this,"onFocusIn",(t=>{this.props.onfocusin&&this.props.onfocusin(t)})),p(this,"onFocusOut",(t=>{this.props.onfocusout&&this.props.onfocusout(t)})),p(this,"onClick",(t=>{if((0,l.C)()&&this.setState({isKeyboardFocused:!1}),f(t)&&t.preventDefault(),this.props.onClick)return this.props.onClick(t)})),p(this,"onTouchEnd",(t=>{if(this.props.onTouchEnd)return this.props.onTouchEnd(t)})),this.state={areControlsOpaque:t.shouldShowControls,isKeyboardFocused:!1}}componentWillReceiveProps(t){this.handleControlBarAnimation(t)}render(){return this.mountRefs={},(0,s.h)(u.u,{class:"w-vulcan-v2 w-css-reset",elemRef:this.props.layoutRef,id:this.props.domId,onBlur:this.onBlur,onClick:this.onClick,onDblClick:this.props.onDblClick,onFocus:this.onFocus,onfocusin:this.props.onfocusin,onfocusout:this.props.onfocusout,onKeyDown:this.props.onKeyDown,onMouseEnter:this.props.onMouseEnter,onMouseLeave:this.props.onMouseLeave,onMouseMove:this.props.onMouseMove,onPinch:this.props.onPinch,onSwipe:this.props.onSwipe,onTouchEnd:this.onTouchEnd,onTouchMove:this.props.onTouchMove,onTouchStart:this.props.onTouchStart,style:this.wrapperStyle()},(0,s.h)("div",{class:"w-vulcan--background w-css-reset",style:this.backgroundStyle(),ref:this.props.backgroundRef},this.renderControlCells("background")),(0,s.h)("div",{"aria-live":"polite",class:"w-vulcan--aria-live w-css-reset","aria-atomic":"true",style:{position:"absolute",left:"-99999em"}},this.props.ariaLiveText),(0,s.h)("div",{class:"w-vulcan-overlays-table w-css-reset",style:this.layoutTableStyle()},(0,s.h)("div",{class:"w-vulcan-overlays--left w-css-reset",style:this.tdLeftStyle()},(0,s.h)("div",{style:this.tdLayoutInnerStyle(),class:"w-css-reset"},this.renderControlCells("left-flyout",{height:"100%",pointerEvents:"auto"}))),(0,s.h)("div",{class:"w-vulcan-overlays--center w-css-reset",style:this.tdCenterStyle()},(0,s.h)("div",{style:this.tdLayoutInnerStyle(),class:"w-css-reset"},this.renderControlCells("above-control-bar",{pointerEvents:"auto"}))),(0,s.h)("div",{class:"w-vulcan-overlays--right w-css-reset",style:this.tdRightStyle()},(0,s.h)("div",{style:this.tdLayoutInnerStyle(),class:"w-css-reset"},this.renderControlCells("right-flyout",{height:"100%",pointerEvents:"auto"})))),(0,s.h)("div",{"aria-label":this.controlBarLabel(),class:"w-bottom-bar w-css-reset",id:this.props.controlBarId,role:"group",style:this.bottomBarStyle(),ref:t=>this.bottomBar=t},(0,s.h)("div",{class:"w-bottom-bar-lower w-css-reset",style:this.bottomBarLowerStyle()},(0,s.h)("div",{style:this.leftBgStyle()},(0,s.h)("div",{style:this.blendStyle()}),(0,s.h)("div",{style:this.leftBgOverlayStyle()}
163)),(0,s.h)("div",{style:this.rightBgStyle()},(0,s.h)("div",{style:this.blendStyle()}),(0,s.h)("div",{style:this.rightBgOverlayStyle()})),(0,s.h)("div",{class:"w-bottom-bar-left w-css-reset",style:this.bottomBarLeftStyle()},(0,s.h)("div",{class:"w-bottom-bar-left-inner w-css-reset",style:this.bottomBarLeftInnerStyle()},this.renderControlCells("control-bar-left",{display:"inline-block",verticalAlign:"top"}))),(0,s.h)("div",{class:"w-bottom-bar-middle w-css-reset",style:this.bottomBarMiddleStyle()},(0,s.h)("div",{class:"w-bottom-bar-middle-inner w-css-reset",style:this.bottomBarMiddleInnerStyle()},this.renderControlCells("playbar",this.playbarStyle()))),(0,s.h)("div",{class:"w-bottom-bar-right w-css-reset",style:this.bottomBarRightStyle()},(0,s.h)("div",{class:"w-bottom-bar-right-inner-anchor w-css-reset",style:this.bottomBarRightInnerAnchorStyle()},(0,s.h)("div",{class:"w-bottom-bar-right-inner w-css-reset",inert:!this.isRightClusterShowing()||void 0,style:this.bottomBarRightInnerStyle()},this.renderControlCells("control-bar-right",{display:"inline-block",verticalAlign:"top"}))),(0,s.h)("div",{class:"w-wistia-logo w-css-reset",style:this.wistiaLogoStyle()},this.renderControlCells("wistia-logo",{display:"inline-block",verticalAlign:"top"})),(0,s.h)("div",{class:"w-ellipsis w-css-reset",style:this.ellipsisStyle()},this.renderControlCells("ellipsis",{display:"inline-block",verticalAlign:"top"}))))),(0,s.h)("div",{class:"w-foreground w-css-reset",style:this.foregroundStyle()},this.renderControlCells("foreground",{pointerEvents:"auto"})))}componentDidMount(){this.props.mountRefs&&this.props.mountRefs(this.mountRefs),this.props.afterRender&&this.props.afterRender(),(0,a.addInlineCss)(this.bottomBar,"\n @media (prefers-reduced-motion: no-preference) {\n @keyframes w-control-bar-fade-in {\n 0% {\n opacity: 0;\n transform: translateX(50%) translateY(10px);\n }\n 100% {\n opacity: 1;\n transform: translateX(50%) translateY(0px);\n }\n }\n }\n ")}componentDidUpdate(){const t=this.props.mountRefs,e=this.mountRefs,i=this.props.afterRender;setTimeout((()=>{t&&t(e),i&&i()}),1)}wrapperStyle(){const t=this.props.inFullscreen&&!this.props.shouldShowControls,e=new n.Q1(this.props.color);let i=(0,h.ui)(e,e,"nonText");const{backgroundGradientCss:s}=this.props,o=null!=s;let r=(0,h.ui)(this.props.playerIconColor,i,"paragraphText");return o&&(r="#ffffff",i="rgba(0,0,0,0.4)"),{borderRadius:`${this.props.controlBarBorderRadius}px`,boxSizing:"border-box",cursor:t?"none":"default",direction:"ltr",height:"100%",left:0,pointerEvents:this.props.inNativeMode?"none":"",position:"absolute",visibility:this.props.allMounted&&this.props.doneWaitingForPlay?"visible":"hidden",top:0,width:"100%","--wistia-player-icon-color":this.props.playerIconColor,"--wistia-player-color-hover":i,"--wistia-player-icon-color-hover":r}}foregroundStyle(){return{height:"100%",left:0,pointerEvents:"none",position:"absolute",top:0,width:"100%",zIndex:1}}backgroundStyle(){return{height:"100%",left:0,pointerEvents:this.props.inNativeMode?"none":"",position:"absolute",top:0,width:"100%"}}layoutTableStyle(){return{display:"table",pointerEvents:"none",position:"absolute",width:"100%",height:`calc(100% - ${this.props.controlBarHeight}px)`}}tdLeftStyle(){return this.standardCellStyle(0)}tdCenterStyle(){return this.standardCellStyle("100%","100%")}tdRightStyle(){return this.standardCellStyle(0)}tdLayoutInnerStyle(){return{height:"100%"}}bottomBarStyle(){const{areControlsOpaque:t}=this.state,{videoState:e,controlBarBorderRadius:i,controlBarDistance:n,shouldAnimateIn:s}=this.props,o=n<2?0:n,r=s?{animation:"w-control-bar-fade-in ease-in-out 250ms",animationIterationCount:1,animationFillMode:"forwards"}:{};return{bottom:`${o}px`,borderRadius:`${i}px`,borderCollapse:"collapse",display:t||"beforeplay"!==e?"table":"none",height:`${this.props.controlBarHeight}px`,pointerEvents:"none",position:"absolute",paddingLeft:`${o}px`,paddingRight:`${o}px`,right:"50%",tableLayout:"auto",transform:"translate(50%)",width:`calc(100% - ${2*o}px)`,zIndex:1,...r}}bottomBarLeftStyle(){return(0,r.assign)(this.standardCellStyle(0),{opacity:this.getOpacity(),transition:this.getTransition()})}bottomBarLeftInnerStyle(){return this.standardInnerStyle()}bottomBarMiddleStyle(){return(0,r.assign)(this.standardCellStyle("100%"),{opacity:this.getOpacity(),transition:this.getTransition()})}bottomBarMiddleInnerStyle(){const{hasClickedToShowMore:t,isShowingMore:e}=this.props,i=e&&this.isEllipsisShowing(),n=t?150:0;return{...this.standardInnerStyle(),opacity:i?0:1,pointerEvents:i?"none":"auto",transform:`translateY(${i?"-25%":0})`,transition:`opacity ${n}ms, transform ${n}ms`}}shouldMixBlendMode(){return!m.edge&&!1===this.props.noMixBlendMode}blendStyle(){const{color:t}=this.props;return{background:new n.Q1(t||"#000").alpha(1).toRgba(),display:this.shouldMixBlendMode()?"block":"none",height:"100%",mixBlendMode:"darken",left:0,opacity:this.getOpacity(),position:"absolute",top:0,transition:this.getTransition(),width:"100%"}}baseBgOverlayStyle(){const{color:t,controlBarBorderRadius:e}=this.props,i=new n.Q1(t||"#000").alpha(.7);return this.shouldMixBlendMode()||i.alpha(.85),this.props.opaqueControls&&i.alpha(1),{background:i.toRgba(),borderRadius:`${e}px`,height:"100%",opacity:this.getOpacity(),left:0,position:"absolute",top:0,transition:this.getTransition(),width:"100%"}}bgGradientStyle(){const{backgroundGradientCss:t}=this.props;return null!=t?{background:t,backgroundSize:`${this.props.videoWidth}px`}:{}}leftBgOverlayStyle(){return{...this.baseBgOverlayStyle(),...this.bgGradientStyle()}}rightBgOverlayStyle(){return{...this.baseBgOverlayStyle(),...this.bgGradientStyle(),backgroundPositionX:"right"}}bottomBarRightStyle(){return(0,r.assign)(this.standardCellStyle(0),{opacity:this.getOpacity(),transition:this.getTransition(),whiteSpace:"nowrap"})}bottomBarRightInnerAnchorStyle(){const t={...this.standardInnerStyle(),display:"inline-block",position:"relative",right:0,top:0,verticalAlign:"top"};return this.isEllipsisShowing()&&(t.height=0),t}controlBarLabel(){const{mediaName:t,playerLanguage:e}=this.props,i=e?.code;return t?(0,d.getTranslation)(i,"CONTROL_BAR_LABEL_WITH_NAME").replace("{name}",(()=>t)):(0,d.getTranslation)(i,"CONTROL_BAR_LABEL")}isRightClusterShowing(){return!this.isEllipsisShowing()||this.props.isShowingMore}bottomBarRightInnerStyle(){const{hasClickedToShowMore:t}=this.props,e=this.isRightClusterShowing(),i=t?150:0;return{...this.standardInnerStyle(),display:"inline-block",opacity:e?1:0,pointerEvents:e?"auto":"none",position:this.isEllipsisShowing()?"absolute":"relative",right:0,top:0,transform:`translateY(${e?0:"25%"})`,transition:`opacity ${i}ms, transform ${i}ms`}}wistiaLogoStyle(){return{...this.standardInnerStyle(),display:this.props.controlsByType["wistia-logo"]?"inline-block":"none",right:0,top:0}}ellipsisStyle(){return{...this.standardInnerStyle(),display:this.props.controlsByType.ellipsis?"inline-block":"none"}}standardCellStyle(t,e){return{display:"table-cell",height:e??"auto",verticalAlign:"top",position:"relative",width:t}}standardInnerStyle(){return{height:this.props.controlBarHeight,position:"relative",pointerEvents:this.state.areControlsOpaque?"auto":"none",whiteSpace:"nowrap"}}renderControlCells(t,e={}){const{controlsByType:i}=this.props;return(i[t]||[]).map((t=>{const i=t.constructor.handle;return(0,s.h)(c.A,{class:"w-css-reset",handle:i,key:i,mount:t=>this.mountRefs[i]=t,style:e})}))}handleControlBarAnimation(t){t.shouldShowControls&&!this.props.shouldShowControls&&setTimeout((()=>{this.setState({areControlsOpaque:!0})}),1),!t.shouldShowControls&&this.props.shouldShowControls&&this.setState({areControlsOpaque:!1})}getOpacity(){return this.state.areControlsOpaque?1:0}getTransition(){return`opacity ${"beforeplay"===this.props.videoState?0:.2}s`}playbarStyle(){return{height:"100%",position:"relative"}}
163leftBgStyle(){const{controlsByType:t,leftControlWidth:e}=this.props;return{height:"100%",left:0,position:"absolute",top:0,width:(t.playbar||[]).length>0?"100%":`${e}px`}}rightBgStyle(){return(this.props.controlsByType.playbar||[]).length>0?{display:"none"}:{height:"100%",position:"absolute",right:0,top:0,width:`${this.props.rightControlWidth}px`}}bottomBarLowerStyle(){return{position:"relative"}}isEllipsisShowing(){return Boolean(this.props.controlsByType.ellipsis)}}const f=t=>t.target&&((0,a.elemHasClass)(t.target,"w-vulcan-v2-button")||(0,a.elemAncestorHasClass)(t.target,"w-vulcan-v2-button")),y=g},(t,e,i)=>{i.d(e,{b:()=>n});const n=t=>t/100*18},(t,e,i)=>{i.d(e,{d:()=>o});var n=i(137),s=i(45);const o=t=>n.Yc.get(t)??s.yY},(t,e,i)=>{i.d(e,{M:()=>n});const n=({characterEdgeStyle:t,scale:e})=>{const i=1*e+"px",n=1.5*e+"px",s=2*e+"px",o=3*e+"px",r=-1*e+"px";switch(t){case"Depressed":return`${i} ${i} #aaa, ${r} ${r} #222`;case"Drop shadow":return`${i} ${i} ${i} #222, ${i} ${i} ${s} #222, ${i} ${i} ${o} #222`;case"Outline":return`0 0 ${i} #222, 0 0 ${i} #222, 0 0 ${i} #222, 0 0 ${i} #222, 0 0 ${i} #222, 0 0 ${i} #222`;case"Raised":return`${i} ${i} 0 #222, ${n} ${n} 0 #222`;default:return""}}},(t,e,i)=>{i.d(e,{s:()=>n});const n=t=>"Small caps"===t?"small-caps":"normal"},(t,e,i)=>{i.d(e,{B:()=>s});var n=i(261);class s extends n.K{init(){const t=this.impl,e=t.publicApi;this.unbinds.push(e.on("enterviewport",(()=>{t.inFullscreen()||this._isSuspended&&(this._isSuspended=!1,e._playSuspendedOffScreenEnabled()&&"paused"===t.state()&&t.play())})),e.on("leaveviewport",(()=>{t.inFullscreen()||this._isSuspended||e._playSuspendedOffScreenEnabled()&&"playing"===t.state()&&(t.pause(),this._isSuspended=!0)})),t.on("receivepause",(()=>{this._isSuspended&&(this._isSuspended=!1)})))}}s.handle="playSuspendedOffScreen"},(t,e,i)=>{i.d(e,{UA:()=>s});const n=t=>{const e=t.attributes;return null!=e.duration?e.duration:t.video.readyState>=2?t.video.duration:null},s=t=>{const e=r(t),i=n(t);if(e.length<1)return i;let s=i;return e.forEach((t=>{s-=t.end-t.start})),s},o=Object.freeze([]),r=t=>{const{cuts:e,trimStart:i,trimEnd:n}=t.attributes;if(t._cuts&&e===t._rawCuts)return t._cuts;if(!e&&null==i&&null==n)return o;t._rawCuts=e,t._cuts=a(t);const s={start:t.attributes.trimStart,end:t.attributes.trimEnd};return t._cuts=l(t,s,t._cuts),Object.freeze(t._cuts),t._cuts},a=t=>{const e=n(t),{cuts:i,trimStart:s,trimEnd:o}=t.attributes;if(!i)return[];let r=i.map((i=>{const n=null!=i.start?h(t,i.start):0,s=null!=i.end&&-1!==i.end?h(t,i.end):e;return s>n?{start:n,end:s}:null})).filter(Boolean);null!=s&&r.push({start:0,end:s}),null!=o&&r.push({start:o,end:e}),r=r.sort(((t,e)=>t.start-e.start));let a={start:0,end:0};return r=r.map((t=>t.end<a.end?null:(t.start<a.end&&(t.start=a.end),a=t,t))).filter(Boolean),r},l=(t,e,i)=>{const s=[...i],o=n(t),{start:r,end:a}=e,l=s[0],h=s[s.length-1],u=l&&(0===l.start||l.start<0)?l:void 0,c=h&&(h.end>=o||h.end<0)?h:void 0;if(null!=r)if(r>=0){const t={start:0,end:r};u?s.splice(0,1,t):s.unshift(t)}else u&&s.shift();if(null!=a)if(a>=0){const t={start:a,end:o};c?s.splice(s.length-1,1,t):s.push(t)}else c&&s.pop();return s},h=(t,e)=>{const i=n(t);return Math.min(i,Math.max(0,e))}},(t,e,i)=>{i.d(e,{H:()=>n});const n="main"},(t,e,i)=>{i(1),i(288);var n=i(96),s=i(10);(()=>{const t=document.querySelectorAll("iframe.wistia_embed,iframe[name=wistia_embed]");t.length>0&&[...t].some((t=>{try{const e=new URL(t.src),i=new URLSearchParams(e.search);return"true"===Object.fromEntries(i.entries()).web_component}catch(t){return!1}}))&&(0,n.$)("assets/external/publicApi.js").then((()=>{(0,n.$)("assets/external/iframeApi.js")})),(0,s.sd)()})()},(t,e,i)=>{var n=i(2),s=i(7),o=i(55),r=i(1),a=i(289),l=i(290),h=i(142),u=i(291),c=i(158),d=i(23),p=i(86),m=i(118),g=i(65),f=i(96),y=i(98),_=i(64),v=i(16),b=i(132),w=i(24),E=i(133),C=i(77),T=i(145),S=i(69),P=i(70),A=i(119),L=i(26),I=i(11),M=i(25),D=i(17),k=i(293),O=i(294),x=i(20),B=i(125),R=i(91),W=i(92),F=i(89),N=i(57),H=i(29);function V(t,e,i){$(t,e),e.set(t,i)}function $(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function j(t,e,i){return i(q(t,e))}function U(t,e){return t.get(q(t,e))}function z(t,e,i){return t.set(q(t,e),i),i}function q(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}const K=["media-id"],G=["aspect","audio-description-control","autoplay","big-play-button","branding","contrast-icons","controls-visible-on-load","copy-link-and-thumbn
163ail","current-time","do-not-track","email","end-video-behavior","fit-strategy","fullscreen-control","language","muted","opaque-controls","playback-rate-control","play-bar-control","player-color","playlist-links","playlist-loop","play-pause-control","play-pause-notifier","play-suspended-off-screen","popover-animate-thumbnail","popover-animation","popover-border-color","popover-border-radius","popover-border-width","popover-box-shadow","popover-caption","popover-caption-container","popover-content","popover-disable-autoplay","popover-overlay-color","popover-overlay-opacity","popover-prevent-scroll","popover-show-on-load","poster","preload","quality-control","quality-max","quality-min","resumable","rounded-player","rounded-playlist","rotate-to-fullscreen","seo","settings-control","silent-autoplay","transparent-letterbox","video-quality","volume","volume-control","wistia-popover"],Y=["big-play-button-border-radius","control-bar-border-radius","embed-host","hls","page-url","player-border-radius","player-force","stats-url","swatch","unique-id","use-web-component"],Q={audioDescriptionControl:!1,autoplay:!1,bigPlayButton:!0,bigPlayButtonBorderRadius:void 0,contrastIcons:!1,controlBarBorderRadius:void 0,controlsVisibleOnLoad:!0,copyLinkAndThumbnail:!0,currentTime:0,doNotTrack:!1,endVideoBehavior:"default",fitStrategy:"contain",fullscreenControl:!0,hls:!0,opaqueControls:!1,playBarControl:!0,playerBorderRadius:void 0,playerColor:"636155",playPauseControl:!0,playPauseNotifier:!0,playbackRateControl:!0,playlistLinks:"",playlistLoop:!1,playSuspendedOffScreen:"auto",popoverAnimateThumbnail:!1,popoverAnimation:"slide",popoverBorderColor:"ffffff",popoverBorderRadius:0,popoverBorderWidth:0,popoverBoxShadow:!0,popoverCaption:"",popoverCaptionContainer:"",popoverContent:void 0,popoverDisableAutoplay:!1,popoverOverlayColor:"000000",popoverOverlayOpacity:.5,popoverPreventScroll:!1,popoverShowOnLoad:!1,poster:"",qualityControl:!0,qualityMax:void 0,qualityMin:void 0,resumable:"auto",rotateToFullscreen:!1,roundedPlayer:void 0,seo:!0,settingsControl:!0,silentAutoplay:!1,state:"beforeplay",statsUrl:null,transparentLetterbox:!1,volume:1,volumeControl:!0,wistiaPopover:!1},X={once:!0};var J=new WeakMap,Z=new WeakMap,tt=new WeakMap,et=new WeakMap,it=new WeakMap,nt=new WeakMap,st=new WeakMap,ot=new WeakMap,rt=new WeakMap,at=new WeakMap,lt=new WeakMap,ht=new WeakMap,ut=new WeakMap,ct=new WeakMap,dt=new WeakMap,pt=new WeakMap,mt=new WeakMap,gt=new WeakMap,ft=new WeakMap,yt=new WeakMap,_t=new WeakSet,vt=new WeakMap,bt=new WeakMap,wt=new WeakMap,Et=new WeakMap;class Ct extends HTMLElement{constructor(){var t;super(),$(this,t=_t),t.add(this),function(t,e,i){(e=function(t){var e=function(t){if("object"!=typeof t||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=typeof i)return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==typeof e?e:e+""}(e))in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i}(this,"plugin",void 0),V(this,J,void 0),V(this,Z,{}),V(this,tt,{heightBeforeFullscreen:void 0,inFullscreen:!1,nativeFullscreen:!1,widthBeforeFullscreen:void 0}),V(this,et,void 0),V(this,it,void 0),V(this,nt,void 0),V(this,st,null),V(this,ot,void 0),V(this,rt,void 0),V(this,at,void 0),V(this,lt,void 0),V(this,ht,[]),V(this,ut,void 0),V(this,ct,!1),V(this,dt,"0px"),V(this,pt,!1),V(this,mt,null),V(this,gt,null),V(this,ft,(0,S.j)(`${(0,M.proto)()}//${(0,d.Ni)("fast")}/assets/external/publicApi.js`)),V(this,yt,null),V(this,vt,(()=>{q(_t,this,Wt).call(this),(0,y.setEmbedOptionStore)(`__${this.uniqueId}_dom_options__`,U(at,this).embedOptions)})),V(this,bt,(t=>{this.mediaId=t.detail.mediaId,this.uniqueId=q(_t,this,Mt).call(this,t.detail.mediaId),z(ut,this,void 0)})),V(this,wt,(()=>{"carouselHardWall"!==U(lt,this)&&"notplayable"!==U(lt,this)&&"passwordprotected"!==U(lt,this)&&z(pt,this,!0),q(_t,this,Vt).call(this)})),V(this,Et,(()=>{setTimeout((()=>{this.shadowRoot?.querySelector('button.w-big-play-button, [tabindex="0"]')?.focus()}),0)})),"attachInternals"in HTMLElement.prototype&&"states"in ElementInternals.prototype&&(z(it,this,this.attachInternals()),U(it,this).states.add("--initializing")),this.attachShadow({mode:"open"}),this.dispatchEvent(new CustomEvent("load-start")),this.paddingTop=getComputedStyle(this).paddingTop,z(ot,this,x.ct.getPrefixedFunctions("WistiaPlayer")),z(at,this,new u.I),r.Wistia.wistia??=Date.now()}static get observedAttributes(){return[...K,...G,...Y]}get _fullscreenState(){return U(tt,this)}set _fullscreenState(t){z(tt,this,t)}get _oldEngine(){return U(rt,this)}set _oldEngine(t){z(rt,this,t)}get aspect(){const t=!Number.isNaN(this.offsetWidth/this.offsetHeight)&&Number.isFinite(this.offsetWidth/this.offsetHeight)?this.offsetWidth/this.offsetHeight:h.R7;return U(et,this)?.aspect()??this.embedOptions.aspect??q(_t,this,kt).call(this,"aspect")??t}set aspect(t){q(_t,this,zt).call(this,"aspect",t),U(et,this)?.width((0,_.elemWidth)(this),{constrain:!0})}get audioDescriptionControl(){return q(_t,this,Dt).call(this,"audioDescriptionControl")}set audioDescriptionControl(t){U(et,this)?.audioDescriptionControlEnabled(t),q(_t,this,zt).call(this,"audioDescriptionControl",t)}set authorization(t){q(_t,this,zt).call(this,"authorization",t)}get autoplay(){return q(_t,this,Dt).call(this,"autoplay")}set autoplay(t){"boolean"==typeof t&&(q(_t,this,zt).call(this,"autoplay",t),t?this.setAttribute("autoplay",""):this.removeAttribute("autoplay"))}get bigPlayButton(){return q(_t,this,Dt).call(this,"bigPlayButton")}set bigPlayButton(t){U(et,this)?.bigPlayButtonEnabled(t),q(_t,this,zt).call(this,"bigPlayButton",t)}get bigPlayButtonBorderRadius(){return q(_t,this,Dt).call(this,"bigPlayButtonBorderRadius")}set bigPlayButtonBorderRadius(t){U(et,this)?.setBigPlayButtonBorderRadius(t),q(_t,this,zt).call(this,"bigPlayButtonBorderRadius",Number(t))}get branding(){return q(_t,this,Dt).call(this,"branding")}set branding(t){"true"!==t&&!0!==t||q(_t,this,zt).call(this,"branding",!0)}get buffered(){return U(et,this)?.getStandardBuffered()??{}}get captionsEnabled(){return U(J,this)?.captionsEnabled()??!1}set captionsEnabled(t){U(J,this)?.captionsEnabled(t)}get captionsLanguage(){return U(J,this)?.captionsLanguage()??q(_t,this,St).call(this)}set captionsLanguageCode(t){U(J,this)?.captionsLanguageCode(t)}get captionsLanguageCode(){return U(J,this)?.captionsLanguageCode()??q(_t,this,St).call(this).wistiaLanguageCode}get captionsLanguages(){return U(at,this).hasMediaData?(0,c.getCaptionsLanguages)(U(at,this).mediaData):[q(_t,this,St).call(this)]}get contrastIcons(){return q(_t,this,Dt).call(this,"contrastIcons")}set contrastIcons(t){const e=Boolean(t);U(et,this)?.contrastIcons(e),q(_t,this,zt).call(this,"contrastIcons",e)}get controlBarBorderRadius(){return q(_t,this,Dt).call(this,"controlBarBorderRadius")}set controlBarBorderRadius(t){U(et,this)?.setControlBarBorderRadius(t),q(_t,this,zt).call(this,"controlBarBorderRadius",Number(t))}get controls(){return U(et,this)?Object.seal({...U(et,this).controls}):{}}get controlsVisibleOnLoad(){return q(_t,this,Dt).call(this,"controlsVisibleOnLoad")}set controlsVisibleOnLoad(t){U(et,this)?.renderUI(),q(_t,this,zt).call(this,"controlsVisibleOnLoad",t)}get copyLinkAndThumbnail(){return q(_t,this,Dt).call(this,"copyLinkAndThumbnail")}set copyLinkAndThumbnail(t){const e=this.copyLinkAndThumbnail;q(_t,this,zt).call(this,"copyLinkAndThumbnail",t),e!==t&&this.dispatchEvent(new CustomEvent("copy-link-and-thumbn
163ail-change",{detail:{copyLinkAndThumbnail:t}}))}get currentTime(){return U(et,this)?.time()??this.embedOptions.currentTime??0}set currentTime(t){U(et,this)?.time(t),q(_t,this,zt).call(this,"currentTime",t)}get debug(){return{impl:U(et,this),engine:U(et,this)?.engine}}get deprecatedApiDoNotUse(){return U(J,this)}get description(){return U(at,this).mediaData.seoDescription??U(J,this)?._mediaData?.seoDescription??""}get doNotTrack(){return q(_t,this,Dt).call(this,"doNotTrack")}set doNotTrack(t){q(_t,this,zt).call(this,"doNotTrack",t)}get duration(){return U(et,this)?.duration()??0}get email(){return(0,b.i)(j(_t,this,Tt))??(0,D.y1)()[j(_t,this,Tt)]?.trackEmail??this.embedOptions.email??void 0}set email(t){this.email!==t&&(q(_t,this,Gt).call(this,t),q(_t,this,zt).call(this,"email",t))}get embedHost(){return q(_t,this,Dt).call(this,"embedHost")}set embedHost(t){q(_t,this,zt).call(this,"embedHost",t)}get embedOptions(){return U(at,this).embedOptions}get ended(){return"ended"===U(et,this)?.state()}get endVideoBehavior(){return q(_t,this,Dt).call(this,"endVideoBehavior")}set endVideoBehavior(t){"loop"===t?U(et,this)?.addLoopBehavior():U(et,this)?.removeLoopBehavior(),q(_t,this,zt).call(this,"endVideoBehavior",t)}get eventKey(){return U(et,this)?.eventKey()}get fitStrategy(){return q(_t,this,Dt).call(this,"fitStrategy")}set fitStrategy(t){q(_t,this,zt).call(this,"fitStrategy",t)}get fullscreenControl(){return q(_t,this,Dt).call(this,"fullscreenControl")}set fullscreenControl(t){U(et,this)?.fullscreenControlEnabled(t),q(_t,this,zt).call(this,"fullscreenControl",t)}get hls(){return q(_t,this,Dt).call(this,"hls")}set hls(t){q(_t,this,zt).call(this,"hls",t)}get inFullscreen(){return U(et,this)?.inFullscreen()??!1}get inputContext(){return U(et,this)?.getInputContext()}get instantHls(){return U(et,this)?.isInstantHls()??!1}get language(){return U(J,this)?.language()??q(_t,this,St).call(this)}set language(t){U(J,this)?.language(t)}get languages(){return U(at,this).hasMediaData?(0,c.getLanguages)(U(at,this).mediaData):[q(_t,this,St).call(this)]}get mediaData(){return U(at,this).mediaData}get mediaId(){return this.getAttribute("media-id")??""}set mediaId(t){this.mediaId!==t&&(U(ot,this).info("set mediaId",t),this.setAttribute("media-id",t))}get mediaLanguage(){return U(J,this)?.mediaLanguage()??q(_t,this,St).call(this)}set mediaLanguageCode(t){U(J,this)?.mediaLanguageCode(t)}get mediaLanguageCode(){return U(J,this)?.mediaLanguageCode()??q(_t,this,St).call(this).wistiaLanguageCode}get mediaLanguages(){return U(at,this).hasMediaData?(0,c.getMediaLanguages)(U(at,this).mediaData):[q(_t,this,St).call(this)]}get muted(){return U(et,this)?.isMuted()??this.embedOptions.muted??!1}set muted(t){U(et,this)&&(t?U(et,this).mute():U(et,this).unmute()),q(_t,this,zt).call(this,"muted",t)}get name(){return U(at,this).mediaData.name??U(J,this)?._mediaData?.name??void 0}get opaqueControls(){return q(_t,this,Dt).call(this,"opaqueControls")}set opaqueControls(t){const e=Boolean(t);U(et,this)?.opaqueControls(e),q(_t,this,zt).call(this,"opaqueControls",e)}get paddingTop(){return U(dt,this)}set paddingTop(t){z(dt,this,t)}get paused(){return"paused"===U(et,this)?.state()}get percentWatched(){return U(et,this)?.percentWatched()??0}get playbackRate(){return U(et,this)?.playbackRate()??this.embedOptions.playbackRate??1}set playbackRate(t){U(et,this)?.playbackRate(t),q(_t,this,zt).call(this,"playbackRate",t)}get playbackRateControl(){return q(_t,this,Dt).call(this,"playbackRateControl")}set playbackRateControl(t){U(et,this)?.playbackRateControlEnabled(t),q(_t,this,zt).call(this,"playbackRateControl",t)}get playBarControl(){return q(_t,this,Dt).call(this,"playBarControl")}set playBarControl(t){U(et,this)?.playbarControlEnabled(t),q(_t,this,zt).call(this,"playBarControl",t)}get playerBorderRadius(){return q(_t,this,Dt).call(this,"playerBorderRadius")}set playerBorderRadius(t){U(et,this)?.setPlayerBorderRadius(Number(t)),q(_t,this,zt).call(this,"playerBorderRadius",Number(t))}get playerColor(){return this.playerColorGradient?.on?(0,o.yz)(this.playerColorGradient)??q(_t,this,Dt).call(this,"playerColor"):q(_t,this,Dt).call(this,"playerColor")}set playerColor(t){U(et,this)?.playerColor(t),q(_t,this,zt).call(this,"playerColor",t)}get playerColorGradient(){const t=q(_t,this,Dt).call(this,"playerColorGradient");if((0,H.b)(t))return t}set playerColorGradient(t){if(!(0,H.b)(t))throw new Error("playerColorGradient must be a valid gradient object");U(et,this)?.playerColorGradient(t),q(_t,this,zt).call(this,"playerColorGradient",t)}get playerForce(){return this.getAttribute("player-force")??void 0}set playerForce(t){U(ot,this).info("set playerForce",t),this.setAttribute("player-force",t)}get playlistLinks(){return q(_t,this,Dt).call(this,"playlistLinks")}set playlistLinks(t){q(_t,this,zt).call(this,"playlistLinks",t)}get playlistLoop(){return q(_t,this,Dt).call(this,"playlistLoop")}set playlistLoop(t){q(_t,this,zt).call(this,"playlistLoop",t)}get playPauseControl(){return q(_t,this,Dt).call(this,"playPauseControl")}set playPauseControl(t){U(et,this)?.playPauseControlEnabled(t),q(_t,this,zt).call(this,"playPauseControl",t)}get playPauseNotifier(){return q(_t,this,Dt).call(this,"playPauseNotifier")}set playPauseNotifier(t){U(et,this)?.playPauseNotifierEnabled(t),q(_t,this,zt).call(this,"playPauseNotifier",t)}get playSuspendedOffScreen(){return q(_t,this,Dt).call(this,"playSuspendedOffScreen")}set playSuspendedOffScreen(t){q(_t,this,zt).call(this,"playSuspendedOffScreen",t)}get plugins(){return U(et,this)?Object.seal({...U(et,this).plugin}):{}}get popoverAnimateThumbnail(){return q(_t,this,Dt).call(this,"popoverAnimateThumbnail")}set popoverAnimateThumbnail(t){q(_t,this,zt).call(this,"popoverAnimateThumbnail",t)}get popoverAnimation(){return q(_t,this,Dt).call(this,"popoverAnimation")}set popoverAnimation(t){q(_t,this,zt).call(this,"popoverAnimation",t)}get popoverBorderColor(){return q(_t,this,Dt).call(this,"popoverBorderColor")}set popoverBorderColor(t){q(_t,this,zt).call(this,"popoverBorderColor",t)}get popoverBorderRadius(){return q(_t,this,Dt).call(this,"popoverBorderRadius")}set popoverBorderRadius(t){q(_t,this,zt).call(this,"popoverBorderRadius",t)}get popoverBorderWidth(){return q(_t,this,Dt).call(this,"popoverBorderWidth")}set popoverBorderWidth(t){q(_t,this,zt).call(this,"popoverBorderWidth",t)}get popoverBoxShadow(){return q(_t,this,Dt).call(this,"popoverBoxShadow")}set popoverBoxShadow(t){q(_t,this,zt).call(this,"popoverBoxShadow",t)}get popoverCaption(){return q(_t,this,Dt).call(this,"popoverCaption")}set popoverCaption(t){q(_t,this,zt).call(this,"popoverCaption",t)}get popoverCaptionContainer(){return q(_t,this,Dt).call(this,"popoverCaptionContainer")}set popoverCaptionContainer(t){q(_t,this,zt).call(this,"popoverCaptionContainer",t)}get popoverContent(){return q(_t,this,Dt).call(this,"popoverContent")}set popoverContent(t){q(_t,this,zt).call(this,"popoverContent",t)}get popoverDisableAutoplay(){return q(_t,this,Dt).call(this,"popoverDisableAutoplay")}set popoverDisableAutoplay(t){q(_t,this,zt).call(this,"popoverDisableAutoplay",t)}get popoverOverlayColor(){return q(_t,this,Dt).call(this,"popoverOverlayColor")}set popoverOverlayColor(t){q(_t,this,zt).call(this,"popoverOverlayColor",t)}get popoverOverlayOpacity(){return q(_t,this,Dt).call(this,"popoverOverlayOpacity")}set popoverOverlayOpacity(t){q(_t,this,zt).call(this,"popoverOverlayOpacity",t)}get popoverPreventScroll(){return q(_t,this,Dt).call(this,"popoverPreventScroll")}set popoverPreventScroll(t){q(_t,this,zt).call(this,"popoverPreventScroll",t)}get popoverShowOnLoad(){return q(_t,this,Dt).call(this,"popoverShowOnLoad")}set popoverShowOnLoad(t){q(_t,this,zt).call(this,"popoverShowOnLoad",t)}get poster(){return q(_t,this,Dt).call(this,"poster")}set poster(t){if(this.poster===t)return;const e=this.poster;q(_t,this,zt).call(this,"poster",t),this.setAttribute("poster",t),e!==t&&this.dispatchEvent(new CustomEvent("thumbnailchange"))}get preload(){return U(et,this)?.preloadValue()??this.embedOptions.preload??"metadata"}set preload(t){this.preload!==t&&(q(_t,this,zt).call(this,"preload",t),this.setAttribute("preload",t))}get qualityControl(){return q(_t,this,Dt).call(this,"qualityControl")}set qualityControl(t){U(et,this)?.qualityControlEnabled(t),q(_t,this,zt).call(this,"qualityControl",t)}get qualityMax(){return q(_t,this,Dt).call(this,"qualityMax")}set qualityMax(t){U(et,this)?.qualityMax(t),q(_t,this,zt).call(this,"qualityMax",t)}get qualityMin(){return q(_t,this,Dt).call(this,"qualityMin")}set qualityMin(t){U(et,this)?.qualityMin(t),q(_t,this,zt).call(this,"qualityMin",t)}get readyState(){return U(et,this)?.getReadyState()??0}get resumable(){return q(_t,this,Dt).call(this,"resumable")??"auto"}set resumable(t){U(et,this)?.setResumable(t),q(_t,this,zt).call(this,"resumable",t)}get rotateToFullscreen(){return q(_t,this,Dt).call(this,"rotateToFullscreen")}set rotateToFullscreen(t){const e="true"===t||!0===t;U(et,this)?.rotateToFullscreen(e),q(_t,this,zt).call(this,"rotateToFullscreen",e)}get roundedPlayer(){return q(_t,this,Dt).call(this,"roundedPlayer")}set roundedPlayer(t){U(et,this)?.setRoundedPlayer(Number(t)),q(_t,this,zt).call(this,"roundedPlayer",Number(t))}
163get secondsWatched(){return U(et,this)?.secondsWatched()??0}get secondsWatchedVector(){return U(et,this)?.secondsWatchedVector()??[]}get seo(){return q(_t,this,Dt).call(this,"seo")}set seo(t){q(_t,this,zt).call(this,"seo",t)}get settingsControl(){return q(_t,this,Dt).call(this,"settingsControl")}set settingsControl(t){U(et,this)?.settingsControlEnabled(t),q(_t,this,zt).call(this,"settingsControl",t)}get silentAutoplay(){return q(_t,this,Dt).call(this,"silentAutoplay")}set silentAutoplay(t){q(_t,this,zt).call(this,"silentAutoplay",t)}get sourceLanguage(){return U(at,this).mediaData.localizations?.find((t=>t.isOriginal))??U(at,this).mediaData.localizations?.[0]}get sourceMediaId(){return this.mediaData.sourceHashedId??this.mediaId}get state(){return U(J,this)?.state()??Q.state}get statsUrl(){return q(_t,this,Dt).call(this,"statsUrl")}set statsUrl(t){q(_t,this,zt).call(this,"statsUrl",t)}get swatch(){return q(_t,this,Dt).call(this,"swatch")}set swatch(t){q(_t,this,zt).call(this,"swatch",t)}get transparentLetterbox(){return q(_t,this,Dt).call(this,"transparentLetterbox")}set transparentLetterbox(t){q(_t,this,zt).call(this,"transparentLetterbox",t)}get uniqueId(){return this.getAttribute("unique-id")??""}set uniqueId(t){this.setAttribute("unique-id",t)}get useWebComponent(){return"true"===this.getAttribute("use-web-component")}set useWebComponent(t){t?this.setAttribute("use-web-component",String(t)):this.removeAttribute("use-web-component")}get videoQuality(){return U(et,this)?.getVideoQuality()??this.embedOptions.videoQuality??"auto"}set videoQuality(t){U(et,this)?.setVideoQuality(t),q(_t,this,zt).call(this,"videoQuality",t)}get visitorKey(){return r.Wistia.visitorKey?.value()}get volume(){return q(_t,this,Dt).call(this,"volume")}set volume(t){U(et,this)?.volume(t),q(_t,this,zt).call(this,"volume",t)}get volumeControl(){return q(_t,this,Dt).call(this,"volumeControl")}set volumeControl(t){U(et,this)?.volumeControlEnabled(t),q(_t,this,zt).call(this,"volumeControl",t)}get wistiaPopover(){return q(_t,this,Dt).call(this,"wistiaPopover")}set wistiaPopover(t){q(_t,this,zt).call(this,"wistiaPopover",t)}addEventListener(t,e,i){Array.isArray(U(Z,this)[t])||(U(Z,this)[t]=[]),U(Z,this)[t].push({listener:e,options:i}),super.addEventListener(t,e,i)}async cancelFullscreen(){return U(et,this)?.cancelFullscreen().then((()=>{this._fullscreenState.heightBeforeFullscreen=void 0,this._fullscreenState.widthBeforeFullscreen=void 0}))}async createOverlay(t,e){return U(et,this)?.defineOverlay?U(et,this).defineOverlay(t,e):Promise.reject(new Error(`overlay ${t} cannot be defined at this time`))}async definePlugin(t,e){const i=async()=>U(J,this)?.addPlugin(t,e)??Promise.reject(new Error(`plugin ${t} cannot be defined`));return U(J,this)?i():new Promise(((t,e)=>{this.whenApiReady().then((async()=>i())).then((e=>t(e))).catch((t=>{t instanceof Error?e(t):e(new Error("Promise rejected with non-Error value"))})).catch((t=>{}))}))}async deleteOverlay(t){return U(et,this)?.undefineOverlay?U(et,this).undefineOverlay(t):Promise.reject(new Error(`overlay ${t} cannot be deleted at this time`))}async disableControl(t){return U(et,this)?.setControlEnabled?U(et,this).setControlEnabled(t,!1):Promise.reject(new Error(`control "${t}" cannot be disabled at this time`))}async enableControl(t){return U(et,this)?.setControlEnabled?U(et,this).setControlEnabled(t,!0):Promise.reject(new Error(`control "${t}" cannot be enabled at this time`))}async enterInputContext(t){return U(et,this)?.enterInputContext?new Promise((e=>{const i=n=>{const{detail:s}=n;s.context===t&&e(),this.removeEventListener(v.INPUT_CONTEXT_CHANGE_EVENT,i)};this.addEventListener(v.INPUT_CONTEXT_CHANGE_EVENT,i),U(et,this)?.enterInputContext(t)})):Promise.reject(new Error(`input context of name "${t}" cannot be enabled at this time`))}async exitInputContext(t){return U(et,this)?.exitInputContext?Promise.resolve(U(et,this).exitInputContext(t)):Promise.reject(new Error(`control "${t}" cannot be enabled at this time`))}async getInitialMediaData(t,e){return(0,R.n)(t,e)}async getPlugin(t){return new Promise(((e,i)=>{U(J,this)?.plugin&&t in U(J,this).plugin&&e(U(J,this).plugin[t]),i(new Error(`plugin ${t} is not defined`))}))}async getRemapTime(){return null!=U(ut,this)?U(ut,this):this.languages.length<=1?(z(ut,this,((t,e,i)=>i)),U(ut,this)):(U(ut,this)??z(ut,this,await(0,f.$)("assets/external/timeMapping.js").then((({remapTime:t})=>(e,i,n)=>{const s=1e3*n,o=q(_t,this,It).call(this,e),r=this.sourceLanguage,a=q(_t,this,It).call(this,i);return null==o||null==a||null==r?n:t(r,o,a,s)/1e3}))),U(ut,this))}async hideOverlay(t){return U(et,this)?.cancelOverlay?U(et,this).cancelOverlay(t):Promise.reject(new Error(`overlay ${t} cannot be cancelled at this time`))}async hidePopover(){return new Promise(((t,e)=>{U(J,this)?.popover&&(U(J,this).popover.hide(),t()),e(new Error("Popover cannot be accessed"))}))}languagesToLocalizations(t){return U(at,this).hasMediaData?t.map((t=>(0,c.languageToLocalization)(U(at,this).mediaData,t))):[]}languageToLocalization(t){return(0,c.languageToLocalization)(U(at,this).mediaData,t)??q(_t,this,St).call(this)}async pause(){return U(et,this)?.pause()}async play(){return U(et,this)?.play()}async releaseControls(t){return U(et,this)?.releaseControls(t)}
163removeAllEventListeners(){Object.entries(U(Z,this)).forEach((([t,e])=>{e.forEach((({listener:e,options:i})=>{this.removeEventListener(t,e,i)}))}))}removeEventListener(t,e,i){const n=U(Z,this)[t];if(!Array.isArray(n))return;const s=n.findIndex((t=>t.listener===e&&JSON.stringify(t.options)===JSON.stringify(i)));-1!==s&&(super.removeEventListener(t,e,i),n.splice(s,1),0===n.length&&(U(Z,this)[t]=[]))}async replaceWithMedia(t,e={}){return new Promise(((i,n)=>{U(J,this)||n(new Error("api not ready to replace")),(0,B.removeInjectedJsonLd)(U(nt,this));const s=()=>{this.removeEventListener(v.AFTER_REPLACE_EVENT,s),i()};this.addEventListener(v.AFTER_REPLACE_EVENT,s),U(J,this)?.replaceWith(t,e)}))}async requestControls(t){return U(et,this)?.requestControls(t)}async requestFullscreen(){return U(et,this)?.requestFullscreen?U(et,this).requestFullscreen():Promise.reject(new Error("Fullscreen cannot be accessed"))}async showOverlay(t){return U(et,this)?.requestOverlay?U(et,this).requestOverlay(t):Promise.reject(new Error(`overlay ${t} cannot be requested at this time`))}async showPopover(){return new Promise(((t,e)=>{U(J,this)?.popover&&(U(J,this).popover.show(),t()),e(new Error("Popover cannot be accessed"))}))}async updateEmbedOptions(t){return new Promise((e=>{q(_t,this,Ut).call(this,t),e(this.embedOptions)}))}async whenApiReady(){return new Promise((t=>{U(J,this)&&U(J,this).ready((()=>{t()}));const e=()=>{this.removeEventListener(v.API_READY_EVENT,e),t()};this.addEventListener(v.API_READY_EVENT,e)}))}async whenControlMounted(t){if(await this.whenApiReady(),null===U(J,this))throw new Error("Control API not available");const e=await U(J,this).whenControlMounted(t);if(null==e)throw new Error("Control not found");return e}attributeChangedCallback(t,e,i){if(!U(ct,this))return;if(e===i)return;if(null===e&&""===i)return;let n=i;switch(i){case"true":n=!0;break;case"false":n=!1}this[(0,N.b)(t)]=n}connectedCallback(){if(U(ct,this))return;z(ct,this,!0);const t=this.getAttribute("media-id");if(null==t)throw(0,L.countMetric)("player/failure/init-failed"),new Error("media-id attribute is required");window.wistiaOptions=window.wistiaOptions??{};const e=(0,k.C)(this.mediaId);U(at,this).setWistiaWindowEmbedOptionSource(e),z(ot,this,x.ct.getPrefixedFunctions(`WistiaPlayer ${t}`)),z(st,this,(0,C.buildContext)()),"true"===this.getAttribute("react")&&(0,L.countMetric)("player/initembed.react"),q(_t,this,qt).call(this),U(ot,this).info("initialize embed"),this.useWebComponent||(0,O.z)(),this.uniqueId=q(_t,this,Mt).call(this,t),q(_t,this,Ft).call(this),q(_t,this,$t).call(this),q(_t,this,jt).call(this),z(yt,this,new ResizeObserver((()=>{q(_t,this,Vt).call(this)}))),U(yt,this).observe(this);const i={deferFetchingToCarousel:q(_t,this,Pt).call(this),embedHost:this.embedHost??"",overrideMediaLanguage:this.embedOptions.language};if(this.getInitialMediaData(t,i).then((t=>{if((0,W.V)(t)&&(!0===t.iframe||"true"===t.iframe)){const t=`${(0,w.eV1Protocol)()}//${(0,w.eV1HostWithPort)()}`;this.style.display="block";const e=getComputedStyle(this);return"auto"!==e.width&&"0px"!==e.width||(this.style.width="100%"),this.style.aspectRatio=String(this.aspect),void(this.shadowRoot&&(this.shadowRoot.innerHTML=`<iframe src='${t}/embed/iframe/${this.mediaId}' aspect='${this.aspect}' style='width: 100%; height: 100%; border: 0;' scrolling='no'></iframe>`))}const e=t;this.mediaId=e.hashedId??this.mediaId,U(at,this).setMediaDataSource(e),this.dispatchEvent(new CustomEvent(v.LOADED_MEDIA_DATA_EVENT,{detail:{mediaData:U(at,this).mediaData}}));const i=document.querySelector(`[unique-id='${this.uniqueId}']`)?this.uniqueId:this;q(_t,this,Ot).call(this,{container:i,mediaData:U(at,this).mediaData})})).catch((t=>{throw(0,L.countMetric)("player/failure/init-failed"),new Error(t.message)})),this.shadowRoot){if(this.wistiaPopover&&"link"===this.popoverContent){const t=document.createElement("slot");t.name=`${this.uniqueId}-popover-link`,this.shadowRoot.appendChild(t)}z(mt,this,document.createElement("div")),q(_t,this,Ht).call(this),this.shadowRoot.insertBefore(U(mt,this),this.shadowRoot.firstChild)}}
163disconnectedCallback(){U(ht,this).forEach((t=>t())),this.removeAllEventListeners(),z(Z,this,{}),(0,B.removeInjectedJsonLd)(U(nt,this)),(0,F.s3)(this.mediaId),U(yt,this)?.disconnect(),z(yt,this,null),(0,y.removeEmbedOptionStore)(`__${this.uniqueId}_dom_options__`),U(J,this)?.remove(),z(J,this,null),q(_t,this,Lt).call(this),this.shadowRoot?.replaceChildren(),z(mt,this,null),z(ct,this,!1)}}function Tt(t){return t.getAttribute("page-url")??(0,E.H)()}function St(){return{bcp47LanguageTag:"en",familyName:"English",familyNativeName:"English",name:"English",nativeName:"English",wistiaLanguageCode:"eng",alpha3Bibliographic:"eng",alpha3Terminologic:"eng",duration:0,genericName:"English",genericNativeName:"English",hashedId:this.mediaId,ietfLanguageTag:"eng",isLocalization:!0,iso6392LanguageCode:"eng",sourceLanguage:!0,timeMappings:[]}}function Pt(){return!!(0,s.uI)(this.id)&&!!document.querySelector(`wistia-channel-carousel[player-dom-id="${this.id}"]:not([is-inside-playlist-embed="true"][channel-id])`)}function At(){if(!q(_t,this,Bt).call(this))return;const{shadowRoot:t}=this,e=t?.activeElement??null,i=null!==e&&null!==U(gt,this)&&U(gt,this).contains(e);q(_t,this,Lt).call(this),this.removeEventListener("click",U(wt,this),X),i&&t?.querySelector('[tabindex="0"]')?.focus({preventScroll:!0})}function Lt(){U(gt,this)&&((0,n.render)(null,U(gt,this)),U(gt,this).remove(),z(gt,this,null))}function It(t){if(null!=t)return U(at,this).mediaData.localizations?.find((e=>e.wistiaLanguageCode===t||e.bcp47LanguageTag===t))}function Mt(t){const e=`wistia-${t}-`;return(0,P.h)(e)}function Dt(t){return U(et,this)&&t in U(et,this)._attrs?U(et,this)._attrs[t]:this.embedOptions[t]??q(_t,this,kt).call(this,(0,N.$)(t))??Q[t]}function kt(t){if(!this.hasAttribute(t))return null;switch(this.getAttribute(t)){case"true":case"":return!0;case"false":return!1;default:return this.getAttribute(t)}}function Ot({container:t,mediaData:e}){U(ct,this)&&(U(at,this).updateEmbedOptionOverrides({videoFoam:!0}),e&&!(0,W.V)(e)&&(z(lt,this,(0,C.choosePlayer)(U(st,this),U(at,this).mediaData,U(at,this).embedOptions)),q(_t,this,Vt).call(this),q(_t,this,Wt).call(this)),"attachInternals"in HTMLElement.prototype&&"states"in ElementInternals.prototype&&U(it,this)?.states.delete("--initializing"),q(_t,this,xt).call(this,this.mediaId,{container:t,mediaData:e}))}async function xt(t,e){if(await U(ft,this),!r.Wistia.PublicApi)throw(0,L.countMetric)("player/failure/init-failed"),new Error("Wistia.PublicApi is not defined");const i=()=>{q(_t,this,Rt).call(this),q(_t,this,Ht).call(this),U(pt,this)&&this.play()};this.addEventListener("embedded",i),U(ht,this).push((()=>{this.removeEventListener("embedded",i)})),z(J,this,new r.Wistia.PublicApi(t,e)),this.dispatchEvent(new CustomEvent(v.INTERNAL_API_CREATED_EVENT,{detail:{mediaId:t}})),this.addEventListener(v.BEFORE_REPLACE_EVENT,U(bt,this)),this.addEventListener(v.AFTER_REPLACE_EVENT,U(vt,this)),U(ht,this).push((()=>{this.removeEventListener(v.BEFORE_REPLACE_EVENT,U(bt,this)),this.removeEventListener(v.AFTER_REPLACE_EVENT,U(vt,this))})),U(J,this).ready((()=>{U(yt,this)?.disconnect(),z(yt,this,null),q(_t,this,Lt).call(this),this.removeEventListener("click",U(wt,this),X),this.dispatchEvent(new CustomEvent(v.API_READY_EVENT,{detail:{mediaId:t}})),this.dispatchEvent(new CustomEvent(v.INTERNAL_API_ON_FIND_EVENT,{detail:{mediaId:t,api:U(J,this)}})),q(_t,this,Nt).call(this),U(et,this)&&Object.entries(U(et,this)._attrs).forEach((([t,e])=>{U(at,this).updateEmbedOptionOverrides({[t]:e})})),q(_t,this,Vt).call(this)}))}function Bt(){return this.wistiaPopover&&((0,s.gD)(this.popoverContent)||(0,s.jw)(this.popoverContent)||"thumbnail"===this.popoverContent)}async function Rt(){if(!U(J,this))return;const t=(0,m.k)(A._),e=(0,A.J)(U(J,this),t)&&(0,I.isVisitorTrackingEnabled)(),i=this.useWebComponent?"translated-web-component":"web-component";if(e){try{(await(0,f.$)("assets/external/wistia-mux.js")).init(U(J,this),{embedType:i})}catch(t){}this.addEventListener("visitor-tracking-change",(t=>{const{isTrackingEnabled:e}=t.detail;e||U(J,this)?.mux?.destroy()}))}}function Wt(){this.seo&&"notplayable"!==U(lt,this)&&"passwordprotected"!==U(lt,this)&&"carouselHardWall"!==U(lt,this)&&(z(nt,this,`w-json-ld-${this.uniqueId}`),(0,B.removeInjectedJsonLd)(U(nt,this)),(0,B.injectJsonLd)(U(nt,this),U(at,this).mediaData,{embedOptions:U(at,this).embedOptions,videoHeight:this.offsetHeight,videoWidth:this.offsetWidth}))}function Ft(){if(!window._inWistiaIframe)return;const t=new URLSearchParams(window.location.search),e=Object.fromEntries(t.entries());e.pageTitle=document.title,e._inIframe=!0,U(at,this).setIframeEmbedOptionSource(e)}function Nt(){const t=this.querySelector(".wistia_preload_transcript_outer_wrapper");t&&((0,L.countMetric)("player/initembed.llm-optimized",1,{href:window.location.href,mediaId:this.mediaId}),t.remove(),this.captionsEnabled=!0)}function Ht(){if(!U(mt,this))return;const{mediaType:t}=U(at,this).mediaData,e=((t,e="")=>`https://${(0,w.cdnFastWistiaComHost)(e)}/embed/medias/${t}/swatch`)(this.mediaId,this.embedHost??"");let i="100%";
1630!==parseFloat(U(dt,this))&&""!==U(dt,this)&&(i=`${parseFloat(U(dt,this))}px`);const s=(0,T.getDefaultPlayerBorderRadius)({playerBorderRadius:this.playerBorderRadius,roundedPlayer:this.roundedPlayer});(0,n.render)((0,n.h)(n.Fragment,null,(0,n.h)("style",null,`:host {\n display: flex;\n position: relative;\n width: 100%;\n ${"Audio"===t?`height: ${h.Lc}px; min-height: 45px;`:""}\n }`),q(_t,this,Kt).call(this)&&(0,n.h)("div",{style:{height:i,left:0,position:"absolute",top:0,width:"100%"},class:"wistia_swatch"},(0,n.h)("div",{style:{height:"100%",position:"relative",width:"100%"}},(0,n.h)("div",{style:{height:"100%",left:0,overflow:"hidden",position:"absolute",top:0,width:"100%",borderRadius:`${s}px`}},(0,n.h)("img",{src:e,style:{filter:"blur(5px)",height:"100%",objectFit:"contain",width:"100%"},alt:"","aria-hidden":"true"})))),(0,n.h)("div",{ref:t=>{z(gt,this,t)}})),U(mt,this))}function Vt(){if(!U(gt,this))return;const{assets:t,mediaType:e,carouselHardWall:i}=U(at,this).mediaData,{autoPlay:s,plugin:o}=U(at,this).embedOptions;if(i)return;const r=(0,p.thumbnailAssets)(t,{});if((!this.wistiaPopover||q(_t,this,Bt).call(this))&&"Audio"!==e&&r.length>0)if(!0===(this.autoplay||s)||void 0!==o?.videoThumbnail){const t=this.offsetWidth/this.aspect;(0,n.render)((0,n.h)("div",{style:{width:"100%",height:`${t}px`}}),U(gt,this))}else(0,n.render)((0,n.h)(l.z,{embedOptions:U(at,this).embedOptions,mediaData:U(at,this).mediaData},(0,n.h)(a.u,{mediaId:this.mediaId,playerType:this.playerForce??U(lt,this),playerWidth:this.offsetWidth,isPlayPending:U(pt,this)})),U(gt,this))}function $t(){null!==q(_t,this,kt).call(this,"current-time")&&this.whenApiReady().then((()=>{const t=Number(q(_t,this,kt).call(this,"current-time")),e=(U(J,this)?.popover&&!U(J,this).popover.isVisible())??!1,i=(0,g.GS)(),n="playing"!==this.state&&(i||e);U(et,this)?.time(t,{lazy:n}),q(_t,this,zt).call(this,"currentTime",t)})).catch((t=>{})),null!==q(_t,this,kt).call(this,"email")&&q(_t,this,Gt).call(this,q(_t,this,kt).call(this,"email")),null!==q(_t,this,kt).call(this,"video-quality")&&this.whenApiReady().then((()=>{const t=q(_t,this,kt).call(this,"video-quality");U(et,this)?.setVideoQuality(t),q(_t,this,zt).call(this,"videoQuality",t)})).catch((t=>{}))}function jt(){const t=Object.fromEntries(Object.entries(this.attributes).map((([,t])=>[(0,N.b)(t.name),q(_t,this,kt).call(this,t.name)])));U(at,this).setDomEmbedOptionSource(t),(0,y.setEmbedOptionStore)(`__${this.uniqueId}_dom_options__`,U(at,this).embedOptions)}function Ut(t){Object.entries(t).forEach((t=>{const[e,i]=t;null!=i&&(Object.getOwnPropertyDescriptor(Object.getPrototypeOf(this),e)?.set?this[e]=i:q(_t,this,zt).call(this,e,i))}))}function zt(t,e){U(ot,this).info(`set ${t}`,e.toString()),U(et,this)&&(U(et,this)._attrs[t]=e),U(at,this).updateEmbedOptionOverrides({[t]:e}),q(_t,this,Vt).call(this)}function qt(){const t=t=>{q(_t,this,Yt).call(this,t.detail.mediaData)},e=t=>{z(et,this,t.detail.impl)};this.addEventListener(v.LOADED_MEDIA_DATA_EVENT,t),this.addEventListener(v.IMPL_CREATED_EVENT,e),this.addEventListener("popover-hide",U(Et,this));const i=()=>{q(_t,this,At).call(this)};this.addEventListener("popover-thumbnail-ready",i),U(ht,this).push((()=>{this.removeEventListener(v.LOADED_MEDIA_DATA_EVENT,t)}),(()=>{this.removeEventListener(v.IMPL_CREATED_EVENT,e)}),(()=>{this.removeEventListener("popover-hide",U(Et,this))}),(()=>{this.removeEventListener("popover-thumbnail-ready",i)})),this.addEventListener("click",U(wt,this),X)}function Kt(){return!1!==this.swatch&&(!this.wistiaPopover||q(_t,this,Bt).call(this))}function Gt(t){(0,D.$B)((e=>{e[j(_t,this,Tt)]={...e[j(_t,this,Tt)],trackEmail:t}})),this.dispatchEvent(new CustomEvent("emailchange",{detail:{email:t}}))}function Yt(t){(0,W.V)(t)||(U(at,this).setMediaDataSource(t),z(lt,this,(0,C.choosePlayer)(U(st,this),U(at,this).mediaData,U(at,this).embedOptions)),q(_t,this,Vt).call(this))}void 0===customElements.get("wistia-player")&&customElements.define("wistia-player",Ct)},(t,e,i)=>{i.d(e,{u:()=>f});var n=i(2),s=i(3),o=i(290),r=i(142),a=i(216),l=i(252),h=i(131),u=i(86),c=i(215),d=i(145),p=i(55),m=i(29),g=i(8);const f=({isPlayPending:t,mediaId:e,playerType:i,playerWidth:f})=>
163{const[y,_]=(0,s.useState)(!1);(0,s.useEffect)((()=>{t&&_(!0)}),[t]);const{embedOptions:v,mediaData:b}=(0,o.$)(),{aspect:w,bigPlayButton:E,bpbTime:C,bigPlayButtonBorderRadius:T,contrastIcons:S,controlBarBorderRadius:P,controlsVisibleOnLoad:A,floatingControlBar:L,noMixBlendMode:I,opaqueControls:M,playButton:D,playerBorderRadius:k,playerColor:O,playerColorGradient:x,playerLanguage:B,roundedPlayer:R,thumbnailAltText:W,transparentLetterbox:F}=v,{aspectRatio:N,assets:H,duration:V,mediaType:$,name:j}=b,U=f/(w??N??r.R7),z=Math.min(1.3,Math.max(.3,(0,c.wt)(f,[640,960]))),q=A&&"vulcan-v2"===i,K=(0,d.getDefaultControlBarDistance)({controlBarBorderRadius:P,floatingControlBar:L,roundedPlayer:R}),G=q?(r.EA/2+K)*z:K*z,Y=(0,d.getDefaultBigPlayButtonBorderRadius)({bigPlayButtonBorderRadius:T,roundedPlayer:R})*z,Q=(0,d.getDefaultPlayerBorderRadius)({playerBorderRadius:k,roundedPlayer:R})*z,X=!0===F||Q>0?"transparent":void 0,J=(0,u.thumbnailAssets)(H,{}),Z=(0,h.getLanguage)(B)??(0,h.getLanguage)("en-US"),tt=!1!==E&&!1!==D,et=!0===C||"true"===C,it=x?.on?(0,p.qN)(x):void 0,nt=x?.on&&(0,m.b)(x)?(0,p.yz)(x)??O:O,st=()=>{_(!0)};return(0,n.h)("div",{style:{"--wistia-player-icon-color":(0,g.hu)(O??"#636155",S??!1,!0===x?.on)}},(0,n.h)("div",{class:"w-css-reset",style:{cursor:"pointer",width:"100%",height:`${U}px`},onClick:st,tabIndex:tt?-1:0},(0,n.h)(l.E,{backgroundColor:X,images:J,isVisible:!0,hashedId:e,playerBorderRadius:Q,swatchEnabled:!1,uiHasRendered:!1,thumbnailAltText:W??"",height:`${U}px`})),tt&&(0,n.h)(a.Fn,{borderRadius:Y,buttonTabIndex:0,color:nt,controlBarDistance:G,duration:V??0,hasContrastIcons:S??!1,isLiveMedia:"LiveStream"===$,isLoading:y,isOpaque:M,isVisible:!0,noMixBlendMode:I,onClick:st,playerLanguage:Z,scale:z,showBpbTime:et,videoName:j??"",videoWidth:f,backgroundGradientCss:it}))}},(t,e,i)=>{i.d(e,{$:()=>a,z:()=>r});var n=i(2),s=i(3);const o=(0,n.createContext)(null),r=({children:t,embedOptions:e,mediaData:i})=>(0,n.h)(o.Provider,{value:{embedOptions:e,mediaData:i}},t),a=()=>{const t=(0,s.useContext)(o);if(null==t)throw new Error("usePlayerData must be used within a PlayerDataProvider");return t}},(t,e,i)=>{i.d(e,{I:()=>b});var n=i(107),s=i.n(n),o=i(292),r=i.n(o),a=i(22);function l(t,e,i){h(t,e),e.set(t,i)}function h(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}function u(t,e,i){return t.set(d(t,e),i),i}function c(t,e){return t.get(d(t,e))}function d(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}var p=new WeakMap,m=new WeakMap,g=new WeakMap,f=new WeakMap,y=new WeakMap,_=new WeakMap,v=new WeakSet;class b{constructor(){var t;h(this,t=v),t.add(this),l(this,p,{}),l(this,m,{}),l(this,g,!1),l(this,f,{}),l(this,y,{domOptions:{},iframeOptions:{},mediaDataOptions:{},wistiaWindowOptions:{}}),l(this,_,{})}get embedOptions(){return c(m,this)}get hasMediaData(){return c(g,this)}get mediaData(){return c(f,this).embedOptions=c(m,this),c(f,this)}setDomEmbedOptionSource(t){c(y,this).domOptions=t,d(v,this,w).call(this)}setIframeEmbedOptionSource(t){c(y,this).iframeOptions=t,d(v,this,w).call(this)}setMediaDataSource(t){u(_,this,t),u(g,this,!0),u(f,this,(0,a.cast)(r()(c(_,this)))),void 0!==c(f,this).hashedId&&(c(f,this).hashedId=c(f,this).hashedId.toString()),c(y,this).mediaDataOptions=r()(c(f,this).embedOptions)??{},d(v,this,w).call(this)}setWistiaWindowEmbedOptionSource(t){c(y,this).wistiaWindowOptions=t,d(v,this,w).call(this)}updateEmbedOptionOverrides(t){u(p,this,s()(c(p,this),t)),u(m,this,s()(c(m,this),c(p,this)))}}function w(){const{mediaDataOptions:t,wistiaWindowOptions:e,domOptions:i,iframeOptions:n}=c(y,this);u(m,this,(0,a.cast)(s()({},t??{},e??{},i??{},n??{},c(p,this)))),c(f,this).embedOptions=c(m,this)}},(t,e,i)=>{t=i.nmd(t);var n="__lodash_hash_undefined__",s=9007199254740991,o="[object Arguments]",r="[object Boolean]",a="[object Date]",l="[object Function]",h="[object GeneratorFunction]",u="[object Map]",c="[object Number]",d="[object Object]",p="[object Promise]",m="[object RegExp]",g="[object Set]",f="[object String]",y="[object Symbol]",_="[object WeakMap]",v="[object ArrayBuffer]",b="[object DataView]",w="[object Float32Array]",E="[object Float64Array
163]",C="[object Int8Array]",T="[object Int16Array]",S="[object Int32Array]",P="[object Uint8Array]",A="[object Uint8ClampedArray]",L="[object Uint16Array]",I="[object Uint32Array]",M=/\w*$/,D=/^\[object .+?Constructor\]$/,k=/^(?:0|[1-9]\d*)$/,O={};O[o]=O["[object Array]"]=O[v]=O[b]=O[r]=O[a]=O[w]=O[E]=O[C]=O[T]=O[S]=O[u]=O[c]=O[d]=O[m]=O[g]=O[f]=O[y]=O[P]=O[A]=O[L]=O[I]=!0,O["[object Error]"]=O[l]=O[_]=!1;var x="object"==typeof i.g&&i.g&&i.g.Object===Object&&i.g,B="object"==typeof self&&self&&self.Object===Object&&self,R=x||B||Function("return this")(),W=e&&!e.nodeType&&e,F=W&&t&&!t.nodeType&&t,N=F&&F.exports===W;function H(t,e){return t.set(e[0],e[1]),t}function V(t,e){return t.add(e),t}function $(t,e,i,n){var s=-1,o=t?t.length:0;for(n&&o&&(i=t[++s]);++s<o;)i=e(i,t[s],s,t);return i}function j(t){var e=!1;if(null!=t&&"function"!=typeof t.toString)try{e=!!(t+"")}catch(t){}return e}function U(t){var e=-1,i=Array(t.size);return t.forEach((function(t,n){i[++e]=[n,t]})),i}function z(t,e){return function(i){return t(e(i))}}function q(t){var e=-1,i=Array(t.size);return t.forEach((function(t){i[++e]=t})),i}var K,G=Array.prototype,Y=Function.prototype,Q=Object.prototype,X=R["__core-js_shared__"],J=(K=/[^.]+$/.exec(X&&X.keys&&X.keys.IE_PROTO||""))?"Symbol(src)_1."+K:"",Z=Y.toString,tt=Q.hasOwnProperty,et=Q.toString,it=RegExp("^"+Z.call(tt).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),nt=N?R.Buffer:void 0,st=R.Symbol,ot=R.Uint8Array,rt=z(Object.getPrototypeOf,Object),at=Object.create,lt=Q.propertyIsEnumerable,ht=G.splice,ut=Object.getOwnPropertySymbols,ct=nt?nt.isBuffer:void 0,dt=z(Object.keys,Object),pt=Rt(R,"DataView"),mt=Rt(R,"Map"),gt=Rt(R,"Promise"),ft=Rt(R,"Set"),yt=Rt(R,"WeakMap"),_t=Rt(Object,"create"),vt=Vt(pt),bt=Vt(mt),wt=Vt(gt),Et=Vt(ft),Ct=Vt(yt),Tt=st?st.prototype:void 0,St=Tt?Tt.valueOf:void 0;function Pt(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function At(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function Lt(t){var e=-1,i=t?t.length:0;for(this.clear();++e<i;){var n=t[e];this.set(n[0],n[1])}}function It(t){this.__data__=new At(t)}function Mt(t,e,i){var n=t[e];tt.call(t,e)&&$t(n,i)&&(void 0!==i||e in t)||(t[e]=i)}function Dt(t,e){for(var i=t.length;i--;)if($t(t[i][0],e))return i;return-1}function kt(t,e,i,n,s,p,_){var D;if(n&&(D=p?n(t,s,p,_):n(t)),void 0!==D)return D;if(!Kt(t))return t;var k=jt(t);if(k){if(D=function(t){var e=t.length,i=t.constructor(e);return e&&"string"==typeof t[0]&&tt.call(t,"index")&&(i.index=t.index,i.input=t.input),i}(t),!e)return function(t,e){var i=-1,n=t.length;for(e||(e=Array(n));++i<n;)e[i]=t[i];return e}(t,D)}else{var x=Ft(t),B=x==l||x==h;if(zt(t))return function(t,e){if(e)return t.slice();var i=new t.constructor(t.length);return t.copy(i),i}(t,e);if(x==d||x==o||B&&!p){if(j(t))return p?t:{};if(D=function(t){return"function"!=typeof t.constructor||Ht(t)?{}:Kt(e=rt(t))?at(e):{};var e}(B?{}:t),!e)return function(t,e){return xt(t,Wt(t),e)}(t,function(t,e){return t&&xt(e,Gt(e),t)}(D,t))}else{if(!O[x])return p?t:{};D=function(t,e,i,n){var s,o=t.constructor;switch(e){case v:return Ot(t);case r:case a:return new o(+t);case b:return function(t,e){var i=e?Ot(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.byteLength)}(t,n);case w:case E:case C:case T:case S:case P:case A:case L:case I:return function(t,e){var i=e?Ot(t.buffer):t.buffer;return new t.constructor(i,t.byteOffset,t.length)}(t,n);case u:return function(t,e,i){return $(e?i(U(t),!0):U(t),H,new t.constructor)}(t,n,i);case c:case f:return new o(t);case m:return function(t){var e=new t.constructor(t.source,M.exec(t));return e.lastIndex=t.lastIndex,e}(t);case g:return function(t,e,i){return $(e?i(q(t),!0):q(t),V,new t.constructor)}(t,n,i);case y:return s=t,St?Object(St.call(s)):{}}}(t,x,kt,e)}}_||(_=new It);var R=_.get(t);if(R)return R;if(_.set(t,D),!k)var W=i?function(t){return function(t,e,i){var n=e(t);return jt(t)?n:function(t,e){for(var i=-1,n=e.length,s=t.length;++i<n;)t[s+i]=e[i];return t}(n,i(t))}(t,Gt,Wt)}(t):Gt(t);return function(t,e){for(var i=-1,n=t?t.length:0;++i<n&&!1!==e(t[i],i););}(W||t,(function(s,o){W&&(s=t[o=s]),Mt(D,o,kt(s,e,i,n,o,t,_))})),D}function Ot(t){var e=new t.constructor(t.byteLength);return new ot(e).set(new ot(t)),e}function xt(t,e,i,n){i||(i={});for(var s=-1,o=e.length;++s<o;){var r=e[s],a=n?n(i[r],t[r],r,i,t):void 0;Mt(i,r,void 0===a?t[r]:a)}return i}function Bt(t,e){var i,n,s=t.__data__;return("string"==(n=typeof(i=e))||"number"==n||"symbol"==n||"boolean"==n?"__proto__"!==i:null===i)?s["string"==typeof e?"string":"hash"]:s.map}function Rt(t,e){var i=function(t,e){return null==t?void 0:t[e]}(t,e);return function(t){return!(!Kt(t)||(e=t,J&&J in e))&&(qt(t)||j(t)?it:D).test(Vt(t));var e}(i)?i:void 0}Pt.prototype.clear=function(){this.__data__=_t?_t(null):{}},Pt.prototype.delete=function(t){return this.has(t)&&delete this.__data__[t]},Pt.prototype.get=function(t){var e=this.__data__;if(_t){var i=e[t];return i===n?void 0:i}return tt.call(e,t)?e[t]:void 0},Pt.prototype.has=function(t){var e=this.__data__;return _t?void 0!==e[t]:tt.call(e,t)},Pt.prototype.set=function(t,e){return this.__data__[t]=_t&&void 0===e?n:e,this},At.prototype.clear=function(){this.__data__=[]},At.prototype.delete=function(t){var e=this.__data__,i=Dt(e,t);return!(i<0||(i==e.length-1?e.pop():ht.call(e,i,1),0))},At.prototype.get=function(t){var e=this.__data__,i=Dt(e,t);return i<0?void 0:e[i][1]},At.prototype.has=function(t){return Dt(this.__data__,t)>-1}
163,At.prototype.set=function(t,e){var i=this.__data__,n=Dt(i,t);return n<0?i.push([t,e]):i[n][1]=e,this},Lt.prototype.clear=function(){this.__data__={hash:new Pt,map:new(mt||At),string:new Pt}},Lt.prototype.delete=function(t){return Bt(this,t).delete(t)},Lt.prototype.get=function(t){return Bt(this,t).get(t)},Lt.prototype.has=function(t){return Bt(this,t).has(t)},Lt.prototype.set=function(t,e){return Bt(this,t).set(t,e),this},It.prototype.clear=function(){this.__data__=new At},It.prototype.delete=function(t){return this.__data__.delete(t)},It.prototype.get=function(t){return this.__data__.get(t)},It.prototype.has=function(t){return this.__data__.has(t)},It.prototype.set=function(t,e){var i=this.__data__;if(i instanceof At){var n=i.__data__;if(!mt||n.length<199)return n.push([t,e]),this;i=this.__data__=new Lt(n)}return i.set(t,e),this};var Wt=ut?z(ut,Object):function(){return[]},Ft=function(t){return et.call(t)};function Nt(t,e){return!!(e=null==e?s:e)&&("number"==typeof t||k.test(t))&&t>-1&&t%1==0&&t<e}function Ht(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||Q)}function Vt(t){if(null!=t){try{return Z.call(t)}catch(t){}try{return t+""}catch(t){}}return""}function $t(t,e){return t===e||t!=t&&e!=e}(pt&&Ft(new pt(new ArrayBuffer(1)))!=b||mt&&Ft(new mt)!=u||gt&&Ft(gt.resolve())!=p||ft&&Ft(new ft)!=g||yt&&Ft(new yt)!=_)&&(Ft=function(t){var e=et.call(t),i=e==d?t.constructor:void 0,n=i?Vt(i):void 0;if(n)switch(n){case vt:return b;case bt:return u;case wt:return p;case Et:return g;case Ct:return _}return e});var jt=Array.isArray;function Ut(t){return null!=t&&function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=s}(t.length)&&!qt(t)}var zt=ct||function(){return!1};function qt(t){var e=Kt(t)?et.call(t):"";return e==l||e==h}function Kt(t){var e=typeof t;return!!t&&("object"==e||"function"==e)}function Gt(t){return Ut(t)?function(t,e){var i=jt(t)||function(t){return function(t){return function(t){return!!t&&"object"==typeof t}(t)&&Ut(t)}(t)&&tt.call(t,"callee")&&(!lt.call(t,"callee")||et.call(t)==o)}(t)?function(t,e){for(var i=-1,n=Array(t);++i<t;)n[i]=e(i);return n}(t.length,String):[],n=i.length,s=!!n;for(var r in t)!e&&!tt.call(t,r)||s&&("length"==r||Nt(r,n))||i.push(r);return i}(t):function(t){if(!Ht(t))return dt(t);var e=[];for(var i in Object(t))tt.call(t,i)&&"constructor"!=i&&e.push(i);return e}(t)}t.exports=function(t){return kt(t,!0,!0)}},(t,e,i)=>{i.d(e,{C:()=>o});var n=i(107),s=i.n(n);const o=t=>{if(!window.wistiaOptions)return{};const e=window.wistiaOptions._all??{},i=window.wistiaOptions[t]??{};return s()(e,i)}},(t,e,i)=>{i.d(e,{z:()=>o});var n=i(1);let s=null;const o=()=>{s||(s=setInterval((()=>{if("undefined"==typeof window)return;const t=window._wq;t&&0!==t.length&&t.slice(0).forEach((e=>{"function"==typeof e?(e(n.Wistia),t.splice(t.indexOf(e),1)):n.Wistia.flushInitQueue||(t.splice(t.indexOf(e),1),console.warn("<wistia-player> elements must be configured via window.wistiaOptions instead of window._wq. Config not applied",e))}))}),500))}}],__webpack_module_cache__={};function __webpack_require__(t){var e=__webpack_module_cache__[t];if(void 0!==e)return e.exports;var i=__webpack_module_cache__[t]={id:t,loaded:!1,exports:{}};return __webpack_modules__[t].call(i.exports,i,i.exports,__webpack_require__),i.loaded=!0,i.exports}__webpack_require__.n=t=>{var e=t&&t.__esModule?()=>t.default:()=>t;return __webpack_require__.d(e,{a:e}),e},__webpack_require__.d=(t,e)=>{for(var i in e)__webpack_require__.o(e,i)&&!__webpack_require__.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),__webpack_require__.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),__webpack_require__.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},__webpack_require__.nmd=t=>(t.paths=[],t.children||(t.children=[]),t);var __webpack_exports__={};(()=>{__webpack_require__(1),__webpack_require__(73),__webpack_require__(120),__webpack_require__(287);var t=__webpack_require__(10);(()=>{let e=!1;const i=()=>{console.warn('E-v1.js is not being hosted from a "fast.wistia" host. Self-hosting, making static copies of this script, or including this script in an optimizer may cause embeds to stop functioning. Check Wistia\'s Help Center for more information.')},n=document.getElementsByTagName("script");for(let t=0;t<n.length;t++){const s=n[t];if(s.src){const t=new window.URL(s.src,window.location.href);/\/assets\/external\/E-v1?\.js$/.test(t.pathname)&&(e=!0,!1===t.hostname.includes("fast.wistia")&&i())}}!1===e&&i(),(0,t.sd)()})()})();
164//# debugId=533c3652-c774-423f-811e-b142259bcd66 165; 166window['wistiajsonp-/embed/medias/vjht0kbn4y.jsonp'] = {"media":{"accountId":801642,"accountHashedId":"z7ytxj5i8o","accountKey":"wistia-production_801642","analyticsHost":"https://distillery.wistia.net","formsHost":"https://app.wistia.com","formEventsApi":"/form-stream/1.0.0","aspectRatio":2.142857142857143,"assets":[{"is_enhanced":false,"is_composite_layer":false,"type":"original","slug":"original","display_name":"Original File","details":{},"width":1912,"height":894,"size":124139265,"bitrate":1209,"public":true,"status":2,"progress":1.0,"metadata":{"av_stream_metadata":"{\"FastStart\":true,\"Audio\":{\"bitRate\":69817,\"channels\":1,\"channelLayout\":\"mono\",\"Codec ID\":\"mp4a-40-2\",\"codec\":\"aac\",\"codecType\":\"audio\",\"duration\":801.706,\"sampleFormat\":\"fltp\",\"sampleRate\":48000},\"Video\":{\"bitRate\":1159027,\"Codec ID\":\"avc1\",\"codec\":\"h264\",\"duration\":801.731789,\"height\":894,\"pixelFormat\":\"yuv420p\",\"rFrameRate\":\"30/1\",\"width\":1912}}"},"url":"https://embed-ssl.wistia.com/deliveries/4f953b522cd8de76e77a2027798d39e5.bin","created_at":1735119431},{"is_enhanced":false,"is_composite_layer":false,"type":"iphone_video","slug":"mp4_h264_166k","display_name":"360p","details":{},"container":"mp4","codec":"h264","width":640,"height":298,"ext":"mp4","size":17136776,"bitrate":166,"public":true,"status":2,"progress":1.0,"metadata":{"max_bitrate":264808,"average_bitrate":170995,"early_max_bitrate":153888,"av_stream_metadata":"{\"Audio\":{\"channels\":1,\"channelLayout\":\"mono\",\"Codec ID\":\"mp4a-40-2\",\"codec\":\"aac\",\"codecType\":\"audio\",\"duration\":801.74,\"frameRate\":43.066,\"sampleFormat\":\"fltp\",\"sampleRate\":44100},\"Video\":{\"avgFrameRate\":\"30/1\",\"bitRate\":\"68523\",\"Codec ID\":\"avc1\",\"codec\":\"h264\",\"duration\":801.7,\"height\":298,\"frameRate\":30,\"frameRateMode\":\"CFR\",\"pixelFormat\":\"yuv420p\",\"rFrameRate\":\"30/1\",\"width\":640}}","built_by":"render-pipeline","time_to_ready":10.465947513},"url":"https://embed-ssl.wistia.com/deliveries/df62fdf0658478fb368ce7b4b2c03314a734666a.bin","created_at":1735119431,"segment_duration":3,"opt_vbitrate":1200},{"is_enhanced":false,"is_composite_layer":false,"type":"mp4_video","slug":"mp4_h264_167k","display_name":"186p","details":{},"container":"mp4","codec":"h264","width":400,"height":186,"ext":"mp4","size":17222623,"bitrate":167,"public":true,"status":2,"progress":1.0,"metadata":{"max_bitrate":219960,"average_bitrate":171850,"early_max_bitrate":158600,"av_stream_metadata":"{\"Audio\":{\"channels\":1,\"channelLayout\":\"mono\",\"Codec ID\":\"mp4a-40-2\",\"codec\":\"aac\",\"codecType\":\"audio\",\"duration\":801.75,\"frameRate\":43.066,\"sampleFormat\":\"fltp\",\"sampleRate\":44100},\"Video\":{\"avgFrameRate\":\"30/1\",\"bitRate\":\"35181\",\"Codec ID\":\"avc1\",\"codec\":\"h264\",\"colorSpace\":\"bt709\",\"duration\":801.734,\"height\":186,\"frameRate\":30,\"frameRateMode\":\"CFR\",\"pixelFormat\":\"yuv420p\",\"rFrameRate\":\"30/1\",\"width\":400}}","time_to_ready":78.355136794},"url":"https://embed-ssl.wistia.com/deliveries/d402f2b7ecd8f3270c77b2740a5d72a343f5f9a3.bin","created_at":1735119431,"segment_duration":3,"opt_vbitrate":300},{"is_enhanced":false,"is_composite_layer":false,"type":"md_mp4_video","slug":"mp4_h264_254k","display_name":"540p","details":{},"container":"mp4","codec":"h264","width":960,"height":448,"ext":"mp4","size":26082031,"bitrate":254,"public":true,"status":2,"progress":1.0,"metadata":{"max_bitrate":422952,"average_bitrate":260251,"early_max_bitrate":236448,"av_stream_metadata":"{\"Audio\":{\"channels\":1,\"channelLayout\":\"mono\",\"Codec ID\":\"mp4a-40-2\",\"codec\":\"aac\",\"codecType\":\"audio\",\"duration\":801.75,\"frameRate\":43.066,\"sampleFormat\":\"fltp\",\"sampleRate\":44100},\"Video\":{\"avgFrameRate\":\"30/1\",\"bitRate\":\"123608\",\"Codec ID\":\"avc1\",\"codec\":\"h264\",\"colorSpace\":\"bt709\",\"duration\":801.734,\"height\":448,\"frameRate\":30,\"frameRateMode\":\"CFR\",\"pixelFormat\":\"yuv420p\",\"rFrameRate\":\"30/1\",\"width\":960}}","time_to_ready":158.092686927},"url":"https://embed-ssl.wistia.com/deliveries/b29ec010ecc3c22c88cc9992abdf66873767875e.bin","created_at":1735119431,"segment_duration":3,"opt_vbitrate":1800},{"is_enhanced":false,"is_composite_layer":false,"type":"hd_mp4_video","slug":"mp4_h264_311k","display_name":"720p","details":{}
166,"container":"mp4","codec":"h264","width":1280,"height":598,"ext":"mp4","size":31982299,"bitrate":311,"public":true,"status":2,"progress":1.0,"metadata":{"max_bitrate":563552,"average_bitrate":319125,"early_max_bitrate":287528,"av_stream_metadata":"{\"Audio\":{\"channels\":1,\"channelLayout\":\"mono\",\"Codec ID\":\"mp4a-40-2\",\"codec\":\"aac\",\"codecType\":\"audio\",\"duration\":801.75,\"frameRate\":43.066,\"sampleFormat\":\"fltp\",\"sampleRate\":44100},\"Video\":{\"avgFrameRate\":\"30/1\",\"bitRate\":\"182470\",\"Codec ID\":\"avc1\",\"codec\":\"h264\",\"colorSpace\":\"bt709\",\"duration\":801.734,\"height\":598,\"frameRate\":30,\"frameRateMode\":\"CFR\",\"pixelFormat\":\"yuv420p\",\"rFrameRate\":\"30/1\",\"width\":1280}}","time_to_ready":232.247094088},"url":"https://embed-ssl.wistia.com/deliveries/9acb9f075c26c74c07de39d822a2a1140b188b2f.bin","created_at":1735119431,"segment_duration":3,"opt_vbitrate":3750},{"is_enhanced":false,"is_composite_layer":false,"type":"hd_mp4_video","slug":"mp4_h264_397k","display_name":"1080p","details":{},"container":"mp4","codec":"h264","width":1920,"height":896,"ext":"mp4","size":40836032,"bitrate":397,"public":true,"status":2,"progress":1.0,"metadata":{"max_bitrate":858808,"average_bitrate":407474,"early_max_bitrate":379824,"av_stream_metadata":"{\"Audio\":{\"channels\":1,\"channelLayout\":\"mono\",\"Codec ID\":\"mp4a-40-2\",\"codec\":\"aac\",\"codecType\":\"audio\",\"duration\":801.74,\"frameRate\":43.066,\"sampleFormat\":\"fltp\",\"sampleRate\":44100},\"Video\":{\"avgFrameRate\":\"30/1\",\"bitRate\":\"305000\",\"Codec ID\":\"avc1\",\"codec\":\"h264\",\"duration\":801.7,\"height\":896,\"frameRate\":30,\"frameRateMode\":\"CFR\",\"pixelFormat\":\"yuv420p\",\"rFrameRate\":\"30/1\",\"width\":1920}}","built_by":"render-pipeline","time_to_ready":16.701726181},"url":"https://embed-ssl.wistia.com/deliveries/13dfd23ab8ae649f059bcb0270710af4ad39c8cc.bin","created_at":1735119431,"segment_duration":3,"opt_vbitrate":5625},{"is_enhanced":false,"is_composite_layer":false,"type":"storyboard","slug":"storyboard_2000x1880","display_name":"Storyboard","details":{},"width":2000,"height":1880,"ext":"jpg","size":474855,"bitrate":0,"public":true,"status":2,"progress":1.0,"metadata":{"frame_count":200,"aspect_ratio":2.1387024,"frame_height":94,"frame_width":200,"time_to_ready":30.620577754},"url":"https://embed-ssl.wistia.com/deliveries/4d7b4f919241274ee4a8e7e2cc3f4ec4baf01ed0.bin","created_at":1735119431},{"is_enhanced":false,"is_composite_layer":false,"type":"still_image","slug":"still_image_1920x896","display_name":"Thumbnail Image","details":{},"width":1920,"height":896,"size":407025,"bitrate":0,"public":true,"status":2,"progress":1.0,"metadata":{"av_stream_metadata":"{\"FastStart\":false,\"Audio\":{},\"Video\":{\"codec\":\"png\",\"colorPrimaries\":\"bt709\",\"colorSpace\":\"gbr\",\"colorTransfer\":\"iec61966-2-1\",\"height\":896,\"pixelFormat\":\"rgba\",\"rFrameRate\":\"25/1\",\"width\":1920}}"},"url":"https://embed-ssl.wistia.com/deliveries/e24298160279f72e1369875fa3711d3f.bin","created_at":1735120031}],"branding":true,"createdAt":1735119431,"distilleryUrl":"https://distillery.wistia.com/x","duration":801.74,"enableCustomerLogo":false,"firstEmbedForAccount":false,"firstShareForAccount":false,"availableTranscripts":[],"hashedId":"vjht0kbn4y","mediaId":128259204,"mediaKey":"wistia-production_128259204","mediaType":"Video","name":"Pinterest avalanche course - 15 Million Views - 30K clicks","preloadPreference":null,"progress":1.0,"protected":false,"projectId":4074699,"seoDescription":"an Ultimate Lifestyle Secrets video","showAbout":true,"status":2,"type":"Video","playableWithoutInstantHls":true,"stats":{"loadCount":6412,"playCount":868,"uniqueLoadCount":5469,"uniquePlayCount":780,"averageEngagement":0.157981},"trackingTransmitInterval":26,"liveStreamEventDetails":null,"integrations":{},"tagManager":true,"hls_enabled":true,"embed_options":{"opaqueControls":false,"playerColor":"2949E5","playerColorGradient":{"on":false,"colors":[["#2949E5",0],["#8fafff",1]],"on":"false","colors":[["#2949E5","0"],["#8fafff","1"]]},"plugin":{"videoThumbnail":{"trimStart":"214.99","trimEnd":"338","hashedId":"vjht0kbn4y","on":"true","clickForSound":{"on":"true","showText":"true"}},"thumbnailTextOverlay-v2":{"includeTextOverlay":"true","text":"Want Traffic? Watch","on":"true","textOverlayImageUrl":"https://embed-ssl.wistia.com/deliveries/fba4a8a87df35cf8e9687de0cdfcc10f.png"}},"volumeControl":"true","fullscreenButton":"true","controlsVisibleOnLoad":"true","bpbTime":"false","vulcan":true,"stillUrl":"https://embed-ssl.wistia.com/deliveries/e24298160279f72e1369875fa3711d3f.png","unalteredStillImageAsset":{"url":"https://embed-ssl.wistia.com/deliveries/663d83e82838a6c47bcbf95f50cf421a64be0440.jpg?image_resize=960","width":"960","height":"449"},"thumbnailAltText":"CLICK HERE TO WATCH","playbar":"true","newRoundedIcons":true,"shouldShowCaptionsSettings":true},"embedOptions":{"opaqueControls":false,"playerColor":"2949E5","playerColorGradient":{"on":false,"colors":[["#2949E5",0],["#8fafff",1]],"on":"false","colors":[["#2949E5","0"],["#8fafff","1"]]},"plugin":{"videoThumbnail":{"trimStart":"214.99","trimEnd":"338","hashedId":"vjht0kbn4y","on":"true","clickForSound":{"on":"true","showText":"true"}},"thumbnailTextOverlay-v2":{"includeTextOverlay":"true","text":"Want Traffic? Watch","on":"true","textOverlayImageUrl":"https://embed-ssl.wistia.com/deliveries/fba4a8a87df35cf8e9687de0cdfcc10f.png"}},"volumeControl":"true","fullscreenButton":"true","controlsVisibleOnLoad":"true","bpbTime":"false","vulcan":true,"stillUrl":"https://embed-ssl.wistia.com/deliveries/e24298160279f72e1369875fa3711d3f.png","unalteredStillImageAsset":{"url":"https://embed-ssl.wistia.com/deliveries/663d83e82838a6c47bcbf95f50cf421a64be0440.jpg?image_resize=960","width":"960","height":"449"},"thumbnailAltText":"CLICK HERE TO WATCH","playbar":"true","newRoundedIcons":true,"shouldShowCaptionsSettings":true}},"options":{}}; 167; 168( () => { 169 const lazyloadRunObserver = () => {
170 const lazyloadBackgrounds = document.querySelectorAll( `.e-con.e-parent:not(.e-lazyloaded)` ); 171 const lazyloadBackgroundObserver = new IntersectionObserver( ( entries ) => { 172 entries.forEach( ( entry ) => { 173 if ( entry.isIntersecting ) { 174 let lazyloadBackground = entry.target; 175 if( lazyloadBackground ) { 176 lazyloadBackground.classList.add( 'e-lazyloaded' ); 177 } 178 lazyloadBackgroundObserver.unobserve( entry.target ); 179 } 180 }); 181 }, { rootMargin: '200px 0px 200px 0px' } ); 182 lazyloadBackgrounds.forEach( ( lazyloadBackground ) => { 183 lazyloadBackgroundObserver.observe( lazyloadBackground ); 184 } ); 185 }; 186 const events = [ 187 'DOMContentLoaded', 188 'elementor/lazyload/observe', 189 ]; 190 events.forEach( ( event ) => { 191 document.addEventListener( event, lazyloadRunObserver ); 192 } ); 193 } )();; 194const eio_lazy_vars = {"bg_min_dpr":1.100000000000000088817841970012523233890533447265625,"exactdn_domain":"e72zf9aaj72.exactdn.com","safe_paths":["\/wp-content\/plugins","\/wp-content\/themes","\/wp-includes\/"],"safe_domains":["martinebongue.com","www.martinebongue.com","e72zf9aaj72.exactdn.com"],"skip_autoscale":0,"threshold":0,"use_dpr":1};Object.freeze(eio_lazy_vars); 195; 196var ewww_webp_supported,swis_lazy_css_images;void 0===ewww_webp_supported&&(ewww_webp_supported=!1),void 0===swis_lazy_css_images&&(swis_lazy_css_images={}),window.lazySizesConfig=window.lazySizesConfig||{},window.lazySizesConfig.expand=500<document.documentElement.clientHeight&&500<document.documentElement.clientWidth?1e3:740,window.lazySizesConfig.iframeLoadMode=1,"undefined"==typeof eio_lazy_vars&&(eio_lazy_vars={bg_min_dpr:1.1,exactdn_domain:".exactdn.com",safe_domains:[],skip_autoscale:0,threshold:0,use_dpr:0}),50<eio_lazy_vars.threshold&&(window.lazySizesConfig.expand=eio_lazy_vars.threshold);for(const[a,b]of Object.entries(swis_lazy_css_images))try{document.querySelectorAll(b[0].selector).forEach(e=>{e.classList.contains("lazyload")||(e.classList.add("lazyload"),e.dataset.swisLazyId=a,5<b[0].rwidth&&5<b[0].rheight&&(e.dataset.eioRwidth=b[0].rwidth,e.dataset.eioRheight=b[0].rheight))})}catch(e){}!function(e,t){function a(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)}t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,function(e,u,n){"use strict";var s,o,f={};function l(e,t,a){if(!f[e]&&"object"==typeof eio_lazy_vars.safe_domains&&Array.isArray(eio_lazy_vars.safe_domains)&&"object"==typeof eio_lazy_vars.safe_paths&&Array.isArray(eio_lazy_vars.safe_paths)){var i,r,n=eio_lazy_vars.safe_domains,s=eio_lazy_vars.safe_paths,o=!1,l=0,d=0;try{var c=new URL(e)}catch(e){return}for(;l<n.length;l++)if(c.hostname===n[l]){for(d=0;d<s.length;d++)if(c.pathname.startsWith(s[d])){o=!0;break}break}o&&(i=u.createElement(t?"link":"script"),r=u.getElementsByTagName("script")[0],t?(i.rel="stylesheet",i.href=e):(i.onload=function(){i.onerror=null,i.onload=null,a()},i.onerror=i.onload,i.src=e),f[e]=!0,f[i.src||i.href]=!0,r.parentNode.insertBefore(i,r))}}u.addEventListener&&(o=/\(|\)|\s|'/,s=function(e,t){var a=u.createElement("img");a.onload=function(){a.onload=null,a.onerror=null,a=null,t()},a.onerror=a.onload,a.src=e,a&&a.complete&&a.onload&&a.onload()},addEventListener("lazybeforeunveil",function(e){var t,a,i;if(e.detail.instance==n&&!e.defaultPrevented){var r=e.target;if("none"==r.preload&&(r.preload=r.getAttribute("data-preload")||"auto"),null!=r.getAttribute("data-autoplay"))if(r.getAttribute("data-expand")&&!r.autoplay)try{r.play()}catch(e){}else requestAnimationFrame(function(){r.setAttribute("data-expand","-10"),n.aC(r,n.cfg.lazyClass)});(t=r.getAttribute("data-link"))&&l(t,!0),(t=r.getAttribute("data-script"))&&(e.detail.firesLoad=!0,l(t,null,function(){e.detail.firesLoad=!1,n.fire(r,"_lazyloaded",{},!0,!0)})),(t=r.getAttribute("data-require"))&&(n.cfg.requireJs?n.cfg.requireJs([t]):l(t)),(a=r.getAttribute("data-bg"))&&(e.detail.firesLoad=!0,s(a,function(){r.style.backgroundImage="url("+(o.test(a)?JSON.stringify(a):a)+")",e.detail.firesLoad=!1,n.fire(r,"_lazyloaded",{},!0,!0)})),(i=r.getAttribute("data-poster"))&&(e.detail.firesLoad=!0,s(i,function(){r.poster=i,e.detail.firesLoad=!1,n.fire(r,"_lazyloaded",{},!0,!0)}))}},!1))}),function(e,t){function a(){t(e.lazySizes),e.removeEventListener("lazyunveilread",a,!0)}t=t.bind(null,e,e.document),"object"==typeof module&&module.exports?t(require("lazysizes")):"function"==typeof define&&define.amd?define(["lazysizes"],t):e.lazySizes?a():e.addEventListener("lazyunveilread",a,!0)}(window,function(u,f,h){"use strict";var r;f.addEventListener&&(r=/\(|\)|\s|'/,addEventListener("lazybeforeunveil",function(t){var e,a,i;t.detail.instance==h&&(t.defaultPrevented||("none"==t.target.preload&&(t.target.preload="auto"),(a=t.target.dataset.back)&&(ewww_webp_supported&&(e=t.target.dataset.backWebp)&&(a=e),a=n(a,t.target),t.target.style.backgroundImage&&-1===t.target.style.backgroundImage.search(/^initial/)?0===a.search(/\[/)?((a=JSON.parse(a)).forEac
196h(function(e){r.test(e)&&JSON.stringify(e)}),a='url("'+a.join('"), url("')+'"',e=t.target.style.backgroundImage+", "+a,t.target.style.backgroundImage=e):t.target.style.backgroundImage=t.target.style.backgroundImage+', url("'+(r.test(a)?JSON.stringify(a):a)+'")':0===a.search(/\[/)?((a=JSON.parse(a)).forEach(function(e){r.test(e)&&JSON.stringify(e)}),a='url("'+a.join('"), url("')+'"',t.target.style.backgroundImage=a):t.target.style.backgroundImage="url("+(r.test(a)?JSON.stringify(a):a)+")"),(a=t.target.dataset.swisLazyId)&&a in swis_lazy_css_images&&(a=swis_lazy_css_images[a],i=f.querySelector("style#swis-lazy-css-styles"),a.forEach(function(e){e.url&&(ewww_webp_supported&&e.webp_url&&(e.url=e.webp_url),e.url=n(e.url,t.target),e=e.selector+" {--swis-bg-"+e.hash+": url("+e.url+"); }",i.sheet.insertRule(e))}))))},!1));function g(e,t=!1){var a=y(),i=Math.round(e.offsetWidth*a),r=Math.round(e.offsetHeight*a),n=e.getAttribute("data-src"),a=e.getAttribute("data-src-webp");ewww_webp_supported&&a&&-1==n.search("webp=1")&&!t&&(n=a),o(e)&&(a=e,a=h.hC(a,"et_pb_jt_filterable_grid_item_image")||h.hC(a,"ss-foreground-image")||h.hC(a,"img-crop")?"img-crop":h.hC(a,"object-cover")&&(h.hC(a,"object-top")||h.hC(a,"object-bottom"))?"img-w":h.hC(a,"object-cover")&&(h.hC(a,"object-left")||h.hC(a,"object-right"))?"img-h":h.hC(a,"ct-image")&&h.hC(a,"object-cover")||!a.getAttribute("data-srcset")&&!a.srcset&&a.offsetHeight>a.offsetWidth&&1<d(a)?"img-crop":"img",(a=l(n,i,r,a,t))&&n!=a&&(t&&e.setAttribute("src",a),e.setAttribute("data-src",a)))}var n=function(e,t){if(0===e.search(/\[/))return e;if(!o(t))return e;var a=y();a<eio_lazy_vars.bg_min_dpr&&(a=eio_lazy_vars.bg_min_dpr);var i=Math.round(t.offsetWidth*a),r=Math.round(t.offsetHeight*a),n="bg";h.hC(t,"wp-block-cover")||h.hC(t,"wp-block-cover__image-background")?(h.hC(t,"has-parallax")?(i=Math.round(u.screen.width*a),r=Math.round(u.screen.height*a)):r<300&&(r=430),n="bg-cover"):(h.hC(t,"cover-image")||h.hC(t,"elementor-bg")||h.hC(t,"et_parallax_bg")||h.hC(t,"bg-image-crop"))&&(n="bg-cover");var s=d(t);if("bg"==n&&1<r&&1<i&&0<s){a=Math.ceil(r*s),s=Math.ceil(i/s);i+2<a&&(i=a),r+2<s&&(r=s);t=p(t);if(Math.abs(t.w-i)<5||Math.abs(t.h-r)<5)return e}return e=l(e,i,r,n)},o=function(e){if(1==eio_lazy_vars.skip_autoscale)return!1;for(var t=e,a=0;a<=7;a++){if(t.hasAttributes())for(var i=t.attributes,r=/skip-autoscale/,a=i.length-1;0<=a;a--){if(r.test(i[a].name))return!1;if(r.test(i[a].value))return!1}if(!t.parentNode||1!==t.parentNode.nodeType||!t.parentNode.hasAttributes)break;t=t.parentNode}return!0},l=function(e,t,a,i,r=!1){if(null===e)return e;var n=/w=(\d+)/,s=/fit=(\d+),(\d+)/,o=/resize=(\d+),(\d+)/,l=decodeURIComponent(e);if(/\.svg(\?.+)?$/.exec(l))return e;if(0<e.search("\\?")&&0<e.search(eio_lazy_vars.exactdn_domain)){var d=o.exec(l);if(d&&(t<d[1]||r))return"img-w"===i?l.replace(o,"w="+t):"img-h"===i?l.replace(o,"h="+a):l.replace(o,"resize="+t+","+a);o=n.exec(e);if(o&&(t<=o[1]||r)){if("img-h"===i)return l.replace(n,"h="+a);if("bg-cover"!==i&&"img-crop"!==i)return e.replace(n,"w="+t);var c=Math.abs(o[1]-t);return 20<c||a<1080?e.replace(n,"resize="+t+","+a):e}c=s.exec(l);if(c&&(t<c[1]||r)){if("bg-cover"!==i&&"img-crop"!==i)return"img-w"===i?l.replace(s,"w="+t):"img-h"===i?l.replace(s,"h="+a):l.replace(s,"fit="+t+","+a);l=Math.abs(c[1]-t),s=Math.abs(c[2]-a);return 20<l||20<s?e.replace(n,"resize="+t+","+a):e}if(!o&&!c&&!d)return"img"===i?e+"&fit="+t+","+a:"bg-cover"===i||"img-crop"===i?e+"&resize="+t+","+a:"img-h"===i||t<a?e+"&h="+a:e+"&w="+t}return-1==e.search("\\?")&&0<e.search(eio_lazy_vars.exactdn_domain)?"img"===i?e+"?fit="+t+","+a:"bg-cover"===i||"img-crop"===i?e+"?resize="+t+","+a:"img-h"===i||t<a?e+"?h="+a:e+"?w="+t:e},m=function(e){e=/-(\d+)x(\d+)\./.exec(e);return e&&1<e[1]&&1<e[2]?{w:e[1],h:e[2]}:{w:0,h:0}},p=function(e){var t=e.dataset.eioRwidth,e=e.dataset.eioRheight;return 1<t&&1<e?{w:t,h:e}:{w:0,h:0}},d=function(e){var t=e.getAttribute("width"),a=e.getAttribute("height");if(1<t&&1<a)return t/a;a=!1;if(a=(a=e.src&&-1<e.src.search("http")?e.src:a)||e.getAttribute("data-src")){var i=m(a);if(i.w&&i.h)return i.w/i.h}i=p(e);if(i.w&&i.h)return i.w/i.h;e=function(e){var t;if(e.srcset?t=e.srcset.split(","):(e=e.getAttribute("data-srcset"))&&(t=e.split(",")),t){var a=0,i=t.length;if(i){for(;a<i;a++){var r,n=t[a].trim().split(" ");!n[0].length||(n=m(n[0])).w&&n.h&&(r=n)}if(r.w&&r.h)return r}}return{w:0,h:0}}(e);return e.w&&e.h?e.w/e.h:0},y=function(){return eio_lazy_vars.use_dpr&&1<u.devicePixelRatio?u.devicePixelRatio:1};f.addEventListener("lazybeforesizes",function(e){e.target.getAttribute("data-src");var t=10<e.target.dataset.maxWidth?e.target.dataset.maxWidth:9999;e.detail.width>t&&(e.detail.width=t);var a=d(e.target);1<e.target.clientHeight&&a&&(t=Math.min(Math.ceil(a*e.target.clientHeight),t),e.detail.width+2<t&&(e.detail.width=t)),void 0!==e.target._lazysizesWidth&&e.detail.width<e.target._lazysizesWidth&&(e.detail.width=e.target._lazysizesWidth)}),f.addEventListener("lazybeforeunveil",function(e){var t,a,i,r,n=e.target,s=n.getAttribute("data-srcset");
196n.naturalWidth&&!s&&1<n.naturalWidth&&1<n.naturalHeight&&(t=y(),a=n.naturalWidth,i=n.naturalHeight,(e=p(n)).w&&e.w>a&&(a=e.w,i=e.h),a=n.clientWidth&&(1.25*n.clientWidth*t<a||n.clientWidth*t+50<a),i=n.clientHeight&&(1.25*n.clientHeight*t<i||n.clientHeight*t+50<i),(a||i)&&g(n)),ewww_webp_supported&&(!s||(r=n.getAttribute("data-srcset-webp"))&&n.setAttribute("data-srcset",r),(r=n.getAttribute("data-src-webp"))&&n.setAttribute("data-src",r))});function e(e=!1){e.type&&"load"===e.type&&h.autoSizer.checkElems(),y();var t,a=f.getElementsByClassName(h.cfg.loadedClass),i=a.length;if(i)for(t=0;t<i;t++){var r,n,s,o,l,d,c=a[t];c.src&&!c.srcset&&1<c.naturalWidth&&1<c.naturalHeight&&1<c.clientWidth&&1<c.clientHeight&&(r=c.naturalWidth,n=c.naturalHeight,s=u.innerWidth,o=u.innerHeight,l=p(c),d=m(c.src),l.w?s=l.w:d.w&&(s=d.w),l.h?o=l.h:d.h&&(o=d.h),l=c.clientWidth,d=c.clientHeight,(1.1*r<l&&l<=s||1.1*n<d&&d<=o)&&g(c,!0))}}var t,a,i,s,c=(t=e,s=function(){a=null,t()},function(){i=Date.now(),a=a||setTimeout(v,99)});function v(){var e=Date.now()-i;e<99?setTimeout(v,99-e):(u.requestIdleCallback||s)(s)}addEventListener("load",e),addEventListener("resize",c),setTimeout(e,2e4)}),function(e,t){t=t(e,e.document,Date);e.lazySizes=t,"object"==typeof module&&module.exports&&(module.exports=t)}("undefined"!=typeof window?window:{},function(i,f,n){"use strict";var h,g;if(!function(){var e,t={lazyClass:"lazyload",loadedClass:"lazyloaded",loadingClass:"lazyloading",preloadClass:"lazypreload",errorClass:"lazyerror",autosizesClass:"lazyautosizes",fastLoadedClass:"ls-is-cached",iframeLoadMode:0,srcAttr:"data-src",srcsetAttr:"data-srcset",sizesAttr:"data-sizes",minSize:40,customMedia:{},init:!0,expFactor:1.5,hFac:.8,loadMode:2,loadHidden:!0,ricTimeout:0,throttleDelay:125};for(e in g=i.lazySizesConfig||i.lazysizesConfig||{},t)e in g||(g[e]=t[e])}(),!f||!f.getElementsByClassName)return{init:function(){},cfg:g,noSupport:!0};function c(e,t){E(e,t)||e.setAttribute("class",(e[y]("class")||"").trim()+" "+t)}function u(e,t){(t=E(e,t))&&e.setAttribute("class",(e[y]("class")||"").replace(t," "))}function m(e,t){var a;!l&&(a=i.picturefill||g.pf)?(t&&t.src&&!e[y]("srcset")&&e.setAttribute("srcset",t.src),a({reevaluate:!0,elements:[e]})):t&&t.src&&(e.src=t.src)}var a,r,t,s,o,p=f.documentElement,l=i.HTMLPictureElement,d="addEventListener",y="getAttribute",e=i[d].bind(i),v=i.setTimeout,z=i.requestAnimationFrame||v,b=i.requestIdleCallback,_=/^picture$/i,w=["load","error","lazyincluded","_lazyloaded"],C={},A=Array.prototype.forEach,E=function(e,t){return C[t]||(C[t]=new RegExp("(\\s|^)"+t+"(\\s|$)")),C[t].test(e[y]("class")||"")&&C[t]},L=function(t,a,e){var i=e?d:"removeEventListener";e&&L(t,a),w.forEach(function(e){t[i](e,a)})},x=function(e,t,a,i,r){var n=f.createEvent("Event");return(a=a||{}).instance=h,n.initEvent(t,!i,!r),n.detail=a,e.dispatchEvent(n),n},M=function(e,t){return(getComputedStyle(e,null)||{})[t]},W=function(e,t,a){for(a=a||e.offsetWidth;a<g.minSize&&t&&!e._lazysizesWidth;)a=t.offsetWidth,t=t.parentNode;return a},N=(s=[],o=t=[],S._lsFlush=k,S);function k(){var e=o;for(o=t.length?s:t,r=!(a=!0);e.length;)e.shift()();a=!1}function S(e,t){a&&!t?e.apply(this,arguments):(o.push(e),r||(r=!0,(f.hidden?v:z)(k)))}function H(a,e){return e?function(){N(a)}:function(){var e=this,t=arguments;N(function(){a.apply(e,t)})}}function R(e){function t(){var e=n.now()-i;e<99?v(t,99-e):(b||r)(r)}var a,i,r=function(){a=null,e()};return function(){i=n.now(),a=a||v(t,99)}}var j,I,T,O,q,B,F,J,P,D,$,U,G,K,Q,V,X,Y,Z,ee,te,ae,ie,re,ne,se,oe,le,de,ce,ue,fe=(Z=/^img$/i,ee=/^iframe$/i,te="onscroll"in i&&!/(gle|ing)bot/.test(navigator.userAgent),re=-1,ne=function(e){return(U=null==U?"hidden"==M(f.body,"visibility"):U)||!("hidden"==M(e.parentNode,"visibility")&&"hidden"==M(e,"visibility"))},G=ge,Q=ie=ae=0,V=g.throttleDelay,X=g.ricTimeout,Y=b&&49<X?function(){b(me,{timeout:X}),X!==g.ricTimeout&&(X=g.ricTimeout)}:H(function(){v(me)},!0),oe=H(pe),le=function(e){oe({target:e.target})},de=H(function(t,e,a,i,r){var n,s,o,l,d;(o=x(t,"lazybeforeunveil",e)).defaultPrevented||(i&&(a?c(t,g.autosizesClass):t.setAttribute("sizes",i)),n=t[y](g.srcsetAttr),a=t[y](g.srcAttr),r&&(s=(d=t.parentNode)&&_.test(d.nodeName||"")),l=e.firesLoad||"src"in t&&(n||a||s),o={target:t},c(t,g.loadingClass),l&&(clearTimeout(T),T=v(he,2500),L(t,le,!0)),s&&A.call(d.getElementsByTagName("source"),ye),n?t.setAttribute("srcset",n
196):a&&!s&&(ee.test(t.nodeName)?(i=a,0==(d=(e=t).getAttribute("data-load-mode")||g.iframeLoadMode)?e.contentWindow.location.replace(i):1==d&&(e.src=i)):t.src=a),r&&(n||s)&&m(t,{src:a})),t._lazyRace&&delete t._lazyRace,u(t,g.lazyClass),N(function(){var e=t.complete&&1<t.naturalWidth;l&&!e||(e&&c(t,g.fastLoadedClass),pe(o),t._lazyCache=!0,v(function(){"_lazyCache"in t&&delete t._lazyCache},9)),"lazy"==t.loading&&ie--},!0)}),ue=R(function(){g.loadMode=3,se()}),{_:function(){q=n.now(),h.elements=f.getElementsByClassName(g.lazyClass),j=f.getElementsByClassName(g.lazyClass+" "+g.preloadClass),e("scroll",se,!0),e("resize",se,!0),e("pageshow",function(e){var t;!e.persisted||(t=f.querySelectorAll("."+g.loadingClass)).length&&t.forEach&&z(function(){t.forEach(function(e){e.complete&&ce(e)})})}),i.MutationObserver?new MutationObserver(se).observe(p,{childList:!0,subtree:!0,attributes:!0}):(p[d]("DOMNodeInserted",se,!0),p[d]("DOMAttrModified",se,!0),setInterval(se,999)),e("hashchange",se,!0),["focus","mouseover","click","load","transitionend","animationend"].forEach(function(e){f[d](e,se,!0)}),/d$|^c/.test(f.readyState)?ze():(e("load",ze),f[d]("DOMContentLoaded",se),v(ze,2e4)),h.elements.length?(ge(),N._lsFlush()):se()},checkElems:se=function(e){var t;(e=!0===e)&&(X=33),K||(K=!0,(t=V-(n.now()-Q))<0&&(t=0),e||t<9?Y():v(Y,t))},unveil:ce=function(e){var t,a,i,r;e._lazyRace||(!(r="auto"==(i=(a=Z.test(e.nodeName))&&(e[y](g.sizesAttr)||e[y]("sizes"))))&&I||!a||!e[y]("src")&&!e.srcset||e.complete||E(e,g.errorClass)||!E(e,g.lazyClass))&&(t=x(e,"lazyunveilread").detail,r&&Ce.updateElem(e,!0,e.offsetWidth),e._lazyRace=!0,ie++,de(e,t,r,i,a))},_aLSL:ve});function he(e){ie--,e&&!(ie<0)&&e.target||(ie=0)}function ge(){var e,t,a,i,r,n,s,o,l,d,c,u=h.elements;if((O=g.loadMode)&&ie<8&&(e=u.length)){for(t=0,re++;t<e;t++)if(u[t]&&!u[t]._lazyRace)if(!te||h.prematureUnveil&&h.prematureUnveil(u[t]))ce(u[t]);else if((s=u[t][y]("data-expand"))&&(r=+s)||(r=ae),l||(l=!g.expand||g.expand<1?500<p.clientHeight&&500<p.clientWidth?500:370:g.expand,d=(h._defEx=l)*g.expFactor,c=g.hFac,U=null,ae<d&&ie<1&&2<re&&2<O&&!f.hidden?(ae=d,re=0):ae=1<O&&1<re&&ie<6?l:0),o!==r&&(B=innerWidth+r*c,F=innerHeight+r,n=-1*r,o=r),d=u[t].getBoundingClientRect(),($=d.bottom)>=n&&(J=d.top)<=F&&(D=d.right)>=n*c&&(P=d.left)<=B&&($||D||P||J)&&(g.loadHidden||ne(u[t]))&&(I&&ie<3&&!s&&(O<3||re<4)||function(e,t){var a,i=e,r=ne(e);for(J-=t,$+=t,P-=t,D+=t;r&&(i=i.offsetParent)&&i!=f.body&&i!=p;)(r=0<(M(i,"opacity")||1))&&"visible"!=M(i,"overflow")&&(a=i.getBoundingClientRect(),r=D>a.left&&P<a.right&&$>a.top-1&&J<a.bottom+1);return r}(u[t],r))){if(ce(u[t]),i=!0,9<ie)break}else!i&&I&&!a&&ie<4&&re<4&&2<O&&(j[0]||g.preloadAfterLoad)&&(j[0]||!s&&($||D||P||J||"auto"!=u[t][y](g.sizesAttr)))&&(a=j[0]||u[t]);a&&!i&&ce(a)}}function me(){K=!1,Q=n.now(),G()}function pe(e){var t=e.target;t._lazyCache?delete t._lazyCache:(he(e),c(t,g.loadedClass),u(t,g.loadingClass),L(t,le),x(t,"lazyloaded"))}function ye(e){var t,a=e[y](g.srcsetAttr);(t=g.customMedia[e[y]("data-media")||e[y]("media")])&&e.setAttribute("media",t),a&&e.setAttribute("srcset",a)}function ve(){3==g.loadMode&&(g.loadMode=2),ue()}function ze(){I||(n.now()-q<999?v(ze,999):(I=!0,g.loadMode=3,se(),e("scroll",ve,!0)))}var be,_e,we,Ce=(_e=H(function(e,t,a,i){var r,n,s;if(e._lazysizesWidth=i,e.setAttribute("sizes",i+="px"),_.test(t.nodeName||""))for(n=0,s=(r=t.getElementsByTagName("source")).length;n<s;n++)r[n].setAttribute("sizes",i);a.detail.dataAttr||m(e,a.detail)}),{_:function(){be=f.getElementsByClassName(g.autosizesClass),e("resize",we)},checkElems:we=R(function(){var e,t=be.length;if(t)for(e=0;e<t;e++)Ae(be[e])}),updateElem:Ae});function Ae(e,t,a){var i=e.parentNode;i&&(a=W(e,i,a),(t=x(e,"lazybeforesizes",{width:a,dataAttr:!!t})).defaultPrevented||(a=t.detail.width)&&a!==e._lazysizesWidth&&_e(e,i,t,a))}function Ee(){!Ee.i&&f.getElementsByClassName&&(Ee.i=!0,Ce._(),fe._())}return v(function(){g.init&&Ee()}),h={cfg:g,autoSizer:Ce,loader:fe,init:Ee,uP:m,aC:c,rC:u,hC:E,fire:x,gW:W,rAF:N}});; 197/* Elementor bundles are self-contained; this file exists for the elementor-webpack-runtime handle. */ 198; 199"use strict";(function(){var __esmMin=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}
vendor: 5,035 bytes, line 199
199).exports,t),e=null),t.exports),e=__commonJSMin(((e,t)=>{function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.exports=_interopRequireDefault,t.exports.__esModule=!0,t.exports.default=t.exports})),t=__commonJSMin(((e,t)=>{var check=function(e){return e&&e.Math===Math&&e};t.exports=check(typeof globalThis==`object`&&globalThis)||check(typeof window==`object`&&window)||check(typeof self==`object`&&self)||check(typeof global==`object`&&global)||check(typeof e==`object`&&e)||(function(){return this})()||Function(`return this`)()})),n=__commonJSMin(((e,t)=>{t.exports=function(e){try{return!!e()}catch(e){return!0}}})),r=__commonJSMin(((e,t)=>{t.exports=!n()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})})),i=__commonJSMin(((e,t)=>{t.exports=!n()(function(){var e=(function(){}).bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})})),a=__commonJSMin(((e,t)=>{var n=i(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),o=__commonJSMin((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:t})),s=__commonJSMin(((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}})),c=__commonJSMin(((e,t)=>{var n=i(),r=Function.prototype,a=r.call,o=n&&r.bind.bind(a,a);t.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}})),l=__commonJSMin(((e,t)=>{var n=c(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}})),u=__commonJSMin(((e,t)=>{var r=c(),i=n(),a=l(),o=Object,s=r(``.split);t.exports=i(function(){return!o(`z`).propertyIsEnumerable(0)})?function(e){return a(e)===`String`?s(e,``):o(e)}:o})),d=__commonJSMin(((e,t)=>{t.exports=function(e){return e==null}})),f=__commonJSMin(((e,t)=>{var n=d(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`Can't call method on `+e);return e}})),p=__commonJSMin(((e,t)=>{var n=u(),r=f();t.exports=function(e){return n(r(e))}})),m=__commonJSMin(((e,t)=>{var n=typeof document==`object`&&document.all;t.exports=n===void 0&&n!==void 0?function(e){return typeof e==`function`||e===n}:function(e){return typeof e==`function`}})),h=__commonJSMin(((e,t)=>{var n=m();t.exports=function(e){return typeof e==`object`?e!==null:n(e)}})),g=__commonJSMin(((e,n)=>{var r=t(),i=m(),aFunction=function(e){return i(e)?e:void 0};n.exports=function(e,t){return arguments.length<2?aFunction(r[e]):r[e]&&r[e][t]}})),_=__commonJSMin(((e,t)=>{t.exports=c()({}.isPrototypeOf)})),v=__commonJSMin(((e,n)=>{var r=t().navigator,i=r&&r.userAgent;n.exports=i?String(i):``})),y=__commonJSMin(((e,n)=>{var r=t(),i=v(),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,c=s&&s.v8,l,u;c&&(l=c.split(`.`),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&i&&(l=i.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),n.exports=u})),b=__commonJSMin(((e,r)=>{var i=y(),a=n(),o=t().String;r.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol(`symbol detection`);return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41})})),x=__commonJSMin(((e,t)=>{t.exports=b()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`})),S=__commonJSMin(((e,t)=>{var n=g(),r=m(),i=_(),a=x(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}})),C=__commonJSMin(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch(e){return`Object`}}})),w=__commonJSMin(((e,t)=>{var n=m(),r=C(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a function`)}})),T=__commonJSMin(((e,t)=>{var n=w(),r=d();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),E=__commonJSMin(((e,t)=>{var n=a(),r=m(),i=h(),o=TypeError;t.exports=function(e,t){var a,s;if(t===`string`&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||t!==`string`&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw new o(`Can't convert object to primitive value`)}})),D=__commonJSMin(((e,t)=>{t.exports=!1})),O=__commonJSMin(((e,n)=>{var r=t(),i=Object.defineProperty;n.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}})),k=__commonJSMin(((e,n)=>{var r=D(),i=t(),a=O(),o=`__core-js_shared__`,s=n.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:`3.46.0`,mode:r?`pure`:`global`,copyright:`© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)`,license:`https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE`,source:`https://github.com/zloirock/core-js`})})),ee=__commonJSMin(((e,t)=>{var n=k();t.exports=function(e,t){return n[e]||(n[e]=t||{})}})),A=__commonJSMin(((e,t)=>{var n=f(),r=Object;t.exports=function(e){return r(n(e))}})),j=__commonJSMin(((e,t)=>{var n=c(),r=A(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(e,t){return i(r(e),t)}})),te=__commonJSMin(((e,t)=>{var n=c(),r=0,i=Math.random(),a=n(1.1.toString);
vendor: 15,170 bytes, line 199
199t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}})),M=__commonJSMin(((e,n)=>{var r=t(),i=ee(),a=j(),o=te(),s=b(),c=x(),l=r.Symbol,u=i(`wks`),d=c?l.for||l:l&&l.withoutSetter||o;n.exports=function(e){return a(u,e)||(u[e]=s&&a(l,e)?l[e]:d(`Symbol.`+e)),u[e]}})),ne=__commonJSMin(((e,t)=>{var n=a(),r=h(),i=S(),o=T(),s=E(),c=M(),l=TypeError,u=c(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var a=o(e,u),c;if(a){if(t===void 0&&(t=`default`),c=n(a,e,t),!r(c)||i(c))return c;throw new l(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),s(e,t)}})),re=__commonJSMin(((e,t)=>{var n=ne(),r=S();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}})),ie=__commonJSMin(((e,n)=>{var r=t(),i=h(),a=r.document,o=i(a)&&i(a.createElement);n.exports=function(e){return o?a.createElement(e):{}}})),ae=__commonJSMin(((e,t)=>{var i=r(),a=n(),o=ie();t.exports=!i&&!a(function(){return Object.defineProperty(o(`div`),"a",{get:function(){return 7}}).a!==7})})),oe=__commonJSMin((e=>{var t=r(),n=a(),i=o(),c=s(),l=p(),u=re(),d=j(),f=ae(),m=Object.getOwnPropertyDescriptor;e.f=t?m:function getOwnPropertyDescriptor(e,t){if(e=l(e),t=u(t),f)try{return m(e,t)}catch(e){}if(d(e,t))return c(!n(i.f,e,t),e[t])}})),se=__commonJSMin(((e,t)=>{var i=r(),a=n();t.exports=i&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})})),N=__commonJSMin(((e,t)=>{var n=h(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not an object`)}})),P=__commonJSMin((e=>{var t=r(),n=ae(),i=se(),a=N(),o=re(),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=`enumerable`,d=`configurable`,f=`writable`;e.f=t?i?function defineProperty(e,t,n){if(a(e),t=o(t),a(n),typeof e==`function`&&t===`prototype`&&`value`in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:u in n?n[u]:r[u],writable:!1})}return c(e,t,n)}:c:function defineProperty(e,t,r){if(a(e),t=o(t),a(r),n)try{return c(e,t,r)}catch(e){}if(`get`in r||`set`in r)throw new s(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}})),I=__commonJSMin(((e,t)=>{var n=r(),i=P(),a=s();t.exports=n?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}})),ce=__commonJSMin(((e,t)=>{var n=r(),i=j(),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,`name`);t.exports={EXISTS:s,PROPER:s&&(function something(){}).name===`something`,CONFIGURABLE:s&&(!n||n&&o(a,`name`).configurable)}})),le=__commonJSMin(((e,t)=>{var n=c(),r=m(),i=k(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),ue=__commonJSMin(((e,n)=>{var r=t(),i=m(),a=r.WeakMap;n.exports=i(a)&&/native code/.test(String(a))})),L=__commonJSMin(((e,t)=>{var n=ee(),r=te(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}})),R=__commonJSMin(((e,t)=>{t.exports={}})),de=__commonJSMin(((e,n)=>{var r=ue(),i=t(),a=h(),o=I(),s=j(),c=k(),l=L(),u=R(),d=`Object already initialized`,f=i.TypeError,p=i.WeakMap,set,get,has,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(e){return function(t){var n;if(!a(t)||(n=get(t)).type!==e)throw new f(`Incompatible receiver, `+e+` required`);return n}};if(r||c.state){var m=c.state||(c.state=new p);m.get=m.get,m.has=m.has,m.set=m.set,set=function(e,t){if(m.has(e))throw new f(d);return t.facade=e,m.set(e,t),t},get=function(e){return m.get(e)||{}},has=function(e){return m.has(e)}}else{var g=l(`state`);u[g]=!0,set=function(e,t){if(s(e,g))throw new f(d);return t.facade=e,o(e,g,t),t},get=function(e){return s(e,g)?e[g]:{}},has=function(e){return s(e,g)}}n.exports={set,get,has,enforce,getterFor}})),fe=__commonJSMin(((e,t)=>{var i=c(),a=n(),o=m(),s=j(),l=r(),u=ce().CONFIGURABLE,d=le(),f=de(),p=f.enforce,h=f.get,g=String,_=Object.defineProperty,v=i(``.slice),y=i(``.replace),b=i([].join),x=l&&!a(function(){return _(function(){},`length`,{value:8}).length!==8}),S=String(String).split(`String`),C=t.exports=function(e,t,n){v(g(t),0,7)===`Symbol(`&&(t=`[`+y(g(t),/^Symbol\(([^)]*)\).*$/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!s(e,`name`)||u&&e.name!==t)&&(l?_(e,`name`,{value:t,configurable:!0}):e.name=t),x&&n&&s(n,`arity`)&&e.length!==n.arity&&_(e,`length`,{value:n.arity});try{n&&s(n,`constructor`)&&n.constructor?l&&_(e,`prototype`,{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=p(e);return s(r,`source`)||(r.source=b(S,typeof t==`string`?t:``)),e};Function.prototype.toString=C(function toString(){return o(this)&&h(this).source||d(this)},`toString`)})),z=__commonJSMin(((e,t)=>{var n=m(),r=P(),i=fe(),a=O();t.exports=function(e,t,o,s){s||(s={});var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}})),pe=__commonJSMin(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function trunc(e){var t=+e;return(t>0?r:n)(t)}})),me=__commonJSMin(((e,t)=>{var n=pe();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}})),he=__commonJSMin(((e,t)=>{var n=me(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}})),ge=__commonJSMin(((e,t)=>{var n=me(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),B=__commonJSMin(((e,t)=>{var n=ge();t.exports=function(e){return n(e.length)}})),_e=__commonJSMin(((e,t)=>{var n=p(),r=he(),i=B(),createMethod=function(e){return function(t,a,o){var s=n(t),c=i(s);if(c===0)return!e&&-1;var l=r(o,c),u;if(e&&a!==a){for(;c>l;)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}})),ve=__commonJSMin(((e,t)=>{var n=c(),r=j(),i=p(),a=_e().indexOf,o=R(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}})),V=__commonJSMin(((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]})),ye=__commonJSMin((e=>{var t=ve(),n=V().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return t(e,n)}})),be=__commonJSMin((e=>{e.f=Object.getOwnPropertySymbols})),xe=__commonJSMin(((e,t)=>{var n=g(),r=c(),i=ye(),a=be(),o=N(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function ownKeys(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}})),Se=__commonJSMin(((e,t)=>{var n=j(),r=xe(),i=oe(),a=P();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}})),Ce=__commonJSMin(((e,t)=>{var r=n(),i=m(),a=/#|\.prototype\./,isForced=function(e,t){var n=s[o(e)];return n===l?!0:n===c?!1:i(t)?r(t):!!t},o=isForced.normalize=function(e){return String(e).replace(a,`.`).toLowerCase()},s=isForced.data={},c=isForced.NATIVE=`N`,l=isForced.POLYFILL=`P`;t.exports=isForced})),H=__commonJSMin(((e,n)=>{var r=t(),i=oe().f,a=I(),o=z(),s=O(),c=Se(),l=Ce();n.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p=u?r:d?r[n]||s(n,{}):r[n]&&r[n].prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}})),we=__commonJSMin(((e,t)=>{var n=l();t.exports=Array.isArray||function isArray(e){return n(e)===`Array`}})),Te=__commonJSMin(((e,t)=>{var n=r(),i=we(),a=TypeError,o=Object.getOwnPropertyDescriptor;t.exports=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(i(e)&&!o(e,`length`).writable)throw new a(`Cannot set read only .length`);return e.length=t}:function(e,t){return e.length=t}})),Ee=__commonJSMin(((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw n(`Maximum allowed index exceeded`);return e}})),U=__commonJSMin((()=>{var e=H(),t=A(),r=B(),i=Te(),a=Ee(),o=n()(function(){return[].push.call({length:4294967296},1)!==4294967297}),properErrorOnNonWritableLength=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}};e({target:`Array`,proto:!0,arity:1,forced:o||!properErrorOnNonWritableLength()},{push:function push(e){var n=t(this),o=r(n),s=arguments.length;a(o+s);for(var c=0;c<s;c++)n[o]=arguments[c],o++;return i(n,o),o}})})),De=__commonJSMin(((e,t)=>{var n=_(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw new r(`Incorrect invocation`)}})),Oe=__commonJSMin(((e,t)=>{t.exports=!n()(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})})),ke=__commonJSMin(((e,t)=>{var n=j(),r=m(),i=A(),a=L(),o=Oe(),s=a(`IE_PROTO`),c=Object,l=c.prototype;t.exports=o?c.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var a=t.constructor;return r(a)&&t instanceof a?a.prototype:t instanceof c?l:null}})),Ae=__commonJSMin(((e,t)=>{var n=fe(),r=P();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}})),je=__commonJSMin(((e,t)=>{var n=r(),i=P(),a=s();t.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}})),Me=__commonJSMin(((e,t)=>{var n=ve(),r=V();t.exports=Object.keys||function keys(e){return n(e,r)}})),Ne=__commonJSMin((e=>{var t=r(),n=se(),i=P(),a=N(),o=p(),s=Me();e.f=t&&!n?Object.defineProperties:function defineProperties(e,t){a(e);for(var n=o(t),r=s(t),c=r.length,l=0,u;c>l;)i.f(e,u=r[l++],n[u]);return e}})),Pe=__commonJSMin(((e,t)=>{t.exports=g()(`document`,`documentElement`)})),W=__commonJSMin(((e,t)=>{var n=N(),r=Ne(),i=V(),a=R(),o=Pe(),s=ie(),c=L(),l=`>`,u=`<`,d=`prototype`,f=`script`,p=c(`IE_PROTO`),EmptyConstructor=function(){},scriptTag=function(e){return u+f+l+e+u+`/`+f+l},NullProtoObjectViaActiveX=function(e){e.write(scriptTag(``)),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e=s(`iframe`),t=`java`+f+`:`,n;return e.style.display=`none`,o.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(scriptTag(`document.F=Object`)),n.close(),n.F},m,NullProtoObject=function(){try{m=new ActiveXObject(`htmlfile`)}catch(e){}NullProtoObject=typeof document<`u`?document.domain&&m?NullProtoObjectViaActiveX(m):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(m);for(var e=i.length;e--;)delete NullProtoObject[d][i[e]];return NullProtoObject()};a[p]=!0,t.exports=Object.create||function create(e,t){var i;return e===null?i=NullProtoObject():(EmptyConstructor[d]=n(e),i=new EmptyConstructor,EmptyConstructor[d]=null,i[p]=e),t===void 0?i:r.f(i,t)}})),Fe=__commonJSMin(((e,t)=>{var r=n(),i=m(),a=h(),o=W(),s=ke(),c=z(),l=M(),u=D(),d=l(`iterator`),f=!1,p,g,_;[].keys&&(_=[].keys(),`next`in _?(g=s(s(_)),g!==Object.prototype&&(p=g)):f=!0),!a(p)||r(function(){var e={};return p[d].call(e)!==e})?p={}:u&&(p=o(p)),i(p[d])||c(p,d,function(){return this}),t.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:f}})),Ie=__commonJSMin((()=>{var e=H(),i=t(),a=De(),o=N(),s=m(),c=ke(),l=Ae(),u=je(),d=n(),f=j(),p=M(),h=Fe().IteratorPrototype,g=r(),_=D(),v=`constructor`,y=`Iterator`,b=p(`toStringTag`),x=TypeError,S=i[y],C=_||!s(S)||S.prototype!==h||!d(function(){S({})}),w=function Iterator(){if(a(this,h),c(this)===h)throw new x(`Abstract class Iterator not directly constructable`)},defineIteratorPrototypeAccessor=function(e,t){g?l(h,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===h)throw new x(`You can't redefine this property`);f(this,e)?this[e]=t:u(this,e,t)}}):h[e]=t};f(h,b)||defineIteratorPrototypeAccessor(b,y),(C||!f(h,v)||h[v]===Object)&&defineIteratorPrototypeAccessor(v,w),w.prototype=h,e({global:!0,constructor:!0,forced:C},{Iterator:w})})),G=__commonJSMin((()=>{Ie()})),K=__commonJSMin(((e,t)=>{t.exports=function(e){return{iterator:e,next:e.next,done:!1}}})),Le=__commonJSMin(((e,t)=>{var n=z();t.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}})),Re=__commonJSMin(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),q=__commonJSMin(((e,t)=>{var n=a(),r=N(),i=T();t.exports=function(e,t,a){var o,s;r(e);try{if(o=i(e,`return`),!o){if(t===`throw`)throw a;return a}o=n(o,e)}catch(e){s=!0,o=e}if(t===`throw`)throw a;if(s)throw o;return r(o),a}})),ze=__commonJSMin(((e,t)=>{var n=q();t.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(e[i]!==void 0)try{r=n(e[i].iterator,t,r)}catch(e){t=`throw`,r=e}if(t===`throw`)throw r;return r}})),Be=__commonJSMin(((e,t)=>{var n=a(),r=W(),i=I(),o=Le(),s=M(),c=de(),l=T(),u=Fe().IteratorPrototype,d=Re(),f=q(),p=ze(),m=s(`toStringTag`),h=`IteratorHelper`,g=`WrapForValidIterator`,_=`normal`,v=`throw`,y=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?g:h);return o(r(u),{next:function next(){var n=t(this);if(e)return n.nextHandler();if(n.done)return d(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:d(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var a=l(i,`return`);return a?n(a,i):d(void 0,!0)}if(r.inner)try{f(r.inner.iterator,_)}catch(e){return f(i,v,e)}if(r.openIters)try{p(r.openIters,_)}catch(e){return f(i,v,e)}return i&&f(i,_),d(void 0,!0)}})},b=createIteratorProxyPrototype(!0),x=createIteratorProxyPrototype(!1);i(x,m,`Iterator Helper`),t.exports=function(e,t,n){var r=function Iterator(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?g:h,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,y(this,i)};return r.prototype=t?b:x,r}})),Ve=__commonJSMin(((e,t)=>{var n=N(),r=q();t.exports=function(e,t,i,a){try{return a?t(n(i)[0],i[1]):t(i)}catch(t){r(e,`throw`,t)}}})),He=__commonJSMin(((e,t)=>{t.exports=function(e,t){var n=typeof Iterator==`function`&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}})),J=__commonJSMin(((e,n)=>{var r=t();n.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(e){e instanceof t||(o=!1)}if(!o)return a}})),Ue=__commonJSMin((()=>{var e=H(),t=a(),n=w(),r=N(),i=K(),o=Be(),s=Ve(),c=D(),l=q(),u=He(),d=J(),f=!c&&!u(`filter`,function(){}),p=!c&&!f&&d(`filter`,TypeError),m=c||f||p,h=o(function(){for(var e=this.iterator,n=this.predicate,i=this.next,a,o,c;;){if(a=r(t(i,e)),o=this.done=!!a.done,o)return;if(c=a.value,s(e,n,[c,this.counter++],!0))return c}});e({target:`Iterator`,proto:!0,real:!0,forced:m},{filter:function filter(e){r(this);try{n(e)}catch(e){l(this,`throw`,e)}return p?t(p,this,e):new h(i(this),{predicate:e})}})})),Y=__commonJSMin((()=>{Ue()})),We=__commonJSMin(((e,t)=>{var n=l(),r=c();t.exports=function(e){if(n(e)===`Function`)return r(e)}})),Ge=__commonJSMin(((e,t)=>{var n=We(),r=w(),a=i(),o=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:a?o(e,t):function(){return e.apply(t,arguments)}}}
199)),Ke=__commonJSMin(((e,t)=>{t.exports={}})),qe=__commonJSMin(((e,t)=>{var n=M(),r=Ke(),i=n(`iterator`),a=Array.prototype;t.exports=function(e){return e!==void 0&&(r.Array===e||a[i]===e)}})),Je=__commonJSMin(((e,t)=>{var n=M()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`})),Ye=__commonJSMin(((e,t)=>{var n=Je(),r=m(),i=l(),a=M()(`toStringTag`),o=Object,s=i(function(){return arguments}())===`Arguments`,tryGet=function(e,t){try{return e[t]}catch(e){}};t.exports=n?i:function(e){var t,n,c;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=tryGet(t=o(e),a))==`string`?n:s?i(t):(c=i(t))===`Object`&&r(t.callee)?`Arguments`:c}})),Xe=__commonJSMin(((e,t)=>{var n=Ye(),r=T(),i=d(),a=Ke(),o=M()(`iterator`);t.exports=function(e){if(!i(e))return r(e,o)||r(e,`@@iterator`)||a[n(e)]}})),Ze=__commonJSMin(((e,t)=>{var n=a(),r=w(),i=N(),o=C(),s=Xe(),c=TypeError;t.exports=function(e,t){var a=arguments.length<2?s(e):t;if(r(a))return i(n(a,e));throw new c(o(e)+` is not iterable`)}})),Qe=__commonJSMin(((e,t)=>{var n=Ge(),r=a(),i=N(),o=C(),s=qe(),c=B(),l=_(),u=Ze(),d=Xe(),f=q(),p=TypeError,Result=function(e,t){this.stopped=e,this.result=t},m=Result.prototype;t.exports=function(e,t,a){var h=a&&a.that,g=!!(a&&a.AS_ENTRIES),_=!!(a&&a.IS_RECORD),v=!!(a&&a.IS_ITERATOR),y=!!(a&&a.INTERRUPTED),b=n(t,h),x,S,C,w,T,E,D,stop=function(e){return x&&f(x,`normal`),new Result(!0,e)},callFn=function(e){return g?(i(e),y?b(e[0],e[1],stop):b(e[0],e[1])):y?b(e,stop):b(e)};if(_)x=e.iterator;else if(v)x=e;else{if(S=d(e),!S)throw new p(o(e)+` is not iterable`);if(s(S)){for(C=0,w=c(e);w>C;C++)if(T=callFn(e[C]),T&&l(m,T))return T;return new Result(!1)}x=u(e,S)}for(E=_?e.next:x.next;!(D=r(E,x)).done;){try{T=callFn(D.value)}catch(e){f(x,`throw`,e)}if(typeof T==`object`&&T&&l(m,T))return T}return new Result(!1)}})),$e=__commonJSMin((()=>{var e=H(),t=a(),n=Qe(),r=w(),i=N(),o=K(),s=q(),c=J()(`forEach`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:c},{forEach:function forEach(e){i(this);try{r(e)}catch(e){s(this,`throw`,e)}if(c)return t(c,this,e);var a=o(this),l=0;n(a,function(t){e(t,l++)},{IS_RECORD:!0})}})})),X=__commonJSMin((()=>{$e()})),et=__commonJSMin(((e,t)=>{U(),G(),Y(),X();var Module=function(){let e=jQuery,t=arguments,n=this,r={},i,ensureClosureMethods=function(){e.each(n,function(e){let t=n[e];typeof t==`function`&&(n[e]=function(){return t.apply(n,arguments)})})},initSettings=function(){i=n.getDefaultSettings();let r=t[0];r&&e.extend(!0,i,r)},init=function(){n.__construct.apply(n,t),ensureClosureMethods(),initSettings(),n.trigger(`init`)};this.getItems=function(e,t){if(t){let n=t.split(`.`),r=n.splice(0,1);return n.length?e[r]?this.getItems(e[r],n.join(`.`)):void 0:e[r]}return e},this.getSettings=function(e){return this.getItems(i,e)},this.setSettings=function(t,r,a){if(a||(a=i),typeof t==`object`)return e.extend(a,t),n;let o=t.split(`.`),s=o.splice(0,1);return o.length?(a[s]||(a[s]={}),n.setSettings(o.join(`.`),r,a[s])):(a[s]=r,n)},this.getErrorMessage=function(e,t){let n;switch(e){case`forceMethodImplementation`:n=`The method '${t}' must to be implemented in the inheritor child.`;break;default:n=`An error occurs`}return n},this.forceMethodImplementation=function(e){throw Error(this.getErrorMessage(`forceMethodImplementation`,e))},this.on=function(t,i){return typeof t==`object`?(e.each(t,function(e){n.on(e,this)}),n):(t.split(` `).forEach(function(e){r[e]||(r[e]=[]),r[e].push(i)}),n)},this.off=function(e,t){if(!r[e])return n;if(!t)return delete r[e],n;let i=r[e].indexOf(t);return i!==-1&&(delete r[e][i],r[e]=r[e].filter(e=>e)),n},this.trigger=function(t){let i=`on`+t[0].toUpperCase()+t.slice(1),a=Array.prototype.slice.call(arguments,1);n[i]&&n[i].apply(n,a);let o=r[t];return o&&e.each(o,function(e,t){t.apply(n,a)}),n},init()};Module.prototype.__construct=function(){},Module.prototype.getDefaultSettings=function(){return{}},Module.prototype.getConstructorID=function(){return this.constructor.name},Module.extend=function(e){let t=jQuery,n=this,child=function(){return n.apply(this,arguments)};return t.extend(child,n),child.prototype=Object.create(t.extend({},n.prototype,e)),child.prototype.constructor=child,child.__super__=n.prototype,child},t.exports=Module})),tt=__commonJSMin((t=>{var n=e();
199Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,t.default=n(et()).default.extend({elements:null,getDefaultElements(){return{}},bindEvents(){},onInit(){this.initElements(),this.bindEvents()},initElements(){this.elements=this.getDefaultElements()}})})),nt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,U(),G(),X(),e.default=class InstanceType{static[Symbol.hasInstance](e){let t=super[Symbol.hasInstance](e);if(e&&!e.constructor.getInstanceType)return t;if(e&&(e.instanceTypes||(e.instanceTypes=[]),t||this.getInstanceType()===e.constructor.getInstanceType()&&(t=!0),t)){let t=this.getInstanceType===InstanceType.getInstanceType?`BaseInstanceType`:this.getInstanceType();e.instanceTypes.indexOf(t)===-1&&e.instanceTypes.push(t)}return!t&&e&&(t=e.instanceTypes&&Array.isArray(e.instanceTypes)&&e.instanceTypes.indexOf(this.getInstanceType())!==-1),t}static getInstanceType(){elementorModules.ForceMethodImplementation()}constructor(){let e=new.target,t=[];for(;e.__proto__&&e.__proto__.name;)t.push(e.__proto__),e=e.__proto__;t.reverse().forEach(e=>this instanceof e)}}})),rt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var _default=(e,t)=>{t=Array.isArray(t)?t:[t];for(let n of t)if(e.constructor.name===n.prototype[Symbol.toStringTag])return!0;return!1};e.default=_default})),it=__commonJSMin((t=>{var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(nt()),i=n(rt()),ArgsObject=class extends r.default{static getInstanceType(){return`ArgsObject`}constructor(e){super(),this.args=e}requireArgument(e,t=this.args){if(!Object.prototype.hasOwnProperty.call(t,e))throw Error(`${e} is required.`)}requireArgumentType(e,t,n=this.args){if(this.requireArgument(e,n),typeof n[e]!==t)throw Error(`${e} invalid type: ${t}.`)}requireArgumentInstance(e,t,n=this.args){if(this.requireArgument(e,n),!(n[e]instanceof t)&&!(0,i.default)(n[e],t))throw Error(`${e} invalid instance.`)}requireArgumentConstructor(e,t,n=this.args){if(this.requireArgument(e,n),n[e].constructor.toString()!==t.prototype.constructor.toString())throw Error(`${e} invalid constructor type.`)}};t.default=ArgsObject})),at=__commonJSMin((t=>{var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,U(),t.default=n(tt()).default.extend({getDefaultSettings(){return{container:null,items:null,columnsCount:3,verticalSpaceBetween:30}},getDefaultElements(){return{$container:jQuery(this.getSettings(`container`)),$items:jQuery(this.getSettings(`items`))}},run(){var e=[],t=this.elements.$container.position().top,n=this.getSettings(),r=n.columnsCount;t+=parseInt(this.elements.$container.css(`margin-top`),10),this.elements.$items.each(function(i){var a=Math.floor(i/r),o=jQuery(this),s=o[0].getBoundingClientRect().height+n.verticalSpaceBetween;if(a){var c=o.position(),l=i%r,u=c.top-t-e[l];u-=parseInt(o.css(`margin-top`),10),u*=-1,o.css(`margin-top`,u+`px`),e[l]+=s}else e.push(s)})}})})),ot=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,U();var Scroll=class{static scrollObserver(e){let t=0,buildThresholds=(e=0)=>{let t=[];if(e>0&&e<=100){let n=100/e;for(let e=0;e<=100;e+=n)t.push(e/100)}else t.push(0);return t},n={root:e.root||null,rootMargin:e.offset||`0px`,threshold:buildThresholds(e.sensitivity)};function handleIntersect(n){let r=n[0].boundingClientRect.y,i=n[0].isIntersecting,a=r<t?`down`:`up`,o=Math.abs(parseFloat((n[0].intersectionRatio*100).toFixed(2)));e.callback({sensitivity:e.sensitivity,isInViewport:i,scrollPercentage:o,intersectionScrollDirection:a}),t=r}return new IntersectionObserver(handleIntersect,n)}static getElementViewportPercentage(e,t={}){let n=e[0].getBoundingClientRect(),r=t.start||0,i=t.end||0,a=window.innerHeight*r/100,o=window.innerHeight*i/100,s=n.top-window.innerHeight,c=n.top+a+e.height(),l=0-s+a,u=c-s+o,d=Math.max(0,Math.min(l/u,1));return parseFloat((d*100).toFixed(2))}static getPageScrollPercentage(e={},t){let n=e.start||0,r=e.end||0,i=t||document.documentElement.scrollHeight-document.documentElement.clientHeight,a=i*n/100,o=i+a+i*r/100;return(document.documentElement.scrollTop+document.body.scrollTop+a)/o*100}};e.default=Scroll})),st=__commonJSMin(((e,t)=>{var n=M(),r=W(),i=P().f,a=n(`unscopables`),o=Array.prototype;o[a]===void 0&&i(o,a,{configurable:!0,value:r(null)}),t.exports=function(e){o[a][e]=!0}})),ct=__commonJSMin((()=>{var e=H(),t=_e().includes,r=n(),i=st();e({target:`Array`,proto:!0,forced:r(function(){return![,].includes()})},{includes:function includes(e){return t(this,e,arguments.length>1?arguments[1]:void 0)}}),i(`includes`)})),lt=__commonJSMin((e=>
199{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.ForceMethodImplementation=void 0,ct();var t=class ForceMethodImplementation extends Error{constructor(e={},t={}){super(`${e.isStatic?`static `:``}${e.fullName}() should be implemented, please provide '${e.functionName||e.fullName}' functionality.`,t),Object.keys(t).length&&console.error(t),Error.captureStackTrace(this,ForceMethodImplementation)}};e.ForceMethodImplementation=t;var _default=e=>{let n=Error().stack.split(` 200`)[2].trim(),r=n.startsWith(`at new`)?`constructor`:n.split(` `)[1],i={};if(i.functionName=r,i.fullName=r,i.functionName.includes(`.`)){let e=i.functionName.split(`.`);i.className=e[0],i.functionName=e[1]}else i.isStatic=!0;throw new t(i,e)};e.default=_default}));function _typeof(e){"@babel/helpers - typeof";return _typeof=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_typeof(e)}var ut=__esmMin((()=>{}));function toPrimitive(e,t){if(_typeof(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(_typeof(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var dt=__esmMin((()=>{ut()}));function toPropertyKey(e){var t=toPrimitive(e,`string`);return _typeof(t)==`symbol`?t:t+``}var ft=__esmMin((()=>{ut(),dt()}));function _defineProperty(e,t,n){return(t=toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pt=__esmMin((()=>{ft()}));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var mt=__esmMin((()=>{pt()})),ht=__commonJSMin((e=>{mt(),Object.defineProperty(e,"__esModule",{value:!0}),e.createGetInitialState=createGetInitialState;function createGetInitialState(e,t={}){return(n,r)=>{let i=r;if(n.hasOwnProperty(`uploadedData`)){var a;i=!1;let t=n.uploadedData.manifest.templates,r=((a=elementorAppConfig)==null||(a=a[`import-export-customization`])==null?void 0:a.exportGroups)||{};for(let n in t)if(r[t[n].doc_type]===e){i=!0;break}}return _objectSpread2({enabled:i},t)}}}));function _objectWithoutPropertiesLoose(e,t){if(e==null)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}var gt=__esmMin((()=>{}));function _objectWithoutProperties(e,t){if(e==null)return{};var n,r,i=_objectWithoutPropertiesLoose(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}var _t=__esmMin((()=>{gt()})),vt=__commonJSMin((()=>{var e=H(),t=a(),n=w(),r=N(),i=K(),o=Be(),s=Ve(),c=q(),l=He(),u=J(),d=D(),f=!d&&!l(`map`,function(){}),p=!d&&!f&&u(`map`,TypeError),m=d||f||p,h=o(function(){var e=this.iterator,n=r(t(this.next,e));if(!(this.done=!!n.done))return s(e,this.mapper,[n.value,this.counter++],!0)});e({target:`Iterator`,proto:!0,real:!0,forced:m},{map:function map(e){r(this);try{n(e)}catch(e){c(this,`throw`,e)}return p?t(p,this,e):new h(i(this),{mapper:e})}})})),yt=__commonJSMin((()=>{vt()})),bt=__commonJSMin((e=>{_t(),mt();var t=[`children`];Object.defineProperty(e,"__esModule",{value:!0}),e.BaseRegistry=void 0,G(),Y(),X(),yt();var BaseRegistry=class{constructor(){this.sections=new Map}register(e){if(!e.key||!e.title)throw Error(`Template type must have key and title`);let t=this.get(e.key)||this.formatSection(e);if(e.children)if(t.children){let n=new Map(t.children.map(e=>[e.key,e]));
200e.children.forEach(e=>{let t=this.formatSection(e);n.set(e.key,t)}),t.children=Array.from(n.values())}else t.children=e.children.map(e=>this.formatSection(e));this.sections.set(e.key,t)}formatSection(e){let{children:n}=e,r=_objectWithoutProperties(e,t);return _objectSpread2({key:r.key,title:r.title,description:r.description||``,useParentDefault:r.useParentDefault!==!1,getInitialState:r.getInitialState||null,component:r.component||null,order:r.order||10,isAvailable:r.isAvailable||(()=>!0)},r)}getAll(){return Array.from(this.sections.values()).filter(e=>e.isAvailable()).map(e=>e.children?_objectSpread2(_objectSpread2({},e),{},{children:[...e.children].sort((e,t)=>e.order-t.order)}):e).sort((e,t)=>e.order-t.order)}get(e){return this.sections.get(e)}};e.BaseRegistry=BaseRegistry})),xt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.customizationDialogsRegistry=void 0,e.customizationDialogsRegistry=new(bt()).BaseRegistry})),St=__commonJSMin((t=>{var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(et()),i=n(tt()),a=n(it()),o=n(at()),s=n(ot()),c=n(lt()),l=ht(),u=xt(),d={Module:r.default,ViewModule:i.default,ArgsObject:a.default,ForceMethodImplementation:c.default,utils:{Masonry:o.default,Scroll:s.default},importExport:{createGetInitialState:l.createGetInitialState,customizationDialogsRegistry:u.customizationDialogsRegistry}};window.elementorModules?Object.assign(window.elementorModules,d):window.elementorModules=d,t.default=window.elementorModules})),Ct=__commonJSMin((()=>{var e=H(),t=a(),n=Qe(),r=w(),i=N(),o=K(),s=q(),c=J()(`find`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:c},{find:function find(e){i(this);try{r(e)}catch(e){s(this,`throw`,e)}if(c)return t(c,this,e);var a=o(this),l=0;return n(a,function(t,n){if(e(t,l++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})})),Z=__commonJSMin((()=>{Ct()})),wt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,G(),Z();var _default=class extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:`.elementor-element`,nestedDocumentElements:`.elementor .elementor-element`},classes:{editMode:`elementor-edit-mode`}}}getDefaultElements(){let e=this.getSettings(`selectors`);return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};let e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),n=>{t[n]=e.attributes[n]})}else t=this.$element.data(`elementor-settings`)||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each((e,t)=>setTimeout(()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))}onInit(){this.$element=this.getSettings(`$element`),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings(`classes.editMode`)),this.isEdit?elementor.on(`document:loaded`,()=>{elementor.settings.page.model.on(`change`,this.onSettingsChange.bind(this))}):this.runElementsHandlers()}onSettingsChange(){}};e.default=_default})),Tt=__commonJSMin(((e,t)=>{t.exports=elementorModules.ViewModule.extend({getDefaultSettings(){return{element:null,direction:elementorFrontend.config.is_rtl?`right`:`left`,selectors:{container:window},considerScrollbar:!1,cssOutput:`inline`}},getDefaultElements(){return{$element:jQuery(this.getSettings(`element`))}},stretch(){let e=this.getSettings(),t;try{t=jQuery(e.selectors.container)}catch(e){}(!t||!t.length)&&(t=jQuery(this.getDefaultSettings().selectors.container)),this.reset();var n=this.elements.$element,r=t.innerWidth(),i=n.offset().left,a=n.css(`position`)===`fixed`,o=a?0:i,s=window===t[0];if(!s){var c=t.offset().left;a&&(o=c),i>c&&(o=i-c)}if(e.considerScrollbar&&s){let e=window.innerWidth-r;o-=e}a||(elementorFrontend.config.is_rtl&&(o=r-(n.outerWidth()+o)),o=-o),e.margin&&(o+=e.margin);var l={};let u=r;if(e.margin&&(u-=e.margin*2),l.width=u+`px`,l[e.direction]=o+`px`,e.cssOutput===`variables`){this.applyCssVariables(n,l);return}n.css(l)},reset(){let e={},t=this.getSettings(),n=this.elements.$element;if(t.cssOutput===`variables`){this.resetCssVariables(n);return}e.width=``,e[t.direction]=``,n.css(e)},applyCssVariables(e,t){e.css(`--stretch-width`,t.width),t.left?e.css(`--stretch-left`,t.left):e.css(`--stretch-right`,t.right)},resetCssVariables(e){e.css({"--stretch-width":``,"--stretch-left":``,"--stretch-right":``})}})})),Q=__commonJSMin(((e,t)=>{U(),G(),Y(),Z(),X(),t.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__c
200onstruct(e){this.isActive(e)&&(this.$element=e.$element,this.isEdit=this.$element.hasClass(`elementor-element-edit-mode`),this.isEdit&&this.addEditorListeners())},isActive(){return!0},isElementInTheCurrentDocument(){return elementorFrontend.isEditMode()?elementor.documents.currentDocument.id.toString()===this.$element[0].closest(`.elementor`).dataset.elementorId:!1},findElement(e){var t=this.$element;return t.find(e).filter(function(){return jQuery(this).parent().closest(`.elementor-element`).is(t)})},getUniqueHandlerID(e,t){return e||(e=this.getModelCID()),t||(t=this.$element),e+t.attr(`data-element_type`)+this.getConstructorID()},initEditorListeners(){var e=this;if(e.editorListeners=[{event:`element:destroy`,to:elementor.channels.data,callback(t){t.cid===e.getModelCID()&&e.onDestroy()}}],e.onElementChange){let t=e.getWidgetType()||e.getElementType(),n=`change`;t!==`global`&&(n+=`:`+t),e.editorListeners.push({event:n,to:elementor.channels.editor,callback(t,n){e.getUniqueHandlerID(n.model.cid,n.$el)===e.getUniqueHandlerID()&&e.onElementChange(t.model.get(`name`),t,n)}})}e.onEditSettingsChange&&e.editorListeners.push({event:`change:editSettings`,to:elementor.channels.editor,callback(t,n){if(n.model.cid!==e.getModelCID())return;let r=Object.keys(t.changed)[0];e.onEditSettingsChange(r,t.changed[r])}}),[`page`].forEach(function(t){var n=`on`+t[0].toUpperCase()+t.slice(1)+`SettingsChange`;e[n]&&e.editorListeners.push({event:`change`,to:elementor.settings[t].model,callback(t){e[n](t.changed)}})})},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.addListenerOnce(e,t.event,t.callback,t.to)})},removeEditorListeners(){var e=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(t){elementorFrontend.removeListeners(e,t.event,null,t.to)})},getElementType(){return this.$element.data(`element_type`)},getWidgetType(){let e=this.$element.data(`widget_type`);if(e)return e.split(`.`)[0]},getID(){return this.$element.data(`id`)},getModelCID(){return this.$element.data(`model-cid`)},getElementSettings(e){let t={},n=this.getModelCID();if(this.isEdit&&n){let e=elementorFrontend.config.elements.data[n],r=e.attributes,i=r.widgetType||r.elType;r.isInner&&(i=`inner-`+i);let a=elementorFrontend.config.elements.keys[i];a||(a=elementorFrontend.config.elements.keys[i]=[],jQuery.each(e.controls,(e,t)=>{(t.frontend_available||t.editor_available)&&a.push(e)})),jQuery.each(e.getActiveControls(),function(e){if(a.indexOf(e)!==-1){let n=r[e];n.toJSON&&(n=n.toJSON()),t[e]=n}})}else t=this.$element.data(`settings`)||{};return this.getItems(t,e)},getEditSettings(e){var t={};return this.isEdit&&(t=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(t,e)},getCurrentDeviceSetting(e){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),e)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})})),Et=__commonJSMin((t=>{var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,G(),Z();var r=n(Q()),StretchedElement=class extends r.default{getStretchedClass(){return`e-stretched`}getStretchSettingName(){return`stretch_element`}getStretchActiveValue(){return`yes`}bindEvents(){let e=this.getUniqueHandlerID();elementorFrontend.addListenerOnce(e,`resize`,this.stretch),elementorFrontend.addListenerOnce(e,`sticky:stick`,this.stretch,this.$element),elementorFrontend.addListenerOnce(e,`sticky:unstick`,this.stretch,this.$element),elementorFrontend.isEditMode()&&(this.onKitChangeStretchContainerChange=this.onKitChangeStretchContainerChange.bind(this),elementor.channels.editor.on(`kit:change:stretchContainer`,this.onKitChangeStretchContainerChange))}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID(),`resize`,this.stretch),elementorFrontend.isEditMode()&&elementor.channels.editor.off(`kit:change:stretchContainer`,this.onKitChangeStretchContainerChange)}isActive(e){return elementorFrontend.isEditMode()||e.$element.hasClass(this.getStretchedClass())}getStretchElementForConfig(e=null){return e?this.$element.find(e):this.$element}getStretchElementConfig(){return{element:this.getStretchElementForConfig(),selectors:{container:this.getStretchContainer()},considerScrollbar:elementorFrontend.isEditMode()&&elementorFrontend.config.is_rtl}}initStretch(){this.stretch=this.stretch.bind(this),this.stretchElement=new elementorModules.frontend.tools.StretchElement(this.getStretchElementConfig())}getStretchContainer(){return elementorFrontend.getKitSettings(`stretched_section_container`)||window}isStretchSettingEnabled(){return this.getElementSettings(this.getStretchSettingName())===this.getStretchActiveValue()}stretch(){this.isStretchSettingEnabled()&&this.stretchElement.stretch()}onInit(...e){this.isActive(this.getSettings())&&(this.initStretch(),super.onInit(...e),this.stretch())}
200onElementChange(e){this.getStretchSettingName()===e&&(this.isStretchSettingEnabled()?this.stretch():this.stretchElement.reset())}onKitChangeStretchContainerChange(){this.stretchElement.setSettings(`selectors.container`,this.getStretchContainer()),this.stretch()}};t.default=StretchedElement})),Dt=__commonJSMin((t=>{var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(Q()),SwiperHandlerBase=class extends r.default{getInitialSlide(){let e=this.getEditSettings();return e.activeItemIndex?e.activeItemIndex-1:0}getSlidesCount(){return this.elements.$slides.length}togglePauseOnHover(e){e?this.elements.$swiperContainer.on({mouseenter:()=>{this.swiper.autoplay.stop()},mouseleave:()=>{this.swiper.autoplay.start()}}):this.elements.$swiperContainer.off(`mouseenter mouseleave`)}handleKenBurns(){let e=this.getSettings();this.$activeImageBg&&this.$activeImageBg.removeClass(e.classes.kenBurnsActive),this.activeItemIndex=this.swiper?this.swiper.activeIndex:this.getInitialSlide(),this.swiper?this.$activeImageBg=jQuery(this.swiper.slides[this.activeItemIndex]).children(`.`+e.classes.slideBackground):this.$activeImageBg=jQuery(this.elements.$slides[0]).children(`.`+e.classes.slideBackground),this.$activeImageBg.addClass(e.classes.kenBurnsActive)}};t.default=SwiperHandlerBase}));function asyncGeneratorStep(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function _next(e){asyncGeneratorStep(a,r,i,_next,_throw,`next`,e)}function _throw(e){asyncGeneratorStep(a,r,i,_next,_throw,`throw`,e)}_next(void 0)})}}var Ot=__esmMin((()=>{})),kt=__commonJSMin((t=>{Ot();var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,G(),Z(),X();var r=n(Dt()),CarouselHandlerBase=class extends r.default{getDefaultSettings(){return{selectors:{carousel:`.swiper`,swiperWrapper:`.swiper-wrapper`,slideContent:`.swiper-slide`,swiperArrow:`.elementor-swiper-button`,paginationWrapper:`.swiper-pagination`,paginationBullet:`.swiper-pagination-bullet`,paginationBulletWrapper:`.swiper-pagination-bullets`}}}getDefaultElements(){let e=this.getSettings(`selectors`),t={$swiperContainer:this.$element.find(e.carousel),$swiperWrapper:this.$element.find(e.swiperWrapper),$swiperArrows:this.$element.find(e.swiperArrow),$paginationWrapper:this.$element.find(e.paginationWrapper),$paginationBullets:this.$element.find(e.paginationBullet),$paginationBulletWrapper:this.$element.find(e.paginationBulletWrapper)};return t.$slides=t.$swiperContainer.find(e.slideContent),t}getSwiperSettings(){let e=this.getElementSettings(),t=+e.slides_to_show||3,n=t===1,r=elementorFrontend.config.responsive.activeBreakpoints,i={mobile:1,tablet:n?1:2},a={slidesPerView:t,loop:e.infinite===`yes`,speed:e.speed,handleElementorBreakpoints:!0};a.breakpoints={};let o=t;Object.keys(r).reverse().forEach(t=>
200{let n=i[t]?i[t]:o;a.breakpoints[r[t].value]={slidesPerView:+e[`slides_to_show_`+t]||n,slidesPerGroup:+e[`slides_to_scroll_`+t]||1},e.image_spacing_custom&&(a.breakpoints[r[t].value].spaceBetween=this.getSpaceBetween(t)),o=+e[`slides_to_show_`+t]||n}),e.autoplay===`yes`&&(a.autoplay={delay:e.autoplay_speed,disableOnInteraction:e.pause_on_interaction===`yes`}),n?(a.effect=e.effect,e.effect===`fade`&&(a.fadeEffect={crossFade:!0})):a.slidesPerGroup=+e.slides_to_scroll||1,e.image_spacing_custom&&(a.spaceBetween=this.getSpaceBetween());let s=e.navigation===`arrows`||e.navigation===`both`,c=e.navigation===`dots`||e.navigation===`both`||e.pagination;return s&&(a.navigation={prevEl:`.elementor-swiper-button-prev`,nextEl:`.elementor-swiper-button-next`}),c&&(a.pagination={el:`.elementor-element-${this.getID()} .swiper-pagination`,type:e.pagination?e.pagination:`bullets`,clickable:!0,renderBullet:(e,t)=>`<span class="${t}" role="button" tabindex="0" data-bullet-index="${e}" aria-label="${elementorFrontend.config.i18n.a11yCarouselPaginationBulletMessage} ${e+1}"></span>`}),e.lazyload===`yes`&&(a.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),a.a11y={enabled:!0,prevSlideMessage:elementorFrontend.config.i18n.a11yCarouselPrevSlideMessage,nextSlideMessage:elementorFrontend.config.i18n.a11yCarouselNextSlideMessage,firstSlideMessage:elementorFrontend.config.i18n.a11yCarouselFirstSlideMessage,lastSlideMessage:elementorFrontend.config.i18n.a11yCarouselLastSlideMessage},a.on={slideChange:()=>{this.a11ySetPaginationTabindex(),this.handleElementHandlers(),this.a11ySetSlideAriaHidden()},init:()=>{this.a11ySetPaginationTabindex(),this.a11ySetSlideAriaHidden(`initialisation`)}},this.applyOffsetSettings(e,a,t),a}getOffsetWidth(){let e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),`offset_width`,`size`,e)||0}applyOffsetSettings(e,t,n){let r=e.offset_sides;if(!(elementorFrontend.isEditMode()&&this.constructor.name===`NestedCarousel`||!r||r===`none`))switch(r){case`right`:this.forceSliderToShowNextSlideWhenOnLast(t,n),this.addClassToSwiperContainer(`offset-right`);break;case`left`:this.addClassToSwiperContainer(`offset-left`);break;case`both`:this.forceSliderToShowNextSlideWhenOnLast(t,n),this.addClassToSwiperContainer(`offset-both`);break}}forceSliderToShowNextSlideWhenOnLast(e,t){e.slidesPerView=t+.001}addClassToSwiperContainer(e){this.getDefaultElements().$swiperContainer[0].classList.add(e)}onInit(...e){var _superprop_getOnInit=()=>super.onInit,t=this;return _asyncToGenerator(function*(){_superprop_getOnInit().call(t,...e),!(!t.elements.$swiperContainer.length||2>t.elements.$slides.length)&&(yield t.initSwiper(),t.getElementSettings().pause_on_hover===`yes`&&t.togglePauseOnHover(!0))})()}initSwiper(){var e=this;return _asyncToGenerator(function*(){let t=elementorFrontend.utils.swiper;e.swiper=yield new t(e.elements.$swiperContainer,e.getSwiperSettings()),e.elements.$swiperContainer.data(`swiper`,e.swiper)})()}bindEvents(){this.elements.$swiperArrows.on(`keydown`,this.onDirectionArrowKeydown.bind(this)),this.elements.$paginationWrapper.on(`keydown`,`.swiper-pagination-bullet`,this.onDirectionArrowKeydown.bind(this)),this.elements.$swiperContainer.on(`keydown`,`.swiper-slide`,this.onDirectionArrowKeydown.bind(this)),this.$element.find(`:focusable`).on(`focus`,this.onFocusDisableAutoplay.bind(this)),elementorFrontend.elements.$window.on(`resize`,this.getSwiperSettings.bind(this))}unbindEvents(){this.elements.$swiperArrows.off(),this.elements.$paginationWrapper.off(),this.elements.$swiperContainer.off(),this.$element.find(`:focusable`).off(),elementorFrontend.elements.$window.off(`resize`)}onDirectionArrowKeydown(e){let t=elementorFrontend.config.is_rtl,n=[`ArrowLeft`,`ArrowRight`],r=e.originalEvent.code,i=n.indexOf(r)!==-1,a=t?`ArrowRight`:`ArrowLeft`,o=t?`ArrowLeft`:`ArrowRight`;if(i)a===r?this.swiper.slidePrev():o===r&&this.swiper.slideNext();else return!0}onFocusDisableAutoplay(){this.swiper.autoplay.stop()}updateSwiperOption(e){let t=this.getElementSettings()[e],n=this.swiper.params;switch(e){case`autoplay_speed`:n.autoplay.delay=t;break;case`speed`:n.speed=t;break}
200this.swiper.update()}getChangeableProperties(){return{pause_on_hover:`pauseOnHover`,autoplay_speed:`delay`,speed:`speed`,arrows_position:`arrows_position`}}onElementChange(e){if(e.indexOf(`image_spacing_custom`)===0){this.updateSpaceBetween(e);return}if(this.getChangeableProperties()[e])if(e===`pause_on_hover`){let e=this.getElementSettings(`pause_on_hover`);this.togglePauseOnHover(e===`yes`)}else this.updateSwiperOption(e)}onEditSettingsChange(e){e===`activeItemIndex`&&this.swiper.slideToLoop(this.getEditSettings(`activeItemIndex`)-1)}getSpaceBetween(e=null){let t=elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),`image_spacing_custom`,`size`,e);return Number(t)||0}updateSpaceBetween(e){let t=e.match(`image_spacing_custom_(.*)`),n=t?t[1]:`desktop`,r=this.getSpaceBetween(n);n!==`desktop`&&(this.swiper.params.breakpoints[elementorFrontend.config.responsive.activeBreakpoints[n].value].spaceBetween=r),this.swiper.params.spaceBetween=r,this.swiper.update()}getPaginationBullets(e=`array`){let t=this.$element.find(this.getSettings(`selectors`).paginationBullet);return e===`array`?Array.from(t):t}a11ySetPaginationTabindex(){var e,t,n,r,i;let a=(e=this.swiper)==null||(e=e.params)==null?void 0:e.pagination.bulletClass,o=(t=this.swiper)==null||(t=t.params)==null?void 0:t.pagination.bulletActiveClass;this.getPaginationBullets().forEach(e=>{var t;(t=e.classList)!=null&&t.contains(o)||e.removeAttribute(`tabindex`)});let s=((n=event)==null?void 0:n.code)===`ArrowLeft`||((r=event)==null?void 0:r.code)===`ArrowRight`;(i=event)!=null&&(i=i.target)!=null&&(i=i.classList)!=null&&i.contains(a)&&s&&this.$element.find(`.${o}`).trigger(`focus`)}getSwiperWrapperTranformXValue(){var e;let t=(e=this.elements.$swiperWrapper[0])==null?void 0:e.style.transform;return t=t.replace(`translate3d(`,``),t=t.split(`,`),t=parseInt(t[0].replace(`px`,``)),t||0}a11ySetSlideAriaHidden(e=``){var t;if(typeof(e===`initialisation`?0:(t=this.swiper)==null?void 0:t.activeIndex)!=`number`)return;let n=this.getSwiperWrapperTranformXValue(),r=this.elements.$swiperWrapper[0].clientWidth;this.elements.$swiperContainer.find(this.getSettings(`selectors`).slideContent).each((e,t)=>{0<=t.offsetLeft+n&&r>t.offsetLeft+n?(t.removeAttribute(`aria-hidden`),t.removeAttribute(`inert`)):(t.setAttribute(`aria-hidden`,!0),t.setAttribute(`inert`,``))})}handleElementHandlers(){}};
vendor: 19,337 bytes, lines 200-316
200t.default=CarouselHandlerBase})),$=e(),At=$(St()),jt=$(wt()),Mt=$(Tt()),Nt=$(Et()),Pt=$(Q()),Ft=$(Dt()),It=$(kt());At.default.frontend={Document:jt.default,tools:{StretchElement:Mt.default},handlers:{Base:Pt.default,StretchedElement:Nt.default,SwiperBase:Ft.default,CarouselBase:It.default}}})();; 201/*! jQuery UI - v1.13.3 - 2024-04-26 202* https://jqueryui.com 203* Includes: widget.js, position.js, data.js, disable-selection.js, effect.js, effects/effect-blind.js, effects/effect-bounce.js, effects/effect-clip.js, effects/effect-drop.js, effects/effect-explode.js, effects/effect-fade.js, effects/effect-fold.js, effects/effect-highlight.js, effects/effect-puff.js, effects/effect-pulsate.js, effects/effect-scale.js, effects/effect-shake.js, effects/effect-size.js, effects/effect-slide.js, effects/effect-transfer.js, focusable.js, form-reset-mixin.js, jquery-patch.js, keycode.js, labels.js, scroll-parent.js, tabbable.js, unique-id.js, widgets/accordion.js, widgets/autocomplete.js, widgets/button.js, widgets/checkboxradio.js, widgets/controlgroup.js, widgets/datepicker.js, widgets/dialog.js, widgets/draggable.js, widgets/droppable.js, widgets/menu.js, widgets/mouse.js, widgets/progressbar.js, widgets/resizable.js, widgets/selectable.js, widgets/selectmenu.js, widgets/slider.js, widgets/sortable.js, widgets/spinner.js, widgets/tabs.js, widgets/tooltip.js 204* Copyright jQuery Foundation and other contributors; Licensed MIT */ 205!function(t){"use strict";"function"==typeof define&&define.amd?define(["jquery"],t):t(jQuery)}(function(x){"use strict";var t,e,i,n,W,C,o,s,r,l,a,h,u;function E(t,e,i){return[parseFloat(t[0])*(a.test(t[0])?e/100:1),parseFloat(t[1])*(a.test(t[1])?i/100:1)]}function L(t,e){return parseInt(x.css(t,e),10)||0}function N(t){return null!=t&&t===t.window}x.ui=x.ui||{},x.ui.version="1.13.3", 206/*! 207 * jQuery UI :data 1.13.3 208 * https://jqueryui.com 209 * 210 * Copyright OpenJS Foundation and other contributors 211 * Released under the MIT license. 212 * https://jquery.org/license 213 */ 214x.extend(x.expr.pseudos,{data:x.expr.createPseudo?x.expr.createPseudo(function(e){return function(t){return!!x.data(t,e)}}):function(t,e,i){return!!x.data(t,i[3])}}), 215/*! 216 * jQuery UI Disable Selection 1.13.3 217 * https://jqueryui.com 218 * 219 * Copyright OpenJS Foundation and other contributors 220 * Released under the MIT license. 221 * https://jquery.org/license 222 */ 223x.fn.extend({disableSelection:(t="onselectstart"in document.createElement("div")?"selectstart":"mousedown",function(){return this.on(t+".ui-disableSelection",function(t){t.preventDefault()})}),enableSelection:function(){return this.off(".ui-disableSelection")}}), 224/*! 225 * jQuery UI Focusable 1.13.3 226 * https://jqueryui.com 227 * 228 * Copyright OpenJS Foundation and other contributors 229 * Released under the MIT license. 230 * https://jquery.org/license 231 */ 232x.ui.focusable=function(t,e){var i,n,o,s=t.nodeName.toLowerCase();return"area"===s?(o=(i=t.parentNode).name,!(!t.href||!o||"map"!==i.nodeName.toLowerCase())&&0<(i=x("img[usemap='#"+o+"']")).length&&i.is(":visible")):(/^(input|select|textarea|button|object)$/.test(s)?(n=!t.disabled)&&(o=x(t).closest("fieldset")[0])&&(n=!o.disabled):n="a"===s&&t.href||e,n&&x(t).is(":visible")&&function(t){var e=t.css("visibility");for(;"inherit"===e;)t=t.parent(),e=t.css("visibility");return"visible"===e}(x(t)))},x.extend(x.expr.pseudos,{focusable:function(t){return x.ui.focusable(t,null!=x.attr(t,"tabindex"))}}),x.fn._form=function(){return"string"==typeof this[0].form?this.closest("form"):x(this[0].form)}, 233/*! 234 * jQuery UI Form Reset Mixin 1.13.3 235 * https://jqueryui.com 236 * 237 * Copyright OpenJS Foundation and other contributors 238 * Released under the MIT license. 239 * https://jquery.org/license 240 */ 241x.ui.formResetMixin={_formResetHandler:function(){var e=x(this);setTimeout(function(){var t=e.data("ui-form-reset-instances");x.each(t,function(){this.refresh()})})},_bindFormResetHandler:function(){var t;this.form=this.element._form(),this.form.length&&((t=this.form.data("ui-form-reset-instances")||[]).length||this.form.on("reset.ui-form-reset",this._formResetHandler),t.push(this),this.form.data("ui-form-reset-instances",t))},_unbindFormResetHandler:function(){var t;this.form.length&&((t=this.form.data("ui-form-reset-instances")).splice(x.inArray(this,t),1),t.length?this.form.data("ui-form-reset-instances",t):this.form.removeData("ui-form-reset-instances").off("reset.ui-form-reset"))}},x.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()), 242/*! 243 * jQuery UI Support for jQuery core 1.8.x and newer 1.13.3 244 * https://jqueryui.com 245 * 246 * Copyright OpenJS Foundation and other contributors 247 * Released under the MIT license. 248 * https://jquery.org/license 249 * 250 */ 251x.expr.pseudos||(x.expr.pseudos=x.expr[":"]),x.uniqueSort||(x.uniqueSort=x.unique),x.escapeSelector||(e=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g,i=function(t,e){return e?"\0"===t?"�":t.slice(0,-1)+"\\"+t.charCodeAt(t.length-1).toString(16)+" ":"\\"+t},x.escapeSelector=function(t){return(t+"").replace(e,i)}),x.fn.even&&x.fn.odd||x.fn.extend({even:function(){return this.filter(function(t){return t%2==0})},odd:function(){return this.filter(function(t){return t%2==1})}}), 252/*! 253 * jQuery UI Keycode 1.13.3 254 * https://jqueryui.com 255 * 256 * Copyright OpenJS Foundation and other contributors 257 * Released under the MIT license. 258 * https://jquery.org/license 259 */ 260x.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}, 261/*! 262 * jQuery UI Labels 1.13.3 263 * https://jqueryui.com 264 * 265 * Copyright OpenJS Foundation and other contributors 266 * Released under the MIT license. 267 * https://jquery.org/license 268 */ 269x.fn.labels=function(){var t,e,i;return this.length?this[0].labels&&this[0].labels.length?this.pushStack(this[0].labels):(e=this.eq(0).parents("label"),(t=this.attr("id"))&&(i=(i=this.eq(0).parents().last()).add((i.length?i:this).siblings()),t="label[for='"+x.escapeSelector(t)+"']",e=e.add(i.find(t).addBack(t))),this.pushStack(e)):this.pushStack([])},x.ui.plugin={add:function(t,e,i){var n,o=x.ui[t].prototype;for(n in i)o.plugins[n]=o.plugins[n]||[],o.plugins[n].push([e,i[n]])},call:function(t,e,i,n){var o,s=t.plugins[e];if(s&&(n||t.element[0].parentNode&&11!==t.element[0].parentNode.nodeType))for(o=0;o<s.length;o++)t.options[s[o][0]]&&s[o][1].apply(t.element,i)}}, 270/*! 271 * jQuery UI Position 1.13.3 272 * https://jqueryui.com 273 * 274 * Copyright OpenJS Foundation and other contributors 275 * Released under the MIT license. 276 * https://jquery.org/license 277 * 278 * https://api.jqueryui.com/position/ 279 */ 280W=Math.max,C=Math.abs,o=/left|center|right/,s=/top|center|bottom/,r=/[\+\-]\d+(\.[\d]+)?%?/,l=/^\w+/,a=/%$/,h=x.fn.position,x.position={scrollbarWidth:function(){var t,e,i;return void 0!==n?n:(i=(e=x("<div style='display:block;position:absolute;width:200px;height:200px;overflow:hidden;'><div style='height:300px;width:auto;'></div></div>")).children()[0],x("body").append(e),t=i.offsetWidth,e.css("overflow","scroll"),t===(i=i.offsetWidth)&&(i=e[0].clientWidth),e.remove(),n=t-i)},getScrollInfo:function(t){var e=t.isWindow||t.isDocument?"":t.element.css("overflow-x"),i=t.isWindow||t.isDocument?"":t.element.css("overflow-y"),e="scroll"===e||"auto"===e&&t.width<t.element[0].scrollWidth;return{width:"scroll"===i||"auto"===i&&t.height<t.element[0].scrollHeight?x.position.scrollbarWidth():0,height:e?x.position.scrollbarWidth():0}},getWithinInfo:function(t){var e=x(t||window),i=N(e[0]),n=!!e[0]&&9===e[0].nodeType;return{element:e,isWindow:i,isDocument:n,offset:!i&&!n?x(t).offset():{left:0,top:0},scrollLeft:e.scrollLeft(),scrollTop:e.scrollTop(),width:e.outerWidth(),height:e.outerHeight()}}},x.fn.position=function(f){var c,d,p,g,m,v,y,w,b,_,t,e;return f&&f.of?(v="string"==typeof(f=x.extend({},f)).of?x(document).find(f.of):x(f.of),y=x.position.getWithinInfo(f.within),w=x.position.getScrollInfo(y),b=(f.collision||"flip").split(" "),_={},e=9===(e=(t=v)[0]).nodeType?{width:t.width(),height:t.height(),offset:{top:0,left:0}}:N(e)?{width:t.width(),height:t.height(),offset:{top:t.scrollTop(),left:t.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:t.outerWidth(),height:t.outerHeight(),offset:t.offset()},v[0].preventDefault&&(f.at="left top"),d=e.width,p=e.height,m=x.extend({},g=e.offset),x.each(["my","at"],function(){var t,e,i=(f[this]||"").split(" ");(i=1===i.length?o.test(i[0])?i.concat(["center"]):s.test(i[0])?["center"].concat(i):["center","center"]:i)[0]=o.test(i[0])?i[0]:"center",i[1]=s.test(i[1])?i[1]:"center",t=r.exec(i[0]),e=r.exec(i[1]),_[this]=[t?t[0]:0,e?e[0]:0],f[this]=[l.exec(i[0])[0],l.exec(i[1])[0]]}),1===b.length&&(b[1]=b[0]),"right"===f.at[0]?m.left+=d:"center"===f.at[0]&&(m.left+=d/2),"bottom"===f.at[1]?m.top+=p:"center"===f.at[1]&&(m.top+=p/2),c=E(_.at,d,p),m.left+=c[0],m.top+=c[1],this.each(function(){var i,t,r=x(this),l=r.outerWidth(),a=r.outerHeight(),e=L(this,"marginLeft"),n=L(this,"marginTop"),o=l+e+L(this,"marginRight")+w.width,s=a+n+L(this,"marginBottom")+w.height,h=x.extend({},m),u=E(_.my,r.outerWidth(),r.outerHeight());"right"===f.my[0]?h.left-=l:"center"===f.my[0]&&(h.left-=l/2),"bottom"===f.my[1]?h.top-=a:"center"===f.my[1]&&(h.top-=a/2),h.left+=u[0],h.top+=u[1],i={marginLeft:e,marginTop:n},x.each(["left","top"],function(t,e){x.ui.position[b[t]]&&x.ui.position[b[t]][e](h,{targetWidth:d,targetHeight:p,elemWidth:l,elemHeight:a,collisionPosition:i,collisionWidth:o,collisionHeight:s,offset:[c[0]+u[0],c[1]+u[1]],my:f.my,at:f.at,within:y,elem:r})}),f.using&&(t=function(t){var e=g.left-h.left,i=e+d-l,n=g.top-h.top,o=n+p-a,s={target:{element:v,left:g.left,top:g.top,width:d,height:p},element:{element:r,left:h.left,top:h.top,width:l,height:a},horizontal:i<0?"left":0<e?"right":"center",vertical:o<0?"top":0<n?"bottom":"middle"};d<l&&C(e+i)<d&&(s.horizontal="center"),p<a&&C(n+o)<p&&(s.vertical="middle"),W(C(e),C(i))>W(C(n),C(o))?s.important="horizontal":s.important="vertical",f.using.call(this,t,s)}),r.offset(x.extend(h,{using:t}))})):h.apply(this,arguments)},x.ui.position={fit:{left:function(t,e){var i,n=e.within,o=n.isWindow?n.scrollLeft:n.offset.left,n=n.width,s=t.left-e.collisionPosition.marginLeft,r=o-s,l=s+e.collisionWidth-n-o;n<e.collisionWidth?0<r&&l<=0?(i=t.left+r+e.collisionWidth-n-o,t.left+=r-i):t.left=!(0<l&&r<=0)&&l<r?o+n-e.collisionWidth:o:0<r?t.left+=r:0<l?t.left-=l:t.left=W(t.left-s,t.left)},top:function(t,e){var i,n=e.within,n=n.isWindow?n.scrollTop:n.offset.top,o=e.within.height,s=t.top-e.collisionPosition.marginTop,r=n-s,l=s+e.collisionHeight-o-n;o<e.collisionHeight?0<r&&l<=0?(i=t.top+r+e.collisionHeight-o-n,t.top+=r-i):t.top=!(0<l&&r<=0)&&l<r?n+o-e.collisionHeight:n:0<r?t.top+=r:0<l?t.top-=l:t.top=W(t.top-s,t.top)}},flip:{left:function(t,e){var i=e.within,n=i.offset.left+i.scrollLeft,o=i.width,i=i.isWindow?i.scrollLeft:i.offset.left,s=t.left-e.collisionPosition.marginLeft,r=s-i,s=s+e.collisionWidth-o-i,l="left"===e.my[0]?-e.elemWidth:"right"===e.my[0]?e.elemWidth:0,a="left"===e.at[0]?e.targetWidth:"right"===e.at[0]?-e.targetWidth:0,h=-2*e.offset[0];r<0?((o=t.left+l+a+h+e.collisionWidth-o-n)<0||o<C(r))&&(t.left+=l+a+h):0<s&&(0<(n=t.left-e.collisionPosition.marginLeft+l+a+h-i)||C(n)<s)&&(t.left+=l+a+h)},top:function(t,e){var i=e.within,n=i.offset.top+i.scrollTop,o=i.height,i=i.isWindow?i.scrollTop:i.offset.top,s=t.top-e.collisionPosition.marginTop,r=s-i,s=s+e.collisionHeight-o-i,l="top"===e.my[1]?-e.elemHeight:"bottom"===e.my[1]?e.elemHeight:0,a="top"===e.at[1]?e.targetHeight:"bottom"===e.at[1]?-e.targetHeight:0,h=-2*e.offset[1];r<0?((o=t.top+l+a+h+e.collisionHeight-o-n)<0||o<C(r))&&(t.top+=l+a+h):0<s&&(0<(n=t.top-e.collisionPosition.marginTop+l+a+h-i)||C(n)<s)&&(t.top+=l+a+h)}},flipfit:{left:function(){x.ui.position.flip.left.apply(this,arguments),x.ui.position.fit.left.apply(this,arguments)},top:function(){x.ui.position.flip.top.apply(this,arguments),x.ui.position.fit.top.apply(this,arguments)}}},x.ui.safeActiveElement=function(e){var i;try{i=e.activeElement}catch(t){i=e.body}return i=(i=i||e.body).nodeName?i:e.body},x.ui.safeBlur=function(t){t&&"body"!==t.nodeName.toLowerCase()&&x(t).trigger("blur")}, 281/*! 282 * jQuery UI Scroll Parent 1.13.3 283 * https://jqueryui.com 284 * 285 * Copyright OpenJS Foundation and other contributors 286 * Released under the MIT license. 287 * https://jquery.org/license 288 */ 289x.fn.scrollParent=function(t){var e=this.css("position"),i="absolute"===e,n=t?/(auto|scroll|hidden)/:/(auto|scroll)/,t=this.parents().filter(function(){var t=x(this);return(!i||"static"!==t.css("position"))&&n.test(t.css("overflow")+t.css("overflow-y")+t.css("overflow-x"))}).eq(0);return"fixed"!==e&&t.length?t:x(this[0].ownerDocument||document)}, 290/*! 291 * jQuery UI Tabbable 1.13.3 292 * https://jqueryui.com 293 * 294 * Copyright OpenJS Foundation and other contributors 295 * Released under the MIT license. 296 * https://jquery.org/license 297 */ 298x.extend(x.expr.pseudos,{tabbable:function(t){var e=x.attr(t,"tabindex"),i=null!=e;return(!i||0<=e)&&x.ui.focusable(t,i)}}), 299/*! 300 * jQuery UI Unique ID 1.13.3 301 * https://jqueryui.com 302 * 303 * Copyright OpenJS Foundation and other contributors 304 * Released under the MIT license. 305 * https://jquery.org/license 306 */ 307x.fn.extend({uniqueId:(u=0,function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++u)})}),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&x(this).removeAttr("id")})}}); 308/*! 309 * jQuery UI Widget 1.13.3 310 * https://jqueryui.com 311 * 312 * Copyright OpenJS Foundation and other contributors 313 * Released under the MIT license. 314 * https://jquery.org/license 315 */ 316var f,c=0,d=Array.prototype.hasOwnProperty,p=Array.prototype.slice;x.cleanData=(f=x.cleanData,function(t){for(var e,i,n=0;null!=(i=t[n]);n++)(e=x._data(i,"events"))&&e.remove&&x(i).triggerHandler("remove");f(t)}),x.widget=function(t,i,e){var n,o,s,r={},l=t.split(".")[0],a=l+"-"+(t=t.split(".")[1]);return e||(e=i,i=x.Widget),Array.isArray(e)&&(e=x.extend.apply(null,[{}].concat(e))),x.expr.pseudos[a.toLowerCase()]=function(t){return!!x.data(t,a)},x[l]=x[l]||{},n=x[l][t],o=x[l][t]=function(t,e){if(!this||!this._createWidget)return new o(t,e);arguments.length&&this._createWidget(t,e)},x.extend(o,n,{version:e.version,_proto:x.extend({},e),_childConstructors:[]}),(s=new i).options=x.widget.extend({},s.options),x.each(e,function(e,n){function o(){return i.prototype[e].apply(this,arguments)}function s(t){return i.prototype[e].apply(this,t)}r[e]="function"!=typeof n?n:function(){var t,e=this._super,i=this._superApply;return this._super=o,this._superApply=s,t=n.apply(this,arguments),this._super=e,this._superApply=i,t}}),o.prototype=x.widget.extend(s,{widgetEventPrefix:n&&s.widgetEventPrefix||t},r,{constructor:o,namespace:l,widgetName:t,widgetFullName:a}),n?(x.each(n._childConstructors,function(t,e){var i=e.prototype;x.widget(i.namespace+"."+i.widgetName,o,e._proto)}),delete n._childConstructors):i._childConstructors.push(o),x.widget.bridge(t,o),o},x.widget.extend=function(t){for(var e,i,n=p.call(arguments,1),o=0,s=n.length;o<s;o++)for(e in n[o])i=n[o][e],d.call(n[o],e)&&void 0!==i&&(x.isPlainObject(i)?t[e]=x.isPlainObject(t[e])?x.widget.extend({},t[e],i):x.widget.extend({},i):t[e]=i);return t},x.widget.bridge=function(s,e){var r=e.prototype.widgetFullName||s;x.fn[s]=function(i){var t="string"==typeof i,n=p.call(arguments,1),o=this;return t?this.length||"instance"!==i?this.each(function(){var t,e=x.data(this,r);return"instance"===i?(o=e,!1):e?"function"!=typeof e[i]||"_"===i.charAt(0)?x.error("no such method '"+i+"' for "+s+" widget instance"):(t=e[i].apply(e,n))!==e&&void 0!==t?(o=t&&t.jquery?o.pushStack(t.get()):t,!1):void 0:x.error("cannot call methods on "+s+" prior to initialization; attempted to call method '"+i+"'")}):o=void 0:(n.length&&(i=x.widget.extend.apply(null,[i].concat(n))),this.each(function(){var t=x.data(this,r);t?(t.option(i||{}),t._init&&t._init()):x.data(this,r,new e(i,this))})),o}},x.Widget=function(){},x.Widget._childConstructors=[],x.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(t,e){e=x(e||this.defaultElement||this)[0],this.element=x(e),this.uuid=c++,this.eventNamespace="."+this.widgetName+this.uuid,this.bindings=x(),this.hoverable=x(),this.focusable=x(),this.classesElementLookup={},e!==this&&(x.data(e,this.widgetFullName,this),this._on(!0,this.element,{remove:function(t){t.target===e&&this.destroy()}}),this.document=x(e.style?e.ownerDocument:e.document||e),this.window=x(this.document[0].defaultView||this.document[0].parentWindow)),this.options=x.widget.extend({},this.options,this._getCreateOptions(),t),this._create(),this.options.disabled&&this._setOptionDisabled(this.options.disabled),this._trigger("create",null,this._getCreateEventData()),this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:x.noop,_create:x.noop,_init:x.noop,destroy:function(){var i=this;this._destroy(),x.each(this.classesElementLookup,function(t,e){i._removeClass(e,t)}),this.element.off(this.eventNamespace).removeData(this.widgetFullName),this.widget().off(this.eventNamespace).removeAttr("aria-disabled"),this.bindings.off(this.eventNamespace)},_destroy:x.noop,widget:function(){return this.element},option:function(t,e){var i,n,o,s=t;if(0===arguments.length)return x.widget.extend({},this.options);if("string"==typeof t)if(s={},t=(i=t.split(".")).shift(),i.length){for(n=s[t]=x.widget.extend({},this.options[t]),o=0;o<i.length-1;o++)n[i[o]]=n[i[o]]||{},n=n[i[o]];if(t=i.pop(),1===arguments.length)return void 0===n[t]?null:n[t];n[t]=e}else{if(1===arguments.length)return void 0===this.options[t]?null:this.options[t];s[t]=e}return this._setOptions(s),this},_setOptions:function(t){for(var e in t)this._setOption(e,t[e]);return this},_setOption:function(t,e){return"classes"===t&&this._setOptionClasses(e),this.options[t]=e,"disabled"===t&&this._setOptionDisabled(e),this},_setOptionClasses:function(t){var e,i,n;for(e in t)n=this.classesElementLookup[e],t[e]!==this.options.classes[e]&&n&&n.length&&(i=x(n.get()),this._removeClass(n,e),i.addClass(this._classes({element:i,keys:e,classes:t,add:!0})))},_setOptionDisabled:function(t){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!t),t&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(o){var s=[],r=this;function t(t,e){for(var i,n=0;n<t.length;n++)i=r.classesElementLookup[t[n]]||x(),i=o.add?(function(){var i=[];o.element.each(function(t,e){x.map(r.classesElementLookup,function(t){return t}).some(function(t){return t.is(e)})||i.push(e)}),r._on(x(i),{remove:"_untrackClassesElement"})}(),x(x.uniqueSort(i.get().concat(o.element.get())))):x(i.not(o.element).get()),r.classesElementLookup[t[n]]=i,s.push(t[n]),e&&o.classes[t[n]]&&s.push(o.classes[t[n]])}return(o=x.extend({element:this.element,classes:this.options.classes||{}},o)).keys&&t(o.keys.match(/\S+/g)||[],!0),o.extra&&t(o.extra.match(/\S+/g)||[]),s.join(" ")},_untrackClassesElement:function(i){var n=this;x.each(n.classesElementLookup,function(t,e){-1!==x.inArray(i.target,e)&&(n.classesElementLookup[t]=x(e.not(i.target).get()))}),this._off(x(i.target))}
316,_removeClass:function(t,e,i){return this._toggleClass(t,e,i,!1)},_addClass:function(t,e,i){return this._toggleClass(t,e,i,!0)},_toggleClass:function(t,e,i,n){var o="string"==typeof t||null===t,e={extra:o?e:i,keys:o?t:e,element:o?this.element:t,add:n="boolean"==typeof n?n:i};return e.element.toggleClass(this._classes(e),n),this},_on:function(o,s,t){var r,l=this;"boolean"!=typeof o&&(t=s,s=o,o=!1),t?(s=r=x(s),this.bindings=this.bindings.add(s)):(t=s,s=this.element,r=this.widget()),x.each(t,function(t,e){function i(){if(o||!0!==l.options.disabled&&!x(this).hasClass("ui-state-disabled"))return("string"==typeof e?l[e]:e).apply(l,arguments)}"string"!=typeof e&&(i.guid=e.guid=e.guid||i.guid||x.guid++);var t=t.match(/^([\w:-]*)\s*(.*)$/),n=t[1]+l.eventNamespace,t=t[2];t?r.on(n,t,i):s.on(n,i)})},_off:function(t,e){e=(e||"").split(" ").join(this.eventNamespace+" ")+this.eventNamespace,t.off(e),this.bindings=x(this.bindings.not(t).get()),this.focusable=x(this.focusable.not(t).get()),this.hoverable=x(this.hoverable.not(t).get())},_delay:function(t,e){var i=this;return setTimeout(function(){return("string"==typeof t?i[t]:t).apply(i,arguments)},e||0)},_hoverable:function(t){this.hoverable=this.hoverable.add(t),this._on(t,{mouseenter:function(t){this._addClass(x(t.currentTarget),null,"ui-state-hover")},mouseleave:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-hover")}})},_focusable:function(t){this.focusable=this.focusable.add(t),this._on(t,{focusin:function(t){this._addClass(x(t.currentTarget),null,"ui-state-focus")},focusout:function(t){this._removeClass(x(t.currentTarget),null,"ui-state-focus")}})},_trigger:function(t,e,i){var n,o,s=this.options[t];if(i=i||{},(e=x.Event(e)).type=(t===this.widgetEventPrefix?t:this.widgetEventPrefix+t).toLowerCase(),e.target=this.element[0],o=e.originalEvent)for(n in o)n in e||(e[n]=o[n]);return this.element.trigger(e,i),!("function"==typeof s&&!1===s.apply(this.element[0],[e].concat(i))||e.isDefaultPrevented())}},x.each({show:"fadeIn",hide:"fadeOut"},function(s,r){x.Widget.prototype["_"+s]=function(e,t,i){var n,o=(t="string"==typeof t?{effect:t}:t)?!0!==t&&"number"!=typeof t&&t.effect||r:s;"number"==typeof(t=t||{})?t={duration:t}:!0===t&&(t={}),n=!x.isEmptyObject(t),t.complete=i,t.delay&&e.delay(t.delay),n&&x.effects&&x.effects.effect[o]?e[s](t):o!==s&&e[o]?e[o](t.duration,t.easing,i):e.queue(function(t){x(this)[s](),i&&i.call(e[0]),t()})}})});; 317"use strict";(function(){var __esmMin=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(e){throw n=[e],e}},__commonJSMin=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),e=__commonJSMin(((e,t)=>{function _interopRequireDefault(e){return e&&e.__esModule?e:{default:e}}t.exports=_interopRequireDefault,t.exports.__esModule=!0,t.exports.default=t.exports})),t=__commonJSMin(((e,t)=>{var check=function(e){return e&&e.Math===Math&&e};t.exports=check(typeof globalThis==`object`&&globalThis)||check(typeof window==`object`&&window)||check(typeof self==`object`&&self)||check(typeof global==`object`&&global)||check(typeof e==`object`&&e)||(function(){return this})()||Function(`return this`)()})),n=__commonJSMin(((e,t)=>{t.exports=function(e){try{return!!e()}catch(e){return!0}}})),r=__commonJSMin(((e,t)=>{t.exports=!n()(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})})),i=__commonJSMin(((e,t)=>{t.exports=!n()(function(){var e=(function(){}).bind();return typeof e!=`function`||e.hasOwnProperty(`prototype`)})})),a=__commonJSMin(((e,t)=>{var n=i(),r=Function.prototype.call;t.exports=n?r.bind(r):function(){return r.apply(r,arguments)}})),o=__commonJSMin((e=>{var t={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor;e.f=n&&!t.call({1:2},1)?function propertyIsEnumerable(e){var t=n(this,e);return!!t&&t.enumerable}:t})),s=__commonJSMin(((e,t)=>{t.exports=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}})),c=__commonJSMin(((e,t)=>{var n=i(),r=Function.prototype,a=r.call,o=n&&r.bind.bind(a,a);t.exports=n?o:function(e){return function(){return a.apply(e,arguments)}}})),l=__commonJSMin(((e,t)=>{var n=c(),r=n({}.toString),i=n(``.slice);t.exports=function(e){return i(r(e),8,-1)}})),u=__commonJSMin(((e,t)=>{var r=c(),i=n(),a=l(),o=Object,s=r(``.split);t.exports=i(function(){return!o(`z`).propertyIsEnumerable(0)})?function(e){return a(e)===`String`?s(e,``):o(e)}:o})),d=__commonJSMin(((e,t)=>{t.exports=function(e){return e==null}}
vendor: 17,428 bytes, line 317
317)),f=__commonJSMin(((e,t)=>{var n=d(),r=TypeError;t.exports=function(e){if(n(e))throw new r(`Can't call method on `+e);return e}})),p=__commonJSMin(((e,t)=>{var n=u(),r=f();t.exports=function(e){return n(r(e))}})),m=__commonJSMin(((e,t)=>{var n=typeof document==`object`&&document.all;t.exports=n===void 0&&n!==void 0?function(e){return typeof e==`function`||e===n}:function(e){return typeof e==`function`}})),h=__commonJSMin(((e,t)=>{var n=m();t.exports=function(e){return typeof e==`object`?e!==null:n(e)}})),g=__commonJSMin(((e,n)=>{var r=t(),i=m(),aFunction=function(e){return i(e)?e:void 0};n.exports=function(e,t){return arguments.length<2?aFunction(r[e]):r[e]&&r[e][t]}})),_=__commonJSMin(((e,t)=>{t.exports=c()({}.isPrototypeOf)})),v=__commonJSMin(((e,n)=>{var r=t().navigator,i=r&&r.userAgent;n.exports=i?String(i):``})),y=__commonJSMin(((e,n)=>{var r=t(),i=v(),a=r.process,o=r.Deno,s=a&&a.versions||o&&o.version,c=s&&s.v8,l,u;c&&(l=c.split(`.`),u=l[0]>0&&l[0]<4?1:+(l[0]+l[1])),!u&&i&&(l=i.match(/Edge\/(\d+)/),(!l||l[1]>=74)&&(l=i.match(/Chrome\/(\d+)/),l&&(u=+l[1]))),n.exports=u})),b=__commonJSMin(((e,r)=>{var i=y(),a=n(),o=t().String;r.exports=!!Object.getOwnPropertySymbols&&!a(function(){var e=Symbol(`symbol detection`);return!o(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&i&&i<41})})),x=__commonJSMin(((e,t)=>{t.exports=b()&&!Symbol.sham&&typeof Symbol.iterator==`symbol`})),S=__commonJSMin(((e,t)=>{var n=g(),r=m(),i=_(),a=x(),o=Object;t.exports=a?function(e){return typeof e==`symbol`}:function(e){var t=n(`Symbol`);return r(t)&&i(t.prototype,o(e))}})),C=__commonJSMin(((e,t)=>{var n=String;t.exports=function(e){try{return n(e)}catch(e){return`Object`}}})),w=__commonJSMin(((e,t)=>{var n=m(),r=C(),i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not a function`)}})),T=__commonJSMin(((e,t)=>{var n=w(),r=d();t.exports=function(e,t){var i=e[t];return r(i)?void 0:n(i)}})),E=__commonJSMin(((e,t)=>{var n=a(),r=m(),i=h(),o=TypeError;t.exports=function(e,t){var a,s;if(t===`string`&&r(a=e.toString)&&!i(s=n(a,e))||r(a=e.valueOf)&&!i(s=n(a,e))||t!==`string`&&r(a=e.toString)&&!i(s=n(a,e)))return s;throw new o(`Can't convert object to primitive value`)}})),D=__commonJSMin(((e,t)=>{t.exports=!1})),O=__commonJSMin(((e,n)=>{var r=t(),i=Object.defineProperty;n.exports=function(e,t){try{i(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}})),k=__commonJSMin(((e,n)=>{var r=D(),i=t(),a=O(),o=`__core-js_shared__`,s=n.exports=i[o]||a(o,{});(s.versions||(s.versions=[])).push({version:`3.46.0`,mode:r?`pure`:`global`,copyright:`© 2014-2025 Denis Pushkarev (zloirock.ru), 2025 CoreJS Company (core-js.io)`,license:`https://github.com/zloirock/core-js/blob/v3.46.0/LICENSE`,source:`https://github.com/zloirock/core-js`})})),A=__commonJSMin(((e,t)=>{var n=k();t.exports=function(e,t){return n[e]||(n[e]=t||{})}})),j=__commonJSMin(((e,t)=>{var n=f(),r=Object;t.exports=function(e){return r(n(e))}})),M=__commonJSMin(((e,t)=>{var n=c(),r=j(),i=n({}.hasOwnProperty);t.exports=Object.hasOwn||function hasOwn(e,t){return i(r(e),t)}})),N=__commonJSMin(((e,t)=>{var n=c(),r=0,i=Math.random(),a=n(1.1.toString);t.exports=function(e){return`Symbol(`+(e===void 0?``:e)+`)_`+a(++r+i,36)}})),P=__commonJSMin(((e,n)=>{var r=t(),i=A(),a=M(),o=N(),s=b(),c=x(),l=r.Symbol,u=i(`wks`),d=c?l.for||l:l&&l.withoutSetter||o;n.exports=function(e){return a(u,e)||(u[e]=s&&a(l,e)?l[e]:d(`Symbol.`+e)),u[e]}})),ee=__commonJSMin(((e,t)=>{var n=a(),r=h(),i=S(),o=T(),s=E(),c=P(),l=TypeError,u=c(`toPrimitive`);t.exports=function(e,t){if(!r(e)||i(e))return e;var a=o(e,u),c;if(a){if(t===void 0&&(t=`default`),c=n(a,e,t),!r(c)||i(c))return c;throw new l(`Can't convert object to primitive value`)}return t===void 0&&(t=`number`),s(e,t)}})),te=__commonJSMin(((e,t)=>{var n=ee(),r=S();t.exports=function(e){var t=n(e,`string`);return r(t)?t:t+``}})),ne=__commonJSMin(((e,n)=>{var r=t(),i=h(),a=r.document,o=i(a)&&i(a.createElement);n.exports=function(e){return o?a.createElement(e):{}}})),re=__commonJSMin(((e,t)=>{var i=r(),a=n(),o=ne();t.exports=!i&&!a(function(){return Object.defineProperty(o(`div`),"a",{get:function(){return 7}}).a!==7})})),ie=__commonJSMin((e=>{var t=r(),n=a(),i=o(),c=s(),l=p(),u=te(),d=M(),f=re(),m=Object.getOwnPropertyDescriptor;e.f=t?m:function getOwnPropertyDescriptor(e,t){if(e=l(e),t=u(t),f)try{return m(e,t)}catch(e){}if(d(e,t))return c(!n(i.f,e,t),e[t])}})),ae=__commonJSMin(((e,t)=>{var i=r(),a=n();t.exports=i&&a(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})})),I=__commonJSMin(((e,t)=>{var n=h(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(r(e)+` is not an object`)}})),L=__commonJSMin((e=>{var t=r(),n=re(),i=ae(),a=I(),o=te(),s=TypeError,c=Object.defineProperty,l=Object.getOwnPropertyDescriptor,u=`enumerable`,d=`configurable`,f=`writable`;e.f=t?i?function defineProperty(e,t,n){if(a(e),t=o(t),a(n),typeof e==`function`&&t===`prototype`&&`value`in n&&f in n&&!n[f]){var r=l(e,t);r&&r[f]&&(e[t]=n.value,n={configurable:d in n?n[d]:r[d],enumerable:u in n?n[u]:r[u],writable:!1})}return c(e,t,n)}:c:function defineProperty(e,t,r){if(a(e),t=o(t),a(r),n)try{return c(e,t,r)}catch(e){}if(`get`in r||`set`in r)throw new s(`Accessors not supported`);return`value`in r&&(e[t]=r.value),e}})),R=__commonJSMin(((e,t)=>{var n=r(),i=L(),a=s();t.exports=n?function(e,t,n){return i.f(e,t,a(1,n))}:function(e,t,n){return e[t]=n,e}})),oe=__commonJSMin(((e,t)=>{var n=r(),i=M(),a=Function.prototype,o=n&&Object.getOwnPropertyDescriptor,s=i(a,`name`);t.exports={EXISTS:s,PROPER:s&&(function something(){}).name===`something`,CONFIGURABLE:s&&(!n||n&&o(a,`name`).configurable)}})),se=__commonJSMin(((e,t)=>{var n=c(),r=m(),i=k(),a=n(Function.toString);r(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),t.exports=i.inspectSource})),ce=__commonJSMin(((e,n)=>{var r=t(),i=m(),a=r.WeakMap;n.exports=i(a)&&/native code/.test(String(a))})),z=__commonJSMin(((e,t)=>{var n=A(),r=N(),i=n(`keys`);t.exports=function(e){return i[e]||(i[e]=r(e))}})),B=__commonJSMin(((e,t)=>{t.exports={}})),le=__commonJSMin(((e,n)=>{var r=ce(),i=t(),a=h(),o=R(),s=M(),c=k(),l=z(),u=B(),d=`Object already initialized`,f=i.TypeError,p=i.WeakMap,set,get,has,enforce=function(e){return has(e)?get(e):set(e,{})},getterFor=function(e){return function(t){var n;if(!a(t)||(n=get(t)).type!==e)throw new f(`Incompatible receiver, `+e+` required`);return n}};if(r||c.state){var m=c.state||(c.state=new p);m.get=m.get,m.has=m.has,m.set=m.set,set=function(e,t){if(m.has(e))throw new f(d);return t.facade=e,m.set(e,t),t},get=function(e){return m.get(e)||{}},has=function(e){return m.has(e)}}else{var g=l(`state`);u[g]=!0,set=function(e,t){if(s(e,g))throw new f(d);return t.facade=e,o(e,g,t),t},get=function(e){return s(e,g)?e[g]:{}},has=function(e){return s(e,g)}}n.exports={set,get,has,enforce,getterFor}})),ue=__commonJSMin(((e,t)=>{var i=c(),a=n(),o=m(),s=M(),l=r(),u=oe().CONFIGURABLE,d=se(),f=le(),p=f.enforce,h=f.get,g=String,_=Object.defineProperty,v=i(``.slice),y=i(``.replace),b=i([].join),x=l&&!a(function(){return _(function(){},`length`,{value:8}).length!==8}),S=String(String).split(`String`),C=t.exports=function(e,t,n){v(g(t),0,7)===`Symbol(`&&(t=`[`+y(g(t),/^Symbol\(([^)]*)\).*$/,`$1`)+`]`),n&&n.getter&&(t=`get `+t),n&&n.setter&&(t=`set `+t),(!s(e,`name`)||u&&e.name!==t)&&(l?_(e,`name`,{value:t,configurable:!0}):e.name=t),x&&n&&s(n,`arity`)&&e.length!==n.arity&&_(e,`length`,{value:n.arity});try{n&&s(n,`constructor`)&&n.constructor?l&&_(e,`prototype`,{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=p(e);return s(r,`source`)||(r.source=b(S,typeof t==`string`?t:``)),e};Function.prototype.toString=C(function toString(){return o(this)&&h(this).source||d(this)},`toString`)})),V=__commonJSMin(((e,t)=>{var n=m(),r=L(),i=ue(),a=O();t.exports=function(e,t,o,s){s||(s={});var c=s.enumerable,l=s.name===void 0?t:s.name;if(n(o)&&i(o,l,s),s.global)c?e[t]=o:a(t,o);else{try{s.unsafe?e[t]&&(c=!0):delete e[t]}catch(e){}c?e[t]=o:r.f(e,t,{value:o,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}})),de=__commonJSMin(((e,t)=>{var n=Math.ceil,r=Math.floor;t.exports=Math.trunc||function trunc(e){var t=+e;return(t>0?r:n)(t)}})),fe=__commonJSMin(((e,t)=>{var n=de();t.exports=function(e){var t=+e;return t!==t||t===0?0:n(t)}})),pe=__commonJSMin(((e,t)=>{var n=fe(),r=Math.max,i=Math.min;t.exports=function(e,t){var a=n(e);return a<0?r(a+t,0):i(a,t)}})),me=__commonJSMin(((e,t)=>{var n=fe(),r=Math.min;t.exports=function(e){var t=n(e);return t>0?r(t,9007199254740991):0}})),H=__commonJSMin(((e,t)=>{var n=me();t.exports=function(e){return n(e.length)}})),he=__commonJSMin(((e,t)=>{var n=p(),r=pe(),i=H(),createMethod=function(e){return function(t,a,o){var s=n(t),c=i(s);if(c===0)return!e&&-1;var l=r(o,c),u;if(e&&a!==a){for(;c>l;)if(u=s[l++],u!==u)return!0}else for(;c>l;l++)if((e||l in s)&&s[l]===a)return e||l||0;return!e&&-1}};t.exports={includes:createMethod(!0),indexOf:createMethod(!1)}})),ge=__commonJSMin(((e,t)=>{var n=c(),r=M(),i=p(),a=he().indexOf,o=B(),s=n([].push);t.exports=function(e,t){var n=i(e),c=0,l=[],u;for(u in n)!r(o,u)&&r(n,u)&&s(l,u);for(;t.length>c;)r(n,u=t[c++])&&(~a(l,u)||s(l,u));return l}})),U=__commonJSMin(((e,t)=>{t.exports=[`constructor`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`toLocaleString`,`toString`,`valueOf`]})),_e=__commonJSMin((e=>{var t=ge(),n=U().concat(`length`,`prototype`);e.f=Object.getOwnPropertyNames||function getOwnPropertyNames(e){return t(e,n)}})),ve=__commonJSMin((e=>{e.f=Object.getOwnPropertySymbols})),ye=__commonJSMin(((e,t)=>{var n=g(),r=c(),i=_e(),a=ve(),o=I(),s=r([].concat);t.exports=n(`Reflect`,`ownKeys`)||function ownKeys(e){var t=i.f(o(e)),n=a.f;return n?s(t,n(e)):t}})),be=__commonJSMin(((e,t)=>{var n=M(),r=ye(),i=ie(),a=L();t.exports=function(e,t,o){for(var s=r(t),c=a.f,l=i.f,u=0;u<s.length;u++){var d=s[u];!n(e,d)&&!(o&&n(o,d))&&c(e,d,l(t,d))}}})),xe=__commonJSMin(((e,t)=>{var r=n(),i=m(),a=/#|\.prototype\./,isForced=function(e,t){var n=s[o(e)];return n===l?!0:n===c?!1:i(t)?r(t):!!t},o=isForced.normalize=function(e){return String(e).replace(a,`.`).toLowerCase()},s=isForced.data={},c=isForced.NATIVE=`N`,l=isForced.POLYFILL=`P`;t.exports=isForced})),W=__commonJSMin(((e,n)=>{var r=t(),i=ie().f,a=R(),o=V(),s=O(),c=be(),l=xe();n.exports=function(e,t){var n=e.target,u=e.global,d=e.stat,f,p=u?r:d?r[n]||s(n,{}):r[n]&&r[n].prototype,m,h,g,_;if(p)for(m in t){if(g=t[m],e.dontCallGetSet?(_=i(p,m),h=_&&_.value):h=p[m],f=l(u?m:n+(d?`.`:`#`)+m,e.forced),!f&&h!==void 0){if(typeof g==typeof h)continue;c(g,h)}(e.sham||h&&h.sham)&&a(g,`sham`,!0),o(p,m,g,e)}}})),Se=__commonJSMin(((e,t)=>{var n=_(),r=TypeError;t.exports=function(e,t){if(n(t,e))return e;throw new r(`Incorrect invocation`)}})),Ce=__commonJSMin(((e,t)=>{t.exports=!n()(function(){function F(){}return F.prototype.constructor=null,Object.getPrototypeOf(new F)!==F.prototype})})),we=__commonJSMin(((e,t)=>{var n=M(),r=m(),i=j(),a=z(),o=Ce(),s=a(`IE_PROTO`),c=Object,l=c.prototype;t.exports=o?c.getPrototypeOf:function(e){var t=i(e);if(n(t,s))return t[s];var a=t.constructor;return r(a)&&t instanceof a?a.prototype:t instanceof c?l:null}})),Te=__commonJSMin(((e,t)=>{var n=ue(),r=L();t.exports=function(e,t,i){return i.get&&n(i.get,t,{getter:!0}),i.set&&n(i.set,t,{setter:!0}),r.f(e,t,i)}})),Ee=__commonJSMin(((e,t)=>{var n=r(),i=L(),a=s();t.exports=function(e,t,r){n?i.f(e,t,a(0,r)):e[t]=r}})),De=__commonJSMin(((e,t)=>{var n=ge(),r=U();t.exports=Object.keys||function keys(e){return n(e,r)}})),Oe=__commonJSMin((e=>{var t=r(),n=ae(),i=L(),a=I(),o=p(),s=De();e.f=t&&!n?Object.defineProperties:function defineProperties(e,t){a(e);for(var n=o(t),r=s(t),c=r.length,l=0,u;c>l;)i.f(e,u=r[l++],n[u]);return e}})),ke=__commonJSMin(((e,t)=>{t.exports=g()(`document`,`documentElement`)})),Ae=__commonJSMin(((e,t)=>{var n=I(),r=Oe(),i=U(),a=B(),o=ke(),s=ne(),c=z(),l=`>`,u=`<`,d=`prototype`,f=`script`,p=c(`IE_PROTO`),EmptyConstructor=function(){},scriptTag=function(e){return u+f+l+e+u+`/`+f+l},NullProtoObjectViaActiveX=function(e){e.write(scriptTag(``)),e.close();var t=e.parentWindow.Object;return e=null,t},NullProtoObjectViaIFrame=function(){var e=s(`iframe`),t=`java`+f+`:`,n;return e.style.display=`none`,o.appendChild(e),e.src=String(t),n=e.contentWindow.document,n.open(),n.write(scriptTag(`document.F=Object`)),n.close(),n.F},m,NullProtoObject=function(){try{m=new ActiveXObject(`htmlfile`)}catch(e){}NullProtoObject=typeof document<`u`?document.domain&&m?NullProtoObjectViaActiveX(m):NullProtoObjectViaIFrame():NullProtoObjectViaActiveX(m);for(var e=i.length;e--;)delete NullProtoObject[d][i[e]];return NullProtoObject()};a[p]=!0,t.exports=Object.create||function create(e,t){var i;return e===null?i=NullProtoObject():(EmptyConstructor[d]=n(e),i=new EmptyConstructor,EmptyConstructor[d]=null,i[p]=e),t===void 0?i:r.f(i,t)}})),je=__commonJSMin(((e,t)=>{var r=n(),i=m(),a=h(),o=Ae(),s=we(),c=V(),l=P(),u=D(),d=l(`iterator`),f=!1,p,g,_;[].keys&&(_=[].keys(),`next`in _?(g=s(s(_)),g!==Object.prototype&&(p=g)):f=!0),!a(p)||r(function(){var e={};return p[d].call(e)!==e})?p={}:u&&(p=o(p)),i(p[d])||c(p,d,function(){return this}),t.exports={IteratorPrototype:p,BUGGY_SAFARI_ITERATORS:f}})),Me=__commonJSMin((()=>{var e=W(),i=t(),a=Se(),o=I(),s=m(),c=we(),l=Te(),u=Ee(),d=n(),f=M(),p=P(),h=je().IteratorPrototype,g=r(),_=D(),v=`constructor`,y=`Iterator`,b=p(`toStringTag`),x=TypeError,S=i[y],C=_||!s(S)||S.prototype!==h||!d(function(){S({})}),w=function Iterator(){if(a(this,h),c(this)===h)throw new x(`Abstract class Iterator not directly constructable`)},defineIteratorPrototypeAccessor=function(e,t){g?l(h,e,{configurable:!0,get:function(){return t},set:function(t){if(o(this),this===h)throw new x(`You can't redefine this property`);f(this,e)?this[e]=t:u(this,e,t)}}):h[e]=t};f(h,b)||defineIteratorPrototypeAccessor(b,y),(C||!f(h,v)||h[v]===Object)&&defineIteratorPrototypeAccessor(v,w),w.prototype=h,e({global:!0,constructor:!0,forced:C},{Iterator:w})})),G=__commonJSMin((()=>{Me()})),Ne=__commonJSMin(((e,t)=>{var n=l(),r=c();t.exports=function(e){if(n(e)===`Function`)return r(e)}})),Pe=__commonJSMin(((e,t)=>{var n=Ne(),r=w(),a=i(),o=n(n.bind);t.exports=function(e,t){return r(e),t===void 0?e:a?o(e,t):function(){return e.apply(t,arguments)}}})),K=__commonJSMin(((e,t)=>{t.exports={}})),Fe=__commonJSMin(((e,t)=>{var n=P(),r=K(),i=n(`iterator`),a=Array.prototype;t.exports=function(e){return e!==void 0&&(r.Array===e||a[i]===e)}})),Ie=__commonJSMin(((e,t)=>{var n=P()(`toStringTag`),r={};r[n]=`z`,t.exports=String(r)===`[object z]`})),Le=__commonJSMin(((e,t)=>{var n=Ie(),r=m(),i=l(),a=P()(`toStringTag`),o=Object,s=i(function(){return arguments}())===`Arguments`,tryGet=function(e,t){try{return e[t]}catch(e){}};t.exports=n?i:function(e){var t,n,c;return e===void 0?`Undefined`:e===null?`Null`:typeof(n=tryGet(t=o(e),a))==`string`?n:s?i(t):(c=i(t))===`Object`&&r(t.callee)?`Arguments`:c}})),Re=__commonJSMin(((e,t)=>{var n=Le(),r=T(),i=d(),a=K(),o=P()(`iterator`);t.exports=function(e){if(!i(e))return r(e,o)||r(e,`@@iterator`)||a[n(e)]}})),ze=__commonJSMin(((e,t)=>{var n=a(),r=w(),i=I(),o=C(),s=Re(),c=TypeError;t.exports=function(e,t){var a=arguments.length<2?s(e):t;if(r(a))return i(n(a,e));throw new c(o(e)+` is not iterable`)}})),q=__commonJSMin(((e,t)=>{var n=a(),r=I(),i=T();t.exports=function(e,t,a){var o,s;r(e);try{if(o=i(e,`return`),!o){if(t===`throw`)throw a;return a}o=n(o,e)}catch(e){s=!0,o=e}if(t===`throw`)throw a;if(s)throw o;return r(o),a}})),Be=__commonJSMin(((e,t)=>{var n=Pe(),r=a(),i=I(),o=C(),s=Fe(),c=H(),l=_(),u=ze(),d=Re(),f=q(),p=TypeError,Result=function(e,t){this.stopped=e,this.result=t},m=Result.prototype;t.exports=function(e,t,a){var h=a&&a.that,g=!!(a&&a.AS_ENTRIES),_=!!(a&&a.IS_RECORD),v=!!(a&&a.IS_ITERATOR),y=!!(a&&a.INTERRUPTED),b=n(t,h),x,S,C,w,T,E,D,stop=function(e){return x&&f(x,`normal`),new Result(!0,e)},callFn=function(e){return g?(i(e),y?b(e[0],e[1],stop):b(e[0],e[1])):y?b(e,stop):b(e)};if(_)x=e.iterator;else if(v)x=e;else{if(S=d(e),!S)throw new p(o(e)+` is not iterable`);if(s(S)){for(C=0,w=c(e);w>C;C++)if(T=callFn(e[C]),T&&l(m,T))return T;return new Result(!1)}x=u(e,S)}for(E=_?e.next:x.next;!(D=r(E,x)).done;){try{T=callFn(D.value)}catch(e){f(x,`throw`,e)}if(typeof T==`object`&&T&&l(m,T))return T}return new Result(!1)}})),J=__commonJSMin(((e,t)=>{t.exports=function(e){return{iterator:e,next:e.next,done:!1}}})),Y=__commonJSMin(((e,n)=>{var r=t();n.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(e){e instanceof t||(o=!1)}if(!o)return a}})),Ve=__commonJSMin((()=>{var e=W(),t=a(),n=Be(),r=w(),i=I(),o=J(),s=q(),c=Y()(`find`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:c},{find:function find(e){i(this);try{r(e)}catch(e){s(this,`throw`,e)}if(c)return t(c,this,e);var a=o(this),l=0;return n(a,function(t,n){if(e(t,l++))return n(t)},{IS_RECORD:!0,INTERRUPTED:!0}).result}})})),X=__commonJSMin((()=>{Ve()})),He=__commonJSMin((()=>{var e=W(),t=a(),n=Be(),r=w(),i=I(),o=J(),s=q(),c=Y()(`forEach`,TypeError);e({target:`Iterator`,proto:!0,real:!0,forced:c},{forEach:function forEach(e){i(this);try{r(e)}catch(e){s(this,`throw`,e)}if(c)return t(c,this,e);var a=o(this),l=0;n(a,function(t){e(t,l++)},{IS_RECORD:!0})}})})),Z=__commonJSMin((()=>{He()}
317)),Ue=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0})})),We=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.loadChunk=loadChunk;function chunkUrl(e){var t;let n=window.elementorFrontendConfig||{},r=((t=n.urls)==null?void 0:t.assets)||``,i=n.version?`?ver=`+encodeURIComponent(n.version):``;return r+`js/chunks/`+e+`.min.js`+i}var t=window.__elementorChunks=window.__elementorChunks||{},n=new Map;function appendChunkScript(e){return new Promise((n,r)=>{let i=document.createElement(`script`);i.src=chunkUrl(e),i.async=!0,i.onload=()=>{t[e]?n(t[e]):r(Error(`[elementor] chunk "${e}" loaded but did not register`))},i.onerror=()=>r(Error(`[elementor] failed to load chunk "${e}" from ${i.src}`)),document.head.appendChild(i)})}function loadChunk(e){return t[e]?Promise.resolve(t[e]):(n.has(e)||n.set(e,appendChunkScript(e)),n.get(e))}window.__elementorLoadChunk=loadChunk})),Ge=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,G(),X();var _default=class extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{elements:`.elementor-element`,nestedDocumentElements:`.elementor .elementor-element`},classes:{editMode:`elementor-edit-mode`}}}getDefaultElements(){let e=this.getSettings(`selectors`);return{$elements:this.$element.find(e.elements).not(this.$element.find(e.nestedDocumentElements))}}getDocumentSettings(e){let t;if(this.isEdit){t={};let e=elementor.settings.page.model;jQuery.each(e.getActiveControls(),n=>{t[n]=e.attributes[n]})}else t=this.$element.data(`elementor-settings`)||{};return this.getItems(t,e)}runElementsHandlers(){this.elements.$elements.each((e,t)=>setTimeout(()=>elementorFrontend.elementsHandler.runReadyTrigger(t)))}onInit(){this.$element=this.getSettings(`$element`),super.onInit(),this.isEdit=this.$element.hasClass(this.getSettings(`classes.editMode`)),this.isEdit?elementor.on(`document:loaded`,()=>{elementor.settings.page.model.on(`change`,this.onSettingsChange.bind(this))}):this.runElementsHandlers()}onSettingsChange(){}};e.default=_default})),Ke=__commonJSMin((t=>{var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(Ge()),_default=class extends elementorModules.ViewModule{constructor(...e){super(...e),this.documents={},this.initDocumentClasses(),this.attachDocumentsClasses()}getDefaultSettings(){return{selectors:{document:`.elementor`}}}getDefaultElements(){let e=this.getSettings(`selectors`);return{$documents:jQuery(e.document)}}initDocumentClasses(){this.documentClasses={base:r.default},elementorFrontend.hooks.doAction(`elementor/frontend/documents-manager/init-classes`,this)}addDocumentClass(e,t){this.documentClasses[e]=t}attachDocumentsClasses(){this.elements.$documents.each((e,t)=>this.attachDocumentClass(jQuery(t)))}attachDocumentClass(e){let t=e.data(),n=t.elementorId,r=t.elementorType,i=this.documentClasses[r]||this.documentClasses.base;this.documents[n]=new i({$element:e,id:n})}};t.default=_default})),qe=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,G(),Z();var _default=class extends elementorModules.Module{get(e,t){t=t||{};let n;try{n=t.session?sessionStorage:localStorage}catch(t){return e?void 0:{}}let r=n.getItem(`elementor`);r=r?JSON.parse(r):{},r.__expiration||(r.__expiration={});let i=r.__expiration,a=[];e?i[e]&&(a=[e]):a=Object.keys(i);let o=!1;return a.forEach(e=>{new Date(i[e])<new Date&&(delete r[e],delete i[e],o=!0)}),o&&this.save(r,t.session),e?r[e]:r}set(e,t,n){n=n||{};let r=this.get(null,n);if(r[e]=t,n.lifetimeInSeconds){let t=new Date;t.setTime(t.getTime()+n.lifetimeInSeconds*1e3),r.__expiration[e]=t.getTime()}this.save(r,n.session)}save(e,t){let n;try{n=t?sessionStorage:localStorage}catch(e){return}n.setItem(`elementor`,JSON.stringify(e))}};e.default=_default})),Je=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var matchUserAgent=e=>t.indexOf(e)>=0,t=navigator.userAgent,n=!!window.opr&&!!opr.addons||!!window.opera||matchUserAgent(` OPR/`),r=matchUserAgent(`Firefox`),i=/^((?!chrome|android).)*safari/i.test(t)||/constructor/i.test(window.HTMLElement)||(e=>e.toString()===`[object SafariRemoteNotification]`)(!window.safari||typeof safari<`u`&&safari.pushNotification),a=/Trident|MSIE/.test(t)&&!!document.documentMode,o=!a&&!!window.StyleMedia||matchUserAgent(`Edg`),s=!!window.chrome&&matchUserAgent(`Chrome`)&&!(o||n),c=matchUserAgent(`Chrome`)&&!!window.CSS,l=matchUserAgent(`AppleWebKit`)&&!c;e.default={isTouchDevice:`ontouchstart`in window||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>
3170,appleWebkit:l,blink:c,chrome:s,edge:o,firefox:r,ie:a,mac:matchUserAgent(`Macintosh`),opera:n,safari:i,webkit:matchUserAgent(`AppleWebKit`)}})),Q=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var BaseLoader=class extends elementorModules.ViewModule{getDefaultSettings(){return{isInserted:!1,selectors:{firstScript:`script:first`}}}getDefaultElements(){return{$firstScript:jQuery(this.getSettings(`selectors.firstScript`))}}insertAPI(){this.elements.$firstScript.before(jQuery(`<script>`,{src:this.getApiURL()})),this.setSettings(`isInserted`,!0)}getVideoIDFromURL(e){let t=e.match(this.getURLRegex());return t&&t[1]}onApiReady(e){this.getSettings(`isInserted`)||this.insertAPI(),this.isApiLoaded()?e(this.getApiObject()):setTimeout(()=>{this.onApiReady(e)},350)}getAutoplayURL(e){return e.replace(`&autoplay=0`,``)+`&autoplay=1`}};e.default=BaseLoader})),Ye=__commonJSMin((t=>{var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(Q()),YoutubeLoader=class extends r.default{getApiURL(){return`https://www.youtube.com/iframe_api`}getURLRegex(){return/^(?:https?:\/\/)?(?:www\.)?(?:m\.)?(?:youtu\.be\/|youtube\.com\/(?:(?:watch)?\?(?:.*&)?vi?=|(?:embed|v|vi|user|shorts)\/))([^?&"'>]+)/}isApiLoaded(){return window.YT&&YT.loaded}getApiObject(){return YT}};t.default=YoutubeLoader})),Xe=__commonJSMin((t=>{var n=e();Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0;var r=n(Q()),VimeoLoader=class extends r.default{getApiURL(){return`https://player.vimeo.com/api/player.js`}getURLRegex(){return/^(?:https?:\/\/)?(?:www|player\.)?(?:vimeo\.com\/)?(?:video\/|external\/)?(\d+)([^.?&#"'>]?)/}isApiLoaded(){return window.Vimeo}getApiObject(){return Vimeo}getAutoplayURL(e){let t=e.match(/#t=[^&]*/);return e.replace(t[0],``)+t}};t.default=VimeoLoader}));function asyncGeneratorStep(e,t,n,r,i,a,o){try{var s=e[a](o),c=s.value}catch(e){n(e);return}s.done?t(c):Promise.resolve(c).then(r,i)}function _asyncToGenerator(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function _next(e){asyncGeneratorStep(a,r,i,_next,_throw,`next`,e)}function _throw(e){asyncGeneratorStep(a,r,i,_next,_throw,`throw`,e)}_next(void 0)})}}var Ze=__esmMin((()=>{})),Qe=__commonJSMin(((e,t)=>{var n=c(),r=w();t.exports=function(e,t,i){try{return n(r(Object.getOwnPropertyDescriptor(e,t)[i]))}catch(e){}}})),$e=__commonJSMin(((e,t)=>{var n=h();t.exports=function(e){return n(e)||e===null}})),et=__commonJSMin(((e,t)=>{var n=$e(),r=String,i=TypeError;t.exports=function(e){if(n(e))return e;throw new i(`Can't set `+r(e)+` as a prototype`)}})),tt=__commonJSMin(((e,t)=>{var n=Qe(),r=h(),i=f(),a=et();
vendor: 1,882 bytes, line 317
317t.exports=Object.setPrototypeOf||(`__proto__`in{}?function(){var e=!1,t={},o;try{o=n(Object.prototype,`__proto__`,`set`),o(t,[]),e=t instanceof Array}catch(e){}return function setPrototypeOf(t,n){return i(t),a(n),r(t)&&(e?o(t,n):t.__proto__=n),t}}():void 0)})),nt=__commonJSMin(((e,t)=>{var n=m(),r=h(),i=tt();t.exports=function(e,t,a){var o,s;return i&&n(o=t.constructor)&&o!==a&&r(s=o.prototype)&&s!==a.prototype&&i(e,s),e}})),rt=__commonJSMin(((e,t)=>{var n=Le(),r=String;t.exports=function(e){if(n(e)===`Symbol`)throw TypeError(`Cannot convert a Symbol value to a string`);return r(e)}})),it=__commonJSMin(((e,t)=>{var n=rt();t.exports=function(e,t){return e===void 0?arguments.length<2?``:t:n(e)}})),at=__commonJSMin(((e,t)=>{t.exports={IndexSizeError:{s:`INDEX_SIZE_ERR`,c:1,m:1},DOMStringSizeError:{s:`DOMSTRING_SIZE_ERR`,c:2,m:0},HierarchyRequestError:{s:`HIERARCHY_REQUEST_ERR`,c:3,m:1},WrongDocumentError:{s:`WRONG_DOCUMENT_ERR`,c:4,m:1},InvalidCharacterError:{s:`INVALID_CHARACTER_ERR`,c:5,m:1},NoDataAllowedError:{s:`NO_DATA_ALLOWED_ERR`,c:6,m:0},NoModificationAllowedError:{s:`NO_MODIFICATION_ALLOWED_ERR`,c:7,m:1},NotFoundError:{s:`NOT_FOUND_ERR`,c:8,m:1},NotSupportedError:{s:`NOT_SUPPORTED_ERR`,c:9,m:1},InUseAttributeError:{s:`INUSE_ATTRIBUTE_ERR`,c:10,m:1},InvalidStateError:{s:`INVALID_STATE_ERR`,c:11,m:1},SyntaxError:{s:`SYNTAX_ERR`,c:12,m:1},InvalidModificationError:{s:`INVALID_MODIFICATION_ERR`,c:13,m:1},NamespaceError:{s:`NAMESPACE_ERR`,c:14,m:1},InvalidAccessError:{s:`INVALID_ACCESS_ERR`,c:15,m:1},ValidationError:{s:`VALIDATION_ERR`,c:16,m:0},TypeMismatchError:{s:`TYPE_MISMATCH_ERR`,c:17,m:1},SecurityError:{s:`SECURITY_ERR`,c:18,m:1},NetworkError:{s:`NETWORK_ERR`,c:19,m:1},AbortError:{s:`ABORT_ERR`,c:20,m:1},URLMismatchError:{s:`URL_MISMATCH_ERR`,c:21,m:1},QuotaExceededError:{s:`QUOTA_EXCEEDED_ERR`,c:22,m:1},TimeoutError:{s:`TIMEOUT_ERR`,c:23,m:1}
317,InvalidNodeTypeError:{s:`INVALID_NODE_TYPE_ERR`,c:24,m:1},DataCloneError:{s:`DATA_CLONE_ERR`,c:25,m:1}}})),ot=__commonJSMin(((e,t)=>{var n=c(),r=Error,i=n(``.replace),a=(function(e){return String(new r(e).stack)})(`zxcasd`),o=/\n\s*at [^:]*:[^\n]*/,s=o.test(a);t.exports=function(e,t){if(s&&typeof e==`string`&&!r.prepareStackTrace)for(;t--;)e=i(e,o,``);return e}})),st=__commonJSMin((()=>{var e=W(),n=t(),i=g(),a=s(),o=L().f,c=M(),l=Se(),u=nt(),d=it(),f=at(),p=ot(),m=r(),h=D(),_=`DOMException`,v=i(`Error`),y=i(_),b=function DOMException(){l(this,x);var e=arguments.length,t=d(e<1?void 0:arguments[0]),n=new y(t,d(e<2?void 0:arguments[1],`Error`)),r=new v(t);return r.name=_,o(n,`stack`,a(1,p(r.stack,1))),u(n,this,b),n},x=b.prototype=y.prototype,S=`stack`in new v(_),C=`stack`in new y(1,2),w=y&&m&&Object.getOwnPropertyDescriptor(n,_),T=!!w&&!(w.writable&&w.configurable),E=S&&!T&&!C;e({global:!0,constructor:!0,forced:h||E},{DOMException:E?b:y});var O=i(_),k=O.prototype;if(k.constructor!==O){for(var A in h||o(k,`constructor`,a(1,O)),f)if(c(f,A)){var j=f[A],N=j.s;c(O,N)||o(O,N,a(6,j.c))}}})),ct=__commonJSMin((e=>{Ze(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,st();var _default=class extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{links:`a[href^="%23elementor-action"], a[href^="#elementor-action"]`}}}bindEvents(){elementorFrontend.elements.$document.on(`click`,this.getSettings(`selectors.links`),this.runLinkAction.bind(this))}initActions(){this.actions={lightbox:function(){var e=_asyncToGenerator(function*(e){let t=yield elementorFrontend.utils.lightbox;e.slideshow?t.openSlideshow(e.slideshow,e.url):(e.id&&(e.type=`image`),t.showModal(e))});return function lightbox(t){return e.apply(this,arguments)}}()}}addAction(e,t){this.actions[e]=t}runAction(e,...t){e=decodeURI(e),e=decodeURIComponent(e);let n=e.match(/action=(.+?)&/);if(!n)return;let r=this.actions[n[1]];if(!r)return;let i={},a=e.match(/settings=(.+)/);a&&(i=JSON.parse(atob(a[1]))),i.previousEvent=event,r(i,...t)}runLinkAction(e){e.preventDefault(),this.runAction(jQuery(e.currentTarget).attr(`href`),e)}runHashAction(){if(!location.hash)return;let e=document.querySelector(`[data-e-action-hash="${location.hash}"], a[href*="${location.hash}"]`);e&&this.runAction(e.getAttribute(`data-e-action-hash`))}createActionHash(e,t){return encodeURIComponent(`#elementor-action:action=${e}&settings=${btoa(JSON.stringify(t))}`)}onInit(){super.onInit(),this.initActions(),elementorFrontend.on(`components:init`,this.runHashAction.bind(this))}};e.default=_default})),lt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,G(),Z();var SwiperHandler=class{constructor(e,t){var n,r;return this.config=t,this.config.breakpoints&&(this.config=this.adjustConfig(t)),e instanceof jQuery&&(e=e[0]),(n=e.closest(`.elementor-widget-wrap`))==null||n.classList.add(`e-swiper-container`),(r=e.closest(`.elementor-widget`))==null||r.classList.add(`e-widget-swiper`),new Promise(t=>{if(typeof Swiper>`u`){elementorFrontend.utils.assetsLoader.load(`script`,`swiper`).then(()=>t(this.createSwiperInstance(e,this.config)));return}typeof Swiper==`function`&&window.Swiper===void 0&&(window.Swiper=Swiper),t(this.createSwiperInstance(e,this.config))})}createSwiperInstance(e,t){let n=window.Swiper;return n.prototype.adjustConfig=this.adjustConfig,t=this.applyMotionPreferences(t),new n(e,t)}adjustConfig(e){if(!e.handleElementorBreakpoints)return e;let t=elementorFrontend.config.responsive.activeBreakpoints,n=elementorFrontend.breakpoints.getBreakpointValues();return Object.keys(e.breakpoints).forEach(r=>{let i=parseInt(r),a;if(i===t.mobile.value||i+1===t.mobile.value)a=0;else if(t.widescreen&&(i===t.widescreen.value||i+1===t.widescreen.value))a=i;else{let e=n.findIndex(e=>i===e||i+1===e);a=n[e-1]}e.breakpoints[a]=e.breakpoints[r],e.breakpoints[r]={slidesPerView:e.slidesPerView,slidesPerGroup:e.slidesPerGroup?e.slidesPerGroup:1}}),e}applyMotionPreferences(e){return window.matchMedia(`(prefers-reduced-motion: reduce)`).matches?Object.assign({},e,{speed:0,autoplay:!1}):e}};e.default=SwiperHandler})),ut=__commonJSMin((e=>
317{Ze(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,G(),X(),e.default=class LightboxManager extends elementorModules.ViewModule{static getLightbox(){let e=new Promise(e=>{__elementorLoadChunk(`lightbox-lightbox`).then(({default:t})=>e(new t))}),t=elementorFrontend.utils.assetsLoader.load(`script`,`dialog`),n=elementorFrontend.utils.assetsLoader.load(`style`,`dialog`),r=elementorFrontend.utils.assetsLoader.load(`script`,`share-link`),i=elementorFrontend.utils.assetsLoader.load(`style`,`swiper`),a=elementorFrontend.utils.assetsLoader.load(`style`,`e-lightbox`);return Promise.all([e,t,n,r,i,a]).then(()=>e)}getDefaultSettings(){return{selectors:{links:`a, [data-elementor-lightbox]`,slideshow:`[data-elementor-lightbox-slideshow]`}}}getDefaultElements(){return{$links:jQuery(this.getSettings(`selectors.links`)),$slideshow:jQuery(this.getSettings(`selectors.slideshow`))}}isLightboxLink(e){if(e.tagName.toLowerCase()===`a`&&(e.hasAttribute(`download`)||!/^[^?]+\.(png|jpe?g|gif|svg|webp|avif)(\?.*)?$/i.test(e.href))&&!e.dataset.elementorLightboxVideo)return!1;let t=elementorFrontend.getKitSettings(`global_image_lightbox`),n=e.dataset.elementorOpenLightbox;return n===`yes`||t&&n!==`no`}isLightboxSlideshow(){return this.elements.$slideshow.length!==0}onLinkClick(e){var t=this;return _asyncToGenerator(function*(){let n=e.currentTarget,r=jQuery(e.target),i=elementorFrontend.isEditMode(),a=i&&elementor.$previewContents.find(`body`).hasClass(`elementor-editor__ui-state__color-picker`),o=!!r.closest(`.elementor-edit-area`).length;if(!t.isLightboxLink(n)){i&&o&&e.preventDefault();return}e.preventDefault(),!(i&&!elementor.getPreferences(`lightbox_in_editor`))&&(a||(yield LightboxManager.getLightbox()).createLightbox(n))})()}bindEvents(){elementorFrontend.elements.$document.on(`click`,this.getSettings(`selectors.links`),e=>this.onLinkClick(e))}onInit(...e){super.onInit(...e),!elementorFrontend.isEditMode()&&this.maybeActivateLightboxOnLink()}maybeActivateLightboxOnLink(){this.elements.$links.each((e,t)=>{if(this.isLightboxLink(t))return LightboxManager.getLightbox(),!1})}}})),dt=__commonJSMin((e=>{var t;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=class AssetsLoader{getScriptElement(e){let t=document.createElement(`script`);return t.src=e,t}getStyleElement(e){let t=document.createElement(`link`);return t.rel=`stylesheet`,t.href=e,t}
317load(e,t){let n=AssetsLoader.assets[e][t];return n.loader||(n.loader=this.isAssetLoaded(n,e)?Promise.resolve(!0):this.loadAsset(n,e)),n.loader}isAssetLoaded(e,t){var n;let r=t===`script`?`script[src="${e.src}"]`:`link[href="${e.src}"]`;return!!((n=document.querySelectorAll(r))!=null&&n.length)}loadAsset(e,t){return new Promise(n=>{let r=t===`style`?this.getStyleElement(e.src):this.getScriptElement(e.src);r.onload=()=>n(!0),this.appendAsset(e,r)})}appendAsset(e,t){let n=document.querySelector(e.before);if(n){n.insertAdjacentElement(`beforebegin`,t);return}let r=e.parent===`head`?e.parent:`body`;document[r].appendChild(t)}};e.default=n;var r=elementorFrontendConfig.urls.assets,i=elementorFrontendConfig.environmentMode.isScriptDebug?``:`.min`,a=elementorFrontendConfig.version;n.assets={script:{dialog:{src:`${r}lib/dialog/dialog${i}.js?ver=4.9.3`},"share-link":{src:`${r}lib/share-link/share-link${i}.js?ver=${a}`},swiper:{src:`${r}lib/swiper/v8/swiper${i}.js?ver=8.4.5`}},style:{swiper:{src:`${r}lib/swiper/v8/css/swiper${i}.css?ver=8.4.5`,parent:`head`},"e-lightbox":{src:(t=elementorFrontendConfig)!=null&&(t=t.responsive)!=null&&t.hasCu
317stomBreakpoints?`${elementorFrontendConfig.urls.uploadUrl}/elementor/css/custom-lightbox.min.css?ver=${a}`:`${r}css/conditionals/lightbox${i}.css?ver=${a}`},dialog:{src:`${r}css/conditionals/dialog${i}.css?ver=${a}`,parent:`head`,before:`#elementor-frontend-css`}}}}));function _typeof(e){"@babel/helpers - typeof";return _typeof=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},_typeof(e)}var ft=__esmMin((()=>{}));function toPrimitive(e,t){if(_typeof(e)!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(_typeof(r)!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var pt=__esmMin((()=>{ft()}));function toPropertyKey(e){var t=toPrimitive(e,`string`);return _typeof(t)==`symbol`?t:t+``}var mt=__esmMin((()=>{ft(),pt()}));function _defineProperty(e,t,n){return(t=toPropertyKey(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ht=__esmMin((()=>{mt()}));function ownKeys(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function _objectSpread2(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]==null?{}:arguments[t];t%2?ownKeys(Object(n),!0).forEach(function(t){_defineProperty(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ownKeys(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var gt=__esmMin((()=>{ht()})),_t=__commonJSMin(((e,t)=>{var n=l();t.exports=Array.isArray||function isArray(e){return n(e)===`Array`}})),vt=__commonJSMin(((e,t)=>{var n=r(),i=_t(),a=TypeError,o=Object.getOwnPropertyDescriptor;t.exports=n&&!function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(e){return e instanceof TypeError}}()?function(e,t){if(i(e)&&!o(e,`length`).writable)throw new a(`Cannot set read only .length`);return e.length=t}:function(e,t){return e.length=t}})),yt=__commonJSMin(((e,t)=>{var n=TypeError,r=9007199254740991;t.exports=function(e){if(e>r)throw n(`Maximum allowed index exceeded`);return e}})),$=__commonJSMin((()=>{var e=W(),t=j(),r=H(),i=vt(),a=yt(),o=n()(function(){return[].push.call({length:4294967296},1)!==4294967297}),properErrorOnNonWritableLength=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(e){return e instanceof TypeError}};e({target:`Array`,proto:!0,arity:1,forced:o||!properErrorOnNonWritableLength()},{push:function push(e){var n=t(this),o=r(n),s=arguments.length;a(o+s);for(var c=0;c<s;c++)n[o]=arguments[c],o++;return i(n,o),o}})})),bt=__commonJSMin(((e,t)=>{var n=V();t.exports=function(e,t,r){for(var i in t)n(e,i,t[i],r);return e}})),xt=__commonJSMin(((e,t)=>{t.exports=function(e,t){return{value:e,done:t}}})),St=__commonJSMin(((e,t)=>{var n=q();t.exports=function(e,t,r){for(var i=e.length-1;i>=0;i--)if(e[i]!==void 0)try{r=n(e[i].iterator,t,r)}catch(e){t=`throw`,r=e}if(t===`throw`)throw r;return r}})),Ct=__commonJSMin(((e,t)=>{var n=a(),r=Ae(),i=R(),o=bt(),s=P(),c=le(),l=T(),u=je().IteratorPrototype,d=xt(),f=q(),p=St(),m=s(`toStringTag`),h=`IteratorHelper`,g=`WrapForValidIterator`,_=`normal`,v=`throw`,y=c.set,createIteratorProxyPrototype=function(e){var t=c.getterFor(e?g:h);return o(r(u),{next:function next(){var n=t(this);if(e)return n.nextHandler();if(n.done)return d(void 0,!0);try{var r=n.nextHandler();return n.returnHandlerResult?r:d(r,n.done)}catch(e){throw n.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var a=l(i,`return`);return a?n(a,i):d(void 0,!0)}if(r.inner)try{f(r.inner.iterator,_)}catch(e){return f(i,v,e)}if(r.openIters)try{p(r.openIters,_)}catch(e){return f(i,v,e)}return i&&f(i,_),d(void 0,!0)}})},b=createIteratorProxyPrototype(!0),x=createIteratorProxyPrototype(!1);
317i(x,m,`Iterator Helper`),t.exports=function(e,t,n){var r=function Iterator(r,i){i?(i.iterator=r.iterator,i.next=r.next):i=r,i.type=t?g:h,i.returnHandlerResult=!!n,i.nextHandler=e,i.counter=0,i.done=!1,y(this,i)};return r.prototype=t?b:x,r}})),wt=__commonJSMin(((e,t)=>{var n=I(),r=q();t.exports=function(e,t,i,a){try{return a?t(n(i)[0],i[1]):t(i)}catch(t){r(e,`throw`,t)}}})),Tt=__commonJSMin(((e,t)=>{t.exports=function(e,t){var n=typeof Iterator==`function`&&Iterator.prototype[e];if(n)try{n.call({next:null},t).next()}catch(e){return!0}}})),Et=__commonJSMin((()=>{var e=W(),t=a(),n=w(),r=I(),i=J(),o=Ct(),s=wt(),c=q(),l=Tt(),u=Y(),d=D(),f=!d&&!l(`map`,function(){}),p=!d&&!f&&u(`map`,TypeError),m=d||f||p,h=o(function(){var e=this.iterator,n=r(t(this.next,e));if(!(this.done=!!n.done))return s(e,this.mapper,[n.value,this.counter++],!0)});e({target:`Iterator`,proto:!0,real:!0,forced:m},{map:function map(e){r(this);try{n(e)}catch(e){c(this,`throw`,e)}return p?t(p,this,e):new h(i(this),{mapper:e})}})})),Dt=__commonJSMin((()=>{Et()})),Ot=__commonJSMin((e=>{gt(),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,$(),G(),Z(),Dt();var Breakpoints=class extends elementorModules.Module{constructor(e){super(),this.responsiveConfig=e}getActiveBreakpointsList(e={}){e=_objectSpread2(_objectSpread2({},{largeToSmall:!1,withDesktop:!1}),e);let t=Object.keys(this.responsiveConfig.activeBreakpoints);if(e.withDesktop){let e=t.indexOf(`widescreen`)===-1?t.length:t.length-1;t.splice(e,0,`desktop`)}return e.largeToSmall&&t.reverse(),t}getBreakpointValues(){let{activeBreakpoints:e}=this.responsiveConfig,t=[];return Object.values(e).forEach(e=>{t.push(e.value)}),t}getDesktopPreviousDeviceKey(){let e=``,{activeBreakpoints:t}=this.responsiveConfig,n=Object.keys(t),r=n.length;return e=t[n[r-1]].direction===`min`?n[r-2]:n[r-1],e}getDesktopMinPoint(){let{activeBreakpoints:e}=this.responsiveConfig;return e[this.getDesktopPreviousDeviceKey()].value+1}getDeviceMinBreakpoint(e){if(e===`desktop`)return this.getDesktopMinPoint();let{activeBreakpoints:t}=this.responsiveConfig,n=Object.keys(t),r;return r=n[0]===e?320:e===`widescreen`?t[e]?t[e].value:this.responsiveConfig.breakpoints.widescreen:t[n[n.indexOf(e)-1]].value+1,r}getActiveMatchRegex(){return RegExp(this.getActiveBreakpointsList().map(e=>`_`+e).join(`|`)+`$`)}};e.default=Breakpoints})),kt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.Events=void 0;var Events=class{static dispatch(e,t,n=null,r=null){e=e instanceof jQuery?e[0]:e,r&&e.dispatchEvent(new CustomEvent(r,{detail:n})),e.dispatchEvent(new CustomEvent(t,{detail:n}))}};e.Events=Events,e.default=Events})),At=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var _default=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler(`text-path`,()=>__elementorLoadChunk(`text-path`))}};e.default=_default})),jt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var Controls=class{getControlValue(e,t,n){let r;return r=typeof e[t]==`object`&&n?e[t][n]:e[t],r}getResponsiveControlValue(e,t,n=``,r=null){let i=r||elementorFrontend.getCurrentDeviceMode(),a=this.getControlValue(e,t,n);if(i===`widescreen`){let r=this.getControlValue(e,`${t}_widescreen`,n);return r||r===0?r:a}let o=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0}),s=i,c=o.indexOf(i),l=``;for(;c<=o.length;){if(s===`desktop`){l=a;break}let r=`${t}_${s}`,i=this.getControlValue(e,r,n);if(i||i===0){l=i;break}c++,s=o[c]}return l}};e.default=Controls})),Mt=__commonJSMin((()=>{var e=W(),t=a(),n=w(),r=I(),i=J(),o=Ct(),s=wt(),c=D(),l=q(),u=Tt(),d=Y(),f=!c&&!u(`filter`,function(){}),p=!c&&!f&&d(`filter`,TypeError),m=c||f||p,h=o(function(){for(var e=this.iterator,n=this.predicate,i=this.next,a,o,c;;){if(a=r(t(i,e)),o=this.done=!!a.done,o)return;if(c=a.value,s(e,n,[c,this.counter++],!0))return c}});e({target:`Iterator`,proto:!0,real:!0,forced:m},{filter:function filter(e){r(this);try{n(e)}catch(e){l(this,`throw`,e)}return p?t(p,this,e):new h(i(this),{predicate:e})}})})),Nt=__commonJSMin((()=>{Mt()})),Pt=__commonJSMin((e=>
317{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,$(),G(),Nt(),Z();var _default=class extends elementorModules.ViewModule{getDefaultSettings(){return{selectors:{links:`.elementor-element a[href*="#"]`,stickyElements:`.elementor-element.elementor-sticky`}}}onInit(){this.observeStickyElements(()=>{this.initializeStickyAndAnchorTracking()})}observeStickyElements(e){new MutationObserver(t=>{for(let n of t)(n.type===`childList`||n.type===`attributes`&&n.target.classList.contains(`elementor-sticky`))&&e()}).observe(document.body,{childList:!0,subtree:!0,attributes:!0,attributeFilter:[`class`,`style`]})}initializeStickyAndAnchorTracking(){let e=this.getAllAnchorLinks(),t=this.getAllStickyElements(),n=[];!t.length>0&&!e.length>0||(this.trackStickyElements(t,n),this.trackAnchorLinks(e,n),this.organizeStickyAndAnchors(n))}trackAnchorLinks(e,t){e.forEach(e=>{let n=this.getAnchorTarget(e),r=this.getScrollPosition(n);t.push({element:n,type:`anchor`,scrollPosition:r})})}trackStickyElements(e,t){e.forEach(e=>{let n=this.getElementSettings(e);if(!n||!n.sticky_anchor_link_offset)return;let{sticky_anchor_link_offset:r}=n;if(r===0)return;let i=this.getScrollPosition(e);t.push({scrollMarginTop:r,type:`sticky`,scrollPosition:i})})}
317organizeStickyAndAnchors(e){let t=this.filterAndSortElementsByType(e,`sticky`),n=this.filterAndSortElementsByType(e,`anchor`);t.forEach((e,r)=>{this.defineCurrentStickyRange(e,r,t,n)})}defineCurrentStickyRange(e,t,n,r){let i=t+1<n.length?n[t+1].scrollPosition:1/0;e.anchor=r.filter(t=>{let n=t.scrollPosition>e.scrollPosition&&t.scrollPosition<i;return n&&(t.element.style.scrollMarginTop=`${e.scrollMarginTop}px`),n})}getScrollPosition(e){let t=0;for(;e;)t+=e.offsetTop,e=e.offsetParent;return t}getAllStickyElements(){let e=document.querySelectorAll(this.getSettings(`selectors.stickyElements`));return Array.from(e).filter((e,t,n)=>t===n.findIndex(t=>t.getAttribute(`data-id`)===e.getAttribute(`data-id`)))}getAllAnchorLinks(){let e=document.querySelectorAll(this.getSettings(`selectors.links`));return Array.from(e).filter((e,t,n)=>t===n.findIndex(t=>t.getAttribute(`href`)===e.getAttribute(`href`)))}filterAndSortElementsByType(e,t){return e.filter(e=>t===e.type).sort((e,t)=>e.scrollPosition-t.scrollPosition)}isValidSelector(e){return/^#[A-Za-z_][\w-]*$/.test(e)}getAnchorTarget(e){let t=e==null?void 0:e.hash;return this.isValidSelector(t)?document.querySelector(t):null}getElementSettings(e){return JSON.parse(e.getAttribute(`data-settings`))}};e.default=_default})),Ft=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isScrollSnapActive=e.escapeHTML=void 0;var escapeHTML=e=>{let t={"&":`&`,"<":`<`,">":`>`,"'":`'`,'"':`"`};return e.replace(/[&<>'"]/g,e=>t[e]||e)};e.escapeHTML=escapeHTML;var isScrollSnapActive=()=>{var e,t;return(elementorFrontend.isEditMode()?(e=elementor.settings.page.model.attributes)==null?void 0:e.scroll_snap:(t=elementorFrontend.config.settings.page)==null?void 0:t.scroll_snap)===`yes`};e.isScrollSnapActive=isScrollSnapActive})),It=__commonJSMin(((e,t)=>{$();var EventManager=function(){var e=Array.prototype.slice,t,n={actions:{},filters:{}};function _removeHook(e,t,r,i){var a,o,s;if(n[e][t])if(!r)n[e][t]=[];else if(a=n[e][t],i)for(s=a.length;s--;)o=a[s],o.callback===r&&o.context===i&&a.splice(s,1);else for(s=a.length;s--;)a[s].callback===r&&a.splice(s,1)}function _hookInsertSort(e){for(var t,n,r,i=1,a=e.length;i<a;i++){for(t=e[i],n=i;(r=e[n-1])&&r.priority>t.priority;)e[n]=e[n-1],--n;e[n]=t}return e}function _addHook(e,t,r,i,a){var o={callback:r,priority:i,context:a},s=n[e][t];if(s){var c=!1;if(jQuery.each(s,function(){if(this.callback===r)return c=!0,!1}),c)return;s.push(o),s=_hookInsertSort(s)}else s=[o];n[e][t]=s}function _runHook(e,t,r){var i=n[e][t],a,o;if(!i)return e===`filters`&&r[0];if(o=i.length,e===`filters`)for(a=0;a<o;a++)r[0]=i[a].callback.apply(i[a].context,r);else for(a=0;a<o;a++)i[a].callback.apply(i[a].context,r);return e!==`filters`||r[0]}function addAction(e,n,r,i){return typeof e==`string`&&typeof n==`function`&&(r=parseInt(r||10,10),_addHook(`actions`,e,n,r,i)),t}function doAction(){var n=e.call(arguments),r=n.shift();return typeof r==`string`&&_runHook(`actions`,r,n),t}function removeAction(e,n){return typeof e==`string`&&_removeHook(`actions`,e,n),t}function addFilter(e,n,r,i){return typeof e==`string`&&typeof n==`function`&&(r=parseInt(r||10,10),_addHook(`filters`,e,n,r,i)),t}function applyFilters(){var n=e.call(arguments),r=n.shift();return typeof r==`string`?_runHook(`filters`,r,n):t}function removeFilter(e,n){return typeof e==`string`&&_removeHook(`filters`,e,n),t}return t={removeFilter,applyFilters,addFilter,removeAction,doAction,addAction},t};t.exports=EventManager})),Lt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var GlobalHandler=class extends elementorModules.frontend.handlers.Base{getWidgetType(){return`global`}animate(){let e=this.$element,t=this.getAnimation();if(t===`none`){e.removeClass(`elementor-invisible`);return}let n=this.getElementSettings(),r=n._animation_delay||n.animation_delay||0;e.removeClass(t),this.currentAnimation&&e.removeClass(this.currentAnimation),this.currentAnimation=t,setTimeout(()=>{e.removeClass(`elementor-invisible`).addClass(`animated `+t)},r)}getAnimation(){return this.getCurrentDeviceSetting(`animation`)||this.getCurrentDeviceSetting(`_animation`)}onInit(...e){if(super.onInit(...e),this.getAnimation()){let e=elementorModules.utils.Scroll.
317scrollObserver({callback:t=>{t.isInViewport&&(this.animate(),e.unobserve(this.$element[0]))}});e.observe(this.$element[0])}}onElementChange(e){/^_?animation/.test(e)&&this.animate()}},_default=e=>{elementorFrontend.elementsHandler.addHandler(GlobalHandler,{$element:e})};e.default=_default})),Rt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createEditorHandler=createEditorHandler;function createEditorHandler(e){return()=>new Promise(t=>{elementorFrontend.isEditMode()&&e().then(t)})}})),zt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Rt();e.default=[()=>__elementorLoadChunk(`background-slideshow`),()=>__elementorLoadChunk(`background-video`),(0,t.createEditorHandler)(()=>__elementorLoadChunk(`handles-position`)),(0,t.createEditorHandler)(()=>__elementorLoadChunk(`container-shapes`)),(0,t.createEditorHandler)(()=>__elementorLoadChunk(`container-grid-container`))]})),Bt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Rt();e.default=[()=>__elementorLoadChunk(`section-stretched-section`),()=>__elementorLoadChunk(`background-slideshow`),()=>__elementorLoadChunk(`background-video`),(0,t.createEditorHandler)(()=>__elementorLoadChunk(`handles-position`)),(0,t.createEditorHandler)(()=>__elementorLoadChunk(`section-shapes`))]})),Vt=__commonJSMin((e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.default=[()=>__elementorLoadChunk(`background-slideshow`)]})),Ht=__commonJSMin(((t,n)=>{var r=e();G(),Z();var i=r(Lt()),a=r(zt()),o=r(Bt()),s=r(Vt());n.exports=function(e){let t={};this.elementsHandlers={"accordion.default":()=>__elementorLoadChunk(`accordion`),"alert.default":()=>__elementorLoadChunk(`alert`),"counter.default":()=>__elementorLoadChunk(`counter`),"progress.default":()=>__elementorLoadChunk(`progress`),"tabs.default":()=>__elementorLoadChunk(`tabs`),"toggle.default":()=>__elementorLoadChunk(`toggle`),"video.default":()=>__elementorLoadChunk(`video`),"image-carousel.default":()=>__elementorLoadChunk(`image-carousel`),"text-editor.default":()=>__elementorLoadChunk(`text-editor`),"wp-widget-media_audio.default":()=>__elementorLoadChunk(`wp-audio`),container:a.default,section:o.default,column:s.default},elementorFrontendConfig.experimentalFeatures.container&&(this.elementsHandlers[`nested-tabs.default`]=()=>__elementorLoadChunk(`nested-tabs`),this.elementsHandlers[`nested-accordion.default`]=()=>__elementorLoadChunk(`nested-accordion`)),elementorFrontendConfig.experimentalFeatures.container&&(this.elementsHandlers[`contact-buttons.default`]=()=>__elementorLoadChunk(`contact-buttons`),this.elementsHandlers[`floating-bars-var-1.default`]=()=>__elementorLoadChunk(`floating-bars`));let addGlobalHandlers=()=>elementorFrontend.hooks.addAction(`frontend/element_ready/global`,i.default),addElementsHandlers=()=>{e.each(this.elementsHandlers,(e,t)=>{let n=e.split(`.`);e=n[0];let r=n[1]||null;this.attachHandler(e,t,r)})},isClassHandler=e=>{var t;return(t=e.prototype)==null?void 0:t.getUniqueHandlerID},addHandlerWithHook=(e,t,n=`default`)=>{n=n?`.`+n:``;let r=e+n;elementorFrontend.hooks.addAction(`frontend/element_ready/${r}`,e=>{if(isClassHandler(t))this.addHandler(t,{$element:e,elementName:r},!0);else{let n=t();if(!n)return;n instanceof Promise?n.then(({default:t})=>{this.addHandler(t,{$element:e,elementName:r},!0)}):this.addHandler(n,{$element:e,elementName:r},!0)}})};this.addHandler=function(n,r){let i=r.$element.data(`model-cid`),a;if(i){a=n.prototype.getConstructorID(),t[i]||(t[i]={});let e=t[i][a];e&&e.onDestroy()}let o=new n(r);elementorFrontend.hooks.doAction(`frontend/element_handler_ready/${r.elementName}`,r.$element,e),i&&(t[i][a]=o)},this.attachHandler=(e,t,n)=>{Array.isArray(t)||(t=[t]),t.forEach(t=>addHandlerWithHook(e,t,n))},this.getHandler=function(e){let t=this.elementsHandlers[e];return isClassHandler(t)?t:new Promise(e=>{t().then(({default:t})=>{e(t)})})},this.getHandlers=function(e){return elementorDevTools.deprecation.deprecated(`getHandlers`,`3.1.0`,`elementorFrontend.elementsHandler.getHandler`),e?this.getHandler(e):this.elementsHandlers},this.runReadyTrigger=function(t){let n=!!t.closest(`[data-delay-child-handlers="true"]`)&&t.closest(`[data-delay-child-handlers="true"]`).length!==0;if(elementorFrontend.config.is_static||n)return;let r=jQuery(t),i=r.attr(`data-element_type`);if(i&&(elementorFrontend.hooks.doAction(`frontend/element_ready/global`,r,e),elementorFrontend.hooks.doAction(`frontend/element_ready/${i}`,r,e),i===`widget`)){let t=r.attr(`data-widget_type`);elementorFrontend.hooks.doAction(`frontend/element_ready/${t}`,r,e)}},this.init=()=>{addGlobalHandlers(),addElementsHandlers()}}}));return __commonJSMin((t=>{var n=e();
317Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,G(),X(),Z(),Ue(),We();var r=n(Ke()),i=n(qe()),a=n(Je()),o=n(Ye()),s=n(Xe()),c=n(Q()),l=n(ct()),u=n(lt()),d=n(ut()),f=n(dt()),p=n(Ot()),m=n(kt()),h=n(At()),g=n(jt()),_=n(Pt()),v=Ft(),y=It(),b=Ht(),Frontend=class extends elementorModules.ViewModule{constructor(...e){super(...e),this.config=elementorFrontendConfig,this.config.legacyMode={get elementWrappers(){return elementorFrontend.isEditMode()&&window.top.elementorDevTools.deprecation.deprecated(`elementorFrontend.config.legacyMode.elementWrappers`,`3.1.0`),!1}},this.populateActiveBreakpointsConfig()}get Module(){return this.isEditMode()&&parent.elementorDevTools.deprecation.deprecated(`elementorFrontend.Module`,`2.5.0`,`elementorModules.frontend.handlers.Base`),elementorModules.frontend.handlers.Base}getDefaultSettings(){return{selectors:{elementor:`.elementor`,adminBar:`#wpadminbar`}}}getDefaultElements(){let e={window,$window:jQuery(window),$document:jQuery(document),$head:jQuery(document.head),$body:jQuery(document.body),$deviceMode:jQuery(`<span>`,{id:`elementor-device-mode`,class:`elementor-screen-only`})};return e.$body.append(e.$deviceMode),e}bindEvents(){this.elements.$window.on(`resize`,()=>this.setDeviceModeData())}getElements(e){return this.getItems(this.elements,e)}getPageSettings(e){let t=this.isEditMode()?elementor.settings.page.model.attributes:this.config.settings.page;return this.getItems(t,e)}getGeneralSettings(e){return this.isEditMode()&&parent.elementorDevTools.deprecation.deprecated(`getGeneralSettings()`,`3.0.0`,"getKitSettings() and remove the `elementor_` prefix"),this.getKitSettings(`elementor_${e}`)}getKitSettings(e){return this.getItems(this.config.kit,e)}getCurrentDeviceMode(){return getComputedStyle(this.elements.$deviceMode[0],`:after`).content.replace(/"/g,``)}getDeviceSetting(e,t,n){if(e===`widescreen`)return this.getWidescreenSetting(t,n);let r=elementorFrontend.breakpoints.getActiveBreakpointsList({largeToSmall:!0,withDesktop:!0}),i=r.indexOf(e);for(;i>0;){let e=r[i],a=t[n+`_`+e];if(a||a===0)return a;i--}return t[n]}getWidescreenSetting(e,t){let n=t+`_widescreen`,r;return r=e[n]?e[n]:e[t],r}getCurrentDeviceSetting(e,t){return this.getDeviceSetting(elementorFrontend.getCurrentDeviceMode(),e,t)}isEditMode(){return this.config.environmentMode.edit}isWPPreviewMode(){return this.config.environmentMode.wpPreview}initDialogsManager(){let e;this.getDialogsManager=()=>(e||(e=new DialogsManager.Instance),e)}initOnReadyComponents(){this.utils={youtube:new o.default,vimeo:new s.default,baseVideoLoader:new c.default,get lightbox(){return d.default.getLightbox()},urlActions:new l.default,swiper:u.default,environment:a.default,assetsLoader:new f.default,escapeHTML:v.escapeHTML,events:m.default,controls:new g.default,anchor_scroll_margin:new _.default},this.modules={StretchElement:elementorModules.frontend.tools.StretchElement,Masonry:elementorModules.utils.Masonry},this.elementsHandler.init(),this.isEditMode()?elementor.once(`document:loaded`,()=>this.onDocumentLoaded()):this.onDocumentLoaded()}initOnReadyElements(){this.elements.$wpAdminBar=this.elements.$document.find(this.getSettings(`selectors.adminBar`))}addUserAgentClasses(){for(let[e,t]of Object.entries(a.default))t&&this.elements.$body.addClass(`e--ua-`+e)}setDeviceModeData(){this.elements.$body.attr(`data-elementor-device-mode`,this.getCurrentDeviceMode())}addListenerOnce(e,t,n,r){if(r||(r=this.elements.$window),!this.isEditMode()){r.on(t,n);return}if(this.removeListeners(e,t,r),r instanceof jQuery){let i=t+`.`+e;r.on(i,n)}else r.on(t,n,e)}removeListeners(e,t,n,r){if(r||(r=this.elements.$window),r instanceof jQuery){let i=t+`.`+e;r.off(i,n)}else r.off(t,n,e)}debounce(e,t){let n;return function(){let r=this,i=arguments,later=()=>{n=null,e.apply(r,i)},a=!n;clearTimeout(n),n=setTimeout(later,t),a&&e.apply(r,i)}}muteMigrationTraces(){jQuery.migrateMute=!0,jQuery.migrateTrace=!1}initModules(){let e={shapes:h.default};elementorFrontend.trigger(`elementor/modules/init:before`),elementorFrontend.trigger(`elementor/modules/init/before`),Object.entries(e).forEach(([e,t])=>{this.modulesHandlers[e]=new t})}populateActiveBreakpointsConfig(){this.config.responsive.activeBreakpoints={}
317,Object.entries(this.config.responsive.breakpoints).forEach(([e,t])=>{t.is_enabled&&(this.config.responsive.activeBreakpoints[e]=t)})}init(){this.hooks=new y,this.breakpoints=new p.default(this.config.responsive),this.storage=new i.default,this.elementsHandler=new b(jQuery),this.modulesHandlers={},this.addUserAgentClasses(),this.setDeviceModeData(),this.initDialogsManager(),this.isEditMode()&&this.muteMigrationTraces(),m.default.dispatch(this.elements.$window,`elementor/frontend/init`),this.initModules(),this.initOnReadyElements(),this.initOnReadyComponents()}onDocumentLoaded(){this.documentsManager=new r.default,this.trigger(`components:init`),new d.default}};t.default=Frontend,window.elementorFrontend=new Frontend,elementorFrontend.isEditMode()||jQuery(()=>elementorFrontend.init())}))()})();; 318(function(){function e(){var t,n,e=document.getElementById("heroVideo");if(!e)return;window.matchMedia("(min-width: 769px)").matches&&(e.classList.remove("lazyload","lazyloading","lazy"),e.removeAttribute("data-src"),t=e.querySelector("source"),t&&t.getAttribute("src")&&!e.src&&(e.src=t.getAttribute("src")),e.load(),n=e.play(),n!==0[0]&&n.catch(function(){document.addEventListener("click",function(){e.play()},{once:!0})}))}document.readyState!=="loading"?e():document.addEventListener("DOMContentLoaded",e)})(); 319!function(){var t,n="rest.happierleads.com/v3/script?clientId="+object_name.happierleads+"&version=4.0.0",e=document.createElement("script");window.location.protocol.split(":")[0],e.src="https://"+n,t=document.getElementsByTagName("script")[0],e.onload=function(){new Happierleads.default},e.async=!0,t.parentNode.insertBefore(e,t)}(); 320'use strict';var epdofitvids=epdofitvids||function(b){b.fn.fitVidsEP=function(h){_EPYT_.epresponsiveselector.constructor!==Array&&(_EPYT_.epresponsiveselector=JSON.parse(_EPYT_.epresponsiveselector));var d={customSelector:null};if(!document.getElementById("fit-vids-style")){var f=document.createElement("style"),l=document.getElementsByTagName("base")[0]||document.getElementsByTagName("script")[0];f.className="fit-vids-style";f.id="fit-vids-style";f.textContent=".fluid-width-video-wrapper{width:100%;position:relative;padding:0;}.fluid-width-video-wrapper iframe,.fluid-width-video-wrapper object,.fluid-width-video-wrapper embed {position:absolute;top:0;left:0;width:100%;height:100%;}"; 321l.parentNode.insertBefore(f,l)}h&&b.extend(d,h);return this.each(function(){var e=_EPYT_.epresponsiveselector;d.customSelector&&e.push(d.customSelector);e=b(this).find(e.join(","));e=e.not("object object");e.each(function(){var a=b(this);if(!("embed"===this.tagName.toLowerCase()&&a.parent("object").length||a.parent(".fluid-width-video-wrapper").length||"absolute"===a.css("position"))){a.is("[data-origwidth]:not([width])")&&a.attr("width",a.data("origwidth"));a.is("[data-origheight]:not([height])")&& 322a.attr("height",a.data("origheight"));var k="object"===this.tagName.toLowerCase()||a.attr("height")&&!isNaN(parseInt(a.attr("height"),10))?parseInt(a.attr("height"),10):a.height(),g=isNaN(parseInt(a.attr("width"),10))?a.width():parseInt(a.attr("width"),10);k/=g;a.attr("id")||a.attr("id","fitvid"+Math.floor(999999*Math.random()));var m=a.attr("width"),n=a.attr("height");if(a.parent().hasClass("epyt-video-wrapper"))try{a.parent().addClass("fluid-width-video-wrapper").attr("style","padding-top: "+100* 323k+"% !important;"),a.removeAttr("height").removeAttr("width"),setTimeout(function(){if("function"===typeof Event)var c=new Event("resize");else c=document.createEvent("Event"),c.initEvent("resize",!0,!0);window.dispatchEvent(c)},10),setTimeout(function(){parseInt(a.parent().css("padding-top"),10)>a.height()+20&&(a.parent().removeClass("fluid-width-video-wrapper").css("padding-top",""),a.attr("width",m),a.attr("height",n))},100)}catch(c){}else{g=document.createElement("div");g.className="fluid-width-video-wrapper"; 324try{a.wrap(g).parent(".fluid-width-video-wrapper").attr("style","padding-top: "+100*k+"% !important;"),a.removeAttr("height").removeAttr("width"),setTimeout(function(){if("function"===typeof Event)var c=new Event("resize");else c=document.createEvent("Event"),c.initEvent("resize",!0,!0);window.dispatchEvent(c)},10),setTimeout(function(){parseInt(a.parent().css("padding-top"),10)>a.height()+20&&(a.parent().removeClass("fluid-width-video-wrapper").css("padding-top",""),a.attr("width",m),a.attr("height", 325n))},100)}catch(c){}}}})})};b(document).ready(function(){b("body").fitVidsEP();b(document).ajaxSuccess(function(h,d,f){d&&d.responseText&&-1!==d.responseText.indexOf("<iframe ")&&b("body").fitVidsEP()})});return!0};try{epdofitvids(window.jQuery)}catch(b){}; 326; 327wp.i18n.setLocaleData( { 'text direction\u0004ltr': [ 'ltr' ] } ); 328; 329/*! elementor-pro - v4.3.0 - 30-09-2026 */ 330(function(){var fe,pe,ge,ye,be,Te,ve,_e,Se,Ee,Ae;var lt=Object.defineProperty,U=(t,e)=>lt(t,"name",{value:e,configurable:!0}),C=(t,e,n)=>()=>{if(n)throw n[0];try{return t&&(e=t(t=0)),e}catch(s){throw n=[s],s}},xe=(t,e)=>{let n={};for(var s in t)lt(n,s,{get:t[s],enumerable:!0});return e||lt(n,Symbol.toStringTag,{value:"Module"}),n};__webpack_public_path__=ElementorProFrontendConfig.urls.assets+"js/";function Re(t){"@babel/helpers - typeof";return Re=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},Re(t)}function Ei(t,e){if(Re(t)!="object"||!t)return t;var n=t[Symbol.toPrimitive];if(n!==void 0){var s=n.call(t,e||"default");if(Re(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(t)}function Ai(t){var e=Ei(t,"string");return Re(e)=="symbol"?e:e+""}function Ii(t,e,n){return(e=Ai(e))in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}var Kt=(fe=class extends elementorModules.ViewModule{constructor(...e){super(...e),Ii(this,"onInsideViewport",()=>{this.run(),this.animationFrameRequest=requestAnimationFrame(this.onInsideViewport)})}__construct(e){this.motionFX=e.motionFX,this.intersectionObservers||this.setElementInViewportObserver()}setElementInViewportObserver(){this.intersectionObserver=elementorModules.utils.Scroll.
330scrollObserver({callback:n=>{n.isInViewport?this.onInsideViewport():this.removeAnimationFrameRequest()}});const e=this.motionFX.getSettings("range")==="page"?elementorFrontend.elements.$body[0]:this.motionFX.elements.$parent[0];this.intersectionObserver.observe(e)}runCallback(...e){this.getSettings("callback")(...e)}removeIntersectionObserver(){this.intersectionObserver&&this.intersectionObserver.unobserve(this.motionFX.elements.$parent[0])}removeAnimationFrameRequest(){this.animationFrameRequest&&cancelAnimationFrame(this.animationFrameRequest)}destroy(){this.removeAnimationFrameRequest(),this.removeIntersectionObserver()}onInit(){super.onInit()}},U(fe,"default"),fe),Pi=(pe=class extends Kt{run(){if(pageYOffset===this.windowScrollTop)return!1;this.onScrollMovement(),this.windowScrollTop=pageYOffset}onScrollMovement(){this.updateMotionFxDimensions(),this.updateAnimation(),this.resetTransitionVariable()}resetTransitionVariable(){this.motionFX.$element.css("--e-transform-transition-duration","100ms")}updateMotionFxDimensions(){this.motionFX.getSettings().refreshDimensions&&this.motionFX.defineDimensions()}updateAnimation(){let e;this.motionFX.getSettings("range")==="page"?e=elementorModules.utils.Scroll.getPageScrollPercentage():this.motionFX.getSettings("isFixedPosition")?e=elementorModules.utils.Scroll.getPageScrollPercentage({},window.innerHeight):e=elementorModules.utils.Scroll.getElementViewportPercentage(this.motionFX.elements.$parent),this.runCallback(e)}},U(pe,"default"),pe),ze=class Be extends Kt{bindEvents(){Be.mouseTracked||(elementorFrontend.elements.$window.on("mousemove",Be.updateMousePosition),Be.mouseTracked=!0)}run(){const e=Be.mousePosition,n=this.oldMousePosition;if(n.x===e.x&&n.y===e.y)return;this.oldMousePosition={x:e.x,y:e.y};const s=100/innerWidth*e.x,o=100/innerHeight*e.y;this.runCallback(s,o)}onInit(){this.oldMousePosition={},super.onInit()}};ze.mousePosition={},ze.updateMousePosition=t=>{ze.mousePosition={x:t.clientX,y:t.clientY}};var Ci=(ge=class extends elementorModules.Module{getMovePointFromPassedPercents(e,n){return+(n/e*100).toFixed(2)}getEffectValueFromMovePoint(e,n){return e*n/100}getStep(e,n){return this.getSettings("type")==="element"?this.getElementStep(e,n):this.getBackgroundStep(e,n)}getElementStep(e,n){return-(e-50)*n.speed}getBackgroundStep(e,n){const s=this.getSettings("dimensions.movable"+n.axis.toUpperCase());return-this.getEffectValueFromMovePoint(s,e)}getDirectionMovePoint(e,n,s){let o;return e<s.start?n==="out-in"?o=0:n==="in-out"?o=100:(o=this.getMovePointFromPassedPercents(s.start,e),n==="in-out-in"&&(o=100-o)):e<s.end?n==="in-out-in"?o=0:n==="out-in-out"?o=100:(o=this.getMovePointFromPassedPercents(s.end-s.start,e-s.start),n==="in-out"&&(o=100-o)):n==="in-out"?o=0:n==="out-in"?o=100:(o=this.getMovePointFromPassedPercents(100-s.end,100-e),n==="in-out-in"&&(o=100-o)),o}translateX(e,n){e.axis="x",e.unit="px",this.transform("translateX",n,e)}translateY(e,n){e.axis="y",e.unit="px",this.transform("translateY",n,e)}translateXY(e,n,s){this.translateX(e,n),this.translateY(e,s)}tilt(e,n,s){const o={speed:e.speed/10,direction:e.direction};this.rotateX(o,s),this.rotateY(o,100-n)}rotateX(e,n){e.axis="x",e.unit="deg",this.transform("rotateX",n,e)}rotateY(e,n){e.axis="y",e.unit="deg",this.transform("rotateY",n,e)}rotateZ(e,n){e.unit="deg",this.transform("rotateZ",n,e)}scale(e,n){const s=this.getDirectionMovePoint(n,e.direction,e.range);this.updateRulePart("transform","scale",1+e.speed*s/1e3)}transform(e,n,s){s.direction&&(n=100-n),this.updateRulePart("transform",e,this.getStep(n,s)+s.unit)}setCSSTransformVariables(e){this.CSSTransformVariables=[],jQuery.each(e,(n,s)=>{const o=n.match(/_transform_(.+?)_effect/m);if(o&&s){if(o[1]==="perspective"){this.CSSTransformVariables.unshift(o[1]);return}if(this.CSSTransformVariables.includes(o[1]))return;this.CSSTransformVariables.push(o[1])}})}opacity(e,n){const s=this.getDirectionMovePoint(n,e.direction,e.range),o=e.level/10,c=1-o+this.getEffectValueFromMovePoint(o,s);this.$element.css({opacity:c,"will-change":"opacity"})}blur(e,n){const s=this.getDirectionMovePoint(n,e.direction,e.range),o=e.level-this.getEffectValueFromMovePoint(e.level,s);this.updateRulePart("filter","blur",o+"px")}updateRulePart(e,n,s){this.rulesVariables[e]||(this.rulesVariables[e]={}),this.rulesVariables[e][n]||(this.rulesVariables[e][n]=!0,this.updateRule(e));const o=`--${n}`;this.$element[0].style.setProperty(o,s)}updateRule(e){let n="";n+=this.concatTransformCSSProperties(e),n+=this.concatTransformMotionEffectCSSProperties(e),this.$element.css(e,n)}concatTransformCSSProperties(e){let n="";return e==="transform"&&jQuery.each(this.CSSTransformVariables,(s,o)=>{const c=o;o.startsWith("flip")&&(o=o.replace("flip","scale"));const d=o.startsWith("rotate")||o.startsWith("skew")?"deg":"px",p=o.startsWith("scale")?1:0+d;n+=`${o}(var(--e-transform-${c}, ${p}))`}),n}concatTransformMotionEffectCSSProperties(e){let n="";return jQuery.each(this.rulesVariables[e],s=>{n+=`${s}(var(--${s}))`}),n}runAction(e,n,s,...o){n.affectedRange&&(n.affectedRange.start>s&&(s=n.affectedRange.start),n.affectedRange.end<s&&(s=n.affectedRange.end)),this[e](n,s,...o)}refresh(){this.rulesVariables={},this.CSSTransformVariables=[],this.$element.css({transform:"",filter:"",opacity:"","will-change":""})}onInit(){this.$element=this.getSettings("$targetElement"),this.refresh()}},U(ge,"default"),ge),wi=(ye=class extends elementorModules.ViewModule{getDefaultSettings(){return{type:"element",$element:null,$dimensionsElement:null,addBackgroun
330dLayerTo:null,interactions:{},refreshDimensions:!1,range:"viewport",classes:{element:"motion-fx-element",parent:"motion-fx-parent",backgroundType:"motion-fx-element-type-background",container:"motion-fx-container",layer:"motion-fx-layer",perspective:"motion-fx-perspective"}}}bindEvents(){this.defineDimensions=this.defineDimensions.bind(this),elementorFrontend.elements.$window.on("resize elementor-pro/motion-fx/recalc",this.defineDimensions)}unbindEvents(){elementorFrontend.elements.$window.off("resize elementor-pro/motion-fx/recalc",this.defineDimensions)}addBackgroundLayer(){const e=this.getSettings();this.elements.$motionFXContainer=jQuery("<div>",{class:e.classes.container}),this.elements.$motionFXLayer=jQuery("<div>",{class:e.classes.layer}),this.updateBackgroundLayerSize(),this.elements.$motionFXContainer.prepend(this.elements.$motionFXLayer),(e.addBackgroundLayerTo?this.$element.find(e.addBackgroundLayerTo):this.$element).prepend(this.elements.$motionFXContainer)}removeBackgroundLayer(){this.elements.$motionFXContainer.remove()}
330updateBackgroundLayerSize(){const e=this.getSettings(),n={x:0,y:0},s=e.interactions.mouseMove,o=e.interactions.scroll;s&&s.translateXY&&(n.x=s.translateXY.speed*10,n.y=s.translateXY.speed*10),o&&(o.translateX&&(n.x=o.translateX.speed*10),o.translateY&&(n.y=o.translateY.speed*10)),this.elements.$motionFXLayer.css({width:100+n.x+"%",height:100+n.y+"%"})}defineDimensions(){const e=this.getSettings("$dimensionsElement")||this.$element,n=e.offset(),s={elementHeight:e.outerHeight(),elementWidth:e.outerWidth(),elementTop:n.top,elementLeft:n.left};s.elementRange=s.elementHeight+innerHeight,this.setSettings("dimensions",s),this.getSettings("type")==="background"&&this.defineBackgroundLayerDimensions()}defineBackgroundLayerDimensions(){const e=this.getSettings("dimensions");e.layerHeight=this.elements.$motionFXLayer.height(),e.layerWidth=this.elements.$motionFXLayer.width(),e.movableX=e.layerWidth-e.elementWidth,e.movableY=e.layerHeight-e.elementHeight,this.setSettings("dimensions",e)}initInteractionsTypes(){this.interactionsTypes={scroll:Pi,mouseMove:ze}}prepareSpecialActions(){const e=this.getSettings(),n=!!(e.interactions.mouseMove&&e.interactions.mouseMove.tilt);this.elements.$parent.toggleClass(e.classes.perspective,n)}cleanSpecialActions(){const e=this.getSettings();this.elements.$parent.removeClass(e.classes.perspective)}runInteractions(){const e=this.getSettings();this.actions.setCSSTransformVariables(e.elementSettings),this.prepareSpecialActions(),jQuery.each(e.interactions,(n,s)=>{this.interactions[n]=new this.interactionsTypes[n]({motionFX:this,callback:(...o)=>{jQuery.each(s,(c,d)=>this.actions.runAction(c,d,...o))}}),this.interactions[n].run()})}destroyInteractions(){this.cleanSpecialActions(),jQuery.each(this.interactions,(e,n)=>n.destroy()),this.interactions={}}refresh(){this.actions.setSettings(this.getSettings()),this.getSettings("type")==="background"&&(this.updateBackgroun
330dLayerSize(),this.defineBackgroundLayerDimensions()),this.actions.refresh(),this.destroyInteractions(),this.runInteractions()}destroy(){this.destroyInteractions(),this.actions.refresh();const e=this.getSettings();this.$element.removeClass(e.classes.element),this.elements.$parent.removeClass(e.classes.parent),e.type==="background"&&(this.$element.removeClass(e.classes.backgroundType),this.removeBackgroundLayer())}onInit(){super.onInit();const e=this.getSettings();this.$element=e.$element,this.elements.$parent=this.$element.parent(),this.$element.addClass(e.classes.element),this.elements.$parent=this.$element.parent(),this.elements.$parent.addClass(e.classes.parent),e.type==="background"&&(this.$element.addClass(e.classes.backgroundType),this.addBackgroundLayer()),this.defineDimensions(),e.$targetElement=e.type==="element"?this.$element:this.elements.$motionFXLayer,this.interactions={},this.actions=new Ci(e),this.initInteractionsTypes(),this.runInteractions()}},U(ye,"default"),ye),Oi=(be=class extends elementorModules.frontend.handlers.Base{__construct(...e){super.__construct(...e),this.toggle=elementorFrontend.debounce(this.toggle,200)}getDefaultSettings(){return{selectors:{container:".elementor-widget-container"}}}getDefaultElements(){const e=this.getSettings("selectors");let n=this.$element.find(e.container);return n.length===0&&(n=this.$element),{$container:n}}bindEvents(){elementorFrontend.elements.$window.on("resize",this.toggle)}unbindEvents(){elementorFrontend.elements.$window.off("resize",this.toggle)}addCSSTransformEvents(){this.getElementSettings("motion_fx_motion_fx_scrolling")&&!this.isTransitionEventAdded&&(this.isTransitionEventAdded=!0,this.elements.$container.on("mouseenter",()=>{this.elements.$container.css("--e-transform-transition-duration","")}))}initEffects(){this.effects={translateY:{interaction:"scroll",actions:["translateY"]},translateX:{interaction:"scroll",actions:["translateX"]},rotateZ:{interaction:"scroll",actions:["rotateZ"]},scale:{interaction:"scroll",actions:["scale"]},opacity:{interaction:"scroll",actions:["opacity"]},blur:{interaction:"scroll",actions:["blur"]},mouseTrack:{interaction:"mouseMove",actions:["translateXY"]},tilt:{interaction:"mouseMove",actions:["tilt"]}}}prepareOptions(e){const n=this.getElementSettings(),s=e==="motion_fx"?"element":"background",o={};jQuery.each(n,(O,V)=>{const Ie=new RegExp("^"+e+"_(.+?)_effect"),L=O.match(Ie);if(!L||!V)return;const J={},E=L[1];jQuery.each(n,(re,P)=>{const W=new RegExp(e+"_"+E+"_(.+)"),R=re.match(W);R&&R[1]!=="effect"&&(typeof P=="object"&&(P=Object.keys(P.sizes).length?P.sizes:P.size),J[R[1]]=P)});const $=this.effects[E],F=$.interaction;o[F]||(o[F]={}),$.actions.forEach(re=>o[F][re]=J)});let c=this.$element,d,p;const h=this.getElementType();if(s==="element"&&!["section","container"].includes(h)){d=c;let O;h==="column"?O=".elementor-widget-wrap":O=".elementor-widget-container",p=c.find("> "+O),c=p.length===0?this.$element:p}const y={type:s,interactions:o,elementSettings:n,$element:c,$dimensionsElement:d,refreshDimensions:this.isEdit,range:n[e+"_range"],classes:{element:"elementor-motion-effects-element",parent:"elementor-motion-effects-parent",backgroundType:"elementor-motion-effects-element-type-background",container:"elementor-motion-effects-container",layer:"elementor-motion-effects-layer",perspective:"elementor-motion-effects-perspective"}};return!y.range&&this.getCurrentDeviceSetting("_position")==="fixed"&&(y.range="page"),this.getCurrentDeviceSetting("_position")==="fixed"&&(y.isFixedPosition=!0),s==="background"&&this.getElementType()==="column"&&(y.addBackgroundLayerTo=" > .elementor-element-populated"),y}activate(e){const n=this.prepareOptions(e);jQuery.isEmptyObject(n.interactions)||(this[e]=new wi(n))}deactivate(e){this[e]&&(this[e].destroy(),delete this[e])}toggle(){const e=elementorFrontend.getCurrentDeviceMode(),n=this.getElementSettings();["motion_fx","background_motion_fx"].forEach(s=>{const o=n[s+"_devices"];(!o||o.indexOf(e)!==-1)&&(n[s+"_motion_fx_scrolling"]||n[s+"_motion_fx_mouse"])?this[s]?this.refreshInstance(s):this.activate(s):this.deactivate(s)})}refreshInstance(e){const n=this[e];if(!n)return;const s=this.prepareOptions(e);
330n.setSettings(s),n.refresh()}onInit(){super.onInit();const e=window.matchMedia("(prefers-reduced-motion: reduce)");e&&e.matches||(this.initEffects(),this.addCSSTransformEvents(),this.toggle())}onElementChange(e){if(/motion_fx_((scrolling)|(mouse)|(devices))$/.test(e)){e==="motion_fx_motion_fx_scrolling"&&this.addCSSTransformEvents(),this.toggle();return}const n=e.match(".*?(motion_fx|_transform)");if(n){const s=n[0].match("(_transform)")?"motion_fx":n[0];this.refreshInstance(s),this[s]||this.activate(s)}/^_position/.test(e)&&["motion_fx","background_motion_fx"].forEach(s=>{this.refreshInstance(s)})}onDestroy(){super.onDestroy(),["motion_fx","background_motion_fx"].forEach(e=>{this.deactivate(e)})}},U(be,"default"),be),ki=(Te=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("global",Oi,null)}},U(Te,"default"),Te),Mi=()=>{var t,e;return(elementorFrontend.isEditMode()?(t=elementor.settings.page.model.attributes)==null?void 0:t.scroll_snap:(e=elementorFrontend.config.settings.page)==null?void 0:e.scroll_snap)==="yes"},ct=elementorModules.frontend.handlers.Base.extend({currentConfig:{},debouncedReactivate:null,bindEvents(){elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+"sticky","resize",this.reactivateOnResize)},unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+"sticky","resize",this.reactivateOnResize)},isStickyInstanceActive(){return this.$element.data("sticky")!==void 0},getResponsiveSetting(t){const e=this.getElementSettings();return elementorFrontend.getCurrentDeviceSetting(e,t)},getResponsiveSettingList(t){return["",...Object.keys(elementorFrontend.config.responsive.activeBreakpoints)].map(e=>e?`${t}_${e}`:t)},getConfig(){const t=this.getElementSettings(),e={to:t.sticky,offset:this.getResponsiveSetting("sticky_offset"),effectsOffset:this.getResponsiveSetting("sticky_effects_offset"),classes:{sticky:"elementor-sticky",stickyActive:"elementor-sticky--active elementor-section--handles-inside",stickyEffects:"elementor-sticky--effects",spacer:"elementor-sticky__spacer"},isRTL:elementorFrontend.config.is_rtl,isScrollSnapActive:Mi(),handleScrollbarWidth:elementorFrontend.isEditMode()},n=elementorFrontend.elements.$wpAdminBar,s=this.isContainerElement(this.$element[0])&&!this.isContainerElement(this.$element[0].parentElement);return n.length&&t.sticky==="top"&&n.css("position")==="fixed"&&(e.offset+=n.height()),t.sticky_parent&&!s&&(e.parent=".e-con, .e-con-inner, .elementor-widget-wrap"),e},activate(){this.currentConfig=this.getConfig(),this.$element.sticky(this.currentConfig)},deactivate(){this.isStickyInstanceActive()&&this.$element.sticky("destroy")},run(t){if(!this.getElementSettings("sticky")){this.deactivate();return}var e=elementorFrontend.getCurrentDeviceMode();this.getElementSettings("sticky_on").indexOf(e)!==-1?t===!0?this.reactivate():this.isStickyInstanceActive()||this.activate():this.deactivate()},reactivateOnResize(){clearTimeout(this.debouncedReactivate),this.debouncedReactivate=setTimeout(()=>{const t=this.getConfig();JSON.stringify(t)!==JSON.stringify(this.currentConfig)&&this.run(!0)},300)},reactivate(){this.deactivate(),this.activate()},onElementChange(t){["sticky","sticky_on"].indexOf(t)!==-1&&this.run(!0),[...this.getResponsiveSettingList("sticky_offset"),...this.getResponsiveSettingList("sticky_effects_offset"),"sticky_parent"].indexOf(t)!==-1&&this.reactivate()},onDeviceModeChange(){setTimeout(()=>this.run(!0))},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),elementorFrontend.isEditMode()&&elementor.listenTo(elementor.channels.deviceMode,"change",()=>this.onDeviceModeChange()),this.run()},onDestroy(){elementorModules.frontend.handlers.Base.prototype.onDestroy.apply(this,arguments),this.deactivate()},isContainerElement(t){return["e-con","e-con-inner"].some(e=>t==null?void 0:t.classList.contains(e))}}),xi=(ve=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("section",ct,null),elementorFrontend.elementsHandler.attachHandler("container",ct,null),elementorFrontend.elementsHandler.attachHandler("widget",ct,null)}},U(ve,"default"),ve),Ks="modulepreload",Zs=function(t){return"/"+t},Js={}
330,De=function(e,n,s){let o=Promise.resolve();if(0)var d,p;function c(h){const y=new Event("vite:preloadError",{cancelable:!0});if(y.payload=h,window.dispatchEvent(y),!y.defaultPrevented)throw h}return o.then(h=>{for(const y of h||[])y.status==="rejected"&&c(y.reason);return e().catch(c)})},Ri=xe({default:()=>Zt}),Zt,Di=C((()=>{Zt=class extends elementorModules.frontend.handlers.Base{onInit(...t){super.onInit(...t),Prism.highlightAllUnder(this.$element[0],!1)}onElementChange(){Prism.highlightAllUnder(this.$element[0],!1)}}})),Li=(_e=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("code-highlight",()=>De(()=>Promise.resolve().then(()=>(Di(),Ri)),void 0))}},U(_e,"default"),_e);function Jt(t,e,n,s,o,c,d){try{var p=t[c](d),h=p.value}catch(y){n(y);return}p.done?e(h):Promise.resolve(h).then(s,o)}function Le(t){return function(){var e=this,n=arguments;return new Promise(function(s,o){var c=t.apply(e,n);function d(h){Jt(c,s,o,d,p,"next",h)}function p(h){Jt(c,s,o,d,p,"throw",h)}d(void 0)})}}var We=C((()=>{})),en,Fi=C((()=>{en=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{tablist:'[role="tablist"]',tabTitle:".e-tab-title",tabContent:".e-tab-content"},classes:{active:"e-active"},showTabFn:"show",hideTabFn:"hide",toggleSelf:!0,hidePrevious:!0,autoExpand:!0,keyDirection:{ArrowLeft:elementorFrontendConfig.is_rtl?1:-1,ArrowUp:-1,ArrowRight:elementorFrontendConfig.is_rtl?-1:1,ArrowDown:1}}}getDefaultElements(){const t=this.getSettings("selectors");return{$tabTitles:this.findElement(t.tabTitle),$tabContents:this.findElement(t.tabContent)}}activateDefaultTab(t){const e=this.getSettings();if(!e.autoExpand||e.autoExpand==="editor"&&!this.isEdit)return;const n=this.getEditSettings("activeItemIndex")||t||1,s={showTabFn:e.showTabFn,hideTabFn:e.hideTabFn};this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(n),this.setSettings(s)}handleKeyboardNavigation(t){const e=t.currentTarget,n=jQuery(e.closest(this.getSettings("selectors").tablist)),s=n.find(this.getSettings("selectors").tabTitle),o=n.attr("aria-orientation")==="vertical";switch(t.key){case"ArrowLeft":case"ArrowRight":if(o)return;break;case"ArrowUp":case"ArrowDown":if(!o)return;t.preventDefault();break;case"Home":t.preventDefault(),s.first().trigger("focus");return;case"End":t.preventDefault(),s.last().trigger("focus");return;default:return}const c=e.getAttribute("data-tab")-1,d=this.getSettings("keyDirection")[t.key],p=s[c+d];p?p.focus():c+d===-1?s.last().trigger("focus"):s.first().trigger("focus")}deactivateActiveTab(t){const e=this.getSettings(),n=e.classes.active,s=t?'[data-tab="'+t+'"]':"."+n,o=this.elements.$tabTitles.filter(s),c=this.elements.$tabContents.filter(s);o.add(c).removeClass(n),o.attr({tabindex:"-1","aria-selected":"false"}),c[e.hideTabFn](),c.attr("hidden","hidden")}activateTab(t){const e=this.getSettings(),n=e.classes.active,s=this.elements.$tabTitles.filter('[data-tab="'+t+'"]'),o=this.elements.$tabContents.filter('[data-tab="'+t+'"]'),c=e.showTabFn==="show"?0:400;s.add(o).addClass(n),s.attr({tabindex:"0","aria-selected":"true"}),o[e.showTabFn](c,()=>elementorFrontend.elements.$window.trigger("resize")),o.removeAttr("hidden")}isActiveTab(t){return this.elements.$tabTitles.filter('[data-tab="'+t+'"]').hasClass(this.getSettings("classes.active"))}bindEvents(){this.elements.$tabTitles.on({keydown:t=>{jQuery(t.target).is("a")&&t.key==="Enter"&&t.preventDefault(),["End","Home","ArrowUp","ArrowDown"].includes(t.key)&&this.handleKeyboardNavigation(t)},keyup:t=>{switch(t.key){case"ArrowLeft":case"ArrowRight":this.handleKeyboardNavigation(t);break;case"Enter":case"Space":t.preventDefault(),this.changeActiveTab(t.currentTarget.getAttribute("data-tab"));break}},click:t=>{t.preventDefault(),this.changeActiveTab(t.currentTarget.getAttribute("data-tab"))}})}onInit(...t){super.onInit(...t)}
330changeActiveTab(t){const e=this.isActiveTab(t),n=this.getSettings();(n.toggleSelf||!e)&&n.hidePrevious&&this.deactivateActiveTab(),!n.hidePrevious&&e&&this.deactivateActiveTab(t),e||this.activateTab(t)}}})),Xe,ut=C((()=>{Xe=class{constructor(t,e){this.playlistItem=t,this.positionInVideoList=e}formatDuration(t){const e=new Date(t*1e3),n=e.getUTCHours(),s=e.getUTCMinutes(),o=e.getSeconds();return n!==0?`${n.toString()}:${s.toString().padStart(2,"0")}:${o.toString().padStart(2,"0")}`:`${s.toString()}:${o.toString().padStart(2,"0")}`}}})),tn,Ni=C((()=>{ut(),We(),tn=class extends Xe{constructor(t,e){super(t,e),this.apiProvider=elementorFrontend.utils.youtube,this.playerObject=null,this.watchCount=0,this.isVideoPlaying=!1,this.isVideoPausedLocal=!1,this.isVideoEnded=!1,this.seekSequenceArray=[],this.pauseCurrentTime=null,this.isReady=!1}create(){return this.currentVideoID=this.apiProvider.getVideoIDFromURL(this.playlistItem.videoUrl),new Promise(t=>{this.apiProvider.onApiReady(e=>{const n={width:"773",videoId:this.currentVideoID,playerVars:{rel:0,showinfo:0,ecver:2},events:{onReady:()=>{this.isReady=!0,t()}}};this.playerObject=new e.Player(this.playlistItem.tabContent.querySelector("div"),n),this.playerObject.addEventListener("onStateChange",s=>{s.data===3&&(this.seekSequenceArray[this.seekSequenceArray.length-1]===2?this.seekSequenceArray.push(3):(this.seekSequenceArray=[],clearTimeout(this.seekTimeOut)))})})})}handleEnded(t){this.playerObject.addEventListener("onStateChange",e=>{e.data===0&&(this.watchCount++,this.isVideoEnded=!0,e.target.seekTo(0),e.target.stopVideo(),this.isVideoPlaying=!1,t())})}handlePaused(t){this.playerObject.addEventListener("onStateChange",e=>{e.data===2&&(this.seekSequenceArray=[],this.seekSequenceArray.push(2),this.pauseCurrentTime=this.playerObject.playerInfo.currentTime,this.seekTimeOut=setTimeout(()=>{this.seekSequenceArray.length===2&&this.seekSequenceArray[0]===2&&this.seekSequenceArray[1]===3?(this.seekSequenceArray=[],clearTimeout(this.seekTimeOut)):(t(this.positionInVideoList),this.isVideoPausedLocal=!0)},1e3))})}handlePlayed(t){this.playerObject.addEventListener("onStateChange",e=>{e.data===1&&!this.isVideoEnded?this.seekSequenceArray.length===2&&this.seekSequenceArray[0]===2&&this.seekSequenceArray[1]===3||t():this.isVideoEnded=!1})}handleError(t){this.playerObject.addEventListener("onError",()=>{t()})}handleFullScreenChange(t){this.playerObject.h.addEventListener("fullscreenchange",()=>{t(document.fullscreenElement)})}getCurrentTime(){const t=this.pauseCurrentTime?this.pauseCurrentTime:this.playerObject.playerInfo.currentTime;return this.pauseCurrentTime=null,t}play(){this.isReady&&(this.isVideoPlaying=!0,this.playerObject.playVideo())}pause(){this.isReady&&(this.isVideoPlaying=!1,this.playerObject.pauseVideo())}mute(){this.playerObject.mute()}setVideoProviderData(){var t=this;return Le(function*(){t.isReady&&(t.currentVideoID&&t.currentVideoID.length===11?(t.playlistItem.thumbnail={url:"https://img.youtube.com/vi/"+t.playerObject.getVideoData().video_id+"/maxresdefault.jpg"},t.playlistItem.video_title=t.playerObject.getVideoData().title,t.playlistItem.duration=t.formatDuration(t.playerObject.getDuration())):(t.playlistItem.thumbnail={url:""},t.playlistItem.video_title="",t.playlistItem.duration=""))})()}}})),nn,$i=C((()=>{ut(),We(),nn=class extends Xe{constructor(t,e){super(t,e),this.apiProvider=elementorFrontend.utils.vimeo,this.playerObject=null,this.watchCount=0,this.isVideoInFullScreenChange=!1,this.isReady=!1}create(){return this.currentVideoID=this.apiProvider.getVideoIDFromURL(this.playlistItem.videoUrl),new Promise(t=>{this.apiProvider.onApiReady(e=>{const n={id:this.currentVideoID,autoplay:!1};this.playerObject=new e.Player(this.playlistItem.tabContent.querySelector("div"),n),this.playerObject.ready().then(()=>{this.isReady=!0,t()})})})}handleEnded(t){this.playerObject.on("ended",()=>{this.watchCount++,t(this.playlistItem)})}handlePaused(t){this.playerObject.on("pause",e=>{e.percent===0||e.percent>=1||this.isVideoInFullScreenChange||t(this.positionInVideoList)})}handlePlayed(t){this.playerObject.on("play",()=>{if(this.isVideoInFullScreenChange){this.isVideoInFullScreenChange=!1;return}t(this.playlistItem)})}handleFullScreenChange(t){this.playerObject.element.addEventListener("fullscreenchange",()=>{t(document.fullscreenElement),this.isVideoInFullScreenChange=!0})}getCurrentTime(){return this.playerObject.getCurrentTime().then(t=>t)}play(){this.isReady&&this.playerObject.play()}pause(){this.isReady&&this.playerObject.pause()}mute(){this.playerObject.setMuted(!0)}setVideoProviderData(){var t=this;return Le(function*(){if(!t.currentVideoID&&!t.currentVideoID.length===9)return;const e=yield t.playerObject.getVideoId(),n=yield(yield fetch("https://vimeo.com/api/v2/video/"+e+".json")).json();return t.playlistItem.duration=t.formatDuration(n[0].duration),t.playlistItem.video_title=n[0].title,t.playlistItem.thumbnail={url:n[0].thumbnail_medium},t.playlistItem})()}}})),sn,Vi=C((()=>{ut(),sn=class extends Xe{constructor(t,e){super(t,e),this.playerObject=null,this.watchCount=0,this.isVideoPlaying=!1,this.isVideoPausedLocal=!1,this.isVideoSeeking=!1,this.isVideoEnded=!1,this.isReady=!1}create(){return new Promise(t=>{const e=document.createElement("video");e.setAttribute("controls","");const n=document.createTextNode("Sorry, your browser doesn't support embedded videos."),s=document.createElement("source");s.setAttribute("src",this.playlistItem.videoUrl),s.setAttribute("type","video/"+this.playlistItem.videoUrl.split(".").pop()),e.appendChild(s),e.appendChild(n),this.playerObject=e,this.playlistItem.tabContent.querySelector("div").replaceWith(this.playerObject),this.playerObject.addEventListener("canplay",()=>{this.isReady=!0,t()}),this.playerObject.addEventListener("seeked",()=>{this.isVideoSeeking=!1}),this.playerObject.addEventListener("seeking",()=>{clearTimeout(this.seekTimeOut),this.isVideoSeeking=!0})})}handleEnded(t){this.playerObject.addEventListener("ended",()=>{this.watchCount++,this.isVideoEnded=!0,this.isVideoPlaying=!1,t(this.playlistItem)})}handlePaused(t){this.playerObject.addEventListener("pause",()=>{this.seekTimeOut=setTimeout(()=>{!this.isVideoSeeking&&!this.isVideoEnded?(t(this.positionInVideoList),this.isVideoPausedLocal=!0):this.isVideoEnded=!1},30)})}handlePlayed(t){this.playerObject.addEventListener("play",()=>{this.isVideoSeeking||t(this.playlistItem)})}handleFullScreenChange(t){jQuery(this.playerObject).on("webkitfullscreenchange mozfullscreenchange fullscreenchange",()=>{t(document.fullscreenElement)})}getCurrentTime(){return this.playerObject.currentTime}play(){this.isReady&&(this.isVideoPlaying=!0,this.playerObject.play())}pause(){this.isReady&&(this.isVideoPlaying=!1,this.playerObject.pause())}mute(){this.playerObject.muted=!0}
330}}));function rn(t,e){if(!e){t.$tabsItems[0].offsetHeight<t.$tabsItems[0].scrollHeight&&t.$tabsWrapper.addClass("bottom-shadow");return}e.target.scrollTop>0?t.$tabsWrapper.addClass("top-shadow"):t.$tabsWrapper.removeClass("top-shadow"),e.target.offsetHeight+e.target.scrollTop>=e.target.scrollHeight?t.$tabsWrapper.removeClass("bottom-shadow"):t.$tabsWrapper.addClass("bottom-shadow")}var Hi=C((()=>{})),on,Ui=C((()=>{on=class{constructor({event:t,tab:e,playlist:n,video:s}){this.event={type:t.type||"",time:t.time||0,element:t.element,trigger:t.trigger||"",watchCount:t.watchCount||0},this.tab={name:e.name,index:e.index},this.playlist={name:n.name,currentItem:n.currentItem,amount:n.amount},this.video={provider:s.provider,url:s.url,title:s.title,duration:s.duration}}}}));function ji(t){const e=t.elements.$innerTabs.filter(".e-active").find(".e-inner-tabs-wrapper .e-inner-tab-title");if(e.length){const n=e.filter(".e-inner-tab-active");return{name:n.text().trim(),index:n.index()+1}}return{name:"none",index:"none"}}function Bi(t,e){const n=e||t.currentPlaylistItemIndex;return{name:t.getElementSettings("playlist_title"),currentItem:n,amount:t.playlistItemsArray.filter(s=>s.videoType!=="section").length}}function zi(t,e){const n=e||t.currentPlaylistItemIndex,s=t.playlistItemsArray[n-1];return{provider:s.videoType,url:s.videoUrl,title:s.videoTitle,duration:s.videoDuration}}function Wi(t,e,n,s){return dt.apply(this,arguments)}function dt(){return dt=Le(function*(t,e,n,s){const o=s||t.currentPlaylistItemIndex,c=t.playlistItemsArray[o-1];return{type:e,time:yield c.playerInstance.getCurrentTime(),element:t.$element,trigger:n,watchCount:c.playerInstance.watchCount}}),dt.apply(this,arguments)}function ce(t,e,n,s){return ht.apply(this,arguments)}function ht(){return ht=Le(function*(t,e,n,s){const o=new on({event:yield Wi(t,e,n,s),tab:ji(t),playlist:Bi(t,s),video:zi(t,s)});jQuery("body").trigger("elementor-video-playList",o)}),ht.apply(this,arguments)}var an=C((()=>{Ui(),We()}));function ln(t,e,n){const s=t.currentTarget,o=s.querySelectorAll(".e-inner-tab-title");if(e.hasClass("e-inner-tab-active")||o.length<2)return;const c=s.querySelectorAll(".e-inner-tab-content");o.forEach(d=>{d.classList.toggle("e-inner-tab-active")}),c.forEach(d=>{d.toggleAttribute("hidden"),d.classList.toggle("e-inner-tab-active")}),cn(Array.from(c),n.isCollapsible,n.innerTabsHeightLimit),ce(n,"tabOpened","click")}function Xi(t,e){const n=t.target,s=n.tagName;n.classList.contains("e-inner-tab-title-text")&&(t.preventDefault(),ln(t,jQuery(n).parent(".e-inner-tab-title"),e)),n.classList.contains("e-tab-mobile-title")&&ln(t,jQuery(n),e),s.toLowerCase()==="button"&&Gi(t,e)}function cn(t,e,n){if(!e)return;const s=t.filter(d=>d.classList.contains("e-inner-tab-active")),o=s[0].querySelector(".e-inner-tab-text > div").offsetHeight,c=parseInt(n.size);c&&o>c&&s[0].classList.add("show-inner-tab-buttons")}function Gi(t,e){const n=jQuery(t.currentTarget).find(".e-inner-tab-content").filter(".e-inner-tab-active");n.find("button").toggleClass("show-button"),n.toggleClass("show-full-height"),ce(e,n.hasClass("show-full-height")?"tabExpanded":"tabCollapsed","click")}var Yi=C((()=>{an()}));function qi(t,e){const n=new URLSearchParams(location.search),s=n.get("playlist"),o=1;if(!s)return!1;if(s===t){const c=n.get("video"),d=e.find(h=>c===h.dataItemId),p=d?d.dataTab:o;return p||mt(t,e,o),p||!1}}function mt(t,e,n){const s=new URLSearchParams(location.search);s.set("playlist",t),s.set("video",e[n-1].dataItemId),history.replaceState({},"",location.pathname+"?"+s)}var Qi=C((()=>{})),Ki=xe({default:()=>pn}),un,dn,hn,ft,mn,fn,pt,Fe,gt,pn,Zi=C((()=>{Fi(),Ni(),$i(),Vi(),Hi(),Yi(),Qi(),an(),un=Object.defineProperty,dn=Object.defineProperties,hn=Object.getOwnPropertyDescriptors,ft=Object.getOwnPropertySymbols,mn=Object.prototype.hasOwnProperty,fn=Object.prototype.propertyIsEnumerable,pt=(t,e,n)=>e in t?un(t,e,{enumerable:!0,configurable:!0,writable:!0,value:n}):t[e]=n,Fe=(t,e)=>{for(var n in e||(e={}))mn.call(e,n)&&pt(t,n,e[n]);if(ft)for(var n of ft(e))fn.call(e,n)&&pt(t,n,e[n]);return t},gt=(t,e)=>dn(t,hn(e)),pn=class extends en{getDefaultSettings(){const t=super.getDefaultSettings();return gt(Fe({},t),{selectors:Fe(Fe({},t.selectors),{tabsWrapper:".e-tabs-items-wrapper",tabsItems:".e-tabs-items",toggleVideosDisplayButton:".e-tabs-toggle-videos-display-button",videos:".e-tabs-content-wrapper .e-tab-content",innerTabs:".e-tabs-inner-tabs .e-tab-content",imageOverlay:".elementor-custom-embed-image-overlay"})})}getDefaultElements(){const t=super.getDefaultElements(),e=this.getSettings("selectors");return gt(Fe({},t),{$tabsWrapper:this.findElement(e.tabsWrapper),$tabsItems:this.findElement(e.tabsItems),$toggleVideosDisplayButton:this.findElement(e.toggleVideosDisplayButton),$videos:this.findElement(e.videos),$innerTabs:this.findElement(e.innerTabs),$imageOverlay:this.findElement(e.imageOverlay)})}initEditorListeners(){super.initEditorListeners(),this.editorListeners.push({event:"elementorPlaylistWidget:fetchVideoData",to:elementor.channels.editor,callback:t=>{this.getCurrentPlayerSelected().setVideoProviderData().then(()=>{t.currentItem=this.getCurrentItemSelected(),elementor.channels.editor.trigger("elementorPlaylistWidget:setVideoData",t)})}})}bindEvents(){super.bindEvents(),this.elements.$imageOverlay.on({click:t=>{t.currentTarget.remove(),this.getCurrentPlayerSelected().play()}}),this.elements.$innerTabs.on({click:t=>{Xi(t,this)}}),this.elements.$tabsItems.on({scroll:t=>{rn(this.elements,t)}}),this.elements.$toggleVideosDisplayButton.on({click:t=>{jQuery(t.target).toggleClass("rotate-up"),jQuery(t.target).toggleClass("rotate-down"),this.elements.$tabsWrapper.slideToggle("slow")}})}onInit(...t){super.onInit(...t),this.playlistId=this.getID(),this.storageKey="watched_videos_"+this.getID();const e=elementorFrontend.storage.get(this.storageKey);e?this.watchedVideosArray=JSON.parse(e):this.watchedVideosArray=[],this.watchedIndication=this.getElementSettings("show_watched_indication"),rn(this.elements),this.isAutoplayOnLoad=this.getElementSettings("autoplay_on_load")==="yes",this.isAutoplayNextUp=this.getElementSettings("autoplay_next")==="yes",this.isFirstVideoActivated=!0,this.createPlaylistItems(),this.isCollapsible=this.getElementSettings("inner_tab_is_content_collapsible"),this.innerTabsHeightLimit=this.getElementSettings("inner_tab_collapsible_height"),this.currentPlayingPlaylistItemIndex=1,this.activateInitialVideo(),this.activateInnerTabInEditMode()}onEditSettingsChange(t){if(t==="panel"&&(this.preventTabActivation=!0),t==="activeItemIndex"){if(this.preventTabActivation){this.preventTabActivation=!1;return}this.activateDefaultTab()}}activateInitialVideo(){var t;this.isPageOnLoad=!0;const e=!!this.getElementSettings("lazy_load"),n=qi(this.playlistId,this.playlistItemsArray);let s=!1;n?(this.currentPlaylistItemIndex=n,this.currentPlayingPlaylistItemIndex=n,s=!0):(this.currentPlaylistItemIndex=1,this.currentPlayingPlaylistItemIndex=1),this.isAutoplayOnLoad&&!s&&mt(this.playlistId,this.playlistItemsArray,this.currentPlaylistItemIndex),s&&((t=this.$element[0])==null||t.scrollIntoView({behavior:"smooth"})),this.handleFirstVideoActivation(e)}handleFirstVideoActivation(t){if(!t){this.activateDefaultTab(this.currentPlaylistItemIndex);return}const e=document.querySelector(".elementor-element-"+this.playlistId+" .e-tabs-main-area"),n=elementorModules.utils.Scroll.
330scrollObserver({callback:s=>{s.isInViewport&&(this.activateDefaultTab(this.currentPlaylistItemIndex),n.unobserve(e))}});n.observe(e)}getCurrentItemSelected(){return this.playlistItemsArray[this.currentPlaylistItemIndex-1]}getCurrentPlayerSelected(){return this.getCurrentItemSelected().playerInstance}getCurrentPlayerPlaying(){return this.playlistItemsArray[this.currentPlayingPlaylistItemIndex-1].playerInstance}isVideoShouldBePlayed(){if(this.currentPlayingPlaylistItemIndex!==this.currentPlaylistItemIndex)this.getCurrentPlayerPlaying()&&this.getCurrentPlayerPlaying().pause(),this.currentPlayingPlaylistItemIndex=this.currentPlaylistItemIndex;else if(this.getCurrentPlayerPlaying().isVideoPlaying)return this.getCurrentPlayerPlaying().pause(),!1;return!0}activateInnerTabInEditMode(){if(this.isEdit&&this.getEditSettings("innerActiveIndex")){const t=this.getEditSettings("innerActiveIndex");jQuery(this.elements.$innerTabs.eq(this.currentPlaylistItemIndex-1).find(".e-inner-tab-title a"))[t].click()}}handleVideo(t){t.playerInstance?this.isVideoShouldBePlayed()&&(this.currentPlaylistItemIndex===1&&this.elements.$imageOverlay&&this.elements.$imageOverlay.remove(),this.playVideoAfterCreation(t)):(t.playerInstance=new{youtube:tn,vimeo:nn,hosted:sn}[t.videoType](t,this.currentPlaylistItemIndex),t.playerInstance.create().then(()=>{this.isVideoShouldBePlayed()&&this.playVideoOnCreation(t),t.playerInstance.handleFullScreenChange(e=>{ce(this,e?"videoFullScreen":"videoExitFullScreen","click")}),t.playerInstance.handlePlayed(()=>{const e=this.getCurrentItemSelected();let n="click";e.isAutoplayOnLoad?(n="onLoad",t.isAutoplayOnLoad=!1):e.isAutoPlayNextUp&&(n="nextVideo"),ce(this,e.playerInstance.isVideoPausedLocal?"videoResume":"videoStart",n)}),t.playerInstance.handleEnded(()=>{ce(this,"videoEnded","click"),this.watchedIndication&&this.elements.$tabTitles.filter(".e-active").addClass("watched-video");const e=this.getCurrentItemSelected().dataItemId;if(!this.watchedVideosArray.includes(e)&&this.watchedIndication&&(this.watchedVideosArray.push(this.getCurrentItemSelected().dataItemId),elementorFrontend.storage.set(this.storageKey,JSON.stringify(this.watchedVideosArray))),this.isAutoplayNextUp&&this.playlistItemsArray.length>=++this.currentPlaylistItemIndex){for(;this.getCurrentItemSelected().videoType==="section";)if(this.currentPlaylistItemIndex++,this.playlistItemsArray.length<this.currentPlaylistItemIndex){this.currentPlaylistItemIndex=this.playlistItemsArray.length;return}this.changeActiveTab(this.currentPlaylistItemIndex,!0)}}),t.playerInstance.handlePaused(e=>{ce(this,"videoPaused","click",e)})}))}playVideoAfterCreation(t){t.playerInstance.play()}playVideoOnCreation(t){this.isAutoplayOnLoad?(t.isAutoplayOnLoad=!0,t.playerInstance.mute(),t.playerInstance.play(),this.isAutoplayOnLoad=!1):this.isFirstVideoActivated||(t.isAutoPlayNextUp=!0,t.playerInstance.play()),this.isFirstVideoActivated=!1}createPlaylistItems(){this.playlistItemsArray=[],this.elements.$videos.each((t,e)=>{const n={},s=jQuery(e);n.videoUrl=s.attr("data-video-url"),n.videoType=s.attr("data-video-type"),n.videoTitle=s.attr("data-video-title"),n.videoDuration=s.attr("data-video-duration"),n.tabContent=e,n.dataTab=t+1,n.dataItemId=this.getElementSettings().tabs[t]._id,this.playlistItemsArray.push(n)}),this.watchedVideosArray.length>0&&this.watchedIndication&&this.watchedVideosArray.forEach(t=>{const e=this.playlistItemsArray.find(n=>n.dataItemId===t);this.elements.$tabTitles.filter('[data-tab="'+e.dataTab+'"]').addClass("watched-video")})}changeActiveTab(t,e){super.changeActiveTab(t),this.playlistItemsArray[t-1]&&this.playlistItemsArray[t-1].videoType!=="section"&&(this.currentPlaylistItemIndex=parseInt(t),e&&(this.currentPlayingPlaylistItemIndex=this.currentPlaylistItemIndex),this.handleVideo(this.getCurrentItemSelected(),e),this.isPageOnLoad||mt(this.playlistId,this.playlistItemsArray,this.currentPlaylistItemIndex),this.isPageOnLoad=!1,jQuery(this.elements.$innerTabs.eq(t-1)).find(".e-inner-tab-content").length>0&&cn(this.elements.$innerTabs.filter(".e-active").find(".e-inner-tab-content").toArray(),this.isCollapsible,this.innerTabsHeightLimit))}}}));We();var Ji=(Se=class extends elementorModules.Module{constructor(){super(),elementorFrontend.hooks.addAction("frontend/element_ready/video-playlist.default",e=>{De(Le(function*(){const{default:n}=yield Promise.resolve().then(()=>(Zi(),Ki));return{default:n}}),void 0).then(({default:n})=>{elementorFrontend.elementsHandler.addHandler(n,{$element:e,toggleSelf:!1})})})}},U(Se,"default"),Se),es=xe({default:()=>gn}),gn,ts=C((()=>{gn=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{button:".elementor-button.elementor-paypal-legacy",errors:".elementor-message-danger"}}}getDefaultElements(){const t=this.getSettings();return{wrapper:this.$element[0],button:this.$element[0].querySelector(t.selectors.button),errors:this.$element[0].querySelectorAll(t.selectors.errors)}}handleClick(t){0<this.elements.errors.length&&(t.preventDefault(),this.elements.errors.forEac
vendor: 6,026 bytes, lines 330-331
330h(e=>{e.classList.remove("elementor-hidden")}))}bindEvents(){this.elements.button.addEventListener("click",this.handleClick.bind(this))}}}));function yn(t,e){(e==null||e>t.length)&&(e=t.length);for(var n=0,s=Array(e);n<e;n++)s[n]=t[n];return s}function ns(t){if(Array.isArray(t))return t}function is(t,e){var n=t==null?null:typeof Symbol!="undefined"&&t[Symbol.iterator]||t["@@iterator"];if(n!=null){var s,o,c,d,p=[],h=!0,y=!1;try{if(c=(n=n.call(t)).next,e!==0)for(;!(h=(s=c.call(n)).done)&&(p.push(s.value),p.length!==e);h=!0);}catch(O){y=!0,o=O}finally{try{if(!h&&n.return!=null&&(d=n.return(),Object(d)!==d))return}finally{if(y)throw o}}return p}}function ss(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 331In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function rs(t,e){return ns(t)||is(t,e)||os(t,e)||ss()}function os(t,e){if(t){if(typeof t=="string")return yn(t,e);var n={}.toString.call(t).slice(8,-1);return n==="Object"&&t.constructor&&(n=t.constructor.name),n==="Map"||n==="Set"?Array.from(t):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?yn(t,e):void 0}}function I(t){return function(e){e instanceof RegExp&&(e.lastIndex=0);for(var n=arguments.length,s=new Array(n>1?n-1:0),o=1;o<n;o++)s[o-1]=arguments[o];return Ge(t,e,s)}}function as(t){return function(){for(var e=arguments.length,n=new Array(e),s=0;s<e;s++)n[s]=arguments[s];return Ye(t,n)}}function f(t,e){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:de;if(bt&&bt(t,null),!Y(e))return t;let s=e.length;for(;s--;){let o=e[s];if(typeof o=="string"){const c=n(o);c!==o&&(Tn(e)||(e[s]=c),o=c)}t[o]=!0}return t}function ls(t){for(let e=0;e<t.length;e++)w(t,e)||(t[e]=null);return t}function D(t){const e=ie(null);for(const s of yt(t)){var n=rs(s,2);const o=n[0],c=n[1];w(t,o)&&(Y(c)?e[o]=ls(c):c&&typeof c=="object"&&c.constructor===Object?e[o]=D(c):e[o]=c)}return e}function cs(t){switch(typeof t){case"string":return t;case"number":return In(t);case"boolean":return Pn(t);case"bigint":return Et?Et(t):"0";case"symbol":return At?At(t):"Symbol()";case"undefined":return me(t);case"function":case"object":{if(t===null)return me(t);const e=t,n=z(e,"toString");if(typeof n=="function"){const s=n(e);return typeof s=="string"?s:me(s)}return me(t)}default:return me(t)}}function z(t,e){for(;t!==null;){const s=_n(t,e);if(s){if(s.get)return I(s.get);if(typeof s.value=="function")return I(s.value)}t=vn(t)}function n(){return null}return n}function us(t){try{return x(t,""),!0}catch(e){return!1}}function bn(){let t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Un();const e=l=>bn(l);if(e.version="3.4.11",e.removed=[],!t||!t.document||t.document.nodeType!==j.document||!t.Element)return e.isSupported=!1,e;let n=t.document;const s=n,o=s.currentScript;t.DocumentFragment;const c=t.HTMLTemplateElement,d=t.Node,p=t.Element,h=t.NodeFilter;t.NamedNodeMap===void 0&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const y=t.DOMParser,O=t.trustedTypes,V=p.prototype,Ie=z(V,"cloneNode"),L=z(V,"remove"),J=z(V,"nextSibling"),E=z(V,"childNodes"),$=z(V,"parentNode"),F=z(V,"shadowRoot"),re=z(V,"attributes"),P=d&&d.prototype?z(d.prototype,"nodeType"):null,W=d&&d.prototype?z(d.prototype,"nodeName"):null;if(typeof c=="function"){const l=n.createElement("template");l.content&&l.content.ownerDocument&&(n=l.content.ownerDocument)}let R,oe="",xt,Yn=!1,$e=0;const qn=function(){if($e>0)throw Z('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},Pe=function(i){qn(),$e++;try{return R.createHTML(i)}finally{$e--}},Es=function(i){qn(),$e++;try{return R.createScriptURL(i)}finally{$e--}},As=function(){return Yn||(xt=jn(O,o),Yn=!0),xt},et=n,Rt=et.implementation,Qn=et.createNodeIterator,Is=et.createDocumentFragment,Ps=et.getElementsByTagName,Cs=s.importNode;let A=Mt();e.isSupported=typeof yt=="function"&&typeof $=="function"&&Rt&&Rt.createHTMLDocument!==void 0;const ws=On,Os=kn,ks=Mn,Ms=xn,xs=Rn,Rs=Dn,Kn=Ln,Ds=Nn;let Zn=Ot,T=null;const Jn=f({},[...It,...Qe,...Ke,...Ze,...Pt]);let v=null;const ei=f({},[...Ct,...Je,...wt,...Ne]);let _=Object.seal(ie(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Ve=null,ti=null;const ee=Object.seal(ie(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ni=!0,Dt=!0,ii=!1,si=!0,te=!1,He=!0,ae=!1,Lt=!1,Ft=null,Nt=null,$t=!1,Ce=!1,tt=!1,nt=!1,ri=!0,oi=!1;const ai="user-content-";let Vt=!0,Ht=!1,we={},X=null;const Ut=f({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let li=null;const ci=f({},["audio","video","img","source","image","track"]);let jt=null;const ui=f({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),it="http://www.w3.org/1998/Math/MathML",st="http://www.w3.org/2000/svg",G="http://www.w3.org/1999/xhtml";let Oe=G,Bt=!1,zt=null;const Ls=f({},[it,st,G],qe),di=k(["mi","mo","mn","ms","mtext"]);let Wt=f({},di);const hi=k(["annotation-xml"]);let Xt=f({},hi);const Fs=f({},["title","style","font","a","script"]);let Ue=null;const Ns=["application/xhtml+xml","text/html"],$s="text/html";let S=null,ke=null;const Vs=n.createElement("form"),mi=function(i){return i instanceof RegExp||i instanceof Function},Gt=function(){let i=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(ke&&ke===i)return;(!i||typeof i!="object")&&(i={}
vendor: 12,224 bytes, line 331
331),i=D(i),Ue=Ns.indexOf(i.PARSER_MEDIA_TYPE)===-1?$s:i.PARSER_MEDIA_TYPE,S=Ue==="application/xhtml+xml"?qe:de,T=q(i,"ALLOWED_TAGS",Jn,{transform:S}),v=q(i,"ALLOWED_ATTR",ei,{transform:S}),zt=q(i,"ALLOWED_NAMESPACES",Ls,{transform:qe}),jt=q(i,"ADD_URI_SAFE_ATTR",ui,{transform:S,base:ui}),li=q(i,"ADD_DATA_URI_TAGS",ci,{transform:S,base:ci}),X=q(i,"FORBID_CONTENTS",Ut,{transform:S}),Ve=q(i,"FORBID_TAGS",D({}),{transform:S}),ti=q(i,"FORBID_ATTR",D({}),{transform:S}),we=w(i,"USE_PROFILES")?i.USE_PROFILES&&typeof i.USE_PROFILES=="object"?D(i.USE_PROFILES):i.USE_PROFILES:!1,ni=i.ALLOW_ARIA_ATTR!==!1,Dt=i.ALLOW_DATA_ATTR!==!1,ii=i.ALLOW_UNKNOWN_PROTOCOLS||!1,si=i.ALLOW_SELF_CLOSE_IN_ATTR!==!1,te=i.SAFE_FOR_TEMPLATES||!1,He=i.SAFE_FOR_XML!==!1,ae=i.WHOLE_DOCUMENT||!1,Ce=i.RETURN_DOM||!1,tt=i.RETURN_DOM_FRAGMENT||!1,nt=i.RETURN_TRUSTED_TYPE||!1,$t=i.FORCE_BODY||!1,ri=i.SANITIZE_DOM!==!1,oi=i.SANITIZE_NAMED_PROPS||!1,Vt=i.KEEP_CONTENT!==!1,Ht=i.IN_PLACE||!1,Zn=us(i.ALLOWED_URI_REGEXP)?i.ALLOWED_URI_REGEXP:Ot,Oe=typeof i.NAMESPACE=="string"?i.NAMESPACE:G,Wt=w(i,"MATHML_TEXT_INTEGRATION_POINTS")&&i.MATHML_TEXT_INTEGRATION_POINTS&&typeof i.MATHML_TEXT_INTEGRATION_POINTS=="object"?D(i.MATHML_TEXT_INTEGRATION_POINTS):f({},di),Xt=w(i,"HTML_INTEGRATION_POINTS")&&i.HTML_INTEGRATION_POINTS&&typeof i.HTML_INTEGRATION_POINTS=="object"?D(i.HTML_INTEGRATION_POINTS):f({},hi);const r=w(i,"CUSTOM_ELEMENT_HANDLING")&&i.CUSTOM_ELEMENT_HANDLING&&typeof i.CUSTOM_ELEMENT_HANDLING=="object"?D(i.CUSTOM_ELEMENT_HANDLING):ie(null);if(_=ie(null),w(r,"tagNameCheck")&&mi(r.tagNameCheck)&&(_.tagNameCheck=r.tagNameCheck),w(r,"attributeNameCheck")&&mi(r.attributeNameCheck)&&(_.attributeNameCheck=r.attributeNameCheck),w(r,"allowCustomizedBuiltInElements")&&typeof r.allowCustomizedBuiltInElements=="boolean"&&(_.allowCustomizedBuiltInElements=r.allowCustomizedBuiltInElements),M(_),te&&(Dt=!1),tt&&(Ce=!0),we&&(T=f({},Pt),v=ie(null),we.html===!0&&(f(T,It),f(v,Ct)),we.svg===!0&&(f(T,Qe),f(v,Je),f(v,Ne)),we.svgFilters===!0&&(f(T,Ke),f(v,Je),f(v,Ne)),we.mathMl===!0&&(f(T,Ze),f(v,wt),f(v,Ne))),ee.tagCheck=null,ee.attributeCheck=null,w(i,"ADD_TAGS")&&(typeof i.ADD_TAGS=="function"?ee.tagCheck=i.ADD_TAGS:Y(i.ADD_TAGS)&&(T===Jn&&(T=D(T)),f(T,i.ADD_TAGS,S))),w(i,"ADD_ATTR")&&(typeof i.ADD_ATTR=="function"?ee.attributeCheck=i.ADD_ATTR:Y(i.ADD_ATTR)&&(v===ei&&(v=D(v)),f(v,i.ADD_ATTR,S))),w(i,"ADD_URI_SAFE_ATTR")&&Y(i.ADD_URI_SAFE_ATTR)&&f(jt,i.ADD_URI_SAFE_ATTR,S),w(i,"FORBID_CONTENTS")&&Y(i.FORBID_CONTENTS)&&(X===Ut&&(X=D(X)),f(X,i.FORBID_CONTENTS,S)),w(i,"ADD_FORBID_CONTENTS")&&Y(i.ADD_FORBID_CONTENTS)&&(X===Ut&&(X=D(X)),f(X,i.ADD_FORBID_CONTENTS,S)),Vt&&(T["#text"]=!0),ae&&f(T,["html","head","body"]),T.table&&(f(T,["tbody"]),delete Ve.tbody),i.TRUSTED_TYPES_POLICY){if(typeof i.TRUSTED_TYPES_POLICY.createHTML!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof i.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Z('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const a=R;R=i.TRUSTED_TYPES_POLICY;try{oe=Pe("")}catch(u){throw R=a,u}}else i.TRUSTED_TYPES_POLICY===null?(R=void 0,oe=""):(R===void 0&&(R=As()),R&&typeof oe=="string"&&(oe=Pe("")));k&&k(i),ke=i},fi=f({},[...Qe,...Ke,...Cn]),pi=f({},[...Ze,...wn]),Hs=function(i,r,a){return r.namespaceURI===G?i==="svg":r.namespaceURI===it?i==="svg"&&(a==="annotation-xml"||Wt[a]):!!fi[i]},Us=function(i,r,a){return r.namespaceURI===G?i==="math":r.namespaceURI===st?i==="math"&&Xt[a]:!!pi[i]},js=function(i,r,a){return r.namespaceURI===st&&!Xt[a]||r.namespaceURI===it&&!Wt[a]?!1:!pi[i]&&(Fs[i]||!fi[i])},Bs=function(i){let r=$(i);(!r||!r.tagName)&&(r={namespaceURI:Oe,tagName:"template"});const a=de(i.tagName),u=de(r.tagName);return zt[i.namespaceURI]?i.namespaceURI===st?Hs(a,r,u):i.namespaceURI===it?Us(a,r,u):i.namespaceURI===G?js(a,r,u):!!(Ue==="application/xhtml+xml"&&zt[i.namespaceURI]):!1},ne=function(i){se(e.removed,{element:i});try{$(i).removeChild(i)}catch(r){if(L(i),!$(i))throw Z("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},gi=function(i){const r=E(i);if(r){const u=[];ue(r,m=>{se(u,m)}),ue(u,m=>{try{L(m)}catch(g){}})}const a=re(i);if(a)for(let u=a.length-1;u>=0;--u){const m=a[u],g=m&&m.name;if(typeof g=="string")try{i.removeAttribute(g)}catch(b){}}},le=function(i,r){try{se(e.removed,{attribute:r.getAttributeNode(i),from:r})}catch(a){se(e.removed,{attribute:null,from:r})}if(r.removeAttribute(i),i==="is")if(Ce||tt)try{ne(r)}catch(a){}else try{r.setAttribute(i,"")}catch(a){}},zs=function(i){const r=re(i);if(r)for(let a=r.length-1;a>=0;--a){const u=r[a],m=u&&u.name;if(!(typeof m!="string"||v[S(m)]))try{i.removeAttribute(m)}catch(g){}}},Ws=function(i){const r=[i];for(;r.length>0;){const a=r.pop();(P?P(a):a.nodeType)===j.element&&zs(a);const u=E(a);if(u)for(let m=u.length-1;m>=0;--m)r.push(u[m])}},yi=function(i){let r=null,a=null;if($t)i="<remove></remove>"+i;else{const g=_t(i,/^[\r\n\t ]+/);a=g&&g[0]}Ue==="application/xhtml+xml"&&Oe===G&&(i='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+i+"</body></html>");const u=R?Pe(i):i;if(Oe===G)try{r=new y().parseFromString(u,Ue)}catch(g){}if(!r||!r.documentElement){r=Rt.createDocument(Oe,"template",null);try{r.documentElement.innerHTML=Bt?oe:u}catch(g){}}const m=r.body||r.documentElement;return i&&a&&m.insertBefore(n.createTextNode(a),m.childNodes[0]||null),Oe===G?Ps.call(r,ae?"html":"body")[0]:ae?r.documentElement:m},bi=function(i){return Qn.call(i.ownerDocument||i,i,h.SHOW_ELEMENT|h.SHOW_COMMENT|h.SHOW_TEXT|h.SHOW_PROCESSING_INSTRUCTION|h.SHOW_CDATA_SECTION,null)},rt=function(i){return i=he(i,ws," "),i=he(i,Os," "),i=he(i,ks," "),i},Yt=function(i){var r;i.normalize();const a=Qn.call(i.ownerDocument||i,i,h.SHOW_TEXT|h.SHOW_COMMENT|h.SHOW_CDATA_SECTION|h.SHOW_PROCESSING_INSTRUCTION,null);let u=a.nextNode();for(;u;)u.data=rt(u.data),u=a.nextNode();const m=(r=i.querySelectorAll)===null||r===void 0?void 0:r.call(i,"template");m&&ue(m,g=>{Me(g.content)&&Yt(g.content)})},ot=function(i){const r=W?W(i):null;return typeof r!="string"||S(r)!=="form"?!1:typeof i.nodeName!="string"||typeof i.textContent!="string"||typeof i.removeChild!="function"||i.attributes!==re(i)||typeof i.removeAttribute!="function"||typeof i.setAttribute!="function"||typeof i.namespaceURI!="string"||typeof i.insertBefore!="function"||typeof i.hasChildNodes!="function"||i.nodeType!==P(i)||i.childNodes!==E(i)},Me=function(i){if(!P||typeof i!="object"||i===null)return!1;try{return P(i)===j.documentFragment}catch(r){return!1}},je=function(i){if(!P||typeof i!="object"||i===null)return!1;try{return typeof P(i)=="number"}catch(r){return!1}};function Q(l,i,r){l.length!==0&&ue(l,a=>{a.call(e,i,r,ke)})}const Xs=function(i,r){return!!(He&&i.hasChildNodes()&&!je(i.firstElementChild)&&x(kt,i.textContent)&&x(kt,i.innerHTML)||He&&i.namespaceURI===G&&r==="style"&&je(i.firstElementChild)||i.nodeType===j.processingInstruction||He&&i.nodeType===j.comment&&x($n,i.data))},Gs=function(i,r){if(!Ve[r]&&_i(r)&&(_.tagNameCheck instanceof RegExp&&x(_.tagNameCheck,r)||_.tagNameCheck instanceof Function&&_.tagNameCheck(r)))return!1;if(Vt&&!X[r]){const a=$(i),u=E(i);if(u&&a){const m=u.length;for(let g=m-1;g>=0;--g){const b=Ht?u[g]:Ie(u[g],!0);a.insertBefore(b,J(i))}}}return ne(i),!0},Ti=function(i){if(Q(A.beforeSanitizeElements,i,null),ot(i))return ne(i),!0;const r=S(W?W(i):i.nodeName);if(Q(A.uponSanitizeElement,i,{tagName:r,allowedTags:T}),Xs(i,r))return ne(i),!0;if(Ve[r]||!(ee.tagCheck instanceof Function&&ee.tagCheck(r))&&!T[r])return Gs(i,r);if((P?P(i):i.nodeType)===j.element&&!Bs(i)||(r==="noscript"||r==="noembed"||r==="noframes")&&x(Vn,i.innerHTML))return ne(i),!0;if(te&&i.nodeType===j.text){const a=rt(i.textContent);i.textContent!==a&&(se(e.removed,{element:i.cloneNode()}),i.textContent=a)}return Q(A.afterSanitizeElements,i,null),!1},vi=function(i,r,a){if(ti[r]||ri&&(r==="id"||r==="name")&&(a in n||a in Vs))return!1;const u=v[r]||ee.attributeCheck instanceof Function&&ee.attributeCheck(r,i);if(!(Dt&&x(Ms,r))){if(!(ni&&x(xs,r))){if(u){if(!jt[r]){if(!x(Zn,he(a,Kn,""))){if(!((r==="src"||r==="xlink:href"||r==="href")&&i!=="script"&&St(a,"data:")===0&&li[i])){if(!(ii&&!x(Rs,he(a,Kn,"")))){if(a)return!1}}}}}else if(!(_i(i)&&(_.tagNameCheck instanceof RegExp&&x(_.tagNameCheck,i)||_.tagNameCheck instanceof Function&&_.tagNameCheck(i))&&(_.attributeNameCheck instanceof RegExp&&x(_.attributeNameCheck,r)||_.attributeNameCheck instanceof Function&&_.attributeNameCheck(r,i))||r==="is"&&_.allowCustomizedBuiltInElements&&(_.tagNameCheck instanceof RegExp&&x(_.tagNameCheck,a)||_.tagNameCheck instanceof Function&&_.tagNameCheck(a))))return!1}}return!0},Ys=f({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),_i=function(i){return!Ys[de(i)]&&x(Ds,i)},qs=function(i,r,a,u){if(R&&typeof O=="object"&&typeof O.getAttributeType=="function"&&!a)switch(O.getAttributeType(i,r)){case"TrustedHTML":return Pe(u);case"TrustedScriptURL":return Es(u)}return u},Qs=function(i,r,a,u){try{a?i.setAttributeNS(a,r,u):i.setAttribute(r,u),ot(i)?ne(i):vt(e.removed)}catch(m){le(r,i)}},Si=function(i){Q(A.beforeSanitizeAttributes,i,null);const r=i.attributes;if(!r||ot(i))return;const a={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:v,forceKeepAttr:void 0};let u=r.length;const m=S(i.nodeName);for(;u--;){const g=r[u],b=g.name,H=g.namespaceURI,K=g.value,B=S(b),Qt=K;let N=b==="value"?Qt:An(Qt);if(a.attrName=B,a.attrValue=N,a.keepAttr=!0,a.forceKeepAttr=void 0,Q(A.uponSanitizeAttribute,i,a),N=a.attrValue,oi&&(B==="id"||B==="name")&&St(N,ai)!==0&&(le(b,i),N=ai+N),He&&x(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,N)){le(b,i);continue}if(B==="attributename"&&_t(N,"href")){le(b,i);continue}if(!a.forceKeepAttr){if(!a.keepAttr){le(b,i);continue}if(!si&&x(Hn,N)){le(b,i);continue}if(te&&(N=rt(N)),!vi(m,B,N)){le(b,i);continue}N=qs(m,B,H,N),N!==Qt&&Qs(i,b,H,N)}}Q(A.afterSanitizeAttributes,i,null)},at=function(i){let r=null;const a=bi(i);for(Q(A.beforeSanitizeShadowDOM,i,null);r=a.nextNode();)if(Q(A.uponSanitizeShadowNode,r,null),Ti(r),Si(r),Me(r.content)&&at(r.content),(P?P(r):r.nodeType)===j.element){const u=F(r);Me(u)&&(qt(u),at(u))}Q(A.afterSanitizeShadowDOM,i,null)},qt=function(i){const r=[{node:i,shadow:null}];for(;r.length>0;){const a=r.pop();if(a.shadow){at(a.shadow);continue}const u=a.node,m=(P?P(u):u.nodeType)===j.element,g=E(u);if(g)for(let b=g.length-1;b>=0;--b)r.push({node:g[b],shadow:null});if(m){const b=W?W(u):null;if(typeof b=="string"&&S(b)==="template"){const H=u.content;Me(H)&&r.push({node:H,shadow:null})}}if(m){const b=F(u);Me(b)&&r.push({node:null,shadow:b},{node:b,shadow:null})}}};return e.sanitize=function(l){let i=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=null,a=null,u=null,m=null;if(Bt=!l,Bt&&(l="<!-->"),typeof l!="string"&&!je(l)&&(l=cs(l),typeof l!="string"))throw Z("dirty is not a string, aborting");if(!e.isSupported)return l;Lt?(T=Ft,v=Nt):Gt(i),(A.uponSanitizeElement.length>0||A.uponSanitizeAttribute.length>0)&&(T=D(T)),A.uponSanitizeAttribute.length>0&&(v=D(v)),e.removed=[];const g=Ht&&typeof l!="string"&&je(l);if(g){const K=W?W(l):l.nodeName;if(typeof K=="string"){const B=S(K);if(!T[B]||Ve[B])throw Z("root node is forbidden and cannot be sanitized in-place")}if(ot(l))throw Z("root node is clobbered and cannot be sanitized in-place");try{qt(l)}catch(B){throw gi(l),B}}else if(je(l))r=yi("<!---->"),a=r.ownerDocument.importNode(l,!0),a.nodeType===j.element&&a.nodeName==="BODY"||a.nodeName==="HTML"?r=a:r.appendChild(a),qt(a);else{if(!Ce&&!te&&!ae&&l.indexOf("<")===-1)return R&&nt?Pe(l):l;if(r=yi(l),!r)return Ce?null:nt?oe:""}r&&$t&&ne(r.firstChild);const b=bi(g?l:r);try{for(;u=b.nextNode();)Ti(u),Si(u),Me(u.content)&&at(u.content)}catch(K){throw g&&gi(l),K}if(g)return ue(e.removed,K=>{K.element&&Ws(K.element)}),te&&Yt(l),l;if(Ce){if(te&&Yt(r),tt)for(m=Is.call(r.ownerDocument);r.firstChild;)m.appendChild(r.firstChild);else m=r;return(v.shadowroot||v.shadowrootmode)&&(m=Cs.call(s,m,!0)),m}let H=ae?r.outerHTML:r.innerHTML;
vendor: 5,567 bytes, lines 331-332
331return ae&&T["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&x(Fn,r.ownerDocument.doctype.name)&&(H="<!DOCTYPE "+r.ownerDocument.doctype.name+`> 332`+H),te&&(H=rt(H)),R&&nt?Pe(H):H},e.setConfig=function(){let l=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Gt(l),Lt=!0,Ft=T,Nt=v},e.clearConfig=function(){ke=null,Lt=!1,Ft=null,Nt=null,R=xt,oe=""},e.isValidAttribute=function(l,i,r){ke||Gt({});const a=S(l),u=S(i);return vi(a,u,r)},e.addHook=function(l,i){typeof i=="function"&&w(A,l)&&se(A[l],i)},e.removeHook=function(l,i){if(w(A,l)){if(i!==void 0){const r=Sn(A[l],i);return r===-1?void 0:En(A[l],r,1)[0]}return vt(A[l])}},e.removeHooks=function(l){w(A,l)&&(A[l]=[])},e.removeAllHooks=function(){A=Mt()},e}var yt,bt,Tn,vn,_n,k,M,ie,Tt,Ge,Ye,ue,Sn,vt,se,En,Y,de,qe,_t,he,St,An,In,Pn,Et,At,w,me,x,Z,It,Qe,Ke,Cn,Ze,wn,Pt,Ct,Je,wt,Ne,On,kn,Mn,xn,Rn,Ot,Dn,Ln,Fn,Nn,kt,$n,Vn,Hn,j,Un,jn,Mt,q,Bn,ds=C((()=>{yt=Object.entries,bt=Object.setPrototypeOf,Tn=Object.isFrozen,vn=Object.getPrototypeOf,_n=Object.getOwnPropertyDescriptor,k=Object.freeze,M=Object.seal,ie=Object.create,Tt=typeof Reflect!="undefined"&&Reflect,Ge=Tt.apply,Ye=Tt.construct,k||(k=function(e){return e}),M||(M=function(e){return e}),Ge||(Ge=function(e,n){for(var s=arguments.length,o=new Array(s>2?s-2:0),c=2;c<s;c++)o[c-2]=arguments[c];return e.apply(n,o)}),Ye||(Ye=function(e){for(var n=arguments.length,s=new Array(n>1?n-1:0),o=1;o<n;o++)s[o-1]=arguments[o];return new e(...s)}),ue=I(Array.prototype.forEach),Sn=I(Array.prototype.lastIndexOf),vt=I(Array.prototype.pop),se=I(Array.prototype.push),En=I(Array.prototype.splice),Y=Array.isArray,de=I(String.prototype.toLowerCase),qe=I(String.prototype.toString),_t=I(String.prototype.match),he=I(String.prototype.replace),St=I(String.prototype.indexOf),An=I(String.prototype.trim),In=I(Number.prototype.toString),Pn=I(Boolean.prototype.toString),Et=typeof BigInt=="undefined"?null:I(BigInt.prototype.toString),At=typeof Symbol=="undefined"?null:I(Symbol.prototype.toString),w=I(Object.prototype.hasOwnProperty),me=I(Object.prototype.toString),x=I(RegExp.prototype.test),Z=as(TypeError),It=k(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Qe=k(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Ke=k(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Cn=k(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Ze=k(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),wn=k(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Pt=k(["#text"]),Ct=k(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
332spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Je=k(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),wt=k(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Ne=k(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),On=M(/{{[\w\W]*|^[\w\W]*}}/g),kn=M(/<%[\w\W]*|^[\w\W]*%>/g),Mn=M(/\${[\w\W]*/g),xn=M(/^data-[\-\w.\u00B7-\uFFFF]+$/),Rn=M(/^aria-[\-\w]+$/),Ot=M(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Dn=M(/^(?:\w+script|data):/i),Ln=M(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Fn=M(/^html$/i),Nn=M(/^[a-z][.\w]*(-[.\w]+)+$/i),kt=M(/<[/\w!]/g),$n=M(/<[/\w]/g),Vn=M(/<\/no(script|embed|frames)/i),Hn=M(/\/>/i),j={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Un=function(){return typeof window=="undefined"?null:window},jn=function(e,n){if(typeof e!="object"||typeof e.createPolicy!="function")return null;let s=null;const o="data-tt-policy-suffix";n&&n.hasAttribute(o)&&(s=n.getAttribute(o));const c="dompurify"+(s?"#"+s:"");try{return e.createPolicy(c,{createHTML(d){return d},createScriptURL(d){return d}})}catch(d){return console.warn("TrustedTypes policy "+c+" could not be created."),null}},Mt=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},q=function(e,n,s,o){return w(e,n)&&Y(e[n])?f(o.base?D(o.base):{},e[n],o.transform):s},Bn=bn()})),hs=xe({default:()=>zn}),zn,ms=C((()=>{ds(),zn=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{form:".elementor-stripe-form",errors:".elementor-message-danger"}}}getDefaultElements(){const t=this.getSettings();return{form:this.$element[0].querySelector(t.selectors.form),errors:this.$element[0].querySelectorAll(t.selectors.errors),post_id:this.$element.closest("[data-elementor-id]").attr("data-elementor-id")}}handleSubmit(t){if(t.preventDefault(),elementorFrontend.isEditMode())return;this.elements.errors.innerHTML!==""&&document.querySelectorAll(".elementor-stripe-error-message").forEach(E=>E.remove());const e=this.elements.form,n=new FormData(e),s=n.get("url"),o=n.get("action"),c=parseInt(this.elements.post_id),d=n.get("widget_id"),p=n.get("custom_error_msg"),h=n.get("custom_error_msg_global"),y=n.get("custom_error_msg_payment"),O=n.get("stripe_form_submit_nonce"),V=document.URL,Ie=n.get("open_in_new_window")==="yes"?"_blank":"_self",L=E=>{const $=document.createElement("div"),F=e.appendChild($);F.className="elementor-message elementor-stripe-error-message elementor-message-danger",F.innerHTML=`${Bn.sanitize(E)}`},J={action:o,postId:c,widgetId:d,pageUrl:V,nonce:O};
3320<this.elements.errors.length?this.elements.errors.forEach(E=>{E.classList.remove("elementor-hidden")}):jQuery.post(s,{action:o,data:J}).done(E=>{const $=E.response.code,F=E.body&&JSON.parse(E.body);switch($){case 200:window.open(F.url,Ie);break;case 401:case 403:L(p?y:F.error.message);break;default:L(p?h:F.error.message)}}).fail(()=>{L(p?h:result.error.message)})}bindEvents(){this.elements.form.addEventListener("submit",t=>this.handleSubmit(t))}}})),fs=(Ee=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("paypal-button",()=>De(()=>Promise.resolve().then(()=>(ts(),es)),void 0)),elementorFrontend.elementsHandler.attachHandler("stripe-button",()=>De(()=>Promise.resolve().then(()=>(ms(),hs)),void 0))}},U(Ee,"default"),Ee),Wn,ps=C((()=>{Wn=class{constructor(t,e){this.settings=e,this.lastKnownProgress=null,this.circularProgressTracker=t.find(".elementor-scrolling-tracker-circular")[0],this.circularCurrentProgress=this.circularProgressTracker.getElementsByClassName("current-progress")[0],this.circularCurrentProgressPercentage=this.circularProgressTracker.getElementsByClassName("current-progress-percentage")[0];const n=this.circularCurrentProgress.r.baseVal.value*2*Math.PI;this.circularCurrentProgress.style.strokeDasharray=`${n} ${n}`,this.circularCurrentProgress.style.strokeDashoffset=n,this.elements=this.cacheElements(),this.resizeObserver=new ResizeObserver(()=>{this.lastKnownProgress&&this.updateProgress(this.lastKnownProgress)}),this.resizeObserver.observe(this.circularProgressTracker)}cacheElements(){return{circularProgressTracker:this.circularProgressTracker,circularCurrentProgress:this.circularCurrentProgress,circularCurrentProgressPercentage:this.circularCurrentProgressPercentage}}updateProgress(t){if(t<=0){this.elements.circularCurrentProgress.style.display="none",this.elements.circularCurrentProgressPercentage.style.display="none";return}this.elements.circularCurrentProgress.style.display="block",this.elements.circularCurrentProgressPercentage.style.display="block";const e=this.elements.circularCurrentProgress.r.baseVal.value*2*Math.PI,n=e-t/100*e;this.lastKnownProgress=t,this.elements.circularCurrentProgress.style.strokeDasharray=`${e} ${e}`,this.elements.circularCurrentProgress.style.strokeDashoffset=this.settings.direction==="ltr"?-n:n,this.settings.percentage==="yes"&&(this.elements.circularCurrentProgressPercentage.innerHTML=Math.round(t)+"%")}onDestroy(){this.resizeObserver.unobserve(this.circularProgressTracker)}}})),Xn,gs=C((()=>{Xn=class{constructor(t,e){this.settings=e,this.linearProgressTracker=t.find(".elementor-scrolling-tracker-horizontal")[0],this.linearCurrentProgress=this.linearProgressTracker.getElementsByClassName("current-progress")[0],this.linearCurrentProgressPercentage=this.linearProgressTracker.getElementsByClassName("current-progress-percentage")[0],this.elements=this.cacheElements()}cacheElements(){return{linearProgressTracker:this.linearProgressTracker,linearCurrentProgress:this.linearCurrentProgress,linearCurrentProgressPercentage:this.linearCurrentProgressPercentage}}updateProgress(t){if(t<1){this.elements.linearCurrentProgress.style.display="none";return}this.elements.linearCurrentProgress.style.display="flex",this.elements.linearCurrentProgress.style.width=t+"%",this.settings.percentage==="yes"&&this.elements.linearCurrentProgress.getBoundingClientRect().width>this.elements.linearCurrentProgressPercentage.getBoundingClientRect().width*1.5?(this.elements.linearCurrentProgressPercentage.innerHTML=Math.round(t)+"%",this.elements.linearCurrentProgressPercentage.style.color=getComputedStyle(this.linearCurrentProgress).getPropertyValue("--percentage-color")):this.elements.linearCurrentProgressPercentage.style.color="transparent"}}})),ys=xe({default:()=>Gn}),Gn,bs=C((()=>{ps(),gs(),Gn=class extends elementorModules.frontend.handlers.Base{onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.circular=this.getElementSettings().type==="circular";const t=this.circular?Wn:Xn;this.progressBar=new t(this.$element,this.getElementSettings()),this.progressPercentage=0,this.scrollHandler(),this.handler=this.scrollHandler.bind(this),this.initListeners()}getTrackingElementSelector(){const t=this.getElementSettings().relative_to;let e;switch(t){case"selector":e=jQuery(this.getElementSettings().selector);break;case"post_content":e=jQuery(".elementor-widget-theme-post-content");break;default:e=this.isScrollSnap()?jQuery("#e-scroll-snap-container"):elementorFrontend.elements.$body;break}return e}isScrollSnap(){return(this.isEdit?elementor.settings.page.model.attributes.scroll_snap:elementorFrontend.config.settings.page.scroll_snap)==="yes"}addScrollSnapContainer(){this.isScrollSnap()&&!jQuery("#e-scroll-snap-container").length&&jQuery("body").wrapInner('<div id="e-scroll-snap-container" />')}scrollHandler(){this.addScrollSnapContainer();const t=this.getTrackingElementSelector(),e=t.is(elementorFrontend.elements.$body)||t.is(jQuery("#e-scroll-snap-container"))?-100:0;this.progressPercentage=elementorModules.utils.Scroll.getElementViewportPercentage(this.getTrackingElementSelector(),{start:e,end:-100}),this.progressBar.updateProgress(this.progressPercentage)}initListeners(){window.addEventListener("scroll",this.handler),elementorFrontend.elements.$body[0].addEventListener("scroll",this.handler)}onDestroy(){this.progressBar.onDestroy&&this.progressBar.onDestroy(),window.removeEventListener("scroll",this.handler),elementorFrontend.elements.$body[0].removeEventListener("scroll",this.handler)}}})),Ts=(Ae=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("progress-tracker",()=>De(()=>Promise.resolve().then(()=>(bs(),ys)),void 0))}},U(Ae,"default"),Ae),vs=class{getControlValue(t,e,n){let s;return typeof t[e]=="object"&&n?s=t[e][n]:s=t[e],s}getResponsiveControlValue(t,e,n=""){const s=elementorFrontend.getCurrentDeviceMode(),o=this.getControlValue(t,e,n);if(s==="widescreen"){const y=this.getControlValue(t,`${e}_widescreen`,n);return y||y===0?y:o}const c=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0});let d=s,p=c.indexOf(s),h="";for(;p<=c.length;){if(d==="desktop"){h=o;break}const y=`${e}_${d}`,O=this.getControlValue(t,y,n);if(O||O===0){h=O;break}p++,d=c[p]}return h}},_s=class{constructor(t){this.widgetConfig=t}calculateStickyMenuNavHeight(){this.widgetConfig.elements.$dropdownMenuContainer.css(this.widgetConfig.settings.menuHeight
332CssVarName,"");const t=this.widgetConfig.elements.$dropdownMenuContainer.offset().top-jQuery(window).scrollTop();return elementorFrontend.elements.$window.height()-t}calculateMenuTabContentHeight(t){return elementorFrontend.elements.$window.height()-t[0].getBoundingClientRect().top}isElementSticky(){return this.widgetConfig.elements.$element.hasClass("elementor-sticky")||this.widgetConfig.elements.$element.parents(".elementor-sticky").length}getMenuHeight(){return this.isElementSticky()?this.calculateStickyMenuNavHeight()+"px":this.widgetConfig.settings.dropdownMenuContainerMaxHeight}setMenuHeight(t){this.widgetConfig.elements.$dropdownMenuContainer.css(this.widgetConfig.settings.menuHeightCssVarName,t)}reassignMobileMenuHeight(){const t=this.isToggleActive()?this.getMenuHeight():0;return this.setMenuHeight(t)}reassignMenuHeight(t){if(!this.isElementSticky()||t.length===0)return;const e=elementorFrontend.elements.$window.height()-t[0].getBoundingClientRect().top;t.height()>e&&(t.css("height",this.calculateMenuTabContentHeight(t)+"px"),t.css("overflow-y","scroll"))}resetMenuHeight(t){this.isElementSticky()&&(t.css("height","initial"),t.css("overflow-y","visible"))}isToggleActive(){var t;const e=this.widgetConfig.elements.$menuToggle;return!((t=this.widgetConfig.attributes)===null||t===void 0)&&t.menuToggleState?e.attr(this.widgetConfig.attributes.menuToggleState)==="true":e.hasClass(this.widgetConfig.classes.menuToggleActiveClass)}},Ss=class extends elementorModules.ViewModule{onInit(){super.onInit(),this.config=ElementorProFrontendConfig,this.modules={},this.initOnReadyComponents()}bindEvents(){jQuery(window).on("elementor/frontend/init",this.onElementorFrontendInit.bind(this))}initModules(){let t={motionFX:ki,sticky:xi,codeHighlight:Li,videoPlaylist:Ji,payments:fs,progressTracker:Ts};elementorProFrontend.trigger("elementor-pro/modules/init/before"),t=elementorFrontend.hooks.applyFilters("elementor-pro/frontend/handlers",t),jQuery.each(t,(e,n)=>{this.modules[e]=new n}),this.modules.linkActions={addAction:(...e)=>{elementorFrontend.utils.urlActions.addAction(...e)}}}onElementorFrontendInit(){this.initModules()}initOnReadyComponents(){this.utils={controls:new vs,DropdownMenuHeightController:_s}}};window.elementorProFrontend=new Ss}
332)(); 333; 334/*! elementor-pro - v4.3.0 - 30-09-2026 */ 335(function(At){var ke,xe,De,Le,Me,Pe,Oe,Be,He,Re,We,Ne,ze,je,qe,Ve,Ue,Ge,Qe,Ke,Ye,Xe,Je,Ze,et,tt,nt,st,it,ot,rt,at,lt,ct,dt,ut,mt,ht,gt,pt,ft,vt,_t,bt,St;var hr=Object.create,Ft=Object.defineProperty,f=(e,t)=>Ft(e,"name",{value:t,configurable:!0}),gr=Object.getOwnPropertyDescriptor,pr=Object.getOwnPropertyNames,fr=Object.getPrototypeOf,vr=Object.prototype.hasOwnProperty,g=(e,t,n)=>()=>{if(n)throw n[0];try{return e&&(t=e(e=0)),t}catch(s){throw n=[s],s}},Ss=(e,t)=>()=>(t||(e((t={exports:{}}).exports,t),e=null),t.exports),b=(e,t)=>{let n={};for(var s in e)Ft(n,s,{get:e[s],enumerable:!0});return t||Ft(n,Symbol.toStringTag,{value:"Module"}),n},_r=(e,t,n,s)=>{if(t&&typeof t=="object"||typeof t=="function")for(var i=pr(t),o=0,a=i.length,l;o<a;o++)l=i[o],!vr.call(e,l)&&l!==n&&Ft(e,l,{get:(d=>t[d]).bind(null,l),enumerable:!(s=gr(t,l))||s.enumerable});return e},It=(e,t,n)=>(n=e!=null?hr(fr(e)):{},_r(t||!e||!e.__esModule?Ft(n,"default",{value:e,enumerable:!0}):n,e)),td="modulepreload",nd=function(e){return"/"+e},sd={},v=function(t,n,s){let i=Promise.resolve();if(0)var a,l;function o(d){const h=new Event("vite:preloadError",{cancelable:!0});if(h.payload=d,window.dispatchEvent(h),!h.defaultPrevented)throw d}return i.then(d=>{for(const h of d||[])h.status==="rejected"&&o(h.reason);return t().catch(o)})},br=b({default:()=>ys}),ys,Sr=g((()=>{ys=elementorModules.frontend.handlers.Base.extend({svgPaths:{circle:["M325,18C228.7-8.3,118.5,8.3,78,21C22.4,38.4,4.6,54.6,5.6,77.6c1.4,32.4,52.2,54,142.6,63.7 c66.2,7.1,212.2,7.5,273.5-8.3c64.4-16.6,104.3-57.6,33.8-98.2C386.7-4.9,179.4-1.4,126.3,20.7"],underline_zigzag:["M9.3,127.3c49.3-3,150.7-7.6,199.7-7.4c121.9,0.4,189.9,0.4,282.3,7.2C380.1,129.6,181.2,130.6,70,139 c82.6-2.9,254.2-1,335.9,1.3c-56,1.4-137.2-0.3-197.1,9"],x:["M497.4,23.9C301.6,40,155.9,80.6,4,144.4","M14.1,27.6c204.5,20.3,393.8,74,467.3,111.7"],strikethrough:["M3,75h493.5"],curly:["M3,146.1c17.1-8.8,33.5-17.8,51.4-17.8c15.6,0,17.1,18.1,30.2,18.1c22.9,0,36-18.6,53.9-18.6 c17.1,0,21.3,18.5,37.5,18.5c21.3,0,31.8-18.6,49-18.6c22.1,0,18.8,18.8,36.8,18.8c18.8,0,37.5-18.6,49-18.6c20.4,0,17.1,19,36.8,19 c22.9,0,36.8-20.6,54.7-18.6c17.7,1.4,7.1,19.5,33.5,18.8c17.1,0,47.2-6.5,61.1-15.6"],diagonal:["M13.5,15.5c131,13.7,289.3,55.5,475,125.5"],double:["M8.4,143.1c14.2-8,97.6-8.8,200.6-9.2c122.3-0.4,287.5,7.2,287.5,7.2","M8,19.4c72.3-5.3,162-7.8,216-7.8c54,0,136.2,0,267,7.8"],double_underline:["M5,125.4c30.5-3.8,137.9-7.6,177.3-7.6c117.2,0,252.2,4.7,312.7,7.6","M26.9,143.8c55.1-6.1,126-6.3,162.2-6.1c46.5,0.2,203.9,3.2,268.9,6.4"],underline:["M7.7,145.6C109,125,299.9,116.2,401,121.3c42.1,2.2,87.6,11.8,87.3,25.7"]},getDefaultSettings(){const e=this.getElementSettings("rotate_iteration_delay"),t={animationDelay:e||2500,lettersDelay:e*.02||50,typeLettersDelay:e*.06||150,selectionDuration:e*.2||500,revealDuration:e*.24||600,revealAnimationDelay:e*.6||1500,highlightAnimationDuration:this.getElementSettings("highlight_animation_duration")||1200,highlightAnimationDelay:this.getElementSettings("highlight_iteration_delay")||8e3};return t.typeAnimationDelay=t.selectionDuration+800,t.selectors={headline:".elementor-headline",dynamicWrapper:".elementor-headline-dynamic-wrapper",dynamicText:".elementor-headline-dynamic-text"},t.classes={dynamicText:"elementor-headline-dynamic-text",dynamicLetter:"elementor-headline-dynamic-letter",textActive:"elementor-headline-text-active",textInactive:"elementor-headline-text-inactive",letters:"elementor-headline-letters",animationIn:"elementor-headline-animation-in",typeSelected:"elementor-headline-typing-selected",activateHighlight:"e-animated",hideHighlight:"e-hide-highlight"},t},getDefaultElements(){var e=this.getSettings("selectors");return{$headline:this.$element.find(e.headline),$dynamicWrapper:this.$element.find(e.dynamicWrapper),$dynamicText:this.$element.find(e.dynamicText)}},getNextWord(e){return e.is(":last-child")?e.parent().children().eq(0):e.next()},switchWord(e,t){e.removeClass("elementor-headline-text-active").addClass("elementor-headline-text-inactive"),t.removeClass("elementor-headline-text-inactive").addClass("elementor-headline-text-active"),this.setDynamicWrapperWidth(t)},singleLetters(){var e=this.getSettings("classes");this.elements.$dynamicText.each(function(){var t=jQuery(this),n=t.text().split(""),s=t.hasClass(e.textActive);
335t.empty(),n.forEach(function(i){var o=jQuery("<span>",{class:e.dynamicLetter}).text(i);s&&o.addClass(e.animationIn),t.append(o)}),t.css("opacity",1)})},showLetter(e,t,n,s){var i=this,o=this.getSettings("classes");e.addClass(o.animationIn),e.is(":last-child")?n||setTimeout(function(){i.hideWord(t)},i.getSettings("animationDelay")):setTimeout(function(){i.showLetter(e.next(),t,n,s)},s)},hideLetter(e,t,n,s){var i=this,o=this.getSettings();e.removeClass(o.classes.animationIn),e.is(":last-child")?n&&setTimeout(function(){i.hideWord(i.getNextWord(t))},i.getSettings("animationDelay")):setTimeout(function(){i.hideLetter(e.next(),t,n,s)},s)},showWord(e,t){var n=this,s=n.getSettings(),i=n.getElementSettings("animation_type");i==="typing"?(n.showLetter(e.find("."+s.classes.dynamicLetter).eq(0),e,!1,t),e.addClass(s.classes.textActive).removeClass(s.classes.textInactive)):i==="clip"&&n.elements.$dynamicWrapper.animate({width:e.width()+10},s.revealDuration,function(){setTimeout(function(){n.hideWord(e)},s.revealAnimationDelay)})},hideWord(e){var t=this,n=t.getSettings(),s=n.classes,i="."+s.dynamicLetter;if(!(!this.isLoopMode&&e.is(":last-child"))){var o=t.getElementSettings("animation_type"),a=t.getNextWord(e);if(o==="typing")t.elements.$dynamicWrapper.addClass(s.typeSelected),setTimeout(function(){t.elements.$dynamicWrapper.removeClass(s.typeSelected),e.addClass(n.classes.textInactive).removeClass(s.textActive).children(i).removeClass(s.animationIn)},n.selectionDuration),setTimeout(function(){t.showWord(a,n.typeLettersDelay)},n.typeAnimationDelay);else if(t.elements.$headline.hasClass(s.letters)){var l=e.children(i).length>=a.children(i).length;t.hideLetter(e.find(i).eq(0),e,l,n.lettersDelay),t.showLetter(a.find(i).eq(0),a,l,n.lettersDelay),t.setDynamicWrapperWidth(a)}else o==="clip"?t.elements.$dynamicWrapper.animate({width:"2px"},n.revealDuration,function(){t.switchWord(e,a),t.showWord(a)}):(t.switchWord(e,a),setTimeout(function(){t.hideWord(a)},n.animationDelay))}},setDynamicWrapperWidth(e){const t=this.getElementSettings("animation_type");t!=="clip"&&t!=="typing"&&this.elements.$dynamicWrapper.css("width",e.width())},animateHeadline(){var e=this,t=e.getElementSettings("animation_type"),n=e.elements.$dynamicWrapper;t==="clip"?n.width(n.width()+10):t!=="typing"&&e.setDynamicWrapperWidth(e.elements.$dynamicText),setTimeout(function(){e.hideWord(e.elements.$dynamicText.eq(0))},e.getSettings("animationDelay"))},getSvgPaths(e){var t=this.svgPaths[e],n=jQuery();return t.forEach(function(s){n=n.add(jQuery("<path>",{d:s}))}),n},addHighlight(){const e=this.getElementSettings(),t=jQuery("<svg>",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 500 150",preserveAspectRatio:"none","aria-hidden":"true"}).html(this.getSvgPaths(e.marker));this.elements.$dynamicWrapper.append(t[0].outerHTML)},rotateHeadline(){var e=this.getSettings();this.elements.$headline.hasClass(e.classes.letters)&&this.singleLetters(),this.animateHeadline()},initHeadline(){const e=this.getElementSettings("headline_style");e==="rotate"?this.rotateHeadline():e==="highlight"&&(this.addHighlight(),this.activateHighlightAnimation()),this.deactivateScrollListener()},activateHighlightAnimation(){const e=this.getSettings(),t=e.classes,n=this.elements.$headline;if(this.prefersReducedMotion||(this.prefersReducedMotion=window.matchMedia("(prefers-reduced-motion: reduce)")),this.prefersReducedMotion.matches){n.addClass(t.activateHighlight);return}n.removeClass(t.hideHighlight).addClass(t.activateHighlight),this.isLoopMode&&(setTimeout(()=>{n.removeClass(t.activateHighligh).addClass(t.hideHighlight)},e.highlightAnimationDuration+e.highlightAnimationDelay*.8),setTimeout(()=>{this.activateHighlightAnimation(!1)},e.highlightAnimationDuration+e.highlightAnimationDelay))},activateScrollListener(){this.intersectionObservers.startAnimation.observer=elementorModules.utils.Scroll.scrollObserver({offset:"0px 0px -100px",callback:t=>{t.isInViewport&&this.initHeadline()}}),this.intersectionObservers.startAnimation.element=this.elements.$headline[0],this.intersectionObservers.startAnimation.observer.observe(this.intersectionObservers.startAnimation.element)},deactivateScrollListener(){this.intersectionObservers.startAnimation.observer.unobserve(this.intersectionObservers.startAnimation.element)},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.intersectionObservers={startAnimation:{observer:null,element:null}},this.isLoopMode=this.getElementSettings("loop")==="yes",this.activateScrollListener()}})})),yr=(ke=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("animated-headline",()=>v(()=>Promise.resolve().then(()=>(Sr(),br)),void 0))}},f(ke,"default"),ke);function ws(e,t,n,s,i,o,a){try{var l=e[o](a),d=l.value}catch(h){n(h);return}l.done?t(d):Promise.resolve(d).then(s,i)}function ee(e){return function(){var t=this,n=arguments;return new Promise(function(s,i){var o=e.apply(t,n);function a(d){ws(o,s,i,a,l,"next",d)}function l(d){ws(o,s,i,a,l,"throw",d)}a(void 0)})}}
335var he=g((()=>{})),mn,Cs=g((()=>{he(),mn=class extends elementorModules.frontend.handlers.SwiperBase{getDefaultSettings(){return{selectors:{swiperContainer:".elementor-main-swiper",swiperSlide:".swiper-slide"},slidesPerView:{widescreen:3,desktop:3,laptop:3,tablet_extra:3,tablet:2,mobile_extra:2,mobile:1}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.swiperContainer)};return t.$slides=t.$swiperContainer.find(e.swiperSlide),t}getEffect(){return this.getElementSettings("effect")}getDeviceSlidesPerView(e){const t="slides_per_view"+(e==="desktop"?"":"_"+e);return Math.min(this.getSlidesCount(),+this.getElementSettings(t)||this.getSettings("slidesPerView")[e])}getSlidesPerView(e){return this.getEffect()==="slide"?this.getDeviceSlidesPerView(e):1}getDeviceSlidesToScroll(e){const t="slides_to_scroll"+(e==="desktop"?"":"_"+e);return Math.min(this.getSlidesCount(),+this.getElementSettings(t)||1)}getSlidesToScroll(e){return this.getEffect()==="slide"?this.getDeviceSlidesToScroll(e):1}getSpaceBetween(e){let t="space_between";return e&&e!=="desktop"&&(t+="_"+e),this.getElementSettings(t).size||0}getSwiperOptions(){const e=this.getElementSettings(),t={grabCursor:!0,initialSlide:this.getInitialSlide(),slidesPerView:this.getSlidesPerView("desktop"),slidesPerGroup:this.getSlidesToScroll("desktop"),spaceBetween:this.getSpaceBetween(),loop:e.loop==="yes",speed:e.speed,effect:this.getEffect(),preventClicksPropagation:!1,slideToClickedSlide:!0,handleElementorBreakpoints:!0};if(e.lazyload==="yes"&&(t.lazy={loadPrevNext:!0,loadPrevNextAmount:1}),e.show_arrows&&(t.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),e.pagination&&(t.pagination={el:".swiper-pagination",type:e.pagination,clickable:!0}),this.getEffect()!=="cube"){const n={},s=elementorFrontend.config.responsive.activeBreakpoints;Object.keys(s).forEach(i=>{n[s[i].value]={slidesPerView:this.getSlidesPerView(i),slidesPerGroup:this.getSlidesToScroll(i),spaceBetween:this.getSpaceBetween(i)}}),t.breakpoints=n}return!this.isEdit&&e.autoplay&&(t.autoplay={delay:e.autoplay_speed,disableOnInteraction:!!e.pause_on_interaction}),t}getDeviceBreakpointValue(e){if(!this.breakpointsDictionary){const t=elementorFrontend.config.responsive.activeBreakpoints;this.breakpointsDictionary={},Object.keys(t).forEach(n=>{this.breakpointsDictionary[n]=t[n].value})}return this.breakpointsDictionary[e]}updateSpaceBetween(e){const t=e.match("space_between_(.*)"),n=t?t[1]:"desktop",s=this.getSpaceBetween(n);n!=="desktop"?this.swiper.params.breakpoints[this.getDeviceBreakpointValue(n)].spaceBetween=s:this.swiper.params.spaceBetween=s,this.swiper.params.spaceBetween=s,this.swiper.update()}onInit(){var e=arguments,t=this;return ee(function*(){if(elementorModules.frontend.handlers.Base.prototype.onInit.apply(t,e),1>=t.getSlidesCount())return;const n=elementorFrontend.utils.swiper;t.swiper=yield new n(t.elements.$swiperContainer,t.getSwiperOptions()),t.getElementSettings().pause_on_hover==="yes"&&t.togglePauseOnHover(!0),t.elements.$swiperContainer.data("swiper",t.swiper)})()}getChangeableProperties(){return{autoplay:"autoplay",pause_on_hover:"pauseOnHover",pause_on_interaction:"disableOnInteraction",autoplay_speed:"delay",speed:"speed",width:"width"}}updateSwiperOption(e){if(e.indexOf("width")===0){this.swiper.update();return}const t=this.getElementSettings(),n=t[e];let s=this.getChangeableProperties()[e],i=n;switch(e){case"autoplay":n?i={delay:t.autoplay_speed,disableOnInteraction:t.pause_on_interaction==="yes"}:i=!1;break;case"autoplay_speed":s="autoplay",i={delay:n,disableOnInteraction:t.pause_on_interaction==="yes"};break;case"pause_on_hover":this.togglePauseOnHover(n==="yes");break;case"pause_on_interaction":i=n==="yes";break}e!=="pause_on_hover"&&(this.swiper.params[s]=i),this.swiper.update()}onElementChange(e){if(1>=this.getSlidesCount())return;if(e.indexOf("width")===0){this.swiper.update(),this.thumbsSwiper&&this.thumbsSwiper.update();return}if(e.indexOf("space_between")===0){this.updateSpaceBetween(e);return}const t=this.getChangeableProperties();Object.prototype.hasOwnProperty.call(t,e)&&this.updateSwiperOption(e)}onEditSettingsChange(e){1>=this.getSlidesCount()||e==="activeItemIndex"&&this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1)}}})),wr=b({default:()=>Es}),Es,Cr=g((()=>{Cs(),he(),Es=class extends mn{isSlideshow(){return this.getElementSettings("skin")==="slideshow"}getDefaultSettings(...e){const t=super.getDefaultSettings(...e);return this.isSlideshow()&&(t.selectors.thumbsSwiper=".elementor-thumbnails-swiper",t.slidesPerView={widescreen:5,desktop:5,laptop:5,tablet_extra:5,tablet:4,mobile_extra:4,mobile:3}),t}getSlidesPerViewSettingNames(){if(!this.slideshowElementSettings){this.slideshowElementSettings=["slides_per_view"];const e=elementorFrontend.config.responsive.activeBreakpoints;Object.keys(e).forEach(t=>{this.slideshowElementSettings.push("slides_per_view_"+t)})}return this.slideshowElementSettings}
335getElementSettings(e){return this.getSlidesPerViewSettingNames().indexOf(e)!==-1&&this.isSlideshow()&&(e="slideshow_"+e),super.getElementSettings(e)}getDefaultElements(...e){const t=this.getSettings("selectors"),n=super.getDefaultElements(...e);return this.isSlideshow()&&(n.$thumbsSwiper=this.$element.find(t.thumbsSwiper)),n}getEffect(){return this.getElementSettings("skin")==="coverflow"?"coverflow":super.getEffect()}getSlidesPerView(e){return this.isSlideshow()?1:this.getElementSettings("skin")==="coverflow"?this.getDeviceSlidesPerView(e):super.getSlidesPerView(e)}getSwiperOptions(){const e=super.getSwiperOptions();return this.isSlideshow()&&(e.loopedSlides=this.getSlidesCount(),delete e.pagination,delete e.breakpoints),e}onInit(){var e=()=>super.onInit,t=this;return ee(function*(){yield e().call(t);const n=t.getSlidesCount();if(!t.isSlideshow()||1>=n)return;const s=t.getElementSettings(),i=s.loop==="yes",o={},a=elementorFrontend.config.responsive.activeBreakpoints,l=t.getDeviceSlidesPerView("desktop");Object.keys(a).forEach(_=>{o[a[_].value]={slidesPerView:t.getDeviceSlidesPerView(_),spaceBetween:t.getSpaceBetween(_)}});const d={slidesPerView:l,initialSlide:t.getInitialSlide(),centeredSlides:s.centered_slides,slideToClickedSlide:!0,spaceBetween:t.getSpaceBetween(),loopedSlides:n,loop:i,breakpoints:o,handleElementorBreakpoints:!0};s.lazyload==="yes"&&(d.lazy={loadPrevNext:!0,loadPrevNextAmount:1});const h=elementorFrontend.utils.swiper;t.swiper.controller.control=t.thumbsSwiper=yield new h(t.elements.$thumbsSwiper,d),t.elements.$thumbsSwiper.data("swiper",t.thumbsSwiper),t.thumbsSwiper.controller.control=t.swiper})()}}})),Ts=b({default:()=>$s}),$s,As=g((()=>{Cs(),$s=class extends mn{getDefaultSettings(){const e=super.getDefaultSettings();return e.slidesPerView={desktop:1},Object.keys(elementorFrontend.config.responsive.activeBreakpoints).forEach(t=>{e.slidesPerView[t]=1}),e.loop&&(e.loopedSlides=this.getSlidesCount()),e}getEffect(){return"slide"}}})),Er=(xe=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("media-carousel",()=>v(()=>Promise.resolve().then(()=>(Cr(),wr)),void 0)),elementorFrontend.elementsHandler.attachHandler("testimonial-carousel",()=>v(()=>Promise.resolve().then(()=>(As(),Ts)),void 0)),elementorFrontend.elementsHandler.attachHandler("reviews",()=>v(()=>Promise.resolve().then(()=>(As(),Ts)),void 0))}},f(xe,"default"),xe),Tr=b({default:()=>Fs}),Fs,$r=g((()=>{Fs=elementorModules.frontend.handlers.Base.extend({cache:null,cacheElements(){const e=this.$element.find(".elementor-countdown-wrapper");this.cache={$countDown:e,timeInterval:null,elements:{$countdown:e.find(".elementor-countdown-wrapper"),$daysSpan:e.find(".elementor-countdown-days"),$hoursSpan:e.find(".elementor-countdown-hours"),$minutesSpan:e.find(".elementor-countdown-minutes"),$secondsSpan:e.find(".elementor-countdown-seconds"),$expireMessage:e.parent().find(".elementor-countdown-expire--message")},data:{id:this.$element.data("id"),endTime:new Date(e.data("date")*1e3),actions:e.data("expire-actions"),evergreenInterval:e.data("evergreen-interval")}}},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.cacheElements(),0<this.cache.data.evergreenInterval&&(this.cache.data.endTime=this.getEvergreenDate()),this.initializeClock()},updateClock(){const e=this,t=this.getTimeRemaining(this.cache.data.endTime);jQuery.each(t.parts,function(n){const s=e.cache.elements["$"+n+"Span"];let i=this.toString();i.length===1&&(i=0+i),s.length&&s.text(i)}),t.total<=0&&(clearInterval(this.cache.timeInterval),this.runActions())},initializeClock(){const e=this;this.updateClock(),this.cache.timeInterval=setInterval(function(){e.updateClock()},1e3)},runActions(){const e=this;e.$element.trigger("countdown_expire",e.$element),this.cache.data.actions&&this.cache.data.actions.forEach(function(t){switch(t.type){case"hide":e.cache.$countDown.hide();break;case"redirect":t.redirect_url&&t.redirect_url.startsWith("http")&&(window.location.href=t.redirect_url);break;case"message":e.cache.elements.$expireMessage.show();break}})},getTimeRemaining(e){const t=e-new Date;let n=Math.floor(t/1e3%60),s=Math.floor(t/1e3/60%60),i=Math.floor(t/(1e3*60*60)%24),o=Math.floor(t/(1e3*60*60*24));return(o<0||i<0||s<0)&&(n=s=i=o=0),{total:t,parts:{days:o,hours:i,minutes:s,seconds:n}}},getEvergreenDate(){const e=this,t=this.cache.data.id,n=this.cache.data.evergreenInterval,s=t+"-evergreen_due_date",i=t+"-evergreen_interval",o={dueDate:localStorage.getItem(s),interval:localStorage.getItem(i)},a=function(){var l=new Date;return e.cache.data.endTime=l.setSeconds(l.getSeconds()+n),localStorage.setItem(s,e.cache.data.endTime),localStorage.setItem(i,n),e.cache.data.endTime};if(o.dueDate===null&&o.interval===null||o.dueDate!==null&&n!==parseInt(o.interval,10))return a();if(o.dueDate>0&&parseInt(o.interval,10)===n)return o.dueDate}})})),Ar=(De=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("countdown",()=>v(()=>Promise.resolve().then(()=>($r(),Tr)),void 0))}},f(De,"default"),De),Fr=(Le=class extends elementorModules.Module{constructor(){super(),elementorFrontend.on("components:init",()=>this.onFrontendComponentsInit())}onFrontendComponentsInit(){elementorFrontend.utils.urlActions.addAction("reload-page",()=>document.location.reload())}},f(Le,"default"),Le),Ir=b({default:()=>Is}),Is,kr=g((()=>{Is=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{hotspot:".e-hotspot",tooltip:".e-hotspot__tooltip"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$hotspot:this.$element.find(e.hotspot),$hotspotsExcludesLinks:this.$element.find(e.hotspot).filter(":not(.e-hotspot--no-tooltip)"),$tooltip:this.$element.find(e.tooltip)}}bindEvents(){const e=this.getCurrentDeviceSetting("tooltip_trigger"),t=e==="mouseenter"?"mouseleave mouseenter":e;t!=="none"&&this.elements.$hotspotsExcludesLinks.on(t,n=>this.onHotspotTriggerEvent(n))}onDeviceModeChange(){this.elements.$hotspotsExcludesLinks.off(),this.bindEvents()}onHotspotTriggerEvent(e){const t=jQuery(e.target),n=t.closest(".e-hotspot__button").length,s=e.type==="mouseleave"&&(t.is(".e-hotspot--tooltip-position")||t.parents(".e-hotspot--tooltip-position").length),i=elementorFrontend.getCurrentDeviceMode()==="mobile";if(!(t.closest(".e-hotspot--link").length&&i&&(e.type==="mouseleave"||e.type==="mouseenter"))&&(n||s)){const o=jQuery(e.currentTarget);this.elements.$hotspot.not(o).removeClass("e-hotspot--active"),o.toggleClass("e-hotspot--active")}}editorAddSequencedAnimation(){this.elements.$hotspot.toggleClass("e-hotspot--sequenced",this.getElementSettings("hotspot_sequenced_animation")==="yes")}hotspotSequencedAnimation(){const e=this.getElementSettings();if(e.hotspot_sequenced_animation==="no")return;
335const t=elementorModules.utils.Scroll.scrollObserver({callback:n=>{n.isInViewport&&(t.unobserve(this.$element[0]),this.elements.$hotspot.each((s,i)=>{if(s===0)return;const o=e.hotspot_sequenced_animation_duration,a=s*((o?o.size:1e3)/this.elements.$hotspot.length);i.style.animationDelay=a+"ms"}))}});t.observe(this.$element[0])}setTooltipPositionControl(){const e=this.getElementSettings();typeof e.tooltip_animation!="undefined"&&e.tooltip_animation.match(/^e-hotspot--(slide|fade)-direction/)&&(this.elements.$tooltip.removeClass("e-hotspot--tooltip-animation-from-left e-hotspot--tooltip-animation-from-top e-hotspot--tooltip-animation-from-right e-hotspot--tooltip-animation-from-bottom"),this.elements.$tooltip.addClass("e-hotspot--tooltip-animation-from-"+e.tooltip_position))}onInit(...e){super.onInit(...e),this.hotspotSequencedAnimation(),this.setTooltipPositionControl(),window.elementor&&elementor.listenTo(elementor.channels.deviceMode,"change",()=>this.onDeviceModeChange())}onElementChange(e){e.startsWith("tooltip_position")&&this.setTooltipPositionControl(),e.startsWith("hotspot_sequenced_animation")&&this.editorAddSequencedAnimation()}}})),xr=(Me=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("hotspot",()=>v(()=>Promise.resolve().then(()=>(kr(),Ir)),void 0))}},f(Me,"default"),Me),ks=b({default:()=>Ms}),xs,hn,Ds,Ls,gn,Ce,Ms,Ps=g((()=>{xs=Object.defineProperty,hn=Object.getOwnPropertySymbols,Ds=Object.prototype.hasOwnProperty,Ls=Object.prototype.propertyIsEnumerable,gn=f((e,t,n)=>t in e?xs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),Ce=f((e,t)=>{for(var n in t||(t={}))Ds.call(t,n)&&gn(e,n,t[n]);if(hn)for(var n of hn(t))Ls.call(t,n)&&gn(e,n,t[n]);return e},"__spreadValues"),Ms=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{form:".elementor-form",fieldsWrapper:".elementor-form-fields-wrapper",fieldGroup:".elementor-field-group",stepWrapper:".elementor-field-type-step",stepField:".e-field-step",submitWrapper:".elementor-field-type-submit",submitButton:'[type="submit"]',buttons:".e-form__buttons",buttonWrapper:".e-form__buttons__wrapper",button:".e-form__buttons__wrapper__button",indicator:".e-form__indicators__indicator",indicatorProgress:".e-form__indicators__indicator__progress",indicatorProgressMeter:".e-form__indicators__indicator__progress__meter",formHelpInline:".elementor-form-help-inline"},classes:{hidden:"elementor-hidden",column:"elementor-column",fieldGroup:"elementor-field-group",elementorButton:"elementor-button",step:"e-form__step",buttons:"e-form__buttons",buttonWrapper:"e-form__buttons__wrapper",button:"e-form__buttons__wrapper__button",indicators:"e-form__indicators",indicator:"e-form__indicators__indicator",indicatorIcon:"e-form__indicators__indicator__icon",indicatorNumber:"e-form__indicators__indicator__number",indicatorLabel:"e-form__indicators__indicator__label",indicatorProgress:"e-form__indicators__indicator__progress",indicatorProgressMeter:"e-form__indicators__indicator__progress__meter",indicatorSeparator:"e-form__indicators__indicator__separator",indicatorInactive:"e-form__indicators__indicator--state-inactive",indicatorActive:"e-form__indicators__indicator--state-active",indicatorCompleted:"e-form__indicators__indicator--state-completed",indicatorShapeCircle:"e-form__indicators__indicator--shape-circle",indicatorShapeSquare:"e-form__indicators__indicator--shape-square",indicatorShapeRounded:"e-form__indicators__indicator--shape-rounded",indicatorShapeNone:"e-form__indicators__indicator--shape-none"}}}getDefaultElements(){const{selectors:e}=this.getSettings(),t={$form:this.$element.find(e.form)};return t.$fieldsWrapper=t.$form.children(e.fieldsWrapper),t.$stepWrapper=t.$fieldsWrapper.children(e.stepWrapper),t.$stepField=t.$stepWrapper.children(e.stepField),t.$fieldGroup=t.$fieldsWrapper.children(e.fieldGroup),t.$submitWrapper=t.$fieldsWrapper.children(e.submitWrapper),t.$submitButton=t.$submitWrapper.children(e.submitButton),t}onInit(...e){super.onInit(...e),this.isStepsExist()&&(this.data={steps:[],indicatorsWithObjectTags:[]},this.state={currentStep:0,stepsType:"",stepsShape:""},this.buildSteps(),this.elements=Ce(Ce(Ce({},this.elements),this.createStepsIndicators()),this.createStepsButtons()),this.initProgressBar(),this.extractResponsiveSizeFromSubmitWrapper())}bindEvents(){if(!this.isStepsExist())return;const{selectors:e}=this.getSettings();this.elements.$form.on({submit:()=>
335this.resetForm(),keydown:t=>{var n,s;if(t.keyCode===13&&!this.isLastStep()&&t.target.localName!=="textarea"){t.preventDefault();const i=((s=(n=t.target.closest(e.button))==null?void 0:n.dataset)==null?void 0:s.direction)||"next";this.applyStep(i)}},error:()=>this.onFormError()})}isStepsExist(){return this.elements.$stepWrapper.length}initProgressBar(){this.getElementSettings().step_type==="progress_bar"&&this.setProgressBar()}buildSteps(){this.elements.$stepWrapper.each((e,t)=>{const{selectors:n,classes:s}=this.getSettings(),i=jQuery(t);i.addClass(s.step).removeClass(s.fieldGroup,s.column),e&&i.addClass(s.hidden),this.setStepData(i.children(n.stepField)),i.append(i.nextUntil(this.elements.$stepWrapper).not(this.elements.$submitWrapper))})}setStepData(e){const t=["label","previousButton","nextButton","iconUrl","iconLibrary","icon"],n={};t.forEach(s=>{const i=e.attr("data-"+s);i&&(n[s]=i)}),this.data.steps.push(n)}createStepsIndicators(){const e=this.getElementSettings(),t={};if(e.step_type!=="none"){const{selectors:n,classes:s}=this.getSettings(),i=s.indicators+"--type-"+e.step_type,o=[s.indicators,i];t.$indicatorsWrapper=jQuery("<div>",{class:o.join(" ")}),t.$indicatorsWrapper.append(this.buildIndicators()),this.elements.$fieldsWrapper.before(t.$indicatorsWrapper),e.step_type==="progress_bar"?(t.$progressBar=t.$indicatorsWrapper.find(n.indicatorProgress),t.$progressBarMeter=t.$indicatorsWrapper.find(n.indicatorProgressMeter)):(t.$indicators=t.$indicatorsWrapper.find(n.indicator),t.$currentIndicator=t.$indicators.eq(this.state.currentStep))}return this.saveIndicatorsState(),t}buildIndicators(){return this.getElementSettings().step_type==="progress_bar"?this.buildProgressBar():this.buildIndicatorsFromStepsData()}buildProgressBar(){const{classes:e}=this.getSettings(),t=jQuery("<div>",{class:e.indicatorProgress}),n=jQuery("<div>",{class:e.indicatorProgressMeter});return t.append(n),t}getProgressBarValue(){const e=this.data.steps.length,t=this.state.currentStep,n=t?(t+1)/e*100:100/e;return Math.floor(n)+"%"}setProgressBar(){const e=this.getProgressBarValue();this.updateProgressMeterCSSVariable(e),this.elements.$progressBarMeter.text(e)}updateProgressMeterCSSVariable(e){this.$element[0].style.setProperty("--e-form-steps-indicator-progress-meter-width",e)}saveIndicatorsState(){const e=this.getElementSettings();this.state.stepsType=e.step_type,["none","text","progress_bar"].includes(e.step_type)||(this.state.stepsShape=e.step_icon_shape)}buildIndicatorsFromStepsData(){const e=[];return this.data.steps.forEach((t,n)=>{n&&e.push(this.getStepSeparator()),e.push(this.getStepIndicatorElement(t,n))}),e}getStepIndicatorElement(e,t){const{classes:n}=this.getSettings(),s=this.getElementSettings(),i=this.getIndicatorStateClass(t),o=[n.indicator,i],a=jQuery("<div>",{class:o.join(" ")});return s.step_type.includes("icon")&&a.append(this.getStepIconElement(e)),s.step_type.includes("number")&&a.append(this.getStepNumberElement(t)),s.step_type.includes("text")&&a.append(this.getStepLabelElement(e.label)),a}getIndicatorStateClass(e){const{classes:t}=this.getSettings();return e<this.state.currentStep?t.indicatorCompleted:e>this.state.currentStep?t.indicatorInactive:t.indicatorActive}getIndicatorShapeClass(){const e=this.getElementSettings(),{classes:t}=this.getSettings();return t["indicatorShape"+this.firstLetterToUppercase(e.step_icon_shape)]}firstLetterToUppercase(e){return e.charAt(0).toUpperCase()+e.slice(1)}getStepNumberElement(e){const{classes:t}=this.getSettings(),n=[t.indicatorNumber,this.getIndicatorShapeClass()];return jQuery("<div>",{class:n.join(" "),text:e+1})}getStepIconElement(e){const{classes:t}=this.getSettings(),n=[t.indicatorIcon,this.getIndicatorShapeClass()],s=jQuery("<div>",{class:n.join(" ")});if(e.icon)s.html(e.icon);else{let i;e.iconLibrary?i=jQuery("<i>",{class:e.iconLibrary}):(i=jQuery(`<object type="image/svg+xml" data="${e.iconUrl}"></object>`),i.on("load",o=>{o.target.contentDocument.querySelector("svg").style.fill=i.css("fill")}),this.data.indicatorsWithObjectTags.push(i)),s.append(i)}return s}getStepLabelElement(e){const{classes:t}=this.getSettings();return jQuery("<label>",{class:t.indicatorLabel,text:e})}getStepSeparator(){const{classes:e}=this.getSettings();return jQuery("<div>",{class:e.indicatorSeparator})}createStepsButtons(){const{selectors:e}=this.getSettings(),t={};return this.injectButtonsToSteps(t),t.$buttonsContainer=this.elements.$stepWrapper.find(e.buttons),t.$buttonsWrappers=t.$buttonsContainer.children(e.buttonWrapper),t}injectButtonsToSteps(){const e=this.elements.$stepWrapper.length;this.elements.$stepWrapper.each((t,n)=>{const s=jQuery(n),i=this.getButtonsContainer();let o;t?(i.append(this.getStepButton("previous",t)),o=t===e-1?this.get
335SubmitButton():this.getStepButton("next",t)):o=this.getStepButton("next",t),i.append(o),s.append(i)})}getButtonsContainer(){const{classes:e}=this.getSettings(),t=this.getElementSettings(),n=[e.buttons,e.column,"elementor-col-"+t.button_width];return jQuery("<div>",{class:n.join(" ")})}extractResponsiveSizeFromSubmitWrapper(){let e=[];this.elements.$submitWrapper.removeClass((t,n)=>{var s;return e=(s=n.match(/elementor-(sm|md)-[0-9]+/g))==null?void 0:s.join(" "),e}),this.elements.$buttonsContainer.addClass(e)}getStepButton(e,t){const{classes:n}=this.getSettings(),s=this.getButton(e,t).on("click",()=>this.applyStep(e)),i=[n.fieldGroup,n.buttonWrapper,"elementor-field-type-"+e];return jQuery("<div>",{class:i.join(" ")}).append(s)}getSubmitButton(){const{classes:e}=this.getSettings();return this.elements.$submitButton.addClass(e.button),this.elements.$submitWrapper.attr("class",(t,n)=>this.replaceClassNameColSize(n,"")).removeClass(e.column).removeClass(e.buttons).addClass(e.buttonWrapper)}replaceClassNameColSize(e,t){return e.replace(/elementor-col-([0-9]+)/g,t)}getButton(e,t){const{classes:n}=this.getSettings(),s=this.elements.$submitButton.attr("class").match(/elementor-size-([^\W\d]+)/g),i=[n.elementorButton,s,n.button,n.button+"-"+e];return jQuery("<button>",{type:"button",text:this.getButtonLabel(e,t),class:i.join(" "),"data-direction":e})}getButtonLabel(e,t){const n=this.getElementSettings(),s=this.data.steps[t],i=e+"Button",o=`step_${e}_label`;return s[i]||n[o]}applyStep(e){const t=e==="next"?this.state.currentStep+1:this.state.currentStep-1;if(e==="next"&&!this.isFieldsValid(this.elements.$stepWrapper))return!1;this.goToStep(t),this.state.currentStep=t,this.state.stepsType==="progress_bar"?this.setProgressBar():this.state.stepsType!=="none"&&this.updateIndicatorsState(e)}goToStep(e){const{classes:t}=this.getSettings();this.elements.$stepWrapper.eq(this.state.currentStep).addClass(t.hidden),this.elements.$stepWrapper.eq(e).removeClass(t.hidden);const n=this.getFirstFocusableField(e);n&&(n.attr("tabindex","0"),n.trigger("focus"))}getFirstFocusableField(e){const t=this.elements.$stepWrapper.eq(e).children(this.getSettings("selectors.fieldGroup"));let n=null;return t.each((s,i)=>{const o=jQuery(i),a=this.getFocusableElement(o);if(a)return n=a,!1}),n}getFocusableElement(e){if(!e.is(":visible"))return;const t=e.find(":input").first();return t.length?t:e}isFieldsValid(e){let t=!0;return e.eq(this.state.currentStep).find(".elementor-field-group :input").each((n,s)=>{if(!s.checkValidity())return s.reportValidity(),t=!1}),t}isLastStep(){return this.state.currentStep===this.data.steps.length-1}resetForm(){this.state.currentStep=0,this.resetSteps(),this.state.stepsType==="progress_bar"?this.setProgressBar():this.state.stepsType!=="none"&&(this.elements.$currentIndicator=this.elements.$indicators.eq(this.state.currentStep),this.resetIndicators())}resetSteps(){const{classes:e}=this.getSettings();this.elements.$stepWrapper.addClass(e.hidden).eq(0).removeClass(e.hidden)}resetIndicators(){const{classes:e}=this.getSettings(),t=["inactive","active","completed"].map(n=>e.indicator+"--state-"+n);this.elements.$indicators.removeClass(t.join(" ")).not(this.elements.$indicators.eq(0)).addClass(e.indicatorInactive),this.elements.$indicators.eq(0).addClass(e.indicatorActive)}updateIndicatorsState(e){const{classes:t}=this.getSettings(),n={current:{remove:t.indicatorActive,add:e==="next"?t.indicatorCompleted:t.indicatorInactive},next:{remove:e==="next"?t.indicatorInactive:t.indicatorCompleted,add:t.indicatorActive}};this.elements.$currentIndicator.removeClass(n.current.remove).addClass(n.current.add),this.elements.$currentIndicator=this.elements.$indicators.eq(this.state.currentStep),this.elements.$currentIndicator.removeClass(n.next.remove).addClass(n.next.add),this.data.indicatorsWithObjectTags.forEach(s=>{s.contents().children("svg").css("fill",s.css("fill"))})}updateValue(e){const t={step_type:()=>this.updateStepsType(),step_icon_shape:()=>this.updateStepsShape(),step_next_label:()=>this.updateStepButtonsLabel("next"),step_previous_label:()=>this.updateStepButtonsLabel("previous")};t[e]&&t[e]()}updateStepsType(){const e=this.getElementSettings();this.elements.$indicatorsWrapper&&this.elements.$indicatorsWrapper.remove(),e.step_type!=="none"&&this.rebuildIndicators(),this.state.stepsType=e.step_type}rebuildIndicators(){this.elements=Ce(Ce({},this.elements),this.createStepsIndicators()),this.initProgressBar()}updateStepsShape(){const e=this.getElementSettings(),{selectors:t,classes:n}=this.getSettings(),s=n.indicator+"--shape-",i=s+this.state.stepsShape,o=s+e.step_icon_shape;let a="";e.step_type.includes("icon")?a="icon":e.step_type.includes("number")&&(a="number"),this.elements.$indicators.children(t.indicator+"__"+a).removeClass(i).addClass(o),this.state.stepsShape=e.step_icon_shape}updateStepButtonsLabel(e){const{selectors:t}=this.getSettings(),n={previous:t.button+"-previous",next:t.button+"-next"};this.elements.$stepWrapper.each((s,i)=>{jQuery(i).find(n[e]).text(this.getButtonLabel(e,s))})}onFormError(){const{selectors:e}=this.getSettings(),t=this.elements.$form.find(e.formHelpInline).closest(e.stepWrapper);t.length&&this.goToStep(t.index())}
335onElementChange(e){this.isStepsExist()&&this.updateValue(e)}}})),Os=b({default:()=>Bs}),Bs,Hs=g((()=>{Bs=elementorModules.frontend.handlers.Base.extend({getDefaultSettings(){return{selectors:{form:".elementor-form",submitButton:'[type="submit"]'},action:"elementor_pro_forms_send_form",ajaxUrl:elementorProFrontend.config.ajaxurl}},getDefaultElements(){const e=this.getSettings("selectors"),t={};return t.$form=this.$element.find(e.form),t.$submitButton=t.$form.find(e.submitButton),t},bindEvents(){this.elements.$form.on("submit",this.handleSubmit);const e=this.elements.$form.find("input[type=file]");e.length&&e.on("change",this.validateFileSize)},validateFileSize(e){const t=jQuery(e.currentTarget),n=t[0].files;if(!n.length)return;const s=parseInt(t.attr("data-maxsize"))*1024*1024,i=t.attr("data-maxsize-message");Array.prototype.slice.call(n).forEach(o=>{s<o.size&&(t.parent().addClass("elementor-error").append('<span class="elementor-message elementor-message-danger elementor-help-inline elementor-form-help-inline" role="alert">'+i+"</span>").find(":input").attr("aria-invalid","true"),this.elements.$form.trigger("error"))})},beforeSend(){const e=this.elements.$form;e.animate({opacity:"0.45"},500).addClass("elementor-form-waiting"),e.find(".elementor-message").remove(),e.find(".elementor-error").removeClass("elementor-error"),e.find("div.elementor-field-group").removeClass("error").find("span.elementor-form-help-inline").remove().end().find(":input").attr("aria-invalid","false"),this.elements.$submitButton.attr("disabled","disabled").find("> span").prepend('<span class="elementor-button-text elementor-form-spinner"><i class="fa fa-spinner fa-spin"></i> </span>')},getFormData(){const e=new FormData(this.elements.$form[0]);return e.append("action",this.getSettings("action")),e.append("referrer",location.toString()),e},onSuccess(e){const t=this.elements.$form;if(this.elements.$submitButton.removeAttr("disabled").find(".elementor-form-spinner").remove(),t.animate({opacity:"1"},100).removeClass("elementor-form-waiting"),!e.success)e.data.errors&&(jQuery.each(e.data.errors,function(n,s){t.find("#form-field-"+n).parent().addClass("elementor-error").append('<span class="elementor-message elementor-message-danger elementor-help-inline elementor-form-help-inline" role="alert">'+s+"</span>").find(":input").attr("aria-invalid","true")}),t.trigger("error")),t.append('<div class="elementor-message elementor-message-danger" role="alert">'+e.data.message+"</div>");else{t.trigger("submit_success",e.data),t.trigger("form_destruct",e.data),t.trigger("reset");let n="elementor-message elementor-message-success";elementorFrontendConfig.experimentalFeatures.e_font_icon_svg&&(n+=" elementor-message-svg"),typeof e.data.message!="undefined"&&e.data.message!==""&&t.append('<div class="'+n+'" role="alert">'+e.data.message+"</div>")}},onError(e,t){const n=this.elements.$form;n.append('<div class="elementor-message elementor-message-danger" role="alert">'+t+"</div>"),this.elements.$submitButton.html(this.elements.$submitButton.text()).removeAttr("disabled"),n.animate({opacity:"1"},100).removeClass("elementor-form-waiting"),n.trigger("error")},handleSubmit(e){const t=this,n=this.elements.$form;if(e.preventDefault(),n.hasClass("elementor-form-waiting"))return!1;this.beforeSend(),jQuery.ajax({url:t.getSettings("ajaxUrl"),type:"POST",dataType:"json",data:t.getFormData(),processData:!1,contentType:!1,success:t.onSuccess,error:t.onError})}})})),Rs=b({default:()=>Ws}),Ws,Ns=g((()=>{Ws=elementorModules.frontend.handlers.Base.extend({getDefaultSettings(){return{selectors:{form:".elementor-form"}}},getDefaultElements(){var e=this.getSettings("selectors"),t={};return t.$form=this.$element.find(e.form),t},bindEvents(){this.elements.$form.on("form_destruct",this.handleSubmit)},handleSubmit(e,t){typeof t.data.redirect_url!="undefined"&&(location.href=t.data.redirect_url)}})})),pn,zs=g((()=>{pn=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{fields:this.getFieldsSelector()},classes:{useNative:"elementor-use-native"}}}getDefaultElements(){const{selectors:e}=this.getDefaultSettings();return{$fields:this.$element.find(e.fields)}}addPicker(e){const{classes:t}=this.getDefaultSettings();jQuery(e).hasClass(t.useNative)||e.flatpickr(this.getPickerOptions(e))}onInit(...e){super.onInit(...e),this.elements.$fields.each((t,n)=>this.addPicker(n))}}})),Dr=b({default:()=>js}),js,Lr=g((()=>
335{zs(),js=class extends pn{getFieldsSelector(){return".elementor-date-field"}getPickerOptions(e){const t=jQuery(e);return{minDate:t.attr("min")||null,maxDate:t.attr("max")||null,allowInput:!0}}}})),Mr=b({default:()=>qs}),qs,Pr=g((()=>{qs=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{recaptcha:".elementor-g-recaptcha:last",submit:'button[type="submit"]',recaptchaResponse:'[name="g-recaptcha-response"]'}}}getDefaultElements(){const{selectors:e}=this.getDefaultSettings(),t={$recaptcha:this.$element.find(e.recaptcha)};return t.$form=t.$recaptcha.parents("form"),t.$submit=t.$form.find(e.submit),t}bindEvents(){this.onRecaptchaApiReady()}isActive(e){const{selectors:t}=this.getDefaultSettings();return e.$element.find(t.recaptcha).length}addRecaptcha(){const e=this.elements.$recaptcha.data(),t=e.type!=="v3",n=[];n.forEach(i=>window.grecaptcha.reset(i));const s=window.grecaptcha.render(this.elements.$recaptcha[0],e);this.elements.$form.on("reset error",()=>{window.grecaptcha.reset(s)}),t?this.elements.$recaptcha.data("widgetId",s):(n.push(s),this.elements.$submit.on("click",i=>this.onV3FormSubmit(i,s)))}onV3FormSubmit(e,t){e.preventDefault(),window.grecaptcha.ready(()=>{const n=this.elements.$form;grecaptcha.execute(t,{action:this.elements.$recaptcha.data("action")}).then(s=>{this.elements.$recaptchaResponse?this.elements.$recaptchaResponse.val(s):(this.elements.$recaptchaResponse=jQuery("<input>",{type:"hidden",value:s,name:"g-recaptcha-response"}),n.append(this.elements.$recaptchaResponse)),(!n[0].reportValidity||typeof n[0].reportValidity!="function"||n[0].reportValidity())&&n.trigger("submit")})})}onRecaptchaApiReady(){window.grecaptcha&&window.grecaptcha.render?this.addRecaptcha():setTimeout(()=>this.onRecaptchaApiReady(),350)}}})),Or=b({default:()=>Vs}),Vs,Br=g((()=>{zs(),Vs=class extends pn{getFieldsSelector(){return".elementor-time-field"}getPickerOptions(){return{noCalendar:!0,enableTime:!0,allowInput:!0}}}})),Hr=(Pe=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("form",[()=>v(()=>Promise.resolve().then(()=>(Ps(),ks)),void 0),()=>v(()=>Promise.resolve().then(()=>(Hs(),Os)),void 0),()=>v(()=>Promise.resolve().then(()=>(Ns(),Rs)),void 0),()=>v(()=>Promise.resolve().then(()=>(Lr(),Dr)),void 0),()=>v(()=>Promise.resolve().then(()=>(Pr(),Mr)),void 0),()=>v(()=>Promise.resolve().then(()=>(Br(),Or)),void 0)]),elementorFrontend.elementsHandler.attachHandler("subscribe",[()=>v(()=>Promise.resolve().then(()=>(Ps(),ks)),void 0),()=>v(()=>Promise.resolve().then(()=>(Hs(),Os)),void 0),()=>v(()=>Promise.resolve().then(()=>(Ns(),Rs)),void 0)])}},f(Pe,"default"),Pe),Rr=b({default:()=>Us}),Us,Wr=g((()=>{Us=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{container:".elementor-gallery__container",galleryTitles:".elementor-gallery-title",galleryImages:".e-gallery-image",galleryItemOverlay:".elementor-gallery-item__overlay",galleryItemContent:".elementor-gallery-item__content"},classes:{activeTitle:"elementor-item-active"}}}getDefaultElements(){const{selectors:e}=this.getSettings(),t={$container:this.$element.find(e.container),$titles:this.$element.find(e.galleryTitles)};return t.$items=t.$container.children(),t.$images=t.$items.children(e.galleryImages),t.$itemsOverlay=t.$items.children(e.galleryItemOverlay),t.$itemsContent=t.$items.children(e.galleryItemContent),t.$itemsContentElements=t.$itemsContent.children(),t}getGallerySettings(){const e=this.getElementSettings(),t=elementorFrontend.config.responsive.activeBreakpoints,n=Object.keys(t),s={},i=elementorFrontend.getDeviceSetting("desktop",e,"ideal_row_height");return n.forEach(o=>{if(o!=="widescreen"){const a=elementorFrontend.getDeviceSetting(o,e,"ideal_row_height");s[t[o].value]={horizontalGap:elementorFrontend.getDeviceSetting(o,e,"gap").size,verticalGap:elementorFrontend.getDeviceSetting(o,e,"gap").size,columns:elementorFrontend.getDeviceSetting(o,e,"columns"),idealRowHeight:a==null?void 0:a.size}}}),{type:e.gallery_layout,idealRowHeight:i==null?void 0:i.size,container:this.elements.$container,columns:e.columns,aspectRatio:e.aspect_ratio,lastRow:"normal",horizontalGap:elementorFrontend.getDeviceSetting("desktop",e,"gap").size,verticalGap:elementorFrontend.getDeviceSetting("desktop",e,"gap").size,animationDuration:e.content_animation_duration,breakpoints:s,rtl:elementorFrontend.config.is_rtl,lazyLoad:e.lazyload==="yes"}}initGallery(){this.gallery=new EGallery(this.getGallerySettings()),this.toggleAllAnimationsClasse
335s()}removeAnimationClasses(e){e.removeClass((t,n)=>(n.match(/elementor-animated-item-\S+/g)||[]).join(" "))}toggleOverlayHoverAnimation(){this.removeAnimationClasses(this.elements.$itemsOverlay);const e=this.getElementSettings("background_overlay_hover_animation");e&&this.elements.$itemsOverlay.addClass("elementor-animated-item--"+e)}toggleOverlayContentAnimation(){this.removeAnimationClasses(this.elements.$itemsContentElements);const e=this.getElementSettings("content_hover_animation");e&&this.elements.$itemsContentElements.addClass("elementor-animated-item--"+e)}toggleOverlayContentSequencedAnimation(){this.elements.$itemsContent.toggleClass("elementor-gallery--sequenced-animation",this.getElementSettings("content_sequenced_animation")==="yes")}toggleImageHoverAnimation(){const e=this.getElementSettings("image_hover_animation");this.removeAnimationClasses(this.elements.$images),e&&this.elements.$images.addClass("elementor-animated-item--"+e)}toggleAllAnimationsClasses(){const e=this.getElementSettings(),t=e.background_overlay_hover_animation||e.content_hover_animation||e.image_hover_animation;this.elements.$items.toggleClass("elementor-animated-content",!!t),this.toggleImageHoverAnimation(),this.toggleOverlayHoverAnimation(),this.toggleOverlayContentAnimation(),this.toggleOverlayContentSequencedAnimation()}toggleAnimationClasses(e){e==="content_sequenced_animation"&&this.toggleOverlayContentSequencedAnimation(),e==="background_overlay_hover_animation"&&this.toggleOverlayHoverAnimation(),e==="content_hover_animation"&&this.toggleOverlayContentAnimation(),e==="image_hover_animation"&&this.toggleImageHoverAnimation()}setGalleryTags(e){this.gallery.setSettings("tags",e==="all"?[]:[""+e])}bindEvents(){this.elements.$titles.on("click",this.galleriesNavigationListener.bind(this)).on("keyup",e=>{(e.keyCode===13||e.keyCode===32)&&e.currentTarget.click()}),elementorFrontend.elements.$window.on("elementor/nested-tabs/activate",this.initGallery.bind(this))}galleriesNavigationListener(e){const t=this.getSettings("classes"),n=jQuery(e.target);this.elements.$titles.removeClass(t.activeTitle),n.addClass(t.activeTitle),this.setGalleryTags(n.data("gallery-index")),setTimeout(()=>this.setLightboxGalleryIndex(n.data("gallery-index")),1e3)}setLightboxGalleryIndex(e="all"){if(e==="all")return this.elements.$items.attr("data-elementor-lightbox-slideshow","all_"+this.getID());this.elements.$items.not(".e-gallery-item--hidden").attr("data-elementor-lightbox-slideshow",e+"_"+this.getID())}onInit(...e){super.onInit(...e),elementorFrontend.isEditMode()&&1<=this.$element.find(".elementor-widget-empty-icon").length&&this.$element.addClass("elementor-widget-empty"),this.elements.$container.length&&(this.initGallery(),this.elements.$titles.first().trigger("click"))}getSettingsDictionary(){if(this.settingsDictionary)return this.settingsDictionary;const e=elementorFrontend.config.responsive.activeBreakpoints,t=Object.keys(e),n={columns:["columns"],gap:["horizontalGap","verticalGap"],ideal_row_height:["idealRowHeight"]};return t.forEach(s=>{s!=="widescreen"&&(n["columns_"+s]=["breakpoints."+e[s].value+".columns"],n["gap_"+s]=["breakpoints."+e[s].value+".horizontalGap","breakpoints."+e[s].value+".verticalGap"],n["ideal_row_height_"+s]=["breakpoints."+e[s].value+".idealRowHeight"])}),n.aspect_ratio=["aspectRatio"],this.settingsDictionary=n,this.settingsDictionary}onElementChange(e){if(this.getGallerySettings(),["background_overlay_hover_animation","content_hover_animation","image_hover_animation","content_sequenced_animation"].indexOf(e)!==-1){this.toggleAnimationClasses(e);return}const t=this.getSettingsDictionary()[e];if(t){const n=this.getGallerySettings();t.forEach(s=>{this.gallery.setSettings(s,this.getItems(n,s))})}}onDestroy(){super.onDestroy(),this.gallery&&this.gallery.destroy()}}})),Nr=(Oe=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("gallery",()=>v(()=>Promise.resolve().then(()=>(Wr(),Rr)),void 0))}},f(Oe,"default"),Oe),zr=b({default:()=>Js}),Gs,Qs,Ks,fn,Ys,Xs,vn,_n,bn,Js,jr=g((()=>{Gs=Object.defineProperty,Qs=Object.defineProperties,Ks=Object.getOwnPropertyDescriptors,fn=Object.getOwnPropertySymbols,Ys=Object.prototype.hasOwnProperty,Xs=Object.prototype.propertyIsEnumerable,vn=f((e,t,n)=>t in e?Gs(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),_n=f((e,t)=>{for(var n in t||(t={}
335))Ys.call(t,n)&&vn(e,n,t[n]);if(fn)for(var n of fn(t))Xs.call(t,n)&&vn(e,n,t[n]);return e},"__spreadValues"),bn=f((e,t)=>Qs(e,Ks(t)),"__spreadProps"),Js=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{container:".e-lottie__container",containerLink:".e-lottie__container__link",animation:".e-lottie__animation",caption:".e-lottie__caption"},classes:{caption:"e-lottie__caption"}}}getDefaultElements(){const{selectors:e}=this.getSettings();return{$widgetWrapper:this.$element,$container:this.$element.find(e.container),$containerLink:this.$element.find(e.containerLink),$animation:this.$element.find(e.animation),$caption:this.$element.find(e.caption),$sectionParent:this.$element.closest(".elementor-section"),$columnParent:this.$element.closest(".elementor-column"),$containerParent:this.$element.closest(".e-con")}}onInit(...e){super.onInit(...e),this.lottie=null,this.state={isAnimationScrollUpdateNeededOnFirstLoad:!0,isNewLoopCycle:!1,isInViewport:!1,loop:!1,animationDirection:"forward",currentAnimationTrigger:"",effectsRelativeTo:"",hoverOutMode:"",hoverArea:"",caption:"",playAnimationCount:0,animationSpeed:0,linkTimeout:0,viewportOffset:{start:0,end:100}},this.intersectionObservers={animation:{observer:null,element:null},lazyload:{observer:null,element:null}},this.animationFrameRequest={timer:null,lastScrollY:0},this.listeners={collection:[],elements:{$widgetArea:{triggerAnimationHoverIn:null,triggerAnimationHoverOut:null},$container:{triggerAnimationClick:null}}},this.initLottie()}initLottie(){this.getLottieSettings().lazyload?this.lazyloadLottie():this.generateLottie()}lazyloadLottie(){this.intersectionObservers.lazyload.observer=elementorModules.utils.Scroll.scrollObserver({offset:"0px 0px 200px",callback:t=>{t.isInViewport&&(this.generateLottie(),this.intersectionObservers.lazyload.observer.unobserve(this.intersectionObservers.lazyload.element))}}),this.intersectionObservers.lazyload.element=this.elements.$container[0],this.intersectionObservers.lazyload.observer.observe(this.intersectionObservers.lazyload.element)}generateLottie(){this.createLottieInstance(),this.setLottieEvents()}createLottieInstance(){const e=this.getLottieSettings();this.lottie=bodymovin.loadAnimation({container:this.elements.$animation[0],path:this.getAnimationPath(),renderer:e.renderer,autoplay:!1,name:"lottie-widget"}),this.elements.$animation.data("lottie",this.lottie)}getAnimationPath(){var e,t;const n=this.getLottieSettings();return(e=n.source_json)!=null&&e.url&&n.source_json.url.toLowerCase().substr(-4)==="json"?n.source_json.url:(t=n.source_external_url)!=null&&t.url?n.source_external_url.url:elementorProFrontend.config.lottie.defaultAnimationUrl}setCaption(){const e=this.getLottieSettings();(e.source==="external_url"||e.source==="media_file"&&e.caption_source==="custom")&&this.getCaptionElement().text(e.caption)}getCaptionElement(){if(!this.elements.$caption.length){const{classes:e}=this.getSettings();return this.elements.$caption=jQuery("<p>",{class:e.caption}),this.elements.$container.append(this.elements.$caption),this.elements.$caption}return this.elements.$caption}setLottieEvents(){this.lottie.addEventListener("DOMLoaded",()=>this.onLottieDomLoaded()),this.lottie.addEventListener("complete",()=>this.onComplete())}saveInitialValues(){var e;const t=this.getLottieSettings();this.lottie.__initialTotalFrames=this.lottie.totalFrames,this.lottie.__initialFirstFrame=this.lottie.firstFrame,this.state.currentAnimationTrigger=t.trigger,this.state.effectsRelativeTo=t.effects_relative_to,this.state.viewportOffset.start=t.viewport?t.viewport.sizes.start:0,this.state.viewportOffset.end=t.viewport?t.viewport.sizes.end:100,this.state.animationSpeed=(e=t.play_speed)==null?void 0:e.size,this.state.linkTimeout=t.link_timeout,this.state.caption=t.caption,this.state.loop=t.loop}setAnimationFirstFrame(){const e=this.getAnimationFrames();e.first=e.first-this.lottie.__initialFirstFrame,this.lottie.goToAndStop(e.first,!0)}initAnimationTrigger(){switch(this.getLottieSettings().trigger){case"none":this.playLottie();break;case"arriving_to_viewport":this.playAnimationWhenArrivingToViewport();break;case"bind_to_scroll":this.playAnimationWhenBindToScroll();break;case"on_click":this.bindAnimationClickEvents();break;case"on_hover":this.bindAnimationHoverEvents();break}}playAnimationWhenArrivingToViewport(){const e=this.getOffset();this.intersectionObservers.animation.observer=elementorModules.utils.Scroll.
335scrollObserver({offset:`${e.end}% 0% ${e.start}%`,callback:t=>{t.isInViewport?(this.state.isInViewport=!0,this.playLottie()):(this.state.isInViewport=!1,this.lottie.pause())}}),this.intersectionObservers.animation.element=this.elements.$widgetWrapper[0],this.intersectionObservers.animation.observer.observe(this.intersectionObservers.animation.element)}getOffset(){const e=this.getLottieSettings();return{start:-e.viewport.sizes.start||0,end:-(100-e.viewport.sizes.end)||0}}playAnimationWhenBindToScroll(){const e=this.getLottieSettings(),t=this.getOffset();this.intersectionObservers.animation.observer=elementorModules.utils.Scroll.scrollObserver({offset:`${t.end}% 0% ${t.start}%`,callback:n=>this.onLottieIntersection(n)}),this.intersectionObservers.animation.element=e.effects_relative_to==="viewport"?this.elements.$widgetWrapper[0]:document.documentElement,this.intersectionObservers.animation.observer.observe(this.intersectionObservers.animation.element)}updateAnimationByScrollPosition(){const e=this.getLottieSettings();let t;e.effects_relative_to==="page"?t=this.getLottiePagePercentage():this.getCurrentDeviceSetting("_position")==="fixed"?t=this.getLottieViewportHeightPercentage():t=this.getLottieViewportPercentage();let n=this.getFrameNumberByPercent(t);n=n-this.lottie.__initialFirstFrame,this.lottie.goToAndStop(n,!0)}getLottieViewportPercentage(){return elementorModules.utils.Scroll.getElementViewportPercentage(this.elements.$widgetWrapper,this.getOffset())}getLottiePagePercentage(){return elementorModules.utils.Scroll.getPageScrollPercentage(this.getOffset())}getLottieViewportHeightPercentage(){return elementorModules.utils.Scroll.getPageScrollPercentage(this.getOffset(),window.innerHeight)}getFrameNumberByPercent(e){const t=this.getAnimationFrames();return e=Math.min(100,Math.max(0,e)),t.first+(t.last-t.first)*e/100}getAnimationFrames(){const e=this.getLottieSettings(),t=this.getAnimationCurrentFrame(),n=this.getAnimationRange().start,s=this.getAnimationRange().end;let i=this.lottie.__initialFirstFrame,o=this.lottie.__initialFirstFrame===0?this.lottie.__initialTotalFrames:this.lottie.__initialFirstFrame+this.lottie.__initialTotalFrames;return n&&n>i&&(i=n),s&&s<o&&(o=s),!this.state.isNewLoopCycle&&e.trigger!=="bind_to_scroll"&&(i=n&&n>t?n:t),this.state.animationDirection==="backward"&&this.isReverseMode()&&(i=t,o=n&&n>this.lottie.__initialFirstFrame?n:this.lottie.__initialFirstFrame),{first:i,last:o,current:t,total:this.lottie.__initialTotalFrames}}getAnimationRange(){const e=this.getLottieSettings();return{start:this.getInitialFrameNumberByPercent(e.start_point.size),end:this.getInitialFrameNumberByPercent(e.end_point.size)}}getInitialFrameNumberByPercent(e){return e=Math.min(100,Math.max(0,e)),this.lottie.__initialFirstFrame+(this.lottie.__initialTotalFrames-this.lottie.__initialFirstFrame)*e/100}getAnimationCurrentFrame(){return this.lottie.firstFrame===0?this.lottie.currentFrame:this.lottie.firstFrame+this.lottie.currentFrame}setLinkTimeout(){var e;const t=this.getLottieSettings();t.trigger==="on_click"&&((e=t.custom_link)!=null&&e.url)&&t.link_timeout&&this.elements.$containerLink.on("click",n=>{n.preventDefault(),this.isEdit||setTimeout(()=>{const s=t.custom_link.is_external==="on"?"_blank":"_self";window.open(t.custom_link.url,s)},t.link_timeout)})}bindAnimationClickEvents(){this.listeners.elements.$container.triggerAnimationClick=()=>{this.playLottie()},this.addSessionEventListener(this.elements.$container,"click",this.listeners.elements.$container.triggerAnimationClick)}getLottieSettings(){var e,t;const n=this.getElementSettings(),s=bn(_n({},n),{lazyload:n.lazyload==="yes",loop:n.loop==="yes"});return n.source==="external_url"&&(s.source_external_url=bn(_n({},(e=n.source_external_url)!=null?e:{}),{url:((t=s.source_external_url)==null?void 0:t.url)||this.getDynamicValue()})),s}playLottie(){const e=this.getAnimationFrames();this.lottie.stop(),this.lottie.playSegments([e.first,e.last],!0),this.state.isNewLoopCycle=!1}bindAnimationHoverEvents(){this.createAnimationHoverInEvents(),this.createAnimationHoverOutEvents()}createAnimationHoverInEvents(){const e=this.getLottieSettings(),t=this.getHoverAreaElement();this.state.hoverArea=e.hover_area,this.listeners.elements.$widgetArea.triggerAnimationHoverIn=()=>{this.state.animationDirection="forward",this.playLottie()},this.addSessionEventListener(t,"mouseenter",this.listeners.elements.$widgetArea.triggerAnimationHoverIn)}addSessionEventListener(e,t,n){e.on(t,n),this.listeners.collection.push({$el:e,event:t,callback:n})}createAnimationHoverOutEvents(){const e=this.getLottieSettings(),t=this.getHoverAreaElement();(e.on_hover_out==="pause"||e.on_hover_out==="reverse")&&(this.state.hoverOutMode=e.on_hover_out,this.listeners.elements.$widgetArea.triggerAnimationHoverOut=()=>{e.on_hover_out==="pause"?this.lottie.pause():(this.state.animationDirection="backward",this.playLottie())},this.addSessionEventListener(t,"mouseleave",this.listeners.elements.$widgetArea.triggerAnimationHoverOut))}getHoverAreaElement(){switch(this.getLottieSettings().hover_area){case"section":return this.elements.$sectionParent;case"column":return this.elements.$columnParent;case"container":return this.elements.$containerParent}return this.elements.$container}setLoopOnAnimationComplete(){const e=this.getLottieSettings();this.state.isNewLoopCycle=!0,e.loop&&!this.isReverseMode()?this.setLoopWhenNotReverse():e.loop&&this.isReverseMode()?this.setReverseAnimationOnLoop():!e.loop&&this.isReverseMode()&&this.setReverseAnimationOnSingleTrigger()}isReverseMode(){const e=this.getLottieSettings();return e.reverse_animation==="yes"||e.on_hover_out==="reverse"&&this.state.animationDirection==="backward"}setLoopWhenNotReverse(){const e=this.getLottieSettings();e.number_of_times>0?(this.state.playAnimationCount++,this.state.playAnimationCount<e.number_of_times?this.playLottie():this.state.playAnimationCount=0):this.playLottie()}setReverseAnimationOnLoop(){const e=this.getLottieSettings();!e.number_of_times||this.state.playAnimationCount<e.number_of_times?(this.state.animationDirection=this.state.animationDirection==="forward"?"backward":"forward",this.playLottie(),this.state.animationDirection==="backward"&&this.state.playAnimationCount++):(this.state.playAnimationCount=0,this.state.animationDirection="forward")}setReverseAnimationOnSingleTrigger(){this.state.playAnimationCount<1?(this.state.playAnimationCount++,this.state.animationDirection="backward",this.playLottie()):this.state.playAnimationCount>=1&&this.state.animationDirection==="forward"?(this.state.animationDirection="backward",this.playLottie()):(this.state.playAnimationCount=0,this.state.animationDirection="forward")}setAnimationSpeed(){const e=this.getLottieSettings();e.play_speed&&this.lottie.setSpeed(e.play_speed.size)}onElementChange(){this.updateLottieValues(),this.resetAnimationTrigger()}updateLottieValues(){var e;const t=this.getLottieSettings();[{sourceVal:(e=t.play_speed)==null?void 0:e.size,stateProp:"animationSpeed",callback:()=>this.setAnimationSpeed()},{sourceVal:t.link_timeout,stateProp:"linkTimeout",callback:()=>this.setLinkTimeout()},{sourceVal:t.caption,stateProp:"caption",callback:()=>this.setCaption()},{sourceVal:t.effects_relative_to,stateProp:"effectsRelativeTo",callback:()=>this.updateAnimationByScrollPosition()},{sourceVal:t.loop,stateProp:"loop",callback:()=>this.onLoopStateChange()}
335].forEach(n=>{typeof n.sourceVal!="undefined"&&n.sourceVal!==this.state[n.stateProp]&&(this.state[n.stateProp]=n.sourceVal,n.callback())})}onLoopStateChange(){const e=this.state.currentAnimationTrigger==="arriving_to_viewport"&&this.state.isInViewport;this.state.loop&&(e||this.state.currentAnimationTrigger==="none")&&this.playLottie()}resetAnimationTrigger(){const e=this.getLottieSettings(),t=e.trigger!==this.state.currentAnimationTrigger,n=e.viewport?this.isViewportOffsetChange():!1,s=e.on_hover_out?this.isHoverOutModeChange():!1,i=e.hover_area?this.isHoverAreaChange():!1;(t||n||s||i)&&(this.removeAnimationFrameRequests(),this.removeObservers(),this.removeEventListeners(),this.initAnimationTrigger())}isViewportOffsetChange(){const e=this.getLottieSettings(),t=e.viewport.sizes.start!==this.state.viewportOffset.start,n=e.viewport.sizes.end!==this.state.viewportOffset.end;return t||n}isHoverOutModeChange(){return this.getLottieSettings().on_hover_out!==this.state.hoverOutMode}isHoverAreaChange(){return this.getLottieSettings().hover_area!==this.state.hoverArea}removeEventListeners(){this.listeners.collection.forEach(e=>{e.$el.off(e.event,null,e.callback)})}removeObservers(){for(const e in this.intersectionObservers)this.intersectionObservers[e].observer&&this.intersectionObservers[e].element&&this.intersectionObservers[e].observer.unobserve(this.intersectionObservers[e].element)}removeAnimationFrameRequests(){cancelAnimationFrame(this.animationFrameRequest.timer)}onDestroy(){super.onDestroy(),this.destroyLottie()}destroyLottie(){this.removeAnimationFrameRequests(),this.removeObservers(),this.removeEventListeners(),this.elements.$animation.removeData("lottie"),this.lottie&&this.lottie.destroy()}onLottieDomLoaded(){this.saveInitialValues(),this.setAnimationSpeed(),this.setLinkTimeout(),this.setCaption(),this.setAnimationFirstFrame(),this.initAnimationTrigger()}onComplete(){this.setLoopOnAnimationComplete()}onLottieIntersection(e){if(e.isInViewport)this.state.isAnimationScrollUpdateNeededOnFirstLoad&&(this.state.isAnimationScrollUpdateNeededOnFirstLoad=!1,this.updateAnimationByScrollPosition()),this.animationFrameRequest.timer=requestAnimationFrame(()=>this.onAnimationFrameRequest());else{const t=this.getAnimationFrames(),n=e.intersectionScrollDirection==="up"?t.first:t.last;this.state.isAnimationScrollUpdateNeededOnFirstLoad=!1,cancelAnimationFrame(this.animationFrameRequest.timer),this.lottie.goToAndStop(n,!0)}}onAnimationFrameRequest(){window.scrollY!==this.animationFrameRequest.lastScrollY&&(this.updateAnimationByScrollPosition(),this.animationFrameRequest.lastScrollY=window.scrollY),this.animationFrameRequest.timer=requestAnimationFrame(()=>this.onAnimationFrameRequest())}getDynamicValue(){var e,t,n,s,i;if(!this.isEdit||!(elementor!=null&&elementor.dynamicTags))return"";const o=(t=(e=elementor.getContainer(this.getID()))==null?void 0:e.model)==null?void 0:t.get("settings"),a=(s=(n=o==null?void 0:o.get("__dynamic__"))==null?void 0:n.source_external_url)!=null?s:null;if(!a)return"";const l=elementor.dynamicTags.tagTextToTagData(a);if(!l)return"";try{return(i=elementor.dynamicTags.parseTagsText(a,l,elementor.dynamicTags.getTagDataContent))!=null?i:""}catch(d){return""}}}})),qr=(Be=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("lottie",()=>v(()=>Promise.resolve().then(()=>(jr(),zr)),void 0))}},f(Be,"default"),Be);function kt(e){"@babel/helpers - typeof";return kt=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(e)}var Zs=g((()=>{}));function Vr(e,t){if(kt(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var s=n.call(e,t||"default");if(kt(s)!="object")return s;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Ur=g((()=>{Zs()}));function Gr(e){var t=Vr(e,"string");return kt(t)=="symbol"?t:t+""}var Qr=g((()=>{Zs(),Ur()}));
335function V(e,t,n){return(t=Gr(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ae=g((()=>{Qr()})),Sn,ei=g((()=>{ae(),Sn=class{constructor(e,t){V(this,"observer",null),this.$anchorLinks=e,this.activeAnchorClass=t.activeAnchorItem,this.anchorClass=t.anchorItem}getViewportHeight(){return window.innerHeight}bindEvents(){this.onResize=this.onResize.bind(this),window.addEventListener("resize",this.onResize)}initialize(){this.viewPortHeight=this.getViewportHeight(),this.followMenuAnchors(),this.bindEvents()}followMenuAnchors(){this.$anchorLinks.each((e,t)=>{location.pathname===t.pathname&&t.hash!==""&&this.followMenuAnchor(jQuery(t))})}followMenuAnchor(e){const t=e.hasClass(this.anchorClass)?e:e.closest(`.${this.anchorClass}`),n=this.getAnchorElement(e);if(!n)return;const s=this.getObserverOptions(n);this.observer=this.createObserver(t,e,s),this.observer.observe(n)}getAnchorElement(e){const t=e[0].hash;try{const n=decodeURIComponent(t);return document.querySelector(n)}catch(n){return null}}getObserverOptions(e){return{root:null,rootMargin:this.calculateRootMargin(e)}}calculateRootMargin(e){const t=((e==null?void 0:e.offsetHeight)||0)>this.viewPortHeight/2,n=-1*this.viewPortHeight/2;return`${t?n:0}px 0px ${n}px 0px`}createObserver(e,t,n){return new IntersectionObserver(s=>{s.forEach(i=>{e.toggleClass(this.activeAnchorClass,i.isIntersecting),t.attr("aria-current",i.isIntersecting?"location":"")})},n)}onResize(){this.viewPortHeight=this.getViewportHeight(),this.observer&&this.observer.disconnect(),this.followMenuAnchors()}}})),Kr=b({default:()=>ti}),ti,Yr=g((()=>{ei(),ti=elementorModules.frontend.handlers.Base.extend({stretchElement:null,getDefaultSettings(){return{selectors:{menu:".elementor-nav-menu",anchorLink:".elementor-nav-menu--main .elementor-item-anchor",dropdownMenu:".elementor-nav-menu__container.elementor-nav-menu--dropdown",menuToggle:".elementor-menu-toggle"},classes:{anchorItem:"elementor-item-anchor",activeAnchorItem:"elementor-item-active"}}},getDefaultElements(){var e=this.getSettings("selectors"),t={};return t.$menu=this.$element.find(e.menu),t.$anchorLink=this.$element.find(e.anchorLink),t.$dropdownMenu=this.$element.find(e.dropdownMenu),t.$dropdownMenuFinalItems=t.$dropdownMenu.find(".menu-item:not(.menu-item-has-children) > a"),t.$menuToggle=this.$element.find(e.menuToggle),t.$links=t.$dropdownMenu.find("a.elementor-item"),t},dropdownMenuHeightControllerConfig(){const e=this.getSettings("selectors");return{elements:{$element:this.$element,$dropdownMenuContainer:this.$element.find(e.dropdownMenu),$menuToggle:this.$element.find(e.menuToggle)},attributes:{menuToggleState:"aria-expanded"},settings:{dropdownMenuContainerMaxHeight:"1000vmax",menuHeightCssVarName:"--menu-height"}}},bindEvents(){this.elements.$menu.length&&(this.elements.$menuToggle.on("click",this.toggleMenu.bind(this)).on("keyup",this.triggerClickOnEnterSpace.bind(this)),this.getElementSettings("full_width")&&this.elements.$dropdownMenuFinalItems.on("click",this.toggleMenu.bind(this,!1)).on("keyup",this.triggerClickOnEnterSpace.bind(this)),elementorFrontend.addListenerOnce(this.$element.data("model-cid"),"resize",this.stretchMenu),elementorFrontend.addListenerOnce(this.$element.data("model-cid"),"scroll",elementorFrontend.debounce(this.menuHeightController.reassignMobileMenuHeight.bind(this.menuHeightController),250)))},initStretchElement(){this.stretchElement=new elementorModules.frontend.tools.StretchElement({element:this.elements.$dropdownMenu})},toggleNavLinksTabIndex(e=!0){this.elements.$links.attr("tabindex",e?0:-1)},toggleMenu(e){var t=this.elements.$menuToggle.hasClass("elementor-active");typeof e!="boolean"&&(e=!t),this.elements.$menuToggle.attr("aria-expanded",e),this.elements.$dropdownMenu.attr("aria-hidden",!e),this.elements.$menuToggle.toggleClass("elementor-active",e),this.toggleNavLinksTabIndex(e),this.menuHeightController.reassignMobileMenuHeight(this),e&&this.getElementSettings("full_width")&&this.stretchElement.stretch()},triggerClickOnEnterSpace(e){(e.keyCode===13||e.keyCode===32)&&(e.currentTarget.click(),e.stopPropagation())}
335,stretchMenu(){this.getElementSettings("full_width")?(this.stretchElement.stretch(),this.elements.$dropdownMenu.css("top",this.elements.$menuToggle.outerHeight())):this.stretchElement.reset()},onInit(){if(this.menuHeightController=new elementorProFrontend.utils.DropdownMenuHeightController(this.dropdownMenuHeightControllerConfig()),elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),!!this.elements.$menu.length&&(this.elements.$menu.smartmenus({subIndicators:!1,subMenusMaxWidth:"1000px"}),this.initStretchElement(),this.stretchMenu(),!elementorFrontend.isEditMode())){const e=this.getSettings("classes");this.anchorLinks=new Sn(this.elements.$anchorLink,e),this.anchorLinks.initialize()}},onElementChange(e){e==="full_width"&&this.stretchMenu()}})})),Xr=(He=class extends elementorModules.Module{constructor(){super(),jQuery.fn.smartmenus&&(jQuery.SmartMenus.prototype.isCSSOn=function(){return!0},elementorFrontend.config.is_rtl&&(jQuery.fn.smartmenus.defaults.rightToLeftSubMenus=!0)),elementorFrontend.elementsHandler.attachHandler("nav-menu",()=>v(()=>Promise.resolve().then(()=>(Yr(),Kr)),void 0))}},f(He,"default"),He),ge=(Re=class extends elementorModules.Module{constructor(t,n){super(t),this.callback=n}getTriggerSetting(t){return this.getSettings(this.getName()+"_"+t)}},f(Re,"default"),Re),Jr=(We=class extends ge{getName(){return"page_load"}run(){this.timeout=setTimeout(this.callback,this.getTriggerSetting("delay")*1e3)}destroy(){clearTimeout(this.timeout)}},f(We,"default"),We),Zr=(Ne=class extends ge{constructor(...t){super(...t),this.checkScroll=this.checkScroll.bind(this),this.lastScrollOffset=0}getName(){return"scrolling"}checkScroll(){const t=scrollY>this.lastScrollOffset?"down":"up",n=this.getTriggerSetting("direction");if(this.lastScrollOffset=scrollY,t!==n)return;if(t==="up"){this.callback();return}const s=elementorFrontend.elements.$document.height()-innerHeight;scrollY/s*100>=this.getTriggerSetting("offset")&&this.callback()}run(){elementorFrontend.elements.$window.on("scroll",this.checkScroll)}destroy(){elementorFrontend.elements.$window.off("scroll",this.checkScroll)}},f(Ne,"default"),Ne),ea=(ze=class extends ge{getName(){return"scrolling_to"}run(){let t;try{t=jQuery(this.getTriggerSetting("selector"))}catch(n){return}t.length&&(this.setUpIntersectionObserver(),this.observer.observe(t[0]))}setUpIntersectionObserver(){this.observer=new IntersectionObserver(t=>{t.forEach(n=>{n.isIntersecting&&this.callback()})})}destroy(){this.observer&&this.observer.disconnect()}},f(ze,"default"),ze),ta=(je=class extends ge{constructor(...t){super(...t),this.checkClick=this.checkClick.bind(this),this.clicksCount=0}getName(){return"click"}checkClick(){this.clicksCount++,this.clicksCount===this.getTriggerSetting("times")&&this.callback()}run(){elementorFrontend.elements.$body.on("click",this.checkClick)}destroy(){elementorFrontend.elements.$body.off("click",this.checkClick)}},f(je,"default"),je),na=(qe=class extends ge{constructor(...t){super(...t),this.restartTimer=this.restartTimer.bind(this)}getName(){return"inactivity"}run(){this.startTimer(),elementorFrontend.elements.$document.on("keypress mousemove",this.restartTimer)}startTimer(){this.timeOut=setTimeout(this.callback,this.getTriggerSetting("time")*1e3)}clearTimer(){clearTimeout(this.timeOut)}restartTimer(){this.clearTimer(),this.startTimer()}destroy(){this.clearTimer(),elementorFrontend.elements.$document.off("keypress mousemove",this.restartTimer)}},f(qe,"default"),qe),sa=(Ve=class extends ge{constructor(...t){super(...t),this.detectExitIntent=this.detectExitIntent.bind(this)}getName(){return"exit_intent"}detectExitIntent(t){t.clientY<=0&&this.callback()}run(){elementorFrontend.elements.$window.on("mouseleave",this.detectExitIntent)}destroy(){elementorFrontend.elements.$window.off("mouseleave",this.detectExitIntent)}},f(Ve,"default"),Ve),ia=(Ue=class extends ge{getName(){return"adblock_detection"}generateRandomString(){const t="abcdefghijklmnopqrstuvwxyz0123456789";let n="";for(let s=0;s<6;s++){const i=Math.floor(Math.random()*36);n+=t[i]}return n}hasAdblock(){var t;const n=`elementor-adblock-detection-${this.generateRandomString()}`;this.createEmptyAdBlockElement(n);const s=document.querySelector(`#${n}`);if(!s)return!0;const i=((t=window.getComputedStyle(s))==null?void 0:t.display)==="none";return this.removeEmptyAdBlockElement(s),i}createEmptyAdBlockElement(t){const n=document.createElement("div");n.id=t,n.className="ad-box",n.style.position="fixed",n.style.top="0",n.style.left="0",n.setAttribute("aria-hidden","true"),n.innerHTML=" ",document.body.appendChild(n)}removeEmptyAdBlockElement(t){t.remove()}run(){this.timeout=setTimeout(()=>{this.hasAdblock()&&this.callback()},this.getTriggerSetting("delay")*1e3)}destroy(){clearTimeout(this.timeout)}},f(Ue,"default"),Ue),oa=(Ge=class extends elementorModules.Module{constructor(t,n){super(t),this.document=n,this.triggers=[],this.triggerClasses={page_load:Jr,scrolling:Zr,scrolling_to:ea,click:ta,inactivity:na,exit_intent:sa,adblock_detection:ia},this.runTriggers()}runTriggers(){const t=this.getSettings();jQuery.each(this.triggerClasses,(n,s)=>{if(!t[n])return;const i=new s(t,()=>this.onTriggerFired());i.run(),this.triggers.push(i)})}
335destroyTriggers(){this.triggers.forEach(t=>t.destroy()),this.triggers=[]}onTriggerFired(){this.document.showModal(!0),this.destroyTriggers()}},f(Ge,"default"),Ge),te=(Qe=class extends elementorModules.Module{constructor(t,n){super(t),this.document=n}getTimingSetting(t){return this.getSettings(this.getName()+"_"+t)}},f(Qe,"default"),Qe),ra=(Ke=class extends te{getName(){return"page_views"}check(){const t=elementorFrontend.storage.get("pageViews"),n=this.getName();let s=this.document.getStorage(n+"_initialPageViews");return s||(this.document.setStorage(n+"_initialPageViews",t),s=t),t-s>=this.getTimingSetting("views")}},f(Ke,"default"),Ke),aa=(Ye=class extends te{getName(){return"sessions"}check(){const t=elementorFrontend.storage.get("sessions"),n=this.getName();let s=this.document.getStorage(n+"_initialSessions");return s||(this.document.setStorage(n+"_initialSessions",t),s=t),t-s>=this.getTimingSetting("sessions")}},f(Ye,"default"),Ye),la=(Xe=class extends te{getName(){return"url"}check(){const t=this.getTimingSetting("url"),n=this.getTimingSetting("action"),s=document.referrer;if(n!=="regex")return n==="hide"^s.indexOf(t)!==-1;let i;try{i=new RegExp(t)}catch(o){return!1}return i.test(s)}},f(Xe,"default"),Xe),ca=(Je=class extends te{getName(){return"sources"}check(){const t=this.getTimingSetting("sources");if(t.length===3)return!0;const n=document.referrer.replace(/https?:\/\/(?:www\.)?/,"");return n.indexOf(location.host.replace("www.",""))===0?t.indexOf("internal")!==-1:t.indexOf("external")!==-1?!0:t.indexOf("search")!==-1?/^(google|yahoo|bing|yandex|baidu)\./.test(n):!1}},f(Je,"default"),Je),da=(Ze=class extends te{getName(){return"logged_in"}check(){const t=elementorFrontend.config.user;return t?this.getTimingSetting("users")==="all"?!1:!this.getTimingSetting("roles").filter(n=>t.roles.indexOf(n)!==-1).length:!0}},f(Ze,"default"),Ze),ua=(et=class extends te{getName(){return"devices"}check(){return this.getTimingSetting("devices").indexOf(elementorFrontend.getCurrentDeviceMode())!==-1}},f(et,"default"),et),ma=class{constructor(e){this.uniqueId=e.uniqueId,this.settings=e.settings,this.storage=e.storage}getTimeFramesInSecounds(e){return{day:86400,week:604800,month:2628288}[e]}setExpiration(e,t,n){if(!this.storage.get(e)){const s={lifetimeInSeconds:this.getTimeFramesInSecounds(n)};this.storage.set(e,t,s);return}this.storage.set(e,t)}getImpressionsCount(){var e;const t=(e=this.storage.get(this.uniqueId))!=null?e:0;return parseInt(t)}incrementImpressionsCount(){var e,t;if(!this.settings.period)this.storage.set("times",((e=this.storage.get("times"))!=null?e:0)+1);else if(this.settings.period!=="session"){const n=this.getImpressionsCount();this.setExpiration(this.uniqueId,n+1,this.settings.period)}else sessionStorage.setItem(this.uniqueId,parseInt((t=sessionStorage.getItem(this.uniqueId))!=null?t:0)+1)}shouldCountOnOpen(){this.settings.countOnOpen&&this.incrementImpressionsCount()}shouldDisplayPerTimeFrame(){return this.getImpressionsCount()<this.settings.showsLimit?(this.shouldCountOnOpen(),!0):!1}shouldDisplayPerSession(){var e;const t=(e=sessionStorage.getItem(this.uniqueId))!=null?e:0;return parseInt(t)<this.settings.showsLimit?(this.shouldCountOnOpen(),!0):!1}shouldDisplayBackwordCompatible(e=0,t){const n=parseInt(e)<parseInt(t);return this.shouldCountOnOpen(),n}},ha=(tt=class extends te{constructor(...t){super(...t),this.uniqueId=`popup-${this.document.getSettings("id")}-impressions-count`;const{times_count:n,times_period:s,times_times:i}=this.getSettings();this.settings={countOnOpen:n,period:s,showsLimit:parseInt(i)},this.settings.period===""&&(this.settings.period=!1),["","close"].includes(this.settings.countOnOpen)?(this.settings.countOnOpen=!1,this.onPopupHide()):this.settings.countOnOpen=!0,this.utils=new ma({uniqueId:this.uniqueId,settings:this.settings,storage:elementorFrontend.storage})}getName(){return"times"}check(){if(!this.settings.period){const t=this.document.getStorage("times")||0,n=this.getTimingSetting("times");return this.utils.shouldDisplayBackwordCompatible(t,n)}if(this.settings.period!=="session"){if(!this.utils.shouldDisplayPerTimeFrame())return!1}else if(!this.utils.shouldDisplayPerSession())return!1;return!0}onPopupHide(){window.addEventListener("elementor/popup/hide",()=>{this.utils.incrementImpressionsCount()})}},f(tt,"default"),tt),ga=(nt=class extends te{getName(){return"browsers"}check(){if(this.getTimingSetting("browsers")==="all")return!0;const t=this.getTimingSetting("browsers_options"),n=elementorFrontend.utils.environment;return t.some(s=>n[s])}},f(nt,"default"),nt),pa=Object.defineProperty,fa=f((e,t,n)=>t in e?pa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),va=f((e,t,n)=>fa(e,typeof t!="symbol"?t+"":t,n),"__publicField"),_a=class{constructor(e){va(this,"shouldDisplay",()=>{if(!this.settings.startDate&&!this.settings.endDate)return!0;const t=this.getCurrentDateTime();return(!this.settings.startDate||t>=this.settings.startDate)&&(!this.settings.endDate||t<=this.settings.endDate)}),this.settings=e.settings}getCurrentDateTime(){let e=new Date;return this.settings.timezone==="site"&&this.settings.serverDatetime&&(e=new Date(this.settings.serverDatetime)),e}},ba=(st=class extends te{constructor(...t){super(...t);const{schedule_timezone:n,schedule_start_date:s,schedule_end_date:i,schedule_server_datetime:o}=this.getSettings();this.settings={timezone:n,startDate:s?new Date(s):!1,endDate:i?new Date(i):!1,serverDatetime:o?new Date(o):!1},this.scheduleUtils=new _a({settings:this.settings})}getName(){return"schedule"}check(){return this.scheduleUtils.shouldDisplay()}},f(st,"default"),st),Sa=(it=class extends elementorModules.Module{constructor(t,n){super(t),this.document=n,this.timingClasses={page_views:ra,sessions:aa,url:la,sources:ca,logged_in:da,devices:ua,times:ha,browsers:ga,schedule:ba}}check(){const t=this.getSettings();let n=!0;return jQuery.each(this.timingClasses,(s,i)=>{t[s]&&(new i(t,this.document).check()||(n=!1))}),n}},f(it,"default"),it),ya=Object.defineProperty,wa=f((e,t,n)=>t in e?ya(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),ni=f((e,t,n)=>wa(e,typeof t!="symbol"?t+"":t,n),"__publicField"),yn=class q{constructor(t){if(this.prefix=`${t}-`,!q.symbolsContainer){const n="e-font-icon-svg-symbols";q.symbolsContainer=document.getElementById(n),q.symbolsContainer||(q.symbolsContainer=document.createElementNS("http://www.w3.org/2000/svg","svg"),q.symbolsContainer.setAttributeNS(null,"
335style","display: none;"),q.symbolsContainer.setAttributeNS(null,"class",n),document.body.appendChild(q.symbolsContainer))}}createSvgElement(t,{path:n,width:s,height:i}){const o=this.prefix+t,a="#"+this.prefix+t;if(!q.iconsUsageList.includes(o)){if(!q.symbolsContainer.querySelector(a)){const d=document.createElementNS("http://www.w3.org/2000/svg","symbol");d.id=o,d.innerHTML='<path d="'+n+'"></path>',d.setAttributeNS(null,"viewBox","0 0 "+s+" "+i),q.symbolsContainer.appendChild(d)}q.iconsUsageList.push(o)}const l=document.createElementNS("http://www.w3.org/2000/svg","svg");return l.innerHTML='<use xlink:href="'+a+'" />',l.setAttributeNS(null,"class","e-font-icon-svg e-"+o),l}};ni(yn,"symbolsContainer"),ni(yn,"iconsUsageList",[]);var Ca=yn,Ea=new Ca("eicon"),Ta={get element(){return Ea.createSvgElement("close",{path:"M742 167L500 408 258 167C246 154 233 150 217 150 196 150 179 158 167 167 154 179 150 196 150 212 150 229 154 242 171 254L408 500 167 742C138 771 138 800 167 829 196 858 225 858 254 829L496 587 738 829C750 842 767 846 783 846 800 846 817 842 829 829 842 817 846 804 846 783 846 767 842 750 829 737L588 500 833 258C863 229 863 200 833 171 804 137 775 137 742 167Z",width:1e3,height:1e3})}};function wn(){return"audio, button, canvas, details, iframe, input, select, summary, textarea, video, [accesskey], a[href], area[href], [tabindex]"}var Cn=g((()=>{})),En,si=g((()=>{Cn(),ae(),En=class{constructor(e){V(this,"lastFocusableElement",null),V(this,"firstFocusableElement",null),V(this,"modalTriggerElement",null),this.config=e,this.changeFocusAfterAnimation=!1}onOpenModal(){this.initializeElements(),this.setTriggerElement(),this.changeFocusAfterAnimation=this.config.modalType==="popup"&&!!this.config.hasEntranceAnimation,this.changeFocusAfterAnimation||this.changeFocus(),this.bindEvents()}onCloseModal(){elementorFrontend.elements.$window.off("keydown",this.onKeyDownPressed.bind(this)),this.modalTriggerElement&&this.setFocusToElement(this.modalTriggerElement)}bindEvents(){elementorFrontend.elements.$window.on("keydown",this.onKeyDownPressed.bind(this)),this.changeFocusAfterAnimation&&this.config.$modalElements.on("animationend animationcancel",this.changeFocus.bind(this)),this.config.modalType==="popup"&&this.onPopupCloseEvent()}onPopupCloseEvent(){elementorFrontend.elements.$window.on("elementor/popup/hide",this.onCloseModal.bind(this))}getFocusableElements(){const e=this.config.modalType==="popup"?":focusable":wn();return this.config.$modalElements.find(e)}initializeElements(){const e=this.getFocusableElements();e.length&&(this.lastFocusableElement=e[e.length-1],this.firstFocusableElement=e[0])}setTriggerElement(){elementorFrontend.elements.window.document.activeElement?this.modalTriggerElement=elementorFrontend.elements.window.document.activeElement:this.modalTriggerElement=null}changeFocus(){this.firstFocusableElement?this.setFocusToElement(this.firstFocusableElement):(this.config.$elementWrapper.attr("tabindex","0"),this.setFocusToElement(this.config.$elementWrapper[0]))}onKeyDownPressed(e){const n=e.shiftKey,s=e.key==="Tab"||e.keyCode===9,i=this.config.$elementWrapper.attr("tabindex")==="0";s&&i?e.preventDefault():s&&this.onTabKeyPressed(s,n,e)}onTabKeyPressed(e,t,n){elementorFrontend.isEditMode()&&this.initializeElements();const s=elementorFrontend.elements.window.document.activeElement;t?s===this.firstFocusableElement&&(this.setFocusToElement(this.lastFocusableElement),n.preventDefault()):s===this.lastFocusableElement&&(this.setFocusToElement(this.firstFocusableElement),n.preventDefault())}setFocusToElement(e){const t=this.config.modalType==="popup"?250:100;setTimeout(()=>{e==null||e.focus()},t)}}}));si(),ae(),he();var $a=(ot=class extends elementorModules.frontend.Document{constructor(...t){super(...t),V(this,"keyboardHandler",null)}bindEvents(){const t=this.getDocumentSettings("open_selector");t&&elementorFrontend.elements.$body.on("click",t,this.showModal.bind(this))}startTiming(){new Sa(this.getDocumentSettings("timing"),this).check()&&this.initTriggers()}initTriggers(){this.triggers=new oa(this.getDocumentSettings("triggers"),this)}showModal(t){const n=this.getDocumentSettings();if(!this.isEdit){if(!elementorFrontend.isWPPreviewMode()&&(this.getStorage("disable")||t&&elementorProFrontend.modules.popup.popupPopped&&n.avoid_multiple_popups))return;this.$element=jQuery(this.elementHTML),this.elements.$elements=this.$element.find(this.getSettings("selectors.elements"))}const s=this.getModal(),i=s.getElements("closeButton");s.setMessage(this.$element).show(),this.isEdit||(n.close_button_delay&&(i.hide(),clearTimeout(this.closeButtonTimeout),this.closeButtonTimeout=setTimeout(()=>i.show(),n.close_button_delay*1e3)),super.runElementsHandlers()),this.setEntranceAnimation(),(!n.timing||!n.timing.times_count)&&this.countTimes(),elementorProFrontend.modules.popup.popupPopped=!0,!this.isEdit&&n.a11y_navigation&&this.handleKeyboardA11y()}setEntranceAnimation(){const t=this.getModal().getElements("widgetContent"),n=this.getDocumentSettings(),s=elementorFrontend.getCurrentDeviceSetting(n,"entrance_animation");if(this.currentAnimation&&t.removeClass(this.currentAnimation),this.currentAnimation=s,!s)return;const i=n.entrance_animation_duration.size;t.addClass(s),setTimeout(()=>t.removeClass(s),i*1e3)}handleKeyboardA11y(){this.keyboardHandler||(this.keyboardHandler=new En(this.getKeyboardHandlingConfig())),this.keyboardHandler.onOpenModal()}setExitAnimation(){const t=this.getModal(),n=this.getDocumentSettings(),s=t.getElements("widgetContent"),i=elementorFrontend.getCurrentDeviceSetting(n,"exit_animation"),o=i?n.entrance_animation_duration.size:0;setTimeout(()=>{i&&s.removeClass(i+" reverse"),this.isEdit||(this.$element.remove(),t.getElements("widget").hide())},o*1e3),i&&s.addClass(i+" reverse")}initModal(){let t;this.getModal=()=>{if(!t){const n=this.getDocumentSettings(),s=this.getSettings("id"),i=d=>{const h="elementor/popup/"+d;elementorFrontend.elements.$document.trigger(h,[s,this]),window.dispatchEvent(new CustomEvent(h,{detail:{id:s,instance:this}}))};let o="elementor-popup-modal";n.classes&&(o+=" "+n.classes);const a={id:"elementor-popup-modal-"+s,className:o,closeButton:!0,preventScroll:n.prevent_scroll,onShow:()=>i("show"),onHide:()=>i("hide"),effects:{hide:()=>{n.timing&&n.timing.times_count&&this.countTimes(),this.setExitAnimation()},show:"show"},hide:{auto:!!n.close_automatically,autoDelay:n.close_automatically*1e3,onBackgroun
335dClick:!n.prevent_close_on_background_click,onOutsideClick:!n.prevent_close_on_background_click,onEscKeyPress:!n.prevent_close_on_esc_key,ignore:".flatpickr-calendar"},position:{enable:!1}};elementorFrontend.config.experimentalFeatures.e_font_icon_svg&&(a.closeButtonOptions={iconElement:Ta.element}),a.closeButtonClass="eicon-close",t=elementorFrontend.getDialogsManager().createWidget("lightbox",a),t.getElements("widgetContent").addClass("animated");const l=t.getElements("closeButton");this.isEdit&&(l.off("click"),t.hide=()=>{}),this.setCloseButtonPosition()}return t}}setCloseButtonPosition(){const t=this.getModal(),n=this.getDocumentSettings("close_button_position");t.getElements("closeButton").prependTo(t.getElements(n==="outside"?"widget":"widgetContent"))}disable(){this.setStorage("disable",!0)}setStorage(t,n,s){elementorFrontend.storage.set(`popup_${this.getSettings("id")}_${t}`,n,s)}getStorage(t,n){return elementorFrontend.storage.get(`popup_${this.getSettings("id")}_${t}`,n)}countTimes(){const t=this.getStorage("times")||0;this.setStorage("times",t+1)}runElementsHandlers(){}onInit(){var t=()=>super.onInit,n=this;return ee(function*(){if(t().call(n),window.DialogsManager||(yield elementorFrontend.utils.assetsLoader.load("script","dialog")),n.initModal(),n.isEdit){n.showModal();return}if(n.$element.show().remove(),n.elementHTML=n.$element[0].outerHTML,!elementorFrontend.isEditMode()){if(elementorFrontend.isWPPreviewMode()&&elementorFrontend.config.post.id===n.getSettings("id")){n.showModal();return}n.startTiming()}})()}onSettingsChange(t){const n=Object.keys(t.changed)[0];n.indexOf("entrance_animation")!==-1&&this.setEntranceAnimation(),n==="exit_animation"&&this.setExitAnimation(),n==="close_button_position"&&this.setCloseButtonPosition()}getEntranceAnimationDuration(){var t;const n=this.getDocumentSettings(),s=n==null?void 0:n.entrance_animation;if(!s||s===""||s==="none")return 0;const i=n==null||(t=n.entrance_animation_duration)===null||t===void 0?void 0:t.size;return i?Number(i):0}getKeyboardHandlingConfig(){return{$modalElements:this.getModal().getElements("widgetContent"),$elementWrapper:this.$element,hasEntranceAnimation:this.getEntranceAnimationDuration()!==0,modalType:"popup",modalId:this.$element.data("elementor-id")}}},f(ot,"default"),ot),Aa=b({default:()=>ii}),ii,Fa=g((()=>{ii=elementorModules.frontend.handlers.Base.extend({getDefaultSettings(){return{selectors:{form:".elementor-form"}}},getDefaultElements(){var e=this.getSettings("selectors"),t={};return t.$form=this.$element.find(e.form),t},bindEvents(){this.elements.$form.on("submit_success",this.handleFormAction)},handleFormAction(e,t){if(typeof t.data.popup=="undefined")return;const n=t.data.popup;if(n.action==="open")return elementorProFrontend.modules.popup.showPopup(n);setTimeout(()=>elementorProFrontend.modules.popup.closePopup(n,e),1e3)}})})),Ia=(rt=class extends elementorModules.Module{constructor(){super(),elementorFrontend.hooks.addAction("elementor/frontend/documents-manager/init-classes",this.addDocumentClass),elementorFrontend.elementsHandler.attachHandler("form",()=>v(()=>Promise.resolve().then(()=>(Fa(),Aa)),void 0)),elementorFrontend.on("components:init",()=>this.onFrontendComponentsInit()),this.shouldSetViewsAndSessions()&&this.setViewsAndSessions()}shouldSetViewsAndSessions(){return!elementorFrontend.isEditMode()&&!elementorFrontend.isWPPreviewMode()&&ElementorProFrontendConfig.popup.hasPopUps}addDocumentClass(t){t.addDocumentClass("popup",$a)}setViewsAndSessions(){const t=elementorFrontend.storage.get("pageViews")||0;if(elementorFrontend.storage.set("pageViews",t+1),!elementorFrontend.storage.get("activeSession",{session:!0})){elementorFrontend.storage.set("activeSession",!0,{session:!0});const n=elementorFrontend.storage.get("sessions")||0;elementorFrontend.storage.set("sessions",n+1)}}showPopup(t,n){const s=elementorFrontend.documentsManager.documents[t.id];if(!s)return;const i=s.getModal();t.toggle&&i.isVisible()?i.hide():s.showModal(null,n)}closePopup(t,n){const s=jQuery(n.target).parents('[data-elementor-type="popup"]').data("elementorId");if(!s)return;const i=elementorFrontend.documentsManager.documents[s];
335i.getModal().hide(),t.do_not_show_again&&i.disable()}onFrontendComponentsInit(){elementorFrontend.utils.urlActions.addAction("popup:open",(t,n)=>this.showPopup(t,n)),elementorFrontend.utils.urlActions.addAction("popup:close",(t,n)=>this.closePopup(t,n))}},f(rt,"default"),rt),ka=b({default:()=>jt}),jt,Tn=g((()=>{jt=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{postsContainer:".elementor-posts-container",postWrapperTag:"article",loadMoreButton:".elementor-button",loadMoreSpinnerWrapper:".e-load-more-spinner",loadMoreSpinner:".e-load-more-spinner i, .e-load-more-spinner svg",loadMoreAnchor:".e-load-more-anchor"},classes:{loadMoreSpin:"eicon-animation-spin",loadMoreIsLoading:"e-load-more-pagination-loading",loadMorePaginationEnd:"e-load-more-pagination-end",loadMoreNoSpinner:"e-load-more-no-spinner"}}}getDefaultElements(){const e=this.getSettings("selectors");return{postsWidgetWrapper:this.$element[0],postsContainer:this.$element[0].querySelector(e.postsContainer),loadMoreButton:this.$element[0].querySelector(e.loadMoreButton),loadM
335oreSpinnerWrapper:this.$element[0].querySelector(e.loadMoreSpinnerWrapper),loadMoreSpinner:this.$element[0].querySelector(e.loadMoreSpinner),loadMoreAnchor:this.$element[0].querySelector(e.loadMoreAnchor)}}bindEvents(){super.bindEvents(),this.elements.loadMoreButton&&this.elements.loadMoreButton.addEventListener("click",e=>{this.isLoading||(e.preventDefault(),this.handlePostsQuery())})}onInit(){super.onInit(),this.classes=this.getSettings("classes"),this.isLoading=!1;const e=this.getElementSettings("pagination_type");e!=="load_more_on_click"&&e!=="load_more_infinite_scroll"||(this.isInfinteScroll=e==="load_more_infinite_scroll",this.isSpinnerAvailable=this.getElementSettings("load_more_spinner").value,this.isSpinnerAvailable||this.elements.postsWidgetWrapper.classList.add(this.classes.loadMoreNoSpinner),this.isInfinteScroll?this.handleInfiniteScroll():this.elements.loadMoreSpinnerWrapper&&this.elements.loadMoreButton&&this.elements.loadMoreButton.insertAdjacentElement("beforeEnd",this.elements.loadMoreSpinnerWrapper),this.elementId=this.getID(),this.postId=elementorFrontendConfig.post.id,this.elements.loadMoreAnchor&&(this.currentPage=parseInt(this.elements.loadMoreAnchor.getAttribute("data-page")),this.maxPage=parseInt(this.elements.loadMoreAnchor.getAttribute("data-max-page")),(this.currentPage===this.maxPage||!this.currentPage)&&this.handleUiWhenNoPosts()))}handleInfiniteScroll(){this.isEdit||(this.observer=elementorModules.utils.Scroll.scrollObserver({callback:e=>{!e.isInViewport||this.isLoading||(this.observer.unobserve(this.elements.loadMoreAnchor),this.handlePostsQuery().then(()=>{this.currentPage!==this.maxPage&&this.observer.observe(this.elements.loadMoreAnchor)}))}}),this.observer.observe(this.elements.loadMoreAnchor))}handleUiBeforeLoading(){this.isLoading=!0,this.elements.loadMoreSpinner&&this.elements.loadMoreSpinner.classList.add(this.classes.loadMoreSpin),this.elements.postsWidgetWrapper.classList.add(this.classes.loadMoreIsLoading)}handleUiAfterLoading(){this.isLoading=!1,this.elements.loadMoreSpinner&&this.elements.loadMoreSpinner.classList.remove(this.classes.loadMoreSpin),this.isInfinteScroll&&this.elements.loadMoreSpinnerWrapper&&this.elements.loadMoreAnchor&&this.elements.loadMoreAnchor.insertAdjacentElement("afterend",this.elements.loadMoreSpinnerWrapper),this.elements.postsWidgetWrapper.classList.remove(this.classes.loadMoreIsLoading)}handleUiWhenNoPosts(){this.elements.postsWidgetWrapper.classList.add(this.classes.loadMorePaginationEnd)}afterInsertPosts(){}handleSuccessFetch(e){this.handleUiAfterLoading();const t=this.getSettings("selectors"),n=e.querySelectorAll(`[data-id="${this.elementId}"] ${t.postsContainer} > ${t.postWrapperTag}`),s=e.querySelector(`[data-id="${this.elementId}"] .e-load-more-anchor`).getAttribute("data-next-page");n.forEach(i=>this.elements.postsContainer.append(i)),this.elements.loadMoreAnchor.setAttribute("data-page",this.currentPage),this.elements.loadMoreAnchor.setAttribute("data-next-page",s),this.currentPage===this.maxPage&&this.handleUiWhenNoPosts(),this.afterInsertPosts(n,e)}handlePostsQuery(){this.handleUiBeforeLoading(),this.currentPage++;const e=this.elements.loadMoreAnchor.getAttribute("data-next-page");return fetch(e).then(t=>t.text()).then(t=>{const n=new DOMParser().parseFromString(t,"text/html");this.handleSuccessFetch(n)})}}})),oi=b({default:()=>N}),N,Ee=g((()=>{N=elementorModules.frontend.handlers.Base.extend({getSkinPrefix(){return"classic_"},bindEvents(){elementorFrontend.addListenerOnce(this.getModelCID(),"resize",this.onWindowResize)},unbindEvents(){elementorFrontend.removeListeners(this.getModelCID(),"resize",this.onWindowResize)},getClosureMethodsNames(){return elementorModules.frontend.handlers.Base.prototype.getClosureMethodsNames.apply(this,arguments).concat(["fitImages","onWindowResize","runMasonry"])},getDefaultSettings(){return{classes:{fitHeight:"elementor-fit-height",hasItemRatio:"elementor-has-item-ratio"},selectors:{postsContainer:".elementor-posts-container",post:".elementor-post",postThumbnail:".elementor-post__thumbnail",postThumbnailImage:".elementor-post__thumbnail img"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$postsContainer:this.$element.find(e.postsContainer),$posts:this.$element.find(e.post)}},fitImage(e){var t=this.getSettings(),n=e.find(t.selectors.postThumbnail),s=n.find("img")[0];if(s){var i=n.outerHeight()/n.outerWidth(),o=s.naturalHeight/s.naturalWi
335dth;n.toggleClass(t.classes.fitHeight,o<i)}},fitImages(){var e=jQuery,t=this,n=getComputedStyle(this.$element[0],":after").content,s=this.getSettings();if(t.isMasonryEnabled()){this.elements.$postsContainer.removeClass(s.classes.hasItemRatio);return}this.elements.$postsContainer.toggleClass(s.classes.hasItemRatio,!!n.match(/\d/)),this.elements.$posts.each(function(){var i=e(this),o=i.find(s.selectors.postThumbnailImage);t.fitImage(i),o.on("load",function(){t.fitImage(i)})})},setColsCountSettings(){const e=this.getElementSettings(),t=this.getSkinPrefix(),n=elementorProFrontend.utils.controls.getResponsiveControlValue(e,`${t}columns`);this.setSettings("colsCount",n)},isMasonryEnabled(){return!!this.getElementSettings(this.getSkinPrefix()+"masonry")},initMasonry(){imagesLoaded(this.elements.$posts,this.runMasonry)},getVerticalSpaceBetween(){let e=elementorProFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),`${this.getSkinPrefix()}row_gap`,"size");return this.getSkinPrefix()===""&&e===""&&(e=this.getElementSettings("item_gap.size")),e},runMasonry(){var e=this.elements;e.$posts.css({marginTop:"",transitionDuration:""}),this.setColsCountSettings();var t=this.getSettings("colsCount"),n=this.isMasonryEnabled()&&t>=2;if(e.$postsContainer.toggleClass("elementor-posts-masonry",n),!n){e.$postsContainer.height("");return}const s=this.getVerticalSpaceBetween();new elementorModules.utils.Masonry({container:e.$postsContainer,items:e.$posts.filter(":visible"),columnsCount:this.getSettings("colsCount"),verticalSpaceBetween:s||0}).run()},run(){setTimeout(this.fitImages,0),this.initMasonry()},onInit(){elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),this.bindEvents(),this.run()},onWindowResize(){this.fitImages(),this.runMasonry()},onElementChange(){this.fitImages(),setTimeout(this.runMasonry)}})})),xa=b({default:()=>$n}),$n,ri=g((()=>{Ee(),$n=N.extend({getSkinPrefix(){return"cards_"}})})),Da=b({default:()=>ai}),ai,La=g((()=>{Ee(),ai=N.extend({isActive(e){return e.$element.find(".elementor-portfolio").length},getSkinPrefix(){return""},getDefaultSettings(){var e=N.prototype.getDefaultSettings.apply(this,arguments);return e.transitionDuration=450,jQuery.extend(e.classes,{active:"elementor-active",item:"elementor-portfolio-item",ghostItem:"elementor-portfolio-ghost-item"}),e},getDefaultElements(){var e=N.prototype.getDefaultElements.apply(this,arguments);return e.$filterButtons=this.$element.find(".elementor-portfolio__filter"),e},getOffset(e,t,n){var s=this.getSettings(),i=this.elements.$postsContainer.width()/s.colsCount-t;return i+=i/(s.colsCount-1),{start:(t+i)*(e%s.colsCount),top:(n+i)*Math.floor(e/s.colsCount)}},getClosureMethodsNames(){return N.prototype.getClosureMethodsNames.apply(this,arguments).concat(["onFilterButtonClick"])},filterItems(e){var t=this.elements.$posts,n=this.getSettings("classes.active"),s=".elementor-filter-"+e;if(e==="__all"){t.addClass(n);return}t.not(s).removeClass(n),t.filter(s).addClass(n)},removeExtraGhostItems(){var e=this.getSettings(),t=this.elements.$posts.filter(":visible"),n=(e.colsCount-t.length%e.colsCount)%e.colsCount;this.elements.$postsContainer.find("."+e.classes.ghostItem).slice(n).remove()},handleEmptyColumns(){this.removeExtraGhostItems();for(var e=this.getSettings(),t=this.elements.$posts.filter(":visible"),n=this.elements.$postsContainer.find("."+e.classes.ghostItem),s=(e.colsCount-(t.length+n.length)%e.colsCount)%e.colsCount,i=0;i<s;i++)this.elements.$postsContainer.append(jQuery("<div>",{class:e.classes.item+" "+e.classes.ghostItem}))},showItems(e){e.show(),setTimeout(function(){e.css({opacity:1})})},hideItems(e){e.hide()},arrangeGrid(){var e=jQuery,t=this,n=t.getSettings(),s=t.elements.$posts.filter("."+n.classes.active),i=t.elements.$posts.not("."+n.classes.active),o=s.filter(":hidden"),a=i.filter(":visible");if(t.elements.$posts.css("transition-duration",n.transitionDuration+"ms"),t.showItems(o),t.isEdit&&t.fitImages(),t.handleEmptyColumns(),t.isMasonryEnabled()){t.hideItems(a),t.showItems(o),t.handleEmptyColumns(),t.runMasonry();return}a.css({opacity:0,transform:"scale3d(0.2, 0.2, 1)"});const l=t.elements.$posts.filter(":visible"),d=s.add(l),h=s.filter(":visible"),_=l.outerWidth(),C=l.outerHeight();h.each(function(){var w=e(this),B=t.getOffset(d.index(w),_,C),D=t.getOffset(l.index(w),_,C);B.start===D.start&&B.top===D.top||(D.start-=B.start,D.top-=B.top,elementorFrontend.config.is_rtl&&(D.start*=-1),w.css({transitionDuration:"",transform:"translate3d("+D.start+"px, "+D.top+"px, 0)"}))}),setTimeout(function(){s.each(function(){var w=e(this),B=t.getOffset(d.index(w),_,C),D=t.getOffset(s.index(w),_,C);w.css({transitionDuration:n.transitionDuration+"ms"}),D.start-=B.start,D.top-=B.top,elementorFrontend.config.is_rtl&&(D.start*=-1),setTimeout(function(){w.css("transform","translate3d("+D.start+"px, "+D.top+"px, 0)")})})}),setTimeout(function(){t.hideItems(a),s.css({transitionDuration:"",transform:"translate3d(0px, 0px, 0px)"}),t.handleEmptyColumns()},n.transitionDuration)},activeFilterButton(e){var t=this.getSettings("classes.active"),n=this.elements.$filterButtons,s=n.filter('[data-filter="'+e+'"]');n.removeClass(t),s.addClass(t)},setFilter(e){this.activeFilterButton(e),this.filterItems(e),this.arrangeGrid()},refreshGrid(){this.setColsCountSettings(),this.arrangeGrid()},bindEvents(){N.prototype.bindEvents.apply(this,arguments),this.elements.$filterButtons.on("click",this.onFilterButtonClick)},isMasonryEnabled(){return!!this.getElementSettings("masonry")},run(){N.prototype.run.apply(this,arguments),this.setColsCountSettings(),this.setFilter("__all"),this.handleEmptyColumns()},onFilterButtonClick(e){this.setFilter(jQuery(e.currentTarget).data("filter"))},onWindowResize(){N.prototype.onWindowResize.apply(this,arguments),this.refreshGrid()},onElementChange(e){N.prototype.onElementChange.apply(this,arguments),e==="classic_item_ratio"&&this.refreshGrid()}})})),Ma=(at=class extends elementorModules.Module{constructor(){super(),["classic","full_content","cards"].forEach(t=>{elementorFrontend.elementsHandler.attachHandler("posts",()=>v(()=>Promise.resolve().then(()=>(Tn(),ka)),void 0),t)}),elementorFrontend.elementsHandler.attachHandler("posts",()=>v(()=>Promise.resolve().then(()=>(Ee(),oi)),void 0),"classic"),elementorFrontend.elementsHandler.attachHandler("posts",()=>v(()=>Promise.resolve().then(()=>(Ee(),oi)),void 0),"full_content"),elementorFrontend.elementsHandler.attachHandler("posts",()=>v(()=>Promise.resolve().then(()=>(ri(),xa)),void 0),"cards"),elementorFrontend.elementsHandler.attachHandler("portfolio",()=>v(()=>Promise.resolve().then(()=>(La(),Da)),void 0))}},f(at,"default"),at);function Pa(e){const t=new URL(e),n=t.hostname,s=new URLSearchParams(t.search);return["u"].forEach(i=>
335{const o=s.get(i);if(o)try{new URL(o).hostname!==n&&s.delete(i)}catch(a){s.delete(i)}}),t.search=s.toString(),t.toString()}var Oa=g((()=>{})),Ba=b({default:()=>li}),li,Ha=g((()=>{Oa(),he(),li=elementorModules.frontend.handlers.Base.extend({onInit(){var e=arguments,t=this;return ee(function*(){if(!t.isActive())return;elementorModules.frontend.handlers.Base.prototype.onInit.apply(t,e);const n=t.getElementSettings(),s=t.getSettings("classes"),i=n.share_url&&n.share_url.url,o={classPrefix:s.shareLinkPrefix};i?o.url=n.share_url.url:(o.url=Pa(location.href),o.title=elementorFrontend.config.post.title,o.text=elementorFrontend.config.post.excerpt,o.image=elementorFrontend.config.post.featuredImage),!window.ShareLink&&elementorFrontend.utils.assetsLoader&&(yield elementorFrontend.utils.assetsLoader.load("script","share-link")),t.elements.$shareButton.shareLink&&t.elements.$shareButton.shareLink(o)})()},getDefaultSettings(){return{selectors:{shareButton:".elementor-share-btn"},classes:{shareLinkPrefix:"elementor-share-btn_"}}},getDefaultElements(){var e=this.getSettings("selectors");return{$shareButton:this.$element.find(e.shareButton)}},isActive(){return!elementorFrontend.isEditMode()}})})),Ra=(lt=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("share-buttons",()=>v(()=>Promise.resolve().then(()=>(Ha(),Ba)),void 0))}},f(lt,"default"),lt),Wa=b({default:()=>ci}),ci,Na=g((()=>{he(),ci=class extends elementorModules.frontend.handlers.SwiperBase{getDefaultSettings(){return{selectors:{slider:".elementor-slides-wrapper",slide:".swiper-slide",slideInnerContents:".swiper-slide-contents",activeSlide:".swiper-slide-active",activeDuplicate:".swiper-slide-duplicate-active"},classes:{animated:"animated",kenBurnsActive:"elementor-ken-burns--active",slideBackground:"swiper-slide-bg"},attributes:{dataSliderOptions:"slider_options",dataAnimation:"animation"}}}getDefaultElements(){const e=this.getSettings("selectors"),t={$swiperContainer:this.$element.find(e.slider)};return t.$slides=t.$swiperContainer.find(e.slide),t}getSwiperOptions(){const e=this.getElementSettings(),t={autoplay:this.getAutoplayConfig(),grabCursor:!0,initialSlide:this.getInitialSlide(),slidesPerView:1,slidesPerGroup:1,loop:e.infinite==="yes",speed:e.transition_speed,effect:e.transition,observeParents:!0,observer:!0,handleElementorBreakpoints:!0,on:{slideChange:()=>{this.handleKenBurns()}}},n=e.navigation==="arrows"||e.navigation==="both",s=e.navigation==="dots"||e.navigation==="both";return n&&(t.navigation={prevEl:".elementor-swiper-button-prev",nextEl:".elementor-swiper-button-next"}),s&&(t.pagination={el:".swiper-pagination",type:"bullets",clickable:!0}),t.loop===!0&&(t.loopedSlides=this.getSlidesCount()),t.effect==="fade"&&(t.fadeEffect={crossFade:!0}),t}getAutoplayConfig(){const e=this.getElementSettings();return e.autoplay!=="yes"?!1:{stopOnLastSlide:!0,delay:e.autoplay_speed,disableOnInteraction:e.pause_on_interaction==="yes"}}initSingleSlideAnimations(){const e=this.getSettings(),t=this.elements.$swiperContainer.data(e.attributes.dataAnimation);this.elements.$swiperContainer.find("."+e.classes.slideBackground).addClass(e.classes.kenBurnsActive),t&&this.elements.$swiperContainer.find(e.selectors.slideInnerContents).addClass(e.classes.animated+" "+t)}initSlider(){var e=this;return ee(function*(){const t=e.elements.$swiperContainer;if(!t.length||1>=e.getSlidesCount())return;const n=elementorFrontend.utils.swiper;e.swiper=yield new n(t,e.getSwiperOptions()),t.data("swiper",e.swiper),e.handleKenBurns(),e.getElementSettings().pause_on_hover&&e.togglePauseOnHover(!0);const s=e.getSettings(),i=t.data(s.attributes.dataAnimation);i&&(e.swiper.on("slideChangeTransitionStart",function(){t.find(s.selectors.slideInnerContents).removeClass(s.classes.animated+" "+i).hide()}),e.swiper.on("slideChangeTransitionEnd",function(){t.find(s.selectors.slideInnerContents).show().addClass(s.classes.animated+" "+i)}))})()}onInit(){if(elementorModules.frontend.handlers.Base.prototype.onInit.apply(this,arguments),2>this.getSlidesCount()){this.initSingleSlideAnimations();return}this.initSlider()}getChangeableProperties(){return{pause_on_hover:"pauseOnHover",pause_on_interaction:"disableOnInteraction",autoplay_speed:"delay",transition_speed:"speed"}}updateSwiperOption(e){if(e.indexOf("width")===0){this.swiper.update(
335);return}const t=this.getElementSettings(),n=t[e];let s=this.getChangeableProperties()[e],i=n;switch(e){case"autoplay_speed":s="autoplay",i={delay:n,disableOnInteraction:t.pause_on_interaction==="yes"};break;case"pause_on_hover":this.togglePauseOnHover(n==="yes");break;case"pause_on_interaction":i=n==="yes";break}e!=="pause_on_hover"&&(this.swiper.params[s]=i),this.swiper.update()}onElementChange(e){if(1>=this.getSlidesCount())return;const t=this.getChangeableProperties();Object.prototype.hasOwnProperty.call(t,e)&&(this.updateSwiperOption(e),this.swiper.autoplay.start())}onEditSettingsChange(e){1>=this.getSlidesCount()||e==="activeItemIndex"&&(this.swiper.slideToLoop(this.getEditSettings("activeItemIndex")-1),this.swiper.autoplay.stop())}}})),za=(ct=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("slides",()=>v(()=>Promise.resolve().then(()=>(Na(),Wa)),void 0))}},f(ct,"default"),ct),qt=b({default:()=>di}),di,Vt=g((()=>{di=class extends elementorModules.frontend.handlers.Base{getConfig(){return elementorProFrontend.config.facebook_sdk}setConfig(e,t){elementorProFrontend.config.facebook_sdk[e]=t}parse(){FB.XFBML.parse(this.$element[0])}loadSDK(){const e=this.getConfig();e.isLoading||e.isLoaded||(this.setConfig("isLoading",!0),jQuery.ajax({url:"https://connect.facebook.net/"+e.lang+"/sdk.js",dataType:"script",cache:!0,success:()=>{FB.init({appId:e.app_id,version:"v2.10",xfbml:!1}),this.setConfig("isLoaded",!0),this.setConfig("isLoading",!1),elementorFrontend.elements.$document.trigger("fb:sdk:loaded")}}))}onInit(...e){super.onInit(...e),this.loadSDK(),this.getConfig().isLoaded?this.parse():elementorFrontend.elements.$document.on("fb:sdk:loaded",()=>this.parse())}}})),ja=(dt=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("facebook-button",()=>v(()=>Promise.resolve().then(()=>(Vt(),qt)),void 0)),elementorFrontend.elementsHandler.attachHandler("facebook-comments",()=>v(()=>Promise.resolve().then(()=>(Vt(),qt)),void 0)),elementorFrontend.elementsHandler.attachHandler("facebook-embed",()=>v(()=>Promise.resolve().then(()=>(Vt(),qt)),void 0)),elementorFrontend.elementsHandler.attachHandler("facebook-page",()=>v(()=>Promise.resolve().then(()=>(Vt(),qt)),void 0))}},f(dt,"default"),dt);function ui(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,s=Array(t);n<t;n++)s[n]=e[n];return s}function qa(e){if(Array.isArray(e))return e}function Va(e,t){var n=e==null?null:typeof Symbol!="undefined"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var s,i,o,a,l=[],d=!0,h=!1;try{if(o=(n=n.call(e)).next,t!==0)for(;!(d=(s=o.call(n)).done)&&(l.push(s.value),l.length!==t);d=!0);}catch(_){h=!0,i=_}finally{try{if(!d&&n.return!=null&&(a=n.return(),Object(a)!==a))return}finally{if(h)throw i}}return l}}function Ua(){throw new TypeError(`Invalid attempt to destructure non-iterable instance. 336In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ga(e,t){return qa(e)||Va(e,t)||Qa(e,t)||Ua()}function Qa(e,t){if(e){if(typeof e=="string")return ui(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ui(e,t):void 0}}function x(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];return Ut(e,t,s)}}function Ka(e){return function(){for(var t=arguments.length,n=new Array(t),s=0;s<t;s++)n[s]=arguments[s];return Gt(e,n)}}function y(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:$e;if(Fn&&Fn(e,null),!ne(t))return e;let s=t.length;for(;s--;){let i=t[s];if(typeof i=="string"){const o=n(i);o!==i&&(hi(t)||(t[s]=o),i=o)}e[i]=!0}return e}function Ya(e){for(let t=0;t<e.length;t++)L(e,t)||(e[t]=null);return e}function R(e){const t=pe(null);for(const s of An(e)){var n=Ga(s,2);const i=n[0],o=n[1];L(e,i)&&(ne(o)?t[i]=Ya(o):o&&typeof o=="object"&&o.constructor===Object?t[i]=R(o):t[i]=o)}return t}function Xa(e){switch(typeof e){case"string":return e;case"number":return bi(e);case"boolean":return Si(e);case"bigint":return Ln?Ln(e):"0";case"symbol":return Mn?Mn(e):"Symbol()";case"undefined":return Fe(e);case"function":case"object":{if(e===null)return Fe(e);const t=e,n=Y(t,"toString");if(typeof n=="function"){const s=n(t);return typeof s=="string"?s:Fe(s)}return Fe(e)}default:return Fe(e)}}function Y(e,t){for(;e!==null;){const s=pi(e,t);if(s){if(s.get)return x(s.get);if(typeof s.value=="function")return x(s.value)}e=gi(e)}function n(){return null}return n}function Ja(e){try{return O(e,""),!0}catch(t){return!1}}function mi(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Pi();const t=m=>mi(m);if(t.version="3.4.11",t.removed=[],!e||!e.document||e.document.nodeType!==U.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const s=n,i=s.currentScript;e.DocumentFragment;const o=e.HTMLTemplateElement,a=e.Node,l=e.Element,d=e.NodeFilter;e.NamedNodeMap===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const h=e.DOMParser,_=e.trustedTypes,C=l.prototype,w=Y(C,"cloneNode"),B=Y(C,"remove"),D=Y(C,"nextSibling"),G=Y(C,"childNodes"),X=Y(C,"parentNode"),ie=Y(C,"shadowRoot"),be=Y(C,"attributes"),H=a&&a.prototype?Y(a.prototype,"nodeType"):null,Q=a&&a.prototype?Y(a.prototype,"nodeName"):null;if(typeof o=="function"){const m=n.createElement("template");m.content&&m.content.ownerDocument&&(n=m.content.ownerDocument)}let z,Se="",ts,Ho=!1,Ht=0;const Ro=function(){if(Ht>0)throw le('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},yt=function(r){Ro(),Ht++;try{return z.createHTML(r)}finally{Ht--}},Ac=function(r){Ro(),Ht++;try{return z.createScriptURL(r)}finally{Ht--}},Fc=function(){return Ho||(ts=Oi(_,i),Ho=!0),ts},sn=n,ns=sn.implementation,Wo=sn.createNodeIterator,Ic=sn.createDocumentFragment,kc=sn.getElementsByTagName,xc=s.importNode;let k=Nn();t.isSupported=typeof An=="function"&&typeof X=="function"&&ns&&ns.createHTMLDocument!==void 0;const Dc=Ci,Lc=Ei,Mc=Ti,Pc=$i,Oc=Ai,Bc=Fi,No=Ii,Hc=xi;let zo=Rn,$=null;const jo=y({}
vendor: 6,513 bytes, line 336
336,[...Pn,...Kt,...Yt,...Xt,...On]);let A=null;const qo=y({},[...Bn,...Jt,...Hn,...xt]);let F=Object.seal(pe(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),Rt=null,Vo=null;const de=Object.seal(pe(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Uo=!0,ss=!0,Go=!1,Qo=!0,ue=!1,Wt=!0,ye=!1,is=!1,os=null,rs=null,as=!1,wt=!1,on=!1,rn=!1,Ko=!0,Yo=!1;const Xo="user-content-";let ls=!0,cs=!1,Ct={},J=null;const ds=y({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let Jo=null;const Zo=y({},["audio","video","img","source","image","track"]);let us=null;const er=y({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),an="http://www.w3.org/1998/Math/MathML",ln="http://www.w3.org/2000/svg",Z="http://www.w3.org/1999/xhtml";let Et=Z,ms=!1,hs=null;const Rc=y({},[an,ln,Z],Qt),tr=M(["mi","mo","mn","ms","mtext"]);let gs=y({},tr);const nr=M(["annotation-xml"]);let ps=y({},nr);const Wc=y({},["title","style","font","a","script"]);let Nt=null;const Nc=["application/xhtml+xml","text/html"],zc="text/html";let I=null,Tt=null;const jc=n.createElement("form"),sr=function(r){return r instanceof RegExp||r instanceof Function},fs=function(){let r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Tt&&Tt===r)return;(!r||typeof r!="object")&&(r={}),r=R(r),Nt=Nc.indexOf(r.PARSER_MEDIA_TYPE)===-1?zc:r.PARSER_MEDIA_TYPE,I=Nt==="application/xhtml+xml"?Qt:$e,$=se(r,"ALLOWED_TAGS",jo,{transform:I}),A=se(r,"ALLOWED_ATTR",qo,{transform:I}),hs=se(r,"ALLOWED_NAMESPACES",Rc,{transform:Qt}),us=se(r,"ADD_URI_SAFE_ATTR",er,{transform:I,base:er}),Jo=se(r,"ADD_DATA_URI_TAGS",Zo,{transform:I,base:Zo}),J=se(r,"FORBID_CONTENTS",ds,{transform:I}),Rt=se(r,"FORBID_TAGS",R({}),{transform:I}),Vo=se(r,"FORBID_ATTR",R({}),{transform:I}),Ct=L(r,"USE_PROFILES")?r.USE_PROFILES&&typeof r.USE_PROFILES=="object"?R(r.USE_PROFILES):r.USE_PROFILES:!1,Uo=r.ALLOW_ARIA_ATTR!==!1,ss=r.ALLOW_DATA_ATTR!==!1,Go=r.ALLOW_UNKNOWN_PROTOCOLS||!1,Qo=r.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ue=r.SAFE_FOR_TEMPLATES||!1,Wt=r.SAFE_FOR_XML!==!1,ye=r.WHOLE_DOCUMENT||!1,wt=r.RETURN_DOM||!1,on=r.RETURN_DOM_FRAGMENT||!1,rn=r.RETURN_TRUSTED_TYPE||!1,as=r.FORCE_BODY||!1,Ko=r.SANITIZE_DOM!==!1,Yo=r.SANITIZE_NAMED_PROPS||!1,ls=r.KEEP_CONTENT!==!1,cs=r.IN_PLACE||!1,zo=Ja(r.ALLOWED_URI_REGEXP)?r.ALLOWED_URI_REGEXP:Rn,Et=typeof r.NAMESPACE=="string"?r.NAMESPACE:Z,gs=L(r,"MATHML_TEXT_INTEGRATION_POINTS")&&r.MATHML_TEXT_INTEGRATION_POINTS&&typeof r.MATHML_TEXT_INTEGRATION_POINTS=="object"?R(r.MATHML_TEXT_INTEGRATION_POINTS):y({},tr),ps=L(r,"HTML_INTEGRATION_POINTS")&&r.HTML_INTEGRATION_POINTS&&typeof r.HTML_INTEGRATION_POINTS=="object"?R(r.HTML_INTEGRATION_POINTS):y({},nr);const c=L(r,"CUSTOM_ELEMENT_HANDLING")&&r.CUSTOM_ELEMENT_HANDLING&&typeof r.CUSTOM_ELEMENT_HANDLING=="object"?R(r.CUSTOM_ELEMENT_HANDLING):pe(null);if(F=pe(null),L(c,"tagNameCheck")&&sr(c.tagNameCheck)&&(F.tagNameCheck=c.tagNameCheck),L(c,"attributeNameCheck")&&sr(c.attributeNameCheck)&&(F.attributeNameCheck=c.attributeNameCheck),L(c,"allowCustomizedBuiltInElements")&&typeof c.allowCustomizedBuiltInElements=="boolean"&&(F.allowCustomizedBuiltInElements=c.allowCustomizedBuiltInElements),P(F),ue&&(ss=!1),on&&(wt=!0),Ct&&($=y({},On),A=pe(null),Ct.html===!0&&(y($,Pn),y(A,Bn)),Ct.svg===!0&&(y($,Kt),y(A,Jt),y(A,xt)),Ct.svgFilters===!0&&(y($,Yt),y(A,Jt),y(A,xt)),Ct.mathMl===!0&&(y($,Xt),y(A,Hn),y(A,xt))),de.tagCheck=null,de.attributeCheck=null,L(r,"ADD_TAGS")&&(typeof r.ADD_TAGS=="function"?de.tagCheck=r.ADD_TAGS:ne(r.ADD_TAGS)&&($===jo&&($=R($)),y($,r.ADD_TAGS,I))),L(r,"ADD_ATTR")&&(typeof r.ADD_ATTR=="function"?de.attributeCheck=r.ADD_ATTR:ne(r.ADD_ATTR)&&(A===qo&&(A=R(A)),y(A,r.ADD_ATTR,I))),L(r,"ADD_URI_SAFE_ATTR")&&ne(r.ADD_URI_SAFE_ATTR)&&y(us,r.ADD_URI_SAFE_ATTR,I),L(r,"FORBID_CONTENTS")&&ne(r.FORBID_CONTENTS)&&(J===ds&&(J=R(J)),y(J,r.FORBID_CONTENTS,I)),L(r,"ADD_FORBID_CONTENTS")&&ne(r.ADD_FORBID_CONTENTS)&&(J===ds&&(J=R(J)),y(J,r.ADD_FORBID_CONTENTS,I)),ls&&($["#text"]=!0),ye&&y($,["html","head","body"]),$.table&&(y($,["tbody"]),delete Rt.tbody),r.TRUSTED_TYPES_POLICY){if(typeof r.TRUSTED_TYPES_POLICY.createHTML!="function")throw le('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof r.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw le('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const u=z;z=r.TRUSTED_TYPES_POLICY;try{Se=yt("")}catch(p){throw z=u,p}}else r.TRUSTED_TYPES_POLICY===null?(z=void 0,Se=""):(z===void 0&&(z=Fc()),z&&typeof Se=="string"&&(Se=yt("")));M&&M(r),Tt=r},ir=y({},[...Kt,...Yt,...yi]),or=y({},[...Xt,...wi]),qc=function(r,c,u){return c.namespaceURI===Z?r==="svg":c.namespaceURI===an?r==="svg"&&(u==="annotation-xml"||gs[u]):!!ir[r]},Vc=function(r,c,u){return c.namespaceURI===Z?r==="math":c.namespaceURI===ln?r==="math"&&ps[u]:!!or[r]},Uc=function(r,c,u){return c.namespaceURI===ln&&!ps[u]||c.namespaceURI===an&&!gs[u]?!1:!or[r]&&(Wc[r]||!ir[r])},Gc=function(r){let c=X(r);(!c||!c.tagName)&&(c={namespaceURI:Et,tagName:"template"});const u=$e(r.tagName),p=$e(c.tagName);return hs[r.namespaceURI]?r.namespaceURI===ln?qc(u,c,p):r.namespaceURI===an?Vc(u,c,p):r.namespaceURI===Z?Uc(u,c,p):!!(Nt==="application/xhtml+xml"&&hs[r.namespaceURI]):!1},me=function(r){fe(t.removed,{element:r});try{X(r).removeChild(r)}catch(c){if(B(r),!X(r))throw le("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},rr=function(r){const c=G(r);if(c){const p=[];Te(c,S=>{fe(p,S)}),Te(p,S=>{try{B(S)}catch(E){}})}const u=be(r);if(u)for(let p=u.length-1;p>=0;--p){const S=u[p],E=S&&S.name;if(typeof E=="string")try{r.removeAttribute(E)}catch(T){}}},we=function(r,c){try{fe(t.removed,{attribute:c.getAttributeNode(r),from:c})}catch(u){fe(t.removed,{attribute:null,from:c})}if(c.removeAttribute(r),r==="is")if(wt||on)try{me(c)}catch(u){}else try{c.setAttribute(r,"")}catch(u){}},Qc=function(r){const c=be(r);if(c)for(let u=c.length-1;u>=0;--u){const p=c[u],S=p&&p.name;
vendor: 5,694 bytes, line 336
336if(!(typeof S!="string"||A[I(S)]))try{r.removeAttribute(S)}catch(E){}}},Kc=function(r){const c=[r];for(;c.length>0;){const u=c.pop();(H?H(u):u.nodeType)===U.element&&Qc(u);const p=G(u);if(p)for(let S=p.length-1;S>=0;--S)c.push(p[S])}},ar=function(r){let c=null,u=null;if(as)r="<remove></remove>"+r;else{const E=xn(r,/^[\r\n\t ]+/);u=E&&E[0]}Nt==="application/xhtml+xml"&&Et===Z&&(r='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+r+"</body></html>");const p=z?yt(r):r;if(Et===Z)try{c=new h().parseFromString(p,Nt)}catch(E){}if(!c||!c.documentElement){c=ns.createDocument(Et,"template",null);try{c.documentElement.innerHTML=ms?Se:p}catch(E){}}const S=c.body||c.documentElement;return r&&u&&S.insertBefore(n.createTextNode(u),S.childNodes[0]||null),Et===Z?kc.call(c,ye?"html":"body")[0]:ye?c.documentElement:S},lr=function(r){return Wo.call(r.ownerDocument||r,r,d.SHOW_ELEMENT|d.SHOW_COMMENT|d.SHOW_TEXT|d.SHOW_PROCESSING_INSTRUCTION|d.SHOW_CDATA_SECTION,null)},cn=function(r){return r=Ae(r,Dc," "),r=Ae(r,Lc," "),r=Ae(r,Mc," "),r},vs=function(r){var c;r.normalize();const u=Wo.call(r.ownerDocument||r,r,d.SHOW_TEXT|d.SHOW_COMMENT|d.SHOW_CDATA_SECTION|d.SHOW_PROCESSING_INSTRUCTION,null);let p=u.nextNode();for(;p;)p.data=cn(p.data),p=u.nextNode();const S=(c=r.querySelectorAll)===null||c===void 0?void 0:c.call(r,"template");S&&Te(S,E=>{$t(E.content)&&vs(E.content)})},dn=function(r){const c=Q?Q(r):null;return typeof c!="string"||I(c)!=="form"?!1:typeof r.nodeName!="string"||typeof r.textContent!="string"||typeof r.removeChild!="function"||r.attributes!==be(r)||typeof r.removeAttribute!="function"||typeof r.setAttribute!="function"||typeof r.namespaceURI!="string"||typeof r.insertBefore!="function"||typeof r.hasChildNodes!="function"||r.nodeType!==H(r)||r.childNodes!==G(r)},$t=function(r){if(!H||typeof r!="object"||r===null)return!1;try{return H(r)===U.documentFragment}catch(c){return!1}},zt=function(r){if(!H||typeof r!="object"||r===null)return!1;try{return typeof H(r)=="number"}catch(c){return!1}};function oe(m,r,c){m.length!==0&&Te(m,u=>{u.call(t,r,c,Tt)})}const Yc=function(r,c){return!!(Wt&&r.hasChildNodes()&&!zt(r.firstElementChild)&&O(Wn,r.textContent)&&O(Wn,r.innerHTML)||Wt&&r.namespaceURI===Z&&c==="style"&&zt(r.firstElementChild)||r.nodeType===U.processingInstruction||Wt&&r.nodeType===U.comment&&O(Di,r.data))},Xc=function(r,c){if(!Rt[c]&&ur(c)&&(F.tagNameCheck instanceof RegExp&&O(F.tagNameCheck,c)||F.tagNameCheck instanceof Function&&F.tagNameCheck(c)))return!1;if(ls&&!J[c]){const u=X(r),p=G(r);if(p&&u){const S=p.length;for(let E=S-1;E>=0;--E){const T=cs?p[E]:w(p[E],!0);u.insertBefore(T,D(r))}}}return me(r),!0},cr=function(r){if(oe(k.beforeSanitizeElements,r,null),dn(r))return me(r),!0;const c=I(Q?Q(r):r.nodeName);if(oe(k.uponSanitizeElement,r,{tagName:c,allowedTags:$}),Yc(r,c))return me(r),!0;if(Rt[c]||!(de.tagCheck instanceof Function&&de.tagCheck(c))&&!$[c])return Xc(r,c);if((H?H(r):r.nodeType)===U.element&&!Gc(r)||(c==="noscript"||c==="noembed"||c==="noframes")&&O(Li,r.innerHTML))return me(r),!0;if(ue&&r.nodeType===U.text){const u=cn(r.textContent);r.textContent!==u&&(fe(t.removed,{element:r.cloneNode()}),r.textContent=u)}return oe(k.afterSanitizeElements,r,null),!1},dr=function(r,c,u){if(Vo[c]||Ko&&(c==="id"||c==="name")&&(u in n||u in jc))return!1;const p=A[c]||de.attributeCheck instanceof Function&&de.attributeCheck(c,r);if(!(ss&&O(Pc,c))){if(!(Uo&&O(Oc,c))){if(p){if(!us[c]){if(!O(zo,Ae(u,No,""))){if(!((c==="src"||c==="xlink:href"||c==="href")&&r!=="script"&&Dn(u,"data:")===0&&Jo[r])){if(!(Go&&!O(Bc,Ae(u,No,"")))){if(u)return!1}}}}}else if(!(ur(r)&&(F.tagNameCheck instanceof RegExp&&O(F.tagNameCheck,r)||F.tagNameCheck instanceof Function&&F.tagNameCheck(r))&&(F.attributeNameCheck instanceof RegExp&&O(F.attributeNameCheck,c)||F.attributeNameCheck instanceof Function&&F.attributeNameCheck(c,r))||c==="is"&&F.allowCustomizedBuiltInElements&&(F.tagNameCheck instanceof RegExp&&O(F.tagNameCheck,u)||F.tagNameCheck instanceof Function&&F.tagNameCheck(u))))return!1}}return!0},Jc=y({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),ur=function(r){return!Jc[$e(r)]&&O(Hc,r)},Zc=function(r,c,u,p){if(z&&typeof _=="object"&&typeof _.getAttributeType=="function"&&!u)switch(_.getAttributeType(r,c)){case"TrustedHTML":return yt(p);case"TrustedScriptURL":return Ac(p)}return p},ed=function(r,c,u,p){try{u?r.setAttributeNS(u,c,p):r.setAttribute(c,p),dn(r)?me(r):kn(t.removed)}catch(S){we(c,r)}},mr=function(r){oe(k.beforeSanitizeAttributes,r,null);const c=r.attributes;if(!c||dn(r))return;const u={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:A,forceKeepAttr:void 0};let p=c.length;const S=I(r.nodeName);for(;p--;){const E=c[p],T=E.name,j=E.namespaceURI,re=E.value,K=I(T),bs=re;let W=T==="value"?bs:_i(bs);if(u.attrName=K,u.attrValue=W,u.keepAttr=!0,u.forceKeepAttr=void 0,oe(k.uponSanitizeAttribute,r,u),W=u.attrValue,Yo&&(K==="id"||K==="name")&&Dn(W,Xo)!==0&&(we(T,r),W=Xo+W),Wt&&O(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,W)){we(T,r);continue}if(K==="attributename"&&xn(W,"href")){we(T,r);continue}if(!u.forceKeepAttr){if(!u.keepAttr){we(T,r);continue}if(!Qo&&O(Mi,W)){we(T,r);continue}if(ue&&(W=cn(W)),!dr(S,K,W)){we(T,r);continue}W=Zc(S,K,j,W),W!==bs&&ed(r,T,j,W)}}oe(k.afterSanitizeAttributes,r,null)},un=function(r){let c=null;const u=lr(r);for(oe(k.beforeSanitizeShadowDOM,r,null);c=u.nextNode();)if(oe(k.uponSanitizeShadowNode,c,null),cr(c),mr(c),$t(c.content)&&un(c.content),(H?H(c):c.nodeType)===U.element){const p=ie(c);$t(p)&&(_s(p),un(p))}oe(k.afterSanitizeShadowDOM,r,null)}
vendor: 7,413 bytes, lines 336-337
336,_s=function(r){const c=[{node:r,shadow:null}];for(;c.length>0;){const u=c.pop();if(u.shadow){un(u.shadow);continue}const p=u.node,S=(H?H(p):p.nodeType)===U.element,E=G(p);if(E)for(let T=E.length-1;T>=0;--T)c.push({node:E[T],shadow:null});if(S){const T=Q?Q(p):null;if(typeof T=="string"&&I(T)==="template"){const j=p.content;$t(j)&&c.push({node:j,shadow:null})}}if(S){const T=ie(p);$t(T)&&c.push({node:null,shadow:T},{node:T,shadow:null})}}};return t.sanitize=function(m){let r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},c=null,u=null,p=null,S=null;if(ms=!m,ms&&(m="<!-->"),typeof m!="string"&&!zt(m)&&(m=Xa(m),typeof m!="string"))throw le("dirty is not a string, aborting");if(!t.isSupported)return m;is?($=os,A=rs):fs(r),(k.uponSanitizeElement.length>0||k.uponSanitizeAttribute.length>0)&&($=R($)),k.uponSanitizeAttribute.length>0&&(A=R(A)),t.removed=[];const E=cs&&typeof m!="string"&&zt(m);if(E){const re=Q?Q(m):m.nodeName;if(typeof re=="string"){const K=I(re);if(!$[K]||Rt[K])throw le("root node is forbidden and cannot be sanitized in-place")}if(dn(m))throw le("root node is clobbered and cannot be sanitized in-place");try{_s(m)}catch(K){throw rr(m),K}}else if(zt(m))c=ar("<!---->"),u=c.ownerDocument.importNode(m,!0),u.nodeType===U.element&&u.nodeName==="BODY"||u.nodeName==="HTML"?c=u:c.appendChild(u),_s(u);else{if(!wt&&!ue&&!ye&&m.indexOf("<")===-1)return z&&rn?yt(m):m;if(c=ar(m),!c)return wt?null:rn?Se:""}c&&as&&me(c.firstChild);const T=lr(E?m:c);try{for(;p=T.nextNode();)cr(p),mr(p),$t(p.content)&&un(p.content)}catch(re){throw E&&rr(m),re}if(E)return Te(t.removed,re=>{re.element&&Kc(re.element)}),ue&&vs(m),m;if(wt){if(ue&&vs(c),on)for(S=Ic.call(c.ownerDocument);c.firstChild;)S.appendChild(c.firstChild);else S=c;return(A.shadowroot||A.shadowrootmode)&&(S=xc.call(s,S,!0)),S}let j=ye?c.outerHTML:c.innerHTML;return ye&&$["!doctype"]&&c.ownerDocument&&c.ownerDocument.doctype&&c.ownerDocument.doctype.name&&O(ki,c.ownerDocument.doctype.name)&&(j="<!DOCTYPE "+c.ownerDocument.doctype.name+`> 337`+j),ue&&(j=cn(j)),z&&rn?yt(j):j},t.setConfig=function(){let m=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};fs(m),is=!0,os=$,rs=A},t.clearConfig=function(){Tt=null,is=!1,os=null,rs=null,z=ts,Se=""},t.isValidAttribute=function(m,r,c){Tt||fs({});const u=I(m),p=I(r);return dr(u,p,c)},t.addHook=function(m,r){typeof r=="function"&&L(k,m)&&fe(k[m],r)},t.removeHook=function(m,r){if(L(k,m)){if(r!==void 0){const c=fi(k[m],r);return c===-1?void 0:vi(k[m],c,1)[0]}return kn(k[m])}},t.removeHooks=function(m){L(k,m)&&(k[m]=[])},t.removeAllHooks=function(){k=Nn()},t}var An,Fn,hi,gi,pi,M,P,pe,In,Ut,Gt,Te,fi,kn,fe,vi,ne,$e,Qt,xn,Ae,Dn,_i,bi,Si,Ln,Mn,L,Fe,O,le,Pn,Kt,Yt,yi,Xt,wi,On,Bn,Jt,Hn,xt,Ci,Ei,Ti,$i,Ai,Rn,Fi,Ii,ki,xi,Wn,Di,Li,Mi,U,Pi,Oi,Nn,se,zn,Za=g((()=>{An=Object.entries,Fn=Object.setPrototypeOf,hi=Object.isFrozen,gi=Object.getPrototypeOf,pi=Object.getOwnPropertyDescriptor,M=Object.freeze,P=Object.seal,pe=Object.create,In=typeof Reflect!="undefined"&&Reflect,Ut=In.apply,Gt=In.construct,M||(M=function(t){return t}),P||(P=function(t){return t}),Ut||(Ut=function(t,n){for(var s=arguments.length,i=new Array(s>2?s-2:0),o=2;o<s;o++)i[o-2]=arguments[o];return t.apply(n,i)}),Gt||(Gt=function(t){for(var n=arguments.length,s=new Array(n>1?n-1:0),i=1;i<n;i++)s[i-1]=arguments[i];return new t(...s)}),Te=x(Array.prototype.forEach),fi=x(Array.prototype.lastIndexOf),kn=x(Array.prototype.pop),fe=x(Array.prototype.push),vi=x(Array.prototype.splice),ne=Array.isArray,$e=x(String.prototype.toLowerCase),Qt=x(String.prototype.toString),xn=x(String.prototype.match),Ae=x(String.prototype.replace),Dn=x(String.prototype.indexOf),_i=x(String.prototype.trim),bi=x(Number.prototype.toString),Si=x(Boolean.prototype.toString),Ln=typeof BigInt=="undefined"?null:x(BigInt.prototype.toString),Mn=typeof Symbol=="undefined"?null:x(Symbol.prototype.toString),L=x(Object.prototype.hasOwnProperty),Fe=x(Object.prototype.toString),O=x(RegExp.prototype.test),le=Ka(TypeError),Pn=M(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),Kt=M(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),Yt=M(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),yi=M(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),Xt=M(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),wi=M(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),On=M(["#text"]),Bn=M(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","
337spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Jt=M(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),Hn=M(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),xt=M(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Ci=P(/{{[\w\W]*|^[\w\W]*}}/g),Ei=P(/<%[\w\W]*|^[\w\W]*%>/g),Ti=P(/\${[\w\W]*/g),$i=P(/^data-[\-\w.\u00B7-\uFFFF]+$/),Ai=P(/^aria-[\-\w]+$/),Rn=P(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Fi=P(/^(?:\w+script|data):/i),Ii=P(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),ki=P(/^html$/i),xi=P(/^[a-z][.\w]*(-[.\w]+)+$/i),Wn=P(/<[/\w!]/g),Di=P(/<[/\w]/g),Li=P(/<\/no(script|embed|frames)/i),Mi=P(/\/>/i),U={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Pi=function(){return typeof window=="undefined"?null:window},Oi=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let s=null;
337const i="data-tt-policy-suffix";n&&n.hasAttribute(i)&&(s=n.getAttribute(i));const o="dompurify"+(s?"#"+s:"");try{return t.createPolicy(o,{createHTML(a){return a},createScriptURL(a){return a}})}catch(a){return console.warn("TrustedTypes policy "+o+" could not be created."),null}},Nn=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},se=function(t,n,s,i){return L(t,n)&&ne(t[n])?y(i.base?R(i.base):{},t[n],i.transform):s},zn=mi()})),el=b({default:()=>Bi}),Bi,tl=g((()=>{Za(),Bi=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{widgetContainer:".elementor-widget-container",postContentContainer:'.elementor:not([data-elementor-type="header"]):not([data-elementor-type="footer"]):not([data-elementor-type="popup"])',expandButton:".elementor-toc__toggle-button--expand",collapseButton:".elementor-toc__toggle-button--collapse",body:".elementor-toc__body",headerTitle:".elementor-toc__header-title"},classes:{anchor:"elementor-menu-anchor",listWrapper:"elementor-toc__list-wrapper",listItem:"elementor-toc__list-item",listTextWrapper:"elementor-toc__list-item-text-wrapper",firstLevelListItem:"elementor-toc__top-level",listItemText:"elementor-toc__list-item-text",activeItem:"elementor-item-active",headingAnchor:"elementor-toc__heading-anchor",collapsed:"elementor-toc--collapsed"},listWrapperTag:this.getElementSettings().marker_view==="numbers"?"ol":"ul"}}getDefaultElements(){const e=this.getSettings();let t=this.$element.find(e.selectors.widgetContainer);return t.length===0&&(t=this.$element),{$pageContainer:this.getContainer(),$widgetContainer:t,$expandButton:this.$element.find(e.selectors.expandButton),$collapseButton:this.$element.find(e.selectors.collapseButton),$tocBody:this.$element.find(e.selectors.body),$listItems:this.$element.find("."+e.classes.listItem)}}getContainer(){const e=this.getElementSettings();if(e.container)return jQuery(zn.sanitize(e.container));const t=this.$element.parents(".elementor");if(t.attr("data-elementor-type")==="popup")return t;const n=this.getSettings();return jQuery(n.selectors.postContentContainer)}bindEvents(){const e=this.getElementSettings();e.minimize_box&&(this.elements.$expandButton.on("click",()=>this.expandBox()).on("keyup",t=>this.triggerClickOnEnterSpace(t)),this.elements.$collapseButton.on("click",()=>this.collapseBox()).on("keyup",t=>this.triggerClickOnEnterSpace(t))),e.collapse_subitems&&this.elements.$listItems.on("hover",t=>jQuery(t.target).slideToggle())}getHeadings(){const e=this.getElementSettings(),t=e.headings_by_tags.join(","),n=this.getSettings("selectors"),s=e.exclude_headings_by_selector;return this.elements.$pageContainer.find(t).not(n.headerTitle).filter((i,o)=>!jQuery(o).closest(s).length)}addAnchorsBeforeHeadings(){const e=this.getSettings("classes");this.elements.$headings.before(t=>{if(!jQuery(this.elements.$headings[t]).data("hasOwnID"))return`<span id="${e.headingAnchor}-${t}" class="${e.anchor} "></span>`})}activateItems(e){const t=this.getSettings("classes");this.deactivateItems(e);const n=[];e.forEach(s=>{if(s.addClass(t.activeItem),!this.getElementSettings("collapse_subitems"))return;let i;s.hasClass(t.firstLevelListItem)?i=s.parent().next():i=s.parents("."+t.listWrapper).eq(-2),i.length&&!n.some(o=>o[0].contains(i[0]))&&n.push(i)}),this.deactivateLists(n),this.$activeItems=e,this.$activeLists=n,this.$activeLists.forEach(s=>s.stop().slideDown())}deactivateItems(e){if(!this.$activeItems||this.$activeItems.length===0)return;const{classes:t}=this.getSettings();this.$activeItems.forEach(n=>{e.some(s=>n.is(s))||n.removeClass(t.activeItem)})}deactivateLists(e){this.$activeLists&&this.$activeLists.forEach(t=>{e.some(n=>t[0].contains(n[0]))||t.slideUp()})}updateActiveItemFromViewport(e){const t=[];if(this.$listItemTexts.each((n,s)=>{const i=s.hash;if(!i)return;let o;try{o=jQuery(decodeURIComponent(i))}catch(l){return}const a=o.attr("id");
337this.viewportItems[a]&&t.push(jQuery(s))}),t.length>0)this.activateItems(t);else if(e==="up"){const n=this.$listItemTexts.index(this.$activeItems[0]);if(n===0){this.activateItems([]);return}const s=this.$listItemTexts.eq(n-1);s.length&&this.activateItems([s])}}followAnchor(e){const t=e[0].hash;let n;try{n=jQuery(decodeURIComponent(t))}catch(s){return}this.createObserver(n,{rootMargin:"0px",threshold:0}).observe(n[0])}createObserver(e,t){let n=0;return new IntersectionObserver(s=>{s.forEach(i=>{const o=document.documentElement.scrollTop,a=o>n,l=e.attr("id");i.isIntersecting?this.viewportItems[l]=!0:delete this.viewportItems[l],n=o<=0?0:o,!this.itemClicked&&this.updateActiveItemFromViewport(a?"down":"up")})},t)}followAnchors(){this.$listItemTexts.each((e,t)=>this.followAnchor(jQuery(t)))}populateTOC(){this.listItemPointer=0,this.getElementSettings().hierarchical_view?this.createNestedList():this.createFlatList(),this.$listItemTexts=this.$element.find(".elementor-toc__list-item-text"),this.$listItemTexts.on("click",this.onListItemClick.bind(this)),elementorFrontend.isEditMode()||(this.followAnchors(),requestAnimationFrame(()=>this.updateActiveItemFromViewport()))}createNestedList(){this.headingsData.forEach((e,t)=>{e.level=0;for(let n=t-1;n>=0;n--){const s=this.headingsData[n];if(s.tag<=e.tag){e.level=s.level,s.tag<e.tag&&e.level++;break}}}),this.elements.$tocBody.html(this.getNestedLevel(0))}createFlatList(){this.elements.$tocBody.html(this.getNestedLevel())}getNestedLevel(e){const t=this.getSettings(),n=this.getElementSettings(),s=this.getElementSettings("icon");let i;s&&(elementorFrontend.config.experimentalFeatures.e_font_icon_svg&&!elementorFrontend.isEditMode()?i=typeof s.rendered_tag!="undefined"?s.rendered_tag:"":i=s.value?`<i class="${s.value}"></i>`:"");let o=`<${t.listWrapperTag} class="${t.classes.listWrapper}">`;for(;this.listItemPointer<this.headingsData.length;){const a=this.headingsData[this.listItemPointer];let l=t.classes.listItemText;if(a.level===0&&(l+=" "+t.classes.firstLevelListItem),e>a.level)break;if(e===a.level){o+=`<li class="${t.classes.listItem}">`,o+=`<div class="${t.classes.listTextWrapper}">`;let d=`<a href="#${a.anchorLink}" class="${l}">${a.text}</a>`;n.marker_view==="bullets"&&s&&(d=`${i}${d}`),d=zn.sanitize(d),o+=d,o+="</div>",this.listItemPointer++;const h=this.headingsData[this.listItemPointer];h&&e<h.level&&(o+=this.getNestedLevel(h.level)),o+="</li>"}}return o+=`</${t.listWrapperTag}>`,o}handleNoHeadingsFound(){const e=this.getElementSettings("no_headings_message");return this.elements.$tocBody.html(e)}collapseBodyListener(){const e=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0}),t=this.getElementSettings("minimized_on"),n=elementorFrontend.getCurrentDeviceMode(),s=this.$element.hasClass(this.getSettings("classes.collapsed"));t==="desktop"||e.indexOf(t)>=e.indexOf(n)?s||this.collapseBox(!1):s&&this.expandBox(!1)}onElementChange(e){e==="minimized_on"&&this.collapseBodyListener()}getHeadingAnchorLink(e,t){var n;const s=this.elements.$headings[e].id,i=(n=this.elements.$headings[e].closest(".elementor-widget"))==null?void 0:n.id,o=s||i;return o?(jQuery(this.elements.$headings[e]).data("hasOwnID",!0),o):`${t.headingAnchor}-${e}`}setHeadingsData(){this.headingsData=[];const e=this.getSettings("classes");this.elements.$headings.each((t,n)=>{const s=this.getHeadingAnchorLink(t,e);this.headingsData.push({tag:+n.nodeName.slice(1),text:n.textContent,anchorLink:s})})}run(){if(this.elements.$headings=this.getHeadings(),!this.elements.$headings.length)return this.handleNoHeadingsFound();this.setHeadingsData(),elementorFrontend.isEditMode()||this.addAnchorsBeforeHeadings(),this.populateTOC(),this.getElementSettings("minimize_box")&&this.collapseBodyListener()}expandBox(e=!0){const t=this.getCurrentDeviceSetting("min_height");this.$element.removeClass(this.getSettings("classes.collapsed")),this.elements.$tocBody.slideDown(),this.elements.$expandButton.attr("aria-expanded","true"),this.elements.$collapseButton.attr("aria-expanded","true"),this.elements.$widgetContainer.css("min-height",t.size+t.unit),e&&this.elements.$collapseButton.trigger("focus")}
337collapseBox(e=!0){this.$element.addClass(this.getSettings("classes.collapsed")),this.elements.$tocBody.slideUp(),this.elements.$expandButton.attr("aria-expanded","false"),this.elements.$collapseButton.attr("aria-expanded","false"),this.elements.$widgetContainer.css("min-height","0px"),e&&this.elements.$expandButton.trigger("focus")}triggerClickOnEnterSpace(e){(e.keyCode===13||e.keyCode===32)&&(e.currentTarget.click(),e.stopPropagation())}onInit(...e){super.onInit(...e),this.viewportItems={},this.$activeItems=[],this.$activeLists=[],jQuery(()=>this.run())}onListItemClick(e){this.itemClicked=!0;const t=setTimeout(()=>{this.itemClicked=!1,this.updateActiveItemFromViewport()},2e3);window.addEventListener("scrollend",()=>{this.itemClicked=!1,clearTimeout(t),this.updateActiveItemFromViewport()},{once:!0});const n=jQuery(e.target),s=n.parent().next(),i=this.getElementSettings("collapse_subitems");let o;i&&n.hasClass(this.getSettings("classes.firstLevelListItem"))&&s.is(":visible")&&(o=!0),this.activateItems([n]),i&&o&&s.slideUp()}}})),nl=(ut=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("table-of-contents",()=>v(()=>Promise.resolve().then(()=>(tl(),el)),void 0))}},f(ut,"default"),ut),sl=b({default:()=>Hi}),Hi,il=g((()=>{Tn(),Hi=class extends jt{}})),Ri=b({default:()=>Wi}),Wi,Ni=g((()=>{Ee(),Wi=N.extend({getSkinPrefix(){return"archive_classic_"}})})),ol=b({default:()=>zi}),zi,rl=g((()=>{ri(),zi=$n.extend({getSkinPrefix(){return"archive_cards_"}})})),al=(mt=class extends elementorModules.Module{constructor(){super(),["archive_classic","archive_full_content","archive_cards"].forEach(t=>{elementorFrontend.elementsHandler.attachHandler("archive-posts",()=>v(()=>Promise.resolve().then(()=>(il(),sl)),void 0),t)}),elementorFrontend.elementsHandler.attachHandler("archive-posts",()=>v(()=>Promise.resolve().then(()=>(Ni(),Ri)),void 0),"archive_classic"),elementorFrontend.elementsHandler.attachHandler("archive-posts",()=>v(()=>Promise.resolve().then(()=>(Ni(),Ri)),void 0),"archive_full_content"),elementorFrontend.elementsHandler.attachHandler("archive-posts",()=>v(()=>Promise.resolve().then(()=>(rl(),ol)),void 0),"archive_cards"),jQuery(function(){var t=location.search.match(/theme_template_id=(\d*)/),n=t?jQuery(".elementor-"+t[1]):[];n.length&&jQuery("html, body").animate({scrollTop:n.offset().top-window.innerHeight/2})})}},f(mt,"default"),mt),ll=b({default:()=>ji}),ji,cl=g((()=>{ji=elementorModules.frontend.handlers.Base.extend({getDefaultSettings(){return{selectors:{wrapper:".elementor-search-form",container:".elementor-search-form__container",icon:".elementor-search-form__icon",input:".elementor-search-form__input",toggle:".elementor-search-form__toggle",submit:".elementor-search-form__submit",closeButton:".dialog-close-button"},classes:{isFocus:"elementor-search-form--focus",isFullScreen:"elementor-search-form--full-screen",lightbox:"elementor-lightbox"}}},getDefaultElements(){var e=this.getSettings("selectors"),t={};return t.$wrapper=this.$element.find(e.wrapper),t.$container=this.$element.find(e.container),t.$input=this.$element.find(e.input),t.$icon=this.$element.find(e.icon),t.$toggle=this.$element.find(e.toggle),t.$submit=this.$element.find(e.submit),t.$closeButton=this.$element.find(e.closeButton),t},bindEvents(){var e=this,t=e.elements.$container,n=e.elements.$closeButton,s=e.elements.$input,i=e.elements.$wrapper,o=e.elements.$icon,a=e.elements.$toggle,l=this.getElementSettings("skin"),d=this.getSettings("classes");const h=()=>{t.addClass(d.isFullScreen).addClass(d.lightbox),s.trigger("focus")},_=()=>{t.removeClass(d.isFullScreen).removeClass(d.lightbox),a.trigger("focus")},C=w=>{(w.keyCode===13||w.keyCode===32)&&(w.currentTarget.click(),w.stopPropagation())};l==="full_screen"?(a.on("click",()=>h()).on("keyup",w=>C(w)),t.on("click",function(w){t.hasClass(d.isFullScreen)&&t[0]===w.target&&t.removeClass(d.isFullScreen).removeClass(d.lightbox)}),n.on("click",()=>_()).on("keyup",w=>C(w)),elementorFrontend.elements.$document.on("keyup",function(w){w.keyCode===27&&t.hasClass(d.isFullScreen)&&t.trigger("click")}
337)):s.on({focus(){i.addClass(d.isFocus)},blur(){i.removeClass(d.isFocus)}}),l==="minimal"&&o.on("click",function(){i.addClass(d.isFocus),s.trigger("focus")})}})})),dl=(ht=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("search-form",()=>v(()=>Promise.resolve().then(()=>(cl(),ll)),void 0))}},f(ht,"default"),ht),ul=b({default:()=>qi}),qi,ml=g((()=>{var e;qi=(e=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{container:".elementor-menu-cart__container",main:".elementor-menu-cart__main",toggle:".elementor-menu-cart__toggle",toggleButton:"#elementor-menu-cart__toggle_button",toggleWrapper:".elementor-menu-cart__toggle_wrapper",closeButton:".elementor-menu-cart__close-button, .elementor-menu-cart__close-button-custom",productList:".elementor-menu-cart__products"},classes:{isShown:"elementor-menu-cart--shown"}}}getDefaultElements(){const n=this.getSettings("selectors");return{$container:this.$element.find(n.container),$main:this.$element.find(n.main),$toggleWrapper:this.$element.find(n.toggleWrapper),$closeButton:this.$element.find(n.closeButton)}}toggleCart(){this.isCartOpen?this.hideCart():this.showCart()}showCart(){if(this.isCartOpen)return;const n=this.getSettings("classes"),s=this.getSettings("selectors");this.isCartOpen=!0,this.$element.addClass(n.isShown),this.$element.find(s.toggleButton).attr("aria-expanded",!0),this.elements.$main.attr("aria-hidden",!1),this.elements.$container.attr("aria-hidden",!1)}hideCart(){if(!this.isCartOpen)return;const n=this.getSettings("classes"),s=this.getSettings("selectors");this.isCartOpen=!1,this.$element.removeClass(n.isShown),this.$element.find(s.toggleButton).attr("aria-expanded",!1),this.elements.$main.attr("aria-hidden",!0),this.elements.$container.attr("aria-hidden",!0)}automaticallyOpenCart(){this.getElementSettings().automatically_open_cart==="yes"&&this.showCart()}refreshFragments(n,s=null){if(elementorFrontend.isEditMode()&&elementorPro.modules.woocommerce.didManuallyTriggerAddToCartEvent(s))return!1;const i=[];jQuery.each(elementorFrontend.documentsManager.documents,o=>{i.push(o)}),jQuery.ajax({type:"POST",url:elementorProFrontend.config.ajaxurl,context:this,data:{action:"elementor_menu_cart_fragments",templates:i,_nonce:ElementorProFrontendConfig.woocommerce.menu_cart.fragments_nonce,is_editor:elementorFrontend.isEditMode()},success(o){o!=null&&o.fragments&&jQuery.each(o.fragments,(a,l)=>{jQuery(a).replaceWith(l)})},complete(){n==="added_to_cart"&&this.automaticallyOpenCart()}})}bindEvents(){const n=elementorProFrontend.config.woocommerce.menu_cart,s=n.cart_page_url.indexOf("?")===-1?window.location.origin+window.location.pathname:window.location.href,i=n.cart_page_url,o=n.cart_page_url===s,a=n.checkout_page_url===s,l=this.getSettings("selectors");if(o&&a){this.$element.find(l.toggleButton).attr("href",i);return}const d=this.getSettings("classes");this.isCartOpen=this.$element.hasClass(d.isShown),this.getElementSettings().open_cart==="mouseover"?(this.elements.$toggleWrapper.on("mouseover click",l.toggleButton,h=>{h.preventDefault(),this.showCart()}),this.elements.$toggleWrapper.on("mouseleave",()=>this.hideCart())):this.elements.$toggleWrapper.on("click",l.toggleButton,h=>{h.preventDefault(),this.toggleCart()}),elementorFrontend.elements.$document.on("click",h=>{if(!this.isCartOpen)return;const _=jQuery(h.target);_.closest(this.elements.$main).length||_.closest(l.toggle).length||this.hideCart()}),this.elements.$closeButton.on("click",h=>{h.preventDefault(),this.hideCart()}),elementorFrontend.elements.$document.on("keyup",h=>{h.keyCode===27&&this.hideCart()}),elementorFrontend.elements.$body.on("wc_fragments_refreshed removed_from_cart added_to_cart",(h,_)=>this.refreshFragments(h.type,_)),elementorFrontend.addListenerOnce(this.getUniqueHandlerID()+"_window_resize_dropdown","resize",()=>this.governDropdownHeight()),elementorFrontend.elements.$body.on("wc_fragments_loaded wc_fragments_refreshed",()=>this.governDropdownHeight())}unbindEvents(){elementorFrontend.removeListeners(this.getUniqueHandlerID()+"_window_resize_dropdown","resize")}onInit(){super.onInit(),elementorProFrontend.config.woocommerce.productAddedToCart&&this.automaticallyOpenCart(),this.governDropdownHeight()}governDropdownHeight(){if(this.getElementSettings().cart_type!=="mini-cart")return;const n=this.getSettings("selectors"),s=this.$element.find(n.productList),i=this.$element.find(n.toggle);if(!s.length||!i.length)return;this.$element.find(n.productList).css("max-height","");const o=document.documentElement.clientHeight,a=i.height()+parseInt(this.elements.$main.css("margin-top")),l=i[0].getBoundingClientRect().top,d=s.height(),h=this.elements.$main.prop("scrollHeight")-d,_=o-l-a-h-30,C=Math.max(120,_);s.css("max-height",C)}},f(e,"default"),e)})),Ie,Dt=g((()=>{var e;Ie=(e=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{stickyRightColumn:".e-sticky-right-column"},classes:{stickyRightColumnActive:"e-sticky-right-column--active"}}}getDefaultElements(){const n=this.getSettings("selectors");return{$stickyRightColumn:this.$element.find(n.stickyRightColumn)}}bindEvents(){elementorFrontend.elements.$document.on("select2:open",n=>{this.addSelect2Wrapper(n)})}addSelect2Wrapper(n){const s=jQuery(n.target).data("select2");s.$dropdown&&s.$dropdown.addClass("e-woo-select2-wrapper")}isStickyRightColumnActive(){const n=this.getSettings("classes");return this.elements.$stickyRightColumn.hasClass(n.stickyRightColumnActive)}activateStickyRightColumn(){const n=this.getElementSettings(),s=elementorFrontend.elements.$wpAdminBar,i=this.getSettings("classes");let o=n.sticky_right_column_offset||0;s.length&&s.css("position")==="fixed"&&(o+=s.height()),this.getElementSettings("sticky_right_column")==="yes"&&(this.elements.$stickyRightColumn.addClass(i.stickyRightColumnActive),this.elements.$stickyRightColumn.css("top",o+"px"))}deactivateStickyRightColumn(){if(!this.isStickyRightColumnActive())return;const n=this.getSettings("classes");this.elements.$stickyRightColumn.removeClass(n.stickyRightColumnActive)}toggleStickyRightColumn(){if(!this.getElementSettings("sticky_right_column")){this.deactivateStickyRightColumn();return}this.isStickyRightColumnActive()||this.activateStickyRightColumn()}equalizeElementHeight(n){if(n.length){n.removeAttr("style");let s=0;n.each((i,o)=>{s=Math.max(s,o.offsetHeight)}),0<s&&n.css({height:s+"px"})}}removePaddingBetweenPurchaseNote(n){n&&n.each((s,i)=>{jQuery(i).prev().children("td").addClass("product-purchase-note-is-below")})}updateWpReferers(){const n=this.getSettings("selectors"),s=this.$element.find(n.wpHttpRefererInputs),i=new URL(document.location);i.searchParams.set("elementorPageId",elementorFrontend.config.post.id),i.searchParams.set("elementorWidgetId",this.getID()),s.attr("value",i)}},f(e,"Base"),e)}
337)),hl=b({default:()=>Vi}),Vi,gl=g((()=>{Dt(),Vi=class extends Ie{getDefaultSettings(){return{selectors:{container:".elementor-widget-woocommerce-purchase-summary",address:"address",purchasenote:".product-purchase-note"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$container:this.$element.find(e.container),$address:this.$element.find(e.address),$purchasenote:this.$element.find(e.purchasenote)}}onElementChange(e){for(const t of["general_text_typography","sections_padding","sections_border_width"])e.startsWith(t)&&this.equalizeElementHeight(this.elements.$address);e.startsWith("order_details_rows_gap")&&this.removePaddingBetweenPurchaseNote(this.elements.$purchasenote)}applyButtonsHoverAnimation(){const e=this.getElementSettings();e.order_details_button_hover_animation&&this.$element.find(".order-again .button, td .button").addClass("elementor-animation-"+e.order_details_button_hover_animation)}onInit(...e){super.onInit(...e),this.equalizeElementHeight(this.elements.$address),this.removePaddingBetweenPurchaseNote(this.elements.$purchasenote),this.applyButtonsHoverAnimation()}}})),pl=b({default:()=>Xi}),Ui,Gi,Qi,jn,Ki,Yi,qn,Vn,Un,Xi,fl=g((()=>{Dt(),Ui=Object.defineProperty,Gi=Object.defineProperties,Qi=Object.getOwnPropertyDescriptors,jn=Object.getOwnPropertySymbols,Ki=Object.prototype.hasOwnProperty,Yi=Object.prototype.propertyIsEnumerable,qn=f((e,t,n)=>t in e?Ui(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),Vn=(e,t)=>{for(var n in t||(t={}))Ki.call(t,n)&&qn(e,n,t[n]);if(jn)for(var n of jn(t))Yi.call(t,n)&&qn(e,n,t[n]);return e},Un=(e,t)=>Gi(e,Qi(t)),Xi=class extends Ie{getDefaultSettings(...e){const t=super.getDefaultSettings(...e);return{selectors:Un(Vn({},t.selectors),{container:".elementor-widget-woocommerce-checkout-page",loginForm:".e-woocommerce-login-anchor",loginSubmit:".e-woocommerce-form-login-submit",loginSection:".e-woocommerce-login-section",showCouponForm:".e-show-coupon-form",couponSection:".e-coupon-anchor",showLoginForm:".e-show-login",applyCoupon:".e-apply-coupon",checkoutForm:"form.woocommerce-checkout",couponBox:".e-coupon-box",address:"address",wpHttpRefererInputs:'[name="_wp_http_referer"]'}),classes:t.classes,ajaxUrl:elementorProFrontend.config.ajaxurl}}getDefaultElements(...e){const t=this.getSettings("selectors");return Un(Vn({},super.getDefaultElements(...e)),{$container:this.$element.find(t.container),$loginForm:this.$element.find(t.loginForm),$showCouponForm:this.$element.find(t.showCouponForm),$couponSection:this.$element.find(t.couponSection),$showLoginForm:this.$element.find(t.showLoginForm),$applyCoupon:this.$element.find(t.applyCoupon),$loginSubmit:this.$element.find(t.loginSubmit),$couponBox:this.$element.find(t.couponBox),$checkoutForm:this.$element.find(t.checkoutForm),$loginSection:this.$element.find(t.loginSection),$address:this.$element.find(t.address)})}bindEvents(...e){super.bindEvents(...e),this.elements.$showCouponForm.on("click",t=>{t.preventDefault(),this.elements.$couponSection.slideToggle()}),this.elements.$showLoginForm.on("click",t=>{t.preventDefault(),this.elements.$loginForm.slideToggle()}),this.elements.$applyCoupon.on("click",t=>{t.preventDefault(),this.applyCoupon()}),this.elements.$loginSubmit.on("click",t=>{t.preventDefault(),this.loginUser()}),elementorFrontend.elements.$body.on("updated_checkout",()=>{this.applyPurchaseButtonHoverAnimation(),this.updateWpReferers()})}onInit(...e){super.onInit(...e),this.toggleStickyRightColumn(),this.updateWpReferers(),this.equalizeElementHeight(this.elements.$address),elementorFrontend.isEditMode()&&(this.elements.$loginForm.show(),this.elements.$couponSection.show(),this.applyPurchaseButtonHoverAnimation())}onElementChange(e){e==="sticky_right_column"&&this.toggleStickyRightColumn()}onDestroy(...e){super.onDestroy(...e),this.deactivateStickyRightColumn()}applyPurchaseButtonHoverAnimation(){const e=this.getElementSettings("purchase_button_hover_animation");e&&jQuery("#place_order").addClass("elementor-animation-"+e)}applyCoupon(){if(!wc_checkout_params)return;this.startProcessing(this.elements.$couponBox);const e={security:wc_checkout_params.apply_coupon_nonce,coupon_code:this.elements.$couponBox.find('input[name="coupon_code"]').val()};jQuery.ajax({type:"POST",url:wc_checkout_params.wc_ajax_url.toString().replace("%%endpoint%%","apply_coupon"),context:this,data:e,success(t){jQuery(".woocommerce-error, .woocommerce-message").remove(),this.elements.$couponBox.removeClass("processing").unblock(),(t.includes("woocommerce-error")||t.includes("does not exist"))&&jQuery("html, body").animate({scrollTop:0},"fast"),t&&(this.elements.$checkoutForm.before(t),this.elements.$couponSection.slide
337Up(),elementorFrontend.elements.$body.trigger("applied_coupon_in_checkout",[e.coupon_code]),elementorFrontend.elements.$body.trigger("update_checkout",{update_shipping_method:!1}))},dataType:"html"})}loginUser(){this.startProcessing(this.elements.$loginSection);const e={action:"elementor_woocommerce_checkout_login_user",username:this.elements.$loginSection.find('input[name="username"]').val(),password:this.elements.$loginSection.find('input[name="password"]').val(),nonce:this.elements.$loginSection.find('input[name="woocommerce-login-nonce"]').val(),remember:this.elements.$loginSection.find("input#rememberme").prop("checked")};jQuery.ajax({type:"POST",url:this.getSettings("ajaxUrl"),context:this,data:e,success(t){t=JSON.parse(t),this.elements.$loginSection.removeClass("processing").unblock(),jQuery(".woocommerce-error, .woocommerce-message").remove(),t.logged_in?location.reload():(this.elements.$checkoutForm.before(t.message),elementorFrontend.elements.$body.trigger("checkout_error",[t.message]))}})}startProcessing(e){e.is(".processing")||e.addClass("processing").block({message:null,overlayCSS:{background:"#fff",opacity:.6}})}}}));function Ji(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(e);t&&(s=s.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),n.push.apply(n,s)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]!=null?arguments[t]:{};t%2?Ji(Object(n),!0).forEach(function(s){V(e,s,n[s])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ji(Object(n)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(n,s))})}return e}var Gn=g((()=>{ae()})),vl=b({default:()=>Zi}),Zi,_l=g((()=>{Dt(),Gn(),Zi=class extends Ie{getDefaultSettings(...e){const t=super.getDefaultSettings(...e);return{selectors:ce(ce({},t.selectors),{},{shippingForm:".shipping-calculator-form",quantityInput:".qty",updateCartButton:"button[name=update_cart]",wpHttpRefererInputs:"[name=_wp_http_referer]",hiddenInput:"input[type=hidden]",productRemove:".product-remove a"}),classes:t.classes,ajaxUrl:elementorProFrontend.config.ajaxurl}}getDefaultElements(...e){const t=this.getSettings("selectors");return ce(ce({},super.getDefaultElements(...e)),{},{$shippingForm:this.$element.find(t.shippingForm),$stickyColumn:this.$element.find(t.stickyColumn),$hiddenInput:this.$element.find(t.hiddenInput)})}bindEvents(){super.bindEvents();const e=this.getSettings("selectors");elementorFrontend.elements.$body.on("wc_fragments_refreshed",()=>this.applyButtonsHoverAnimation()),this.getElementSettings("update_cart_automatically")==="yes"&&this.$element.on("input",e.quantityInput,()=>this.updateCart()),elementorFrontend.elements.$body.on("wc_fragments_loaded wc_fragments_refreshed",()=>{this.updateWpReferers(),(elementorFrontend.isEditMode()||elementorFrontend.isWPPreviewMode())&&this.disableActions()}),elementorFrontend.elements.$body.on("added_to_cart",function(t,n){if(n.e_manually_triggered)return!1})}onInit(...e){super.onInit(...e),this.toggleStickyRightColumn(),this.hideHiddenInputsParentElements(),elementorFrontend.isEditMode()&&this.elements.$shippingForm.show(),this.applyButtonsHoverAnimation(),this.updateWpReferers(),(elementorFrontend.isEditMode()||elementorFrontend.isWPPreviewMode())&&this.disableActions()}disableActions(){const e=this.getSettings("selectors");this.$element.find(e.updateCartButton).attr({disabled:"disabled","aria-disabled":"true"}),elementorFrontend.isEditMode()&&(this.$element.find(e.quantityInput).attr("disabled","disabled"),this.$element.find(e.productRemove).css("pointer-events","none"))}onElementChange(e){e==="sticky_right_column"&&this.toggleStickyRightColumn(),e==="additional_template_select"&&elementorPro.modules.woocommerce.onTemplateIdChange("additional_template_select")}onDestroy(...e){super.onDestroy(...e),this.deactivateStickyRightColumn()}updateCart(){const e=this.getSettings("selectors");clearTimeout(this._debounce),this._debounce=setTimeout(()=>{this.$element.find(e.updateCartButton).trigger("click")},1500)}applyButtonsHoverAnimation(){const e=this.getElementSettings();e.checkout_button_hover_animation&&jQuery(".checkout-button").addClass("elementor-animation-"+e.checkout_button_hover_animation),e.forms_buttons_hover_animation&&jQuery(".shop_table .button").addClass("elementor-animation-"+e.forms_buttons_hover_animation)}
337hideHiddenInputsParentElements(){this.isEdit&&this.elements.$hiddenInput&&this.elements.$hiddenInput.parent(".form-row").addClass("elementor-hidden")}}})),bl=b({default:()=>eo}),eo,Sl=g((()=>{Dt(),eo=class extends Ie{getDefaultSettings(){return{selectors:{address:"address",tabLinks:".woocommerce-MyAccount-navigation-link a",viewOrderButtons:".my_account_orders .woocommerce-button.view",viewOrderLinks:".woocommerce-orders-table__cell-order-number a",authForms:"form.login, form.register",tabWrapper:".e-my-account-tab",tabItem:".woocommerce-MyAccount-navigation li",allPageElements:"[e-my-account-page]",purchasenote:"tr.product-purchase-note",contentWrapper:".woocommerce-MyAccount-content-wrapper"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$address:this.$element.find(e.address),$tabLinks:this.$element.find(e.tabLinks),$viewOrderButtons:this.$element.find(e.viewOrderButtons),$viewOrderLinks:this.$element.find(e.viewOrderLinks),$authForms:this.$element.find(e.authForms),$tabWrapper:this.$element.find(e.tabWrapper),$tabItem:this.$element.find(e.tabItem),$allPageElements:this.$element.find(e.allPageElements),$purchasenote:this.$element.find(e.purchasenote),$contentWrapper:this.$element.find(e.contentWrapper)}}editorInitTabs(){this.elements.$allPageElements.each((e,t)=>{const n=t.getAttribute("e-my-account-page");let s;n==="view-order"?s=this.elements.$viewOrderLinks.add(this.elements.$viewOrderButtons):s=this.$element.find(".woocommerce-MyAccount-navigation-link--"+n),s.on("click",()=>{this.currentPage=n,this.editorShowTab()})})}editorShowTab(){const e=this.$element.find('[e-my-account-page="'+this.currentPage+'"]');this.$element.attr("e-my-account-page",this.currentPage),this.elements.$allPageElements.hide(),e.show(),this.toggleEndpointClasses(),this.currentPage!=="view-order"&&(this.elements.$tabItem.removeClass("is-active"),this.$element.find(".woocommerce-MyAccount-navigation-link--"+this.currentPage).addClass("is-active")),(this.currentPage==="edit-address"||this.currentPage==="view-order")&&this.equalizeElementHeights()}toggleEndpointClasses(){const e=["dashboard","orders","view-order","downloads","edit-account","edit-address","payment-methods"];let t="";this.elements.$tabWrapper.removeClass("e-my-account-tab__"+e.join(" e-my-account-tab__")+" e-my-account-tab__dashboard--custom"),this.currentPage==="dashboard"&&this.elements.$contentWrapper.find(".elementor").length&&(t=" e-my-account-tab__dashboard--custom"),e.includes(this.currentPage)&&this.elements.$tabWrapper.addClass("e-my-account-tab__"+this.currentPage+t)}applyButtonsHoverAnimation(){const e=this.getElementSettings();e.forms_buttons_hover_animation&&this.$element.find(".woocommerce button.button, #add_payment_method #payment #place_order").addClass("elementor-animation-"+e.forms_buttons_hover_animation),e.tables_button_hover_animation&&this.$element.find(".order-again .button, td .button, .woocommerce-pagination .button").addClass("elementor-animation-"+e.tables_button_hover_animation)}equalizeElementHeights(){this.equalizeElementHeight(this.elements.$address),this.isEdit||this.equalizeElementHeight(this.elements.$authForms)}onElementChange(e){(e.indexOf("general_text_typography")===0||e.indexOf("sections_padding")===0)&&this.equalizeElementHeights(),e.indexOf("forms_rows_gap")===0&&this.removePaddingBetweenPurchaseNote(this.elements.$purchasenote),e==="customize_dashboard_select"&&elementorPro.modules.woocommerce.onTemplateIdChange("customize_dashboard_select")}bindEvents(){super.bindEvents(),elementorFrontend.elements.$body.on("keyup change",".register #reg_password",()=>{this.equalizeElementHeights()})}onInit(...e){super.onInit(...e),this.isEdit&&(this.editorInitTabs(),this.$element.attr("e-my-account-page")?this.currentPage=this.$element.attr("e-my-account-page"):this.currentPage="dashboard",this.editorShowTab()),this.applyButtonsHoverAnimation(),this.equalizeElementHeights(),this.removePaddingBetweenPurchaseNote(this.elements.$purchasenote)}}})),yl=b({default:()=>to}),to,wl=g((()=>{var e;to=(e=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{woocommerceNotices:":not(.woocommerce-NoticeGroup) .wc-block-components-notice-banner, .woocommerce-NoticeGroup, :not(.woocommerce-NoticeGroup) .woocommerce-error, :not(.woocommerce-NoticeGroup) .woocommerce-message, :not(.woocommerce-NoticeGroup) .woocommerce-info",noticesWrapper:".e-woocommerce-notices-wrapper"}}}getDefaultElements(){const n=this.getSettings("selectors");return{$documentScrollToElements:elementorFrontend.elements.$document.find("html, body"),$woocommerceCheckoutForm:elementorFrontend.elements.$body.find(".form.checkout"),$noticesWrapper:this.$element.find(n.noticesWrapper)}}moveNotices(n=!1){const s=this.getSettings("selectors");let i=elementorFrontend.elements.$body.find(s.woocommerceNotices);if((elementorFrontend.isEditMode()||elementorFrontend.isWPPreviewMode())&&(i=i.filter(":not(.e-notices-demo-notice)")),n&&this.elements.$documentScrollToElements.stop(),this.elements.$noticesWrapper.prepend(i),this.is_ready||(this.elements.$noticesWrapper.removeClass("e-woocommerce-notices-wrapper-loading"),this.is_ready=!0),n){let o=i;o.length||(o=this.elements.$woocommerceCheckoutForm),o.length&&this.elements.$documentScrollToElements.animate({scrollTop:o.offset().top-document.documentElement.clientHeight/2},1e3)}}onInit(){super.onInit(),this.is_ready=!1,this.moveNotices(!0)}bindEvents(){elementorFrontend.elements.$body.on("updated_wc_div updated_checkout updated_cart_totals applied_coupon removed_coupon applied_coupon_in_checkout removed_coupon_in_checkout checkout_error",()=>this.moveNotices(!0))}},f(e,"default"),e)})),Cl=b({default:()=>no}),no,El=g((()=>{Dt(),no=class extends Ie{getDefaultSettings(){return{selectors:{quantityInput:".e-loop-add-to-cart-form input.qty",addToCartButton:".e-loop-add-to-cart-form .ajax_add_to_cart",addedToCartButton:".added_to_cart",loopFormContainer:".e-loop-add-to-cart-form-container"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$quantityInput:this.$element.find(e.quantityInput),$addToCartButton:this.$element.find(e.addToCartButton)}}updateAddToCartButtonQuantity(){this.elements.$addToCartButton.attr("data-quantity",this.elements.$quantityInput.val())}handleAddedToCart(e){const t=this.getSettings("selectors"),n=e.siblings(t.addedToCartButton),s=n.parents(t.loopFormContainer);s.children(t.addedToCartButton).remove(),s.append(n)}bindEvents(...e){super.bindEvents(...e),this.elements.$quantityInput.on("change",()=>{this.updateAddToCartButtonQuantity()}),elementorFrontend.elements.$body.off("added_to_cart.elementor-woocommerce-product-add-to-cart"),elementorFrontend.elements.$body.on("added_to_cart.elementor-woocommerce-product-add-to-cart",(t,n,s,i)=>{this.handleAddedToCart(i)})}}})),Tl=(gt=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("woocommerce-menu-cart",()=>v(()=>Promise.resolve().then(()=>(ml(),ul)),void 0)),elementorFrontend.elementsHandler.attachHandler("woocommerce-purchase-summary",()=>v(()=>Promise.resolve().then(()=>(gl(),hl)),void 0)),elementorFrontend.elementsHandler.attachHandler("woocommerce-checkout-page",()=>v(()=>Promise.resolve().then(()=>(fl(),pl)),void 0)),elementorFrontend.elementsHandler.attachHandler("woocommerce-cart",()=>v(()=>Promise.resolve().then(()=>(_l(),vl)),void 0)),elementorFrontend.elementsHandler.attachHandler("woocommerce-my-account",()=>v(()=>Promise.resolve().then(()=>(Sl(),bl)),void 0)),elementorFrontend.elementsHandler.attachHandler("woocommerce-notices",()=>v(()=>Promise.resolve().then(()=>(wl(),yl)),void 0)),elementorFrontend.elementsHandler.attachHandler("woocommerce-product-add-to-cart",()=>v(()=>Promise.resolve().then(()=>(El(),Cl)),void 0)),elementorFrontend.isEditMode()&&elementorFrontend.on("components:init",()=>{elementorFrontend.elements.$body.find(".elementor-widget-woocommerce-cart").length||elementorFrontend.elements.$body.append('<div class="woocommerce-cart-form">')})}},f(gt,"default"),gt);function ve(e){[...e].flatMap(t=>
337[...t.querySelectorAll(".elementor-element")]).forEach(t=>elementorFrontend.elementsHandler.runReadyTrigger(t))}var _e=g((()=>{})),$l=b({default:()=>so}),so,Al=g((()=>{Tn(),_e(),so=class extends jt{getDefaultSettings(){const e=super.getDefaultSettings();return e.selectors.postsContainer=".elementor-loop-container",e.selectors.postWrapperTag=".e-loop-item",e.selectors.loadMoreButton=".e-loop__load-more .elementor-button",e.selectors.dynamicStyleElement='style[id^="loop-dynamic"]',e}afterInsertPosts(e,t){super.afterInsertPosts(e),ElementorProFrontendConfig.settings.lazy_load_background_images&&document.dispatchEvent(new Event("elementor/lazyload/observe")),this.handleDynamicStyleElements(t),ve(e),elementorFrontend.elements.$window.trigger("elementor-pro/loop-builder/after-insert-posts")}handleDynamicStyleElements(e){const t=this.getSettings("selectors"),n=e.querySelectorAll(`[data-id="${this.elementId}"] ${t.dynamicStyleElement}`);this.$element.append(n)}}}));function Fl({element:e,id:t,title:n=(0,At.__)("Template","elementor-pro")},s=Qn,i=null,o=null){if(s==="edit"){if(!t||!e)throw Error("`id` and `element` are required.");if(Il(e)||kl(e))return}const a=xl({title:n,onClick:()=>Ll(t,s,i,o)},s,e);e.prepend(a),s==="edit"&&(e.dataset.editableElementorDocument=t)}function Il(e){return e.classList.contains(oo)}function kl(e){return!!e.querySelector(`:scope > .${Lt}`)}function xl({title:e,onClick:t},n,s=null){const i=["header","footer"].includes(s==null?void 0:s.dataset.elementorType)?"%s":(0,At.__)("Edit %s","elementor-pro"),o=Zt({tag:"div",classNames:[`${Lt}__inner`],children:[Zt({tag:"i",classNames:[Dl(n)]}),Zt({tag:"div",classNames:[`${n==="edit"?Lt:Kn}__title`],children:[document.createTextNode(n==="edit"?i.replace("%s",e):(0,At.__)("Save %s","elementor-pro").replace("%s",e))]})]}),a=[Lt];n!=="edit"&&a.push(Kn);const l=Zt({tag:"div",classNames:a,children:[o]});return l.addEventListener("click",t),l}function Dl(e){let t="eicon-edit";return e==="save"&&(t=elementorFrontend.config.is_rtl?"eicon-arrow-right":"eicon-arrow-left"),t}function Zt({tag:e,classNames:t=[],children:n=[]}){const s=document.createElement(e);return s.classList.add(...t),n.forEach(i=>s.appendChild(i)),s}function Ll(e,t,n=null,s=null){return io(this,null,function*(){t==="edit"?(window.top.$e.internal("panel/state-loading"),yield window.top.$e.run("editor/documents/switch",{id:parseInt(e),onClose:n,selector:s}),window.top.$e.internal("panel/state-ready")):(elementorCommon.api.internal("panel/state-loading"),elementorCommon.api.run("editor/documents/switch",{id:elementor.config.initial_document.id,mode:"save",shouldScroll:!1,selector:s}).finally(()=>elementorCommon.api.internal("panel/state-ready")))})}var io,Lt,oo,Qn,Kn,Ml,Pl=g((()=>{io=(e,t,n)=>new Promise((s,i)=>{var o=d=>{try{l(n.next(d))}catch(h){i(h)}},a=d=>{try{l(n.throw(d))}catch(h){i(h)}},l=d=>d.done?s(d.value):Promise.resolve(d.value).then(o,a);l((n=n.apply(e,t)).next())}),Lt="elementor-document-handle",oo="elementor-edit-mode",Qn="edit",Kn="elementor-document-save-back-handle",Ml="save"})),ro=b({default:()=>ao}),ao,lo=g((()=>{Ee(),Pl(),ao=class extends N{getSkinPrefix(){return""}getDefaultSettings(){const e=super.getDefaultSettings();return e.selectors.post=".elementor-loop-container .elementor",e.selectors.postsContainer=".elementor-loop-container",e.classes.inPlaceTemplateEditable="elementor-in-place-template-editable",e}fitImages(){}getVerticalSpaceBetween(){return elementorProFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"row_gap","size")}onInPlaceEditTemplate(){this.$element.addClass(this.getDefaultSettings().classes.inPlaceTemplateEditable),this.elementsToRemove=[],this.handleSwiper();const e=this.getElementSettings("template_id");this.elementsToRemove=[...this.elementsToRemove,"style#loop-"+e,"link#font-loop-"+e,"style#loop-dynamic-"+e],this.elementsToRemove.forEach(t=>{this.$element.find(t).remove()})}handleSwiper(){const e=this.elements.$postsContainer.data("swiper");e&&(e.slideTo(0),e.autoplay.pause(),e.allowTouchMove=!1,e.params.autoplay.delay=1e6,e.update(),this.elementsToRemove=[...this.elementsToRemove,".swiper-pagination",".elementor-swiper-button",".elementor-document-handle"])}attachEditDocumentHandle(){const e=this.getElementSettings("template_id");if(!e)return;const t=this.getElementSettings(),n=`.elementor-element-${this.getID()}`,s=(t==null?void 0:t.edit_handle_selector)+((t==null?void 0:t.edit_handle_selector)==='[data-elementor-type="loop-item"]'?`.elementor-${e}`:""),i=this.$element.find(s).first()[0];if(i){if(this.isFirstEdit()){this.$element.find(".elementor-swiper-button").remove();return}Fl({element:i,title:(0,At.__)("Template","elementor-pro"),id:e},Qn,()=>
337this.onInPlaceEditTemplate(),`${n} .elementor-${e}`)}}isFirstEdit(){return this.$element.has(".e-loop-first-edit").length}handleCTA(){const e=document.querySelector(`[data-id="${this.getID()}"] .e-loop-empty-view__wrapper`);if(!e)return;const t=e.attachShadow({mode:"open"});t.appendChild(elementorPro.modules.loopBuilder.getCtaStyles()),t.appendChild(elementorPro.modules.loopBuilder.getCtaContent(this.getWidgetType())),t.querySelector(".e-loop-empty-view__box-cta").addEventListener("click",()=>{elementorPro.modules.loopBuilder.createTemplate()})}doEditorInitAction(){elementor.hooks.doAction("editor/widgets/loop-grid/on-init",this)}onElementChange(e){e==="_skin"&&elementorPro.modules.loopBuilder.onApplySkinChange(),N.prototype.onElementChange.apply(this)}bindEvents(){super.bindEvents(),elementorFrontend.elements.$window.on("elementor-pro/loop-builder/after-insert-posts",this.reInitMasonry.bind(this))}reInitMasonry(){const e=this.getSettings("selectors");this.elements.$posts=jQuery(`.elementor-element-${this.getID()} ${e.post}`),super.runMasonry()}unbindEvents(){super.unbindEvents(),elementorFrontend.elements.$window.off("elementor-pro/loop-builder/after-insert-posts",this.reInitMasonry.bind(this))}onInit(...e){super.onInit(...e),elementorFrontend.isEditMode()&&(this.doEditorInitAction(),this.attachEditDocumentHandle(),this.handleCTA())}}})),Ol=b({default:()=>co}),co,Bl=g((()=>{_e(),he(),co=class extends elementorModules.frontend.handlers.CarouselBase{getDefaultSettings(){const e=super.getDefaultSettings();return e.selectors.carousel=".elementor-loop-container",e}getSwiperSettings(){const e=super.getSwiperSettings(),t=this.getElementSettings(),n=elementorFrontend.config.is_rtl,s=`.elementor-element-${this.getID()}`;return t.arrows==="yes"&&(e.navigation={prevEl:n?`${s} .elementor-swiper-button-next`:`${s} .elementor-swiper-button-prev`,nextEl:n?`${s} .elementor-swiper-button-prev`:`${s} .elementor-swiper-button-next`}),e.on.beforeInit=()=>{this.a11ySetSlidesAriaLabels()},e}onInit(...e){var t=()=>super.onInit,n=this;return ee(function*(){t().call(n,...e),n.ranElementHandlers=!1})()}handleElementHandlers(){this.ranElementHandlers||!this.swiper||(ve(Array.from(this.swiper.slides).slice(this.swiper.activeIndex-1,this.swiper.slides.length)),this.ranElementHandlers=!0)}a11ySetSlidesAriaLabels(){const e=Array.from(this.elements.$slides);e.forEach((t,n)=>{t.setAttribute("aria-label",`${parseInt(n+1)} ${(0,At.__)("of","elementor-pro")} ${e.length}`)})}}})),Yn,uo=g((()=>{Yn=class{addLoadingAnimationOverlay(e){const t=document.querySelector(`.elementor-element-${e}`);t&&t.classList.add("e-loading-overlay")}removeLoadingAnimationOverlay(e){const t=document.querySelector(`.elementor-element-${e}`);t&&t.classList.remove("e-loading-overlay")}}})),Hl=b({default:()=>mo}),mo,Rl=g((()=>{uo(),_e(),mo=class extends elementorModules.frontend.handlers.Base{getDefaultSettings(){return{selectors:{links:"a.page-numbers:not(.current)",widgetContainer:".elementor-widget-container",postWrapperTag:".e-loop-item"}}}getDefaultElements(){const e=this.getSettings("selectors");return{links:this.$element[0].querySelectorAll(e.links),widgetContainer:this.$element[0].querySelector(e.widgetContainer)}}bindEvents(){super.bindEvents(),this.linksEventListeners()}linksEventListeners(){this.elements.links.length&&this.getElementSettings("pagination_load_type")==="ajax"&&this.elements.links.forEach(e=>{e.addEventListener("click",t=>{this.handleLinkClick(t)})})}handleLinkClick(e){if(e.preventDefault(),this.isLoading)return;this.removeLinksListeners(),this.handleUiBeforeLoading();const t=e==null?void 0:e.target.getAttribute("href");return this.updateURLQueryString(t),fetch(t).then(n=>n.text()).then(n=>{const s=new DOMParser().parseFromString(n,"text/html");this.handleSuccessFetch(s)})}removeLinksListeners(){this.elements.links.length&&this.elements.links.forEach(e=>{e.removeEventListener("click",this.handleLinkClick)})}updateURLQueryString(e){const t=new URL(window.location.href),n=t.searchParams,s=new URL(e).searchParams;s.forEach((i,o)=>{n.set(o,i)}),s.has("e-page-"+this.elementId)||n.delete("e-page-"+this.elementId),history.pushState(null,"",t.href)}handleUiBeforeLoading(){this.setLoading(!0),this.ajaxHelper.addLoadingAnimationOverlay(this.elementId),this.maybeScrollToTop()}setLoading(e){this.isLoading=e}
337maybeScrollToTop(){if(this.getElementSettings("auto_scroll")!=="yes")return;const e=document.querySelector(`.elementor-element-${this.elementId}`);e&&e.scrollIntoView({behavior:"smooth"})}handleUiAfterLoading(){this.setLoading(!1),this.ajaxHelper.removeLoadingAnimationOverlay(this.elementId)}handleSuccessFetch(e){this.handleUiAfterLoading();const t=this.getSettings("selectors"),n=e.querySelector(`[data-id="${this.elementId}"] ${t.widgetContainer}`),s=this.elements.widgetContainer;this.$element[0].replaceChild(n,s),this.afterInsertPosts()}afterInsertPosts(){const e=this.getSettings("selectors"),t=document.querySelectorAll(`[data-id="${this.elementId}"] ${e.postWrapperTag}`);elementorFrontend.elementsHandler.runReadyTrigger(this.$element[0]),ve(t),ElementorProFrontendConfig.settings.lazy_load_background_images&&document.dispatchEvent(new Event("elementor/lazyload/observe"))}onInit(){super.onInit(),this.setLoading(!1),this.elementId=this.getID(),this.ajaxHelper=new Yn}}})),Wl=(pt=class extends elementorModules.Module{constructor(){super(),["post","product","post_taxonomy","product_taxonomy"].forEach(t=>{elementorFrontend.elementsHandler.attachHandler("loop-grid",()=>v(()=>Promise.resolve().then(()=>(Al(),$l)),void 0),t),elementorFrontend.elementsHandler.attachHandler("loop-grid",()=>v(()=>Promise.resolve().then(()=>(lo(),ro)),void 0),t),elementorFrontend.elementsHandler.attachHandler("loop-carousel",()=>v(()=>Promise.resolve().then(()=>(lo(),ro)),void 0),t),elementorFrontend.elementsHandler.attachHandler("loop-carousel",()=>v(()=>Promise.resolve().then(()=>(Bl(),Ol)),void 0),t),elementorFrontend.elementsHandler.attachHandler("loop-grid",()=>v(()=>Promise.resolve().then(()=>(Rl(),Hl)),void 0),t)})}},f(pt,"default"),pt);function Nl(e){if(e.item_layout==="dropdown")return!0;const t=elementorFrontend.breakpoints.getActiveBreakpointsList({withDesktop:!0}),n=t.indexOf(e.breakpoint_selector);return t.indexOf(elementorFrontend.getCurrentDeviceMode())<=n}var zl=g((()=>{}));function en(e,t){t.type==="mousedown"?(e.classList.add("e-scroll"),e.dataset.pageX=t.pageX):(e.classList.remove("e-scroll","e-scroll-active"),e.dataset.pageX="")}function ho(e,t,n){const s=e.classList.contains("e-scroll"),i=t==="enable",o=e.scrollWidth>e.clientWidth;if(!s||!i||!o)return;n.preventDefault();const a=parseFloat(e.dataset.pageX),l=n.pageX-a,d=5,h=20;let _=0;h<l?_=d:h*-1>l?_=-1*d:_=l,e.scrollLeft=e.scrollLeft-_,e.classList.add("e-scroll-active")}function Mt({element:e,direction:t,justifyCSSVariable:n,horizontalScrollStatus:s}){e&&(jl(e,s)?ql(e,t,n):e.style.setProperty(n,""))}function jl(e,t){return e.clientWidth<Xn(e.children)&&t==="enable"}function Xn(e){let t=0;const n=e[0].parentNode,s=getComputedStyle(n),i=parseFloat(s.gap)||0;for(let o=0;o<e.length;o++)t+=e[o].offsetWidth+i;return t}function ql(e,t,n){const s=elementorFrontend.config.is_rtl;t==="end"?(e.style.setProperty(n,"start"),e.scrollLeft=s?-1*Xn(e.children):Xn(e.children)):(e.style.setProperty(n,"start"),e.scrollLeft=0)}var go=g((()=>{})),Vl=b({default:()=>po}),po,Ul=g((()=>{zl(),ei(),go(),po=class extends elementorModules.frontend.handlers.Base{constructor(...e){super(...e),elementorFrontend.isEditMode()&&(this.lifecycleChangeListener=null),this.resizeListener=null,this.prevMouseY=null,this.isKeyboardNavigation=!1}getDefaultSettings(){return{selectors:{elementorWidgetWrapper:".elementor-widget-n-menu",widgetContainer:".e-n-menu",dropdownMenuToggle:".e-n-menu-toggle",menuWrapper:".e-n-menu-wrapper",headingContainer:".e-n-menu-heading",menuItem:".e-n-menu-item",tabTitle:".e-n-menu-title",tabTitleText:".e-n-menu-title-text",directTabTitle:":scope > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title, :scope > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title",tabClickableTitle:".e-n-menu-title.e-click",tabDropdown:".e-n-menu-dropdown-icon",menuContent:".e-n-menu-content",tabContent:".e-n-menu-content > .e-con, .e-n-menu-heading > .e-con",directTabContent:":scope > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-content > .e-con, :scope > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con, :scope > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-content > .e-con, :scope > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con",tabContentBeforeInterlacing:"> .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con, > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con",newContainerAfterRepeaterAction:"> .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con, > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-content > .e-con:nth-child(2), > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-con, > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-content > .e-con:nth-child(2)",anchorLink:".e-anchor a"},classes:{active:"e-active",anchorItem:"e-anchor",activeAnchorItem:"e-current"},dataAttributes:{tabIndex:"data-tab-index"},ariaAttributes:{titleStateAttribute:"aria-expanded",activeTitleSelector:'[aria-expanded="true"]'},autoExpand:!1,autoFocus:!1,showTabFn:"show",hideTabFn:"hide",toggleSelf:!1,hidePrevious:!0,postUrl:"post-url",internalUrl:"internal-url"}}getDefaultElements(){const e=this.getSettings("selectors");return{$tabContents:this.findElement(e.tabContent),$widgetContainer:this.findElement(e.widgetContainer),$dropdownMenuToggle:this.findElement(e.dropdownMenuToggle),$menuWrapper:this.findElement(e.menuWrapper),$menuContent:this.findElement(e.menuContent),$headingContainer:this.findElement(e.headingContainer),$menuItems:this.findElement(e.menuItem),$tabTitles:this.findElement(e.tabTitle),$tabDropdowns:this.findElement(e.tabDropdown),$anchorLink:this.findElement(e.anchorLink),$tabContentsBeforeInterlacing:this.findElement(e.tabContentBeforeInterlacing)}}
337getTabTitleFilterSelector(e){return`[${this.getSettings("dataAttributes").tabIndex}="${e}"]`}getTabIndex(e){return e.getAttribute(this.getSettings("dataAttributes").tabIndex)}setKeyboardNavigation(e){e.key==="Tab"&&(this.isKeyboardNavigation=!0)}dropdownMenuHeightControllerConfig(){const e=this.getSettings("selectors");return{elements:{$element:this.$element,$dropdownMenuContainer:this.$element.find(e.menuWrapper),$menuToggle:this.$element.find(e.dropdownMenuToggle)},attributes:{menuToggleState:"aria-expanded"},settings:{dropdownMenuContainerMaxHeight:"auto",menuHeightCssVarName:"--n-menu-dropdown-content-box-height"}}}handleContentContainerPosition(e=null){this.resetContentContainersPosition();const t=this.getSettings("ariaAttributes").activeTitleSelector,n=this.elements.$tabDropdowns.filter(t).attr("data-tab-index");e=e||this.elements.$tabContents.filter(this.getTabContentFilterSelector(n)),e.length&&this.setContentContainerAbsolutePosition(e)}setContentContainerAbsolutePosition(e){const t=this.getElementSettings(),n=t.content_width==="fit_to_content";if(Nl(t))return;if(n){const i=elementorFrontend.config.is_rtl?"right":"left",o=0<this.getMenuItemContainerAbsolutePosition(e)?this.getMenuItemContainerAbsolutePosition(e):0;e.css(i,o)}const s=this.elements.$headingContainer[0].getBoundingClientRect().height;if(this.shouldPositionContentAbove(e,s)){const i=e[0].getBoundingClientRect();e.css({width:n?"max-content":"","max-width":i.width}),this.elements.$widgetContainer.addClass("content-above")}}getMenuItemContainerAbsolutePosition(e){const t=e.data("tab-index"),n=this.elements.$tabDropdowns.filter(this.getTabTitleFilterSelector(t))[0].closest(this.getSettings("selectors").tabTitle).getBoundingClientRect(),s=e[0].clientWidth;let i=null;switch(this.getElementSettings("content_horizontal_position")){case"left":i=this.getLeftDirectionContainerOffset(s,n);break;case"right":i=this.getRightDirectionContainerOffset(s,n);break;default:i=this.getCenteredContainerOffset(s,n)}return i}getCenteredContainerOffset(e,t){const n=e/2,s=elementorFrontend.elements.$body[0].clientWidth;let i=this.adjustForScrollbarIfNeeded(t.left+t.width/2);elementorFrontend.config.is_rtl&&(i=s-i);let o=i-n;return i+n>s?o=s-e:n>i&&(o=0),o}getLeftDirectionContainerOffset(e,t){return elementorFrontend.config.is_rtl?this.getRtlLeftDirectionContainerOffset(e,t):this.getLtrLeftDirectionContainerOffset(e,t)}getRtlLeftDirectionContainerOffset(e,t){const n=elementorFrontend.elements.$body[0].clientWidth;let s=n-this.adjustForScrollbarIfNeeded(t.left)-e;return-s+e>n&&(s=0),s}getLtrLeftDirectionContainerOffset(e,t){let n=this.adjustForScrollbarIfNeeded(t.left);return n=this.adjustStartOffsetToViewport(n,e),n}getRightDirectionContainerOffset(e,t){return elementorFrontend.config.is_rtl?this.getRtlRightDirectionContainerOffset(e,t):this.getLtrRightDirectionContainerOffset(e,t)}getRtlRightDirectionContainerOffset(e,t){let n=elementorFrontend.elements.$body[0].clientWidth-this.adjustForScrollbarIfNeeded(t.right);return n=this.adjustStartOffsetToViewport(n,e),n}adjustStartOffsetToViewport(e,t){const n=elementorFrontend.elements.$body[0].clientWidth;return e+t>n&&(e=n-t),e}getLtrRightDirectionContainerOffset(e,t){return e>t.right?0:t.right-e}adjustForScrollbarIfNeeded(e){if(elementorFrontend.config.is_rtl&&elementorFrontend.isEditMode()){const t=window.innerWidth-elementorFrontend.elements.$body[0].clientWidth;e-=t}return e}getMenuContainerOffset(){const e=this.elements.$widgetContainer[0].getBoundingClientRect();return elementorFrontend.config.is_rtl?this.getMenuContainerOffsetRtl(e):e.left}getMenuContainerOffsetRtl(e){const t=elementorFrontend.elements.$body[0].clientWidth;let n=t-e.right;if(elementorFrontend.isEditMode()){const s=window.innerWidth-t;n+=s}return n}resetContentContainersPosition(){this.elements.$tabContents.css({left:"",right:"",bottom:"",position:"var(--position)","max-width":"",width:"var(--width)"}),this.elements.$widgetContainer.removeClass("content-above")}getTabContentFilterSelector(e){return`[data-tab-index="${e}"]`}isActiveTab(e){return this.elements.$tabDropdowns.filter('[data-tab-index="'+e+'"]').attr(this.getSettings("ariaAttributes").titleStateAttribute)==="true"}activateDefaultTab(){const e=this.getSettings(),t=this.getEditSettings("activeItemIndex")||
3371,n={showTabFn:e.showTabFn,hideTabFn:e.hideTabFn};this.setSettings({showTabFn:"show",hideTabFn:"hide"}),this.changeActiveTab(t),this.setSettings(n),this.elements.$widgetContainer.addClass("e-activated")}activateTab(e){const t=this.getSettings(),n=t.classes.active,s=`.elementor-element-${this.getID()} .e-n-menu .e-n-menu .e-n-menu-dropdown-icon`,i=`.elementor-element-${this.getID()} .e-n-menu .e-n-menu .e-n-menu-content > .e-con`,o=this.elements.$tabDropdowns.filter(this.getTabTitleFilterSelector(e)).not(s),a=t.showTabFn==="show"?0:400,l=this.elements.$tabContents.filter(this.getTabContentFilterSelector(e)).not(i);this.addAnimationToContentIfNeeded(e),l[t.showTabFn](a,()=>this.onShowTabContent(l)),o.attr(this.getTitleActivationAttributes()),o.prev(".e-n-menu-title-container").find("a").attr(this.getTitleActivationAttributes("link")),l.addClass(n).parent().addClass(n),l.css({display:"var(--display)"}),l.removeAttr("display"),elementorFrontend.isEditMode()&&l.length&&this.activeContainerWidthListener(l),this.menuHeightController.reassignMenuHeight(l)}deactivateActiveTab(){var e;const t=this.getSettings(),n=t.classes.active,s=t.ariaAttributes.activeTitleSelector,i="."+n,o=this.elements.$tabDropdowns.filter(s),a=this.elements.$tabContents.filter(i);this.setTabDeactivationAttributes(o),this.elements.$menuContent.removeClass(n),a.removeClass(n),a[t.hideTabFn](0,()=>this.onHideTabContent(a)),this.removeAnimationFromContentIfNeeded(),elementorFrontend.isEditMode()&&a.length&&((e=this.observedContainer)==null||e.unobserve(a[0])),this.menuHeightController.resetMenuHeight(a),this.clickInProgress=!0}getTitleActivationAttributes(e="tab"){const t={};return e==="tab"&&(t["aria-expanded"]="true"),t}setTabDeactivationAttributes(e){const t=this.getSettings("ariaAttributes").titleStateAttribute;e.attr(`${t}`,"false")}shouldPositionContentAbove(e,t=0){const n=e[0].getBoundingClientRect();return this.isContentShorterThanItsTopOffset(n,t)&&this.isContentTallerThanItsBottomOffset(n)}isContentShorterThanItsTopOffset(e,t){return e.height<e.top-t}isContentTallerThanItsBottomOffset(e){return window.innerHeight-e.top<e.height}onShowTabContent(e){this.handleContentContainerPosition(e),elementorFrontend.elements.$window.trigger("elementor-pro/motion-fx/recalc"),elementorFrontend.elements.$window.trigger("elementor/nested-tabs/activate",e),elementorFrontend.elements.$window.trigger("elementor/bg-video/recalc")}onHideTabContent(){this.elements.$widgetContainer.hasClass("content-above")&&this.resetContentContainersPosition()}changeActiveTab(e,t=!0,n=!1){if(this.clickInProgress&&elementorFrontend.isEditMode()&&!n)return;const s=this.isActiveTab(e);this.deactivateActiveTab(),(!s||s&&!t)&&(this.clickInProgress=!0,this.activateTab(e)),setTimeout(()=>{this.clickInProgress=!1})}changeActiveTabByKeyboard(e,t){if(t.widgetId.toString()!==this.getID().toString())return;if(!t.titleIndex){this.changeActiveTab("",!0,!0);return}const n=this.$element.find(`[data-focus-index="${t.titleIndex}"]`),s=n[0].tagName.toLowerCase()==="a",i=this.getSettings("selectors.tabDropdown"),o=s?n.next(i):n,a=this.getTabIndex(o[0]);this.changeActiveTab(a,!0,!0),e.stopPropagation()}onTabClick(e){var t,n,s,i;elementorFrontend.isEditMode()&&e.preventDefault();const o=(n=(t=e==null?void 0:e.currentTarget)==null?void 0:t.classList)==null?void 0:n.contains("link-only"),a=!this.isNeedToOpenOnClick()&&!this.isKeyboardNavigation;if(o||a)return;const l=this.getSettings("selectors");if(((i=(s=e==null?void 0:e.target)==null?void 0:s.closest(l.elementorWidgetWrapper))==null?void 0:i.getAttribute("data-id"))!==this.getID().toString())return;const d=e==null?void 0:e.currentTarget,h=d==null?void 0:d.querySelector(l.tabDropdown),_=this.getTabIndex(h);this.changeActiveTab(_,!0)}bindEvents(){this.elements.$tabTitles.on(this.getTabEvents()),this.elements.$dropdownMenuToggle.on("click",this.onClickToggleDropdownMenu.bind(this)),this.elements.$tabContents.on(this.getContentEvents()),this.elements.$menuContent.on(this.getContentEvents()),this.elements.$headingContainer.on(this.getHeadingEvents()),elementorFrontend.addListenerOnce(this.getModelCID(),"scroll",elementorFrontend.debounce(this.menuHeight
337Controller.reassignMobileMenuHeight.bind(this.menuHeightController),250)),elementorFrontend.elements.$window.on("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.on("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.on("elementor/mega-menu/dropdown-toggle-by-keyboard",this.onClickToggleDropdownMenuByKeyboard.bind(this)),elementorFrontend.elements.$window.on("resize",this.resizeEventHandler.bind(this)),elementorFrontend.isEditMode()&&(this.addChildLifeCycleEventListeners(),elementorFrontend.elements.$window.on("elementor/dynamic/url_change",this.changeMegaMenuTitleContainerTag.bind(this))),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}unbindEvents(){this.elements.$tabTitles.off(),this.elements.$menuContent.off(),this.elements.$tabContents.off(),this.elements.$headingContainer.off(),elementorFrontend.elements.$window.off("resize"),elementorFrontend.isEditMode()&&(this.removeChildLifeCycleEventListeners(),elementorFrontend.elements.$window.on("elementor/dynamic/url_change",this.changeMegaMenuTitleContainerTag.bind(this))),elementorFrontend.elements.$window.off("elementor/nested-tabs/activate",this.reInitSwipers),elementorFrontend.elements.$window.off("elementor/nested-elements/activate-by-keyboard",this.changeActiveTabByKeyboard.bind(this)),elementorFrontend.elements.$window.off("elementor/mega-menu/dropdown-toggle-by-keyboard",this.onClickToggleDropdownMenuByKeyboard.bind(this)),elementorFrontend.elements.$window.off("resize",this.resizeEventHandler.bind(this)),elementorFrontend.elements.$window.off("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}reInitSwipers(e,t){const n=t.querySelectorAll(".swiper");for(const s of n){if(!s.swiper)return;s.swiper.initialized=!1,s.swiper.init()}}resizeEventHandler(){this.resizeListener=this.handleContentContainerPosition(),this.setLayoutType(),this.setTouchMode(),this.menuHeightController.reassignMobileMenuHeight(),this.setScrollPosition();const e=this.getSettings("ariaAttributes").activeTitleSelector,t=this.elements.$tabDropdowns.filter(e).attr("data-tab-index"),n=`.elementor-element-${this.getID()} .e-n-menu .e-n-menu .e-n-menu-content > .e-con`,s=this.elements.$tabContents.filter(this.getTabContentFilterSelector(t)).not(n);this.menuHeightController.resetMenuHeight(s),this.menuHeightController.reassignMenuHeight(s)}addChildLifeCycleEventListeners(){this.lifecycleChangeListener=this.handleContentContainerChildrenChanges.bind(this),window.addEventListener("elementor/editor/element-rendered",this.lifecycleChangeListener),window.addEventListener("elementor/editor/element-destroyed",this.lifecycleChangeListener)}removeChildLifeCycleEventListeners(){window.removeEventListener("elementor/editor/element-rendered",this.lifecycleChangeListener),window.removeEventListener("elementor/editor/element-destroyed",this.lifecycleChangeListener)}handleContentContainerChildrenChanges(e){this.isNestedElementRenderedInContentContainer(e.detail.elementView)&&this.handleContentContainerPosition()}isNestedElementRenderedInContentContainer(e){const t=e==null?void 0:e.getContainer();return t?t.getParentAncestry().some(n=>this.getID().toString()===n.model.get("id").toString()):!1}getTabEvents(){const e={click:this.onTabClick.bind(this)};return this.isNeedToOpenOnClick()?e:this.replaceClickWithHover(e)}getContentEvents(){return this.isNeedToOpenOnClick()?{}:{mouseleave:this.onMouseLeave.bind(this),mousemove:this.trackMousePosition.bind(this)}}isNeedToOpenOnClick(){const e=this.getElementSettings();return this.isEdit||this.isMobileDevice()||e.open_on!=="hover"||e.item_layout==="dropdown"}isMobileDevice(){return["mobile","mobile_extra","tablet","tablet_extra"].includes(elementorFrontend.getCurrentDeviceMode())}replaceClickWithHover(e){return e.mouseenter=this.onMouseTitleEnter.bind(this),e.mouseleave=this.onMouseLeave.bind(this),e.keyup=this.setKeyboardNavigation.bind(this),e}onMouseTitleEnter(e){var t;e.preventDefault();const n=this.getSettings(),s=e==null?void 0:e.currentTarget,i=(t=s==null?void 0:s.closest(n.selectors.elementorWidgetWrapper))==null?void 0:t.getAttribute("data-id");if(this.$element[0].getAttribute("data-id")!==i)return;const o=n.ariaAttributes.titleStateAttribute,a=n.selectors.tabDropdown,l=s==null?void 0:s.querySelector(a);if((l==null?void 0:l.getAttribute(o))==="true")return;const d=l==null?void 0:l.getAttribute("data-tab-index");this.changeActiveTab(d,!0)}onClickToggleDropdownMenu(e){this.elements.$widgetContainer.attr("data-layout","dropdown");const t=this.getSettings("ariaAttributes").titleStateAttribute,n=this.elements.$dropdownMenuToggle.attr(t)==="true";typeof e!="boolean"&&(e=!n);const s=e?"true":"false";this.elements.$dropdownMenuToggle.attr(t,s),elementorFrontend.utils.events.dispatch(window,"elementor-pro/mega-menu/dropdown-open"),this.menuHeight
337Controller.reassignMobileMenuHeight()}onClickOutsideDropdownMenu(e){var t,n,s;if(!this.isNeedToOpenOnClick())return;const i=this.getSettings(),o=i.selectors,a=`.elementor-element-${this.getID()}`,l=`> .e-con.${i.classes.active}`,d=this.elements.$menuContent.find(l).length===0,h=elementorFrontend.isEditMode()&&!document.body.contains(e==null?void 0:e.target),_=!!((t=e==null?void 0:e.target)!=null&&t.closest(`${a} ${o.widgetContainer}`));if((s=(n=e==null?void 0:e.target)==null?void 0:n.classList)!=null&&s.contains(o.menuContent.replace(".",""))){this.deactivateActiveTab();return}d||_||h||this.deactivateActiveTab()}onClickToggleDropdownMenuByKeyboard(e,t){t.widgetId.toString()===this.getID().toString()&&this.onClickToggleDropdownMenu(t.show)}addAnimationToContentIfNeeded(e){const t=this.getElementSettings("open_animation");t==="none"||t===""||this.elements.$tabContents.filter(this.getTabContentFilterSelector(e)).addClass(`animated ${t}`)}removeAnimationFromContentIfNeeded(){const e=this.getElementSettings("open_animation");e==="none"||e===""||this.elements.$tabContents.removeClass(`animated ${e}`)}trackMousePosition(e){this.prevMouseY=e==null?void 0:e.clientY}isMenuContentHovered(){const e=this.getSettings();return this.$element.find(`${e.selectors.menuContent}:hover`).length>0}isCursorInBetweenMenuTitleAndContent(e){var t,n,s;const i=this.getSettings(),o=i.selectors,a=e==null?void 0:e.currentTarget,l=(t=a==null?void 0:a.closest(o.menuItem))==null?void 0:t.querySelector(o.menuContent),d=(n=a.classList)==null?void 0:n.contains(o.tabTitle.replace(".","")),h=(s=l==null?void 0:l.classList)==null?void 0:s.contains(i.classes.active);if(!d||!h)return!1;const _=a.getBoundingClientRect(),C=l.getBoundingClientRect(),w=e.clientY;return _.bottom<=C.top?w>=_.bottom&&w<C.top:w<=_.top&&w>C.bottom}didCursorMoveSidewaysOrDown(e){return this.prevMouseY!==null&&(e==null?void 0:e.clientY)>=this.prevMouseY}isHoveredDropdownMenu(e,t){return e&&this.didCursorMoveSidewaysOrDown(t)?!1:this.isMenuContentHovered()}onMouseLeave(e){var t,n;e.preventDefault();const s=(n=(t=e==null?void 0:e.currentTarget)==null?void 0:t.classList)==null?void 0:n.contains("e-con");!this.isHoveredDropdownMenu(s,e)&&!this.isCursorInBetweenMenuTitleAndContent(e)&&this.deactivateActiveTab()}onInit(...e){if(this.menuHeightController=new elementorProFrontend.utils.DropdownMenuHeightController(this.dropdownMenuHeightControllerConfig()),super.onInit(...e),this.getSettings("autoExpand")&&this.activateDefaultTab(),Mt(this.getHorizontalScrollingSettings()),this.setTouchMode(),!elementorFrontend.isEditMode()){const t=this.getSettings("classes");this.anchorLinks=new Sn(this.elements.$anchorLink,t),this.anchorLinks.initialize(),elementorFrontend.elements.$window.on("elementor/dynamic/url_change",this.changeMegaMenuTitleContainerTag.bind(this))}this.menuToggleVisibilityListener(this.elements.$dropdownMenuToggle),this.setScrollPosition(),this.onClickOutsideDropdownMenu=this.onClickOutsideDropdownMenu.bind(this),document.addEventListener("click",this.onClickOutsideDropdownMenu),this.clickInProgress=!1}onDestroy(){document.removeEventListener("click",this.onClickOutsideDropdownMenu),elementorFrontend.elements.$window.off("elementor/dynamic/url_change")}setScrollPosition(){Mt({element:this.elements.$headingContainer[0],direction:this.getItemPosition(),justifyCSSVariable:"--n-menu-heading-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()})}getPropsThatTriggerContentPositionCalculations(){return["content_horizontal_position","content_position","item_position_horizontal","content_width","item_layout"]}activeContainerWidthListener(e){let t=0;this.observedContainer=new ResizeObserver(n=>{var s;const i=(s=n[0].borderBoxSize)==null?void 0:s[0].inlineSize;i&&i!==t&&(t=i,t!==0&&this.handleContentContainerPosition())}),this.observedContainer.observe(e[0])}menuToggleVisibilityListener(e){let t;this.observedContainer=new ResizeObserver(n=>{var s;const i=(s=n[0].borderBoxSize)==null?void 0:s[0].inlineSize;i!==t&&(t=i,this.setLayoutType())}),this.observedContainer.observe(e[0])}onElementChange(e){this.getPropsThatTriggerContentPositionCalculations().includes(e)&&this.handleContentContainerPosition(),this.setLayoutType()}
337onEditSettingsChange(e,t){this.getSettings().autoFocus&&e==="activeItemIndex"&&this.changeActiveTab(t,!1),this.setLayoutType()}setLayoutType(){const e=this.elements.$dropdownMenuToggle.css("display")==="none"?"horizontal":"dropdown";this.elements.$widgetContainer.attr("data-layout",e)}getHeadingEvents(){const e=this.elements.$headingContainer[0];return{mousedown:this.changeScrollStatusAndDispatch.bind(this,e),mouseup:this.changeScrollStatusAndDispatch.bind(this,e),mouseleave:this.changeScrollStatusAndDispatch.bind(this,e),mousemove:this.setHorizontalTitleScrollValuesAndDispatch.bind(this,e)}}getHorizontalScrollSetting(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"horizontal_scroll","",e)}getItemPosition(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"item_position_horizontal","",e)}changeScrollStatusAndDispatch(e,t){en(e,t),elementorFrontend.elements.$window.trigger("elementor-pro/mega-menu/heading-mouse-event")}setHorizontalTitleScrollValuesAndDispatch(e,t){ho(e,this.getHorizontalScrollSetting(),t),elementorFrontend.elements.$window.trigger("elementor-pro/mega-menu/heading-mouse-event")}linkContainer(e){const{container:t}=e.detail,n=t.model.get("id"),s=String(this.$element.data("id")),i=t.view.$el;n===s&&(this.updateIndexValues(i),this.updateListeners(i))}updateIndexValues(e){const{selectors:{directTabTitle:t,directTabContent:n}}=this.getDefaultSettings(),s=e[0],i=s.querySelectorAll(n),o=s.querySelectorAll(t),a=this.getSettings(),l=o[0].getAttribute("id").slice(0,-1);o.forEach((d,h)=>{var _,C,w,B,D,G,X;const ie=h+1,be=l+ie,H=be.replace("e-n-menu-title-","e-n-menu-content-"),Q=be.replace("e-n-menu-title-","e-n-menu-dropdown-icon-");d.setAttribute("id",be),(_=d.querySelector(a.selectors.tabDropdown))==null||_.setAttribute("data-tab-index",ie),(C=d.querySelector(a.selectors.tabDropdown))==null||C.setAttribute("id",Q),(w=d.querySelector(a.selectors.tabDropdown))==null||w.setAttribute("aria-controls",H),(B=d.querySelector(a.selectors.tabTitleText))==null||B.setAttribute("data-binding-index",ie),(D=i[h])==null||D.setAttribute("aria-labelledby",Q),(G=i[h])==null||G.setAttribute("data-tab-index",ie),(X=i[h])==null||X.setAttribute("id",H)})}updateListeners(e){const{selectors:{tabClickableTitle:t,tabDropdown:n,tabContent:s,tabTitle:i}}=this.getSettings(),o=e.find(i),a=e.find(t);this.elements.$tabTitles=e.find(t),this.elements.$tabDropdowns=e.find(n),this.elements.$tabContents=e.find(s),o.off(),a.on(this.getTabEvents()),this.clickInProgress=!1}changeMegaMenuTitleContainerTag(e){var t;const{element:n,actionName:s,value:i}=e.detail,o=n.parentNode,a=o.parentNode,l=this.maybeCreateNewElement(o,i),d=this.maybeReplaceMenuItemTitleContent(o,l,a),h=((t=n.dataset)==null?void 0:t.currentUrl)||null;this.maybeUpdateNewElementsHref(i,d),this.eCurrentClassHandler(s,a,h===i)}maybeReplaceMenuItemTitleContent(e,t,n){return t?(Array.from(e.attributes).forEach(s=>{t.setAttribute(s.name,s.value)}),t.tagName==="A"?t.classList.add("e-link","e-focus"):t.tagName==="DIV"&&t.classList.remove("e-link","e-focus"),t.innerHTML=e.innerHTML,n.replaceChild(t,e),t):e}maybeCreateNewElement(e,t){if(!t)return document.createElement("div");if(t&&e.tagName==="DIV")return document.createElement("a")}maybeUpdateNewElementsHref(e,t){e?t.setAttribute("href",e):t.removeAttribute("href")}eCurrentClassHandler(e,t,n){const{classes:{activeAnchorItem:s},postUrl:i,internalUrl:o}=this.getSettings();switch(e){case i:t.classList.add(s);break;case o:n?t.classList.add(s):t.classList.remove(s);break;default:t.classList.contains(s)&&i!==e&&t.classList.remove(s);break}}setTouchMode(){const e=this.getSettings("selectors").widgetContainer;if(elementorFrontend.isEditMode()||(event==null?void 0:event.type)==="resize"){const t=["mobile","mobile_extra","tablet","tablet_extra"],n=elementorFrontend.getCurrentDeviceMode();if(t.indexOf(n)!==-1){this.$element.find(e).attr("data-touch-mode","true");return}}else if("ontouchstart"in window){this.$element.find(e).attr("data-touch-mode","true");return}this.$element.find(e).attr("data-touch-mode","false")}getTabsDirection(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"tabs_justify_horizontal","",e)}getHorizontalScrollingSettings(){return{element:this.elements.$headingContainer[0],direction:this.getTabsDirection(),justifyCSSVariable:"--n-tabs-heading-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()}}}})),Gl=b({default:()=>fo}),fo,Ql=g((()=>{fo=class extends elementorModules.frontend.handlers.StretchedElement{getStretchedClass(){return"elementor-widget-n-menu"}getStretchElementForConfig(){return this.$element.find(".e-n-menu-wrapper")}getStretchElementConfig(){const e=super.getStretchElementConfig();return e.cssOutput="variables",e}bindEvents(){super.bindEvents(),elementorFrontend.addListenerOnce(this.getUniqueHandlerID(),"elementor-pro/mega-menu/dropdown-open",this.stretch),elementorFrontend.elements.$window.on("elementor-pro/mega-menu/heading-mouse-event",this.stretch)}unbindEvents(){super.unbindEvents(),elementorFrontend.removeListeners(this.getUniqueHandlerID(),"elementor-pro/mega-menu/dropdown-open",this.stretch),elementorFrontend.elements.$window.off("elementor-pro/mega-menu/heading-mouse-event",this.stretch)}isStretchSettingEnabled(){return!0}isActive(){return!0}}})),Kl=b({default:()=>vo}),vo,Yl=g((()=>{Cn(),ae(),vo=class extends elementorModules.frontend.handlers.Base{constructor(...e){super(...e),V(this,"isEditorElementsChanged",!1)}__construct(...e){super.__construct(...e),this.focusableElementSelector=wn(),this.handleMenuToggleKeydown=this.handleMenuToggleKeydown.bind(this)}getDefaultSettings(){return{selectors:{widgetInnerWrapper:".e-n-menu",menuItem:".e-n-menu-item",menuItemWrapper:".e-n-menu-title",focusableMenuElement:".e-focus",itemContainer:".e-n-menu-content > .e-con, .e-n-menu-heading > .e-con",menuToggle:".e-n-menu-toggle",directTabTitle:":scope > .elementor-widget-container > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title,:scope > .e-n-menu > .e-n-menu-wrapper > .e-n-menu-heading > .e-n-menu-item > .e-n-menu-title",tabDropdown:".e-n-menu-dropdown-icon"},ariaAttributes:{titleStateAttribute:"aria-expanded",activeTitleSelector:'[aria-expanded="true"]',titleControlAttribute:"aria-controls"},datasets:{titleIndex:"data-focus-index"}}}getDefaultElements(){const e=this.getSettings("selectors");return{$menuItemWrappers:this.findElement(e.menuItemWrapper),$focusableMenuElements:this.findElement(e.focusableMenuElement),$itemContainers:this.findElement(e.itemContainer),$focusableContainerElements:this.getFocusableElements(this.findElement(e.itemContainer)),$menuToggle:this.findElement(e.menuToggle)}}getFocusableElements(e){return e.find(this.focusableElementSelector).not('[disabled], [inert], [tabindex="-1"]')}getTitleIndex(e){const{titleIndex:t}=this.getSettings("datasets");return parseInt(e==null?void 0:e.getAttribute(t))}getTitleFilterSelector(e){const{titleIndex:t}=this.getSettings("datasets");return`[${t}="${e}"]`}getActiveTitleElement(){const e=this.getSettings("ariaAttributes").activeTitleSelector;
337return this.elements.$focusableMenuElements.filter(e)}onInit(...e){super.onInit(...e);let t=1;this.elements.$focusableMenuElements.each((n,s)=>{s.setAttribute(this.getSettings("datasets").titleIndex,t++)})}getTitleEvents(){return{keydown:this.handleTitleKeyboardNavigation.bind(this),keyup:this.handeTitleKeyUp.bind(this)}}getContentElementEvents(){return{keydown:this.handleContentElementKeyboardNavigation.bind(this)}}bindEvents(){this.elements.$focusableMenuElements.on(this.getTitleEvents()),this.elements.$focusableContainerElements.on(this.getContentElementEvents()),elementorFrontend.elements.$window.on("keydown",this.handleMenuToggleKeydown),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}unbindEvents(){this.elements.$focusableMenuElements.off(this.getTitleEvents()),this.elements.$focusableContainerElements.off(this.getContentElementEvents()),elementorFrontend.elements.$window.off("keydown",this.handleMenuToggleKeydown),elementorFrontend.elements.$window.off("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}handleMenuToggleKeydown(e){e.key==="Escape"&&(e.preventDefault(),e.stopPropagation(),this.closeMenuDropdown())}handleTitleKeyboardNavigation(e){switch(e.key){case"Tab":var t;this.maybeRebindFocusableElements();const n=this.elements.$focusableMenuElements,s=!e.shiftKey,i=s&&n.last().is(jQuery(e.currentTarget)),o=!s&&n.first().is(jQuery(e.currentTarget));if(this.isDropdownLayout()&&!i&&!o)return;const a=!e.currentTarget.getAttribute("aria-expanded")||((t=e.currentTarget)===null||t===void 0?void 0:t.getAttribute("aria-expanded"))==="false";(s&&a||o)&&(this.closeActiveContentElements(),this.closeMenuDropdown());break;case"Home":case"End":this.handleTitleHomeOrEndKey(e);break;case"Enter":case" ":this.handleTitleActivationKey(e);break;case"Escape":this.handleTitleEscapeKey(e);break}}handeTitleKeyUp(e){var t;if(this.isDropdownLayout())return!0;const n=e.key==="Tab",s=!e.currentTarget.getAttribute("aria-expanded")||((t=e.currentTarget)===null||t===void 0?void 0:t.getAttribute("aria-expanded"))==="false";n&&s&&this.closeActiveContentElements()}isDropdownLayout(){const e=this.getSettings("selectors");return this.$element.find(e.widgetInnerWrapper).attr("data-layout")==="dropdown"}closeMenuDropdown(){this.isDropdownLayout()&&elementorFrontend.elements.$window.trigger("elementor/mega-menu/dropdown-toggle-by-keyboard",{widgetId:this.getID(),show:!1})}handleTitleHomeOrEndKey(e){e.preventDefault();const t=this.getTitleIndex(e.currentTarget)||1,n=this.elements.$focusableMenuElements.length,s=this.getTitleIndexFocusUpdated(e,t,n);this.setTitleFocus(s),e.stopPropagation()}handleTitleActivationKey(e){if(e.preventDefault(),this.handleTitleLinkEnterOrSpaceEvent(e))return;const t=this.getTitleIndex(e.currentTarget);elementorFrontend.elements.$window.trigger("elementor/nested-elements/activate-by-keyboard",{widgetId:this.getID(),titleIndex:t})}setTitleFocus(e){this.elements.$focusableMenuElements.filter(this.getTitleFilterSelector(e)).trigger("focus")}handleTitleLinkEnterOrSpaceEvent(e){var t;const n=(e==null||(t=e.currentTarget)===null||t===void 0||(t=t.tagName)===null||t===void 0?void 0:t.toLowerCase())==="a";if(!elementorFrontend.isEditMode()&&n){var s;e==null||(s=e.currentTarget)===null||s===void 0||s.click(),e.stopPropagation()}return n}handleTitleEscapeKey(e){e.preventDefault(),e.stopPropagation(),this.isDropdownLayout()&&(elementorFrontend.elements.$window.trigger("elementor/mega-menu/dropdown-toggle-by-keyboard",{widgetId:this.getID()}),this.setFocusToMenuToggle()),elementorFrontend.elements.$window.trigger("elementor/nested-elements/activate-by-keyboard",{widgetId:this.getID()})}setFocusToMenuToggle(){const e=this.getSettings("selectors");this.$element.find(e.menuToggle).trigger("focus")}handleContentElementKeyboardNavigation(e){switch(e.key){case"Tab":e.shiftKey||this.handleContentElementTabEvents(e);break;case"Escape":e.preventDefault(),e.stopPropagation(),this.handleContentElementEscapeEvents(e);break}}maybeRebindFocusableElements(){this.isEditorElementsChanged&&(this.elements.$focu
337sableContainerElements.off(this.getContentElementEvents()),this.elements.$focusableContainerElements=this.getFocusableElements(this.elements.$itemContainers),this.elements.$focusableContainerElements.on(this.getContentElementEvents()),this.isEditorElementsChanged=!1)}handleContentElementTabEvents(e){const t=this.getSettings("selectors"),n=jQuery(e.currentTarget),s=t.itemContainer,i=n.closest(s),o=this.getFocusableElements(i).last();if(!n.is(o))return;this.isDropdownLayout()||this.closeActiveContentElements();const a=t.menuItem,l=i.closest(a).next(a).length===0;this.isDropdownLayout()&&l&&(this.closeActiveContentElements(),this.closeMenuDropdown())}handleContentElementEscapeEvents(){this.getActiveTitleElement().trigger("focus"),this.closeActiveContentElements()}closeActiveContentElements(){elementorFrontend.elements.$window.trigger("elementor/nested-elements/activate-by-keyboard",{widgetId:this.getID()})}linkContainer(e){const{container:t}=e.detail,n=t.model.get("id"),s=String(this.$element.data("id")),i=t.view.$el;n===s&&(this.updateIndexValues(i),this.updateListeners(i))}updateIndexValues(e){const{selectors:{directTabTitle:t,tabDropdown:n}}=this.getDefaultSettings(),s=e[0].querySelectorAll(t);let i=1;s.forEach(o=>{o.querySelector("a")&&o.querySelector("a").setAttribute("data-focus-index",i++),o.querySelector(n)&&o.querySelector(n).setAttribute("data-focus-index",i++)})}updateListeners(e){this.elements.$focusableMenuElements.off();const{selectors:{focusableMenuElement:t,itemContainer:n}}=this.getSettings();this.elements.$focusableMenuElements=e.find(t),this.elements.$itemContainers=e.find(n),this.elements.$focusableMenuElements.on(this.getTitleEvents()),this.isEditorElementsChanged=!0}}})),Xl=(ft=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("mega-menu",[()=>v(()=>Promise.resolve().then(()=>(Ul(),Vl)),void 0),()=>v(()=>Promise.resolve().then(()=>(Ql(),Gl)),void 0),()=>v(()=>Promise.resolve().then(()=>(Yl(),Kl)),void 0)])}},f(ft,"default"),ft),Jl=b({default:()=>_o}),_o,Zl=g((()=>{_e(),he(),_o=class extends elementorModules.frontend.handlers.CarouselBase{getDefaultSettings(){const e=super.getDefaultSettings();return e.selectors.carousel=".e-n-carousel",e.selectors.slidesWrapper=".e-n-carousel > .swiper-wrapper",e}getSwiperSettings(){const e=super.getSwiperSettings(),t=this.getElementSettings(),n=elementorFrontend.config.is_rtl,s=`.elementor-element-${this.getID()}`;return elementorFrontend.isEditMode()&&(delete e.autoplay,e.loop=!1,e.noSwipingSelector=".swiper-slide > .e-con .elementor-element"),t.arrows==="yes"&&(e.navigation={prevEl:n?`${s} .elementor-swiper-button-next`:`${s} .elementor-swiper-button-prev`,nextEl:n?`${s} .elementor-swiper-button-prev`:`${s} .elementor-swiper-button-next`}),this.applySwipeOptions(e),e}onInit(...e){var t=()=>super.onInit,n=this;return ee(function*(){n.wrapSlideContent(),t().call(n,...e),n.ranElementHandlers=!1})()}initSwiper(){var e=this;return ee(function*(){const t=elementorFrontend.utils.swiper;e.swiper=yield new t(e.elements.$swiperContainer,e.getSwiperSettings()),e.elements.$swiperContainer.data("swiper",e.swiper)})()}handleElementHandlers(){this.ranElementHandlers||!this.swiper||(ve(Array.from(this.swiper.slides).filter(e=>e.classList.contains(this.swiper.params.slideDuplicateClass))),this.ranElementHandlers=!0)}wrapSlideContent(){if(!elementorFrontend.isEditMode())return;const e=this.getSettings(),t=e.selectors.slideContent.replace(".",""),n=this.$element;let s=1;this.findElement(`${e.selectors.slidesWrapper} > .e-con`).each(function(){const i=jQuery(this),o=i.closest("div").hasClass(t),a=n.find(`${e.selectors.slidesWrapper} > .${t}:nth-child(${s})`);o||a.append(i),s++})}togglePauseOnHover(e){elementorFrontend.isEditMode()||super.togglePauseOnHover(e)}getChangeableProperties(){return{arrows_position:"arrows_position"}}
337applySwipeOptions(e){this.isTouchDevice()?(e.touchRatio=1,e.longSwipesRatio=.3,e.followFinger=!0,e.threshold=10):e.shortSwipes=!1}isTouchDevice(){return elementorFrontend.utils.environment.isTouchDevice}linkContainer(e){var t=this;return ee(function*(){const{container:n,index:s,targetContainer:i,action:{type:o}}=e.detail,a=n.view.$el;if(n.model.get("id")===t.$element.data("id")){const{$slides:l}=t.getDefaultElements();let d,h;switch(o){case"move":[d,h]=t.move(a,s,i,l);break;case"duplicate":[d,h]=t.duplicate(a,s,i,l);break;default:break}d!==void 0&&d.appendChild(h),t.shouldHideNavButtons(a,l),t.updateIndexValues(l);const _=t.swiper&&!t.swiper.destroyed,C=l.length>1;!_&&C?yield t.initSwiper():_&&!C&&t.swiper.destroy(!0),t.updateListeners()}})()}updateListeners(){this.swiper.initialized=!1,this.swiper.init()}move(e,t,n,s){return[s[t],n.view.$el[0]]}duplicate(e,t,n,s){return[s[t+1],n.view.$el[0]]}updateIndexValues(e){e.each((t,n)=>{const s=t+1;n.setAttribute("data-slide",s)})}bindEvents(){super.bindEvents(),elementorFrontend.elements.$window.on("elementor/nested-container/atomic-repeater",this.linkContainer.bind(this))}shouldHideNavButtons(e,t){var n;const s=e[0].querySelectorAll(".elementor-swiper-button"),i=t.length===1;i!==((n=s[0])===null||n===void 0?void 0:n.classList.contains("hide"))&&s.forEach(o=>{o.classList.toggle("hide",i)})}}})),ec=(vt=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("nested-carousel",()=>v(()=>Promise.resolve().then(()=>(Zl(),Jl)),void 0))}},f(vt,"default"),vt);Gn();var tc=class{constructor(){this.widgets={}}get(){return this.widgets}getWidget(e){return this.widgets[e]}setWidget(e,t){this.widgets[e]=t}unsetWidget(e){delete this.widgets[e]}getFilters(e){return this.getWidget(e).filters}getFilter(e,t){return this.getWidget(e).filters[t]}setFilter(e,t,n){this.getWidget(e).filters[t]=n}unsetFilter(e,t){delete this.getWidget(e).filters[t]}getFilterTerms(e,t){var n;return(n=this.getFilter(e,t).filterData.terms)!==null&&n!==void 0?n:[]}setFilterTerms(e,t,n){this.getFilter(e,t).filterData.terms=n}getConsolidatedFilters(e){return this.getWidget(e).consolidatedFilters}setConsolidatedFilters(e,t){this.getWidget(e).consolidatedFilters=t}addWidget(e){this.setWidget(e,{filters:{},consolidatedFilters:{}})}maybeInitializeWidget(e){this.getWidget(e)||this.addWidget(e)}maybeInitializeFilter(e,t){this.getFilter(e,t)||this.setFilter(e,t,{filterData:{terms:[]}})}consolidateFilters(e){const t=this.getFilters(e),n={};for(const i in t){const o=t[i],a=o.filterType,l=o.filterData;if(l.terms.length!==0&&(n[a]||(n[a]={}),n[a][l.selectedTaxonomy]||(n[a][l.selectedTaxonomy]=[]),l.terms&&(!n[a][l.selectedTaxonomy].terms||!n[a][l.selectedTaxonomy].terms.includes(l.terms))&&(n[a][l.selectedTaxonomy]={terms:l.terms==="string"?[l.terms]:l.terms}),l.logicalJoin&&!n[a][l.selectedTaxonomy].logicalJoin)){var s;n[a][l.selectedTaxonomy]=ce(ce({},n[a][l.selectedTaxonomy]||{}),{},{logicalJoin:(s=l.logicalJoin)!==null&&s!==void 0?s:"AND"})}}this.setConsolidatedFilters(e,n)}},bo=Ss(((e,t)=>{var n={AND:{separator:{decoded:"+",fromBrowser:" ",encoded:"%2B"},operator:"AND"},OR:{separator:{decoded:"~",fromBrowser:"~",encoded:"%7C"},operator:"IN"},NOT:{separator:{decoded:"!",fromBrowser:"!",encoded:"%21"},operator:"NOT IN"},DISABLED:{separator:{decoded:"",fromBrowser:"",encoded:""},operator:"AND"}};t.exports={queryConstants:n}}));_e(),uo();var Pt=bo(),nc=class extends elementorModules.Module{constructor(){super(),this.loopWidgetsStore=new tc}removeFilterFromLoopWidget(e,t,n="",s=""){if(!this.loopWidgetsStore.getWidget(e)){this.loopWidgetsStore.addWidget(e),this.refreshLoopWidget(e,t);return}if(n===s&&this.loopWidgetsStore.unsetFilter(e,t),n!==s){const i=this.loopWidgetsStore.getFilterTerms(e,t).filter(function(o){return o!==n});this.loopWidgetsStore.setFilterTerms(e,t,i)}this.refreshLoopWidget(e,t)}setFilterDataForLoopWidget(e,t,n,s=!0,i="DISABLED"){var o;this.loopWidgetsStore.maybeInitializeWidget(e),this.loopWidgetsStore.maybeInitializeFilter(e,t);const a=this.validateMultipleFilterOperator(i);if(a!=="DISABLED"){const l=(o=this.loopWidgetsStore.getFilterTerms(e,t))!=null?o:[],d=n.filterData.terms;n.filterData.terms=[...new Set([...l,...d])],n.filterData.logicalJoin=a}if(this.loopWidgetsStore.setFilter(e,t,n),s){this.refreshLoopWidget(e,t);return}this.loopWidgetsStore.consolidateFilters(e)}validateMultipleFilterOperator(e){return!e||!["AND","OR"].includes(e)?"DISABLED":e}
337getQueryStringInObjectForm(){var e;const t={};for(const n in this.loopWidgetsStore.get()){const s=this.loopWidgetsStore.getWidget(n);for(const i in s.consolidatedFilters){const o=s.consolidatedFilters[i];for(const a in o){const l=Pt.queryConstants[(e=o[a].logicalJoin)!=null?e:"AND"].separator.decoded;t[`e-filter-${n}-${a}`]=Object.values(o[a].terms).join(l)}}}return t}updateURLQueryString(e,t){const n=new URL(window.location.href).searchParams,s=this.getQueryStringInObjectForm(),i=new URLSearchParams;n.forEach((l,d)=>{d.startsWith("e-filter")||i.append(d,l),d.startsWith("e-page-"+e)&&i.delete(d)});for(const l in s)i.set(l,s[l]);let o=i.toString();o=o.replace(new RegExp(`${Pt.queryConstants.AND.separator.encoded}`,"g"),Pt.queryConstants.AND.separator.decoded),o=o.replace(new RegExp(`${Pt.queryConstants.OR.separator.encoded}`,"g"),Pt.queryConstants.OR.separator.decoded);const a=this.getFilterHelperAttributes(t);a.pageNum>1?o=o?this.formatQueryString(a.baseUrl,o):a.baseUrl:o=o?`?${o}`:location.pathname,history.pushState(null,null,o)}formatQueryString(e,t){const n=e.includes("?")?new URLSearchParams(e.split("?")[1]):new URLSearchParams,s=new URLSearchParams(t);for(const o of n.keys())s.has(o)&&s.delete(o);for(const o of["page","paged"])n.delete(o),s.delete(o);const i=new URLSearchParams(n.toString());for(const[o,a]of s.entries())i.append(o,a);return e.split("?")[0]+(i.toString()?`?${i.toString()}`:"")}getFilterHelperAttributes(e){const t=document.querySelector('[data-id="'+e+'"]');return t?t.querySelector(".e-filter").dataset:{baseUrl:location.href,pageNum:1}}prepareLoopUpdateRequestData(e,t){const n=this.loopWidgetsStore.getConsolidatedFilters(e),s=this.getFilterHelperAttributes(t),i={post_id:this.getClosestDataElementorId(document.querySelector(`.elementor-element-${e}`))||elementorFrontend.config.post.id,widget_filters:n,widget_id:e,pagination_base_url:s.baseUrl};return elementorFrontend.isEditMode()&&(i.widget_model=window.top.$e.components.get("document").utils.findContainerById(e).model.toJSON({remove:["default","editSettings","defaultEditSettings"]}),i.is_edit_mode=!0),i}getClosestDataElementorId(e){const t=e==null?void 0:e.closest("[data-elementor-id]");return t?t.getAttribute("data-elementor-id"):null}getFetchArgumentsForLoopUpdate(e,t){var n,s;const i=this.prepareLoopUpdateRequestData(e,t),o={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i)};return elementorFrontend.isEditMode()&&((n=elementorPro.config.loopFilter)!=null&&n.nonce)&&(o.headers["X-WP-Nonce"]=(s=elementorPro.config.loopFilter)==null?void 0:s.nonce),o}fetchUpdatedLoopWidgetMarkup(e,t){return fetch(`${elementorProFrontend.config.urls.rest}elementor-pro/v1/refresh-loop`,this.getFetchArgumentsForLoopUpdate(e,t))}createElementFromHTMLString(e){const t=document.createElement("div");return e?(t.innerHTML=e.trim(),t.firstElementChild):(t.classList.add("elementor-widget-container"),t)}refreshLoopWidget(e,t){this.loopWidgetsStore.consolidateFilters(e),this.updateURLQueryString(e,t);const n=document.querySelector(`.elementor-element-${e}`);if(n)return this.ajaxHelper||(this.ajaxHelper=new Yn),this.ajaxHelper.addLoadingAnimationOverlay(e),this.fetchUpdatedLoopWidgetMarkup(e,t).then(s=>!(s instanceof Response)||!(s!=null&&s.ok)||400<=(s==null?void 0:s.status)?{}:s.json()).catch(()=>({})).then(s=>{if(!(s!=null&&s.data)&&(s==null?void 0:s.data)!=="")return;const i=n.querySelector(".elementor-widget-container"),o=this.createElementFromHTMLString(s.data);n.replaceChild(o,i),this.handleElementHandlers(n),ElementorProFrontendConfig.settings.lazy_load_background_images&&document.dispatchEvent(new Event("elementor/lazyload/observe")),elementorFrontend.elementsHandler.runReadyTrigger(document.querySelector(`.elementor-element-${e}`)),n.classList.remove("e-loading")}).finally(()=>{this.ajaxHelper.removeLoadingAnimationOverlay(e)})}handleElementHandlers(e){ve(e.querySelectorAll(".e-loop-item"))}},sc=b({default:()=>So}),tn,So,ic=g((()=>{go(),tn=bo(),So=class extends elementorModules.frontend.handlers.Base{constructor(...e){super(...e),this.resizeListenerNestedTabs=null}getDefaultSettings(){return{selectors:{item:".e-filter-item",container:".e-filter"},filterValues:{default:"__all"}}}getDefaultElements(){return{$filterButtons:this.$element.find(this.getSettings("selectors.item")),$container:this.$element.find(this.getSettings("selectors.container"))}}getHeadingEvents(){const e=this.elements.$container[0];return{mousedown:en.bind(this,e),mouseup:en.bind(this,e),mouseleave:en.bind(this,e),mousemove:ho.bind(this,e,this.getHorizontalScrollSetting())}}bindEvents(){this.elements.$filterButtons.on("click",this.onFilterButtonClick.bind(this)),this.elements.$container.on(this.getHeadingEvents());const e={element:this.elements.$container[0],direction:this.getItemsAlignment(),justifyCSSVariable:"--e-filter-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()};this.resizeListenerNestedTabs=Mt.bind(this,e),elementorFrontend.elements.$window.on("resize",this.resizeListenerNestedTabs)}onElementChange(e){this.checkSliderPropsToWatch(e)&&Mt({element:this.elements.$container[0],direction:this.getItemsAlignment(),justifyCSSVariable:"--e-filter-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()})}checkSliderPropsToWatch(e){return e.indexOf("horizontal_scroll")===0||e.indexOf("item_al
337ignment_horizontal")===0}getFilterButtonElements(){var e;return(e=this.elements)!=null&&e.$filterButtons.length?this.elements.$filterButtons:(this.elements=this.getDefaultElements(),this.bindEvents(),this.elements.$filterButtons)}getActiveFilterButtonElements(){return this.getFilterButtonElements().filter('[aria-pressed="true"]')}activateFilterButton(e){const t=this.getFilterButtonElements(),n=this.getElementSettings("multiple_selection")==="yes";if(!t.length)return;const s=this.getSettings("filterValues.default");(!n||s===e)&&t.attr("aria-pressed",!1),t.filter('[data-filter="'+e+'"]').attr("aria-pressed",!0);const i=this.getCurrentlyActiveFilter();i&&i.includes(s)&&s!==e&&this.deactivateDefaultFilterButton(t)}deactivateFilterButton(e){const t=this.getFilterButtonElements(),n=this.getElementSettings("multiple_selection")==="yes";if(!t.length)return;const s=t.filter('[data-filter="'+e+'"]'),i=this.getSettings("filterValues.default"),o=this.getCurrentlyActiveFilter(),a=!n||!o.includes(i)&&o.length===1;s.attr("aria-pressed",!1),a&&this.activateDefaultFilterButton(),elementorProFrontend.modules.taxonomyFilter.removeFilterFromLoopWidget(this.getElementSettings("selected_element"),this.getID(),e,i)}activateDefaultFilterButton(){const e=this.getFilterButtonElements(),t=e.filter('[data-filter="'+this.getSettings("filterValues.default")+'"]');e.attr("aria-pressed",!1),t.attr("aria-pressed",!0)}deactivateDefaultFilterButton(){this.getFilterButtonElements().filter('[data-filter="'+this.getSettings("filterValues.default")+'"]').attr("aria-pressed",!1)}getCurrentlyActiveFilter(){const e=this.getActiveFilterButtonElements(),t=[];for(let n=0;n<e.length;n++)t.push(e[n].dataset.filter);return t}getFilterOperator(){const e=this.getElementSettings();return!e.multiple_selection||!["AND","OR"].includes(e.logical_combination)?"DISABLED":e.logical_combination}filterItems(e){const t=this.getElementSettings(),n=this.getSettings("filterValues.default");if(n===e){elementorProFrontend.modules.taxonomyFilter.removeFilterFromLoopWidget(t.selected_element,this.getID(),e,n);return}const s=this.getFilterOperator();elementorProFrontend.modules.taxonomyFilter.setFilterDataForLoopWidget(t.selected_element,this.getID(),{filterType:"taxonomy",filterData:{selectedTaxonomy:t.taxonomy,terms:[e]}},!0,s)}setFilter(e=this.getSettings("filterValues.default")){this.filterItems(e),this.activateFilterButton(e)}onFilterButtonClick(e){var t,n;this.removePaginationHiddenClassOnLoopWidgetContainer();const s=this.getCurrentlyActiveFilter(),i=(n=(t=e.currentTarget)==null?void 0:t.dataset)==null?void 0:n.filter;if(!this.userClickedOnAllWhileItWasActive(i,s)){if(s.includes(i)){this.deactivateFilterButton(i);return}this.setFilter(i)}}removePaginationHiddenClassOnLoopWidgetContainer(){const e=this.getElementSettings(),t=document.querySelector(".elementor-element-"+e.selected_element);t&&t.classList.remove("e-load-more-pagination-end")}userClickedOnAllWhileItWasActive(e,t){return t.includes(e)&&e===this.getSettings("filterValues.default")}onDestroy(){const e=this.getElementSettings("selected_element"),t=this.getElementSettings("taxonomy"),n=this.getID();e&&t&&elementorProFrontend.modules.taxonomyFilter.removeFilterFromLoopWidget(e,n,""),super.onDestroy()}populateLoopWidgetsStoreOnInitialPageLoad(){const e=this.getElementSettings();let t=new URLSearchParams(window.location.search).get("e-filter-"+e.selected_element+"-"+e.taxonomy);if(t){t=this.getTermsFromParams(t);const n=this.getFilterOperator();elementorProFrontend.modules.taxonomyFilter.setFilterDataForLoopWidget(e.selected_element,this.getID(),{filterType:"taxonomy",filterData:{selectedTaxonomy:e.taxonomy,terms:t}},!1,n)}}getTermsFromParams(e){let t=tn.queryConstants.AND.separator.fromBrowser;return e.includes(tn.queryConstants.OR.separator.fromBrowser)&&(t=tn.queryConstants.OR.separator.fromBrowser),e.split(t)}onInit(){super.onInit(),this.populateLoopWidgetsStoreOnInitialPageLoad(),Mt({element:this.elements.$container[0],direction:this.getItemsAlignment(),justifyCSSVariable:"--e-filter-justify-content",horizontalScrollStatus:this.getHorizontalScrollSetting()})}getHorizontalScrollSetting(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"horizontal_scroll","",e)}getItemsAlignment(){const e=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),"item_alignment_horizontal","",e)}}})),oc=class extends nc{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("taxonomy-filter",()=>v(()=>Promise.resolve().then(()=>(ic(),sc)),void 0))}},rc=b({default:()=>yo}),yo,ac=g((()=>{si(),_e(),ae(),yo=class extends elementorModules.frontend.handlers.Base{constructor(...e){super(...e),V(this,"keyboardHandler",null),V(this,"isOffCanvasOpenedOnce",!1)}getDefaultSettings(){return{selectors:{wrapper:".e-off-canvas",overlay:".e-off-canvas__overlay",main:".e-off-canvas__main",content:".e-off-canvas__content",body:"body"}}}getDefaultElements(){const e=this.getSettings();return{$wrapper:this.$element.find(e.selectors.wrapper),$overlay:this.$element.find(e.selectors.overlay),$main:this.$element.find(e.selectors.main),$content:this.$element.find(e.selectors.content),$body:jQuery(e.selectors.body)}}onInit(){super.onInit(),this.initAriaAttributesToTriggerElements(),this.isEditingMode()?this.maybeDisableScroll():this.addClassToPreviousSiblingInsideASection()}onDestroy(){super.onDestroy(),this.enableScroll()}bindEvents(){this.elements.$overlay.on("click",e=>{e.preventDefault(),this.onClickOverlay(e)}),elementorFrontend.elements.$window.on("keydown",this.onCanvasKeyDown.bind(this)),this.elements.$main.on("animationend animationcancel",this.removeAnimationClasses.bind(this)),elementorFrontend.elements.$window.on("elementor-pro/off-canvas/toggle-display-mode",this.handleDisplayToggle.bind(this))}unbindEvents(){this.elements.$overlay.off(),this.elements.$main.off(),elementorFrontend.elements.$window.off("keydown",this.onCanvasKeyDown),elementorFrontend.elements.$window.off("elementor-pro/off-canvas/toggle-display-mode")}handleDisplayToggle(e){var t;if(e.originalEvent.detail.id!==this.getWidgetId())return;const n=e.originalEvent.detail.displayMode,s=this.isVisible()?"open":"close",i=(e==null||(t=e.originalEvent)===null||t===void 0||(t=t.detail)===null||t===void 0||(t=t.previousEvent)===null||t===void 0?void 0:t.pointerType)==="";n==="open"?this.openOffCanvas(i):n==="close"?this.closeOffCanvas():n==="toggle"&&this[s==="open"?"closeOffCanvas":"openOffCanvas"](i)}openOffCanvas(e=!1){this.isVisible()||this.isInsideCarousel()||(this.elements.$wrapper.attr("aria-hidden","false"),this.elements.$wrapper.removeAttr("inert"),this.elements.$wrapper.removeAttr("data-delay-child-handlers"),this.updateAriaExpandedOfTriggerElements("true"),this.toggleDraggable(!1),this.maybeOnOpenAnimation(),this.maybeDisableScroll(),this.handleElementHandlers(),e&&this.handleKeyboardA11y())}handleKeyboardA11y(){this.initKeyboardHandler(),this.keyboardHandler.onOpenModal()}closeOffCanvas(){this.isVisible()&&(this.maybeOnCloseAnimation(),this.elements.$wrapper.attr("aria-hidden","true"),this.elements.$wrapper.attr("inert",""),this.updateAriaExpandedOfTriggerElements("false"),this.toggleDraggable(!0),this.enableScroll())}onCanvasKeyDown(e){e.key!=="Escape"||this.getElementSettings("is_not_close_on_esc_overlay")==="yes"||this.closeOffCanvas()}onClickOverlay(){this.getElementSettings().is_not_close_on_overlay==="yes"||this.isEditingMode()||this.closeOffCanvas()}maybeOnOpenAnimation(){const e=this.getResponsiveSetting("entrance_animation")||"none";e==="none"?this.elements.$wrapper.addClass("no-animation"):this.elements.$wrapper.removeClass("no-animation"),this.elements.$main.addClass(`animated ${e}`),this.elements.$wrapper.removeClass("animated-reverse-wrapper")}maybeOnCloseAnimation(){const e=this.getResponsiveSetting("exit_animation")||"none";e==="none"?this.elements.$wrapper.addClass("no-animation"):this.elements.$wrapper.removeClass("no-animation"),this.elements.$main.addClass(`animated reverse ${e}`),this.elements.$wrapper.addClass("animated-reverse-wrapper"),this.elements.$body.addClass("e-off-canvas__no-scroll-animation")}removeAnimationClasses(){const e=this.elements.$main.hasClass("reverse"),t=this.getResponsiveSetting("entrance_animation")||"none",n=this.getResponsiveSetting("exit_animation")||"none";if(e){var s;this.elements.$main.removeClass(`animated reverse ${n}`),this.elements.$wrapper.removeClass("animated-reverse-wrapper"),this.elements.$body.removeClass("e-off-canvas__no-scroll-animation"),(s=this.keyboardHandler)===null||s===void 0||s.onCloseModal()}else this.elements.$main.removeClass(`animated ${t}`)}getResponsiveSetting(e){const t=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),e,"",t)}isEditingMode(){return this.getElementSettings("editing_mode")==="yes"&&elementorFrontend.isEditMode()}maybeDisableScroll(){this.getElementSettings("prevent_scroll")==="yes"&&this.elements.$body.addClass("e-off-canvas__no-scroll")}enableScroll(){this.elements.$body.removeClass("e-off-canvas__no-scroll")}toggleDraggable(e){elementorFrontend.isEditMode()&&this.elements.$overlay.css("opacity")!=="0"&&this.$element.attr("draggable",e)}handleEditingModeToggle(){this.getElementSettings("editing_mode")==="yes"?this.openOffCanvas():this.closeOffCanvas()}getKeyboardHandlingConfig(){return{$modalElements:this.elements.$wrapper,$elementWrapper:this.elements.$content,modalType:"off-canvas",modalId:this.getID()}}initAriaAttributesToTriggerElements(){this.getTriggerElements().forEac
337h(e=>{e.setAttribute("aria-controls",`off-canvas-${this.getID()}`),e.setAttribute("aria-expanded","false")})}getTriggerElements(){const e=elementorFrontend.elements.window.document.body.querySelectorAll("a"),t=Array.from(e).filter(s=>{var i;return(i=s.href)===null||i===void 0?void 0:i.includes("elementor-action")}),n=[];return t.forEach(s=>{if(!this.isActionUrlIdEqualToWidgetId(s.href))return!1;n.push(s)}),n}updateAriaExpandedOfTriggerElements(e){elementorFrontend.elements.window.document.body.querySelectorAll(`[aria-controls="off-canvas-${this.getID()}"]`).forEach(t=>{t.setAttribute("aria-expanded",e)})}isActionUrlIdEqualToWidgetId(e){const t=decodeURIComponent(e);let n={};const s=t.match(/settings=(.+)/);return s&&(n=JSON.parse(atob(s[1]))),this.getID()===(n==null?void 0:n.id)}isVisible(){return this.elements.$wrapper.attr("aria-hidden")==="false"}maybeDragWidgetsBeneathOverlay(){this.elements.$overlay.toggleClass("no-pointer-events")}onElementChange(e){e==="editing_mode"&&this.handleEditingModeToggle(),e==="has_overlay"&&this.maybeDragWidgetsBeneathOverlay("has_overlay")}handleElementHandlers(){this.isOffCanvasOpenedOnce||(ve(this.elements.$main[0].querySelectorAll(".e-off-canvas__content")),this.isOffCanvasOpenedOnce=!0)}initKeyboardHandler(){this.keyboardHandler||(this.keyboardHandler=new En(this.getKeyboardHandlingConfig()))}addClassToPreviousSiblingInsideASection(){if(!this.$element[0].closest(".elementor-section"))return;const e=this.$element[0].previousElementSibling;e==null||e.classList.add("e-element-before-off-canvas")}getWidgetId(){if(!(this.$element.closest(".e-loop-item").length>0))return this.getID().toString();const e=this.elements.$wrapper.attr("id");return e?e.replace("off-canvas-",""):this.getID().toString()}isInsideCarousel(){return this.$element.closest(".swiper-wrapper").length>0}}})),lc=(_t=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("off-canvas",()=>v(()=>Promise.resolve().then(()=>(ac(),rc)),void 0)),elementorFrontend.on("components:init",()=>this.onFrontendComponentsInit())}onFrontendComponentsInit(){this.addUrlActions()}addUrlActions(){elementorFrontend.utils.urlActions.addAction("off_canvas:open",t=>{this.toggleOffCanvasDisplay(t)}),elementorFrontend.utils.urlActions.addAction("off_canvas:close",t=>{this.toggleOffCanvasDisplay(t)}),elementorFrontend.utils.urlActions.addAction("off_canvas:toggle",t=>{this.toggleOffCanvasDisplay(t)})}toggleOffCanvasDisplay(t){window.dispatchEvent(new CustomEvent("elementor-pro/off-canvas/toggle-display-mode",{detail:t}))}},f(_t,"default"),_t),Ot=Ss(((e,t)=>{t.exports=elementorModules.ViewModule.extend({$element:null,editorListeners:null,onElementChange:null,onEditSettingsChange:null,onPageSettingsChange:null,isEdit:null,__construct(n){this.isActive(n)&&(this.$element=n.$element,this.isEdit=this.$element.hasClass("elementor-element-edit-mode"),this.isEdit&&this.addEditorListeners())},isActive(){return!0},isElementInTheCurrentDocument(){return elementorFrontend.isEditMode()?elementor.documents.currentDocument.id.toString()===this.$element[0].closest(".elementor").dataset.elementorId:!1},findElement(n){var s=this.$element;return s.find(n).filter(function(){return jQuery(this).parent().closest(".elementor-element").is(s)})},getUniqueHandlerID(n,s){return n||(n=this.getModelCID()),s||(s=this.$element),n+s.attr("data-element_type")+this.getConstructorID()},initEditorListeners(){var n=this;if(n.editorListeners=[{event:"element:destroy",to:elementor.channels.data,callback(s){s.cid===n.getModelCID()&&n.onDestroy()}}],n.onElementChange){const s=n.getWidgetType()||n.getElementType();let i="change";s!=="global"&&(i+=":"+s),n.editorListeners.push({event:i,to:elementor.channels.editor,callback(o,a){n.getUniqueHandlerID(a.model.cid,a.$el)===n.getUniqueHandlerID()&&n.onElementChange(o.model.get("name"),o,a)}})}n.onEditSettingsChange&&n.editorListeners.push({event:"change:editSettings",to:elementor.channels.editor,callback(s,i){if(i.model.cid!==n.getModelCID())return;const o=Object.keys(s.changed)[0];n.onEditSettingsChange(o,s.changed[o])}}),["page"].forEach(function(s){var i="on"+s[0].toUpperCase()+s.slice(1)+"SettingsChange";n[i]&&n.editorListeners.push({event:"change",to:elementor.settings[s].model,callback(o){n[i](o.changed)}})})},getEditorListeners(){return this.editorListeners||this.initEditorListeners(),this.editorListeners},addEditorListeners(){var n=this.getUniqueHandlerID();
337this.getEditorListeners().forEach(function(s){elementorFrontend.addListenerOnce(n,s.event,s.callback,s.to)})},removeEditorListeners(){var n=this.getUniqueHandlerID();this.getEditorListeners().forEach(function(s){elementorFrontend.removeListeners(n,s.event,null,s.to)})},getElementType(){return this.$element.data("element_type")},getWidgetType(){const n=this.$element.data("widget_type");if(n)return n.split(".")[0]},getID(){return this.$element.data("id")},getModelCID(){return this.$element.data("model-cid")},getElementSettings(n){let s={};const i=this.getModelCID();if(this.isEdit&&i){const o=elementorFrontend.config.elements.data[i],a=o.attributes;let l=a.widgetType||a.elType;a.isInner&&(l="inner-"+l);let d=elementorFrontend.config.elements.keys[l];d||(d=elementorFrontend.config.elements.keys[l]=[],jQuery.each(o.controls,(h,_)=>{(_.frontend_available||_.editor_available)&&d.push(h)})),jQuery.each(o.getActiveControls(),function(h){if(d.indexOf(h)!==-1){let _=a[h];_.toJSON&&(_=_.toJSON()),s[h]=_}})}else s=this.$element.data("settings")||{};return this.getItems(s,n)},getEditSettings(n){var s={};return this.isEdit&&(s=elementorFrontend.config.elements.editSettings[this.getModelCID()].attributes),this.getItems(s,n)},getCurrentDeviceSetting(n){return elementorFrontend.getCurrentDeviceSetting(this.getElementSettings(),n)},onInit(){this.isActive(this.getSettings())&&elementorModules.ViewModule.prototype.onInit.apply(this,arguments)},onDestroy(){this.isEdit&&this.removeEditorListeners(),this.unbindEvents&&this.unbindEvents()}})})),wo,Bt,nn=g((()=>{wo=It(Ot()),ae(),Bt=class extends wo.default{constructor(...e){super(...e),V(this,"clicks",[])}getDefaultSettings(){return{selectors:{contentWrapper:".e-contact-buttons__content-wrapper",contentWrapperFloatingBars:".e-floating-bars",floatingBarCouponButton:".e-floating-bars__coupon-button",floatingBarsHeadline:".e-floating-bars__headline",contactButtonsVar4:".e-contact-buttons__contact-icon-link",contactButtonsVar5:".e-contact-buttons__chat-button",contactButtonsVar6:".e-contact-buttons-var-6",contactButtonsVar8:".e-contact-buttons-var-8",elementorWrapper:'[data-elementor-type="floating-buttons"]',contactButtonCore:".e-contact-buttons__send-button"}}}getDefaultElements(){const e=this.getSettings("selectors");return{contentWrapper:this.$element[0].querySelector(e.contentWrapper),contentWrapperFloatingBars:this.$element[0].querySelector(e.contentWrapperFloatingBars),contactButtonsVar5:this.$element[0].querySelector(e.contactButtonsVar5),contactButtonsVar6:this.$element[0].querySelector(e.contactButtonsVar6)}}bindEvents(){this.elements.contentWrapper&&this.elements.contentWrapper.addEventListener("click",this.onChatButtonTrackClick.bind(this)),this.elements.contactButtonsVar5&&this.elements.contactButtonsVar5.addEventListener("click",this.onChatButtonTrackClick.bind(this)),this.elements.contactButtonsVar6&&this.elements.contactButtonsVar6.addEventListener("click",this.onChatButtonTrackClick.bind(this)),this.elements.contentWrapperFloatingBars&&this.elements.contentWrapperFloatingBars.addEventListener("click",this.onChatButtonTrackClick.bind(this)),window.addEventListener("beforeunload",()=>{this.clicks.length>0&&this.sendClicks()})}onChatButtonTrackClick(e){const t=e.target||e.srcElement,n=this.getSettings("selectors"),s=[n.contactButtonsVar4,n.contactButtonsVar6,n.floatingBarCouponButton,n.floatingBarsHeadline,n.contactButtonCore];for(const i of s)(t.matches(i)||t.closest(i))&&this.getDocumentIdAndTrack(t,n);(t.matches(n.contactButtonsVar5)||t.closest(n.contactButtonsVar5))&&t.closest(".e-contact-buttons-var-5")&&this.getDocumentIdAndTrack(t,n)}getDocumentIdAndTrack(e,t){const n=e.closest(t.elementorWrapper).dataset.elementorId;this.trackClick(n)}trackClick(e){e&&(this.clicks.push(e),this.clicks.length>=10&&this.sendClicks())}sendClicks(){var e,t;const n=new FormData;n.append("action","elementor_send_clicks"),n.append("_nonce",(e=elementorFrontendConfig)===null||e===void 0||(e=e.nonces)===null||e===void 0?void 0:e.floatingButtonsClickTracking),this.clicks.forEach(s=>n.append("clicks[]",s)),fetch((t=elementorFrontendConfig)===null||t===void 0||(t=t.urls)===null||t===void 0?void 0:t.ajaxurl,{method:"POST",body:n}).then(()=>{this.clicks=[]})}}})),cc=b({default:()=>Eo}),Co,Eo,dc=g((()=>{Co=It(Ot()),nn(),ae(),Eo=class extends Co.default{constructor(...e){super(...e),V(this,"clicks",[])}getDefaultSettings(){return{selectors:{main:".e-contact-buttons",content:".e-contact-buttons__content",contentWrapper:".e-contact-buttons__content-wrapper",chatButton:".e-contact-buttons__chat-button",closeButton:".e-contact-buttons__close-button",messageBubbleTime:".e-contact-buttons__message-bubble-time"},constants:{entranceAnimation:"style_chat_box_entrance_animation",exitAnimation:"style_chat_box_exit_animation",chatButtonAnimation:"style_chat_button_animation",animated:"animated",animatedWrapper:"animated-wrapper",visible:"visible",reverse:"reverse",hidden:"hidden",hasAnimations:"has-animations",hasEntranceAnimation:"has-entrance-animation",none:"none"}}}getDefaultElements(){const e=this.getSettings("selectors");return{main:this.$element[0].querySelector(e.main),content:this.$element[0].querySelector(e.content),contentWrapper:this.$element[0].querySelector(e.contentWrapper),chatButton:this.$element[0].querySelector(e.chatButton),closeButton:this.$element[0].querySelector(e.closeButton),messageBubbleTime:this.$element[0].querySelector(e.messageBubbleTime)}}getResponsiveSetting(e){const t=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),e,"",t)}bindEvents(){this.elements.closeButton&&this.elements.closeButton.addEventListener("click",this.closeChatBox.bind(this)),this.elements.chatButton&&(this.elements.chatButton.addEventListener("click",this.onChatButtonClick.bind(this)),this.elements.chatButton.addEventListener("animationend",this.removeChatButtonAnimationClasses.bind(this))),this.elements.content&&this.elements.content.addEventListener("animationend",this.removeAnimationClasses.bind(this)),this.elements.contentWrapper&&window.addEventListener("keyup",this.onDocumentKeyup.bind(this))}contentWrapperIsHidden(e){if(!this.elements.contentWrapper)return!1;const{hidden:t}=this.getSettings("constants");if(e===!0){this.elements.contentWrapper.classList.add(t),this.elements.contentWrapper.setAttribute("aria-hidden","true");return}if(e===!1){this.elements.contentWrapper.classList.remove(t),this.elements.contentWrapper.setAttribute("aria-hidden","false");return}return this.elements.contentWrapper.classList.contains(t)}onDocumentKeyup(e){e.keyCode!==27||!this.elements.main||!this.contentWrapperIsHidden()&&this.elements.main.contains(document.activeElement)&&this.closeChatBox()}onChatButtonTrackClick(e){const t=e.target||e.srcElement,n=this.getSettings("selectors"),s=[n.contactButtonsVar4,n.contactButtonsVar6,n.contactButtonCore];for(const i of s)(t.matches(i)||t.closest(i))&&this.getDocumentIdAndTrack(t,n);(t.matches(n.contactButtonsVar5)||t.closest(n.contactButtonsVar5))&&t.closest(".e-contact-buttons-var-5")&&this.getDocumentIdAndTrack(t,n)}getDocumentIdAndTrack(e,t){let n=e.closest(t.main).dataset.documentId;n||(n=e.closest(t.elementorWrapper).dataset.elementorId),this.trackClick(n)}trackClick(e){e&&(this.clicks.push(e),this.clicks.length>=10&&this.sendClicks())}sendClicks(){var e,t;const n=new FormData;n.append("action","elementor_send_clicks"),n.append("_nonce",(e=elementorFrontendConfig)===null||e===void 0||(e=e.nonces)===null||e===void 0?void 0:e.floatingButtonsClickTracking),this.clicks.forEach(s=>n.append("clicks[]",s)),fetch((t=elementorFrontendConfig)===null||t===void 0||(t=t.urls)===null||t===void 0?void 0:t.ajaxurl,{method:"POST",body:n}).then(()=>{this.clicks=[]})}
337removeAnimationClasses(){if(!this.elements.content)return;const{reverse:e,entranceAnimation:t,exitAnimation:n,animated:s,visible:i}=this.getSettings("constants"),o=this.elements.content.classList.contains(e),a=this.getResponsiveSetting(t),l=this.getResponsiveSetting(n);o?(this.elements.content.classList.remove(s),this.elements.content.classList.remove(e),l&&this.elements.content.classList.remove(l),this.elements.content.classList.remove(i)):(this.elements.content.classList.remove(s),a&&this.elements.content.classList.remove(a),this.elements.content.classList.add(i))}chatBoxEntranceAnimation(){const{entranceAnimation:e,animated:t,animatedWrapper:n,none:s}=this.getSettings("constants"),i=this.getResponsiveSetting(e);!i||s===i||(this.elements.content&&(this.elements.content.classList.add(t),this.elements.content.classList.add(i)),this.elements.contentWrapper&&this.elements.contentWrapper.classList.remove(n))}chatBoxExitAnimation(){const{reverse:e,exitAnimation:t,animated:n,animatedWrapper:s,none:i}=this.getSettings("constants"),o=this.getResponsiveSetting(t);!o||i===o||(this.elements.content&&(this.elements.content.classList.add(n),this.elements.content.classList.add(e),this.elements.content.classList.add(o)),this.elements.contentWrapper&&this.elements.contentWrapper.classList.add(s))}openChatBox(){const{hasAnimations:e,visible:t}=this.getSettings("constants");this.elements.main&&this.elements.main.classList.contains(e)?this.chatBoxEntranceAnimation():this.elements.content&&this.elements.content.classList.add(t),this.elements.contentWrapper&&(this.contentWrapperIsHidden(!1),elementorFrontend.isEditMode()||(this.elements.contentWrapper.setAttribute("tabindex","0"),this.elements.contentWrapper.focus({focusVisible:!0}))),this.elements.chatButton&&this.elements.chatButton.setAttribute("aria-expanded","true"),this.elements.closeButton&&this.elements.closeButton.setAttribute("aria-expanded","true")}closeChatBox(){const{hasAnimations:e,visible:t}=this.getSettings("constants");this.elements.main&&this.elements.main.classList.contains(e)?this.chatBoxExitAnimation():this.elements.content&&this.elements.content.classList.remove(t),this.elements.contentWrapper&&this.contentWrapperIsHidden(!0),this.elements.chatButton&&(this.elements.chatButton.setAttribute("aria-expanded","false"),this.elements.chatButton.focus({focusVisible:!0})),this.elements.closeButton&&this.elements.closeButton.setAttribute("aria-expanded","false")}onChatButtonClick(){this.elements.contentWrapper&&this.contentWrapperIsHidden()?this.openChatBox():this.closeChatBox()}initMessageBubbleTime(){if(!this.elements.messageBubbleTime)return;const e=this.elements.messageBubbleTime.dataset.timeFormat==="12h",t=new Intl.DateTimeFormat("default",{hour12:e,hour:"numeric",minute:"numeric"}).format(new Date);this.elements.messageBubbleTime.innerHTML=t}removeChatButtonAnimationClasses(){if(!this.elements.chatButton)return;const{chatButtonAnimation:e,visible:t}=this.getSettings("constants");this.elements.chatButton.classList.remove(e),this.elements.chatButton.classList.add(t)}initChatButtonEntranceAnimation(){const{none:e,chatButtonAnimation:t}=this.getSettings("constants"),n=this.getResponsiveSetting(t);!n||e===n||this.elements.chatButton.classList.add(n)}initDefaultState(){var e;if(this.elements.contentWrapper){const t=this.contentWrapperIsHidden();this.elements.chatButton&&this.elements.chatButton.setAttribute("aria-expanded",!t),this.elements.closeButton&&this.elements.closeButton.setAttribute("aria-expanded",!t)}elementorFrontend.isEditMode()&&((e=elementor)===null||e===void 0||(e=e.config)===null||e===void 0||(e=e.document)===null||e===void 0?void 0:e.type)==="floating-buttons"&&this.openChatBox()}setupInnerContainer(){this.elements.main.closest(".e-con-inner").classList.add("e-con-inner--floating-buttons")}onInit(...e){const{hasEntranceAnimation:t}=this.getSettings("constants");super.onInit(...e),this.clickTrackingHandler=new Bt({$element:this.$element}),this.elements.messageBubbleTime&&this.initMessageBubbleTime(),this.initDefaultState(),this.elements.chatButton&&this.elements.chatButton.classList.contains(t)&&this.initChatButtonEntranceAnimation(),this.setupInnerContainer()}}})),uc=b({default:()=>$o}),To,$o,mc=g((()=>{To=It(Ot()),nn(),$o=class extends To.default{getDefaultSettings(){return{selectors:{main:".e-contact-buttons-var-10",links:".e-contact-buttons__contact-icon-link"},constants:{active:"active"}}
337}getDefaultElements(){const e=this.getSettings("selectors");return{main:this.$element[0].querySelector(e.main),links:this.$element[0].querySelectorAll(e.links)}}isMobileDevice(){return["mobile","mobile_extra"].includes(elementorFrontend.getCurrentDeviceMode())}handleLinkClick(e){e.preventDefault();const{active:t}=this.getSettings("constants");if(e.currentTarget.classList.contains(t)){const n=e.currentTarget.getAttribute("href"),s=e.currentTarget.getAttribute("target");s?window.open(n,s):n&&(window.location.href=n),e.currentTarget.classList.remove(t)}else this.closeAllLinks(),e.currentTarget.classList.add(t)}closeAllLinks(){const{active:e}=this.getSettings("constants");this.elements.links.forEach(t=>t.classList.remove(e))}linksEventListeners(){this.elements.links.length&&this.isMobileDevice()&&(this.elements.links.forEach(e=>{e.addEventListener("click",t=>{this.handleLinkClick(t)})}),document.addEventListener("click",e=>{this.elements.main.contains(e.target)||this.closeAllLinks()}))}bindEvents(){this.linksEventListeners()}setupInnerContainer(){this.elements.main.closest(".e-con-inner").classList.add("e-con-inner--floating-buttons")}onInit(...e){super.onInit(...e),this.clickTrackingHandler=new Bt({$element:this.$element}),this.setupInnerContainer()}}})),Jn,Ao=g((()=>{Jn=class{constructor(e){this.$element=e}maybeMoveToTop(){const e=this.$element[0],t=e.querySelector(".e-floating-bars");if(elementorFrontend.isEditMode()){t.classList.add("is-sticky");return}if(e.dataset.widget_type.startsWith("floating-bars")&&t.classList.contains("has-vertical-position-top")&&!t.classList.contains("is-sticky")){const n=document.getElementById("wpadminbar"),s=e.closest(".elementor");n?n.after(s):document.body.prepend(s)}}}})),hc=b({default:()=>Io}),Fo,Io,gc=g((()=>{var e;Fo=It(Ot()),Ao(),nn(),Io=(e=class extends Fo.default{getDefaultSettings(){return{selectors:{main:".e-floating-bars",closeButton:".e-floating-bars__close-button",playButton:".e-floating-bars__play-button",pauseButton:".e-floating-bars__pause-button",headline:".e-floating-bars__headline",headlines:".e-floating-bars__headlines",headlinesInner:".e-floating-bars__headlines-inner",overlay:".e-floating-bars__overlay"},constants:{isHidden:"is-hidden",isSticky:"is-sticky",hasVerticalPositionTop:"has-vertical-position-top",hasVerticalPositionBottom:"has-vertical-position-bottom",isPaused:"is-paused",animationTypeControl:"style_ticker_animation_type",autoplay:"autoplay"}}}onElementChange(n){["style_headline_text_typography_font_size","style_headlines_icon_size","style_floating_bar_padding","style_floating_bar_controls_size","style_floating_bar_element_spacing"].includes(n)&&this.initDefaultState()}getDefaultElements(){const n=this.getSettings("selectors");return{main:this.$element[0].querySelector(n.main),closeButton:this.$element[0].querySelector(n.closeButton),pauseButton:this.$element[0].querySelector(n.pauseButton),playButton:this.$element[0].querySelector(n.playButton),headlineAll:this.$element[0].querySelectorAll(n.headline),headlines:this.$element[0].querySelector(n.headlines),headlinesInner:this.$element[0].querySelector(n.headlinesInner),overlay:this.$element[0].querySelector(n.overlay)}}getResponsiveSetting(n){const s=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),n,"",s)}bindEvents(){this.elements.closeButton&&this.elements.closeButton.addEventListener("click",this.closeFloatingBar.bind(this)),this.elements.pauseButton&&this.elements.pauseButton.addEventListener("click",this.pauseCarousel.bind(this)),this.elements.playButton&&this.elements.playButton.addEventListener("click",this.playCarousel.bind(this)),this.hasStickyElements()&&window.addEventListener("resize",this.handleStickyElements.bind(this))}isMobileDevice(){return["mobile","mobile_extra"].includes(elementorFrontend.getCurrentDeviceMode())}isStickyTop(){const{isSticky:n,hasVerticalPositionTop:s}=this.getSettings("constants");return this.elements.main.classList.contains(n)&&this.elements.main.classList.contains(s)}isStickyBottom(){const{isSticky:n,hasVerticalPositionBottom:s}=this.getSettings("constants");return this.elements.main.classList.contains(n)&&this.elements.main.classList.contains(s)}hasStickyElements(){return document.querySelectorAll(".elementor-sticky").length>0}pauseCarousel(){const{isPaused:n}=this.getSettings("constants");this.elements.headlines.classList.add(n),this.elements.playButton&&this.elements.pauseButton&&(this.elements.playButton.setAttribute("aria-hidden","false"),this.elements.pauseButton.setAttribute("aria-hidden","true"))}playCarousel(){const{isPaused:n}=this.getSettings("constants");this.elements.headlines.classList.remove(n),this.elements.playButton&&this.elements.pauseButton&&(this.elements.pauseButton.setAttribute("aria-hidden","false"),this.elements.playButton.setAttribute("aria-hidden","true"))}closeFloatingBar(){const{isHidden:n}=this.getSettings("constants");elementorFrontend.isEditMode()||(this.elements.main.classList.add(n),this.hasStickyElements()?this.handleStickyElements():this.isStickyTop()&&this.removeBodyPadding())}focusOnLoad(){this.elements.main.setAttribute("tabindex","0"),this.elements.main.focus({focusVisible:!0})}applyBodyPadding(){const n=this.elements.main.offsetHeight;document.body.style.paddingTop=`${n}px`}removeBodyPadding(){document.body.style.paddingTop="0"}cloneScrollerContent(){Array.from(this.elements.headlinesInner.children).forEac
337h(n=>{const s=n.cloneNode(!0);s.setAttribute("aria-hidden","true"),s.classList.add("e-floating-bars__headline--clone"),this.elements.headlinesInner.appendChild(s)})}cloneHeadlinesToFillContainer(){let n=this.elements.headlinesInner.offsetWidth;const s=this.elements.headlines.offsetWidth;for(;n<s;)this.cloneScrollerContent(),n=this.elements.headlinesInner.offsetWidth}cloneHeadlinesInner(){const n=this.elements.headlinesInner.cloneNode(!0),s=this.elements.overlay;n.classList.add("e-floating-bars__headlines-inner--clone"),n.setAttribute("aria-hidden","true"),this.elements.headlines.insertBefore(n,s)}handleBrowserScrollAnimation(){document.addEventListener("scroll",()=>{const n=window.scrollY,s=this.elements.headlinesInner.lastElementChild;elementorFrontend.config.is_rtl?(this.elements.headlinesInner.style.transform=`translateX(${n}px)`,s.lastElementChild.getBoundingClientRect().left>=this.elements.headlines.getBoundingClientRect().left&&this.cloneScrollerContent()):(this.elements.headlinesInner.style.transform=`translateX(-${n}px)`,s.lastElementChild.getBoundingClientRect().right<=this.elements.headlines.getBoundingClientRect().right&&this.cloneScrollerContent())})}handleTickerClick(n){n.preventDefault();const{isPlaying:s}=this.getSettings("constants");if(this.elements.headlines.classList.contains(s))this.pauseCarousel();else{const i=n.currentTarget.getAttribute("href"),o=n.currentTarget.getAttribute("target");o?window.open(i,o):i&&(window.location.href=i),this.playCarousel()}}handleWPAdminBar(){const n=elementorFrontend.elements.$wpAdminBar;n.length&&(this.elements.main.style.top=`${n.height()}px`)}handleStickyElements(){const n=this.elements.main.offsetHeight,s=elementorFrontend.elements.$wpAdminBar,i=document.querySelectorAll(".elementor-sticky:not(.elementor-sticky__spacer)");i.length!==0&&(i.forEach(o=>{var a;const l=o.getAttribute("data-settings"),d=(a=JSON.parse(l))==null?void 0:a.sticky,h=o.style.top==="0px"||d==="top",_=o.style.bottom==="0px"||d==="bottom";this.isStickyTop()&&h?s.length?o.style.top=`${n+s.height()}px`:o.style.top=`${n}px`:this.isStickyBottom()&&_&&(o.style.bottom=`${n}px`),elementorFrontend.isEditMode()&&(h?o.style.top=this.isStickyTop()?`${n}px`:"0px":_&&(o.style.bottom=this.isStickyBottom()?`${n}px`:"0px"))}),document.querySelectorAll(".elementor-sticky__spacer").forEach(o=>{var a;const l=o.getAttribute("data-settings"),d=(a=JSON.parse(l))==null?void 0:a.sticky,h=o.style.top==="0px"||d==="top";this.isStickyTop()&&h&&(o.style.marginBottom=`${n}px`)}))}handleClickOutside(){const{isPlaying:n}=this.getSettings("constants");document.addEventListener("click",s=>{!this.elements.headlines.classList.contains(n)&&!this.elements.main.contains(s.target)&&this.playCarousel()})}initScrollingAnimation(){const{autoplay:n,animationTypeControl:s}=this.getSettings("constants");n===this.getResponsiveSetting(s)?(this.cloneHeadlinesInner(),this.elements.headlines.setAttribute("data-animated","true"),this.playCarousel(),this.isMobileDevice()&&(this.elements.headlineAll.forEach(i=>{i.addEventListener("click",this.handleTickerClick.bind(this))}),this.handleClickOutside())):this.handleBrowserScrollAnimation()}initDefaultState(){this.isStickyTop()&&this.handleWPAdminBar(),this.hasStickyElements()?this.handleStickyElements():this.isStickyTop()&&this.applyBodyPadding(),this.elements.main&&!elementorFrontend.isEditMode()&&this.focusOnLoad(),this.elements.headlinesInner&&this.cloneHeadlinesToFillContainer(),window.matchMedia("(prefers-reduced-motion: reduce)").matches||this.initScrollingAnimation()}setupInnerContainer(){this.elements.main.closest(".e-con-inner").classList.add("e-con-inner--floating-bars"),this.elements.main.closest(".e-con").classList.add("e-con--floating-bars")}onInit(...n){super.onInit(...n),this.clickTrackingHandler=new Bt({$element:this.$element}),new Jn(this.$element).maybeMoveToTop(),this.initDefaultState(),this.setupInnerContainer()}},f(e,"FloatingBarsHandler"),e)}));function pc(){var e;return!!(!((e=navigator)===null||e===void 0)&&e.clipboard)}function fc(e){if(!pc())throw new Error("Cannot copy to clipboard, please make sure you are using SSL in your website.");navigator.clipboard.writeText(e)}var vc=g((()=>{})),_c=b({default:()=>xo}),ko,xo,bc=g((()=>{ko=It(Ot()),vc(),Ao(),nn(),xo=class extends ko.default{getDefaultSettings(){return{selectors:{main:".e-floating-bars",mainV3:".e-floating-bars-var-3",closeButton:".e-floating-bars__close-button",couponButton:".e-floating-bars__coupon-button",couponCode:".e-floating-bars__coupon-code",codeTextGroup:".e-floating-bars__coupon-code",successTextGroup:".e-floating-bars__coupon-success"},constants:{couponEntranceAnimation:"style_coupon_animation",couponEntranceAnimationDelay:"style_coupon_animation_delay",hasEntranceAnimation:"has-entrance-animation",visible:"visible",isSticky:"is-sticky",hasVerticalPositionTop:"has-vertical-position-top",hasVerticalPositionBottom:"has-vertical-position-bottom",isHidden:"is-hidden",successMessageDurationControl:"style_coupon_success_message_duration",animated:"animated"}}}getDefaultElements(){const e=this.getSettings("selectors");return{main:this.$element[0].querySelector(e.main),mainV3:this.$element[0].querySelector(e.mainV3),mainAll:this.$element[0].querySelectorAll(e.main),closeButton:this.$element[0].querySelector(e.closeButton),couponButton:this.$element[0].querySelector(e.couponButton),couponCode:this.$element[0].querySelector(e.couponCode),codeTextGroup:this.$element[0].querySelector(e.codeTextGroup),successTextGroup:this.$element[0].querySelector(e.successTextGroup)}}getResponsiveSetting(e){const t=elementorFrontend.getCurrentDeviceMode();return elementorFrontend.utils.controls.getResponsiveControlValue(this.getElementSettings(),e,"",t)}bindEvents(){this.elements.closeButton&&this.elements.closeButton.addEventListener("click",this.closeFloatingBar.bind(this)),this.elements.couponButton&&this.elements.couponButton.addEventListener("animationend",this.handleAnimationEnd.bind(this)),this.elements.main&&window.addEventListener("keyup",this.onDocumentKeyup.bind(this)),this.elements.couponButton&&this.elements.couponButton.addEventListener("click",this.handleCouponButtonClick.bind(this)),this.hasStickyElements()&&window.addEventListener("resize",this.handleStickyElements.bind(this))}isStickyTop(){const{isSticky:e,hasVerticalPositionTop:t}=this.getSettings("constants");return this.elements.main.classList.contains(e)&&this.elements.main.classList.contains(t)}isStickyBottom(){const{isSticky:e,hasVerticalPositionBottom:t}=this.getSettings("constants");return this.elements.main.classList.contains(e)&&this.elements.main.classList.contains(t)}hasStickyElements(){return document.querySelectorAll(".elementor-sticky").length>0}focusOnLoad(){this.elements.main.setAttribute("tabindex","0"),this.elements.main.focus({focusVisible:!0})}applyBodyPadding(){const e=this.elements.main.offsetHeight;document.body.style.paddingTop=`${e}px`}removeBodyPadding(){document.body.style.paddingTop="0"}handleWPAdminBar(){const e=elementorFrontend.elements.$wpAdminBar;e.length&&(this.elements.main.style.top=`${e.height()}px`)}handleStickyElements(){const e=this.elements.main.offsetHeight,t=elementorFrontend.elements.$wpAdminBar,n=document.querySelectorAll(".elementor-sticky:not(.elementor-sticky__spacer)");n.length!==0&&(n.forEach(s=>{var i;const o=s.getAttribute("data-settings"),a=(i=JSON.parse(o))===null||i===void 0?void 0:i.sticky,l=s.style.top==="0px"||a==="top",d=s.style.bottom==="0px"||a==="bottom";this.isStickyTop()&&l?t.length?s.style.top=`${e+t.height()}px`:s.style.top=`${e}px`:this.isStickyBottom()&&d&&(s.style.bottom=`${e}px`),elementorFrontend.isEditMode()&&(l?s.style.top=this.isStickyTop()?`${e}px`:"0px":d&&(s.style.bottom=this.isStickyBottom()?`${e}px`:"0px"))}),document.querySelectorAll(".elementor-sticky__spacer").forEach(s=>{var i;const o=s.getAttribute("data-settings"),a=(i=JSON.parse(o))===null||i===void 0?void 0:i.sticky,l=s.style.top==="0px"||a==="top";this.isStickyTop()&&l&&(s.style.marginBottom=`${e}px`)}))}closeFloatingBar(){const{isHidden:e}=this.getSettings("constants");elementorFrontend.isEditMode()||(this.elements.main.classList.add(e),this.hasStickyElements()?this.handleStickyElements():this.isStickyTop()&&this.removeBodyPadding())}initEntranceAnimation(){const{animated:e,couponEntranceAnimation:t,couponEntranceAnimationDelay:n,hasEntranceAnimation:s}=this.getSettings("constants"),i=this.getResponsiveSetting(t),o=(this.getResponsiveSetting(n)||0)+500;this.elements.couponButton.classList.add(e),this.elements.couponButton.classList.add(i),setTimeout(()=>{this.elements.couponButton.classList.remove(s)},o)}handleAnimationEnd(){this.removeEntranceAnimationClasses(),this.focusOnLoad()}
337removeEntranceAnimationClasses(){if(!this.elements.couponButton)return;const{animated:e,couponEntranceAnimation:t,visible:n}=this.getSettings("constants"),s=this.getResponsiveSetting(t);this.elements.couponButton.classList.remove(e),this.elements.couponButton.classList.remove(s),this.elements.couponButton.classList.add(n)}onDocumentKeyup(e){e.keyCode!==27||!this.elements.main||this.elements.main.contains(document.activeElement)&&this.closeFloatingBar()}getDuration(e){const t=e.unit==="s",n=t?"1.5":"1500",s=e.size!==""?e.size:n;return t?s*1e3:s}handleCouponButtonClick(e){const{successMessageDurationControl:t,isHidden:n}=this.getSettings("constants"),s=this.elements.couponCode.innerText,i=this.getResponsiveSetting(t),o=this.getDuration(i),a=e.currentTarget.getBoundingClientRect().width,l=e.currentTarget.getBoundingClientRect().height;this.elements.mainV3.style.setProperty("--e-floating-bars-coupon-width",`${a}px`),this.elements.mainV3.style.setProperty("--e-floating-bars-coupon-height",`${l}px`),fc(s),this.elements.codeTextGroup.classList.add(n),this.elements.successTextGroup.classList.remove(n),setTimeout(()=>{this.elements.codeTextGroup.classList.remove(n),this.elements.successTextGroup.classList.add(n),this.elements.mainV3.style.setProperty("--e-floating-bars-coupon-width","initial"),this.elements.mainV3.style.setProperty("--e-floating-bars-coupon-height","initial")},o)}initDefaultState(){const{hasEntranceAnimation:e}=this.getSettings("constants");this.isStickyTop()&&this.handleWPAdminBar(),this.hasStickyElements()?this.handleStickyElements():this.isStickyTop()&&this.applyBodyPadding(),this.elements.main&&!this.elements.couponButton.classList.contains(e)&&!elementorFrontend.isEditMode()&&this.focusOnLoad()}setupInnerContainer(){this.elements.main.closest(".e-con-inner").classList.add("e-con-inner--floating-bars"),this.elements.main.closest(".e-con").classList.add("e-con--floating-bars")}onInit(...e){const{hasEntranceAnimation:t}=this.getSettings("constants");super.onInit(...e),this.clickTrackingHandler=new Bt({$element:this.$element}),new Jn(this.$element).maybeMoveToTop(),this.elements.couponButton&&this.elements.couponButton.classList.contains(t)&&this.initEntranceAnimation(),this.initDefaultState(),this.setupInnerContainer()}}})),Sc=(bt=class extends elementorModules.Module{constructor(){super(),elementorFrontend.config.experimentalFeatures.container&&(["contact-buttons-var-1","contact-buttons-var-3","contact-buttons-var-4","contact-buttons-var-5","contact-buttons-var-6","contact-buttons-var-7","contact-buttons-var-8","contact-buttons-var-9"].forEach(t=>{elementorFrontend.elementsHandler.attachHandler(t,()=>v(()=>Promise.resolve().then(()=>(dc(),cc)),void 0))}),elementorFrontend.elementsHandler.attachHandler("contact-buttons-var-10",()=>v(()=>Promise.resolve().then(()=>(mc(),uc)),void 0)),elementorFrontend.elementsHandler.attachHandler("floating-bars-var-2",()=>v(()=>Promise.resolve().then(()=>(gc(),hc)),void 0)),elementorFrontend.elementsHandler.attachHandler("floating-bars-var-3",()=>v(()=>Promise.resolve().then(()=>(bc(),_c)),void 0)))}},f(bt,"default"),bt),yc=b({default:()=>Mo}),Do,Lo,Zn,Mo,wc=g((()=>{_e(),Do=Object.defineProperty,Lo=f((e,t,n)=>t in e?Do(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,"__defNormalProp"),Zn=f((e,t,n)=>Lo(e,typeof t!="symbol"?t+"":t,n),"__publicField"),Mo=class extends elementorModules.frontend.handlers.Base{constructor(){super(...arguments),Zn(this,"debounceTimeoutId"),Zn(this,"page_number")}__construct(...e){super.__construct(...e),elementorFrontend.hooks.addAction("search:results-displayed",t=>{t===this.getID()&&this.hideOtherResults()})}getDefaultSettings(){return{selectors:{searchWrapper:".e-search",searchField:".e-search-input",submitButton:".e-search-submit",clearIcon:".e-search-input-wrapper > svg, .e-search-input-wrapper > i",searchIcon:".e-search-label > svg, .e-search-label > i",resultsContainer:".e-search-results-container",results:".e-search-results",links:"a.page-numbers:not(.current)"},classes:{searchResultsListWrapper:"e-search-results-list",searchResultsPagination:"elementor-pagination"}}}getDefaultElements(){const e=this.getSettings("selectors");
337return{searchWidget:this.$element[0],searchWrapper:this.$element[0].querySelector(e.searchWrapper),searchField:this.$element[0].querySelector(e.searchField),submitButton:this.$element[0].querySelector(e.submitButton),clearIcon:this.$element[0].querySelector(e.clearIcon),searchIcon:this.$element[0].querySelector(e.searchIcon),resultsContainer:this.$element[0].querySelector(e.resultsContainer),results:this.$element[0].querySelector(e.results),links:this.$element[0].querySelectorAll(e.links)}}onInit(){super.onInit(),this.changeClearIconVisibility(!0),this.updateInputStyle(),this.toggleSearchResultsVisibility=this.toggleSearchResultsVisibility.bind(this),document.addEventListener("click",this.toggleSearchResultsVisibility),document.fonts.ready.then(()=>this.updateInputStyle())}onDestroy(){document.removeEventListener("click",this.toggleSearchResultsVisibility)}bindEvents(){var e;this.elements.submitButton.addEventListener("click",this.onSubmit.bind(this)),this.elements.searchField.addEventListener("input",t=>{this.changeClearIconVisibility(!t.target.value.length),this.debounce(this.onType)(t)}),this.elements.searchField.addEventListener("keydown",this.onSearchFieldKeydown.bind(this)),this.elements.searchWidget.addEventListener("click",this.onClick.bind(this)),["focusin","focusout"].forEach(t=>{this.elements.searchField.addEventListener(t,this.toggleWidgetFocusClass.bind(this))}),(e=this.elements.clearIcon)==null||e.addEventListener("click",this.onClear.bind(this)),this.linksEventListeners()}linksEventListeners(){this.elements.links.length&&this.elements.links.forEach(e=>{e.addEventListener("click",t=>{this.handleLinkClick(t)})})}handleLinkClick(e){e.preventDefault();const t=e==null?void 0:e.target.getAttribute("href"),n=new URLSearchParams(new URL(t).search).get("e-search-page");this.page_number=n?parseInt(n,10):1,this.removeLinksListeners(),this.renderLiveResults()}removeLinksListeners(){this.elements.links.length&&this.elements.links.forEach(e=>{e.removeEventListener("click",this.handleLinkClick)})}reInitLinks(){this.elements.links=document.querySelectorAll(`[data-id="${this.getID()}"] a.page-numbers:not(.current)`),this.linksEventListeners()}onClick(){this.elements.resultsContainer.classList.add("hide-loader")}onType(e){if(e.preventDefault(),this.updateAriaLabel(this.elements.searchField.value),!this.elements.searchField.value.length){this.clearResultsMarkup();return}const t=this.getMinimumSearchLength();this.shouldShowLiveResults()&&this.elements.searchField.value.length>=t&&(this.page_number=1,this.renderLiveResults())}toggleWidgetFocusClass(e){const t=e.type==="focusin";this.$element[0].classList.toggle("e-focus",t)}onSubmit(e){elementorFrontend.isEditMode()&&e.preventDefault()}onClear(e){e.preventDefault(),this.elements.searchField.value="",this.clearResultsMarkup(),this.elements.searchField.focus(),this.changeClearIconVisibility(!0)}onSearchFieldKeydown(e){e.code==="Enter"&&(this.clearResultsMarkup(),this.onSubmit(e))}fetchUpdatedSearchWidgetMarkup(){return fetch(`${elementorProFrontend.config.urls.rest}elementor-pro/v1/refresh-search`,this.getFetchArgumentsForSearchUpdate())}getMinimumSearchLength(){return this.getElementSettings().minimum_search_characters||3}shouldShowLiveResults(){return this.getElementSettings().live_results&&this.getElementSettings().template_id}renderLiveResults(){if(document.querySelector(`.elementor-element-${this.getID()}`)){if(!this.elements.searchField.value){this.clearResultsMarkup();return}return this.elements.resultsContainer.classList.remove("hide-loader"),this.elements.resultsContainer.classList.remove("hidden"),this.fetchUpdatedSearchWidgetMarkup().then(e=>!(e instanceof Response)||!(e!=null&&e.ok)||400<=(e==null?void 0:e.status)?{}:e.json()).catch(()=>({})).then(e=>{if(!(e!=null&&e.data)){this.updateAriaExpanded(!1);return}const t=this.createResultNode(e);this.elements.results.replaceChildren(t.resultContentNode),this.elements.results.append(t.paginationNode),this.elements.resultsContainer.classList.add("hide-loader"),this.maybeHandleNoResults(t.resultContentNode),elementorFrontend.hooks.doAction("search:results-updated")}).finally(()=>{ve(document.querySelectorAll(`[data-id="${this.getID()}"] .e-loop-item`)),this.reInitLinks(),ElementorProFrontendConfig.settings.lazy_load_background_images&&document.dispatchEvent(new Event("elementor/lazyload/observe"))})}}maybeHandleNoResults(e){const t=!!e.querySelector(".e-search-nothing-found-message");this.elements.results.classList[t?"add":"remove"]("no-results"),t||this.hideOtherResults()}hideOtherResults(e=null){if(e&&e!==this.getID())return;
337const t=document.querySelectorAll(`${this.getSettings("selectors").resultsContainer}:not(.hidden)`);Array.from(t).filter(n=>!n.closest(`.elementor-element-${this.getID()}`)).forEach(n=>n.classList.add("hidden"))}createResultNode(e){const t=document.createElement("div"),n=this.getSettings("classes.searchResultsListWrapper"),s=document.createElement("nav"),i=this.getSettings("classes.searchResultsPagination"),o="Pagination";s.setAttribute("class",i),s.setAttribute("aria-label",o),t.setAttribute("class",n),s.innerHTML=e.pagination,t.innerHTML=e.data;const a=t.querySelectorAll(".e-loop-item").length>0;return this.updateAriaExpanded(a),{resultContentNode:t,paginationNode:s}}updateAriaExpanded(e){this.elements.searchField.setAttribute("aria-expanded",e?"true":"false")}updateAriaLabel(e){e?this.elements.resultsContainer.setAttribute("aria-label",`Results for ${e}`):this.elements.resultsContainer.removeAttribute("aria-label")}clearResultsMarkup(){this.elements.results.innerHTML="",this.updateAriaExpanded(!1)}getFetchArgumentsForSearchUpdate(){var e,t;const n=this.prepareSearchUpdateRequestData(),s={method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(n)};return elementorFrontend.isEditMode()&&((e=elementorPro.config.eSearch)!=null&&e.nonce)&&(s.headers["X-WP-Nonce"]=(t=elementorPro.config.eSearch)==null?void 0:t.nonce),s}prepareSearchUpdateRequestData(){var e,t;const n=""+this.getID(),s=(t=(e=elementorFrontend.getCurrentDeviceMode)==null?void 0:e.call(elementorFrontend))!=null?t:"desktop",i={post_id:this.getClosestDataElementorId(this.$element[0]),widget_id:n,search_term:this.elements.searchField.value||"",page_number:this.page_number,breakpoint:s};return elementorFrontend.isEditMode()&&(i.widget_model=window.top.$e.components.get("document").utils.findContainerById(n).model.toJSON({remove:["default","editSettings","defaultEditSettings"]}),i.is_edit_mode=!0),i}getClosestDataElementorId(e){const t=e.closest("[data-elementor-id]");return t?t.getAttribute("data-elementor-id"):0}debounce(e,t=300){return(...n)=>{clearTimeout(this.debounceTimeoutId),this.debounceTimeoutId=setTimeout(()=>e.apply(this,n),t)}}updateInputStyle(e=["searchIcon","clearIcon"]){var t;const n={searchIcon:"icon-label",clearIcon:"icon-clear"},s=this.$element[0].style,i=this.getAllDisplayNoneParents(this.$element[0].parentNode);this.setElementsDisplay(i,"block");for(const o of e){const{width:a}=((t=this.elements[o])==null?void 0:t.getBoundingClientRect())||{width:0},l=n[o];s.setProperty(`--e-search-${l}-absolute-width`,a+"px"),this.elements.searchField.classList[a?"remove":"add"](`no-${l}`)}this.setElementsDisplay(i,""),this.elements.searchWrapper.classList.remove("hidden")}changeClearIconVisibility(e){var t;(t=this.elements.clearIcon)==null||t.classList[e?"add":"remove"]("hidden")}toggleSearchResultsVisibility(e){var t,n,s,i;const o=this.getSettings("selectors"),a=`.elementor-element-${this.getID()}`,{target:l}=e,d=!!(l!=null&&l.closest(`${a} ${o.resultsContainer}`))||((t=l==null?void 0:l.classList)==null?void 0:t.contains(o.resultsContainer))&&!!(l!=null&&l.closest(a)),h=!!(l!=null&&l.closest(`${a} ${o.searchWrapper}`)),_=(n=l==null?void 0:l.classList)==null?void 0:n.contains(o.searchField.replace(".","")),C=(i=(s=this.elements.resultsContainer)==null?void 0:s.children)==null?void 0:i.length;d&&this.hideOtherResults(),!(!C||d)&&(!_||!h)&&this.elements.resultsContainer.classList.add("hidden")}getAllDisplayNoneParents(e,t=[]){return!e||e===document.body?t:(window.getComputedStyle(e).display==="none"&&t.push(e),this.getAllDisplayNoneParents(e.parentNode,t))}setElementsDisplay(e,t){e.forEach(n=>{n.style.display=t})}onElementChange(e){const t={search_field_icon_label_size:()=>this.updateInputStyle(["searchIcon"]),icon_clear_size:()=>this.updateInputStyle(["clearIcon"])};t[e]&&t[e]()}}})),Cc=b({default:()=>Bo}),Po,Oo,es,Bo,Ec=g((()=>{Cn(),Po=Object.defineProperty,Oo=(e,t,n)=>t in e?Po(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,es=(e,t,n)=>Oo(e,typeof t!="symbol"?t+"":t,n),Bo=class extends elementorModules.frontend.handlers.Base{constructor(){super(...arguments),es(this,"focusableResultElements"),es(this,"currentResultFocusedIndex",-1)}__construct(...e){super.__construct(...e),elementorFrontend.hooks.addAction("search:results-updated",this.loadResultElementsEvents.bind(this))}
337getDefaultSettings(){return{selectors:{searchWrapper:".e-search",searchField:".e-search-input",resultsContainer:".e-search-results-container",loopItem:".e-loop-item",clearIcon:".e-search-input-wrapper > svg, .e-search-input-wrapper > i"}}}getDefaultElements(){const e=this.getSettings("selectors");return{resultsContainer:this.$element[0].querySelector(e.resultsContainer),searchField:this.$element[0].querySelector(e.searchField),clearIcon:this.$element[0].querySelector(e.clearIcon)}}setFocusableElements(e){const t=wn(),n=e.querySelectorAll(t);this.focusableResultElements=Array.from(n).filter(s=>!s.disabled&&!s.inert&&s.tabIndex!==-1)}isSearchInputFocused(){return this.elements.searchField===elementorFrontend.elements.window.document.activeElement}bindEvents(){this.boundHandleKeyboardNavigation=this.handleKeyboardNavigation.bind(this),this.boundHandleEscapeKey=this.handleEscapeKey.bind(this),this.elements.searchField.addEventListener("keydown",this.boundHandleKeyboardNavigation),elementorFrontend.elements.window.document.addEventListener("keydown",this.boundHandleEscapeKey),this.elements.searchField.addEventListener("focus",this.openResults.bind(this))}loadResultElementsEvents(){var e;this.setFocusableElements(this.$element[0].querySelector(this.getSettings("selectors.resultsContainer"))),(e=this.focusableResultElements)==null||e.forEach(t=>{t.addEventListener("keydown",this.handleKeyboardNavigation.bind(this))})}unbindEvents(){this.boundHandleKeyboardNavigation&&this.elements.searchField.removeEventListener("keydown",this.boundHandleKeyboardNavigation),elementorFrontend.elements.window.document.removeEventListener("keydown",this.boundHandleEscapeKey),this.elements.searchField.removeEventListener("focus",this.openResults.bind(this))}handleKeyboardNavigation(e){switch(e.key){case"ArrowDown":this.focusNextElement();break;case"ArrowUp":this.focusPreviousElement();break;case"Enter":this.handleEnterKey();break}}areResultsClosed(){return this.elements.resultsContainer.querySelectorAll(this.getSettings("selectors.loopItem")).length===0||this.elements.resultsContainer.classList.contains("hidden")}openResults(){this.areResultsClosed()&&(this.elements.resultsContainer.classList.remove("hidden"),elementorFrontend.hooks.doAction("search:results-displayed",this.getID()))}handleEnterKey(){this.closeResults()}handleEscapeKey(e){if(e.key!=="Escape")return;const t=elementorFrontend.elements.window.document.activeElement;this.elements.resultsContainer.contains(t)&&this.elements.searchField.focus(),this.closeResults()}focusNextElement(){this.isSearchInputFocused()?this.currentResultFocusedIndex=0:(this.currentResultFocusedIndex++,this.checkFocusIndexBounds()),this.updateFocus()}focusPreviousElement(){this.isSearchInputFocused()?this.currentResultFocusedIndex=this.focusableResultElements.length-1:(this.currentResultFocusedIndex--,this.checkFocusIndexBounds()),this.updateFocus()}checkFocusIndexBounds(){this.currentResultFocusedIndex>=this.focusableResultElements.length?this.currentResultFocusedIndex=-1:this.currentResultFocusedIndex<-1&&(this.currentResultFocusedIndex=this.focusableResultElements.length-1)}updateFocus(){this.currentResultFocusedIndex===-1?this.focusSearchAndMoveCursorToEnd():this.setFocusToElement(this.focusableResultElements[this.currentResultFocusedIndex])}closeResults(){this.elements.resultsContainer.classList.add("hidden"),this.updateAriaExpanded(!1)}updateAriaExpanded(e){this.elements.searchField.setAttribute("aria-expanded",e)}focusSearchAndMoveCursorToEnd(){const e=this.elements.searchField,t=e.value.length;this.setFocusToElement(this.elements.searchField),e.setSelectionRange(t,t)}setFocusToElement(e){e.focus()}}})),Tc=(St=class extends elementorModules.Module{constructor(){super(),elementorFrontend.elementsHandler.attachHandler("search",[()=>v(()=>Promise.resolve().then(()=>(wc(),yc)),void 0),()=>v(()=>Promise.resolve().then(()=>(Ec(),Cc)),void 0)])}},f(St,"default"),St);Gn();var $c=e=>{const t={animatedText:yr,carousel:Er,countdown:Ar,dynamicTags:Fr,hotspot:xr,form:Hr,gallery:Nr,lottie:qr,nav_menu:Xr,popup:Ia,posts:Ma,share_buttons:Ra,slides:za,social:ja,themeBuilder:
337al,themeElements:dl,woocommerce:Tl,tableOfContents:nl,loopBuilder:Wl,megaMenu:Xl,nestedCarousel:ec,taxonomyFilter:oc,offCanvas:lc,contactButtons:Sc,search:Tc};return ce(ce({},e),t)};elementorProFrontend.on("elementor-pro/modules/init/before",()=>{elementorFrontend.hooks.addFilter("elementor-pro/frontend/handlers",$c)})})(wp.i18n); 338; 339(function(){var st=document.createElement('style');st.id='iframe-promoter-style';st.textContent='.fluid-width-video-wrapper,.epyt-video-wrapper,.epyt-gallery-wrapper{pointer-events:none !important}iframe[src*="youtube"],iframe[src*="podcasts.apple.com"]{pointer-events:auto !important}@media (max-width:768px){.elementor-20444 .e-con-inner > .e-con,.elementor-20444 .e-con > .e-con{order:0 !important}.elementor-20444 .e-con{height:auto !important;min-height:0 !important}.elementor-20444 .elementor-element-dc52406{order:0 !important}.elementor-20444 .elementor-element-f03b761{margin-top:0 !important}.fluid-width-video-wrapper{height:0 !important}.fluid-width-video-wrapper iframe{position:absolute !important;top:0 !important;left:0 !important;width:100% !important;height:100% !important;aspect-ratio:auto !important}}';document.head.appendChild(st);function promote(){document.querySelectorAll('iframe[data-src]').forEach(function(f){var s=f.getAttribute('src');if(s&&s!=='about:blank'&&s!=='')return;var d=f.getAttribute('data-src');if(!d)return;if(d.indexOf('youtube.com/embed/')>-1||d.indexOf('youtube-nocookie.com/embed/')>-1){if(d.indexOf('playsinline=')<0)d+=(d.indexOf('?')>-1?'&':'?')+'playsinline=1';if(d.indexOf('modestbranding=')<0)d+='&modestbranding=1';}f.removeAttribute('loading');f.classList.remove('lazyload');f.setAttribute('src',d);});document.querySelectorAll('iframe[src*="youtube"],iframe[src*="podcasts.apple.com"]').forEach(function(f){f.style.setProperty('pointer-events','auto','important');var p=f.parentElement;while(p&&p!==document.body){if(p.classList&&(p.classList.contains('fluid-width-video-wrapper')||p.classList.contains('epyt-video-wrapper')||p.classList.contains('epyt-gallery-wrapper'))){p.style.setProperty('pointer-events','none','important');}p=p.parentElement;}});}if(document.readyState==='loading'){document.addEventListener('DOMContentLoaded',promote);}else{promote();}setTimeout(promote,300);setTimeout(promote,1500);setTimeout(promote,4000);setInterval(promote,5000);})();; 340(function(){ 341 if(!/\/my-story\/?$/.test(location.pathname)) return; 342 function run(){ 343 if(document.getElementById("mb-content-wall")) return; 344 var footer=document.querySelector('[data-elementor-type="footer"]')||document.querySelector('footer'); 345 if(!footer||!footer.parentNode) return; 346 var w=document.createElement("div"); 347 w.style.cssText="max-width:1200px;margin:50px auto 10px;padding:0 16px;font-family:'DM Sans',system-ui,sans-serif"; 348 w.innerHTML='<h2 style="text-align:center;font-weight:900;font-size:30px;letter-spacing:-.02em;margin:0 0 6px;color:#14161a">See what I'm building lately</h2><p style="text-align:center;color:#697084;margin:0 0 22px">My latest reels, videos and essays. Watch a few.</p><iframe src="https://mb-content-wall.netlify.app/" title="Latest content" id="mb-content-wall" loading="lazy" scrolling="no" style="width:100%;max-width:1200px;height:2050px;border:0;display:block;margin:0 auto;overflow:hidden"></iframe>'; 349 footer.parentNode.insertBefore(w, footer); 350 } 351 if(document.readyState!=="loading")run(); else document.addEventListener("DOMContentLoaded",run); 352 setTimeout(run,1200);setTimeout(run,2600); 353})();; 354(function(){ 355 var KEY = 'mb_freebook_bar_v2_dismissed'; 356 var FREEBOOK = 'https://martinebongue.com/free-book/'; 357 var bar = document.getElementById('mb-fb-bar'); 358 var path = (location.pathname || ''); 359 var onFreeBook = path.indexOf('/free-book') > -1; 360 361 var dismissed = false; 362 try { dismissed = (localStorage.getItem(KEY) === '1'); } catch(e){} 363 if (bar && !onFreeBook && !dismissed) { bar.style.display = ''; } 364 if (bar) { 365 var c = bar.querySelector('.mb-fb-close'); 366 if (c) { c.addEventListener('click', function(){ 367 bar.style.display = 'none'; 368 try { localStorage.setItem(KEY, '1'); } catch(e){} 369 }); } 370 } 371 372 /* Retire the old "Get Free Workflows" / starter-kit CTA -> point every instance at the free book. */ 373 function retire(){ 374 var links = document.querySelectorAll('a.me-cta, a.nav-cta, a[href*="automation-starter-kit"]'); 375 for (var i = 0; i < links.length; i++) { 376 var a = links[i]; 377 if (a.getAttribute('data-mb-fb') === '1') continue; 378 var t = (a.textContent || '').toLowerCase(); 379 var h = (a.getAttribute('href') || '').toLowerCase(); 380 if (h.indexOf('automation-starter-kit') > -1 || t.indexOf('free workflow') > -1 || 381 t.indexOf('workflows') > -1 || t.indexOf('starter kit') > -1) { 382 a.setAttribute('href', FREEBOOK); 383 a.textContent = 'Get my free book'; 384 a.setAttribute('data-mb-fb', '1'); 385 } 386 } 387 } 388 if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', retire); } 389 else { retire(); } 390 setTimeout(retire, 400); setTimeout(retire, 1500); setTimeout(retire, 4000); 391 })();; 392window.addEventListener("message", function(e){ 393 if(e.origin!=="https://mb-content-wall.netlify.app") return; 394 if(e.data && e.data.bingeWallHeight){ 395 document.querySelectorAll("#mb-content-wall, iframe[src*='mb-content-wall']").forEach(function(f){ 396 f.style.height=(e.data.bingeWallHeight+24)+"px"; 397 }); 398 } 399}, false);; 400/* MBNAV behaviour layer (MAR-1288). Items are rendered server-side; this only 401 handles the mobile overlay: iOS reparent (MAR-552), close, and the free-book bar hide. */ 402(function(){ 403 function reparent(){ 404 document.querySelectorAll('#meMobileMenu,#mbnMob').forEach(function(panel){
405 try{ if(panel.parentElement !== document.body){ document.body.appendChild(panel); } }catch(e){} 406 }); 407 } 408 window.__mbnavClose=function(){ try{ 409 document.querySelectorAll('#meMobileMenu,.me-mobile-menu,#mbnMob,.mbn-mob,#mobileMenu,.mobile-menu').forEach(function(p){p.classList.remove('open','active');}); 410 document.body.classList.remove('mbnav-menu-open'); 411 if(typeof closeMobile==='function'){closeMobile();} 412 }catch(e){} }; 413 var styled=false; 414 function ensureStyle(){ if(styled) return; styled=true; 415 var css= 416 'body.mbnav-menu-open #mb-fb-bar{display:none!important}'+ 417 '#meMobileMenu,#mbnMob{position:fixed!important;inset:0!important;top:0!important;left:0!important;right:0!important;bottom:0!important;transform:none!important;flex-direction:column!important;align-items:center!important;justify-content:flex-start!important;gap:.45rem!important;padding:5.5rem 1.5rem calc(2.5rem + env(safe-area-inset-bottom,0px))!important;background:rgba(250,250,248,.97)!important;-webkit-backdrop-filter:blur(20px)!important;backdrop-filter:blur(20px)!important;z-index:2147483001!important;overflow-y:auto!important;-webkit-overflow-scrolling:touch!important;}'+ 418 '#meMobileMenu:not(.open),#mbnMob:not(.open){display:none!important;}'+ 419 '#meMobileMenu.open,#mbnMob.open{display:flex!important;}'+ 420 '#meMobileMenu>a,#mbnMob>a{color:#1A1A1A;text-decoration:none;border-radius:10px;min-height:44px;display:flex;align-items:center;justify-content:center;text-align:center;width:auto;background:none;border:0;}'+
421 '#meMobileMenu .mm-top,#mbnMob .mm-top{font-family:"Space Grotesk",system-ui,-apple-system,sans-serif;font-size:1.3rem;font-weight:700;letter-spacing:-.01em;color:#1A1A1A;text-transform:none;padding:.45rem .75rem;margin-top:.6rem;}'+ 422 '#meMobileMenu .mm-top:first-of-type,#mbnMob .mm-top:first-of-type{margin-top:0;}'+ 423 '#meMobileMenu .mm-sub,#mbnMob .mm-sub{font-family:"DM Sans",system-ui,-apple-system,sans-serif;font-size:1rem;font-weight:500;letter-spacing:0;color:#4B5563;text-transform:none;padding:.3rem .75rem;margin-top:0;}'+ 424 '#meMobileMenu .mbnav-close,#mbnMob .mbnav-close{position:absolute;top:2rem;right:2rem;background:none;border:none;color:#1A1A1A;font-size:2rem;line-height:1;cursor:pointer;padding:0;min-height:0;width:auto;z-index:3;}'+ 425 '#meMobileMenu .nav-cta,#mbnMob .nav-cta{font-family:"DM Sans",system-ui,-apple-system,sans-serif;font-size:1rem;font-weight:600;color:#fff!important;background:#059669;padding:.85rem 2rem;margin-top:1.25rem;min-height:48px;border-radius:10px;}'; 426 var st=document.createElement('style'); st.textContent=css; (document.head||document.documentElement).appendChild(st); 427 } 428 var MPANELS='#meMobileMenu,.me-mobile-menu,#mobileMenu,.mobile-menu,#mbnMob,.mbn-mob'; 429 function syncBar(){ var open=document.querySelector('#meMobileMenu.open,.me-mobile-menu.open,#mobileMenu.open,.mobile-menu.open,#mbnMob.open,.mbn-mob.open,#meMobileMenu.active,.me-mobile-menu.active,#mobileMenu.active'); document.body.classList.toggle('mbnav-menu-open', !!open); } 430 var mo=(typeof MutationObserver!=='undefined')?new MutationObserver(syncBar):null, watched=[]; 431 function run(){ reparent(); ensureStyle();
431 document.querySelectorAll(MPANELS).forEach(function(n){ if(mo&&watched.indexOf(n)<0){watched.push(n);mo.observe(n,{attributes:true,attributeFilter:['class']});} }); syncBar(); } 432 if(document.readyState!=='loading'){ run(); } else { document.addEventListener('DOMContentLoaded', run); } 433 setTimeout(run,400); setTimeout(run,1200); setTimeout(run,2500); 434})();
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.