Deprecated: Function get_magic_quotes_gpc() is deprecated in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 99

Deprecated: The each() function is deprecated. This message will be suppressed on further calls in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 619

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 832

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839

Warning: Cannot modify header information - headers already sent by (output started at /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php:99) in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 839
(function(){"use strict";var t=t||{};t.scope={},t.ASSUME_ES5=!1,t.ASSUME_NO_NATIVE_MAP=!1,t.ASSUME_NO_NATIVE_SET=!1,t.SIMPLE_FROUND_POLYFILL=!1,t.ISOLATE_POLYFILLS=!1,t.FORCE_POLYFILL_PROMISE=!1,t.defineProperty=t.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(t,e,i){return t==Array.prototype||t==Object.prototype||(t[e]=i.value),t},t.getGlobal=function(t){t=["object"==typeof globalThis&&globalThis,t,"object"==typeof window&&window,"object"==typeof self&&self,"object"==typeof global&&global];for(var e=0;erequestAnimationFrame(()=>t()))}function r(t,e){return i=>Math.min(Math.max(i,t),e)}function o(t,e,i,s){t.addEventListener(i,t=>{d(t,e,s)},!1)}function n(t,e,i,s){t.removeEventListener(i,t=>{d(t,e,s)},!1)}function a(t,e,i,...s){let r;return t=void 0===t?()=>{}:t,e=void 0===e?100:e,i=void 0===i||i,()=>{r?clearTimeout(r):i&&t.apply(this,s),r=window.setTimeout(()=>{!i&&s&&t.apply(this,s)},e)}}function l(t,e,i){let s;return function(...r){s||(s=!0,t.apply(i||this,r),window.setTimeout(()=>s=!1,e))}}function h(t){const e=1/(t=void 0===t?1001:t);return Array(t).fill(0).map((t,i)=>i*e)}function c(t,e){return Math.floor(Math.random()*(e-t+1)+t)}function d(t,e,i){let s=t.target;for(;s;){if(s.matches(e)){i(s,t);break}s=s.parentElement}}function u(t){return new Promise(e=>window.setTimeout(e,t))}function b(t,e){return e=10**(void 0===e?2:e),Math.round((t+Number.EPSILON)*e)/e}i.d(e,"j",(function(){return s})),i.d(e,"f",(function(){return p})),i.d(e,"g",(function(){return E})),i.d(e,"k",(function(){return _})),i.d(e,"a",(function(){return r})),i.d(e,"c",(function(){return o})),i.d(e,"n",(function(){return n})),i.d(e,"b",(function(){return a})),i.d(e,"l",(function(){return l})),i.d(e,"d",(function(){return h})),i.d(e,"h",(function(){return c})),i.d(e,"e",(function(){return T})),i.d(e,"m",(function(){return u})),i.d(e,"i",(function(){return b}));const p=()=>Object.create(null),E=()=>{let t=null,e=null,i=null,s=Object.create(null);return{successCaller(t){var i;null===(i=e)||void 0===i||i(t)},failureCaller(t){var e;null===(e=i)||void 0===e||e(t)},statusPending:()=>!!t,getPromise:()=>t,cancelPromise(){"function"==typeof s.resolve&&(s.resolve(),t=null)},createPromise:r=>(r=void 0===r?()=>{}:r,t||(s=Object.create(null),s.promise=new Promise(t=>s.resolve=t),t=new Promise((t,s)=>{e=t,i=s,r(e,i)}),Promise.race([s.promise,t]).then(s=>(t=e=i=null,s))))}},_=t=>{let e=-1;return{getCount:()=>e,reset(){e=-1},decrement:()=>--e,increment:()=>++e,createUid(i){let s="id-"+t;return""!==(i=void 0===i?"":i)&&(s+="-"+i),s+"-"+e}}},T="rtl"===document.documentElement.dir},function(t,e,i){function s(t,e,i,r){var o,n,a,l;if(i=void 0===i?t:i,e===S)return e;let h=void 0!==r?null===(o=i._$Cl)||void 0===o?void 0:o[r]:i._$Cu;return o=u(e)?void 0:e._$litDirective$,(null==h?void 0:h.constructor)!==o&&(null===(n=null==h?void 0:h._$AO)||void 0===n||n.call(h,!1),void 0===o?h=void 0:(h=new o(t),h._$AT(t,i,r)),void 0!==r?(null!==(a=(l=i)._$Cl)&&void 0!==a?a:l._$Cl=[])[r]=h:i._$Cu=h),void 0!==h&&(e=s(t,h._$AS(t,e.values),h,r)),e}var r;i.d(e,"a",(function(){return O})),i.d(e,"b",(function(){return S})),i.d(e,"c",(function(){return I})),i.d(e,"d",(function(){return A}));const o=globalThis.trustedTypes,n=o?o.createPolicy("lit-html",{createHTML:t=>t}):void 0,a=`lit$${(Math.random()+"").slice(9)}$`,l="?"+a,h=`<${l}>`,c=document,d=t=>c.createComment(void 0===t?"":t),u=t=>null===t||"object"!=typeof t&&"function"!=typeof t,b=Array.isArray,p=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,E=/--\x3e/g,_=/>/g,T=/>|[ \t\n\f\r](?:([^\s"'>=/]+)([ \t\n\f\r]*=[ \t\n\f\r]*(?:[^ \t\n\f\r"'`<>=]|("|')|))|$)/g,v=/'/g,f=/"/g,m=/^(?:script|style|textarea|title)$/i,O=(t=t=>(e,...i)=>({_$litType$:t,strings:e,values:i}))(1);t(2);const S=Symbol.for("lit-noChange"),I=Symbol.for("lit-nothing"),g=new WeakMap,A=(t,e,i)=>{var s,r;const o=null!==(s=null==i?void 0:i.renderBefore)&&void 0!==s?s:e;return void 0===(s=o._$litPart$)&&(s=null!==(r=null==i?void 0:i.renderBefore)&&void 0!==r?r:null,o._$litPart$=s=new P(e.insertBefore(d(),s),s,void 0,null!=i?i:{})),s._$AI(t),s},C=c.createTreeWalker(c,129,null,!1);class N{constructor(t,e){var{strings:i,_$litType$:s}=t;this.parts=[];let r=t=0;const c=i.length-1,u=this.parts;{const t=i.length-1;var b,O=[];let e=2===s?"":"",r=p;for(let s=0;s"===o[0]?(r=null!=b?b:p,n=-1):void 0===o[1]?n=-2:(n=r.lastIndex-o[2].length,S=o[1],r=void 0===o[3]?T:'"'===o[3]?f:v):r===f||r===v?r=T:r===E||r===_?r=p:(r=T,b=void 0);I=r===T&&i[s+1].startsWith("/>")?" ":"",e+=r===p?t+h:0<=n?(O.push(S),t.slice(0,n)+"$lit$"+t.slice(n)+a+I):t+a+(-2===n?(O.push(void 0),s):I)}if(b=e+(i[t]||"")+(2===s?"":""),!Array.isArray(i)||!i.hasOwnProperty("raw"))throw Error("invalid template strings array");O=[void 0!==n?n.createHTML(b):b,O]}const[g,A]=O;for(this.el=N.createElement(g,e),C.currentNode=this.el.content,2===s&&((O=(e=this.el.content).firstChild).remove(),e.append(...O.childNodes));null!==(e=C.nextNode())&&u.lengtht.element===e))&&(({listener:i}=i),e.removeEventListener(t,i))}attachInteraction(t,e,i){const s={element:i=void 0===i?this.root:i,listener:e};this.interactionMap[t]=this.interactionMap[t]||[],this.interactionMap[t].push(s),i.addEventListener(t,e)}parseOptionsString(t,e){t=void 0===t?{}:t;var i=[];if(e&&i.push(`data-lb-${e}-options`,`lb-${e}-options`),i.push(o.c.DEFAULT_OPTIONS_KEY_DATA,o.c.DEFAULT_OPTIONS_KEY),i=i.find(t=>this.root.hasAttribute(t))||o.c.DEFAULT_OPTIONS_KEY,i=this.root.getAttribute(i),this.options=t,!i)return this.options;try{const e=new RegExp(Object.values(o.b).join("|"),"gi");i=i.replace(e,t=>t.match(o.b.SINGLE_QUOTE_SLASH)?o.b.SINGLE_QUOTE:t.match(o.b.SINGLE_QUOTE_WITH_ALPHA_NUM)?t.replace(new RegExp(o.b.SINGLE_QUOTE,"g"),o.b.SINGLE_QUOTE):'"'),this.options=Object.assign({},t,JSON.parse(i))}catch(t){if(t instanceof SyntaxError)throw Error(`(Lazy Bones Error) There's a problem parsing the options string: ${t}. \n(Component Name) ${e}`)}return this.options}setStyle(t,e){e=void 0===e?this.root:e,this.flattenTransformStyles(t),Object.assign(e.style,t)}getAttr(t,e){return(e=void 0===e?this.root:e).getAttribute(t)||""}removeAttr(t,e){(e=void 0===e?this.root:e).removeAttribute(t)}setAttr(t,e,i){i=void 0===i?this.root:i;const s=this.getAttr(t);i.setAttribute(t,e),s!==e&&this.attrChangeCallback(s,e,i)}emptyComponentElements(t){for(t=void 0===t?this.root:t;t.firstChild;)t.removeChild(t.firstChild)}queryComponentSelector(t){return this.root.querySelector(t)}queryComponentSelectorAll(t){return Array.from(this.root.querySelectorAll(t))}attrChangeCallback(t,e,i){}toggleClass(t,e,i){(i=void 0===i?this.root:i).classList.toggle(t,e)}}s(a,"COMPONENT_NAME",void 0),s(a,"COMPONENT_ID",void 0),s(a,"DEFAULT_OPTIONS",void 0)},function(t,e,i){function s(t,e,...i){return t="attachTo"in e?e.attachTo(t,...i):new e(t,...i),i=e.COMPONENT_ID,e=e.DEFAULT_OPTIONS,t instanceof n.a&&(i&&t.parseOptionsString(e,i),t.initialize&&t.initialize(),t.postInitialize(i)),t}function r(t){if(!u.has(t)){var e=t.getAttribute(l)||t.getAttribute(h);if(!e)throw Error("(lb-auto-init) Node doesn't have a valid attribute key.");if(!(e=e.split(",")).length)throw Error("(lb-auto-init) Node doesn't have a valid attribute value.");for(let i of e){if(i=i.trim(),!c[i])throw Error("(lb-auto-init) Could not find constructor in registry for "+i);const{Ctor:r,deps:o}=c[i];e=s(t,r,...o);const n=u.get(t)||{};n[i]=e,u.set(t,n)}}}i.d(e,"a",(function(){return v}));var o,n=i(5),a=((o=a||{}).DATA_PREFIX="data-",o.STORE_REGISTER_ATTR="lb-auto-init",o);const l=""+a.STORE_REGISTER_ATTR,h=`${a.DATA_PREFIX}${a.STORE_REGISTER_ATTR}`,c=Object.create(null),d=Object.create(null),u=new WeakMap,b={attributes:!1,childList:!0,subtree:!0},p=(t,e)=>{if(e=void 0===e?"":e,void 0===(t=u.get(t)))return null;const[i]=Object.keys(t);return e?t[e]:t[i]},E=t=>{var e;const i=p(t);null!==i&&(u.delete(t),null===(e=i.destroy)||void 0===e||e.call(i))},_=t=>t instanceof HTMLElement&&(t.hasAttribute(l)||t.hasAttribute(h)),T=t=>{for(const e of t)if("childList"===e.type){if(e.addedNodes.length)for(const t of Array.from(e.addedNodes))if(_(t)&&!u.has(t))try{r(t)}catch(t){console.warn(t)}if(e.removedNodes.length)for(const t of Array.from(e.removedNodes))_(t)&&E(t)}},v=(t,e)=>{if(e=void 0!==e&&e,!(t=void 0===t?document:t))throw Error("(lb-auto-init) The specified parentNode does not exist.");var i=[...Array.from(t.querySelectorAll(`[${l}]`)),...Array.from(t.querySelectorAll(`[${h}]`))];for(const t of i)r(t);if(i={getComponent:v.getComponent,deleteInstance:v.deleteInstance,unregisterComponent:v.deleteInstance},e){const e=new MutationObserver(T);i.observe=()=>e.observe(t,b),i.unobserve=()=>e.disconnect(),i.observe()}return i};v.register=(t,e,...i)=>{if("string"!=typeof t)throw Error("(lb-auto-init) Components must have a name to be registered.");c[t]={Ctor:e,deps:i}},v.createComponent=(t,e,...i)=>{i=s(t,e,...i),e=e.COMPONENT_NAME;const r=u.get(t)||{};return r[e]=i,u.set(t,r),i},v.getRegistry=()=>c,v.getComponent=(t,e)=>{if(!u.has(t))try{r(t)}catch(t){console.warn(t)}return p(t,e)},v.registerData=(t,e)=>{if(d[t])throw Error(`(lb-auto-init) The key '${t}' already exists in the dataRegistry.`);d[t]=e},v.getData=t=>{if(d[t])return d[t];throw Error(`(lb-auto-init) The key '${t}' does not exist in the dataRegistry.`)},v.getComponents=t=>u.get(t),v.deleteInstance=E},function(t,e,i){i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return r})),i.d(e,"d",(function(){return o})),i.d(e,"e",(function(){return n})),i.d(e,"f",(function(){return a})),i.d(e,"g",(function(){return l})),i.d(e,"h",(function(){return h})),i.d(e,"i",(function(){return c})),i.d(e,"c",(function(){return u}));let s=((d={}).BUTTON_CURRENT="lb-carousel-button--current",d.BUTTON_DISABLED="lb-carousel-button--disabled",d.CAROUSEL_PANNING="lb-carousel--panning",d.CAROUSEL_DISABLED="lb-carousel--disabled",d.PROGRESS_DISABLED="lb-carousel-progress--disabled",d.SLIDE_ACTIVE="lb-carousel__slide--active",d),r=function(t){return t.PROGRESS_TRANSFORM_ORIGIN="--lb-carousel-progress--transform-origin",t.PROGRESS_TRANSFORM_ORIGIN_RTL="--lb-carousel-progress--transform-origin-rtl",t.PROGRESS_SCALE="--lb-carousel-progress--scale",t}({}),o=function(t){return t.ELEMENT_NOT_FOUND="(LBCarousel) One of viewport| track | slide elements were not found.",t.HAMMER_NOT_FOUND="(LBCarousel) The Hammer library is required but not found.",t}({}),n=function(t){return t.CURRENT_INDEX="carousel:current-index",t.DID_CHANGE="carousel:did-change",t.GET_STATE="carousel:get-state",t.STATE_CHANGE="carousel:state-change",t.GOTO="carousel:goto",t.WILL_CHANGE="carousel:will-change",t.FOCUS_RELEASE="carousel-button:focus-release",t}({}),a=function(t){return t.PREFERS_REDUCED_MOTION="(prefers-reduced-motion: reduce)",t}({}),l=function(t){return t[t.DEBOUNCE_DURATION=250]="DEBOUNCE_DURATION",t[t.OOB_SCALE_FACTOR=.225]="OOB_SCALE_FACTOR",t[t.REDUCED_MOTION_DURATION=1]="REDUCED_MOTION_DURATION",t[t.WHEEL_TIMEOUT=250]="WHEEL_TIMEOUT",t[t.INIT_DEBOUNCE_DURATION=350]="INIT_DEBOUNCE_DURATION",t}({}),h=function(t){return t.VIEWPORT=".lb-carousel__viewport",t.TRACK=".lb-carousel__track",t.SLIDE=".lb-carousel__slide",t}({}),c=function(t){return t.COMPONENT_ID="carousel",t.COMPONENT_ID_BUTTON="carousel-button",t.COMPONENT_ID_PROGRESS="carousel-progress",t.COMPONENT_NAME="LBCarousel",t.COMPONENT_NAME_BUTTON="LBCarouselButton",t.COMPONENT_NAME_PROGRESS="LBCarouselProgress",t}({});var d;const u={breakpoints:[],centerEnds:!1,group:!1,isRtl:!1,moveDuration:500,startIndex:0,uid:"carousel",snapToSlide:!0}},function(t,e,i){i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return r})),i.d(e,"e",(function(){return o})),i.d(e,"g",(function(){return n})),i.d(e,"h",(function(){return a})),i.d(e,"c",(function(){return l})),i.d(e,"i",(function(){return h})),i.d(e,"f",(function(){return c})),i.d(e,"d",(function(){return u}));let s=((d={}).VIDEO_ID="lb-video-id",d.PLAYER_NAME="lb-player-name",d),r=function(t){return t.ROOT="lb-player",t.VIDEO_CONTAINER="lb-player__video",t.DESTROYED="lb-player--destroyed",t.LOADING="lb-player--loading",t}({}),o=function(t){return t.VIDEO_ERROR="lb-player-error",t.VIDEO_READY="lb-player-ready",t.VIDEO_PLAY="lb-player-play",t.VIDEO_PAUSE="lb-player-pause",t.VIDEO_STOP="lb-player-stop",t.VIDEO_STOP_ALL="lb-player-stop-all",t.VIDEO_SEEK_TO="lb-player-seek-to",t}({}),n=function(t){return t.VIDEO_ERROR="lb-player:error",t.VIDEO_READY="lb-player:ready",t.VIDEO_PLAY="lb-player:play",t.VIDEO_PAUSE="lb-player:pause",t.VIDEO_STOP="lb-player:stop",t.VIDEO_STOP_ALL="lb-player:stop-all",t.VIDEO_SEEK_TO="lb-player:seek-to",t}({}),a=function(t){return t.NAME="LBPlayer",t.ID="player",t}({}),l=function(t){return t.NAME="LBPlayerControl",t.ID="player-control",t}({}),h=function(t){return t.VIDEO_ENDED="lb-player-state-ended",t.VIDEO_PLAYING="lb-player-state-playing",t.VIDEO_PAUSED="lb-player-state-paused",t.VIDEO_BUFFERING="lb-player-state-buffering",t.VIDEO_CUED="lb-player-state-cued",t}({}),c=function(t){return t.AUTO="auto",t.IMMEDIATE="immediate",t.MANUAL="manual",t}({});var d;const u={playerVars:{cc_load_policy:1,enablejsapi:1,modestbranding:1,rel:0},initType:c.AUTO,uid:null}},function(t,e,i){i.d(e,"a",(function(){return s})),i.d(e,"f",(function(){return o})),i.d(e,"e",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"d",(function(){return l})),i.d(e,"b",(function(){return h}));let s=((r={}).ATOMIC="aria-atomic",r.BUSY="aria-busy",r.CHECKED="aria-checked",r.CONTROLS="aria-controls",r.DESCRIBED_BY="aria-describedby",r.EXPANDED="aria-expanded",r.HIDDEN="aria-hidden",r.LABEL="aria-label",r.LABELLED_BY="aria-labelledby",r.LIVE="aria-live",r.MODAL="aria-modal",r.PRESSED="aria-pressed",r.SELECTED="aria-selected",r.SORT="aria-sort",r.VALUE_MAX="aria-valuemax",r.VALUE_MIN="aria-valuemin",r.VALUE_NOW="aria-valuenow",r.LIVE_POLITE_VALUE="polite",r.LIVE_ASSERTIVE_VALUE="assertive",r.LIVE_OFF_VALUE="off",r);var r;const o={CHECKED:["menuitemradio","radio","treeitem"],SELECTED:["gridcell","option","row","tab"]},n={TAB_KEY:"Tab",NODE_NAME_IFRAME:"IFRAME",TABINDEX_DATA_PROP:"data-tabindex",TABINDEX:"tabindex",ACTIVATE_TABINDEX:"0",DEACTIVATE_TABINDEX:"-1",FOCUSABLE_NODES:'button, [href], input, select, textarea, iframe, [tabindex]:not([tabindex="-1"])',TAB_FORWARD:"foreward",TAB_BACKWARD:"backward",ERROR_MSG_VALID_SELECTED:'The "aria-selected" attribute should be paired with these valid roles: '+o.SELECTED.join(", "),ERROR_MSG_VALID_CHECKBOX:'The "aria-checked" attribute should be paired with a valid checkbox element or these valid roles: '+o.CHECKED.join(", "),ERROR_MSG_CONTROLS_ID:'The "controls" param should be the string id of an element.',ERROR_MSG_USE_VALID_POLITENESS:"Please use a valid politeness setting.",ERROR_MSG_NEED_MORE_ELEMENTS:"You need one or more tabble element to make the focus trap work."};let a=function(t){return t[t.SHIFT_KEY=16]="SHIFT_KEY",t[t.TAB_KEY=9]="TAB_KEY",t[t.REFOCUS_DELAY_TIME=100]="REFOCUS_DELAY_TIME",t}({}),l=function(t){return t.BUTTON="button",t.CHECKBOX="checkbox",t.GRID_CELL="gridcell",t.LINK="link",t.MENU_ITEM="menuitem",t.MENU_ITEM_CHECKBOX="menuitemcheckbox",t.MENU_ITEM_RADIO="menuitemradio",t.OPTION="option",t.PROGRESS_BAR="progressbar",t.RADIO="radio",t.SCROLLBAR="scrollbar",t.SEARCH_BOX="searchbox",t.SLIDER="slider",t.SPIN_BUTTON="spinbutton",t.SWITCH="switch",t.TAB="tab",t.TAB_PANEL="tabpanel",t.TEXT_BOX="textbox",t.TREE_ITEM="treeitem",t}({});const h={disableable:["BUTTON","SELECT","TEXTAREA","INPUT"],every:"BUTTON A DETAILS INPUT IFRAME SELECT TEXTAREA INPUT".split(" ")}},function(t,e,i){var s;i.d(e,"c",(function(){return r})),i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return n})),i.d(e,"d",(function(){return a})),(s={})[s.SECONDS_IN_DAY=86400]="SECONDS_IN_DAY",s[s.SECONDS_IN_HOUR=3600]="SECONDS_IN_HOUR",s[s.SECONDS_IN_MINUTE=60]="SECONDS_IN_MINUTE",function(t){t[t.ENTER=13]="ENTER",t[t.ESC=27]="ESC",t[t.SPACE=32]="SPACE",t[t.TAB=9]="TAB"}({});let r=function(t){return t.ENTER="Enter",t.ESC="Escape",t.SPACE=" ",t.TAB="Tab",t.ARROW_LEFT="ArrowLeft",t.ARROW_RIGHT="ArrowRight",t.ARROW_UP="ArrowUp",t.ARROW_DOWN="ArrowDown",t}({}),o=function(t){return t[t.TABLET=600]="TABLET",t[t.IPAD_PORTRAIT=768]="IPAD_PORTRAIT",t[t.TABLET_LANDSCAPE=900]="TABLET_LANDSCAPE",t[t.IPAD_LANDSCAPE=1024]="IPAD_LANDSCAPE",t[t.DESKTOP=1200]="DESKTOP",t[t.DESKTOP_L=1500]="DESKTOP_L",t[t.DESKTOP_XL=1800]="DESKTOP_XL",t}({}),n=function(t){return t.NO_SCROLL="lb-no-scroll",t}({}),a=function(t){return t.CLICK="click",t.CHANGE="change",t.RESIZE="resize",t.KEYDOWN="keydown",t.KEYUP="keyup",t.FOCUS="focus",t.MOUSEDOWN="mousedown",t.MOUSEUP="mouseup",t.MOUSEOVER="mouseover",t.MOUSEOUT="mouseout",t}({})},function(t,e,i){i.d(e,"c",(function(){return s})),i.d(e,"b",(function(){return r})),i.d(e,"d",(function(){return o})),i.d(e,"a",(function(){return n}));let s=((a={}).CHIP=".lb-js-chip",a),r=function(t){return t.CHIP_SELECTED="lb-chips__chip--selected",t.CHIP_ICON="lb-chips__chip--icon",t}({}),o=function(t){return t.ID="chips",t.UPDATE="update",t.DID_CHANGE="did-change",t}({}),n=function(t){return t.INPUT="input",t.CHOICE="choice",t.FILTER="filter",t}({});var a},function(t,e,i){i.d(e,"f",(function(){return s})),i.d(e,"g",(function(){return r})),i.d(e,"e",(function(){return o})),i.d(e,"h",(function(){return n})),i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return h})),i.d(e,"c",(function(){return"https://www.gstatic.com"})),i.d(e,"d",(function(){return"/youtube/marketing/locale.manifest.json"}));let s=((a={}).COMPONENT_NAME="LBFooter",a.COMPONENT_ID="footer",a.LEGACY_COMPONENT_NAME="LBFooterLegacy",a.LEGACY_COMPONENT_ID="footer-legacy",a),r=function(t){return t.CONTENT="LBFooterContent",t.LOCALE="LBLocale",t.MANIFEST="LBMLocaleManifest",t}({}),o=function(t){return t.FOOTER_LANGUAGE_SELECT=".lb-js-footer-language-select",t.LB_JS_EXPANSION=".lb-js-expansion",t.LB_JS_EXPANSION_TRIGGER=".lb-js-expansion-trigger",t}({}),n=function(t){return t.MINIMAL="minimal",t.STANDARD="standard",t}({});var a;const l=["root","ALL_ALL","ALL_us","en_us","en_US"],h=["mobile","tablet"]},function(t,e,i){i.d(e,"c",(function(){return s})),i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return n}));let s=((r={}).EFFECTIVE_TYPE_INDETERMINATE="indeterminate",r.EFFECTIVE_NAME_INDETERMINATE="na",r.TOPIC_READY="environment:ready",r.TOPIC_CONNECTION="environment:connection",r.TOPIC_PREFER_NO_MOTION="environment:prefer-no-motion",r.TOPIC_PREFER_DARK_MODE="environment:prefer-dark-mode",r.MEDIA_QUERY_PREFER_NO_MOTION="(prefers-reduced-motion: reduce)",r.MEDIA_QUERY_PREFER_DARK_MODE="(prefers-color-scheme: dark)",r);var r;const o={APPSPOT:/^.*\.appspot\.com$/,KPS:/^.*\.proxy\.preview\..*\.goog$/,LOCALHOST:/^localhost$/,PRODUCTION:/^(.*\.)?(youtube(\.com)?|withyoutube\.com|google(\.com)?|withgoogle\.com)$/};let n=function(t){return t.APPSPOT="appspot",t.KPS="kps",t.LOCALHOST="localhost",t.PRODUCTION="production",t.UNKNOWN="unknown",t}({})},function(t,e,i){i.d(e,"d",(function(){return s})),i.d(e,"b",(function(){return r})),i.d(e,"a",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"e",(function(){return l}));let s=((a={}).COMPONENT_ID="search-results",a.COMPONENT_NAME="LBSearchResults",a),r=function(t){return t.QUERY_PLACEHOLDER="{query}",t.REQUEST_TYPE="json",t.SEARCH_ENDPOINT="https://www.googleapis.com/customsearch/v1/siterestrict?",t}({}),o=function(t){return t.DARK_BTN="lb-button--dark",t.DISABLED_BTN="lb-button--disabled",t.HIDE="lb-hide",t}({}),n=function(t){return t.ITEMS_CONTAINER=".lb-js-search-results-container",t.LOAD_MORE=".lb-js-search-results-load-more",t.LOAD_MORE_BTN=".lb-js-search-results-load-more-btn",t}({});var a;const l={requestError:"Sorry. There was a problem getting the results of your query. Please refresh the page and try again.",renderError:"Sorry. There was a problem rendering the results of your query. Please try with a new query.",searchEngineId:'LBSearchResults. Missing the required "searchEngineId" argument. You can find or create one at https://programmablesearchengine.google.com/cse/'}},function(t,e,i){i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return r})),i.d(e,"c",(function(){return o}));let s=((n={}).LB_TABLIST_WRAPPER=".lb-js-tablist-wrapper",n.LB_TABLIST_TAB=".lb-js-tablist-tab",n.LB_TABLIST_SLIDER=".lb-js-tablist-slider",n),r=function(t){return t.LB_TABLIST_TAB_ACTIVE="lb-tablist__tab--active",t.LB_TABLIST_TAB_FULL_BLEED="lb-tablist--full-bleed",t}({}),o=function(t){return t.ID="tablist",t.UPDATE="update",t.DID_CHANGE="did-change",t.TOPIC_RESIZE="resize",t}({});var n},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o}));var r=i(9);class o{constructor(){s(this,"focusTrapQueue",new Map),s(this,"wasFocusTrapInvoked",!1)}get aria(){return r.a}get role(){return r.d}getElementInfo(t){return{role:t.getAttribute("role"),type:t.getAttribute("type"),tagName:t.tagName}}isFocusable(t){var e=this.getElementInfo(t);const i=r.b.every.includes(e.tagName);return t=(e=r.b.disableable.includes(e.tagName))&&!1===t.disabled,i&&(!e||t)}toggleSelected(t,e){const{role:i,type:s,tagName:o}=this.getElementInfo(t),n="INPUT"===o&&"radio"===s;let a="true"===t.getAttribute(r.a.SELECTED);a=void 0===e?!a:e,r.f.SELECTED.includes(i||"")&&!n||console.warn(r.e.ERROR_MSG_VALID_SELECTED),t.setAttribute(r.a.SELECTED,""+a)}toggleExpanded(t,e){let i="true"===t.getAttribute(r.a.EXPANDED);t.setAttribute(r.a.EXPANDED,""+(void 0===e?!i:e))}disableExpanded(t){t.setAttribute(r.a.EXPANDED,"false")}enableExpanded(t){t.setAttribute(r.a.EXPANDED,"true")}toggleChecked(t,e){const{role:i,type:s,tagName:o}=this.getElementInfo(t),n="INPUT"!==o&&s!==r.d.CHECKBOX;let a="true"===t.getAttribute(r.a.CHECKED);a=void 0===e?!a:e,r.f.CHECKED.includes(i||"")&&n||console.warn(r.e.ERROR_MSG_VALID_CHECKBOX),t.setAttribute(r.a.CHECKED,""+a)}toggleVisibility(t,e,i){e=void 0!==e&&e;let s="true"===t.getAttribute(r.a.HIDDEN);(s=void 0===i?!s:i)&&e?this.disableTabbing(t):!s&&e&&this.enableTabbing(t),t.setAttribute(r.a.HIDDEN,""+s)}disableVisibility(t,e){void 0!==e&&e&&this.disableTabbing(t),t.setAttribute(r.a.HIDDEN,"true")}enableVisibility(t,e){void 0!==e&&e&&this.enableTabbing(t),t.removeAttribute(r.a.HIDDEN)}getTabIndexValue(t){var e=t.getAttribute(r.e.TABINDEX_DATA_PROP);return t=t.getAttribute(r.e.TABINDEX),{originalTabIndex:e=null===e?null:parseInt(e),currentTabIndex:t=null===t?null:parseInt(t)}}toggleTabbing(t,e){void 0===e&&(({currentTabIndex:e}=this.getTabIndexValue(t)),e=null===e||-1===e),e?this.enableTabbing(t):this.disableTabbing(t)}disableTabbing(t){const{originalTabIndex:e,currentTabIndex:i}=this.getTabIndexValue(t);null===e&&null!==i&&t.setAttribute(r.e.TABINDEX_DATA_PROP,""+i),t.setAttribute(r.e.TABINDEX,r.e.DEACTIVATE_TABINDEX)}enableTabbing(t){const{originalTabIndex:e,currentTabIndex:i}=this.getTabIndexValue(t);null!==i&&0<=i||(null===e?t.setAttribute(r.e.TABINDEX,"0"):t.setAttribute(r.e.TABINDEX,0<=e?""+e:"0"))}announceDynamicChanges(t,e,i){i=void 0!==i&&i,"string"!=typeof e&&(e=r.a.LIVE_POLITE_VALUE),[r.a.LIVE_POLITE_VALUE,r.a.LIVE_ASSERTIVE_VALUE].includes(e)||console.warn(r.e.ERROR_MSG_USE_VALID_POLITENESS),t.setAttribute(r.a.LIVE,e),i&&t.setAttribute(r.a.ATOMIC,"true")}silenceDynamicChanges(t){"true"===t.getAttribute(r.a.ATOMIC)&&t.setAttribute(r.a.ATOMIC,"false"),t.setAttribute(r.a.LIVE,r.a.LIVE_OFF_VALUE)}gatherFocusableElements(t){return Array.from(t.querySelectorAll(r.e.FOCUSABLE_NODES))}getAdjacentTabbableNode(t){const e=this.gatherFocusableElements(document),i=e[0],s=e.findIndex(e=>e.isSameNode(t));return-1===s?i:e[s+1]?e[s+1]:i}disableFocusTrap(t,e){if(this.focusTrapQueue.has(t)){var{keyupHandler:i,currentFocusElement:s}=this.focusTrapQueue.get(t);setTimeout(()=>{s=s||document.body,e&&document.body.isEqualNode(s)?e.focus():s.focus()},r.c.REFOCUS_DELAY_TIME),document.removeEventListener("keydown",i),this.focusTrapQueue.delete(t),this.wasFocusTrapInvoked=!1}}enableFocusTrap(t,e,i,s){const o=this.wasFocusTrapInvoked,n=!1===o||o&&!1===(void 0!==s&&s);let a=this.gatherFocusableElements(t);void 0!==i&&!0!==i||(a=a.filter(t=>null!==t.offsetParent));const l=document.activeElement,h=a.length-1;let c=0;a.length||console.warn(r.e.ERROR_MSG_NEED_MORE_ELEMENTS),i=a[0];let d=!1;var u;(e=e||i,n)&&(null===(u=e)||void 0===u||u.focus());c=a.findIndex(t=>t===(n?e:l)),i={keyupHandler:u=t=>{var e;const{shiftKey:i,code:s,key:o}=t;if(r.e.TAB_KEY===(o||s)){t.preventDefault(),c=(d=i)?0===c?h:c-1:c===h?0:c+1;var n=a[c],l=null,u=()=>{c=c===h?0:c+1,(n=a[c]).focus(),l&&(l.removeEventListener("blur",u),l=null)};n&&n.tagName===r.e.NODE_NAME_IFRAME&&(l=n).addEventListener("blur",u),null===(e=n)||void 0===e||e.focus()}},currentFocusElement:l},this.focusTrapQueue.has(t)&&(({keyupHandler:s}=this.focusTrapQueue.get(t)),document.removeEventListener("keydown",s)),document.addEventListener("keydown",u),this.focusTrapQueue.set(t,i),this.wasFocusTrapInvoked=!0}}},function(t,e,i){i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return r}));let s=((o={}).LB_IMAGE_LOADER_RATIO="--lb-image-loader-ratio",o),r=function(t){return t.LOAD_EVENT="ImageLoader:load",t.NO_IMG_ERROR_MSG="The LBImageLoader component requires 1 child IMG.",t.X_DESCRIPTOR_WARN="LBImageLoader requires either a 0x or 1x image.",t.COMPONENT_NAME="LBImageLoader",t.COMPONENT_ID="image-loader",t.PLACEHOLDER_SELECTOR=".lb-image-loader__image--placeholder",t.COVER_SELECTOR=".lb-image-loader__image--cover",t.TOPIC_LOAD="image-loader:load",t.IDENTIFIER_SHARED_COUNTER="lb-image-loader",t}({});var o},function(t,e,i){i.d(e,"c",(function(){return s})),i.d(e,"b",(function(){return o})),i.d(e,"a",(function(){return n}));let s=((r={}).DEFAULT_OPTIONS_KEY_DATA="lb-options",r.DEFAULT_OPTIONS_KEY="lb-options",r.EVENT_KEY_PREFIX="target.",r.CLICK_ACTION="click",r.IMPRESSION_ACTION="impression",r.INITIALIZE_CLASS_PREFIX="lb",r.INITIALIZE_CLASS_SUFFIX="--initialized",r);var r;const o={DOUBLE_QUOTE_ENTITY:""",DOUBLE_QUOTE_ESCAPED:""",SINGLE_QUOTE:"'",SINGLE_QUOTE_ENTITY:"'",SINGLE_QUOTE_ESCAPED:"'",SINGLE_QUOTE_SLASH:"\\\\'",SINGLE_QUOTE_WITH_ALPHA_NUM:"[a-zA-Z0-9](')[a-zA-Z0-9]",LOWERCASE_AND_HYPHENS:/^[a-z](-?[a-z])*$/},n={TRANSFORMS:"translate translateX translateY translateZ translate3d scale scaleX scaleY scaleZ scale3d skew skewX skewY rotate rotateX rotateY rotateZ rotate3d".split(" ")}},function(t,e,i){i.d(e,"c",(function(){return s})),i.d(e,"a",(function(){return r})),i.d(e,"d",(function(){return o})),i.d(e,"b",(function(){return a}));let s=((n={}).OPEN_MODAL="lb-modal:open",n.CLOSE_MODAL="lb-modal:close",n),r=function(t){return t.MODAL_OPEN="lb-modal--open",t.MODAL_BUTTON_CLOSE="lb-js-close-button",t.MODAL_BODY="lb-js-modal-body",t}({}),o=function(t){return t.NAME="LBModal",t.ID="modal",t}({});var n;const a={autoPlayVideo:!1}},function(t,e,i){i.d(e,"e",(function(){return s})),i.d(e,"a",(function(){return r})),i.d(e,"b",(function(){return o})),i.d(e,"c",(function(){return n})),i.d(e,"d",(function(){return"lb-banner"}));let s=((a={}).BANNER=".lb-banner",a.COMPONENT_NAME="LBBanner",a.COMPONENT_ID="banner",a.CLOSE_BTN=".lb-banner__close",a.SHOW_ELEMENT="lb-banner--show",a.IS_BANNER_CLOSED="isBannerClosed",a),r=function(t){return t.BLACK_THEME="lb-banner--black",t.BLUE_THEME="lb-banner--blue",t}({}),o=function(t){return t.BLACK="black",t.BLUE="blue",t}({}),n=function(t){return t.theme="blue",t}({});var a},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a}));var r=i(23),o=i(13);const n={"slow-2g":"slowest","2g":"slower","3g":"slow","4g":"fast",na:"indeterminate"};class a{constructor(){s(this,"connectionRate",o.c.EFFECTIVE_TYPE_INDETERMINATE),s(this,"preferNoMotion",!1),s(this,"preferDarkMode",!1),this.connectionRate=this.getConnectionRate(),this.preferNoMotion=this.preferNoMotionMatch(),this.preferDarkMode=this.preferDarkModeMatch(),r.a.broadcast(o.c.TOPIC_READY,{connectionRate:this.connectionRate,preferNoMotion:this.preferNoMotion,preferDarkMode:this.preferDarkMode}),this.monitorUserConnection(),this.monitorPrefersReducedMotion(),this.monitorPrefersDarkMode()}monitorPrefersReducedMotion(){this.preferNoMotionMediaQuery.addEventListener("change",()=>{this.preferNoMotion=this.preferNoMotionMatch(),r.a.broadcast(o.c.TOPIC_PREFER_NO_MOTION,{preferNoMotion:this.preferNoMotion})})}monitorPrefersDarkMode(){this.preferDarkModeMediaQuery.addEventListener("change",()=>{this.preferDarkMode=this.preferDarkModeMatch(),r.a.broadcast(o.c.TOPIC_PREFER_DARK_MODE,{preferDarkMode:this.preferDarkMode})})}monitorUserConnection(){void 0!==this.connection&&this.connection.addEventListener("change",t=>{t=t.target.effectiveType,this.connectionRate=n[t],r.a.broadcast(o.c.TOPIC_CONNECTION,{connectionRate:n[t]})})}preferNoMotionMatch(){return this.preferNoMotionMediaQuery.matches}preferDarkModeMatch(){return this.preferDarkModeMediaQuery.matches}getConnectionRate(){var t;const e=(null===(t=this.connection)||void 0===t?void 0:t.effectiveType)||o.c.EFFECTIVE_NAME_INDETERMINATE;return n[e]}getServerPlatform(t){return(t=t||window.location.hostname).match(o.b.LOCALHOST)?o.a.LOCALHOST:t.match(o.b.KPS)?o.a.KPS:t.match(o.b.APPSPOT)?o.a.APPSPOT:t.match(o.b.PRODUCTION)?o.a.PRODUCTION:o.a.UNKNOWN}get preferNoMotionMediaQuery(){return window.matchMedia(o.c.MEDIA_QUERY_PREFER_NO_MOTION)}get preferDarkModeMediaQuery(){return window.matchMedia(o.c.MEDIA_QUERY_PREFER_DARK_MODE)}get connection(){return navigator.connection||navigator.mozConnection||navigator.webkitConnection}}s(a,"TOPIC_CONNECTION",o.c.TOPIC_CONNECTION),s(a,"TOPIC_PREFER_NO_MOTION",o.c.TOPIC_PREFER_NO_MOTION),s(a,"TOPIC_PREFER_DARK_MODE",o.c.TOPIC_PREFER_DARK_MODE),s(a,"TOPIC_READY",o.c.TOPIC_READY)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n})),t=i(5);var r=i(1),o=i(47);class n extends t.a{constructor(t,...e){super(t,...e),s(this,"nativeNode",void 0),s(this,"uid","")}set disabled(t){this.nativeNode.disabled=t}get disabled(){return this.nativeNode.disabled}get name(){return this.getAttr(r.b.ATTR_NAME,this.nativeNode)}get value(){return this.nativeNode.value}set value(t){this.nativeNode.value=t}activate(){this.disabled=!1,this.root.classList.remove(r.a.DISABLED)}disable(){this.disabled=!0,this.root.classList.add(r.a.DISABLED)}validate(){return!0}initialize(){if(o.a.increment(),this.uid=o.a.createUid(),this.setAttr(r.b.ATTR_UID,this.uid),this.nativeNode=this.queryComponentSelector(r.b.SELECTOR_NATIVE),null===this.nativeNode)throw Error(r.b.ERROR_MISSING_INPUT_ELEMENT);this.options.disabled&&this.disable(),this.pubSubShared.subscribe(r.b.TOPIC_DISABLED,this.disable,this,t=>t.uid===this.uid&&t.disabled),this.pubSubShared.subscribe(r.b.TOPIC_DISABLED,this.activate,this,t=>t.uid===this.uid&&!t.disabled)}destroy(){this.pubSubShared.unsubscribe(r.b.TOPIC_DISABLED,this.disable),o.a.decrement()}}},function(t,e,i){i.d(e,"a",(function(){return s}));const s=new(i(52).a)},function(t,e,i){i.d(e,"a",(function(){return s}));let s=((r={}).COMPONENT_ID="button",r.COMPONENT_NAME="LBButton",r.ERROR_TOPIC="[LBButton Error]: Please make sure you include an action and component value.",r.TOPIC_PREFIX="topic",r.EVENT_NAME_CLICK="click",r.EVENT_NAME_KEYDOWN="keydown",r);var r},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return l}));var r=i(16),o=i(3),n=i(10);t=i(5);var a=i(15);class l extends t.a{constructor(t){super(t),s(this,"tabWrapper",void 0),s(this,"tabWrapperBoundingBox",void 0),s(this,"tabs",[]),s(this,"tabBoundingBoxes",[]),s(this,"railSlider",void 0),s(this,"activeTabIndex",0),s(this,"focusedTabIndex",0),s(this,"a11y",new r.a)}initialize(){this.tabWrapper=this.queryComponentSelector(a.b.LB_TABLIST_WRAPPER),this.tabs=this.queryComponentSelectorAll(a.b.LB_TABLIST_TAB),this.railSlider=this.queryComponentSelector(a.b.LB_TABLIST_SLIDER),this.captureTabBoundingBoxes(),Object(o.c)(this.root,a.b.LB_TABLIST_TAB,n.d.CLICK,this.tabClickHandler.bind(this)),Object(o.c)(this.root,a.b.LB_TABLIST_TAB,n.d.KEYDOWN,this.handleTablistKeyDown.bind(this));const t=this.options.uid,e=Object(o.b)(this.handleResize.bind(this),250,!1);this.attachInteraction(n.d.RESIZE,()=>e(),window),this.moveSlider(0),this.pubSubShared.subscribe(l.PUBSUB_TOPIC_UPDATE,this.pubSubHandler,this),this.pubSubShared.subscribe({topic:l.PUBSUB_TOPIC_RESIZE,retroactive:!0},this.handleResize,this,e=>e.uid===t)}tabClickHandler(t){const e=this.tabs.findIndex(e=>e===t);this.moveSlider(e)}pubSubHandler(t){const{uid:e}=this.options;t.uid&&t.uid===e&&(t.reset&&this.captureTabBoundingBoxes(),this.moveSlider(t.index||this.activeTabIndex))}remoteTabSelect(t,e){t===this.options.uid&&this.moveSlider(e||this.activeTabIndex)}moveSlider(t){const e=this.root;this.tabs[this.activeTabIndex].classList.remove(a.a.LB_TABLIST_TAB_ACTIVE),this.a11y.disableTabbing(this.tabs[this.activeTabIndex]),this.a11y.toggleSelected(this.tabs[this.activeTabIndex]),this.tabs[t].classList.add(a.a.LB_TABLIST_TAB_ACTIVE),this.a11y.enableTabbing(this.tabs[t]),this.a11y.toggleSelected(this.tabs[t]),this.focusedTabIndex=this.activeTabIndex=t;var i=this.tabBoundingBoxes[t];const s=i.width;i=i.left;var r=this.tabWrapperBoundingBox;const o=r.x;r=r.right,e.style.setProperty("--width--slider",s+"px"),e.style.setProperty("--translate-x--tab--ltr",i-o+"px"),e.style.setProperty("--translate-x--tab--rtl",i-r+s+"px"),this.options.enableBroadcast&&this.broadcastTabChange(t)}handleTablistKeyDown(t,e){switch(e.key){case n.c.SPACE:case n.c.ENTER:const e=this.tabs.findIndex(e=>e===t);this.moveSlider(e);break;case n.c.ARROW_LEFT:this.focusedTabIndex=0===this.focusedTabIndex?this.tabs.length-1:this.focusedTabIndex-1,this.tabs[this.focusedTabIndex].focus();break;case n.c.ARROW_RIGHT:this.focusedTabIndex=this.focusedTabIndex===this.tabs.length-1?0:this.focusedTabIndex+1,this.tabs[this.focusedTabIndex].focus();break;default:return}e.stopPropagation(),e.preventDefault()}captureTabBoundingBoxes(){this.tabWrapperBoundingBox=this.tabWrapper.getBoundingClientRect(),this.tabBoundingBoxes=[];for(const t of this.tabs)this.tabBoundingBoxes.push(t.getBoundingClientRect())}handleResize(){this.captureTabBoundingBoxes(),this.moveSlider(this.activeTabIndex)}broadcastTabChange(t){var{uid:e}=this.options;e=e?{uid:e}:{},Object.assign(e,{tabValue:this.tabs[t].value||t.toString()}),this.pubSubShared.broadcast(l.PUBSUB_TOPIC_DID_CHANGE,e)}destroy(){this.pubSubShared.unsubscribe(l.PUBSUB_TOPIC_UPDATE,this.pubSubHandler),Object(o.n)(this.root,a.b.LB_TABLIST_TAB,n.d.CLICK,this.tabClickHandler.bind(this)),Object(o.n)(this.root,a.b.LB_TABLIST_TAB,n.d.KEYDOWN,this.handleTablistKeyDown.bind(this))}}s(l,"COMPONENT_NAME","LBTablist"),s(l,"COMPONENT_ID","tab-list"),s(l,"DEFAULT_OPTIONS",{id:a.c.ID,uid:"",enableBroadcast:!0}),s(l,"PUBSUB_TOPIC_UPDATE",`${a.c.ID}:${a.c.UPDATE}`),s(l,"PUBSUB_TOPIC_DID_CHANGE",`${a.c.ID}:${a.c.DID_CHANGE}`),s(l,"PUBSUB_TOPIC_RESIZE",`${a.c.ID}:${a.c.TOPIC_RESIZE}`)},function(t,e,i){i.d(e,"b",(function(){return s})),i.d(e,"a",(function(){return o}));let s=((r={}).BREAKPOINT_CHANGE_EVENT_NAME="lb-breakpoint-change",r.RESIZE_EVENT_NAME="resize",r.HTML_SELECTOR="html",r.BEFORE_SELECTOR=":before",r.CONTENT_PROPERTY="content",r);var r;const o=/['"]+/g},function(t,e,i){i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return o}));let s=((r={}).COMPONENT_ID="search-form",r.COMPONENT_NAME="LBSearchForm",r.INPUT_NAME="lb-search",r.ROOT_TAG_NAME="FORM",r.SEARCH_RESULTS_TOPIC="get-search-results",r);var r;const o={resultsPage:'LBSearchForm. Missing the required "resultsPage" option.',rootTagName:"LBSearchForm. Root must be a
element.",searchInput:`LBSearchForm. The root form requires a form field with the name and value of [name="${s.INPUT_NAME}"].`}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n}));var r=i(23),o=i(26);class n{constructor(t){s(this,"activeBreakpoint",""),s(this,"htmlEl",document.querySelector(o.b.HTML_SELECTOR)),this.initialize(t),t({breakpoint:this.breakpoint,event:document.createEvent("Event")})}get breakpoint(){return window.getComputedStyle(this.htmlEl,o.b.BEFORE_SELECTOR).getPropertyValue(o.b.CONTENT_PROPERTY).replace(o.a,"")}initialize(t){this.resizeListener(t=>{var{breakpoint:e,event:i}=t;e!==this.activeBreakpoint&&(r.a.broadcast(o.b.BREAKPOINT_CHANGE_EVENT_NAME,{breakpoint:e,event:i}),this.activeBreakpoint=e)}),"function"==typeof t&&this.watchBreakpointChange(t)}watchBreakpointChange(t){r.a.subscribe(o.b.BREAKPOINT_CHANGE_EVENT_NAME,t)}resizeListener(t){let e=null;const i=i=>{e&&window.cancelAnimationFrame(e),e=window.requestAnimationFrame(()=>{t({breakpoint:this.breakpoint,event:i})})};return window.addEventListener(o.b.RESIZE_EVENT_NAME,i),()=>window.removeEventListener(o.b.RESIZE_EVENT_NAME,i)}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n}));var r=i(38);t=i(39);const o={duration:500,x:{scroll:!1,offset:0},y:{scroll:!0,offset:0},container:document.documentElement,easing:t.a};class n{constructor(t){t=void 0===t?{}:t,s(this,"options",void 0),s(this,"timer",void 0),this.setOptions(t)}setOptions(t){this.options=Object.assign({},o,t),this.options.x=Object.assign({},o.x,t.x),this.options.y=Object.assign({},o.y,t.y),this.options.container=this.setContainer(this.options.container)}setContainer(t){if("string"==typeof t&&(t=document.querySelector(t)),!t)throw Error("(LB AutoScroll) No valid scrollable container found.");return t}getPosition(t){const e=t.getBoundingClientRect(),i=this.options.container.getBoundingClientRect();var s=0,r=0;return this.options.container!==document.documentElement&&(s=this.options.container.scrollTop,r=this.options.container.scrollLeft),{element:t,y:e.top-i.top+s,x:e.left-i.left+r}}getContainerScroll(){return{x:this.options.container.scrollLeft,y:this.options.container.scrollTop}}toggleScrollHandler(t){void 0===t||t?document.addEventListener("scroll",t=>{t.preventDefault()}):document.removeEventListener("scroll",t=>{t.preventDefault()})}scrollToElement(t,e){return e=void 0===e?this.options:e,new Promise(i=>{const s=this.getPosition(t);this.smoothScrollTo({x:s.x+e.x.offset,y:s.y+e.y.offset},e,()=>{t.focus(),i()})})}smoothScrollTo(t,e,i){e=void 0===e?this.options:e;const s=this.getContainerScroll();var o=t.x-s.x,n=t.y-s.y;this.timer=new r.a(t=>{var i=e.easing(t);t=i*o,i*=n,t=s.x+(e.x.scroll?t:0),i=s.y+(e.y.scroll?i:0),e.container.scroll(t,i),e.container.scroll(t,i)},()=>{this.toggleScrollHandler(!1),i()},e.duration),this.toggleScrollHandler(),this.timer.start()}}},function(t,e,i){i.d(e,"a",(function(){return s}));const s={js:()=>!0,ios:(t,e)=>/(iPhone|iPod|iPad)/i.test(e),mac:(t,e)=>/(Mac)/i.test(e),"mac-or-ios":(t,e)=>s.mac(t,e)||s.ios(t,e),android:(t,e)=>/(Android)/i.test(e),ontouchstart:t=>"ontouchstart"in t,mobile:(t,e)=>s.android(t,e)||s.ios(t,e)||/(webOS)/i.test(e)||/(BlackBerry)/i.test(e)||/(Windows Phone)/i.test(e)}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o}));var r=i(30);class o{constructor(t,e){t=void 0===t?navigator.userAgent:t,e=void 0===e?window:e,s(this,"htmlEl",void 0),s(this,"window",void 0),s(this,"userAgent",void 0),this.htmlEl=document.documentElement,this.window=e,this.userAgent=t,Object.keys(r.a).forEach(i=>{const s=(0,r.a[i])(e,t);this[i]=r.a[i](e,t),this.htmlEl.classList.toggle(this.getClass(i,!0),s),this.htmlEl.classList.toggle(this.getClass(i,!1),!s)})}test(t){return r.a[t](this.window,this.userAgent)}getClass(t,e){return`${e?"":"no-"}${t}`}}},function(t,e,i){function s(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var s=Object.getOwnPropertySymbols(t);e&&(s=s.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,s)}return i}function r(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return h})),t=i(5);var o=i(3),n=i(10),a=i(16),l=i(24);class h extends t.a{constructor(t,...e){super(t,...e),r(this,"a11y",new a.a),r(this,"componentActionCommand","")}delegateInteraction(t){const{detail:e,preventDefault:i,stopPropagation:o}=this.options,a=this.componentActionCommand;i&&t.preventDefault(),o&&t.stopPropagation(),(t.type===l.a.EVENT_NAME_CLICK||t.type===l.a.EVENT_NAME_KEYDOWN&&t.key===n.c.ENTER)&&this.pubSubShared.broadcast(a,function(t){for(var e=1;e{throw t}),t.finally(()=>{this.root.classList.remove(r.a.SUBMITTING)})}}mapFieldInstances(){this.fieldInstances.length||(this.fieldInstances=this.fieldNodes.map(t=>o.a.getComponent(t)))}clearState(){this.root.classList.remove(r.a.VALIDATION_FAILURE,r.a.VALIDATION_SUCCESS)}acknowledgeValidation(){this.root.classList.add(r.a.VALIDATION_RUNNING),this.clearState(),this.mapFieldInstances();let t=!0;for(const e of this.fieldInstances)if(!e.disabled&&(e instanceof l.a||e instanceof h.a)){const i=!1===e.validate();i&&e.checkboxes&&(e.clearState(),e.checkboxes[0].focus(),e.validate()),i&&(t=!1)}this.pubSubShared.broadcast(r.b.TOPIC_FORM_DID_VALIDATE,{name:this.options.name,validity:t}),this.root.classList.remove(r.a.VALIDATION_RUNNING),t?(this.root.classList.add(r.a.VALIDATION_SUCCESS),this.transferData()):this.root.classList.add(r.a.VALIDATION_FAILURE)}validate(){return!0}wireSubmit(){null!==this.submitNode&&this.attachInteraction("submit",t=>{t.preventDefault(),this.acknowledgeValidation()})}initialize(){this.actionPath=this.getAttr(r.b.ATTR_ACTION)||this.options.actionPath,this.fieldNodes=this.queryComponentSelectorAll(r.b.SELECTOR_FIELD),this.submitNode=this.queryComponentSelector(r.b.SELECTOR_SUBMIT),this.wireSubmit(),this.pubSubShared.subscribe(r.b.TOPIC_FORM_VALIDATE,this.acknowledgeValidation,this,t=>t.name===this.options.name)}destroy(){this.detachInteraction("submit"),this.pubSubShared.unsubscribe(r.b.TOPIC_FORM_VALIDATE,this.acknowledgeValidation)}}s(c,"COMPONENT_NAME",r.b.COMPONENT_NAME_FORM),s(c,"COMPONENT_ID",r.b.COMPONENT_ID_FORM),s(c,"DEFAULT_OPTIONS",{name:"default",actionPath:"",debug:!1}),s(c,"TOPIC_SUBMIT",r.b.TOPIC_FORM_SUBMIT),s(c,"TOPIC_DID_VALIDATE",r.b.TOPIC_FORM_DID_VALIDATE),s(c,"TOPIC_VALIDATE",r.b.TOPIC_FORM_VALIDATE)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return r}));const r=new class{constructor(t){t=void 0===t?1e4:t,s(this,"timeout",void 0),s(this,"apiPromise",void 0),this.timeout=t}loadApi(){return this.apiPromise||(this.apiPromise=new Promise((t,e)=>{var i;const s=()=>{clearTimeout(r),t()},r=setTimeout(()=>{e(Error("The YouTube iFrame API request timed out."))},this.timeout);null!==(i=window.YT)&&void 0!==i&&i.Player&&(clearTimeout(r),t()),i=document.createElement("script");const o=document.getElementsByTagName("script")[0];i.src="https://www.youtube.com/iframe_api?trustedtypes=1",i.addEventListener("load",()=>{window.YT.ready(s)}),o.parentNode.insertBefore(i,o)})),this.apiPromise}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return h}));var r=i(4),o=i(16),n=i(3),a=i(10);t=i(5);var l=i(11);class h extends t.a{constructor(t){super(t),s(this,"chips",[]),s(this,"chipEls",[]),s(this,"a11y",new o.a),s(this,"focusedChipIndex",0)}initialize(){this.options.initialChips&&this.createChips(this.options.initialChips),this.options.initialChips||this.options.type===l.a.FILTER||this.gatherChips(),this.options.type===l.a.CHOICE?(this.setChoiceRoles(),Object(n.c)(this.root,l.c.CHIP,a.d.MOUSEDOWN,this.chipClickHandler.bind(this)),Object(n.c)(this.root,l.c.CHIP,a.d.KEYDOWN,this.chipKeydownHandler.bind(this))):Object(n.c)(this.root,l.c.CHIP,a.d.CLICK,this.chipClickHandler.bind(this)),this.pubSubShared.subscribe(h.PUBSUB_TOPIC_UPDATE,this.pubSubSubscribeHandler,this,t=>t.uid===this.options.uid&&t.value)}destroy(){Object(n.n)(this.root,l.c.CHIP,a.d.CLICK,this.chipClickHandler.bind(this)),Object(n.n)(this.root,l.c.CHIP,a.d.KEYDOWN,this.chipKeydownHandler.bind(this)),this.pubSubShared.unsubscribe(h.PUBSUB_TOPIC_UPDATE,this.pubSubSubscribeHandler)}pubSubSubscribeHandler(t){try{const e=JSON.parse(t.value);this.pubSubSubscribeJSONHandler(e)}catch(e){this.pubSubSubscribeStringHandler(t.value)}}pubSubSubscribeJSONHandler(t){if(this.options.initialChips||this.options.type!==l.a.FILTER){var e=0;this.options.valueKey?e=this.chips.findIndex(e=>e.value===t[this.options.valueKey]):!this.options.valueKey&&this.options.nameKey&&(e=this.chips.findIndex(e=>e.value===t[this.options.nameKey])),this.chips[e].selected=!this.chips[e].selected,this.setChipsSelection(e)}else this.chips.some(e=>e.name===t.name)?(e={selected:!0,name:t[this.options.nameKey],value:t[this.options.nameKey],content:t},this.options.nameKey&&this.options.valueKey&&(e=Object.assign(e,{selected:!0,name:t[this.options.nameKey],value:t[this.options.valueKey],content:t})),this.chips.push(e)):this.chips=this.chips.filter(e=>e.name!==t.name),this.renderChips()}pubSubSubscribeStringHandler(t){if(this.options.initialChips||this.options.type!==l.a.FILTER){const e=this.chips.findIndex(e=>e.value=t);this.chips[e].selected=!this.chips[e].selected,this.setChipsSelection(e)}else this.chips.some(e=>e.name===t)?this.chips=this.chips.filter(e=>e.name!==t):this.chips.push({selected:!0,name:t,value:t,content:t}),this.renderChips()}createChips(t){if(t.length){for(const e of t){let i,s;t={selected:!1,name:"",value:"",content:{}},"string"!=typeof e&&(i=e[this.options.nameKey],s=this.options.valueKey?e[this.options.valueKey]:i,t=Object.assign(t,{name:i,value:s,content:e})),this.chips.push(t)}this.renderChips(),this.chipEls=this.queryComponentSelectorAll(l.c.CHIP)}}renderChips(){this.chips&&Object(r.d)(r.a`${this.chips.map(t=>this.renderChip(t))}`,this.root)}renderChip(t){const e=[];return this.options.displayIcon&&e.push(l.b.CHIP_ICON),t.selected&&e.push(l.b.CHIP_SELECTED),r.a``}renderChipIcon(){return this.options.displayIcon?r.a` `:r.a``}gatherChips(){this.chipEls=this.queryComponentSelectorAll(l.c.CHIP);for(const t of this.chipEls){const e=t.classList.contains(l.b.CHIP_SELECTED),i=t.name,s=t.value!==i?t.value:i;this.chips.push({selected:e,name:i,value:s,content:i===s?i:{name:i,value:s}})}}setChipsSelection(t){this.chips[t].selected?this.chipEls[t].classList.add(l.b.CHIP_SELECTED):this.chipEls[t].classList.remove(l.b.CHIP_SELECTED),this.a11y.toggleChecked(this.chipEls[t]),this.options.type===l.a.CHOICE&&(this.focusedChipIndex=t)}setChoiceRoles(){this.root.setAttribute("role","radiogroup");for(let t=0;te.value===t.value);this.options.type===l.a.CHOICE?this.choiceSelect(e):(this.chips[e].selected=!this.chips[e].selected,this.setChipsSelection(e),this.broadcastChip(e))}else e=this.chips.findIndex(e=>e.value===t.value),this.broadcastChip(e),this.chips=this.chips.filter(e=>e.value!==t.value),this.renderChips()}chipKeydownHandler(t,e){switch(e.key){case a.c.SPACE:case a.c.ENTER:this.choiceSelect(this.focusedChipIndex);break;case a.c.ARROW_LEFT:case a.c.ARROW_UP:this.focusedChipIndex=0===this.focusedChipIndex?this.chipEls.length-1:this.focusedChipIndex-1,this.chipEls[this.focusedChipIndex].focus();break;case a.c.ARROW_RIGHT:case a.c.ARROW_DOWN:this.focusedChipIndex=this.focusedChipIndex===this.chipEls.length-1?0:this.focusedChipIndex+1,this.chipEls[this.focusedChipIndex].focus();break;default:return}e.stopPropagation(),e.preventDefault()}choiceSelect(t){const e=this.chips.findIndex(t=>t.selected);0<=e&&(this.chips[e].selected=!this.chips[e].selected,this.setChipsSelection(e),this.a11y.toggleSelected(this.chipEls[e]),this.a11y.toggleTabbing(this.chipEls[e])),this.chips[t].selected=!this.chips[t].selected,this.setChipsSelection(t),this.a11y.enableTabbing(this.chipEls[t]),this.broadcastChip(t)}broadcastChip(t){this.pubSubShared.broadcast(h.PUBSUB_TOPIC_DID_CHANGE,{uid:this.options.uid,value:this.chips[t].content})}}s(h,"COMPONENT_NAME","LBChips"),s(h,"COMPONENT_ID","chips"),s(h,"DEFAULT_OPTIONS",{id:l.d.ID,uid:"",type:l.a.INPUT,displayIcon:!1,nameKey:"",valueKey:""}),s(h,"PUBSUB_TOPIC_UPDATE",`${l.d.ID}:${l.d.UPDATE}`),s(h,"PUBSUB_TOPIC_DID_CHANGE",`${l.d.ID}:${l.d.DID_CHANGE}`)},function(t,e,i){i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return r})),t=i(5);const s={DARK:"dark",LIGHT:"light"};class r extends t.a{constructor(t){var e;super(t);t:if("object"==typeof(t="isDarkTheme")&&t){var i=t[Symbol.toPrimitive];if(void 0!==i){if("object"!=typeof(t=i.call(t,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}t=String(t)}(e="symbol"==typeof t?t:t+"")in this?Object.defineProperty(this,e,{value:void 0,enumerable:!0,configurable:!0,writable:!0}):this[e]=void 0}initialize(){this.isDarkTheme=document.documentElement.getAttribute("theme")===s.DARK,this.pubSubShared.subscribe("theme-switcher:toggle",()=>{this.toggleTheme()})}toggleTheme(){const t=this.isDarkTheme?s.LIGHT:s.DARK;this.isDarkTheme=!this.isDarkTheme,document.documentElement.setAttribute("theme",t)}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n})),t=i(32);var r=i(2),o=i(3);class n extends t.a{constructor(t,...e){super(t,...e),s(this,"subscription",Object(o.f)()),s(this,"TOPIC_DID_OPEN",r.d.TOPIC_DID+r.d.OPEN),s(this,"TOPIC_DID_SHUT",r.d.TOPIC_DID+r.d.SHUT)}initialize(){super.initialize(r.d.COMPONENT_ID,r.d.ACTION_TOGGLE,this.options);const t=this.options,e=e=>{const i=t.detail.index;return t.detail.family===e.family&&(i===e.index||null===i)};this.subscription[this.TOPIC_DID_OPEN]=()=>{this.a11y.enableExpanded(this.root)},this.subscription[this.TOPIC_DID_SHUT]=()=>{this.a11y.disableExpanded(this.root)},this.pubSubShared.subscribe(this.TOPIC_DID_OPEN,this.subscription[this.TOPIC_DID_OPEN],e),this.pubSubShared.subscribe(this.TOPIC_DID_SHUT,this.subscription[this.TOPIC_DID_SHUT],e),this.pubSubShared.subscribe({topic:r.d.TOPIC_ALL_CONTENT_VISIBLE,retroactive:!0},this.handleAllContentVisible.bind(this),e)}handleAllContentVisible(t){this.root.classList.toggle(r.a.HIDE_TRIGGER,t.allContentVisible)}destroy(){super.destroy(),this.root.classList.remove(r.a.HIDE_TRIGGER),this.root.classList.remove("lb-expansion-panel-trigger--initialized"),this.pubSubShared.unsubscribe(this.TOPIC_DID_OPEN,this.subscription[this.TOPIC_DID_OPEN]),this.pubSubShared.unsubscribe(this.TOPIC_DID_SHUT,this.subscription[this.TOPIC_DID_SHUT])}}s(n,"COMPONENT_NAME",r.d.COMPONENT_NAME_TRIGGER),s(n,"COMPONENT_ID",r.d.COMPONENT_ID_TRIGGER),s(n,"DEFAULT_OPTIONS",{family:"",index:null})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o}));const r=()=>{};class o{constructor(t,e,i){t=void 0===t?r:t,e=void 0===e?r:e,this.progressCallback=t,this.completeCallback=e,this.duration=void 0===i?3e3:i,s(this,"progress",0),s(this,"rafId",0),s(this,"startTime",void 0)}start(){this.rafId=requestAnimationFrame(this.step.bind(this));const t=performance.now();this.startTime=this.startTime?t-this.duration*this.progress:t}pause(){cancelAnimationFrame(this.rafId)}stop(){cancelAnimationFrame(this.rafId),this.startTime=void 0,this.progress=0}step(){if(void 0===this.startTime)return cancelAnimationFrame(this.rafId);this.progress=(performance.now()-this.startTime)/this.duration,this.progress=Math.min(this.progress,1),this.progressCallback(this.progress),1===this.progress?(this.stop(),this.completeCallback()):this.rafId=requestAnimationFrame(this.step.bind(this))}}},function(t,e,i){i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return r}));const s=t=>0==t||1==t?t:.5>t?2*t*t:(4-2*t)*t-1,r=t=>0==t||1==t?t:--t*t*t+1,o=t=>0==t||1==t?t:1-n(1-t),n=t=>0==t||1==t?t:t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-1.5/2.75)*(t-1.5/2.75)+.75:t<2.5/2.75?7.5625*(t-2.25/2.75)*(t-2.25/2.75)+.9375:7.5625*(t-2.625/2.75)*(t-2.625/2.75)+.984375;new Map([["ease",(t,e,i,s,r)=>e+i*r(t/s)],["easeInSine",t=>0==t||1==t?t:1-Math.cos(Math.PI/2*t)],["easeOutSine",t=>0==t||1==t?t:Math.sin(Math.PI/2*t)],["easeInOutSine",t=>0==t||1==t?t:-.5*(Math.cos(Math.PI*t)-1)],["easeInQuad",t=>0==t||1==t?t:t*t],["easeOutQuad",t=>0==t||1==t?t:t*(2-t)],["easeInOutQuad",s],["easeInCubic",t=>0==t||1==t?t:t*t*t],["easeOutCubic",r],["easeInOutCubic",t=>0==t||1==t?t:.5>t?4*t*t*t:(t-1)*(2*t-2)*(2*t-2)+1],["easeInQuart",t=>0==t||1==t?t:t*t*t*t],["easeOutQuart",t=>0==t||1==t?t:1- --t*t*t*t],["easeInOutQuart",t=>0==t||1==t?t:.5>t?8*t*t*t*t:1-8*--t*t*t*t],["easeInQuint",t=>0==t||1==t?t:t*t*t*t*t],["easeOutQuint",t=>0==t||1==t?t:1+--t*t*t*t*t],["easeInOutQuint",t=>0==t||1==t?t:.5>t?16*t*t*t*t*t:1+16*--t*t*t*t*t],["easeInExpo",t=>0==t||1==t?t:Math.pow(2,10*(t-1))],["easeOutExpo",t=>0==t||1==t?t:1-Math.pow(2,-10*t)],["easeInOutExpo",t=>0==t||1==t?t:.5>t?.5*Math.pow(2,10*(2*t-1)):.5*(2-Math.pow(2,-10*(2*t-1)))],["easeInCirc",t=>0==t||1==t?t:1-Math.sqrt(1-t*t)],["easeOutCirc",t=>0==t||1==t?t:Math.sqrt(1-(t-1)*(t-1))],["easeInOutCirc",t=>0==t||1==t?t:.5>t?-.5*(Math.sqrt(1-t*t*4)-1):.5*(Math.sqrt(1-4*(t-1)*(t-1))+1)],["easeInBack",t=>0==t||1==t?t:t*t*(2.70158*t-1.70158)],["easeOutBack",t=>0==t||1==t?t:(t-1)*(t-1)*(2.70158*(t-1)+1.70158)+1],["easeInOutBack",t=>0==t||1==t?t:.5>t?2*t*t*(7.189819*t-2.5949095):.5*((2*t-2)*(2*t-2)*(3.5949095*(2*t-2)+2.5949095)+2)],["easeInElastic",t=>0==t||1==t?t:-1*Math.pow(2,10*(t-1))*Math.sin(2*(t-1.075)*Math.PI/.3)],["easeOutElastic",t=>0==t||1==t?t:Math.pow(2,-10*t)*Math.sin(2*(t-.075)*Math.PI/.3)+1],["easeInOutElastic",t=>0==t||1==t?t:.5>t?-.5*Math.pow(2,10*(2*t-1))*Math.sin(2*(2*t-1.1125)*Math.PI/.45):.5*Math.pow(2,-10*(2*t-1))*Math.sin(2*(2*t-1.1125)*Math.PI/.45)+1],["easeInBounce",o],["easeOutBounce",n],["easeInOutBounce",t=>0==t||1==t?t:.5>t?.5*o(2*t):.5*n(2*t-1)+.5],["linear",t=>t]])},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return h})),t=i(5);var r=i(6),o=i(16),n=i(3),a=i(37),l=i(2);r.a.register(a.a.COMPONENT_NAME,a.a);class h extends t.a{constructor(t,...e){super(t,...e),s(this,"surface",void 0),s(this,"surfaceContent",void 0),s(this,"mode",l.d.SHUT),s(this,"subscription",Object(n.f)()),s(this,"debouncedResize",void 0),s(this,"dimensionCache",0),s(this,"a11y",new o.a),s(this,"promisify",Object(n.g)()),s(this,"tabbableNodes",[]),s(this,"resizeObserver",void 0),s(this,"syntheticallyOpen",!1),s(this,"index",-1)}acknowledgeTopic(t,e){if(({index:e=null}=e),e===this.index||null===e)switch(t){case l.d.TOPIC_TOGGLE:this.toggle();break;case l.d.TOPIC_OPEN:this.open();break;case l.d.TOPIC_SHUT:this.shut();break;case l.d.TOPIC_RESIZE:this.handleResize()}}morphDone(t){let e="";const i=this.options,s=0===i.minHeight?l.d.TRANSITION_EVENT_COMPLETE_PROP:"height";switch(t.type){case l.d.EVENT_TRANSITION_END:this.promisify.successCaller(this.mode),e=l.d.TOPIC_DID+this.mode;break;case l.d.EVENT_TRANSITION_CANCEL:e=l.d.TOPIC_CANCELLED}const r=e=>this.mode===e&&t.type===l.d.EVENT_TRANSITION_END&&t.propertyName!==s;r(l.d.OPEN)||r(l.d.SHUT)||this.pubSubShared.broadcast(e,{family:i.family,index:this.index})}handleResize(){const t=this.options.isAncestorPanel,e=this.surface;this.computeDimension(),this.dimensionCache<=this.options.minHeight?this.mode===l.d.SHUT&&this.open(!0):this.syntheticallyOpen&&this.shut(),this.pubSubShared.broadcast(l.d.TOPIC_ALL_CONTENT_VISIBLE,{family:this.options.family,index:this.index,allContentVisible:this.dimensionCache<=this.options.minHeight}),this.mode===l.d.OPEN&&(this.open(this.syntheticallyOpen),t&&requestAnimationFrame(()=>{this.assignPropertyIf(l.b.SURFACE_HEIGHT,"auto",e)}))}shut(){return this.promisify.cancelPromise(),this.promisify.createPromise(()=>{this.options.minHeight?this.assignPropertyIf(l.b.SURFACE_HEIGHT,this.getDimensionWithPx(Math.min(this.dimensionCache,this.options.minHeight)),this.surface):this.removePropertyIf(l.b.SURFACE_HEIGHT,this.surface),this.options.minHeight||this.removePropertyIf(l.b.SURFACE_OPACITY,this.surface),this.disableEnableTabbing(!1),this.a11y.disableVisibility(this.surface),this.root.classList.remove(l.a.OPEN),this.mode=l.d.SHUT})}open(t){return this.syntheticallyOpen=void 0!==t&&t,this.promisify.cancelPromise(),this.promisify.createPromise(()=>{this.root.classList.add(l.a.OPEN),this.options.computeBeforeOpen&&this.computeDimension(),this.assignPropertyIf(l.b.SURFACE_VISIBILITY,l.d.VISIBILITY_OPEN,this.surface),this.assignPropertyIf(l.b.SURFACE_HEIGHT,this.getDimensionWithPx(this.options.minHeight&&this.syntheticallyOpen?Math.min(this.dimensionCache,this.options.minHeight):this.dimensionCache),this.surface),Object(n.m)(l.c.FADE_DELAY).then(()=>{Object(n.j)(()=>{this.assignPropertyIf(l.b.SURFACE_OPACITY,l.d.OPACITY_OPEN,this.surface)})}),this.disableEnableTabbing(!0),this.a11y.enableVisibility(this.surface),this.mode=l.d.OPEN})}disableEnableTabbing(t){for(const e of this.tabbableNodes)t?this.a11y.enableTabbing(e):this.a11y.disableTabbing(e)}toggle(){return this.mode===l.d.OPEN?this.shut():this.open()}computeDimension(){this.dimensionCache=Math.max(this.surfaceContent.offsetHeight,this.surfaceContent.scrollHeight)}getDimensionWithPx(t){return t+l.d.MEASUREMENT_UNIT}initialize(){const{open:t,family:e,transitionDuration:i,transitionIcon:s,minHeight:r,isAncestorPanel:o}=this.options;if(h.counterMap[e]=h.counterMap[e]||Object(n.k)(e),this.index=h.counterMap[e].increment(),this.surface=this.queryComponentSelector(l.d.SELECTOR_SURFACE),this.surfaceContent=this.surface.querySelector(l.d.SELECTOR_SURFACE_CONTENT),null===this.surface||null===this.surfaceContent)throw Error(l.d.ERROR_NO_SURFACE);o&&this.root.classList.add(l.a.ANCESTOR),this.computeDimension(),this.setAttr("role","region",this.surface),r&&(this.assignPropertyIf(l.b.SURFACE_VISIBILITY,l.d.VISIBILITY_OPEN,this.surface),this.assignPropertyIf(l.b.SURFACE_OPACITY,l.d.OPACITY_OPEN,this.surface),this.assignPropertyIf(l.b.SURFACE_HEIGHT,this.getDimensionWithPx(Math.min(this.dimensionCache,r)),this.surface)),this.tabbableNodes=this.a11y.gatherFocusableElements(this.surface).filter(t=>(t=t.closest(l.d.SELECTOR_ROOT),this.root.isSameNode(t))),this.toggleClass(l.a.ICON_STATIC,!1===s),this.assignPropertyIf(l.b.SURFACE_TRANSITION_DURATION,i+"s",this.root,null!==i),this.debouncedResize=Object(n.b)(this.handleResize.bind(this),l.c.RESIZE_DEBOUNCE_DURATION,!1),this.resizeObserver=new ResizeObserver(()=>{this.debouncedResize()}),this.resizeObserver.observe(this.surfaceContent),t&&this.open(),this.attachInteraction(l.d.EVENT_TRANSITION_END,this.morphDone.bind(this),this.surface),this.attachInteraction(l.d.EVENT_TRANSITION_CANCEL,this.morphDone.bind(this),this.surface);for(const t of h.TOPIC_LIST){const e=this.subscription[t]=e=>{this.acknowledgeTopic(t,e)};this.pubSubShared.subscribe(t,e,t=>{const{family:e=l.d.FAMILY_NAME_DEFAULT,index:i=null}=t;return(null===i||i===this.index)&&e===this.options.family})}this.handleResize()}destroy(){var t=this.index,e=this.options.family;if(h.counterMap[e].decrement(),this.a11y.enableVisibility(this.surface,!0),this.removePropertyIf(l.b.SURFACE_HEIGHT,this.surface),this.removePropertyIf(l.b.SURFACE_VISIBILITY,this.surface),this.detachInteraction(l.d.EVENT_TRANSITION_END,this.surface),this.detachInteraction(l.d.EVENT_TRANSITION_CANCEL,this.surface),this.resizeObserver.unobserve(this.surfaceContent),this.root.classList.remove(l.a.OPEN),this.root.classList.remove("lb-expansion-panel--initialized"),this.removePropertyIf(l.b.SURFACE_OPACITY,this.surface),this.removePropertyIf(l.b.SURFACE_VISIBILITY,this.surface),this.removePropertyIf(l.b.SURFACE_HEIGHT,this.surface),this.removePropertyIf(l.b.SURFACE_TRANSITION_DURATION),t={family:e,index:t},0!==(e=this.queryComponentSelectorAll(`[lb-auto-init="${a.a.COMPONENT_NAME}"]`)).length)for(const t of e)r.a.getComponent(t,a.a.COMPONENT_NAME).destroy();for(const e of h.TOPIC_LIST)this.pubSubShared.unsubscribe(e,this.subscription[e],t)}}s(h,"COMPONENT_NAME",l.d.COMPONENT_NAME),s(h,"COMPONENT_ID",l.d.COMPONENT_ID),s(h,"DEFAULT_OPTIONS",{family:l.d.FAMILY_NAME_DEFAULT,open:!1,transitionDuration:".25",transitionIcon:!0,computeBeforeOpen:!1,minHeight:0,isAncestorPanel:!1}),s(h,"counterMap",Object(n.f)()),s(h,"TOPIC_LIST",[l.d.TOPIC_OPEN,l.d.TOPIC_SHUT,l.d.TOPIC_TOGGLE,l.d.TOPIC_RESIZE])},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a})),t=i(5);var r=i(25),o=i(16),n=i(46);class a extends t.a{constructor(t){super(t),s(this,"a11y",new o.a)}initialize(){this.pubSubShared.subscribe({topic:r.a.PUBSUB_TOPIC_DID_CHANGE,retroactive:!0},this.subscribeHandler,this,t=>t.uid===this.options.uid)}handlePubSubCall(t){const e=this.root;(t.tabIndex||t.tabValue)===this.options.panelIndex?(e.classList.add(n.a.LB_TABPANEL_OPEN),this.a11y.enableVisibility(e,!0)):(e.classList.remove(n.a.LB_TABPANEL_OPEN),this.a11y.disableVisibility(e,!0))}subscribeHandler(t){this.handlePubSubCall(t)}destroy(){this.pubSubShared.unsubscribe(r.a.PUBSUB_TOPIC_DID_CHANGE,this.subscribeHandler)}}s(a,"COMPONENT_NAME","LBTabpanel"),s(a,"COMPONENT_ID","tab-panel"),s(a,"DEFAULT_OPTIONS",{id:n.b.ID,uid:""})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o})),t=i(22);var r=i(1);class o extends t.a{get checked(){return this.nativeNode.checked}initialize(){super.initialize(),this.attachInteraction(r.b.EVENT_CHANGE,()=>{const{name:t,uid:e,value:i}=this;this.pubSubShared.broadcast(r.b.TOPIC_RADIO_CHECKBOX_CHANGE,{name:t,uid:e,value:i})},this.nativeNode)}destroy(){super.destroy(),this.detachInteraction(r.b.EVENT_CHANGE)}}s(o,"COMPONENT_NAME",r.b.COMPONENT_NAME_FIELD_CHECKBOX),s(o,"COMPONENT_ID",r.b.COMPONENT_ID_FIELD_CHECKBOX),s(o,"DEFAULT_OPTIONS",{name:"",disabled:!1})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o})),t=i(22);var r=i(1);class o extends t.a{get checked(){return this.nativeNode.checked}initialize(){super.initialize(),this.attachInteraction(r.b.EVENT_CHANGE,()=>{const{name:t,uid:e,value:i}=this;this.pubSubShared.broadcast(r.b.TOPIC_RADIO_CHECKBOX_CHANGE,{name:t,uid:e,value:i})},this.nativeNode)}destroy(){super.destroy(),this.detachInteraction(r.b.EVENT_CHANGE)}}s(o,"COMPONENT_NAME",r.b.COMPONENT_NAME_FIELD_RADIO),s(o,"COMPONENT_ID",r.b.COMPONENT_ID_FIELD_RADIO),s(o,"DEFAULT_OPTIONS",{name:"",disabled:!1})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n})),t=i(22);var r=i(1),o=i(3);class n extends t.a{constructor(...t){super(...t),s(this,"reportContainer",null),s(this,"reportCache",""),s(this,"characterCounterEnabled",!1)}reportValidity(){return this.nativeNode.reportValidity()}set customValidity(t){this.nativeNode.setCustomValidity(t)}get validationMessage(){return this.nativeNode.validationMessage}get validity(){return this.nativeNode.validity}setInvalidClasses(){this.root.classList.remove(r.a.SUCCESS),this.root.classList.add(r.a.FAILURE)}setValidClasses(){this.options.validatorSuccessState&&(this.root.classList.remove(r.a.FAILURE),this.root.classList.add(r.a.SUCCESS))}renderReport(t){null!==this.reportContainer&&(this.reportContainer.textContent=t)}evaluateCustomValidator(){const{validatorCustomRe:t}=this.options;if(!t)throw Error(r.b.ERROR_MISSING_RE);const e=Object(o.f)();if("string"==typeof t)e.valid=new RegExp(t).test(this.value);else if(t&&t.constructor===Object){e.valid=!0;for(const i in t)if(!new RegExp(t[i]).test(this.value)){e.valid=!1,e.failureName=i;break}}return e}generateCustomErrorReport(){var{validatorReportFailure:t}=this.options;let e="";for(const i in this.validity){if(i===r.b.SKIP_VALIDITY_PROP)continue;const s=t[i]||this.validationMessage;this.validity[i]&&(e=s)}return(t=t[r.b.KEY_CUSTOM_ERROR])&&""===e?t:e}performValidation(t){const{validatorReportFailure:e,validatorReportSuccess:i,suppressNativeError:s}=this.options;let o=this.validity.valid;var n="";return t&&(o=t.valid,n=t.failureName),t=(t=Object.values(e)).filter(t=>t),this.customValidity="",o?(this.setValidClasses(),this.setAttr("aria-invalid","false",this.nativeNode),this.renderReport(i)):(this.setInvalidClasses(),this.setAttr("aria-invalid","true",this.nativeNode),t.length?(n=n&&e[n]?e[n]:this.generateCustomErrorReport(),s?this.renderReport(n):(this.customValidity=n,this.reportValidity())):this.reportValidity()),this.pubSubShared.broadcast(r.b.TOPIC_DID_VALIDATE,{name:this.name,uid:this.uid,valid:o}),o}enableValidator(){var t;const{validationEventName:e}=this.options;if(this.reportContainer=this.queryComponentSelector(r.b.SELECTOR_REPORT),this.reportCache=(null===(t=this.reportContainer)||void 0===t?void 0:t.textContent)||"",this.pubSubShared.subscribe(r.b.TOPIC_VALIDATE,this.validate,this,t=>t.uid===this.uid),this.attachInteraction(r.b.EVENT_FOCUS,()=>{window.setTimeout(()=>this.clearState())},this.nativeNode),![r.b.EVENT_INPUT,r.b.EVENT_CHANGE].includes(e))throw Error(r.b.ERROR_NOT_SUPPORTED_EVENT);this.attachInteraction(e,this.validate.bind(this),this.nativeNode),this.characterCounterEnabled=!0}enableCharacterCounter(){const{count:t}=this.options;if(!t)throw Error(r.b.ERROR_NO_COUNT);this.setAttr(r.b.ATTR_MAXLENGTH,t,this.nativeNode),this.attachInteraction(r.b.EVENT_INPUT,this.renderCounterValue.bind(this),this.nativeNode),this.renderCounterValue()}renderCounterValue(){const{counterMode:t,count:e}=this.options,i=this.queryComponentSelector(r.b.SELECTOR_COUNTER_CURRENT);let s;const o=s=this.value.length;switch(t){case r.b.COUNTER_MODE_SIMPLE:this.queryComponentSelector(r.b.SELECTOR_COUNTER_MAX).textContent=e;break;case r.b.COUNTER_MODE_NEGATIVE:s=e-o}i.textContent=""+s}clearState(){this.root.classList.remove(r.a.FAILURE),this.root.classList.remove(r.a.SUCCESS),this.renderReport(this.reportCache)}validate(){const{validatorMode:t}=this.options;return t===r.b.VALIDATOR_MODE_CUSTOM?this.performValidation(this.evaluateCustomValidator()):this.performValidation()}acknowledgeValue(t){this.value=t.value,this.characterCounterEnabled&&this.renderCounterValue()}suppressNativeError(){this.attachInteraction(r.b.EVENT_INVALID,t=>t.preventDefault(),this.nativeNode)}initialize(){super.initialize();const{validatorMode:t,counterMode:e,suppressNativeError:i}=this.options;t!==r.b.VALIDATOR_MODE_NONE&&this.enableValidator(),e!==r.b.COUNTER_MODE_NONE&&this.enableCharacterCounter(),i&&this.suppressNativeError(),this.pubSubShared.subscribe(r.b.TOPIC_SET_VALUE,this.acknowledgeValue,this,t=>t.uid===this.uid)}destroy(){super.destroy(),this.detachInteraction(r.b.EVENT_INPUT,this.nativeNode),this.detachInteraction(r.b.EVENT_BLUR,this.nativeNode),this.detachInteraction(r.b.EVENT_FOCUS,this.nativeNode),this.detachInteraction(r.b.EVENT_INVALID,this.nativeNode),this.pubSubShared.unsubscribe(r.b.TOPIC_VALIDATE,this.validate),this.pubSubShared.unsubscribe(r.b.TOPIC_SET_VALUE,this.acknowledgeValue)}}s(n,"COMPONENT_NAME",r.b.COMPONENT_NAME_FIELD_TEXT),s(n,"COMPONENT_ID",r.b.COMPONENT_ID_FIELD_TEXT),s(n,"DEFAULT_OPTIONS",{disabled:!1,suppressNativeError:!1,counterMode:r.b.COUNTER_MODE_NONE,count:0,validationEventName:"change",validatorMode:r.b.VALIDATOR_MODE_NONE,validatorCustomRe:"",validatorSuccessState:!1,validatorReportSuccess:"",validatorReportFailure:{badInput:"",customError:"",patternMismatch:"",rangeOverflow:"",rangeUnderflow:"",stepMismatch:"",tooLong:"",tooShort:"",typeMismatch:"",valueMissing:""}})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o}));let r=null;class o{constructor(t){return this.allowUnpairedParameter=void 0!==t&&t,s(this,"errorCount",0),s(this,"tokens",{}),r||(r=this),r}assembleSearchString(t){if(t)for(const e of Object.keys(t))t[e]=t[e]?t[e].toString():"";return new URLSearchParams(t).toString()}sanitize(t,e){return!!this.validate(t,e)||(this.errorCount+=1,!1)}validate(t,e){var[i,s]=t;return(this.allowUnpairedParameter?i:i&&s)&&e.test(i)&&e.test(s)}dispose(){r=null,this.errorCount=0,this.tokens={}}entriesCount(){return Object.keys(this.tokens).length}entries(){return this.tokens}errors(){return this.errorCount}parse(t,e){if(t=void 0===t?window.location.search:t,Array.isArray(t))for(const e of t){const[t,i]=e;this.tokens=Object.assign(this.tokens,{[t]:i})}else new URLSearchParams(t).forEach((t,e)=>{this.tokens=Object.assign(this.tokens,{[e]:t})});if(e)for(const t of Object.entries(this.tokens))this.sanitize(t,e)||delete this.tokens[t[0]];return this.tokens}}},function(t,e,i){i.d(e,"a",(function(){return s})),i.d(e,"b",(function(){return r}));let s=((o={}).LB_TABPANEL_OPEN="lb-tabpanel--open",o),r=function(t){return t.ID="tabpanel",t}({});var o},function(t,e,i){i.d(e,"a",(function(){return s})),t=i(1),i=i(3);const s=Object(i.k)(t.b.IDENTIFIER_SHARED_COUNTER)},function(t,e,i){i.d(e,"a",(function(){return o})),i.d(e,"b",(function(){return s})),i.d(e,"c",(function(){return r}));const s={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},r=t=>(...e)=>({_$litDirective$:t,values:e});class o{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,i){this._$Ct=t,this._$AM=e,this._$Ci=i}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}},function(t,e,i){i.d(e,"a",(function(){return s})),t=i(17),i=i(3);const s=Object(i.k)(t.b.IDENTIFIER_SHARED_COUNTER)},function(t,e,i){i.d(e,"a",(function(){return s}));let s=((r={})[r.DEFAULT_ACTIVATE_THRESHOLD=.3]="DEFAULT_ACTIVATE_THRESHOLD",r[r.DEFAULT_DEACTIVATE_THRESHOLD=.1]="DEFAULT_DEACTIVATE_THRESHOLD",r);var r},function(t,e,i){i.d(e,"a",(function(){return o}));var s=i(4),r=i(48);const o=Object(r.c)(class extends r.a{constructor(t){var e;if(super(t),t.type!==r.b.ATTRIBUTE||"class"!==t.name||2<(null===(e=t.strings)||void 0===e?void 0:e.length))throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter(e=>t[e]).join(" ")+" "}update(t,e){var i,r,[o]=e;if(void 0===this.et){this.et=new Set,void 0!==t.strings&&(this.st=new Set(t.strings.join(" ").split(/\s/).filter(t=>""!==t)));for(const t in o)!o[t]||null!==(i=this.st)&&void 0!==i&&i.has(t)||this.et.add(t);return this.render(o)}const n=t.element.classList;this.et.forEach(t=>{t in o||(n.remove(t),this.et.delete(t))});for(const e in o)(t=!!o[e])===this.et.has(e)||null!==(r=this.st)&&void 0!==r&&r.has(e)||(t?(n.add(e),this.et.add(e)):(n.remove(e),this.et.delete(e)));return s.b}})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n}));var r=i(53),o=i(3);class n{constructor(){s(this,"subscribers",Object(o.f)()),s(this,"broadcastHistory",Object(o.f)())}generateSubscriptionMetadata(t,e){return{subscriptionLength:e,retroactive:!1,index:t,first:0===t,final:t===e-1}}fulfillSubscription(t,e,i){t.condition(i,e)&&t.callee(i,e)}includesTopic(t){return!(!this.subscribers[t]||!this.subscribers[t].length)}deferBroadcast(t,e,i){return i=void 0===i?Object(o.f)():i,e.then(e=>(Object.assign(i,{response:e}),this.broadcast(t,i),i)).catch(t=>Promise.reject(t))}broadcast(t,e){if(this.broadcastHistory[t]=e,this.includesTopic(t)){var i=(t=this.subscribers[t]).length;for(let s=0;s{e.apply(i,...r),this.unsubscribe(t,s)};return this.subscribe(t,s,i)}clearSubscriptionAll(){this.subscribers=Object(o.f)()}unsubscribeAll(t){if(!this.includesTopic(t))throw Error(t+" is not a valid topic.");delete this.subscribers[t]}unsubscribe(t,e,i){const s=this.subscribers[t];if(void 0!==s){var r=s.length,o=e.toString();0===r?delete this.subscribers[t]:this.subscribers[t]=s.filter((t,e)=>{e=this.generateSubscriptionMetadata(e,r);const s=t.subscriber.toString()!==o;return void 0!==i&&!t.condition(i,e)||s})}}subscribe(t,e,i,s){let o="",n=!1,a=!1;if("object"==typeof t){var l;o=t.topic,n=t.retroactive,a=null!==(l=t.withStateProvider)&&void 0!==l?l:a}else{if("string"!=typeof o)throw Error(r.a.ERROR_TOPIC_STRING);o=t}"function"==typeof i&&void 0===s&&(s=i,i=void 0),!a&&o.startsWith("$$")&&console.error('Pub-sub topic strings that begin with "$$" are reserved for interal-only subscriptions.');const h={subscriber:e,callee:e.bind(i||e),condition:s||(()=>!0)};return this.subscribers[o]=this.subscribers[o]||[],e=(t=this.subscribers[o].push(h))-1,i=this.broadcastHistory[o],n&&i&&this.fulfillSubscription(h,{retroactive:n,index:e,subscriptionLength:t,final:e===t-1,first:0===e},i),{unsubscribe:()=>{const t=this.subscribers[o],e=t.findIndex(t=>t.subscriber===h.subscriber);return-1===e?null:t.splice(e,1)}}}}},function(t,e,i){i.d(e,"a",(function(){return s}));let s=((r={}).ERROR_TOPIC_STRING='"topic" must be a string or a "SubscriptionTopic" object',r.ERROR_FUNCTION_CONDITION='A "if" condition must be a function thatreturns a boolean.',r.INTERNAL_STATE_TOPIC="$$lb-state:update",r);var r},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return u})),t=i(5);var r=i(38),o=i(28),n=i(39),a=i(31),l=i(3),h=i(16),c=i(10),d=i(7);class u extends t.a{constructor(t){super(t),s(this,"detect",void 0),s(this,"timer",void 0),s(this,"hammer",void 0),s(this,"resizeObserver",void 0),s(this,"debouncedResize",void 0),s(this,"enabled",!1),s(this,"slideEls",[]),s(this,"slides",[]),s(this,"groups",[]),s(this,"viewport",void 0),s(this,"track",void 0),s(this,"currentIndex",0),s(this,"startTranslate",0),s(this,"viewportWidth",0),s(this,"currentTranslate",0),s(this,"isAnimating",!1),s(this,"isRtl",!1),s(this,"ioMap",[]),s(this,"ignoreGhostClick",!1),s(this,"wheelTimeout",0),s(this,"lBA11y",new h.a),this.detect=new a.a}initialize(){if(this.isRtl="rtl"===document.documentElement.dir||this.options.isRtl,this.slideEls=this.queryComponentSelectorAll(d.h.SLIDE),this.viewport=this.queryComponentSelector(d.h.VIEWPORT),this.track=this.queryComponentSelector(d.h.TRACK),!this.viewport||!this.track||!this.slideEls.length)throw Error(d.d.ELEMENT_NOT_FOUND);this.attachInteraction("click",this.handleClick.bind(this)),this.attachInteraction("keyup",this.handleKeyup.bind(this));try{this.hammer=new window.Hammer(this.getHTMLElement(this.track),{inputClass:window.Hammer.TouchMouseInput,enable:this.enabled}),this.hammer.on("panstart panend panmove",this.handlePan.bind(this)),this.hammer.on("swipeleft swiperight",this.handleSwipe.bind(this))}catch(t){throw Error(d.d.HAMMER_NOT_FOUND)}this.debouncedResize=Object(l.b)(this.handleResize.bind(this),d.g.DEBOUNCE_DURATION,!1),this.resizeObserver=new ResizeObserver(()=>{this.debouncedResize()}),this.setPrefersReducedMotion(),this.pubSubShared.subscribe(d.e.GET_STATE,this.broadcastState,this),this.options.breakpoints.length?(this.toggleClass(d.b.CAROUSEL_DISABLED,!0),new o.a(t=>{this.handleBreakpointChange(t.breakpoint)})):this.enable()}enable(){this.enabled||(this.enabled=!0,this.toggleClass(d.b.CAROUSEL_DISABLED,!1),this.attachInteraction("wheel",this.handleWheel.bind(this)),this.resizeObserver.observe(this.root),this.pubSubShared.subscribe(d.e.GOTO,this.handleGoTo,this),this.hammer&&this.hammer.set({enable:!0}),this.setupIntersectionObservers(),setTimeout(()=>requestAnimationFrame(()=>{this.moveToIndex(this.currentIndex||this.options.startIndex,0)}),d.g.INIT_DEBOUNCE_DURATION))}disable(){this.enabled&&(this.enabled=!1,this.toggleClass(d.b.CAROUSEL_DISABLED,!0),this.hammer&&this.hammer.set({enable:!1}),this.detachInteraction("wheel"),this.resizeObserver.unobserve(this.root),this.pubSubShared.unsubscribe(d.e.GOTO,this.handleGoTo),this.getHTMLElement(this.track).style.transform="none",this.broadcastState())}getState(){const t={absolute:0,currentIndex:this.currentIndex,currentTranslate:this.currentTranslate,enabled:this.enabled,lastIndex:this.getLastIndex(),uid:this.options.uid,visibilityMap:this.ioMap};if(this.enabled){const e=this.getTranslateForIndex(0);t.absolute=(this.currentTranslate-e)/this.getTranslatableLength()}return t}reset(t){t=void 0===t?0:t,this.slideEls=this.queryComponentSelectorAll(d.h.SLIDE),this.initMeasurements(),this.setupIntersectionObservers(),this.moveToIndex(this.options.startIndex,t)}moveInDirection(t){0===Math.abs(t%1)&&this.moveToIndex(this.currentIndex+t)}setupIntersectionObservers(){const t=(t,e)=>{this.ioMap[t]={target:e.target,intersectionRatio:e.intersectionRatio}};this.slideEls.map((e,i)=>{new IntersectionObserver(e=>{t(i,e[0])},{threshold:Object(l.d)(1001),root:this.viewport}).observe(e)}),this.ioMap=this.slideEls.map(t=>({target:t,intersectionRatio:1}))}initMeasurements(){this.viewportWidth=this.getHTMLElement(this.viewport).offsetWidth;let t=this.viewport;for(;!this.viewportWidth&&t.parentNode;)t=t.parentNode,this.viewportWidth=this.getHTMLElement(t).offsetWidth;this.options.group?this.groups=this.setGroups(this.slideEls):this.slides=this.setSlides(this.slideEls)}handleResize(){this.initMeasurements(),this.moveToIndex(this.currentIndex,0)}handleGoTo(t){t.uid===this.options.uid&&(t.hasOwnProperty("index")?this.moveToIndex(t.index):t.hasOwnProperty("direction")&&this.moveInDirection(t.direction))}handleClick(t){this.ignoreGhostClick&&(t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation(),this.ignoreGhostClick=!1)}handleKeyup(t){if(this.slidesAreFocused())switch(t.key){case c.c.ARROW_LEFT:this.moveInDirection(-1);break;case c.c.ARROW_RIGHT:this.moveInDirection(1)}}handleWheelTimeout(){const t=this.getClosestIndex();this.moveToIndex(t)}handleWheel(t){if(this.options.snapToSlide&&(window.clearTimeout(this.wheelTimeout),this.wheelTimeout=window.setTimeout(()=>{this.handleWheelTimeout()},d.g.WHEEL_TIMEOUT)),Math.abs(t.deltaX)){t.preventDefault();var e=this.getLastIndex();const i=this.getTranslateForIndex(0);e=this.getTranslateForIndex(e),(t=this.currentTranslate-t.deltaX)e&&(this.currentTranslate=t,this.translate(this.currentTranslate))}}handlePan(t){switch(t.type){case"panstart":this.startTranslate=this.currentTranslate,this.root.classList.add(d.b.CAROUSEL_PANNING);break;case"panmove":var e=this.isRtl?-1:1,i=this.getLastIndex(),s=this.getTranslateForIndex(0);const o=this.getTranslateForIndex(i);var r=this.getMidpoint(0);const n=this.getMidpoint(this.currentIndex);r=(r-n)*e,e*=n-(i=this.getMidpoint(i)),this.currentTranslate=!this.isRtl&&this.currentTranslate>=s||this.isRtl&&this.currentTranslate<=s?s+(t.deltaX+r)*d.g.OOB_SCALE_FACTOR:!this.isRtl&&this.currentTranslate<=o||this.isRtl&&this.currentTranslate>=o?this.startTranslate+e+(t.deltaX-e)*d.g.OOB_SCALE_FACTOR:this.startTranslate+t.deltaX,this.translate(this.currentTranslate);break;case"panend":this.root.classList.remove(d.b.CAROUSEL_PANNING),s=this.getClosestIndex(),this.moveToIndex(s)}t.isFinal&&(this.ignoreGhostClick=!1)}handleSwipe(t){this.root.classList.remove(d.b.CAROUSEL_PANNING);const e=this.isRtl?-1:1,i=this.getClosestIndex();i!==this.currentIndex?this.moveToIndex(i):this.moveInDirection({swipeleft:1,swiperight:-1}[t.type]*e)}handleBreakpointChange(t){this.options.breakpoints.includes(t)?!this.enabled&&this.enable():this.enabled&&this.disable()}broadcastState(){this.pubSubShared.broadcast(d.e.STATE_CHANGE,this.getState())}getMidpoint(t){const e=this.options.group?this.groups:this.slides;return e[t]?e[t].midpoint:0}getLastIndex(){return this.options.group?this.groups.length-1:this.slides.length-1}setCurrentIndex(t){this.isValidIndex(t)&&(this.currentIndex=t,this.setSlideA11y(),this.pubSubShared.broadcast(d.e.CURRENT_INDEX,{id:this.options.uid,index:t}))}setSlideA11y(){var t=this.options.group?this.groups:this.slideEls;for(const e of t.entries()){const[i,s]=e;if(t=i===this.currentIndex,this.options.group)for(const e of s.slideEls.entries()){const[,i]=e;this.toggleVisibilityRecursive(i,t)}else this.toggleVisibilityRecursive(s,t)}}toggleVisibilityRecursive(t,e){const i=(t,e)=>{e=void 0===e||e,this.lBA11y.isFocusable(t)&&(t.setAttribute("tabindex",e?"0":"-1"),t.setAttribute("aria-hidden",e?"false":"true"))};i(t,e=void 0===e||e),t=this.lBA11y.gatherFocusableElements(t);for(const s of t)i(s,e)}getClosestIndex(){const t=(this.options.group?this.groups:this.slides).map((t,e)=>({index:e,distance:Math.abs(this.currentTranslate-this.getTranslateForIndex(e))}));return t.sort((t,e)=>t.distance-e.distance),t[0].index}getTranslatableLength(){const t=this.getTranslateForIndex(0);return this.getTranslateForIndex(this.getLastIndex())-t}moveToIndex(t,e){if(e=void 0===e?this.options.moveDuration:e,!this.isValidIndex(t)||this.isAnimating)return new Promise((t,e)=>e);this.isAnimating=!0,this.willChange(this.currentIndex,t),this.options.group||(this.slides[this.currentIndex].el.classList.remove(d.b.SLIDE_ACTIVE),this.slides[t].el.classList.add(d.b.SLIDE_ACTIVE)),this.setCurrentIndex(t);const i=this.currentTranslate,s=this.getTranslateForIndex(t)-i;return new Promise(t=>{this.timer=new r.a(t=>{t=Object(n.b)(t)*s,this.currentTranslate=i+t,this.translate(this.currentTranslate)},()=>{this.didChange(this.currentIndex),this.isAnimating=!1,t()},e),this.timer.start()})}translate(t){this.getHTMLElement(this.track).style.transform=`translate3d(${t}px, 0, 0)`,window.setTimeout(()=>{this.broadcastState()})}getTranslateForIndex(t){const e=this.isRtl?-1:1;return(-1*this.getMidpoint(t)+this.getCenter())*e}setSlides(t){return t.map((e,i)=>{const s=this.getHTMLElement(e),r=this.getHTMLElement(this.track),o=Object.create(null);if(o.el=s,e=()=>{o.midpoint=this.isRtl?r.offsetWidth-s.offsetLeft-s.offsetWidth/2:s.offsetLeft+s.offsetWidth/2},this.options.centerEnds)e();else switch(i){case 0:o.midpoint=this.getCenter();break;case t.length-1:o.midpoint=this.isRtl?r.offsetWidth-this.getCenter():s.offsetLeft+(s.offsetWidth-this.getCenter());break;default:e()}return o})}setGroups(t){const e=this.slidesByViewportFit(t);return e.map((t,i)=>{switch(i){case 0:t.midpoint=this.getCenter();break;case e.length-1:t.midpoint=t.offsetLeft+(t.offsetWidth-this.getCenter());break;default:t.midpoint=t.offsetLeft+t.offsetWidth/2}return t})}slidesByViewportFit(t){const e=t.map(t=>this.getHTMLElement(t).offsetWidth),i=[];let s=0,r=0,o=0;for(;s{n+=e[s],a.slideEls.push(t[s]),s+=1};if(n+e[s]t.contains(document.activeElement))}willChange(t,e){this.pubSubShared.broadcast(d.e.WILL_CHANGE,{uid:this.options.uid,oldIndex:t,newIndex:e})}didChange(t){this.slidesAreFocused()&&this.slideEls[t].focus(),this.pubSubShared.broadcast(d.e.DID_CHANGE,{uid:this.options.uid,newIndex:t})}destroy(){this.disable(),this.hammer&&this.hammer.destroy(),this.pubSubShared.unsubscribe(d.e.GET_STATE,this.broadcastState),this.detachInteraction("click"),this.detachInteraction("wheel")}}s(u,"COMPONENT_NAME",d.i.COMPONENT_NAME),s(u,"COMPONENT_ID",d.i.COMPONENT_ID),s(u,"DEFAULT_OPTIONS",d.c)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n})),t=i(5);var r=i(3),o=i(7);class n extends t.a{constructor(t){super(t)}initialize(){this.pubSubShared.subscribe(o.e.STATE_CHANGE,this.handleStateChange,this,t=>t.uid===this.options.uid),this.pubSubShared.broadcast(o.e.GET_STATE)}handleStateChange(t){this.root.classList.toggle(o.b.PROGRESS_DISABLED,!t.enabled);const e=1/(t.lastIndex+1);t=100*Object(r.i)(t.absolute,4);const i=100-(t=Object(r.a)(0,100)(t));this.root.style.setProperty(o.a.PROGRESS_SCALE,""+e),this.root.style.setProperty(o.a.PROGRESS_TRANSFORM_ORIGIN,t+"%"),this.root.style.setProperty(o.a.PROGRESS_TRANSFORM_ORIGIN_RTL,i+"%")}destroy(){super.destroy(),this.pubSubShared.unsubscribe(o.e.STATE_CHANGE,this.handleStateChange)}}s(n,"COMPONENT_NAME",o.i.COMPONENT_NAME_PROGRESS),s(n,"COMPONENT_ID",o.i.COMPONENT_ID_PROGRESS)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o})),t=i(32);var r=i(7);class o extends t.a{constructor(t){super(t)}initialize(){super.initialize("carousel","goto",this.options),this.pubSubShared.subscribe(r.e.STATE_CHANGE,this.handleStateChange,this,t=>t.uid===this.options.uid),this.pubSubShared.subscribe(r.e.FOCUS_RELEASE,this.handleFocusRelease,this,t=>t.uid===this.options.uid),this.pubSubShared.broadcast(r.e.GET_STATE)}handleStateChange(t){let e=!1;(this.options.previous&&0===t.currentIndex||this.options.next&&t.currentIndex===t.lastIndex||!t.enabled)&&(e=!0,document.activeElement===this.root&&this.pubSubShared.broadcast(r.e.FOCUS_RELEASE,{uid:this.options.uid,previous:this.options.previous,next:this.options.next})),this.a11y.toggleVisibility(this.root,!0,e),this.toggleClass(r.b.BUTTON_DISABLED,e),isNaN(this.options.index)||this.toggleClass(r.b.BUTTON_CURRENT,t.currentIndex===this.options.index)}handleFocusRelease(t){(t.next&&!this.options.next||t.previous&&!this.options.previous)&&this.root.focus()}destroy(){super.destroy(),this.pubSubShared.unsubscribe(r.e.STATE_CHANGE,this.handleStateChange),this.pubSubShared.unsubscribe(r.e.FOCUS_RELEASE,this.handleFocusRelease)}}s(o,"COMPONENT_NAME",r.i.COMPONENT_NAME_BUTTON),s(o,"COMPONENT_ID",r.i.COMPONENT_ID_BUTTON)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return l})),t=i(5);var r=i(10),o=i(16),n=i(3),a=i(0);class l extends t.a{constructor(t){super(t),s(this,"a11y",new o.a),s(this,"currentHeight",""),s(this,"ctasWrapper",null),s(this,"focusableNavWrapperEls",[]),s(this,"hash",window.location.hash.substring(1)),s(this,"largeBp",0),s(this,"lastScrollY",0),s(this,"lbButtons",null),s(this,"logo",void 0),s(this,"menuBtn",null),s(this,"mobileCtasWrapper",null),s(this,"mouseMoveOrigination",{x:null,y:null}),s(this,"mouseMoveTimeoutId",0),s(this,"nav",null),s(this,"navItems",[]),s(this,"navWrapper",null),s(this,"netScrollY",0),s(this,"navWrapperFocused",!1),s(this,"persistentCtasWrapper",null),s(this,"persistentCtasWrapperHeight",0),s(this,"rowLeft",void 0),s(this,"isRtl",n.e),s(this,"rowRight",null),s(this,"scrollPosition",[0,0]),s(this,"searchBar",null),s(this,"searchToggles",[]),s(this,"searchInner",null),s(this,"searchWrapper",null),s(this,"smallBp",0),s(this,"state",a.g.SM),s(this,"subnavItems",[]),s(this,"subnavWrappers",[]),s(this,"defaultWindowInnerHeight",0),s(this,"cachedWindowWidth",window.innerWidth),s(this,"cachedWindowHeight",window.innerHeight)}initialize(){this.logo=this.queryComponentSelector(a.f.LOGO),this.navWrapper=this.queryComponentSelector(a.f.NAV_WRAPPER),this.ctasWrapper=this.queryComponentSelector(a.f.CTAS_WRAPPER),this.searchToggles=this.queryComponentSelectorAll(a.f.SEARCH_TOGGLE),this.options.transparent&&this.initTransparentTheme(),this.options.theme!==a.i.LIGHT&&this.initDarkTheme(),this.options.descendingLogo&&this.initLogo(),this.options.sticky||this.initSlideAway(),this.navWrapper&&this.initNav(),this.ctasWrapper&&this.initCtas(),this.searchToggles.length&&this.initSearch(),this.navWrapper&&(this.focusableNavWrapperEls=this.a11y.gatherFocusableElements(this.navWrapper),this.toggleNavTabbing()),this.setHeaderHeight(),this.defaultWindowInnerHeight=this.cachedWindowHeight;const t=Object(n.b)(this.handleWindowResize.bind(this),a.e.DEBOUNCE_DURATION,!1).bind(this);window.addEventListener("resize",t),window.addEventListener("scroll",this.handleScroll.bind(this)),window.addEventListener("hashchange",this.handleHashChange.bind(this)),window.addEventListener("orientationchange",this.handleOrientation.bind(this)),document.addEventListener("keyup",this.handleKeyEvents.bind(this)),document.addEventListener("mousemove",this.handleMouseMove.bind(this)),this.toggleAriaExpanded(!1),this.reveal()}reveal(){this.root.classList.add(a.b.READY),!this.options.alwaysMobile&&this.subnavWrappers.length&&this.alignSubnav(),this.root.classList.add(a.b.INITIALIZED)}initTransparentTheme(){if("number"!=typeof this.options.transparent)throw Error(a.h.ERROR_TRANSPARENT_OPTION);this.setTheme(a.b.TRANSPARENT_THEME,[a.b.TRANSPARENT_CTAS_WRAPPER,a.b.LB_BUTTON_OVERLAY])}initDarkTheme(){if(this.options.theme!==a.i.DARK)throw Error(a.h.ERROR_THEME_OPTION);this.setTheme(a.b.DARK_THEME,[a.b.DARK_CTAS_WRAPPER,a.b.LB_BUTTON_DARK])}initLogo(){if("false"!==this.options.descendingLogo){if("true"!==this.options.descendingLogo&&"boolean"!=typeof this.options.descendingLogo)throw Error(a.h.ERROR_DESCENDING_LOGO_OPTION);this.logo.classList.add(a.b.DESCENDING_LOGO)}}initNav(){if(this.navWrapper){if(this.nav=this.queryComponentSelector(a.f.NAV),this.rowRight=this.queryComponentSelector(a.f.ROW_RIGHT),this.rowLeft=this.queryComponentSelector(a.f.ROW_LEFT),this.menuBtn=this.queryComponentSelector(a.f.MENU_BTN),this.subnavWrappers=this.queryComponentSelectorAll(a.f.SUBNAV_WRAPPER),this.navItems=this.queryComponentSelectorAll(a.f.NAV_ITEM),this.root.classList.add(a.b.WITH_NAV),this.options.alwaysMobile&&"false"!==this.options.alwaysMobile){if("true"!==this.options.alwaysMobile&&"boolean"!=typeof this.options.alwaysMobile)throw Error(a.h.ERROR_ALWAYS_MOBILE_OPTION);this.state=a.g.SM}else this.calculateBps(),this.setState();this.toggleMobileNavAriaHidden(),this.registerNavEvents(),this.subnavWrappers.length&&(this.initSubnav(),this.subnavItems=this.queryComponentSelectorAll(a.f.SUBNAV_ITEM)),""!==this.hash&&this.handleHashLinks()}}initSubnav(){this.toggleSubnavAriaHidden(),this.setActiveParentNavItem(),this.registerSubnavEvents()}initCtas(){if(this.ctasWrapper){if(this.navWrapper&&(this.mobileCtasWrapper=this.ctasWrapper.cloneNode(!0),this.mobileCtasWrapper.classList.add(a.b.MOBILE_CTAS_WRAPPER),this.navWrapper.appendChild(this.mobileCtasWrapper)),"object"!=typeof this.options.persistentCtas)throw Error(a.h.ERROR_PERSISTENT_CTAS_OPTION);var t=-1!==this.options.persistentCtas.indexOf(a.c.PRIMARY),e=-1!==this.options.persistentCtas.indexOf(a.c.SECONDARY);if(t||e){this.persistentCtasWrapper=this.ctasWrapper.cloneNode(!0);const i=this.persistentCtasWrapper.children;if(t||i[1].remove(),e||i[0].remove(),this.options.transparent&&(t&&i[1].classList.remove(a.b.LB_BUTTON_OVERLAY),e&&i[0].classList.remove(a.b.LB_BUTTON_OVERLAY),this.mobileCtasWrapper))for(t=0;t=this.largeBp?this.setLargeState():this.cachedWindowWidth=this.smallBp&&this.setMediumState()}}setLargeState(){this.root.classList.remove(a.b.MEDIUM),this.root.classList.add(a.b.LARGE),this.state=a.g.LG,this.pubSubShared.broadcast(a.h.PUBSUB_TOPIC_STATE,{state:this.state})}setMediumState(){const t=this.state;this.root.classList.remove(a.b.LARGE),this.root.classList.add(a.b.MEDIUM),this.state=a.g.MD,t===a.g.SM&&this.toggleNavTabbing(),this.pubSubShared.broadcast(a.h.PUBSUB_TOPIC_STATE,{state:this.state})}setSmallState(){this.root.classList.remove(a.b.MEDIUM),this.state=a.g.SM,this.toggleNavTabbing(),this.pubSubShared.broadcast(a.h.PUBSUB_TOPIC_STATE,{state:this.state})}openMobileNav(){this.navWrapper&&this.menuBtn&&(this.options.transparent&&this.toggleTransparency(!1),this.root.classList.add(a.b.MOBILE_NAV_OPENED),this.toggleNavHeight(),this.toggleScrolling(),this.setAttr(this.a11y.aria.HIDDEN,!1,this.navWrapper),this.toggleAriaExpanded(!0),this.toggleNavTabbing())}closeMobileNav(){this.navWrapper&&this.menuBtn&&(this.options.transparent&&window.scrollYthis.mobileOverlayClose(t)),this.navWrapper.addEventListener("transitionend",t=>{this.toggleFocusTrap(t)}))}alignSubnav(){if(this.subnavWrappers){var t=this.isRtl?"right":"left",e=this.isRtl?"paddingRight":"paddingLeft";for(let s=0;s{this.toggleSubnavAriaHiddenVals(t,e)})}setSubnavStyles(t){const e="visible"===getComputedStyle(t).visibility,i=t.previousElementSibling;this.setAttr(this.a11y.aria.HIDDEN,!e,t),this.setAttr(this.a11y.aria.EXPANDED,e,i),e&&t.clientHeight>this.cachedWindowHeight&&this.cachedWindowHeight{var e=document.documentElement.style.getPropertyValue(a.h.HEIGHT_CSS_VAR);e=this.cachedWindowHeight-parseInt(e),document.body.classList.add(a.b.NO_SCROLL),t.style.setProperty("height",e+"px"),t.classList.add(a.b.SUBNAV_WRAPPER_OVERFLOW)},a.e.SUBNAV_RESET_TIMEOUT):this.removeSubnavStyles(t)}resetSubnavStyles(){const t=this.queryComponentSelector(a.f.SUBNAV_WRAPPER_OVERFLOW);t&&(this.removeSubnavStyles(t),this.resetSubnav(),setTimeout(()=>{this.setSubnavStyles(t)},a.e.SUBNAV_RESET_TIMEOUT))}removeSubnavStyles(t){t.classList.remove(a.b.SUBNAV_WRAPPER_OVERFLOW),t.style.removeProperty("height"),document.body.classList.remove(a.b.NO_SCROLL)}isSearchExpanded(){return this.root.classList.contains(a.b.SEARCH_EXPANDED)}toggleSearchBar(){switch(this.isSearchExpanded()){case!0:this.collapseSearch();break;default:this.expandSearch()}}expandSearch(){this.root.classList.add(a.b.SEARCH_EXPANDED),this.setSearchWidth(),this.toggleScrolling(),this.searchWrapper&&this.searchBar&&(this.searchBar.value="",this.setAttr(this.a11y.aria.HIDDEN,!1,this.searchBar),this.a11y.enableFocusTrap(this.searchWrapper,this.searchBar),this.a11y.enableTabbing(this.searchBar),this.a11y.enableTabbing(this.searchToggles[1]))}collapseSearch(){this.searchInner&&(this.root.classList.remove(a.b.SEARCH_EXPANDED),this.removeAttr(a.a.STYLE,this.searchInner),this.toggleScrolling(),this.searchWrapper&&this.searchBar&&(this.setAttr(this.a11y.aria.HIDDEN,!0,this.searchBar),this.a11y.disableFocusTrap(this.searchWrapper,this.searchToggles[0]),this.a11y.disableTabbing(this.searchBar),this.a11y.disableTabbing(this.searchToggles[1])))}setSearchWidth(){if(!(this.cachedWindowWidth=a.e.BP_TABLET_LANDSCAPE&&(i+=t+(e=2*a.e.SPACING_LG)),this.searchInner.style.width=`calc(100vw - ${i}px)`}}resetSearch(){this.isSearchExpanded()&&this.collapseSearch()}togglePaddingForPersistentCtas(){this.cachedWindowWidtha.e.SLIDE_AWAY_SCROLL_THRESHOLD&&this.toggleSlideAway(0a.e.SLIDE_AWAY_MOUSEMOVE_THRESHOLD||e>a.e.SLIDE_AWAY_MOUSEMOVE_THRESHOLD)&&(this.toggleSlideAway(!1),clearTimeout(this.mouseMoveTimeoutId)),this.mouseMoveTimeoutId&&clearTimeout(this.mouseMoveTimeoutId),this.mouseMoveTimeoutId=window.setTimeout(()=>{this.resetSlideAway()},a.e.SLIDE_AWAY_MOUSEMOVE_RESET_TIME)}}matchingHashLinks(){return 0<[...this.navItems,...this.subnavItems].filter(t=>(t.href&&t.href.split("#")[1])===this.hash).length}handleHashLinks(){if(this.matchingHashLinks()){var t=[...this.navItems,...this.subnavItems];for(let e=0;e{const e=parseInt(this.currentHeight,10);t.style.setProperty("height",this.cachedWindowHeight-e+"px")},a.e.NAV_HEIGHT_CALC_TIMEOUT):null==t||t.style.removeProperty("height")}toggleScrolling(){const t=this.isMobileNavOpened()||this.isSearchExpanded(),e=document.body;this.toggleClass(a.b.NO_SCROLL,t,document.body),t?(this.scrollPosition[0]=window.pageXOffset,this.scrollPosition[1]=window.pageYOffset,e.style.overflow="hidden",e.style.position="fixed",e.style.top=`-${this.scrollPosition[1]}px`,e.style.width="100%"):(e.style.removeProperty("overflow"),e.style.removeProperty("position"),e.style.removeProperty("top"),e.style.removeProperty("width"),this.hash||window.scrollTo(0,this.scrollPosition[1]))}handleTabKey(t){this.state!==a.g.SM&&this.subnavWrappers.length&&(t=t.target,-1!==this.navItems.indexOf(t)?this.subnavTabbing(t):this.rowLeft.contains(t)||this.resetSubnav())}handleEscapeKey(){this.isMobileNavOpened()&&this.closeMobileNav(),this.resetSearch(),this.navWrapperFocused&&(-1===this.navItems.indexOf(document.activeElement)&&this.queryComponentSelector(`.${a.b.NAV_ITEM_WRAPPER_FOCUSED} ${a.f.NAV_ITEM}`).focus(),this.resetSubnav())}handleKeyEvents(t){switch(t.key){case r.c.ESC:this.handleEscapeKey();break;case r.c.TAB:this.handleTabKey(t);break;case r.c.ARROW_DOWN:this.handleTabKey(t)}}handleWindowResize(){if(this.nav||this.ctasWrapper||this.searchBar){var t=window.innerWidth;this.cachedWindowWidth!==t&&(this.cachedWindowWidth=t,this.defaultWindowInnerHeight=this.cachedWindowHeight=window.innerHeight,this.options.alwaysMobile||(this.setState(),this.toggleMobileNavAriaHidden(),this.resetMobileNav(),this.navWrapperFocused&&this.resetSubnav(),this.alignSubnav(),this.toggleSubnavAriaHidden()),this.toggleNavHeight(),this.setHeaderHeight(),this.resetSearch(),this.resetSubnavStyles(),this.options.persistentCtas.length&&this.togglePaddingForPersistentCtas())}}handleScroll(){this.onScrollSlideAway(),this.navWrapperFocused&&this.resetSubnav(),this.options.transparent&&this.toggleTransparency()}handleMouseMove(t){this.onMousemoveSlideAway(t),this.navWrapperFocused&&this.resetSubnav()}handleHashChange(){this.hash=window.location.hash.substring(1),this.handleHashLinks()}handleOrientation(){setTimeout(()=>{this.defaultWindowInnerHeight=this.cachedWindowHeight=window.innerHeight,this.toggleNavHeight(),this.resetSubnavStyles()},a.e.ORIENTATION_CHANGE_TIMEOUT)}}s(l,"COMPONENT_NAME",a.h.COMPONENT_NAME),s(l,"COMPONENT_ID",a.h.COMPONENT_ID),s(l,"DEFAULT_OPTIONS",a.d)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return c})),t=i(5);var r=i(17),o=i(49),n=i(3),a=i(21);const l=/^_([0-9])x$/,h=["fast","indeterminate"];class c extends t.a{static attachTo(t,...e){return new c(t,...e)}constructor(t,...e){super(t,...e),s(this,"imageNode",void 0),s(this,"coverNode",void 0),s(this,"placeholderNode",void 0),s(this,"imageSentinel",void 0),s(this,"pixelRatio",1),s(this,"uid",""),s(this,"isSlowConnection",!1),s(this,"slowConnectionUrl",""),this.imageSentinel=null,this.imageNode=this.root,this.pixelRatio=Math.round(window.devicePixelRatio),o.a.increment(),this.uid=o.a.createUid()}initialize(){const{rootSelector:t,useBackgroundImage:e,rootMargin:i,threshold:s,intersectionRatio:o,imageHeightWidthRatio:n,_0x:l,_1x:h,_2x:c}=this.options;if(""===l&&""===h&&console.error(r.b.X_DESCRIPTOR_WARN),e)this.coverNode=this.queryComponentSelector(r.b.COVER_SELECTOR),this.placeholderNode=this.queryComponentSelector(r.b.PLACEHOLDER_SELECTOR),"number"==typeof n&&this.root.style.setProperty(r.a.LB_IMAGE_LOADER_RATIO,100*n+"%");else if("IMG"!==this.root.tagName&&(this.imageNode=this.queryComponentSelector("img")),!this.imageNode)throw Error(r.b.NO_IMG_ERROR_MSG);var d,u={root:this.observerQueryRoot(t),rootMargin:i,threshold:s,intersectionRatio:o};"IntersectionObserver"in window?(this.imageSentinel=new IntersectionObserver(this.sentinelCallback.bind(this),u),null===(d=this.imageSentinel)||void 0===d||d.observe(this.root)):this.invokeSrcExchange();[u]=(l||h||c).split(" "),this.slowConnectionUrl=u,this.attachInteraction(r.b.LOAD_EVENT,this.invokeSrcExchange.bind(this)),this.pubSubShared.subscribe(r.b.TOPIC_LOAD,this.invokeSrcExchange,this,t=>t.uid===this.uid),this.pubSubShared.subscribe({topic:a.a.TOPIC_READY,retroactive:!0},this.acknowledgeConnection,this),this.pubSubShared.subscribe({topic:a.a.TOPIC_CONNECTION,retroactive:!0},this.acknowledgeConnection,this)}acknowledgeConnection(t){h.includes(t.connectionRate)?(t=this.isSlowConnection,this.isSlowConnection=!1,t!==this.isSlowConnection&&this.invokeSrcExchange()):this.isSlowConnection=!0}createXDescriptorKey(t){return`_${t}x`}invokeSrcExchange(){var t;const{useBackgroundImage:e,_1x:i}=this.options;if(e){const t=this.createXDescriptorKey(this.pixelRatio);this.setStyle({backgroundImage:`url('${this.isSlowConnection?this.slowConnectionUrl:this.options[t]||i}')`},this.coverNode),Object(n.j)(()=>Object(n.j)(()=>this.setStyle({opacity:0},this.placeholderNode)))}else this.imageNode.srcset=this.stringifyXDescriptorOptions();null===(t=this.imageSentinel)||void 0===t||t.unobserve(this.root)}observerQueryRoot(t){return t?document.querySelector(t):null}rewriteSrcForSlowConnection(t){return`${this.slowConnectionUrl} ${t}x`}stringifyXDescriptorOptions(){let t=Object.entries(this.options).reduce((t,e)=>{const[i,s]=e;if(e=i.match(l)){if([,e]=e,0===(e=parseInt(e)))return t;t[e]=this.isSlowConnection?this.rewriteSrcForSlowConnection(e):s}return t},[""]);return t=t.filter(t=>t),t.join(",")}sentinelCallback(t){const{intersectionRatio:e}=this.options;for(const i of t)void 0!==e&&i.intersectionRatio>=e&&this.invokeSrcExchange()}destroy(){var t;this.detachInteraction(r.b.LOAD_EVENT),this.pubSubShared.unsubscribe(r.b.TOPIC_LOAD,this.invokeSrcExchange),this.pubSubShared.unsubscribe(a.a.TOPIC_READY,this.invokeSrcExchange),this.pubSubShared.unsubscribe(a.a.TOPIC_CONNECTION,this.invokeSrcExchange),null===(t=this.imageSentinel)||void 0===t||t.unobserve(this.root)}}i=c,s(c,"DEFAULT_OPTION_MAP",{rootSelector:"",rootMargin:"0px",useBackgroundImage:!1,threshold:Object(n.d)(),intersectionRatio:.2,imageHeightWidthRatio:1,_0x:"",_1x:"",_2x:"",_3x:""}),s(c,"COMPONENT_NAME",r.b.COMPONENT_NAME),s(c,"COMPONENT_ID",r.b.COMPONENT_ID),s(c,"DEFAULT_OPTIONS",i.DEFAULT_OPTION_MAP)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a}));var r=i(60),o=i(34);t=i(5);var n=i(8);class a extends t.a{constructor(t){super(t),s(this,"player",void 0),s(this,"resolvePlayerPromise",void 0),s(this,"rejectPlayerPromise",void 0),s(this,"playerPromise",void 0),s(this,"videoId",void 0),this.playerPromise=new Promise((t,e)=>{this.resolvePlayerPromise=t,this.rejectPlayerPromise=e}),this.videoId=this.root.getAttribute(n.a.VIDEO_ID)||""}getPlayer(){return this.playerPromise}async initialize(){try{this.options.initType===n.f.IMMEDIATE?(await o.a.loadApi(),this.createPlayer(this.videoId,this.options.playerVars)):this.options.initType===n.f.AUTO&&new r.a(this.root,{onActivate:async()=>{await o.a.loadApi(),this.createPlayer(this.videoId,this.options.playerVars)},activateThreshold:0,activateOnce:!0})}catch(t){throw Error(""+t)}}createPlayer(t,e){if(t=void 0===t?this.videoId:t,e=void 0===e?this.options.playerVars:e,this.player)return this.getPlayer();this.videoId=t,this.root.classList.add(n.b.LOADING);const i=document.createElement("div");return i.classList.add(n.b.VIDEO_CONTAINER),this.root.appendChild(i),this.player=new YT.Player(i,{videoId:e.list?void 0:t,events:{onError:this.handlePlayerOnError.bind(this),onReady:this.handlePlayerOnReady.bind(this),onStateChange:this.handlePlayerStateChange.bind(this),onPlaybackRateChange:this.handlePlayerPlaybackRateChange.bind(this)},playerVars:e}),this.getPlayer()}handlePlayerOnError(t){this.rejectPlayerPromise("There was an error initializing the player.",t),this.pubSubShared.broadcast(n.e.VIDEO_ERROR,{videoId:this.videoId,uid:this.options.uid,error:t}),this.pubSubShared.broadcast(n.g.VIDEO_ERROR,{videoId:this.videoId,uid:this.options.uid,error:t})}handlePlayerOnReady(){this.root.classList.remove(n.b.LOADING),this.resolvePlayerPromise(this.player),this.pubSubShared.broadcast(n.e.VIDEO_READY,{videoId:this.videoId,uid:this.options.uid,player:this.player}),this.pubSubShared.broadcast(n.g.VIDEO_READY,{videoId:this.videoId,uid:this.options.uid,player:this.player}),this.subscribeEvents()}handlePlayerStateChange(t){let e="";switch(t.data){case YT.PlayerState.ENDED:e=n.i.VIDEO_ENDED;break;case YT.PlayerState.PLAYING:e=n.i.VIDEO_PLAYING;break;case YT.PlayerState.PAUSED:e=n.i.VIDEO_PAUSED;break;case YT.PlayerState.BUFFERING:e=n.i.VIDEO_BUFFERING;break;case YT.PlayerState.CUED:e=n.i.VIDEO_CUED}this.pubSubShared.broadcast(e,{videoId:this.videoId,uid:this.options.uid,player:this.player})}handlePlayerPlaybackRateChange(t){this.pubSubShared.broadcast("playbackRateChange",{videoId:this.videoId,uid:this.options.uid,player:this.player,e:t})}subscribeEvents(){this.pubSubShared.subscribe(n.e.VIDEO_PLAY,this.handlePlay,this),this.pubSubShared.subscribe(n.g.VIDEO_PLAY,this.handlePlay,this),this.pubSubShared.subscribe(n.i.VIDEO_PLAYING,this.handlePlay,this),this.pubSubShared.subscribe(n.e.VIDEO_PAUSE,this.handlePause,this),this.pubSubShared.subscribe(n.g.VIDEO_PAUSE,this.handlePause,this),this.pubSubShared.subscribe(n.e.VIDEO_STOP,this.handleStop,this),this.pubSubShared.subscribe(n.g.VIDEO_STOP,this.handleStop,this),this.pubSubShared.subscribe(n.e.VIDEO_STOP_ALL,this.handleStopAll,this),this.pubSubShared.subscribe(n.g.VIDEO_STOP_ALL,this.handleStopAll,this),this.pubSubShared.subscribe(n.e.VIDEO_SEEK_TO,this.handleSeekTo,this),this.pubSubShared.subscribe(n.g.VIDEO_SEEK_TO,this.handleSeekTo,this)}handlePlay(t){this.isValidPlayerMatch(t)?this.player.playVideo():this.player.getPlayerState()===YT.PlayerState.PLAYING&&this.player.pauseVideo()}handlePause(t){this.isValidPlayerMatch(t)&&this.player.pauseVideo()}handleStop(t){this.isValidPlayerMatch(t)&&this.player.stopVideo()}handleStopAll(){this.player.stopVideo()}handleSeekTo(t){this.isValidPlayerMatch(t)&&this.player.seekTo(t.seconds||0,t.allowSeekAhead||!1)}isValidPlayerMatch(t){return!(!t.videoId&&!t.uid||t.videoId&&!this.validVideoIdMatch(t.videoId)||t.uid&&!this.validUidMatch(t.uid))}validUidMatch(t){return this.options.uid===(void 0===t?"":t)}validVideoIdMatch(t){return this.videoId===(void 0===t?"":t)}destroy(){this.player&&this.player.destroy(),this.pubSubShared.unsubscribe(n.e.VIDEO_PLAY,this.handlePlay),this.pubSubShared.unsubscribe(n.g.VIDEO_PLAY,this.handlePlay),this.pubSubShared.unsubscribe(n.i.VIDEO_PLAYING,this.handlePlay),this.pubSubShared.unsubscribe(n.e.VIDEO_PAUSE,this.handlePause),this.pubSubShared.unsubscribe(n.g.VIDEO_PAUSE,this.handlePause),this.pubSubShared.unsubscribe(n.e.VIDEO_STOP,this.handlePause),this.pubSubShared.unsubscribe(n.g.VIDEO_STOP,this.handlePause),this.pubSubShared.unsubscribe(n.e.VIDEO_SEEK_TO,this.handleSeekTo),this.pubSubShared.unsubscribe(n.g.VIDEO_SEEK_TO,this.handleSeekTo),this.root.classList.add(n.b.DESTROYED)}}s(a,"COMPONENT_NAME",n.h.NAME),s(a,"COMPONENT_ID",n.h.ID),s(a,"DEFAULT_OPTIONS",n.d)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n})),t=i(50);var r=i(3);const o={onActivate:void 0,onProgress:void 0,onDeActivate:void 0,activateThreshold:t.a.DEFAULT_ACTIVATE_THRESHOLD,deActivateThreshold:t.a.DEFAULT_DEACTIVATE_THRESHOLD,activateOnce:!1,deActivateOnce:!1,ioFidelity:1001,ioRoot:null};class n{constructor(t,e){if(s(this,"element",void 0),s(this,"activated",!1),s(this,"options",void 0),s(this,"activateCallback",void 0),s(this,"progressCallback",void 0),s(this,"deActivateCallback",void 0),s(this,"activateHasRun",!1),s(this,"deActivateHasRun",!1),s(this,"maxPossibleRatio",0),s(this,"observer",void 0),this.element=t,this.options=Object.assign({},o,e),this.activateCallback=this.options.onActivate,this.progressCallback=this.options.onProgress,this.deActivateCallback=this.options.onDeActivate,this.activateCallback&&this.deActivateCallback&&this.options.activateThreshold<=this.options.deActivateThreshold)throw Error("ElementObserver: If both activate and deactivate\n callbacks are provided, the activate threshold must be larger\n than the deActivate threshold.");if(this.activateCallback||(this.activateHasRun=!0),this.deActivateCallback||(this.deActivateHasRun=!0),window.addEventListener("resize",Object(r.l)(this.resetMaxPossibleRatio.bind(this),500)),!("IntersectionObserver"in window))throw Error("ElementObserver: IntersectionObserver is not supported by this browser");this.initIntersectionObserver(t)}progress(t){if(this.progressCallback){const e=this.getRatioOfMaxPossible(t.intersectionRatio);this.progressCallback(t,e)}}activate(t){!this.activateCallback||this.activated||this.activateHasRun&&this.options.activateOnce||(this.activateCallback(t),this.activateHasRun=this.activated=!0)}deActivate(t){!this.deActivateCallback||!this.activated||this.deActivateHasRun&&this.options.deActivateOnce||(this.deActivateCallback(t),this.activated=!1,this.deActivateHasRun=!0)}unobserve(t){t=void 0===t?this.element:t,this.observer.unobserve(t)}getMaxPossibleRatio(t){if(!this.maxPossibleRatio){const e=document.documentElement.getBoundingClientRect();t=t.getBoundingClientRect(),this.maxPossibleRatio=Math.min(e.height/t.height,1)}return this.maxPossibleRatio}getRatioOfMaxPossible(t){return t/this.getMaxPossibleRatio(this.element)}resetMaxPossibleRatio(){this.maxPossibleRatio=0}initIntersectionObserver(t){const e={threshold:Object(r.d)(this.options.ioFidelity),root:this.options.ioRoot};this.observer=new IntersectionObserver(this.intersectionObserverCallback.bind(this),e),this.observer.observe(t)}intersectionObserverCallback(t){const e=(t=t[0]).target;this.progress(t),t.intersectionRatio>this.options.activateThreshold&&this.activate(t),t.intersectionRatio{}}initialize(){this.pubSubShared.subscribe(r.g.VIDEO_READY,t=>{this.root.disabled=!1,this.boundSendEvent=this.sendEvent.bind(this,t.player),this.root.addEventListener("click",this.boundSendEvent)},t=>this.validUidMatch(t.uid)||this.validVideoIdMatch(t.videoId))}isValidPlayerMatch(t){return!(!this.options.videoId&&!this.options.uid||!t.videoId&&!t.uid||t.videoId&&!this.validVideoIdMatch(t.videoId)||t.uid&&!this.validUidMatch(t.uid))}sendEvent(t){this.options.event in t&&t[this.options.event]()}validUidMatch(t){return this.options.uid===(void 0===t?"":t)}validVideoIdMatch(t){return this.options.videoId===(void 0===t?"":t)}destroy(){this.root.removeEventListener("click",this.boundSendEvent)}}s(o,"COMPONENT_NAME",r.c.NAME),s(o,"COMPONENT_ID",r.c.ID)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return d})),t=i(5);var r=i(34),o=i(8),n=i(16),a=i(6),l=i(10),h=i(31),c=i(19);class d extends t.a{constructor(t){super(t),s(this,"a11y",new n.a),s(this,"boundCloseButtonHandler",()=>{}),s(this,"boundDocumentKeyupHandler",void 0),s(this,"boundDocumentClickHandler",void 0),s(this,"closeButton",void 0),s(this,"modalBody",void 0),s(this,"modalIsOpen",!1),s(this,"playerComponent",void 0),s(this,"detect",new h.a),this.boundDocumentKeyupHandler=()=>{},this.boundDocumentClickHandler=()=>{}}initialize(){this.closeButton=this.queryComponentSelector("."+c.a.MODAL_BUTTON_CLOSE),this.modalBody=this.queryComponentSelector("."+c.a.MODAL_BODY),this.pubSubShared.subscribe({topic:c.c.OPEN_MODAL,retroactive:!0},this.openModal,this,t=>t.uid===this.options.uid),this.pubSubShared.subscribe({topic:c.c.CLOSE_MODAL,retroactive:!0},this.closeModal,this,t=>t.uid===this.options.uid),this.boundCloseButtonHandler=this.closeModal.bind(this),this.boundDocumentKeyupHandler=this.documentKeyupHandler.bind(this),this.boundDocumentClickHandler=this.documentClickHandler.bind(this);const t=this.queryComponentSelector("."+o.b.ROOT);t&&(this.playerComponent=a.a.getComponent(t,"LBPlayer"))}documentClickHandler(t){this.modalBody.contains(t.target)||this.closeModal()}documentKeyupHandler(t){t.key===l.c.ESC&&this.closeModal()}async openModal(){if(!this.modalIsOpen&&(this.modalIsOpen=!0,this.root.classList.add(c.a.MODAL_OPEN),this.a11y.enableVisibility(this.root),document.documentElement.classList.add(l.b.NO_SCROLL),this.a11y.enableFocusTrap(this.modalBody,this.closeButton),window.setTimeout(()=>{this.closeButton.addEventListener("click",this.boundCloseButtonHandler),document.addEventListener("keyup",this.boundDocumentKeyupHandler),document.addEventListener("click",this.boundDocumentClickHandler)}),this.playerComponent))try{await r.a.loadApi();const t=await this.playerComponent.createPlayer();this.options.autoPlayVideo&&(this.detect.test("mobile")&&t.mute(),t.playVideo())}catch(t){console.error("(LBModal): There was a problem creating the YouTube\n player.",t)}}closeModal(){this.modalIsOpen&&(this.modalIsOpen=!1,this.root.classList.remove(c.a.MODAL_OPEN),this.a11y.disableVisibility(this.root),document.documentElement.classList.remove(l.b.NO_SCROLL),this.a11y.disableFocusTrap(this.modalBody),document.removeEventListener("keyup",this.boundDocumentKeyupHandler),document.removeEventListener("click",this.boundDocumentClickHandler),this.closeButton.removeEventListener("click",this.boundCloseButtonHandler),this.playerComponent&&this.playerComponent.getPlayer().then(t=>{t.pauseVideo()}))}destroy(){document.removeEventListener("keyup",this.boundDocumentKeyupHandler),document.removeEventListener("click",this.boundDocumentClickHandler),this.closeButton.removeEventListener("click",this.boundCloseButtonHandler),this.pubSubShared.unsubscribe(c.c.OPEN_MODAL,this.openModal),this.pubSubShared.unsubscribe(c.c.CLOSE_MODAL,this.closeModal)}}s(d,"COMPONENT_NAME",c.d.NAME),s(d,"COMPONENT_ID",c.d.ID),s(d,"DEFAULT_OPTIONS",c.b)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o})),t=i(22);var r=i(1);class o extends t.a{constructor(...t){super(...t),s(this,"reportCache",""),s(this,"reportContainer",null),s(this,"checkboxes",[]),s(this,"checkboxGroupName","")}initialize(){super.initialize(),this.validateComponentReadiness(),this.reportContainer=this.queryComponentSelector(r.b.SELECTOR_REPORT),this.pubSubShared.subscribe({topic:r.b.TOPIC_RADIO_CHECKBOX_CHANGE,retroactive:!0},this.handleCheckboxStateChange,this,t=>t.name===this.checkboxGroupName)}handleCheckboxStateChange(){this.validate()}validateComponentReadiness(){this.checkboxes=this.queryComponentSelectorAll(`[type=${r.b.TYPE_CHECKBOX}]`);var t=this.checkboxes.map(t=>t.getAttribute("name"));if(1!==(t=[...new Set(t)]).length||null===t[0])throw Error(r.b.ERROR_MULTI_CHECKBOX_NAMES);this.checkboxGroupName=t[0]}validate(){const t=this.checkboxes.some(t=>t.checked);return t?(this.setValidClasses(),this.renderReport("")):(this.setInvalidClasses(),this.renderReport(this.options.validatorReportFailure.customError)),t}setInvalidClasses(){this.root.classList.remove(r.a.SUCCESS),this.root.classList.add(r.a.FAILURE)}setValidClasses(){this.root.classList.remove(r.a.FAILURE),this.root.classList.add(r.a.SUCCESS)}clearState(){this.root.classList.remove(r.a.FAILURE),this.root.classList.remove(r.a.SUCCESS),this.renderReport(this.reportCache)}renderReport(t){null!==this.reportContainer&&(this.reportContainer.textContent=t)}destroy(){super.destroy(),this.pubSubShared.unsubscribe(r.b.TOPIC_RADIO_CHECKBOX_CHANGE,this.handleCheckboxStateChange)}}s(o,"COMPONENT_NAME",r.b.COMPONENT_NAME_FIELD_MULTI_CHECKBOX),s(o,"COMPONENT_ID",r.b.COMPONENT_ID_FIELD_MULTI_CHECKBOX),s(o,"DEFAULT_OPTIONS",{name:"",disabled:!1,validatorReportFailure:{customError:"At least one checkbox must be checked."}})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return o})),t=i(22);var r=i(1);class o extends t.a{selectOption(t){null!==(t=this.queryComponentSelector(`[value=${t}]`))&&(t.selected=!0)}acknowledgeOption(t){this.selectOption(t.optionValue)}initialize(){super.initialize(),this.options.defaultSelected&&this.selectOption(this.options.defaultSelected),this.pubSubShared.subscribe(r.b.TOPIC_SET_OPTION,this.acknowledgeOption,this,t=>t.uid===this.uid),this.attachInteraction(r.b.EVENT_CHANGE,()=>{const{name:t,uid:e,value:i}=this;this.pubSubShared.broadcast(r.b.TOPIC_SELECT_CHANGE,{name:t,uid:e,value:i})},this.nativeNode)}destroy(){super.destroy(),this.detachInteraction(r.b.EVENT_CHANGE),this.pubSubShared.unsubscribe(r.b.TOPIC_SET_OPTION,this.acknowledgeOption)}}s(o,"COMPONENT_NAME",r.b.COMPONENT_NAME_FIELD_SELECT),s(o,"COMPONENT_ID",r.b.COMPONENT_ID_FIELD_SELECT),s(o,"DEFAULT_OPTIONS",{name:"",disabled:!1,defaultSelected:""})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n})),t=i(5);var r=i(66),o=i(20);class n extends t.a{constructor(t){super(t),s(this,"localStore",void 0),this.localStore=new r.a(o.d)}initialize(){this.root.classList.add(this.options.theme===o.b.BLACK?o.a.BLACK_THEME:o.a.BLUE_THEME);var t=this.localStore.redeem(o.e.IS_BANNER_CLOSED);this.root.classList.toggle(o.e.SHOW_ELEMENT,!t),(t=this.queryComponentSelector(o.e.CLOSE_BTN))&&t.addEventListener("click",()=>this.handleClick())}handleClick(){this.root.classList.remove(o.e.SHOW_ELEMENT),this.localStore.insert({isBannerClosed:!0})}}s(n,"COMPONENT_NAME",o.e.COMPONENT_NAME),s(n,"COMPONENT_ID",o.e.COMPONENT_ID),s(n,"DEFAULT_OPTIONS",o.c)},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return r}));class r{constructor(t,e){if(e=void 0===e?864e5:e,s(this,"config",{}),s(this,"localStorage",void 0),s(this,"store",void 0),!t)throw Error("A name must be provided for the key in LocalStorage.");this.config={storeKey:t,lifetime:e},this.localStorage=window.localStorage,this.initializeStore(t),this.checkExpiration(this.store)}initializeStore(t){return this.localStorageContains(t)?this.store=JSON.parse(this.localStorage.getItem(this.config.storeKey)):(this.store={expiration:this.getNewExpirationDateTime(this.config.lifetime)},this.save(this.store)),this.store}insert(t,e){return e&&(t=this.updateExpiration(t,e)),this.store=Object.assign({},this.store,t),this.save(this.store),this.store}redeem(t){return this.store[t]}remove(t){return delete this.store[t],this.save(this.store),this.store}empty(){this.localStorage.removeItem(this.config.storeKey),this.store=this.initializeStore(this.config.storeKey)}getExpiration(){return this.redeem("expiration")}updateExpiration(t,e){return t.expiration=this.getNewExpirationDateTime(e),t}checkExpiration(t){(t=t.expiration)&&Date.now()>t&&this.empty()}getNewExpirationDateTime(t){return+new Date+t}localStorageContains(t){return!!this.localStorage.getItem(t)}save(t){t=JSON.stringify(t),this.localStorage.setItem(this.config.storeKey,t)}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n})),t=i(5);var r=i(45),o=i(27);class n extends t.a{constructor(t){super(t),s(this,"existingQuery",""),s(this,"input",void 0),s(this,"isIntl",!1),s(this,"lbUrlParser",new r.a),s(this,"pathname",window.location.pathname)}initialize(){if(this.input=this.queryComponentSelector(`[name='${o.a.INPUT_NAME}']`),this.root.tagName!==o.a.ROOT_TAG_NAME)throw o.b.rootTagName;if(!this.options.resultsPage)throw o.b.resultsPage;if(null===this.input)throw o.b.searchInput;try{this.isIntl=this.pathname.startsWith("/intl/"),this.prefillInput(),this.registerSubmission()}catch(t){console.error(t)}}prefillInput(){(this.existingQuery=this.lbUrlParser.parse()[this.options.queryKey])&&(this.input.value=this.existingQuery)}goToResultsPage(t,e){if(t&&(t.preventDefault(),e=(e=new FormData(t.target||t)).get(o.a.INPUT_NAME)),e&&e!==this.existingQuery){if(!t)return this.constructResultsPath(e);window.location.href=this.constructResultsPath(e)}}constructResultsPath(t){return[this.isIntl?this.constructIntlBase():"",this.options.resultsPage,`?${this.options.queryKey}=`,t=encodeURIComponent(t)].join("")}constructIntlBase(){return"/"+this.pathname.split("/").slice(1,3).join("/")}registerSubmission(){this.attachInteraction("submit",this.goToResultsPage.bind(this))}destroy(){this.detachInteraction("submit",this.root)}}s(n,"COMPONENT_NAME",o.a.COMPONENT_NAME),s(n,"COMPONENT_ID",o.a.COMPONENT_ID),s(n,"DEFAULT_OPTIONS",{queryKey:"q",resultsPage:"/search/results/"})},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return h})),t=i(5),e=i(21);var r=i(45),o=i(4),n=i(69),a=i(14);const l=new e.a;class h extends t.a{constructor(t,e,i,o){super(t),this.apiKey=e,this.searchEngineId=i,this.stub=o,s(this,"itemsContainer",void 0),s(this,"lbUrlParser",new r.a),s(this,"loadMore",void 0),s(this,"loadMoreBtn",void 0),s(this,"searchQuery",void 0),s(this,"lang","lang_en"),s(this,"isDarkTheme",l.preferDarkMode),s(this,"results",{}),s(this,"aggregateResults",[]),this.apiKey=e,this.searchEngineId=i,this.stub=o}initialize(){this.setDisplayOption("snippets"),this.setDisplayOption("links"),(this.searchQuery=this.stub?this.stub.query:this.lbUrlParser.parse()[this.options.queryKey])&&(this.searchEngineId?(this.lang="ALL"===this.options.lang?"en":this.options.lang,this.itemsContainer=this.queryComponentSelector(a.c.ITEMS_CONTAINER),this.loadMore=this.queryComponentSelector(a.c.LOAD_MORE),this.loadMoreBtn=this.loadMore.querySelector(a.c.LOAD_MORE_BTN),this.loadMoreBtn.classList.toggle(a.a.DARK_BTN,this.isDarkTheme),this.registerLoadMore(),this.getResults()):console.warn(a.e.searchEngineId))}setDisplayOption(t){this.options.display[t]=!this.options.display[t]||("true"==this.options.display[t]||1==this.options.display[t])}async makeRequest(t){t=this.lbUrlParser.assembleSearchString({cx:this.searchEngineId,q:this.searchQuery,key:this.apiKey,start:void 0===t?1:t,lr:"lang_"+this.lang,gl:this.options.gl}),t=[a.b.SEARCH_ENDPOINT,t].join("");try{const e=await fetch(t,{headers:{Accept:"application/json"}});return 200!==e.status?(console.warn(`${e.status}: ${a.e.requestError}`),null):e.json()}catch(t){return console.warn(a.e.requestError),console.log(t),null}}async getResults(t){if(t=void 0===t?1:t,this.results=this.stub?await this.stub.apiCall():await this.makeRequest(t)){if(this.results.items)for(const t of this.results.items)this.aggregateResults.push(t);this.renderResults()}}renderResults(){if(this.results)if(this.results.error)console.log(this.results.error);else try{Object(o.d)(o.a` ${this.renderMessage()} ${this.results.items?this.renderItems():o.c} `,this.itemsContainer),this.root.classList.remove(a.a.HIDE),this.results.queries&&this.results.queries.nextPage?(this.loadMoreBtn.classList.remove(a.a.DISABLED_BTN),this.loadMore.classList.remove(a.a.HIDE)):this.loadMore.classList.add(a.a.HIDE)}catch(t){console.warn(a.e.renderError),console.log(t)}}highlightQuery(t,e){e=new RegExp(e,"g");const i=t.match(e);if(!i)return o.a`${t}`;const s=t.split(e);return o.a` ${s.map((t,e)=>{var r=s[e+1];return r={"lb-search-results__highlight-part":r&&!r.startsWith(" ")},o.a` ${e+1===s.length?o.a`${t}`:o.a`${t} ${i[e]===a.b.QUERY_PLACEHOLDER?this.searchQuery:i[e]} `} `})} `}renderMessage(){return o.a`

${this.highlightQuery(this.results&&this.results.items?this.options.resultsMessage:this.options.noResultsMessage,a.b.QUERY_PLACEHOLDER)}

`}renderSnippet(t){const e=this.searchQuery.toLowerCase(),i=this.searchQuery.toUpperCase(),s=e[0].toUpperCase()+e.substring(1);return o.a` ${this.highlightQuery(t,[e,i,s].join("|"))} `}isSitemapPage(t){return-1!==t.link.indexOf("sitemap.xml")}renderItem(){return o.a`${this.aggregateResults.map(t=>o.a`${this.isSitemapPage(t)?"":o.a`
  • ${t.pagemap.metatags[0][this.options.eyebrow]?o.a` ${t.pagemap.metatags[0][this.options.eyebrow]} `:o.c} ${this.options.display.snippets?o.a` ${t.title} `:o.a` ${t.title} `} ${this.options.display.snippets?this.renderSnippet(t.snippet):o.c} ${this.options.display.links?o.a` ${t.link.split("https://")[1].slice(0,-1).replace(/\//g," > ")} `:o.c}
  • `}`)}`}renderItems(){return o.a`${"grid"===this.options.layout?o.a`
      ${this.renderItem()}
    `:o.a`
      ${this.renderItem()}
    `}`}handleLoadMore(){if(this.results){var t=this.results.queries.nextPage[0].startIndex;this.loadMoreBtn.classList.remove(a.a.DISABLED_BTN),this.getResults(t)}}registerLoadMore(){this.attachInteraction("click",this.handleLoadMore.bind(this),this.loadMoreBtn)}destroy(){this.detachInteraction("click",this.loadMoreBtn)}}s(h,"COMPONENT_NAME",a.d.COMPONENT_NAME),s(h,"COMPONENT_ID",a.d.COMPONENT_ID),s(h,"DEFAULT_OPTIONS",{queryKey:"q",layout:"list",display:{snippets:!0,links:!0},eyebrow:void 0,gl:"ALL",lang:"lang_en",resultsMessage:`Results for query ${a.b.QUERY_PLACEHOLDER}.`,noResultsMessage:`Sorry, your query for\n ${a.b.QUERY_PLACEHOLDER} returned no results.`})},function(t,e,i){var s=i(51);i.d(e,"a",(function(){return s.a}))},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return l})),t=i(5);var r,o=((r=o||{}).MUTE_BTN=".ytc-home-hero__mute",r.VIDEO=".ytc-home-hero__video",r),n=function(t){return t.VOLUME_UP="volume-up",t.VOLUME_OFF="volume-off",t}(n||{}),a=function(t){return t.YTC_VIDEO_STATE_CHANGE="creator-home-video:state-change",t}(a||{});class l extends t.a{constructor(t){super(t),s(this,"muteButton",void 0),s(this,"muteButtonIconUse",void 0)}initialize(){this.muteButton=this.queryComponentSelector(o.MUTE_BTN),this.muteButtonIconUse=this.muteButton.querySelector("use"),this.pubSubShared.subscribe(a.YTC_VIDEO_STATE_CHANGE,this.handleYTCVideoStateChange,this),this.attachInteraction("click",this.handleMuteButtonClick.bind(this),this.muteButton)}handleYTCVideoStateChange(t){this.currentVideo&&(this.currentVideo.muted=t.isMuted,this.muteButtonIconUse.setAttribute("href","#"+(this.currentVideo.muted?n.VOLUME_OFF:n.VOLUME_UP)))}muteVideo(){this.pubSubShared.broadcast(a.YTC_VIDEO_STATE_CHANGE,{uid:this.options.uid,isMuted:!this.currentVideo.muted})}handleMuteButtonClick(){this.muteVideo()}get currentVideo(){return this.queryComponentSelector(o.VIDEO)}}s(l,"COMPONENT_NAME","YTCHomeVideo"),s(l,"COMPONENT_ID","home-video")},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return E})),t=i(5);var r=i(40),o=i(41),n=i(6),a=i(21),l=i(72),h=i(36),c=i(29),d=i(25);let u=((p={})[p.SCROLL_DELAY=1e3]="SCROLL_DELAY",p[p.SECTION_SCROLL_DELAY=200]="SECTION_SCROLL_DELAY",p[p.ELEMENTS_DELAY=250]="ELEMENTS_DELAY",p),b=function(t){return t.EXPANSION_PANEL_OPEN=".lb-expansion-panel--open",t.YTC_MODULE=".ytc-module",t.CAROUSEL_VIEWPORT=".ytc-carousel-module--slideshow .lb-carousel__viewport",t.CAROUSEL_TILE=".ytc-carousel-module__tile",t.DOWNLOAD_LINK=".ytc-download",t.BVF_FORMS_SECTION=".ytc-bvf__forms-section",t.BVF_FORMS_TRIGGER=".ytc-bvf__forms-trigger",t.TAB_BUTTON=".tab-button",t.CREATOR_REDIRECT=".creator-redirect",t.CHANNEL_MEMBERSHIP__TABLIST=".ytc-channel-membership__tablist",t.TABLIST_TAB_BUTTON=".lb-tablist__tab",t.CM_HERO_IMG_WRAPPER="ytc-hero__media-wrapper-custom",t.HERO_CTA_GROUP=".ytc-shopping-cta-group",t.STICKY_HEADER_CTA=".ytc-header-cta--sticky",t}({});var p;class E extends t.a{constructor(t){super(t),s(this,"scrollProvider",void 0),s(this,"tabList",void 0),s(this,"tabListElement",void 0),s(this,"tabButtons",[]),s(this,"creatorRedirect",void 0),s(this,"tabListButtonIds",[]),s(this,"tablistTabButtons",[])}initialize(){this.initStickyHeaderCta(),this.initHighlightHeading(),this.pubSubShared.subscribe({topic:a.a.TOPIC_PREFER_DARK_MODE,retroactive:!0},t=>{document.documentElement.setAttribute("theme",t.preferDarkMode?h.a.DARK:h.a.LIGHT)}),this.tabButtons=this.queryComponentSelectorAll(b.TAB_BUTTON),this.creatorRedirect=this.queryComponentSelector(b.CREATOR_REDIRECT),this.tablistTabButtons=this.queryComponentSelectorAll(b.TABLIST_TAB_BUTTON),Array.from(this.tablistTabButtons).forEach(t=>{t=t.getAttribute("id"),this.tabListButtonIds.push("#"+t)}),this.creatorRedirect&&this.creatorRedirect.addEventListener("click",t=>{this.selectTab(t,!0)});for(const t of this.tabButtons)t.addEventListener("click",t=>{this.selectTab(t,!1)});new l.a,this.initCarouselSlideshow(),this.initDownloadLinks(),this.initBVFSection(),window.location.pathname.includes("/creators/channel-memberships/")&&this.loadElementsAfterDelay(b.CM_HERO_IMG_WRAPPER),requestAnimationFrame(()=>{this.initScrollToAnchor()}),this.updateHashOnReload(),this.registerTablistListener()}initHighlightHeading(){const t=document.querySelector(".ytc-youtube-shopping .ytc-highlight-lockup__heading");if(t){var e=(t.textContent||"").trim().split(" ");if(0{t.forEach(t=>{e.classList.toggle("is-visible",!t.isIntersecting)})},{root:null,rootMargin:"0px",threshold:.1}).observe(t)}}initScrollToAnchor(){const t=new c.a,e=window.location.hash,i=e?document.querySelector(e):null,s=i&&i.hasAttribute("lb-auto-init")?n.a.getComponent(i):null;s?queueMicrotask(()=>{if(s&&s instanceof r.a){var t;const e=null===(t=s.root.parentElement)||void 0===t?void 0:t.querySelector(b.EXPANSION_PANEL_OPEN);e&&n.a.getComponent(e).toggle(),s.open()}if(s&&s instanceof o.a){var e;window.location.hash="",t=s.parseOptionsString().panelIndex;const i=null===(e=s.root.parentElement)||void 0===e?void 0:e.previousElementSibling,r=null==i?void 0:i.querySelector(`button[value='${t}']`);setTimeout(()=>{const t=(null==i?void 0:i.closest(b.YTC_MODULE).getBoundingClientRect().top)+window.scrollY;window.scroll({top:t,behavior:"smooth"}),r.click()},u.SCROLL_DELAY)}}):i&&setTimeout(()=>{t.scrollToElement(i)},u.SECTION_SCROLL_DELAY)}initCarouselSlideshow(){const t=()=>{var t;const i=null===(t=document.querySelector(b.CAROUSEL_VIEWPORT))||void 0===t?void 0:t.clientWidth;for(const t of e)t.style.width=i+"px"},e=document.querySelectorAll(b.CAROUSEL_TILE);window.addEventListener("resize",e=>{t()}),t()}initDownloadLinks(){const t=this.queryComponentSelectorAll(b.DOWNLOAD_LINK);for(const e of t){const t=e;t.addEventListener("click",async e=>{e.preventDefault(),(e=document.createElement("a")).download=t.dataset.fileName;try{const i=await fetch(t.href).then(t=>t.blob());e.href=URL.createObjectURL(i),e.click()}catch(t){throw Error(t)}})}}initBVFSection(){const t=new c.a,e=this.queryComponentSelectorAll(b.BVF_FORMS_TRIGGER);for(const i of e)i.addEventListener("click",async e=>{e.preventDefault(),(e=this.queryComponentSelector(b.BVF_FORMS_SECTION)).classList.remove("hide"),t.scrollToElement(e)})}loadElementsAfterDelay(t){document.addEventListener("DOMContentLoaded",()=>{const e=document.getElementsByClassName(t);0{setTimeout(()=>{t.style.visibility="visible"},u.ELEMENTS_DELAY)}):console.error(`No elements found with class name '${t}'`)})}selectTab(t,e,i){var s;null!==(t=null===(s=t?t.target:i||this.tablistTabButtons[0])||void 0===s?void 0:s.getAttribute("id"))&&(null!==(s=document.getElementById(t))&&(null!==(s=null==s?void 0:s.getAttribute("index"))&&(this.broadcastEvent(s),window.scrollTo({top:0,behavior:"smooth"}),e&&setTimeout(()=>{const t=document.querySelector("#ihajustimus");requestAnimationFrame(()=>{null==t||t.scrollIntoView()})}))))}broadcastEvent(t){this.tabListElement=this.root.querySelector(b.CHANNEL_MEMBERSHIP__TABLIST),this.tabList=n.a.getComponent(this.tabListElement);var e=this.tabList.options.uid;e=e?{uid:e}:{},Object.assign(e,{index:t}),this.pubSubShared.broadcast(d.a.PUBSUB_TOPIC_UPDATE,e)}updateHashOnReload(){const t=this.tabListButtonIds.indexOf(window.location.hash).toString();setTimeout(()=>{this.selectTab(null,!1,this.tablistTabButtons[t])})}registerTablistListener(){Array.from(this.tablistTabButtons).forEach(t=>{t.addEventListener("click",e=>{e=t.getAttribute("id"),window.location.hash=e})})}}},function(t,e,i){i.d(e,"a",(function(){return s}));class s{constructor(){var t,e="helpApi";t:if("object"==typeof e&&e){var i=e[Symbol.toPrimitive];if(void 0!==i){if("object"!=typeof(e=i.call(e,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}e=String(e)}(t="symbol"==typeof e?e:e+"")in this?Object.defineProperty(this,t,{value:void 0,enumerable:!0,configurable:!0,writable:!0}):this[t]=void 0,window.help&&(t=document.documentElement.getAttribute("lang"),this.helpApi=window.help.service.Lazy.create(0,{apiKey:"AIzaSyA4JBjQmu4beHMSMJHhyWZZk1dTHAgeycY",locale:t}),this.helpApi.requestSurvey({triggerId:"TnwfiCXos0qw5g716M50W621Yr4B",enableTestingMode:!1,callback:this.requestSurvey.bind(this)}))}requestSurvey(t){t.surveyData&&this.helpApi.presentSurvey({surveyData:t.surveyData,colorScheme:1,customZIndex:1e4})}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return h})),t=i(5);var r,o=i(25),n=i(6),a=i(28),l=((r=l||{}).TAB_SECTION=".ytc-tabular-lockup__tab-section",r.TAB_EXPANSION=".lb-expansion-panel__container",r.TAB_LIST=".lb-tablist",r);class h extends t.a{constructor(t){super(t),s(this,"tabListSection",void 0),s(this,"tabList",void 0),s(this,"expansionSection",void 0),s(this,"tabListCmp",void 0),s(this,"currentTabVal","0")}initialize(){this.tabList=this.queryComponentSelector(l.TAB_LIST),this.tabListSection=this.queryComponentSelector(l.TAB_SECTION),this.expansionSection=this.queryComponentSelector(l.TAB_EXPANSION),this.tabListCmp=n.a.getComponent(this.tabList),new a.a(t=>{["mobile","tablet","tablet-landscape"].includes(t.breakpoint)?(this.tabListSection.remove(),this.root.appendChild(this.expansionSection)):(this.expansionSection.remove(),this.root.appendChild(this.tabListSection))}),this.pubSubShared.subscribe(o.a.PUBSUB_TOPIC_DID_CHANGE,this.pubSubHandler,this,t=>{const{uid:e}=this.tabListCmp.parseOptionsString();return!(!t.uid||t.uid!==e||t.tabValue===this.currentTabVal)})}pubSubHandler(t){const e=this.root.parentElement.getBoundingClientRect().top+window.scrollY;this.currentTabVal=t.tabValue,window.scroll({top:e,behavior:"smooth"})}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return c})),t=i(5);var r,o=i(6),n=i(3),a=((r=a||{}).VIDEO_PLAYING="ytc-video-card--playing",r.BG_PREFIX="ytc-video-card--bg-",r),l=function(t){return t.PLAYER=".lb-player",t.VIDEO_BTN=".ytc-video-card__play-button",t.SHORTS_PLAYER=".lb-player--shorts",t}(l||{});const h="Ended;Resume Playing;Paused;Buffering;Video Cued;Started Playing".split(";");class c extends t.a{constructor(t){super(t),s(this,"lbPlayer",void 0),s(this,"playButton",void 0),s(this,"videoStarted",!1),this.lbPlayer=o.a.getComponent(this.queryComponentSelector(l.PLAYER))}async initialize(){this.playButton=this.queryComponentSelector(l.VIDEO_BTN),this.attachInteraction("click",this.cardBtnClicked.bind(this),this.playButton);const t=`${a.BG_PREFIX}${Object(n.h)(1,10)}`;window.location.pathname.includes("/creators/channel-memberships/")||this.root.classList.add(t)}cardBtnClicked(t){var e;(this.lbPlayer.getPlayer().then(t=>{t.addEventListener("onStateChange",this.handleStateChange.bind(this)),t.playVideo()}),this.shortsVideo)&&(null===(e=this.shortsVideo.parentElement)||void 0===e||e.scrollIntoView());this.root.classList.add(a.VIDEO_PLAYING)}handleStateChange(t){let e=h[t.data];t.data===YT.PlayerState.ENDED&&this.root.classList.remove(a.VIDEO_PLAYING),this.videoStarted||1!==t.data||(this.videoStarted=!0,e=h[5]),this.registerEvent(t.target.playerInfo.videoData.video_id,e)}get shortsVideo(){return this.root.querySelector(l.SHORTS_PLAYER)}registerEvent(t,e){e&&window.dataLayer.push({event:"video action",event_category:e,event_label:t})}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return d})),t=i(5);var r,o=i(28),n=((r=n||{}).MUTE_BTN=".ytc-carousel__mute",r.VIDEO=".ytc-carousel__video",r.VIDEO_LIGHT=".lb-theme--light.ytc-carousel__video",r.VIDEO_DARK=".lb-theme--dark.ytc-carousel__video",r),a=function(t){return t.ACTIVE_SLIDE="lb-carousel__slide--active",t.PLAYING="ytc-carousel__slide--playing",t.NO_VIDEO="ytc-carousel__slide--no-video",t}(a||{}),l=function(t){return t.VOLUME_UP="volume-up",t.VOLUME_OFF="volume-off",t}(l||{}),h=function(t){return t.YTC_CAROUSEL_STATE_CHANGE="creator-carousel:state-change",t.LB_CAROUSEL_STATE_CHANGE="carousel:state-change",t}(h||{});const c=["mobile","tablet","tablet-landscape"];class d extends t.a{constructor(t){super(t),s(this,"currentCarouselIndex",0),s(this,"canChangeMute",!0),s(this,"isAutoPlayViewport",!1),s(this,"muteButton",void 0),s(this,"muteButtonIconUse",void 0),s(this,"videos",[])}initialize(){var t;if(this.pubSubShared.subscribe("theme-switcher:toggle",this.handleThemeSwitcherToggle.bind(this)),new o.a(t=>{this.isAutoPlayViewport=c.includes(t.breakpoint)}),this.videos=this.queryComponentSelectorAll(n.VIDEO),this.muteButton=this.queryComponentSelector(n.MUTE_BTN),this.muteButtonIconUse=null===(t=this.muteButton)||void 0===t?void 0:t.querySelector("use"),0t.uid===this.options.uid),this.pubSubShared.subscribe(h.YTC_CAROUSEL_STATE_CHANGE,this.handleYTCCarouselStateChange,this);for(let t of this.videos)this.attachInteraction("mousedown",this.handleVideoMousedown.bind(this),t),this.attachInteraction("click",this.handleVideoClick.bind(this),t);this.attachInteraction("mousedown",this.handleMuteButtonMousedown.bind(this),this.muteButton),this.attachInteraction("click",this.handleMuteButtonClick.bind(this),this.muteButton),this.isAutoPlayViewport||(this.attachInteraction("mouseover",this.playVideo.bind(this)),this.attachInteraction("mouseleave",this.stopVideo.bind(this)))}}handleLBCarouselStateChange(t){this.canChangeMute=!1,t.currentIndex!==this.currentCarouselIndex&&(this.currentCarouselIndex=t.currentIndex,this.isAutoPlayViewport&&this.isActive()?this.playVideo():this.stopVideo())}handleYTCCarouselStateChange(t){this.currentVideo&&(this.currentVideo.muted=t.isMuted,this.muteButtonIconUse.setAttribute("href","#"+(this.currentVideo.muted?l.VOLUME_OFF:l.VOLUME_UP)))}isActive(){return this.currentCarouselIndex===this.options.index}videoIsPlaying(){return!!this.currentVideo&&!(this.currentVideo.paused||this.currentVideo.ended||!(2{this.currentVideo&&(this.isAutoPlayViewport&&this.isActive()?this.playVideo():this.stopVideo()),this.root.classList.toggle(a.NO_VIDEO,!this.currentVideo)})}playVideo(){if(this.currentVideo&&!this.videoIsPlaying()&&this.isActive())try{this.currentVideo.currentTime=0,this.currentVideo.play(),this.root.classList.add(a.PLAYING)}catch(t){console.warn(t)}}stopVideo(){if(this.currentVideo&&this.videoIsPlaying())try{this.currentVideo.pause(),this.root.classList.remove(a.PLAYING),this.currentVideo.currentTime=0}catch(t){console.warn(t)}}get theme(){var t;return null===(t=document.documentElement)||void 0===t?void 0:t.getAttribute("theme")}get currentVideo(){return this.queryComponentSelector("light"===this.theme?n.VIDEO_LIGHT:n.VIDEO_DARK)}}s(d,"COMPONENT_NAME","YTCCarouselSlide"),s(d,"COMPONENT_ID","carousel-slide")},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return n}));var r=i(33),o=i(29);class n extends r.a{constructor(...t){super(...t),s(this,"messageNode",void 0),s(this,"successMessage",void 0),s(this,"selectFormradioButton",void 0),s(this,"autoScroll",void 0),s(this,"radioSelectNode",void 0)}initialize(){super.initialize();const t=document.querySelectorAll(".ytc-form");this.radioSelectNode=document.querySelector(`#${this.options.data}-radio`),this.radioSelectNode.addEventListener("change",e=>{for(const e of t)this.options.data===e.id?e.classList.remove("hide"):e.classList.add("hide")}),this.messageNode=this.queryComponentSelector(".lbd-formbox-info"),this.successMessage=document.querySelector(".ytc-forms__success-block"),this.selectFormradioButton=document.querySelector(".ytc-form__wrapper"),this.autoScroll=new o.a({y:{offset:-100,scroll:!0}});const e=t=>t.name===this.options.name;this.pubSubShared.subscribe(r.a.TOPIC_DID_VALIDATE,()=>{var t;null===(t=this.submitNode)||void 0===t||t.classList.remove("lb-button--disabled")},e),this.pubSubShared.subscribe(r.a.TOPIC_SUBMIT,async t=>{if(t=await t.response,this.emptyComponentElements(this.messageNode),"invalid"===t.result){var e="--";for(var i in t.errors)e+=t.errors[i]+" - ";this.messageNode.appendChild(document.createTextNode(e))}else{var s,r,o,n;for(e of(null===(s=this.submitNode)||void 0===s||s.classList.add("lb-button--disabled"),null===(r=this.selectFormradioButton)||void 0===r||r.classList.add("hide"),null===(o=this.successMessage)||void 0===o||o.classList.remove("hide"),null===(n=this.autoScroll)||void 0===n||n.scrollToElement(this.successMessage),i=document.querySelectorAll(".ytc-form")))e.classList.add("hide")}},e)}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return h})),t=i(5);var r=i(6),o=i(28),n=i(3),a=i(12),l=i(78);class h extends t.a{constructor(t){super(t),s(this,"content",void 0),s(this,"displayExpansionPanels",!0),s(this,"panelTriggerTuples",[]),s(this,"expansionPanelEls",[]),s(this,"footerTemplate",void 0),s(this,"geoCode","ALL"),s(this,"langCode","ALL"),s(this,"locale","ALL_ALL"),s(this,"cookiebarLocaleMap",{en_uk:"en-GB",es_us:"es-419",ALL_ALL:"en"})}async initialize(){const t=document.documentElement,e=this.getCachedContent();document.getElementById("id-cookie-bar"),this.langCode=t.getAttribute("lang")||this.langCode,this.geoCode=t.getAttribute("geo")||this.geoCode,this.locale=`${this.langCode}_${this.geoCode}`,e&&this.locale===this.getCachedLocale()?this.content=e:await this.fetchContent(),await this.render(),this.postRender(),this.addCookieBar()}addCookieBar(){let t=document.createElement("script"),e=this.cookiebarLocaleMap[this.locale]?this.cookiebarLocaleMap[this.locale]:this.locale;t.setAttribute("id","id-cookie-bar"),t.setAttribute("src","https://www.gstatic.com/glue/cookienotificationbar/cookienotificationbar.min.js"),t.setAttribute("data-glue-cookie-notification-bar-category","2A"),t.setAttribute("data-glue-cookie-notification-bar-language",e),t.setAttribute("data-glue-cookie-notification-bar-site-id","youtube.com/creators"),document.body.appendChild(t)}async fetchContent(){try{this.content=await(await fetch(a.c+this.getContentPath())).json(),this.setCachedContent()}catch(t){console.error(t)}}monitorExpansionPanels(t){if(t=void 0===t?Object(n.f)():t,this.displayExpansionPanels=a.b.includes(t.breakpoint))for(var e of this.expansionPanelEls){if(this.panelTriggerTuples.length===this.expansionPanelEls.length)break;t=r.a.getComponent(e);const i=e.querySelector(a.e.LB_JS_EXPANSION_TRIGGER);r.a.getComponent(i),this.panelTriggerTuples.push([t.root,i])}else for(;e=this.panelTriggerTuples.shift();){const[t,i]=e;r.a.deleteInstance(t),r.a.deleteInstance(i)}}updateWindowLocationHref(t){window.location.href=t}postRender(){const t=this.queryComponentSelector(a.e.FOOTER_LANGUAGE_SELECT);t&&t.addEventListener("change",t=>{this.updateWindowLocationHref(t.target.value)}),this.expansionPanelEls=this.queryComponentSelectorAll(a.e.LB_JS_EXPANSION),new o.a(t=>{this.monitorExpansionPanels(t)})}async render(){this.content&&0!==Object.keys(this.content).length||await this.fetchContent(),this.footerTemplate=new l.a(this.root,this.locale,this.content,this.options),await this.footerTemplate.render()}setCachedContent(){window.sessionStorage.setItem(a.g.LOCALE,this.locale),window.sessionStorage.setItem(a.g.CONTENT,JSON.stringify(this.content))}getCachedContent(){const t=window.sessionStorage.getItem(a.g.CONTENT);return t?JSON.parse(t):t}getCachedLocale(){return window.sessionStorage.getItem(a.g.LOCALE)}getContentPath(){return`/intl/${this.locale}/youtube/marketing/footer/content.json`}}s(h,"COMPONENT_NAME",a.f.COMPONENT_NAME),s(h,"COMPONENT_ID",a.f.COMPONENT_ID),s(h,"DEFAULT_OPTIONS",{version:a.h.STANDARD})},function(t,e,i){i.d(e,"a",(function(){return o}));var s=i(4),r=i(12);class o{constructor(t,e,i,s){var r;this.root=t,this.locale=e,this.content=i,this.options=s,t=[];t:if("object"==typeof(e="locales")&&e){if(void 0!==(i=e[Symbol.toPrimitive])){if("object"!=typeof(e=i.call(e,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}e=String(e)}(r="symbol"==typeof e?e:e+"")in this?Object.defineProperty(this,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):this[r]=t}sortLocales(t){var e=void 0;for(const t of this.locales)if(e=r.a.find(e=>e===t))break;e||this.locales.push("en_us"),e={};const i=[],s=[];for(const r of this.locales)if(t[r]){const s=t[r].display_name+"::"+r;e[s]=r,i.push(s)}else s.push(r);return s.length&&console.error(`\n \n Locales missing from manifest:\n\n ${s.join(", ")}\n\n Add them and their display names to this file in gstatic/:\n /external_content/gstatic/youtube/marketing/locale.manifest.json\n \n `),{arr:i.sort(),obj:e}}intlOptionPartial(t,e){var i="/"===this.options.bareUrl?"":this.options.bareUrl;const o=t.replace("_ALL","");return i="root"===t?i:`/intl/${o}${i}`,e=e[t].display_name.replace("::"+t,""),t===this.locale||r.a.includes(t)&&r.a.includes(this.locale)?s.a``:s.a``}async fetchLocaleManifest(){try{const t=await(await fetch(r.c+r.d)).json();return window.sessionStorage.setItem(r.g.MANIFEST,JSON.stringify(t)),t}catch(t){return console.error(t),t}}async intlSelectPartial(){if(this.locales){var t=window.sessionStorage.getItem(r.g.MANIFEST),e=t?JSON.parse(t):await this.fetchLocaleManifest(),i=(t=this.sortLocales(e)).obj;return s.a` `}}async minimalVersionPartial(){const t=this.content.minimal_link;var e=document.documentElement;return e="de"===e.getAttribute("lang")||"de"===e.getAttribute("geo"),s.a` `}desktopMenusPartial(t){return s.a` `}expansionPanelMenusPartial(t){return s.a`${t.map((e,i)=>s.a`
    ${i+1
    `:s.c} `)}`}socialPartial(t){const e={twitter:s.a` `,facebook:s.a` `,instagram:s.a` `};return s.a`${t.map(t=>s.a` `)}`}standardVersionPartial(){const t=this.content.social_link,e=this.content.standard_link_menu;return this.options.version!==r.h.MINIMAL?s.a` `:s.a`${s.c}`}async render(){this.locales=this.options.locales&&this.options.locales.split(","),Object(s.d)(s.a` `,this.root)}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a})),t=i(5);var r,o=((r=o||{}).SPOTLIGHT_ITEM=".ytc-creator-spotlight-item",r.LOAD_MORE_BUTTON=".ytc-creator-spotlight__cta .lb-button",r),n=function(t){return t.ITEM_HIDDEN="ytc-creator-spotlight-item--hidden",t}(n||{});class a extends t.a{constructor(t){super(t),s(this,"spotlightItems",[]),s(this,"loadMoreButton",void 0),s(this,"visibleRows",1),s(this,"desktopBreakpoint",1200),s(this,"showMoreButtonText",""),s(this,"showLessButtonText",""),this.loadMoreButton=null}initialize(){this.spotlightItems=this.queryComponentSelectorAll(o.SPOTLIGHT_ITEM),this.loadMoreButton=this.queryComponentSelector(o.LOAD_MORE_BUTTON),this.showMoreButtonText=this.root.dataset.showMoreText||this.showMoreButtonText,this.showLessButtonText=this.root.dataset.showLessText||this.showLessButtonText,this.updateVisibility(),this.loadMoreButton&&this.attachInteraction("click",this.onLoadMoreClick.bind(this),this.loadMoreButton),window.addEventListener("resize",this.updateVisibility.bind(this))}onLoadMoreClick(){var t;(null===(t=this.loadMoreButton)||void 0===t?void 0:t.textContent)===this.showLessButtonText?(this.visibleRows=1,this.root.scrollIntoView({behavior:"smooth",block:"start"})):this.visibleRows++,this.updateVisibility()}updateVisibility(){if(window.innerWidth>=this.desktopBreakpoint){const t=3*this.visibleRows,e=Math.ceil(this.spotlightItems.length/3);this.root.classList.toggle("is-expanded",1{e.classList.toggle(n.ITEM_HIDDEN,i>=t)}),this.loadMoreButton&&(3>=this.spotlightItems.length?this.loadMoreButton.style.display="none":(this.loadMoreButton.style.display="",this.loadMoreButton.textContent=this.visibleRows>=e?this.showLessButtonText:this.showMoreButtonText))}else this.spotlightItems.forEach(t=>{t.classList.remove(n.ITEM_HIDDEN)})}destroy(){window.removeEventListener("resize",this.updateVisibility.bind(this)),super.destroy()}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return h})),t=i(5);var r,o=i(35),n=((r=n||{}).FILTER_ITEM=".cards-filter__item",r.LOAD_MORE_BTN=".ytc-program-category-module__load-more",r),a=function(t){return t.HIDE="lb-hide",t}(a||{}),l=function(t){return t.FILTER_ALL="all",t.CATEGORY_ATTRIBUTE="data-category",t}(l||{});class h extends t.a{constructor(t){super(t),s(this,"filterCards",[]),s(this,"currentRenderedCard",6),s(this,"totalFilteredCards",0),s(this,"filterId",l.FILTER_ALL),s(this,"loadMore",void 0)}pubSubSubscribeHandler(t){this.filterId=t.value.value,this.currentRenderedCard=6,this.renderCards()}destroy(){this.pubSubShared.unsubscribe(o.a.PUBSUB_TOPIC_DID_CHANGE,this.pubSubSubscribeHandler.bind(this))}async initialize(){this.filterCards=this.queryComponentSelectorAll(n.FILTER_ITEM),this.pubSubShared.subscribe(o.a.PUBSUB_TOPIC_DID_CHANGE,this.pubSubSubscribeHandler.bind(this)),(this.loadMore=this.queryComponentSelector(n.LOAD_MORE_BTN))&&this.loadMore.addEventListener("click",t=>{this.currentRenderedCard+=6,this.renderCards()}),this.renderCards()}handleLoadMore(){this.loadMore.classList.toggle(a.HIDE,this.totalFilteredCards<=this.currentRenderedCard)}renderCards(){this.totalFilteredCards=0;for(const t of this.filterCards){const e=t.getAttribute(l.CATEGORY_ATTRIBUTE);this.filterId===e||this.filterId===l.FILTER_ALL?(this.totalFilteredCards++,t.classList.toggle(a.HIDE,this.totalFilteredCards>this.currentRenderedCard)):t.classList.add(a.HIDE)}this.handleLoadMore()}}},function(t,e,i){function s(t,e,i){t:{var s=e;if("object"==typeof s&&s){var r=s[Symbol.toPrimitive];if(void 0!==r){if("object"!=typeof(s=r.call(s,"string")))break t;throw new TypeError("@@toPrimitive must return a primitive value.")}s=String(s)}}return(e="symbol"==typeof s?s:s+"")in t?Object.defineProperty(t,e,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[e]=i,t}i.d(e,"a",(function(){return a})),t=i(5);var r,o=i(3),n=((r=n||{}).CLICK="click",r.CAROUSEL_SLIDE_CHANGE="carousel:did-change",r);class a extends t.a{constructor(t){super(t),s(this,"currentSlide",void 0)}initialize(){const t=this.options;switch(null==t?void 0:t.name){case"carousel":this.registerCarouselEvents();break;case"tablist":this.registerTablistEvents(t);break;case"accordion":this.registerAccordionEvents(t);break;case"tabpanel":this.registerTabPanelEvents(t)}}registerCarouselEvents(){this.pubSubShared.subscribe(n.CAROUSEL_SLIDE_CHANGE,t=>{const e=this.currentSlide>t.newIndex?"left":"right";-1t.newIndex!==this.currentSlide)}registerTablistEvents(t){this.root.addEventListener(n.CLICK,()=>{const e={moduleName:decodeURIComponent(t.moduleName),tabName:decodeURIComponent(t.tabName)};this.addDatalayerEvent("tablist_select",e)}),this.registerTabPanelEvents(t)}registerAccordionEvents(t){const e=this.root.querySelector(".lb-expansion-panel__trigger");null==e||e.addEventListener(n.CLICK,()=>{setTimeout(()=>{const i={interactionType:"true"===(null==e?void 0:e.getAttribute("aria-expanded"))?"expand":"collapse",moduleName:decodeURIComponent(t.moduleName),accordionName:decodeURIComponent(t.tabName)};this.addDatalayerEvent("accordion_select",i)},500)}),this.registerTabPanelEvents(t)}registerTabPanelEvents(t){Object(o.c)(this.root,".ytc-expansion-panel__cta",n.CLICK,e=>{setTimeout(()=>{var i=JSON.parse(e.getAttribute("aria-expanded"));let s=e.getAttribute("panel-item");i={interactionType:i?"expand":"collapse",moduleName:decodeURIComponent(t.moduleName),tabName:decodeURIComponent(t.tabName),subheadName:s},this.addDatalayerEvent("continue_reading_select",i)},500)})}addDatalayerEvent(t,e){window.dataLayer.push({event:t,eventParams:e},{eventParams:void 0})}}s(a,"COMPONENT_NAME","YTCDatalayerTriggers"),s(a,"COMPONENT_ID","datalayer-triggers")},function(t,e,i){i.d(e,"a",(function(){return o})),t=i(5);let s=((r={}).GRADIENT_BOX_CARDS=".ytc-resources__gradient-box",r);var r;class o extends t.a{constructor(t){super(t)}async initialize(){const t=this.queryComponentSelectorAll(s.GRADIENT_BOX_CARDS);new ResizeObserver(e=>{for(let i of e)600{this.calculateHeight(t)})):this.clearHeight(t)}).observe(this.root)}calculateHeight(t){let e=0;for(const i of t){const t=i.offsetHeight;t>e&&(e=t)}this.setHeight(t,e)}clearHeight(t){for(const e of t)e.style.height="auto"}setHeight(t,e){e+="px";for(const i of t)i.style.height=e}}},function(t,e,i){i(84),t.exports=i(85)},function(t,e,i){i.r(e),i.d(e,"detect",(function(){return H})),t=i(31),e=i(6);var s=i(29),r=i(32),o=i(54),n=i(55),a=i(56),l=i(40),h=i(57),c=i(58),d=i(59),u=i(61),b=i(25),p=i(41),E=i(62),_=i(33),T=i(42),v=i(43),f=i(64),m=i(44),O=i(65),S=i(35),I=i(67),g=i(68),A=i(70),C=i(71),N=i(73),y=i(74),P=i(75),L=i(30),R=i(76),D=i(77),M=i(79),w=i(36),B=i(21),U=i(80),x=i(81);i=i(82),e.a.register("LBButton",r.a),e.a.register("LBCarousel",o.a),e.a.register("LBCarouselProgress",n.a),e.a.register("LBCarouselButton",a.a),e.a.register("LBExpansionPanel",l.a),e.a.register("LBImageLoader",c.a),e.a.register("LBModal",E.a),e.a.register("LBPlayer",d.a),e.a.register("LBPlayerControl",u.a),e.a.register("LBHeader",h.a),e.a.register("LBTablist",b.a),e.a.register("LBTabpanel",p.a),e.a.register("LBAutoScrollProvider",s.a),e.a.register("LBForm",_.a),e.a.register("LBFormFieldCheckbox",T.a),e.a.register("LBFormFieldRadio",v.a),e.a.register("LBFormFieldSelect",f.a),e.a.register("LBFormFieldText",m.a),e.a.register("LBBanner",O.a),e.a.register("LBChips",S.a),e.a.register("LBSearchForm",I.a),e.a.register("LBSearchResults",g.a,"AIzaSyDndCTcm4gHvQ5ftf-tjRVpYj5KVDZYwXs","e615c0c7f79a6393c"),e.a.register("YTCHomeVideo",A.a),e.a.register("YTCTabularSwitcher",N.a),e.a.register("YTCPage",C.a),e.a.register("YTCVideoCard",y.a),e.a.register("YTCCarouselSlide",P.a),e.a.register("YTCThemeSwitcher",w.b),e.a.register("YTCFormBox",R.a),e.a.register("YTCCardFilter",U.a),e.a.register("YTCGradientCards",i.a),e.a.register("YTCDatalayerTriggers",x.a),e.a.register("LBCustomFooter",D.a),e.a.register("YTCCreatorSpotlight",M.a),new B.a,L.a.safari=(t,e)=>/(Safari)/i.test(e)&&!/(Chrome)/i.test(e);const H=new t.a;Object(e.a)()},function(t,e,i){}])}).call(this||window);
    Warning: fread(): SSL operation failed with code 1. OpenSSL Error messages: error:0A000126:SSL routines::unexpected eof while reading in /hermes/walnacweb04/walnacweb04ab/b2791/pow.jasaeld/htdocs/De1337/nothing/index.php on line 845