/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.115 * * Copyright 2011-2022 Cesium Contributors * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * * Columbus View (Pat. Pend.) * * Portions licensed separately. * See https://github.com/CesiumGS/cesium/blob/main/LICENSE.md for full licensing details. */ import{a as m}from"./chunk-WHKFD7TF.js";import{a as N}from"./chunk-UEH5LICU.js";import{a as U}from"./chunk-QWQOVUJ7.js";import"./chunk-SVXBKJVU.js";import{a as k}from"./chunk-4L6WQV6O.js";import{a as le}from"./chunk-SPQOGAZ5.js";import"./chunk-63MCY5JU.js";import"./chunk-AT6LKTZH.js";import"./chunk-ASPQMVDG.js";import{a as se}from"./chunk-565QV2WE.js";import{a as ce}from"./chunk-2OCTB5MG.js";import{a as ne,b as re,c as ie,d as O}from"./chunk-2NSXRWDL.js";import{d as oe}from"./chunk-LCPJ46PJ.js";import"./chunk-IADNIOZ2.js";import"./chunk-QK5WKMSE.js";import"./chunk-DCQPNKAH.js";import{a as x}from"./chunk-HVT5SA4Z.js";import{a as p,d as u}from"./chunk-QHMHXQHC.js";import{a as J}from"./chunk-GGFNGKXD.js";import"./chunk-BPPZBFNC.js";import"./chunk-6DW2D3WX.js";import{a as A}from"./chunk-A7LPWAU6.js";import{a as V}from"./chunk-UNVMUIJM.js";import{e as h}from"./chunk-WVB7XP3Q.js";var me=[];function Ae(e,o,t,n,c){let s=me;s.length=c;let l,E=t.red,a=t.green,r=t.blue,w=t.alpha,b=n.red,i=n.green,f=n.blue,L=n.alpha;if(m.equals(t,n)){for(l=0;l0?new Array(c):void 0;for(n=0;n0){let d=0,P=b[0];n=n.filter(function(G,T){let g=!1;return c?g=T===P||T===0&&P===1:g=T+1===P,g?(d++,P=b[d],!1):!0})}let f=i.length;if(f<2||o<=0)return;if(s===N.GEODESIC||s===N.RHUMB){let d,P;s===N.GEODESIC?(d=J.chordLength(l,E.maximumRadius),P=U.numberOfPoints):(d=l,P=U.numberOfPointsRhumbLine);let G=U.extractHeights(i,E);if(h(n)){let T=1;for(a=0;a