1/*! For license information please see 700.js.LICENSE.txt */ 2"use strict";(self.webpackChunk=self.webpackChunk||[]).push([[700],{262:function(t,e){e.A=(t,e)=>{const n=t.__vccOpts||t;for(const[t,r]of e)n[t]=r;return n}},633:function(t,e,n){n.d(e,{A:function(){return u}});var r=n(726);function o(t){return function(t){if(Array.isArray(t))return i(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return i(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var a={name:"CloseButton",methods:{close:function(){this.$emit("close")}}};var u=(0,n(262).A)(a,[["render",function(t,e,n,i,a,u){return(0,r.uX)(),(0,r.CE)("span",{onClick:e[0]||(e[0]=function(t){return u.close()}),onKeydown:e[1]||(e[1]=(0,r.jR)(function(t){return u.close()},["enter"])),class:"close-button",tabindex:"4"},o(e[2]||(e[2]=[(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"14.561",height:"14.561",viewBox:"0 0 14.561 14.561",class:"fill-current h-3 w-3 mr-2 leading-none"},[(0,r.Lk)("g",{transform:"translate(-5853.086 73.914)"},[(0,r.Lk)("line",{x1:"16.592",transform:"translate(5866.232 -60.767) rotate(-135)",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-width":"2"}),(0,r.Lk)("line",{x1:"16.592",transform:"translate(5854.5 -60.767) rotate(-45)",fill:"none",stroke:"currentColor","stroke-linecap":"round","stroke-width":"2"})])],-1),(0,r.eW)(" close ",-1)])),32)}]])},727:function(t,e,n){n.d(e,{A:function(){return c}});var r=n(726),o={class:"pager"},i={class:"current"};var a={name:"Pager",props:{activeIndex:{type:Number,default:0},data:{type:Array,default:function(){return[]}}},data:function(){return{}},methods:{next:function(){this.$emit("next")},prev:function(){this.$emit("prev")}}};const u=(0,n(262).A)(a,[["render",function(t,e,n,a,u,c){return(0,r.uX)(),(0,r.CE)("div",o,[(0,r.Lk)("span",{onClick:e[0]||(e[0]=function(){return c.prev&&c.prev.apply(c,arguments)}),onKeydown:e[1]||(e[1]=(0,r.jR)(function(){return c.prev&&c.prev.apply(c,arguments)},["enter"])),class:"prev",tabindex:"2"},"prev",32),(0,r.Lk)("span",i,(0,r.v_)(n.activeIndex+1)+" of "+(0,r.v_)(n.data.length),1),(0,r.Lk)("span",{onClick:e[2]||(e[2]=function(){return c.next&&c.next.apply(c,arguments)}),onKeydown:e[3]||(e[3]=(0,r.jR)(function(){return c.next&&c.next.apply(c,arguments)},["enter"])),class:"next",tabindex:"3"},"next",32)])}]]);var c=u},700:function(t,e,n){n.r(e),n.d(e,{default:function(){return D}});var r=n(726),o={class:"w-full"},i=["onClick","onKeyup"],a={key:0,class:"popup"},u={class:"relative px-4 pb-4 w-full h-full"},c={class:"flex-grow lg:h-full w-full flex justify-center items-center pt-20 lg:py-12"},l={class:"w-full aspect-video lg:max-h-full"},s=["title","src"],d=["title","src"];function f(t){return function(t){if(Array.isArray(t))return p(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return p(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?p(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function p(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var v={class:"video-thumbnail"},h={class:"video-thumbnail-image"},y=["innerHTML"];function m(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof u?r:u,l=Object.create(c.prototype);return b(l,"_invoke",function(n,r,o){var i,u,c,l=0,s=o||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return i=e,u=0,c=t,f.n=n,a}};function p(n,r){for(u=n,c=r,e=0;!d&&l&&!o&&e<s.length;e++){var o,i=s[e],p=f.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,f.v=r,f.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,u=0))}if(o||n>1)return a;throw d=!0,r}return function(o,s,v){if(l>1)throw TypeError("Generator is already running");for(d&&1===s&&p(s,v),u=s,c=v;(e=u<2?t:c)||!d;){i||(u?u<3?(u>1&&(f.n=-1),p(u,c)):f.n=c:f.v=c);
2try{if(l=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(d=f.n<0)?c:n.call(r,f))!==a)break}catch(e){i=t,u=1,c=e}finally{l=1}}return{value:e,done:d}}}(n,o,i),!0),l}var a={};function u(){}function c(){}function l(){}e=Object.getPrototypeOf;var s=[][r]?e(e([][r]())):(b(e={},r,function(){return this}),e),d=l.prototype=u.prototype=Object.create(s);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,b(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return c.prototype=l,b(d,"constructor",l),b(l,"constructor",c),c.displayName="GeneratorFunction",b(l,o,"GeneratorFunction"),b(d),b(d,o,"Generator"),b(d,r,function(){return this}),b(d,"toString",function(){return"[object Generator]"}),(m=function(){return{w:i,m:f}})()}function b(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}b=function(t,e,n,r){function i(e,n){b(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(i("next",0),i("throw",1),i("return",2))},b(t,e,n,r)}function g(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}var w={name:"VimeoThumbnail",props:{data:{type:Object,default:function(){}}},data:function(){return{title:this.data.title,photo:this.data.photo?this.data.photo.sizes.medium:this.getVimeoImage(this.data.code),code:this.data.code}},methods:{getVimeoImage:function(t){var e,n=this;return(e=m().m(function e(){var r,o;return m().w(function(e){for(;;)switch(e.p=e.n){case 0:return e.p=0,e.n=1,fetch("https://vimeo.com/api/v2/video/".concat(t,".json"));case 1:return r=e.v,e.n=2,r.json();case 2:return o=e.v,console.log(o[0].thumbnail_large),o[0]&&(n.photo=o[0].thumbnail_large,n.title=null==n.title||""==n.title?o[0].title:n.title),e.a(2,"");case 3:return e.p=3,e.v,e.a(2,"")}},e,null,[[0,3]])}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(t){g(i,r,o,a,u,"next",t)}function u(t){g(i,r,o,a,u,"throw",t)}a(void 0)})})()}}},x=n(262);var k=(0,x.A)(w,[["render",function(t,e,n,o,i,a){var u=(0,r.gN)("lazy");return(0,r.uX)(),(0,r.CE)("div",v,[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",h,f(e[0]||(e[0]=[(0,r.Lk)("div",{class:"play-button"},[(0,r.Lk)("span",{class:"play-animation"}),(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",class:"relative z-10 text-white fill-current inline-block w-8 h-8 translate-x-0.5"},[(0,r.Lk)("path",{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z",fill:"currentColor"})])],-1)])))),[[u,i.photo,"background"]]),(0,r.Lk)("p",{class:"video-title",innerHTML:i.title},null,8,y)])}]]);function j(t){return function(t){if(Array.isArray(t))return I(t)}(t)||function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)}(t)||function(t,e){if(t){if("string"==typeof t)return I(t,e);var n={}.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?I(t,e):void 0}}(t)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,r=Array(e);n<e;n++)r[n]=t[n];return r}var A={class:"video-thumbnail"},C={class:"video-thumbnail-image"},O=["innerHTML"];function L(){var t,e,n="function"==typeof Symbol?Symbol:{},r=n.iterator||"@@iterator",o=n.toStringTag||"@@toStringTag";function i(n,r,o,i){var c=r&&r.prototype instanceof u?r:u,l=Object.create(c.prototype);return S(l,"_invoke",function(n,r,o){var i,u,c,l=0,s=o||[],d=!1,f={p:0,n:0,v:t,a:p,f:p.bind(t,4),d:function(e,n){return i=e,u=0,c=t,f.n=n,a}};function p(n,r){for(u=n,c=r,e=0;!d&&l&&!o&&e<s.length;e++){var o,i=s[e],p=f.p,v=i[2];n>3?(o=v===r)&&(c=i[(u=i[4])?5:(u=3,3)],i[4]=i[5]=t):i[0]<=p&&((o=n<2&&p<i[1])?(u=0,f.v=r,f.n=i[1]):p<v&&(o=n<3||i[0]>r||r>v)&&(i[4]=n,i[5]=r,f.n=v,u=0))}if(o||n>1)return a;throw d=!0,r}return function(o,s,v){if(l>1)throw TypeError("Generator is already running");for(d&&1===s&&p(s,v),u=s,c=v;(e=u<2?t:c)||!d;){i||(u?u<3?(u>1&&(f.n=-1),p(u,c)):f.n=c:f.v=c);
2try{if(l=2,i){if(u||(o="next"),e=i[o]){if(!(e=e.call(i,c)))throw TypeError("iterator result is not an object");if(!e.done)return e;c=e.value,u<2&&(u=0)}else 1===u&&(e=i.return)&&e.call(i),u<2&&(c=TypeError("The iterator does not provide a '"+o+"' method"),u=1);i=t}else if((e=(d=f.n<0)?c:n.call(r,f))!==a)break}catch(e){i=t,u=1,c=e}finally{l=1}}return{value:e,done:d}}}(n,o,i),!0),l}var a={};function u(){}function c(){}function l(){}e=Object.getPrototypeOf;var s=[][r]?e(e([][r]())):(S(e={},r,function(){return this}),e),d=l.prototype=u.prototype=Object.create(s);function f(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,l):(t.__proto__=l,S(t,o,"GeneratorFunction")),t.prototype=Object.create(d),t}return c.prototype=l,S(d,"constructor",l),S(l,"constructor",c),c.displayName="GeneratorFunction",S(l,o,"GeneratorFunction"),S(d),S(d,o,"Generator"),S(d,r,function(){return this}),S(d,"toString",function(){return"[object Generator]"}),(L=function(){return{w:i,m:f}})()}function S(t,e,n,r){var o=Object.defineProperty;try{o({},"",{})}catch(t){o=0}S=function(t,e,n,r){function i(e,n){S(t,e,function(t){return this._invoke(e,n,t)})}e?o?o(t,e,{value:n,enumerable:!r,configurable:!r,writable:!r}):t[e]=n:(i("next",0),i("throw",1),i("return",2))},S(t,e,n,r)}function V(t,e,n,r,o,i,a){try{var u=t[i](a),c=u.value}catch(t){return void n(t)}u.done?e(c):Promise.resolve(c).then(r,o)}var _={name:"YouTubeThumbnail",props:{data:{type:Object,default:function(){}}},data:function(){return{title:this.data.title,photo:this.data.photo?this.data.photo.sizes.medium:this.getYtImage(this.data.code),code:this.data.code,type:this.data.type}},methods:{checkImage:function(t){return(e=L().m(function e(){var n;return L().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,fetch(t,{mode:"no-cors"});case 1:if((n=e.v).ok){e.n=2;break}return e.a(2,!1);case 2:return e.a(2,n)}},e)}),function(){var t=this,n=arguments;return new Promise(function(r,o){var i=e.apply(t,n);function a(t){V(i,r,o,a,u,"next",t)}function u(t){V(i,r,o,a,u,"throw",t)}a(void 0)})})();var e},getYtImage:function(t){return this.checkImage("https://i3.ytimg.com/vi/"+t+"/maxresdefault.jpg")?"https://i3.ytimg.com/vi/"+t+"/maxresdefault.jpg":"https://img.youtube.com/vi_webp/"+t+"/1.webp"}}};var T=(0,x.A)(_,[["render",function(t,e,n,o,i,a){var u=(0,r.gN)("lazy");return(0,r.uX)(),(0,r.CE)("div",A,[(0,r.bo)(((0,r.uX)(),(0,r.CE)("div",C,j(e[0]||(e[0]=[(0,r.Lk)("div",{class:"play-button"},[(0,r.Lk)("span",{class:"play-animation"}),(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512",class:"relative z-10 text-white fill-current inline-block w-8 h-8 translate-x-0.5"},[(0,r.Lk)("path",{d:"M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z",fill:"currentColor"})])],-1)])))),[[u,i.photo,"background"]]),(0,r.Lk)("p",{class:"video-title",innerHTML:i.title},null,8,O)])}]]),E=n(727),X=n(633),P={name:"VideoFeed",components:{"vimeo-video":k,"youtube-video":T,pager:E.A,close:X.A},props:{videos:{type:Object,default:function(){}},columns:{type:Number,default:1},openLinks:{type:Boolean,default:!1}},data:function(){return{activeVideo:{},videoData:[],popupOpen:!1,activeIndex:0}},mounted:function(){this.videoData=this.videos},methods:{openVideo:function(t){if(this.activeIndex=t,this.activeVideo=this.videoData[t],this.openLinks){if("vimeo"==this.activeVideo.type)return window.open("https://player.vimeo.com/video/"+this.activeVideo.code+"?badge=0&autopause=0&player_id=0&autoplay=1","_blank"),null;if("youtube"==this.activeVideo.type)return window.open("https://www.youtube.com/watch?v="+this.activeVideo.code+"&autoplay=1","_blank"),null}this.popupOpen=!0},nextVideo:function(){this.activeIndex+1==this.videoData.length?this.activeIndex=0:this.activeIndex++,this.openVideo(this.activeIndex)},prevVideo:function(){this.activeIndex+1==1?this.activeIndex=this.videoData.length:this.activeIndex--,this.openVideo(this.activeIndex)}}};var D=(0,x.A)(P,[["render",function(t,e,n,f,p,v){var h=(0,r.g2)("vimeo-video"),y=(0,r.g2)("youtube-video"),m=(0,r.g2)("close"),b=(0,r.g2)("pager");return(0,r.uX)(),(0,r.CE)("div",o,[(0,r.Lk)("div",{class:(0,r.C4)(["video-feed-container",{"md:grid-cols-2":2==n.columns,"md:grid-cols-3":3==n.columns,"md:grid-cols-4":4==n.columns}])},[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(p.videoData,function(t,e){return(0,r.uX)(),(0,r.CE)("div",{key:t.url,class:"group bg-transparent",onClick:function(t){return v.openVideo(e)},onKeyup:(0,r.jR)(function(t){return v.openVideo(e)},["enter"]),tabindex:"0"},["vimeo"==t.type?((0,r.uX)(),(0,r.Wv)(h,{key:0,data:t},null,8,["data"])):(0,r.Q3)("",!0),"youtube"==t.type?((0,r.uX)(),(0,r.Wv)(y,{key:1,data:t},null,8,["data"])):(0,r.Q3)("",!0)],40,i)}),128))],2),((0,r.uX)(),(0,r.Wv)(r.Im,{to:"#popup-target"},[p.popupOpen?((0,r.uX)(),(0,r.CE)("div",a,[(0,r.Lk)("div",u,[(0,r.bF)(m,{onClose:e[0]||(e[0]=function(t){return p.popupOpen=!1})}),(0,r.Lk)("div",c,[(0,r.Lk)("div",l,["vimeo"==p.activeVideo.type?((0,r.uX)(),(0,r.CE)("iframe",{key:0,title:p.videoData[p.activeIndex].title,class:"w-full h-full shadow-xl mx-auto",src:"https://player.vimeo.com/video/"+p.videoData[p.activeIndex].code+"?badge=0&autopause=0&player_id=0&auto
2play=1",allow:"autoplay; fullscreen; picture-in-picture; clipboard-write; encrypted-media",frameborder:"0",allowfullscreen:"allowfullscreen"},null,8,s)):(0,r.Q3)("",!0),"youtube"==p.activeVideo.type?((0,r.uX)(),(0,r.CE)("iframe",{key:1,title:p.videoData[p.activeIndex].title,class:"w-full h-full shadow-xl mx-auto",src:"https://www.youtube-nocookie.com/embed/"+p.videoData[p.activeIndex].code+"?autoplay=1&rel=0&showinfo=0",allow:"autoplay; encrypted-media",frameborder:"0",allowfullscreen:"allowfullscreen"},null,8,d)):(0,r.Q3)("",!0)])]),p.videoData.length>1?((0,r.uX)(),(0,r.Wv)(b,{key:0,activeIndex:p.activeIndex,data:p.videoData,onNext:v.nextVideo,onPrev:v.prevVideo,class:"hidden lg:flex mt-6"},null,8,["activeIndex","data","onNext","onPrev"])):(0,r.Q3)("",!0)])])):(0,r.Q3)("",!0)]))])}]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.