PageSourceSearch

https://bees.nodecraft.workers.dev/assets/js/chunks/951b2b3a85e87597.js

js bees.nodecraft.workers.dev collected 2026-10-03 08:07:18 UTC 31,808 bytes, 5 lines download raw bytes

1/*!
2* © Copyright Nodecraft Inc. 2012 - 2026 | https://nodecraft.com | All Rights Reserved
3* 3rd party license information available at https://nodecraft.com/about/licenses
4* 
5*/try{var t="u">typeof window?window:"u">typeof global?global:"u">typeof globalThis?globalThis:"u">typeof self?self:{};t.SENTRY_RELEASE={id:"f04bfce3b34c3bbdca20921b8134fd199d6a03c2"};var e=(new t.Error).stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="4b6f0876-5b29-4ec2-ae55-bc00fd4ef76d",t._sentryDebugIdIdentifier="sentry-dbid-4b6f0876-5b29-4ec2-ae55-bc00fd4ef76d")}catch{}export const __rspack_esm_id=8184;export const __rspack_esm_ids=[8184];export const __webpack_modules__={42673(t,e,i){let n="u">typeof navigator&&void 0!==navigator.userAgent?navigator.userAgent.toLowerCase():"";n.includes("safari")&&!n.includes("chrom")&&(n.includes("version/15.4")||/cpu (os|iphone os) 15_4 like mac os x/.test(n));let s=n.includes("webkit")&&!n.includes("edge"),a=n.includes("macintosh"),o="u">typeof devicePixelRatio?devicePixelRatio:1,r="u">typeof WorkerGlobalScope&&"u">typeof OffscreenCanvas&&self instanceof WorkerGlobalScope,l="u">typeof Image&&Image.prototype.decode,h="function"==typeof createImageBitmap,d=function(){let t=!1;try{let e=Object.defineProperty({},"passive",{get:function(){t=!0}});window.addEventListener("_",null,e),window.removeEventListener("_",null,e)}catch{}return t}();i.d(e,{},{DT:l,FT:d,Wl:r,XM:h,cr:o,ew:a,j:s})},2536(t,e,i){i.r(e),i.d(e,{Collection:()=>n.A,Disposable:()=>s.A,Feature:()=>a.A,Geolocation:()=>o.A,Graticule:()=>S,Image:()=>r.Ay,ImageCanvas:()=>l.A,ImageTile:()=>h.A,ImageWrapper:()=>r.Ay,Kinetic:()=>d.A,Map:()=>M.A,MapBrowserEvent:()=>C.A,MapBrowserEventHandler:()=>k.A,MapEvent:()=>O.A,Object:()=>F.A,Observable:()=>K.A,Overlay:()=>W.A,Tile:()=>N.A,TileQueue:()=>G.A,TileRange:()=>q.A,VERSION:()=>B.xv,VectorRenderTile:()=>Y.A,VectorTile:()=>j.A,View:()=>V.Ay,getUid:()=>B.v6});var n=i(38217),s=i(21615),a=i(23423),o=i(95663),r=i(49416),l=i(80236),h=i(78668),d=i(7414),_=i(76767),u=i(82397),c=i(94835),m=i(13400),g=i(46229),p=i(1979),L=i(59855),v=i(94805),f=i(52798),x=i(14816),y=i(26102),E=i(99775),b=i(86722),A=i(4
564),w=i(12846),P=i(45113);class D extends P.A{constructor(t){super(t)}createRenderer(){return new w.A(this)}}let I=D,T=new E.A({color:"rgba(0,0,0,0.2)"}),R=[90,45,30,20,10,5,2,1,.5,20/60,10/60,5/60,2/60,1/60,30/3600,20/3600,10/3600,5/3600,2/3600,1/3600],S=class extends I{constructor(t){let e=Object.assign({updateWhileAnimating:!0,updateWhileInteracting:!0,renderBuffer:0},t=t||{});delete e.maxLines,delete e.strokeStyle,delete e.targetSize,delete e.showLabels,delete e.lonLabelFormatter,delete e.latLabelFormatter,delete e.lonLabelPosition,delete e.latLabelPosition,delete e.lonLabelStyle,delete e.latLabelStyle,delete e.intervals,super(e),this.projection_=null,this.maxLat_=1/0,this.maxLon_=1/0,this.minLat_=-1/0,this.minLon_=-1/0,this.maxX_=1/0,this.maxY_=1/0,this.minX_=-1/0,this.minY_=-1/0,this.targetSize_=void 0!==t.targetSize?t.targetSize:100,this.maxLines_=void 0!==t.maxLines?t.maxLines:100,this.meridians_=[],this.parallels_=[],this.strokeStyle_=void 0!==t.strokeStyle?t.strokeStyle:T,this.fromLonLatTransform_=void 0,this.toLonLatTransform_=void 0,this.projectionCenterLonLat_=null,this.bottomLeft_=null,this.bottomRight_=null,this.topLeft_=null,this.topRight_=null,this.meridiansLabels_=null,this.parallelsLabels_=null,t.showLabels&&(this.lonLabelFormatter_=void 0==t.lonLabelFormatter?_.aP.bind(this,"EW"):t.lonLabelFormatter,this.latLabelFormatter_=void 0==t.latLabelFormatter?_.aP.bind(this,"NS"):t.latLabelFormatter,this.lonLabelPosition_=void 0==t.lonLabelPosition?0:t.lonLabelPosition,this.latLabelPosition_=void 0==t.latLabelPosition?1:t.latLabelPosition,this.lonLabelStyleBase_=new b.Ay({text:void 0!==t.lonLabelStyle?t.lonLabelStyle.clone():new A.A({font:"12px Calibri,sans-serif",textBaseline:"bottom",fill:new y.A({color:"rgba(0,0,0,1)"}),stroke:new E.A({color:"rgba(255,255,255,1)",width:3})})}),this.lonLabelStyle_=t=>{let e=t.get("graticule_label");return this.lonLabelStyleBase_.getText().setText(e),this.lonLabelStyleBase_},this.latLabelStyleBase_=new b.Ay({text:void 0!==t.latLabelStyle?t.latLabelStyle.clone():new A.A({font:"12px Calibri,sans-serif",textAlign:"right",fill:new y.A({color:"rgba(0,0,0,1)"}),stroke:new E.A({color:"rgba(255,255,255,1)",width:3})})}),this.latLabelStyle_=t=>{let e=t.get("graticule_label");return this.latLabelStyleBase_.getText().setText(e),this.latLabelStyleBase_},this.meridiansLabels_=[],this.parallelsLabels_=[],this.addEventListener(f.A.POSTRENDER,this.drawLabels_.bind(this))),this.intervals_=void 0!==t.intervals?t.intervals:R,this.setSource(new x.A({loader:this.loaderFunction.bind(this),strategy:this.strategyFunction.bind(this),features:new n.A,overlaps:!1,useSpatialIndex:!1,wrapX:t.wrapX})),this.featurePool_=[],this.lineStyle_=new b.Ay({stroke:this.strokeStyle_}),this.loadedExtent_=null,this.renderedExtent_=null,this.renderedResolution_=null,this.setRenderOrder(null)}strategyFunction(t,e){let i=t.slice();
5return this.projection_&&this.getSource().getWrapX()&&(0,u.Li)(i,this.projection_),this.loadedExtent_&&((0,u.bE)(this.loadedExtent_,i,e)?i=this.loadedExtent_.slice():this.getSource().removeLoadedExtent(this.loadedExtent_)),[i]}loaderFunction(t,e,i){let n,s,o;this.loadedExtent_=t;let r=this.getSource(),l=this.getExtent()||[-1/0,-1/0,1/0,1/0],h=(0,u._N)(l,t);if(this.renderedExtent_&&(0,u.aI)(this.renderedExtent_,h)&&this.renderedResolution_===e||(this.renderedExtent_=h,this.renderedResolution_=e,(0,u.Im)(h)))return;let d=(0,u.q1)(h);this.projection_&&(0,L.tI)(this.projection_,i)||this.updateProjectionInfo_(i),this.createGraticule_(h,d,e,e*e/4);let _=this.meridians_.length+this.parallels_.length;for(this.meridiansLabels_&&(_+=this.meridians_.length),this.parallelsLabels_&&(_+=this.parallels_.length);_>this.featurePool_.length;)n=new a.A,this.featurePool_.push(n);let c=r.getFeaturesCollection();c.clear();let m=0;for(s=0,o=this.meridians_.length;s<o;++s)(n=this.featurePool_[m++]).setGeometry(this.meridians_[s]),n.setStyle(this.lineStyle_),c.push(n);for(s=0,o=this.parallels_.length;s<o;++s)(n=this.featurePool_[m++]).setGeometry(this.parallels_[s]),n.setStyle(this.lineStyle_),c.push(n)}addMeridian_(t,e,i,n,s,a){let o=this.getMeridian_(t,e,i,n,a);if((0,u.HY)(o.getExtent(),s)){if(this.meridiansLabels_){let e=this.lonLabelFormatter_(t);a in this.meridiansLabels_?this.meridiansLabels_[a].text=e:this.meridiansLabels_[a]={geom:new m.A([]),text:e}}this.meridians_[a++]=o}return a}addParallel_(t,e,i,n,s,a){let o=this.getParallel_(t,e,i,n,a);if((0,u.HY)(o.getExtent(),s)){if(this.parallelsLabels_){let e=this.latLabelFormatter_(t);a in this.parallelsLabels_?this.parallelsLabels_[a].text=e:this.parallelsLabels_[a]={geom:new m.A([]),text:e}}this.parallels_[a++]=o}return a}drawLabels_(t){let e=t.frameState.viewState.rotation,i=t.frameState.viewState.resolution,n=t.frameState.size,s=t.frameState.extent,a=(0,u.q1)(s),o=s;if(e){let t=n[0]*i,e=n[1]*i;o=[a[0]-t/2,a[1]-e/2,a[0]+t/2,a[1]+e/2]}let r=0,l=0,h=this.latLabelPosition_<.5,d=this.projection_.getExtent(),_=(0,u.RG)(d);this.getSource().getWrapX()&&this.projection_.canWrapX()&&!(0,u.ms)(d,s)&&(r=Math.floor((s[0]-d[0])/_),l=Math.ceil((s[2]-d[2])/_),h=h!==Math.abs(e)>Math.PI/2);let c=(0,v.r2)(t);for(let t=r;t<=l;++t){let i,n,d,u,m=this.meridians_.length+this.parallels_.length;if(this.meridiansLabels_)for(n=0,d=this.meridiansLabels_.length;n<d;++n){let r=this.meridians_[n];if(e||0!==t){let i=r.clone();i.translate(t*_,0),i.rotate(-e,a),(u=this.getMeridianPoint_(i,o,n)).rotate(e,a)}else u=this.getMeridianPoint_(r,s,n);(i=this.featurePool_[m++]).setGeometry(u),i.set("graticule_label",this.meridiansLabels_[n].text),c.drawFeature(i,this.lonLabelStyle_(i))}if(this.parallelsLabels_&&(t===r&&h||t===l&&!h))for(n=0,d=this.parallels_.length;n<d;++n){let r=this.parallels_[n];if(e||0!==t){let i=r.clone();i.translate(t*_,0),i.rotate(-e,a),(u=this.getParallelPoint_(i,o,n)).rotate(e,a)}else u=this.getParallelPoint_(r,s,n);(i=this.featurePool_[m++]).setGeometry(u),i.set("graticule_label",this.parallelsLabels_[n].text),c.drawFeature(i,this.latLabelStyle_(i))}}}createGraticule_(t,e,i,n){let s,a,o,r,l=this.getInterval_(i);if(-1==l){this.meridians_.length=0,this.parallels_.length=0,this.meridiansLabels_&&(this.meridiansLabels_.length=0),this.parallelsLabels_&&(this.parallelsLabels_.length=0);return}let h=!1,d=this.projection_.getExtent(),_=(0,u.RG)(d);this.getSource().getWrapX()&&this.projection_.canWrapX()&&!(0,u.ms)(d,t)&&((0,u.RG)(t)>=_?(t[0]=d[0],t[2]=d[2]):h=!0);let c=[(0,p.qE)(e[0],this.minX_,this.maxX_),(0,p.qE)(e[1],this.minY_,this.maxY_)],m=this.toLonLatTransform_(c);isNaN(m[1])&&(m[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_);let g=(0,p.qE)(m[0],this.minLon_,this.maxLon_),L=(0,p.qE)(m[1],this.minLat_,this.maxLat_),v=this.maxLines_,f=t;h||(f=[(0,p.qE)(t[0],this.minX_,this.maxX_),(0,p.qE)(t[1],this.minY_,this.maxY_),(0,p.qE)(t[2],this.minX_,this.maxX_),(0,p.qE)(t[3],this.minY_,this.maxY_)]);let x=(0,u.NW)(f,this.toLonLatTransform_,void 0,8),y=x[3],E=x[2],b=x[1],A=x[0];if(h||((0,u.Ym)(f,this.bottomLeft_)&&(A=this.minLon_,b=this.minLat_),(0,u.Ym)(f,this.bottomRight_)&&(E=this.maxLon_,b=this.minLat_),(0,u.Ym)(f,this.topLeft_)&&(A=this.minLon_,y=this.maxLat_),(0,u.Ym)(f,this.topRight_)&&(E=this.maxLon_,y=this.maxLat_),y=(0,p.qE)(y,L,this.maxLat_),E=(0,p.qE)(E,g,this.maxLon_),b=(0,p.qE)(b,this.minLat_,L),A=(0,p.qE)(A,this.minLon_,g)),g=Math.floor(g/l)*l,r=(0,p.qE)(g,this.minLon_,this.maxLon_),a=this.addMeridian_(r,b,y,n,t,0),s=0,h)for(;(r-=l)>
5=A&&s++<v;)a=this.addMeridian_(r,b,y,n,t,a);else for(;r!=this.minLon_&&s++<v;)r=Math.max(r-l,this.minLon_),a=this.addMeridian_(r,b,y,n,t,a);if(r=(0,p.qE)(g,this.minLon_,this.maxLon_),s=0,h)for(;(r+=l)<=E&&s++<v;)a=this.addMeridian_(r,b,y,n,t,a);else for(;r!=this.maxLon_&&s++<v;)r=Math.min(r+l,this.maxLon_),a=this.addMeridian_(r,b,y,n,t,a);for(this.meridians_.length=a,this.meridiansLabels_&&(this.meridiansLabels_.length=a),L=Math.floor(L/l)*l,o=(0,p.qE)(L,this.minLat_,this.maxLat_),a=this.addParallel_(o,A,E,n,t,0),s=0;o!=this.minLat_&&s++<v;)o=Math.max(o-l,this.minLat_),a=this.addParallel_(o,A,E,n,t,a);for(o=(0,p.qE)(L,this.minLat_,this.maxLat_),s=0;o!=this.maxLat_&&s++<v;)o=Math.min(o+l,this.maxLat_),a=this.addParallel_(o,A,E,n,t,a);this.parallels_.length=a,this.parallelsLabels_&&(this.parallelsLabels_.length=a)}getInterval_(t){let e=this.projectionCenterLonLat_[0],i=this.projectionCenterLonLat_[1],n=-1,s=Math.pow(this.targetSize_*t,2),a=[],o=[];for(let t=0,r=this.intervals_.length;t<r;++t){let r=(0,p.qE)(this.intervals_[t]/2,0,90),l=(0,p.qE)(i,-90+r,90-r);if(a[0]=e-r,a[1]=l-r,o[0]=e+r,o[1]=l+r,this.fromLonLatTransform_(a,a),this.fromLonLatTransform_(o,o),Math.pow(o[0]-a[0],2)+Math.pow(o[1]-a[1],2)<=s)break;n=this.intervals_[t]}return n}getMeridian_(t,e,i,n,s){let a=(0,g.ko)(t,e,i,this.projection_,n),o=this.meridians_[s];return o?(o.setFlatCoordinates("XY",a),o.changed()):(o=new c.A(a,"XY"),this.meridians_[s]=o),o}getMeridianPoint_(t,e,i){let n=t.getFlatCoordinates(),s=1,a=n.length-1;n[s]>n[a]&&(s=a,a=1);let o=Math.max(e[1],n[s]),r=Math.min(e[3],n[a]),l=(0,p.qE)(e[1]+Math.abs(e[1]-e[3])*this.lonLabelPosition_,o,r),h=n[s-1]+(n[a-1]-n[s-1])*(l-n[s])/(n[a]-n[s]),d=this.meridiansLabels_[i].geom;return d.setCoordinates([h,l]),d}getMeridians(){return this.meridians_}getParallel_(t,e,i,n,s){let a=(0,g._7)(t,e,i,this.projection_,n),o=this.parallels_[s];return o?(o.setFlatCoordinates("XY",a),o.changed()):o=new c.A(a,"XY"),o}getParallelPoint_(t,e,i){let n=t.getFlatCoordinates(),s=0,a=n.length-2;n[s]>n[a]&&(s=a,a=0);let o=Math.max(e[0],n[s]),r=Math.min(e[2],n[a]),l=(0,p.qE)(e[0]+Math.abs(e[0]-e[2])*this.latLabelPosition_,o,r),h=n[s+1]+(n[a+1]-n[s+1])*(l-n[s])/(n[a]-n[s]),d=this.parallelsLabels_[i].geom;return d.setCoordinates([l,h]),d}getParallels(){return this.parallels_}updateProjectionInfo_(t){let e=(0,L.Jt)("EPSG:4326"),i=t.getWorldExtent();this.maxLat_=i[3],this.maxLon_=i[2],this.minLat_=i[1],this.minLon_=i[0];let n=(0,L.RG)(t,e);if(this.minLon_<this.maxLon_)this.toLonLatTransform_=n;else{let t=this.minLon_+this.maxLon_/2;this.maxLon_+=360,this.toLonLatTransform_=function(e,i,s){let a=n(e,i,s=s||2);for(let e=0,i=a.length;e<i;e+=s)a[e]<t&&(a[e]+=360);return a}}this.fromLonLatTransform_=(0,L.RG)(e,t);let s=(0,u.NW)([this.minLon_,this.minLat_,this.maxLon_,this.maxLat_],this.fromLonLatTransform_,void 0,8);this.minX_=s[0],this.maxX_=s[2],this.minY_=s[1],this.maxY_=s[3],this.bottomLeft_=this.fromLonLatTransform_([this.minLon_,this.minLat_]),this.bottomRight_=this.fromLonLatTransform_([this.maxLon_,this.minLat_]),this.topLeft_=this.fromLonLatTransform_([this.minLon_,this.maxLat_]),this.topRight_=this.fromLonLatTransform_([this.maxLon_,this.maxLat_]),this.projectionCenterLonLat_=this.toLonLatTransform_((0,u.q1)(t.getExtent())),isNaN(this.projectionCenterLonLat_[1])&&(this.projectionCenterLonLat_[1]=Math.abs(this.maxLat_)>=Math.abs(this.minLat_)?this.maxLat_:this.minLat_),this.projection_=t}};var M=i(44061),C=i(16455),k=i(1299),O=i(64511),F=i(64134),K=i(77572),W=i(52825),N=i(2981),G=i(96414),q=i(59100),Y=i(59154),j=i(7098),V=i(65902),B=i(62821)},15148(t,e,i){i.d(e,{N:()=>F});var n=i(38217),s=i(7414),a=i(34415),o=i(64134),r=i(92092);let l="active";class h extends o.A{constructor(t){super(),this.on,this.once,this.un,t&&t.handleEvent&&(this.handleEvent=t.handleEvent),this.map_=null,this.setActive(!0)}getActive(){return this.get(l)}getMap(){return this.map_}handleEvent(t){return!0}setActive(t){this.set(l,t)}setMap(t){this.map_=t}}function d(t,e,i,n){let s=t.getZoom();if(void 0===s)return;let a=t.getConstrainedZoom(s+e),o=t.getResolutionForZoom(a);t.getAnimating()&&t.cancelAnimations(),t.animate({resolution:o,anchor:i,duration:void 0!==n?n:250,easing:r.vT})}let _=h,u=class extends _{constructor(t){super(),t=t||{},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:250}handleEvent(t){let e=!1;if(t.type==a.A.DBLCLICK){let i=t.originalEvent,n=t.map,s=t.coordinate,a=i.shiftKey?-this.delta_:this.delta_;d(n.getView(),a,s,this.duration_),i.preventDefault(),e=!0}return!e}};var c=i(76767),m=i(41602),g=i(52352);function p(t){let e=t.length,i=0,n=0;for(let s=0;s<e;s++)i+=t[s].clientX,n+=t[s].clientY;return{clientX:i/e,clientY:n/e}}let L=class extends _{constructor(t){super(t=t||{}),t.handleDownEvent&&(this.handleDownEvent=t.handleDownEvent),t.handleDragEvent&&(this.handleDragEvent=t.handleDragEvent),t.handleMoveEvent&&(this.handleMoveEvent=t.handleMoveEvent),t.handleUpEvent&&(this.handleUpEvent=t.handleUpEvent),t.stopDown&&(this.stopDown=t.stopDown),this.handlingDownUpSequence=!1,this.targetPointers=[]}getPointerCount(){return this.targetPointers.length}handleDownEvent(t){return!1}handleDragEvent(t){}handleEvent(t){if(!t.originalEvent)return!0;let e=!1;if(this.updateTrackedPointers_(t),this.handlingDownUpSequence){if(t.type==a.A.POINTERDRAG)this.handleDragEvent(t),t.originalEvent.preventDefault();else if(t.type==a.A.POINTERUP){let e=this.handleUpEvent(t);this.handlingDownUpSequence=e&&this.targetPointers.length>0}}else if(t.type==a.A.POINTERDOWN){let i=this.handleDownEvent(t);this.handlingDownUpSequence=i,e=this.stopDown(i)}else t.type==a.A.POINTERMOVE&&this.handleMoveEvent(t);return!e}handleMoveEvent(t){}handleUpEvent(t){return!1}stopDown(t){return t}updateTrackedPointers_(t){t.activePointers&&(this.targetPointers=t.activePointers)}},v=class extends L{constructor(t){super({stopDown:g.W8}),t=t||{},this.kinetic_=t.kinetic,this.lastCentroid=null,this.lastPointersCount_,this.panning_=!1;let e=t.condition?t.condition:(0,m.Q7)(m.TS,m.fs);this.condition_=t.onFocusOnly?(0,m.Q7)(m.eL,e):e,this.noKinetic_=!1}handleDragEvent(t){let e=t.map;this.panning_||(this.panning_=!0,e.getView().beginInteraction());let i=this.targetPointers,n=e.getEventPixel(p(i));if(i.length==this.lastPointersCount_){if(this.kinetic_&&this.kinetic_.update(n[0],n[1]),this.lastCentroid){let e=[this.lastCentroid[0]-n[0],n[1]-this.lastCentroid[1]],i=t.map.getView();(0,c.hs)(e,i.getResolution()),(0,c.e$)(e,i.getRotation()),i.adjustCenterInternal(e)}}else this.kinetic_&&this.kinetic_.begin();this.lastCentroid=n,this.lastPointersCount_=i.length,t.originalEvent.preventDefault()}handleUpEvent(t){let e=t.map,i=e.getView();if(0===this.targetPointers.length){if(!this.noKinetic_&&this.kinetic_&&this.kinetic_.end()){let t=this.kinetic_.getDistance(),n=this.kinetic_.getAngle(),s=i.getCenterInternal(),a=e.getPixelFromCo
5ordinateInternal(s),o=e.getCoordinateFromPixelInternal([a[0]-t*Math.cos(n),a[1]-t*Math.sin(n)]);i.animateInternal({center:i.getConstrainedCenter(o),duration:500,easing:r.vT})}return this.panning_&&(this.panning_=!1,i.endInteraction()),!1}return this.kinetic_&&this.kinetic_.begin(),this.lastCentroid=null,!0}handleDownEvent(t){if(this.targetPointers.length>0&&this.condition_(t)){let e=t.map.getView();return this.lastCentroid=null,e.getAnimating()&&e.cancelAnimations(),this.kinetic_&&this.kinetic_.begin(),this.noKinetic_=this.targetPointers.length>1,!0}return!1}};var f=i(89976);let x=class extends L{constructor(t){t=t||{},super({stopDown:g.W8}),this.condition_=t.condition?t.condition:m.IO,this.lastAngle_=void 0,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){if(!(0,m.A4)(t))return;let e=t.map,i=e.getView();if(i.getConstraints().rotation===f.b8)return;let n=e.getSize(),s=t.pixel,a=Math.atan2(n[1]/2-s[1],s[0]-n[0]/2);if(void 0!==this.lastAngle_){let t=a-this.lastAngle_;i.adjustRotationInternal(-t)}this.lastAngle_=a}handleUpEvent(t){return!(0,m.A4)(t)||(t.map.getView().endInteraction(this.duration_),!1)}handleDownEvent(t){return!!(0,m.A4)(t)&&!!((0,m.at)(t)&&this.condition_(t))&&(t.map.getView().beginInteraction(),this.lastAngle_=void 0,!0)}};var y=i(63587),E=i(12407);let b="boxcancel";class A extends y.Ay{constructor(t,e,i){super(t),this.coordinate=e,this.mapBrowserEvent=i}}let w=class extends L{constructor(t){super(),this.on,this.once,this.un,t=t??{},this.box_=new E.A(t.className||"ol-dragbox"),this.minArea_=t.minArea??
564,t.onBoxEnd&&(this.onBoxEnd=t.onBoxEnd),this.startPixel_=null,this.condition_=t.condition??m.at,this.boxEndCondition_=t.boxEndCondition??this.defaultBoxEndCondition}defaultBoxEndCondition(t,e,i){let n=i[0]-e[0],s=i[1]-e[1];return n*n+s*s>=this.minArea_}getGeometry(){return this.box_.getGeometry()}handleDragEvent(t){this.startPixel_&&(this.box_.setPixels(this.startPixel_,t.pixel),this.dispatchEvent(new A("boxdrag",t.coordinate,t)))}handleUpEvent(t){if(!this.startPixel_)return!1;let e=this.boxEndCondition_(t,this.startPixel_,t.pixel);return e&&this.onBoxEnd(t),this.dispatchEvent(new A(e?"boxend":b,t.coordinate,t)),this.box_.setMap(null),this.startPixel_=null,!1}handleDownEvent(t){return!!this.condition_(t)&&(this.startPixel_=t.pixel,this.box_.setMap(t.map),this.box_.setPixels(this.startPixel_,this.startPixel_),this.dispatchEvent(new A("boxstart",t.coordinate,t)),!0)}onBoxEnd(t){}setActive(t){!t&&(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new A(b,this.startPixel_,null)),this.startPixel_=null)),super.setActive(t)}setMap(t){this.getMap()&&(this.box_.setMap(null),this.startPixel_&&(this.dispatchEvent(new A(b,this.startPixel_,null)),this.startPixel_=null)),super.setMap(t)}},P=class extends w{constructor(t){super({condition:(t=t||{}).condition?t.condition:m.Kg,className:t.className||"ol-dragzoom",minArea:t.minArea}),this.duration_=void 0!==t.duration?t.duration:200,this.out_=void 0!==t.out&&t.out}onBoxEnd(t){let e=this.getMap().getView(),i=this.getGeometry();if(this.out_){let t=e.rotatedExtentForGeometry(i),n=e.getResolutionForExtentInternal(t),s=e.getResolution()/n;(i=i.clone()).scale(s*s)}e.fitInternal(i,{duration:this.duration_,easing:r.vT})}};var D=i(56315),I=i(16840);let T=class extends _{constructor(t){super(),t=t||{},this.defaultCondition_=function(t){return(0,m.TS)(t)&&(0,m.tE)(t)},this.condition_=void 0!==t.condition?t.condition:this.defaultCondition_,this.duration_=void 0!==t.duration?t.duration:100,this.pixelDelta_=void 0!==t.pixelDelta?t.pixelDelta:128}handleEvent(t){let e=!1;if(t.type==D.A.KEYDOWN){let n=t.originalEvent,s=n.key;if(this.condition_(t)&&(s==I.A.DOWN||s==I.A.LEFT||s==I.A.RIGHT||s==I.A.UP)){let a=t.map.getView(),o=a.getResolution()*this.pixelDelta_,l=0,h=0;s==I.A.DOWN?h=-o:s==I.A.LEFT?l=-o:s==I.A.RIGHT?l=o:h=o;let d=[l,h];(0,c.e$)(d,a.getRotation());var i=this.duration_;let _=a.getCenterInternal();if(_){let t=[_[0]+d[0],_[1]+d[1]];a.animateInternal({duration:void 0!==i?i:250,easing:r.sn,center:a.getConstrainedCenter(t)})}n.preventDefault(),e=!0}}return!e}},R=class extends _{constructor(t){super(),t=t||{},this.condition_=t.condition?t.condition:function(t){return!(0,m.GB)(t)&&(0,m.tE)(t)},this.delta_=t.delta?t.delta:1,this.duration_=void 0!==t.duration?t.duration:100}handleEvent(t){let e=!1;if(t.type==D.A.KEYDOWN||t.type==D.A.KEYPRESS){let i=t.originalEvent,n=i.key;if(this.condition_(t)&&("+"===n||"-"===n)){let s=t.map,a="+"===n?this.delta_:-this.delta_;d(s.getView(),a,void 0,this.duration_),i.preventDefault(),e=!0}}return!e}};var S=i(31800),M=i(1979);let C=class extends _{constructor(t){super(t=t||{}),this.totalDelta_=0,this.lastDelta_=0,this.maxDelta_=void 0!==t.maxDelta?t.maxDelta:1,this.duration_=void 0!==t.duration?t.duration:250,this.timeout_=void 0!==t.timeout?t.timeout:80,this.useAnchor_=void 0===t.useAnchor||t.useAnchor,this.constrainResolution_=void 0!==t.constrainResolution&&t.constrainResolution;let e=t.condition?t.condition:m.Gk;this.condition_=t.onFocusOnly?(0,m.Q7)(m.eL,e):e,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_,this.mode_=void 0,this.trackpadEventGap_=400,this.trackpadTimeoutId_,this.deltaPerZoom_=300,this.ctrlKeyPressed_=!1,this.ctrlKeyListenerKeys_=[]}setMap(t){if(this.ctrlKeyListenerKeys_.forEach(S.JH),this.ctrlKeyListenerKeys_.length=0,this.ctrlKeyPressed_=!1,super.setMap(t),t){let e=t.getOwnerDocument();this.ctrlKeyListenerKeys_.push((0,S.KT)(e,"keydown",t=>{"Control"===t.key&&(this.ctrlKeyPressed_=!0)}),(0,S.KT)(e,"keyup",t=>{"Control"===t.key&&(this.ctrlKeyPressed_=!1)}))}}endInteraction_(){this.trackpadTimeoutId_=void 0;let t=this.getMap();if(!t)return;let e=t.getView(),i=this.lastDelta_?this.lastDelta_>0?1:-1:0;e.endInteraction(this.constrainResolution_||e.getConstrainResolution()?100:void 0,i,this.lastAnchor_?t.getCoordinateFromPixel(this.lastAnchor_):null)}handleEvent(t){if(!this.condition_(t)||t.type!==D.A.WHEEL)return!0;let e=t.map,i=t.originalEvent;i.preventDefault();let n=i.ctrlKey&&!this.ctrlKeyPressed_;i.ctrlKey||(this.ctrlKeyPressed_=!1),this.useAnchor_&&(this.lastAnchor_=t.pixel);let s=i.deltaY;switch(i.deltaMode){case WheelEvent.DOM_DELTA_LINE:s*=40;break;case WheelEvent.DOM_DELTA_PAGE:s*=300}if(0===s)return!1;this.lastDelta_=s;let a=Date.now();void 0===this.startTime_&&(this.startTime_=a),(!this.mode_||a-this.startTime_>this.trackpadEventGap_)&&(this.mode_=4>Math.abs(s)?"trackpad":"wheel");let o=e.getView();if("trackpad"===this.mode_)return this.trackpadTimeoutId_?clearTimeout(this.trackpadTimeoutId_):(o.getAnimating()&&o.cancelAnimations(),o.beginInteraction()),this.trackpadTimeoutId_=setTimeout(this.endInteraction_.bind(this),this.timeout_),n&&(s*=3),o.adjustZoom(-s/this.deltaPerZoom_,this.lastAnchor_?e.getCoordinateFromPixel(this.lastAnchor_):null),this.startTime_=a,!1;this.totalDelta_+=s;let r=Math.max(this.timeout_-(a-this.startTime_),0);return clearTimeout(this.timeoutId_),this.timeoutId_=setTimeout(this.handleWheelZoom_.bind(this,e),r),!1}handleWheelZoom_(t){let e=t.getView();e.getAnimating()&&e.cancelAnimations();
5let i=-(0,M.qE)(this.totalDelta_,-this.maxDelta_*this.deltaPerZoom_,this.maxDelta_*this.deltaPerZoom_)/this.deltaPerZoom_;(e.getConstrainResolution()||this.constrainResolution_)&&(i=i?i>0?1:-1:0),d(e,i,this.lastAnchor_?t.getCoordinateFromPixel(this.lastAnchor_):null,this.duration_),this.mode_=void 0,this.totalDelta_=0,this.lastAnchor_=null,this.startTime_=void 0,this.timeoutId_=void 0}setMouseAnchor(t){this.useAnchor_=t,t||(this.lastAnchor_=null)}},k=class extends L{constructor(t){let e=t=t||{};e.stopDown||(e.stopDown=g.W8),super(e),this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.threshold_=void 0!==t.threshold?t.threshold:.3,this.duration_=void 0!==t.duration?t.duration:250}handleDragEvent(t){let e=0,i=this.targetPointers[0],n=this.targetPointers[1],s=Math.atan2(n.clientY-i.clientY,n.clientX-i.clientX);if(void 0!==this.lastAngle_){let t=s-this.lastAngle_;this.rotationDelta_+=t,!this.rotating_&&Math.abs(this.rotationDelta_)>this.threshold_&&(this.rotating_=!0),e=t}this.lastAngle_=s;let a=t.map,o=a.getView();o.getConstraints().rotation!==f.b8&&(this.anchor_=a.getCoordinateFromPixelInternal(a.getEventPixel(p(this.targetPointers))),this.rotating_&&(a.render(),o.adjustRotationInternal(e,this.anchor_)))}handleUpEvent(t){return!(this.targetPointers.length<2)||(t.map.getView().endInteraction(this.duration_),!1)}handleDownEvent(t){if(this.targetPointers.length>=2){let e=t.map;return this.anchor_=null,this.lastAngle_=void 0,this.rotating_=!1,this.rotationDelta_=0,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}},O=class extends L{constructor(t){let e=t=t||{};e.stopDown||(e.stopDown=g.W8),super(e),this.anchor_=null,this.duration_=void 0!==t.duration?t.duration:400,this.lastDistance_=void 0,this.lastScaleDelta_=1}handleDragEvent(t){let e=1,i=this.targetPointers[0],n=this.targetPointers[1],s=i.clientX-n.clientX,a=i.clientY-n.clientY,o=Math.sqrt(s*s+a*a);void 0!==this.lastDistance_&&(e=this.lastDistance_/o),this.lastDistance_=o;let r=t.map,l=r.getView();1!=e&&(this.lastScaleDelta_=e),this.anchor_=r.getCoordinateFromPixelInternal(r.getEventPixel(p(this.targetPointers))),r.render(),l.adjustResolutionInternal(e,this.anchor_)}handleUpEvent(t){if(this.targetPointers.length<2){let e=t.map.getView(),i=this.lastScaleDelta_>1?1:-1;return e.endInteraction(this.duration_,i),!1}return!0}handleDownEvent(t){if(this.targetPointers.length>=2){let e=t.map;return this.anchor_=null,this.lastDistance_=void 0,this.lastScaleDelta_=1,this.handlingDownUpSequence||e.getView().beginInteraction(),!0}return!1}};function F(t){t=t||{};let e=new n.A,i=new s.A(-.005,.05,100);return(void 0===t.altShiftDragRotate||t.altShiftDragRotate)&&e.push(new x),(void 0===t.doubleClickZoom||t.doubleClickZoom)&&e.push(new u({delta:t.zoomDelta,duration:t.zoomDuration})),(void 0===t.dragPan||t.dragPan)&&e.push(new v({onFocusOnly:t.onFocusOnly,kinetic:i})),(void 0===t.pinchRotate||t.pinchRotate)&&e.push(new k),(void 0===t.pinchZoom||t.pinchZoom)&&e.push(new O({duration:t.zoomDuration})),(void 0===t.keyboard||t.keyboard)&&(e.push(new T),e.push(new R({delta:t.zoomDelta,duration:t.zoomDuration}))),(void 0===t.mouseWheelZoom||t.mouseWheelZoom)&&e.push(new C({onFocusOnly:t.onFocusOnly,duration:t.zoomDuration})),(void 0===t.shiftDragZoom||t.shiftDragZoom)&&e.push(new P({duration:t.zoomDuration})),e}},45113(t,e,i){var n=i(73902),s=i(18770),a=i(86722),o=i(98426);let r="renderOrder";class l extends o.default{constructor(t){let e=Object.assign({},t=t||{});delete e.style,delete e.renderBuffer,delete e.updateWhileAnimating,delete e.updateWhileInteracting,super(e),this.declutter_=t.declutter?String(t.declutter):void 0,this.renderBuffer_=void 0!==t.renderBuffer?t.renderBuffer:100,this.style_=null,this.styleFunction_=void 0,this.setStyle(t.style),this.updateWhileAnimating_=void 0!==t.updateWhileAnimating&&t.updateWhileAnimating,this.updateWhileInteracting_=void 0!==t.updateWhileInteracting&&t.updateWhileInteracting}getDeclutter(){return this.declutter_}getFeatures(t){return super.getFeatures(t)}getRenderBuffer(){return this.renderBuffer_}getRenderOrder(){return this.get(r)}getStyle(){return this.style_}getStyleFunction(){return this.styleFunction_}getUpdateWhileAnimating(){return this.updateWhileAnimating_}getUpdateWhileInteracting(){return this.updateWhileInteracting_}renderDeclutter(t,e){let i=this.getDeclutter();i in t.declutter==!1&&(t.declutter[i]=new n.A(9)),this.getRenderer().renderDeclutter(t,e)}setRenderOrder(t){this.set(r,t)}setStyle(t){this.style_=void 0===t?a.d1:t;let e=function(t){if(void 0===t)return a.d1;if(!t)return null;if("function"==typeof t||t instanceof a.Ay)return t;if(Array.isArray(t)&&0===t.length)return[];if(Array.isArray(t)&&t[0]instanceof a.Ay){let e=t.length,i=Array(e);for(let n=0;n<e;++n){let e=t[n];if(!(e instanceof a.Ay))throw Error("Expected a list of style instances");i[n]=e}return i}return(0,s.we)(t)}(t);this.styleFunction_=null===t?void 0:(0,a.mC)(e),this.changed()}setDeclutter(t){this.declutter_=t?String(t):void 0,this.changed()}}i.d(e,{},{A:l})},444(t,e,i){var n=i(38217),s=i(19165),a=i(86692),o=i(62974),r=i(31800),l=i(63587),h=i(56315),d=i(82397),_=i(83808),u=i(62821),c=i(89226);let m="addlayer",g="removelayer";class p extends l.Ay{constructor(t,e){super(t),this.layer=e}}let L="layers";class v extends c.A{constructor(t){let e=Object.assign({},t=t||{});delete e.layers;let i=t.layers;super(e),this.on,this.once,this.un,this.layersListenerKeys_=[],this.listenerKeys_={},this.addChangeListener(L,this.handleLayersChanged_),i?Array.isArray(i)?i=new n.A(i.slice(),{unique:!0}):(0,o.v)("function"==typeof i.getArray,"Expected `layers` to be an array or a `Collection`"):i=new n.A(void 0,{unique:!0}),this.setLayers(i)}handleLayerChange_(){this.changed()}handleLayersChanged_(){this.layersListenerKeys_.forEach(r.JH),this.layersListenerKeys_.length=0;let t=this.getLayers();for(let e in this.layersListenerKeys_.push((0,r.KT)(t,s.A.ADD,this.handleLayersAdd_,this),(0,r.KT)(t,s.A.REMOVE,this.handleLayersRemove_,this)),this.listenerKeys_)this.listenerKeys_[e].forEach(r.JH);(0,_.I)(this.listenerKeys_);let e=t.getArray();for(let t=0,i=e.length;t<i;t++){let i=e[t];this.registerLayerListeners_(i),this.dispatchEvent(new p(m,i))}this.changed()}registerLayerListeners_(t){let e=[(0,r.KT)(t,a.A.PROPERTYCHANGE,this.handleLayerChange_,this),(0,r.KT)(t,h.A.CHANGE,this.handleLayerChange_,this)];t instanceof v&&e.push((0,r.KT)(t,m,this.handleLayerGroupAdd_,this),(0,r.KT)(t,g,this.handleLayerGroupRemove_,this)),this.listenerKeys_[(0,u.v6)(t)]=e}handleLayerGroupAdd_(t){this.dispatchEvent(new p(m,t.layer))}handleLayerGroupRemove_(t){this.dispatchEvent(new p(g,t.layer))}handleLayersAdd_(t){let e=t.element;this.registerLayerListeners_(e),this.dispatchEvent(new p(m,e)),this.changed()}handleLayersRemove_(t){let e=t.element,i=(0,u.v6)(e);
5this.listenerKeys_[i].forEach(r.JH),delete this.listenerKeys_[i],this.dispatchEvent(new p(g,e)),this.changed()}getLayers(){return this.get(L)}setLayers(t){let e=this.getLayers();if(e){let t=e.getArray();for(let e=0,i=t.length;e<i;++e)this.dispatchEvent(new p(g,t[e]))}this.set(L,t)}getLayersArray(t){return t=void 0!==t?t:[],this.getLayers().forEach(function(e){e.getLayersArray(t)}),t}getLayerStatesArray(t){let e=void 0!==t?t:[],i=e.length;this.getLayers().forEach(function(t){t.getLayerStatesArray(e)});let n=this.getLayerState(),s=n.zIndex;t||void 0!==n.zIndex||(s=0);for(let t=i,a=e.length;t<a;t++){let i=e[t];i.opacity*=n.opacity,i.visible=i.visible&&n.visible,i.maxResolution=Math.min(i.maxResolution,n.maxResolution),i.minResolution=Math.max(i.minResolution,n.minResolution),i.minZoom=Math.max(i.minZoom,n.minZoom),i.maxZoom=Math.min(i.maxZoom,n.maxZoom),void 0!==n.extent&&(void 0!==i.extent?i.extent=(0,d._N)(i.extent,n.extent):i.extent=n.extent),void 0===i.zIndex&&(i.zIndex=s)}return e}getSourceState(){return"ready"}}i.d(e,{i:()=>p},{A:v})},5616(t,e,i){function n(t,e){return[[-1/0,-1/0,1/0,1/0]]}i(59855),i.d(e,{Q7:()=>n})},78367(t,e,i){i.d(e,{},{A:{POINTERMOVE:"pointermove",POINTERDOWN:"pointerdown",POINTERUP:"pointerup",POINTEROVER:"pointerover",POINTEROUT:"pointerout",POINTERENTER:"pointerenter",POINTERLEAVE:"pointerleave",POINTERCANCEL:"pointercancel"}})}};

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.