1!function(e){function t(t){for(var n,i,o=t[0],s=t[1],a=0,c=[];a<o.length;a++)i=o[a],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&c.push(r[i][0]),r[i]=0;for(n in s)Object.prototype.hasOwnProperty.call(s,n)&&(e[n]=s[n]);for(l&&l(t);c.length;)c.shift()()}var n={},r={0:0};function i(t){if(n[t])return n[t].exports;var r=n[t]={i:t,l:!1,exports:{}};return e[t].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.e=function(e){var t=[],n=r[e];if(0!==n)if(n)t.push(n[2]);else{var o=new Promise((function(t,i){n=r[e]=[t,i]}));t.push(n[2]=o);var s,a=document.createElement("script");a.charset="utf-8",a.timeout=120,i.nc&&a.setAttribute("nonce",i.nc),a.src=function(e){return i.p+""+({1:"vendors~resize-observer-polyfill"}[e]||e)+"."+{1:"fcfa58e00c6cd8590486"}[e]+".chunk.js"}(e);var l=new Error;s=function(t){a.onerror=a.onload=null,clearTimeout(c);var n=r[e];if(0!==n){if(n){var i=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+e+" failed.\n("+i+": "+o+")",l.name="ChunkLoadError",l.type=i,l.request=o,n[1](l)}r[e]=void 0}};var c=setTimeout((function(){s({type:"timeout",target:a})}),12e4);a.onerror=a.onload=s,document.head.appendChild(a)}return Promise.all(t)},i.m=e,i.c=n,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)i.d(n,r,function(t){return e[t]}.bind(null,r));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="",i.oe=function(e){throw console.error(e),e};var o=window.webpackJsonp=window.webpackJsonp||[],s=o.push.bind(o);o.push=t,o=o.slice();for(var a=0;a<o.length;a++)t(o[a]);var l=s;i(i.s=17)}([function(e,t,n){var r=n(11)();e.exports=r;try{regeneratorRuntime=r}catch(i){"object"===typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t){function n(e,t,n,r,i,o,s){try{var a=e[o](s),l=a.value}catch(c){return void n(c)}a.done?t(l):Promise.resolve(l).then(r,i)}
1e.exports=function(e){return function(){var t=this,r=arguments;return new Promise((function(i,o){var s=e.apply(t,r);function a(e){n(s,i,o,a,l,"next",e)}function l(e){n(s,i,o,a,l,"throw",e)}a(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(8),i=n(9),o=n(6),s=n(10);e.exports=function(e){return r(e)||i(e)||o(e)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){function n(t){return e.exports=n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,n(t)}e.exports=n,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(12),i=n(13),o=n(6),s=n(14);e.exports=function(e,t){return r(e)||i(e,t)||o(e,t)||s()},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(5);e.exports=function(e,t){if(e){if("string"===typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?r(e,t):void 0}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(15);e.exports=function(e,t,n){return(t=r(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(5);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if("undefined"!==typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=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.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(3).default;function i(){"use strict";e.exports=i=function(){return t},e.exports.__esModule=!0,e.exports.default=e.exports;var t={},n=Object.prototype,o=n.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",d=a.toStringTag||"@@toStringTag";function u(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{u({},"")}catch(I){u=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var i=t&&t.prototype instanceof v?t:v,o=Object.create(i.prototype),a=new L(r||[]);return s(o,"_invoke",{value:T(e,n,a)}),o}function f(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(I){return{type:"throw",arg:I}}}t.wrap=p;var h={};function v(){}function m(){}function g(){}var y={};u(y,l,(function(){return this}));var w=Object.getPrototypeOf,b=w&&w(w(M([])));b&&b!==n&&o.call(b,l)&&(y=b);var S=g.prototype=v.prototype=Object.create(y);function x(e){["next","throw","return"].forEach((function(t){u(e,t,(function(e){return this._invoke(t,e)}))}))}function E(e,t){function n(i,s,a,l){var c=f(e[i],e,s);if("throw"!==c.type){var d=c.arg,u=d.value;return u&&"object"==r(u)&&o.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,a,l)}),(function(e){n("throw",e,a,l)})):t.resolve(u).then((function(e){d.value=e,a(d)}),(function(e){return n("throw",e,a,l)}))}l(c.arg)}var i;s(this,"_invoke",{value:function(e,r){function o(){return new t((function(t,i){n(e,r,t,i)}))}return i=i?i.then(o,o):o()}})}function T(e,t,n){var r="suspendedStart";return function(i,o){if("executing"===r)throw new Error("Generator is already running");if("completed"===r){if("throw"===i)throw o;return P()}for(n.method=i,n.arg=o;;){var s=n.delegate;if(s){var a=C(s,n);if(a){if(a===h)continue;return a}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===r)throw r="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r="executing";var l=f(e,t,n);if("normal"===l.type){if(r=n.done?"completed":"suspendedYield",l.arg===h)continue;return{value:l.arg,done:n.done}}"throw"===l.type&&(r="completed",n.method="throw",n.arg=l.arg)}}}function C(e,t){var n=t.method,r=e.iterator[n];if(void 0===r)return t.delegate=null,"throw"===n&&e.iterator.return&&
vendor: 4,808 bytes, line 1
1(t.method="return",t.arg=void 0,C(e,t),"throw"===t.method)||"return"!==n&&(t.method="throw",t.arg=new TypeError("The iterator does not provide a '"+n+"' method")),h;var i=f(r,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,h;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=void 0),t.delegate=null,h):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,h)}function A(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function k(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function L(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(A,this),this.reset(!0)}function M(e){if(e){var t=e[l];if(t)return t.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(o.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=void 0,t.done=!0,t};return r.next=r}}return{next:P}}function P(){return{value:void 0,done:!0}}return m.prototype=g,s(S,"constructor",{value:g,configurable:!0}),s(g,"constructor",{value:m,configurable:!0}),m.displayName=u(g,d,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===m||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,g):(e.__proto__=g,u(e,d,"GeneratorFunction")),e.prototype=Object.create(S),e},t.awrap=function(e){return{__await:e}},x(E.prototype),u(E.prototype,c,(function(){return this})),t.AsyncIterator=E,t.async=function(e,n,r,i,o){void 0===o&&(o=Promise);var s=new E(p(e,n,r,i),o);return t.isGeneratorFunction(n)?s:s.next().then((function(e){return e.done?e.value:s.next()}))},x(S),u(S,d,"Generator"),u(S,l,(function(){return this})),u(S,"toString",(function(){return"[object Generator]"})),t.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},t.values=M,L.prototype={constructor:L,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(k),!e)for(var t in this)"t"===t.charAt(0)&&o.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=void 0)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var t=this;function n(n,r){return s.type="throw",s.arg=e,t.next=n,r&&(t.method="next",t.arg=void 0),!!r}for(var r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],s=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var a=o.call(i,"catchLoc"),l=o.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var s=i?i.completion:{};return s.type=e,s.arg=t,i?(this.method="next",this.next=i.finallyLoc,h):this.complete(s)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),h},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),k(n),h}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;k(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:M(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=void 0),h}},t}e.exports=i,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e){if(Array.isArray(e))return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,i,o,s,a=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=o.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(d){c=!0,i=d}
1finally{try{if(!l&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(c)throw i}}return a}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(3).default,i=n(16);e.exports=function(e){var t=i(e,"string");return"symbol"===r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(3).default;e.exports=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var i=n.call(e,t||"default");if("object"!==r(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){"use strict";n.r(t);var r=n(3),i=n.n(r),o=n(2),s=n.n(o),a=n(1),l=n.n(a),c=n(0),d=n.n(c);function u(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function p(e={},t={}){Object.keys(t).forEach((n=>{"undefined"===typeof e[n]?e[n]=t[n]:u(t[n])&&u(e[n])&&Object.keys(t[n]).length>0&&p(e[n],t[n])}))}const f={body:{},addEventListener(){},removeEventListener(){},activeElement:{blur(){},nodeName:""},querySelector:()=>null,querySelectorAll:()=>[],getElementById:()=>null,createEvent:()=>({initEvent(){}}),createElement:()=>({children:[],childNodes:[],style:{},setAttribute(){},getElementsByTagName:()=>[]}),createElementNS:()=>({}),importNode:()=>null,location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""}};function h(){const e="undefined"!==typeof document?document:{};return p(e,f),e}const v={document:f,navigator:{userAgent:""},location:{hash:"",host:"",hostname:"",href:"",origin:"",pathname:"",protocol:"",search:""},history:{replaceState(){},pushState(){},go(){},back(){}},CustomEvent:function(){return this},addEventListener(){},removeEventListener(){},getComputedStyle:()=>({getPropertyValue:()=>""}),Image(){},Date(){},screen:{},setTimeout(){},clearTimeout(){},matchMedia:()=>({}),requestAnimationFrame:e=>"undefined"===typeof setTimeout?(e(),null):setTimeout(e,0),cancelAnimationFrame(e){"undefined"!==typeof setTimeout&&clearTimeout(e)}};function m(){const e="undefined"!==typeof window?window:{};return p(e,v),e}class g extends Array{constructor(e){"number"===typeof e?super(e):(super(...e||[]),function(e){const t=e.__proto__;Object.defineProperty(e,"__proto__",{get:()=>t,set(e){t.__proto__=e}})}(this))}}function y(e=[]){const t=[];return e.forEach((e=>{Array.isArray(e)?t.push(...y(e)):t.push(e)})),t}function w(e,t){return Array.prototype.filter.call(e,t)}function b(e,t){const n=m(),r=h();let i=[];if(!t&&e instanceof g)return e;if(!e)return new g(i);if("string"===typeof e){const n=e.trim();if(n.indexOf("<")>=0&&n.indexOf(">")>=0){let e="div";0===n.indexOf("<li")&&(e="ul"),0===n.indexOf("<tr")&&(e="tbody"),0!==n.indexOf("<td")&&0!==n.indexOf("<th")||(e="tr"),0===n.indexOf("<tbody")&&(e="table"),0===n.indexOf("<option")&&(e="select");const t=r.createElement(e);t.innerHTML=n;for(let n=0;n<t.childNodes.length;n+=1)i.push(t.childNodes[n])}else i=function(e,t){if("string"!==typeof e)return[e];const n=[],r=t.querySelectorAll(e);for(let i=0;i<r.length;i+=1)n.push(r[i]);return n}(e.trim(),t||r)}else if(e.nodeType||e===n||e===r)i.push(e);else if(Array.isArray(e)){if(e instanceof g)return e;i=e}return new g(function(e){const t=[];for(let n=0;n<e.length;n+=1)-1===t.indexOf(e[n])&&t.push(e[n]);return t}(i))}b.fn=g.prototype;const S="resize scroll".split(" ");function x(e){return function(...t){if("undefined"===typeof t[0]){for(let t=0;t<this.length;t+=1)S.indexOf(e)<0&&(e in this[t]?this[t][e]():b(this[t]).trigger(e));return this}return this.on(e,...t)}}x("click"),x("blur"),x("focus"),x("focusin"),x("focusout"),x("keyup"),x("keydown"),x("keypress"),x("submit"),x("change"),x("mousedown"),x("mousemove"),x("mouseup"),x("mouseenter"),x("mouseleave"),x("mouseout"),x("mouseover"),x("touchstart"),x("touchend"),x("touchmove"),x("resize"),x("scroll");const E={addClass:function(...e){const t=y(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.add(...t)})),this},removeClass:function(...e){const t=y(e.map((e=>e.split(" "))));return this.forEach((e=>{e.classList.remove(...t)})),this},hasClass:function(...e){const t=y(e.map((e=>e.split(" "))));return w(this,(e=>t.filter((t=>e.classList.contains(t))).length>0)).length>0},toggleClass:function(...e){const t=y(e.map((e=>e.split(" "))));this.forEach((e=>{t.forEach((t=>{e.classList.toggle(t)}))}
1))},attr:function(e,t){if(1===arguments.length&&"string"===typeof e)return this[0]?this[0].getAttribute(e):void 0;for(let n=0;n<this.length;n+=1)if(2===arguments.length)this[n].setAttribute(e,t);else for(const t in e)this[n][t]=e[t],this[n].setAttribute(t,e[t]);return this},removeAttr:function(e){for(let t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},transform:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transform=e;return this},transition:function(e){for(let t=0;t<this.length;t+=1)this[t].style.transitionDuration="string"!==typeof e?`${e}ms`:e;return this},on:function(...e){let[t,n,r,i]=e;function o(e){const t=e.target;if(!t)return;const i=e.target.dom7EventData||[];if(i.indexOf(e)<0&&i.unshift(e),b(t).is(n))r.apply(t,i);else{const e=b(t).parents();for(let t=0;t<e.length;t+=1)b(e[t]).is(n)&&r.apply(e[t],i)}}function s(e){const t=e&&e.target&&e.target.dom7EventData||[];t.indexOf(e)<0&&t.unshift(e),r.apply(this,t)}"function"===typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const a=t.split(" ");let l;for(let c=0;c<this.length;c+=1){const e=this[c];if(n)for(l=0;l<a.length;l+=1){const t=a[l];e.dom7LiveListeners||(e.dom7LiveListeners={}),e.dom7LiveListeners[t]||(e.dom7LiveListeners[t]=[]),e.dom7LiveListeners[t].push({listener:r,proxyListener:o}),e.addEventListener(t,o,i)}else for(l=0;l<a.length;l+=1){const t=a[l];e.dom7Listeners||(e.dom7Listeners={}),e.dom7Listeners[t]||(e.dom7Listeners[t]=[]),e.dom7Listeners[t].push({listener:r,proxyListener:s}),e.addEventListener(t,s,i)}}return this},off:function(...e){let[t,n,r,i]=e;"function"===typeof e[1]&&([t,r,i]=e,n=void 0),i||(i=!1);const o=t.split(" ");for(let s=0;s<o.length;s+=1){const e=o[s];for(let t=0;t<this.length;t+=1){const o=this[t];let s;if(!n&&o.dom7Listeners?s=o.dom7Listeners[e]:n&&o.dom7LiveListeners&&(s=o.dom7LiveListeners[e]),s&&s.length)for(let t=s.length-1;t>=0;t-=1){const n=s[t];r&&n.listener===r||r&&n.listener&&n.listener.dom7proxy&&n.listener.dom7proxy===r?(o.removeEventListener(e,n.proxyListener,i),s.splice(t,1)):r||(o.removeEventListener(e,n.proxyListener,i),s.splice(t,1))}}}return this},trigger:function(...e){const t=m(),n=e[0].split(" "),r=e[1];for(let i=0;i<n.length;i+=1){const o=n[i];for(let n=0;n<this.length;n+=1){const i=this[n];if(t.CustomEvent){const n=new t.CustomEvent(o,{detail:r,bubbles:!0,cancelable:!0});i.dom7EventData=e.filter(((e,t)=>t>0)),i.dispatchEvent(n),i.dom7EventData=[],delete i.dom7EventData}}}return this},transitionEnd:function(e){const t=this;return e&&t.on("transitionend",(function n(r){r.target===this&&(e.call(this,r),t.off("transitionend",n))})),this},outerWidth:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetWidth+parseFloat(e.getPropertyValue("margin-right"))+parseFloat(e.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(this.length>0){if(e){const e=this.styles();return this[0].offsetHeight+parseFloat(e.getPropertyValue("margin-top"))+parseFloat(e.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},styles:function(){const e=m();return this[0]?e.getComputedStyle(this[0],null):{}},offset:function(){if(this.length>0){const e=m(),t=h(),n=this[0],r=n.getBoundingClientRect(),i=t.body,o=n.clientTop||i.clientTop||0,s=n.clientLeft||i.clientLeft||0,a=n===e?e.scrollY:n.scrollTop,l=n===e?e.scrollX:n.scrollLeft;return{top:r.top+a-o,left:r.left+l-s}}return null},css:function(e,t){const n=m();let r;if(1===arguments.length){if("string"!==typeof e){for(r=0;r<this.length;r+=1)for(const t in e)this[r].style[t]=e[t];return this}if(this[0])return n.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"===typeof e){for(r=0;r<this.length;r+=1)this[r].style[e]=t;return this}return this},each:function(e){return e?(this.forEach(((t,n)=>{e.apply(t,[t,n])})),this):this},html:function(e){if("undefined"===typeof e)return this[0]?this[0].innerHTML:null;for(let t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if("undefined"===typeof e)return this[0]?this[0].textContent.trim():null;for(let t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){const t=m(),n=h(),r=this[0];let i,o;if(!r||"undefined"===typeof e)return!1;if("string"===typeof e){if(r.matches)return r.matches(e);if(r.webkitMatchesSelector)return r.webkitMatchesSelector(e);
1if(r.msMatchesSelector)return r.msMatchesSelector(e);for(i=b(e),o=0;o<i.length;o+=1)if(i[o]===r)return!0;return!1}if(e===n)return r===n;if(e===t)return r===t;if(e.nodeType||e instanceof g){for(i=e.nodeType?[e]:e,o=0;o<i.length;o+=1)if(i[o]===r)return!0;return!1}return!1},index:function(){let e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if("undefined"===typeof e)return this;const t=this.length;if(e>t-1)return b([]);if(e<0){const n=t+e;return b(n<0?[]:[this[n]])}return b([this[e]])},append:function(...e){let t;const n=h();for(let r=0;r<e.length;r+=1){t=e[r];for(let e=0;e<this.length;e+=1)if("string"===typeof t){const r=n.createElement("div");for(r.innerHTML=t;r.firstChild;)this[e].appendChild(r.firstChild)}else if(t instanceof g)for(let n=0;n<t.length;n+=1)this[e].appendChild(t[n]);else this[e].appendChild(t)}return this},prepend:function(e){const t=h();let n,r;for(n=0;n<this.length;n+=1)if("string"===typeof e){const i=t.createElement("div");for(i.innerHTML=e,r=i.childNodes.length-1;r>=0;r-=1)this[n].insertBefore(i.childNodes[r],this[n].childNodes[0])}else if(e instanceof g)for(r=0;r<e.length;r+=1)this[n].insertBefore(e[r],this[n].childNodes[0]);else this[n].insertBefore(e,this[n].childNodes[0]);return this},next:function(e){return this.length>0?e?this[0].nextElementSibling&&b(this[0].nextElementSibling).is(e)?b([this[0].nextElementSibling]):b([]):this[0].nextElementSibling?b([this[0].nextElementSibling]):b([]):b([])},nextAll:function(e){const t=[];let n=this[0];if(!n)return b([]);for(;n.nextElementSibling;){const r=n.nextElementSibling;e?b(r).is(e)&&t.push(r):t.push(r),n=r}return b(t)},prev:function(e){if(this.length>0){const t=this[0];return e?t.previousElementSibling&&b(t.previousElementSibling).is(e)?b([t.previousElementSibling]):b([]):t.previousElementSibling?b([t.previousElementSibling]):b([])}return b([])},prevAll:function(e){const t=[];let n=this[0];if(!n)return b([]);for(;n.previousElementSibling;){const r=n.previousElementSibling;e?b(r).is(e)&&t.push(r):t.push(r),n=r}return b(t)},parent:function(e){const t=[];for(let n=0;n<this.length;n+=1)null!==this[n].parentNode&&(e?b(this[n].parentNode).is(e)&&t.push(this[n].parentNode):t.push(this[n].parentNode));return b(t)},parents:function(e){const t=[];for(let n=0;n<this.length;n+=1){let r=this[n].parentNode;for(;r;)e?b(r).is(e)&&t.push(r):t.push(r),r=r.parentNode}return b(t)},closest:function(e){let t=this;return"undefined"===typeof e?b([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].querySelectorAll(e);for(let e=0;e<r.length;e+=1)t.push(r[e])}return b(t)},children:function(e){const t=[];for(let n=0;n<this.length;n+=1){const r=this[n].children;for(let n=0;n<r.length;n+=1)e&&!b(r[n]).is(e)||t.push(r[n])}return b(t)},filter:function(e){return b(w(this,e))},remove:function(){for(let e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this}};
1Object.keys(E).forEach((e=>{Object.defineProperty(b.fn,e,{value:E[e],writable:!0})}));var T=b;function C(e,t=0){return setTimeout(e,t)}function A(){return Date.now()}function k(e,t="x"){const n=m();let r,i,o;const s=function(e){const t=m();let n;return t.getComputedStyle&&(n=t.getComputedStyle(e,null)),!n&&e.currentStyle&&(n=e.currentStyle),n||(n=e.style),n}(e);return n.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new n.WebKitCSSMatrix("none"===i?"":i)):(o=s.MozTransform||s.OTransform||s.MsTransform||s.msTransform||s.transform||s.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),r=o.toString().split(",")),"x"===t&&(i=n.WebKitCSSMatrix?o.m41:16===r.length?parseFloat(r[12]):parseFloat(r[4])),"y"===t&&(i=n.WebKitCSSMatrix?o.m42:16===r.length?parseFloat(r[13]):parseFloat(r[5])),i||0}function L(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function M(...e){const t=Object(e[0]),n=["__proto__","constructor","prototype"];for(let i=1;i<e.length;i+=1){const o=e[i];if(void 0!==o&&null!==o&&(r=o,!("undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?r instanceof HTMLElement:r&&(1===r.nodeType||11===r.nodeType)))){const e=Object.keys(Object(o)).filter((e=>n.indexOf(e)<0));for(let n=0,r=e.length;n<r;n+=1){const r=e[n],i=Object.getOwnPropertyDescriptor(o,r);void 0!==i&&i.enumerable&&(L(t[r])&&L(o[r])?o[r].__swiper__?t[r]=o[r]:M(t[r],o[r]):!L(t[r])&&L(o[r])?(t[r]={},o[r].__swiper__?t[r]=o[r]:M(t[r],o[r])):t[r]=o[r])}}}var r;return t}function P(e,t,n){e.style.setProperty(t,n)}function I({swiper:e,targetPosition:t,side:n}){const r=m(),i=-e.translate;let o,s=null;const a=e.params.speed;e.wrapperEl.style.scrollSnapType="none",r.cancelAnimationFrame(e.cssModeFrameID);const l=t>i?"next":"prev",c=(e,t)=>"next"===l&&e>=t||"prev"===l&&e<=t,d=()=>{o=(new Date).getTime(),null===s&&(s=o);const l=Math.max(Math.min((o-s)/a,1),0),u=.5-Math.cos(l*Math.PI)/2;let p=i+u*(t-i);if(c(p,t)&&(p=t),e.wrapperEl.scrollTo({[n]:p}),c(p,t))return e.wrapperEl.style.overflow="hidden",e.wrapperEl.style.scrollSnapType="",setTimeout((()=>{e.wrapperEl.style.overflow="",e.wrapperEl.scrollTo({[n]:p})})),void r.cancelAnimationFrame(e.cssModeFrameID);e.cssModeFrameID=r.requestAnimationFrame(d)};d()}let O,_,D;function N(){return O||(O=function(){const e=m(),t=h();return{smoothScroll:t.documentElement&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch),passiveListener:function(){let t=!1;try{const n=Object.defineProperty({},"passive",{get(){t=!0}});e.addEventListener("testPassiveListener",null,n)}catch(n){}return t}(),gestures:"ongesturestart"in e}}()),O}function B(e={}){return _||(_=function({userAgent:e}={}){const t=N(),n=m(),r=n.navigator.platform,i=e||n.navigator.userAgent,o={ios:!1,android:!1},s=n.screen.width,a=n.screen.height,l=i.match(/(Android);?[\s\/]+([\d.]+)?/);let c=i.match(/(iPad).*OS\s([\d_]+)/);const d=i.match(/(iPod)(.*OS\s([\d_]+))?/),u=!c&&i.match(/(iPhone\sOS|iOS)\s([\d_]+)/),p="Win32"===r;let f="MacIntel"===r;return!c&&f&&t.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${s}x${a}`)>=0&&(c=i.match(/(Version)\/([\d.]+)/),c||(c=[0,1,"13_0_0"]),f=!1),l&&!p&&(o.os="android",o.android=!0),(c||u||d)&&(o.os="ios",o.ios=!0),o}(e)),_}function j(){return D||(D=function(){const e=m();return{isSafari:function(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}(),isWebView:/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)}}()),D}var G={updateSize:function(){const e=this;let t,n;const r=e.$el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:r[0].clientWidth,n="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:r[0].clientHeight,0===t&&e.isHorizontal()||0===n&&e.isVertical()||
1(t=t-parseInt(r.css("padding-left")||0,10)-parseInt(r.css("padding-right")||0,10),n=n-parseInt(r.css("padding-top")||0,10)-parseInt(r.css("padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(n)&&(n=0),Object.assign(e,{width:t,height:n,size:e.isHorizontal()?t:n}))},updateSlides:function(){const e=this;function t(t){return e.isHorizontal()?t:{width:"height","margin-top":"margin-left","margin-bottom ":"margin-right","margin-left":"margin-top","margin-right":"margin-bottom","padding-left":"padding-top","padding-right":"padding-bottom",marginRight:"marginBottom"}[t]}function n(e,n){return parseFloat(e.getPropertyValue(t(n))||0)}const r=e.params,{$wrapperEl:i,size:o,rtlTranslate:s,wrongRTL:a}=e,l=e.virtual&&r.virtual.enabled,c=l?e.virtual.slides.length:e.slides.length,d=i.children(`.${e.params.slideClass}`),u=l?e.virtual.slides.length:d.length;let p=[];const f=[],h=[];let v=r.slidesOffsetBefore;"function"===typeof v&&(v=r.slidesOffsetBefore.call(e));let m=r.slidesOffsetAfter;"function"===typeof m&&(m=r.slidesOffsetAfter.call(e));const g=e.snapGrid.length,y=e.slidesGrid.length;let w=r.spaceBetween,b=-v,S=0,x=0;if("undefined"===typeof o)return;"string"===typeof w&&w.indexOf("%")>=0&&(w=parseFloat(w.replace("%",""))/100*o),e.virtualSize=-w,s?d.css({marginLeft:"",marginBottom:"",marginTop:""}):d.css({marginRight:"",marginBottom:"",marginTop:""}),r.centeredSlides&&r.cssMode&&(P(e.wrapperEl,"--swiper-centered-offset-before",""),P(e.wrapperEl,"--swiper-centered-offset-after",""));const E=r.grid&&r.grid.rows>1&&e.grid;let T;E&&e.grid.initSlides(u);const C="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>"undefined"!==typeof r.breakpoints[e].slidesPerView)).length>0;for(let A=0;A<u;A+=1){T=0;const i=d.eq(A);if(E&&e.grid.updateSlide(A,i,u,t),"none"!==i.css("display")){if("auto"===r.slidesPerView){C&&(d[A].style[t("width")]="");const o=getComputedStyle(i[0]),s=i[0].style.transform,a=i[0].style.webkitTransform;if(s&&(i[0].style.transform="none"),a&&(i[0].style.webkitTransform="none"),r.roundLengths)T=e.isHorizontal()?i.outerWidth(!0):i.outerHeight(!0);else{const e=n(o,"width"),t=n(o,"padding-left"),r=n(o,"padding-right"),s=n(o,"margin-left"),a=n(o,"margin-right"),l=o.getPropertyValue("box-sizing");if(l&&"border-box"===l)T=e+s+a;else{const{clientWidth:n,offsetWidth:o}=i[0];T=e+t+r+s+a+(o-n)}}s&&(i[0].style.transform=s),a&&(i[0].style.webkitTransform=a),r.roundLengths&&(T=Math.floor(T))}else T=(o-(r.slidesPerView-1)*w)/r.slidesPerView,r.roundLengths&&(T=Math.floor(T)),d[A]&&(d[A].style[t("width")]=`${T}px`);d[A]&&(d[A].swiperSlideSize=T),h.push(T),r.centeredSlides?(b=b+T/2+S/2+w,0===S&&0!==A&&(b=b-o/2-w),0===A&&(b=b-o/2-w),Math.abs(b)<.001&&(b=0),r.roundLengths&&(b=Math.floor(b)),x%r.slidesPerGroup===0&&p.push(b),f.push(b)):(r.roundLengths&&(b=Math.floor(b)),(x-Math.min(e.params.slidesPerGroupSkip,x))%e.params.slidesPerGroup===0&&p.push(b),f.push(b),b=b+T+w),e.virtualSize+=T+w,S=T,x+=1}}if(e.virtualSize=Math.max(e.virtualSize,o)+m,s&&a&&("slide"===r.effect||"coverflow"===r.effect)&&i.css({width:`${e.virtualSize+r.spaceBetween}px`}),r.setWrapperSize&&i.css({[t("width")]:`${e.virtualSize+r.spaceBetween}px`}),E&&e.grid.updateWrapperSize(T,p,t),!r.centeredSlides){const t=[];for(let n=0;n<p.length;n+=1){let i=p[n];r.roundLengths&&(i=Math.floor(i)),p[n]<=e.virtualSize-o&&t.push(i)}p=t,Math.floor(e.virtualSize-o)-Math.floor(p[p.length-1])>1&&p.push(e.virtualSize-o)}if(0===p.length&&(p=[0]),0!==r.spaceBetween){const n=e.isHorizontal()&&s?"marginLeft":t("marginRight");d.filter(((e,t)=>!r.cssMode||t!==d.length-1)).css({[n]:`${w}px`})}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween;const t=e-o;p=p.map((e=>e<0?-v:e>t?t+m:e))}if(r.centerInsufficientSlides){let e=0;if(h.forEach((t=>{e+=t+(r.spaceBetween?r.spaceBetween:0)})),e-=r.spaceBetween,e<o){const t=(o-e)/2;p.forEach(((e,n)=>{p[n]=e-t})),f.forEach(((e,n)=>{f[n]=e+t}))}}if(Object.assign(e,{slides:d,snapGrid:p,slidesGrid:f,slidesSizesGrid:h}
1),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){P(e.wrapperEl,"--swiper-centered-offset-before",-p[0]+"px"),P(e.wrapperEl,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],n=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+n))}if(u!==c&&e.emit("slidesLengthChange"),p.length!==g&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),!l&&!r.cssMode&&("slide"===r.effect||"fade"===r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.$el.hasClass(t);u<=r.maxBackfaceHiddenSlides?n||e.$el.addClass(t):n&&e.$el.removeClass(t)}},updateAutoHeight:function(e){const t=this,n=[],r=t.virtual&&t.params.virtual.enabled;let i,o=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const s=e=>r?t.slides.filter((t=>parseInt(t.getAttribute("data-swiper-slide-index"),10)===e))[0]:t.slides.eq(e)[0];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||T([])).each((e=>{n.push(e)}));else for(i=0;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!r)break;n.push(s(e))}else n.push(s(t.activeIndex));for(i=0;i<n.length;i+=1)if("undefined"!==typeof n[i]){const e=n[i].offsetHeight;o=e>o?e:o}(o||0===o)&&t.$wrapperEl.css("height",`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides;for(let n=0;n<t.length;n+=1)t[n].swiperSlideOffset=e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop},updateSlidesProgress:function(e=this&&this.translate||0){const t=this,n=t.params,{slides:r,rtlTranslate:i,snapGrid:o}=t;if(0===r.length)return;"undefined"===typeof r[0].swiperSlideOffset&&t.updateSlidesOffset();let s=-e;i&&(s=e),r.removeClass(n.slideVisibleClass),t.visibleSlidesIndexes=[],t.visibleSlides=[];for(let a=0;a<r.length;a+=1){const e=r[a];let l=e.swiperSlideOffset;n.cssMode&&n.centeredSlides&&(l-=r[0].swiperSlideOffset);const c=(s+(n.centeredSlides?t.minTranslate():0)-l)/(e.swiperSlideSize+n.spaceBetween),d=(s-o[0]+(n.centeredSlides?t.minTranslate():0)-l)/(e.swiperSlideSize+n.spaceBetween),u=-(s-l),p=u+t.slidesSizesGrid[a];(u>=0&&u<t.size-1||p>1&&p<=t.size||u<=0&&p>=t.size)&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(a),r.eq(a).addClass(n.slideVisibleClass)),e.progress=i?-c:c,e.originalProgress=i?-d:d}t.visibleSlides=T(t.visibleSlides)},updateProgress:function(e){const t=this;if("undefined"===typeof e){const n=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*n||0}const n=t.params,r=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s}=t;const a=o,l=s;0===r?(i=0,o=!0,s=!0):(i=(e-t.minTranslate())/r,o=i<=0,s=i>=1),Object.assign(t,{progress:i,isBeginning:o,isEnd:s}),(n.watchSlidesProgress||n.centeredSlides&&n.autoHeight)&&t.updateSlidesProgress(e),o&&!a&&t.emit("reachBeginning toEdge"),s&&!l&&t.emit("reachEnd toEdge"),(a&&!o||l&&!s)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:n,$wrapperEl:r,activeIndex:i,realIndex:o}=e,s=e.virtual&&n.virtual.enabled;let a;t.removeClass(`${n.slideActiveClass} ${n.slideNextClass} ${n.slidePrevClass} ${n.slideDuplicateActiveClass} ${n.slideDuplicateNextClass} ${n.slideDuplicatePrevClass}`),a=s?e.$wrapperEl.find(`.${n.slideClass}[data-swiper-slide-index="${i}"]`):t.eq(i),a.addClass(n.slideActiveClass),n.loop&&(a.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${o}"]`).addClass(n.slideDuplicateActiveClass));let l=a.nextAll(`.${n.slideClass}`).eq(0).addClass(n.slideNextClass);
1n.loop&&0===l.length&&(l=t.eq(0),l.addClass(n.slideNextClass));let c=a.prevAll(`.${n.slideClass}`).eq(0).addClass(n.slidePrevClass);n.loop&&0===c.length&&(c=t.eq(-1),c.addClass(n.slidePrevClass)),n.loop&&(l.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${l.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicateNextClass),c.hasClass(n.slideDuplicateClass)?r.children(`.${n.slideClass}:not(.${n.slideDuplicateClass})[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass):r.children(`.${n.slideClass}.${n.slideDuplicateClass}[data-swiper-slide-index="${c.attr("data-swiper-slide-index")}"]`).addClass(n.slideDuplicatePrevClass)),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,n=t.rtlTranslate?t.translate:-t.translate,{slidesGrid:r,snapGrid:i,params:o,activeIndex:s,realIndex:a,snapIndex:l}=t;let c,d=e;if("undefined"===typeof d){for(let e=0;e<r.length;e+=1)"undefined"!==typeof r[e+1]?n>=r[e]&&n<r[e+1]-(r[e+1]-r[e])/2?d=e:n>=r[e]&&n<r[e+1]&&(d=e+1):n>=r[e]&&(d=e);o.normalizeSlideIndex&&(d<0||"undefined"===typeof d)&&(d=0)}if(i.indexOf(n)>=0)c=i.indexOf(n);else{const e=Math.min(o.slidesPerGroupSkip,d);c=e+Math.floor((d-e)/o.slidesPerGroup)}if(c>=i.length&&(c=i.length-1),d===s)return void(c!==l&&(t.snapIndex=c,t.emit("snapIndexChange")));const u=parseInt(t.slides.eq(d).attr("data-swiper-slide-index")||d,10);Object.assign(t,{snapIndex:c,realIndex:u,previousIndex:s,activeIndex:d}),t.emit("activeIndexChange"),t.emit("snapIndexChange"),a!==u&&t.emit("realIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&t.emit("slideChange")},updateClickedSlide:function(e){const t=this,n=t.params,r=T(e).closest(`.${n.slideClass}`)[0];let i,o=!1;if(r)for(let s=0;s<t.slides.length;s+=1)if(t.slides[s]===r){o=!0,i=s;break}if(!r||!o)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=r,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(T(r).attr("data-swiper-slide-index"),10):t.clickedIndex=i,n.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}};function z({swiper:e,runCallbacks:t,direction:n,step:r}){const{activeIndex:i,previousIndex:o}=e;let s=n;if(s||(s=i>o?"next":i<o?"prev":"reset"),e.emit(`transition${r}`),t&&i!==o){if("reset"===s)return void e.emit(`slideResetTransition${r}`);e.emit(`slideChangeTransition${r}`),"next"===s?e.emit(`slideNextTransition${r}`):e.emit(`slidePrevTransition${r}`)}}var q={slideTo:function(e=0,t=this.params.speed,n=!0,r,i){if("number"!==typeof e&&"string"!==typeof e)throw new Error(`The 'index' argument cannot have type other than 'number' or 'string'. [${typeof e}] given.`);if("string"===typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const o=this;let s=e;s<0&&(s=0);const{params:a,snapGrid:l,slidesGrid:c,previousIndex:d,activeIndex:u,rtlTranslate:p,wrapperEl:f,enabled:h}=o;if(o.animating&&a.preventInteractionOnTransition||!h&&!r&&!i)return!1;const v=Math.min(o.params.slidesPerGroupSkip,s);let m=v+Math.floor((s-v)/o.params.slidesPerGroup);m>=l.length&&(m=l.length-1);const g=-l[m];if(a.normalizeSlideIndex)for(let w=0;w<c.length;w+=1){const e=-Math.floor(100*g),t=Math.floor(100*c[w]),n=Math.floor(100*c[w+1]);"undefined"!==typeof c[w+1]?e>=t&&e<n-(n-t)/2?s=w:e>=t&&e<n&&(s=w+1):e>=t&&(s=w)}if(o.initialized&&s!==u){if(!o.allowSlideNext&&g<o.translate&&g<o.minTranslate())return!1;if(!o.allowSlidePrev&&g>o.translate&&g>o.maxTranslate()&&(u||0)!==s)return!1}let y;if(s!==(d||0)&&n&&o.emit("beforeSlideChangeStart"),o.updateProgress(g),y=s>u?"next":s<u?"prev":"reset",p&&-g===o.translate||!p&&g===o.translate)return o.updateActiveIndex(s),a.autoHeight&&o.updateAutoHeight(),o.updateSlidesClasses(),"slide"!==a.effect&&o.setTranslate(g),"reset"!==y&&(o.transitionStart(n,y),o.transitionEnd(n,y)),!1;if(a.cssMode){const e=o.isHorizontal(),n=p?g:-g;if(0===t){const t=o.virtual&&o.params.virtual.enabled;t&&(o.wrapperEl.style.scrollSnapType="none",o._immediateVirtual=!0),f[e?"scrollLeft":"scrollTop"]=n,t&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._swiperImmediateVirtual=!1}))}else{if(!o.support.smoothScroll)return I({swiper:o,targetPosition:n,side:e?"left"
1:"top"}),!0;f.scrollTo({[e?"left":"top"]:n,behavior:"smooth"})}return!0}return o.setTransition(t),o.setTranslate(g),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,r),o.transitionStart(n,y),0===t?o.transitionEnd(n,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(n,y))}),o.$wrapperEl[0].addEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e=0,t=this.params.speed,n=!0,r){if("string"===typeof e){const t=parseInt(e,10);if(!isFinite(t))throw new Error(`The passed-in 'index' (string) couldn't be converted to 'number'. [${e}] given.`);e=t}const i=this;let o=e;return i.params.loop&&(o+=i.loopedSlides),i.slideTo(o,t,n,r)},slideNext:function(e=this.params.speed,t=!0,n){const r=this,{animating:i,enabled:o,params:s}=r;if(!o)return r;let a=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(a=Math.max(r.slidesPerViewDynamic("current",!0),1));const l=r.activeIndex<s.slidesPerGroupSkip?1:a;if(s.loop){if(i&&s.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}return s.rewind&&r.isEnd?r.slideTo(0,e,t,n):r.slideTo(r.activeIndex+l,e,t,n)},slidePrev:function(e=this.params.speed,t=!0,n){const r=this,{params:i,animating:o,snapGrid:s,slidesGrid:a,rtlTranslate:l,enabled:c}=r;if(!c)return r;if(i.loop){if(o&&i.loopPreventsSlide)return!1;r.loopFix(),r._clientLeft=r.$wrapperEl[0].clientLeft}function d(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const u=d(l?r.translate:-r.translate),p=s.map((e=>d(e)));let f=s[p.indexOf(u)-1];if("undefined"===typeof f&&i.cssMode){let e;
1s.forEach(((t,n)=>{u>=t&&(e=n)})),"undefined"!==typeof e&&(f=s[e>0?e-1:e])}let h=0;if("undefined"!==typeof f&&(h=a.indexOf(f),h<0&&(h=r.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(h=h-r.slidesPerViewDynamic("previous",!0)+1,h=Math.max(h,0))),i.rewind&&r.isBeginning){const i=r.params.virtual&&r.params.virtual.enabled&&r.virtual?r.virtual.slides.length-1:r.slides.length-1;return r.slideTo(i,e,t,n)}return r.slideTo(h,e,t,n)},slideReset:function(e=this.params.speed,t=!0,n){return this.slideTo(this.activeIndex,e,t,n)},slideToClosest:function(e=this.params.speed,t=!0,n,r=.5){const i=this;let o=i.activeIndex;const s=Math.min(i.params.slidesPerGroupSkip,o),a=s+Math.floor((o-s)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[a]){const e=i.snapGrid[a];l-e>(i.snapGrid[a+1]-e)*r&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[a-1];l-e<=(i.snapGrid[a]-e)*r&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,n)},slideToClickedSlide:function(){const e=this,{params:t,$wrapperEl:n}=e,r="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;if(t.loop){if(e.animating)return;i=parseInt(T(e.clickedSlide).attr("data-swiper-slide-index"),10),t.centeredSlides?o<e.loopedSlides-r/2||o>e.slides.length-e.loopedSlides+r/2?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),C((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-r?(e.loopFix(),o=n.children(`.${t.slideClass}[data-swiper-slide-index="${i}"]:not(.${t.slideDuplicateClass})`).eq(0).index(),C((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};function H(e){const t=this,n=h(),r=m(),i=t.touchEventsData,{params:o,touches:s,enabled:a}=t;if(!a)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=e;l.originalEvent&&(l=l.originalEvent);let c=T(l.target);if("wrapper"===o.touchEventsTarget&&!c.closest(t.wrapperEl).length)return;if(i.isTouchEvent="touchstart"===l.type,!i.isTouchEvent&&"which"in l&&3===l.which)return;if(!i.isTouchEvent&&"button"in l&&l.button>0)return;if(i.isTouched&&i.isMoved)return;const d=!!o.noSwipingClass&&""!==o.noSwipingClass,u=e.composedPath?e.composedPath():e.path;d&&l.target&&l.target.shadowRoot&&u&&(c=T(u[0]));const p=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,f=!(!l.target||!l.target.shadowRoot);if(o.noSwiping&&(f?function(e,t=this){return function t(n){if(!n||n===h()||n===m())return null;n.assignedSlot&&(n=n.assignedSlot);const r=n.closest(e);return r||n.getRootNode?r||t(n.getRootNode().host):null}(t)}(p,c[0]):c.closest(p)[0]))return void(t.allowClick=!0);if(o.swipeHandler&&!c.closest(o.swipeHandler)[0])return;s.currentX="touchstart"===l.type?l.targetTouches[0].pageX:l.pageX,s.currentY="touchstart"===l.type?l.targetTouches[0].pageY:l.pageY;const v=s.currentX,g=s.currentY,y=o.edgeSwipeDetection||o.iOSEdgeSwipeDetection,w=o.edgeSwipeThreshold||o.iOSEdgeSwipeThreshold;if(y&&(v<=w||v>=r.innerWidth-w)){if("prevent"!==y)return;e.preventDefault()}if(Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=v,s.startY=g,i.touchStartTime=A(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1),"touchstart"!==l.type){let e=!0;c.is(i.focusableElements)&&(e=!1,"SELECT"===c[0].nodeName&&(i.isTouched=!1)),n.activeElement&&T(n.activeElement).is(i.focusableElements)&&n.activeElement!==c[0]&&n.activeElement.blur();const r=e&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!r||c[0].isContentEditable||l.preventDefault()}t.params.freeMode&&t.params.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",l)}function X(e){const t=h(),n=this,r=n.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:a}=n;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),!r.isTouched)return void(r.startMoving&&r.isScrolling&&n.emit("touchMoveOpposite",l));if(r.isTouchEvent&&"touchmove"!==l.type)return;const c="touchmove"===l.type&&l.targetTouches&&(l.targetTouches[0]||l.changedTouches[0]),d="touchmove"===l.type?c.pageX:l.pageX,u="touchmove"===l.type?c.pageY:l.pageY;if(l.preventedByNestedSwiper)return o.startX=d,void(o.startY=u);
1if(!n.allowTouchMove)return T(l.target).is(r.focusableElements)||(n.allowClick=!1),void(r.isTouched&&(Object.assign(o,{startX:d,startY:u,currentX:d,currentY:u}),r.touchStartTime=A()));if(r.isTouchEvent&&i.touchReleaseOnEdges&&!i.loop)if(n.isVertical()){if(u<o.startY&&n.translate<=n.maxTranslate()||u>o.startY&&n.translate>=n.minTranslate())return r.isTouched=!1,void(r.isMoved=!1)}else if(d<o.startX&&n.translate<=n.maxTranslate()||d>o.startX&&n.translate>=n.minTranslate())return;if(r.isTouchEvent&&t.activeElement&&l.target===t.activeElement&&T(l.target).is(r.focusableElements))return r.isMoved=!0,void(n.allowClick=!1);if(r.allowTouchCallbacks&&n.emit("touchMove",l),l.targetTouches&&l.targetTouches.length>1)return;o.currentX=d,o.currentY=u;const p=o.currentX-o.startX,f=o.currentY-o.startY;if(n.params.threshold&&Math.sqrt(p**2+f**2)<n.params.threshold)return;if("undefined"===typeof r.isScrolling){let e;n.isHorizontal()&&o.currentY===o.startY||n.isVertical()&&o.currentX===o.startX?r.isScrolling=!1:p*p+f*f>=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(p))/Math.PI,r.isScrolling=n.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(r.isScrolling&&n.emit("touchMoveOpposite",l),"undefined"===typeof r.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(r.startMoving=!0)),r.isScrolling)return void(r.isTouched=!1);if(!r.startMoving)return;n.allowClick=!1,!i.cssMode&&l.cancelable&&l.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&l.stopPropagation(),r.isMoved||(i.loop&&!i.cssMode&&n.loopFix(),r.startTranslate=n.getTranslate(),n.setTransition(0),n.animating&&n.$wrapperEl.trigger("webkitTransitionEnd transitionend"),r.allowMomentumBounce=!1,!i.grabCursor||!0!==n.allowSlideNext&&!0!==n.allowSlidePrev||n.setGrabCursor(!0),n.emit("sliderFirstMove",l)),n.emit("sliderMove",l),r.isMoved=!0;let v=n.isHorizontal()?p:f;o.diff=v,v*=i.touchRatio,s&&(v=-v),n.swipeDirection=v>0?"prev":"next",r.currentTranslate=v+r.startTranslate;let m=!0,g=i.resistanceRatio;if(i.touchReleaseOnEdges&&(g=0),v>0&&r.currentTranslate>n.minTranslate()?(m=!1,i.resistance&&(r.currentTranslate=n.minTranslate()-1+(-n.minTranslate()+r.startTranslate+v)**g)):v<0&&r.currentTranslate<n.maxTranslate()&&(m=!1,i.resistance&&(r.currentTranslate=n.maxTranslate()+1-(n.maxTranslate()-r.startTranslate-v)**g)),m&&(l.preventedByNestedSwiper=!0),!n.allowSlideNext&&"next"===n.swipeDirection&&r.currentTranslate<r.startTranslate&&(r.currentTranslate=r.startTranslate),!n.allowSlidePrev&&"prev"===n.swipeDirection&&r.currentTranslate>r.startTranslate&&(r.currentTranslate=r.startTranslate),n.allowSlidePrev||n.allowSlideNext||(r.currentTranslate=r.startTranslate),i.threshold>0){if(!(Math.abs(v)>i.threshold||r.allowThresholdMove))return void(r.currentTranslate=r.startTranslate);
1if(!r.allowThresholdMove)return r.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,r.currentTranslate=r.startTranslate,void(o.diff=n.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&n.freeMode||i.watchSlidesProgress)&&(n.updateActiveIndex(),n.updateSlidesClasses()),n.params.freeMode&&i.freeMode.enabled&&n.freeMode&&n.freeMode.onTouchMove(),n.updateProgress(r.currentTranslate),n.setTranslate(r.currentTranslate))}function R(e){const t=this,n=t.touchEventsData,{params:r,touches:i,rtlTranslate:o,slidesGrid:s,enabled:a}=t;if(!a)return;let l=e;if(l.originalEvent&&(l=l.originalEvent),n.allowTouchCallbacks&&t.emit("touchEnd",l),n.allowTouchCallbacks=!1,!n.isTouched)return n.isMoved&&r.grabCursor&&t.setGrabCursor(!1),n.isMoved=!1,void(n.startMoving=!1);r.grabCursor&&n.isMoved&&n.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const c=A(),d=c-n.touchStartTime;if(t.allowClick){const e=l.path||l.composedPath&&l.composedPath();t.updateClickedSlide(e&&e[0]||l.target),t.emit("tap click",l),d<300&&c-n.lastClickTime<300&&t.emit("doubleTap doubleClick",l)}if(n.lastClickTime=A(),C((()=>{t.destroyed||(t.allowClick=!0)})),!n.isTouched||!n.isMoved||!t.swipeDirection||0===i.diff||n.currentTranslate===n.startTranslate)return n.isTouched=!1,n.isMoved=!1,void(n.startMoving=!1);let u;if(n.isTouched=!1,n.isMoved=!1,n.startMoving=!1,u=r.followFinger?o?t.translate:-t.translate:-n.currentTranslate,r.cssMode)return;if(t.params.freeMode&&r.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:u});let p=0,f=t.slidesSizesGrid[0];for(let y=0;y<s.length;y+=y<r.slidesPerGroupSkip?1:r.slidesPerGroup){const e=y<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;"undefined"!==typeof s[y+e]?u>=s[y]&&u<s[y+e]&&(p=y,f=s[y+e]-s[y]):u>=s[y]&&(p=y,f=s[s.length-1]-s[s.length-2])}let h=null,v=null;r.rewind&&(t.isBeginning?v=t.params.virtual&&t.params.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(h=0));const m=(u-s[p])/f,g=p<r.slidesPerGroupSkip-1?1:r.slidesPerGroup;if(d>r.longSwipesMs){if(!r.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(m>=r.longSwipesRatio?t.slideTo(r.rewind&&t.isEnd?h:p+g):t.slideTo(p)),"prev"===t.swipeDirection&&(m>1-r.longSwipesRatio?t.slideTo(p+g):null!==v&&m<0&&Math.abs(m)>r.longSwipesRatio?t.slideTo(v):t.slideTo(p))}else{if(!r.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(l.target===t.navigation.nextEl||l.target===t.navigation.prevEl)?l.target===t.navigation.nextEl?t.slideTo(p+g):t.slideTo(p):("next"===t.swipeDirection&&t.slideTo(null!==h?h:p+g),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:p))}}function F(){const e=this,{params:t,el:n}=e;if(n&&0===n.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:r,allowSlidePrev:i,snapGrid:o}=e;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses(),("auto"===t.slidesPerView||t.slidesPerView>1)&&e.isEnd&&!e.isBeginning&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.run(),e.allowSlidePrev=i,e.allowSlideNext=r,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function $(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function V(){const e=this,{wrapperEl:t,rtlTranslate:n,enabled:r}=e;if(!r)return;let i;e.previousTranslate=e.translate,e.isHorizontal()?e.translate=-t.scrollLeft:e.translate=-t.scrollTop,0===e.translate&&(e.translate=0),e.updateActiveIndex(),e.updateSlidesClasses();const o=e.maxTranslate()-e.minTranslate();i=0===o?0:(e.translate-e.minTranslate())/o,i!==e.progress&&e.updateProgress(n?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}let W=!1;function Y(){}const U=(e,t)=>{const n=h(),{params:r,touchEvents:i,el:o,wrapperEl:s,device:a,support:l}=e,c=!!r.nested,d="on"===t?"addEventListener":"removeEventListener",u=t;if(l.touch){const t=!("touchstart"!==i.start||!l.passiveListener||!r.passiveListeners)&&{passive:!0,capture:!1};o[d](i.start,e.onTouchStart,t),o[d](i.move,e.onTouchMove,l.passiveListener?{passive:!1,capture:c}:c),o[d](i.end,e.onTouchEnd,t),i.cancel&&o[d](i.cancel,e.onTouchEnd,t)}else o[d](i.start,e.onTouchStart,!1),n[d](i.move,e.onTouchMove,c),n[d](i.end,e.onTouchEnd,!1);(r.preventClicks||r.preventClicksPropagation)&&o[d]("click",e.onClick,!0),r.cssMode&&s[d]("scroll",e.onScroll),r.updateOnWindowResize?e[u](a.ios||a.android?"resize orientationchange observerUpdate":"resize observerUpdate",F,!0):e[u]("observerUpdate",F,!0)};const J=(e,t)=>
1e.grid&&t.grid&&t.grid.rows>1;var K={setBreakpoint:function(){const e=this,{activeIndex:t,initialized:n,loopedSlides:r=0,params:i,$el:o}=e,s=i.breakpoints;if(!s||s&&0===Object.keys(s).length)return;const a=e.getBreakpoint(s,e.params.breakpointsBase,e.el);if(!a||e.currentBreakpoint===a)return;const l=(a in s?s[a]:void 0)||e.originalParams,c=J(e,i),d=J(e,l),u=i.enabled;c&&!d?(o.removeClass(`${i.containerModifierClass}grid ${i.containerModifierClass}grid-column`),e.emitContainerClasses()):!c&&d&&(o.addClass(`${i.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===i.grid.fill)&&o.addClass(`${i.containerModifierClass}grid-column`),e.emitContainerClasses()),["navigation","pagination","scrollbar"].forEach((t=>{const n=i[t]&&i[t].enabled,r=l[t]&&l[t].enabled;n&&!r&&e[t].disable(),!n&&r&&e[t].enable()}));const p=l.direction&&l.direction!==i.direction,f=i.loop&&(l.slidesPerView!==i.slidesPerView||p);p&&n&&e.changeDirection(),M(e.params,l);const h=e.params.enabled;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),u&&!h?e.disable():!u&&h&&e.enable(),e.currentBreakpoint=a,e.emit("_beforeBreakpoint",l),f&&n&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-r+e.loopedSlides,0,!1)),e.emit("breakpoint",l)},getBreakpoint:function(e,t="window",n){if(!e||"container"===t&&!n)return;let r=!1;const i=m(),o="window"===t?i.innerHeight:n.clientHeight,s=Object.keys(e).map((e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:o*t,point:e}}return{value:e,point:e}}));s.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let a=0;a<s.length;a+=1){const{point:e,value:o}=s[a];"window"===t?i.matchMedia(`(min-width: ${o}px)`).matches&&(r=e):o<=n.clientWidth&&(r=e)}return r||"max"}};var Q={init:!0,direction:"horizontal",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,enabled:!0,focusableElements:"input, select, option, textarea, button, video, label",width:null,height:null,preventInteractionOnTransition:!1,userAgent:null,url:null,edgeSwipeDetection:!1,edgeSwipeThreshold:20,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,breakpointsBase:"window",spaceBetween:0,slidesPerView:1,slidesPerGroup:1,slidesPerGroupSkip:0,slidesPerGroupAuto:!1,centeredSlides:!1,centeredSlidesBounds:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,centerInsufficientSlides:!1,watchOverflow:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopedSlidesLimit:!0,loopFillGroupWithBlank:!1,loopPreventsSlide:!0,rewind:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",noSwipingSelector:null,passiveListeners:!0,maxBackfaceHiddenSlides:10,containerModifierClass:"swiper-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0,_emitClasses:!1};function Z(e,t){return function(n={}){const r=Object.keys(n)[0],i=n[r];"object"===typeof i&&null!==i?(["navigation","pagination","scrollbar"].indexOf(r)>=0&&!0===e[r]&&(e[r]={auto:!0}),r in e&&"enabled"in i?(!0===e[r]&&(e[r]={enabled:!0}),"object"!==typeof e[r]||"enabled"in e[r]||(e[r].enabled=!0),e[r]||(e[r]={enabled:!1}
1),M(t,n)):M(t,n)):M(t,n)}}const ee={eventsEmitter:{on(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;const i=n?"unshift":"push";return e.split(" ").forEach((e=>{r.eventsListeners[e]||(r.eventsListeners[e]=[]),r.eventsListeners[e][i](t)})),r},once(e,t,n){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof t)return r;function i(...n){r.off(e,i),i.__emitterProxy&&delete i.__emitterProxy,t.apply(r,n)}return i.__emitterProxy=t,r.on(e,i,n)},onAny(e,t){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!==typeof e)return n;const r=t?"unshift":"push";return n.eventsAnyListeners.indexOf(e)<0&&n.eventsAnyListeners[r](e),n},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const n=t.eventsAnyListeners.indexOf(e);return n>=0&&t.eventsAnyListeners.splice(n,1),t},off(e,t){const n=this;return!n.eventsListeners||n.destroyed?n:n.eventsListeners?(e.split(" ").forEach((e=>{"undefined"===typeof t?n.eventsListeners[e]=[]:n.eventsListeners[e]&&n.eventsListeners[e].forEach(((r,i)=>{(r===t||r.__emitterProxy&&r.__emitterProxy===t)&&n.eventsListeners[e].splice(i,1)}))})),n):n},emit(...e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsListeners)return t;let n,r,i;"string"===typeof e[0]||Array.isArray(e[0])?(n=e[0],r=e.slice(1,e.length),i=t):(n=e[0].events,r=e[0].data,i=e[0].context||t),r.unshift(i);return(Array.isArray(n)?n:n.split(" ")).forEach((e=>{t.eventsAnyListeners&&t.eventsAnyListeners.length&&t.eventsAnyListeners.forEach((t=>{t.apply(i,[e,...r])})),t.eventsListeners&&t.eventsListeners[e]&&t.eventsListeners[e].forEach((e=>{e.apply(i,r)}))})),t}},update:G,translate:{getTranslate:function(e=(this.isHorizontal()?"x":"y")){const{params:t,rtlTranslate:n,translate:r,$wrapperEl:i}=this;if(t.virtualTranslate)return n?-r:r;if(t.cssMode)return r;let o=k(i[0],e);return n&&(o=-o),o||0},setTranslate:function(e,t){const n=this,{rtlTranslate:r,params:i,$wrapperEl:o,wrapperEl:s,progress:a}=n;let l,c=0,d=0;n.isHorizontal()?c=r?-e:e:d=e,i.roundLengths&&(c=Math.floor(c),d=Math.floor(d)),i.cssMode?s[n.isHorizontal()?"scrollLeft":"scrollTop"]=n.isHorizontal()?-c:-d:i.virtualTranslate||o.transform(`translate3d(${c}px, ${d}px, 0px)`),n.previousTranslate=n.translate,n.translate=n.isHorizontal()?c:d;const u=n.maxTranslate()-n.minTranslate();l=0===u?0:(e-n.minTranslate())/u,l!==a&&n.updateProgress(e),n.emit("setTranslate",n.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e=0,t=this.params.speed,n=!0,r=!0,i){const o=this,{params:s,wrapperEl:a}=o;if(o.animating&&s.preventInteractionOnTransition)return!1;const l=o.minTranslate(),c=o.maxTranslate();let d;if(d=r&&e>l?l:r&&e<c?c:e,o.updateProgress(d),s.cssMode){const e=o.isHorizontal();if(0===t)a[e?"scrollLeft":"scrollTop"]=-d;else{if(!o.support.smoothScroll)return I({swiper:o,targetPosition:-d,side:e?"left":"top"}),!0;a.scrollTo({[e?"left":"top"]:-d,behavior:"smooth"})}return!0}return 0===t?(o.setTransition(0),o.setTranslate(d),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionEnd"))):(o.setTransition(t),o.setTranslate(d),n&&(o.emit("beforeTransitionStart",t,i),o.emit("transitionStart")),o.animating||(o.animating=!0,o.onTranslateToWrapperTransitionEnd||(o.onTranslateToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.$wrapperEl[0].removeEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].removeEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd),o.onTranslateToWrapperTransitionEnd=null,delete o.onTranslateToWrapperTransitionEnd,n&&o.emit("transitionEnd"))}),o.$wrapperEl[0].addEventListener("transitionend",o.onTranslateToWrapperTransitionEnd),o.$wrapperEl[0].addEventListener("webkitTransitionEnd",o.onTranslateToWrapperTransitionEnd))),!0}},transition:{setTransition:function(e,t){const n=this;n.params.cssMode||n.$wrapperEl.transition(e),n.emit("setTransition",e,t)},transitionStart:function(e=!0,t){const n=this,{params:r}=n;r.cssMode||(r.autoHeight&&n.updateAutoHeight(),z({swiper:n,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e=!0,t){const n=this,{params:r}=n;n.animating=!1,r.cssMode||(n.setTransition(0),z({swiper:n,runCallbacks:e,direction:t,step:"End"}))}},slide:q,loop:{loopCreate:function(){const e=this,t=h(),{params:n,$wrapperEl:r}=e,i=r.children().length>0?T(r.children()[0].parentNode):r;i.children(`.${n.slideClass}.${n.slideDuplicateClass}`).remove();let o=i.children(`.${n.slideClass}`);
1if(n.loopFillGroupWithBlank){const e=n.slidesPerGroup-o.length%n.slidesPerGroup;if(e!==n.slidesPerGroup){for(let r=0;r<e;r+=1){const e=T(t.createElement("div")).addClass(`${n.slideClass} ${n.slideBlankClass}`);i.append(e)}o=i.children(`.${n.slideClass}`)}}"auto"!==n.slidesPerView||n.loopedSlides||(n.loopedSlides=o.length),e.loopedSlides=Math.ceil(parseFloat(n.loopedSlides||n.slidesPerView,10)),e.loopedSlides+=n.loopAdditionalSlides,e.loopedSlides>o.length&&e.params.loopedSlidesLimit&&(e.loopedSlides=o.length);const s=[],a=[];o.each(((e,t)=>{T(e).attr("data-swiper-slide-index",t)}));for(let l=0;l<e.loopedSlides;l+=1){const e=l-Math.floor(l/o.length)*o.length;a.push(o.eq(e)[0]),s.unshift(o.eq(o.length-e-1)[0])}for(let l=0;l<a.length;l+=1)i.append(T(a[l].cloneNode(!0)).addClass(n.slideDuplicateClass));for(let l=s.length-1;l>=0;l-=1)i.prepend(T(s[l].cloneNode(!0)).addClass(n.slideDuplicateClass))},loopFix:function(){const e=this;e.emit("beforeLoopFix");const{activeIndex:t,slides:n,loopedSlides:r,allowSlidePrev:i,allowSlideNext:o,snapGrid:s,rtlTranslate:a}=e;let l;e.allowSlidePrev=!0,e.allowSlideNext=!0;const c=-s[t]-e.getTranslate();if(t<r){l=n.length-3*r+t,l+=r;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)}else if(t>=n.length-r){l=-n.length+t+r,l+=r;e.slideTo(l,0,!1,!0)&&0!==c&&e.setTranslate((a?-e.translate:e.translate)-c)}e.allowSlidePrev=i,e.allowSlideNext=o,e.emit("loopFix")},loopDestroy:function(){const{$wrapperEl:e,params:t,slides:n}=this;e.children(`.${t.slideClass}.${t.slideDuplicateClass},.${t.slideClass}.${t.slideBlankClass}`).remove(),n.removeAttr("data-swiper-slide-index")}},grabCursor:{setGrabCursor:function(e){const t=this;if(t.support.touch||!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const n="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;n.style.cursor="move",n.style.cursor=e?"grabbing":"grab"},unsetGrabCursor:function(){const e=this;e.support.touch||e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="")}},events:{attachEvents:function(){const e=this,t=h(),{params:n,support:r}=e;e.onTouchStart=H.bind(e),e.onTouchMove=X.bind(e),e.onTouchEnd=R.bind(e),n.cssMode&&(e.onScroll=V.bind(e)),e.onClick=$.bind(e),r.touch&&!W&&(t.addEventListener("touchstart",Y),W=!0),U(e,"on")},detachEvents:function(){U(this,"off")}},breakpoints:K,checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:n}=e,{slidesOffsetBefore:r}=n;if(r){const t=e.slides.length-1,n=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*r;e.isLocked=e.size>n}else e.isLocked=1===e.snapGrid.length;!0===n.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===n.allowSlidePrev&&(e.allowSlidePrev=!e.isLocked),t&&t!==e.isLocked&&(e.isEnd=!1),t!==e.isLocked&&e.emit(e.isLocked?"lock":"unlock")}},classes:{addClasses:function(){const e=this,{classNames:t,params:n,rtl:r,$el:i,device:o,support:s}=e,a=function(e,t){const n=[];return e.forEach((e=>{"object"===typeof e?Object.keys(e).forEach((r=>{e[r]&&n.push(t+r)})):"string"===typeof e&&n.push(t+e)})),n}(["initialized",n.direction,{"pointer-events":!s.touch},{"free-mode":e.params.freeMode&&n.freeMode.enabled},{autoheight:n.autoHeight},{rtl:r},{grid:n.grid&&n.grid.rows>1},{"grid-column":n.grid&&n.grid.rows>1&&"column"===n.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":n.cssMode},{centered:n.cssMode&&n.centeredSlides},{"watch-progress":n.watchSlidesProgress}],n.containerModifierClass);t.push(...a),i.addClass([...t].join(" ")),e.emitContainerClasses()},removeClasses:function(){const{$el:e,classNames:t}=this;e.removeClass(t.join(" ")),this.emitContainerClasses()}},images:{loadImage:function(e,t,n,r,i,o){const s=m();let a;function l(){o&&o()}T(e).parent("picture")[0]||e.complete&&i?l():t?(a=new s.Image,a.onload=l,a.onerror=l,r&&(a.sizes=r),n&&(a.srcset=n),t&&(a.src=t)):l()},preloadImages:function(){const e=this;function t(){"undefined"!==typeof e&&null!==e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(
1),e.emit("imagesReady")))}e.imagesToLoad=e.$el.find("img");for(let n=0;n<e.imagesToLoad.length;n+=1){const r=e.imagesToLoad[n];e.loadImage(r,r.currentSrc||r.getAttribute("src"),r.srcset||r.getAttribute("srcset"),r.sizes||r.getAttribute("sizes"),!0,t)}}}},te={};class ne{constructor(...e){let t,n;if(1===e.length&&e[0].constructor&&"Object"===Object.prototype.toString.call(e[0]).slice(8,-1)?n=e[0]:[t,n]=e,n||(n={}),n=M({},n),t&&!n.el&&(n.el=t),n.el&&T(n.el).length>1){const e=[];return T(n.el).each((t=>{const r=M({},n,{el:t});e.push(new ne(r))})),e}const r=this;r.__swiper__=!0,r.support=N(),r.device=B({userAgent:n.userAgent}),r.browser=j(),r.eventsListeners={},r.eventsAnyListeners=[],r.modules=[...r.__modules__],n.modules&&Array.isArray(n.modules)&&r.modules.push(...n.modules);const i={};r.modules.forEach((e=>{e({swiper:r,extendParams:Z(n,i),on:r.on.bind(r),once:r.once.bind(r),off:r.off.bind(r),emit:r.emit.bind(r)})}));const o=M({},Q,i);return r.params=M({},o,te,n),r.originalParams=M({},r.params),r.passedParams=M({}
1,n),r.params&&r.params.on&&Object.keys(r.params.on).forEach((e=>{r.on(e,r.params.on[e])})),r.params&&r.params.onAny&&r.onAny(r.params.onAny),r.$=T,Object.assign(r,{enabled:r.params.enabled,el:t,classNames:[],slides:T(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===r.params.direction,isVertical:()=>"vertical"===r.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,allowSlideNext:r.params.allowSlideNext,allowSlidePrev:r.params.allowSlidePrev,touchEvents:function(){const e=["touchstart","touchmove","touchend","touchcancel"],t=["pointerdown","pointermove","pointerup"];return r.touchEventsTouch={start:e[0],move:e[1],end:e[2],cancel:e[3]},r.touchEventsDesktop={start:t[0],move:t[1],end:t[2]},r.support.touch||!r.params.simulateTouch?r.touchEventsTouch:r.touchEventsDesktop}(),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,focusableElements:r.params.focusableElements,lastClickTime:A(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:r.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),r.emit("_swiper"),r.params.init&&r.init(),r}enable(){const e=this;e.enabled||(e.enabled=!0,e.params.grabCursor&&e.setGrabCursor(),e.emit("enable"))}disable(){const e=this;e.enabled&&(e.enabled=!1,e.params.grabCursor&&e.unsetGrabCursor(),e.emit("disable"))}setProgress(e,t){const n=this;e=Math.min(Math.max(e,0),1);const r=n.minTranslate(),i=(n.maxTranslate()-r)*e+r;n.translateTo(i,"undefined"===typeof t?0:t),n.updateActiveIndex(),n.updateSlidesClasses()}emitContainerClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=e.el.className.split(" ").filter((t=>0===t.indexOf("swiper")||0===t.indexOf(e.params.containerModifierClass)));e.emit("_containerClasses",t.join(" "))}getSlideClasses(e){const t=this;return t.destroyed?"":e.className.split(" ").filter((e=>0===e.indexOf("swiper-slide")||0===e.indexOf(t.params.slideClass))).join(" ")}emitSlidesClasses(){const e=this;if(!e.params._emitClasses||!e.el)return;const t=[];e.slides.each((n=>{const r=e.getSlideClasses(n);t.push({slideEl:n,classNames:r}),e.emit("_slideClass",n,r)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e="current",t=!1){const{params:n,slides:r,slidesGrid:i,slidesSizesGrid:o,size:s,activeIndex:a}=this;let l=1;if(n.centeredSlides){let e,t=r[a].swiperSlideSize;for(let n=a+1;n<r.length;n+=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>s&&(e=!0));for(let n=a-1;n>=0;n-=1)r[n]&&!e&&(t+=r[n].swiperSlideSize,l+=1,t>s&&(e=!0))}else if("current"===e)for(let c=a+1;c<r.length;c+=1){(t?i[c]+o[c]-i[a]<s:i[c]-i[a]<s)&&(l+=1)}else for(let c=a-1;c>=0;c-=1){i[a]-i[c]<s&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:n}=e;function r(){const t=e.rtlTranslate?-1*e.translate:e.translate,n=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses()}let i;n.breakpoints&&e.setBreakpoint(),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.params.freeMode&&e.params.freeMode.enabled?(r(),e.params.autoHeight&&e.updateAutoHeight()):(i=("auto"===e.params.slidesPerView||e.params.slidesPerView>1)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0),i||r()),n.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t=!0){const n=this,r=n.params.direction;return e||(e="horizontal"===r?"vertical":"horizontal"),e===r||"horizontal"!==e&&"vertical"!==e||(n.$el.removeClass(`${n.params.containerModifierClass}${r}`).addClass(`${n.params.containerModifierClass}${e}`),n.emitContainerClasses(),n.params.direction=e,n.slides.each((t=>{"vertical"===e?t.style.width="":t.style.height=""})),n.emit("changeDirection"),t&&n.update()),n}changeLanguageDirection(e){const t=this;t.rtl&&"rtl"===e||!t.rtl&&"ltr"===e||(t.rtl="rtl"===e,t.rtlTranslate="horizontal"===t.params.direction&&t.rtl,t.rtl?(t.$el.addClass(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.$el.removeClass(`${t.params.containerModifierClass}
1rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;const n=T(e||t.params.el);if(!(e=n[0]))return!1;e.swiper=t;const r=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(e&&e.shadowRoot&&e.shadowRoot.querySelector){const t=T(e.shadowRoot.querySelector(r()));return t.children=e=>n.children(e),t}return n.children?n.children(r()):T(n).children(r())})();if(0===i.length&&t.params.createElements){const e=h().createElement("div");i=T(e),e.className=t.params.wrapperClass,n.append(e),n.children(`.${t.params.slideClass}`).each((e=>{i.append(e)}))}return Object.assign(t,{$el:n,el:e,$wrapperEl:i,wrapperEl:i[0],mounted:!0,rtl:"rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===e.dir.toLowerCase()||"rtl"===n.css("direction")),wrongRTL:"-webkit-box"===i.css("display")}),!0}init(e){const t=this;if(t.initialized)return t;return!1===t.mount(e)||(t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.params.loop&&t.loopCreate(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.preloadImages&&t.preloadImages(),t.params.loop?t.slideTo(t.params.initialSlide+t.loopedSlides,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.attachEvents(),t.initialized=!0,t.emit("init"),t.emit("afterInit")),t}destroy(e=!0,t=!0){const n=this,{params:r,$el:i,$wrapperEl:o,slides:s}=n;return"undefined"===typeof n.params||n.destroyed||(n.emit("beforeDestroy"),n.initialized=!1,n.detachEvents(),r.loop&&n.loopDestroy(),t&&(n.removeClasses(),i.removeAttr("style"),o.removeAttr("style"),s&&s.length&&s.removeClass([r.slideVisibleClass,r.slideActiveClass,r.slideNextClass,r.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")),n.emit("destroy"),Object.keys(n.eventsListeners).forEach((e=>{n.off(e)})),!1!==e&&(n.$el[0].swiper=null,function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(n){}try{delete t[e]}catch(n){}}))}(n)),n.destroyed=!0),null}static extendDefaults(e){M(te,e)}static get extendedDefaults(){return te}static get defaults(){return Q}static installModule(e){ne.prototype.__modules__||(ne.prototype.__modules__=[]);const t=ne.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>ne.installModule(e))),ne):(ne.installModule(e),ne)}}Object.keys(ee).forEach((e=>{Object.keys(ee[e]).forEach((t=>{ne.prototype[t]=ee[e][t]}))})),ne.use([function({swiper:e,on:t,emit:n}){const r=m();let i=null,o=null;const s=()=>{e&&!e.destroyed&&e.initialized&&(n("beforeResize"),n("resize"))},a=()=>{e&&!e.destroyed&&e.initialized&&n("orientationchange")};t("init",(()=>{e.params.resizeObserver&&"undefined"!==typeof r.ResizeObserver?e&&!e.destroyed&&e.initialized&&(i=new ResizeObserver((t=>{o=r.requestAnimationFrame((()=>{const{width:n,height:r}=e;let i=n,o=r;t.forEach((({contentBoxSize:t,contentRect:n,target:r})=>{r&&r!==e.el||(i=n?n.width:(t[0]||t).inlineSize,o=n?n.height:(t[0]||t).blockSize)})),i===n&&o===r||s()}))})),i.observe(e.el)):(r.addEventListener("resize",s),r.addEventListener("orientationchange",a))})),t("destroy",(()=>{o&&r.cancelAnimationFrame(o),i&&i.unobserve&&e.el&&(i.unobserve(e.el),i=null),r.removeEventListener("resize",s),r.removeEventListener("orientationchange",a)}))},function({swiper:e,extendParams:t,on:n,emit:r}){const i=[],o=m(),s=(e,t={})=>{const n=new(o.MutationObserver||o.WebkitMutationObserver)((e=>{if(1===e.length)return void r("observerUpdate",e[0]);const t=function(){r("observerUpdate",e[0])};o.requestAnimationFrame?o.requestAnimationFrame(t):o.setTimeout(t,0)}));n.observe(e,{attributes:"undefined"===typeof t.attributes||t.attributes,childList:"undefined"===typeof t.childList||t.childList,characterData:"undefined"===typeof t.characterData||t.characterData}),i.push(n)};t({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(e.params.observer){if(e.params.observeParents){const t=e.$el.parents();for(let e=0;e<t.length;e+=1)s(t[e])}s(e.$el[0],{childList:e.params.observeSlideChildren}),s(e.$wrapperEl[0],{attributes:!1})}})),n("destroy",(()=>
1{i.forEach((e=>{e.disconnect()})),i.splice(0,i.length)}))}]);var re=ne;function ie({swiper:e,extendParams:t,on:n,emit:r}){const i=h(),o=m();function s(t){if(!e.enabled)return;const{rtlTranslate:n}=e;let s=t;s.originalEvent&&(s=s.originalEvent);const a=s.keyCode||s.charCode,l=e.params.keyboard.pageUpDown,c=l&&33===a,d=l&&34===a,u=37===a,p=39===a,f=38===a,h=40===a;if(!e.allowSlideNext&&(e.isHorizontal()&&p||e.isVertical()&&h||d))return!1;if(!e.allowSlidePrev&&(e.isHorizontal()&&u||e.isVertical()&&f||c))return!1;if(!(s.shiftKey||s.altKey||s.ctrlKey||s.metaKey)&&(!i.activeElement||!i.activeElement.nodeName||"input"!==i.activeElement.nodeName.toLowerCase()&&"textarea"!==i.activeElement.nodeName.toLowerCase())){if(e.params.keyboard.onlyInViewport&&(c||d||u||p||f||h)){let t=!1;if(e.$el.parents(`.${e.params.slideClass}`).length>0&&0===e.$el.parents(`.${e.params.slideActiveClass}`).length)return;const r=e.$el,i=r[0].clientWidth,s=r[0].clientHeight,a=o.innerWidth,l=o.innerHeight,c=e.$el.offset();n&&(c.left-=e.$el[0].scrollLeft);const d=[[c.left,c.top],[c.left+i,c.top],[c.left,c.top+s],[c.left+i,c.top+s]];for(let e=0;e<d.length;e+=1){const n=d[e];if(n[0]>=0&&n[0]<=a&&n[1]>=0&&n[1]<=l){if(0===n[0]&&0===n[1])continue;t=!0}}if(!t)return}e.isHorizontal()?((c||d||u||p)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),((d||p)&&!n||(c||u)&&n)&&e.slideNext(),((c||u)&&!n||(d||p)&&n)&&e.slidePrev()):((c||d||f||h)&&(s.preventDefault?s.preventDefault():s.returnValue=!1),(d||h)&&e.slideNext(),(c||f)&&e.slidePrev()),r("keyPress",a)}}function a(){e.keyboard.enabled||(T(i).on("keydown",s),e.keyboard.enabled=!0)}function l(){e.keyboard.enabled&&(T(i).off("keydown",s),e.keyboard.enabled=!1)}e.keyboard={enabled:!1},t({keyboard:{enabled:!1,onlyInViewport:!0,pageUpDown:!0}}),n("init",(()=>{e.params.keyboard.enabled&&a()})),n("destroy",(()=>{e.keyboard.enabled&&l()})),Object.assign(e.keyboard,{enable:a,disable:l})}function oe(e){const t=this,{$wrapperEl:n,params:r}=t;if(r.loop&&t.loopDestroy(),"object"===typeof e&&"length"in e)for(let i=0;i<e.length;i+=1)e[i]&&n.append(e[i]);else n.append(e);r.loop&&t.loopCreate(),r.observer||t.update()}function se(e){const t=this,{params:n,$wrapperEl:r,activeIndex:i}=t;n.loop&&t.loopDestroy();let o=i+1;if("object"===typeof e&&"length"in e){for(let t=0;t<e.length;t+=1)e[t]&&r.prepend(e[t]);o=i+e.length}else r.prepend(e);n.loop&&t.loopCreate(),n.observer||t.update(),t.slideTo(o,0,!1)}function ae(e,t){const n=this,{$wrapperEl:r,params:i,activeIndex:o}=n;let s=o;i.loop&&(s-=n.loopedSlides,n.loopDestroy(),n.slides=r.children(`.${i.slideClass}`));const a=n.slides.length;if(e<=0)return void n.prependSlide(t);if(e>=a)return void n.appendSlide(t);let l=s>e?s+1:s;const c=[];for(let d=a-1;d>=e;d-=1){const e=n.slides.eq(d);e.remove(),c.unshift(e)}if("object"===typeof t&&"length"in t){for(let e=0;e<t.length;e+=1)t[e]&&r.append(t[e]);l=s>e?s+t.length:s}else r.append(t);for(let d=0;d<c.length;d+=1)r.append(c[d]);i.loop&&n.loopCreate(),i.observer||n.update(),i.loop?n.slideTo(l+n.loopedSlides,0,!1):n.slideTo(l,0,!1)}function le(e){const t=this,{params:n,$wrapperEl:r,activeIndex:i}=t;let o=i;n.loop&&(o-=t.loopedSlides,t.loopDestroy(),t.slides=r.children(`.${n.slideClass}`));let s,a=o;if("object"===typeof e&&"length"in e){for(let n=0;n<e.length;n+=1)s=e[n],t.slides[s]&&t.slides.eq(s).remove(),s<a&&(a-=1);a=Math.max(a,0)}else s=e,t.slides[s]&&t.slides.eq(s).remove(),s<a&&(a-=1),a=Math.max(a,0);n.loop&&t.loopCreate(),n.observer||t.update(),n.loop?t.slideTo(a+t.loopedSlides,0,!1):t.slideTo(a,0,!1)}function ce(){const e=this,t=[];for(let n=0;n<e.slides.length;n+=1)t.push(n);e.removeSlide(t)}function de({swiper:e}){Object.assign(e,{appendSlide:oe.bind(e),prependSlide:se.bind(e),addSlide:ae.bind(e),removeSlide:le.bind(e),removeAllSlides:ce.bind(e)})}function ue(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return pe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pe(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}
1}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function pe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var fe=["title",'link[rel="canonical"]','meta[name="description"]','meta[property^="og:"]','meta[property^="article:"]','meta[name^="twitter:"]','meta[name^="cXenseParse:"]',"script.yoast-schema-graph"].join(","),he="post-template-template-video",ve=".header-sam",me="sams-post",ge=".masthead__breadcrumbs",ye="single-developing_story",we=/window\.dataLayer\s*=\s*window\.dataLayer\s*\|\|\s*\[\];\s*window\.dataLayer\.push\(\s*(\{.*?\})\s*\);/,be=/window\.rapplerAds = (\{.*?\});/,Se=/window\.rapplerAds\.displayAd\(\s*"([^"]+)"(?:\s*,\s*"([^"]+)")?\s*\)/g,xe=/rapplerComments = (\{.*?\});/,Ee=/var rapplerSpeechify = (\{.*?\});/,Te=/rapplerCxense = (\{.*?\});/,Ce=new Map;function Ae(){var e;return null===(e=window.rapplerArticleSwipeNav)||void 0===e?void 0:e.currentPostId}function ke(e,t,n,r){var i=t.match(e);if(!i)return null;try{return JSON.parse(i[1])}catch(o){return console.error("article-config: failed to parse ".concat(r," for article ").concat(n),o),null}}function Le(e){return Array.from(e.matchAll(Se)).map((function(e){return[e[1],e[2]]}))}function Me(e,t){var n,r,i,o,s,a,l,c,d,u,p;if(t&&!Ce.has(t)){var f=function(e){return Array.from(e.querySelectorAll("script:not([src])")).map((function(e){var t;return null!==(t=e.textContent)&&void 0!==t?t:""})).join("\n")}(e);Ce.set(t,{headNodes:Array.from(null!==(n=null===(r=e.head)||void 0===r?void 0:r.querySelectorAll(fe))&&void 0!==n?n:[]).map((function(e){return e.cloneNode(!0)})),title:null!==(i=null===(o=e.querySelector("title"))||void 0===o?void 0:o.textContent)&&void 0!==i?i:"",dataLayer:ke(we,f,t,"dataLayer"),ads:ke(be,f,t,"rapplerAds"),displayAdPairs:Le(f),comments:ke(xe,f,t,"rapplerComments"),speechify:ke(Ee,f,t,"rapplerSpeechify"),cxense:ke(Te,f,t,"rapplerCxense"),isVideoTemplate:Boolean(null===(s=e.body)||void 0===s?void 0:s.classList.contains(he)),headerSponsorNode:null!==(a=null===(l=e.querySelector(ve))||void 0===l?void 0:l.cloneNode(!0))&&void 0!==a?a:null,isSponsored:Boolean(null===(c=e.body)||void 0===c?void 0:c.classList.contains(me)),mastheadBreadcrumbsNode:null!==(d=null===(u=e.querySelector(ge))||void 0===u?void 0:u.cloneNode(!0))&&void 0!==d?d:null,isDevelopingStory:Boolean(null===(p=e.body)||void 0===p?void 0:p.classList.contains(ye))}),function(){var e,t=Ae(),n=ue(Ce.keys());try{for(n.s();!(e=n.n()).done;){var r=e.value;if(Ce.size<=10)return;r!==t&&Ce.delete(r)}}catch(i){n.e(i)}finally{n.f()}}()}}function Pe(){var e=Ae();e&&Me(document,e)}function Ie(e){return!!e&&Ce.has(e)}function Oe(e){return _e.apply(this,arguments)}function _e(){return(_e=l()(d.a.mark((function e(t){var n,r,i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=new AbortController,r=setTimeout((function(){return n.abort()}),8e3),e.prev=2,e.next=5,fetch(t,{signal:n.signal});case 5:if(!(i=e.sent).ok){e.next=8;break}return e.abrupt("return",i);case 8:console.warn("swipe-navigation: ".concat(t," responded ").concat(i.status)),e.next=14;break;case 11:e.prev=11,e.t0=e.catch(2),console.warn("swipe-navigation: ".concat(t," failed"),e.t0);case 14:return e.prev=14,clearTimeout(r),e.finish(14);case 17:return e.abrupt("return",null);case 18:case"end":return e.stop()}}),e,null,[[2,11,14,17]])})))).apply(this,arguments)}function De(e){return Ne.apply(this,arguments)}function Ne(){return(Ne=l()(d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Oe(t);case 2:return n=e.sent,e.abrupt("return",n?n.json():null);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Be(e){return je.apply(this,arguments)}function je(){return(je=l()(d.a.mark((function e(t){var n;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Oe(t);case 2:return n=e.sent,e.abrupt("return",n?n.text():null);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Ge=null;function ze(){return Ge||(Ge="undefined"!==typeof ResizeObserver?Promise.resolve(ResizeObserver):n.e(1).then(n.bind(null,19)).then((function(e){return e.default}))),Ge}var qe=n(4),He=n.n(qe),Xe=n(7),Re=n.n(Xe),Fe=["sticky-leaderboard","mobile-sticky-leaderboard","oop","mobile-oop"],$e=new Map,Ve=new Set;function We(e){Ve.has(e)||(Ve.add(e),console.debug("swipe-ads: ".concat(e)))}function Ye(){var e,t=window.rapplerAds;return!(!t||t.disabled)&&(t.adpushupEnabled?(We("AdPushup is enabled, leaving ads as loaded"),!1):t.initialized?!(null===(e=window.googletag)||void 0===e||!e.cmd):(We("GPT is not initialized yet, skipping this activation"),!1))}function Ue(e){var t;if(e){$e.has(e)||$e.set(e,function(){var e;return Object.fromEntries(Object.entries(null!==(e=window.rapplerAds.definedSlots)&&void 0!==e?e:{}).filter((function(e){var t=He()(e,1)[0];return!Fe.includes(t)})))}());var n=null!==(t=$e.get(e))&&void 0!==t?t:{};$e.delete(e);var r=Object.keys(n);r.length&&(window.googletag.destroySlots(Object.values(n)),r.forEach((function(e){return delete window.rapplerAds.definedSlots[e]})))}}function Je(e){e&&Ye()&&$e.has(e)&&window.googletag.cmd.push((function(){return Ue(e)}))}function Ke(e,t,n,r){Ye()&&window.googletag.cmd.push((function(){Ue(n),function(e){var t=null===e||void 0===e?void 0:e.ads;null!==t&&void 0!==t&&t.targeting&&(window.rapplerAds.targeting=t.targeting,t.availableSlots&&Object.assign(window.rapplerAds.availableSlots,t.availableSlots),window.googletag.setConfig({targeting:t.targeting}))}(r);var i=function(e,t){var n,r=null!==(n=null===t||void 0===t?void 0:t.displayAdPairs)&&void 0!==n?n:[],i=[];return r.forEach((function(t){var n,r=He()(t,2),o=r[0],s=r[1];if(!Fe.includes(o)&&null!==(n=window.rapplerAds.availableSlots)&&void 0!==n&&n[o]){var a=null!==s&&void 0!==s?s:"gpt-".concat(o),l=document.getElementById(a);l&&e.contains(l)&&("none"===l.style.display&&(l.style.display=""),window.rapplerAds.defineAdSlot(o,!0,s),window.rapplerAds.definedSlots[o]&&(i.push(o),window.googletag.display(a)))}})),i}(e,r);$e.set(t,Object.fromEntries(i.map((function(e){return[e,window.rapplerAds.definedSlots[e]]}))))}
1))}var Qe="moodmeter",Ze="piano-article__post-moodmeter",et=".".concat(Ze),tt=new Map,nt=new Set,rt=null,it=null;function ot(){if(rt){var e=document.querySelector(et);e&&e.parentElement!==rt&&rt.appendChild(e)}}function st(e,t){if(e){var n=e.querySelector("#".concat(Qe));n&&(n.id="".concat(Qe,"-").concat(t))}}function at(e){var t,n=null===e||void 0===e||null===(t=e.querySelector("article.post"))||void 0===t?void 0:t.id.match(/^post-(\d+)$/);return n?Number(n[1]):null}function lt(){return window.MoodMeter?Promise.resolve():new Promise((function(e){window.addEventListener("rappler-moodmeter-js-loaded",(function(){return e()}),{once:!0})}))}function ct(){return(ct=l()(d.a.mark((function e(t){var n,r,i,o,s,a,l,c,u;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,lt();case 2:return e.next=4,null===(n=(r=window).waitForKeycloakInit)||void 0===n?void 0:n.call(r);case 4:if(it===t){e.next=7;break}return nt.delete(t),e.abrupt("return");case 7:l=(null===(i=window.keycloak)||void 0===i?void 0:i.authenticated)&&(null===(o=window.keycloak.idTokenParsed)||void 0===o?void 0:o.piano_id)||"guest",c=null!==(s=null===(a=window.rapplerArticleSwipeNav)||void 0===a?void 0:a.currentUserEmail)&&void 0!==s?s:"guest",u=new window.MoodMeter({articleId:t,username:c,pianoId:l,cxenseId:"cxense-1",deepId:"deep-1"}),tt.set(t,u),u.init();case 12:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function dt(){document.querySelectorAll(".ReactModalPortal").forEach((function(e){return e.remove()})),[document.body.classList,document.documentElement.classList].forEach((function(e){Array.from(e).filter((function(e){return e.startsWith("ReactModal")})).forEach((function(t){return e.remove(t)}))}))}function ut(e){if(e){var t=tt.get(e);t&&(tt.delete(e),"function"===typeof t.destroy&&t.destroy()),dt(),nt.delete(e),it===e&&(rt=null,it=null)}}function pt(e,t){rt&&it!==t&&(rt.id="".concat(Qe,"-").concat(it));var n=e&&t?e.querySelector("#".concat(Qe,", #").concat(Qe,"-").concat(t)):null;rt=n,it=n?t:null,ot(),n&&(n.id=Qe,t===function(){var e;return null===(e=window.rapplerArticleSwipeNav)||void 0===e?void 0:e.currentPostId}()||nt.has(t)||(nt.add(t),function(e){ct.apply(this,arguments)}(t)))}new MutationObserver((function(e){e.forEach((function(e){e.addedNodes.forEach((function(e){var t,n;if(e.nodeType===Node.ELEMENT_NODE){var r=null!==(t=e.classList)&&void 0!==t&&t.contains("ReactModalPortal")?e:null===(n=e.querySelector)||void 0===n?void 0:n.call(e,".ReactModalPortal");r&&r.parentElement!==document.body&&document.body.appendChild(r)}}))}))})).observe(document.body,{childList:!0,subtree:!0}),new MutationObserver((function(e){e.forEach((function(e){e.addedNodes.forEach((function(e){var t,n;e.nodeType===Node.ELEMENT_NODE&&((null===(t=e.classList)||void 0===t?void 0:t.contains(Ze))||(null===(n=e.querySelector)||void 0===n?void 0:n.call(e,et)))&&ot()}))}))})).observe(document.body,{childList:!0,subtree:!0});var ft="data-swipe-original-id",ht="data-swipe-slide-token",vt=["rappler-speechify","rappler-comments","rappler-comment-list","rappler-comments-form","comment-sort-form","rappler-comments-signup-intro","cx_inline","cx_after-article","cx_related-topics-widget","div-gpt-ad-1748402325296-0"].map((function(e){return"#".concat(e)})).concat('[id^="gpt-"]').join(","),mt=0;function gt(e){var t;return null!==(t=null===e||void 0===e?void 0:e.getAttribute(ht))&&void 0!==t?t:null}function yt(e,t){var n=e.getAttribute(ht);return n||(mt+=1,n="".concat(t,"-").concat(mt),e.setAttribute(ht,n)),n}function wt(e){var t=gt(e),n=t?Number(t.split("-")[0]):NaN;return Number.isNaN(n)?null:n}function bt(e,t){if(e&&t){var n=yt(e,t);e.querySelectorAll(vt).forEach((function(e){e.hasAttribute(ft)||(e.setAttribute(ft,e.id),e.id="".concat(e.id).concat("--").concat(n))}))}}var St="data-skeleton";function xt(){return'<div class="swiper-slide" '.concat(St,'="true">').concat('<div class="next-article-shimmer next-article-placeholder">\n\t\t\t<div class="next-article-shimmer__sidebar">\n\t\t\t\t<div class="shimmer-block shimmer-icon"></div>\n\t\t\t\t<div class="shimmer-block shimmer-icon"></div>\n\t\t\t</div>\n\t\t\t<div class="next-article-shimmer__main">\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--tag"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--title"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--title shimmer-line--title-short"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--meta"></div>\n\t\t\t\t<div class="shimmer-block shimmer-pill"></div>\n\t\t\t\t<div class="shimmer-block shimmer-thumbnail"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--body"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--body"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--body shimmer-line--body-short"></div>\n\t\t\t</div>\n\t\t</div>',"</div>")}var Et="moodmeter-sticky-mount--hidden",Tt=null,Ct=null,At=null;function kt(e){var t=e.getBoundingClientRect();Tt.style.top="".concat(t.top+window.scrollY,"px"),Tt.style.left="".concat(t.left+window.scrollX,"px"),Tt.style.width="".concat(t.width,"px"),Tt.style.height="".concat(t.height,"px")}function Lt(e){var t,n,r=Yt(e),i=null!==(t=null===r||void 0===r?void 0:r.querySelector(".post-single__moodmeter"))&&void 0!==t?t:null,o=null!==(n=i===At?Ct:null===i||void 0===i?void 0:i.querySelector(".moodmeter-sticky-wrapper"))&&void 0!==n?n:null;Tt.classList.toggle(Et,!o),o!==Ct&&(Ct&&At&&At.appendChild(Ct),Ct=null,At=null,o&&i?(kt(i),Tt.appendChild(o),Ct=o,At=i,pt(o,at(r))):pt(null,null))}function Mt(){return Ct}function Pt(e){Ct&&At&&e.contains(At)&&(At.appendChild(Ct),Ct=null,At=null)}function It(e){var t=document.querySelector(".article-swiper");if(t){Tt=function(e){var t=document.createElement("div");return t.className="".concat("moodmeter-sticky-mount"," ").concat("single-article"),e.insertAdjacentElement("afterend",t),t}(t),e.on("sliderFirstMove",(function(){Tt.classList.add(Et),dt()})),e.on("transitionEnd",(function(){return Lt(e)})),e.on("touchEnd",(function(){e.animating||Lt(e)})),ze().then((function(e){new e((function(){var e;null!==(e=At)&&void 0!==e&&e.isConnected&&kt(At)})).observe(document.body)})).catch((function(e){return console.error("swipe-navigation: sticky moodmeter resize watch failed",e)}));var n=!1;document.addEventListener("scroll",(function(){n||(n=!0,window.requestAnimationFrame((function(){var e;n=!1,Tt.classList.contains(Et)||null!==(e=At)&&void 0!==e&&e.isConnected&&kt(At)})))}),{passive:!0}),Lt(e)}}var Ot=new Map;function _t(e,t,n){var r,i=null!==(r=Ot.get(e))&&void 0!==r?r:new Set;if(Ot.set(e,i),!i.has(t)){var o=n();!1!==o&&(i.add(t),o instanceof Promise&&o.catch((function(e){return console.error("swipe-widgets: ".concat(t," failed"),e)})))}}function Dt(e){e&&Ot.delete(e)}var Nt=".post-single__content.entry-content",Bt="data-swipe-entry-content-stripped",jt=new Map;function Gt(e,t){var n,r=null===e||void 0===e||null===(n=e.querySelector)||void 0===n?void 0:n.call(e,Nt);r&&!r.hasAttribute(Bt)&&(jt.set(t,r.innerHTML),r.innerHTML="",r.setAttribute(Bt,""))}function zt(e,t){var n=null===e||void 0===e?void 0:e.querySelector(Nt);if(n&&n.hasAttribute(Bt)){var r=jt.get(t);void 0!==r&&(n.innerHTML=r,n.removeAttribute(Bt))}}var qt="data-swipe-dehydrated",Ht=new Map,Xt=new Map;function Rt(e){var t,n,r,i,o=gt(e);if(o&&function(e){return!!e&&!e.hasAttribute(qt)&&!!e.querySelector("article.post")}(e)){for(Pt(e),Je(o),null===(t=(n=window).rapplerCxenseReleaseWidget)||void 0===t||t.call(n,e),null===(r=(i=window).rapplerYoutubeDestroy)||void 0===r||r.call(i,e),function(e){e.querySelectorAll("iframe").forEach((function(e){e.src="about:blank",e.remove()}))}(e),Ht.delete(o),Ht.set(o,e.innerHTML);Ht.size>10;)Ht.delete(Ht.keys().next().value);e.innerHTML='<div class="next-article-shimmer next-article-placeholder">\n\t\t\t<div class="next-article-shimmer__sidebar">\n\t\t\t\t<div class="shimmer-block shimmer-icon"></div>\n\t\t\t\t<div class="shimmer-block shimmer-icon"></div>\n\t\t\t</div>\n\t\t\t<div class="next-article-shimmer__main">\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--tag"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--title"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--title shimmer-line--title-short"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--meta"></div>\n\t\t\t\t<div class="shimmer-block shimmer-pill"></div>\n\t\t\t\t<div class="shimmer-block shimmer-thumbnail"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--body"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--body"></div>\n\t\t\t\t<div class="shimmer-block shimmer-line shimmer-line--body shimmer-line--body-short"></div>\n\t\t\t</div>\n\t\t</div>',e.setAttribute(St,"true"),e.setAttribute(qt,"true"),Dt(o),un(o),ut(wt(e)),pn(e)}}function Ft(e,t){var n=gt(e);if(!n||!e.hasAttribute(qt))return Promise.resolve();var r=Xt.get(n);if(r)return r;var i=function(e,t){return $t.apply(this,arguments)}(e,t).finally((function(){return Xt.delete(n)}));
1return Xt.set(n,i),i}function $t(){return($t=l()(d.a.mark((function e(t,n){var r,i,o,s,a,l,c;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=gt(t),i=wt(t),!(o=Ht.get(r))){e.next=7;break}Ht.delete(r),e.next=18;break;case 7:if(null!==n&&void 0!==n&&n.url){e.next=9;break}return e.abrupt("return");case 9:return e.next=11,Be(n.url);case 11:if(l=e.sent){e.next=14;break}return e.abrupt("return");case 14:c=(new DOMParser).parseFromString(l,"text/html"),Ie(i)||Me(c,i),Gt(c,r),o=null!==(s=null===(a=c.querySelector("article.post"))||void 0===a?void 0:a.outerHTML)&&void 0!==s?s:"";case 18:if(o){e.next=20;break}return e.abrupt("return");case 20:t.innerHTML=o,t.removeAttribute(St),t.removeAttribute(qt),st(t,i),bt(t,i);case 25:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Vt(e,t){var n,r=Array.from(null!==(n=e.slides)&&void 0!==n?n:[]),i=e.activeIndex;r.forEach((function(e,t){Math.abs(t-i)>2&&Rt(e)})),r.forEach((function(e,n){var r;Math.abs(n-i)<=2&&Ft(e,null!==(r=t[n])&&void 0!==r?r:null).catch((function(e){return console.error("swipe-lifecycle: rehydration failed",e)}))}))}function Wt(e,t){var n=e.enabled;n||e.enable();try{t()}finally{n||e.disable()}}function Yt(e){var t,n,r,i;return null!==(t=null!==(n=null===(r=e.el)||void 0===r?void 0:r.querySelector(".swiper-slide-active"))&&void 0!==n?n:null===(i=e.slides)||void 0===i?void 0:i[e.activeIndex])&&void 0!==t?t:null}function Ut(e,t){var n=gt(e),r=wt(e);Rt(e),Pt(e),n&&(Ht.delete(n),Xt.delete(n),jt.delete(n),Je(n),Dt(n),un(n)),null===r||t.has(r)||ut(r),pn(e),function(e){e===sn&&(sn=null,on=null)}(e)}function Jt(e,t,n){var r,i,o,a=Array.from(null!==(r=e.slides)&&void 0!==r?r:[]),l=e.activeIndex,c=a.length-n;if(!(c<=0)){var d=Math.min(Math.max(0,l-5),Math.max(0,c)),u=Math.min(Math.max(0,a.length-1-l-5),Math.max(0,c-d));if(d||u){var p=[].concat(s()(Array.from({length:d},(function(e,t){return t}))),s()(Array.from({length:u},(function(e,t){return a.length-1-t})))),f=new Set(p),h=new Set(a.filter((function(e,t){return!f.has(t)})).map((function(e){return wt(e)})).filter((function(e){return null!==e})));p.forEach((function(e){return Ut(a[e],h)})),Wt(e,(function(){return e.removeSlide(p)})),s()(p).sort((function(e,t){return t-e})).forEach((function(e){return t.splice(e,1)}));var v=wt(null===(i=e.slides)||void 0===i?void 0:i[e.activeIndex]);null!==v&&(null===(o=t[e.activeIndex])||void 0===o?void 0:o.id)!==v&&console.error("swipe-lifecycle: the article stack no longer lines up with the slides after a trim")}}}function Kt(e,t,n){return Qt.apply(this,arguments)}function Qt(){return(Qt=l()(d.a.mark((function e(t,n,r){var i,o,s;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!(o=null===(i=t.slides)||void 0===i?void 0:i[n])){e.next=4;break}return e.next=4,Ft(o,null!==(s=r[n])&&void 0!==s?s:null);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Zt(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var en="data-swipe-managed",tn="data-swipe-gtm-bound",nn="has-inline-recommendation",rn=new Set,on=null,sn=null,an=null,ln=null;function cn(e,t){try{t()}catch(n){console.error("swipe-activation: ".concat(e," failed"),n)}}function dn(e){null!==e&&void 0!==e&&e.dataLayer&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Zt(Object(n),!0).forEach((function(t){Re()(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Zt(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({event:"virtual_pageview"},JSON.parse(JSON.stringify(e.dataLayer)))))}function un(e){e&&rn.delete(e)}function pn(e){e===an&&(an=null)}function fn(e){var t,n,r;document.head.querySelectorAll(fe).forEach((function(e){return e.setAttribute(en,"")})),an=null!==(t=null===(n=e.slides)||void 0===n?void 0:n[e.activeIndex])&&void 0!==t?t:null,sn=an,on=null!==(r=Ae())&&void 0!==r?r:null}function hn(e,t){var n,r,i,o,s,a=Yt(e),l=a?Array.from(e.slides).indexOf(a):e.activeIndex,c=null!==(n=null!==(r=at(a))&&void 0!==r?r:null===(i=t[l])||void 0===i?void 0:i.id)&&void 0!==n?n:null,d=null!==(o=null!==(s=t.find((function(e){return e.id===c})))&&void 0!==s?s:t[l])&&void 0!==o?o:null;if(a&&c&&a!==sn){var u=function(e){var t=e&&Ce.get(e)||null;return t&&(Ce.delete(e),Ce.set(e,t)),t}(c),p=yt(a,c),f=gt(sn);cn("slide identity",(function(){var e;
1bt(sn,on),(e=a)&&e.querySelectorAll("[".concat(ft,"]")).forEach((function(e){var t;e.id=null!==(t=e.getAttribute(ft))&&void 0!==t?t:e.id,e.removeAttribute(ft)}))})),cn("entry content identity",(function(){return Gt(sn,f)})),cn("gtm pageview",(function(){return function(e){null!==e&&void 0!==e&&e.dataLayer&&(window.dataLayer=window.dataLayer||[],window.dataLayer.push(JSON.parse(JSON.stringify(e.dataLayer))))}(u)})),cn("history",(function(){return function(e,t){var n;null!==e&&void 0!==e&&e.url&&(null===(n=window.history.state)||void 0===n?void 0:n.slideToken)!==t&&window.history.pushState({articleId:e.id,slideToken:t},"",e.url)}(d,p)})),cn("title",(function(){return function(e){null!==e&&void 0!==e&&e.title&&(document.title=e.title)}(d)})),cn("head",(function(){return function(e){e&&(document.head.querySelectorAll("[".concat(en,"]")).forEach((function(e){return e.remove()})),e.headNodes.forEach((function(e){var t=e.cloneNode(!0);t.setAttribute(en,""),document.head.appendChild(t)})),e.title&&(document.title=e.title))}(u)})),cn("body class",(function(){return function(e){document.body.classList.toggle(he,Boolean(null===e||void 0===e?void 0:e.isVideoTemplate))}(u)})),cn("developing story body class",(function(){return function(e){document.body.classList.toggle(ye,Boolean(null===e||void 0===e?void 0:e.isDevelopingStory))}(u)})),cn("sponsored body class",(function(){return function(e){document.body.classList.toggle(me,Boolean(null===e||void 0===e?void 0:e.isSponsored))}(u)})),cn("header sponsor bar",(function(){return function(e){var t,n=document.querySelector("header.site-header");n&&(null===(t=n.querySelector(ve))||void 0===t||t.remove(),null!==e&&void 0!==e&&e.headerSponsorNode&&n.insertBefore(e.headerSponsorNode.cloneNode(!0),n.firstChild))}(u)})),cn("masthead breadcrumbs",(function(){return function(e){var t,n=null===(t=document.querySelector("header.site-header"))||void 0===t?void 0:t.querySelector(ge);n&&null!==e&&void 0!==e&&e.mastheadBreadcrumbsNode&&n.replaceWith(e.mastheadBreadcrumbsNode.cloneNode(!0))}(u)})),cn("virtual pageview",(function(){return dn(u)})),cn("recsys article context",(function(){return function(e){window.wpPostId=e}(c)})),cn("piano",(function(){return function(e){ln=e,window.tp=window.tp||[],window.tp.push(["init",function(){var t=window.tp.tags||[];"string"===typeof t&&(t=t.split(",").map((function(e){return e.trim()}))),t=e.querySelector(".cx_inline")?t.concat(t.includes(nn)?[]:nn):t.filter((function(e){return e!==nn})),window.tp.push(["setTags",t]),window.tp.experience.execute()}])}(a)})),cn("ads",(function(){return Ke(a,p,f,u)})),a!==an&&(cn("gtm event binding",(function(){return function(e){e.querySelectorAll("[data-gtm-on]").forEach((function(e){if(!e.hasAttribute(tn)){e.setAttribute(tn,"");var t=e.dataset;e.addEventListener(t.gtmOn,(function(){var e=t.gtmVar||"dataLayer",n={};window[e]=window[e]||[],t.gtmEvent&&(n.event=String(t.gtmEvent)),t.gtmCategory&&(n.category=String(t.gtmCategory)),t.gtmLabel&&(n.label=String(t.gtmLabel)),t.gtmValue&&(n.value=Number(t.gtmValue)),t.gtmFields&&(n.fields=JSON.parse(t.gtmFields)),window[e].push(n)}))}}))}(a)})),cn("comments",(function(){return function(e,t){var n=window.rapplerCommentsReinit;null!==t&&void 0!==t&&t.comments&&"function"===typeof n&&!rn.has(e)&&(rn.add(e),n(t.comments).catch((function(e){return console.error("swipe-activation: comments init failed",e)})))}(p,u)})),cn("cxense",(function(){return function(e,t,n){_t(t,"cxense",(function(){var e;return!("function"!==typeof window.rapplerCxenseInitWidget||!window.rapplerCxense)&&(window.rapplerCxense.use_soft_section_after_article=Boolean(null===n||void 0===n||null===(e=n.cxense)||void 0===e?void 0:e.use_soft_section_after_article),window.rapplerCxenseInitWidget(),!0)}))}(0,p,u)})),cn("speechify",(function(){return function(e,t,n){_t(t,"speechify",(function(){var t;return"function"===typeof window.rapplerSpeechifyInit&&window.rapplerSpeechifyInit(e,null!==(t=null===n||void 0===n?void 0:n.speechify)&&void 0!==t?t:void 0)}))}(a,p,u)})),cn("youtube",(function(){return function(e,t){_t(t,"youtube",(function(){return"function"===typeof window.rapplerYoutubeInit&&window.rapplerYoutubeInit(e)}))}(a,p)})),cn("embeds",(function(){return function(e,t){_t(t,"embeds",(function(){var t;return"function"===typeof window.rapplerInitEmbeds&&(window.rapplerInitEmbeds(null!==(t=e.querySelector("article.post"))&&void 0!==t?t:e),!0)}))}(a,p)})),cn("share",(function(){return function(e,t){_t(t,"share",(function(){return"function"===typeof window.rapplerSocialShareInit&&([e,Mt()].forEac
1h((function(e){e&&window.rapplerSocialShareInit(e)})),!0)}))}(a,p)})),cn("content summary",(function(){return function(e,t){_t(t,"content-summary",(function(){return"function"===typeof window.rapplerIraContentSummaryInit&&(window.rapplerIraContentSummaryInit(e),!0)}))}(a,p)})),cn("context summary",(function(){return function(e,t){_t(t,"context-summary",(function(){var t;return"function"===typeof window.rapplerContextSummaryInit&&(window.rapplerContextSummaryInit(null!==(t=Mt())&&void 0!==t?t:e),!0)}))}(a,p)})),cn("developing story",(function(){return function(e,t,n){_t(t,"developing-story",(function(){return!(null===n||void 0===n||!n.isDevelopingStory||"function"!==typeof window.rapplerDevelopingStoryInit)&&(window.rapplerDevelopingStoryInit(e),!0)}))}(a,p,u)}))),on=c,sn=a}}function vn(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mn(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var gn=".tp-modal",yn=".tp-backdrop",wn="swipe-nav-subscription-gate";function bn(e){var t,n=e.name,r=e.blurb,i=e.price,o=e.period,s=e.billing,a=e.badge,l=e.contact,c=e.subscribeUrl,d=null!==(t=null===i||void 0===i?void 0:i.split(" "))&&void 0!==t?t:[],u=He()(d,2),p=u[0],f=u[1],h=l?'<p class="'.concat(wn,'__tier-contact">').concat(l,"</p>"):'\n\t\t\t<p class="'.concat(wn,'__tier-price">\n\t\t\t\t<span class="').concat(wn,'__tier-price-currency">').concat(p,'</span>\n\t\t\t\t<span class="').concat(wn,'__tier-price-value">').concat(f,'</span><span class="').concat(wn,'__tier-price-period">').concat(o,'</span>\n\t\t\t</p>\n\t\t\t<a class="').concat(wn,'__tier-subscribe" href="').concat(c,'">Subscribe</a>\n\t\t\t').concat(s?'<p class="'.concat(wn,'__tier-billing">').concat(s,"</p>"):"","\n\t\t");return'\n\t\t<div class="'.concat(wn,'__tier">\n\t\t\t').concat(a?'<p class="'.concat(wn,'__tier-badge">').concat(a,"</p>"):"",'\n\t\t\t<h3 class="').concat(wn,'__tier-name">').concat(n,'</h3>\n\t\t\t<p class="').concat(wn,'__tier-blurb">').concat(r,"</p>\n\t\t\t").concat(h,"\n\t\t</div>\n\t")}function Sn(e){e.preventDefault(),window.keycloak&&window.keycloak.isAdapterInitialized?window.rapplerPianoSignIn():window.waitForKeycloakInit().then((function(){return window.rapplerPianoSignIn()}))}function xn(e){var t=e.querySelector("article.post");if(t&&!t.querySelector(".".concat(wn))){t.innerHTML='<div class="'.concat("post-single__content entry-content",'">').concat('\n\t\t<div class="'.concat(wn,'">\n\t\t\t<p class="').concat(wn,'__eyebrow">Join our community</p>\n\t\t\t<img class="').concat(wn,'__wordmark" src="').concat("https://www.rappler.com/tachyon/2025/08/rappler-orange.png",'" alt="Rappler+" />\n\t\t\t<p>This is a Rappler+ exclusive story. Join our community to continue reading.</p>\n\t\t\t<p>Be part of a global community that stands for truth.</p>\n\t\t\t<p>In a world filled with noise, Rappler+ is your space for clarity, courage, and\n\t\t\tconnection. By becoming a member, you\'re supporting independent journalism and\n\t\t\tactively helping shape a future where press freedom thrives.</p>\n\t\t\t<p>Get access to award-winning, exclusive insights, and be part of a community that\n\t\t\tvalues clarity over noise. Join us today and stand at the forefront of change.</p>\n\t\t\t<p>Learn more about Rappler+ <a class="').concat(wn,'__link" href="').concat("https://www.rappler.com/plus",'">here</a>.</p>\n\t\t\t<a class="').concat(wn,"__link ").concat(wn,'__home-link" href="').concat("https://www.rappler.com/",'">Back to home page</a>\n\t\t\t<div class="').concat(wn,'__tiers">\n\t\t\t\t').concat([{name:"Rappler+ Lite",blurb:"Your gateway to premium journalism",price:"PHP 249",period:"/month",subscribeUrl:"https://www.rappler.com/plus/?hardgate=lite#plans__options--lite"},{name:"Monthly Subscription",blurb:"Full access, full flexibility",price:"PHP 400",period:"/month",billing:"Billed monthly",subscribeUrl:"https://www.rappler.com/plus/?hardgate=plus_monthly"},{name:"Annual Subscription",badge:"Best value -- save 30%",blurb:"Fuel Fearless Journalism all year roun
1d",price:"PHP 292",period:"/month",billing:"Billed annually",subscribeUrl:"https://www.rappler.com/plus/?hardgate=plus_annual"},{name:"Ripple Effect",blurb:"Double the impact",price:"PHP 5,998",period:"/year",subscribeUrl:"https://www.rappler.com/plus/?hardgate=ripple#plans__options--ripple"},{name:"Institutional",blurb:"Strategic partnerships for truth and impact",contact:"Email [email protected] for rates"}].map(bn).join(""),'\n\t\t\t</div>\n\t\t\t<p>Already a Rappler+ Member? Sign in <button type="button" class="').concat(wn,"__link ").concat(wn,'__sign-in">here</button>.</p>\n\t\t</div>\n\t'),"</div>");var n=t.querySelector(".".concat(wn,"__sign-in"));n&&n.addEventListener("click",Sn)}}function En(e){var t;return!(null===(t=e.querySelector("article.post"))||void 0===t||!t.classList.contains("tier-plus"))}function Tn(e){var t;return!(null===(t=e.querySelector("article.post"))||void 0===t||!t.querySelector(".sams-block"))}function Cn(e){return An.apply(this,arguments)}function An(){return(An=l()(d.a.mark((function e(t){var n,r,i;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(En(t)&&!Tn(t)){e.next=2;break}return e.abrupt("return");case 2:return n=!1,e.prev=3,e.t0=Boolean,e.next=7,null===(r=(i=window).rapplerPianoIsPlusMember)||void 0===r?void 0:r.call(i);case 7:e.t1=e.sent,n=(0,e.t0)(e.t1),e.next=14;break;case 11:e.prev=11,e.t2=e.catch(3),console.error("swipe-navigation: membership check failed",e.t2);case 14:n||xn(t);case 15:case"end":return e.stop()}}),e,null,[[3,11]])})))).apply(this,arguments)}function kn(e){new MutationObserver((function(t){var n,r=vn(t);try{for(r.s();!(n=r.n()).done;){var i,o=vn(n.value.addedNodes);try{for(o.s();!(i=o.n()).done;){var s,a,l,c,d,u=i.value;if(u.nodeType===Node.ELEMENT_NODE){var p=(null===(s=u.matches)||void 0===s?void 0:s.call(u,gn))||(null===(a=u.querySelector)||void 0===a?void 0:a.call(u,gn)),f=(null===(l=u.matches)||void 0===l?void 0:l.call(u,yn))||(null===(c=u.querySelector)||void 0===c?void 0:c.call(u,yn));if(p||f){document.querySelectorAll("".concat(gn,", ").concat(yn)).forEach((function(e){return e.remove()})),document.body.classList.remove("tp-modal-open");var h=null!==(d=ln&&!document.body.contains(ln)?null:ln)&&void 0!==d?d:document.querySelector(".swiper-slide-active");h&&(xn(h),e.updateAutoHeight())}}}}catch(v){o.e(v)}finally{o.f()}}}catch(v){r.e(v)}finally{r.f()}})).observe(document.body,{childList:!0,subtree:!0})}function Ln(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return Mn(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mn(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function Mn(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Pn=".basicGateParentContainer",In=".post-single__content.entry-content",On=".article-content-container",_n="cropped",Dn=null,Nn=null,Bn=null;function jn(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),i=r.top-n.top,o=i+r.height;e.style.maxHeight="".concat(o+4,"px");var s="calc( ".concat(i,"px - ").concat(150,"px )"),a="".concat(i,"px"),l="linear-gradient( to bottom, #000 0, #000 "+s+", transparent "+a+", #000 "+a+", #000 100% )";e.style.maskImage=l,e.style.webkitMaskImage=l}function Gn(){var e=document.querySelector(".swiper-slide-active");if(e){var t=e.querySelector("".concat(On,".").concat(_n)),n=e.querySelector(Pn);t&&n&&jn(t,n)}}function zn(e){if(Dn&&document.body.contains(Dn)){if(!e.animating){var t=document.querySelector(".swiper-slide-active");if(t){var n=Dn;
1document.querySelectorAll(Pn).forEach((function(e){e!==n&&e.remove()}));var r=".".concat(wn);if(t.querySelector(r)||Tn(t))n.remove(),e.updateAutoHeight();else{t.contains(n)||function(e,t){var n=t.querySelector(In);if(n){var r=n.querySelector("p");r?r.insertAdjacentElement("afterend",e):n.appendChild(e)}else t.appendChild(e)}(n,t),function(e){document.querySelectorAll("".concat(On,".").concat(_n)).forEach((function(t){e.contains(t)||t.classList.remove(_n)}));var t=e.querySelector(On);t&&t.classList.add(_n)}(t);var i=t.querySelector(On),o=t.querySelector(In);i&&jn(i,n),o&&function(e){if(Bn!==e){var t=Bn;Bn=e,ze().then((function(n){Nn||(Nn=new n(Gn)),t&&Nn.unobserve(t),Nn.observe(e)})).catch((function(e){return console.error("swipe-navigation: gate crop-boundary watch failed",e)}))}}(o),e.updateAutoHeight()}Dn=null}}}else Dn=null}function qn(e){new MutationObserver((function(t){var n,r=Ln(t);try{for(r.s();!(n=r.n()).done;){var i,o=Ln(n.value.addedNodes);try{for(o.s();!(i=o.n()).done;){var s,a,l=i.value;if(l.nodeType===Node.ELEMENT_NODE){var c=null!==(s=l.matches)&&void 0!==s&&s.call(l,Pn)?l:null===(a=l.querySelector)||void 0===a?void 0:a.call(l,Pn);c&&(Dn=c,zn(e))}}}catch(d){o.e(d)}finally{o.f()}}}catch(d){r.e(d)}finally{r.f()}})).observe(document.body,{childList:!0,subtree:!0}),e.on("slideChangeTransitionEnd",(function(){return zn(e)}))}function Hn(e,t){return Xn.apply(this,arguments)}function Xn(){return(Xn=l()(d.a.mark((function e(t,n){var r,i,o;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return i=n.map((function(e){return"exclude[]=".concat(e)})).join("&"),e.next=3,De("".concat(t,"rappler/v1/article-swipe-nav/latest-articles?").concat(i));case 3:return o=e.sent,e.abrupt("return",null!==(r=null===o||void 0===o?void 0:o[0])&&void 0!==r?r:null);case 5:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Rn(){if(window.lazyLoadScripts)return Promise.resolve(!0);var e=document.getElementById("lazy-load-scripts-js");return e?new Promise((function(t){e.addEventListener("load",(function(){return t(!!window.lazyLoadScripts)}),{once:!0}),e.addEventListener("error",(function(){return t(!1)}),{once:!0})})):Promise.resolve(!1)}function Fn(e){return $n.apply(this,arguments)}function $n(){return($n=l()(d.a.mark((function e(t){return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t.length){e.next=2;break}return e.abrupt("return");case 2:return e.next=4,Rn();case 4:if(e.sent){e.next=7;break}return console.warn("swipe-navigation: lazy-load-scripts is unavailable, leaving lazy bundles to scroll"),e.abrupt("return");case 7:return e.next=9,Promise.all(t.map((function(e){return window.lazyLoadScripts.load(e).then((function(t){t||console.warn("swipe-navigation: no lazy entry for ".concat(e))}))})));case 9:case"end":return e.stop()}}),e)})))).apply(this,arguments)}var Vn="cx_inline_recsys",Wn="#".concat(Vn);function Yn(e,t){return Un.apply(this,arguments)}function Un(){return(Un=l()(d.a.mark((function e(t,n){var r,i,o;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,De("".concat(t,"rappler/v1/article-swipe-nav/recsys/").concat(n));case 2:return o=e.sent,e.abrupt("return",null!==(r=null===o||void 0===o||null===(i=o.data)||void 0===i?void 0:i.alter_recos)&&void 0!==r?r:[]);case 4:case"end":return e.stop()}}),e)})))).apply(this,arguments)}function Jn(){var e=new MutationObserver((function(e){if(e.some((function(e){return Array.from(e.addedNodes).some((function(e){var t;return e.nodeType===Node.ELEMENT_NODE&&(e.id===Vn||(null===(t=e.querySelector)||void 0===t?void 0:t.call(e,Wn)))}))}))){var t=document.querySelectorAll(Wn);t.length>1&&Array.from(t).slice(0,-1).forEach((function(e){return e.remove()}))}}));e.observe(document.body,{childList:!0,subtree:!0})}var Kn="ra_swipe_cue_seen",Qn=!1;function Zn(){var e;if(!function(){if(Qn)return!0;if(document.cookie.split("; ").some((function(e){return e.startsWith("".concat(Kn,"="))})))return!0;try{return"1"===localStorage.getItem(Kn)}catch(e){return!1}}()){var t=function(){var e=document.createElement("div");return e.id="swipe-cue",e.className="swipe-cue",e.setAttribute("role","dialog"),e.setAttribute("aria-live","polite"),e.innerHTML='\n\t\t<button id="swipe-cue-close" class="swipe-cue__close" type="button" aria-label="Dismiss">×</button>\n\t\t<div class="swipe-cue__content">\n\t\t\t<p class="swipe-cue__text">Swipe left or right to read more stories.</p>\n\t\t\t<div class="swipe-cue__imgs">\n\t\t\t\t<div class="swipe-cue__img"><img src="'.concat("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEEAAABDCAMAAAD04Zh8AAABX1BMVEUAAAAMDjIPEyMMESANEiEXHzgVHysLEh8PFigTGS4LDx8KER8KEB8LEB8RG
1CoLEB8YIDkLEB8LEB8LEB8VHjEXIDgXIDgXIDgLEB4XIDgSGC0dITcXHzgXIDgXIDgXIDgLEB8LEB8XITgXITgSGy8QGCsYIDgLEB8XITgMEB8LER8KEB8XIDgMEB8LEB8WIDkYIDcYIDklJTkLEB8LEB8YHzje4PoLEB8XIDgAAAP////b3fjd3/n9/v8AAAAGCBEAAQfa3PZQVGcCAwrx8v/q6/1NUmQHCxoPERng4vt8f5P3+P/s7v7r7PgEBxP6+//h4/2Tlqzv8Pv09f94fJA7P1EQFCEDBQ/X2OpITF42OUgdICsnKTgMDhbl5/2kp76ZnLMSFibi4/He3+6Dhpxwc4dgY3YuMkPd3/jDxdm6vNGMkKVtcYRna35BRVcVGCMGCRfl5/bP0d/Hyt+vssTUgM1DAAAANnRSTlMABfv+/P0IRTIm+Uj2yxdzS++/bx/59e9d1jkR5svDtZqJhF5SQKumcGQs4t3ds6GPeQ3o2OMGcZCuAAAEb0lEQVRYw6WWaVfaQBSGoxMoUKAUESqudd+tXTKTkJBokEhBQBEQwX3XunT5/6c3sZxoJ0lTeb9kOTMP95k7cwhjkTGyzHSWuKe3qyPARw/p66wEPyFLnRHGCJk2n/r9yUgkkvT3/wfhAyFJ46bLNzqY8JA/SQyO+lwShggJw8U3GSfEQ8zAfXzYFWSAxBlmfIB49OmJoaXR6enp0cnBBCH6q4ExN60YjiX0wfHJyFP7cASqgteJyD9b4THm91kNnOgjnl7S57ys44byoN/uBwZJr4eMObcC8sHrtR3gGyC9ZNi5FTCCeL4MjY7bFLIEA55vW2/4yS/GBp60cN76gEQAMd9+6GL8oQBGoVm4awNjkeXh+biBiFlXEfM8OTwzGGmyhvAMIJ4lPLE8BCtmcmPPe+5pry3u5purTaUb9zB0yearkSDGgZEn52W4vUhRpJxLJeks3Y3fUAgT9BahYhGhtxYtwlpTSnEp6WvarIJOCGHlrqFobIAegeWGxHHcirBtg+jyz4IqUn8Iwsm6zAapKl
1itlk/pCKjCSmQkgHFwDis3+UtxbQMQgb8Ri0htCG0EXcUcQnUVI8RflTlOXNvakymRfujFKiAMEaqKKNLU82/r9ZpyWoIxUIWFyAQgsgIt4vUlw2GM5ONSKdNSa8qPjAgIWgSGv9KroBAjLMb4E1Y2K6KYE1oqVnfAgxYxEK8pES+zAP1XNYTT1/scRGqp6e0Mx1mLQBWUyBRGfPasqdbUW9gtkPxdtaBf3YrMBFn+WioJDf4o/ctodqokiSJcXYtg9RyeUgbieo0z41akhvkbsAZEludv8+Zk9yK1YlVYgftL4bZREJ9NN0WCjJPIEf9V0hGpfIkDgmUVaA6m2YscpU+hC2ZoxJ6GpxgHEUBsZjgHRGGH78Z+RxE+m3cggN8pjz7DPFuRzSx00RFRamLsY2xFUhl9CR2zdcijRYaxEXETcWsPBbsYOxE3kbJ1PMvQCPdVFDZ53MMwHYjsX/F4BOa8XKR8ouIoTHm5SG5DxiGY8XKR3HeaQIs4W9R1iw6q2P/Jw+HqBFE4NLv5MhFptW4cDOcqVhx2dWYdUf/lFGK74nCyDtIoyjhmAiN5K2d7uoWmZifhH3+nZya5gNTjsq3DYZpdsKrd+/4tbgfJLcEOUN5QWSiBBiQDmC0q/GPS63YliKLUlFHUAvAOs3Xl7nTTyM1hZV+0AQgXKhtg6Phg+avHUiXzmIJoC9iF78eYBSHYzZ8LOWqaFYC17EMPli+obWhXgQ+kqUQxf5L7J+DSHsAsYv6XUCmUHQGcrmADYMYxq1S/HexUhLwdJlXIt8wK6IQwKqpp5X4XMBkpX8j9tapiTrpar7N4FgA2MTYk0h4AU9s90zGVwn4u97g45S1hp5HWUMAPAPuEX78PAQZS1DHVs4Of3zMlCVLZOawqUMBn6tPaHoMAAztcvm9dVKsX9ypfZFHwHeM64VcGBjjaw0OxqGn6N2oPYxq4xEy8mfpjFYy+8dMDfgODXe0tSLMhcgAAAABJRU5ErkJggg==",'" alt="" class="swipe-cue__icon swipe-cue__icon--left"></div>\n\t\t\t\t<div class="swipe-cue__img"><img src="').concat("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAE4AAABNCAMAAAA/4KKBAAABoVBMVEUAAAAOFCMUGjQOEyIXIDgLEB8EBxMWHTAGChcWIDgLEB8QFykXIDgLEB8SGCwSGCkRFyYXHDAXIDcQFykVHjEbIykfIjMLEB4XIDgLEB8KDx4LEB8KDx4LEB8LEB8XITgRFyoPFicKDhwLEB8MEB8LEB8XHzgLEB8MEB8XIDgXIDgXIDgLEB8LEB4LEB4RFisLEB8XIDgXIDgYIDgLECAXIDgTHTMXHzcLDx8LER4XIDgMER8WIToXITkXIDgXIDgLEB8YIDje4PoLEB8XIDjd3/kAAAAMESHb3fgAAAQEBg7////9/f8CBAva3PcBAgf19v/3+P/y8//v8P4JDh37+//g4vv5+v/+///q7P7m6P3k5v2oq8AJCxIXGiUIDBro6v3j5Pzp6vbf4e1rbn9ZXG0rLj0TFR8OEBjs7v7k5fKTlarz9PrZ2+vT1eXAw9a3ucqho7ggIjDd3/rt7vfJy9u2uM+tsMV+gJJ2eo5gZHY9QVIxNEQcHivO0ONOUmI4O0slKDWYm7GLjqJDR1jFx9aEh5tydYhkZ3pSVWhNT2Ks8ZfQAAAAQnRSTlMA/QT+/f3+Ff77lzX47yolGg2HXBEKB+Ti1cpF9rB6Uz4v/fPcuaGRf/Dp0aWdTyDCvLKmcG5n/eqIeGlHysWW3tccpEGmAAAGYUlEQVRYw62Yh1fbMBDG4zgOCbthFUqZpZRCaQvduzlb8kycRRIg7L33Ht3rr67sJIUMrEC5PN7j2dKPT3fSpyO2gqKov8R2jXGTd9RcI+4dz9+9RtxD/jlfdI28fp7vu0ZcEZFXeY289zz/+BpxN3g3X/7fayxvaa5qbi55WGOr4vm3/0GqLfG863LwqSi96XE7+Jarwlr7u/isIOiPV4M130xrenzX4/G87+u+3+VwEGDzVWD3eTLX3f2q9dzBquwyHj67fPa7jXn3X1Wff1jdZzwsfXpp2lNj3s03mZvkrpE5t6c2d7jdZu/t7GmqJr/ki8dke5VWZYyv9ZQaZbh7I++EW+0AGKAqH+/GfUJ7nCmixIT15zeA2g5gXQg5GXiSh1bKP8/JtlHkvoe2/NIaMYM+f1k/khgoyqU5HI6K7KdvSrsvOFz224a0fVUPKoca3Mt+TfaHuzI7B3byyR8lZZiRRlYiouAdXJbCHVmvu3m3oyjNqHnmqbJdRDJfPDCkTUXiotfrHViQcRbOQ6pQkR78hgmHw43lF/PKy4CRZrdVUSA0MTCM8IPM93wp35yeXgGc0yhX60W0TmBH0XQ0ZEgTRHVb4+BWZgEd5y6XBizPDB9rLFTnhVXUAeOfW1UFU9qYOoXCuD5jxCve3XV2PgHkrYA+IuOGfLQmwG3oz1LQZ0jzRVaOJQaX1WRsR7f7nJm9BO23Ko5NkCXk3taVH4i0xJriTUnbQ04WerJOaobVvuDQ9zGvGNmXcE827TVgDn3bSkub3EAMbiRKsjNXcbbXwbWhkr89vuyHusxx1fXAaPK6MmBKG4r9kGQGOuw5PkLqcK4QaFE3xusjo1xGTp5xRNqnLT0pLTAxg1jM3LLlxjmHeQg4MTFAJmxGPzu5onOHsAEY2f9FGRcM2riy6CfSHtVSHK8TaweKMWMgeOzizmypl8MMOloI+MyF6hOfEIeJMdGijEXbg14SQ8vyWe5qHwHjlL4qQ+bOHVCGNSKt4QaV1gvOGcVn4OZ3EXSky8MYVjQZNQ+VL7h0iNow99pGj3pSiKCZncAewinbIVbkRPuxQVOaV9lNaAzcKaSlqoDRuZDXDPVUS57EFuKS0vFyJCktpJ+iMNto2C89isF/EBFMnL7hhEpb2oqicVOaEFtL+FmAnoJo9nYsrQyatPHJRLjMbms1XHL2JGVF8cA0CoeNMtTZC8BVGYVIiovvIPZ20ooOAvM+89nQ5KyfwKfJJoFHhRViPeg1Y3AV4fp6bFhRTBBS6fwjEbiuKsMSA+UFFKItXQivEB2RWTyKfgdCpjRT8apMLFgQfOovPzTRC4H9U6qQmjs2eYzQnGlF6RBDE0vmuoPEzovpJwJLJ4P/5o5Fd9b0lLS05PGkmag/C1BXQgqhiucmx+NpaRlMMbLt5+i5K8bSXkDwUkIcjO2hUXJ10aIOpJVxGs0XmPyMWAztr23WW68IXCP6AA0XGpZkVjJuCEotWkCbVmlrFSKzCVmbWjTanBJL3D3DTDZp6vSv0tGCqitTEm6wxHWAtDrmpeZOX4iNk/IH5sLtlsm7Axo5/tQQzPSKyoyzscYSF5YnU5WgMwcXZHhhs1YnLw8VRvMF9RmNcswawv4TOi5pojsJjYUay513G6Pd+UJoQ9FpNMoClLVa8ZpA2o8WgBuaGPEzGkIuFlqtHeAoJtBxoXXkQgc7w8QP2y1wte2ctlBIaUOHG6ux+WBwJAwtVskDaS9agLxNNRL3EbtelOCe5Wq5xBLB0XnkJ2nJndY3jzSligVuZFE5lK17nlZg0Mk8XZ9p/cpPxBjNuGX2XCMRoRBpZh9LvS8aGemXKtL9XfkqORkopt8+DPoeEijSjD6WwVwvtUex9YBrzvr6EdN9rHlk6d2nfzrms5Cmb531sfQoJ8td04ULvVNZl4m0+lRJ6csthjZtIp6XtykGl74Z0s6aRTqvDjtnl+K55TX7WDnZx9ov8W0YsPLcgp6TPzEUOEVtbM45paePTWjDpOnPyhrpYxlcV3n57zqN/zG/LSshsj7BdHNhSN0ifSwLLy8NI4mpvgOMJp3uhJRAMDQfDKjRlSmZSCursF0tXgJmNTR7uP9leHf9x/SG5OewxaGiRuVtADwq+5GEkKS5MIYGijRKFN2rA4I0P9yLYjqMLrG3qfhBceeTWwWW8y8iu45fQNT2iAAAAABJRU5ErkJggg==",'" alt="" class="swipe-cue__icon swipe-cue__icon--right"></div>\n\t\t\t</div>\n\t\t</div>\n\t'),e}();document.body.appendChild(t),requestAnimationFrame((function(){return t.classList.add("swipe-cue--visible")}));var n,r=!1,i=0,o=0;t.addEventListener("touchstart",s,{passive:!0}),t.addEventListener("touchmove",a,{passive:!0}),null===(e=t.querySelector("#swipe-cue-close"))||void 0===e||e.addEventListener("click",l),n=setTimeout(l,5e3)}function s(e){var t=e.touches[0];i=t.clientX,o=t.clientY}function a(e){var t=e.touches[0];Math.hypot(t.clientX-i,t.clientY-o)>=10&&l()}function l(){r||(r=!0,clearTimeout(n),t.removeEventListener("touchstart",s),t.removeEventListener("touchmove",a),t.remove(),function(){if(Qn=!0,document.cookie="".concat(Kn,"=1; path=/; max-age=31536000; SameSite=Lax"),!document.cookie.split("; ").some((function(e){return e.startsWith("".concat(Kn,"="))})))try{localStorage.setItem(Kn,"1")}catch(e){}}())}}function er(e,t){var n="undefined"!==typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];
1if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"===typeof e)return tr(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return tr(e,t)}(e))||t&&e&&"number"===typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var o,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,o=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw o}}}}function tr(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var nr=".article-swiper",rr="article-swiper--enabled",ir="(max-width: 768px)",or="#ira-content-summary",sr=".post-single__sub",ar=["keydown","mousemove","wheel","touchmove","touchstart","touchend"];function lr(e){try{e()}catch(t){console.error("swipe-navigation: init step failed",t)}}function cr(){return cr=l()(d.a.mark((function e(){var t,n,r,o,a,c,u,p,f,h,v,m,g,y,w,b,S,x,E,T,C,A,k,L,M,P,I,O,_,D,N,B,j,G,z,q,H,X,R,F,$,V,W,Y,U,J,K,Q;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(Q=function(){var e=h.find((function(e){return!m.some((function(t){return t.id===e.id}))&&!g.has(e.id)&&!f.has(e.id)}));return e?(g.add(e.id),e):null},K=function(){return(K=l()(d.a.mark((function e(t){var n,r,o,s,a;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Yn(u,t.id);case 2:n=e.sent,r=er(n),e.prev=4,s=d.a.mark((function e(){var t,n,r,i,s,a;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(t=o.value,n=Number(t),!(m.some((function(e){return e.id===n}))||g.has(n)||f.has(n))){e.next=4;break}return e.abrupt("return","continue");case 4:return e.next=6,De("".concat(u,"wp/v2/posts/").concat(t,"?_fields[]=id&_fields[]=link&_fields[]=title"));case 6:if(null===(r=e.sent)||void 0===r||!r.id){e.next=11;break}return a={id:r.id,url:r.link,title:null!==(i=null===(s=r.title)||void 0===s?void 0:s.rendered)&&void 0!==i?i:""},g.add(a.id),e.abrupt("return",{v:a});case 11:case"end":return e.stop()}}),e)})),r.s();case 7:if((o=r.n()).done){e.next=16;break}return e.delegateYield(s(),"t0",9);case 9:if("continue"!==(a=e.t0)){e.next=12;break}return e.abrupt("continue",14);case 12:if("object"!==i()(a)){e.next=14;break}return e.abrupt("return",a.v);case 14:e.next=7;break;case 16:e.next=21;break;case 18:e.prev=18,e.t1=e.catch(4),r.e(e.t1);case 21:return e.prev=21,r.f(),e.finish(21);case 24:return e.abrupt("return",null);case 25:case"end":return e.stop()}}),e,null,[[4,18,21,24]])})))).apply(this,arguments)},J=function(e){return K.apply(this,arguments)},U=function(){return(U=l()(d.a.mark((function e(t,n){var r,i,o,a,l,h;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(null===(r=c.devNextArticleOverride)||void 0===r||!r.length){e.next=7;break}return i=r.filter((function(e){return e.id!==(null===t||void 0===t?void 0:t.id)&&!g.has(e.id)})),o=i.length?i:r,a=o[Math.floor(Math.random()*o.length)],g.add(a.id),e.abrupt("return",a);case 7:if("prev"!==n){e.next=12;break}return e.next=10,Hn(u,m.map((function(e){return e.id})).concat(s()(f)));case 10:return l=e.sent,e.abrupt("return",null!==l&&void 0!==l?l:Q());case 12:return e.next=14,J(t);case 14:return h=e.sent,p&&console.log("swipe-navigation: next article source = ".concat(h?"recsys":"editor's-pick")),e.abrupt("return",null!==h&&void 0!==h?h:Q());case 17:case"end":return e.stop()}}),e)})))).apply(this,arguments)},Y=function(e,t){return U.apply(this,arguments)},W=function(){hn(E,m),Cn(Yt(E)).then((function(){return E.updateAutoHeight()})),window.scrollTo(0,0),Vt(E,m),Jt(E,m,x),C("prev")},V=function(){hn(E,m),Cn(Yt(E)).then((function(){return E.updateAutoHeight()})),window.scrollTo(0,0),Vt(E,m),Jt(E,m,x),C("next")},$=function(){var e=Yt(E),t=gt(e);e&&t&&zt(e,t)},F=function(){return(F=l()(d.a.mark((function e(){var t;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return null===(t=document.querySelector(nr))||void 0===t||t.classList.add(rr),e.abrupt("return",new Promise((function(e){var t,n,r=new re(nr,{modules:[de,ie],autoplay:!1,autoHeight:!0,spaceBetween:50,edgeSwipeDetection:!0,edgeSwipeThreshold:40,keyboard:{enabled:!0,onlyInViewport:!0},on:{slideNextTransitionStart:$,slidePrevTransitionStart:$,slideNextTransitionEnd:V,slidePrevTransitionEnd:W,transitionEnd:X,afterInit:function(t){e(t)},touchStart:function(e,t){S=N(t),B(e,S),w=!0,q()},touchMove:function(e,t){S=N(t)},touchEnd:function(){S=null,w=!1,H()}}}),i=!1;if(document.addEventListener("scroll",(function(){i||(i=!0,window.requestAnimationFrame((function(){i=!1,w||B(r,document.documentElement.scrollTop)})))}),{passive:!0}),null!==(t=window.PerformanceObserver)&&void 0!==t&&null!==(n=t.supportedEntryTypes)&&void 0!==n&&n.includes("layout-shift")){var o=!1;new PerformanceObserver((function(){o||(o=!0,window.requestAnimationFrame((function(){o=!1,B(r,w?S:document.documentElement.scrollTop)})))})).observe({type:"layout-shift",buffered:!0})}})));case 2:case"end":return e.stop()}}),e)})))).apply(this,arguments)},R=function(){return F.apply(this,arguments)},X=function(){var e=j,t=G;if(j=null,G=null,null!==e&&t&&E.activeIndex===e){var n="next"===t?E.activeIndex<E.slides.length-1:E.activeIndex>0;z(n?"reverted":y[t].running?"slow":"failed")}},H=function(){var e;G=null!==(e=E.swipeDirection)&&void 0!==e?e:null},q=function(){j=E.activeIndex},z=function(e){window.dispatchEvent(new CustomEvent("rappler-swipe-navigation-event",{detail:{module:"swipe-navigation",action:e}}))},B=function(e,t){e.allowTouchMove=t<=_()},N=function(e){return e.type.startsWith("touch")?e.targetTouches[0].pageY:e.pageY},D=function(e){if(!e)return null;var t=e.getBoundingClientRect();return 0===t.height?null:t.bottom+window.scrollY},_=function(){var e=document.querySelector(".swiper-slide-active"),t=D(null===e||void 0===e?void 0:e.querySelector(Pn));if(null!==t)return t;var n=D(null===e||void 0===e?void 0:e.querySelector(or));if(null!==n)return n;var r=D(null===e||void 0===e?void 0:e.querySelector(sr));return null!==r?r:600},O=function(){var e=m[0],t=E.slides[E.activeIndex];window.history.replaceState({articleId:e.id,slideToken:yt(t,e.id)},"",window.location.href),window.addEventListener("popstate",(function(e){var t,n=null!==(t=e.state)&&void 0!==t?t:{},r=n.articleId,i=n.slideToken,o=Array.from(E.slides),s=i?o.findIndex((function(e){return gt(e)===i})):-1;-1===s&&r&&(s=o.findIndex((function(e){return wt(e)===r}
1))),-1!==s?Kt(E,s,m).catch((function(e){return console.error("swipe-navigation: restoring the target slide failed",e)})).finally((function(){return Wt(E,(function(){return E.slideTo(s,300)}))})):window.location.reload()}))},I=function(){return I=l()(d.a.mark((function e(t,n,r){var i,o,s,a,l,c,u,p,f,h,v,y=arguments;return d.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=y.length>3&&void 0!==y[3]?y[3]:null,o=y.length>4&&void 0!==y[4]?y[4]:null,s="prev"===n,o&&null!==i&&void 0!==i&&i.isConnected&&"true"===i.getAttribute(St)&&(a=i.querySelector(".next-article-placeholder"))&&(Me(u=(new DOMParser).parseFromString(o,"text/html"),t.id),p=yt(i,t.id),Gt(u,p),a.outerHTML=null!==(l=null===(c=u.querySelector("article.post"))||void 0===c?void 0:c.outerHTML)&&void 0!==l?l:"",i.removeAttribute(St),st(i,t.id),bt(i,t.id)),!(r<=0)){e.next=6;break}return e.abrupt("return");case 6:return e.next=8,Y(t,n);case 8:if(f=e.sent){e.next=11;break}return e.abrupt("return");case 11:return h=null,v=null,e.prev=13,e.next=16,M();case 16:return b=Date.now(),e.next=19,Be(f.url);case 19:if(v=e.sent){e.next=22;break}return e.abrupt("return");case 22:if(!i||i.isConnected){e.next=24;break}return e.abrupt("return");case 24:return e.next=26,L();case 26:if(!i||i.isConnected){e.next=28;break}return e.abrupt("return");case 28:Wt(E,(function(){s?(m.unshift(f),E.prependSlide(xt())):(m.push(f),E.appendSlide(xt()))})),h=s?E.slides[0]:E.slides[E.slides.length-1],E.update();case 31:return e.prev=31,g.delete(f.id),e.finish(31);case 34:return e.next=36,P(f,n,r-1,h,v);case 36:case"end":return e.stop()}}),e,null,[[13,,31,34]])}))),I.apply(this,arguments)},P=function(e,t,n){return I.apply(this,arguments)},M=function(){var e=250-(Date.now()-b);return e<=0?Promise.resolve():new Promise((function(t){return setTimeout(t,e)}))},L=function(){return new Promise((function(e){var t=Date.now()+2e3,n=function n(){(!k()||Date.now()>t)&&(E.off("transitionEnd",n),E.off("touchEnd",n),e())};n(),E.on("transitionEnd",n),E.on("touchEnd",n)}))},k=function(){return w||E.animating},A=function(){var e=null,t=null,n=function(){ar.forEach((function(e){return window.removeEventListener(e,r)})),C("next"),C("prev")},r=function(r){if("touchstart"===r.type){var i,o,s,a=null===(i=r.targetTouches)||void 0===i?void 0:i[0];return e=null!==(o=null===a||void 0===a?void 0:a.pageX)&&void 0!==o?o:null,void(t=null!==(s=null===a||void 0===a?void 0:a.pageY)&&void 0!==s?s:null)}if("touchmove"===r.type){var l,c=null===(l=r.targetTouches)||void 0===l?void 0:l[0];if(null===e||!c)return;if(Math.hypot(c.pageX-e,c.pageY-t)<10)return}n()};ar.forEach((function(e){return window.addEventListener(e,r,{passive:!0})}))},C=function(e){var t="prev"===e,n=E.activeIndex,r=5-(t?n:E.slides.length-1-n);r<=0||T(t?m[0]:m[m.length-1],e,r)},T=function(e,t,n){var r=y[t];r.running?r.pending=!0:(r.running=!0,P(e,t,n).catch((function(e){return console.error("swipe-navigation: preloading failed",e)})).finally((function(){r.running=!1,"prev"===t&&(E.allowSlidePrev=E.activeIndex>0),r.pending&&(r.pending=!1,C(t))})))},window.matchMedia(ir).matches){e.next=29;break}return e.abrupt("return");case 29:return c=null!==(t=window.rapplerArticleSwipeNav)&&void 0!==t?t:{},u=null!==(n=c.restUrl)&&void 0!==n?n:"".concat(window.location.origin,"/wp-json/"),p=Boolean(c.logNextArticleSource),f=new Set(null!==(r=c.specialExecutionPostIds)&&void 0!==r?r:[]),h=null!==(o=c.editorsPickFallback)&&void 0!==o?o:[],v={id:c.currentPostId,url:window.location.href,title:document.title},m=[v],g=new Set,y={next:{running:!1,pending:!1},prev:{running:!1,pending:!1}},w=!1,b=0,S=null,x=Math.max(11,Number(c.maxSlides)||20),Pe(),Fn(null!==(a=c.lazyScriptHandles)&&void 0!==a?a:[]).catch((function(e){return console.error("swipe-navigation: force-loading lazy scripts failed",e)})),e.next=46,R();case 46:E=e.sent,lr((function(){return fn(E)})),lr((function(){return It(E)})),lr(O),lr(A),lr(Zn),lr(Jn),lr((function(){return qn(E)})),lr((function(){return kn(E)})),T(v,"next",1),T(v,"prev",1),j=null,G=null;case 59:case"end":return e.stop()}}),e)}))),cr.apply(this,arguments)}document.addEventListener("DOMContentLoaded",(function(){return cr.apply(this,arguments)}))}]);
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.