(()=>{"use strict";var e,t={426(e,t,o){var r=o(868),i=o(121),n=o(833),l=o(494),a=o(362);let s;const d={colour:"red",controls:!0,loadpolicy:!0,buttonstyle:"",preroll:"",postroll:"",thumbnailquality:"0",loadthumbnail:!0,cookies:!1};function u({pluginOptions:e,videoId:t,urlOptions:o}){let r=t;const i={autoplay:1,modestbranding:1,rel:0};!1===e.controls&&(i.controls=0),e.loadpolicy&&(i.iv_load_policy=3),e.colour&&(i.color=e.colour);const n=e.preroll!==t&&e.preroll,l=e.postroll!==t&&e.postroll,s=[];n&&(r=n,s.push(t)),l&&s.push(l),s.length>0&&(i.playlist=s.join(","));const d={...i,...o};d.t&&(d.start=function(e){if(Number(e))return Number(e);let t=0;const o=[3600,60,1],r=e.match(/(?:(\d+)(?:h))?(?:(\d+)(?:m))?(?:(\d+)(?:s))?/);if(r)for(let e=1;e<r.length;e+=1)void 0!==r[e]&&(t+=Number(r[e])*o[e-1]);return t}(d.t));return`https://${`www.youtube${e.cookies?"":"-nocookie"}.com`}/embed/${r}?${(0,a.A)(d)}`}function c(e){const t=function(e){const t=new RegExp(["v=","/embed/","://youtu.be/","/shorts/"].join("|"),"i");return e.split(t)[1]}(e),[o,...r]=t.split(/[&#?]/);return{videoId:o,queryParams:r.reduce((e,t)=>{const[o,r]=t.split("=");return e[o]=r,e},{})}}function p(e){const t=(0,i.Zn)(e.getAttribute("href")),{videoId:o}=c(t);let r=`https://i2.ytimg.com/vi/${o}/${s.thumbnailquality}.jpg`;const l=(0,n.A)(`<img style="display:none" src="${r}">`).firstChild;l.addEventListener("load",()=>{120===l.clientWidth&&(r=r.replace("maxresdefault","0")),e.style.backgroundImage||(0,i.Mr)(e,r),l.parentNode.removeChild(l)}),document.body.appendChild(l)}function v(e){const t=e,o=c((0,i.Zn)(t.getAttribute("href"))),{videoId:r,queryParams:l}=o;const a=void 0!==t.getAttribute("data-video-title")?(0,i.Zn)(t.getAttribute("data-video-title")):t.innerHTML?t.innerHTML:"";t.innerHTML=a.length>0?`\n    <div aria-hidden="true" class="lazy-load-info">\n      <div class="titletext youtube">${a}</div>\n    </div>`:"";const d=(0,n.A)('<div aria-hidden="true" class="lazy-load-div"></div>');t.insertBefore(d,t.firstChild),s.buttonstyle&&t.classList.add(s.buttonstyle);const p=(0,n.A)(`<div aria-hidden="true" class="lazy-load-info-extra">\n      <div class="overlaytext">${s.overlaytext}</div>\n    </div>`);s.overlaytext.length>0&&t.parentNode.insertBefore(p,null),(0,i.Ks)(t.parentNode),t.addEventListener("click",e=>{const o=e.currentTarget;if(e.preventDefault(),"a"!==o.tagName.toLowerCase())return;o.classList.remove("preview-youtube");const i=u({pluginOptions:s,videoId:r,urlOptions:l}),a=Number(t.clientHeight),d=Number(t.clientWidth),c=(0,n.A)(`<iframe width="${d}px" height="${a}px" style="vertical-align:top; height: ${a}px; width: ${d}px" src="${i}" frameborder="0" allow="autoplay; fullscreen; picture-in-picture; accelerometer; clipboard-write; encrypted-media; gyroscope" allowfullscreen></iframe>`),{parentNode:p}=o;p&&p.replaceChild(c,o)},!0)}function f({rootNode:e,loadthumbnail:t}){const o=(0,l.A)("a.lazy-load-youtube",e);o.forEach(v),t&&(0,i.ss)(o,e=>p(e))}const h=function(e){s={...d,...e},(0,i.Ts)({load:f,pluginOptions:s})};(0,r.A)(()=>{h(window.llvConfig.youtube)})}},o={};function r(e){var i=o[e];if(void 0!==i)return i.exports;var n=o[e]={exports:{}};return t[e](n,n.exports,r),n.exports}r.m=t,e=[],r.O=(t,o,i,n)=>{if(!o){var l=1/0;for(u=0;u<e.length;u++){for(var[o,i,n]=e[u],a=!0,s=0;s<o.length;s++)(!1&n||l>=n)&&Object.keys(r.O).every(e=>r.O[e](o[s]))?o.splice(s--,1):(a=!1,n<l&&(l=n));if(a){e.splice(u--,1);var d=i();void 0!==d&&(t=d)}}return t}n=n||0;for(var u=e.length;u>0&&e[u-1][2]>n;u--)e[u]=e[u-1];e[u]=[o,i,n]},r.d=(e,t)=>{for(var o in t)r.o(t,o)&&!r.o(e,o)&&Object.defineProperty(e,o,{enumerable:!0,get:t[o]})},r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={17:0};r.O.j=t=>0===e[t];var t=(t,o)=>{var i,n,[l,a,s]=o,d=0;if(l.some(t=>0!==e[t])){for(i in a)r.o(a,i)&&(r.m[i]=a[i]);if(s)var u=s(r)}for(t&&t(o);d<l.length;d++)n=l[d],r.o(e,n)&&e[n]&&e[n][0](),e[n]=0;return r.O(u)},o=self.webpackChunklazy_load_for_videos=self.webpackChunklazy_load_for_videos||[];o.forEach(t.bind(null,0)),o.push=t.bind(null,o.push.bind(o))})();var i=r.O(void 0,[473],()=>r(426));i=r.O(i)})();