Produto
Produto
Biblioteca de saúde
Biblioteca de saúde
Calculadoras
Calculadoras
Sobre
Sobre
O Flo a Dois chegou! Descubra as vantagens do app e saiba como criar sua conta
Tentando engravidar

Monitoramento de ovulação

|<\?(?:php)?[\s\S]*?\?>/gi,s=n(e);for(s="<"===s.substring(s.length-1)?s.substring(0,s.length-1):s;;){var a=s;if(s=a.replace(o,"").replace(i,(function(e,r){return t.indexOf("<"+r.toLowerCase()+">")>-1?e:""})),a===s)return s}}},436:(e,t,r)=>{"use strict";e.exports=function(e,t){return r(296).apply(this,[e].concat(t))}},315:e=>{"use strict";e.exports=function(e){return!1!==e&&0!==e&&0!==e&&""!==e&&"0"!==e&&(!Array.isArray(e)||0!==e.length)&&null!=e}},470:e=>{"use strict";function t(e){if("string"!=typeof e)throw new TypeError("Path must be a string. Received "+JSON.stringify(e))}function r(e,t){for(var r,n="",i=0,o=-1,s=0,a=0;a<=e.length;++a){if(a2){var l=n.lastIndexOf("/");if(l!==n.length-1){-1===l?(n="",i=0):i=(n=n.slice(0,l)).length-1-n.lastIndexOf("/"),o=a,s=0;continue}}else if(2===n.length||1===n.length){n="",i=0,o=a,s=0;continue}t&&(n.length>0?n+="/..":n="..",i=2)}else n.length>0?n+="/"+e.slice(o+1,a):n=e.slice(o+1,a),i=a-o-1;o=a,s=0}else 46===r&&-1!==s?++s:s=-1}return n}var n={resolve:function(){for(var e,n="",i=!1,o=arguments.length-1;o>=-1&&!i;o--){var s;o>=0?s=arguments[o]:(void 0===e&&(e=process.cwd()),s=e),t(s),0!==s.length&&(n=s+"/"+n,i=47===s.charCodeAt(0))}return n=r(n,!i),i?n.length>0?"/"+n:"/":n.length>0?n:"."},normalize:function(e){if(t(e),0===e.length)return".";var n=47===e.charCodeAt(0),i=47===e.charCodeAt(e.length-1);return 0!==(e=r(e,!n)).length||n||(e="."),e.length>0&&i&&(e+="/"),n?"/"+e:e},isAbsolute:function(e){return t(e),e.length>0&&47===e.charCodeAt(0)},join:function(){if(0===arguments.length)return".";for(var e,r=0;r0&&(void 0===e?e=i:e+="/"+i)}return void 0===e?".":n.normalize(e)},relative:function(e,r){if(t(e),t(r),e===r)return"";if((e=n.resolve(e))===(r=n.resolve(r)))return"";for(var i=1;ic){if(47===r.charCodeAt(a+p))return r.slice(a+p+1);if(0===p)return r.slice(a+p)}else s>c&&(47===e.charCodeAt(i+p)?u=p:0===p&&(u=0));break}var d=e.charCodeAt(i+p);if(d!==r.charCodeAt(a+p))break;47===d&&(u=p)}var f="";for(p=i+u+1;p<=o;++p)p!==o&&47!==e.charCodeAt(p)||(0===f.length?f+="..":f+="/..");return f.length>0?f+r.slice(a+u):(a+=u,47===r.charCodeAt(a)&&++a,r.slice(a))},_makeLong:function(e){return e},dirname:function(e){if(t(e),0===e.length)return".";for(var r=e.charCodeAt(0),n=47===r,i=-1,o=!0,s=e.length-1;s>=1;--s)if(47===(r=e.charCodeAt(s))){if(!o){i=s;break}}else o=!1;return-1===i?n?"/":".":n&&1===i?"//":e.slice(0,i)},basename:function(e,r){if(void 0!==r&&"string"!=typeof r)throw new TypeError('"ext" argument must be a string');t(e);var n,i=0,o=-1,s=!0;if(void 0!==r&&r.length>0&&r.length<=e.length){if(r.length===e.length&&r===e)return"";var a=r.length-1,l=-1;for(n=e.length-1;n>=0;--n){var c=e.charCodeAt(n);if(47===c){if(!s){i=n+1;break}}else-1===l&&(s=!1,l=n+1),a>=0&&(c===r.charCodeAt(a)?-1==--a&&(o=n):(a=-1,o=l))}return i===o?o=l:-1===o&&(o=e.length),e.slice(i,o)}for(n=e.length-1;n>=0;--n)if(47===e.charCodeAt(n)){if(!s){i=n+1;break}}else-1===o&&(s=!1,o=n+1);return-1===o?"":e.slice(i,o)},extname:function(e){t(e);for(var r=-1,n=0,i=-1,o=!0,s=0,a=e.length-1;a>=0;--a){var l=e.charCodeAt(a);if(47!==l)-1===i&&(o=!1,i=a+1),46===l?-1===r?r=a:1!==s&&(s=1):-1!==r&&(s=-1);else if(!o){n=a+1;break}}return-1===r||-1===i||0===s||1===s&&r===i-1&&r===n+1?"":e.slice(r,i)},format:function(e){if(null===e||"object"!=typeof e)throw new TypeError('The "pathObject" argument must be of type Object. Received type '+typeof e);return function(e,t){var r=t.dir||t.root,n=t.base||(t.name||"")+(t.ext||"");return r?r===t.root?r+n:r+"/"+n:n}(0,e)},parse:function(e){t(e);var r={root:"",dir:"",base:"",ext:"",name:""};if(0===e.length)return r;var n,i=e.charCodeAt(0),o=47===i;o?(r.root="/",n=1):n=0;for(var s=-1,a=0,l=-1,c=!0,u=e.length-1,p=0;u>=n;--u)if(47!==(i=e.charCodeAt(u)))-1===l&&(c=!1,l=u+1),46===i?-1===s?s=u:1!==p&&(p=1):-1!==s&&(p=-1);else if(!c){a=u+1;break}return-1===s||-1===l||0===p||1===p&&s===l-1&&s===a+1?-1!==l&&(r.base=r.name=0===a&&o?e.slice(1,l):e.slice(a,l)):(0===a&&o?(r.name=e.slice(1,s),r.base=e.slice(1,l)):(r.name=e.slice(a,s),r.base=e.slice(a,l)),r.ext=e.slice(s,l)),a>0?r.dir=e.slice(0,a-1):o&&(r.dir="/"),r},sep:"/",delimiter:":",win32:null,posix:null};n.posix=n,e.exports=n},351:()=>{}},t={},function r(n){var i=t[n];if(void 0!==i)return i.exports;var o=t[n]={exports:{}};return e[n](o,o.exports,r),o.exports}(209);var e,t},e.exports=t()},8551:(e,t,r)=>{"use strict";var n=r(34),i=String,o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not an object")}},8622:(e,t,r)=>{"use strict";var n=r(2195),i=r(4901),o=n.WeakMap;e.exports=i(o)&&/native code/.test(String(o))},8686:(e,t,r)=>{"use strict";var n=r(3724),i=r(9039);e.exports=n&&i((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},8706:(e,t,r)=>{"use strict";var n=r(6518),i=r(9039),o=r(4376),s=r(34),a=r(8981),l=r(6198),c=r(6837),u=r(4659),p=r(1469),d=r(597),f=r(8227),h=r(9519),g=f("isConcatSpreadable"),m=h>=51||!i((function(){var e=[];return e[g]=!1,e.concat()[0]!==e})),v=function(e){if(!s(e))return!1;var t=e[g];return void 0!==t?!!t:o(e)};n({target:"Array",proto:!0,arity:1,forced:!m||!d("concat")},{concat:function(e){var t,r,n,i,o,s=a(this),d=p(s,0),f=0;for(t=-1,n=arguments.length;t{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},8745:(e,t,r)=>{"use strict";var n=r(616),i=Function.prototype,o=i.apply,s=i.call;e.exports="object"==typeof Reflect&&Reflect.apply||(n?s.bind(o):function(){return s.apply(o,arguments)})},8773:(e,t)=>{"use strict";var r={}.propertyIsEnumerable,n=Object.getOwnPropertyDescriptor,i=n&&!r.call({1:2},1);t.f=i?function(e){var t=n(this,e);return!!t&&t.enumerable}:r},8814:(e,t,r)=>{"use strict";var n=r(9039),i=r(2195).RegExp;e.exports=n((function(){var e=i("(?b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$c")}))},8940:(e,t,r)=>{"use strict";var n=r(6518),i=r(2703);n({global:!0,forced:parseInt!==i},{parseInt:i})},8981:(e,t,r)=>{"use strict";var n=r(7750),i=Object;e.exports=function(e){return i(n(e))}},8992:(e,t,r)=>{"use strict";r(8111)},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9167:(e,t,r)=>{"use strict";var n=r(2195);e.exports=n},9169:(e,t,r)=>{"use strict";r.d(t,{A:()=>o});r(6031);var n=r(6510),i=r.n(n);const o=function(){function e(){i()(".lozad",{load:function(e){e&&"img"===e.tagName.toLowerCase()?e.src=e.dataset.src:e&&e.style.backgroundImage&&(e.style.backgroundImage="url('".concat(e.dataset.src,"')"));var t=new Image;t.src=e.dataset.src,t.onload=function(){e.parentElement.classList.add("loaded"),setTimeout((function(){e.classList.add("fade")}),150)},setTimeout((function(){e.classList.add("fade")}),5e3)}}).observe()}return document.querySelector(".lozad")&&e(),{init:e}}()},9213:(e,t,r)=>{"use strict";var n=r(6080),i=r(9504),o=r(7055),s=r(8981),a=r(6198),l=r(1469),c=i([].push),u=function(e){var t=1===e,r=2===e,i=3===e,u=4===e,p=6===e,d=7===e,f=5===e||p;return function(h,g,m,v){for(var y,b,x=s(h),w=o(x),S=a(w),k=n(g,m),T=0,E=v||l,O=t?E(h,S):r||d?E(h,0):void 0;S>T;T++)if((f||T in w)&&(b=k(y=w[T],T,x),e))if(t)O[T]=b;else if(b)switch(e){case 3:return!0;case 5:return y;case 6:return T;case 2:c(O,y)}else switch(e){case 4:return!1;case 7:c(O,y)}return p?-1:i||u?u:O}};e.exports={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)}},9225:(e,t,r)=>{"use strict";var n,i,o,s,a=r(2195),l=r(8745),c=r(6080),u=r(4901),p=r(9297),d=r(9039),f=r(397),h=r(7680),g=r(4055),m=r(2812),v=r(9544),y=r(6193),b=a.setImmediate,x=a.clearImmediate,w=a.process,S=a.Dispatch,k=a.Function,T=a.MessageChannel,E=a.String,O=0,A={},_="onreadystatechange";d((function(){n=a.location}));var L=function(e){if(p(A,e)){var t=A[e];delete A[e],t()}},P=function(e){return function(){L(e)}},C=function(e){L(e.data)},M=function(e){a.postMessage(E(e),n.protocol+"//"+n.host)};b&&x||(b=function(e){m(arguments.length,1);var t=u(e)?e:k(e),r=h(arguments,1);return A[++O]=function(){l(t,void 0,r)},i(O),O},x=function(e){delete A[e]},y?i=function(e){w.nextTick(P(e))}:S&&S.now?i=function(e){S.now(P(e))}:T&&!v?(s=(o=new T).port2,o.port1.onmessage=C,i=c(s.postMessage,s)):a.addEventListener&&u(a.postMessage)&&!a.importScripts&&n&&"file:"!==n.protocol&&!d(M)?(i=M,a.addEventListener("message",C,!1)):i=_ in g("script")?function(e){f.appendChild(g("script"))[_]=function(){f.removeChild(this),L(e)}}:function(e){setTimeout(P(e),0)}),e.exports={set:b,clear:x}},9228:(e,t,r)=>{"use strict";r(7495);var n=r(9565),i=r(6840),o=r(7323),s=r(9039),a=r(8227),l=r(6699),c=a("species"),u=RegExp.prototype;e.exports=function(e,t,r,p){var d=a(e),f=!s((function(){var t={};return t[d]=function(){return 7},7!==""[e](t)})),h=f&&!s((function(){var t=!1,r=/a/;return"split"===e&&((r={}).constructor={},r.constructor[c]=function(){return r},r.flags="",r[d]=/./[d]),r.exec=function(){return t=!0,null},r[d](""),!t}));if(!f||!h||r){var g=/./[d],m=t(d,""[e],(function(e,t,r,i,s){var a=t.exec;return a===o||a===u.exec?f&&!s?{done:!0,value:n(g,t,r,i)}:{done:!0,value:n(e,r,t,i)}:{done:!1}}));i(String.prototype,e,m[0]),i(u,d,m[1])}p&&l(u[d],"sham",!0)}},9296:(e,t,r)=>{"use strict";var n=r(4055)("span").classList,i=n&&n.constructor&&n.constructor.prototype;e.exports=i===Object.prototype?void 0:i},9297:(e,t,r)=>{"use strict";var n=r(9504),i=r(8981),o=n({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return o(i(e),t)}},9306:(e,t,r)=>{"use strict";var n=r(4901),i=r(6823),o=TypeError;e.exports=function(e){if(n(e))return e;throw new o(i(e)+" is not a function")}},9433:(e,t,r)=>{"use strict";var n=r(2195),i=Object.defineProperty;e.exports=function(e,t){try{i(n,e,{value:t,configurable:!0,writable:!0})}catch(r){n[e]=t}return t}},9462:(e,t,r)=>{"use strict";var n=r(9565),i=r(2360),o=r(6699),s=r(6279),a=r(8227),l=r(1181),c=r(5966),u=r(7657).IteratorPrototype,p=r(2529),d=r(9539),f=a("toStringTag"),h="IteratorHelper",g="WrapForValidIterator",m=l.set,v=function(e){var t=l.getterFor(e?g:h);return s(i(u),{next:function(){var r=t(this);if(e)return r.nextHandler();if(r.done)return p(void 0,!0);try{var n=r.nextHandler();return r.returnHandlerResult?n:p(n,r.done)}catch(e){throw r.done=!0,e}},return:function(){var r=t(this),i=r.iterator;if(r.done=!0,e){var o=c(i,"return");return o?n(o,i):p(void 0,!0)}if(r.inner)try{d(r.inner.iterator,"normal")}catch(e){return d(i,"throw",e)}return i&&d(i,"normal"),p(void 0,!0)}})},y=v(!0),b=v(!1);o(b,f,"Iterator Helper"),e.exports=function(e,t,r){var n=function(n,i){i?(i.iterator=n.iterator,i.next=n.next):i=n,i.type=t?g:h,i.returnHandlerResult=!!r,i.nextHandler=e,i.counter=0,i.done=!1,m(this,i)};return n.prototype=t?y:b,n}},9463:(e,t,r)=>{"use strict";var n=r(6518),i=r(3724),o=r(2195),s=r(9504),a=r(9297),l=r(4901),c=r(1625),u=r(655),p=r(2106),d=r(7740),f=o.Symbol,h=f&&f.prototype;if(i&&l(f)&&(!("description"in h)||void 0!==f().description)){var g={},m=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(h,this)?new f(e):void 0===e?f():f(e);return""===e&&(g[t]=!0),t};d(m,f),m.prototype=h,h.constructor=m;var v="Symbol(description detection)"===String(f("description detection")),y=s(h.valueOf),b=s(h.toString),x=/^Symbol\((.*)\)[^)]+$/,w=s("".replace),S=s("".slice);p(h,"description",{configurable:!0,get:function(){var e=y(this);if(a(g,e))return"";var t=b(e),r=v?S(t,7,-1):w(t,x,"$1");return""===r?void 0:r}}),n({global:!0,constructor:!0,forced:!0},{Symbol:m})}},9472:(e,t,r)=>{"use strict";var n,i=r(2195),o=r(8745),s=r(4901),a=r(4215),l=r(2839),c=r(7680),u=r(2812),p=i.Function,d=/MSIE .\./.test(l)||"BUN"===a&&((n=i.Bun.version.split(".")).length<3||"0"===n[0]&&(n[1]<3||"3"===n[1]&&"0"===n[2]));e.exports=function(e,t){var r=t?2:1;return d?function(n,i){var a=u(arguments.length,1)>r,l=s(n)?n:p(n),d=a?c(arguments,r):[],f=a?function(){o(l,this,d)}:l;return t?e(f,i):e(f)}:e}},9504:(e,t,r)=>{"use strict";var n=r(616),i=Function.prototype,o=i.call,s=n&&i.bind.bind(o,o);e.exports=n?s:function(e){return function(){return o.apply(e,arguments)}}},9519:(e,t,r)=>{"use strict";var n,i,o=r(2195),s=r(2839),a=o.process,l=o.Deno,c=a&&a.versions||l&&l.version,u=c&&c.v8;u&&(i=(n=u.split("."))[0]>0&&n[0]<4?1:+(n[0]+n[1])),!i&&s&&(!(n=s.match(/Edge\/(\d+)/))||n[1]>=74)&&(n=s.match(/Chrome\/(\d+)/))&&(i=+n[1]),e.exports=i},9539:(e,t,r)=>{"use strict";var n=r(9565),i=r(8551),o=r(5966);e.exports=function(e,t,r){var s,a;i(e);try{if(!(s=o(e,"return"))){if("throw"===t)throw r;return r}s=n(s,e)}catch(e){a=!0,s=e}if("throw"===t)throw r;if(a)throw s;return i(s),r}},9544:(e,t,r)=>{"use strict";var n=r(2839);e.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(n)},9565:(e,t,r)=>{"use strict";var n=r(616),i=Function.prototype.call;e.exports=n?i.bind(i):function(){return i.apply(i,arguments)}},9617:(e,t,r)=>{"use strict";var n=r(5397),i=r(5610),o=r(6198),s=function(e){return function(t,r,s){var a=n(t),l=o(a);if(0===l)return!e&&-1;var c,u=i(s,l);if(e&&r!=r){for(;l>u;)if((c=a[u++])!=c)return!0}else for(;l>u;u++)if((e||u in a)&&a[u]===r)return e||u||0;return!e&&-1}};e.exports={includes:s(!0),indexOf:s(!1)}},9773:(e,t,r)=>{"use strict";var n=r(6518),i=r(4495),o=r(9039),s=r(3717),a=r(8981);n({target:"Object",stat:!0,forced:!i||o((function(){s.f(1)}))},{getOwnPropertySymbols:function(e){var t=s.f;return t?t(a(e)):[]}})},9904:(e,t,r)=>{"use strict";r(6518)({target:"Object",stat:!0,sham:!r(3724)},{create:r(2360)})},9978:(e,t,r)=>{"use strict";var n=r(6518),i=r(9565),o=r(9504),s=r(7750),a=r(4901),l=r(4117),c=r(788),u=r(655),p=r(5966),d=r(1034),f=r(2478),h=r(8227),g=r(6395),m=h("replace"),v=TypeError,y=o("".indexOf),b=o("".replace),x=o("".slice),w=Math.max;n({target:"String",proto:!0},{replaceAll:function(e,t){var r,n,o,h,S,k,T,E,O,A,_=s(this),L=0,P="";if(!l(e)){if((r=c(e))&&(n=u(s(d(e))),!~y(n,"g")))throw new v("`.replaceAll` does not allow non-global regexes");if(o=p(e,m))return i(o,e,_,t);if(g&&r)return b(u(_),e,t)}for(h=u(_),S=u(e),(k=a(t))||(t=u(t)),T=S.length,E=w(1,T),O=y(h,S);-1!==O;)A=k?u(t(S,O,h)):f(S,h,O,[],void 0,t),P+=x(h,L,O)+A,L=O+T,O=O+E>h.length?-1:y(h,S,O+E);return L{var t=e&&e.__esModule?()=>e.default:()=>e;return r.d(t,{a:t}),t},r.d=(e,t)=>{for(var n in t)r.o(t,n)&&!r.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},r.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),r.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{"use strict";r(1629),r(6099),r(8992),r(3949),r(3500),r(6031);function e(e){for(var t=1;t1200?(o(t),o(n),o(r),i(e)):window.innerWidth>759&&window.innerWidth<1200?(o(e),o(r),i(n),i(t)):window.innerWidth<760&&(o(e),o(n),i(t),i(r))};const i=function(){!function(){var e=document.querySelector("header.flo-header"),t=function(){var t=e.getBoundingClientRect();if("absolute"!==e.style.position){var r=window.pageYOffset||document.documentElement.scrollTop,n=(t.top?24:0)+r,i="transition: none; top: ".concat(n,"px; position: absolute;");e.setAttribute("style","transition: none;"),e.setAttribute("style",i)}},r=function(){e.getAttribute("style")&&(e.setAttribute("style","transition: none;"),setTimeout((function(){e.getAttribute(!1)&&e.removeAttribute("style")}),100))};e.querySelectorAll("div.flo-header__nav-menu").forEach((function(e){e.addEventListener("mouseover",t),e.addEventListener("mouseleave",r)}))}();var e=document.querySelector(".flo-header__navigation-trigger"),r=document.querySelector(".flo-header__navigation"),i=document.querySelector(".flo-notification"),o=document.querySelector(".flo-header__container"),s=document.querySelector(".flo-header"),a=document.querySelectorAll(".flo-header__nav-menu__link"),l=document.querySelector(".flo-header__navigation-list-item--sub"),c=function(){e.addEventListener("click",(function(i){var o,a,c;i.preventDefault(),null===(o=e.querySelector(".flo-header__navigation-trigger-btn"))||void 0===o||o.classList.toggle("flo-header__navigation-trigger-btn--active"),r.classList.toggle("flo-header__navigation--active"),s.classList.toggle("flo-header--visible-navigation"),document.body.classList.toggle("flo-overflow"),document.body.classList.toggle("js-navigation-active"),r.style.paddingTop=u(),l&&"US"!==t.get("user_region")&&l.classList.add("active"),a=document.querySelectorAll(".flo-header__navigation-item-title--mobile"),c=document.querySelectorAll(".flo-header__navigation-item"),a.forEach((function(e){var t;function r(r){var n,i;"click"!==r.type&&"Enter"!==r.key||(null!==(n=t=e.closest(".flo-header__navigation-item"))&&void 0!==n&&n.classList.contains("active")?c.forEach((function(e){return e.classList.remove("active")})):(c.forEach((function(e){return e.classList.remove("active")})),null===(i=t)||void 0===i||i.classList.add("active")))}e.addEventListener("click",r),e.addEventListener("keypress",r)})),n()}))};function u(){i?i.offsetHeight+o&&o.offsetHeight:null==o||o.offsetHeight}window.addEventListener("resize",(function(e){r&&(r.style.paddingTop=u()),n()}));var p=document.getElementById("progressBar");return p&&window.addEventListener("scroll",(function(){var e=document.querySelector(".flo-footer")?document.querySelector(".flo-footer").offsetHeight:0,t=(document.body.scrollTop||document.documentElement.scrollTop)/(document.documentElement.scrollHeight-document.documentElement.clientHeight-e)*100;p.style.width=t+"%"})),a.forEach((function(e){e.addEventListener("keypress",(function(t){"Enter"===t.key&&(t.preventDefault(),e.classList.contains("active")?a.forEach((function(e){e.classList.remove("active")})):(a.forEach((function(e){e.classList.remove("active")})),e.classList.add("active")))}))})),{init:function(){s&&function(){var e=document.body.scrollTop||document.documentElement.scrollTop,t=i?i.offsetHeight:0;function r(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;if(s.getAttribute("transparent-header"))if("true"===s.getAttribute("transparent-header")){var r=0!==t&&t-24;e>=24?window.matchMedia("(max-width: 1199px)").matches?(s.classList.add("flo-transparent-header"),r&&n(o),0!=t&&(n(i),a(s,t))):(s.classList.add("flo-transparent-header"),r&&a(o,r),0!=t&&a(i,t)):(window.matchMedia("(max-width: 1199px)").matches&&n(s),s.classList.remove("flo-transparent-header"),r&&n(o),0!=t&&n(i))}else s.style.boxShadow=e>=24?"0px 4px 20px rgba(0, 0, 0, 0.15)":"none";function n(e){e&&(e.style.transform="translateY(0)")}function a(e,t){e&&(e.style.transform="translateY(-".concat(t,"px)"))}}r(e,t),window.addEventListener("scroll",(function(){r(e=document.body.scrollTop||document.documentElement.scrollTop,t)}))}(),e&&r&&(c(),n())}}}();r(2675),r(9463),r(2259),r(4423),r(3792),r(4490),r(4782),r(9904),r(4185),r(875),r(287),r(3362),r(1699),r(2953),r(113),r(2577);function o(e){return o="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},o(e)}function s(){s=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},a="function"==typeof Symbol?Symbol:{},l=a.iterator||"@@iterator",c=a.asyncIterator||"@@asyncIterator",u=a.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,s=Object.create(o.prototype),a=new M(n||[]);return i(s,"_invoke",{value:_(e,r,a)}),s}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",g="suspendedYield",m="executing",v="completed",y={};function b(){}function x(){}function w(){}var S={};p(S,l,(function(){return this}));var k=Object.getPrototypeOf,T=k&&k(k(j([])));T&&T!==r&&n.call(T,l)&&(S=T);var E=w.prototype=b.prototype=Object.create(S);function O(e){["next","throw","return"].forEach((function(t){p(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(i,s,a,l){var c=f(e[i],e,s);if("throw"!==c.type){var u=c.arg,p=u.value;return p&&"object"==o(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,a,l)}),(function(e){r("throw",e,a,l)})):t.resolve(p).then((function(e){u.value=e,a(u)}),(function(e){return r("throw",e,a,l)}))}l(c.arg)}var s;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return s=s?s.then(i,i):i()}})}function _(t,r,n){var i=h;return function(o,s){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===o)throw s;return{value:e,done:!0}}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var l=L(a,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===h)throw i=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var c=f(t,r,n);if("normal"===c.type){if(i=n.done?v:g,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=v,n.method="throw",n.arg=c.arg)}}}function L(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=f(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var s=o.arg;return s?s.done?(r[t.resultName]=s.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,s=function r(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=n.call(s,"catchLoc"),c=n.call(s,"finallyLoc");if(l&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;C(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function a(e,t,r,n,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,i)}function l(){return c.apply(this,arguments)}function c(){var e;return e=s().mark((function e(){var r,n,i;return s().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(i=function(e){var t=e.split("\n").find((function(e){return e.includes("loc=")}));if(t)return t.split("=")[1]},!t.get("user_region")){e.next=3;break}return e.abrupt("return",t.get("user_region"));case 3:return e.next=5,fetch("https://flo.health/cdn-cgi/trace");case 5:return r=e.sent,e.next=8,r.text();case 8:return n=e.sent,e.abrupt("return",i(n));case 10:case"end":return e.stop()}}),e)})),c=function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){a(o,n,i,s,l,"next",e)}function l(e){a(o,n,i,s,l,"throw",e)}s(void 0)}))},c.apply(this,arguments)}function u(e){return u="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},u(e)}function p(){p=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function d(e,t,r,n){var o=t&&t.prototype instanceof b?t:b,s=Object.create(o.prototype),a=new M(n||[]);return i(s,"_invoke",{value:_(e,r,a)}),s}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",g="suspendedYield",m="executing",v="completed",y={};function b(){}function x(){}function w(){}var S={};c(S,s,(function(){return this}));var k=Object.getPrototypeOf,T=k&&k(k(j([])));T&&T!==r&&n.call(T,s)&&(S=T);var E=w.prototype=b.prototype=Object.create(S);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(i,o,s,a){var l=f(e[i],e,o);if("throw"!==l.type){var c=l.arg,p=c.value;return p&&"object"==u(p)&&n.call(p,"__await")?t.resolve(p.__await).then((function(e){r("next",e,s,a)}),(function(e){r("throw",e,s,a)})):t.resolve(p).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,a)}))}a(l.arg)}var o;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return o=o?o.then(i,i):i()}})}function _(t,r,n){var i=h;return function(o,s){if(i===m)throw Error("Generator is already running");if(i===v){if("throw"===o)throw s;return{value:e,done:!0}}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var l=L(a,n);if(l){if(l===y)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===h)throw i=v,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=m;var c=f(t,r,n);if("normal"===c.type){if(i=n.done?v:g,c.arg===y)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=v,n.method="throw",n.arg=c.arg)}}}function L(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),y;var o=f(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,y;var s=o.arg;return s?s.done?(r[t.resultName]=s.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,y):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,y)}function P(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=n.call(s,"catchLoc"),c=n.call(s,"finallyLoc");if(l&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),y}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;C(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),y}},t}function d(e,t,r,n,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,i)}function f(){var e;return e=p().mark((function e(){var t,r,n,i,o,s;return p().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,l();case 2:t=e.sent,["US","UK","GB"].includes(t)&&(r=document.querySelector("#privacy"))&&(n=r.getAttribute("us-name"),i=r.getAttribute("uk-name"),o=r.getAttribute("uk-link"),(s=r.querySelector(".flo-footer__navigation-list"))&&("US"===t?h(t,s,n):""!=o&&h(t,s,i,o)));case 5:case"end":return e.stop()}}),e)})),f=function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){d(o,n,i,s,a,"next",e)}function a(e){d(o,n,i,s,a,"throw",e)}s(void 0)}))},f.apply(this,arguments)}function h(e,t,r){var n=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"#",i=document.createElement("li"),o=document.createElement("a");o.classList.add("flo-footer__navigation-list-item-link"),o.textContent=r,o.href=n,o.id="privacy-".concat(e.toLowerCase(),"-link"),"US"===e&&o.addEventListener("click",(function(e){var t,r;e.preventDefault(),null===(t=window)||void 0===t||null===(t=t.Cookiebot)||void 0===t||null===(r=t.renew)||void 0===r||r.call(t)})),i.classList.add("flo-footer__navigation-list-item"),i.appendChild(o),t.appendChild(i)}const g=function(){function e(e,t){var r=null==t?void 0:t.querySelector(".flo-footer__lang-text");r&&e&&(r.innerHTML=e)}return function(){f.apply(this,arguments)}(),{init:function(){var t=document.querySelector(".flo-select-lang"),r=null,n=null;t&&(r=document.querySelector(".flo-footer__lang-list"))&&(n=r.querySelectorAll(".flo-footer__lang-option"));var i=null;r&&n&&(i=function(t,r){var n={};t.forEach((function(e){var t=e.getAttribute("option-locale"),r=e.querySelector("span").innerText;n[t]=r}));var i=document.documentElement.getAttribute("lang");"zh"!==i&&"zh-tw"!==i||(i="zh"===i?"zhhans":"zhhant");return e(n[i],r),i}(n,t)),t&&(t.addEventListener("click",(function(o){o.preventDefault(),r&&(r.classList.toggle("js-flo-select-lang--show"),n&&n.forEach((function(n){n.getAttribute("option-locale")==i?n.classList.add("js-flo-footer__lang-option--active"):n.classList.remove("js-flo-footer__lang-option--active"),n.addEventListener("click",(function(i){i.stopPropagation(),e(n.innerText,t),r.classList.remove("js-flo-footer__lang-option--show")}))})))})),window.addEventListener("click",(function(e){!e.target.closest(".flo-footer__lang")&&r.classList.contains("js-flo-select-lang--show")&&r.classList.remove("js-flo-select-lang--show")}))),function(){var e=document.querySelector(".flo-footer__navigation");if(e){var t=function(e){if(window.matchMedia("(max-width: 759px)").matches&&("click"===e.type||"Enter"===e.key)&&e.target.closest(".flo-footer__navigation-title")){var t=e.target.closest(".flo-footer__navigation-col"),r=null==t?void 0:t.querySelector(".flo-footer__navigation-list");t.classList.toggle("active"),r&&(r.style.maxHeight?r.style.maxHeight=null:r.style.maxHeight=r.scrollHeight+"px")}};e.addEventListener("click",t),e.addEventListener("keypress",t)}}()}}}();r(8706),r(2062),r(8940),r(7495),r(5440),r(5746),r(1454),r(2041),r(8408);var m=r(9169),v=r(8545),y=r.n(v);function b(e){return b="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},b(e)}function x(){x=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,i=Object.defineProperty||function(e,t,r){e[t]=r.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",l=o.toStringTag||"@@toStringTag";function c(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,r){return e[t]=r}}function u(e,t,r,n){var o=t&&t.prototype instanceof v?t:v,s=Object.create(o.prototype),a=new M(n||[]);return i(s,"_invoke",{value:_(e,r,a)}),s}function p(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=u;var d="suspendedStart",f="suspendedYield",h="executing",g="completed",m={};function v(){}function y(){}function w(){}var S={};c(S,s,(function(){return this}));var k=Object.getPrototypeOf,T=k&&k(k(j([])));T&&T!==r&&n.call(T,s)&&(S=T);var E=w.prototype=v.prototype=Object.create(S);function O(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function A(e,t){function r(i,o,s,a){var l=p(e[i],e,o);if("throw"!==l.type){var c=l.arg,u=c.value;return u&&"object"==b(u)&&n.call(u,"__await")?t.resolve(u.__await).then((function(e){r("next",e,s,a)}),(function(e){r("throw",e,s,a)})):t.resolve(u).then((function(e){c.value=e,s(c)}),(function(e){return r("throw",e,s,a)}))}a(l.arg)}var o;i(this,"_invoke",{value:function(e,n){function i(){return new t((function(t,i){r(e,n,t,i)}))}return o=o?o.then(i,i):i()}})}function _(t,r,n){var i=d;return function(o,s){if(i===h)throw Error("Generator is already running");if(i===g){if("throw"===o)throw s;return{value:e,done:!0}}for(n.method=o,n.arg=s;;){var a=n.delegate;if(a){var l=L(a,n);if(l){if(l===m)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===d)throw i=g,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=h;var c=p(t,r,n);if("normal"===c.type){if(i=n.done?g:f,c.arg===m)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(i=g,n.method="throw",n.arg=c.arg)}}}function L(t,r){var n=r.method,i=t.iterator[n];if(i===e)return r.delegate=null,"throw"===n&&t.iterator.return&&(r.method="return",r.arg=e,L(t,r),"throw"===r.method)||"return"!==n&&(r.method="throw",r.arg=new TypeError("The iterator does not provide a '"+n+"' method")),m;var o=p(i,t.iterator,r.arg);if("throw"===o.type)return r.method="throw",r.arg=o.arg,r.delegate=null,m;var s=o.arg;return s?s.done?(r[t.resultName]=s.value,r.next=t.nextLoc,"return"!==r.method&&(r.method="next",r.arg=e),r.delegate=null,m):s:(r.method="throw",r.arg=new TypeError("iterator result is not an object"),r.delegate=null,m)}function P(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 C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function M(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function j(t){if(t||""===t){var r=t[s];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function r(){for(;++i=0;--o){var s=this.tryEntries[o],a=s.completion;if("root"===s.tryLoc)return i("end");if(s.tryLoc<=this.prev){var l=n.call(s,"catchLoc"),c=n.call(s,"finallyLoc");if(l&&c){if(this.prev=0;--r){var i=this.tryEntries[r];if(i.tryLoc<=this.prev&&n.call(i,"finallyLoc")&&this.prev=0;--t){var r=this.tryEntries[t];if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var i=n.arg;C(r)}return i}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:j(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function w(e,t,r,n,i,o,s){try{var a=e[o](s),l=a.value}catch(e){return void r(e)}a.done?t(l):Promise.resolve(l).then(n,i)}const S=function(){var e=document.querySelector("title").getAttribute("data-original-content"),t="";null!=document.querySelector('meta[name="description"]')&&(t=document.querySelector('meta[name="description"]').getAttribute("data-original-content"));var r=Array.from(document.querySelectorAll("link[hreflang]")).map((function(e){return{element:e,parent:e.parentNode,nextSibling:e.nextSibling}})),n={};return{init:function(){var i=document.body.getAttribute("data-locale-page"),o=document.querySelectorAll(".flo-categories__articles"),s=new URLSearchParams(window.location.search),a=null!==document.querySelector(".flo-categories__articles-pagination");function l(e,t,r){var i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:1,o=e.closest(".flo-categories__category").querySelector(".flo-preloader"),s=e.closest(".flo-categories__category").querySelector(".flo-categories__articles-btn"),l=e.getAttribute("data-url-page"),f=e.getAttribute("data-num-page");if(!t){a&&e.classList.add("blur");var h=function(){return p.apply(this,arguments)}(i,f,r,l);return h.then((function(t){if(t.total&&t.total>0)a&&(e.innerHTML="",e.classList.remove("blur")),t.items.forEach((function(t){e.insertAdjacentHTML("beforeend",function(e){var t=document.querySelector(".flo-categories__articles--only-one"),r="en"!==e.locale?"/".concat(e.locale).concat(e.categoryLink):e.categoryLink;return y().twig({data:document.querySelector("#category-article-template").innerHTML}).render({item:e,onlyOneArticleElement:t,hideCategoryLink:window.location.pathname===r})}(t))})),m.A.init();else{var l=e.closest(".flo-categories__category"),p=document.querySelector("[href='#".concat(l.id,"']"));Boolean(!l.getAttribute("iteration-ignore"))&&[l,p].forEach((function(e){e&&(e.style.display="none")}))}o.classList.add("flo-preloader__deactive"),s&&d(e,r,i,s,o,t),a&&function(e,t,r,i,o){var s=e.closest(".flo-categories__category").querySelector(".flo-categories__articles-pagination"),a=e.closest(".flo-categories__category").querySelector(".flo-categories__pagination_headline"),l=Math.ceil(o/i),p=function(e){var t,r,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:20,i=arguments.length>2?arguments[2]:void 0,o=Math.ceil(i/n),s=4;e>3&&e1,hasPreviousDots:!1,hasNext:e=o?(t=o-s+1,r=o):(t=e-c,r=e+c,3===e&&5===r&&(r=4));for(var u=[],p=t;p<=r;p++)u.push(p);return{pages:u,hasPrevious:e>1,hasPreviousDots:e>3,hasNext:e1&&void 0!==arguments[1]?arguments[1]:e,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"";return'").concat(t,"")};p.hasPrevious?v+=y(r-1,'\n \n',"previous"):v+='
';p.hasPreviousDots&&(v+=y(1,1,"previous"),v+='...');p.pages.forEach((function(e){v+=y(e,e,er?"next":"")})),p.hasNextDots&&(v+='...',v+=y(l,l,"next"));p.hasNext?v+=y(r+1,'\n \n',"next"):v+='
';s.innerHTML='
\n '.concat(v,'\n
\n
\n ').concat(h,"\n
"),a.querySelector(".flo-categories__pagination_headline--title").innerHTML=n.headerline.title.replaceAll("#total#",o),a.querySelector(".pill").innerHTML=n.headerline.rightCount.replaceAll("#page#",r).replaceAll("#totalpage#",l),a.style.display="",s.style.display="",u(e,t),c(r)}(e,r,i,f,t.total)}))}if(s&&d(e,r,i,s,o),a){var g=e.closest(".flo-categories__category").querySelector(".flo-categories__pagination_headline"),v=e.closest(".flo-categories__category").querySelector(".flo-categories__articles-pagination");null!=g&&void 0===n.headerline&&(n.headerline={title:g.dataset.pagination_headlineTitle_template,rightLabel:g.dataset.pagination_headlineLabel_template,rightCount:g.dataset.pagination_headlineCount_template}),null!=v&&void 0===n.footernote&&(n.footernote={note:v.dataset.pagination_footnote_template,seo_title:v.dataset.seo_title_template,seo_description:v.dataset.seo_description_template}),u(e,r)}}function c(i){document.title=i>1?n.footernote.seo_title.replaceAll("#page#",i).replaceAll("#seo_title#",e):e;var o=document.querySelector('meta[name="description"]');n.footernote.seo_description&&(o.content=i>1?n.footernote.seo_description.replaceAll("#page#",i).replaceAll("#seo_description#",t):t),i>1?r.forEach((function(e){return e.element.remove()})):r.forEach((function(e){e.nextSibling?e.parent.insertBefore(e.element,e.nextSibling):e.parent.appendChild(e.element)}))}function u(e,t){var r=e.closest(".flo-categories__category").querySelector(".flo-preloader");document.querySelectorAll("a.flo-categories__articles-pagination__pages-item").forEach((function(n){n.addEventListener("click",(function(n){n.preventDefault(),n.stopPropagation();var i=n.target.closest("a"),o=parseInt(i.getAttribute("data-page"));r.classList.remove("flo-preloader__deactive"),l(e,!1,t,o).then((function(){history.pushState({},null,i.href),document.querySelector("link[rel=canonical]").href=i.href,window.scrollTo({behavior:"smooth",top:document.querySelector(".flo-sub-category-banner__title").offsetTop}),c(o)}))}))}))}function p(){var e;return e=x().mark((function e(){var t,r,n,i,o,s,a=arguments;return x().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:1,r=a.length>1&&void 0!==a[1]?a[1]:4,n=a.length>2&&void 0!==a[2]?a[2]:"",i=a.length>3&&void 0!==a[3]?a[3]:"",e.prev=4,e.next=7,fetch("".concat(n).concat(i,"?page=").concat(t,"&format=json&onpage=").concat(r));case 7:if((o=e.sent).ok){e.next=12;break}console.warn("".concat(o.status," : ").concat(o.statusText)),e.next=16;break;case 12:return e.next=14,o.json();case 14:return s=e.sent,e.abrupt("return",s);case 16:e.next=21;break;case 18:throw e.prev=18,e.t0=e.catch(4),e.t0;case 21:case"end":return e.stop()}}),e,null,[[4,18]])})),p=function(){var t=this,r=arguments;return new Promise((function(n,i){var o=e.apply(t,r);function s(e){w(o,n,i,s,a,"next",e)}function a(e){w(o,n,i,s,a,"throw",e)}s(void 0)}))},p.apply(this,arguments)}function d(e,t,r,n,i){var o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:null;null==o||o.total>e.querySelectorAll(".flo-categories__article").length?n.onclick=function(){i.classList.remove("flo-preloader__deactive"),l(e,!1,t,++r)}:n.remove()}o&&o.forEach((function(e){return l(e,!0,i,parseInt(s.get("page"),10)||1)}))}}}();function k(e){return null!==e&&"object"==typeof e&&"constructor"in e&&e.constructor===Object}function T(e,t){void 0===e&&(e={}),void 0===t&&(t={});const r=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>r.indexOf(e)<0)).forEach((r=>{void 0===e[r]?e[r]=t[r]:k(t[r])&&k(e[r])&&Object.keys(t[r]).length>0&&T(e[r],t[r])}))}const E={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 O(){const e="undefined"!=typeof document?document:{};return T(e,E),e}const A={document:E,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 _(){const e="undefined"!=typeof window?window:{};return T(e,A),e}function L(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function P(){return Date.now()}function C(e,t){void 0===t&&(t="x");const r=_();let n,i,o;const s=function(e){const t=_();let r;return t.getComputedStyle&&(r=t.getComputedStyle(e,null)),!r&&e.currentStyle&&(r=e.currentStyle),r||(r=e.style),r}(e);return r.WebKitCSSMatrix?(i=s.transform||s.webkitTransform,i.split(",").length>6&&(i=i.split(", ").map((e=>e.replace(",","."))).join(", ")),o=new r.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,"),n=o.toString().split(",")),"x"===t&&(i=r.WebKitCSSMatrix?o.m41:16===n.length?parseFloat(n[12]):parseFloat(n[4])),"y"===t&&(i=r.WebKitCSSMatrix?o.m42:16===n.length?parseFloat(n[13]):parseFloat(n[5])),i||0}function M(e){return"object"==typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function j(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let n=1;nt.indexOf(e)<0));for(let t=0,n=r.length;to?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{s=(new Date).getTime(),null===a&&(a=s);const e=Math.max(Math.min((s-a)/l,1),0),c=.5-Math.cos(e*Math.PI)/2;let d=o+c*(r-o);if(u(d,r)&&(d=r),t.wrapperEl.scrollTo({[n]:d}),u(d,r))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[n]:d})})),void i.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=i.requestAnimationFrame(p)};p()}function R(e,t){void 0===t&&(t="");const r=_(),n=[...e.children];return r.HTMLSlotElement&&e instanceof HTMLSlotElement&&n.push(...e.assignedElements()),t?n.filter((e=>e.matches(t))):n}function D(e){try{return void console.warn(e)}catch(e){}}function z(e,t){void 0===t&&(t=[]);const r=document.createElement(e);return r.classList.add(...Array.isArray(t)?t:function(e){return void 0===e&&(e=""),e.trim().split(" ").filter((e=>!!e.trim()))}(t)),r}function F(e,t){return _().getComputedStyle(e,null).getPropertyValue(t)}function B(e){let t,r=e;if(r){for(t=0;null!==(r=r.previousSibling);)1===r.nodeType&&(t+=1);return t}}function G(e,t){const r=[];let n=e.parentElement;for(;n;)t?n.matches(t)&&r.push(n):r.push(n),n=n.parentElement;return r}function $(e,t,r){const n=_();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(n.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function U(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}let H,V,q;function W(){return H||(H=function(){const e=_(),t=O();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),H}function Y(e){return void 0===e&&(e={}),V||(V=function(e){let{userAgent:t}=void 0===e?{}:e;const r=W(),n=_(),i=n.navigator.platform,o=t||n.navigator.userAgent,s={ios:!1,android:!1},a=n.screen.width,l=n.screen.height,c=o.match(/(Android);?[\s\/]+([\d.]+)?/);let u=o.match(/(iPad).*OS\s([\d_]+)/);const p=o.match(/(iPod)(.*OS\s([\d_]+))?/),d=!u&&o.match(/(iPhone\sOS|iOS)\s([\d_]+)/),f="Win32"===i;let h="MacIntel"===i;return!u&&h&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${a}x${l}`)>=0&&(u=o.match(/(Version)\/([\d.]+)/),u||(u=[0,1,"13_0_0"]),h=!1),c&&!f&&(s.os="android",s.android=!0),(u||d||p)&&(s.os="ios",s.ios=!0),s}(e)),V}function X(){return q||(q=function(){const e=_(),t=Y();let r=!1;function n(){const t=e.navigator.userAgent.toLowerCase();return t.indexOf("safari")>=0&&t.indexOf("chrome")<0&&t.indexOf("android")<0}if(n()){const t=String(e.navigator.userAgent);if(t.includes("Version/")){const[e,n]=t.split("Version/")[1].split(" ")[0].split(".").map((e=>Number(e)));r=e<16||16===e&&n<2}}const i=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),o=n();return{isSafari:r||o,needPerspectiveFix:r,need3dFix:o||i&&t.ios,isWebView:i}}()),q}var K={on(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;const i=r?"unshift":"push";return e.split(" ").forEach((e=>{n.eventsListeners[e]||(n.eventsListeners[e]=[]),n.eventsListeners[e][i](t)})),n},once(e,t,r){const n=this;if(!n.eventsListeners||n.destroyed)return n;if("function"!=typeof t)return n;function i(){n.off(e,i),i.__emitterProxy&&delete i.__emitterProxy;for(var r=arguments.length,o=new Array(r),s=0;s=0&&t.eventsAnyListeners.splice(r,1),t},off(e,t){const r=this;return!r.eventsListeners||r.destroyed?r:r.eventsListeners?(e.split(" ").forEach((e=>{void 0===t?r.eventsListeners[e]=[]:r.eventsListeners[e]&&r.eventsListeners[e].forEach(((n,i)=>{(n===t||n.__emitterProxy&&n.__emitterProxy===t)&&r.eventsListeners[e].splice(i,1)}))})),r):r},emit(){const e=this;if(!e.eventsListeners||e.destroyed)return e;if(!e.eventsListeners)return e;let t,r,n;for(var i=arguments.length,o=new Array(i),s=0;s{e.eventsAnyListeners&&e.eventsAnyListeners.length&&e.eventsAnyListeners.forEach((e=>{e.apply(n,[t,...r])})),e.eventsListeners&&e.eventsListeners[t]&&e.eventsListeners[t].forEach((e=>{e.apply(n,r)}))})),e}};const Z=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)};const J=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)};const Q=(e,t)=>{if(!e||e.destroyed||!e.params)return;const r=t.closest(e.isElement?"swiper-slide":`.${e.params.slideClass}`);if(r){let t=r.querySelector(`.${e.params.lazyPreloaderClass}`);!t&&e.isElement&&(r.shadowRoot?t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`):requestAnimationFrame((()=>{r.shadowRoot&&(t=r.shadowRoot.querySelector(`.${e.params.lazyPreloaderClass}`),t&&t.remove())}))),t&&t.remove()}},ee=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},te=e=>{if(!e||e.destroyed||!e.params)return;let t=e.params.lazyPreloadPrevNext;const r=e.slides.length;if(!r||!t||t<0)return;t=Math.min(t,r);const n="auto"===e.params.slidesPerView?e.slidesPerViewDynamic():Math.ceil(e.params.slidesPerView),i=e.activeIndex;if(e.params.grid&&e.params.grid.rows>1){const r=i,o=[r-t];return o.push(...Array.from({length:t}).map(((e,t)=>r+n+t))),void e.slides.forEach(((t,r)=>{o.includes(t.column)&&ee(e,r)}))}const o=i+n-1;if(e.params.rewind||e.params.loop)for(let n=i-t;n<=o+t;n+=1){const t=(n%r+r)%r;(to)&&ee(e,t)}else for(let n=Math.max(i-t,0);n<=Math.min(o+t,r-1);n+=1)n!==i&&(n>o||n=0?b=parseFloat(b.replace("%",""))/100*o:"string"==typeof b&&(b=parseFloat(b)),e.virtualSize=-b,u.forEach((e=>{s?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),r.centeredSlides&&r.cssMode&&(I(n,"--swiper-centered-offset-before",""),I(n,"--swiper-centered-offset-after",""));const k=r.grid&&r.grid.rows>1&&e.grid;let T;k?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const E="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>void 0!==r.breakpoints[e].slidesPerView)).length>0;for(let n=0;n1&&d.push(e.virtualSize-o)}if(l&&r.loop){const t=h[0]+b;if(r.slidesPerGroup>1){const n=Math.ceil((e.virtual.slidesBefore+e.virtual.slidesAfter)/r.slidesPerGroup),i=t*r.slidesPerGroup;for(let e=0;e!(r.cssMode&&!r.loop)||t!==u.length-1)).forEach((e=>{e.style[t]=`${b}px`}))}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;h.forEach((t=>{e+=t+(b||0)})),e-=b;const t=e>o?e-o:0;d=d.map((e=>e<=0?-g:e>t?t+m:e))}if(r.centerInsufficientSlides){let e=0;h.forEach((t=>{e+=t+(b||0)})),e-=b;const t=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(e+t{d[t]=e-r})),f.forEach(((e,t)=>{f[t]=e+r}))}}if(Object.assign(e,{slides:u,snapGrid:d,slidesGrid:f,slidesSizesGrid:h}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){I(n,"--swiper-centered-offset-before",-d[0]+"px"),I(n,"--swiper-centered-offset-after",e.size/2-h[h.length-1]/2+"px");const t=-e.snapGrid[0],r=-e.slidesGrid[0];e.snapGrid=e.snapGrid.map((e=>e+t)),e.slidesGrid=e.slidesGrid.map((e=>e+r))}if(p!==c&&e.emit("slidesLengthChange"),d.length!==v&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),f.length!==y&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!(l||r.cssMode||"slide"!==r.effect&&"fade"!==r.effect)){const t=`${r.containerModifierClass}backface-hidden`,n=e.el.classList.contains(t);p<=r.maxBackfaceHiddenSlides?n||e.el.classList.add(t):n&&e.el.classList.remove(t)}},updateAutoHeight:function(e){const t=this,r=[],n=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=>n?t.slides[t.getSlideIndexByData(e)]:t.slides[e];if("auto"!==t.params.slidesPerView&&t.params.slidesPerView>1)if(t.params.centeredSlides)(t.visibleSlides||[]).forEach((e=>{r.push(e)}));else for(i=0;it.slides.length&&!n)break;r.push(s(e))}else r.push(s(t.activeIndex));for(i=0;io?e:o}(o||0===o)&&(t.wrapperEl.style.height=`${o}px`)},updateSlidesOffset:function(){const e=this,t=e.slides,r=e.isElement?e.isHorizontal()?e.wrapperEl.offsetLeft:e.wrapperEl.offsetTop:0;for(let n=0;n=0?a=parseFloat(a.replace("%",""))/100*t.size:"string"==typeof a&&(a=parseFloat(a));for(let e=0;e=0&&d<=t.size-t.slidesSizesGrid[e],g=d>=0&&d1&&f<=t.size||d<=0&&f>=t.size;g&&(t.visibleSlides.push(l),t.visibleSlidesIndexes.push(e)),Z(l,g,r.slideVisibleClass),Z(l,h,r.slideFullyVisibleClass),l.progress=i?-u:u,l.originalProgress=i?-p:p}},updateProgress:function(e){const t=this;if(void 0===e){const r=t.rtlTranslate?-1:1;e=t&&t.translate&&t.translate*r||0}const r=t.params,n=t.maxTranslate()-t.minTranslate();let{progress:i,isBeginning:o,isEnd:s,progressLoop:a}=t;const l=o,c=s;if(0===n)i=0,o=!0,s=!0;else{i=(e-t.minTranslate())/n;const r=Math.abs(e-t.minTranslate())<1,a=Math.abs(e-t.maxTranslate())<1;o=r||i<=0,s=a||i>=1,r&&(i=0),a&&(i=1)}if(r.loop){const r=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[r],o=t.slidesGrid[n],s=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);a=l>=i?(l-i)/s:(l+s-o)/s,a>1&&(a-=1)}Object.assign(t,{progress:i,progressLoop:a,isBeginning:o,isEnd:s}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),o&&!l&&t.emit("reachBeginning toEdge"),s&&!c&&t.emit("reachEnd toEdge"),(l&&!o||c&&!s)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:r,slidesEl:n,activeIndex:i}=e,o=e.virtual&&r.virtual.enabled,s=e.grid&&r.grid&&r.grid.rows>1,a=e=>R(n,`.${r.slideClass}${e}, swiper-slide${e}`)[0];let l,c,u;if(o)if(r.loop){let t=i-e.virtual.slidesBefore;t<0&&(t=e.virtual.slides.length+t),t>=e.virtual.slides.length&&(t-=e.virtual.slides.length),l=a(`[data-swiper-slide-index="${t}"]`)}else l=a(`[data-swiper-slide-index="${i}"]`);else s?(l=t.find((e=>e.column===i)),u=t.find((e=>e.column===i+1)),c=t.find((e=>e.column===i-1))):l=t[i];l&&(s||(u=function(e,t){const r=[];for(;e.nextElementSibling;){const n=e.nextElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!u&&(u=t[0]),c=function(e,t){const r=[];for(;e.previousElementSibling;){const n=e.previousElementSibling;t?n.matches(t)&&r.push(n):r.push(n),e=n}return r}(l,`.${r.slideClass}, swiper-slide`)[0],r.loop&&0===!c&&(c=t[t.length-1]))),t.forEach((e=>{J(e,e===l,r.slideActiveClass),J(e,e===u,r.slideNextClass),J(e,e===c,r.slidePrevClass)})),e.emitSlidesClasses()},updateActiveIndex:function(e){const t=this,r=t.rtlTranslate?t.translate:-t.translate,{snapGrid:n,params:i,activeIndex:o,realIndex:s,snapIndex:a}=t;let l,c=e;const u=e=>{let r=e-t.virtual.slidesBefore;return r<0&&(r=t.virtual.slides.length+r),r>=t.virtual.slides.length&&(r-=t.virtual.slides.length),r};if(void 0===c&&(c=function(e){const{slidesGrid:t,params:r}=e,n=e.rtlTranslate?e.translate:-e.translate;let i;for(let e=0;e=t[e]&&n=t[e]&&n=t[e]&&(i=e);return r.normalizeSlideIndex&&(i<0||void 0===i)&&(i=0),i}(t)),n.indexOf(r)>=0)l=n.indexOf(r);else{const e=Math.min(i.slidesPerGroupSkip,c);l=e+Math.floor((c-e)/i.slidesPerGroup)}if(l>=n.length&&(l=n.length-1),c===o&&!t.params.loop)return void(l!==a&&(t.snapIndex=l,t.emit("snapIndexChange")));if(c===o&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=u(c));const p=t.grid&&i.grid&&i.grid.rows>1;let d;if(t.virtual&&i.virtual.enabled&&i.loop)d=u(c);else if(p){const e=t.slides.find((e=>e.column===c));let r=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(r)&&(r=Math.max(t.slides.indexOf(e),0)),d=Math.floor(r/i.grid.rows)}else if(t.slides[c]){const e=t.slides[c].getAttribute("data-swiper-slide-index");d=e?parseInt(e,10):c}else d=c;Object.assign(t,{previousSnapIndex:a,snapIndex:l,previousRealIndex:s,realIndex:d,previousIndex:o,activeIndex:c}),t.initialized&&te(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(s!==d&&t.emit("realIndexChange"),t.emit("slideChange"))},updateClickedSlide:function(e,t){const r=this,n=r.params;let i=e.closest(`.${n.slideClass}, swiper-slide`);!i&&r.isElement&&t&&t.length>1&&t.includes(e)&&[...t.slice(t.indexOf(e)+1,t.length)].forEach((e=>{!i&&e.matches&&e.matches(`.${n.slideClass}, swiper-slide`)&&(i=e)}));let o,s=!1;if(i)for(let e=0;el?l:n&&es?"next":o=l.length&&(m=l.length-1);const v=-l[m];if(a.normalizeSlideIndex)for(let e=0;e=r&&t=r&&t=r&&(s=e)}if(o.initialized&&s!==p){if(!o.allowSlideNext&&(d?v>o.translate&&v>o.minTranslate():vo.translate&&v>o.maxTranslate()&&(p||0)!==s)return!1}let y;s!==(u||0)&&r&&o.emit("beforeSlideChangeStart"),o.updateProgress(v),y=s>p?"next":s0?(o._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{f[e?"scrollLeft":"scrollTop"]=r}))):f[e?"scrollLeft":"scrollTop"]=r,b&&requestAnimationFrame((()=>{o.wrapperEl.style.scrollSnapType="",o._immediateVirtual=!1}));else{if(!o.support.smoothScroll)return N({swiper:o,targetPosition:r,side:e?"left":"top"}),!0;f.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}const x=X().isSafari;return b&&!i&&x&&o.isElement&&o.virtual.update(!1,!1,s),o.setTransition(t),o.setTranslate(v),o.updateActiveIndex(s),o.updateSlidesClasses(),o.emit("beforeTransitionStart",t,n),o.transitionStart(r,y),0===t?o.transitionEnd(r,y):o.animating||(o.animating=!0,o.onSlideToWrapperTransitionEnd||(o.onSlideToWrapperTransitionEnd=function(e){o&&!o.destroyed&&e.target===this&&(o.wrapperEl.removeEventListener("transitionend",o.onSlideToWrapperTransitionEnd),o.onSlideToWrapperTransitionEnd=null,delete o.onSlideToWrapperTransitionEnd,o.transitionEnd(r,y))}),o.wrapperEl.addEventListener("transitionend",o.onSlideToWrapperTransitionEnd)),!0},slideToLoop:function(e,t,r,n){if(void 0===e&&(e=0),void 0===r&&(r=!0),"string"==typeof e){e=parseInt(e,10)}const i=this;if(i.destroyed)return;void 0===t&&(t=i.params.speed);const o=i.grid&&i.params.grid&&i.params.grid.rows>1;let s=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)s+=i.virtual.slidesBefore;else{let e;if(o){const t=s*i.params.grid.rows;e=i.slides.find((e=>1*e.getAttribute("data-swiper-slide-index")===t)).column}else e=i.getSlideIndexByData(s);const t=o?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:r}=i.params;let a=i.params.slidesPerView;"auto"===a?a=i.slidesPerViewDynamic():(a=Math.ceil(parseFloat(i.params.slidesPerView,10)),r&&a%2==0&&(a+=1));let l=t-e1*t.getAttribute("data-swiper-slide-index")===e)).column}else s=i.getSlideIndexByData(s)}return requestAnimationFrame((()=>{i.slideTo(s,t,r,n)})),i},slideNext:function(e,t,r){void 0===t&&(t=!0);const n=this,{enabled:i,params:o,animating:s}=n;if(!i||n.destroyed)return n;void 0===e&&(e=n.params.speed);let a=o.slidesPerGroup;"auto"===o.slidesPerView&&1===o.slidesPerGroup&&o.slidesPerGroupAuto&&(a=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex{n.slideTo(n.activeIndex+l,e,t,r)})),!0}return o.rewind&&n.isEnd?n.slideTo(0,e,t,r):n.slideTo(n.activeIndex+l,e,t,r)},slidePrev:function(e,t,r){void 0===t&&(t=!0);const n=this,{params:i,snapGrid:o,slidesGrid:s,rtlTranslate:a,enabled:l,animating:c}=n;if(!l||n.destroyed)return n;void 0===e&&(e=n.params.speed);const u=n.virtual&&i.virtual.enabled;if(i.loop){if(c&&!u&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function p(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const d=p(a?n.translate:-n.translate),f=o.map((e=>p(e))),h=i.freeMode&&i.freeMode.enabled;let g=o[f.indexOf(d)-1];if(void 0===g&&(i.cssMode||h)){let e;o.forEach(((t,r)=>{d>=t&&(e=r)})),void 0!==e&&(g=h?o[e]:o[e>0?e-1:e])}let m=0;if(void 0!==g&&(m=s.indexOf(g),m<0&&(m=n.activeIndex-1),"auto"===i.slidesPerView&&1===i.slidesPerGroup&&i.slidesPerGroupAuto&&(m=m-n.slidesPerViewDynamic("previous",!0)+1,m=Math.max(m,0))),i.rewind&&n.isBeginning){const i=n.params.virtual&&n.params.virtual.enabled&&n.virtual?n.virtual.slides.length-1:n.slides.length-1;return n.slideTo(i,e,t,r)}return i.loop&&0===n.activeIndex&&i.cssMode?(requestAnimationFrame((()=>{n.slideTo(m,e,t,r)})),!0):n.slideTo(m,e,t,r)},slideReset:function(e,t,r){void 0===t&&(t=!0);const n=this;if(!n.destroyed)return void 0===e&&(e=n.params.speed),n.slideTo(n.activeIndex,e,t,r)},slideToClosest:function(e,t,r,n){void 0===t&&(t=!0),void 0===n&&(n=.5);const i=this;if(i.destroyed)return;void 0===e&&(e=i.params.speed);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)*n&&(o+=i.params.slidesPerGroup)}else{const e=i.snapGrid[a-1];l-e<=(i.snapGrid[a]-e)*n&&(o-=i.params.slidesPerGroup)}return o=Math.max(o,0),o=Math.min(o,i.slidesGrid.length-1),i.slideTo(o,e,t,r)},slideToClickedSlide:function(){const e=this;if(e.destroyed)return;const{params:t,slidesEl:r}=e,n="auto"===t.slidesPerView?e.slidesPerViewDynamic():t.slidesPerView;let i,o=e.clickedIndex;const s=e.isElement?"swiper-slide":`.${t.slideClass}`;if(t.loop){if(e.animating)return;i=parseInt(e.clickedSlide.getAttribute("data-swiper-slide-index"),10),t.centeredSlides?oe.slides.length-e.loopedSlides+n/2?(e.loopFix(),o=e.getSlideIndex(R(r,`${s}[data-swiper-slide-index="${i}"]`)[0]),L((()=>{e.slideTo(o)}))):e.slideTo(o):o>e.slides.length-n?(e.loopFix(),o=e.getSlideIndex(R(r,`${s}[data-swiper-slide-index="${i}"]`)[0]),L((()=>{e.slideTo(o)}))):e.slideTo(o)}else e.slideTo(o)}};var se={loopCreate:function(e,t){const r=this,{params:n,slidesEl:i}=r;if(!n.loop||r.virtual&&r.params.virtual.enabled)return;const o=()=>{R(i,`.${n.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},s=r.grid&&n.grid&&n.grid.rows>1,a=n.slidesPerGroup*(s?n.grid.rows:1),l=r.slides.length%a!=0,c=s&&r.slides.length%n.grid.rows!=0,u=e=>{for(let t=0;t1;u.lengthe.classList.contains(h.slideActiveClass)))):E=o;const O="next"===n||!n,A="prev"===n||!n;let _=0,L=0;const P=(x?u[o].column:o)+(g&&void 0===i?-v/2+.5:0);if(P=0;t-=1)u[t].column===e&&w.push(t)}else w.push(k-t-1)}}else if(P+v>k-b){L=Math.max(P-(k-2*b),y),T&&(L=Math.max(L,v-k+m+1));for(let e=0;e{e.column===t&&S.push(r)})):S.push(t)}}if(c.__preventObserver__=!0,requestAnimationFrame((()=>{c.__preventObserver__=!1})),"cards"===c.params.effect&&u.length{u[e].swiperLoopMoveDOM=!0,f.prepend(u[e]),u[e].swiperLoopMoveDOM=!1})),O&&S.forEach((e=>{u[e].swiperLoopMoveDOM=!0,f.append(u[e]),u[e].swiperLoopMoveDOM=!1})),c.recalcSlides(),"auto"===h.slidesPerView?c.updateSlides():x&&(w.length>0&&A||S.length>0&&O)&&c.slides.forEach(((e,t)=>{c.grid.updateSlide(t,e,c.slides)})),h.watchSlidesProgress&&c.updateSlidesOffset(),r)if(w.length>0&&A){if(void 0===t){const e=c.slidesGrid[E],t=c.slidesGrid[E+_]-e;l?c.setTranslate(c.translate-t):(c.slideTo(E+Math.ceil(_),0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else if(i){const e=x?w.length/h.grid.rows:w.length;c.slideTo(c.activeIndex+e,0,!1,!0),c.touchEventsData.currentTranslate=c.translate}}else if(S.length>0&&O)if(void 0===t){const e=c.slidesGrid[E],t=c.slidesGrid[E-L]-e;l?c.setTranslate(c.translate-t):(c.slideTo(E-L,0,!1,!0),i&&(c.touchEventsData.startTranslate=c.touchEventsData.startTranslate-t,c.touchEventsData.currentTranslate=c.touchEventsData.currentTranslate-t))}else{const e=x?S.length/h.grid.rows:S.length;c.slideTo(c.activeIndex-e,0,!1,!0)}if(c.allowSlidePrev=p,c.allowSlideNext=d,c.controller&&c.controller.control&&!a){const e={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:o,byController:!0};Array.isArray(c.controller.control)?c.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&r})})):c.controller.control instanceof c.constructor&&c.controller.control.params.loop&&c.controller.control.loopFix({...e,slideTo:c.controller.control.params.slidesPerView===h.slidesPerView&&r})}c.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||!r||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach((e=>{const t=void 0===e.swiperSlideIndex?1*e.getAttribute("data-swiper-slide-index"):e.swiperSlideIndex;n[t]=e})),e.slides.forEach((e=>{e.removeAttribute("data-swiper-slide-index")})),n.forEach((e=>{r.append(e)})),e.recalcSlides(),e.slideTo(e.realIndex,0)}};function ae(e,t,r){const n=_(),{params:i}=e,o=i.edgeSwipeDetection,s=i.edgeSwipeThreshold;return!o||!(r<=s||r>=n.innerWidth-s)||"prevent"===o&&(t.preventDefault(),!0)}function le(e){const t=this,r=O();let n=e;n.originalEvent&&(n=n.originalEvent);const i=t.touchEventsData;if("pointerdown"===n.type){if(null!==i.pointerId&&i.pointerId!==n.pointerId)return;i.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(i.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void ae(t,n,n.targetTouches[0].pageX);const{params:o,touches:s,enabled:a}=t;if(!a)return;if(!o.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let l=n.target;if("wrapper"===o.touchEventsTarget&&!function(e,t){const r=_();let n=t.contains(e);!n&&r.HTMLSlotElement&&t instanceof HTMLSlotElement&&(n=[...t.assignedElements()].includes(e),n||(n=function(e,t){const r=[t];for(;r.length>0;){const t=r.shift();if(e===t)return!0;r.push(...t.children,...t.shadowRoot?t.shadowRoot.children:[],...t.assignedElements?t.assignedElements():[])}}(e,t)));return n}(l,t.wrapperEl))return;if("which"in n&&3===n.which)return;if("button"in n&&n.button>0)return;if(i.isTouched&&i.isMoved)return;const c=!!o.noSwipingClass&&""!==o.noSwipingClass,u=n.composedPath?n.composedPath():n.path;c&&n.target&&n.target.shadowRoot&&u&&(l=u[0]);const p=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,d=!(!n.target||!n.target.shadowRoot);if(o.noSwiping&&(d?function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===O()||r===_())return null;r.assignedSlot&&(r=r.assignedSlot);const n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(p,l):l.closest(p)))return void(t.allowClick=!0);if(o.swipeHandler&&!l.closest(o.swipeHandler))return;s.currentX=n.pageX,s.currentY=n.pageY;const f=s.currentX,h=s.currentY;if(!ae(t,n,f))return;Object.assign(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),s.startX=f,s.startY=h,i.touchStartTime=P(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(i.allowThresholdMove=!1);let g=!0;l.matches(i.focusableElements)&&(g=!1,"SELECT"===l.nodeName&&(i.isTouched=!1)),r.activeElement&&r.activeElement.matches(i.focusableElements)&&r.activeElement!==l&&("mouse"===n.pointerType||"mouse"!==n.pointerType&&!l.matches(i.focusableElements))&&r.activeElement.blur();const m=g&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!m||l.isContentEditable||n.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function ce(e){const t=O(),r=this,n=r.touchEventsData,{params:i,touches:o,rtlTranslate:s,enabled:a}=r;if(!a)return;if(!i.simulateTouch&&"mouse"===e.pointerType)return;let l,c=e;if(c.originalEvent&&(c=c.originalEvent),"pointermove"===c.type){if(null!==n.touchId)return;if(c.pointerId!==n.pointerId)return}if("touchmove"===c.type){if(l=[...c.changedTouches].find((e=>e.identifier===n.touchId)),!l||l.identifier!==n.touchId)return}else l=c;if(!n.isTouched)return void(n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",c));const u=l.pageX,p=l.pageY;if(c.preventedByNestedSwiper)return o.startX=u,void(o.startY=p);if(!r.allowTouchMove)return c.target.matches(n.focusableElements)||(r.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:u,startY:p,currentX:u,currentY:p}),n.touchStartTime=P()));if(i.touchReleaseOnEdges&&!i.loop)if(r.isVertical()){if(po.startY&&r.translate>=r.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else{if(s&&(u>o.startX&&-r.translate<=r.maxTranslate()||u=r.minTranslate()))return;if(!s&&(uo.startX&&r.translate>=r.minTranslate()))return}if(t.activeElement&&t.activeElement.matches(n.focusableElements)&&t.activeElement!==c.target&&"mouse"!==c.pointerType&&t.activeElement.blur(),t.activeElement&&c.target===t.activeElement&&c.target.matches(n.focusableElements))return n.isMoved=!0,void(r.allowClick=!1);n.allowTouchCallbacks&&r.emit("touchMove",c),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=u,o.currentY=p;const d=o.currentX-o.startX,f=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(d**2+f**2)=25&&(e=180*Math.atan2(Math.abs(f),Math.abs(d))/Math.PI,n.isScrolling=r.isHorizontal()?e>i.touchAngle:90-e>i.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",c),void 0===n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling||"touchmove"===c.type&&n.preventTouchMoveFromPointerMove)return void(n.isTouched=!1);if(!n.startMoving)return;r.allowClick=!1,!i.cssMode&&c.cancelable&&c.preventDefault(),i.touchMoveStopPropagation&&!i.nested&&c.stopPropagation();let h=r.isHorizontal()?d:f,g=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;i.oneWayMovement&&(h=Math.abs(h)*(s?1:-1),g=Math.abs(g)*(s?1:-1)),o.diff=h,h*=i.touchRatio,s&&(h=-h,g=-g);const m=r.touchesDirection;r.swipeDirection=h>0?"prev":"next",r.touchesDirection=g>0?"prev":"next";const v=r.params.loop&&!i.cssMode,y="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!n.isMoved){if(v&&y&&r.loopFix({direction:r.swipeDirection}),n.startTranslate=r.getTranslate(),r.setTransition(0),r.animating){const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0,detail:{bySwiperTouchMove:!0}});r.wrapperEl.dispatchEvent(e)}n.allowMomentumBounce=!1,!i.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",c)}if((new Date).getTime(),!1!==i._loopSwapReset&&n.isMoved&&n.allowThresholdMove&&m!==r.touchesDirection&&v&&y&&Math.abs(h)>=1)return Object.assign(o,{startX:u,startY:p,currentX:u,currentY:p,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);r.emit("sliderMove",c),n.isMoved=!0,n.currentTranslate=h+n.startTranslate;let b=!0,x=i.resistanceRatio;if(i.touchReleaseOnEdges&&(x=0),h>0?(v&&y&&n.allowThresholdMove&&n.currentTranslate>(i.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]-("auto"!==i.slidesPerView&&r.slides.length-i.slidesPerView>=2?r.slidesSizesGrid[r.activeIndex+1]+r.params.spaceBetween:0)-r.params.spaceBetween:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(b=!1,i.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+h)**x))):h<0&&(v&&y&&n.allowThresholdMove&&n.currentTranslate<(i.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween+("auto"!==i.slidesPerView&&r.slides.length-i.slidesPerView>=2?r.slidesSizesGrid[r.slidesSizesGrid.length-1]+r.params.spaceBetween:0):r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===i.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(i.slidesPerView,10)))}),n.currentTranslaten.startTranslate&&(n.currentTranslate=n.startTranslate),r.allowSlidePrev||r.allowSlideNext||(n.currentTranslate=n.startTranslate),i.threshold>0){if(!(Math.abs(h)>i.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);if(!n.allowThresholdMove)return n.allowThresholdMove=!0,o.startX=o.currentX,o.startY=o.currentY,n.currentTranslate=n.startTranslate,void(o.diff=r.isHorizontal()?o.currentX-o.startX:o.currentY-o.startY)}i.followFinger&&!i.cssMode&&((i.freeMode&&i.freeMode.enabled&&r.freeMode||i.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),i.freeMode&&i.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function ue(e){const t=this,r=t.touchEventsData;let n,i=e;i.originalEvent&&(i=i.originalEvent);if("touchend"===i.type||"touchcancel"===i.type){if(n=[...i.changedTouches].find((e=>e.identifier===r.touchId)),!n||n.identifier!==r.touchId)return}else{if(null!==r.touchId)return;if(i.pointerId!==r.pointerId)return;n=i}if(["pointercancel","pointerout","pointerleave","contextmenu"].includes(i.type)){if(!(["pointercancel","contextmenu"].includes(i.type)&&(t.browser.isSafari||t.browser.isWebView)))return}r.pointerId=null,r.touchId=null;const{params:o,touches:s,rtlTranslate:a,slidesGrid:l,enabled:c}=t;if(!c)return;if(!o.simulateTouch&&"mouse"===i.pointerType)return;if(r.allowTouchCallbacks&&t.emit("touchEnd",i),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&o.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);o.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=P(),p=u-r.touchStartTime;if(t.allowClick){const e=i.path||i.composedPath&&i.composedPath();t.updateClickedSlide(e&&e[0]||i.target,e),t.emit("tap click",i),p<300&&u-r.lastClickTime<300&&t.emit("doubleTap doubleClick",i)}if(r.lastClickTime=P(),L((()=>{t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===s.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);let d;if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,d=o.followFinger?a?t.translate:-t.translate:-r.currentTranslate,o.cssMode)return;if(o.freeMode&&o.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:d});const f=d>=-t.maxTranslate()&&!t.params.loop;let h=0,g=t.slidesSizesGrid[0];for(let e=0;e=l[e]&&d=l[e])&&(h=e,g=l[l.length-1]-l[l.length-2])}let m=null,v=null;o.rewind&&(t.isBeginning?v=o.virtual&&o.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(m=0));const y=(d-l[h])/g,b=ho.longSwipesMs){if(!o.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(y>=o.longSwipesRatio?t.slideTo(o.rewind&&t.isEnd?m:h+b):t.slideTo(h)),"prev"===t.swipeDirection&&(y>1-o.longSwipesRatio?t.slideTo(h+b):null!==v&&y<0&&Math.abs(y)>o.longSwipesRatio?t.slideTo(v):t.slideTo(h))}else{if(!o.shortSwipes)return void t.slideTo(t.activeIndex);t.navigation&&(i.target===t.navigation.nextEl||i.target===t.navigation.prevEl)?i.target===t.navigation.nextEl?t.slideTo(h+b):t.slideTo(h):("next"===t.swipeDirection&&t.slideTo(null!==m?m:h+b),"prev"===t.swipeDirection&&t.slideTo(null!==v?v:h))}}function pe(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:o}=e,s=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const a=s&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||a?e.params.loop&&!s?e.slideToLoop(e.realIndex,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0):e.slideTo(e.slides.length-1,0,!1,!0),e.autoplay&&e.autoplay.running&&e.autoplay.paused&&(clearTimeout(e.autoplay.resizeTimeout),e.autoplay.resizeTimeout=setTimeout((()=>{e.autoplay&&e.autoplay.running&&e.autoplay.paused&&e.autoplay.resume()}),500)),e.allowSlidePrev=i,e.allowSlideNext=n,e.params.watchOverflow&&o!==e.snapGrid&&e.checkOverflow()}function de(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function fe(){const e=this,{wrapperEl:t,rtlTranslate:r,enabled:n}=e;if(!n)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(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function he(e){const t=this;Q(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update()}function ge(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const me=(e,t)=>{const r=O(),{params:n,el:i,wrapperEl:o,device:s}=e,a=!!n.nested,l="on"===t?"addEventListener":"removeEventListener",c=t;i&&"string"!=typeof i&&(r[l]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:a}),i[l]("touchstart",e.onTouchStart,{passive:!1}),i[l]("pointerdown",e.onTouchStart,{passive:!1}),r[l]("touchmove",e.onTouchMove,{passive:!1,capture:a}),r[l]("pointermove",e.onTouchMove,{passive:!1,capture:a}),r[l]("touchend",e.onTouchEnd,{passive:!0}),r[l]("pointerup",e.onTouchEnd,{passive:!0}),r[l]("pointercancel",e.onTouchEnd,{passive:!0}),r[l]("touchcancel",e.onTouchEnd,{passive:!0}),r[l]("pointerout",e.onTouchEnd,{passive:!0}),r[l]("pointerleave",e.onTouchEnd,{passive:!0}),r[l]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&i[l]("click",e.onClick,!0),n.cssMode&&o[l]("scroll",e.onScroll),n.updateOnWindowResize?e[c](s.ios||s.android?"resize orientationchange observerUpdate":"resize observerUpdate",pe,!0):e[c]("observerUpdate",pe,!0),i[l]("load",e.onLoad,{capture:!0}))};const ve=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var ye={init:!0,direction:"horizontal",oneWayMovement:!1,swiperElementNodeName:"SWIPER-CONTAINER",touchEventsTarget:"wrapper",initialSlide:0,speed:300,cssMode:!1,updateOnWindowResize:!0,resizeObserver:!0,nested:!1,createElements:!1,eventsPrefix:"swiper",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:5,touchMoveStopPropagation:!1,touchStartPreventDefault:!0,touchStartForcePreventDefault:!1,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,loop:!1,loopAddBlankSlides:!0,loopAdditionalSlides:0,loopPreventsSliding:!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-blank",slideActiveClass:"swiper-slide-active",slideVisibleClass:"swiper-slide-visible",slideFullyVisibleClass:"swiper-slide-fully-visible",slideNextClass:"swiper-slide-next",slidePrevClass:"swiper-slide-prev",wrapperClass:"swiper-wrapper",lazyPreloaderClass:"swiper-lazy-preloader",lazyPreloadPrevNext:0,runCallbacksOnInit:!0,_emitClasses:!1};function be(e,t){return function(r){void 0===r&&(r={});const n=Object.keys(r)[0],i=r[n];"object"==typeof i&&null!==i?(!0===e[n]&&(e[n]={enabled:!0}),"navigation"===n&&e[n]&&e[n].enabled&&!e[n].prevEl&&!e[n].nextEl&&(e[n].auto=!0),["pagination","scrollbar"].indexOf(n)>=0&&e[n]&&e[n].enabled&&!e[n].el&&(e[n].auto=!0),n in e&&"enabled"in i?("object"!=typeof e[n]||"enabled"in e[n]||(e[n].enabled=!0),e[n]||(e[n]={enabled:!1}),j(t,r)):j(t,r)):j(t,r)}}const xe={eventsEmitter:K,update:re,translate:ne,transition:{setTransition:function(e,t){const r=this;r.params.cssMode||(r.wrapperEl.style.transitionDuration=`${e}ms`,r.wrapperEl.style.transitionDelay=0===e?"0ms":""),r.emit("setTransition",e,t)},transitionStart:function(e,t){void 0===e&&(e=!0);const r=this,{params:n}=r;n.cssMode||(n.autoHeight&&r.updateAutoHeight(),ie({swiper:r,runCallbacks:e,direction:t,step:"Start"}))},transitionEnd:function(e,t){void 0===e&&(e=!0);const r=this,{params:n}=r;r.animating=!1,n.cssMode||(r.setTransition(0),ie({swiper:r,runCallbacks:e,direction:t,step:"End"}))}},slide:oe,loop:se,grabCursor:{setGrabCursor:function(e){const t=this;if(!t.params.simulateTouch||t.params.watchOverflow&&t.isLocked||t.params.cssMode)return;const r="container"===t.params.touchEventsTarget?t.el:t.wrapperEl;t.isElement&&(t.__preventObserver__=!0),r.style.cursor="move",r.style.cursor=e?"grabbing":"grab",t.isElement&&requestAnimationFrame((()=>{t.__preventObserver__=!1}))},unsetGrabCursor:function(){const e=this;e.params.watchOverflow&&e.isLocked||e.params.cssMode||(e.isElement&&(e.__preventObserver__=!0),e["container"===e.params.touchEventsTarget?"el":"wrapperEl"].style.cursor="",e.isElement&&requestAnimationFrame((()=>{e.__preventObserver__=!1})))}},events:{attachEvents:function(){const e=this,{params:t}=e;e.onTouchStart=le.bind(e),e.onTouchMove=ce.bind(e),e.onTouchEnd=ue.bind(e),e.onDocumentTouchStart=ge.bind(e),t.cssMode&&(e.onScroll=fe.bind(e)),e.onClick=de.bind(e),e.onLoad=he.bind(e),me(e,"on")},detachEvents:function(){me(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:r,params:n,el:i}=e,o=n.breakpoints;if(!o||o&&0===Object.keys(o).length)return;const s=O(),a="window"!==n.breakpointsBase&&n.breakpointsBase?"container":n.breakpointsBase,l=["window","container"].includes(n.breakpointsBase)||!n.breakpointsBase?e.el:s.querySelector(n.breakpointsBase),c=e.getBreakpoint(o,a,l);if(!c||e.currentBreakpoint===c)return;const u=(c in o?o[c]:void 0)||e.originalParams,p=ve(e,n),d=ve(e,u),f=e.params.grabCursor,h=u.grabCursor,g=n.enabled;p&&!d?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!p&&d&&(i.classList.add(`${n.containerModifierClass}grid`),(u.grid.fill&&"column"===u.grid.fill||!u.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),f&&!h?e.unsetGrabCursor():!f&&h&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if(void 0===u[t])return;const r=n[t]&&n[t].enabled,i=u[t]&&u[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()}));const m=u.direction&&u.direction!==n.direction,v=n.loop&&(u.slidesPerView!==n.slidesPerView||m),y=n.loop;m&&r&&e.changeDirection(),j(e.params,u);const b=e.params.enabled,x=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),g&&!b?e.disable():!g&&b&&e.enable(),e.currentBreakpoint=c,e.emit("_beforeBreakpoint",u),r&&(v?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!y&&x?(e.loopCreate(t),e.updateSlides()):y&&!x&&e.loopDestroy()),e.emit("breakpoint",u)},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let n=!1;const i=_(),o="window"===t?i.innerHeight:r.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 e=0;er}else e.isLocked=1===e.snapGrid.length;!0===r.allowSlideNext&&(e.allowSlideNext=!e.isLocked),!0===r.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:r,rtl:n,el:i,device:o}=e,s=function(e,t){const r=[];return e.forEach((e=>{"object"==typeof e?Object.keys(e).forEach((n=>{e[n]&&r.push(t+n)})):"string"==typeof e&&r.push(t+e)})),r}(["initialized",r.direction,{"free-mode":e.params.freeMode&&r.freeMode.enabled},{autoheight:r.autoHeight},{rtl:n},{grid:r.grid&&r.grid.rows>1},{"grid-column":r.grid&&r.grid.rows>1&&"column"===r.grid.fill},{android:o.android},{ios:o.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...s),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!=typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},we={};class Se{constructor(){let e,t;for(var r=arguments.length,n=new Array(r),i=0;i1){const e=[];return o.querySelectorAll(t.el).forEach((r=>{const n=j({},t,{el:r});e.push(new Se(n))})),e}const s=this;s.__swiper__=!0,s.support=W(),s.device=Y({userAgent:t.userAgent}),s.browser=X(),s.eventsListeners={},s.eventsAnyListeners=[],s.modules=[...s.__modules__],t.modules&&Array.isArray(t.modules)&&s.modules.push(...t.modules);const a={};s.modules.forEach((e=>{e({params:t,swiper:s,extendParams:be(t,a),on:s.on.bind(s),once:s.once.bind(s),off:s.off.bind(s),emit:s.emit.bind(s)})}));const l=j({},ye,a);return s.params=j({},l,we,t),s.originalParams=j({},s.params),s.passedParams=j({},t),s.params&&s.params.on&&Object.keys(s.params.on).forEach((e=>{s.on(e,s.params.on[e])})),s.params&&s.params.onAny&&s.onAny(s.params.onAny),Object.assign(s,{enabled:s.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===s.params.direction,isVertical:()=>"vertical"===s.params.direction,activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,previousTranslate:0,progress:0,velocity:0,animating:!1,cssOverflowAdjustment(){return Math.trunc(this.translate/2**23)*2**23},allowSlideNext:s.params.allowSlideNext,allowSlidePrev:s.params.allowSlidePrev,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:s.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:s.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),s.emit("_swiper"),s.params.init&&s.init(),s}getDirectionLabel(e){return this.isHorizontal()?e:{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"}[e]}getSlideIndex(e){const{slidesEl:t,params:r}=this,n=B(R(t,`.${r.slideClass}, swiper-slide`)[0]);return B(e)-n}getSlideIndexByData(e){return this.getSlideIndex(this.slides.find((t=>1*t.getAttribute("data-swiper-slide-index")===e)))}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=R(e,`.${t.slideClass}, swiper-slide`)}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 r=this;e=Math.min(Math.max(e,0),1);const n=r.minTranslate(),i=(r.maxTranslate()-n)*e+n;r.translateTo(i,void 0===t?0:t),r.updateActiveIndex(),r.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.forEach((r=>{const n=e.getSlideClasses(r);t.push({slideEl:r,classNames:n}),e.emit("_slideClass",r,n)})),e.emit("_slideClasses",t)}slidesPerViewDynamic(e,t){void 0===e&&(e="current"),void 0===t&&(t=!1);const{params:r,slides:n,slidesGrid:i,slidesSizesGrid:o,size:s,activeIndex:a}=this;let l=1;if("number"==typeof r.slidesPerView)return r.slidesPerView;if(r.centeredSlides){let e,t=n[a]?Math.ceil(n[a].swiperSlideSize):0;for(let r=a+1;rs&&(e=!0));for(let r=a-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>s&&(e=!0))}else if("current"===e)for(let e=a+1;e=0;e-=1){i[a]-i[e]{t.complete&&Q(e,t)})),e.updateSize(),e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),r.freeMode&&r.freeMode.enabled&&!r.cssMode)n(),r.autoHeight&&e.updateAutoHeight();else{if(("auto"===r.slidesPerView||r.slidesPerView>1)&&e.isEnd&&!r.centeredSlides){const t=e.virtual&&r.virtual.enabled?e.virtual.slides:e.slides;i=e.slideTo(t.length-1,0,!1,!0)}else i=e.slideTo(e.activeIndex,0,!1,!0);i||n()}r.watchOverflow&&t!==e.snapGrid&&e.checkOverflow(),e.emit("update")}changeDirection(e,t){void 0===t&&(t=!0);const r=this,n=r.params.direction;return e||(e="horizontal"===n?"vertical":"horizontal"),e===n||"horizontal"!==e&&"vertical"!==e||(r.el.classList.remove(`${r.params.containerModifierClass}${n}`),r.el.classList.add(`${r.params.containerModifierClass}${e}`),r.emitContainerClasses(),r.params.direction=e,r.slides.forEach((t=>{"vertical"===e?t.style.width="":t.style.height=""})),r.emit("changeDirection"),t&&r.update()),r}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.classList.add(`${t.params.containerModifierClass}rtl`),t.el.dir="rtl"):(t.el.classList.remove(`${t.params.containerModifierClass}rtl`),t.el.dir="ltr"),t.update())}mount(e){const t=this;if(t.mounted)return!0;let r=e||t.params.el;if("string"==typeof r&&(r=document.querySelector(r)),!r)return!1;r.swiper=t,r.parentNode&&r.parentNode.host&&r.parentNode.host.nodeName===t.params.swiperElementNodeName.toUpperCase()&&(t.isElement=!0);const n=()=>`.${(t.params.wrapperClass||"").trim().split(" ").join(".")}`;let i=(()=>{if(r&&r.shadowRoot&&r.shadowRoot.querySelector){return r.shadowRoot.querySelector(n())}return R(r,n())[0]})();return!i&&t.params.createElements&&(i=z("div",t.params.wrapperClass),r.append(i),R(r,`.${t.params.slideClass}`).forEach((e=>{i.append(e)}))),Object.assign(t,{el:r,wrapperEl:i,slidesEl:t.isElement&&!r.parentNode.host.slideSlots?r.parentNode.host:i,hostEl:t.isElement?r.parentNode.host:r,mounted:!0,rtl:"rtl"===r.dir.toLowerCase()||"rtl"===F(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===F(r,"direction")),wrongRTL:"-webkit-box"===F(i,"display")}),!0}init(e){const t=this;if(t.initialized)return t;if(!1===t.mount(e))return t;t.emit("beforeInit"),t.params.breakpoints&&t.setBreakpoint(),t.addClasses(),t.updateSize(),t.updateSlides(),t.params.watchOverflow&&t.checkOverflow(),t.params.grabCursor&&t.enabled&&t.setGrabCursor(),t.params.loop&&t.virtual&&t.params.virtual.enabled?t.slideTo(t.params.initialSlide+t.virtual.slidesBefore,0,t.params.runCallbacksOnInit,!1,!0):t.slideTo(t.params.initialSlide,0,t.params.runCallbacksOnInit,!1,!0),t.params.loop&&t.loopCreate(void 0,!0),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach((e=>{e.complete?Q(t,e):e.addEventListener("load",(e=>{Q(t,e.target)}))})),te(t),t.initialized=!0,te(t),t.emit("init"),t.emit("afterInit"),t}destroy(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);const r=this,{params:n,el:i,wrapperEl:o,slides:s}=r;return void 0===r.params||r.destroyed||(r.emit("beforeDestroy"),r.initialized=!1,r.detachEvents(),n.loop&&r.loopDestroy(),t&&(r.removeClasses(),i&&"string"!=typeof i&&i.removeAttribute("style"),o&&o.removeAttribute("style"),s&&s.length&&s.forEach((e=>{e.classList.remove(n.slideVisibleClass,n.slideFullyVisibleClass,n.slideActiveClass,n.slideNextClass,n.slidePrevClass),e.removeAttribute("style"),e.removeAttribute("data-swiper-slide-index")}))),r.emit("destroy"),Object.keys(r.eventsListeners).forEach((e=>{r.off(e)})),!1!==e&&(r.el&&"string"!=typeof r.el&&(r.el.swiper=null),function(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}}))}(r)),r.destroyed=!0),null}static extendDefaults(e){j(we,e)}static get extendedDefaults(){return we}static get defaults(){return ye}static installModule(e){Se.prototype.__modules__||(Se.prototype.__modules__=[]);const t=Se.prototype.__modules__;"function"==typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>Se.installModule(e))),Se):(Se.installModule(e),Se)}}Object.keys(xe).forEach((e=>{Object.keys(xe[e]).forEach((t=>{Se.prototype[t]=xe[e][t]}))})),Se.use([function(e){let{swiper:t,on:r,emit:n}=e;const i=_();let o=null,s=null;const a=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},l=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",(()=>{t.params.resizeObserver&&void 0!==i.ResizeObserver?t&&!t.destroyed&&t.initialized&&(o=new ResizeObserver((e=>{s=i.requestAnimationFrame((()=>{const{width:r,height:n}=t;let i=r,o=n;e.forEach((e=>{let{contentBoxSize:r,contentRect:n,target:s}=e;s&&s!==t.el||(i=n?n.width:(r[0]||r).inlineSize,o=n?n.height:(r[0]||r).blockSize)})),i===r&&o===n||a()}))})),o.observe(t.el)):(i.addEventListener("resize",a),i.addEventListener("orientationchange",l))})),r("destroy",(()=>{s&&i.cancelAnimationFrame(s),o&&o.unobserve&&t.el&&(o.unobserve(t.el),o=null),i.removeEventListener("resize",a),i.removeEventListener("orientationchange",l)}))},function(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o=[],s=_(),a=function(e,r){void 0===r&&(r={});const n=new(s.MutationObserver||s.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void i("observerUpdate",e[0]);const r=function(){i("observerUpdate",e[0])};s.requestAnimationFrame?s.requestAnimationFrame(r):s.setTimeout(r,0)}));n.observe(e,{attributes:void 0===r.attributes||r.attributes,childList:t.isElement||(void 0===r.childList||r).childList,characterData:void 0===r.characterData||r.characterData}),o.push(n)};r({observer:!1,observeParents:!1,observeSlideChildren:!1}),n("init",(()=>{if(t.params.observer){if(t.params.observeParents){const e=G(t.hostEl);for(let t=0;t{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}]);const ke={init:function(){new Se(".swiper-container-heading",{loop:!1,mousewheel:!0,slidesPerView:"auto",spaceBetween:16,freeMode:!0,slidesOffsetAfter:10})}};const Te={init:function(){document.querySelectorAll('a[href^="#"]').forEach((function(e){e.addEventListener("click",(function(t){t.preventDefault();var r=e.getAttribute("href");document.querySelector(r).scrollIntoView({behavior:"smooth",block:"center"})}))}))}};function Ee(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function Oe(e){let{swiper:t,extendParams:r,on:n,emit:i}=e;const o="swiper-pagination";let s;r({pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,progressbarOpposite:!1,type:"bullets",dynamicBullets:!1,dynamicMainBullets:1,formatFractionCurrent:e=>e,formatFractionTotal:e=>e,bulletClass:`${o}-bullet`,bulletActiveClass:`${o}-bullet-active`,modifierClass:`${o}-`,currentClass:`${o}-current`,totalClass:`${o}-total`,hiddenClass:`${o}-hidden`,progressbarFillClass:`${o}-progressbar-fill`,progressbarOppositeClass:`${o}-progressbar-opposite`,clickableClass:`${o}-clickable`,lockClass:`${o}-lock`,horizontalClass:`${o}-horizontal`,verticalClass:`${o}-vertical`,paginationDisabledClass:`${o}-disabled`}}),t.pagination={el:null,bullets:[]};let a=0;function l(){return!t.params.pagination.el||!t.pagination.el||Array.isArray(t.pagination.el)&&0===t.pagination.el.length}function c(e,r){const{bulletActiveClass:n}=t.params.pagination;e&&(e=e[("prev"===r?"previous":"next")+"ElementSibling"])&&(e.classList.add(`${n}-${r}`),(e=e[("prev"===r?"previous":"next")+"ElementSibling"])&&e.classList.add(`${n}-${r}-${r}`))}function u(e){const r=e.target.closest(Ee(t.params.pagination.bulletClass));if(!r)return;e.preventDefault();const n=B(r)*t.params.slidesPerGroup;if(t.params.loop){if(t.realIndex===n)return;const e=(i=t.realIndex,o=n,s=t.slides.length,(o%=s)==1+(i%=s)?"next":o===i-1?"previous":void 0);"next"===e?t.slideNext():"previous"===e?t.slidePrev():t.slideToLoop(n)}else t.slideTo(n);var i,o,s}function p(){const e=t.rtl,r=t.params.pagination;if(l())return;let n,o,u=t.pagination.el;u=U(u);const p=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.slides.length,d=t.params.loop?Math.ceil(p/t.params.slidesPerGroup):t.snapGrid.length;if(t.params.loop?(o=t.previousRealIndex||0,n=t.params.slidesPerGroup>1?Math.floor(t.realIndex/t.params.slidesPerGroup):t.realIndex):void 0!==t.snapIndex?(n=t.snapIndex,o=t.previousSnapIndex):(o=t.previousIndex||0,n=t.activeIndex||0),"bullets"===r.type&&t.pagination.bullets&&t.pagination.bullets.length>0){const i=t.pagination.bullets;let l,p,d;if(r.dynamicBullets&&(s=$(i[0],t.isHorizontal()?"width":"height",!0),u.forEach((e=>{e.style[t.isHorizontal()?"width":"height"]=s*(r.dynamicMainBullets+4)+"px"})),r.dynamicMainBullets>1&&void 0!==o&&(a+=n-(o||0),a>r.dynamicMainBullets-1?a=r.dynamicMainBullets-1:a<0&&(a=0)),l=Math.max(n-a,0),p=l+(Math.min(i.length,r.dynamicMainBullets)-1),d=(p+l)/2),i.forEach((e=>{const t=[...["","-next","-next-next","-prev","-prev-prev","-main"].map((e=>`${r.bulletActiveClass}${e}`))].map((e=>"string"==typeof e&&e.includes(" ")?e.split(" "):e)).flat();e.classList.remove(...t)})),u.length>1)i.forEach((e=>{const i=B(e);i===n?e.classList.add(...r.bulletActiveClass.split(" ")):t.isElement&&e.setAttribute("part","bullet"),r.dynamicBullets&&(i>=l&&i<=p&&e.classList.add(...`${r.bulletActiveClass}-main`.split(" ")),i===l&&c(e,"prev"),i===p&&c(e,"next"))}));else{const e=i[n];if(e&&e.classList.add(...r.bulletActiveClass.split(" ")),t.isElement&&i.forEach(((e,t)=>{e.setAttribute("part",t===n?"bullet-active":"bullet")})),r.dynamicBullets){const e=i[l],t=i[p];for(let e=l;e<=p;e+=1)i[e]&&i[e].classList.add(...`${r.bulletActiveClass}-main`.split(" "));c(e,"prev"),c(t,"next")}}if(r.dynamicBullets){const n=Math.min(i.length,r.dynamicMainBullets+4),o=(s*n-s)/2-d*s,a=e?"right":"left";i.forEach((e=>{e.style[t.isHorizontal()?a:"top"]=`${o}px`}))}}u.forEach(((e,o)=>{if("fraction"===r.type&&(e.querySelectorAll(Ee(r.currentClass)).forEach((e=>{e.textContent=r.formatFractionCurrent(n+1)})),e.querySelectorAll(Ee(r.totalClass)).forEach((e=>{e.textContent=r.formatFractionTotal(d)}))),"progressbar"===r.type){let i;i=r.progressbarOpposite?t.isHorizontal()?"vertical":"horizontal":t.isHorizontal()?"horizontal":"vertical";const o=(n+1)/d;let s=1,a=1;"horizontal"===i?s=o:a=o,e.querySelectorAll(Ee(r.progressbarFillClass)).forEach((e=>{e.style.transform=`translate3d(0,0,0) scaleX(${s}) scaleY(${a})`,e.style.transitionDuration=`${t.params.speed}ms`}))}"custom"===r.type&&r.renderCustom?(e.innerHTML=r.renderCustom(t,n+1,d),0===o&&i("paginationRender",e)):(0===o&&i("paginationRender",e),i("paginationUpdate",e)),t.params.watchOverflow&&t.enabled&&e.classList[t.isLocked?"add":"remove"](r.lockClass)}))}function d(){const e=t.params.pagination;if(l())return;const r=t.virtual&&t.params.virtual.enabled?t.virtual.slides.length:t.grid&&t.params.grid.rows>1?t.slides.length/Math.ceil(t.params.grid.rows):t.slides.length;let n=t.pagination.el;n=U(n);let o="";if("bullets"===e.type){let n=t.params.loop?Math.ceil(r/t.params.slidesPerGroup):t.snapGrid.length;t.params.freeMode&&t.params.freeMode.enabled&&n>r&&(n=r);for(let r=0;r`}"fraction"===e.type&&(o=e.renderFraction?e.renderFraction.call(t,e.currentClass,e.totalClass):` / `),"progressbar"===e.type&&(o=e.renderProgressbar?e.renderProgressbar.call(t,e.progressbarFillClass):``),t.pagination.bullets=[],n.forEach((r=>{"custom"!==e.type&&(r.innerHTML=o||""),"bullets"===e.type&&t.pagination.bullets.push(...r.querySelectorAll(Ee(e.bulletClass)))})),"custom"!==e.type&&i("paginationRender",n[0])}function f(){t.params.pagination=function(e,t,r,n){return e.params.createElements&&Object.keys(n).forEach((i=>{if(!r[i]&&!0===r.auto){let o=R(e.el,`.${n[i]}`)[0];o||(o=z("div",n[i]),o.className=n[i],e.el.append(o)),r[i]=o,t[i]=o}})),r}(t,t.originalParams.pagination,t.params.pagination,{el:"swiper-pagination"});const e=t.params.pagination;if(!e.el)return;let r;"string"==typeof e.el&&t.isElement&&(r=t.el.querySelector(e.el)),r||"string"!=typeof e.el||(r=[...document.querySelectorAll(e.el)]),r||(r=e.el),r&&0!==r.length&&(t.params.uniqueNavElements&&"string"==typeof e.el&&Array.isArray(r)&&r.length>1&&(r=[...t.el.querySelectorAll(e.el)],r.length>1&&(r=r.find((e=>G(e,".swiper")[0]===t.el)))),Array.isArray(r)&&1===r.length&&(r=r[0]),Object.assign(t.pagination,{el:r}),r=U(r),r.forEach((r=>{"bullets"===e.type&&e.clickable&&r.classList.add(...(e.clickableClass||"").split(" ")),r.classList.add(e.modifierClass+e.type),r.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass),"bullets"===e.type&&e.dynamicBullets&&(r.classList.add(`${e.modifierClass}${e.type}-dynamic`),a=0,e.dynamicMainBullets<1&&(e.dynamicMainBullets=1)),"progressbar"===e.type&&e.progressbarOpposite&&r.classList.add(e.progressbarOppositeClass),e.clickable&&r.addEventListener("click",u),t.enabled||r.classList.add(e.lockClass)})))}function h(){const e=t.params.pagination;if(l())return;let r=t.pagination.el;r&&(r=U(r),r.forEach((r=>{r.classList.remove(e.hiddenClass),r.classList.remove(e.modifierClass+e.type),r.classList.remove(t.isHorizontal()?e.horizontalClass:e.verticalClass),e.clickable&&(r.classList.remove(...(e.clickableClass||"").split(" ")),r.removeEventListener("click",u))}))),t.pagination.bullets&&t.pagination.bullets.forEach((t=>t.classList.remove(...e.bulletActiveClass.split(" "))))}n("changeDirection",(()=>{if(!t.pagination||!t.pagination.el)return;const e=t.params.pagination;let{el:r}=t.pagination;r=U(r),r.forEach((r=>{r.classList.remove(e.horizontalClass,e.verticalClass),r.classList.add(t.isHorizontal()?e.horizontalClass:e.verticalClass)}))})),n("init",(()=>{!1===t.params.pagination.enabled?g():(f(),d(),p())})),n("activeIndexChange",(()=>{void 0===t.snapIndex&&p()})),n("snapIndexChange",(()=>{p()})),n("snapGridLengthChange",(()=>{d(),p()})),n("destroy",(()=>{h()})),n("enable disable",(()=>{let{el:e}=t.pagination;e&&(e=U(e),e.forEach((e=>e.classList[t.enabled?"remove":"add"](t.params.pagination.lockClass))))})),n("lock unlock",(()=>{p()})),n("click",((e,r)=>{const n=r.target,o=U(t.pagination.el);if(t.params.pagination.el&&t.params.pagination.hideOnClick&&o&&o.length>0&&!n.classList.contains(t.params.pagination.bulletClass)){if(t.navigation&&(t.navigation.nextEl&&n===t.navigation.nextEl||t.navigation.prevEl&&n===t.navigation.prevEl))return;const e=o[0].classList.contains(t.params.pagination.hiddenClass);i(!0===e?"paginationShow":"paginationHide"),o.forEach((e=>e.classList.toggle(t.params.pagination.hiddenClass)))}}));const g=()=>{t.el.classList.add(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=U(e),e.forEach((e=>e.classList.add(t.params.pagination.paginationDisabledClass)))),h()};Object.assign(t.pagination,{enable:()=>{t.el.classList.remove(t.params.pagination.paginationDisabledClass);let{el:e}=t.pagination;e&&(e=U(e),e.forEach((e=>e.classList.remove(t.params.pagination.paginationDisabledClass)))),f(),d(),p()},disable:g,render:d,update:p,init:f,destroy:h})}const Ae={init:function(){var e,t;function r(){return document.querySelector(".flo-categories__category--tablet-swiper")?new Se(".flo-categories__category--tablet-swiper .flo-category__swiper-container",{spaceBetween:20,mousewheel:!0,slidesPerView:"auto",freeMode:!0}):void 0}function n(){return document.querySelector(".flo-categories__category--mobile-swiper")?new Se(".flo-categories__category--mobile-swiper .flo-category__swiper-container",{modules:[Oe],spaceBetween:40,mousewheel:!0,slidesPerView:"auto",freeMode:!1,pagination:{el:".swiper-pagination",type:"bullets",clickable:!0}}):void 0}function i(e){return null!=e.length?void e.forEach((function(e){return e.destroy()})):void e.destroy()}window.matchMedia("(min-width: 760px) and (max-width: 1199px)").matches?e=r():window.matchMedia("(max-width: 759px)").matches&&(t=n()),window.addEventListener("resize",(function(o){window.matchMedia("(max-width: 759px)").matches?null==t&&(t=n(),e&&(e=i(e))):window.matchMedia("(min-width: 760px) and (max-width: 1199px)").matches?null==e&&(e=r(),t&&(t=i(t))):window.matchMedia("(min-width: 1200px)").matches&&(e?e=i(e):t&&(t=i(t)))}))}};document.addEventListener("DOMContentLoaded",(function(){S.init(),i.init(),g.init(),ke.init(),Te.init(),Ae.init()}))})()})();-->