PageSourceSearch

https://ffoz.org/_next/static/chunks/5432-39807e730bfc7ada.js

js ffoz.org collected 2026-10-02 07:30:29 UTC 20,456 bytes, 6 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5432],{45432:(t,e,r)=>{let s;r.d(e,{w1:()=>ts});var i,n,a=Object.getOwnPropertyNames,o=Object.getOwnPropertySymbols,l=Object.prototype.hasOwnProperty;function u(t,e){return function(r,s,i){return t(r,s,i)&&e(r,s,i)}}function h(t){return function(e,r,s){if(!e||!r||"object"!=typeof e||"object"!=typeof r)return t(e,r,s);var i=s.cache,n=i.get(e),a=i.get(r);if(n&&a)return n===r&&a===e;i.set(e,r),i.set(r,e);var o=t(e,r,s);return i.delete(e),i.delete(r),o}}function c(t){return a(t).concat(o(t))}var p=Object.hasOwn||function(t,e){return l.call(t,e)};function f(t,e){return t===e||!t&&!e&&t!=t&&e!=e}var m=Object.getOwnPropertyDescriptor,d=Object.keys;function g(t,e,r){var s=t.length;if(e.length!==s)return!1;for(;s-- >0;)if(!r.equals(t[s],e[s],s,s,t,e,r))return!1;return!0}function y(t,e){return f(t.getTime(),e.getTime())}function k(t,e){return t.name===e.name&&t.message===e.message&&t.cause===e.cause&&t.stack===e.stack}function v(t,e){return t===e}function E(t,e,r){var s,i,n=t.size;if(n!==e.size)return!1;if(!n)return!0;for(var a=Array(n),o=t.entries(),l=0;(s=o.next())&&!s.done;){for(var u=e.entries(),h=!1,c=0;(i=u.next())&&!i.done;){if(a[c]){c++;continue}var p=s.value,f=i.value;if(r.equals(p[0],f[0],l,c,t,e,r)&&r.equals(p[1],f[1],p[0],f[0],t,e,r)){h=a[c]=!0;break}c++}if(!h)return!1;l++}return!0}function b(t,e,r){var s=d(t),i=s.length;if(d(e).length!==i)return!1;for(;i-- >0;)if(!O(t,e,r,s[i]))return!1;return!0}function M(t,e,r){var s,i,n,a=c(t),o=a.length;if(c(e).length!==o)return!1;for(;o-- >0;)if(!O(t,e,r,s=a[o])||(i=m(t,s),n=m(e,s),(i||n)&&(!i||!n||i.configurable!==n.configurable||i.enumerable!==n.enumerable||i.writable!==n.writable)))return!1;return!0}function w(t,e){return f(t.valueOf(),e.valueOf())}function _(t,e){return t.source===e.source&&t.flags===e.flags}function A(t,e,r){var s,i,n=t.size;if(n!==e.size)return!1;if(!n)return!0;for(var a=Array(n),o=t.values();(s=o.next())&&!s.done;){for(var l=e.values(),u=!1,h=0;(i=l.next())&&!i.done;){if(!a[h]&&r.equals(s.value,i.value,s.value,i.value,t,e,r)){u=a[h]=!0;break}h++}if(!u)return!1}return!0}function x(t,e){var r=t.length;if(e.length!==r)return!1;for(;r-- >0;)if(t[r]!==e[r])return!1;return!0}function C(t,e){return t.hostname===e.hostname&&t.pathname===e.pathname&&t.protocol===e.protocol&&t.port===e.port&&t.hash===e.hash&&t.username===e.username&&t.password===e.password}function O(t,e,r,s){return("_owner"===s||"__o"===s||"__v"===s)&&(!!t.$$typeof||!!e.$$typeof)||p(e,s)&&r.equals(t[s],e[s],s,s,t,e,r)}var q=Array.isArray,j="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,I=Object.assign,L=Object.prototype.toString.call.bind(Object.prototype.toString),P=S();function S(t){void 0===t&&(t={});var e,r,s,i,n,a,o,l,c,p,m,d,O,P=t.circular,S=t.createInternalComparator,T=t.createState,U=t.strict,N=(r=(e=function(t){var e=t.circular,r=t.createCustomConfig,s=t.strict,i={areArraysEqual:s?M:g,areDatesEqual:y,areErrorsEqual:k,areFunctionsEqual:v,areMapsEqual:s?u(E,M):E,areNumbersEqual:f,areObjectsEqual:s?M:b,arePrimitiveWrappersEqual:w,areRegExpsEqual:_,areSetsEqual:s?u(A,M):A,areTypedArraysEqual:s?M:x,areUrlsEqual:C};if(r&&(i=I({},i,r(i))),e){var n=h(i.areArraysEqual),a=h(i.areMapsEqual),o=h(i.areObjectsEqual),l=h(i.areSetsEqual);i=I({},i,{areArraysEqual:n,areMapsEqual:a,areObjectsEqual:o,areSetsEqual:l})}return i}(t)).areArraysEqual,s=e.areDatesEqual,i=e.areErrorsEqual,n=e.areFunctionsEqual,a=e.areMapsEqual,o=e.areNumbersEqual,l=e.areObjectsEqual,c=e.arePrimitiveWrappersEqual,p=e.areRegExpsEqual,m=e.areSetsEqual,d=e.areTypedArraysEqual,O=e.areUrlsEqual,function(t,e,u){if(t===e)return!0;if(null==t||null==e)return!1;var h=typeof t;if(h!==typeof e)return!1;if("object"!==h)return"number"===h?o(t,e,u):"function"===h&&n(t,e,u);var f=t.constructor;if(f!==e.constructor)return!1;if(f===Object)return l(t,e,u);if(q(t))return r(t,e,u);if(null!=j&&j(t))return d(t,e,u);if(f===Date)return s(t,e,u);if(f===RegExp)return p(t,e,u);if(f===Map)return a(t,e,u);if(f===Set)return m(t,e,u);var g=L(t);return"[object Date]"===g?s(t,e,u):"[object RegExp]"===g?p(t,e,u):"[object Map]"===g?a(t,e,u):"[object Set]"===g?m(t,e,u):"[object Object]"===g?"function"!=typeof t.then&&"function"!=typeof e.then&&l(t,e,u):"[object URL]"===g?O(t,e,u):"[object Error]"===g?i(t,e,u):"[object Arguments]"===g?l(t,e,u):("[object Boolean]"===g||"[object Number]"===g||"[object String]"===g)&&
1c(t,e,u)}),Z=S?S(N):function(t,e,r,s,i,n,a){return N(t,e,a)};return function(t){var e=t.circular,r=t.comparator,s=t.createState,i=t.equals,n=t.strict;if(s)return function(t,a){var o=s(),l=o.cache;return r(t,a,{cache:void 0===l?e?new WeakMap:void 0:l,equals:i,meta:o.meta,strict:n})};if(e)return function(t,e){return r(t,e,{cache:new WeakMap,equals:i,meta:void 0,strict:n})};var a={cache:void 0,equals:i,meta:void 0,strict:n};return function(t,e){return r(t,e,a)}}({circular:void 0!==P&&P,comparator:N,createState:T,equals:Z,strict:void 0!==U&&U})}S({strict:!0}),S({circular:!0}),S({circular:!0,strict:!0}),S({createInternalComparator:function(){return f}}),S({strict:!0,createInternalComparator:function(){return f}}),S({circular:!0,createInternalComparator:function(){return f}}),S({circular:!0,createInternalComparator:function(){return f},strict:!0});let T=[Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array];class U{static from(t){if(!(t instanceof ArrayBuffer))throw Error("Data must be an instance of ArrayBuffer.");let[e,r]=new Uint8Array(t,0,2);if(219!==e)throw Error("Data does not appear to be in a KDBush format.");let s=r>>4;if(1!==s)throw Error(`Got v${s} data when expected v1.`);let i=T[15&r];if(!i)throw Error("Unrecognized array type.");
1let[n]=new Uint16Array(t,2,1),[a]=new Uint32Array(t,4,1);return new U(a,n,i,t)}constructor(t,e=64,r=Float64Array,s){if(isNaN(t)||t<0)throw Error(`Unpexpected numItems value: ${t}.`);this.numItems=+t,this.nodeSize=Math.min(Math.max(+e,2),65535),this.ArrayType=r,this.IndexArrayType=t<65536?Uint16Array:Uint32Array;const i=T.indexOf(this.ArrayType),n=2*t*this.ArrayType.BYTES_PER_ELEMENT,a=t*this.IndexArrayType.BYTES_PER_ELEMENT,o=(8-a%8)%8;if(i<0)throw Error(`Unexpected typed array class: ${r}.`);s&&s instanceof ArrayBuffer?(this.data=s,this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+a+o,2*t),this._pos=2*t,this._finished=!0):(this.data=new ArrayBuffer(8+n+a+o),this.ids=new this.IndexArrayType(this.data,8,t),this.coords=new this.ArrayType(this.data,8+a+o,2*t),this._pos=0,this._finished=!1,new Uint8Array(this.data,0,2).set([219,16+i]),new Uint16Array(this.data,2,1)[0]=e,new Uint32Array(this.data,4,1)[0]=t)}add(t,e){let r=this._pos>>1;return this.ids[r]=r,this.coords[this._pos++]=t,this.coords[this._pos++]=e,r}finish(){let t=this._pos>>1;if(t!==this.numItems)throw Error(`Added ${t} items when expected ${this.numItems}.`);return function t(e,r,s,i,n,a){if(n-i<=s)return;let o=i+n>>1;(function t(e,r,s,i,n,a){for(;n>i;){if(n-i>600){let o=n-i+1,l=s-i+1,u=Math.log(o),h=.5*Math.exp(2*u/3),c=.5*Math.sqrt(u*h*(o-h)/o)*(l-o/2<0?-1:1),p=Math.max(i,Math.floor(s-l*h/o+c)),f=Math.min(n,Math.floor(s+(o-l)*h/o+c));t(e,r,s,p,f,a)}let o=r[2*s+a],l=i,u=n;for(N(e,r,i,s),r[2*n+a]>o&&N(e,r,i,n);l<u;){for(N(e,r,l,u),l++,u--;r[2*l+a]<o;)l++;for(;r[2*u+a]>o;)u--}r[2*i+a]===o?N(e,r,i,u):N(e,r,++u,n),u<=s&&(i=u+1),s<=u&&(n=u-1)}})(e,r,o,i,n,a),t(e,r,s,i,o-1,1-a),t(e,r,s,o+1,n,1-a)}(this.ids,this.coords,this.nodeSize,0,this.numItems-1,0),this._finished=!0,this}range(t,e,r,s){if(!this._finished)throw Error("Data not yet indexed - call index.finish().");let{ids:i,coords:n,nodeSize:a}=this,o=[0,i.length-1,0],l=[];for(;o.length;){let u=o.pop()||0,h=o.pop()||0,c=o.pop()||0;if(h-c<=a){for(let a=c;a<=h;a++){let o=n[2*a],u=n[2*a+1];o>=t&&o<=r&&u>=e&&u<=s&&l.push(i[a])}continue}let p=c+h>>1,f=n[2*p],m=n[2*p+1];f>=t&&f<=r&&m>=e&&m<=s&&l.push(i[p]),(0===u?t<=f:e<=m)&&(o.push(c),o.push(p-1),o.push(1-u)),(0===u?r>=f:s>=m)&&(o.push(p+1),o.push(h),o.push(1-u))}return l}within(t,e,r){if(!this._finished)throw Error("Data not yet indexed - call index.finish().");let{ids:s,coords:i,nodeSize:n}=this,a=[0,s.length-1,0],o=[],l=r*r;for(;a.length;){let u=a.pop()||0,h=a.pop()||0,c=a.pop()||0;if(h-c<=n){for(let r=c;r<=h;r++)F(i[2*r],i[2*r+1],t,e)<=l&&o.push(s[r]);continue}let p=c+h>>1,f=i[2*p],m=i[2*p+1];F(f,m,t,e)<=l&&o.push(s[p]),(0===u?t-r<=f:e-r<=m)&&(a.push(c),a.push(p-1),a.push(1-u)),(0===u?t+r>=f:e+r>=m)&&(a.push(p+1),a.push(h),a.push(1-u))}return o}}function N(t,e,r,s){Z(t,r,s),Z(e,2*r,2*s),Z(e,2*r+1,2*s+1)}function Z(t,e,r){let s=t[e];t[e]=t[r],t[r]=s}function F(t,e,r,s){let i=t-r,n=e-s;return i*i+n*n}let B={minZoom:0,maxZoom:16,minPoints:2,radius:40,extent:512,nodeSize:64,log:!1,generateId:!1,reduce:null,map:t=>t},D=Math.fround||(s=new Float32Array(1),t=>(s[0]=+t,s[0]));class ${constructor(t){this.options=Object.assign(Object.create(B),t),this.trees=Array(this.options.maxZoom+1),this.stride=this.options.reduce?7:6,this.clusterProps=[]}load(t){let{log:e,minZoom:r,maxZoom:s}=this.options;e&&console.time("total time");let i=`prepare ${t.length} points`;e&&console.time(i),this.points=t;let n=[];for(let e=0;e<t.length;e++){let r=t[e];if(!r.geometry)continue;let[s,i]=r.geometry.coordinates,a=D(G(s)),o=D(K(i));n.push(a,o,1/0,e,-1,1),this.options.reduce&&n.push(0)}let a=this.trees[s+1]=this._createTree(n);e&&console.timeEnd(i);for(let t=s;t>=r;t--){let r=+Date.now();a=this.trees[t]=this._createTree(this._cluster(a,t)),e&&console.log("z%d: %d clusters in %dms",t,a.numItems,Date.now()-r)}return e&&console.timeEnd("total time"),this}getClusters(t,e){let r=((t[0]+180)%360+360)%360-180,s=Math.max(-90,Math.min(90,t[1])),i=180===t[2]?180:((t[2]+180)%360+360)%360-180,n=Math.max(-90,Math.min(90,t[3]));if(t[2]-t[0]>=360)r=-180,i=180;else if(r>i){let t=this.getClusters([r,s,180,n],e),a=this.getClusters([-180,s,i,n],e);return t.concat(a)}let a=this.trees[this._limitZoom(e)],o=a.range(G(r),K(n),G(i),K(s)),l=a.data,u=[];for(let t of o){let e=this.stride*t;u.push(l[e+5]>1?z(l,e,this.clusterProps):this.points[l[e+3]])}return u}getChildren(t){let e=this._getOriginId(t),r=this._getOriginZoom(t),s="No cluster with the specified id.",i=this.trees[r];if(!i)throw Error(s);let n=i.data;if(e*this.stride>=n.length)throw Error(s);let a=this.options.radius/(this.options.extent*Math.pow(2,r-1)),o=n[e*this.stride],l=n[e*this.stride+1],u=i.within(o,l,a),h=[];for(let e of u){let r=e*this.stride;n[r+4]===t&&h.push(n[r+5]>1?z(n,r,this.clusterProps):this.points[n[r+3]])}if(0===h.length)throw Error(s);return h}getLeaves(t,e,r){e=e||10,r=r||0;let s=[];return this._appendLeaves(s,t,e,r,0),s}getTile(t,e,r){let s=this.trees[this._limitZoom(t)],i=Math.pow(2,t),{extent:n,radius:a}=this.options,o=a/n,l=(r-o)/i,u=(r+1+o)/i,h={features:[]};return this._addTileFeatures(s.range((e-o)/i,l,(e+1+o)/i,u),s.data,e,r,i,h),0===e&&this._addTileFeatures(s.range(1-o/i,l,1,u),s.data,i,r,i,h),e===i-1&&this._addTileFeatures(s.range(0,l,o/i,u),s.data,-1,r,i,h),h.features.length?h:null}getClusterExpansionZoom(t){let e=this._getOriginZoom(t)-1;for(;e<=this.options.maxZoom;){let r=this.getChildren(t);if(e++,1!==r.length)break;t=r[0].properties.cluster_id}return e}_appendLeaves(t,e,r,s,i){for(let n of this.getChildren(e)){let e=n.properties;if(e&&e.cluster?i+e.point_count<=s?i+=e.point_count:i=this._appendLeaves(t,e.cluster_id,r,s,i):i<s?i++:t.push(n),t.length===r)break}return i}_createTree(t){let e=new U(t.length/this.stride|0,this.options.nodeSize,Float32Array);for(let r=0;r<t.length;r+=this.stride)e.add(t[r],t[r+1]);return e.finish(),e.data=t,e}_addTileFeatures(t,e,r,s,i,n){for(let a of t){let t,o,l,u,h=a*this.stride,c=e[h+5]>1;if(c)t=R(e,h,this.clusterProps),o=e[h],l=e[h+1];else{let r=this.points[e[h+3]];t=r.properties;let[s,i]=r.geometry.coordinates;o=G(s),l=K(i)}let p={type:1,geometry:[[Math.round(this.options.extent*(o*i-r)),Math.round(this.options.extent*(l*i-s))]],tags:t};void 0!==(u=c||this.options.generateId?e[h+3]:this.points[e[h+3]].id)&&(p.id=u),n.features.push(p)}}_limitZoom(t){return Math.max(this.options.minZoom,Math.min(Math.floor(+t),this.options.maxZoom+1))}_cluster(t,e){let{radius:r,extent:s,reduce:i,minPoints:n}=this.options,a=r/(s*Math.pow(2,e)),o=t.data,l=[],u=this.stride;for(let r=0;r<o.length;r+=u){if(o[r+2]<=e)continue;o[r+2]=e;let s=o[r],h=o[r+1],c=t.within(o[r],o[r+1],a),p=o[r+5],f=p;for(let t of c){let r=t*u;o[r+2]>e&&(f+=o[r+5])}if(f>p&&f>=n){let t,n=s*p,a=h*p,m=-1,d=(r/u<<5)+(e+1)+this.points.length;for(let s of c){let l=s*u;if(o[l+2]<=e)continue;o[l+2]=e;let h=o[l+5];n+=o[l]*h,a+=o[l+1]*h,o[l+4]=d,i&&(t||(t=this._map(o,r,!0),m=this.clusterProps.length,this.clusterProps.push(t)),i(t,this._map(o,l)))}o[r+4]=d,l.push(n/f,a/f,1/0,d,-1,f),i&&l.push(m)}else{for(let t=0;t<u;t++)l.push(o[r+t]);if(f>1)for(let t of c){let r=t*u;if(!(o[r+2]<=e)){o[r+2]=e;for(let t=0;t<u;t++)l.push(o[r+t])}}}}return l}_getOriginId(t){return t-this.points.length>>5}_getOriginZoom(t){return(t-this.points.length)%32}_map(t,e,r){if(t[e+5]>1){let s=this.clusterProps[t[e+6]];return r?Object.assign({},s):s}let s=this.points[t[e+3]].properties,i=this.options.map(s);return r&&i===s?Object.assign({},i):i}}function z(t,e,r){return{type:"Feature",id:t[e+3],properties:R(t,e,r),geometry:{type:"Point",coordinates:[(t[e]-.5)*360,360*Math.atan(Math.exp((180-360*t[e+1])*Math.PI/180)
1)/Math.PI-90]}}}function R(t,e,r){let s=t[e+5],i=s>=1e4?`${Math.round(s/1e3)}k`:s>=1e3?`${Math.round(s/100)/10}k`:s,n=t[e+6];return Object.assign(-1===n?{}:Object.assign({},r[n]),{cluster:!0,cluster_id:t[e+3],point_count:s,point_count_abbreviated:i})}function G(t){return t/360+.5}function K(t){let e=Math.sin(t*Math.PI/180),r=.5-.25*Math.log((1+e)/(1-e))/Math.PI;return r<0?0:r>1?1:r}"function"==typeof SuppressedError&&SuppressedError;class V{static isAdvancedMarkerAvailable(t){return google.maps.marker&&!0===t.getMapCapabilities().isAdvancedMarkersAvailable}static isAdvancedMarker(t){return google.maps.marker&&t instanceof google.maps.marker.AdvancedMarkerElement}static setMap(t,e){this.isAdvancedMarker(t)?t.map=e:t.setMap(e)}static getPosition(t){if(this.isAdvancedMarker(t)){if(t.position){if(t.position instanceof google.maps.LatLng)return t.position;if(Number.isFinite(t.position.lat)&&Number.isFinite(t.position.lng))return new google.maps.LatLng(t.position.lat,t.position.lng)}return new google.maps.LatLng(null)}return t.getPosition()}static getVisible(t){return!!this.isAdvancedMarker(t)||t.getVisible()}}class W{constructor({markers:t,position:e}){this.markers=[],t&&(this.markers=t),e&&(e instanceof google.maps.LatLng?this._position=e:this._position=new google.maps.LatLng(e))}get bounds(){if(0===this.markers.length&&!this._position)return;let t=new google.maps.LatLngBounds(this._position,this._position);for(let e of this.markers)t.extend(V.getPosition(e));return t}get position(){return this._position||this.bounds.getCenter()}get count(){return this.markers.filter(t=>V.getVisible(t)).length}push(t){this.markers.push(t)}delete(){this.marker&&(V.setMap(this.marker,null),this.marker=void 0),this.markers.length=0}}function X(t,e="assertion failed"){if(null==t)throw Error(e)}class Y{constructor({maxZoom:t=16}){this.maxZoom=t}noop({markers:t}){return H(t)}}let H=t=>t.map(t=>new W({position:V.getPosition(t),markers:[t]}));class J extends Y{constructor(t){var{maxZoom:e,radius:r=60}=t,s=function(t,e){var r={};for(var s in t)Object.prototype.hasOwnProperty.call(t,s)&&0>e.indexOf(s)&&(r[s]=t[s]);if(null!=t&&"function"==typeof Object.getOwnPropertySymbols)for(var i=0,s=Object.getOwnPropertySymbols(t);i<s.length;i++)0>e.indexOf(s[i])&&Object.prototype.propertyIsEnumerable.call(t,s[i])&&(r[s[i]]=t[s[i]]);return r}(t,["maxZoom","radius"]);super({maxZoom:e}),this.markers=[],this.clusters=[],this.state={zoom:-1},this.superCluster=new $(Object.assign({maxZoom:this.maxZoom,radius:r},s))}calculate(t){let e=!1,r=t.map.getZoom();X(r);let s={zoom:r=Math.round(r)};if(!P(t.markers,this.markers)){e=!0,this.markers=[...t.markers];let r=this.markers.map(t=>{let e=V.getPosition(t);return{type:"Feature",geometry:{type:"Point",coordinates:[e.lng(),e.lat()]},properties:{marker:t}}});this.superCluster.load(r)}return(!e&&(this.state.zoom<=this.maxZoom||s.zoom<=this.maxZoom)&&(e=!P(this.state,s)),this.state=s,0===t.markers.length)?this.clusters=[]:e&&(this.cluster
1s=this.cluster(t)),{clusters:this.clusters,changed:e}}cluster({map:t}){let e=t.getZoom();return X(e),this.superCluster.getClusters([-180,-90,180,90],Math.round(e)).map(t=>this.transformCluster(t))}transformCluster({geometry:{coordinates:[t,e]},properties:r}){if(r.cluster)return new W({markers:this.superCluster.getLeaves(r.cluster_id,1/0).map(t=>t.properties.marker),position:{lat:e,lng:t}});let s=r.marker;return new W({markers:[s],position:V.getPosition(s)})}}class Q{constructor(t,e){this.markers={sum:t.length};const r=e.map(t=>t.count),s=r.reduce((t,e)=>t+e,0);this.clusters={count:e.length,markers:{mean:s/e.length,sum:s,min:Math.min(...r),max:Math.max(...r)}}}}class tt{render({count:t,position:e},r,s){let i=t>Math.max(10,r.clusters.markers.mean)?"#ff0000":"#0000ff",n=`<svg fill="${i}" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 240 240" width="50" height="50">
2<circle cx="120" cy="120" opacity=".6" r="70" />
3<circle cx="120" cy="120" opacity=".3" r="90" />
4<circle cx="120" cy="120" opacity=".2" r="110" />
5<text x="50%" y="50%" style="fill:#fff" text-anchor="middle" font-size="50" dominant-baseline="middle" font-family="roboto,arial,sans-serif">${t}</text>
6</svg>`,a=`Cluster of ${t} markers`,o=Number(google.maps.Marker.MAX_ZINDEX)+t;if(V.isAdvancedMarkerAvailable(s)){let t=new DOMParser().parseFromString(n,"image/svg+xml").documentElement;return t.setAttribute("transform","translate(0 25)"),new google.maps.marker.AdvancedMarkerElement({map:s,position:e,zIndex:o,title:a,content:t})}let l={position:e,zIndex:o,title:a,icon:{url:`data:image/svg+xml;base64,${btoa(n)}`,anchor:new google.maps.Point(25,25)}};return new google.maps.Marker(l)}}class te{constructor(){!function(t,e){for(let r in e.prototype)t.prototype[r]=e.prototype[r]}(te,google.maps.OverlayView)}}(i=n||(n={})).CLUSTERING_BEGIN="clusteringbegin",i.CLUSTERING_END="clusteringend",i.CLUSTER_CLICK="click",i.GMP_CLICK="gmp-click";let tr=(t,e,r)=>{e.bounds&&r.fitBounds(e.bounds)};class ts extends te{constructor({map:t,markers:e=[],algorithmOptions:r={},algorithm:s=new J(r),renderer:i=new tt,onClusterClick:n=tr}){super(),this.map=null,this.idleListener=null,this.markers=[...e],this.clusters=[],this.algorithm=s,this.renderer=i,this.onClusterClick=n,t&&this.setMap(t)}addMarker(t,e){!this.markers.includes(t)&&(this.markers.push(t),e||this.render())}addMarkers(t,e){t.forEach(t=>{this.addMarker(t,!0)}),e||this.render()}removeMarker(t,e){let r=this.markers.indexOf(t);return -1!==r&&(V.setMap(t,null),this.markers.splice(r,1),e||this.render(),!0)}removeMarkers(t,e){let r=!1;return t.forEach(t=>{r=this.removeMarker(t,!0)||r}),r&&!e&&this.render(),r}clearMarkers(t){this.markers.length=0,t||this.render()}render(){let t=this.getMap();if(t instanceof google.maps.Map&&t.getProjection()){google.maps.event.trigger(this,n.CLUSTERING_BEGIN,this);let{clusters:e,changed:r}=this.algorithm.calculate({markers:this.markers,map:t,mapCanvasProjection:this.getProjection()});if(r||void 0==r){let t=new Set;for(let r of e)1==r.markers.length&&t.add(r.markers[0]);let r=[];for(let e of this.clusters)null!=e.marker&&(1==e.markers.length?t.has(e.marker)||V.setMap(e.marker,null):r.push(e.marker));this.clusters=e,this.renderClusters(),requestAnimationFrame(()=>r.forEach(t=>V.setMap(t,null)))}google.maps.event.trigger(this,n.CLUSTERING_END,this)}}onAdd(){let t=this.getMap();X(t),this.idleListener=t.addListener("idle",this.render.bind(this)),this.render()}onRemove(){this.idleListener&&google.maps.event.removeListener(this.idleListener),this.reset()}reset(){this.markers.forEach(t=>V.setMap(t,null)),this.clusters.forEach(t=>t.delete()),this.clusters=[]}renderClusters(){let t=new Q(this.markers,this.clusters),e=this.getMap();this.clusters.forEach(r=>{if(1===r.markers.length)r.marker=r.markers[0];else if(r.marker=this.renderer.render(r,t,e),r.markers.forEach(t=>V.setMap(t,null)),this.onClusterClick){let t=V.isAdvancedMarker(r.marker)?n.GMP_CLICK:n.CLUSTER_CLICK;r.marker.addListener(t,t=>{google.maps.event.trigger(this,n.CLUSTER_CLICK,r),this.onClusterClick(t,r,e)})}V.setMap(r.marker,e)})}}}}]);

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.