/** * @license * Cesium - https://github.com/CesiumGS/cesium * Version 1.125 * * 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 w}from"./chunk-DKG6YEMN.js";import{a as N,c as E}from"./chunk-VMIASSRO.js";import"./chunk-AKRPIQPN.js";import"./chunk-NHNM56MI.js";import"./chunk-P73YILG6.js";import"./chunk-VYMAIP2A.js";import{a as v,b as G}from"./chunk-ZMGESOEZ.js";import{a as q}from"./chunk-OKWGJEQO.js";import"./chunk-ZBEWS6NN.js";import"./chunk-V7XARCCV.js";import"./chunk-SACP225T.js";import{a as k}from"./chunk-YFQNY2YN.js";import{a as O}from"./chunk-NT26NNVH.js";import{b as A,c as R,d as S}from"./chunk-NW2YE576.js";import{d as C}from"./chunk-2NIQ5ECB.js";import"./chunk-7YEOLR2L.js";import{a as b}from"./chunk-QHHYYTCM.js";import{a,c as _,d as s}from"./chunk-RH3GFHG2.js";import{a as D}from"./chunk-FRWNWNYJ.js";import"./chunk-UKWFHLUK.js";import"./chunk-UAWOHN7R.js";import{a as d}from"./chunk-TA3RE4KQ.js";import{a as y}from"./chunk-RTY3VPG6.js";import{e as u}from"./chunk-LRNH5AEO.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=k.createTypedArray(r,2*e*(f+1)),m,n,l=0;m=0;let h=m*e;for(n=0;n