/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.140.0 * * 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-AXIQD4JA.js";import{a as R}from"./chunk-YBIGLQJN.js";import{a as N}from"./chunk-C6HKNYGW.js";import"./chunk-GLZ7AVHY.js";import{a as g}from"./chunk-HNKLZQOV.js";import{a as le}from"./chunk-Q6MK2R6B.js";import"./chunk-3BFV72N7.js";import"./chunk-SDQXNLTQ.js";import"./chunk-PUOAX5MA.js";import{a as se}from"./chunk-YWNU5ZQD.js";import{a as ce}from"./chunk-PXZYU6PD.js";import{a as ne,b as re,c as ie,d as x}from"./chunk-II4OPXPA.js";import{c as oe}from"./chunk-UKJ254OV.js";import"./chunk-YDQLCOZM.js";import"./chunk-MWY74K7V.js";import"./chunk-YECQFZBX.js";import{a as V}from"./chunk-TOK3PZ73.js";import"./chunk-65MI2E3A.js";import"./chunk-422SYBQS.js";import{c as u}from"./chunk-QQJ4EFK2.js";import{a as p,c as te}from"./chunk-XXWWJ3QU.js";import{a as j}from"./chunk-N6SIW7ZL.js";import{a as F}from"./chunk-K35RPNUR.js";import{e as h}from"./chunk-RTRJ3LVQ.js";var me=[];function Ae(e,o,t,n,c){let s=me;s.length=c;let l,k=t.red,a=t.green,r=t.blue,w=t.alpha,E=n.red,i=n.green,f=n.blue,b=n.alpha;if(m.equals(t,n)){for(l=0;l0?new Array(c):void 0;for(n=0;n0){let d=0,P=E[0];n=n.filter(function(U,L){let A=!1;return c?A=L===P||L===0&&P===1:A=L+1===P,A?(d++,P=E[d],!1):!0})}let f=i.length;if(f<2||o<=0)return;if(s===R.GEODESIC||s===R.RHUMB){let d,P;s===R.GEODESIC?(d=j.chordLength(l,k.maximumRadius),P=N.numberOfPoints):(d=l,P=N.numberOfPointsRhumbLine);let U=N.extractHeights(i,k);if(h(n)){let L=1;for(a=0;a