/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.142.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 k}from"./chunk-UHTXIDKA.js";import{a as N,c as w}from"./chunk-OS2CBN2U.js";import"./chunk-AP7AMWJA.js";import"./chunk-K3YIAZU7.js";import"./chunk-C4NHPSO2.js";import"./chunk-WTIPXHS3.js";import{a as v,b as G}from"./chunk-IPQQ2USK.js";import{a as q}from"./chunk-RH3WVPDR.js";import"./chunk-MUI5QV7K.js";import"./chunk-H6AHPUMX.js";import"./chunk-FMWRN5G2.js";import{a as g}from"./chunk-RU2T2U4O.js";import{a as O}from"./chunk-VZ4ER5HI.js";import{b as A,c as R,d as S}from"./chunk-LTHJTGXC.js";import{c as C}from"./chunk-XEBZTQHW.js";import"./chunk-6LZUEMFX.js";import"./chunk-AZCCS55A.js";import"./chunk-V74K6IQF.js";import{a as b}from"./chunk-5HZ2G332.js";import"./chunk-LKQXJXNV.js";import"./chunk-VXS2FTO4.js";import{b as y,c as s}from"./chunk-ZQTDDQLY.js";import{a as d,c as D}from"./chunk-U4VWQPTS.js";import{a as T}from"./chunk-GZABERXA.js";import{a}from"./chunk-WM6AKY6B.js";import{f as u}from"./chunk-6K4BWAPV.js";function W(o,i){let t=new O;t.position=new S({componentDatatype:b.DOUBLE,componentsPerAttribute:3,values:o});let e=i.length,r=t.position.values.length/3,f=o.length/3/e,p=g.createTypedArray(r,2*e*(f+1)),m,n,l=0;m=0;let h=m*e;for(n=0;n