PageSourceSearch

https://macaubal.sp.gov.br/js/splide-extension-video.min.js

js macaubal.sp.gov.br collected 2026-10-02 22:19:56 UTC 32,023 bytes, 25 lines download raw bytes

1function Pt(t,n){t.prototype=Object.create(n.prototype),e(t.prototype.constructor=t,n)}function e(t,n){return(e=Object.setPrototypeOf||function(t,n){return t.__proto__=n,t})(t,n)}
2/*!
3 * Splide.js
4 * Version  : 0.6.8
5 * License  : MIT
6 * Copyright: 2022 Naotoshi Fujita
7 */
8var t;t=function(){"use strict";function o(t){return!s(t)&&"object"==typeof t}function i(t){return Array.isArray(t)}function r(t){return"string"==typeof t}function u(t){return void 0===t}function s(t){return null===t}function c(t,n){(i(t=t)?t:[t]).forEach(n)}var a=Array.prototype;function f(t,n,e){return a.slice.call(t,n,e)}function e(n,t,e){n&&c(t,function(t){t&&n.classList[e?"add":"remove"](t)})}function h(t,n){e(t,r(n)?n.split(" "):n,!0)}function l(t,n){return t instanceof HTMLElement&&(t.msMatchesSelector||t.matches).call(t,n)}function d(t,n){return n?(e=n,((n=t)?f(n.children).filter(function(t){return l(t,e)}):[])[0]):t.firstElementChild;var e}function v(t,n,e){if(t)for(var i=Object.keys(t),i=e?i.reverse():i,r=0;r<i.length;r++){var o=i[r];if("__proto__"!==o&&!1===n(t[o],o))break}return t}function y(i){return f(arguments,1).forEach(function(e){v(e,function(t,n){i[n]=e[n]})}),i}function p(e,t){return v(t,function(t,n){i(t)?e[n]=t.slice():o(t)?e[n]=p(o(e[n])?e[n]:{},t):e[n]=t}),e}function w(e,t,n){var i,r;o(t)?v(t,function(t,n){w(e,n,t)}):s(n)?(r=t,(i=e)&&c(r,function(t){i.removeAttribute(t)})):e.setAttribute(t,String(n))}function m(t,n,e){t=document.createElement(t);return n&&(r(n)?h:w)(t,n),e&&c(t,e.appendChild.bind(e)),t}function b(t,n){!function(t,n,e){if(u(e))return getComputedStyle(t)[n];s(e)||(t=t.style)[n]!==(e=""+e)&&(t[n]=e)}(t,"display",n)}var k="splide";var g=Math.min,E=Math.max;Math.floor,Math.ceil,Math.abs;function T(t,n,e){var i=g(n,e),e=E(n,e);return g(E(i,t),e)}var _=10;function P(t){return Array.isArray(t)?t:[t]}var F=Array.prototype;function C(){var u={};function i(t,i){n(t,function(t,n){var e=u[t];u[t]=e&&e.filter(function(t){return t.t?t.t!==i:i||t.n!==n})})}function n(t,n){P(t).join(" ").split(" ").forEach(function(t){t=t.split(".");n(t[0],t[1])})}return{on:function(t,i,r,o){void 0===o&&(o=_),n(t,function(t,n){var e;u[t]=u[t]||[],e=u[t],n={e:t,i:i,n:n,r:o,t:r},e.push.apply(e,P(n)),e.sort(function(t,n){return t.r-n.r})})},off:i,offBy:function(e){!function(t,n,e){if(t)for(var i=Object.keys(t),i=e?i.reverse():i,r=0;r<i.length;r++){var o=i[r];if("__proto__"!==o&&!1===n(t[o],o))break}}(u,function(t,n){i(n,e)})},emit:function(t){var e=arguments;(u[t]||[]).forEach(function(t){var n;t.i.apply(t,(t=1,F.slice.call(e,t,n)))})},destroy:function(){u={}}}}var j="dragging",M="destroy";function x(t){var i=t.event,r={},o=[];function n(t,n,i){u(t,n,function(n,e){o=o.filter(function(t){return!!(t[0]!==n||t[1]!==e||i&&t[2]!==i)||(n.removeEventListener(e,t[2],t[3]),!1)})})}function u(t,n,e){var i;i=function(t){t&&n.split(" ").forEach(e.bind(null,t))},P(t).forEach(i)}function e(){o=o.filter(function(t){return n(t[0],t[1])}),i.offBy(r)}return i.on(M,e,r),{on:function(t,n,e){i.on(t,n,r,e)},off:function(t){i.off(t,r)},emit:i.emit,bind:function(t,n,e,i){u(t,n,function(t,n){o.push([t,n,e,i]),t.addEventListener(n,e,i)})},unbind:n,destroy:e}}function I(t){var e=t;return{set:function(t){e=t},is:function(t){return n=P(t),t=e,-1<n.indexOf(t);var n}}}var R="splide__video",A={hideControls:!1,loop:!1,mute:!1,volume:.2},S="video:click",t=function(){function t(t,n,e){this.state=I(1),this.event=C(),this.target=t,this.videoId=n,this.options=e||{},this.onPlay=this.onPlay.bind(this),this.onPause=this.onPause.bind(this),this.onEnded=this.onEnded.bind(this),this.onPlayerReady=this.onPlayerReady.bind(this),this.onError=this.onError.bind(this)}var n=t.prototype;return n.on=function(t,n){this.event.on(t,n)},n.play=function(){var t=this.state;if(!t.is(9))return this.event.emit("play"),t.is(2)?t.set(4):t.is(3)?(this.player=this.createPlayer(this.videoId),t.set(4)):void(t.is([4,8])||t.is(5)&&(t.set(6),this.playVideo()));console.error("["+k+"] Can not play this video.")},n.pause=function(){var t=this.state;if(!t.is(9))return this.event.emit("pause"),t.is(4)?t.set(2):t.is(6)?t.set(7):void(t.is(8)&&(this.pauseVideo(),this.state.set(5)))},n.destroy=function(){this.event.destroy()}
vendor: 6,859 bytes, line 8
8,n.onPlayerReady=function(){var t=this.state,n=t.is(4);t.set(5),n&&this.play()},n.onPlay=function(){var t=this.state,n=t.is(7);t.set(8),n?this.pause():this.event.emit("played")},n.onPause=function(){this.state.set(5),this.event.emit("paused")},n.onEnded=function(){this.state.set(5),this.event.emit("ended")},n.onError=function(){this.state.set(9)},t}(),n=function(i){function t(t,n,e){return(e=i.call(this,t,n,e=void 0===e?{}:e)||this).state.set(3),e}Pt(t,i);var n=t.prototype;return n.createPlayer=function(t){var n=this.options,e=this.options.playerOptions,i=void 0===e?{}:e,e=m("video",{src:t},this.target),t=e.addEventListener.bind(e);return y(e,{controls:!n.hideControls,loop:n.loop,volume:T(n.volume,0,1),muted:n.mute},i.htmlVideo||{}),t("play",this.onPlay),t("pause",this.onPause),t("ended",this.onEnded),t("loadeddata",this.onPlayerReady),t("error",this.onError),e},n.playVideo=function(){var t=this;this.player.play().catch(function(){t.state.is(7)&&t.state.set(5)})},n.pauseVideo=function(){this.player.pause()},n.destroy=function(){i.prototype.destroy.call(this);var t=this.player,t=t.addEventListener.bind(t);t("play",this.onPlay),t("pause",this.onPause),t("ended",this.onEnded),t("loadeddata",this.onPlayerReady)},t}(t);function O(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var q="undefined"!=typeof global&&"[object global]"==={}.toString.call(global);function N(t,n){return 0===t.indexOf(n.toLowerCase())?t:"".concat(n.toLowerCase()).concat(t.substr(0,1).toUpperCase()).concat(t.substr(1))}function V(t){return/^(https?:)?\/\/((player|www)\.)?vimeo\.com(?=$|\/)/.test(t)}function z(t){var n=0<arguments.length&&void 0!==t?t:{},e=n.id,t=n.url,n=e||t;if(!n)throw new Error("An id or url must be passed, either in an options object or as a data-vimeo-id or data-vimeo-url attribute.");if(t=n,!isNaN(parseFloat(t))&&isFinite(t)&&Math.floor(t)==t)return"https://vimeo.com/".concat(n);if(V(n))return n.replace("http:","https:");if(e)throw new TypeError("“".concat(e,"” is not a valid video id."));throw new TypeError("“".concat(n,"” is not a vimeo.com url."))}var W=void 0!==Array.prototype.indexOf,Y="undefined"!=typeof window&&void 0!==window.postMessage;if(!(q||W&&Y))throw new Error("Sorry, the Vimeo Player API is not available in this browser.");var L,B,Q,U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:{};function D(){if(void 0===this)throw new TypeError("Constructor WeakMap requires 'new'");if(Q(this,"_id","_WeakMap_"+J()+"."+J()),0<arguments.length)throw new TypeError("WeakMap iterable is not supported")}function H(t,n){if(!X(t)||!L.call(t,"_id"))throw new TypeError(n+" method called on incompatible receiver "+typeof t)}function J(){return Math.random().toString().substring(2)}function X(t){return Object(t)===t}(Y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:U).WeakMap||(L=Object.prototype.hasOwnProperty,B=Object.defineProperty&&function(){try{return 1===Object.defineProperty({},"x",{value:1}).x}catch(t){}}(),Y.WeakMap=((Q=function(t,n,e){B?Object.defineProperty(t,n,{configurable:!0,writable:!0,value:e}):t[n]=e})(D.prototype,"delete",function(t){if(H(this,"delete"),!X(t))return!1;var n=t[this.o];return!(!n||n[0]!==t)&&(delete t[this.o],!0)}),Q(D.prototype,"get",function(t){if(H(this,"get"),X(t)){var n=t[this.o];return n&&n[0]===t?n[1]:void 0}}),Q(D.prototype,"has",function(t){if(H(this,"has"),!X(t))return!1;var n=t[this.o];return!(!n||n[0]!==t)}),Q(D.prototype,"set",function(t,n){if(H(this,"set"),!X(t))throw new TypeError("Invalid value used as weak map key");var e=t[this.o];return e&&e[0]===t?e[1]=n:Q(t,this.o,[t,n]),this}),Q(D,"_polyfill",!0),D));var $=(function(t){var n,e,i;i=function(){var n,e,i,r,o,t=Object.prototype.toString,u="undefined"!=typeof setImmediate?function(t){return setImmediate(t)}:setTimeout;try{Object.defineProperty({},"x",{}),n=function(t,n,e,i){return Object.defineProperty(t,n,{value:e,writable:!0,configurable:!1!==i})}}catch(t){n=function(t,n,e){return t[n]=e,t}}function s(t,n){this.fn=t,this.self=n,this.next=void 0}function c(t,n){w.add(t,n),e=e||u(w.drain)}function a(t){var n,e=typeof t;return"function"==typeof(n=null!=t&&("object"==e||"function"==e)?t.then:n)&&n}function f(){for(var t=0;t<this.chain.length;t++)!function(t,n,e){var i,r;try{!1===n?e.reject(t.msg):(i=!0===n?t.msg:n.call(void 0,t.msg))===e.promise?e.reject(TypeError("Promise-chain cycle")):(r=a(i))?r.call(i,e.resolve,e.reject):e.resolve(i)}catch(t){e.reject(t)}}(this,1===this.state?this.chain[t].success:this.chain[t].failure,this.chain[t]);this.chain.length=0}function h(t){var e,i=this;if(!i.triggered){i.triggered=!0,i.def&&(i=i.def);try{(e=a(t))?c(function(){var n=new v(i);try{e.call(t,function(){h.apply(n,arguments)},function(){l.apply(n,arguments)})}catch(t){l.call(n,t)}}):(i.msg=t,i.state=1,0<i.chain.length&&c(f,i))}catch(t){l.call(new v(i),t)}}}function l(t){var n=this;n.triggered||(n.triggered=!0,(n=n.def?n.def:n).msg=t,n.state=2,0<n.chain.length&&c(f,n))}function d(t,e,i,r){for(var n=0;n<e.length;n++)!function(n){t.resolve(e[n]).then(function(t){i(n,t)},r)}(n)}function v(t){this.def=t,this.triggered=!1}function y(t){this.promise=t,this.state=0,this.triggered=!1,this.chain=[],this.msg=void 0}function p(t){if("function"!=typeof t)throw TypeError("Not a function");if(0!==this.u)throw TypeError("Not a promise");this.u=1;var i=new y(this);this.then=function(t,n){var e={success:"function"!=typeof t||t,failure:"function"==typeof n&&n};return e.promise=new this.constructor(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");e.resolve=t,e.reject=n}),i.chain.push(e),0!==i.state&&c(f,i),e.promise},this.catch=function(t){return this.then(void 0,t)};try{t.call(void 0,function(t){h.call(i,t)},function(t){l.call(i,t)})}catch(t){l.call(i,t)}}var w={add:function(t,n){o=new s(t,n),r?r.next=o:i=o,r=o,o=void 0},drain:function(){var t=i;for(i=r=e=void 0;t;)t.fn.call(t.self),t=t.next}},m=n({},"constructor",p,!1);return n(p.prototype=m,"__NPO__",0,!1),n(p,"resolve",function(e){return e&&"object"==typeof e&&1===e.u?e:new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");t(e)})}),n(p,"reject",function(e){return new this(function(t,n){if("function"!=typeof t||"function"!=typeof n)throw TypeError("Not a function");n(e)})}),n(p,"all",function(n){var u=this;return"[object Array]"!=t.call(n)?u.reject(TypeError("Not an array")):0===n.length?u.resolve([]):new u(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");var i=n.length,r=Array(i),o=0;d(u,n,function(t,n){r[t]=n,++o===i&&e(r)},t)}
8)}),n(p,"race",function(n){var i=this;return"[object Array]"!=t.call(n)?i.reject(TypeError("Not an array")):new i(function(e,t){if("function"!=typeof e||"function"!=typeof t)throw TypeError("Not a function");d(i,n,function(t,n){e(n)},t)})}),p},(e=U)[n="Promise"]=e[n]||i(),t.exports&&(t.exports=e[n])}(Y={exports:{}}),Y.exports),G=new WeakMap;function K(t,n,e){var i=G.get(t.element)||{};n in i||(i[n]=[]),i[n].push(e),G.set(t.element,i)}function Z(t,n){return(G.get(t.element)||{})[n]||[]}function tt(t,n,e){var i=G.get(t.element)||{};if(!i[n])return!0;if(!e)return i[n]=[],G.set(t.element,i),!0;e=i[n].indexOf(e);return-1!==e&&i[n].splice(e,1),G.set(t.element,i),i[n]&&0===i[n].length}var nt=["autopause","autoplay","background","byline","color","controls","dnt","height","id","keyboard","loop","maxheight","maxwidth","muted","playsinline","portrait","responsive","speed","texttrack","title","transparent","url","width"];function et(i,t){return nt.reduce(function(t,n){var e=i.getAttribute("data-vimeo-".concat(n));return!e&&""!==e||(t[n]=""===e?1:e),t},1<arguments.length&&void 0!==t?t:{})}function it(t,n){var e=t.html;if(!n)throw new TypeError("An element must be provided");if(null!==n.getAttribute("data-vimeo-initialized"))return n.querySelector("iframe");t=document.createElement("div");return t.innerHTML=e,n.appendChild(t.firstChild),n.setAttribute("data-vimeo-initialized","true"),n.querySelector("iframe")}function rt(o,t,n){var u=1<arguments.length&&void 0!==t?t:{},s=2<arguments.length?n:void 0;return new Promise(function(n,e){if(!V(o))throw new TypeError("“".concat(o,"” is not a vimeo.com url."));var t,i="https://vimeo.com/api/oembed.json?url=".concat(encodeURIComponent(o));for(t in u)u.hasOwnProperty(t)&&(i+="&".concat(t,"=").concat(encodeURIComponent(u[t])));var r=new("XDomainRequest"in window?XDomainRequest:XMLHttpRequest);r.open("GET",i,!0),r.onload=function(){if(404!==r.status)if(403!==r.status)try{var t=JSON.parse(r.responseText);if(403===t.domain_status_code)return it(t,s),void e(new Error("“".concat(o,"” is not embeddable.")));n(t)}catch(t){e(t)}else e(new Error("“".concat(o,"” is not embeddable.")));else e(new Error("“".concat(o,"” was not found.")))},r.onerror=function(){var t=r.status?" (".concat(r.status,")"):"";e(new Error("There was an error fetching the embed code from Vimeo".concat(t,".")))},r.send()})}function ot(t){function e(t){"console"in window&&console.error&&console.error("There was an error creating an embed: ".concat(t))}t=0<arguments.length&&void 0!==t?t:document,t=[].slice.call(t.querySelectorAll("[data-vimeo-id], [data-vimeo-url]"));t.forEach(function(n){try{if(null!==n.getAttribute("data-vimeo-defer"))return;var t=et(n);rt(z(t),t,n).then(function(t){return it(t,n)}).catch(e)}catch(t){e(t)}})}function ut(t){if("string"==typeof t)try{t=JSON.parse(t)}catch(t){return console.warn(t),{}}return t}function st(t,n,e){t.element.contentWindow&&t.element.contentWindow.postMessage&&(n={method:n},void 0!==e&&(n.value=e),8<=(e=parseFloat(navigator.userAgent.toLowerCase().replace(/^.*msie (\d+).*$/,"$1")))&&e<10&&(n=JSON.stringify(n)),t.element.contentWindow.postMessage(n,t.origin))}function ct(e,i){var n,t,r,o,u=[];(i=ut(i)).event?("error"===i.event&&Z(e,i.data.method).forEach(function(t){var n=new Error(i.data.message);n.name=i.data.name,t.reject(n),tt(e,i.data.method,t)}),u=Z(e,"event:".concat(i.event)),n=i.data):i.method&&(t=e,r=i.method,(o=!((o=Z(t,r)).length<1)&&(o=o.shift(),tt(t,r,o),o))&&(u.push(o),n=i.value)),u.forEach(function(t){try{if("function"==typeof t)return void t.call(e,n);t.resolve(n)}catch(t){}})}var at,ft,ht,lt=new WeakMap,dt=new WeakMap,vt={},Y=function(){function r(o){var t,u=this,n=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};if(!function(t,n){if(!(t instanceof n))throw new TypeError("Cannot call a class as a function")}(this,r),window.jQuery&&o instanceof jQuery&&(1<o.length&&window.console&&console.warn&&console.warn("A jQuery object with multiple elements was passed, using the first element."),o=o[0]),"undefined"!=typeof document&&"string"==typeof o&&(o=document.getElementById(o)),t=o,!Boolean(t&&1===t.nodeType&&"nodeName"in t&&t.ownerDocument&&t.ownerDocument.defaultView))throw new TypeError("You must pass either a valid element or a valid id.");
vendor: 15,641 bytes, line 8
8if("IFRAME"===o.nodeName||(i=o.querySelector("iframe"))&&(o=i),"IFRAME"===o.nodeName&&!V(o.getAttribute("src")||""))throw new Error("The player element passed isn’t a Vimeo embed.");if(lt.has(o))return lt.get(o);this.s=o.ownerDocument.defaultView,this.element=o,this.origin="*";var e,i=new $(function(i,r){var t;u.c=function(t){if(V(t.origin)&&u.element.contentWindow===t.source){"*"===u.origin&&(u.origin=t.origin);var n=ut(t.data);if(n&&"error"===n.event&&n.data&&"ready"===n.data.method){var e=new Error(n.data.message);return e.name=n.data.name,void r(e)}t=n&&"ready"===n.event,e=n&&"ping"===n.method;if(t||e)return u.element.setAttribute("data-ready","true"),void i();ct(u,n)}},u.s.addEventListener("message",u.c),"IFRAME"!==u.element.nodeName&&rt(z(t=et(o,n)),t,o).then(function(t){var n,e,i=it(t,o);return u.element=i,u.a=o,n=o,e=i,i=G.get(n),G.set(e,i),G.delete(n),lt.set(u.element,u),t}).catch(r)});return dt.set(this,i),lt.set(this.element,this),"IFRAME"===this.element.nodeName&&st(this,"ping"),vt.isEnabled&&(e=function(){return vt.exit()},this.fullscreenchangeHandler=function(){(vt.isFullscreen?K:tt)(u,"event:exitFullscreen",e),u.ready().then(function(){st(u,"fullscreenchange",vt.isFullscreen)})},vt.on("fullscreenchange",this.fullscreenchangeHandler)),this}var t,n,e;return t=r,(n=[{key:"callMethod",value:function(e){var i=this,r=1<arguments.length&&void 0!==arguments[1]?arguments[1]:{};return new $(function(t,n){return i.ready().then(function(){K(i,e,{resolve:t,reject:n}),st(i,e,r)}).catch(n)})}},{key:"get",value:function(e){var i=this;return new $(function(t,n){return e=N(e,"get"),i.ready().then(function(){K(i,e,{resolve:t,reject:n}),st(i,e)}).catch(n)})}},{key:"set",value:function(e,i){var r=this;return new $(function(t,n){if(e=N(e,"set"),null==i)throw new TypeError("There must be a value to set.");return r.ready().then(function(){K(r,e,{resolve:t,reject:n}),st(r,e,i)}).catch(n)})}},{key:"on",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(!n)throw new TypeError("You must pass a callback function.");if("function"!=typeof n)throw new TypeError("The callback must be a function.");0===Z(this,"event:".concat(t)).length&&this.callMethod("addEventListener",t).catch(function(){}),K(this,"event:".concat(t),n)}},{key:"off",value:function(t,n){if(!t)throw new TypeError("You must pass an event name.");if(n&&"function"!=typeof n)throw new TypeError("The callback must be a function.");tt(this,"event:".concat(t),n)&&this.callMethod("removeEventListener",t).catch(function(t){})}},{key:"loadVideo",value:function(t){return this.callMethod("loadVideo",t)}},{key:"ready",value:function(){var t=dt.get(this)||new $(function(t,n){n(new Error("Unknown player. Probably unloaded."))});return $.resolve(t)}},{key:"addCuePoint",value:function(t){return this.callMethod("addCuePoint",{time:t,data:1<arguments.length&&void 0!==arguments[1]?arguments[1]:{}})}},{key:"removeCuePoint",value:function(t){return this.callMethod("removeCuePoint",t)}},{key:"enableTextTrack",value:function(t,n){if(!t)throw new TypeError("You must pass a language.");return this.callMethod("enableTextTrack",{language:t,kind:n})}},{key:"disableTextTrack",value:function(){return this.callMethod("disableTextTrack")}},{key:"pause",value:function(){return this.callMethod("pause")}},{key:"play",value:function(){return this.callMethod("play")}},{key:"requestFullscreen",value:function(){return vt.isEnabled?vt.request(this.element):this.callMethod("requestFullscreen")}},{key:"exitFullscreen",value:function(){return vt.isEnabled?vt.exit():this.callMethod("exitFullscreen")}},{key:"getFullscreen",value:function(){return vt.isEnabled?$.resolve(vt.isFullscreen):this.get("fullscreen")}},{key:"requestPictureInPicture",value:function(){return this.callMethod("requestPictureInPicture")}},{key:"exitPictureInPicture",value:function(){return this.callMethod("exitPictureInPicture")}},{key:"getPictureInPicture",value:function(){return this.get("pictureInPicture")}},{key:"unload",value:function(){return this.callMethod("unload")}},{key:"destroy",value:function(){var e=this;return new $(function(t){var n;dt.delete(e),lt.delete(e.element),e.a&&(lt.delete(e.a),e.a.removeAttribute("data-vimeo-initialized")),e.element&&"IFRAME"===e.element.nodeName&&e.element.parentNode&&(e.element.parentNode.parentNode&&e.a&&e.a!==e.element.parentNode?e.element.parentNode.parentNode.removeChild(e.element.parentNode):e.element.parentNode.removeChild(e.element)),e.element&&"DIV"===e.element.nodeName&&e.element.parentNode&&(e.element.removeAttribute("data-vimeo-initialized"),(n=e.element.querySelector("iframe"))&&n.parentNode&&(n.parentNode.parentNode&&e.a&&e.a!==n.parentNode?n.parentNode.parentNode.removeChild(n.parentNode):n.parentNode.removeChild(n))),e.s.removeEventListener("message",e.c),vt.isEnabled&&vt.off("fullscreenchange",e.fullscreenchangeHandler),t()})}},{key:"getAutopause",value:function(){return this.get("autopause")}},{key:"setAutopause",value:function(t){return this.set("autopause",t)}},{key:"getBuffered",value:function(){return this.get("buffered")}},{key:"getCameraProps",value:function(){return this.get("cameraProps")}},{key:"setCameraProps",value:function(t){return this.set("cameraProps",t)}},{key:"getChapters",value:function(){return this.get("chapters")}},{key:"getCurrentChapter",value:function(){return this.get("currentChapter")}},{key:"getColor",value:function(){return this.get("color")}},{key:"setColor",value:function(t){return this.set("color",t)}},{key:"getCuePoints",value:function(){return this.get("cuePoints")}},{key:"getCurrentTime",value:function(){return this.get("currentTime")}},{key:"setCurrentTime",value:function(t){return this.set("currentTime",t)}},{key:"getDuration",value:function(){return this.get("duration")}},{key:"getEnded",value:function(){return this.get("ended")}},{key:"getLoop",value:function(){return this.get("loop")}},{key:"setLoop",value:function(t){return this.set("loop",t)}},{key:"setMuted",value:function(t){return this.set("muted",t)}},{key:"getMuted",value:function(){return this.get("muted")}},{key:"getPaused",value:function(){return this.get("paused")}},{key:"getPlaybackRate",value:function(){return this.get("playbackRate")}},{key:"setPlaybackRate",value:function(t){return this.set("playbackRate",t)}},{key:"getPlayed",value:function(){return this.get("played")}},{key:"getQualities",value:function(){return this.get("qualities")}},{key:"getQuality",value:function(){return this.get("quality")}},{key:"setQuality",value:function(t){return this.set("quality",t)}},{key:"getSeekable",value:function(){return this.get("seekable")}},{key:"getSeeking",value:function(){return this.get("seeking")}},{key:"getTextTracks",value:function(){return this.get("textTracks")}},{key:"getVideoEmbedCode",value:function(){return this.get("videoEmbedCode")}},{key:"getVideoId",value:function(){return this.get("videoId")}},{key:"getVideoTitle",value:function(){return this.get("videoTitle")}},{key:"getVideoWidth",value:function(){return this.get("videoWidth")}},{key:"getVideoHeight",value:function(){return this.get("videoHeight")}},{key:"getVideoUrl",value:function(){return this.get("videoUrl")}},{key:"getVolume",value:function(){return this.get("volume")}},{key:"setVolume",value:function(t){return this.set("volume",t)}}])&&O(t.prototype,n),e&&O(t,e),r}();q||(at=function(){for(var t,n=[["requestFullscreen","exitFullscreen","fullscreenElement","fullscreenEnabled","fullscreenchange","fullscreenerror"],["webkitRequestFullscreen","webkitExitFullscreen","webkitFullscreenElement","webkitFullscreenEnabled","webkitfullscreenchange","webkitfullscreenerror"],["webkitRequestFullScreen","webkitCancelFullScreen","webkitCurrentFullScreenElement","webkitCancelFullScreen","webkitfullscreenchange","webkitfullscreenerror"],["mozRequestFullScreen","mozCancelFullScreen","mozFullScreenElement","mozFullScreenEnabled","mozfullscreenchange","mozfullscreenerror"],["msRequestFullscreen","msExitFullscreen","msFullscreenElement","msFullscreenEnabled","MSFullscreenChange","MSFullscreenError"]],e=0,i=n.length,r={};e<i;e++)if((t=n[e])&&t[1]in document){for(e=0;e<t.length;e++)r[n[0][e]]=t[e];return r}return!1}(),ft={fullscreenchange:at.fullscreenchange,fullscreenerror:at.fullscreenerror},ht={request:function(r){return new Promise(function(t,n){function e(){ht.off("fullscreenchange",e),t()}ht.on("fullscreenchange",e);var i=(r=r||document.documentElement)[at.requestFullscreen]();i instanceof Promise&&i.then(e).catch(n)})},exit:function(){return new Promise(function(n,t){var e,i;ht.isFullscreen?(ht.on("fullscreenchange",e=function t(){ht.off("fullscreenchange",t),n()}),(i=document[at.exitFullscreen]())instanceof Promise&&i.then(e).catch(t)):n()})},on:function(t,n){t=ft[t];t&&document.addEventListener(t,n)},off:function(t,n){t=ft[t];t&&document.removeEventListener(t,n)}},Object.defineProperties(ht,{isFullscreen:{get:function(){return Boolean(document[at.fullscreenElement])}},element:{enumerable:!0,get:function(){return document[at.fullscreenElement]}},isEnabled:{enumerable:!0,get:function(){return Boolean(document[at.fullscreenEnabled])}}}),vt=ht,ot(),function(t){var i=0<arguments.length&&void 0!==t?t:document;window.VimeoPlayerResizeEmbeds_||(window.VimeoPlayerResizeEmbeds_=!0,window.addEventListener("message",function(t){if(V(t.origin)&&t.data&&"spacechange"===t.data.event)for(var n=i.querySelectorAll("iframe"),e=0;e<n.length;e++)if(n[e].contentWindow===t.source){n[e].parentElement.style.paddingBottom="".concat(t.data.data[0].bottom,"px");break}}))}());var yt=Y,Y=function(i){function t(t,n,e){return(e=i.call(this,t,n,e=void 0===e?{}:e)||this).state.set(3),e}Pt(t,i);var n=t.prototype;return n.createPlayer=function(t){var n=this.options,e=this.options.playerOptions,e=void 0===e?{}:e,t=0===t.indexOf("http")?{url:t}:{id:+t},e=new yt(this.target,y(t,{controls:!n.hideControls,loop:n.loop,muted:n.mute},e.vimeo||{}));return e.on("play",this.onPlay),e.on("pause",this.onPause),e.on("ended",this.onEnded),e.ready().then(this.onPlayerReady,this.onError),e.getMuted()||e.setVolume(T(n.volume,0,1)),e},n.playVideo=function(){var t=this;this.player.play().catch(function(){t.state.is(7)&&t.state.set(5)})},n.pauseVideo=function(){this.player.pause()},t}(t),pt="//www.youtube.com/player_api",wt=function(){function t(){}var n=t.prototype;return n.load=function(t){if(window.YT&&"function"==typeof window.YT.Player)return t();this.attachCallback(t),this.shouldLoad()&&m("script",{src:location.protocol+pt},document.head)},n.shouldLoad=function(){return t=document,n="script",!f(t.querySelectorAll(n)).some(function(t){return t.src.replace(/^https?:/,"")===pt});var t,n},n.attachCallback=function(t){var n;u(window.onYouTubeIframeAPIReady)||(n=window.onYouTubeIframeAPIReady),window.onYouTubeIframeAPIReady=function(){n&&n(),t()}},t}(),t=function(i){function t(t,n,e){return(e=i.call(this,t,n,e=void 0===e?{}:e)||this).videoId=e.parseVideoId(n),e.videoId&&(e.state.set(2),(new wt).load(e.onAPIReady.bind(function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(e)))),e}Pt(t,i);var n=t.prototype;return n.onAPIReady=function(){var t=this.state,n=t.is(4);t.set(3),n&&this.play()},n.createPlayer=function(t){var n=this.options,e=this.options.playerOptions;return new YT.Player(this.target,{videoId:t,playerVars:y({controls:n.hideControls?0:1,iv_load_policy:3,loop:n.loop?1:0,playlist:n.loop?t:void 0,rel:0,autoplay:0,mute:n.mute?1:0},(void 0===e?{}:e).youtube||{}),events:{onReady:this.onPlayerReady.bind(this),onStateChange:this.onPlayerStateChange.bind(this),onError:this.onError.bind(this)}})},n.onPlayerReady=function(){i.prototype.onPlayerReady.call(this),this.player.setVolume(100*T(this.options.volume,0,1))},n.onPlayerStateChange=function(t){var n=YT.PlayerState,e=n.PLAYING,i=n.PAUSED,n=n.ENDED;switch(!0){case t.data===e:this.onPlay();break;case t.data===i:this.onPause();break;case t.data===n:this.onEnded()}},n.playVideo=function(){this.player.playVideo()},n.pauseVideo=function(){this.player.pauseVideo()},n.parseVideoId=function(t){return 0===t.indexOf("http")?this.parseUrl(t):t},n.parseUrl=function(t){var n=t.split(/[#?]/)[1],n=(t=n.split("&"),n=function(t){return 0===t.indexOf("v=")},f(t).filter(n)[0]);return n&&n.replace("v=","")},t}(t),mt=k+"__slide",bt=mt+"__container",kt="Play Video",gt=function(){function t(t,n){this.event=C(),this.Splide=t,this.slide=n,this.init(),this.create(),this.show(),this.listen()}var n=t.prototype;return n.init=function(){var t=d(this.slide,"."+bt);this.parent=t||this.slide,this.modifier=(t?bt:mt)+"--has-video",h(this.parent,this.modifier)},n.create=function(){this.video=m("div",R,this.parent),this.wrapper=m("div","splide__video__wrapper",this.video),this.placeholder=m("div",null,this.wrapper),this.playButton=m("button",{class:"splide__video__play",type:"button","aria-label":this.Splide.options.i18n.playVideo||kt},this.video)},n.listen=function(){var t=this;this.parent.addEventListener("click",function(){t.event.emit("click")})},n.toggleButton=function(t){b(this.playButton,t?"":"none")},n.toggleWrapper=function(t){b(this.wrapper,t?"":"none")},n.getPlaceholder=function(){return this.placeholder},n.hide=function(){this.toggleButton(!1),this.toggleWrapper(!0)},n.show=function(){this.disabled||this.toggleButton(!0),this.toggleWrapper(!1)},n.disable=function(t){(this.disabled=t)&&this.toggleButton(!1)},n.on=function(t,n){this.event.on(t,n)},n.destroy=function(){var t,n;t=this.parent,n=this.modifier,e(t,n,!1),c(this.video,function(t){t&&t.parentNode&&t.parentNode.removeChild(t)}),this.event.destroy()},t}(),Et=[["data-splide-youtube",t],["data-splide-vimeo",Y],["data-splide-html-video",n]],Tt=function(){function t(t,n){this.Splide=t,this.slide=n,this.event=x(t),this.options=p(p({},A),this.Splide.options.video),this.createPlayer(n),this.player&&this.listen()}var n=t.prototype;return n.createPlayer=function(e){var i=this;Et.forEach(function(t){var n=t[0],t=t[1],n=e.getAttribute(n);n&&(i.ui=new gt(i.Splide,e),i.player=new t(i.ui.getPlaceholder(),n,i.options),i.ui.disable(i.options.disableOverlayUI))})},n.listen=function(){var t=this,n=this.player,e=this.event;this.ui.on("click",this.onClick.bind(this)),n.on("play",this.onPlay.bind(this)),n.on("played",this.onPlayed.bind(this)),n.on("pause",this.onPause.bind(this)),n.on("paused",this.onPaused.bind(this)),n.on("ended",this.onEnded.bind(this)),e.on(["move","scroll"],this.pause.bind(this)),e.on(S,this.onVideoClick.bind(this)),e.on("drag",function(){e.off(j),e.on(j,function(){t.pause(),e.off(j)})}),this.options.autoplay&&e.on(["mounted","moved","scrolled"],this.onAutoplayRequested.bind(this))},n.onClick=function(){this.play(),this.event.emit(S,this)},n.onVideoClick=function(t){this!==t&&this.pause()},n.onPlay=function(){this.ui.hide()},n.onPlayed=function(){this.ui.hide(),this.togglePlaying(!0),this.event.emit("video:play",this)},n.onPause=function(){this.ui.show()},n.onPaused=function(){this.togglePlaying(!1),this.event.emit("video:pause",this)},n.onEnded=function(){this.togglePlaying(!1),this.event.emit("video:ended",this)},n.onAutoplayRequested=function(){this.Splide.Components.Slides.getAt(this.Splide.index).slide===this.slide&&this.play()},n.togglePlaying=function(t){e(this.Splide.root,"is-playing",t)},n.play=function(){this.player&&!this.disabled&&this.player.play()},n.pause=function(){this.player&&!this.disabled&&this.player.pause()},n.destroy=function(){this.player&&(this.ui.destroy(),this.player.destroy()),this.disable(!1)},n.disable=function(t){this.disabled=t,e(this.Splide.root,"is-video-disabled",t)},t}();function _t(n,t){var e={};
8return{mount:function(){t.Slides.forEach(function(t){e[t.index]=new Tt(n,t.slide)}),n.refresh()},destroy:function(){v(e,function(t){t.destroy()})},play:function(t){void 0===t&&(t=n.index),(t=e[t])&&t.play()},pause:function(){v(e,function(t){t.pause()})},disable:function(n){v(e,function(t){t.disable(n)})}}}"undefined"!=typeof window&&(window.splide=window.splide||{},window.splide.Extensions=window.splide.Extensions||{},window.splide.Extensions.Video=_t)
9/*!
10   * Splide.js
11   * Version  : 3.6.11
12   * License  : MIT
13   * Copyright: 2022 Naotoshi Fujita
14   */
15/*!
16   * weakmap-polyfill v2.0.4 - ECMAScript6 WeakMap polyfill
17   * https://github.com/polygonplanet/weakmap-polyfill
18   * Copyright (c) 2015-2021 polygonplanet <[email protected]>
19   * @license MIT
20   */
21/*! @vimeo/player v2.16.2 | (c) 2021 Vimeo | MIT License | https://github.com/vimeo/player.js */
22/*! Native Promise Only
23      v0.8.1 (c) Kyle Simpson
24      MIT License: http://getify.mit-license.org
25  */},"function"==typeof define&&define.amd?define(t):t();

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.