PageSourceSearch

https://www.backbayvet.com/_next/static/chunks/6885-09afdcd82d94b268.js

js backbayvet.com collected 2026-09-29 19:18:04 UTC 164,643 bytes, 1 lines download raw bytes

vendor: 2,896 bytes, line 1
1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6885],{29321:function(e,t,r){"use strict";r.d(t,{XL:function(){return A}});var n=r(64063),i=r.n(n);const s=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array],a=new Uint32Array(96);class o{static from(e){if(!e||void 0===e.byteLength||e.buffer)throw new Error("Data must be an instance of ArrayBuffer or SharedArrayBuffer.");const[t,r]=new Uint8Array(e,0,2);if(219!==t)throw new Error("Data does not appear to be in a KDBush format.");const n=r>>4;if(1!==n)throw new Error(`Got v${n} data when expected v1.`);const i=s[15&r];if(!i)throw new Error("Unrecognized array type.");const[a]=new Uint16Array(e,2,1),[l]=new Uint32Array(e,4,1);return new o(l,a,i,void 0,e)}constructor(e,t=64,r=Float64Array,n=ArrayBuffer,i){if(isNaN(e)||e<0)throw new Error(`Unexpected numItems value: ${e}.`);this.numItems=+e,this.nodeSize=Math.min(Math.max(+t,2),65535),this.ArrayType=r,this.IndexArrayType=e<65536?Uint16Array:Uint32Array;const a=s.indexOf(this.ArrayType),o=2*e*this.ArrayType.BYTES_PER_ELEMENT,l=e*this.IndexArrayType.BYTES_PER_ELEMENT,d=(8-l%8)%8;if(a<0)throw new Error(`Unexpected typed array class: ${r}.`);if(i)this.data=i,this.ids=new this.IndexArrayType(i,8,e),this.coords=new r(i,8+l+d,2*e),this._pos=2*e,this._finished=!0;else{const i=this.data=new n(8+o+l+d);this.ids=new this.IndexArrayType(i,8,e),this.coords=new r(i,8+l+d,2*e),this._pos=0,this._finished=!1,new Uint8Array(i,0,2).set([219,16+a]),new Uint16Array(i,2,1)[0]=t,new Uint32Array(i,4,1)[0]=e}}add(e,t){const r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=e,this.coords[this._pos++]=t,r}finish(){const e=this._pos>>1;if(e!==this.numItems)throw new Error(`Added ${e} items when expected ${this.numItems}.`);return l(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(e,t,r,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:o}=this;a[0]=0,a[1]=i.length-1,a[2]=0;let l=3;const d=[];for(;l>0;){const c=a[--l],u=a[--l],p=a[--l];if(u-p<=o){for(let a=p;a<=u;a++){const o=s[2*a],l=s[2*a+1];o>=e&&o<=r&&l>=t&&l<=n&&d.push(i[a])}continue}const f=p+u>>1,h=s[2*f],m=s[2*f+1];h>=e&&h<=r&&m>=t&&m<=n&&d.push(i[f]),(0===c?e<=h:t<=m)&&(a[l++]=p,a[l++]=f-1,a[l++]=1-c),(0===c?r>=h:n>=m)&&(a[l++]=f+1,a[l++]=u,a[l++]=1-c)}return d}within(e,t,r){const n=[];return this.withinInto(e,t,r,n),n}withinInto(e,t,r,n){if(!this._finished)throw new Error("Data not yet indexed - call index.finish().");const{ids:i,coords:s,nodeSize:o}=this;a[0]=0,a[1]=i.length-1,a[2]=0;let l=3,d=0;const c=r*r;for(;l>0;){const u=a[--l],f=a[--l],h=a[--l];if(f-h<=o){for(let r=h;r<=f;r++)p(s[2*r],s[2*r+1],e,t)<=c&&(n[d++]=i[r]);continue}const m=h+f>>1,g=s[2*m],v=s[2*m+1];p(g,v,e,t)<=c&&(n[d++]=i[m]),(0===u?e-r<=g:t-r<=v)&&(a[l++]=h,a[l++]=m-1,a[l
vendor: 4,952 bytes, line 1
1++]=1-u),(0===u?e+r>=g:t+r>=v)&&(a[l++]=m+1,a[l++]=f,a[l++]=1-u)}return d}}function l(e,t,r,n,i,s){if(i-n<=r)return;const a=n+i>>1;d(e,t,a,n,i,s),l(e,t,r,n,a-1,1-s),l(e,t,r,a+1,i,1-s)}function d(e,t,r,n,i,s){for(;i>n;){if(i-n>600){const a=i-n+1,o=r-n+1,l=Math.log(a),c=.5*Math.exp(2*l/3),u=.5*Math.sqrt(l*c*(a-c)/a)*(o-a/2<0?-1:1);d(e,t,r,Math.max(n,Math.floor(r-o*c/a+u)),Math.min(i,Math.floor(r+(a-o)*c/a+u)),s)}const a=t[2*r+s];let o=n,l=i;for(c(e,t,n,r),t[2*i+s]>a&&c(e,t,n,i);o<l;){for(c(e,t,o,l),o++,l--;t[2*o+s]<a;)o++;for(;t[2*l+s]>a;)l--}t[2*n+s]===a?c(e,t,n,l):(l++,c(e,t,l,i)),l<=r&&(n=l+1),r<=l&&(i=l-1)}}function c(e,t,r,n){u(e,r,n),u(t,2*r,2*n),u(t,2*r+1,2*n+1)}function u(e,t,r){const n=e[t];e[t]=e[r],e[r]=n}function p(e,t,r,n){const i=e-r,s=t-n;return i*i+s*s}const f={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:e=>e},h=Math.fround||(m=new Float32Array(1),e=>(m[0]=+e,m[0]));var m;class g{constructor(e){this.options=Object.assign(Object.create(f),e),this.trees=new Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(e){const{log:t,minZoom:r,maxZoom:n}=this.options;t&&console.time("total time");const i=`prepare ${e.length} points`;t&&console.time(i),this.points=e;const s=[];for(let o=0;o<e.length;o++){const t=e[o];if(!t.geometry)continue;const[r,n]=t.geometry.coordinates,i=h(w(r)),a=h(b(n));s.push(i,a,1/0,o,-1,1),this.options.reduce&&s.push(0)}let a=this.trees[n+1]=this._createTree(s);t&&console.timeEnd(i);for(let o=n;o>=r;o--){const e=+Date.now();a=this.trees[o]=this._createTree(this._cluster(a,o)),t&&console.log("z%d: %d clusters in %dms",o,a.numItems,+Date.now()-e)}return t&&console.timeEnd("total time"),this}getClusters(e,t){let r=((e[0]+180)%360+360)%360-180;const n=Math.max(-90,Math.min(90,e[1]));let i=180===e[2]?180:((e[2]+180)%360+360)%360-180;const s=Math.max(-90,Math.min(90,e[3]));if(e[2]-e[0]>=360)r=-180,i=180;else if(r>i){const e=this.getClusters([r,n,180,s],t),a=this.getClusters([-180,n,i,s],t);return e.concat(a)}const a=this.trees[this._limitZoom(t)],o=a.range(w(r),b(s),w(i),b(n)),l=a.data,d=[];for(const c of o){const e=this.stride*c;d.push(l[e+5]>1?v(l,e,this.clusterProps):this.points[l[e+3]])}return d}getChildren(e){const t=this._getOriginId(e),r=this._getOriginZoom(e),n="No cluster with the specified id.",i=this.trees[r];if(!i)throw new Error(n);const s=i.data;if(t*this.stride>=s.length)throw new Error(n);const a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),o=s[t*this.stride],l=s[t*this.stride+1],d=i.within(o,l,a),c=[];for(const u of d){const t=u*this.stride;s[t+4]===e&&c.push(s[t+5]>1?v(s,t,this.clusterProps):this.points[s[t+3]])}if(0===c.length)throw new Error(n);return c}getLeaves(e,t,r){t=t||10,r=r||0;const n=[];return this._appendLeaves(n,e,t,r,0),n}getTile(e,t,r){const n=this.trees[this._limitZoom(e)],i=Math.pow(2,e),{extent:s,radius:a}=this.options,o=a/s,l=(r-o)/i,d=(r+1+o)/i,c={features:[]};return this._addTileFeatures(n.range((t-o)/i,l,(t+1+o)/i,d),n.data,t,r,i,c),0===t&&this._addTileFeatures(n.range(1-o/i,l,1,d),n.data,i,r,i,c),t===i-1&&this._addTileFeatures(n.range(0,l,o/i,d),n.data,-1,r,i,c),c.features.length?c:null}getClusterExpansionZoom(e){let t=this._getOriginZoom(e)-1;for(;t<=this.options.maxZoom;){const r=this.getChildren(e);if(t++,1!==r.length)break;e=r[0].properties.cluster_id}return t}_appendLeaves(e,t,r,n,i){const s=this.getChildren(t);for(const a of s){const t=a.properties;if(t&&t.cluster?i+t.point_count<=n?i+=t.point_count:i=this._appendLeaves(e,t.cluster_id,r,n,i):i<n?i++:e.push(a),e.length===r)break}return i}_createTree(e){const t=new o(e.length/this.stride|0,this.options.nodeSize,Float32Array);for(let r=0;r<e.length;r+=this.stride)t.add(e[r],e[r+1]);return t.finish(),t.data=e,t}_addTileFeatures(e,t,r,n,i,s){for(const a of e){const e=a*this.stride,o=t[e+5]>1;let l,d,c;if(o)l=y(t,e,this.clusterProps),d=t[e],c=t[e+1];else{const r=this.points[t[e+3]];l=r.properties;const[n,i]=r.geometry.coordinates;d=w(n),c=b(i)}const u={type:1,geometry:[[Math.round(this.options.extent*(d*i-r)),Math.round(this.options.extent*(c*i-n))]],tags:l};let p;p=o||this.options.generateId?t[e+3]:this.points[t[e+3]].id,void 0!==p&&(u.id=p),s.features.push(u)}}_limitZoom(e){return Math.max(this.options.minZoom,Math.min(Math.floor(+e),this.options.maxZoom+1))}_cluster(e,t){const{radius:r,extent:n,reduce:i,minPoints:s}=this.options,a=r/(n*Math.pow(2,t)),o=e.data,l=[],d=this.stride;for(let c=0;c<o.length;c+=d){if(o[c+2]<=t)continue;o[c+2]=t;const r=o[c],n=o[c+1],u=e.within(o[c],o[c+1],a),p=o[c+5];let f=p;for(const e of u){const r=e*d;o[r+2]>t&&(f+=o[r+5])}if(f>p&&f>=s){let e,s=r*p,a=n*p,h=-1;const m=((c/d|0)<<5)+(t+1)+this.points.length;for(const r of u){const n=r*d;if(o[n+2]<=t)continue;o[n+2]=t;const l=o[n+5];s+=o[n]*l,a+=o[n+1]*l,o[n+4]=m,i&&(e||(e=this._map(o,c,!0),h=this.clusterProps.length,this.clusterProps.push(e)),i(e,this._map(o,n)
1))}o[c+4]=m,l.push(s/f,a/f,1/0,m,-1,f),i&&l.push(h)}else{for(let e=0;e<d;e++)l.push(o[c+e]);if(f>1)for(const e of u){const r=e*d;if(!(o[r+2]<=t)){o[r+2]=t;for(let e=0;e<d;e++)l.push(o[r+e])}}}}return l}_getOriginId(e){return e-this.points.length>>5}_getOriginZoom(e){return(e-this.points.length)%32}_map(e,t,r){if(e[t+5]>1){const n=this.clusterProps[e[t+6]];return r?Object.assign({},n):n}const n=this.points[e[t+3]].properties,i=this.options.map(n);return r&&i===n?Object.assign({},i):i}}function v(e,t,r){return{type:"Feature",id:e[t+3],properties:y(e,t,r),geometry:{type:"Point",coordinates:[(n=e[t],360*(n-.5)),x(e[t+1])]}};var n}function y(e,t,r){const n=e[t+5],i=n>=1e4?`${Math.round(n/1e3)}k`:n>=1e3?Math.round(n/100)/10+"k":n,s=e[t+6],a=-1===s?{}:Object.assign({},r[s]);return Object.assign(a,{cluster:!0,cluster_id:e[t+3],point_count:n,point_count_abbreviated:i})}function w(e){return e/360+.5}function b(e){const t=Math.sin(e*Math.PI/180),r=.5-.25*Math.log((1+t)/(1-t))/Math.PI;return r<0?0:r>1?1:r}function x(e){const t=(180-360*e)*Math.PI/180;return 360*Math.atan(Math.exp(t))/Math.PI-90}function E(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r}class S{static isAdvancedMarkerAvailable(e){return google.maps.marker&&!0===e.getMapCapabilities().isAdvancedMarkersAvailable}static isAdvancedMarker(e){return google.maps.marker&&e instanceof google.maps.marker.AdvancedMarkerElement}static setMap(e,t){this.isAdvancedMarker(e)?e.map=t:e.setMap(t)}static getPosition(e){if(this.isAdvancedMarker(e)){if(e.position){if(e.position instanceof google.maps.LatLng)return e.position;if(e.position.lat&&e.position.lng)return new google.maps.LatLng(e.position.lat,e.position.lng)}return new google.maps.LatLng(null)}return e.getPosition()}static getVisible(e){return!!this.isAdvancedMarker(e)||e.getVisible()}}class T{constructor({markers:e,position:t}){this.markers=e,t&&(t instanceof google.maps.LatLng?this._position=t:this._position=new google.maps.LatLng(t))}get bounds(){if(0===this.markers.length&&!this._position)return;const e=new google.maps.LatLngBounds(this._position,this._position);for(const t of this.markers)e.extend(S.getPosition(t));return e}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter((e=>S.getVisible(e))).length}push(e){this.markers.push(e)}delete(){this.marker&&(S.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}class C{constructor({maxZoom:e=16}){this.maxZoom=e}noop({markers:e}){return k(e)}}const k=e=>e.map((e=>new T({position:S.getPosition(e),markers:[e]})));class P extends C{constructor(e){var{maxZoom:t,radius:r=60}=e,n=E(e,["maxZoom","radius"]);super({maxZoom:t}),this.state={zoom:-1},this.superCluster=new g(Object.assign({maxZoom:this.maxZoom,radius:r},n))}calculate(e){let t=!1;const r={zoom:e.map.getZoom()};if(!i()(e.markers,this.markers)){t=!0,this.markers=[...e.markers];const r=this.markers.map((e=>{const t=S.getPosition(e);return{type:"Feature",geometry:{type:"Point",coordinates:[t.lng(),t.lat()]},properties:{marker:e}}}));this.superCluster.load(r)}return t||(this.state.zoom<=this.maxZoom||r.zoom<=this.maxZoom)&&(t=!i()(this.state,r)),this.state=r,t&&(this.cluster
vendor: 4,321 bytes, line 1
1s=this.cluster(e)),{clusters:this.clusters,changed:t}}cluster({map:e}){return this.superCluster.getClusters([-180,-90,180,90],Math.round(e.getZoom())).map((e=>this.transformCluster(e)))}transformCluster({geometry:{coordinates:[e,t]},properties:r}){if(r.cluster)return new T({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map((e=>e.properties.marker)),position:{lat:t,lng:e}});const n=r.marker;return new T({markers:[n],position:S.getPosition(n)})}}class M{constructor(e,t){this.markers={sum:e.length};const r=t.map((e=>e.count)),n=r.reduce(((e,t)=>e+t),0);this.clusters={count:t.length,markers:{mean:n/t.length,sum:n,min:Math.min(...r),max:Math.max(...r)}}}}class L{render({count:e,position:t},r,n){const i=`<svg fill="${e>Math.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff"}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">\n<circle cx="120" cy="120" opacity=".6" r="70" />\n<circle cx="120" cy="120" opacity=".3" r="90" />\n<circle cx="120" cy="120" opacity=".2" r="110" />\n<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${e}</text>\n</svg>`,s=`Cluster of ${e} markers`,a=Number(google.maps.Marker.MAX_ZINDEX)+e;if(S.isAdvancedMarkerAvailable(n)){const e=(new DOMParser).parseFromString(i,"image/svg+xml").documentElement;e.setAttribute("transform","translate(0 25)");const r={map:n,position:t,zIndex:a,title:s,content:e};return new google.maps.marker.AdvancedMarkerElement(r)}const o={position:t,zIndex:a,title:s,icon:{url:`data:image/svg+xml;base64,${btoa(i)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(o)}}class O{constructor(){!function(e,t){for(let r in t.prototype)e.prototype[r]=t.prototype[r]}(O,google.maps.OverlayView)}}var I;!function(e){e.CLUSTERING_BEGIN="clusteringbegin",e.CLUSTERING_END="clusteringend",e.CLUSTER_CLICK="click"}(I||(I={}));const _=(e,t,r)=>{r.fitBounds(t.bounds)};class A extends O{constructor({map:e,markers:t=[],algorithmOptions:r={},algorithm:n=new P(r),renderer:i=new L,onClusterClick:s=_}){super(),this.markers=[...t],this.clusters=[],this.algorithm=n,this.renderer=i,this.onClusterClick=s,e&&this.setMap(e)}addMarker(e,t){this.markers.includes(e)||(this.markers.push(e),t||this.render())}addMarkers(e,t){e.forEach((e=>{this.addMarker(e,!0)})),t||this.render()}removeMarker(e,t){const r=this.markers.indexOf(e);return-1!==r&&(S.setMap(e,null),this.markers.splice(r,1),t||this.render(),!0)}removeMarkers(e,t){let r=!1;return e.forEach((e=>{r=this.removeMarker(e,!0)||r})),r&&!t&&this.render(),r}clearMarkers(e){this.markers.length=0,e||this.render()}render(){const e=this.getMap();if(e instanceof google.maps.Map&&e.getProjection()){google.maps.event.trigger(this,I.CLUSTERING_BEGIN,this);const{clusters:t,changed:r}=this.algorithm.calculate({markers:this.markers,map:e,mapCanvasProjection:this.getProjection()});if(r||void 0==r){const e=new Set;for(const n of t)1==n.markers.length&&e.add(n.markers[0]);const r=[];for(const t of this.clusters)null!=t.marker&&(1==t.markers.length?e.has(t.marker)||S.setMap(t.marker,null):r.push(t.marker));this.clusters=t,this.renderClusters(),requestAnimationFrame((()=>r.forEach((e=>S.setMap(e,null)))))}google.maps.event.trigger(this,I.CLUSTERING_END,this)}}onAdd(){this.idleListener=this.getMap().addListener("idle",this.render.bind(this)),this.render()}onRemove(){google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach((e=>S.setMap(e,null))),this.clusters.forEach((e=>e.delete())),this.clusters=[]}renderClusters(){const e=new M(this.markers,this.clusters),t=this.getMap();this.clusters.forEach((r=>{1===r.markers.length?r.marker=r.markers[0]:(r.marker=this.renderer.render(r,e,t),r.markers.forEach((e=>S.setMap(e,null))),this.onClusterClick&&r.marker.addListener("click",(e=>{google.maps.event.trigger(this,I.CLUSTER_CLICK,r),this.onClusterClick(e,r,t)}))),S.setMap(r.marker,t)}))}}},51320:function(e,t,r){var n,i;void 0===(i="function"===typeof(n=function(){var e="details",t="summary";function r(e){if("summary"===e.target.nodeName.toLowerCase()){var t=e.target.parentNode;if(!t)return;t.getAttribute("open")?(t.open=!1,t.removeAttribute("open")):(t.open=!0,t.setAttribute("open","open"))}}function n(){var r=document.createElement(e);
1if(!("open"in r))return!1;r.innerHTML="<"+t+">a</"+t+">b",document.body.appendChild(r);var n=r.offsetHeight;r.open=!0;var i=n!=r.offsetHeight;return document.body.removeChild(r),i}function i(e,t){if(!document.getElementById(e)){var r=document.createElement("style");r.id=e,r.innerHTML=t,document.getElementsByTagName("head")[0].appendChild(r)}}n()||(document.documentElement.className+=" no-details",window.addEventListener("click",r),i("details-polyfill-style","html.no-details "+e+" { display: block; }\nhtml.no-details "+e+":not([open]) > :not("+t+") { display: none; }\nhtml.no-details "+e+" > "+t+':before { content: "\u25b6"; display: inline-block; font-size: .8em; width: 1.5em; }\nhtml.no-details '+e+"[open] > "+t+':before { content: "\u25bc"; }'))})?n.call(t,r,t,e):n)||(e.exports=i)},31336:function(e,t,r){var n,i;!function(){var s,a=function(e){var t=new a.Builder;return t.pipeline.add(a.trimmer,a.stopWordFilter,a.stemmer),t.searchPipeline.add(a.stemmer),e.call(t,t),t.build()};a.version="2.3.9",a.utils={},a.utils.warn=(s=this,function(e){s.console&&console.warn&&console.warn(e)}),a.utils.asString=function(e){return void 0===e||null===e?"":e.toString()},a.utils.clone=function(e){if(null===e||void 0===e)return e;for(var t=Object.create(null),r=Object.keys(e),n=0;n<r.length;n++){var i=r[n],s=e[i];if(Array.isArray(s))t[i]=s.slice();else{if("string"!==typeof s&&"number"!==typeof s&&"boolean"!==typeof s)throw new TypeError("clone is not deep and does not support nested objects");t[i]=s}}return t},a.FieldRef=function(e,t,r){this.docRef=e,this.fieldName=t,this._stringValue=r},a.FieldRef.joiner="/",a.FieldRef.fromString=function(e){var t=e.indexOf(a.FieldRef.joiner);if(-1===t)throw"malformed field ref string";var r=e.slice(0,t),n=e.slice(t+1);return new a.FieldRef(n,r,e)},a.FieldRef.prototype.toString=function(){return void 0==this._stringValue&&(this._stringValue=this.fieldName+a.FieldRef.joiner+this.docRef),this._stringValue},a.Set=function(e){if(this.elements=Object.create(null),e){this.length=e.length;for(var t=0;t<this.length;t++)this.elements[e[t]]=!0}else this.length=0},a.Set.complete={intersect:function(e){return e},union:function(){return this},contains:function(){return!0}},a.Set.empty={intersect:function(){return this},union:function(e){return e},contains:function(){return!1}},a.Set.prototype.contains=function(e){return!!this.elements[e]},a.Set.prototype.intersect=function(e){var t,r,n,i=[];if(e===a.Set.complete)return this;if(e===a.Set.empty)return e;this.length<e.length?(t=this,r=e):(t=e,r=this),n=Object.keys(t.elements);for(var s=0;s<n.length;s++){var o=n[s];o in r.elements&&i.push(o)}return new a.Set(i)},a.Set.prototype.union=function(e){return e===a.Set.complete?a.Set.complete:e===a.Set.empty?this:new a.Set(Object.keys(this.elements).concat(Object.keys(e.elements)))},a.idf=function(e,t){var r=0;for(var n in e)"_index"!=n&&(r+=Object.keys(e[n]).length);var i=(t-r+.5)/(r+.5);return Math.log(1+Math.abs(i))},a.Token=function(e,t){this.str=e||"",this.metadata=t||{}},a.Token.prototype.toString=function(){return this.str},a.Token.prototype.update=function(e){return this.str=e(this.str,this.metadata),this},a.Token.prototype.clone=function(e){return e=e||function(e){return e},new a.Token(e(this.str,this.metadata),this.metadata)},a.tokenizer=function(e,t){if(null==e||void 0==e)return[];if(Array.isArray(e))return e.map((function(e){return new a.Token(a.utils.asString(e).toLowerCase(),a.utils.clone(t))}));for(var r=e.toString().toLowerCase(),n=r.length,i=[],s=0,o=0;s<=n;s++){var l=s-o;if(r.charAt(s).match(a.tokenizer.separator)||s==n){if(l>0){var d=a.utils.clone(t)||{};d.position=[o,l],d.index=i.length,i.push(new a.Token(r.slice(o,s),d))}o=s+1}}return i},a.tokenizer.separator=/[\s\-]+/,a.Pipeline=function(){this._stack=[]},a.Pipeline.registeredFunctions=Object.create(null),a.Pipeline.registerFunction=function(e,t){t in this.registeredFunctions&&a.utils.warn("Overwriting existing registered function: "+t),e.label=t,a.Pipeline.registeredFunctions[e.label]=e},a.Pipeline.warnIfFunctionNotRegistered=function(e){e.label&&e.label in this.registeredFunctions||a.utils.warn("Function is not registered with pipeline. This may cause problems when serialising the index.\n",e)},a.Pipeline.load=function(e){var t=new a.Pipeline;return e.forEach((function(e){var r=a.Pipeline.registeredFunctions[e];if(!r)throw new Error("Cannot load unregistered function: "+e);t.add(r)})),t},a.Pipeline.prototype.add=function(){var e=Array.prototype.slice.call(arguments);e.forEach((function(e){a.Pipeline.warnIfFunctionNotRegistered(e),this._stack.push(e)}),this)},a.Pipeline.prototype.after=function(e,t){a.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");r+=1,this._stack.splice(r,0,t)},a.Pipeline.prototype.before=function(e,t){a.Pipeline.warnIfFunctionNotRegistered(t);var r=this._stack.indexOf(e);if(-1==r)throw new Error("Cannot find existingFn");this._stack.splice(r,0,t)},a.Pipeline.prototype.remove=function(e){var t=this._stack.indexOf(e);-1!=t&&this._stack.splice(t,1)},a.Pipeline.prototype.run=function(e){for(var t=this._stack.length,r=0;r<t;r++){for(var n=this._stack[r],i=[],s=0;s<e.length;s++){var a=n(e[s],s,e);if(null!==a&&void 0!==a&&""!==a)if(Array.isArray(a))for(var o=0;o<a.length;o++)i.push(a[o]);else i.push(a)}e=i}return e},a.Pipeline.prototype.runString=function(e,t){var r=new a.Token(e,t);return this.run([r]).map((function(e){return e.toString()}))},a.Pipeline.prototype.reset=function(){this._stack=[]},a.Pipeline.prototype.toJSON=function(){return this._stack.map((function(e){return a.Pipeline.warnIfFunctionNotRegistered(e),e.label}))},a.Vector=function(e){this._magnitude=0,this.elements=e||[]},a.Vector.prototype.positionForIndex=function(e){if(0==this.elements.length)return 0;for(var t=0,r=this.elements.length/2,n=r-t,i=Math.floor(n/2),s=this.elements[2*i];n>1&&(s<e&&(t=i),s>e&&(r=i),s!=e);
1)n=r-t,i=t+Math.floor(n/2),s=this.elements[2*i];return s==e||s>e?2*i:s<e?2*(i+1):void 0},a.Vector.prototype.insert=function(e,t){this.upsert(e,t,(function(){throw"duplicate index"}))},a.Vector.prototype.upsert=function(e,t,r){this._magnitude=0;var n=this.positionForIndex(e);this.elements[n]==e?this.elements[n+1]=r(this.elements[n+1],t):this.elements.splice(n,0,e,t)},a.Vector.prototype.magnitude=function(){if(this._magnitude)return this._magnitude;for(var e=0,t=this.elements.length,r=1;r<t;r+=2){var n=this.elements[r];e+=n*n}return this._magnitude=Math.sqrt(e)},a.Vector.prototype.dot=function(e){for(var t=0,r=this.elements,n=e.elements,i=r.length,s=n.length,a=0,o=0,l=0,d=0;l<i&&d<s;)(a=r[l])<(o=n[d])?l+=2:a>o?d+=2:a==o&&(t+=r[l+1]*n[d+1],l+=2,d+=2);return t},a.Vector.prototype.similarity=function(e){return this.dot(e)/this.magnitude()||0},a.Vector.prototype.toArray=function(){for(var e=new Array(this.elements.length/2),t=1,r=0;t<this.elements.length;t+=2,r++)e[r]=this.elements[t];return e},a.Vector.prototype.toJSON=function(){return this.elements},a.stemmer=function(){var e={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},t={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},r="[aeiouy]",n="[^aeiou][^aeiouy]*",i=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),s=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*[aeiouy][aeiou]*[^aeiou][^aeiouy]*"),a=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),o=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),l=/^(.+?)(ss|i)es$/,d=/^(.+?)([^s])s$/,c=/^(.+?)eed$/,u=/^(.+?)(ed|ing)$/,p=/.$/,f=/(at|bl|iz)$/,h=new RegExp("([^aeiouylsz])\\1$"),m=new RegExp("^"+n+r+"[^aeiouwxy]$"),g=/^(.+?[^aeiou])y$/,v=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,y=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,w=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,b=/^(.+?)(s|t)(ion)$/,x=/^(.+?)e$/,E=/ll$/,S=new RegExp("^"+n+r+"[^aeiouwxy]$"),T=function(r){var n,T,C,k,P,M,L;if(r.length<3)return r;if("y"==(C=r.substr(0,1))&&(r=C.toUpperCase()+r.substr(1)),P=d,(k=l).test(r)?r=r.replace(k,"$1$2"):P.test(r)&&(r=r.replace(P,"$1$2")),P=u,(k=c).test(r)){var O=k.exec(r);(k=i).test(O[1])&&(k=p,r=r.replace(k,""))}else if(P.test(r)){n=(O=P.exec(r))[1],(P=o).test(n)&&(M=h,L=m,(P=f).test(r=n)?r+="e":M.test(r)?(k=p,r=r.replace(k,"")):L.test(r)&&(r+="e"))}(k=g).test(r)&&(r=(n=(O=k.exec(r))[1])+"i");(k=v).test(r)&&(n=(O=k.exec(r))[1],T=O[2],(k=i).test(n)&&(r=n+e[T]));(k=y).test(r)&&(n=(O=k.exec(r))[1],T=O[2],(k=i).test(n)&&(r=n+t[T]));if(P=b,(k=w).test(r))n=(O=k.exec(r))[1],(k=s).test(n)&&(r=n);else if(P.test(r)){n=(O=P.exec(r))[1]+O[2],(P=s).test(n)&&(r=n)}(k=x).test(r)&&(n=(O=k.exec(r))[1],P=a,M=S,((k=s).test(n)||P.test(n)&&!M.test(n))&&(r=n));return P=s,(k=E).test(r)&&P.test(r)&&(k=p,r=r.replace(k,"")),"y"==C&&(r=C.toLowerCase()+r.substr(1)),r};return function(e){return e.update(T)}}(),a.Pipeline.registerFunction(a.stemmer,"stemmer"),a.generateStopWordFilter=function(e){var t=e.reduce((function(e,t){return e[t]=t,e}),{});return function(e){if(e&&t[e.toString()]!==e.toString())return e}},a.stopWordFilter=a.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),a.Pipeline.registerFunction(a.stopWordFilter,"stopWordFilter"),a.trimmer=function(e){return e.update((function(e){return e.replace(/^\W+/,"").replace(/\W+$/,"")}))},a.Pipeline.registerFunction(a.trimmer,"trimmer"),a.TokenSet=function(){this.final=!1,this.edges={},this.id=a.TokenSet._nextId,a.TokenSet._nextId+=1},a.TokenSet._nextId=1,a.TokenSet.fromArray=function(e){for(var t=new a.TokenSet.Builder,r=0,n=e.length;r<n;r++)t.insert(e[r]);return t.finish(),t.root},a.TokenSet.fromClause=function(e){return"editDistance"in e?a.TokenSet.fromFuzzyString(e.term,e.editDistance):a.TokenSet.fromString(e.term)},a.TokenSet.fromFuzzyString=function(e,t){for(var r=new a.TokenSet,n=[{node:r,editsRemaining:t,str:e}];n.length;){var i=n.pop();if(i.str.length>0){var s,o=i.str.charAt(0);o in i.node.edges?s=i.node.edges[o]:(s=new a.TokenSet,i.node.edges[o]=s),1==i.str.length&&(s.final=!0),n.push({node:s,editsRemaining:i.editsRemaining,str:i.str.slice(1)})}if(0!=i.editsRemaining){if("*"in i.node.edges)var l=i.node.edges["*"];else{l=new a.TokenSet;i.node.edges["*"]=l}if(0==i.str.length&&(l.final=!0),n.push({node:l,editsRemaining:i.editsRemaining-1,str:i.str}),i.str.length>1&&n.push({node:i.node,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)}),1==i.str.length&&(i.node.final=!0),i.str.length>=1){if("*"in i.node.edges)var d=i.node.edges["*"];else{d=new a.TokenSet;i.node.edges["*"]=d}1==i.str.length&&(d.final=!0),n.push({node:d,editsRemaining:i.editsRemaining-1,str:i.str.slice(1)})}if(i.str.length>1){var c,u=i.str.charAt(0),p=i.str.charAt(1);p in i.node.edges?c=i.node.edges[p]:(c=new a.TokenSet,i.node.edges[p]=c),1==i.str.length&&(c.final=!0),n.push({node:c,editsRemaining:i.editsRemaining-1,str:u+i.str.slice(2)})}}}return r},a.TokenSet.fromString=function(e){for(var t=new a.TokenSet,r=t,n=0,i=e.length;n<i;n++){var s=e[n],o=n==i-1;if("*"==s)t.edges[s]=t,t.final=o;else{var l=new a.TokenSet;l.final=o,t.edges[s]=l,t=l}}return r},a.TokenSet.prototype.toArray=function(){for(var e=[],t=[{prefix:"",node:this}];t.length;){var r=t.pop(),n=Object.keys(r.node.edges),i=n.length;r.node.final&&(r.prefix.charAt(0),e.push(r.prefix));for(var s=0;s<i;s++){var a=n[s];t.push({prefix:r.prefix.concat(a),node:r.node.edges[a]})}}return e},a.TokenSet.prototype.toString=function(){if(this._str)return this._str;for(var e=this.final?"1":"0",t=Object.keys(this.edges).sort(),r=t.length,n=0;n<r;n++){var i=t[n];e=e+i+this.edges[i].id}return e},a.TokenSet.prototype.intersect=function(e){for(var t=new a.TokenSet,r=void 0,n=[{qNode:e,output:t,node:this}];n.length;){r=n.pop();for(var i=Object.keys(r.qNode.edges),s=i.length,o=Object.keys(r.node.edges),l=o.length,d=0;d<s;d++)for(var c=i[d],u=0;u<l;u++){var p=o[u];if(p==c||"*"==c){var f=r.node.edges[p],h=r.qNode.edges[c],m=f.final&&h.final,g=void 0;p in r.output.edges?(g=r.output.edges[p]).final=g.final||m:((g=new a.TokenSet).final=m,r.output.edges[p]=g),n.push({qNode:h,output:g,node:f})}}}return t},a.TokenSet.Builder=function(){this.previousWord="",this.root=new a.TokenSet,this.uncheckedNodes=[],this.minimizedNodes={}},a.TokenSet.Builder.prototype.insert=function(e){var t,r=0;if(e<this.previousWord)throw new Error("Out of order word insertion");for(var n=0;n<e.length&&n<this.previousWord.length&&e[n]==this.previousWord[n];
1n++)r++;this.minimize(r),t=0==this.uncheckedNodes.length?this.root:this.uncheckedNodes[this.uncheckedNodes.length-1].child;for(n=r;n<e.length;n++){var i=new a.TokenSet,s=e[n];t.edges[s]=i,this.uncheckedNodes.push({parent:t,char:s,child:i}),t=i}t.final=!0,this.previousWord=e},a.TokenSet.Builder.prototype.finish=function(){this.minimize(0)},a.TokenSet.Builder.prototype.minimize=function(e){for(var t=this.uncheckedNodes.length-1;t>=e;t--){var r=this.uncheckedNodes[t],n=r.child.toString();n in this.minimizedNodes?r.parent.edges[r.char]=this.minimizedNodes[n]:(r.child._str=n,this.minimizedNodes[n]=r.child),this.uncheckedNodes.pop()}},a.Index=function(e){this.invertedIndex=e.invertedIndex,this.fieldVectors=e.fieldVectors,this.tokenSet=e.tokenSet,this.fields=e.fields,this.pipeline=e.pipeline},a.Index.prototype.search=function(e){return this.query((function(t){new a.QueryParser(e,t).parse()}))},a.Index.prototype.query=function(e){for(var t=new a.Query(this.fields),r=Object.create(null),n=Object.create(null),i=Object.create(null),s=Object.create(null),o=Object.create(null),l=0;l<this.fields.length;l++)n[this.fields[l]]=new a.Vector;e.call(t,t);for(l=0;l<t.clauses.length;l++){var d=t.clauses[l],c=null,u=a.Set.empty;c=d.usePipeline?this.pipeline.runString(d.term,{fields:d.fields}):[d.term];for(var p=0;p<c.length;p++){var f=c[p];d.term=f;var h=a.TokenSet.fromClause(d),m=this.tokenSet.intersect(h).toArray();if(0===m.length&&d.presence===a.Query.presence.REQUIRED){for(var g=0;g<d.fields.length;g++){s[_=d.fields[g]]=a.Set.empty}break}for(var v=0;v<m.length;v++){var y=m[v],w=this.invertedIndex[y],b=w._index;for(g=0;g<d.fields.length;g++){var x=w[_=d.fields[g]],E=Object.keys(x),S=y+"/"+_,T=new a.Set(E);if(d.presence==a.Query.presence.REQUIRED&&(u=u.union(T),void 0===s[_]&&(s[_]=a.Set.complete)),d.presence!=a.Query.presence.PROHIBITED){if(n[_].upsert(b,d.boost,(function(e,t){return e+t})),!i[S]){for(var C=0;C<E.length;C++){var k,P=E[C],M=new a.FieldRef(P,_),L=x[P];void 0===(k=r[M])?r[M]=new a.MatchData(y,_,L):k.add(y,_,L)}i[S]=!0}}else void 0===o[_]&&(o[_]=a.Set.empty),o[_]=o[_].union(T)}}}if(d.presence===a.Query.presence.REQUIRED)for(g=0;g<d.fields.length;g++){s[_=d.fields[g]]=s[_].intersect(u)}}var O=a.Set.complete,I=a.Set.empty;for(l=0;l<this.fields.length;l++){var _;s[_=this.fields[l]]&&(O=O.intersect(s[_])),o[_]&&(I=I.union(o[_]))}var A=Object.keys(r),N=[],z=Object.create(null);if(t.isNegated()){A=Object.keys(this.fieldVectors);for(l=0;l<A.length;l++){M=A[l];var D=a.FieldRef.fromString(M);r[M]=new a.MatchData}}for(l=0;l<A.length;l++){var F=(D=a.FieldRef.fromString(A[l])).docRef;if(O.contains(F)&&!I.contains(F)){var R,j=this.fieldVectors[D],B=n[D.fieldName].similarity(j);if(void 0!==(R=z[F]))R.score+=B,R.matchData.combine(r[D]);else{var Q={ref:F,score:B,matchData:r[D]};z[F]=Q,N.push(Q)}}}return N.sort((function(e,t){return t.score-e.score}))},a.Index.prototype.toJSON=function(){var e=Object.keys(this.invertedIndex).sort().map((function(e){return[e,this.invertedIndex[e]]}),this),t=Object.keys(this.fieldVectors).map((function(e){return[e,this.fieldVectors[e].toJSON()]}),this);return{version:a.version,fields:this.fields,fieldVectors:t,invertedIndex:e,pipeline:this.pipeline.toJSON()}},a.Index.load=function(e){var t={},r={},n=e.fieldVectors,i=Object.create(null),s=e.invertedIndex,o=new a.TokenSet.Builder,l=a.Pipeline.load(e.pipeline);e.version!=a.version&&a.utils.warn("Version mismatch when loading serialised index. Current version of lunr '"+a.version+"' does not match serialized index '"+e.version+"'");for(var d=0;d<n.length;d++){var c=(p=n[d])[0],u=p[1];r[c]=new a.Vector(u)}for(d=0;d<s.length;d++){var p,f=(p=s[d])[0],h=p[1];o.insert(f),i[f]=h}return o.finish(),t.fields=e.fields,t.fieldVectors=r,t.invertedIndex=i,t.tokenSet=o.root,t.pipeline=l,new a.Index(t)},a.Builder=function(){this._ref="id",this._fields=Object.create(null),this._documents=Object.create(null),this.invertedIndex=Object.create(null),this.fieldTermFrequencies={},this.fieldLengths={},this.tokenizer=a.tokenizer,this.pipeline=new a.Pipeline,this.searchPipeline=new a.Pipeline,this.documentCount=0,this._b=.75,this._k1=1.2,this.termIndex=0,this.metadataWhitelist=[]},a.Builder.prototype.ref=function(e){this._ref=e},a.Builder.prototype.field=function(e,t){if(/\//.test(e))throw new RangeError("Field '"+e+"' contains illegal character '/'");this._fields[e]=t||{}},a.Builder.prototype.b=function(e){this._b=e<0?0:e>1?1:e},a.Builder.prototype.k1=function(e){this._k1=e},a.Builder.prototype.add=function(e,t){var r=e[this._ref],n=Object.keys(this._fields);this._documents[r]=t||{},this.documentCount+=1;for(var i=0;i<n.length;i++){var s=n[i],o=this._fields[s].extractor,l=o?o(e):e[s],d=this.tokenizer(l,{fields:[s]}),c=this.pipeline.run(d),u=new a.FieldRef(r,s),p=Object.create(null);this.fieldTermFrequencies[u]=p,this.fieldLengths[u]=0,this.fieldLengths[u]+=c.length;for(var f=0;f<c.length;f++){var h=c[f];if(void 0==p[h]&&(p[h]=0),p[h]+=1,void 0==this.invertedIndex[h]){var m=Object.create(null);m._index=this.termIndex,this.termIndex+=1;for(var g=0;g<n.length;g++)m[n[g]]=Object.create(null);this.invertedIndex[h]=m}void 0==this.invertedIndex[h][s][r]&&(this.invertedIndex[h][s][r]=Object.create(null));for(var v=0;v<this.metadataWhitelist.length;v++){var y=this.metadataWhitelist[v],w=h.metadata[y];void 0==this.invertedIndex[h][s][r][y]&&(this.invertedIndex[h][s][r][y]=[]),this.invertedIndex[h][s][r][y].push(w)}}}},a.Builder.prototype.calculateAverageFieldLengths=function(){for(var e=Object.keys(this.fieldLengths),t=e.length,r={},n={},i=0;i<t;i++){var s=a.FieldRef.fromString(e[i]),o=s.fieldName;n[o]||(n[o]=0),n[o]+=1,r[o]||(r[o]=0),r[o]+=this.fieldLengths[s]}var l=Object.keys(this._fields);for(i=0;i<l.length;i++){var d=l[i];
vendor: 4,695 bytes, line 1
1r[d]=r[d]/n[d]}this.averageFieldLength=r},a.Builder.prototype.createFieldVectors=function(){for(var e={},t=Object.keys(this.fieldTermFrequencies),r=t.length,n=Object.create(null),i=0;i<r;i++){for(var s=a.FieldRef.fromString(t[i]),o=s.fieldName,l=this.fieldLengths[s],d=new a.Vector,c=this.fieldTermFrequencies[s],u=Object.keys(c),p=u.length,f=this._fields[o].boost||1,h=this._documents[s.docRef].boost||1,m=0;m<p;m++){var g,v,y,w=u[m],b=c[w],x=this.invertedIndex[w]._index;void 0===n[w]?(g=a.idf(this.invertedIndex[w],this.documentCount),n[w]=g):g=n[w],v=g*((this._k1+1)*b)/(this._k1*(1-this._b+this._b*(l/this.averageFieldLength[o]))+b),v*=f,v*=h,y=Math.round(1e3*v)/1e3,d.insert(x,y)}e[s]=d}this.fieldVectors=e},a.Builder.prototype.createTokenSet=function(){this.tokenSet=a.TokenSet.fromArray(Object.keys(this.invertedIndex).sort())},a.Builder.prototype.build=function(){return this.calculateAverageFieldLengths(),this.createFieldVectors(),this.createTokenSet(),new a.Index({invertedIndex:this.invertedIndex,fieldVectors:this.fieldVectors,tokenSet:this.tokenSet,fields:Object.keys(this._fields),pipeline:this.searchPipeline})},a.Builder.prototype.use=function(e){var t=Array.prototype.slice.call(arguments,1);t.unshift(this),e.apply(this,t)},a.MatchData=function(e,t,r){for(var n=Object.create(null),i=Object.keys(r||{}),s=0;s<i.length;s++){var a=i[s];n[a]=r[a].slice()}this.metadata=Object.create(null),void 0!==e&&(this.metadata[e]=Object.create(null),this.metadata[e][t]=n)},a.MatchData.prototype.combine=function(e){for(var t=Object.keys(e.metadata),r=0;r<t.length;r++){var n=t[r],i=Object.keys(e.metadata[n]);void 0==this.metadata[n]&&(this.metadata[n]=Object.create(null));for(var s=0;s<i.length;s++){var a=i[s],o=Object.keys(e.metadata[n][a]);void 0==this.metadata[n][a]&&(this.metadata[n][a]=Object.create(null));for(var l=0;l<o.length;l++){var d=o[l];void 0==this.metadata[n][a][d]?this.metadata[n][a][d]=e.metadata[n][a][d]:this.metadata[n][a][d]=this.metadata[n][a][d].concat(e.metadata[n][a][d])}}}},a.MatchData.prototype.add=function(e,t,r){if(!(e in this.metadata))return this.metadata[e]=Object.create(null),void(this.metadata[e][t]=r);if(t in this.metadata[e])for(var n=Object.keys(r),i=0;i<n.length;i++){var s=n[i];s in this.metadata[e][t]?this.metadata[e][t][s]=this.metadata[e][t][s].concat(r[s]):this.metadata[e][t][s]=r[s]}else this.metadata[e][t]=r},a.Query=function(e){this.clauses=[],this.allFields=e},a.Query.wildcard=new String("*"),a.Query.wildcard.NONE=0,a.Query.wildcard.LEADING=1,a.Query.wildcard.TRAILING=2,a.Query.presence={OPTIONAL:1,REQUIRED:2,PROHIBITED:3},a.Query.prototype.clause=function(e){return"fields"in e||(e.fields=this.allFields),"boost"in e||(e.boost=1),"usePipeline"in e||(e.usePipeline=!0),"wildcard"in e||(e.wildcard=a.Query.wildcard.NONE),e.wildcard&a.Query.wildcard.LEADING&&e.term.charAt(0)!=a.Query.wildcard&&(e.term="*"+e.term),e.wildcard&a.Query.wildcard.TRAILING&&e.term.slice(-1)!=a.Query.wildcard&&(e.term=e.term+"*"),"presence"in e||(e.presence=a.Query.presence.OPTIONAL),this.clauses.push(e),this},a.Query.prototype.isNegated=function(){for(var e=0;e<this.clauses.length;e++)if(this.clauses[e].presence!=a.Query.presence.PROHIBITED)return!1;return!0},a.Query.prototype.term=function(e,t){if(Array.isArray(e))return e.forEach((function(e){this.term(e,a.utils.clone(t))}),this),this;var r=t||{};return r.term=e.toString(),this.clause(r),this},a.QueryParseError=function(e,t,r){this.name="QueryParseError",this.message=e,this.start=t,this.end=r},a.QueryParseError.prototype=new Error,a.QueryLexer=function(e){this.lexemes=[],this.str=e,this.length=e.length,this.pos=0,this.start=0,this.escapeCharPositions=[]},a.QueryLexer.prototype.run=function(){for(var e=a.QueryLexer.lexText;e;)e=e(this)},a.QueryLexer.prototype.sliceString=function(){for(var e=[],t=this.start,r=this.pos,n=0;n<this.escapeCharPositions.length;n++)r=this.escapeCharPositions[n],e.push(this.str.slice(t,r)),t=r+1;return e.push(this.str.slice(t,this.pos)),this.escapeCharPositions.length=0,e.join("")},a.QueryLexer.prototype.emit=function(e){this.lexemes.push({type:e,str:this.sliceString(),start:this.start,end:this.pos}),this.start=this.pos},a.QueryLexer.prototype.escapeCharacter=function(){this.escapeCharPositions.push(this.pos-1),this.pos+=1},a.QueryLexer.prototype.next=function(){if(this.pos>=this.length)return a.QueryLexer.EOS;var e=this.str.charAt(this.pos);return this.pos+=1,e},a.QueryLexer.prototype.width=function(){return this.pos-this.start},a.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},a.QueryLexer.prototype.backup=function(){this.pos-=1},a.QueryLexer.prototype.acceptDigitRun=function(){var e,t;
1do{t=(e=this.next()).charCodeAt(0)}while(t>47&&t<58);e!=a.QueryLexer.EOS&&this.backup()},a.QueryLexer.prototype.more=function(){return this.pos<this.length},a.QueryLexer.EOS="EOS",a.QueryLexer.FIELD="FIELD",a.QueryLexer.TERM="TERM",a.QueryLexer.EDIT_DISTANCE="EDIT_DISTANCE",a.QueryLexer.BOOST="BOOST",a.QueryLexer.PRESENCE="PRESENCE",a.QueryLexer.lexField=function(e){return e.backup(),e.emit(a.QueryLexer.FIELD),e.ignore(),a.QueryLexer.lexText},a.QueryLexer.lexTerm=function(e){if(e.width()>1&&(e.backup(),e.emit(a.QueryLexer.TERM)),e.ignore(),e.more())return a.QueryLexer.lexText},a.QueryLexer.lexEditDistance=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(a.QueryLexer.EDIT_DISTANCE),a.QueryLexer.lexText},a.QueryLexer.lexBoost=function(e){return e.ignore(),e.acceptDigitRun(),e.emit(a.QueryLexer.BOOST),a.QueryLexer.lexText},a.QueryLexer.lexEOS=function(e){e.width()>0&&e.emit(a.QueryLexer.TERM)},a.QueryLexer.termSeparator=a.tokenizer.separator,a.QueryLexer.lexText=function(e){for(;;){var t=e.next();if(t==a.QueryLexer.EOS)return a.QueryLexer.lexEOS;if(92!=t.charCodeAt(0)){if(":"==t)return a.QueryLexer.lexField;if("~"==t)return e.backup(),e.width()>0&&e.emit(a.QueryLexer.TERM),a.QueryLexer.lexEditDistance;if("^"==t)return e.backup(),e.width()>0&&e.emit(a.QueryLexer.TERM),a.QueryLexer.lexBoost;if("+"==t&&1===e.width())return e.emit(a.QueryLexer.PRESENCE),a.QueryLexer.lexText;if("-"==t&&1===e.width())return e.emit(a.QueryLexer.PRESENCE),a.QueryLexer.lexText;if(t.match(a.QueryLexer.termSeparator))return a.QueryLexer.lexTerm}else e.escapeCharacter()}},a.QueryParser=function(e,t){this.lexer=new a.QueryLexer(e),this.query=t,this.currentClause={},this.lexemeIdx=0},a.QueryParser.prototype.parse=function(){this.lexer.run(),this.lexemes=this.lexer.lexemes;for(var e=a.QueryParser.parseClause;e;)e=e(this);return this.query},a.QueryParser.prototype.peekLexeme=function(){return this.lexemes[this.lexemeIdx]},a.QueryParser.prototype.consumeLexeme=function(){var e=this.peekLexeme();return this.lexemeIdx+=1,e},a.QueryParser.prototype.nextClause=function(){var e=this.currentClause;this.query.clause(e),this.currentClause={}},a.QueryParser.parseClause=function(e){var t=e.peekLexeme();if(void 0!=t)switch(t.type){case a.QueryLexer.PRESENCE:return a.QueryParser.parsePresence;case a.QueryLexer.FIELD:return a.QueryParser.parseField;case a.QueryLexer.TERM:return a.QueryParser.parseTerm;default:var r="expected either a field or a term, found "+t.type;throw t.str.length>=1&&(r+=" with value '"+t.str+"'"),new a.QueryParseError(r,t.start,t.end)}},a.QueryParser.parsePresence=function(e){var t=e.consumeLexeme();if(void 0!=t){switch(t.str){case"-":e.currentClause.presence=a.Query.presence.PROHIBITED;break;case"+":e.currentClause.presence=a.Query.presence.REQUIRED;break;default:var r="unrecognised presence operator'"+t.str+"'";throw new a.QueryParseError(r,t.start,t.end)}var n=e.peekLexeme();if(void 0==n){r="expecting term or field, found nothing";throw new a.QueryParseError(r,t.start,t.end)}switch(n.type){case a.QueryLexer.FIELD:return a.QueryParser.parseField;case a.QueryLexer.TERM:return a.QueryParser.parseTerm;default:r="expecting term or field, found '"+n.type+"'";throw new a.QueryParseError(r,n.start,n.end)}}},a.QueryParser.parseField=function(e){var t=e.consumeLexeme();if(void 0!=t){if(-1==e.query.allFields.indexOf(t.str)){var r=e.query.allFields.map((function(e){return"'"+e+"'"})).join(", "),n="unrecognised field '"+t.str+"', possible fields: "+r;throw new a.QueryParseError(n,t.start,t.end)}e.currentClause.fields=[t.str];var i=e.peekLexeme();if(void 0==i){n="expecting term, found nothing";throw new a.QueryParseError(n,t.start,t.end)}if(i.type===a.QueryLexer.TERM)return a.QueryParser.parseTerm;n="expecting term, found '"+i.type+"'";throw new a.QueryParseError(n,i.start,i.end)}},a.QueryParser.parseTerm=function(e){var t=e.consumeLexeme();if(void 0!=t){e.currentClause.term=t.str.toLowerCase(),-1!=t.str.indexOf("*")&&(e.currentClause.usePipeline=!1);var r=e.peekLexeme();if(void 0!=r)switch(r.type){case a.QueryLexer.TERM:return e.nextClause(),a.QueryParser.parseTerm;case a.QueryLexer.FIELD:return e.nextClause(),a.QueryParser.parseField;case a.QueryLexer.EDIT_DISTANCE:return a.QueryParser.parseEditDistance;case a.QueryLexer.BOOST:return a.QueryParser.parseBoost;case a.QueryLexer.PRESENCE:return e.nextClause(),a.QueryParser.parsePresence;default:var n="Unexpected lexeme type '"+r.type+"'";throw new a.QueryParseError(n,r.start,r.end)}else e.nextClause()}},a.QueryParser.parseEditDistance=function(e){var t=e.consumeLexeme(
1);if(void 0!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="edit distance must be numeric";throw new a.QueryParseError(n,t.start,t.end)}e.currentClause.editDistance=r;var i=e.peekLexeme();if(void 0!=i)switch(i.type){case a.QueryLexer.TERM:return e.nextClause(),a.QueryParser.parseTerm;case a.QueryLexer.FIELD:return e.nextClause(),a.QueryParser.parseField;case a.QueryLexer.EDIT_DISTANCE:return a.QueryParser.parseEditDistance;case a.QueryLexer.BOOST:return a.QueryParser.parseBoost;case a.QueryLexer.PRESENCE:return e.nextClause(),a.QueryParser.parsePresence;default:n="Unexpected lexeme type '"+i.type+"'";throw new a.QueryParseError(n,i.start,i.end)}else e.nextClause()}},a.QueryParser.parseBoost=function(e){var t=e.consumeLexeme();if(void 0!=t){var r=parseInt(t.str,10);if(isNaN(r)){var n="boost must be numeric";throw new a.QueryParseError(n,t.start,t.end)}e.currentClause.boost=r;var i=e.peekLexeme();if(void 0!=i)switch(i.type){case a.QueryLexer.TERM:return e.nextClause(),a.QueryParser.parseTerm;case a.QueryLexer.FIELD:return e.nextClause(),a.QueryParser.parseField;case a.QueryLexer.EDIT_DISTANCE:return a.QueryParser.parseEditDistance;case a.QueryLexer.BOOST:return a.QueryParser.parseBoost;case a.QueryLexer.PRESENCE:return e.nextClause(),a.QueryParser.parsePresence;default:n="Unexpected lexeme type '"+i.type+"'";throw new a.QueryParseError(n,i.start,i.end)}else e.nextClause()}},void 0===(i="function"===typeof(n=function(){return a})?n.call(t,r,t,e):n)||(e.exports=i)}()},25194:function(){},88357:function(e,t,r){"use strict";r.d(t,{w_:function(){return d}});var n=r(67294),i={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},s=n.createContext&&n.createContext(i),a=function(){return a=Object.assign||function(e){for(var t,r=1,n=arguments.length;r<n;r++)for(var i in t=arguments[r])Object.prototype.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e},a.apply(this,arguments)},o=function(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(null!=e&&"function"===typeof Object.getOwnPropertySymbols){var i=0;for(n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]])}return r};function l(e){return e&&e.map((function(e,t){return n.createElement(e.tag,a({key:t},e.attr),l(e.child))}))}function d(e){return function(t){return n.createElement(c,a({attr:a({},e.attr)},t),l(e.child))}}function c(e){var t=function(t){var r,i=e.attr,s=e.size,l=e.title,d=o(e,["attr","size","title"]),c=s||t.size||"1em";return t.className&&(r=t.className),e.className&&(r=(r?r+" ":"")+e.className),n.createElement("svg",a({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},t.attr,i,d,{className:r,style:a(a({color:e.color||t.color},t.style),e.style),height:c,width:c,xmlns:"http://www.w3.org/2000/svg"}),l&&n.createElement("title",null,l),e.children)};return void 0!==s?n.createElement(s.Consumer,null,(function(e){return t(e)})):t(i)}},81323:function(e,t,r){"use strict";r.d(t,{D5:function(){return D},Sx:function(){return j},_Q:function(){return U},kY:function(){return B},nx:function(){return J},un:function(){return y}});var n=r(67294),i=r(73935),s=r(64063);function a(){return a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},a.apply(null,arguments)}function o(e,t){if(null==e)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.includes(n))continue;r[n]=e[n]}return r}function l(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}const d="NOT_LOADED",c="LOADING",u="LOADED",p="FAILED",f="AUTH_FAILURE";class h{static async load(e,t){var r;const n=e.libraries?e.libraries.split(","):[],i=this.serializeParams(e);this.listeners.push(t),null!=(r=window.google)&&null!=(r=r.maps)&&r.importLibrary?(this.serializedApiParams||(this.loadingStatus=u),this.notifyLoadingStatusListeners()):(this.serializedApiParams=i,this.initImportLibrary(e)),this.serializedApiParams&&this.serializedApiParams!==i&&console.warn("[google-maps-api-loader] The maps API has already been loaded with different parameters and will not be loaded again. Refresh the page for new values to have effect.");const s=["maps",...n];await Promise.all(s.map((e=>google.maps.importLibrary(e))))}static serializeParams(e){return[e.v,e.key,e.language,e.region,e.authReferrerPolicy,e.solutionChannel].join("/")}static initImportLibrary(e){if(window.google||(window.google={}),window.google.maps||(window.google.maps={}),window.google.maps.importLibrary)return void console.error("[google-maps-api-loader-internal]: initImportLibrary must only be called once");let t=null;const r=()=>t||(t=new Promise(((t,r)=>{var n;const i=document.createElement("script"),s=new URLSearchParams;
1for(const[a,o]of Object.entries(e)){const e=a.replace(/[A-Z]/g,(e=>"_"+e[0].toLowerCase()));s.set(e,String(o))}s.set("loading","async"),s.set("callback","__googleMapsCallback__"),i.async=!0,i.src="https://maps.googleapis.com/maps/api/js?"+s.toString(),i.nonce=(null==(n=document.querySelector("script[nonce]"))?void 0:n.nonce)||"",i.onerror=()=>{this.loadingStatus=p,this.notifyLoadingStatusListeners(),r(new Error("The Google Maps JavaScript API could not load."))},window.__googleMapsCallback__=()=>{this.loadingStatus=u,this.notifyLoadingStatusListeners(),t()},window.gm_authFailure=()=>{this.loadingStatus=f,this.notifyLoadingStatusListeners()},this.loadingStatus=c,this.notifyLoadingStatusListeners(),document.head.append(i)})),t);google.maps.importLibrary=e=>r().then((()=>google.maps.importLibrary(e)))}static notifyLoadingStatusListeners(){for(const e of this.listeners)e(this.loadingStatus)}}h.loadingStatus=d,h.serializedApiParams=void 0,h.listeners=[];const m=["onLoad","onError","apiKey","version","libraries"],g=["children"],v=n.createContext(null);const y=e=>{const{children:t}=e,r=o(e,g),{mapInstances:i,addMapInstance:s,removeMapInstance:d,clearMapInstances:c}=function(){const[e,t]=(0,n.useState)({});return{mapInstances:e,addMapInstance:(e,r="default")=>{t((t=>a({},t,{[r]:e})))},removeMapInstance:(e="default")=>{t((t=>o(t,[e].map(l))))},clearMapInstances:()=>{t({})}}}(),{status:u,loadedLibraries:p,importLibrary:f}=function(e){const{onLoad:t,onError:r,apiKey:i,version:s,libraries:l=[]}
1=e,d=o(e,m),[c,u]=(0,n.useState)(h.loadingStatus),[p,f]=(0,n.useReducer)(((e,t)=>e[t.name]?e:a({},e,{[t.name]:t.value})),{}),g=(0,n.useMemo)((()=>null==l?void 0:l.join(",")),[l]),v=(0,n.useMemo)((()=>JSON.stringify(a({apiKey:i,version:s},d))),[i,s,d]),y=(0,n.useCallback)((async e=>{var t;if(p[e])return p[e];if(null==(t=google)||null==(t=t.maps)||!t.importLibrary)throw new Error("[api-provider-internal] importLibrary was called before google.maps.importLibrary was defined.");const r=await window.google.maps.importLibrary(e);return f({name:e,value:r}),r}),[p]);return(0,n.useEffect)((()=>{(async()=>{try{const e=a({key:i},d);s&&(e.v=s),(null==g?void 0:g.length)>0&&(e.libraries=g),(void 0===e.channel||e.channel<0||e.channel>999)&&delete e.channel,void 0===e.solutionChannel?e.solutionChannel="GMP_visgl_rgmlibrary_v1_default":""===e.solutionChannel&&delete e.solutionChannel,await h.load(e,(e=>u(e)));for(const t of["core","maps",...l])await y(t);t&&t()}catch(e){r?r(e):console.error("<ApiProvider> failed to load the Google Maps JavaScript API",e)}})()}),[i,g,v]),{status:c,loadedLibraries:p,importLibrary:y}}(r),y=(0,n.useMemo)((()=>({mapInstances:i,addMapInstance:s,removeMapInstance:d,clearMapInstances:c,status:u,loadedLibraries:p,importLibrary:f})),[i,s,d,c,u,p,f]);return n.createElement(v.Provider,{value:y},t)};function w(e,t,r){const n={type:e,map:t,detail:{},stoppable:!1,stop:()=>{}};if(x.includes(e)){const e=n,r=t.getCenter(),i=t.getZoom(),s=t.getHeading()||0,a=t.getTilt()||0,o=t.getBounds();return r&&o&&Number.isFinite(i)||console.warn("[createEvent] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),e.detail={center:(null==r?void 0:r.toJSON())||{lat:0,lng:0},zoom:i||0,heading:s,tilt:a,bounds:(null==o?void 0:o.toJSON())||{north:90,east:180,south:-90,west:-180}},e}if(E.includes(e)){var i;if(!r)throw new Error("[createEvent] mouse events must provide a srcEvent");const e=n;return e.domEvent=r.domEvent,e.stoppable=!0,e.stop=()=>r.stop(),e.detail={latLng:(null==(i=r.latLng)?void 0:i.toJSON())||null,placeId:r.placeId},e}return n}const b={onBoundsChanged:"bounds_changed",onCenterChanged:"center_changed",onClick:"click",onContextmenu:"contextmenu",onDblclick:"dblclick",onDrag:"drag",onDragend:"dragend",onDragstart:"dragstart",onHeadingChanged:"heading_changed",onIdle:"idle",onIsFractionalZoomEnabledChanged:"isfractionalzoomenabled_changed",onMapCapabilitiesChanged:"mapcapabilities_changed",onMapTypeIdChanged:"maptypeid_changed",onMousemove:"mousemove",onMouseout:"mouseout",onMouseover:"mouseover",onProjectionChanged:"projection_changed",onRenderingTypeChanged:"renderingtype_changed",onTilesLoaded:"tilesloaded",onTiltChanged:"tilt_changed",onZoomChanged:"zoom_changed",onCameraChanged:"bounds_changed"},x=["bounds_changed","center_changed","heading_changed","tilt_changed","zoom_changed"],E=["click","contextmenu","dblclick","mousemove","mouseout","mouseover"],S=Object.keys(b);function T(e,t){const r=(0,n.useRef)(void 0);r.current&&s(t,r.current)||(r.current=t),(0,n.useEffect)(e,r.current)}const C=new Set(["backgroundColor","clickableIcons","controlSize","disableDefaultUI","disableDoubleClickZoom","draggable","draggableCursor","draggingCursor","fullscreenControl","fullscreenControlOptions","gestureHandling","headingInteractionEnabled","isFractionalZoomEnabled","keyboardShortcuts","mapTypeControl","mapTypeControlOptions","mapTypeId","maxZoom","minZoom","noClear","panControl","panControlOptions","restriction","rotateControl","rotateControlOptions","scaleControl","scaleControlOptions","scrollwheel","streetView","streetViewControl","streetViewControlOptions","styles","tiltInteractionEnabled","zoomControl","zoomControlOptions"]);function k(){var e;return(null==(e=(0,n.useContext)(v))?void 0:e.status)||d}function P(e){return function(e){return!(!e||"object"!==typeof e)&&"lat"in e&&"lng"in e&&Number.isFinite(e.lat)&&Number.isFinite(e.lng)}(e)?e:e.toJSON()}const M=()=>n.createElement("div",{style:{position:"absolute",top:0,left:0,bottom:0,right:0,zIndex:999,display:"flex",flexFlow:"column nowrap",textAlign:"center",justifyContent:"center",fontSize:".8rem",color:"rgba(0,0,0,0.6)",background:"#dddddd",padding:"1rem 1.5rem"}},n.createElement("h2",null,"Error: AuthFailure"),n.createElement("p",null,"A problem with your API key prevents the map from rendering correctly. Please make sure the value of the ",n.createElement("code",null,"APIProvider.apiKey")," prop is correct. Check the error-message in the console for further details."));function L(){return k()===u}function O(e){const t=function(){const[,e]=(0,n.useReducer)((e=>e+1),0);return e}(),r=(0,n.useRef)({center:{lat:0,lng:0},heading:0,tilt:0,zoom:0});return(0,n.useEffect)((()=>
1{if(!e)return;const n=google.maps.event.addListener(e,"bounds_changed",(()=>{!function(e,t){const r=e.getCenter(),n=e.getZoom(),i=e.getHeading()||0,s=e.getTilt()||0,a=e.getBounds();r&&a&&Number.isFinite(n)||console.warn("[useTrackedCameraState] at least one of the values from the map returned undefined. This is not expected to happen. Please report an issue at https://github.com/visgl/react-google-maps/issues/new"),Object.assign(t.current,{center:(null==r?void 0:r.toJSON())||{lat:0,lng:0},zoom:n||0,heading:i,tilt:s})}(e,r),t()}));return()=>n.remove()}),[e,t]),r}const I=["id","defaultBounds","defaultCenter","defaultZoom","defaultHeading","defaultTilt","reuseMaps","renderingType","colorScheme"],_=["padding"];class A{static has(e){return this.entries[e]&&this.entries[e].length>0}static pop(e){return this.entries[e]&&this.entries[e].pop()||null}static push(e,t){this.entries[e]||(this.entries[e]=[]),this.entries[e].push(t)}}function N(e,t){const r=L(),[i,s]=(0,n.useState)(null),[l,d]=function(){const[e,t]=(0,n.useState)(null);return[e,(0,n.useCallback)((e=>t(e)),[t])]}(),c=O(i),{id:u,defaultBounds:p,defaultCenter:f,defaultZoom:h,defaultHeading:m,defaultTilt:g,reuseMaps:v,renderingType:y,colorScheme:w}=e,b=o(e,I),x=void 0!==e.zoom||void 0!==e.defaultZoom,E=void 0!==e.center||void 0!==e.defaultCenter;p||x&&E||console.warn("<Map> component is missing configuration. You have to provide zoom and center (via the `zoom`/`defaultZoom` and `center`/`defaultCenter` props) or specify the region to show using `defaultBounds`. See https://visgl.github.io/react-google-maps/docs/api-reference/components/map#required"),!b.center&&f&&(b.center=f),!b.zoom&&Number.isFinite(h)&&(b.zoom=h),!b.heading&&Number.isFinite(m)&&(b.heading=m),!b.tilt&&Number.isFinite(g)&&(b.tilt=g);for(const n of Object.keys(b))void 0===b[n]&&delete b[n];const S=(0,n.useRef)();return(0,n.useEffect)((()=>{if(!l||!r)return;const{addMapInstance:n,removeMapInstance:i}=t,{mapId:d}=e,f=`${d||"default"}:${y||"default"}:${w||"LIGHT"}`;let h,m;if(v&&A.has(f)?(m=A.pop(f),h=m.getDiv(),l.appendChild(h),m.setOptions(b),setTimeout((()=>m.setCenter(m.getCenter())),0)):(h=document.createElement("div"),h.style.height="100%",l.appendChild(h),m=new google.maps.Map(h,a({},b,y?{renderingType:y}:{},w?{colorScheme:w}:{}))),s(m),n(m,u),p){const{padding:e}=p,t=o(p,_);m.fitBounds(t,e)}else x&&E||m.fitBounds({east:180,west:-180,south:-90,north:90});if(S.current){const{mapId:e,cameraState:t}=S.current;e!==d&&m.setOptions(t)}return()=>
1{S.current={mapId:d,cameraState:c.current},h.remove(),v?A.push(f,m):google.maps.event.clearInstanceListeners(m),s(null),i(u)}}),[l,r,u,e.mapId,e.renderingType,e.colorScheme]),[i,d,c]}A.entries={};const z=n.createContext(null),D=e=>{const{children:t,id:r,className:i,style:s}=e,o=(0,n.useContext)(v),l=k();if(!o)throw new Error("<Map> can only be used inside an <ApiProvider> component.");const[d,c,u]=N(e,o);!function(e,t,r){const i=r.center?P(r.center):null;let s=null,a=null;i&&Number.isFinite(i.lat)&&Number.isFinite(i.lng)&&(s=i.lat,a=i.lng);const o=Number.isFinite(r.zoom)?r.zoom:null,l=Number.isFinite(r.heading)?r.heading:null,d=Number.isFinite(r.tilt)?r.tilt:null;(0,n.useLayoutEffect)((()=>{if(!e)return;const r={};let n=!1;null===s||null===a||t.current.center.lat===s&&t.current.center.lng===a||(r.center={lat:s,lng:a},n=!0),null!==o&&t.current.zoom!==o&&(r.zoom=o,n=!0),null!==l&&t.current.heading!==l&&(r.heading=l,n=!0),null!==d&&t.current.tilt!==d&&(r.tilt=d,n=!0),n&&e.moveCamera(r)}))}(d,u,e),function(e,t){for(const r of S){const i=t[r],s=b[r];(0,n.useEffect)((()=>{if(!e)return;if(!i)return;const t=google.maps.event.addListener(e,s,(t=>{i(w(s,e,t))}));return()=>t.remove()}),[e,s,i])}}(d,e),function(e,t){const r={},n=Object.keys(t);for(const i of n)C.has(i)&&(r[i]=t[i]);T((()=>{e&&e.setOptions(r)}),[r])}(d,e);const p=function(e,t){const{viewport:r,viewState:i}=t,s=!!r;return(0,n.useLayoutEffect)((()=>{if(!e||!i)return;const{latitude:t,longitude:r,bearing:n,pitch:s,zoom:a}=i;e.moveCamera({center:{lat:t,lng:r},heading:n,tilt:s,zoom:a+1})}),[e,i]),s}(d,e),h=!!e.controlled;(0,n.useEffect)((()=>{if(d)return p&&d.setOptions({disableDefaultUI:!0}),(p||h)&&d.setOptions({gestureHandling:"none",keyboardShortcuts:!1}),()=>{d.setOptions({gestureHandling:e.gestureHandling,keyboardShortcuts:e.keyboardShortcuts})}}),[d,p,h,e.gestureHandling,e.keyboardShortcuts]);const m=e.center?P(e.center):null;let g=null,y=null;m&&Number.isFinite(m.lat)&&Number.isFinite(m.lng)&&(g=m.lat,y=m.lng);const x=(0,n.useMemo)((()=>{var t,r,n,i,s;return{center:{lat:null!=(t=g)?t:0,lng:null!=(r=y)?r:0},zoom:null!=(n=e.zoom)?n:0,heading:null!=(i=e.heading)?i:0,tilt:null!=(s=e.tilt)?s:0}}),[g,y,e.zoom,e.heading,e.tilt]);(0,n.useLayoutEffect)((()=>{if(!d||!h)return;d.moveCamera(x);const e=d.addListener("bounds_changed",(()=>{d.moveCamera(x)}));return()=>e.remove()}),[d,h,x]);const E=(0,n.useMemo)((()=>a({width:"100%",height:"100%",position:"relative",zIndex:p?-1:0},s)),[s,p]),L=(0,n.useMemo)((()=>({map:d})),[d]);return l===f?n.createElement("div",{style:a({position:"relative"},i?{}:E),className:i},n.createElement(M,null)):n.createElement("div",a({ref:c,"data-testid":"map",style:i?void 0:E,className:i},r?{id:r}:{}),d?n.createElement(z.Provider,{value:L},t):null)};D.deckGLViewProps=!0;const F=new Set;function R(...e){const t=JSON.stringify(e);F.has(t)||(F.add(t),console.error(...e))}const j=(e=null)=>{const t=(0,n.useContext)(v),{map:r}=(0,n.useContext)(z)||{};if(null===t)return R("useMap(): failed to retrieve APIProviderContext. Make sure that the <APIProvider> component exists and that the component you are calling `useMap()` from is a sibling of the <APIProvider>."),null;const{mapInstances:i}=t;return null!==e?i[e]||null:r||(i.default||null)};function B(e){const t=L(),r=(0,n.useContext)(v);return(0,n.useEffect)((()=>{t&&r&&r.importLibrary(e)}),[t,r,e]),(null==r?void 0:r.loadedLibraries[e])||null}function Q(e,t,r){(0,n.useEffect)((()=>{if(!e||!t||!r)return;const n=google.maps.event.addListener(e,t,r);return()=>n.remove()}),[e,t,r])}function G(e,t,r){(0,n.useEffect)((()=>{e&&(e[t]=r)}),[e,t,r])}function V(e,t,r){(0,n.useEffect)((()=>{if(e&&t&&r)return e.addEventListener(t,r),()=>e.removeEventListener(t,r)}),[e,t,r])}const $=n.createContext(null),H={TOP_LEFT:["0%","0%"],TOP_CENTER:["50%","0%"],TOP:["50%","0%"],TOP_RIGHT:["100%","0%"],LEFT_CENTER:["0%","50%"],LEFT_TOP:["0%","0%"],LEFT:["0%","50%"],LEFT_BOTTOM:["0%","100%"],RIGHT_TOP:["100%","0%"],RIGHT:["100%","50%"],RIGHT_CENTER:["100%","50%"],RIGHT_BOTTOM:["100%","100%"],BOTTOM_LEFT:["0%","100%"],BOTTOM_CENTER:["50%","100%"],BOTTOM:["50%","100%"],BOTTOM_RIGHT:["100%","100%"],CENTER:["50%","50%"]},q=({children:e,styles:t,className:r,anchorPoint:i})=>{const[s,a]=null!=i?i:H.BOTTOM,o=`translate(50%, 100%) translate(-${s}, -${a})`;return n.createElement("div",{style:{transform:o}},n.createElement("div",{className:r,style:t},e))};
1function W(e){const[t,r]=(0,n.useState)(null),[i,s]=(0,n.useState)(null),a=j(),o=B("marker"),{children:l,onClick:d,className:c,onMouseEnter:u,onMouseLeave:p,onDrag:f,onDragStart:h,onDragEnd:m,collisionBehavior:g,clickable:v,draggable:y,position:w,title:b,zIndex:x}=e,E=n.Children.count(l);return(0,n.useEffect)((()=>{if(!a||!o)return;const e=new o.AdvancedMarkerElement;e.map=a,r(e);let t=null;return E>0&&(t=document.createElement("div"),t.isCustomMarker=!0,e.content=t,s(t)),()=>{var n;e.map=null,null==(n=t)||n.remove(),r(null),s(null)}}),[a,o,E]),(0,n.useEffect)((()=>{!t||!t.content||E>0||(t.content.className=c||"")}),[t,c,E]),G(t,"position",w),G(t,"title",null!=b?b:""),G(t,"zIndex",x),G(t,"collisionBehavior",g),(0,n.useEffect)((()=>{t&&(t.gmpDraggable=void 0!==y?y:!!(f||h||m))}),[t,y,f,m,h]),(0,n.useEffect)((()=>{if(!t)return;const e=void 0!==v||Boolean(d)||Boolean(u)||Boolean(p);t.gmpClickable=e,e&&null!=t&&t.content&&t.content.nodeType===Node.ELEMENT_NODE&&(t.content.style.pointerEvents="none",t.content.firstElementChild&&(t.content.firstElementChild.style.pointerEvents="all"))}),[t,v,d,u,p]),Q(t,"click",d),Q(t,"drag",f),Q(t,"dragstart",h),Q(t,"dragend",m),V(null==t?void 0:t.element,"mouseenter",u),V(null==t?void 0:t.element,"mouseleave",p),[t,i]}const U=(0,n.forwardRef)(((e,t)=>{const{children:r,style:s,className:a,anchorPoint:o}=e,[l,d]=W(e),c=(0,n.useMemo)((()=>l?{marker:l}:null),[l]);return(0,n.useImperativeHandle)(t,(()=>l),[l]),d?n.createElement($.Provider,{value:c},(0,i.createPortal)(n.createElement(q,{anchorPoint:o,styles:s,className:a},r),d)):null}));function Z(e,t,r){const n=0===t.indexOf("--");var i;null==r||"boolean"===typeof r||""===r?n?e.setProperty(t,""):"float"===t?e.cssFloat="":e[t]="":n?e.setProperty(t,r):"number"!==typeof r||0===r||(i=t,Y.has(i))?"float"===t?e.cssFloat=r:e[t]=(""+r).trim():e[t]=r+"px"}const Y=new Set(["animationIterationCount","aspectRatio","borderImageOutset","borderImageSlice","borderImageWidth","boxFlex","boxFlexGroup","boxOrdinalGroup","columnCount","columns","flex","flexGrow","flexPositive","flexShrink","flexNegative","flexOrder","gridArea","gridRow","gridRowEnd","gridRowSpan","gridRowStart","gridColumn","gridColumnEnd","gridColumnSpan","gridColumnStart","fontWeight","lineClamp","lineHeight","opacity","order","orphans","scale","tabSize","widows","zIndex","zoom","fillOpacity","floodOpacity","stopOpacity","strokeDasharray","strokeDashoffset","strokeMiterlimit","strokeOpacity","strokeWidth"]);const X=["children","headerContent","style","className","pixelOffset","anchor","shouldFocus","onClose","onCloseClick"],J=e=>{const{children:t,headerContent:r,style:s,className:a,pixelOffset:l,anchor:d,shouldFocus:c,onClose:u,onCloseClick:p}=e,f=o(e,X),h=B("maps"),[m,g]=(0,n.useState)(null),v=(0,n.useRef)(null),y=(0,n.useRef)(null);(0,n.useEffect)((()=>{if(!h)return;v.current=document.createElement("div"),y.current=document.createElement("div");const e=f;l&&(e.pixelOffset=new google.maps.Size(l[0],l[1])),r&&(e.headerContent="string"===typeof r?r:y.current);const t=new google.maps.InfoWindow(f);return t.setContent(v.current),g(t),()=>{var e,r;t.setContent(null),null==(e=v.current)||e.remove(),null==(r=y.current)||r.remove(),v.current=null,y.current=null,g(null)}}),[h]);const w=(0,n.useRef)(null);(0,n.useEffect)((()=>{m&&v.current&&(!function(e,t,r){if(null!=t&&"object"!==typeof t)throw new Error("The `style` prop expects a mapping from style properties to values, not a string. For example, style={{marginRight: spacing + 'em'}} when using JSX.");const n=e.style;if(null!=r){for(const e in r)!r.hasOwnProperty(e)||null!=t&&t.hasOwnProperty(e)||(0===e.indexOf("--")?n.setProperty(e,""):"float"===e?n.cssFloat="":n[e]="");if(null!=t)for(const e in t){const i=t[e];t.hasOwnProperty(e)&&r[e]!==i&&Z(n,e,i)}}else{if(null==t)return;for(const e in t)t.hasOwnProperty(e)&&Z(n,e,t[e])}}(v.current,s||null,w.current),w.current=s||null,a!==v.current.className&&(v.current.className=a||""))}),[m,a,s]),T((()=>{if(!m)return;const e=f;e.pixelOffset=l?new google.maps.Size(l[0],l[1]):null,e.headerContent=r?"string"===typeof r?r:y.current:null,m.setOptions(f)}),[f,l,r]),Q(m,"close",u),Q(m,"closeclick",p);const b=j();return(0,n.useEffect)((()=>
1{if(!b||!m||null===d)return;const e=!!d,t={map:b};if(d&&(t.anchor=d,void 0!==d.content&&d.content instanceof Element)){const e=d.content,t=null==e?void 0:e.getBoundingClientRect();if(t&&null!=e&&e.isCustomMarker){var r;const e=null==(r=d.content.firstElementChild)?void 0:r.firstElementChild,n=null==e?void 0:e.getBoundingClientRect(),i=n.x-t.x+(n.width-t.width)/2,s=n.y-t.y,a=f;a.pixelOffset=new google.maps.Size(l?l[0]+i:i,l?l[1]+s:s),m.setOptions(a)}}return void 0!==c&&(t.shouldFocus=c),m.open(t),()=>{e&&m.set("anchor",null),m.close()}}),[m,d,b,c,f,l]),n.createElement(n.Fragment,null,v.current&&(0,i.createPortal)(t,v.current),null!==y.current&&(0,i.createPortal)(r,y.current))},K=["onClick","onDrag","onDragStart","onDragEnd","onMouseOver","onMouseOut"];(0,n.forwardRef)(((e,t)=>{const r=function(e){const[t,r]=(0,n.useState)(null),i=j(),{onClick:s,onDrag:a,onDragStart:l,onDragEnd:d,onMouseOver:c,onMouseOut:u}=e,p=o(e,K),{position:f,draggable:h}=p;return(0,n.useEffect)((()=>{if(!i)return void(void 0===i&&console.error("<Marker> has to be inside a Map component."));const e=new google.maps.Marker(p);return e.setMap(i),r(e),()=>{e.setMap(null),r(null)}}),[i]),(0,n.useEffect)((()=>{if(!t)return;const e=t,r=google.maps.event;return s&&r.addListener(e,"click",s),a&&r.addListener(e,"drag",a),l&&r.addListener(e,"dragstart",l),d&&r.addListener(e,"dragend",d),c&&r.addListener(e,"mouseover",c),u&&r.addListener(e,"mouseout",u),t.setDraggable(Boolean(h)),()=>{r.clearInstanceListeners(e)}}),[t,h,s,a,l,d,c,u]),(0,n.useEffect)((()=>{t&&p&&t.setOptions(p)}),[t,p]),(0,n.useEffect)((()=>{!h&&f&&t&&t.setPosition(f)}),[h,f,t]),t}(e);return(0,n.useImperativeHandle)(t,(()=>r),[r]),n.createElement(n.Fragment,null)}))},94135:function(e,t,r){"use strict";r.d(t,{s5:function(){return o},pt:function(){return l},xW:function(){return u},VS:function(){return s}});var n=r(13433),i=r(7185);function s(e){let{swiper:t,extendParams:r,on:n}=e;r({parallax:{enabled:!1}});const s="[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y], [data-swiper-parallax-opacity], [data-swiper-parallax-scale]",a=(e,r)=>{const{rtl:n}=t,i=n?-1:1,s=e.getAttribute("data-swiper-parallax")||"0";let a=e.getAttribute("data-swiper-parallax-x"),o=e.getAttribute("data-swiper-parallax-y");const l=e.getAttribute("data-swiper-parallax-scale"),d=e.getAttribute("data-swiper-parallax-opacity"),c=e.getAttribute("data-swiper-parallax-rotate");if(a||o?(a=a||"0",o=o||"0"):t.isHorizontal()?(a=s,o="0"):(o=s,a="0"),a=a.indexOf("%")>=0?parseInt(a,10)*r*i+"%":a*r*i+"px",o=o.indexOf("%")>=0?parseInt(o,10)*r+"%":o*r+"px","undefined"!==typeof d&&null!==d){const t=d-(d-1)*(1-Math.abs(r));e.style.opacity=t}let u=`translate3d(${a}, ${o}, 0px)`;if("undefined"!==typeof l&&null!==l){u+=` scale(${l-(l-1)*(1-Math.abs(r))})`}if(c&&"undefined"!==typeof c&&null!==c){u+=` rotate(${c*r*-1}deg)`}e.style.transform=u},o=()=>{const{el:e,slides:r,progress:n,snapGrid:o,isElement:l}=t,d=(0,i.e)(e,s);t.isElement&&d.push(...(0,i.e)(t.hostEl,s)),d.forEach((e=>{a(e,n)})),r.forEach(((e,r)=>{let i=e.progress;t.params.slidesPerGroup>1&&"auto"!==t.params.slidesPerView&&(i+=Math.ceil(r/2)-n*(o.length-1)),i=Math.min(Math.max(i,-1),1),e.querySelectorAll(`${s}, [data-swiper-parallax-rotate]`).forEach((e=>{a(e,i)}))}))};n("beforeInit",(()=>{t.params.parallax.enabled&&(t.params.watchSlidesProgress=!0,t.originalParams.watchSlidesProgress=!0)})),n("init",(()=>{t.params.parallax.enabled&&o()})),n("setTranslate",(()=>{t.params.parallax.enabled&&o()})),n("setTransition",((e,r)=>{t.params.parallax.enabled&&function(e){void 0===e&&(e=t.params.speed);const{el:r,hostEl:n}=t,i=[...r.querySelectorAll(s)];
1t.isElement&&i.push(...n.querySelectorAll(s)),i.forEach((t=>{let r=parseInt(t.getAttribute("data-swiper-parallax-duration"),10)||e;0===e&&(r=0),t.style.transitionDuration=`${r}ms`}))}(r)}))}function a(e){return void 0===e&&(e=""),`.${e.trim().replace(/([\.:!+\/])/g,"\\$1").replace(/ /g,".")}`}function o(e){let{swiper:t,extendParams:r,on:s}=e;r({a11y:{enabled:!0,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}",slideLabelMessage:"{{index}} / {{slidesLength}}",containerMessage:null,containerRoleDescriptionMessage:null,itemRoleDescriptionMessage:null,slideRole:"group",id:null}}),t.a11y={clicked:!1};let o,l,d=null,c=(new Date).getTime();function u(e){const t=d;0!==t.length&&(t.innerHTML="",t.innerHTML=e)}function p(e){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("tabIndex","0")}))}function f(e){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("tabIndex","-1")}))}function h(e,t){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("role",t)}))}function m(e,t){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("aria-roledescription",t)}))}function g(e,t){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("aria-label",t)}))}function v(e){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("aria-disabled",!0)}))}function y(e){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("aria-disabled",!1)}))}function w(e){if(13!==e.keyCode&&32!==e.keyCode)return;const r=t.params.a11y,n=e.target;if(!t.pagination||!t.pagination.el||n!==t.pagination.el&&!t.pagination.el.contains(e.target)||e.target.matches(a(t.params.pagination.bulletClass))){if(t.navigation&&t.navigation.prevEl&&t.navigation.nextEl){const e=(0,i.m)(t.navigation.prevEl);(0,i.m)(t.navigation.nextEl).includes(n)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?u(r.lastSlideMessage):u(r.nextSlideMessage)),e.includes(n)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?u(r.firstSlideMessage):u(r.prevSlideMessage))}t.pagination&&n.matches(a(t.params.pagination.bulletClass))&&n.click()}}function b(){return t.pagination&&t.pagination.bullets&&t.pagination.bullets.length}function x(){return b()&&t.params.pagination.clickable}const E=(e,t,r)=>{p(e),"BUTTON"!==e.tagName&&(h(e,"button"),e.addEventListener("keydown",w)),g(e,r),function(e,t){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("aria-controls",t)}))}(e,t)},S=e=>{l&&l!==e.target&&!l.contains(e.target)&&(o=!0),t.a11y.clicked=!0},T=()=>{o=!1,requestAnimationFrame((()=>{requestAnimationFrame((()=>{t.destroyed||(t.a11y.clicked=!1)}))}))},C=e=>{c=(new Date).getTime()},k=e=>{if(t.a11y.clicked)return;if((new Date).getTime()-c<100)return;const r=e.target.closest(`.${t.params.slideClass}, swiper-slide`);if(!r||!t.slides.includes(r))return;l=r;const n=t.slides.indexOf(r)===t.activeIndex,i=t.params.watchSlidesProgress&&t.visibleSlides&&t.visibleSlides.includes(r);n||i||e.sourceCapabilities&&e.sourceCapabilities.firesTouchEvents||(t.isHorizontal()?t.el.scrollLeft=0:t.el.scrollTop=0,requestAnimationFrame((()=>{o||(t.params.loop?t.slideToLoop(parseInt(r.getAttribute("data-swiper-slide-index")),0):t.slideTo(t.slides.indexOf(r),0),o=!1)})))},P=()=>{const e=t.params.a11y;e.itemRoleDescriptionMessage&&m(t.slides,e.itemRoleDescriptionMessage),e.slideRole&&h(t.slides,e.slideRole);const r=t.slides.length;e.slideLabelMessage&&t.slides.forEach(((n,i)=>{const s=t.params.loop?parseInt(n.getAttribute("data-swiper-slide-index"),10):i;g(n,e.slideLabelMessage.replace(/\{\{index\}\}/,s+1).replace(/\{\{slidesLength\}\}/,r))}))},M=()=>{const e=t.params.a11y;t.el.append(d);const r=t.el;e.containerRoleDescriptionMessage&&m(r,e.containerRoleDescriptionMessage),e.containerMessage&&g(r,e.containerMessage);const s=t.wrapperEl,a=e.id||s.getAttribute("id")||`swiper-wrapper-${o=16,void 0===o&&(o=16),"x".repeat(o).replace(/x/g,(()=>Math.round(16*Math.random()).toString(16)))}`;var o;const l=t.params.autoplay&&t.params.autoplay.enabled?"off":"polite";var c,u;c=s,u=a,(c=(0,i.m)(c)).forEach((e=>{e.setAttribute("id",u)}
1)),function(e,t){(e=(0,i.m)(e)).forEach((e=>{e.setAttribute("aria-live",t)}))}(s,l),P();let{nextEl:p,prevEl:f}=t.navigation?t.navigation:{};if(p=(0,i.m)(p),f=(0,i.m)(f),p&&p.forEach((t=>E(t,a,e.nextSlideMessage))),f&&f.forEach((t=>E(t,a,e.prevSlideMessage))),x()){(0,i.m)(t.pagination.el).forEach((e=>{e.addEventListener("keydown",w)}))}(0,n.g)().addEventListener("visibilitychange",C),t.el.addEventListener("focus",k,!0),t.el.addEventListener("focus",k,!0),t.el.addEventListener("pointerdown",S,!0),t.el.addEventListener("pointerup",T,!0)};s("beforeInit",(()=>{d=(0,i.c)("span",t.params.a11y.notificationClass),d.setAttribute("aria-live","assertive"),d.setAttribute("aria-atomic","true")})),s("afterInit",(()=>{t.params.a11y.enabled&&M()})),s("slidesLengthChange snapGridLengthChange slidesGridLengthChange",(()=>{t.params.a11y.enabled&&P()})),s("fromEdge toEdge afterInit lock unlock",(()=>{t.params.a11y.enabled&&function(){if(t.params.loop||t.params.rewind||!t.navigation)return;const{nextEl:e,prevEl:r}=t.navigation;r&&(t.isBeginning?(v(r),f(r)):(y(r),p(r))),e&&(t.isEnd?(v(e),f(e)):(y(e),p(e)))}()})),s("paginationUpdate",(()=>{t.params.a11y.enabled&&function(){const e=t.params.a11y;b()&&t.pagination.bullets.forEach((r=>{t.params.pagination.clickable&&(p(r),t.params.pagination.renderBullet||(h(r,"button"),g(r,e.paginationBulletMessage.replace(/\{\{index\}\}/,(0,i.h)(r)+1)))),r.matches(a(t.params.pagination.bulletActiveClass))?r.setAttribute("aria-current","true"):r.removeAttribute("aria-current")}))}()})),s("destroy",(()=>{t.params.a11y.enabled&&function(){d&&d.remove();let{nextEl:e,prevEl:r}=t.navigation?t.navigation:{};e=(0,i.m)(e),r=(0,i.m)(r),e&&e.forEach((e=>e.removeEventListener("keydown",w))),r&&r.forEach((e=>e.removeEventListener("keydown",w))),x()&&(0,i.m)(t.pagination.el).forEach((e=>{e.removeEventListener("keydown",w)}
vendor: 4,928 bytes, line 1
1));(0,n.g)().removeEventListener("visibilitychange",C),t.el&&"string"!==typeof t.el&&(t.el.removeEventListener("focus",k,!0),t.el.removeEventListener("pointerdown",S,!0),t.el.removeEventListener("pointerup",T,!0))}()}))}function l(e){let t,r,{swiper:i,extendParams:s,on:a,emit:o,params:l}=e;i.autoplay={running:!1,paused:!1,timeLeft:0},s({autoplay:{enabled:!1,delay:3e3,waitForTransition:!0,disableOnInteraction:!1,stopOnLastSlide:!1,reverseDirection:!1,pauseOnMouseEnter:!1}});let d,c,u,p,f,h,m,g,v=l&&l.autoplay?l.autoplay.delay:3e3,y=l&&l.autoplay?l.autoplay.delay:3e3,w=(new Date).getTime();function b(e){i&&!i.destroyed&&i.wrapperEl&&e.target===i.wrapperEl&&(i.wrapperEl.removeEventListener("transitionend",b),g||e.detail&&e.detail.bySwiperTouchMove||k())}const x=()=>{if(i.destroyed||!i.autoplay.running)return;i.autoplay.paused?c=!0:c&&(y=d,c=!1);const e=i.autoplay.paused?d:w+y-(new Date).getTime();i.autoplay.timeLeft=e,o("autoplayTimeLeft",e,e/v),r=requestAnimationFrame((()=>{x()}))},E=e=>{if(i.destroyed||!i.autoplay.running)return;cancelAnimationFrame(r),x();let n="undefined"===typeof e?i.params.autoplay.delay:e;v=i.params.autoplay.delay,y=i.params.autoplay.delay;const s=(()=>{let e;if(e=i.virtual&&i.params.virtual.enabled?i.slides.filter((e=>e.classList.contains("swiper-slide-active")))[0]:i.slides[i.activeIndex],!e)return;return parseInt(e.getAttribute("data-swiper-autoplay"),10)})();!Number.isNaN(s)&&s>0&&"undefined"===typeof e&&(n=s,v=s,y=s),d=n;const a=i.params.speed,l=()=>{i&&!i.destroyed&&(i.params.autoplay.reverseDirection?!i.isBeginning||i.params.loop||i.params.rewind?(i.slidePrev(a,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(i.slides.length-1,a,!0,!0),o("autoplay")):!i.isEnd||i.params.loop||i.params.rewind?(i.slideNext(a,!0,!0),o("autoplay")):i.params.autoplay.stopOnLastSlide||(i.slideTo(0,a,!0,!0),o("autoplay")),i.params.cssMode&&(w=(new Date).getTime(),requestAnimationFrame((()=>{E()}))))};return n>0?(clearTimeout(t),t=setTimeout((()=>{l()}),n)):requestAnimationFrame((()=>{l()})),n},S=()=>{w=(new Date).getTime(),i.autoplay.running=!0,E(),o("autoplayStart")},T=()=>{i.autoplay.running=!1,clearTimeout(t),cancelAnimationFrame(r),o("autoplayStop")},C=(e,r)=>{if(i.destroyed||!i.autoplay.running)return;clearTimeout(t),e||(m=!0);const n=()=>{o("autoplayPause"),i.params.autoplay.waitForTransition?i.wrapperEl.addEventListener("transitionend",b):k()};if(i.autoplay.paused=!0,r)return h&&(d=i.params.autoplay.delay),h=!1,void n();const s=d||i.params.autoplay.delay;d=s-((new Date).getTime()-w),i.isEnd&&d<0&&!i.params.loop||(d<0&&(d=0),n())},k=()=>{i.isEnd&&d<0&&!i.params.loop||i.destroyed||!i.autoplay.running||(w=(new Date).getTime(),m?(m=!1,E(d)):E(),i.autoplay.paused=!1,o("autoplayResume"))},P=()=>{if(i.destroyed||!i.autoplay.running)return;const e=(0,n.g)();"hidden"===e.visibilityState&&(m=!0,C(!0)),"visible"===e.visibilityState&&k()},M=e=>{"mouse"===e.pointerType&&(m=!0,g=!0,i.animating||i.autoplay.paused||C(!0))},L=e=>{"mouse"===e.pointerType&&(g=!1,i.autoplay.paused&&k())};a("init",(()=>{i.params.autoplay.enabled&&(i.params.autoplay.pauseOnMouseEnter&&(i.el.addEventListener("pointerenter",M),i.el.addEventListener("pointerleave",L)),(0,n.g)().addEventListener("visibilitychange",P),S())})),a("destroy",(()=>{i.el&&"string"!==typeof i.el&&(i.el.removeEventListener("pointerenter",M),i.el.removeEventListener("pointerleave",L)),(0,n.g)().removeEventListener("visibilitychange",P),i.autoplay.running&&T()})),a("_freeModeStaticRelease",(()=>{(p||m)&&k()})),a("_freeModeNoMomentumRelease",(()=>{i.params.autoplay.disableOnInteraction?T():C(!0,!0)})),a("beforeTransitionStart",((e,t,r)=>{!i.destroyed&&i.autoplay.running&&(r||!i.params.autoplay.disableOnInteraction?C(!0,!0):T())})),a("sliderFirstMove",(()=>{!i.destroyed&&i.autoplay.running&&(i.params.autoplay.disableOnInteraction?T():(u=!0,p=!1,m=!1,f=setTimeout((()=>{m=!0,p=!0,C(!0)}),200)))})),a("touchEnd",(()=>{if(!i.destroyed&&i.autoplay.running&&u){if(clearTimeout(f),clearTimeout(t),i.params.autoplay.disableOnInteraction)return p=!1,void(u=!1);p&&i.params.cssMode&&k(),p=!1,u=!1}})),a("slideChange",(()=>{!i.destroyed&&i.autoplay.running&&(h=!0)})),Object.assign(i.autoplay,{start:S,stop:T,pause:C,resume:k})}function d(e,t){const r=(0,i.g)(t);return r!==t&&(r.style.backfaceVisibility="hidden",r.style["-webkit-backface-visibility"]="hidden"),r}function c(e){let{swiper:t,duration:r,transformElements:n,allSlides:s}=e;const{activeIndex:a}=t;if(t.params.virtualTranslate&&0!==r){let e,r=!1;e=s?n:n.filter((e=>{const r=e.classList.contains("swiper-slide-transform")?(e=>{if(!e.parentElement)return t.slides.filter((t=>t.shadowRoot&&t.shadowRoot===e.parentNode))[0];return e.parentElement})(e):e;return t.getSlideIndex(r)===a})),e.forEach((e=>{(0,i.k)(e,(()=>{if(r)return;if(!t||t.destroyed)return;r=!0,t.animating=!1;const e=new window.CustomEvent("transitionend",{bubbles:!0,cancelable:!0});
1t.wrapperEl.dispatchEvent(e)}))}))}}function u(e){let{swiper:t,extendParams:r,on:n}=e;r({fadeEffect:{crossFade:!1}});!function(e){const{effect:t,swiper:r,on:n,setTranslate:i,setTransition:s,overwriteParams:a,perspective:o,recreateShadows:l,getEffectParams:d}=e;let c;n("beforeInit",(()=>{if(r.params.effect!==t)return;r.classNames.push(`${r.params.containerModifierClass}${t}`),o&&o()&&r.classNames.push(`${r.params.containerModifierClass}3d`);const e=a?a():{};Object.assign(r.params,e),Object.assign(r.originalParams,e)})),n("setTranslate",(()=>{r.params.effect===t&&i()})),n("setTransition",((e,n)=>{r.params.effect===t&&s(n)})),n("transitionEnd",(()=>{if(r.params.effect===t&&l){if(!d||!d().slideShadows)return;r.slides.forEach((e=>{e.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((e=>e.remove()))})),l()}})),n("virtualUpdate",(()=>{r.params.effect===t&&(r.slides.length||(c=!0),requestAnimationFrame((()=>{c&&r.slides&&r.slides.length&&(i(),c=!1)})))}))}({effect:"fade",swiper:t,on:n,setTranslate:()=>{const{slides:e}=t;t.params.fadeEffect;for(let r=0;r<e.length;r+=1){const e=t.slides[r];let n=-e.swiperSlideOffset;t.params.virtualTranslate||(n-=t.translate);let i=0;t.isHorizontal()||(i=n,n=0);const s=t.params.fadeEffect.crossFade?Math.max(1-Math.abs(e.progress),0):1+Math.min(Math.max(e.progress,-1),0),a=d(0,e);a.style.opacity=s,a.style.transform=`translate3d(${n}px, ${i}px, 0px)`}},setTransition:e=>{const r=t.slides.map((e=>(0,i.g)(e)));r.forEach((t=>{t.style.transitionDuration=`${e}ms`})),c({swiper:t,duration:e,transformElements:r,allSlides:!0})},overwriteParams:()=>({slidesPerView:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!t.params.cssMode})})}},13433:function(e,t,r){"use strict";function n(e){return null!==e&&"object"===typeof e&&"constructor"in e&&e.constructor===Object}function i(e,t){void 0===e&&(e={}),void 0===t&&(t={}),Object.keys(t).forEach((r=>{"undefined"===typeof e[r]?e[r]=t[r]:n(t[r])&&n(e[r])&&Object.keys(t[r]).length>0&&i(e[r],t[r])}))}r.d(t,{a:function(){return l},g:function(){return a}});const s={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 a(){const e="undefined"!==typeof document?document:{};return i(e,s),e}const o={document:s,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 l(){const e="undefined"!==typeof window?window:{};return i(e,o),e}},7185:function(e,t,r){"use strict";r.d(t,{a:function(){return x},c:function(){return g},d:function(){return a},e:function(){return h},f:function(){return S},g:function(){return f},h:function(){return b},j:function(){return o},k:function(){return E},m:function(){return T},n:function(){return s},o:function(){return w},p:function(){return y},q:function(){return v},r:function(){return p},s:function(){return u},t:function(){return m},u:function(){return c},v:function(){return i}});var n=r(13433);function i(e){const t=e;Object.keys(t).forEach((e=>{try{t[e]=null}catch(r){}try{delete t[e]}catch(r){}}))}function s(e,t){return void 0===t&&(t=0),setTimeout(e,t)}function a(){return Date.now()}function o(e,t){void 0===t&&(t="x");const r=(0,n.a)();let i,s,a;const o=function(e){const t=(0,n.a)();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?(s=o.transform||o.webkitTransform,s.split(",").length>6&&(s=s.split(", ").map((e=>e.replace(",","."))).join(", ")),a=new r.WebKitCSSMatrix("none"===s?"":s)):(a=o.MozTransform||o.OTransform||o.MsTransform||o.msTransform||o.transform||o.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,"),i=a.toString().split(",")),"x"===t&&(s=r.WebKitCSSMatrix?a.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(s=r.WebKitCSSMatrix?a.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0}function l(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)}function d(e){return"undefined"!==typeof window&&"undefined"!==typeof window.HTMLElement?e instanceof HTMLElement:e&&(1===e.nodeType||11===e.nodeType)}function c(){const e=Object(arguments.length<=0?void 0:arguments[0]),t=["__proto__","constructor","prototype"];for(let r=1;r<arguments.length;r+=1){const n=r<0||arguments.length<=r?void 0:arguments[r];
1if(void 0!==n&&null!==n&&!d(n)){const r=Object.keys(Object(n)).filter((e=>t.indexOf(e)<0));for(let t=0,i=r.length;t<i;t+=1){const i=r[t],s=Object.getOwnPropertyDescriptor(n,i);void 0!==s&&s.enumerable&&(l(e[i])&&l(n[i])?n[i].__swiper__?e[i]=n[i]:c(e[i],n[i]):!l(e[i])&&l(n[i])?(e[i]={},n[i].__swiper__?e[i]=n[i]:c(e[i],n[i])):e[i]=n[i])}}}return e}function u(e,t,r){e.style.setProperty(t,r)}function p(e){let{swiper:t,targetPosition:r,side:i}=e;const s=(0,n.a)(),a=-t.translate;let o,l=null;const d=t.params.speed;t.wrapperEl.style.scrollSnapType="none",s.cancelAnimationFrame(t.cssModeFrameID);const c=r>a?"next":"prev",u=(e,t)=>"next"===c&&e>=t||"prev"===c&&e<=t,p=()=>{o=(new Date).getTime(),null===l&&(l=o);const e=Math.max(Math.min((o-l)/d,1),0),n=.5-Math.cos(e*Math.PI)/2;let c=a+n*(r-a);if(u(c,r)&&(c=r),t.wrapperEl.scrollTo({[i]:c}),u(c,r))return t.wrapperEl.style.overflow="hidden",t.wrapperEl.style.scrollSnapType="",setTimeout((()=>{t.wrapperEl.style.overflow="",t.wrapperEl.scrollTo({[i]:c})})),void s.cancelAnimationFrame(t.cssModeFrameID);t.cssModeFrameID=s.requestAnimationFrame(p)};p()}function f(e){return e.querySelector(".swiper-slide-transform")||e.shadowRoot&&e.shadowRoot.querySelector(".swiper-slide-transform")||e}function h(e,t){return void 0===t&&(t=""),[...e.children].filter((e=>e.matches(t)))}function m(e){try{return void console.warn(e)}catch(t){}}function g(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 v(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}function y(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}function w(e,t){return(0,n.a)().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 x(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(e,t){t&&e.addEventListener("transitionend",(function r(n){n.target===e&&(t.call(e,n),e.removeEventListener("transitionend",r))}))}function S(e,t,r){const i=(0,n.a)();return r?e["width"===t?"offsetWidth":"offsetHeight"]+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-right":"margin-top"))+parseFloat(i.getComputedStyle(e,null).getPropertyValue("width"===t?"margin-left":"margin-bottom")):e.offsetWidth}function T(e){return(Array.isArray(e)?e:[e]).filter((e=>!!e))}},2261:function(e,t,r){"use strict";r.d(t,{tq:function(){return te},o5:function(){return re},oc:function(){return ee}});var n=r(67294),i=r(13433),s=r(7185);let a,o,l;function d(){return a||(a=function(){const e=(0,i.a)(),t=(0,i.g)();return{smoothScroll:t.documentElement&&t.documentElement.style&&"scrollBehavior"in t.documentElement.style,touch:!!("ontouchstart"in e||e.DocumentTouch&&t instanceof e.DocumentTouch)}}()),a}function c(e){return void 0===e&&(e={}),o||(o=function(e){let{userAgent:t}=void 0===e?{}:e;const r=d(),n=(0,i.a)(),s=n.navigator.platform,a=t||n.navigator.userAgent,o={ios:!1,android:!1},l=n.screen.width,c=n.screen.height,u=a.match(/(Android);?[\s\/]+([\d.]+)?/);let p=a.match(/(iPad).*OS\s([\d_]+)/);const f=a.match(/(iPod)(.*OS\s([\d_]+))?/),h=!p&&a.match(/(iPhone\sOS|iOS)\s([\d_]+)/),m="Win32"===s;let g="MacIntel"===s;return!p&&g&&r.touch&&["1024x1366","1366x1024","834x1194","1194x834","834x1112","1112x834","768x1024","1024x768","820x1180","1180x820","810x1080","1080x810"].indexOf(`${l}x${c}`)>=0&&(p=a.match(/(Version)\/([\d.]+)/),p||(p=[0,1,"13_0_0"]),g=!1),u&&!m&&(o.os="android",o.android=!0),(p||h||f)&&(o.os="ios",o.ios=!0),o}(e)),o}function u(){return l||(l=function(){const e=(0,i.a)(),t=c();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}}
1const s=/(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent),a=n();return{isSafari:r||a,needPerspectiveFix:r,need3dFix:a||s&&t.ios,isWebView:s}}()),l}var p={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,s=new Array(r),a=0;a<r;a++)s[a]=arguments[a];t.apply(n,s)}return i.__emitterProxy=t,n.on(e,i,r)},onAny(e,t){const r=this;if(!r.eventsListeners||r.destroyed)return r;if("function"!==typeof e)return r;const n=t?"unshift":"push";return r.eventsAnyListeners.indexOf(e)<0&&r.eventsAnyListeners[n](e),r},offAny(e){const t=this;if(!t.eventsListeners||t.destroyed)return t;if(!t.eventsAnyListeners)return t;const r=t.eventsAnyListeners.indexOf(e);return r>=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=>{"undefined"===typeof 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,s=new Array(i),a=0;a<i;a++)s[a]=arguments[a];"string"===typeof s[0]||Array.isArray(s[0])?(t=s[0],r=s.slice(1,s.length),n=e):(t=s[0].events,r=s[0].data,n=s[0].context||e),r.unshift(n);return(Array.isArray(t)?t:t.split(" ")).forEach((t=>{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 f=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)};const h=(e,t,r)=>{t&&!e.classList.contains(r)?e.classList.add(r):!t&&e.classList.contains(r)&&e.classList.remove(r)};const m=(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()}},g=(e,t)=>{if(!e.slides[t])return;const r=e.slides[t].querySelector('[loading="lazy"]');r&&r.removeAttribute("loading")},v=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,s=[r-t];return s.push(...Array.from({length:t}).map(((e,t)=>r+n+t))),void e.slides.forEach(((t,r)=>{s.includes(t.column)&&g(e,r)}))}const s=i+n-1;if(e.params.rewind||e.params.loop)for(let a=i-t;a<=s+t;a+=1){const t=(a%r+r)%r;(t<i||t>s)&&g(e,t)}else for(let a=Math.max(i-t,0);a<=Math.min(s+t,r-1);a+=1)a!==i&&(a>s||a<i)&&g(e,a)};var y={updateSize:function(){const e=this;let t,r;const n=e.el;t="undefined"!==typeof e.params.width&&null!==e.params.width?e.params.width:n.clientWidth,r="undefined"!==typeof e.params.height&&null!==e.params.height?e.params.height:n.clientHeight,0===t&&e.isHorizontal()||0===r&&e.isVertical()||(t=t-parseInt((0,s.o)(n,"padding-left")||0,10)-parseInt((0,s.o)(n,"padding-right")||0,10),r=r-parseInt((0,s.o)(n,"padding-top")||0,10)-parseInt((0,s.o)(n,"padding-bottom")||0,10),Number.isNaN(t)&&(t=0),Number.isNaN(r)&&(r=0),Object.assign(e,{width:t,height:r,size:e.isHorizontal()?t:r}))},updateSlides:function(){const e=this;function t(t,r){return parseFloat(t.getPropertyValue(e.getDirectionLabel(r))||0)}const r=e.params,{wrapperEl:n,slidesEl:i,size:a,rtlTranslate:o,wrongRTL:l}=e,d=e.virtual&&r.virtual.enabled,c=d?e.virtual.slides.length:e.slides.length,u=(0,s.e)(i,`.${e.params.slideClass}, swiper-slide`),p=d?e.virtual.slides.length:u.length;let f=[];const h=[],m=[];let g=r.slidesOffsetBefore;"function"===typeof g&&(g=r.slidesOffsetBefore.call(e));let v=r.slidesOffsetAfter;"function"===typeof v&&(v=r.slidesOffsetAfter.call(e));const y=e.snapGrid.length,w=e.slidesGrid.length;let b=r.spaceBetween,x=-g,E=0,S=0;if("undefined"===typeof a)return;"string"===typeof b&&b.indexOf("%")>=0?b=parseFloat(b.replace("%",""))/100*a:"string"===typeof b&&(b=parseFloat(b)),e.virtualSize=-b,u.forEach((e=>{o?e.style.marginLeft="":e.style.marginRight="",e.style.marginBottom="",e.style.marginTop=""})),r.centeredSlides&&r.cssMode&&((0,s.s)(n,"--swiper-centered-offset-before",""),(0,s.s)(n,"--swiper-centered-offset-after",""));const T=r.grid&&r.grid.rows>1&&e.grid;let C;T?e.grid.initSlides(u):e.grid&&e.grid.unsetSlides();const k="auto"===r.slidesPerView&&r.breakpoints&&Object.keys(r.breakpoints).filter((e=>"undefined"!==typeof r.breakpoints[e].slidesPerView)).length>0;for(let P=0;P<p;P+=1){let n;if(C=0,u[P]&&(n=u[P]),T&&e.grid.updateSlide(P,n,u),!u[P]||"none"!==(0,s.o)(n,"display")){if("auto"===r.slidesPerView){k&&(u[P].style[e.getDirectionLabel("width")]="");const i=getComputedStyle(n),a=n.style.transform,o=n.style.webkitTransform;if(a&&(n.style.transform="none"),o&&(n.style.webkitTransform="none"),r.roundLengths)C=e.isHorizontal()?(0,s.f)(n,"width",!0):(0,s.f)(n,"height",!0);else{const e=t(i,"width"),r=t(i,"padding-left"),s=t(i,"padding-right"),a=t(i,"margin-left"),o=t(i,"margin-right"),l=i.getPropertyValue("box-sizing");if(l&&"border-box"===l)C=e+a+o;else{const{clientWidth:t,offsetWidth:i}=n;C=e+r+s+a+o+(i-t)}}a&&(n.style.transform=a),o&&(n.style.webkitTransform=o),r.roundLengths&&(C=Math.floor(C))}else C=(a-(r.slidesPerView-1)*b)/r.slidesPerView,r.roundLengths&&(C=Math.floor(C)),u[P]&&(u[P].style[e.getDirectionLabel("width")]=`${C}px`);u[P]&&(u[P].swiperSlideSize=C),m.push(C),r.centeredSlides?(x=x+C/2+E/2+b,0===E&&0!==P&&(x=x-a/2-b),0===P&&(x=x-a/2-b),Math.abs(x)<.001&&(x=0),r.roundLengths&&(x=Math.floor(x)),S%r.slidesPerGroup===0&&f.push(x),h.push(x)):(r.roundLengths&&(x=Math.floor(x)),(S-Math.min(e.params.slidesPerGroupSkip,S))%e.params.slidesPerGroup===0&&f.push(x),h.push(x),x=x+C+b),e.virtualSize+=C+b,E=C,S+=1}}if(e.virtualSize=Math.max(e.virtualSize,a)+v,o&&l&&("slide"===r.effect||"coverflow"===r.effect)&&(n.style.width=`${e.virtualSize+b}px`),r.setWrapperSize&&(n.style[e.getDirectionLabel("width")]=`${e.virtualSize+b}px`),T&&e.grid.updateWrapperSize(C,f),!r.centeredSlides){const t=[];for(let n=0;n<f.length;n+=1){let i=f[n];
vendor: 6,104 bytes, line 1
1r.roundLengths&&(i=Math.floor(i)),f[n]<=e.virtualSize-a&&t.push(i)}f=t,Math.floor(e.virtualSize-a)-Math.floor(f[f.length-1])>1&&f.push(e.virtualSize-a)}if(d&&r.loop){const t=m[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<n;e+=1)f.push(f[f.length-1]+i)}for(let n=0;n<e.virtual.slidesBefore+e.virtual.slidesAfter;n+=1)1===r.slidesPerGroup&&f.push(f[f.length-1]+t),h.push(h[h.length-1]+t),e.virtualSize+=t}if(0===f.length&&(f=[0]),0!==b){const t=e.isHorizontal()&&o?"marginLeft":e.getDirectionLabel("marginRight");u.filter(((e,t)=>!(r.cssMode&&!r.loop)||t!==u.length-1)).forEach((e=>{e.style[t]=`${b}px`}))}if(r.centeredSlides&&r.centeredSlidesBounds){let e=0;m.forEach((t=>{e+=t+(b||0)})),e-=b;const t=e-a;f=f.map((e=>e<=0?-g:e>t?t+v:e))}if(r.centerInsufficientSlides){let e=0;m.forEach((t=>{e+=t+(b||0)})),e-=b;const t=(r.slidesOffsetBefore||0)+(r.slidesOffsetAfter||0);if(e+t<a){const r=(a-e-t)/2;f.forEach(((e,t)=>{f[t]=e-r})),h.forEach(((e,t)=>{h[t]=e+r}))}}if(Object.assign(e,{slides:u,snapGrid:f,slidesGrid:h,slidesSizesGrid:m}),r.centeredSlides&&r.cssMode&&!r.centeredSlidesBounds){(0,s.s)(n,"--swiper-centered-offset-before",-f[0]+"px"),(0,s.s)(n,"--swiper-centered-offset-after",e.size/2-m[m.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"),f.length!==y&&(e.params.watchOverflow&&e.checkOverflow(),e.emit("snapGridLengthChange")),h.length!==w&&e.emit("slidesGridLengthChange"),r.watchSlidesProgress&&e.updateSlidesOffset(),e.emit("slidesUpdated"),!d&&!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,s=0;"number"===typeof e?t.setTransition(e):!0===e&&t.setTransition(t.params.speed);const a=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;i<Math.ceil(t.params.slidesPerView);i+=1){const e=t.activeIndex+i;if(e>t.slides.length&&!n)break;r.push(a(e))}else r.push(a(t.activeIndex));for(i=0;i<r.length;i+=1)if("undefined"!==typeof r[i]){const e=r[i].offsetHeight;s=e>s?e:s}(s||0===s)&&(t.wrapperEl.style.height=`${s}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<t.length;n+=1)t[n].swiperSlideOffset=(e.isHorizontal()?t[n].offsetLeft:t[n].offsetTop)-r-e.cssOverflowAdjustment()},updateSlidesProgress:function(e){void 0===e&&(e=this&&this.translate||0);const t=this,r=t.params,{slides:n,rtlTranslate:i,snapGrid:s}=t;if(0===n.length)return;"undefined"===typeof n[0].swiperSlideOffset&&t.updateSlidesOffset();let a=-e;i&&(a=e),t.visibleSlidesIndexes=[],t.visibleSlides=[];let o=r.spaceBetween;"string"===typeof o&&o.indexOf("%")>=0?o=parseFloat(o.replace("%",""))/100*t.size:"string"===typeof o&&(o=parseFloat(o));for(let l=0;l<n.length;l+=1){const e=n[l];let d=e.swiperSlideOffset;r.cssMode&&r.centeredSlides&&(d-=n[0].swiperSlideOffset);const c=(a+(r.centeredSlides?t.minTranslate():0)-d)/(e.swiperSlideSize+o),u=(a-s[0]+(r.centeredSlides?t.minTranslate():0)-d)/(e.swiperSlideSize+o),p=-(a-d),h=p+t.slidesSizesGrid[l],m=p>=0&&p<=t.size-t.slidesSizesGrid[l],g=p>=0&&p<t.size-1||h>1&&h<=t.size||p<=0&&h>=t.size;g&&(t.visibleSlides.push(e),t.visibleSlidesIndexes.push(l)),f(e,g,r.slideVisibleClass),f(e,m,r.slideFullyVisibleClass),e.progress=i?-c:c,e.originalProgress=i?-u:u}},updateProgress:function(e){const t=this;if("undefined"===typeof 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:s,isEnd:a,progressLoop:o}=t;const l=s,d=a;if(0===n)i=0,s=!0,a=!0;else{i=(e-t.minTranslate())/n;const r=Math.abs(e-t.minTranslate())<1,o=Math.abs(e-t.maxTranslate())<1;s=r||i<=0,a=o||i>=1,r&&(i=0),o&&(i=1)}if(r.loop){const r=t.getSlideIndexByData(0),n=t.getSlideIndexByData(t.slides.length-1),i=t.slidesGrid[r],s=t.slidesGrid[n],a=t.slidesGrid[t.slidesGrid.length-1],l=Math.abs(e);o=l>=i?(l-i)/a:(l+a-s)/a,o>1&&(o-=1)}Object.assign(t,{progress:i,progressLoop:o,isBeginning:s,isEnd:a}),(r.watchSlidesProgress||r.centeredSlides&&r.autoHeight)&&t.updateSlidesProgress(e),s&&!l&&t.emit("reachBeginning toEdge"),a&&!d&&t.emit("reachEnd toEdge"),(l&&!s||d&&!a)&&t.emit("fromEdge"),t.emit("progress",i)},updateSlidesClasses:function(){const e=this,{slides:t,params:r,slidesEl:n,activeIndex:i}=e,a=e.virtual&&r.virtual.enabled,o=e.grid&&r.grid&&r.grid.rows>1,l=e=>(0,s.e)(n,`.${r.slideClass}${e}, swiper-slide${e}`)[0];let d,c,u;if(a)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),d=l(`[data-swiper-slide-index="${t}"]`)}else d=l(`[data-swiper-slide-index="${i}"]`);else o?(d=t.filter((e=>e.column===i))[0],u=t.filter((e=>e.column===i+1))[0],c=t.filter((e=>e.column===i-1))[0]):d=t[i];d&&(o||(u=(0,s.p)(d,`.${r.slideClass}, swiper-slide`)[0],r.loop&&!u&&(u=t[0]),c=(0,s.q)(d,`.${r.slideClass}, swiper-slide`)[0],r.loop&&0===!c&&(c=t[t.length-1]))),t.forEach((e=>{h(e,e===d,r.slideActiveClass),h(e,e===u,r.slideNextClass),h(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:s,realIndex:a,snapIndex:o}=t;let l,d=e;const c=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("undefined"===typeof d&&(d=function(e){const{slidesGrid:t,params:r}=e,n=e.rtlTranslate?e.translate:-e.translate;let i;for(let s=0;s<t.length;s+=1)"undefined"!==typeof t[s+1]?n>=t[s]&&n<t[s+1]-(t[s+1]-t[s])/2?i=s:n>
vendor: 1,264 bytes, line 1
1=t[s]&&n<t[s+1]&&(i=s+1):n>=t[s]&&(i=s);return r.normalizeSlideIndex&&(i<0||"undefined"===typeof i)&&(i=0),i}(t)),n.indexOf(r)>=0)l=n.indexOf(r);else{const e=Math.min(i.slidesPerGroupSkip,d);l=e+Math.floor((d-e)/i.slidesPerGroup)}if(l>=n.length&&(l=n.length-1),d===s&&!t.params.loop)return void(l!==o&&(t.snapIndex=l,t.emit("snapIndexChange")));if(d===s&&t.params.loop&&t.virtual&&t.params.virtual.enabled)return void(t.realIndex=c(d));const u=t.grid&&i.grid&&i.grid.rows>1;let p;if(t.virtual&&i.virtual.enabled&&i.loop)p=c(d);else if(u){const e=t.slides.filter((e=>e.column===d))[0];let r=parseInt(e.getAttribute("data-swiper-slide-index"),10);Number.isNaN(r)&&(r=Math.max(t.slides.indexOf(e),0)),p=Math.floor(r/i.grid.rows)}else if(t.slides[d]){const e=t.slides[d].getAttribute("data-swiper-slide-index");p=e?parseInt(e,10):d}else p=d;Object.assign(t,{previousSnapIndex:o,snapIndex:l,previousRealIndex:a,realIndex:p,previousIndex:s,activeIndex:d}),t.initialized&&v(t),t.emit("activeIndexChange"),t.emit("snapIndexChange"),(t.initialized||t.params.runCallbacksOnInit)&&(a!==p&&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>
vendor: 8,094 bytes, line 1
11&&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 s,a=!1;if(i)for(let o=0;o<r.slides.length;o+=1)if(r.slides[o]===i){a=!0,s=o;break}if(!i||!a)return r.clickedSlide=void 0,void(r.clickedIndex=void 0);r.clickedSlide=i,r.virtual&&r.params.virtual.enabled?r.clickedIndex=parseInt(i.getAttribute("data-swiper-slide-index"),10):r.clickedIndex=s,n.slideToClickedSlide&&void 0!==r.clickedIndex&&r.clickedIndex!==r.activeIndex&&r.slideToClickedSlide()}};var w={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");const{params:t,rtlTranslate:r,translate:n,wrapperEl:i}=this;if(t.virtualTranslate)return r?-n:n;if(t.cssMode)return n;let a=(0,s.j)(i,e);return a+=this.cssOverflowAdjustment(),r&&(a=-a),a||0},setTranslate:function(e,t){const r=this,{rtlTranslate:n,params:i,wrapperEl:s,progress:a}=r;let o,l=0,d=0;r.isHorizontal()?l=n?-e:e:d=e,i.roundLengths&&(l=Math.floor(l),d=Math.floor(d)),r.previousTranslate=r.translate,r.translate=r.isHorizontal()?l:d,i.cssMode?s[r.isHorizontal()?"scrollLeft":"scrollTop"]=r.isHorizontal()?-l:-d:i.virtualTranslate||(r.isHorizontal()?l-=r.cssOverflowAdjustment():d-=r.cssOverflowAdjustment(),s.style.transform=`translate3d(${l}px, ${d}px, 0px)`);const c=r.maxTranslate()-r.minTranslate();o=0===c?0:(e-r.minTranslate())/c,o!==a&&r.updateProgress(e),r.emit("setTranslate",r.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]},translateTo:function(e,t,r,n,i){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===r&&(r=!0),void 0===n&&(n=!0);const a=this,{params:o,wrapperEl:l}=a;if(a.animating&&o.preventInteractionOnTransition)return!1;const d=a.minTranslate(),c=a.maxTranslate();let u;if(u=n&&e>d?d:n&&e<c?c:e,a.updateProgress(u),o.cssMode){const e=a.isHorizontal();if(0===t)l[e?"scrollLeft":"scrollTop"]=-u;else{if(!a.support.smoothScroll)return(0,s.r)({swiper:a,targetPosition:-u,side:e?"left":"top"}),!0;l.scrollTo({[e?"left":"top"]:-u,behavior:"smooth"})}return!0}return 0===t?(a.setTransition(0),a.setTranslate(u),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionEnd"))):(a.setTransition(t),a.setTranslate(u),r&&(a.emit("beforeTransitionStart",t,i),a.emit("transitionStart")),a.animating||(a.animating=!0,a.onTranslateToWrapperTransitionEnd||(a.onTranslateToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onTranslateToWrapperTransitionEnd),a.onTranslateToWrapperTransitionEnd=null,delete a.onTranslateToWrapperTransitionEnd,a.animating=!1,r&&a.emit("transitionEnd"))}),a.wrapperEl.addEventListener("transitionend",a.onTranslateToWrapperTransitionEnd))),!0}};function b(e){let{swiper:t,runCallbacks:r,direction:n,step:i}=e;const{activeIndex:s,previousIndex:a}=t;let o=n;if(o||(o=s>a?"next":s<a?"prev":"reset"),t.emit(`transition${i}`),r&&s!==a){if("reset"===o)return void t.emit(`slideResetTransition${i}`);t.emit(`slideChangeTransition${i}`),"next"===o?t.emit(`slideNextTransition${i}`):t.emit(`slidePrevTransition${i}`)}}var x={slideTo:function(e,t,r,n,i){void 0===e&&(e=0),void 0===r&&(r=!0),"string"===typeof e&&(e=parseInt(e,10));const a=this;let o=e;o<0&&(o=0);const{params:l,snapGrid:d,slidesGrid:c,previousIndex:u,activeIndex:p,rtlTranslate:f,wrapperEl:h,enabled:m}=a;if(!m&&!n&&!i||a.destroyed||a.animating&&l.preventInteractionOnTransition)return!1;"undefined"===typeof t&&(t=a.params.speed);const g=Math.min(a.params.slidesPerGroupSkip,o);let v=g+Math.floor((o-g)/a.params.slidesPerGroup);v>=d.length&&(v=d.length-1);const y=-d[v];if(l.normalizeSlideIndex)for(let s=0;s<c.length;s+=1){const e=-Math.floor(100*y),t=Math.floor(100*c[s]),r=Math.floor(100*c[s+1]);"undefined"!==typeof c[s+1]?e>=t&&e<r-(r-t)/2?o=s:e>=t&&e<r&&(o=s+1):e>=t&&(o=s)}if(a.initialized&&o!==p){if(!a.allowSlideNext&&(f?y>a.translate&&y>a.minTranslate():y<a.translate&&y<a.minTranslate()))return!1;if(!a.allowSlidePrev&&y>a.translate&&y>a.maxTranslate()&&(p||0)!==o)return!1}let w;if(o!==(u||0)&&r&&a.emit("beforeSlideChangeStart"),a.updateProgress(y),w=o>p?"next":o<p?"prev":"reset",f&&-y===a.translate||!f&&y===a.translate)return a.updateActiveIndex(o),l.autoHeight&&a.updateAutoHeight(),a.updateSlidesClasses(),"slide"!==l.effect&&a.setTranslate(y),"reset"!==w&&(a.transitionStart(r,w),a.transitionEnd(r,w)),!1;if(l.cssMode){const e=a.isHorizontal(),r=f?y:-y;if(0===t){const t=a.virtual&&a.params.virtual.enabled;t&&(a.wrapperEl.style.scrollSnapType="none",a._immediateVirtual=!0),t&&!a._cssModeVirtualInitialSet&&a.params.initialSlide>0?(a._cssModeVirtualInitialSet=!0,requestAnimationFrame((()=>{h[e?"scrollLeft":"scrollTop"]=r}))):h[e?"scrollLeft":"scrollTop"]=r,t&&requestAnimationFrame((()=>{a.wrapperEl.style.scrollSnapType="",a._immediateVirtual=!1}))}else{if(!a.support.smoothScroll)return(0,s.r)({swiper:a,targetPosition:r,side:e?"left":"top"}),!0;h.scrollTo({[e?"left":"top"]:r,behavior:"smooth"})}return!0}return a.setTransition(t),a.setTranslate(y),a.updateActiveIndex(o),a.updateSlidesClasses(),a.emit("beforeTransitionStart",t,n),a.transitionStart(r,w),0===t?a.transitionEnd(r,w):a.animating||(a.animating=!0,a.onSlideToWrapperTransitionEnd||(a.onSlideToWrapperTransitionEnd=function(e){a&&!a.destroyed&&e.target===this&&(a.wrapperEl.removeEventListener("transitionend",a.onSlideToWrapperTransitionEnd),a.onSlideToWrapperTransitionEnd=null,delete a.onSlideToWrapperTransitionEnd,a.transitionEnd(r,w))}),a.wrapperEl.addEventListener("transitionend",a.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;"undefined"===typeof t&&(t=i.params.speed);const s=i.grid&&i.params.grid&&i.params.grid.rows>1;let a=e;if(i.params.loop)if(i.virtual&&i.params.virtual.enabled)a+=i.virtual.slidesBefore;else{let e;if(s){const t=a*i.params.grid.rows;e=i.slides.filter((e=>1*e.getAttribute("data-swiper-slide-index")===t))[0].column}else e=i.getSlideIndexByData(a);const t=s?Math.ceil(i.slides.length/i.params.grid.rows):i.slides.length,{centeredSlides:r}=i.params;let o=i.params.slidesPerView;"auto"===o?o=i.slidesPerViewDynamic():(o=Math.ceil(parseFloat(i.params.slidesPerView,10)),r&&o%2===0&&(o+=1));let l=t-e<o;if(r&&(l=l||e<Math.ceil(o/2)),n&&r&&"auto"!==i.params.slidesPerView&&!s&&(l=!1),l){const n=r?e<i.activeIndex?"prev":"next":e-i.activeIndex-1<i.params.slidesPerView?"next":"prev";i.loopFix({direction:n,slideTo:!0,activeSlideIndex:"next"===n?e+1:e-t+1,slideRealIndex:"next"===n?i.realIndex:void 0})}if(s){const e=a*i.params.grid.rows;a=i.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0].column}else a=i.getSlideIndexByData(a)}return requestAnimationFrame((()=>{i.slideTo(a,t,r,n)})),i},slideNext:function(e,t,r){void 0===t&&(t=!0);const n=this,{enabled:i,params:s,animating:a}=n;if(!i||n.destroyed)return n;"undefined"===typeof e&&(e=n.params.speed);let o=s.slidesPerGroup;"auto"===s.slidesPerView&&1===s.slidesPerGroup&&s.slidesPerGroupAuto&&(o=Math.max(n.slidesPerViewDynamic("current",!0),1));const l=n.activeIndex<s.slidesPerGroupSkip?1:o,d=n.virtual&&s.virtual.enabled;if(s.loop){if(a&&!d&&s.loopPreventsSliding)return!1;if(n.loopFix({direction:"next"}),n._clientLeft=n.wrapperEl.clientLeft,n.activeIndex===n.slides.length-1&&s.cssMode)return requestAnimationFrame((()=>{n.slideTo(n.activeIndex+l,e,t,r)})),!0}return s.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:s,slidesGrid:a,rtlTranslate:o,enabled:l,animating:d}=n;if(!l||n.destroyed)return n;"undefined"===typeof e&&(e=n.params.speed);const c=n.virtual&&i.virtual.enabled;if(i.loop){if(d&&!c&&i.loopPreventsSliding)return!1;n.loopFix({direction:"prev"}),n._clientLeft=n.wrapperEl.clientLeft}function u(e){return e<0?-Math.floor(Math.abs(e)):Math.floor(e)}const p=u(o?n.translate:-n.translate),f=s.map((e=>u(e)));let h=s[f.indexOf(p)-1];if("undefined"===typeof h&&i.cssMode){let e;
1s.forEach(((t,r)=>{p>=t&&(e=r)})),"undefined"!==typeof e&&(h=s[e>0?e-1:e])}let m=0;if("undefined"!==typeof h&&(m=a.indexOf(h),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"undefined"===typeof 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;"undefined"===typeof e&&(e=i.params.speed);let s=i.activeIndex;const a=Math.min(i.params.slidesPerGroupSkip,s),o=a+Math.floor((s-a)/i.params.slidesPerGroup),l=i.rtlTranslate?i.translate:-i.translate;if(l>=i.snapGrid[o]){const e=i.snapGrid[o];l-e>(i.snapGrid[o+1]-e)*n&&(s+=i.params.slidesPerGroup)}else{const e=i.snapGrid[o-1];l-e<=(i.snapGrid[o]-e)*n&&(s-=i.params.slidesPerGroup)}return s=Math.max(s,0),s=Math.min(s,i.slidesGrid.length-1),i.slideTo(s,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,a=e.clickedIndex;const o=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?a<e.loopedSlides-n/2||a>e.slides.length-e.loopedSlides+n/2?(e.loopFix(),a=e.getSlideIndex((0,s.e)(r,`${o}[data-swiper-slide-index="${i}"]`)[0]),(0,s.n)((()=>{e.slideTo(a)}))):e.slideTo(a):a>e.slides.length-n?(e.loopFix(),a=e.getSlideIndex((0,s.e)(r,`${o}[data-swiper-slide-index="${i}"]`)[0]),(0,s.n)((()=>{e.slideTo(a)}))):e.slideTo(a)}else e.slideTo(a)}};var E={loopCreate:function(e){const t=this,{params:r,slidesEl:n}=t;if(!r.loop||t.virtual&&t.params.virtual.enabled)return;const i=()=>{(0,s.e)(n,`.${r.slideClass}, swiper-slide`).forEach(((e,t)=>{e.setAttribute("data-swiper-slide-index",t)}))},a=t.grid&&r.grid&&r.grid.rows>1,o=r.slidesPerGroup*(a?r.grid.rows:1),l=t.slides.length%o!==0,d=a&&t.slides.length%r.grid.rows!==0,c=e=>{for(let n=0;n<e;n+=1){const e=t.isElement?(0,s.c)("swiper-slide",[r.slideBlankClass]):(0,s.c)("div",[r.slideClass,r.slideBlankClass]);t.slidesEl.append(e)}};if(l){if(r.loopAddBlankSlides){c(o-t.slides.length%o),t.recalcSlides(),t.updateSlides()}else(0,s.t)("Swiper Loop Warning: The number of slides is not even to slidesPerGroup, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else if(d){if(r.loopAddBlankSlides){c(r.grid.rows-t.slides.length%r.grid.rows),t.recalcSlides(),t.updateSlides()}else(0,s.t)("Swiper Loop Warning: The number of slides is not even to grid.rows, loop mode may not function properly. You need to add more slides (or make duplicates, or empty slides)");i()}else i();t.loopFix({slideRealIndex:e,direction:r.centeredSlides?void 0:"next"})},loopFix:function(e){let{slideRealIndex:t,slideTo:r=!0,direction:n,setTranslate:i,activeSlideIndex:a,byController:o,byMousewheel:l}=void 0===e?{}:e;const d=this;if(!d.params.loop)return;d.emit("beforeLoopFix");const{slides:c,allowSlidePrev:u,allowSlideNext:p,slidesEl:f,params:h}=d,{centeredSlides:m}=h;if(d.allowSlidePrev=!0,d.allowSlideNext=!0,d.virtual&&h.virtual.enabled)return r&&(h.centeredSlides||0!==d.snapIndex?h.centeredSlides&&d.snapIndex<h.slidesPerView?d.slideTo(d.virtual.slides.length+d.snapIndex,0,!1,!0):d.snapIndex===d.snapGrid.length-1&&d.slideTo(d.virtual.slidesBefore,0,!1,!0):d.slideTo(d.virtual.slides.length,0,!1,!0)),d.allowSlidePrev=u,d.allowSlideNext=p,void d.emit("loopFix");let g=h.slidesPerView;"auto"===g?g=d.slidesPerViewDynamic():(g=Math.ceil(parseFloat(h.slidesPerView,10)),m&&g%2===0&&(g+=1));const v=h.slidesPerGroupAuto?g:h.slidesPerGroup;let y=v;y%v!==0&&(y+=v-y%v),y+=h.loopAdditionalSlides,d.loopedSlides=y;const w=d.grid&&h.grid&&h.grid.rows>1;c.length<g+y?(0,s.t)("Swiper Loop Warning: The number of slides is not enough for loop mode, it will be disabled and not function properly. You need to add more slides (or make duplicates) or lower the values of slidesPerView and slidesPerGroup parameters"):w&&"row"===h.grid.fill&&(0,s.t)("Swiper Loop Warning: Loop mode is not compatible with grid.fill = `row`");const b=[],x=[];let E=d.activeIndex;"undefined"===typeof a?a=d.getSlideIndex(c.filter((e=>e.classList.contains(h.slideActiveClass)))[0]):E=a;const S="next"===n||!n,T="prev"===n||!n;let C=0,k=0;const P=w?Math.ceil(c.length/h.grid.rows):c.length,M=(w?c[a].column:a)+(m&&"undefined"===typeof i?-g/2+.5:0);if(M<y){C=Math.max(y-M,v);for(let e=0;e<y-M;e+=1){const t=e-Math.floor(e/P)*P;if(w){const e=P-t-1;for(let t=c.length-1;t>=0;t-=1)c[t].column===e&&b.push(t)}else b.push(P-t-1)}}else if(M+g>P-y){k=Math.max(M-(P-2*y),v);for(let e=0;e<k;e+=1){const t=e-Math.floor(e/P)*P;
vendor: 9,267 bytes, line 1
1w?c.forEach(((e,r)=>{e.column===t&&x.push(r)})):x.push(t)}}if(d.__preventObserver__=!0,requestAnimationFrame((()=>{d.__preventObserver__=!1})),T&&b.forEach((e=>{c[e].swiperLoopMoveDOM=!0,f.prepend(c[e]),c[e].swiperLoopMoveDOM=!1})),S&&x.forEach((e=>{c[e].swiperLoopMoveDOM=!0,f.append(c[e]),c[e].swiperLoopMoveDOM=!1})),d.recalcSlides(),"auto"===h.slidesPerView?d.updateSlides():w&&(b.length>0&&T||x.length>0&&S)&&d.slides.forEach(((e,t)=>{d.grid.updateSlide(t,e,d.slides)})),h.watchSlidesProgress&&d.updateSlidesOffset(),r)if(b.length>0&&T){if("undefined"===typeof t){const e=d.slidesGrid[E],t=d.slidesGrid[E+C]-e;l?d.setTranslate(d.translate-t):(d.slideTo(E+Math.ceil(C),0,!1,!0),i&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else if(i){const e=w?b.length/h.grid.rows:b.length;d.slideTo(d.activeIndex+e,0,!1,!0),d.touchEventsData.currentTranslate=d.translate}}else if(x.length>0&&S)if("undefined"===typeof t){const e=d.slidesGrid[E],t=d.slidesGrid[E-k]-e;l?d.setTranslate(d.translate-t):(d.slideTo(E-k,0,!1,!0),i&&(d.touchEventsData.startTranslate=d.touchEventsData.startTranslate-t,d.touchEventsData.currentTranslate=d.touchEventsData.currentTranslate-t))}else{const e=w?x.length/h.grid.rows:x.length;d.slideTo(d.activeIndex-e,0,!1,!0)}if(d.allowSlidePrev=u,d.allowSlideNext=p,d.controller&&d.controller.control&&!o){const e={slideRealIndex:t,direction:n,setTranslate:i,activeSlideIndex:a,byController:!0};Array.isArray(d.controller.control)?d.controller.control.forEach((t=>{!t.destroyed&&t.params.loop&&t.loopFix({...e,slideTo:t.params.slidesPerView===h.slidesPerView&&r})})):d.controller.control instanceof d.constructor&&d.controller.control.params.loop&&d.controller.control.loopFix({...e,slideTo:d.controller.control.params.slidesPerView===h.slidesPerView&&r})}d.emit("loopFix")},loopDestroy:function(){const e=this,{params:t,slidesEl:r}=e;if(!t.loop||e.virtual&&e.params.virtual.enabled)return;e.recalcSlides();const n=[];e.slides.forEach((e=>{const t="undefined"===typeof 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 S(e,t,r){const n=(0,i.a)(),{params:s}=e,a=s.edgeSwipeDetection,o=s.edgeSwipeThreshold;return!a||!(r<=o||r>=n.innerWidth-o)||"prevent"===a&&(t.preventDefault(),!0)}function T(e){const t=this,r=(0,i.g)();let n=e;n.originalEvent&&(n=n.originalEvent);const a=t.touchEventsData;if("pointerdown"===n.type){if(null!==a.pointerId&&a.pointerId!==n.pointerId)return;a.pointerId=n.pointerId}else"touchstart"===n.type&&1===n.targetTouches.length&&(a.touchId=n.targetTouches[0].identifier);if("touchstart"===n.type)return void S(t,n,n.targetTouches[0].pageX);const{params:o,touches:l,enabled:d}=t;if(!d)return;if(!o.simulateTouch&&"mouse"===n.pointerType)return;if(t.animating&&o.preventInteractionOnTransition)return;!t.animating&&o.cssMode&&o.loop&&t.loopFix();let c=n.target;if("wrapper"===o.touchEventsTarget&&!t.wrapperEl.contains(c))return;if("which"in n&&3===n.which)return;if("button"in n&&n.button>0)return;if(a.isTouched&&a.isMoved)return;const u=!!o.noSwipingClass&&""!==o.noSwipingClass,p=n.composedPath?n.composedPath():n.path;u&&n.target&&n.target.shadowRoot&&p&&(c=p[0]);const f=o.noSwipingSelector?o.noSwipingSelector:`.${o.noSwipingClass}`,h=!(!n.target||!n.target.shadowRoot);if(o.noSwiping&&(h?function(e,t){return void 0===t&&(t=this),function t(r){if(!r||r===(0,i.g)()||r===(0,i.a)())return null;r.assignedSlot&&(r=r.assignedSlot);const n=r.closest(e);return n||r.getRootNode?n||t(r.getRootNode().host):null}(t)}(f,c):c.closest(f)))return void(t.allowClick=!0);if(o.swipeHandler&&!c.closest(o.swipeHandler))return;l.currentX=n.pageX,l.currentY=n.pageY;const m=l.currentX,g=l.currentY;if(!S(t,n,m))return;Object.assign(a,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),l.startX=m,l.startY=g,a.touchStartTime=(0,s.d)(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,o.threshold>0&&(a.allowThresholdMove=!1);let v=!0;c.matches(a.focusableElements)&&(v=!1,"SELECT"===c.nodeName&&(a.isTouched=!1)),r.activeElement&&r.activeElement.matches(a.focusableElements)&&r.activeElement!==c&&r.activeElement.blur();const y=v&&t.allowTouchMove&&o.touchStartPreventDefault;!o.touchStartForcePreventDefault&&!y||c.isContentEditable||n.preventDefault(),o.freeMode&&o.freeMode.enabled&&t.freeMode&&t.animating&&!o.cssMode&&t.freeMode.onTouchStart(),t.emit("touchStart",n)}function C(e){const t=(0,i.g)(),r=this,n=r.touchEventsData,{params:a,touches:o,rtlTranslate:l,enabled:d}=r;if(!d)return;if(!a.simulateTouch&&"mouse"===e.pointerType)return;let c,u=e;if(u.originalEvent&&(u=u.originalEvent),"pointermove"===u.type){if(null!==n.touchId)return;if(u.pointerId!==n.pointerId)return}if("touchmove"===u.type){if(c=[...u.changedTouches].filter((e=>e.identifier===n.touchId))[0],!c||c.identifier!==n.touchId)return}else c=u;if(!n.isTouched)return void(n.startMoving&&n.isScrolling&&r.emit("touchMoveOpposite",u));const p=c.pageX,f=c.pageY;if(u.preventedByNestedSwiper)return o.startX=p,void(o.startY=f);if(!r.allowTouchMove)return u.target.matches(n.focusableElements)||(r.allowClick=!1),void(n.isTouched&&(Object.assign(o,{startX:p,startY:f,currentX:p,currentY:f}),n.touchStartTime=(0,s.d)()));if(a.touchReleaseOnEdges&&!a.loop)if(r.isVertical()){if(f<o.startY&&r.translate<=r.maxTranslate()||f>o.startY&&r.translate>=r.minTranslate())return n.isTouched=!1,void(n.isMoved=!1)}else if(p<o.startX&&r.translate<=r.maxTranslate()||p>o.startX&&r.translate>=r.minTranslate())return;if(t.activeElement&&u.target===t.activeElement&&u.target.matches(n.focusableElements))return n.isMoved=!0,void(r.allowClick=!1);n.allowTouchCallbacks&&r.emit("touchMove",u),o.previousX=o.currentX,o.previousY=o.currentY,o.currentX=p,o.currentY=f;const h=o.currentX-o.startX,m=o.currentY-o.startY;if(r.params.threshold&&Math.sqrt(h**2+m**2)<r.params.threshold)return;if("undefined"===typeof n.isScrolling){let e;r.isHorizontal()&&o.currentY===o.startY||r.isVertical()&&o.currentX===o.startX?n.isScrolling=!1:h*h+m*m>=25&&(e=180*Math.atan2(Math.abs(m),Math.abs(h))/Math.PI,n.isScrolling=r.isHorizontal()?e>a.touchAngle:90-e>a.touchAngle)}if(n.isScrolling&&r.emit("touchMoveOpposite",u),"undefined"===typeof n.startMoving&&(o.currentX===o.startX&&o.currentY===o.startY||(n.startMoving=!0)),n.isScrolling||"touchmove"===u.type&&n.preventTouchMoveFromPointerMove)return void(n.isTouched=!1);if(!n.startMoving)return;r.allowClick=!1,!a.cssMode&&u.cancelable&&u.preventDefault(),a.touchMoveStopPropagation&&!a.nested&&u.stopPropagation();let g=r.isHorizontal()?h:m,v=r.isHorizontal()?o.currentX-o.previousX:o.currentY-o.previousY;a.oneWayMovement&&(g=Math.abs(g)*(l?1:-1),v=Math.abs(v)*(l?1:-1)),o.diff=g,g*=a.touchRatio,l&&(g=-g,v=-v);const y=r.touchesDirection;r.swipeDirection=g>0?"prev":"next",r.touchesDirection=v>0?"prev":"next";const w=r.params.loop&&!a.cssMode,b="next"===r.touchesDirection&&r.allowSlideNext||"prev"===r.touchesDirection&&r.allowSlidePrev;if(!n.isMoved){if(w&&b&&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,!a.grabCursor||!0!==r.allowSlideNext&&!0!==r.allowSlidePrev||r.setGrabCursor(!0),r.emit("sliderFirstMove",u)}if((new Date).getTime(),n.isMoved&&n.allowThresholdMove&&y!==r.touchesDirection&&w&&b&&Math.abs(g)>=1)return Object.assign(o,{startX:p,startY:f,currentX:p,currentY:f,startTranslate:n.currentTranslate}),n.loopSwapReset=!0,void(n.startTranslate=n.currentTranslate);r.emit("sliderMove",u),n.isMoved=!0,n.currentTranslate=g+n.startTranslate;let x=!0,E=a.resistanceRatio;if(a.touchReleaseOnEdges&&(E=0),g>0?(w&&b&&n.allowThresholdMove&&n.currentTranslate>(a.centeredSlides?r.minTranslate()-r.slidesSizesGrid[r.activeIndex+1]:r.minTranslate())&&r.loopFix({direction:"prev",setTranslate:!0,activeSlideIndex:0}),n.currentTranslate>r.minTranslate()&&(x=!1,a.resistance&&(n.currentTranslate=r.minTranslate()-1+(-r.minTranslate()+n.startTranslate+g)**E))):g<0&&(w&&b&&n.allowThresholdMove&&n.currentTranslate<(a.centeredSlides?r.maxTranslate()+r.slidesSizesGrid[r.slidesSizesGrid.length-1]:r.maxTranslate())&&r.loopFix({direction:"next",setTranslate:!0,activeSlideIndex:r.slides.length-("auto"===a.slidesPerView?r.slidesPerViewDynamic():Math.ceil(parseFloat(a.slidesPerView,10)))}),n.currentTranslate<r.maxTranslate()&&(x=!1,a.resistance&&(n.currentTranslate=r.maxTranslate()+1-(r.maxTranslate()-n.startTranslate-g)**E))),x&&(u.preventedByNestedSwiper=!0),!r.allowSlideNext&&"next"===r.swipeDirection&&n.currentTranslate<n.startTranslate&&(n.currentTranslate=n.startTranslate),!r.allowSlidePrev&&"prev"===r.swipeDirection&&n.currentTranslate>n.startTranslate&&(n.currentTranslate=n.startTranslate),r.allowSlidePrev||r.allowSlideNext||(n.currentTranslate=n.startTranslate),a.threshold>0){if(!(Math.abs(g)>a.threshold||n.allowThresholdMove))return void(n.currentTranslate=n.startTranslate);
vendor: 4,913 bytes, line 1
1if(!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)}a.followFinger&&!a.cssMode&&((a.freeMode&&a.freeMode.enabled&&r.freeMode||a.watchSlidesProgress)&&(r.updateActiveIndex(),r.updateSlidesClasses()),a.freeMode&&a.freeMode.enabled&&r.freeMode&&r.freeMode.onTouchMove(),r.updateProgress(n.currentTranslate),r.setTranslate(n.currentTranslate))}function k(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].filter((e=>e.identifier===r.touchId))[0],!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:a,touches:o,rtlTranslate:l,slidesGrid:d,enabled:c}=t;if(!c)return;if(!a.simulateTouch&&"mouse"===i.pointerType)return;if(r.allowTouchCallbacks&&t.emit("touchEnd",i),r.allowTouchCallbacks=!1,!r.isTouched)return r.isMoved&&a.grabCursor&&t.setGrabCursor(!1),r.isMoved=!1,void(r.startMoving=!1);a.grabCursor&&r.isMoved&&r.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);const u=(0,s.d)(),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=(0,s.d)(),(0,s.n)((()=>{t.destroyed||(t.allowClick=!0)})),!r.isTouched||!r.isMoved||!t.swipeDirection||0===o.diff&&!r.loopSwapReset||r.currentTranslate===r.startTranslate&&!r.loopSwapReset)return r.isTouched=!1,r.isMoved=!1,void(r.startMoving=!1);let f;if(r.isTouched=!1,r.isMoved=!1,r.startMoving=!1,f=a.followFinger?l?t.translate:-t.translate:-r.currentTranslate,a.cssMode)return;if(a.freeMode&&a.freeMode.enabled)return void t.freeMode.onTouchEnd({currentPos:f});const h=f>=-t.maxTranslate()&&!t.params.loop;let m=0,g=t.slidesSizesGrid[0];for(let s=0;s<d.length;s+=s<a.slidesPerGroupSkip?1:a.slidesPerGroup){const e=s<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;"undefined"!==typeof d[s+e]?(h||f>=d[s]&&f<d[s+e])&&(m=s,g=d[s+e]-d[s]):(h||f>=d[s])&&(m=s,g=d[d.length-1]-d[d.length-2])}let v=null,y=null;a.rewind&&(t.isBeginning?y=a.virtual&&a.virtual.enabled&&t.virtual?t.virtual.slides.length-1:t.slides.length-1:t.isEnd&&(v=0));const w=(f-d[m])/g,b=m<a.slidesPerGroupSkip-1?1:a.slidesPerGroup;if(p>a.longSwipesMs){if(!a.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(w>=a.longSwipesRatio?t.slideTo(a.rewind&&t.isEnd?v:m+b):t.slideTo(m)),"prev"===t.swipeDirection&&(w>1-a.longSwipesRatio?t.slideTo(m+b):null!==y&&w<0&&Math.abs(w)>a.longSwipesRatio?t.slideTo(y):t.slideTo(m))}else{if(!a.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(m+b):t.slideTo(m):("next"===t.swipeDirection&&t.slideTo(null!==v?v:m+b),"prev"===t.swipeDirection&&t.slideTo(null!==y?y:m))}}function P(){const e=this,{params:t,el:r}=e;if(r&&0===r.offsetWidth)return;t.breakpoints&&e.setBreakpoint();const{allowSlideNext:n,allowSlidePrev:i,snapGrid:s}=e,a=e.virtual&&e.params.virtual.enabled;e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),e.updateSlidesClasses();const o=a&&t.loop;!("auto"===t.slidesPerView||t.slidesPerView>1)||!e.isEnd||e.isBeginning||e.params.centeredSlides||o?e.params.loop&&!a?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&&s!==e.snapGrid&&e.checkOverflow()}function M(e){const t=this;t.enabled&&(t.allowClick||(t.params.preventClicks&&e.preventDefault(),t.params.preventClicksPropagation&&t.animating&&(e.stopPropagation(),e.stopImmediatePropagation())))}function L(){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 s=e.maxTranslate()-e.minTranslate();i=0===s?0:(e.translate-e.minTranslate())/s,i!==e.progress&&e.updateProgress(r?-e.translate:e.translate),e.emit("setTranslate",e.translate,!1)}function O(e){const t=this;m(t,e.target),t.params.cssMode||"auto"!==t.params.slidesPerView&&!t.params.autoHeight||t.update(
1)}function I(){const e=this;e.documentTouchHandlerProceeded||(e.documentTouchHandlerProceeded=!0,e.params.touchReleaseOnEdges&&(e.el.style.touchAction="auto"))}const _=(e,t)=>{const r=(0,i.g)(),{params:n,el:s,wrapperEl:a,device:o}=e,l=!!n.nested,d="on"===t?"addEventListener":"removeEventListener",c=t;s&&"string"!==typeof s&&(r[d]("touchstart",e.onDocumentTouchStart,{passive:!1,capture:l}),s[d]("touchstart",e.onTouchStart,{passive:!1}),s[d]("pointerdown",e.onTouchStart,{passive:!1}),r[d]("touchmove",e.onTouchMove,{passive:!1,capture:l}),r[d]("pointermove",e.onTouchMove,{passive:!1,capture:l}),r[d]("touchend",e.onTouchEnd,{passive:!0}),r[d]("pointerup",e.onTouchEnd,{passive:!0}),r[d]("pointercancel",e.onTouchEnd,{passive:!0}),r[d]("touchcancel",e.onTouchEnd,{passive:!0}),r[d]("pointerout",e.onTouchEnd,{passive:!0}),r[d]("pointerleave",e.onTouchEnd,{passive:!0}),r[d]("contextmenu",e.onTouchEnd,{passive:!0}),(n.preventClicks||n.preventClicksPropagation)&&s[d]("click",e.onClick,!0),n.cssMode&&a[d]("scroll",e.onScroll),n.updateOnWindowResize?e[c](o.ios||o.android?"resize orientationchange observerUpdate":"resize observerUpdate",P,!0):e[c]("observerUpdate",P,!0),s[d]("load",e.onLoad,{capture:!0}))};const A=(e,t)=>e.grid&&t.grid&&t.grid.rows>1;var N={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 z(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}),(0,s.u)(t,r)):(0,s.u)(t,r)):(0,s.u)(t,r)}}const D={eventsEmitter:p,update:y,translate:w,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(),b({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),b({swiper:r,runCallbacks:e,direction:t,step:"End"}))}},slide:x,loop:E,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=T.bind(e),e.onTouchMove=C.bind(e),e.onTouchEnd=k.bind(e),e.onDocumentTouchStart=I.bind(e),t.cssMode&&(e.onScroll=L.bind(e)),e.onClick=M.bind(e),e.onLoad=O.bind(e),_(e,"on")},detachEvents:function(){_(this,"off")}},breakpoints:{setBreakpoint:function(){const e=this,{realIndex:t,initialized:r,params:n,el:i}=e,a=n.breakpoints;if(!a||a&&0===Object.keys(a).length)return;
1const o=e.getBreakpoint(a,e.params.breakpointsBase,e.el);if(!o||e.currentBreakpoint===o)return;const l=(o in a?a[o]:void 0)||e.originalParams,d=A(e,n),c=A(e,l),u=e.params.grabCursor,p=l.grabCursor,f=n.enabled;d&&!c?(i.classList.remove(`${n.containerModifierClass}grid`,`${n.containerModifierClass}grid-column`),e.emitContainerClasses()):!d&&c&&(i.classList.add(`${n.containerModifierClass}grid`),(l.grid.fill&&"column"===l.grid.fill||!l.grid.fill&&"column"===n.grid.fill)&&i.classList.add(`${n.containerModifierClass}grid-column`),e.emitContainerClasses()),u&&!p?e.unsetGrabCursor():!u&&p&&e.setGrabCursor(),["navigation","pagination","scrollbar"].forEach((t=>{if("undefined"===typeof l[t])return;const r=n[t]&&n[t].enabled,i=l[t]&&l[t].enabled;r&&!i&&e[t].disable(),!r&&i&&e[t].enable()}));const h=l.direction&&l.direction!==n.direction,m=n.loop&&(l.slidesPerView!==n.slidesPerView||h),g=n.loop;h&&r&&e.changeDirection(),(0,s.u)(e.params,l);const v=e.params.enabled,y=e.params.loop;Object.assign(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),f&&!v?e.disable():!f&&v&&e.enable(),e.currentBreakpoint=o,e.emit("_beforeBreakpoint",l),r&&(m?(e.loopDestroy(),e.loopCreate(t),e.updateSlides()):!g&&y?(e.loopCreate(t),e.updateSlides()):g&&!y&&e.loopDestroy()),e.emit("breakpoint",l)},getBreakpoint:function(e,t,r){if(void 0===t&&(t="window"),!e||"container"===t&&!r)return;let n=!1;const s=(0,i.a)(),a="window"===t?s.innerHeight:r.clientHeight,o=Object.keys(e).map((e=>{if("string"===typeof e&&0===e.indexOf("@")){const t=parseFloat(e.substr(1));return{value:a*t,point:e}}return{value:e,point:e}}));o.sort(((e,t)=>parseInt(e.value,10)-parseInt(t.value,10)));for(let i=0;i<o.length;i+=1){const{point:e,value:a}=o[i];"window"===t?s.matchMedia(`(min-width: ${a}px)`).matches&&(n=e):a<=r.clientWidth&&(n=e)}return n||"max"}},checkOverflow:{checkOverflow:function(){const e=this,{isLocked:t,params:r}=e,{slidesOffsetBefore:n}=r;if(n){const t=e.slides.length-1,r=e.slidesGrid[t]+e.slidesSizesGrid[t]+2*n;e.isLocked=e.size>r}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:s}=e,a=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:s.android},{ios:s.ios},{"css-mode":r.cssMode},{centered:r.cssMode&&r.centeredSlides},{"watch-progress":r.watchSlidesProgress}],r.containerModifierClass);t.push(...a),i.classList.add(...t),e.emitContainerClasses()},removeClasses:function(){const{el:e,classNames:t}=this;e&&"string"!==typeof e&&(e.classList.remove(...t),this.emitContainerClasses())}}},F={};class R{constructor(){let e,t;for(var r=arguments.length,n=new Array(r),a=0;a<r;a++)n[a]=arguments[a];1===n.length&&n[0].constructor&&"Object"===Object.prototype.toString.call(n[0]).slice(8,-1)?t=n[0]:[e,t]=n,t||(t={}),t=(0,s.u)({},t),e&&!t.el&&(t.el=e);const o=(0,i.g)();if(t.el&&"string"===typeof t.el&&o.querySelectorAll(t.el).length>1){const e=[];return o.querySelectorAll(t.el).forEach((r=>{const n=(0,s.u)({},t,{el:r});e.push(new R(n))})),e}const l=this;l.__swiper__=!0,l.support=d(),l.device=c({userAgent:t.userAgent}),l.browser=u(),l.eventsListeners={},l.eventsAnyListeners=[],l.modules=[...l.__modules__],t.modules&&Array.isArray(t.modules)&&l.modules.push(...t.modules);const p={};l.modules.forEach((e=>{e({params:t,swiper:l,extendParams:z(t,p),on:l.on.bind(l),once:l.once.bind(l),off:l.off.bind(l),emit:l.emit.bind(l)})}));const f=(0,s.u)({},N,p);return l.params=(0,s.u)({},f,F,t),l.originalParams=(0,s.u)({},l.params),l.passedParams=(0,s.u)({}
vendor: 4,644 bytes, line 1
1,t),l.params&&l.params.on&&Object.keys(l.params.on).forEach((e=>{l.on(e,l.params.on[e])})),l.params&&l.params.onAny&&l.onAny(l.params.onAny),Object.assign(l,{enabled:l.params.enabled,el:e,classNames:[],slides:[],slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:()=>"horizontal"===l.params.direction,isVertical:()=>"vertical"===l.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:l.params.allowSlideNext,allowSlidePrev:l.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:l.params.focusableElements,lastClickTime:0,clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,startMoving:void 0,pointerId:null,touchId:null},allowClick:!0,allowTouchMove:l.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),l.emit("_swiper"),l.params.init&&l.init(),l}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=(0,s.e)(t,`.${r.slideClass}, swiper-slide`),i=(0,s.h)(n[0]);return(0,s.h)(e)-i}getSlideIndexByData(e){return this.getSlideIndex(this.slides.filter((t=>1*t.getAttribute("data-swiper-slide-index")===e))[0])}recalcSlides(){const{slidesEl:e,params:t}=this;this.slides=(0,s.e)(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,"undefined"===typeof 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:s,size:a,activeIndex:o}=this;let l=1;if("number"===typeof r.slidesPerView)return r.slidesPerView;if(r.centeredSlides){let e,t=n[o]?Math.ceil(n[o].swiperSlideSize):0;for(let r=o+1;r<n.length;r+=1)n[r]&&!e&&(t+=Math.ceil(n[r].swiperSlideSize),l+=1,t>a&&(e=!0));for(let r=o-1;r>=0;r-=1)n[r]&&!e&&(t+=n[r].swiperSlideSize,l+=1,t>a&&(e=!0))}else if("current"===e)for(let d=o+1;d<n.length;d+=1){(t?i[d]+s[d]-i[o]<a:i[d]-i[o]<a)&&(l+=1)}else for(let d=o-1;d>=0;d-=1){i[o]-i[d]<a&&(l+=1)}return l}update(){const e=this;if(!e||e.destroyed)return;const{snapGrid:t,params:r}=e;function n(){const t=e.rtlTranslate?-1*e.translate:e.translate,r=Math.min(Math.max(t,e.maxTranslate()),e.minTranslate());e.setTranslate(r),e.updateActiveIndex(),e.updateSlidesClasses()}let i;if(r.breakpoints&&e.setBreakpoint(),[...e.el.querySelectorAll('[loading="lazy"]')].forEach((t=>{t.complete&&m(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.forEac
1h((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(0,s.e)(r,n())[0]})();return!i&&t.params.createElements&&(i=(0,s.c)("div",t.params.wrapperClass),r.append(i),(0,s.e)(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"===(0,s.o)(r,"direction"),rtlTranslate:"horizontal"===t.params.direction&&("rtl"===r.dir.toLowerCase()||"rtl"===(0,s.o)(r,"direction")),wrongRTL:"-webkit-box"===(0,s.o)(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(),t.attachEvents();const r=[...t.el.querySelectorAll('[loading="lazy"]')];return t.isElement&&r.push(...t.hostEl.querySelectorAll('[loading="lazy"]')),r.forEach((e=>{e.complete?m(t,e):e.addEventListener("load",(e=>{m(t,e.target)}))})),v(t),t.initialized=!0,v(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:a,slides:o}=r;return"undefined"===typeof 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"),a&&a.removeAttribute("style"),o&&o.length&&o.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),(0,s.v)(r)),r.destroyed=!0),null}static extendDefaults(e){(0,s.u)(F,e)}static get extendedDefaults(){return F}static get defaults(){return N}static installModule(e){R.prototype.__modules__||(R.prototype.__modules__=[]);const t=R.prototype.__modules__;"function"===typeof e&&t.indexOf(e)<0&&t.push(e)}static use(e){return Array.isArray(e)?(e.forEach((e=>R.installModule(e))),R):(R.installModule(e),R)}}Object.keys(D).forEach((e=>{Object.keys(D[e]).forEach((t=>{R.prototype[t]=D[e][t]}))})),R.use([function(e){let{swiper:t,on:r,emit:n}=e;const s=(0,i.a)();let a=null,o=null;const l=()=>{t&&!t.destroyed&&t.initialized&&(n("beforeResize"),n("resize"))},d=()=>{t&&!t.destroyed&&t.initialized&&n("orientationchange")};r("init",(()=>{t.params.resizeObserver&&"undefined"!==typeof s.ResizeObserver?t&&!t.destroyed&&t.initialized&&(a=new ResizeObserver((e=>{o=s.requestAnimationFrame((()=>{const{width:r,height:n}=t;let i=r,s=n;e.forEach((e=>{let{contentBoxSize:r,contentRect:n,target:a}=e;a&&a!==t.el||(i=n?n.width:(r[0]||r).inlineSize,s=n?n.height:(r[0]||r).blockSize)})),i===r&&s===n||l()}))})),a.observe(t.el)):(s.addEventListener("resize",l),s.addEventListener("orientationchange",d))})),r("destroy",(()=>
1{o&&s.cancelAnimationFrame(o),a&&a.unobserve&&t.el&&(a.unobserve(t.el),a=null),s.removeEventListener("resize",l),s.removeEventListener("orientationchange",d)}))},function(e){let{swiper:t,extendParams:r,on:n,emit:a}=e;const o=[],l=(0,i.a)(),d=function(e,r){void 0===r&&(r={});const n=new(l.MutationObserver||l.WebkitMutationObserver)((e=>{if(t.__preventObserver__)return;if(1===e.length)return void a("observerUpdate",e[0]);const r=function(){a("observerUpdate",e[0])};l.requestAnimationFrame?l.requestAnimationFrame(r):l.setTimeout(r,0)}));n.observe(e,{attributes:"undefined"===typeof r.attributes||r.attributes,childList:"undefined"===typeof r.childList||r.childList,characterData:"undefined"===typeof 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=(0,s.a)(t.hostEl);for(let t=0;t<e.length;t+=1)d(e[t])}d(t.hostEl,{childList:t.params.observeSlideChildren}),d(t.wrapperEl,{attributes:!1})}})),n("destroy",(()=>{o.forEach((e=>{e.disconnect()})),o.splice(0,o.length)}))}]);const j=["eventsPrefix","injectStyles","injectStylesUrls","modules","init","_direction","oneWayMovement","swiperElementNodeName","touchEventsTarget","initialSlide","_speed","cssMode","updateOnWindowResize","resizeObserver","nested","focusableElements","_enabled","_width","_height","preventInteractionOnTransition","userAgent","url","_edgeSwipeDetection","_edgeSwipeThreshold","_freeMode","_autoHeight","setWrapperSize","virtualTranslate","_effect","breakpoints","breakpointsBase","_spaceBetween","_slidesPerView","maxBackfaceHiddenSlides","_grid","_slidesPerGroup","_slidesPerGroupSkip","_slidesPerGroupAuto","_centeredSlides","_centeredSlidesBounds","_slidesOffsetBefore","_slidesOffsetAfter","normalizeSlideIndex","_centerInsufficientSlides","_watchOverflow","roundLengths","touchRatio","touchAngle","simulateTouch","_shortSwipes","_longSwipes","longSwipesRatio","longSwipesMs","_followFinger","allowTouchMove","_threshold","touchMoveStopPropagation","touchStartPreventDefault","touchStartForcePreventDefault","touchReleaseOnEdges","uniqueNavElements","_resistance","_resistanceRatio","_watchSlidesProgress","_grabCursor","preventClicks","preventClicksPropagation","_slideToClickedSlide","_loop","loopAdditionalSlides","loopAddBlankSlides","loopPreventsSliding","_rewind","_allowSlidePrev","_allowSlideNext","_swipeHandler","_noSwiping","noSwipingClass","noSwipingSelector","passiveListeners","containerModifierClass","slideClass","slideActiveClass","slideVisibleClass","slideFullyVisibleClass","slideNextClass","slidePrevClass","slideBlankClass","wrapperClass","lazyPreloaderClass","lazyPreloadPrevNext","runCallbacksOnInit","observer","observeParents","observeSlideChildren","a11y","_autoplay","_controller","coverflowEffect","cubeEffect","fadeEffect","flipEffect","creativeEffect","cardsEffect","hashNavigation","history","keyboard","mousewheel","_navigation","_pagination","parallax","_scrollbar","_thumbs","virtual","zoom","control"];function B(e){return"object"===typeof e&&null!==e&&e.constructor&&"Object"===Object.prototype.toString.call(e).slice(8,-1)&&!e.__swiper__}function Q(e,t){const r=["__proto__","constructor","prototype"];Object.keys(t).filter((e=>r.indexOf(e)<0)).forEach((r=>{"undefined"===typeof e[r]?e[r]=t[r]:B(t[r])&&B(e[r])&&Object.keys(t[r]).length>0?t[r].__swiper__?e[r]=t[r]:Q(e[r],t[r]):e[r]=t[r]}))}function G(e){return void 0===e&&(e={}),e.navigation&&"undefined"===typeof e.navigation.nextEl&&"undefined"===typeof e.navigation.prevEl}function V(e){return void 0===e&&(e={}),e.pagination&&"undefined"===typeof e.pagination.el}function $(e){return void 0===e&&(e={}),e.scrollbar&&"undefined"===typeof e.scrollbar.el}function H(e){void 0===e&&(e="");const t=e.split(" ").map((e=>e.trim())).filter((e=>!!e)),r=[];return t.forEach((e=>{r.indexOf(e)<0&&r.push(e)})),r.join(" ")}function q(e){return void 0===e&&(e=""),e?e.includes("swiper-wrapper")?e:`swiper-wrapper ${e}`:"swiper-wrapper"}function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];
1for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},W.apply(this,arguments)}function U(e){return e.type&&e.type.displayName&&e.type.displayName.includes("SwiperSlide")}function Z(e){const t=[];return n.Children.toArray(e).forEach((e=>{U(e)?t.push(e):e.props&&e.props.children&&Z(e.props.children).forEach((e=>t.push(e)))})),t}function Y(e){const t=[],r={"container-start":[],"container-end":[],"wrapper-start":[],"wrapper-end":[]};return n.Children.toArray(e).forEach((e=>{if(U(e))t.push(e);else if(e.props&&e.props.slot&&r[e.props.slot])r[e.props.slot].push(e);else if(e.props&&e.props.children){const n=Z(e.props.children);n.length>0?n.forEach((e=>t.push(e))):r["container-end"].push(e)}else r["container-end"].push(e)})),{slides:t,slots:r}}function X(e,t){return"undefined"===typeof window?(0,n.useEffect)(e,t):(0,n.useLayoutEffect)(e,t)}const J=(0,n.createContext)(null),K=(0,n.createContext)(null),ee=()=>(0,n.useContext)(K),te=(0,n.forwardRef)((function(e,t){let{className:r,tag:i="div",wrapperTag:s="div",children:a,onSwiper:o,...l}=void 0===e?{}:e,d=!1;
vendor: 4,764 bytes, line 1
1const[c,u]=(0,n.useState)("swiper"),[p,f]=(0,n.useState)(null),[h,m]=(0,n.useState)(!1),g=(0,n.useRef)(!1),v=(0,n.useRef)(null),y=(0,n.useRef)(null),w=(0,n.useRef)(null),b=(0,n.useRef)(null),x=(0,n.useRef)(null),E=(0,n.useRef)(null),S=(0,n.useRef)(null),T=(0,n.useRef)(null),{params:C,passedParams:k,rest:P,events:M}=function(e,t){void 0===e&&(e={}),void 0===t&&(t=!0);const r={on:{}},n={},i={};Q(r,N),r._emitClasses=!0,r.init=!1;const s={},a=j.map((e=>e.replace(/_/,""))),o=Object.assign({},e);return Object.keys(o).forEach((o=>{"undefined"!==typeof e[o]&&(a.indexOf(o)>=0?B(e[o])?(r[o]={},i[o]={},Q(r[o],e[o]),Q(i[o],e[o])):(r[o]=e[o],i[o]=e[o]):0===o.search(/on[A-Z]/)&&"function"===typeof e[o]?t?n[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:r.on[`${o[2].toLowerCase()}${o.substr(3)}`]=e[o]:s[o]=e[o])})),["navigation","pagination","scrollbar"].forEach((e=>{!0===r[e]&&(r[e]={}),!1===r[e]&&delete r[e]})),{params:r,passedParams:i,rest:s,events:n}}(l),{slides:L,slots:O}=Y(a),I=()=>{m(!h)};Object.assign(C.on,{_containerClasses(e,t){u(t)}});const _=()=>{Object.assign(C.on,M),d=!0;const e={...C};if(delete e.wrapperClass,y.current=new R(e),y.current.virtual&&y.current.params.virtual.enabled){y.current.virtual.slides=L;const e={cache:!1,slides:L,renderExternal:f,renderExternalUpdate:!1};Q(y.current.params.virtual,e),Q(y.current.originalParams.virtual,e)}};v.current||_(),y.current&&y.current.on("_beforeBreakpoint",I);return(0,n.useEffect)((()=>()=>{y.current&&y.current.off("_beforeBreakpoint",I)})),(0,n.useEffect)((()=>{!g.current&&y.current&&(y.current.emitSlidesClasses(),g.current=!0)})),X((()=>{if(t&&(t.current=v.current),v.current)return y.current.destroyed&&_(),function(e,t){let{el:r,nextEl:n,prevEl:i,paginationEl:s,scrollbarEl:a,swiper:o}=e;G(t)&&n&&i&&(o.params.navigation.nextEl=n,o.originalParams.navigation.nextEl=n,o.params.navigation.prevEl=i,o.originalParams.navigation.prevEl=i),V(t)&&s&&(o.params.pagination.el=s,o.originalParams.pagination.el=s),$(t)&&a&&(o.params.scrollbar.el=a,o.originalParams.scrollbar.el=a),o.init(r)}({el:v.current,nextEl:x.current,prevEl:E.current,paginationEl:S.current,scrollbarEl:T.current,swiper:y.current},C),o&&!y.current.destroyed&&o(y.current),()=>{y.current&&!y.current.destroyed&&y.current.destroy(!0,!1)}}),[]),X((()=>{!d&&M&&y.current&&Object.keys(M).forEach((e=>{y.current.on(e,M[e])}));const e=function(e,t,r,n,i){const s=[];if(!t)return s;const a=e=>{s.indexOf(e)<0&&s.push(e)};if(r&&n){const e=n.map(i),t=r.map(i);e.join("")!==t.join("")&&a("children"),n.length!==r.length&&a("children")}return j.filter((e=>"_"===e[0])).map((e=>e.replace(/_/,""))).forEach((r=>{if(r in e&&r in t)if(B(e[r])&&B(t[r])){const n=Object.keys(e[r]),i=Object.keys(t[r]);n.length!==i.length?a(r):(n.forEach((n=>{e[r][n]!==t[r][n]&&a(r)})),i.forEach((n=>{e[r][n]!==t[r][n]&&a(r)})))}else e[r]!==t[r]&&a(r)})),s}(k,w.current,L,b.current,(e=>e.key));return w.current=k,b.current=L,e.length&&y.current&&!y.current.destroyed&&function(e){let{swiper:t,slides:r,passedParams:n,changedParams:i,nextEl:s,prevEl:a,scrollbarEl:o,paginationEl:l}=e;const d=i.filter((e=>"children"!==e&&"direction"!==e&&"wrapperClass"!==e)),{params:c,pagination:u,navigation:p,scrollbar:f,virtual:h,thumbs:m}=t;let g,v,y,w,b,x,E,S;i.includes("thumbs")&&n.thumbs&&n.thumbs.swiper&&c.thumbs&&!c.thumbs.swiper&&(g=!0),i.includes("controller")&&n.controller&&n.controller.control&&c.controller&&!c.controller.control&&(v=!0),i.includes("pagination")&&n.pagination&&(n.pagination.el||l)&&(c.pagination||!1===c.pagination)&&u&&!u.el&&(y=!0),i.includes("scrollbar")&&n.scrollbar&&(n.scrollbar.el||o)&&(c.scrollbar||!1===c.scrollbar)&&f&&!f.el&&(w=!0),i.includes("navigation")&&n.navigation&&(n.navigation.prevEl||a)&&(n.navigation.nextEl||s)&&(c.navigation||!1===c.navigation)&&p&&!p.prevEl&&!p.nextEl&&(b=!0);const T=e=>{t[e]&&(t[e].destroy(),"navigation"===e?(t.isElement&&(t[e].prevEl.remove(),t[e].nextEl.remove()),c[e].prevEl=void 0,c[e].nextEl=void 0,t[e].prevEl=void 0,t[e].nextEl=void 0):(t.isElement&&t[e].el.remove(),c[e].el=void 0,t[e].el=void 0))};i.includes("loop")&&t.isElement&&(c.loop&&!n.loop?x=!0:!c.loop&&n.loop?E=!0:S=!0),d.forEach((e=>{if(B(c[e])&&B(n[e]))Object.assign(c[e],n[e]),"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e||!("enabled"in n[e])||n[e].enabled||T(e);else{const t=n[e];!0!==t&&!1!==t||"navigation"!==e&&"pagination"!==e&&"scrollbar"!==e?c[e]=n[e]:!1===t&&T(e)}})),d.includes("controller")&&!v&&t.controller&&t.controller.control&&c.controller&&c.controller.control&&(t.controller.control=c.controller.control),i.includes("children")&&r&&h&&c.virtual.enabled?(h.slides=r,h.update(!0)):i.includes("virtual")&&h&&c.virtual.enabled&&(r&&(h.slides=r),h.update(!0)),i.includes("children")&&r&&c.loop&&(S=!0),g&&m.init(
1)&&m.update(!0);v&&(t.controller.control=c.controller.control),y&&(!t.isElement||l&&"string"!==typeof l||(l=document.createElement("div"),l.classList.add("swiper-pagination"),l.part.add("pagination"),t.el.appendChild(l)),l&&(c.pagination.el=l),u.init(),u.render(),u.update()),w&&(!t.isElement||o&&"string"!==typeof o||(o=document.createElement("div"),o.classList.add("swiper-scrollbar"),o.part.add("scrollbar"),t.el.appendChild(o)),o&&(c.scrollbar.el=o),f.init(),f.updateSize(),f.setTranslate()),b&&(t.isElement&&(s&&"string"!==typeof s||(s=document.createElement("div"),s.classList.add("swiper-button-next"),s.innerHTML=t.hostEl.constructor.nextButtonSvg,s.part.add("button-next"),t.el.appendChild(s)),a&&"string"!==typeof a||(a=document.createElement("div"),a.classList.add("swiper-button-prev"),a.innerHTML=t.hostEl.constructor.prevButtonSvg,a.part.add("button-prev"),t.el.appendChild(a))),s&&(c.navigation.nextEl=s),a&&(c.navigation.prevEl=a),p.init(),p.update()),i.includes("allowSlideNext")&&(t.allowSlideNext=n.allowSlideNext),i.includes("allowSlidePrev")&&(t.allowSlidePrev=n.allowSlidePrev),i.includes("direction")&&t.changeDirection(n.direction,!1),(x||S)&&t.loopDestroy(),(E||S)&&t.loopCreate(),t.update()}({swiper:y.current,slides:L,passedParams:k,changedParams:e,nextEl:x.current,prevEl:E.current,scrollbarEl:T.current,paginationEl:S.current}),()=>{M&&y.current&&Object.keys(M).forEach((e=>{y.current.off(e,M[e])}))}})),X((()=>{var e;!(e=y.current)||e.destroyed||!e.params.virtual||e.params.virtual&&!e.params.virtual.enabled||(e.updateSlides(),e.updateProgress(),e.updateSlidesClasses(),e.parallax&&e.params.parallax&&e.params.parallax.enabled&&e.parallax.setTranslate())}),[p]),n.createElement(i,W({ref:v,className:H(`${c}${r?` ${r}`:""}`)},P),n.createElement(K.Provider,{value:y.current},O["container-start"],n.createElement(s,{className:q(C.wrapperClass)},O["wrapper-start"],C.virtual?function(e,t,r){if(!r)return null;const i=e=>{let r=e;return e<0?r=t.length+e:r>=t.length&&(r-=t.length),r},s=e.isHorizontal()?{[e.rtlTranslate?"right":"left"]:`${r.offset}px`}:{top:`${r.offset}px`},{from:a,to:o}=r,l=e.params.loop?-t.length:0,d=e.params.loop?2*t.length:t.length,c=[];for(let n=l;n<d;n+=1)n>=a&&n<=o&&c.push(t[i(n)]);return c.map(((t,r)=>n.cloneElement(t,{swiper:e,style:s,key:t.props.virtualIndex||t.key||`slide-${r}`})))}(y.current,L,p):L.map(((e,t)=>n.cloneElement(e,{swiper:y.current,swiperSlideIndex:t}))),O["wrapper-end"]),G(C)&&n.createElement(n.Fragment,null,n.createElement("div",{ref:E,className:"swiper-button-prev"}),n.createElement("div",{ref:x,className:"swiper-button-next"})),$(C)&&n.createElement("div",{ref:T,className:"swiper-scrollbar"}),V(C)&&n.createElement("div",{ref:S,className:"swiper-pagination"}),O["container-end"]))}));te.displayName="Swiper";const re=(0,n.forwardRef)((function(e,t){let{tag:r="div",children:i,className:s="",swiper:a,zoom:o,lazy:l,virtualIndex:d,swiperSlideIndex:c,...u}=void 0===e?{}:e;const p=(0,n.useRef)(null),[f,h]=(0,n.useState)("swiper-slide"),[m,g]=(0,n.useState)(!1);function v(e,t,r){t===p.current&&h(r)}X((()=>{if("undefined"!==typeof c&&(p.current.swiperSlideIndex=c),t&&(t.current=p.current),p.current&&a){if(!a.destroyed)return a.on("_slideClass",v),()=>{a&&a.off("_slideClass",v)};"swiper-slide"!==f&&h("swiper-slide")}})),X((()=>{a&&p.current&&!a.destroyed&&h(a.getSlideClasses(p.current))}),[a]);const y={isActive:f.indexOf("swiper-slide-active")>=0,isVisible:f.indexOf("swiper-slide-visible")>=0,isPrev:f.indexOf("swiper-slide-prev")>=0,isNext:f.indexOf("swiper-slide-next")>=0},w=()=>"function"===typeof i?i(y):i;return n.createElement(r,W({ref:p,className:H(`${f}${s?` ${s}`:""}`),"data-swiper-slide-index":d,onLoad:()=>{g(!0)}},u),o&&n.createElement(J.Provider,{value:y},n.createElement("div",{className:"swiper-zoom-container","data-swiper-zoom":"number"===typeof o?o:void 0},w(),l&&!m&&n.createElement("div",{className:"swiper-lazy-preloader"}))),!o&&n.createElement(J.Provider,{value:y},w(),l&&!m&&n.createElement("div",{className:"swiper-lazy-preloader"})))}));re.displayName="SwiperSlide"}}]);

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.