1"use strict";(self.webpackChunk_terrestris_shogun_gis_client=self.webpackChunk_terrestris_shogun_gis_client||[]).push([["163"],{67751:function(t,n,e){e.d(n,{R8:function(){return r},z3:function(){return o}});function r(...t){console.warn(...t)}function o(...t){console.error(...t)}},58318:function(t,n,e){e.r(n),e.d(n,{METERS_PER_UNIT:function(){return l.METERS_PER_UNIT},createSafeCoordinateTransform:function(){return tb},Projection:function(){return s.A},createTransformFromCoordinateTransform:function(){return ti},get:function(){return Z},fromUserCoordinate:function(){return tx},toLonLat:function(){return tl},getPointResolution:function(){return tt},getUserProjection:function(){return t_},useGeographic:function(){return tm},toUserResolution:function(){return tS},fromUserExtent:function(){return tU},fromLonLat:function(){return ts},cloneTransform:function(){return B},addEquivalentTransforms:function(){return te},disableCoordinateWarning:function(){return z},transformWithProjections:function(){return tP},getTransformFromProjections:function(){return ta},clearAllProjections:function(){return tr},clearUserProjection:function(){return tw},getTransform:function(){return th},createProjection:function(){return to},addProjection:function(){return K},addProjections:function(){return Y},fromUserResolution:function(){return tC},toUserCoordinate:function(){return tp},addCommon:function(){return tR},addCoordinateTransforms:function(){return tu},identityTransform:function(){return H},toUserExtent:function(){return tG},addEquivalentProjections:function(){return tn},transformExtent:function(){return td},equivalent:function(){return tc},setUserProjection:function(){return tE},transform:function(){return tg}});var r=e(67751),o=e(53094),i=e(85752),u=e(94966),s=e(97191),l=e(38531);let c=6378137*Math.PI,a=[-c,-c,c,c],f=[-180,-85,180,85],h=6378137*Math.log(Math.tan(Math.PI/2));class g extends s.A{constructor(t){super({code:t,units:"m",extent:a,global:!0,worldExtent:f,getPointResolution:function(t,n){return t/Math.cosh(n[1]/6378137)}})}}let d=[new g("EPSG:3857"),new g("EPSG:102100"),new g("EPSG:102113"),new g("EPSG:900913"),new g("http://www.opengis.net/def/crs/EPSG/0/3857"),new g("http://www.opengis.net/gml/srs/epsg.xml#3857")];function P(t,n,e,r){let o=t.length;e=e>1?e:2,r=r??e,void 0===n&&(n=e>2?t.slice():Array(o));for(let e=0;e<o;e+=r){n[e]=c*t[e]/180;let r=6378137*Math.log(Math.tan(Math.PI*(+t[e+1]+90)/360));r>h?r=h:r<-h&&(r=-h),n[e+1]=r}return n}function M(t,n,e,r){let o=t.length;e=e>1?e:2,r=r??e,void 0===n&&(n=e>2?t.slice():Array(o));for(let e=0;e<o;e+=r)n[e]=180*t[e]/c,n[e+1]=360*Math.atan(Math.exp(t[e+1]/6378137))/Math.PI-90;return n}let E=[-180,-90,180,90],w=6378137*Math.PI/180;class _ extends s.A{constructor(t,n){super({code:t,units:"degrees",extent:E,axisOrientation:n,global:!0,metersPerUnit:w,worldExtent:E})}}let m=[new _("CRS:84"),new _("EPSG:4326","neu"),new _("urn:ogc:def:crs:OGC:1.3:CRS84"),new _("urn:ogc:def:crs:OGC:2:84"),new _("http://www.opengis.net/def/crs/OGC/1.3/CRS84"),new _("http://www.opengis.net/gml/srs/epsg.xml#4326","neu"),new _("http://www.opengis.net/def/crs/EPSG/0/4326","neu")];var p=e(44914),x=e(68895);let G=.00669438/.99330562,U=Math.sqrt(.99330562),S=(1-U)/(1+U),C=S*S,b=C*S,R=b*S,T=R*S,v=1-.001673595-1344441707532e-16/64-15000339463446782e-22/256,W=.02008314/8+1344441707532e-16/32+13500305517102105e-21/1024,y=672220853766e-15/256+13500305517102105e-21/1024,I=10500237624412747e-21/3072,k=1.5*S-27/32*b+269/512*T,A=21/16*C-55/32*R,L=151/96*b-417/128*T,j=1097/512*R;function q(t,n,e){let r=(e.north?n:n-1e7)/.9996/(6378137*v),o=r+k*Math.sin(2*r)+A*Math.sin(4*r)+L*Math.sin(6*r)+j*Math.sin(8*r),i=Math.sin(o),s=i*i,l=Math.cos(o),c=i/l,a=c*c,f=a*a,h=G*l**2,g=h*h,d=(t-5e5)/(6378137/Math.sqrt(1-.00669438*s)*.9996),P=d*d,M=P*d,E=M*d,w=E*d,_=o-c/(.99330562/(1-.00669438*s))*(P/2-E/24*(5+3*a+10*h-4*g-9*G))+w*d/720*(61+90*a+298*h+45*f-252*G-3*g),m=(d-M/6*(1+2*a+h)+w/120*(5-2*h+28*a-3*g+8*G+24*f))/l;return m=(0,u.LV)(m+(0,u.eh)(O(e.number)),-Math.PI,Math.PI),[(0,u.xW)(m),(0,u.xW)(_)]}function Q(t,n,e){t=(0,u.LV)(t,-180,180),n<-80?n=-80:n>84&&(n=84);
1let r=(0,u.eh)(n),o=Math.sin(r),i=Math.cos(r),s=o/i,l=s*s,c=l*l,a=(0,u.eh)(t),f=O(e.number),h=(0,u.eh)(f),g=6378137/Math.sqrt(1-.00669438*o**2),d=G*i**2,P=i*(0,u.LV)(a-h,-Math.PI,Math.PI),M=P*P,E=M*P,w=E*P,_=w*P,m=.9996*g*(P+E/6*(1-l+d)+_/120*(5-18*l+c+72*d-58*G))+5e5,p=.9996*(6378137*(v*r-W*Math.sin(2*r)+y*Math.sin(4*r)-I*Math.sin(6*r))+g*s*(M/2+w/24*(5-l+9*d+4*d**2)+_*P/720*(61-58*l+c+600*d-330*G)));return e.north||(p+=1e7),[m,p]}function O(t){return(t-1)*6-180+3}let F=[/^EPSG:(\d+)$/,/^urn:ogc:def:crs:EPSG::(\d+)$/,/^http:\/\/www\.opengis\.net\/def\/crs\/EPSG\/0\/(\d+)$/];function D(t){let n=0;for(let e of F){let r=t.match(e);if(r){n=parseInt(r[1]);break}}if(!n)return null;let e=0,r=!1;return(n>32700&&n<32761?e=n-32700:n>32600&&n<32661&&(r=!0,e=n-32600),e)?{number:e,north:r}:null}function N(t,n){return function(e,r,o,i){let u=e.length;o=o>1?o:2,i=i??o,r||(r=o>2?e.slice():Array(u));for(let o=0;o<u;o+=i){let i=t(e[o],e[o+1],n);r[o]=i[0],r[o+1]=i[1]}return r}}var X=e(85769);let $=[function(t){let n=D(t.getCode());return n?{forward:N(Q,n),inverse:N(q,n)}:null}],J=[function(t){return D(t)?new s.A({code:t,units:"m"}):null}],V=!0;function z(t){V=!(void 0===t||t)}function B(t,n){if(void 0!==n)for(let e=0,r=t.length;e<r;++e)n[e]=t[e];else n=t.slice();return n}function H(t,n){if(void 0!==n&&t!==n){for(let e=0,r=t.length;e<r;++e)n[e]=t[e];t=n}return t}function K(t){(0,p.WQ)(t.getCode(),t),(0,x.WQ)(t,t,B)}function Y(t){t.forEach(K)}function Z(t){if("string"!=typeof t)return t;let n=(0,p.Jt)(t);if(n)return n;for(let n of J){let e=n(t);if(e)return e}return null}function tt(t,n,e,r){let o,i=(t=Z(t)).getPointResolutionFunc();if(i){if(o=i(n,e),r&&r!==t.getUnits()){let n=t.getMetersPerUnit();n&&(o=o*n/l.METERS_PER_UNIT[r])}}else{let i=t.getUnits();if(("degrees"!=i||r)&&"degrees"!=r){let u=ta(t,Z("EPSG:4326"));if(u||"degrees"===i){let t=[e[0]-n/2,e[1],e[0]+n/2,e[1],e[0],e[1]-n/2,e[0],e[1]+n/2];t=u(t,t,2),o=((0,X.getDistance)(t.slice(0,2),t.slice(2,4))+(0,X.getDistance)(t.slice(4,6),t.slice(6,8)))/2}else o=n*t.getMetersPerUnit();let s=r?l.METERS_PER_UNIT[r]:t.getMetersPerUnit();void 0!==s&&(o/=s)}else o=n}return o}function tn(t){Y(t),t.forEach(function(n){t.forEach(function(t){n!==t&&(0,x.WQ)(n,t,B)})})}function te(t,n,e,r){t.forEach(function(t){n.forEach(function(n){(0,x.WQ)(t,n,e),(0,x.WQ)(n,t,r)})})}function tr(){(0,p.IU)(),(0,x.IU)()}function to(t,n){return t?"string"==typeof t?Z(t):t:Z(n)}function ti(t){return function(n,e,r,o){let i=n.length;r=void 0!==r?r:2,o=o??r,e=void 0!==e?e:Array(i);for(let u=0;u<i;u+=o){let i=t(n.slice(u,u+r)),s=i.length;for(let t=0,r=o;t<r;++t)e[u+t]=t>=s?n[u+t]:i[t]}return e}}function tu(t,n,e,r){let o=Z(t),i=Z(n);(0,x.WQ)(o,i,ti(e)),(0,x.WQ)(i,o,ti(r))}function ts(t,n){return z(),tg(t,"EPSG:4326",void 0!==n?n:"EPSG:3857")}function tl(t,n){let e=tg(t,void 0!==n?n:"EPSG:3857","EPSG:4326"),r=e[0];return(r<-180||r>180)&&(e[0]=(0,u.xP)(r+180,360)-180),e}function tc(t,n){if(t===n)return!0;let e=t.getUnits()===n.getUnits();return t.getCode()===n.getCode()?e:ta(t,n)===B&&e}function ta(t,n){let e=t.getCode(),r=n.getCode(),o=(0,x.Jt)(e,r);if(o)return o;let i=null,u=null;for(let e of $)i||(i=e(t)),u||(u=e(n));if(!i&&!u)return null;let s="EPSG:4326";if(u)if(i)o=tf(i.inverse,u.forward);else{let t=(0,x.Jt)(e,s);t&&(o=tf(t,u.forward))}else{let t=(0,x.Jt)(s,r);t&&(o=tf(i.inverse,t))}return o&&(K(t),K(n),(0,x.WQ)(t,n,o)),o}function tf(t,n){return function(e,r,o,i){return n(r=t(e,r,o,i),r,o,i)}}function th(t,n){return ta(Z(t),Z(n))}function tg(t,n,e){let r=th(n,e);if(!r){let t=Z(n).getCode(),r=Z(e).getCode();throw Error(`No transform available between ${t} and ${r}`)}return r(t,void 0,t.length)}function td(t,n,e,r){let o=th(n,e);return(0,i.applyTransform)(t,o,void 0,r)}function tP(t,n,e){return ta(n,e)(t)}let tM=null;function tE(t){tM=Z(t)}function tw(){tM=null}function t_(){return tM}function tm(){tE("EPSG:4326")}function tp(t,n){return tM?tg(t,n,tM):t}function tx(t,n){return tM?tg(t,tM,n):(V&&!(0,o.equals)(t,[0,0])&&t[0]>=-180&&t[0]<=180&&t[1]>=-90&&t[1]<=90&&(V=!1,(0,r.R8)("Call useGeographic() from ol/proj once to work with [longitude, latitude] coordinates.")),t)}function tG(t,n){return tM?td(t,n,tM):t}function tU(t,n){return tM?td(t,tM,n):t}function tS(t,n){if(!tM)return t;let e=Z(n).getMetersPerUnit(),r=tM.getMetersPerUnit();return e&&r?t*e/r:t}function tC(t,n){if(!tM)return t;let e=Z(n).getMetersPerUnit(),r=tM.getMetersPerUnit();return e&&r?t*r/e:t}function tb(t,n,e){return function(r){let s,l;if(t.canWrapX()){let n=t.getExtent(),c=(0,i.getWidth)(n);r=r.slice(0),(l=(0,o.getWorldsAway)(r,t,c))&&(r[0]=r[0]-l*c),r[0]=(0,u.qE)(r[0],n[0],n[2]),r[1]=(0,u.qE)(r[1],n[1],n[3]),s=e(r)}else s=e(r);return l&&n.canWrapX()&&(s[0]+=l*(0,i.getWidth)(n.getExtent())),s}}function tR(){tn(d),tn(m),te(m,d,P,M)}tR()},97191:function(t,n,e){var r=e(38531);
1n.A=class{constructor(t){this.code_=t.code,this.units_=t.units,this.extent_=void 0!==t.extent?t.extent:null,this.worldExtent_=void 0!==t.worldExtent?t.worldExtent:null,this.axisOrientation_=void 0!==t.axisOrientation?t.axisOrientation:"enu",this.global_=void 0!==t.global&&t.global,this.canWrapX_=!!(this.global_&&this.extent_),this.getPointResolutionFunc_=t.getPointResolution,this.defaultTileGrid_=null,this.metersPerUnit_=t.metersPerUnit}canWrapX(){return this.canWrapX_}getCode(){return this.code_}getExtent(){return this.extent_}getUnits(){return this.units_}getMetersPerUnit(){return this.metersPerUnit_||r.METERS_PER_UNIT[this.units_]}getWorldExtent(){return this.worldExtent_}getAxisOrientation(){return this.axisOrientation_}isGlobal(){return this.global_}setGlobal(t){this.global_=t,this.canWrapX_=!!(t&&this.extent_)}getDefaultTileGrid(){return this.defaultTileGrid_}setDefaultTileGrid(t){this.defaultTileGrid_=t}setExtent(t){this.extent_=t,this.canWrapX_=!!(this.global_&&t)}setWorldExtent(t){this.worldExtent_=t}setGetPointResolution(t){this.getPointResolutionFunc_=t}getPointResolutionFunc(){return this.getPointResolutionFunc_}}},38531:function(t,n,e){e.r(n),e.d(n,{METERS_PER_UNIT:function(){return i},fromCode:function(){return o}});let r={9001:"m",9002:"ft",9003:"us-ft",9101:"radians",9102:"degrees"};function o(t){return r[t]}let i={radians:6370997/(2*Math.PI),degrees:2*Math.PI*6370997/360,ft:.3048,m:1,"us-ft":1200/3937}},44914:function(t,n,e){e.d(n,{IU:function(){return o},Jt:function(){return i},WQ:function(){return u}});let r={};function o(){r={}}function i(t){return r[t]||r[t.replace(/urn:(x-)?ogc:def:crs:EPSG:(.*:)?(\w+)$/,"EPSG:$3")]||null}function u(t,n){r[t]=n}},68895:function(t,n,e){e.d(n,{IU:function(){return o},Jt:function(){return u},WQ:function(){return i}});let r={};function o(){r={}}function i(t,n,e){let o=t.getCode(),i=n.getCode();o in r||(r[o]={}),r[o][i]=e}function u(t,n){return t in r&&n in r[t]?r[t][n]:null}},85769:function(t,n,e){e.r(n),e.d(n,{DEFAULT_RADIUS:function(){return o},getArea:function(){return function t(n,e){let r,i,u,l,c,a,f=(e=e||{}).radius||o,h=e.projection||"EPSG:3857",g=n.getType();"GeometryCollection"!==g&&(n=n.clone().transform(h,"EPSG:4326"));let d=0;switch(g){case"Point":case"MultiPoint":case"LineString":case"MultiLineString":case"LinearRing":break;case"Polygon":for(u=1,d=Math.abs(s((r=n.getCoordinates())[0],f)),l=r.length;u<l;++u)d-=Math.abs(s(r[u],f));break;case"MultiPolygon":for(u=0,l=(r=n.getCoordinates()).length;u<l;++u)for(d+=Math.abs(s((i=r[u])[0],f)),c=1,a=i.length;c<a;++c)d-=Math.abs(s(i[c],f));break;case"GeometryCollection":{let r=n.getGeometries();for(u=0,l=r.length;u<l;++u)d+=t(r[u],e);break}default:throw Error("Unsupported geometry type: "+g)}return d}},getDistance:function(){return i},getLength:function(){return function t(n,e){let r,i,s,l,c,a,f=(e=e||{}).radius||o,h=e.projection||"EPSG:3857",g=n.getType();"GeometryCollection"!==g&&(n=n.clone().transform(h,"EPSG:4326"));let d=0;switch(g){case"Point":case"MultiPoint":break;case"LineString":case"LinearRing":d=u(r=n.getCoordinates(),f);break;case"MultiLineString":case"Polygon":for(s=0,l=(r=n.getCoordinates()).length;s<l;++s)d+=u(r[s],f);break;case"MultiPolygon":for(s=0,l=(r=n.getCoordinates()).length;s<l;++s)for(c=0,a=(i=r[s]).length;c<a;++c)d+=u(i[c],f);break;case"GeometryCollection":{let r=n.getGeometries();for(s=0,l=r.length;s<l;++s)d+=t(r[s],e);break}default:throw Error("Unsupported geometry type: "+g)}return d}},offset:function(){return l}});var r=e(94966);let o=6371008.8;function i(t,n,e){e=e||o;let i=(0,r.eh)(t[1]),u=(0,r.eh)(n[1]),s=(u-i)/2,l=(0,r.eh)(n[0]-t[0])/2,c=Math.sin(s)*Math.sin(s)+Math.sin(l)*Math.sin(l)*Math.cos(i)*Math.cos(u);return 2*e*Math.atan2(Math.sqrt(c),Math.sqrt(1-c))}function u(t,n){let e=0;for(let r=0,o=t.length;r<o-1;++r)e+=i(t[r],t[r+1],n);return e}function s(t,n){let e=0,o=t.length,i=t[o-1][0],u=t[o-1][1];for(let n=0;n<o;n++){let o=t[n][0],s=t[n][1];e+=(0,r.eh)(o-i)*(2+Math.sin((0,r.eh)(u))+Math.sin((0,r.eh)(s))),i=o,u=s}return e*n*n/2}function l(t,n,e,i){i=i||o;let u=(0,r.eh)(t[1]),s=(0,r.eh)(t[0]),l=n/i,c=Math.asin(Math.sin(u)*Math.cos(l)+Math.cos(u)*Math.sin(l)*Math.cos(e)),a=s+Math.atan2(Math.sin(e)*Math.sin(l)*Math.cos(u),Math.cos(l)-Math.sin(u)*Math.sin(c));return[(0,r.xW)(a),(0,r.xW)(c)]}}}]); 2//# sourceMappingURL=163.887c50e36f66ce0a.js.map
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.