anytrek-front-public-component 1.4.44 → 1.4.45

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -210,7 +210,7 @@ This will fail in production.`);c=el,c._s.has(a)||(l?Zc(a,n,r,c):P1(a,r,c),proce
210
210
 
211
211
  "agps_enabled": 0
212
212
 
213
- }`}],ea=XS("message",()=>{const t=e.ref(JSON.parse(localStorage.getItem("customerHabit")||'{"showDevice":true}')||{showDevice:!0});function n(i){t.value=i}const o=e.ref($S.filter(i=>i.isParts===0));function a(i){o.value=i}const r={};function l(i,c){r[i]=c}return{customerHabit:t,changeHabit:n,modelList:o,changeModelList:a,addressJson:r,setAddressJson:l}});U.extend(To),U.extend(Do),U.extend(Oo);const pr=ea(Yc),eV=function(){const t="2.7.0",n={versionNumber:t,version:`v${t}`,antRouter:"",mapType:"GoogleMap",defaultMapLayer:"road",dateTimeFormat:"YYYY-MM-DD HH",language:"en",languages:[{key:"en",value:"English"},{key:"fr",value:"Français"},{key:"es",value:"Español"},{key:"zh",value:"简体中文"}],distanceUnit:0,distanceUnits:["mi","km"],speedUnit:0,speedUnits:["mph","km/h"],tempUnit:0,tempUnits:["℉","℃"],orgType:{partner:4},orgTypes:{4:{value:4,label:"Partner"},5:{value:5,label:"Customer"},6:{value:6,label:"Owner"},1:{value:1,label:"Common"}},alarmTypes:[{value:1,label:"Low Battery",compare:[{v:1,l:"<"}]},{value:3,label:"ACC",compare:[{v:0,l:"="}]},{value:4,label:"Geofence",compare:[{v:6,l:"Entry"},{v:7,l:"Exit"}]},{value:5,label:"Speed",compare:[{v:2,l:">"}]},{value:6,label:"Temperature",compare:[{v:2,l:">"},{v:1,l:"<"}]},{value:8,label:"Idle"},{value:9,label:"Maintenance"},{value:11,label:"Offline"}],zoom:2,center:{lat:39.7668,lng:-101.4257},mergeMarker:!0,timezone:"-0700",localTimezone:!0,showDevice:!0,showUpdatedMessage:!0,markerType:"arrow",historyTimePicker:[2,6,12,"day","week","month"],reportTimePicker:["month","quarter","year"],trailerType:["dry van","reefer","chassis","flatbed","tanker","lowboy","step"],specialChars:["<",">","?",",","/",":",'"',";","'","~","`","!","@","#","$","%","^","&","*","(",")","_","+","-","=","{","}","|","[","]","\\"]};window.trkConfig=n};window.trkConfig||eV();let jc=TC("customerHabit");try{const t=JSON.parse(jc)||{},{mapType:n,defaultMapLayer:o,distanceUnit:a,speedUnit:r,tempUnit:l,mergeMarker:i,showDevice:c,showUpdatedMessage:s,dateTimeFormat:d}=window.trkConfig,m=Object.assign({mapType:n,defaultMapLayer:o,distanceUnit:a,speedUnit:r,tempUnit:l,mergeMarker:i,showDevice:c,showUpdatedMessage:s,dateTimeFormat:d},t);m.language==="zh"&&(m.language="en"),jc=m,pr.changeHabit(m)}catch{jc={},pr.changeHabit({})}function _c({year:t=!0,month:n=!0,day:o=!0,time:a=!0,second:r=!1,blank:l=!0}){let i="";const c=pr.customerHabit.dateTimeFormat;if(c){const s=c.split(" ");let d=s.length>=1?s[0]:"";const p=s.length===2?s[1]:"",m=p==="h"?"A":"",h=d.indexOf("/")>-1?"/":"-",g=d.indexOf("Y"),f=d.indexOf("M"),u=d.indexOf("D");t||(d=u>g?d.replace(`YYYY${h}`,""):d.replace(`${h}YYYY`,"")),n||(d=u>f?d.replace(`MM${h}`,""):d.replace(`${h}MM`,"")),o||(d.indexOf(h)>-1?d=u>g?d.replace(`DD${h}`,""):d.replace(`${h}DD`,""):d=d.replace("DD","")),i=d,a&&(i+=r?` ${p}:mm:ss${`${l&&m?" ":""}${m}`}`:` ${p}:mm${`${l&&m?" ":""}${m}`}`)}return i}function Ti(t,n=!1){if(!t)return"-";let o=U.tz.guess();!pr.customerHabit.localTimezone&&pr.customerHabit.timeZone&&(o=pr.customerHabit.timeZone);const a=_c({year:!0,month:!0,day:!0,time:!0,second:!1,blank:!1}),r=U.utc(t).tz(o).format(a);return n?r+"("+o+")":r}function tV(t){return Math.ceil(new Date(t).getTime())}const R1=t=>{const n=U();return U(t).diff(n,"days")},Uc=t=>Ti(t),F1=ea(Yc),nV=(t,n=!0,o=1)=>{if(typeof t!="number"||Number.isNaN(t)||t===888||t===475.6)return"-";const a=!F1.customerHabit||F1.customerHabit.tempUnit===0?"℉":"℃",r=Number.isInteger(t*9/5+32)?t*9/5+32:(t*9/5+32).toFixed(o),l=a==="℃"?Number(t).toFixed(1):r;return n?l+a:l},oV=t=>{const n=t.locationReportTime?new Date(t.locationReportTime).getTime():0;let o=0;if(t.modelId&&t.modelId===62&&t.conStatus===!1)o=0;else if(!t.userPackageId)o=-2;else if(!n)o=-1;else{const a=new Date(n).getTime(),r=new Date().getTime()/1e3-a/1e3;r<3600*24&&t.charging===1?o=1:r<3600*24&&t.charging===0?o=2:o=0}return o},aV=t=>t.trackerStatus===0?"Offline":t.trackerStatus<0?"-":t.event===1?"Driving":t.acc===0&&t.modelId&&(t.modelId===8||t.modelId===9||t.modelId===62)?"Engine Off":"Idle",z1=t=>{if(!t.trackerStatus||t.trackerStatus<=0)return"battery-offline";let n="",o;return t.battery>80?o=100:t.battery>60?o=80:t.battery>40?o=60:t.battery>20?o=40:o=20,t.trackerStatus===1?n="charge":t.trackerStatus===2&&(n="nocharge"),`battery-${n}${o}`},H1=t=>{if(!t)return"-";const o=tV(new Date)-t;if(o<0)return"0s";const a=o/1e3,r=o/1e3/60,l=o/1e3/60/60,i=o/1e3/60/60/24;return a<60?`${Math.floor(a)}s ago`:r<60?`${Math.floor(r)}m ago`:l<24?`${Math.floor(l)}h ago`:i<=30?`${Math.floor(i)}d ago`:">30d"},rV={},lV={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function iV(t,n){return e.openBlock(),e.createElementBlock("svg",lV,n[0]||(n[0]=[e.createElementVNode("rect",{x:"2.68359",y:"2.68359",width:"26.6328",height:"26.6328",rx:"13.3164",stroke:"#12B76A","stroke-width":"1.5"},null,-1),e.createElementVNode("path",{d:"M9.45117 15.5081L12.8308 18.8879C13.3547 19.4118 13.6166 19.6737 13.9187 19.7719C14.1844 19.8582 14.4706 19.8582 14.7363 19.7719C15.0383 19.6737 15.3003 19.4118 15.8241 18.8879L22.5476 12.1641",stroke:"#12B76A","stroke-width":"1.5","stroke-linecap":"round"},null,-1)]))}const Z1=vt(rV,[["render",iV]]),sV={},cV={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function dV(t,n){return e.openBlock(),e.createElementBlock("svg",cV,n[0]||(n[0]=[e.createElementVNode("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z",fill:"#F79009"},null,-1)]))}const Y1=vt(sV,[["render",dV]]),uV={},fV={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function mV(t,n){return e.openBlock(),e.createElementBlock("svg",fV,n[0]||(n[0]=[e.createElementVNode("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z",fill:"#0086C9"},null,-1)]))}const j1=vt(uV,[["render",mV]]),pV={},hV={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function gV(t,n){return e.openBlock(),e.createElementBlock("svg",hV,n[0]||(n[0]=[e.createElementVNode("rect",{x:"2.68359",y:"2.68359",width:"26.6328",height:"26.6328",rx:"13.3164",stroke:"#F32C1D","stroke-width":"1.5"},null,-1),e.createElementVNode("path",{d:"M20.9693 20.9703L11.0293 11.0303M11.0293 20.9703L20.9693 11.0303",stroke:"#F32C1D","stroke-width":"1.5","stroke-linecap":"round"},null,-1)]))}const _1=vt(pV,[["render",gV]]);function nl(){function t(l){let i="info",c="",s={},d={success:Z1,warning:Y1,info:j1,error:_1}[i||"info"];typeof l=="string"?c=l:(i=l.type||"info",c=l.message,s=l.config||{},d={success:Z1,warning:Y1,info:j1,error:_1}[i||"info"]);const p={message:c,type:i||"info",icon:d,customClass:i||"info",...s};dC(p)}function n(l){t({message:l,type:"error"})}function o(l){t({message:l,type:"success"})}function a(l){t({message:l,type:"warning"})}function r(l){t({message:l,type:"info"})}return{open:t,info:r,warning:a,error:n,success:o}}const yV={class:"name"},kV={key:0,class:"over-ellipsis"},vV={key:1,class:"over-ellipsis"},bV={class:"time-txt"},wV={class:"time-txt"},CV={class:"status"},EV={class:"top"},TV={class:"vehicle-status"},NV={class:"driving-time"},SV={class:"middle"},VV={class:"flex-center"},AV={class:"flex-center"},BV={class:"bottom"},IV={class:"image-slot-error"},MV={class:"image-slot-error image-slot-placeholder"},DV={key:0,class:"googleMap"},OV="AIzaSyCn6dlrESg1etQMDgkw4rZk1lzMc-L8feo",LV=vt(e.defineComponent({__name:"chooseOne",props:{message:{type:Object,default(){return{}}},assetTypesMap:{type:Object,default(){return{}}},haveBorder:{type:Boolean,default:!0},currentItem:{type:Object,default(){return{}}},activeOne:{type:Number,default:0},descVisible:{type:Boolean,default:!0}},emits:["mouseover","mouseout","click","descClick"],setup(t,{emit:n}){const o=nl(),{addressJson:a,setAddressJson:r}=ea(),{t:l}=Xt(),i=t,c=n,s=e.computed(()=>i.message.deviceOne||{}),d=e.computed(()=>{const B=i.message.parentId;let R=!1;const V=[];return B&&(i.message.tagList||[]).filter(I=>I.id===B).map(I=>{I.deviceFromLandmark.filter(X=>X.deviceId===s.value.id?(V.push(...X.landmarkIds||[]),!0):!1).length&&(R=!0)}),{inL:R,hereLandmarkName:[...new Set(V)].map(I=>{var D;return((D=(i.message.landmarkList||[]).find(X=>X.id===I))==null?void 0:D.name)||""}).join(";")}}),p=(B,R,V)=>{if(V===1)return"monitorIconCpu";if(!B&&!R)return"Vector";if(R)return"vehicle-"+R;const{icons:I}=i.assetTypesMap[B];return I?"vehicle-"+I[0]:""},m=B=>B.trackerStatus<=0?"offline-li":B.battery&&B.battery<20||B.battery===0?"alarming-li":B.trackerStatus===1?"charging-li":(B.trackerStatus===2,"normal-li"),h=B=>{if(B.signals||B.signals===0)return`signalnew${Math.ceil(B.signals/25)}`};function g(B){return B!=null&&B!==-1}const f=B=>B.trackerStatus===0?{class:"Offline",label:l("offline")}:B.trackerStatus<0?{class:"Offline",label:l("offline")}:B.modelId&&B.modelId===62&&B.acc===0?{class:"Idle",label:l("idle")}:B.event===1?{class:"driving",label:l("driving")}:B.acc===0&&B.modelId&&(B.modelId===8||B.modelId===9)?{class:"Engine Off",label:l("engineOff")}:{class:"Idle",label:l("idle")},u=e.ref(!1),v=B=>{const R=i.message.name+""||"-";B.target.innerText!==R?u.value=!0:u.value=!1},k=()=>{u.value=!1},y=e.ref(!1);function b(){T()}const w=e.ref(!1),C=e.ref(!0);function T(){var I;if(!s.value.lat||!(s.value.lon||s.value.lng))return;w.value=!0;const B=`lat${s.value.lat}lng${s.value.lon||s.value.lng}`;if(a[B]){s.value.detailAddress=a[B];return}if(C.value=!0,!((I=window.google)!=null&&I.maps)){y.value=!0;return}const R=new window.google.maps.Geocoder,V=new window.google.maps.LatLng(s.value.lat,s.value.lon||s.value.lng);R.geocode({location:V},D=>{if(D&&D.length!==0){C.value=!1;const X=D.filter(W=>W.types[0]!=="plus_code");s.value.detailAddress=X[0].formatted_address,r(B,s.value.detailAddress)}else C.value=!1},()=>{C.value=!1})}const E=e.ref("hover");function S(){!s.value.lat||!(s.value.lon||s.value.lng)||s.value.detailAddress&&(E.value="contextmenu",setTimeout(()=>{w.value=!0},61))}let A=0;function N(){E.value="hover",A=setTimeout(()=>{w.value=!1},61)}function O(){E.value==="hover"&&A&&clearTimeout(A)}function M(B){if(!B)return;const R=document.createElement("textarea");R.value=B,document.body.appendChild(R),R.select(),document.execCommand("Copy"),document.body.removeChild(R),o.success(l("copySuccessful"))}function H(B){c("mouseover",B,i.message)}function z(B){c("mouseout",B,i.message)}function P(){c("click",i.message)}return(B,R)=>{var W,re;const V=e.resolveComponent("anSvgIcon"),I=e.resolveComponent("text-clamp"),D=$n,X=_m;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass(["vehicle-one",[m(s.value),{haveBorder:t.haveBorder},{active:t.currentItem.id===t.message.id}]]),style:e.normalizeStyle({height:s.value.modelId===54&&s.value.thumb?"144px":"128px"}),onMouseover:H,onMouseout:z,onClick:P},[e.createElementVNode("div",{class:"name_address",style:e.normalizeStyle({paddingBottom:s.value.modelId===54&&s.value.thumb?"32px":"15px"})},[e.createVNode(D,{"show-arrow":!1,visible:u.value,"onUpdate:visible":R[0]||(R[0]=fe=>u.value=fe),"popper-class":"normal-txt-pop",effect:"dark",content:t.message.name,teleported:!0,"hide-after":0,trigger:"contextmenu",placement:"top-start","append-to":"#leftSide"},{default:e.withCtx(()=>[e.createElementVNode("div",yV,[e.createVNode(V,{name:p(t.message.content.assetType,t.message.content.newIcon,t.message.isDevice||0)},null,8,["name"]),e.createElementVNode("span",{onMouseenter:v,onMouseleave:k},[e.createVNode(I,{text:t.message.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])],32)])]),_:1},8,["visible","content"]),e.createElementVNode("div",{class:"address",onMouseenter:S,onMouseleave:N},[e.createVNode(V,{name:"address-icon",fontSize:"16",color:"#000"}),e.createElementVNode("div",{class:e.normalizeClass(["address-time",{"detail-address-time":s.value.lat&&(s.value.lon||s.value.lng)&&s.value.detailAddress}])},[s.value.detailAddress?(e.openBlock(),e.createElementBlock("span",kV,e.toDisplayString(s.value.detailAddress),1)):(e.openBlock(),e.createElementBlock("span",vV,e.toDisplayString(((W=s.value.state)!=null&&W.endsWith(" Province")?s.value.state.replace(" Province",""):s.value.state)||"-"),1)),e.createElementVNode("span",null,e.toDisplayString(e.unref(Ti)(s.value.locationTime)),1)],2),e.createVNode(D,{effect:"dark",placement:"top",trigger:s.value.lat&&(s.value.lon||s.value.lng)&&s.value.detailAddress?E.value:"click","show-arrow":!1,teleported:!0,"hide-after":s.value.lat&&(s.value.lon||s.value.lng)&&s.value.detailAddress&&E.value==="hover"?60:0,"append-to":"#leftSide",disabled:!(s.value.lat&&(s.value.lon||s.value.lng)),visible:w.value,"onUpdate:visible":R[5]||(R[5]=fe=>w.value=fe),"popper-class":"any-address-pop"},{content:e.withCtx(()=>[e.createElementVNode("div",{class:"detail-content",onMouseenter:O},[e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(s.value.detailAddress||"-"),1),e.createElementVNode("div",bV,e.toDisplayString(e.unref(Ti)(s.value.locationTime)),1),e.createElementVNode("div",wV,e.toDisplayString(e.unref(l)("lastUpdate"))+": "+e.toDisplayString(s.value.timeDiff),1)]),e.createElementVNode("div",{class:"refreshIcon",onClick:R[4]||(R[4]=e.withModifiers(fe=>M(s.value.detailAddress),["stop"]))},[e.createVNode(V,{name:"cop-icon","font-size":18})])],32)]),default:e.withCtx(()=>[s.value.lat&&(s.value.lon||s.value.lng)&&s.value.detailAddress?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["svg-icon copy-detail-adress",{default:!(s.value.lat&&(s.value.lon||s.value.lng))}]),onClick:R[2]||(R[2]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(V,{name:"copy-detail-adress",fontSize:"24",color:"#000",onClick:R[1]||(R[1]=e.withModifiers(fe=>M(s.value.detailAddress),["stop"]))})],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["svg-icon",{default:!(s.value.lat&&(s.value.lon||s.value.lng))}]),onClick:R[3]||(R[3]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(V,{name:m(s.value)!=="offline-li"?"address-more":"address-more-offline",fontSize:"16",color:"#fff",onClick:T},null,8,["name"])],2))]),_:1},8,["trigger","hide-after","disabled","visible"])],32)],4),e.createElementVNode("div",CV,[e.createElementVNode("div",EV,[e.createElementVNode("div",TV,[e.createElementVNode("i",{class:e.normalizeClass([f(s.value||{}).class])},null,2),e.createElementVNode("span",null,e.toDisplayString(f(s.value||{}).label),1)]),e.createVNode(D,{effect:"dark",placement:"top",trigger:"hover","hide-after":0,"show-arrow":!1,teleported:!0,"append-to":"#leftSide",content:e.unref(l)("lastUpdate")+" "+(s.value.timeDiff?s.value.timeDiff:"-")},{default:e.withCtx(()=>[e.createElementVNode("div",NV,e.toDisplayString(s.value.timeDiff?s.value.timeDiff:"-"),1)]),_:1},8,["content"])]),e.createElementVNode("div",SV,[t.activeOne===1&&d.value.inL?(e.openBlock(),e.createBlock(D,{key:0,"show-arrow":!1,"popper-class":"normal-txt-pop",effect:"dark",content:d.value.hereLandmarkName,teleported:!0,"hide-after":0,placement:"top-start","append-to":"#leftSide"},{default:e.withCtx(()=>[e.createVNode(V,{name:"from-landmark-icon",class:"from-landmark-icon",color:"#F32C1D"})]),_:1},8,["content"])):e.createCommentVNode("",!0),s.value.modelId===37||s.value.modelId===44?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(V,{name:"temp-hot-line"}),e.createElementVNode("span",{class:e.normalizeClass({red:s.value.alarmType&&s.value.alarmType.length>0&&s.value.alarmType.includes(6)})},e.toDisplayString(e.unref(nV)(Number(s.value.temperature))),3)],64)):e.createCommentVNode("",!0),s.value.modelId===62?(e.openBlock(),e.createBlock(V,{key:2,name:"molive",color:s.value.conStatus?"#000":"#9A9A9A",class:e.normalizeClass({hasConnect:s.value.conStatus&&m(s.value)!="offline-li"})},null,8,["color","class"])):e.createCommentVNode("",!0),s.value.modelId===54&&(g(s.value.load)||g(s.value.manualSetLoad))&&((re=s.value.triggerType)==null?void 0:re.trim())!="DoorOpen"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createVNode(V,{name:"load-num-icon"}),e.createElementVNode("span",null,e.toDisplayString(s.value.manualSetLoad&&s.value.manualSetLoad!==-1||s.value.manualSetLoad===0?s.value.manualSetLoad:s.value.load||"0")+"%",1)],64)):e.createCommentVNode("",!0),s.value.modelId===54&&s.value.triggerType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[s.value.triggerType.trim()==="DoorOpen"?(e.openBlock(),e.createBlock(D,{key:0,effect:"dark",content:e.unref(l)("doorOpenCurrently"),placement:"top","hide-after":0,"show-arrow":!1,teleported:!0,"append-to":"#leftSide"},{default:e.withCtx(()=>[m(s.value)==="offline-li"?(e.openBlock(),e.createBlock(V,{key:0,class:"doorOpenIconOffline",name:"doorOpenIconOffline",color:"#F32C1D "})):(e.openBlock(),e.createBlock(V,{key:1,class:"doorOpen",name:"doorOpenIcon2",color:"#F32C1D "}))]),_:1},8,["content"])):s.value.triggerType.trim()==="DoorClose"?(e.openBlock(),e.createBlock(D,{key:1,effect:"dark",content:e.unref(l)("doorCloseCurrently"),placement:"top","hide-after":0,"show-arrow":!1,teleported:!0,"append-to":"#leftSide"},{default:e.withCtx(()=>[m(s.value)==="offline-li"?(e.openBlock(),e.createBlock(V,{key:0,class:"doorCloseIconOffline",name:"doorCloseIconOffline",color:"#12B76A "})):(e.openBlock(),e.createBlock(V,{key:1,class:"doorClose",name:"doorCloseIcon2",color:"#12B76A "}))]),_:1},8,["content"])):s.value.triggerType.trim()==="OnDemand"?(e.openBlock(),e.createBlock(V,{key:2,name:"onDemand",color:"#000000"})):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createVNode(D,{teleported:!0,"append-to":"#leftSide","show-arrow":!1,"popper-class":"normal-txt-pop",effect:"dark","hide-after":0,placement:"top-start"},{content:e.withCtx(()=>[e.createElementVNode("div",VV,[e.createElementVNode("span",null,e.toDisplayString(s.value.signals||s.value.signals===0?s.value.signals:"-"),1)])]),default:e.withCtx(()=>[e.createVNode(V,{name:h(s.value),color:"#000000"},null,8,["name"])]),_:1}),s.value.modelId!=62?(e.openBlock(),e.createBlock(D,{key:5,teleported:!0,"append-to":"#leftSide","show-arrow":!1,"popper-class":"normal-txt-pop",effect:"dark","hide-after":0,placement:"top-start"},{content:e.withCtx(()=>[e.createElementVNode("div",AV,[e.createElementVNode("span",null,e.toDisplayString(s.value.battery||s.value.battery===0?s.value.battery+"%":"-"),1),m(s.value)!=="offline-li"&&e.unref(z1)(s.value||{}).includes("battery-charge")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(V,{name:"ischarge",fontSize:10}),e.createElementVNode("span",null,e.toDisplayString(s.value.current)+"mA",1)],64)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createVNode(V,{class:"battery-icon",name:e.unref(z1)(s.value||{}),color:"rgb(2, 2, 2)"},null,8,["name"])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",BV,[s.value.modelId===54&&s.value.thumb?(e.openBlock(),e.createBlock(X,{key:0,class:"model-image",src:s.value.thumb},{error:e.withCtx(()=>[e.createElementVNode("div",IV,[e.createVNode(V,{name:"image-error",color:"rgba(223, 223, 223, 1)",fontSize:"24"})])]),placeholder:e.withCtx(()=>[e.createElementVNode("div",MV,[e.createVNode(V,{name:"loading-icon",fontSize:"24"})])]),_:1},8,["src"])):e.createCommentVNode("",!0)])])],38),y.value?(e.openBlock(),e.createElementBlock("div",DV,[e.createVNode(e.unref(o1),{"api-key":OV,onIdle:b})])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-f11d8e7a"]]),xV=["id"],PV={name:"tagone"},RV=e.defineComponent({...PV,props:{item:{type:Object,default(){return{}}},notSecondChildren:{type:Boolean,default:!1},inTagScroll:{type:Boolean,default:!1},tagVehicleNumber:{type:Object,default(){return{}}}},emits:["clickItem"],setup(t,{emit:n}){const o=t,a=n;new Bc("Inter").load().then(()=>{l()});function l(){e.nextTick(()=>{const h=c.value,g=document.createRange();g.setStart(h,0),g.setEnd(h,h.childNodes.length),Math.round(g.getBoundingClientRect().width)>c.value.clientWidth&&(s.value=!1)})}e.watch(()=>{var h;return(h=o.item)==null?void 0:h.name},()=>{l()});const i=e.computed(()=>{var h;return!!(o.tagVehicleNumber&&!o.tagVehicleNumber[(h=o.item)==null?void 0:h.id])}),c=e.ref(),s=e.ref(!0);e.onMounted(()=>{l()});const d=e.ref(!1);e.watch(()=>o.inTagScroll,()=>{o.inTagScroll&&(d.value=!1)});function p(h){a("clickItem",h)}function m(h){var g;p(h),(g=h.children)!=null&&g.length&&(h.isClose=!h.isClose)}return(h,g)=>{var k,y;const f=e.resolveComponent("anSvgIcon"),u=$n,v=e.resolveComponent("tagone");return e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle([{position:"relative",overflow:"hidden"},{backgroundColor:!t.item.isClose&&((k=t.item.children)!=null&&k.length)&&!t.notSecondChildren?"#f4f4f4":"inherit",borderRadius:t.item.isClose?"":"6px",marginTop:t.item.level===0?"4px":""}])},[e.createVNode(u,{effect:"dark","show-arrow":!1,content:t.item.name,placement:"right",teleported:!0,disabled:s.value||t.inTagScroll,visible:d.value,"onUpdate:visible":g[1]||(g[1]=b=>d.value=b),"hide-after":0,"popper-class":"any-tag-pop"},{default:e.withCtx(()=>{var b,w;return[e.createElementVNode("div",{class:e.normalizeClass(["level-tag-list-one",{parentOne:t.item.level===0&&((b=t.item.children)==null?void 0:b.length),disabledHover:i.value}]),id:`${t.item.itemId}_tag`,onClick:g[0]||(g[0]=C=>m(t.item)),style:e.normalizeStyle({paddingLeft:8+t.item.level*24+"px"})},[e.createVNode(f,{name:"tag-list-arrow",style:e.normalizeStyle({opacity:(w=t.item.children)!=null&&w.length?1:0}),class:e.normalizeClass(["arrow-icon",{iconClose:t.item.isClose}])},null,8,["style","class"]),e.createVNode(f,{name:"tag-tab-icon",fontSize:20}),e.createElementVNode("span",{class:"over-ellipsis",ref_key:"tagOneSpan",ref:c},e.toDisplayString(t.item.name),513)],14,xV)]}),_:1},8,["content","disabled","visible"]),(y=t.item.children)!=null&&y.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.item.children,b=>(e.openBlock(),e.createBlock(v,{item:b,notSecondChildren:!0,inTagScroll:t.inTagScroll,class:e.normalizeClass({close:t.item.isClose}),onClickItem:p,tagVehicleNumber:t.tagVehicleNumber},null,8,["item","inTagScroll","class","tagVehicleNumber"]))),256)):e.createCommentVNode("",!0)],4)}}}),FV=vt(RV,[["__scopeId","data-v-b0783b7e"]]),zV={};function HV(t,n){const o=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createBlock(o,{fontSize:32,name:"new-close-icon"})}const ol=vt(zV,[["render",HV]]),ZV={};function YV(t,n){const o=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createBlock(o,{fontSize:24,name:"new-search-icon",color:"#000"})}const al=vt(ZV,[["render",YV]]),Gc=e.defineComponent({__name:"tooltipSpan",props:{name:{type:String,default:""}},setup(t){const n=t,o=e.ref(),a=e.ref(!0);function r(){o.value.style.display="block",e.nextTick(()=>{const l=o.value,i=document.createRange();i.setStart(l,0),i.setEnd(l,l.childNodes.length),Math.round(i.getBoundingClientRect().width)>o.value.clientWidth?a.value=!1:a.value=!0,o.value.style.display=""})}return e.onMounted(()=>{r()}),e.watch(()=>n.name,()=>{r()}),(l,i)=>{const c=$n;return e.openBlock(),e.createBlock(c,{effect:"dark",content:t.name,placement:"top","show-arrow":!1,teleported:!0,disabled:a.value,"hide-after":0},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"over-ellipsis",ref_key:"tagOneSpan",ref:o},e.toDisplayString(t.name),513)]),_:1},8,["content","disabled"])}}}),jV={class:"vehicle-select-body-top"},_V=["onClick"],UV={class:"padding"},GV={class:"popover-choose-one el-popover el-popper"},WV={class:"choose-list-one"},KV={class:"number"},QV=["onClick"],qV={class:"number"},XV=["onClick"],JV={class:"padding"},$V=["onClick"],eA={class:"number"},tA={key:0,class:"nodata"},nA={class:"choose-list-one"},oA={class:"number"},aA={class:"padding"},rA=["onClick"],lA={class:"number"},iA={key:0,class:"nodata"},sA={class:"popover-choose-one el-popover el-popper"},cA=["onClick"],dA=vt(e.defineComponent({__name:"vehicleFilter",props:{sortKey:{type:String,default:"asc"},vehicleTypeList:{type:Array,default(){return[]}},propsModleList:{type:Array,default(){return[]}},loading:{type:Boolean,default:!1}},emits:["update:sortKey","filter","eventTracking"],setup(t,{emit:n}){const{t:o}=Xt(),{modelList:a}=ea(),r=t,l=n,i=[{label:o("drivingFirst"),value:"driving",eventtracking:"sort_drivingFirst",type:"custorm"},{label:o("idleFirst"),value:"idle",eventtracking:"sort_idleFirst",type:"custorm"},{label:o("warningFirst"),value:"waring",eventtracking:"sort_warningFirst",type:"custorm"},{label:o("offlineFirst"),value:"offline",eventtracking:"sort_offlineFirst",type:"custorm"},{label:o("batteryOnUseFirst"),value:"battery",eventtracking:"sort_batteryFirst",type:"custorm"},{value:"batterydivided",divided:!0},{label:o("lastUpdated"),value:"last",eventtracking:"sort_lastUpdated",type:"sort"},{label:o("createFirst"),value:"create",eventtracking:"sort_createFirst",type:"sort"},{value:"createdivided",divided:!0},{label:"A--Z",value:"asc",eventtracking:"sort_AZ",type:"sort"},{label:"Z--A",value:"desc",eventtracking:"sort_ZA",type:"sort"}],c=e.ref(!1),s=e.computed(()=>{if(r.sortKey){const O=i.find(M=>M.value===r.sortKey);if(O)return O.label}return"A--Z"});function d(O){O.divided||(l("update:sortKey",O.value),l("eventTracking",O.eventtracking),c.value=!1,g.value=!1)}function p(){l("eventTracking","sort_addClick")}function m(){l("eventTracking","filter_addClick")}const h=[{label:o("viewSelectedVehicle"),value:"asset",eventtracking:"viewAssetOnly",type:"view"},{label:o("viewSelectedDevice"),value:"device",eventtracking:"viewDeviceOnly",type:"view"}],g=e.ref(!1);function f(O){O.number&&(O.isChecked=!O.isChecked)}function u(O,M){M.children.every(H=>!H.number)||(M.isChecked=O,M.indeterminate=!1,M.children.map(H=>{H.number&&(H.isChecked=O)}))}function v(O){O.number&&r.vehicleTypeList.map(M=>{if(M.assetType===9999){if(M.children.every(P=>!P.number))return;O.isChecked=!O.isChecked;let H=!0,z=!1;M.children.map(P=>{P.number&&(P.isChecked?z=!0:H=!1)}),H?M.isChecked=!0:M.isChecked=!1,!M.isChecked&&z?M.indeterminate=!0:M.indeterminate=!1}})}const k=e.ref(""),y=e.ref(),b=()=>{k.value="",T()},w=e.ref([]);e.onMounted(()=>{C()}),e.watch(()=>r.loading,()=>{r.loading||e.nextTick(()=>{C()})});function C(){const O=a.filter(M=>M.number?r.propsModleList.length?r.propsModleList.includes(M.modelId):!0:!1);k.value?w.value=O.filter(M=>(M.modelName+"").replace(/\s+/g," ").trim().toLocaleLowerCase().includes(k.value.trim().replace(/\s+/g," ").toLocaleLowerCase())):w.value=[...O]}const T=tc(async()=>{C()},400),E=e.computed(()=>{const O=[];let M=!1,H=!1;return r.vehicleTypeList.map(z=>{z.assetType===9999?z.children.map(P=>{P.isChecked&&(M=!0,O.push({obj:P,isAssetType:!0}))}):z.isChecked&&(M=!0,O.push({obj:z,isAssetType:!0}))}),a.map(z=>{z.isChecked&&(H=!0,O.push({obj:z,isModel:!0}))}),M&&l("eventTracking","filter_viewAssetOnly"),H&&l("eventTracking","filter_viewDeviceOnly"),l("filter",O),O});function S(O){O.obj.isChecked=!1}const A=e.computed(()=>{let O=0;return E.value.map(M=>{M.isAssetType&&O++}),O}),N=e.computed(()=>{let O=0;return E.value.map(M=>{M.isModel&&O++}),O});return(O,M)=>{const H=e.resolveComponent("anSvgIcon"),z=_o,P=pa,B=Gs,R=mo;return e.openBlock(),e.createElementBlock("div",jV,[e.createVNode(H,{name:"fliter-icon",fontSize:"24",color:"#000"}),e.createVNode(z,{placement:"bottom-start",width:240,"show-arrow":!1,trigger:"click","hide-after":0,"popper-class":"popover-choose",visible:c.value,"onUpdate:visible":M[0]||(M[0]=V=>c.value=V),teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"like-select",onClick:p},[e.createVNode(Gc,{name:s.value},null,8,["name"]),e.createVNode(H,{name:"choose-arrow-down",fontSize:"24",color:"#9A9A9A"})])]),default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(i,V=>e.createElementVNode("div",{class:e.normalizeClass(["choose-list-one",{divided:V.divided,active:t.sortKey&&t.sortKey===V.value}]),key:V.label,onClick:I=>d(V)},[V.divided?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(H,{name:"filterchecked",fontSize:"24",color:"rgba(0, 0, 0, 1)"}),e.createElementVNode("span",null,e.toDisplayString(V.label),1)],64))],10,_V)),64))]),_:1},8,["visible"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value.slice(0,2),(V,I)=>{var D,X;return e.openBlock(),e.createElementBlock("div",{class:"choose-filter-one",key:I},[e.createVNode(Gc,{name:((D=V.obj)==null?void 0:D.modelName)||e.unref(o)((X=V.obj)==null?void 0:X.type)},null,8,["name"]),e.createVNode(H,{fontSize:24,name:"new-close-icon",color:"rgba(154, 154, 154, 1)",onClick:W=>S(V)},null,8,["onClick"])])}),128)),E.value.length>=3?(e.openBlock(),e.createBlock(z,{key:0,placement:"bottom-start",width:122,"show-arrow":!1,trigger:"click","hide-after":0,"popper-class":"popover-choose popover-choose-more popover-choose-customize",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(H,{name:"more",fontSize:"32",color:"#000",class:"filter-add"})])]),default:e.withCtx(()=>[e.createElementVNode("div",UV,[e.createVNode(P,{"max-height":"300px"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value.slice(2),(V,I)=>{var D,X;return e.openBlock(),e.createElementBlock("div",{class:"choose-filter-one",key:I},[e.createVNode(Gc,{name:((D=V.obj)==null?void 0:D.modelName)||e.unref(o)((X=V.obj)==null?void 0:X.type)},null,8,["name"]),e.createVNode(H,{fontSize:24,name:"new-close-icon",color:"rgba(154, 154, 154, 1)",onClick:W=>S(V)},null,8,["onClick"])])}),128))]),_:1})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(z,{placement:"bottom-start",width:240,"show-arrow":!1,trigger:"click","hide-after":0,"popper-class":"popover-choose-filter",visible:g.value,"onUpdate:visible":M[6]||(M[6]=V=>g.value=V),teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",{onClick:m},[e.createVNode(H,{name:"filter-add",fontSize:"32",color:"#9A9A9A",class:"filter-add"})])]),default:e.withCtx(()=>[e.createElementVNode("div",GV,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(h,V=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V.label},[V.value==="asset"?(e.openBlock(),e.createBlock(z,{key:0,placement:"right-start",width:230,"show-arrow":!1,trigger:"hover","hide-after":0,"popper-class":"popover-choose popover-choose-inFilter",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",WV,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(V.label),1),e.createElementVNode("span",KV," ("+e.toDisplayString(A.value)+")",1)]),e.createVNode(H,{name:"arrow-right-icon",class:"arrow-right-icon"})])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.vehicleTypeList,I=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:I.id},[I.assetType!==9999?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["choose-list-one",{"disable-check":!I.number}]),onClick:e.withModifiers(D=>f(I),["stop"])},[e.createVNode(B,{class:"anytrek-checkbox",modelValue:I.isChecked,"onUpdate:modelValue":D=>I.isChecked=D,onClick:M[1]||(M[1]=e.withModifiers(()=>{},["stop"])),disabled:!I.number},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(e.unref(o)(I.type)),1),e.createElementVNode("span",qV," ("+e.toDisplayString(I.number)+")",1)])],10,QV)),[[e.vShow,I.number]]):(e.openBlock(),e.createBlock(z,{key:1,placement:"right-start",width:230,"show-arrow":!1,trigger:"hover","hide-after":0,"popper-class":"popover-choose popover-choose-inFilter popover-choose-customize",teleported:!1},{reference:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["choose-list-one",{"disable-check":I.children.every(D=>!D.number)}]),onClick:e.withModifiers(D=>u(!I.isChecked,I),["stop"])},[e.createVNode(B,{class:"anytrek-checkbox",modelValue:I.isChecked,"onUpdate:modelValue":D=>I.isChecked=D,onClick:M[2]||(M[2]=e.withModifiers(()=>{},["stop"])),onChange:D=>u(D,I),indeterminate:I.indeterminate,disabled:I.children.every(D=>!D.number)},null,8,["modelValue","onUpdate:modelValue","onChange","indeterminate","disabled"]),e.createElementVNode("span",null,e.toDisplayString(I.name),1),e.createVNode(H,{name:"arrow-right-icon",class:"arrow-right-icon"})],10,XV),[[e.vShow,I.children.some(D=>D.number)]])]),default:e.withCtx(()=>[e.createElementVNode("div",JV,[e.createVNode(P,{"max-height":"500px"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.children,D=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["choose-list-one finall-one",{"disable-check":!D.number}]),key:D.id,onClick:e.withModifiers(X=>v(D),["stop"])},[e.createVNode(H,{name:"vehicle-"+D.icons[0],color:"#000000",class:"icon"},null,8,["name"]),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(D.name),1),e.createElementVNode("span",eA," ("+e.toDisplayString(D.number)+")",1)]),e.createVNode(B,{class:"anytrek-checkbox",modelValue:D.isChecked,"onUpdate:modelValue":X=>D.isChecked=X,onClick:M[3]||(M[3]=e.withModifiers(()=>{},["stop"])),disabled:!D.number},null,8,["modelValue","onUpdate:modelValue","disabled"])],10,$V)),[[e.vShow,D.number]])),128))]),_:2},1024)])]),_:2},1024))],64))),128)),t.vehicleTypeList.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tA,e.toDisplayString(e.unref(o)("noData")),1))]),_:2},1024)):(e.openBlock(),e.createBlock(z,{key:1,placement:"right-start",width:261,"show-arrow":!1,trigger:"hover","hide-after":0,"popper-class":"popover-choose popover-choose-inFilter popover-choose-customize",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",nA,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(V.label),1),e.createElementVNode("span",oA," ("+e.toDisplayString(N.value)+")",1)]),e.createVNode(H,{name:"arrow-right-icon",class:"arrow-right-icon"})])]),default:e.withCtx(()=>[e.createElementVNode("div",aA,[e.createVNode(P,{"max-height":"500px"},{default:e.withCtx(()=>[e.createVNode(R,{modelValue:k.value,"onUpdate:modelValue":M[4]||(M[4]=I=>k.value=I),placeholder:e.unref(o)("searchDevice"),class:"anytrek-vehicle-auto-search","prefix-icon":al,onInput:e.unref(T),size:"large",ref_for:!0,ref_key:"searchInput",ref:y},{suffix:e.withCtx(()=>[k.value?(e.openBlock(),e.createBlock(ol,{key:0,onClick:b})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder","onInput"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,I=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["choose-list-one",{"disable-check":!I.number}]),key:I.modelId,onClick:e.withModifiers(D=>f(I),["stop"])},[e.createVNode(B,{class:"anytrek-checkbox",modelValue:I.isChecked,"onUpdate:modelValue":D=>I.isChecked=D,onClick:M[5]||(M[5]=e.withModifiers(()=>{},["stop"])),disabled:!I.number},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(I.modelName),1),e.createElementVNode("span",lA," ("+e.toDisplayString(I.number)+")",1)])],10,rA)),[[e.vShow,I.number]])),128)),w.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",iA,e.toDisplayString(e.unref(o)("noData")),1))]),_:2},1024)])]),_:2},1024))],64))),64))]),e.createElementVNode("div",sA,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(i,V=>e.createElementVNode("div",{class:e.normalizeClass(["choose-list-one",{divided:V.divided,active:t.sortKey&&t.sortKey===V.value}]),key:V.label,onClick:I=>d(V)},[V.divided?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(H,{name:"filterchecked",fontSize:"24",color:"rgba(0, 0, 0, 1)"}),e.createElementVNode("span",null,e.toDisplayString(V.label),1)],64))],10,cA)),64))])]),_:1},8,["visible"])])}}}),[["__scopeId","data-v-64c8e5a4"]]),uA={class:"vehicle-select-body"},fA={class:"vehicle-select-search-body"},mA={class:"vehicle-select-body-content"},pA={key:0,class:"loading"},hA=["onClick"],gA={class:"over-ellipsis"},yA={key:0,class:"tag-list"},kA={style:{position:"relative"}},vA=`
213
+ }`}],ea=XS("message",()=>{const t=e.ref(JSON.parse(localStorage.getItem("customerHabit")||'{"showDevice":true}')||{showDevice:!0});function n(i){t.value=i}const o=e.ref($S.filter(i=>i.isParts===0));function a(i){o.value=i}const r={};function l(i,c){r[i]=c}return{customerHabit:t,changeHabit:n,modelList:o,changeModelList:a,addressJson:r,setAddressJson:l}});U.extend(To),U.extend(Do),U.extend(Oo);const pr=ea(Yc),eV=function(){const t="2.7.0",n={versionNumber:t,version:`v${t}`,antRouter:"",mapType:"GoogleMap",defaultMapLayer:"road",dateTimeFormat:"YYYY-MM-DD HH",language:"en",languages:[{key:"en",value:"English"},{key:"fr",value:"Français"},{key:"es",value:"Español"},{key:"zh",value:"简体中文"}],distanceUnit:0,distanceUnits:["mi","km"],speedUnit:0,speedUnits:["mph","km/h"],tempUnit:0,tempUnits:["℉","℃"],orgType:{partner:4},orgTypes:{4:{value:4,label:"Partner"},5:{value:5,label:"Customer"},6:{value:6,label:"Owner"},1:{value:1,label:"Common"}},alarmTypes:[{value:1,label:"Low Battery",compare:[{v:1,l:"<"}]},{value:3,label:"ACC",compare:[{v:0,l:"="}]},{value:4,label:"Geofence",compare:[{v:6,l:"Entry"},{v:7,l:"Exit"}]},{value:5,label:"Speed",compare:[{v:2,l:">"}]},{value:6,label:"Temperature",compare:[{v:2,l:">"},{v:1,l:"<"}]},{value:8,label:"Idle"},{value:9,label:"Maintenance"},{value:11,label:"Offline"}],zoom:2,center:{lat:39.7668,lng:-101.4257},mergeMarker:!0,timezone:"-0700",localTimezone:!0,showDevice:!0,showUpdatedMessage:!0,markerType:"arrow",historyTimePicker:[2,6,12,"day","week","month"],reportTimePicker:["month","quarter","year"],trailerType:["dry van","reefer","chassis","flatbed","tanker","lowboy","step"],specialChars:["<",">","?",",","/",":",'"',";","'","~","`","!","@","#","$","%","^","&","*","(",")","_","+","-","=","{","}","|","[","]","\\"]};window.trkConfig=n};window.trkConfig||eV();let jc=TC("customerHabit");try{const t=JSON.parse(jc)||{},{mapType:n,defaultMapLayer:o,distanceUnit:a,speedUnit:r,tempUnit:l,mergeMarker:i,showDevice:c,showUpdatedMessage:s,dateTimeFormat:d}=window.trkConfig,m=Object.assign({mapType:n,defaultMapLayer:o,distanceUnit:a,speedUnit:r,tempUnit:l,mergeMarker:i,showDevice:c,showUpdatedMessage:s,dateTimeFormat:d},t);m.language==="zh"&&(m.language="en"),jc=m,pr.changeHabit(m)}catch{jc={},pr.changeHabit({})}function _c({year:t=!0,month:n=!0,day:o=!0,time:a=!0,second:r=!1,blank:l=!0}){let i="";const c=pr.customerHabit.dateTimeFormat;if(c){const s=c.split(" ");let d=s.length>=1?s[0]:"";const p=s.length===2?s[1]:"",m=p==="h"?"A":"",h=d.indexOf("/")>-1?"/":"-",g=d.indexOf("Y"),f=d.indexOf("M"),u=d.indexOf("D");t||(d=u>g?d.replace(`YYYY${h}`,""):d.replace(`${h}YYYY`,"")),n||(d=u>f?d.replace(`MM${h}`,""):d.replace(`${h}MM`,"")),o||(d.indexOf(h)>-1?d=u>g?d.replace(`DD${h}`,""):d.replace(`${h}DD`,""):d=d.replace("DD","")),i=d,a&&(i+=r?` ${p}:mm:ss${`${l&&m?" ":""}${m}`}`:` ${p}:mm${`${l&&m?" ":""}${m}`}`)}return i}function Ti(t,n=!1){if(!t)return"-";let o=U.tz.guess();!pr.customerHabit.localTimezone&&pr.customerHabit.timeZone&&(o=pr.customerHabit.timeZone);const a=_c({year:!0,month:!0,day:!0,time:!0,second:!1,blank:!1}),r=U.utc(t).tz(o).format(a);return n?r+"("+o+")":r}function tV(t){return Math.ceil(new Date(t).getTime())}const R1=t=>{const n=U();return U(t).diff(n,"days")},Uc=t=>Ti(t),F1=ea(Yc),nV=(t,n=!0,o=1)=>{if(typeof t!="number"||Number.isNaN(t)||t===888||t===475.6)return"-";const a=!F1.customerHabit||F1.customerHabit.tempUnit===0?"℉":"℃",r=Number.isInteger(t*9/5+32)?t*9/5+32:(t*9/5+32).toFixed(o),l=a==="℃"?Number(t).toFixed(1):r;return n?l+a:l},oV=t=>{const n=t.locationReportTime?new Date(t.locationReportTime).getTime():0;let o=0;if(t.modelId&&t.modelId===62&&t.conStatus===!1)o=0;else if(!t.userPackageId)o=-2;else if(!n)o=-1;else{const a=new Date(n).getTime(),r=new Date().getTime()/1e3-a/1e3;r<3600*24&&t.charging===1?o=1:r<3600*24&&t.charging===0?o=2:o=0}return o},aV=t=>t.trackerStatus===0?"Offline":t.trackerStatus<0?"-":t.event===1?"Driving":t.acc===0&&t.modelId&&(t.modelId===8||t.modelId===9||t.modelId===62)?"Engine Off":"Idle",z1=t=>{if(!t.trackerStatus||t.trackerStatus<=0)return"battery-offline";let n="",o;return t.battery>80?o=100:t.battery>60?o=80:t.battery>40?o=60:t.battery>20?o=40:o=20,t.trackerStatus===1?n="charge":t.trackerStatus===2&&(n="nocharge"),`battery-${n}${o}`},H1=t=>{if(!t)return"-";const o=tV(new Date)-t;if(o<0)return"0s";const a=o/1e3,r=o/1e3/60,l=o/1e3/60/60,i=o/1e3/60/60/24;return a<60?`${Math.floor(a)}s ago`:r<60?`${Math.floor(r)}m ago`:l<24?`${Math.floor(l)}h ago`:i<=30?`${Math.floor(i)}d ago`:">30d"},rV={},lV={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function iV(t,n){return e.openBlock(),e.createElementBlock("svg",lV,n[0]||(n[0]=[e.createElementVNode("rect",{x:"2.68359",y:"2.68359",width:"26.6328",height:"26.6328",rx:"13.3164",stroke:"#12B76A","stroke-width":"1.5"},null,-1),e.createElementVNode("path",{d:"M9.45117 15.5081L12.8308 18.8879C13.3547 19.4118 13.6166 19.6737 13.9187 19.7719C14.1844 19.8582 14.4706 19.8582 14.7363 19.7719C15.0383 19.6737 15.3003 19.4118 15.8241 18.8879L22.5476 12.1641",stroke:"#12B76A","stroke-width":"1.5","stroke-linecap":"round"},null,-1)]))}const Z1=vt(rV,[["render",iV]]),sV={},cV={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function dV(t,n){return e.openBlock(),e.createElementBlock("svg",cV,n[0]||(n[0]=[e.createElementVNode("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 15H13V17H11V15ZM11 7H13V13H11V7Z",fill:"#F79009"},null,-1)]))}const Y1=vt(sV,[["render",dV]]),uV={},fV={xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none"};function mV(t,n){return e.openBlock(),e.createElementBlock("svg",fV,n[0]||(n[0]=[e.createElementVNode("path",{d:"M12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12C22 17.5228 17.5228 22 12 22ZM12 20C16.4183 20 20 16.4183 20 12C20 7.58172 16.4183 4 12 4C7.58172 4 4 7.58172 4 12C4 16.4183 7.58172 20 12 20ZM11 7H13V9H11V7ZM11 11H13V17H11V11Z",fill:"#0086C9"},null,-1)]))}const j1=vt(uV,[["render",mV]]),pV={},hV={width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"};function gV(t,n){return e.openBlock(),e.createElementBlock("svg",hV,n[0]||(n[0]=[e.createElementVNode("rect",{x:"2.68359",y:"2.68359",width:"26.6328",height:"26.6328",rx:"13.3164",stroke:"#F32C1D","stroke-width":"1.5"},null,-1),e.createElementVNode("path",{d:"M20.9693 20.9703L11.0293 11.0303M11.0293 20.9703L20.9693 11.0303",stroke:"#F32C1D","stroke-width":"1.5","stroke-linecap":"round"},null,-1)]))}const _1=vt(pV,[["render",gV]]);function nl(){function t(l){let i="info",c="",s={},d={success:Z1,warning:Y1,info:j1,error:_1}[i||"info"];typeof l=="string"?c=l:(i=l.type||"info",c=l.message,s=l.config||{},d={success:Z1,warning:Y1,info:j1,error:_1}[i||"info"]);const p={message:c,type:i||"info",icon:d,customClass:i||"info",...s};dC(p)}function n(l){t({message:l,type:"error"})}function o(l){t({message:l,type:"success"})}function a(l){t({message:l,type:"warning"})}function r(l){t({message:l,type:"info"})}return{open:t,info:r,warning:a,error:n,success:o}}const yV={class:"name"},kV={key:0,class:"over-ellipsis"},vV={key:1,class:"over-ellipsis"},bV={class:"time-txt"},wV={class:"time-txt"},CV={class:"status"},EV={class:"top"},TV={class:"vehicle-status"},NV={class:"driving-time"},SV={class:"middle"},VV={class:"flex-center"},AV={class:"flex-center"},BV={class:"bottom"},IV={class:"image-slot-error"},MV={class:"image-slot-error image-slot-placeholder"},DV={key:0,class:"googleMap"},OV="AIzaSyCn6dlrESg1etQMDgkw4rZk1lzMc-L8feo",LV=vt(e.defineComponent({__name:"chooseOne",props:{message:{type:Object,default(){return{}}},assetTypesMap:{type:Object,default(){return{}}},haveBorder:{type:Boolean,default:!0},currentItem:{type:Object,default(){return{}}},activeOne:{type:Number,default:0},descVisible:{type:Boolean,default:!0}},emits:["mouseover","mouseout","click","descClick"],setup(t,{emit:n}){const o=nl(),{addressJson:a,setAddressJson:r}=ea(),{t:l}=Xt(),i=t,c=n,s=e.computed(()=>i.message.deviceOne||{}),d=e.computed(()=>{const B=i.message.parentId;let R=!1;const V=[];return B&&(i.message.tagList||[]).filter(I=>I.id===B).map(I=>{I.deviceFromLandmark.filter(X=>X.deviceId===s.value.id?(V.push(...X.landmarkIds||[]),!0):!1).length&&(R=!0)}),{inL:R,hereLandmarkName:[...new Set(V)].map(I=>{var D;return((D=(i.message.landmarkList||[]).find(X=>X.id===I))==null?void 0:D.name)||""}).join(";")}}),p=(B,R,V)=>{if(V===1)return"monitorIconCpu";if(!B&&!R)return"Vector";if(R)return"vehicle-"+R;const{icons:I}=i.assetTypesMap[B];return I?"vehicle-"+I[0]:""},m=B=>B.trackerStatus<=0?"offline-li":B.battery&&B.battery<20||B.battery===0?"alarming-li":B.trackerStatus===1?"charging-li":(B.trackerStatus===2,"normal-li"),h=B=>{if(B.signals||B.signals===0)return`signalnew${Math.ceil(B.signals/25)}`};function g(B){return B!=null&&B!==-1}const f=B=>B.trackerStatus===0?{class:"Offline",label:l("offline")}:B.trackerStatus<0?{class:"Offline",label:l("offline")}:B.modelId&&B.modelId===62&&B.acc===0?{class:"Idle",label:l("idle")}:B.event===1?{class:"driving",label:l("driving")}:B.acc===0&&B.modelId&&(B.modelId===8||B.modelId===9)?{class:"Engine Off",label:l("engineOff")}:{class:"Idle",label:l("idle")},u=e.ref(!1),v=B=>{const R=i.message.name+""||"-";B.target.innerText!==R?u.value=!0:u.value=!1},k=()=>{u.value=!1},y=e.ref(!1);function b(){T()}const w=e.ref(!1),C=e.ref(!0);function T(){var I;if(!s.value.lat||!(s.value.lon||s.value.lng))return;w.value=!0;const B=`lat${s.value.lat}lng${s.value.lon||s.value.lng}`;if(a[B]){s.value.detailAddress=a[B];return}if(C.value=!0,!((I=window.google)!=null&&I.maps)){y.value=!0;return}const R=new window.google.maps.Geocoder,V=new window.google.maps.LatLng(s.value.lat,s.value.lon||s.value.lng);R.geocode({location:V},D=>{if(D&&D.length!==0){C.value=!1;const X=D.filter(W=>W.types[0]!=="plus_code");s.value.detailAddress=X[0].formatted_address,r(B,s.value.detailAddress)}else C.value=!1},()=>{C.value=!1})}const E=e.ref("hover");function S(){!s.value.lat||!(s.value.lon||s.value.lng)||s.value.detailAddress&&(E.value="contextmenu",setTimeout(()=>{w.value=!0},61))}let A=0;function N(){E.value="hover",A=setTimeout(()=>{w.value=!1},61)}function O(){E.value==="hover"&&A&&clearTimeout(A)}function M(B){if(!B)return;const R=document.createElement("textarea");R.value=B,document.body.appendChild(R),R.select(),document.execCommand("Copy"),document.body.removeChild(R),o.success(l("copySuccessful"))}function H(B){c("mouseover",B,i.message)}function z(B){c("mouseout",B,i.message)}function P(){c("click",i.message)}return(B,R)=>{var W,re;const V=e.resolveComponent("anSvgIcon"),I=e.resolveComponent("text-clamp"),D=$n,X=_m;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createElementVNode("div",{class:e.normalizeClass(["vehicle-one",[m(s.value),{haveBorder:t.haveBorder},{active:t.currentItem.id===t.message.id}]]),style:e.normalizeStyle({height:s.value.modelId===54&&s.value.thumb?"144px":"128px"}),onMouseover:H,onMouseout:z,onClick:P},[e.createElementVNode("div",{class:"name_address",style:e.normalizeStyle({paddingBottom:s.value.modelId===54&&s.value.thumb?"32px":"15px"})},[e.createVNode(D,{"show-arrow":!1,visible:u.value,"onUpdate:visible":R[0]||(R[0]=fe=>u.value=fe),"popper-class":"normal-txt-pop",effect:"dark",content:t.message.name,teleported:!0,"hide-after":0,trigger:"contextmenu",placement:"top-start","append-to":"#leftSide"},{default:e.withCtx(()=>[e.createElementVNode("div",yV,[e.createVNode(V,{name:p(t.message.content.assetType,t.message.content.newIcon,t.message.isDevice||0)},null,8,["name"]),e.createElementVNode("span",{onMouseenter:v,onMouseleave:k},[e.createVNode(I,{text:t.message.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])],32)])]),_:1},8,["visible","content"]),e.createElementVNode("div",{class:"address",onMouseenter:S,onMouseleave:N},[e.createVNode(V,{name:"address-icon",fontSize:"16",color:"#000"}),e.createElementVNode("div",{class:e.normalizeClass(["address-time",{"detail-address-time":s.value.lat&&(s.value.lon||s.value.lng)&&s.value.detailAddress}])},[s.value.detailAddress?(e.openBlock(),e.createElementBlock("span",kV,e.toDisplayString(s.value.detailAddress),1)):(e.openBlock(),e.createElementBlock("span",vV,e.toDisplayString(((W=s.value.state)!=null&&W.endsWith(" Province")?s.value.state.replace(" Province",""):s.value.state)||"-"),1)),e.createElementVNode("span",null,e.toDisplayString(e.unref(Ti)(s.value.locationTime)),1)],2),e.createVNode(D,{effect:"dark",placement:"top",trigger:s.value.lat&&(s.value.lon||s.value.lng)&&s.value.detailAddress?E.value:"click","show-arrow":!1,teleported:!0,"hide-after":s.value.lat&&(s.value.lon||s.value.lng)&&s.value.detailAddress&&E.value==="hover"?60:0,"append-to":"#leftSide",disabled:!(s.value.lat&&(s.value.lon||s.value.lng)),visible:w.value,"onUpdate:visible":R[5]||(R[5]=fe=>w.value=fe),"popper-class":"any-address-pop"},{content:e.withCtx(()=>[e.createElementVNode("div",{class:"detail-content",onMouseenter:O},[e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(s.value.detailAddress||"-"),1),e.createElementVNode("div",bV,e.toDisplayString(e.unref(Ti)(s.value.locationTime)),1),e.createElementVNode("div",wV,e.toDisplayString(e.unref(l)("lastUpdate"))+": "+e.toDisplayString(s.value.timeDiff),1)]),e.createElementVNode("div",{class:"refreshIcon",onClick:R[4]||(R[4]=e.withModifiers(fe=>M(s.value.detailAddress),["stop"]))},[e.createVNode(V,{name:"cop-icon","font-size":18})])],32)]),default:e.withCtx(()=>[s.value.lat&&(s.value.lon||s.value.lng)&&s.value.detailAddress?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["svg-icon copy-detail-adress",{default:!(s.value.lat&&(s.value.lon||s.value.lng))}]),onClick:R[2]||(R[2]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(V,{name:"copy-detail-adress",fontSize:"24",color:"#000",onClick:R[1]||(R[1]=e.withModifiers(fe=>M(s.value.detailAddress),["stop"]))})],2)):(e.openBlock(),e.createElementBlock("div",{key:1,class:e.normalizeClass(["svg-icon",{default:!(s.value.lat&&(s.value.lon||s.value.lng))}]),onClick:R[3]||(R[3]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(V,{name:m(s.value)!=="offline-li"?"address-more":"address-more-offline",fontSize:"16",color:"#fff",onClick:T},null,8,["name"])],2))]),_:1},8,["trigger","hide-after","disabled","visible"])],32)],4),e.createElementVNode("div",CV,[e.createElementVNode("div",EV,[e.createElementVNode("div",TV,[e.createElementVNode("i",{class:e.normalizeClass([f(s.value||{}).class])},null,2),e.createElementVNode("span",null,e.toDisplayString(f(s.value||{}).label),1)]),e.createVNode(D,{effect:"dark",placement:"top",trigger:"hover","hide-after":0,"show-arrow":!1,teleported:!0,"append-to":"#leftSide",content:e.unref(l)("lastUpdate")+" "+(s.value.timeDiff?s.value.timeDiff:"-")},{default:e.withCtx(()=>[e.createElementVNode("div",NV,e.toDisplayString(s.value.timeDiff?s.value.timeDiff:"-"),1)]),_:1},8,["content"])]),e.createElementVNode("div",SV,[t.activeOne===1&&d.value.inL?(e.openBlock(),e.createBlock(D,{key:0,"show-arrow":!1,"popper-class":"normal-txt-pop",effect:"dark",content:d.value.hereLandmarkName,teleported:!0,"hide-after":0,placement:"top-start","append-to":"#leftSide"},{default:e.withCtx(()=>[e.createVNode(V,{name:"from-landmark-icon",class:"from-landmark-icon",color:"#F32C1D"})]),_:1},8,["content"])):e.createCommentVNode("",!0),s.value.modelId===37||s.value.modelId===44?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createVNode(V,{name:"temp-hot-line"}),e.createElementVNode("span",{class:e.normalizeClass({red:s.value.alarmType&&s.value.alarmType.length>0&&s.value.alarmType.includes(6)})},e.toDisplayString(e.unref(nV)(Number(s.value.temperature))),3)],64)):e.createCommentVNode("",!0),s.value.modelId===62?(e.openBlock(),e.createBlock(V,{key:2,name:"molive",color:s.value.conStatus?"#000":"#9A9A9A",class:e.normalizeClass({hasConnect:s.value.conStatus&&m(s.value)!="offline-li"})},null,8,["color","class"])):e.createCommentVNode("",!0),s.value.modelId===54&&(g(s.value.load)||g(s.value.manualSetLoad))&&((re=s.value.triggerType)==null?void 0:re.trim())!="DoorOpen"?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[e.createVNode(V,{name:"load-num-icon"}),e.createElementVNode("span",null,e.toDisplayString(s.value.manualSetLoad&&s.value.manualSetLoad!==-1||s.value.manualSetLoad===0?s.value.manualSetLoad:s.value.load||"0")+"%",1)],64)):e.createCommentVNode("",!0),s.value.modelId===54&&s.value.triggerType?(e.openBlock(),e.createElementBlock(e.Fragment,{key:4},[s.value.triggerType.trim()==="DoorOpen"?(e.openBlock(),e.createBlock(D,{key:0,effect:"dark",content:e.unref(l)("doorOpenCurrently"),placement:"top","hide-after":0,"show-arrow":!1,teleported:!0,"append-to":"#leftSide"},{default:e.withCtx(()=>[m(s.value)==="offline-li"?(e.openBlock(),e.createBlock(V,{key:0,class:"doorOpenIconOffline",name:"doorOpenIconOffline",color:"#F32C1D "})):(e.openBlock(),e.createBlock(V,{key:1,class:"doorOpen",name:"doorOpenIcon2",color:"#F32C1D "}))]),_:1},8,["content"])):s.value.triggerType.trim()==="DoorClose"?(e.openBlock(),e.createBlock(D,{key:1,effect:"dark",content:e.unref(l)("doorCloseCurrently"),placement:"top","hide-after":0,"show-arrow":!1,teleported:!0,"append-to":"#leftSide"},{default:e.withCtx(()=>[m(s.value)==="offline-li"?(e.openBlock(),e.createBlock(V,{key:0,class:"doorCloseIconOffline",name:"doorCloseIconOffline",color:"#12B76A "})):(e.openBlock(),e.createBlock(V,{key:1,class:"doorClose",name:"doorCloseIcon2",color:"#12B76A "}))]),_:1},8,["content"])):s.value.triggerType.trim()==="OnDemand"?(e.openBlock(),e.createBlock(V,{key:2,name:"onDemand",color:"#000000"})):e.createCommentVNode("",!0)],64)):e.createCommentVNode("",!0),e.createVNode(D,{teleported:!0,"append-to":"#leftSide","show-arrow":!1,"popper-class":"normal-txt-pop",effect:"dark","hide-after":0,placement:"top-start"},{content:e.withCtx(()=>[e.createElementVNode("div",VV,[e.createElementVNode("span",null,e.toDisplayString(s.value.signals||s.value.signals===0?s.value.signals:"-"),1)])]),default:e.withCtx(()=>[e.createVNode(V,{name:h(s.value),color:"#000000"},null,8,["name"])]),_:1}),s.value.modelId!=62?(e.openBlock(),e.createBlock(D,{key:5,teleported:!0,"append-to":"#leftSide","show-arrow":!1,"popper-class":"normal-txt-pop",effect:"dark","hide-after":0,placement:"top-start"},{content:e.withCtx(()=>[e.createElementVNode("div",AV,[e.createElementVNode("span",null,e.toDisplayString(s.value.battery||s.value.battery===0?s.value.battery+"%":"-"),1),m(s.value)!=="offline-li"&&e.unref(z1)(s.value||{}).includes("battery-charge")?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(V,{name:"ischarge",fontSize:10}),e.createElementVNode("span",null,e.toDisplayString(s.value.current)+"mA",1)],64)):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createVNode(V,{class:"battery-icon",name:e.unref(z1)(s.value||{}),color:"rgb(2, 2, 2)"},null,8,["name"])]),_:1})):e.createCommentVNode("",!0)]),e.createElementVNode("div",BV,[s.value.modelId===54&&s.value.thumb?(e.openBlock(),e.createBlock(X,{key:0,class:"model-image",src:s.value.thumb},{error:e.withCtx(()=>[e.createElementVNode("div",IV,[e.createVNode(V,{name:"image-error",color:"rgba(223, 223, 223, 1)",fontSize:"24"})])]),placeholder:e.withCtx(()=>[e.createElementVNode("div",MV,[e.createVNode(V,{name:"loading-icon",fontSize:"24"})])]),_:1},8,["src"])):e.createCommentVNode("",!0)])])],38),y.value?(e.openBlock(),e.createElementBlock("div",DV,[e.createVNode(e.unref(o1),{"api-key":OV,onIdle:b})])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-3976b9d7"]]),xV=["id"],PV={name:"tagone"},RV=e.defineComponent({...PV,props:{item:{type:Object,default(){return{}}},notSecondChildren:{type:Boolean,default:!1},inTagScroll:{type:Boolean,default:!1},tagVehicleNumber:{type:Object,default(){return{}}}},emits:["clickItem"],setup(t,{emit:n}){const o=t,a=n;new Bc("Inter").load().then(()=>{l()});function l(){e.nextTick(()=>{const h=c.value,g=document.createRange();g.setStart(h,0),g.setEnd(h,h.childNodes.length),Math.round(g.getBoundingClientRect().width)>c.value.clientWidth&&(s.value=!1)})}e.watch(()=>{var h;return(h=o.item)==null?void 0:h.name},()=>{l()});const i=e.computed(()=>{var h;return!!(o.tagVehicleNumber&&!o.tagVehicleNumber[(h=o.item)==null?void 0:h.id])}),c=e.ref(),s=e.ref(!0);e.onMounted(()=>{l()});const d=e.ref(!1);e.watch(()=>o.inTagScroll,()=>{o.inTagScroll&&(d.value=!1)});function p(h){a("clickItem",h)}function m(h){var g;p(h),(g=h.children)!=null&&g.length&&(h.isClose=!h.isClose)}return(h,g)=>{var k,y;const f=e.resolveComponent("anSvgIcon"),u=$n,v=e.resolveComponent("tagone");return e.openBlock(),e.createElementBlock("div",{style:e.normalizeStyle([{position:"relative",overflow:"hidden"},{backgroundColor:!t.item.isClose&&((k=t.item.children)!=null&&k.length)&&!t.notSecondChildren?"#f4f4f4":"inherit",borderRadius:t.item.isClose?"":"6px",marginTop:t.item.level===0?"4px":""}])},[e.createVNode(u,{effect:"dark","show-arrow":!1,content:t.item.name,placement:"right",teleported:!0,disabled:s.value||t.inTagScroll,visible:d.value,"onUpdate:visible":g[1]||(g[1]=b=>d.value=b),"hide-after":0,"popper-class":"any-tag-pop"},{default:e.withCtx(()=>{var b,w;return[e.createElementVNode("div",{class:e.normalizeClass(["level-tag-list-one",{parentOne:t.item.level===0&&((b=t.item.children)==null?void 0:b.length),disabledHover:i.value}]),id:`${t.item.itemId}_tag`,onClick:g[0]||(g[0]=C=>m(t.item)),style:e.normalizeStyle({paddingLeft:8+t.item.level*24+"px"})},[e.createVNode(f,{name:"tag-list-arrow",style:e.normalizeStyle({opacity:(w=t.item.children)!=null&&w.length?1:0}),class:e.normalizeClass(["arrow-icon",{iconClose:t.item.isClose}])},null,8,["style","class"]),e.createVNode(f,{name:"tag-tab-icon",fontSize:20}),e.createElementVNode("span",{class:"over-ellipsis",ref_key:"tagOneSpan",ref:c},e.toDisplayString(t.item.name),513)],14,xV)]}),_:1},8,["content","disabled","visible"]),(y=t.item.children)!=null&&y.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(t.item.children,b=>(e.openBlock(),e.createBlock(v,{item:b,notSecondChildren:!0,inTagScroll:t.inTagScroll,class:e.normalizeClass({close:t.item.isClose}),onClickItem:p,tagVehicleNumber:t.tagVehicleNumber},null,8,["item","inTagScroll","class","tagVehicleNumber"]))),256)):e.createCommentVNode("",!0)],4)}}}),FV=vt(RV,[["__scopeId","data-v-b0783b7e"]]),zV={};function HV(t,n){const o=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createBlock(o,{fontSize:32,name:"new-close-icon"})}const ol=vt(zV,[["render",HV]]),ZV={};function YV(t,n){const o=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createBlock(o,{fontSize:24,name:"new-search-icon",color:"#000"})}const al=vt(ZV,[["render",YV]]),Gc=e.defineComponent({__name:"tooltipSpan",props:{name:{type:String,default:""}},setup(t){const n=t,o=e.ref(),a=e.ref(!0);function r(){o.value.style.display="block",e.nextTick(()=>{const l=o.value,i=document.createRange();i.setStart(l,0),i.setEnd(l,l.childNodes.length),Math.round(i.getBoundingClientRect().width)>o.value.clientWidth?a.value=!1:a.value=!0,o.value.style.display=""})}return e.onMounted(()=>{r()}),e.watch(()=>n.name,()=>{r()}),(l,i)=>{const c=$n;return e.openBlock(),e.createBlock(c,{effect:"dark",content:t.name,placement:"top","show-arrow":!1,teleported:!0,disabled:a.value,"hide-after":0},{default:e.withCtx(()=>[e.createElementVNode("span",{class:"over-ellipsis",ref_key:"tagOneSpan",ref:o},e.toDisplayString(t.name),513)]),_:1},8,["content","disabled"])}}}),jV={class:"vehicle-select-body-top"},_V=["onClick"],UV={class:"padding"},GV={class:"popover-choose-one el-popover el-popper"},WV={class:"choose-list-one"},KV={class:"number"},QV=["onClick"],qV={class:"number"},XV=["onClick"],JV={class:"padding"},$V=["onClick"],eA={class:"number"},tA={key:0,class:"nodata"},nA={class:"choose-list-one"},oA={class:"number"},aA={class:"padding"},rA=["onClick"],lA={class:"number"},iA={key:0,class:"nodata"},sA={class:"popover-choose-one el-popover el-popper"},cA=["onClick"],dA=vt(e.defineComponent({__name:"vehicleFilter",props:{sortKey:{type:String,default:"asc"},vehicleTypeList:{type:Array,default(){return[]}},propsModleList:{type:Array,default(){return[]}},loading:{type:Boolean,default:!1}},emits:["update:sortKey","filter","eventTracking"],setup(t,{emit:n}){const{t:o}=Xt(),{modelList:a}=ea(),r=t,l=n,i=[{label:o("drivingFirst"),value:"driving",eventtracking:"sort_drivingFirst",type:"custorm"},{label:o("idleFirst"),value:"idle",eventtracking:"sort_idleFirst",type:"custorm"},{label:o("warningFirst"),value:"waring",eventtracking:"sort_warningFirst",type:"custorm"},{label:o("offlineFirst"),value:"offline",eventtracking:"sort_offlineFirst",type:"custorm"},{label:o("batteryOnUseFirst"),value:"battery",eventtracking:"sort_batteryFirst",type:"custorm"},{value:"batterydivided",divided:!0},{label:o("lastUpdated"),value:"last",eventtracking:"sort_lastUpdated",type:"sort"},{label:o("createFirst"),value:"create",eventtracking:"sort_createFirst",type:"sort"},{value:"createdivided",divided:!0},{label:"A--Z",value:"asc",eventtracking:"sort_AZ",type:"sort"},{label:"Z--A",value:"desc",eventtracking:"sort_ZA",type:"sort"}],c=e.ref(!1),s=e.computed(()=>{if(r.sortKey){const O=i.find(M=>M.value===r.sortKey);if(O)return O.label}return"A--Z"});function d(O){O.divided||(l("update:sortKey",O.value),l("eventTracking",O.eventtracking),c.value=!1,g.value=!1)}function p(){l("eventTracking","sort_addClick")}function m(){l("eventTracking","filter_addClick")}const h=[{label:o("viewSelectedVehicle"),value:"asset",eventtracking:"viewAssetOnly",type:"view"},{label:o("viewSelectedDevice"),value:"device",eventtracking:"viewDeviceOnly",type:"view"}],g=e.ref(!1);function f(O){O.number&&(O.isChecked=!O.isChecked)}function u(O,M){M.children.every(H=>!H.number)||(M.isChecked=O,M.indeterminate=!1,M.children.map(H=>{H.number&&(H.isChecked=O)}))}function v(O){O.number&&r.vehicleTypeList.map(M=>{if(M.assetType===9999){if(M.children.every(P=>!P.number))return;O.isChecked=!O.isChecked;let H=!0,z=!1;M.children.map(P=>{P.number&&(P.isChecked?z=!0:H=!1)}),H?M.isChecked=!0:M.isChecked=!1,!M.isChecked&&z?M.indeterminate=!0:M.indeterminate=!1}})}const k=e.ref(""),y=e.ref(),b=()=>{k.value="",T()},w=e.ref([]);e.onMounted(()=>{C()}),e.watch(()=>r.loading,()=>{r.loading||e.nextTick(()=>{C()})});function C(){const O=a.filter(M=>M.number?r.propsModleList.length?r.propsModleList.includes(M.modelId):!0:!1);k.value?w.value=O.filter(M=>(M.modelName+"").replace(/\s+/g," ").trim().toLocaleLowerCase().includes(k.value.trim().replace(/\s+/g," ").toLocaleLowerCase())):w.value=[...O]}const T=tc(async()=>{C()},400),E=e.computed(()=>{const O=[];let M=!1,H=!1;return r.vehicleTypeList.map(z=>{z.assetType===9999?z.children.map(P=>{P.isChecked&&(M=!0,O.push({obj:P,isAssetType:!0}))}):z.isChecked&&(M=!0,O.push({obj:z,isAssetType:!0}))}),a.map(z=>{z.isChecked&&(H=!0,O.push({obj:z,isModel:!0}))}),M&&l("eventTracking","filter_viewAssetOnly"),H&&l("eventTracking","filter_viewDeviceOnly"),l("filter",O),O});function S(O){O.obj.isChecked=!1}const A=e.computed(()=>{let O=0;return E.value.map(M=>{M.isAssetType&&O++}),O}),N=e.computed(()=>{let O=0;return E.value.map(M=>{M.isModel&&O++}),O});return(O,M)=>{const H=e.resolveComponent("anSvgIcon"),z=_o,P=pa,B=Gs,R=mo;return e.openBlock(),e.createElementBlock("div",jV,[e.createVNode(H,{name:"fliter-icon",fontSize:"24",color:"#000"}),e.createVNode(z,{placement:"bottom-start",width:240,"show-arrow":!1,trigger:"click","hide-after":0,"popper-class":"popover-choose",visible:c.value,"onUpdate:visible":M[0]||(M[0]=V=>c.value=V),teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",{class:"like-select",onClick:p},[e.createVNode(Gc,{name:s.value},null,8,["name"]),e.createVNode(H,{name:"choose-arrow-down",fontSize:"24",color:"#9A9A9A"})])]),default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(i,V=>e.createElementVNode("div",{class:e.normalizeClass(["choose-list-one",{divided:V.divided,active:t.sortKey&&t.sortKey===V.value}]),key:V.label,onClick:I=>d(V)},[V.divided?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(H,{name:"filterchecked",fontSize:"24",color:"rgba(0, 0, 0, 1)"}),e.createElementVNode("span",null,e.toDisplayString(V.label),1)],64))],10,_V)),64))]),_:1},8,["visible"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value.slice(0,2),(V,I)=>{var D,X;return e.openBlock(),e.createElementBlock("div",{class:"choose-filter-one",key:I},[e.createVNode(Gc,{name:((D=V.obj)==null?void 0:D.modelName)||e.unref(o)((X=V.obj)==null?void 0:X.type)},null,8,["name"]),e.createVNode(H,{fontSize:24,name:"new-close-icon",color:"rgba(154, 154, 154, 1)",onClick:W=>S(V)},null,8,["onClick"])])}),128)),E.value.length>=3?(e.openBlock(),e.createBlock(z,{key:0,placement:"bottom-start",width:122,"show-arrow":!1,trigger:"click","hide-after":0,"popper-class":"popover-choose popover-choose-more popover-choose-customize",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",null,[e.createVNode(H,{name:"more",fontSize:"32",color:"#000",class:"filter-add"})])]),default:e.withCtx(()=>[e.createElementVNode("div",UV,[e.createVNode(P,{"max-height":"300px"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(E.value.slice(2),(V,I)=>{var D,X;return e.openBlock(),e.createElementBlock("div",{class:"choose-filter-one",key:I},[e.createVNode(Gc,{name:((D=V.obj)==null?void 0:D.modelName)||e.unref(o)((X=V.obj)==null?void 0:X.type)},null,8,["name"]),e.createVNode(H,{fontSize:24,name:"new-close-icon",color:"rgba(154, 154, 154, 1)",onClick:W=>S(V)},null,8,["onClick"])])}),128))]),_:1})])]),_:1})):e.createCommentVNode("",!0),e.createVNode(z,{placement:"bottom-start",width:240,"show-arrow":!1,trigger:"click","hide-after":0,"popper-class":"popover-choose-filter",visible:g.value,"onUpdate:visible":M[6]||(M[6]=V=>g.value=V),teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",{onClick:m},[e.createVNode(H,{name:"filter-add",fontSize:"32",color:"#9A9A9A",class:"filter-add"})])]),default:e.withCtx(()=>[e.createElementVNode("div",GV,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(h,V=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:V.label},[V.value==="asset"?(e.openBlock(),e.createBlock(z,{key:0,placement:"right-start",width:230,"show-arrow":!1,trigger:"hover","hide-after":0,"popper-class":"popover-choose popover-choose-inFilter",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",WV,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(V.label),1),e.createElementVNode("span",KV," ("+e.toDisplayString(A.value)+")",1)]),e.createVNode(H,{name:"arrow-right-icon",class:"arrow-right-icon"})])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.vehicleTypeList,I=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:I.id},[I.assetType!==9999?e.withDirectives((e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["choose-list-one",{"disable-check":!I.number}]),onClick:e.withModifiers(D=>f(I),["stop"])},[e.createVNode(B,{class:"anytrek-checkbox",modelValue:I.isChecked,"onUpdate:modelValue":D=>I.isChecked=D,onClick:M[1]||(M[1]=e.withModifiers(()=>{},["stop"])),disabled:!I.number},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(e.unref(o)(I.type)),1),e.createElementVNode("span",qV," ("+e.toDisplayString(I.number)+")",1)])],10,QV)),[[e.vShow,I.number]]):(e.openBlock(),e.createBlock(z,{key:1,placement:"right-start",width:230,"show-arrow":!1,trigger:"hover","hide-after":0,"popper-class":"popover-choose popover-choose-inFilter popover-choose-customize",teleported:!1},{reference:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:e.normalizeClass(["choose-list-one",{"disable-check":I.children.every(D=>!D.number)}]),onClick:e.withModifiers(D=>u(!I.isChecked,I),["stop"])},[e.createVNode(B,{class:"anytrek-checkbox",modelValue:I.isChecked,"onUpdate:modelValue":D=>I.isChecked=D,onClick:M[2]||(M[2]=e.withModifiers(()=>{},["stop"])),onChange:D=>u(D,I),indeterminate:I.indeterminate,disabled:I.children.every(D=>!D.number)},null,8,["modelValue","onUpdate:modelValue","onChange","indeterminate","disabled"]),e.createElementVNode("span",null,e.toDisplayString(I.name),1),e.createVNode(H,{name:"arrow-right-icon",class:"arrow-right-icon"})],10,XV),[[e.vShow,I.children.some(D=>D.number)]])]),default:e.withCtx(()=>[e.createElementVNode("div",JV,[e.createVNode(P,{"max-height":"500px"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(I.children,D=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["choose-list-one finall-one",{"disable-check":!D.number}]),key:D.id,onClick:e.withModifiers(X=>v(D),["stop"])},[e.createVNode(H,{name:"vehicle-"+D.icons[0],color:"#000000",class:"icon"},null,8,["name"]),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(D.name),1),e.createElementVNode("span",eA," ("+e.toDisplayString(D.number)+")",1)]),e.createVNode(B,{class:"anytrek-checkbox",modelValue:D.isChecked,"onUpdate:modelValue":X=>D.isChecked=X,onClick:M[3]||(M[3]=e.withModifiers(()=>{},["stop"])),disabled:!D.number},null,8,["modelValue","onUpdate:modelValue","disabled"])],10,$V)),[[e.vShow,D.number]])),128))]),_:2},1024)])]),_:2},1024))],64))),128)),t.vehicleTypeList.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",tA,e.toDisplayString(e.unref(o)("noData")),1))]),_:2},1024)):(e.openBlock(),e.createBlock(z,{key:1,placement:"right-start",width:261,"show-arrow":!1,trigger:"hover","hide-after":0,"popper-class":"popover-choose popover-choose-inFilter popover-choose-customize",teleported:!1},{reference:e.withCtx(()=>[e.createElementVNode("div",nA,[e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(V.label),1),e.createElementVNode("span",oA," ("+e.toDisplayString(N.value)+")",1)]),e.createVNode(H,{name:"arrow-right-icon",class:"arrow-right-icon"})])]),default:e.withCtx(()=>[e.createElementVNode("div",aA,[e.createVNode(P,{"max-height":"500px"},{default:e.withCtx(()=>[e.createVNode(R,{modelValue:k.value,"onUpdate:modelValue":M[4]||(M[4]=I=>k.value=I),placeholder:e.unref(o)("searchDevice"),class:"anytrek-vehicle-auto-search","prefix-icon":al,onInput:e.unref(T),size:"large",ref_for:!0,ref_key:"searchInput",ref:y},{suffix:e.withCtx(()=>[k.value?(e.openBlock(),e.createBlock(ol,{key:0,onClick:b})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder","onInput"]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,I=>e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["choose-list-one",{"disable-check":!I.number}]),key:I.modelId,onClick:e.withModifiers(D=>f(I),["stop"])},[e.createVNode(B,{class:"anytrek-checkbox",modelValue:I.isChecked,"onUpdate:modelValue":D=>I.isChecked=D,onClick:M[5]||(M[5]=e.withModifiers(()=>{},["stop"])),disabled:!I.number},null,8,["modelValue","onUpdate:modelValue","disabled"]),e.createElementVNode("span",null,[e.createTextVNode(e.toDisplayString(I.modelName),1),e.createElementVNode("span",lA," ("+e.toDisplayString(I.number)+")",1)])],10,rA)),[[e.vShow,I.number]])),128)),w.value.length?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",iA,e.toDisplayString(e.unref(o)("noData")),1))]),_:2},1024)])]),_:2},1024))],64))),64))]),e.createElementVNode("div",sA,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(i,V=>e.createElementVNode("div",{class:e.normalizeClass(["choose-list-one",{divided:V.divided,active:t.sortKey&&t.sortKey===V.value}]),key:V.label,onClick:I=>d(V)},[V.divided?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(H,{name:"filterchecked",fontSize:"24",color:"rgba(0, 0, 0, 1)"}),e.createElementVNode("span",null,e.toDisplayString(V.label),1)],64))],10,cA)),64))])]),_:1},8,["visible"])])}}}),[["__scopeId","data-v-64c8e5a4"]]),uA={class:"vehicle-select-body"},fA={class:"vehicle-select-search-body"},mA={class:"vehicle-select-body-content"},pA={key:0,class:"loading"},hA=["onClick"],gA={class:"over-ellipsis"},yA={key:0,class:"tag-list"},kA={style:{position:"relative"}},vA=`
214
214
  <path d="M12.002 2.49902V4.49868" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
215
215
  <path d="M17.0018 3.83936L16.002 5.57108" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
216
216
  <path d="M20.6615 7.5L18.9297 8.49983" stroke="black" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
@@ -230,6 +230,6 @@ This will fail in production.`);c=el,c._s.has(a)||(l?Zc(a,n,r,c):P1(a,r,c),proce
230
230
  </div>
231
231
  <div class='text'>Sure to remove this?</div>`,{dangerouslyUseHTMLString:!0,customClass:"ant-message-box ant-message-box-new",confirmButtonText:"OK",cancelButtonText:"Cancel",showCancelButton:!0,showClose:!1,beforeClose:async(_,we,et)=>{_==="confirm"?(we.confirmButtonLoading=!0,await s.value(ne,"delete"),u(v.value),we.confirmButtonLoading=!1,D.value=!1,et(),r.success("Deleted successfully!")):et()}})},ke=e.ref(!1),xe=e.ref(""),Ee=e.ref(""),F=()=>{ke.value=!0},G=ne=>{Ee.value=ne},ae=()=>{xe.value="",Ee.value="",ke.value=!1};let Y=e.ref();e.watch(()=>ke.value,ne=>{ne&&(Y.value=localStorage.getItem("icon-history")?JSON.parse(localStorage.getItem("icon-history")||""):[])});const ue=e.ref(!1),Te=async()=>{const ne={name:xe.value,customerld:l.loginInfo.customerId,content:{parentType:9999,assetType:new Date().getTime(),icons:[Ee.value],type:"customize",label:xe.value}};!Ee.value||!xe.value||(ue.value=!0,Y.value.length<3?Y.value.unshift({newIcon:Ee.value,name:xe.value}):(Y.value.unshift({newIcon:Ee.value,name:xe.value}),Y.value.pop()),localStorage.setItem("icon-history",JSON.stringify(Y.value)),await s.value(ne,"add"),u(v.value),xe.value="",Ee.value="",ke.value=!1,D.value=!1,ue.value=!1)};let Be=e.ref();const lt=ne=>{Be.value=ne,I.value=!1,D.value=!1,y.value.newIcon=ne.icon,y.value.assetType=ne.assetType,O.value.validateField("assetType"),ne.type==="customize"?y.value.vehicleTypeId=ne.id:y.value.vehicleTypeId=""},dt=e.ref(),x=e.ref(),L=e.ref(),ie=e.ref(),De=e.ref(),pe=e.ref(),se=e.ref(),Me=ne=>{try{if(I.value&&ie.value){let _=ie.value.contains(ne.target),we=L.value.contains(ne.target);!_&&!we&&(I.value=!1,D.value=!1)}if(Fe.value&&dt.value){let _=dt.value.contains(ne.target),we=x.value.contains(ne.target);!_&&!we&&(Fe.value=!1)}pe.value&&!De.value.contains(ne.target)&&pe.value.closePopover()}catch(_){console.log("error",_)}},ee=e.ref(),ge=()=>{ee.value=!0,R.value="",V.value=[],l.allTags.forEach(ne=>{let _=!1;y.value.tagContent.length&&(_=y.value.tagContent.some(we=>we.id===ne.id)),V.value.push({...ne,checkValue:_,isShow:!0})}),V.value.filter(ne=>ne.checkValue).length>0&&V.value.filter(ne=>ne.checkValue).length<V.value.length},Qe=()=>{ee.value=!1},$e=()=>{me.value=""},me=e.ref(""),ve=e.computed(()=>C.value.filter(ne=>{let _=!0;return me.value&&me.value.trim()&&((ne.deviceId+"").toLocaleLowerCase().includes(me.value.trim().toLocaleLowerCase())||(_=!1)),_})),Pe=()=>{y.value.deviceId="",A.value="",ft.value=""},ye=e.ref(),je=ne=>{y.value.deviceId!==ne.dId&&(y.value.deviceId=ne.dId,A.value=ne.deviceId,At.value===A.value?ft.value=ot.value:ft.value=U(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),w.value=ne.deviceStatus),ye.value.handleClose()};let ot=e.ref(),At=e.ref();const Lt=e.computed(()=>V.value.filter(ne=>ne.isShow).every(ne=>ne.checkValue)),hn=e.computed(()=>{let ne=V.value.filter(_=>_.isShow);return ne.some(_=>_.checkValue)&&ne.some(_=>!_.checkValue)}),$t=ne=>{V.value.forEach(_=>{_.isShow&&(_.checkValue=ne)})},J=()=>{V.value.filter(ne=>ne.checkValue).length>0&&V.value.filter(ne=>ne.checkValue).length<V.value.length},de=e.ref(!1),Q=e.ref(),te=ne=>{let _=l.allVehicles.filter(Ge=>ne.vehicle.includes(Ge.id)).map(Ge=>({name:Ge.name,id:Ge.id})),we=l.allDevices.filter(Ge=>ne.device.includes(Ge.id)).map(Ge=>({name:Ge.userPackageId,id:Ge.id})),et=l.allTags.filter(Ge=>ne.tag.includes(Ge.id)).map(Ge=>({name:Ge.name,id:Ge.id})),Ne=l.allLandmarks.filter(Ge=>ne.landmark.includes(Ge.id)).map(Ge=>({name:Ge.name,id:Ge.id}));Q.value={id:ne.id,name:ne.name,tagType:"landmark",description:ne.description,content:{vehicle:_,device:we,tag:et,landmark:Ne}},de.value=!0,ee.value=!1},be=()=>{Q.value=null,de.value=!0,ee.value=!1},Ze=()=>{y.value.tagContent=V.value.filter(ne=>ne.checkValue),ee.value=!1};let Se=e.ref(["2027","2026","2025","2024","2023","2022","2021"]),Fe=e.ref(!1);const Re=()=>{y.value.year?Se.value=[y.value.year-0+3+"",y.value.year-0+2+"",y.value.year-0+1+"",y.value.year,y.value.year-1+"",y.value.year-2+"",y.value.year-3+""]:Se.value=["2027","2026","2025","2024","2023","2022","2021"],e.nextTick(()=>{let ne=document.getElementById("scrollBox");ne&&setTimeout(()=>{ne.scrollTop=80},20)})},tt=e.ref(),Rt=ne=>{y.value.year=ne,tt.value&&tt.value.hide()},Bt=()=>{let ne=document.getElementById("scrollBox");ne&&(ne.scrollTop+ne.clientHeight>=ne.scrollHeight&&(Se.value.push(parseInt(Se.value[Se.value.length-1])-1+""),Se.value.shift()),ne.scrollTop<=32&&(Se.value.unshift(parseInt(Se.value[0])+1+""),Se.value.pop(),ne.scrollTop<10&&(ne.scrollTop=50)))};let Ft=e.ref(!1);const Kt=e.ref([]),$=e.ref({});e.watchEffect(()=>{if(!l.vehicleData.id&&A.value&&ft.value){let ne=l.allDevices.find(we=>we.userPackageId===A.value),_=U(new Date).utc().format("YYYY-MM-DD");if(new Date(ft.value).getTime()<new Date(_+" 00:00:00").getTime()&&ne){const we=U(ft.value).year();Kt.value=[we],$.value[we]=[],$.value[we].push({startTime:U(ft.value).format("YYYY-MM-DD"),endTime:"",userPackageId:ne.userPackageId,deviceId:ne.id})}}});const K=async ne=>{if($.value={},Kt.value=[],!ne||!ne.id)return;Ft.value=!0;const _=new Date,we=U(new Date(_)).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),et={vehicleId:ne.id,beginTime:"2010-09-02T01:08:51Z",endTime:we},Ne=await d.value(et);if(Ft.value=!1,!Ne)return;const Ge=[];Ne.forEach(zt=>{Ge.length&&Ge[Ge.length-1].startTime!==zt.endTime&&Ge.push({startTime:zt.endTime,endTime:Ge[Ge.length-1].startTime,userPackageId:0}),Ge.push(zt)});let gn=U.tz.guess();if(!c.value.localTimezone&&c.value.timeZone&&(gn=c.value.timeZone),Ge.map(zt=>{const go=U.utc(zt.endTime).tz(gn).year();Kt.value.includes(go)||(Kt.value.push(go),$.value[go]=[]),$.value[go].push({startTime:zt.dataTime?U.utc(zt.dataTime).tz(gn).format("YYYY-MM-DD"):U.utc(zt.startTime).tz(gn).format("YYYY-MM-DD"),endTime:zt.endTime?U.utc(zt.endTime).tz(gn).format("YYYY-MM-DD"):"",userPackageId:zt.userPackageId,deviceId:zt.deviceId})}),Kt.value.sort((zt,go)=>go-zt),Ne.length){let zt=Ne[0];if(Ne[0].endTime)return;ft.value=zt.dataTime?zt.dataTime:zt.startTime,ot.value=ft.value}},oe=ne=>{let _=[...y.value.tagContent];_.splice(ne,1),y.value.tagContent=_},j=e.ref(!1),q=e.ref(!1),Oe=e.ref(!1),Ke=e.ref(!1),Dt=ne=>l.allVehicles.filter(_=>_.content.assetType===ne.assetType&&_.content.newIcon===ne.icon).length,cn=[{type:"WABASH",children:[{label:"Duraplate Dry Van",value:"Duraplate-Dry-Van",img:wA,length:"Interior: 52.6′",width:"Interior: 101” width sidewall to sidewall",height:"110-1/4”",capacity:"68,000 lb / 30,845 kg"},{label:"Duraplate HD Dry Van",value:"Duraplate-HD-Dry-Van",img:CA,length:"Interior: 52.6′",width:"Interior: 101” width sidewall to sidewall",height:"110-1/4”",capacity:"68,000 lb / 30,845 kg"},{label:"Duraplate Pup",value:"Duraplate-Pup",img:EA,length:"Interior: 28′",width:"Interior: 101-1/2″ sidewall to sidewall",height:'110"',capacity:"20,000 lb / 9,072 kg"}]},{type:"HYUNDAI",children:[{label:"Original",value:"Original",img:TA,length:"Interior: 52.6′",width:"Interior: 98.5″ lining to lining",height:"Interior: 110″",capacity:"3,950 cu. ft./68,000 lbs"},{label:"HY-Cube",value:"HY-Cube",img:NA,length:"Interior: 52.6′",width:"Interior: 101” lining to lining",height:"Interior: 110″",capacity:"4,050 cu. ft./68,000 lbs"},{label:"Composite",value:"Composite",img:SA,length:"Interior: 52.6′",width:"Interior: 101.5” lining to lining",height:"Interior: 110″",capacity:"4,070 cu. ft./68,000 lbs"},{label:"Composite XT",value:"Composite-XT",img:VA,length:"Interior: 52.6′",width:"Interior: 101.5” lining to lining",height:"Interior: 110″",capacity:"4,070 cu. ft./68,000 lbs"}]},{type:"GREAT DANE",children:[{label:"Champion Composite",value:"Champion-Composite",img:AA,length:"Interior: 52.6′",width:"Interior: 102” lining to lining",height:'110"',capacity:"30,840 lbs"},{label:"Champion Sheet And Post",value:"Champion-Sheet-And-Post",img:BA,length:"Interior: 52.6′",width:"Interior: 102” lining to lining",height:'110"',capacity:"30,840 lbs"}]}],ht=e.ref(),Mn=ne=>{y.value.make=ne.label,ht.value&&ht.value.hide()};e.onMounted(()=>{u(v.value),Ht.value=U.tz.guess(),!c.value.localTimezone&&c.value.timeZone&&(Ht.value=U().tz(c.value.timeZone).format("z"))});const Ht=e.ref(""),Dn=e.ref(!1),Nn=e.ref("YYYY-MM-DD HH:mm:ss");function rl(ne,_){Ht.value=_,ft.value=ne}const en=ne=>yt.value[0]?U(ne).valueOf()<U(yt.value[0]).valueOf():U(ne).valueOf()>U(yt.value[1]).valueOf();function Ae(ne){let _="";switch(ne){case"PST":case"PDT":_="US/Pacific";break;case"MST":case"MDT":_="US/Mountain";break;case"CST":case"CDT":_="US/Central";break;case"EST":case"EDT":_="US/Eastern";break;case"AST":case"ADT":_="America/Halifax";break;case"AKST":case"AKDT":_="America/Anchorage";break;default:_=ne;break}return _}e.onMounted(()=>{Nn.value=_c({})});let yt=e.ref([]);e.watch(()=>A.value,async ne=>{if(ne){let _=C.value.find(we=>we.userPackageId===ne);_?yt.value=await p.value(_.id):yt.value=[null,U(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]")]}});const gt=()=>{ft.value=U(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]")};let ft=e.ref("");const On=e.ref(),$c=e.ref(),hr=e.ref(!1),Ba=e.ref(""),ll=e.ref("right"),le=(ne,_,we="right",et=108)=>{On.value=ne.currentTarget,Ba.value=_,ll.value=we;let Ne=On.value;const Ge=document.createRange();Ge.setStart(Ne,0),Ge.setEnd(Ne,Ne.childNodes.length),Math.round(Ge.getBoundingClientRect().width),ne.currentTarget.querySelector("span").querySelector("span").innerText!=_&&(hr.value=!0)},Z=()=>{hr.value=!1};let Ve=e.ref(!1);const He=(ne=!1)=>{Ve.value=ne,ge()},qe=e.ref(!1),Ye=e.ref(),it=()=>{var ne;(ne=Ye.value)==null||ne.clear()},tn=()=>{hr.value=!1};n({handleTableAddTag:He});const Yt=ne=>l.allTags.filter(_=>!!(_.content.vehicle&&_.content.vehicle.findIndex(we=>we===ne)!==-1));let mt=e.ref({id:"",name:"",deviceId:"",dataTime:"",tagContent:[],assetType:"",newIcon:"",vehicleTypeId:"",make:"",year:"",licensePlateNumber:"",vin:"",description:""});e.watch(()=>i.value,ne=>{if(qe.value=!1,ne){if(l.vehicleData.id){let _=l.allVehicles.find(we=>we.id===l.vehicleData.id);if(_){let we=Yt(_.id),et=N(l.vehicleData.id,"vehicleId");mt.value={id:_.id,name:_.name,deviceId:et?et.deviceId:"",dataTime:"",tagContent:we,assetType:_.content.assetType,newIcon:_.content.newIcon,vehicleTypeId:_.content.vehicleTypeId,make:_.content.make,year:_.content.year,licensePlateNumber:_.content.licensePlateNumber,vin:_.content.vin,description:_.content.description}}}if(w.value="",u(v.value),S(mt.value.deviceId),K(mt.value),l.vehicleData.id){y.value={id:mt.value.id,name:mt.value.name,deviceId:mt.value.deviceId,dataTime:mt.value.dataTime,tagContent:mt.value.tagContent,assetType:mt.value.assetType,newIcon:mt.value.newIcon,vehicleTypeId:mt.value.vehicleTypeId,make:mt.value.make,year:mt.value.year,licensePlateNumber:mt.value.licensePlateNumber,vin:mt.value.vin,description:mt.value.description};let _=[];f.value.forEach(et=>{_.push(...et.children)});let we=_.find(et=>y.value.vehicleTypeId?et.id==y.value.vehicleTypeId:et.assetType<9999&&et.icon==y.value.newIcon);Be.value=we||{id:"",assetType:y.value.assetType,icon:y.value.newIcon,label:"",type:""}}else y.value={id:"",name:"",deviceId:"",dataTime:"",tagContent:[],assetType:"",newIcon:"",vehicleTypeId:"",make:"",year:"",licensePlateNumber:"",vin:"",description:""}}else ee.value=!1,I.value=!1,D.value=!1,A.value="",ft.value="",y.value={id:"",name:"",deviceId:"",dataTime:"",tagContent:[],assetType:"",newIcon:"",vehicleTypeId:"",make:"",year:"",licensePlateNumber:"",vin:"",description:""},mt.value={id:"",name:"",deviceId:"",dataTime:"",tagContent:[],assetType:"",newIcon:"",vehicleTypeId:"",make:"",year:"",licensePlateNumber:"",vin:"",description:""}},{immediate:!0});const nn=ne=>{Q.value={id:ne.id},de.value=!0};return e.watch(()=>l.allTags,()=>{let ne=[];y.value.tagContent.forEach(_=>{let we=l.allTags.find(et=>et.id===_.id);we&&ne.push({id:we.id,name:we.name})}),y.value.tagContent=ne}),(ne,_)=>{const we=mo,et=Hl,Ne=e.resolveComponent("anSvgIcon"),Ge=Xs,gn=$n,zt=_o,go=e.resolveComponent("anytrekTimePick"),Ia=e.resolveComponent("text-clamp"),Bi=Gs,ed=zl,td=pa,Ii=ga,nd=Kl,od=e.resolveComponent("add-or-edit-tag"),Sn=ei;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(nd,{modelValue:g.value,"onUpdate:modelValue":_[23]||(_[23]=ce=>g.value=ce),size:"520",title:E.value,"destroy-on-close":"","before-close":T,"close-on-click-modal":!0,"close-on-press-escape":!1,"show-close":!1,class:"drawer-footer-line vehicles-drawer add-or-edit",onClick:Me},{footer:e.withCtx(()=>[e.createVNode(Ii,{style:{width:"85px",height:"40px"},onClick:T},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(Ii,{key:0,style:{width:"70px",height:"40px"},type:"primary",loading:M.value,onClick:H},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(a)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)]),default:e.withCtx(()=>[e.createVNode(td,null,{default:e.withCtx(()=>[e.createVNode(ed,{model:y.value,rules:b.value,"label-position":"top",ref_key:"refForm",ref:O,class:"op-body","require-asterisk-position":"right"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",OA,[e.createVNode(et,{label:e.unref(a)("name"),prop:"name",class:"form-item-name"},{default:e.withCtx(()=>[e.createVNode(we,{modelValue:y.value.name,"onUpdate:modelValue":_[0]||(_[0]=ce=>y.value.name=ce),maxlength:"64",placeholder:"Enter a unique name"},null,8,["modelValue"])]),_:1},8,["label"]),e.createElementVNode("div",LA,[e.createVNode(et,{label:e.unref(a)("vehicleType"),prop:"assetType",required:"",class:"custom-label-position error-class"},{default:e.withCtx(()=>{var ce,Ue,bt;return[e.createElementVNode("div",{ref_key:"assetTypeRef",ref:L,class:"asset-type",onClick:X},[y.value.assetType?(e.openBlock(),e.createElementBlock("div",xA,[e.createVNode(Ne,{class:"icon",name:"vehicle-"+((ce=e.unref(Be))==null?void 0:ce.icon),"font-size":"24"},null,8,["name"]),e.createElementVNode("div",PA,e.toDisplayString((Ue=e.unref(Be))==null?void 0:Ue.label),1)])):(e.openBlock(),e.createElementBlock("div",RA,e.toDisplayString(e.unref(a)("selectAssetType")),1)),e.createVNode(Ne,{class:"icon hover-animation",name:"xiajiantou","font-size":"24"}),e.unref(I)?(e.openBlock(),e.createElementBlock("div",{key:2,ref_key:"assetTypeSelectRef",ref:ie,class:"asset-type-select"},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(f),(nt,at)=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:nt.value,onMouseenter:dn=>Ie(nt,at)},[e.createElementVNode("div",zA,e.toDisplayString(e.unref(a)(nt.type)),1),e.createVNode(Ne,{"font-size":24,name:"arrow-right",color:"#949494"})],40,FA))),128)),e.unref(D)?(e.openBlock(),e.createElementBlock("div",{key:0,class:"asset-type-select-sub",style:e.normalizeStyle({marginTop:fe.value+"px"})},[e.createElementVNode("div",null,[e.unref(W).assetType===9999?(e.openBlock(),e.createElementBlock("div",HA,[e.createElementVNode("span",null,e.toDisplayString(e.unref(re).length),1),_[25]||(_[25]=e.createTextVNode(" intotal "))])):e.createCommentVNode("",!0),e.createElementVNode("div",{class:e.normalizeClass(["sub-wrapper",{"sub-wrapper-cus":((bt=e.unref(W))==null?void 0:bt.assetType)==9999}])},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(re),(nt,at)=>{var dn,_n,xo;return e.openBlock(),e.createElementBlock("div",{class:"sub-item",key:at,onClick:e.withModifiers(px=>lt(nt),["stop"])},[e.createElementVNode("div",YA,[e.createVNode(Ne,{name:"vehicle-"+(nt==null?void 0:nt.icon),"font-size":24},null,8,["name"]),e.createElementVNode("div",jA,[e.createElementVNode("div",null,[e.createElementVNode("div",_A,[nt.assetType===5e3?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createTextVNode(e.toDisplayString(""))],64)):nt.assetType<9999?(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createTextVNode(e.toDisplayString(e.unref(a)(nt.type)),1)],64)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:2},[e.createTextVNode(e.toDisplayString(nt.label),1)],64))]),(nt==null?void 0:nt.icon)==="heavyDutyTruck"?(e.openBlock(),e.createElementBlock("div",UA," Day Cab ")):e.createCommentVNode("",!0),(nt==null?void 0:nt.icon)==="heavyDutyTruckHaul"?(e.openBlock(),e.createElementBlock("div",GA," Sleeper Cab ")):e.createCommentVNode("",!0)]),Dt(nt)?(e.openBlock(),e.createElementBlock("span",WA,"("+e.toDisplayString(Dt(nt))+")",1)):e.createCommentVNode("",!0)])]),(nt==null?void 0:nt.assetType)>=9999&&((dn=e.unref(Be))==null?void 0:dn.label)!==nt.label&&!Dt(nt)?(e.openBlock(),e.createBlock(Ne,{key:0,name:"closeIconNew","font-size":"24",color:"#9a9a9a",class:"icon-hover delete-icon",onClick:e.withModifiers(px=>Le(nt),["stop"])},null,8,["onClick"])):e.createCommentVNode("",!0),((_n=e.unref(Be))==null?void 0:_n.id)===(nt==null?void 0:nt.id)&&((xo=e.unref(Be))==null?void 0:xo.icon)===nt.icon?(e.openBlock(),e.createBlock(Ne,{key:1,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,ZA)}),128))],2)]),e.unref(W).assetType===9999?(e.openBlock(),e.createElementBlock("div",KA,[e.createVNode(Ne,{name:"plus","font-size":"32",color:"#9a9a9a",onClick:F}),ke.value?e.withDirectives((e.openBlock(),e.createElementBlock("div",QA,[e.createElementVNode("div",qA,[e.createVNode(we,{modelValue:xe.value,"onUpdate:modelValue":_[1]||(_[1]=nt=>xe.value=nt),placeholder:"Enter Vehicle name",class:"input-add-type auto-table-search",style:{width:"303px"},size:"large",ref:"searchInput"},{prefix:e.withCtx(()=>[e.createElementVNode("div",{class:"cus-icon",ref_key:"customizeIconRef",ref:se},[e.createVNode(Ne,{"font-size":Ee.value?24:32,name:Ee.value?"vehicle-"+Ee.value:"addVehicleType",color:"#000"},null,8,["font-size","name"])],512)]),_:1},8,["modelValue"]),e.createElementVNode("div",XA,[_[26]||(_[26]=e.createElementVNode("div",{class:"name"},"Select a icon",-1)),e.createElementVNode("div",JA,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(k.value,nt=>(e.openBlock(),e.createElementBlock("div",{class:"icon-item",key:nt,onClick:e.withModifiers(at=>G(nt),["stop"])},[e.createVNode(Ne,{name:"vehicle-"+nt,"font-size":24},null,8,["name"])],8,$A))),128))])])]),_[27]||(_[27]=e.createElementVNode("div",{class:"divider"},null,-1)),e.createElementVNode("div",eB,[e.createElementVNode("div",tB,[e.createVNode(Ne,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:e.withModifiers(ae,["stop"])}),e.createVNode(Ne,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:e.withModifiers(Te,["stop"])})])])])),[[Sn,ue.value]]):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0)],4)):e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0)],512)]}),_:1},8,["label"]),e.createVNode(et,{label:e.unref(a)("device"),prop:"deviceId",class:"custom-label-position border-top"},{default:e.withCtx(()=>[e.createVNode(Ge,{ref_key:"deviceSelectRef",ref:ye,trigger:"click","popper-class":"device-dropdown-v noanimation-dropdown",placement:"bottom-start",onVisibleChange:$e},{dropdown:e.withCtx(()=>[e.createElementVNode("div",sB,[e.createElementVNode("div",cB,[e.createVNode(we,{modelValue:me.value,"onUpdate:modelValue":_[2]||(_[2]=ce=>me.value=ce),placeholder:"Search",class:"auto-table-search",size:"large",ref_key:"searchDevice",ref:Ye},{prefix:e.withCtx(()=>[e.createVNode(Ne,{"font-size":"40",name:"searchIcon",color:"#000"})]),suffix:e.withCtx(()=>[me.value?(e.openBlock(),e.createBlock(Ne,{key:0,class:"clear-icon",id:"clear-icon",name:"closeIconNew2","font-size":"32",onClick:it})):e.createCommentVNode("",!0)]),_:1},8,["modelValue"])]),e.createElementVNode("div",dB,e.toDisplayString(C.value.length)+" Devices in total ",1),e.createElementVNode("div",uB,[ve.value.length?(e.openBlock(),e.createElementBlock("div",fB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ve.value,ce=>(e.openBlock(),e.createElementBlock("div",{key:ce.id,class:"list-body-one",onClick:Ue=>je(ce)},[e.createVNode(Ne,{color:"#000",name:"monitorIconCpu","font-size":"24"}),e.createElementVNode("div",pB,[e.createElementVNode("div",null,e.toDisplayString(ce.deviceId),1),e.createElementVNode("div",hB,e.toDisplayString(t.modelTypes[ce.modelId]),1)]),e.withDirectives(e.createVNode(Ne,{name:"filterchecked","font-size":"24"},null,512),[[e.vShow,ce.dId===y.value.deviceId]])],8,mB))),128))])):e.createCommentVNode("",!0)])])]),default:e.withCtx(()=>[e.createElementVNode("div",nB,[A.value?(e.openBlock(),e.createElementBlock("div",rB,[e.createElementVNode("div",lB,[e.createVNode(Ne,{class:"icon",name:"monitorIconCpu ","font-size":"24",color:"#000"}),e.createElementVNode("div",iB,e.toDisplayString(A.value),1),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(Pe,["stop"])},[e.createVNode(Ne,{name:"removeIcon","font-size":"16"})])]),e.createVNode(Ne,{class:"device-arrow icon hover-animation",name:"xiajiantou","font-size":"24",color:"#000"})])):(e.openBlock(),e.createElementBlock("div",oB,[e.createElementVNode("span",aB,e.toDisplayString(e.unref(a)("selectDevice")),1),e.createVNode(Ne,{class:"device-arrow icon hover-animation",name:"xiajiantou",color:"#000","font-size":"24"})]))])]),_:1},512)]),_:1},8,["label"])]),e.createElementVNode("div",gB,[e.createElementVNode("div",yB,[e.createVNode(et,{label:e.unref(a)("make"),prop:"model",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":Ke.value}])},{default:e.withCtx(()=>[e.createVNode(we,{modelValue:y.value.make,"onUpdate:modelValue":_[3]||(_[3]=ce=>y.value.make=ce),maxlength:64,class:"input-make",onFocus:_[4]||(_[4]=ce=>Ke.value=!0),onBlur:_[5]||(_[5]=ce=>Ke.value=!1)},{suffix:e.withCtx(()=>[e.createVNode(zt,{placement:"bottom-end",width:226,trigger:"click","popper-class":"popper-make",ref_key:"popperMakeRef",ref:ht,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",kB,[e.createVNode(Ne,{name:"xiajiantou","font-size":"24",color:"#000",class:"hover-animation",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",vB,[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(cn,ce=>e.createElementVNode("div",{class:"type-item",key:ce.type},[e.createElementVNode("div",bB,e.toDisplayString(ce.type),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(ce.children,Ue=>(e.openBlock(),e.createBlock(gn,{key:Ue.value,class:"box-item",effect:"dark",placement:"left","popper-class":"popper-make-tip","show-arrow":!1,"hide-after":0},{content:e.withCtx(()=>[e.createElementVNode("div",CB,[e.createElementVNode("div",EB,[e.createElementVNode("img",{src:Ue.img},null,8,TB)]),e.createElementVNode("div",NB,[_[28]||(_[28]=e.createElementVNode("div",{class:"name"},"Trailer Length",-1)),e.createElementVNode("div",SB,e.toDisplayString(Ue.length),1)]),e.createElementVNode("div",VB,[_[29]||(_[29]=e.createElementVNode("div",{class:"name"},"Trailer Width",-1)),e.createElementVNode("div",AB,e.toDisplayString(Ue.width),1)]),e.createElementVNode("div",BB,[_[30]||(_[30]=e.createElementVNode("div",{class:"name"},"Trailer Height",-1)),e.createElementVNode("div",IB,e.toDisplayString(Ue.height),1)]),e.createElementVNode("div",MB,[_[31]||(_[31]=e.createElementVNode("div",{class:"name"},"Capacity/GVWR",-1)),e.createElementVNode("div",DB,e.toDisplayString(Ue.capacity),1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",{class:"make-item",onClick:bt=>Mn(Ue)},[e.createElementVNode("span",null,e.toDisplayString(Ue.label),1)],8,wB)]),_:2},1024))),128))])),64))])]),_:1},512)]),_:1},8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(et,{label:e.unref(a)("year"),prop:"make",class:e.normalizeClass(["custom-label-poosition2 custom-label-poosition8",{"is-focus":Oe.value}])},{default:e.withCtx(()=>[e.createVNode(we,{modelValue:y.value.year,"onUpdate:modelValue":_[6]||(_[6]=ce=>y.value.year=ce),modelModifiers:{number:!0},maxlength:64,onFocus:_[7]||(_[7]=ce=>Oe.value=!0),onBlur:_[8]||(_[8]=ce=>Oe.value=!1)},{suffix:e.withCtx(()=>[e.createVNode(zt,{placement:"bottom-start",width:"144",trigger:"click","popper-class":"popper-year","popper-style":{minWidth:"144px"},ref_key:"popperYearRef",ref:tt,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",{onClick:Re,class:"wrapper-date"},[e.createVNode(Ne,{name:"date","font-size":"24",color:"#000",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",{id:"scrollBox",class:"popper-year-content",ref_key:"yearRef",ref:dt,onScroll:Bt},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(Se),ce=>(e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["item",{active:y.value.year==ce}]),key:ce,onClick:Ue=>Rt(ce)},e.toDisplayString(ce),11,OB))),128))],544)]),_:1},512)]),_:1},8,["modelValue"])]),_:1},8,["label","class"])]),e.createElementVNode("div",LB,[e.createVNode(et,{label:e.unref(a)("plateNum"),prop:"licensePlateNumber",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":j.value}])},{default:e.withCtx(()=>[e.createVNode(we,{modelValue:y.value.licensePlateNumber,"onUpdate:modelValue":_[9]||(_[9]=ce=>y.value.licensePlateNumber=ce),maxlength:50,onFocus:_[10]||(_[10]=ce=>j.value=!0),onBlur:_[11]||(_[11]=ce=>j.value=!1)},null,8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(et,{label:e.unref(a)("vinOrSerialNumber"),prop:"vin",class:e.normalizeClass(["custom-label-poosition2",{"is-focus":q.value}])},{default:e.withCtx(()=>[e.createVNode(we,{modelValue:y.value.vin,"onUpdate:modelValue":_[12]||(_[12]=ce=>y.value.vin=ce),maxlength:64,onFocus:_[13]||(_[13]=ce=>q.value=!0),onBlur:_[14]||(_[14]=ce=>q.value=!1)},null,8,["modelValue"])]),_:1},8,["label","class"])])]),e.createVNode(go,{value:e.unref(ft),"onUpdate:value":_[16]||(_[16]=ce=>e.isRef(ft)?ft.value=ce:ft=ce),timeZone:Ht.value,"onUpdate:timeZone":_[17]||(_[17]=ce=>Ht.value=ce),visible:Dn.value,"onUpdate:visible":_[18]||(_[18]=ce=>Dn.value=ce),showFormat:Nn.value,immediate:!0,disableFuntion:en,teleported:!0,needMaxIndex:!0,onChange:rl},{default:e.withCtx(()=>[e.createVNode(et,{label:e.unref(a)("boundDate"),prop:"deviceId",class:"custom-label-poosition3"},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"content",ref_key:"datePickerSelectRef",ref:De},[_[32]||(_[32]=e.createElementVNode("div",{class:"sub-text"},"Current device data starts",-1)),e.createElementVNode("div",xB,[e.createElementVNode("div",PB,[e.createElementVNode("span",RB,e.toDisplayString(e.unref(ft)?e.unref(U)(e.unref(ft)).tz(Ae(Ht.value)).format(e.unref(_c)({})):""),1),e.unref(ft)?(e.openBlock(),e.createElementBlock("div",FB,e.toDisplayString(Ht.value),1)):e.createCommentVNode("",!0),e.createElementVNode("div",zB,[e.createVNode(Ne,{name:"date","font-size":"24",color:"#020202"})])]),e.createElementVNode("div",{class:"btn-now",onClick:e.withModifiers(gt,["stop"])},"Now")])],512),y.value.deviceId?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",{key:0,class:"disabled-date",onClick:_[15]||(_[15]=e.withModifiers(()=>{},["stop"]))}))]),_:1},8,["label"])]),_:1},8,["value","timeZone","visible","showFormat"]),e.createVNode(et,{prop:"tagContent",class:"custom-label-poosition4"},{default:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",HB,[e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("bingToTags")),1),e.createElementVNode("span",ZB,"("+e.toDisplayString(y.value.tagContent?y.value.tagContent.length:0)+")",1)]),e.createElementVNode("div",YB,[y.value.tagContent&&y.value.tagContent.length?(e.openBlock(),e.createElementBlock("div",{key:0,style:{"margin-top":"16px"},class:e.normalizeClass({noMaigin:qe.value})},[y.value.tagContent.length>AI?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[qe.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"tag-cell all-elelist",onScroll:tn},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.tagContent,(ce,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:ce.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:bt=>le(bt,ce.name,"top",80),onMouseleave:Z,onClick:bt=>nn(ce)},[e.createVNode(Ne,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",JB,[e.createVNode(Ia,{class:"tagtxt",text:ce.name||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(bt=>oe(Ue),["stop"])},[e.createVNode(Ne,{name:"removeIcon","font-size":"16"})],8,$B)],40,XB)]))),128))],32)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",jB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.tagContent.slice(0,3),(ce,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:ce.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:bt=>le(bt,ce.name,"top",80),onMouseleave:Z,onClick:bt=>nn(ce)},[e.createVNode(Ne,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",UB,[e.createVNode(Ia,{class:"tagtxt",text:ce.name||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(bt=>oe(Ue),["stop"])},[e.createVNode(Ne,{name:"removeIcon","font-size":"16"})],8,GB)],40,_B)]))),128))]),e.createElementVNode("div",{class:"show-all",onClick:_[19]||(_[19]=ce=>qe.value=!0)},[e.createVNode(Ne,{name:"verticalPoint","font-size":"24"}),e.createElementVNode("div",null," See all "+e.toDisplayString(y.value.tagContent.length)+" Vehicles ",1)]),e.createElementVNode("div",WB,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.tagContent.slice(y.value.tagContent.length-(y.value.tagContent.length%3?y.value.tagContent.length%3:3)),(ce,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:ce.name},[e.createElementVNode("div",{class:"tag-item my-tag-item",onMouseenter:bt=>le(bt,ce.name,"top",80),onMouseleave:Z,onClick:bt=>nn(ce)},[e.createVNode(Ne,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",QB,[e.createVNode(Ia,{class:"tagtxt",text:ce.name||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(bt=>oe(Ue),["stop"])},[e.createVNode(Ne,{name:"removeIcon","font-size":"16"})],8,qB)],40,KB)]))),128))])],64))],64)):(e.openBlock(),e.createElementBlock("div",eI,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(y.value.tagContent,(ce,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:ce.name},[e.createElementVNode("div",{class:"my-tag-item tag-item",onMouseenter:bt=>le(bt,ce.name,"top",80),onMouseleave:Z,onClick:bt=>nn(ce)},[e.createVNode(Ne,{name:"tagIcon","font-size":"24",class:"icon"}),e.createElementVNode("div",nI,[e.createVNode(Ia,{class:"tagtxt",text:ce.name||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(bt=>oe(Ue),["stop"])},[e.createVNode(Ne,{name:"removeIcon","font-size":"16"})],8,oI)],40,tI)]))),128))]))],2)):e.createCommentVNode("",!0),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createElementBlock("div",aI,[e.createVNode(Ne,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",onClick:ge})])):e.createCommentVNode("",!0),ee.value?(e.openBlock(),e.createElementBlock("div",rI,[e.createElementVNode("div",lI,[e.createElementVNode("div",iI,[e.createCommentVNode("",!0),e.createElementVNode("div",sI," Selected:"+e.toDisplayString(e.unref(V).filter(ce=>ce.checkValue).length),1)]),e.createElementVNode("div",cI,[e.createVNode(Ne,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",style:{"margin-right":"16px"},onClick:Qe}),e.createVNode(Ne,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:Ze})])]),e.createElementVNode("div",dI,[e.createVNode(we,{modelValue:R.value,"onUpdate:modelValue":_[20]||(_[20]=ce=>R.value=ce),max:"64",class:"search-input",placeholder:"Search Tags"},{prefix:e.withCtx(()=>[e.createVNode(Ne,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue"])]),e.createElementVNode("div",uI,[e.createElementVNode("div",fI,[e.createVNode(Ne,{class:"icon",name:"selectAllIcon","font-size":"24"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("selectAll")),1)]),e.createElementVNode("div",mI,[e.createVNode(Bi,{modelValue:Lt.value,"onUpdate:modelValue":_[21]||(_[21]=ce=>Lt.value=ce),indeterminate:hn.value,onChange:$t,style:{"margin-right":"6px"}},null,8,["modelValue","indeterminate"])])]),_[33]||(_[33]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",pI,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(V),ce=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:ce.name},[ce.isShow?(e.openBlock(),e.createElementBlock("div",hI,[e.createElementVNode("div",gI,[e.createVNode(Ne,{name:"tagIcon","font-size":"24"}),e.createElementVNode("div",{style:{"margin-left":"8px"},class:"name",onMouseenter:Ue=>le(Ue,ce.name,"top",200),onMouseleave:Z},[e.createVNode(Ia,{class:"tagtxt",text:ce.name,location:"middle","max-lines":1,autoResize:!0},null,8,["text"])],40,yI)]),e.createElementVNode("div",kI,[e.createVNode(Ne,{class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",style:{"margin-right":"16px"},onClick:Ue=>te(ce)},null,8,["onClick"]),e.createVNode(Bi,{modelValue:ce.checkValue,"onUpdate:modelValue":Ue=>ce.checkValue=Ue,onChange:J},null,8,["modelValue","onUpdate:modelValue"])])])):e.createCommentVNode("",!0)],64))),128))]),_[34]||(_[34]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",{class:"add-wrapper",onClick:be},[e.createVNode(Ne,{class:"driver-add",name:"plus","font-size":"32",color:"#9a9a9a"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("createNewTag")),1)])])):e.createCommentVNode("",!0)])])]),_:1}),e.createVNode(et,{label:e.unref(a)("description"),prop:"description"},{default:e.withCtx(()=>[e.createVNode(we,{modelValue:y.value.description,"onUpdate:modelValue":_[22]||(_[22]=ce=>y.value.description=ce),placeholder:"Type in content",type:"textarea",autosize:!1,"show-word-limit":"",maxlength:250},null,8,["modelValue"])]),_:1},8,["label"]),Kt.value.length?(e.openBlock(),e.createBlock(et,{key:0},{default:e.withCtx(()=>[e.createElementVNode("div",vI,[e.createElementVNode("div",bI,e.toDisplayString(e.unref(a)("history")),1),e.createElementVNode("div",wI,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Kt.value,(ce,Ue)=>(e.openBlock(),e.createElementBlock("div",{key:Ue,class:"bound-year"},[e.createElementVNode("div",CI,e.toDisplayString(ce),1),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList($.value[ce],(bt,nt)=>(e.openBlock(),e.createElementBlock("div",{key:nt,index:nt,class:"year-content"},[e.createElementVNode("div",{class:e.normalizeClass(["left","left"+nt%4])},null,2),e.createElementVNode("div",TI,[e.createElementVNode("div",null,e.toDisplayString(bt.endTime||"To future"),1),e.createElementVNode("div",null,e.toDisplayString(bt.startTime),1)]),e.createElementVNode("div",NI,[bt.userPackageId?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createVNode(Ne,{name:"monitorIconCpu ","font-size":"24"}),e.createElementVNode("span",null,e.toDisplayString(bt.userPackageId),1),bt.endTime?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",SI," Current "))],64)):(e.openBlock(),e.createElementBlock("div",VI,"No data"))])],8,EI))),128))]))),128))])])]),_:1})):e.createCommentVNode("",!0)])])]),_:1},8,["model","rules"])]),_:1})]),_:1},8,["modelValue","title"]),e.createVNode(gn,{ref_key:"tooltipRef",ref:$c,visible:hr.value,placement:ll.value,"hide-after":0,"popper-options":{modifiers:[{name:"computeStyles",options:{adaptive:!1,enabled:!1}}]},"virtual-ref":On.value,"virtual-triggering":"","popper-class":"singleton-tooltip-tag"},{content:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Ba.value),1)]),_:1},8,["visible","placement","virtual-ref"]),de.value?(e.openBlock(),e.createBlock(od,{key:0,modelValue:de.value,"onUpdate:modelValue":_[24]||(_[24]=ce=>de.value=ce),loginInfo:t.loginInfo,customerHabit:e.unref(c),itemData:Q.value,allVehicles:t.allVehicles,allAssetTypes:t.allAssetTypes,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:t.saveFunctionTag,assetTypeFn:e.unref(s),bindDeviceHis:e.unref(d),deviceBindTimeLimit:e.unref(p),saveFunctionVehicle:e.unref(m),unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-c8febdb6"]]),II={class:"sub-title"},MI={class:"content-wrapper"},DI={class:"title"},OI={class:"many-tag"},LI=["onMouseenter","onClick"],xI={class:"bound-tagitem-name"},PI=["onClick"],RI={class:"many-tag"},FI=["onMouseenter","onClick"],zI={class:"bound-tagitem-name"},HI=["onClick"],ZI=["onMouseenter","onClick"],YI={class:"bound-tagitem-name"},jI=["onClick"],_I={key:1,class:"less-tag"},UI=["onMouseenter","onClick"],GI={class:"bound-tagitem-name"},WI=["onClick"],KI={class:"list-item-left"},QI={class:"name"},qI={class:"num"},XI={class:"list-item-left"},JI={class:"name"},$I={class:"num"},eM={class:"list-item-left"},tM={class:"name"},nM={class:"num"},oM={class:"title"},aM={class:"title-left"},rM={class:"select-num"},lM={class:"title-right"},iM={style:{"margin-right":"8px"}},sM={key:0,class:"input-type"},cM={key:1,class:"input-wrapper"},dM={key:2,class:"input-wrapper2"},uM={class:"icon"},fM={class:"select-wrapper"},mM={class:"select-left"},pM={style:{"margin-left":"3px"}},hM={class:"right"},gM={class:"all-list-content"},yM={key:0,class:"select-item"},kM={class:"left"},vM={class:"name",style:{"margin-left":"8px","vertical-align":"middle"}},bM={class:"right"},wM={class:"title"},CM={class:"title-left"},EM={class:"select-num"},TM={class:"title-right"},NM={style:{"margin-right":"8px"}},SM={class:"input-wrapper"},VM={class:"select-wrapper"},AM={class:"select-left"},BM={style:{"margin-left":"3px"}},IM={class:"right"},MM={class:"all-list-content"},DM={class:"group-title"},OM={class:"title-left"},LM={class:"group-name"},xM={class:"title-right"},PM={class:"group-content"},RM={key:0,class:"content-item"},FM={class:"name"},zM={class:"item-right"},HM={key:0,class:"all-bound-tag"},ZM={class:"all-bound-tag-content"},YM={class:"title"},jM={class:"title-left"},_M={class:"total"},UM={class:"title-right"},GM={style:{cursor:"pointer"}},WM={class:"all-bound-content"},KM={class:"element-list"},QM=["onMouseenter"],qM={class:"bound-tagitem-name"},XM=["onClick"],JM={style:{flex:"auto"}},$M=vt(e.defineComponent({__name:"AddOrEditTag",props:{modelValue:{type:Boolean,required:!0,default:!1},loginInfo:{type:Object,required:!0,default(){return{}}},itemData:{type:Object,default:()=>({})},allVehicles:{type:Array,default:()=>[]},allDevices:{type:Array,default:()=>[]},allTags:{type:Array,default:()=>[]},allLandmarks:{type:Array,default:()=>[]},landmarkGroup:{type:Array,default:()=>[]},isNeedAdd:{type:String,default:""},saveFunctionTag:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},customerHabit:{type:Object,required:!0,default(){return{}}},allAssetTypes:{type:Array,required:!0,default(){return[]}},modelTypes:{type:Object,required:!0,default(){return{}}},allVehicleToDevice:{type:Array,required:!0,default(){return[]}},assetTypeFn:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},bindDeviceHis:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},deviceBindTimeLimit:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionVehicle:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}}},emits:["update:modelValue"],setup(t,{expose:n,emit:o}){const a=nl(),{t:r}=Xt(),l=t,{modelValue:i,saveFunctionTag:c}=e.toRefs(l),s=o,d=e.computed({get(){return i.value},set($){s("update:modelValue",$)}}),p={name:[{required:!0,message:"Please enter Tag name"}]},m=e.ref("Create a Tag"),h=e.ref({landmark:[],vehicle:[],device:[],tag:[]}),g=e.ref({}),f=e.ref({id:"",name:"",description:"",content:{vehicle:[],device:[],tag:[],landmark:[]}}),u=()=>{var $,K,oe,j;if(h.value.vehicle=l.allVehicles,h.value.device=l.allDevices,h.value.tag=l.allTags,h.value.landmark=l.allLandmarks,l.itemData&&l.itemData.id){let q=l.allTags.find(Oe=>Oe.id===l.itemData.id);if(q){let Oe=l.allVehicles.filter(ht=>q.content.vehicle.includes(ht.id)).map(ht=>({name:ht.name,id:ht.id})),Ke=l.allDevices.filter(ht=>q.content.device.includes(ht.id)).map(ht=>({name:ht.userPackageId,id:ht.id})),Dt=l.allTags.filter(ht=>q.content.tag.includes(ht.id)).map(ht=>({name:ht.name,id:ht.id})),cn=l.allLandmarks.filter(ht=>q.content.landmark.includes(ht.id)).map(ht=>({name:ht.name,id:ht.id}));f.value={id:q.id,name:q.name,description:q.content.description,content:{vehicle:Oe,device:Ke,tag:Dt,landmark:cn}}}m.value=r("editThisTag"),g.value={id:f.value.id,name:f.value.name,description:f.value.description,content:{landmark:(($=f.value.content)==null?void 0:$.landmark)||[],vehicle:((K=f.value.content)==null?void 0:K.vehicle)||[],device:((oe=f.value.content)==null?void 0:oe.device)||[],tag:((j=f.value.content)==null?void 0:j.tag)||[]}}}else m.value=r("createTag"),g.value={id:"",name:"",description:"",content:{landmark:[],vehicle:[],device:[],tag:[]}}};e.watch(()=>i.value,$=>{$?u():f.value={id:"",name:"",description:"",content:{vehicle:[],device:[],tag:[],landmark:[]}}},{deep:!0,immediate:!0});const v=e.ref(),k=e.ref(!1),y=()=>{var $;if(V.value||I.value){se();return}k.value=!1,($=v.value)==null||$.validate(async K=>{if(!K)return;const oe={...g.value,content:{landmark:g.value.content.landmark.map(q=>q.id)||[],vehicle:g.value.content.vehicle.map(q=>q.id)||[],device:g.value.content.device.map(q=>q.id)||[],tag:g.value.content.tag.map(q=>q.id)||[]}};k.value=!0;let j={content:{}};if(oe.id){for(let q of Object.keys(oe))if(oe[q]!==f.value[q])if(typeof oe[q]=="object")for(const Oe of Object.keys(oe[q]))JSON.stringify(oe[q][Oe])!=JSON.stringify(f.value[q][Oe])&&(j[q][Oe]=oe[q][Oe]);else j[q]=oe[q];j.id=oe.id}if(delete j.tagType,delete oe.tagType,oe.id?(j.content.modifyTime=U(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),oe.description&&f.value.description!==oe.description&&(j.content.description=oe.description)):(oe.content.createTime=U(new Date).utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),oe.description&&(oe.content.description=oe.description)),delete oe.description,delete j.description,oe.id&&Object.keys(j.content).length===1&&Object.keys(j.content)[0]==="modifyTime"&&!j.name){k.value=!1,d.value=!1;return}await c.value(oe.id?j:oe,b,w)})},b=()=>{a.success("Saved successfully!"),k.value=!1,Re()},w=()=>{k.value=!1},C=$=>$==="landmark"?"landmarkIcon":$==="vehicle"?"vehicleIcon":$==="device"?"monitorIconCpu":"tagIcon",T=$=>{let K=l.allVehicles.find(oe=>oe.id===$);return K?"vehicle-"+K.content.newIcon:"vehicleIcon"};e.watch(()=>d.value,$=>{var K;te.value=!1,$||(g.value={},(K=v.value)==null||K.resetFields(),O.value=!1,M.value=!1,V.value=!1,I.value=!1,de.value=!1,Q.value="")});const E=()=>Ti(U.utc().format()),S=e.computed(()=>{let $=[];return g.value.content&&Object.keys(g.value.content).forEach(K=>{let oe=g.value.content[K];oe=oe.map(j=>({...j,type:K})),$.push(...oe)}),$}),A=e.ref([]),N=e.computed(()=>{let $=[];for(let K=0;K<A.value.length;K++){let oe=[];oe.push(A.value[K]),K+1<A.value.length&&(oe.push(A.value[K+1]),K++),$.push({id:oe[0].id,list:oe})}return $}),O=e.ref(!1),M=e.ref(!1),H=e.ref(),z=e.ref(),P=e.ref(),B=e.ref(),R=$=>{try{if(M.value&&!V.value&&!I.value&&z.value){let K=z.value.contains($.target),oe=H.value.contains($.target);!K&&!oe&&(M.value=!1)}if(V.value&&P.value){let K=P.value.contains($.target),oe=z.value.contains($.target);!K&&!oe&&(V.value=!1)}if(I.value&&B.value){let K=B.value.contains($.target),oe=z.value.contains($.target);!K&&!oe&&(I.value=!1)}}catch(K){console.log("error",K)}},V=e.ref(!1),I=e.ref(!1),D=e.ref([]),X=e.ref([]),W=e.ref([]),re=e.ref([]),fe=e.ref("tag"),Ie=e.ref("Search Tag"),he=e.ref(0),Le=$=>{const K=l.allVehicleToDevice.find(oe=>oe.vehicleId===$);if(K)return l.allDevices.find(oe=>K.deviceId===oe.id)},ke=e.ref("");let xe=e.ref(""),Ee=e.ref("one"),F=e.ref("tag"),G=e.ref(!1);const ae=$=>{if(V.value=!1,I.value=!1,xe.value=$,fe.value=$,ue.value="",Ee.value="one",F.value=$,G.value=!1,$==="tag"?(Ie.value="Search Tag",ke.value=r("createNewTag")):$==="vehicle"?(Ie.value="Search Vehicle",ke.value=r("createNewVehicle"),G.value=!0):$==="device"?(Ie.value=r("searchDeviceID"),ke.value="",G.value=!0):$==="landmark"&&(Ie.value="Search Landmark"),$==="tag"||$==="vehicle"||$==="device"){let K=[];h.value[$].forEach(oe=>{if($==="tag"){if(g.value.id!==oe.id){let j=g.value.content[$].some(q=>q.id===oe.id);K.push({...oe,name:oe.name||oe.userPackageId,checkValue:j,isShow:!0})}}else if($==="vehicle"){let j=g.value.content[$].some(Oe=>Oe.id===oe.id),q=Le(oe.id);K.push({...oe,name:oe.name||oe.userPackageId,deviceUpid:q?q.userPackageId:"",checkValue:j,isShow:!0})}else{let j=g.value.content[$].some(q=>q.id===oe.id);K.push({...oe,name:oe.name||oe.userPackageId,checkValue:j,isShow:!0})}}),D.value=K,X.value=K,he.value=K.length}else if($==="landmark"){he.value=h.value.landmark.length;let K=[{name:"Default",iconType:1,list:[]}];l.landmarkGroup.forEach(oe=>{K.push({...oe,list:[]})}),h.value.landmark.forEach(oe=>{var j;if(g.value.id!==oe.id){let q=g.value.content.landmark.some(Ke=>Ke.id===oe.id),Oe={...oe,checkValue:q};if((j=Oe.landmarkGroup)!=null&&j.length){let Ke=K.findIndex(Dt=>Dt.id===Oe.landmarkGroup[0]);Ke>-1?K[Ke].list.push(Oe):K[0].list.push(Oe)}else K[0].list.push(Oe)}}),K=K.map(oe=>{let j=oe.list.some(Oe=>Oe.checkValue)&&oe.list.some(Oe=>!Oe.checkValue),q=oe.list.every(Oe=>Oe.checkValue)&&oe.list.length>0;return{...oe,checkValue:q,isIndeterminate:j,isOpen:!0}}),K.forEach(oe=>{oe.list.forEach(j=>{j.isShow=!0})}),W.value=K,re.value=K,Be.value=W.value.length===W.value.filter(oe=>oe.checkValue).length,lt.value=Be.value?!1:K.some(oe=>oe.isIndeterminate)}$==="landmark"?I.value=!0:(V.value=!0,lt.value=D.value.some(K=>K.checkValue)&&D.value.some(K=>!K.checkValue),Be.value=D.value.filter(K=>K.checkValue).length===D.value.length)},Y=$=>{Ee.value=$,ue.value="",D.value.forEach(K=>K.isShow=!0)},ue=e.ref("");let Te=e.ref([]);e.watch(()=>ue.value,$=>{if(fe.value==="landmark"){W.value=W.value.map(oe=>{let j=oe.list.map(q=>{let Oe=$.split(" "),Ke=!1;return Oe.forEach(Dt=>{var cn;Ke||(Ke=(cn=q.name)==null?void 0:cn.toString().toLowerCase().includes(Dt.toLowerCase()))}),{...q,isShow:Ke}});return{...oe,list:j}});let K=0;W.value.forEach(oe=>{K+=oe.list.filter(j=>j.isShow).length}),he.value=K}else{if(Ee.value==="more")if(F.value==="vehicle"){let K=$.split(`
232
232
  `).filter(oe=>oe);K.length?D.value=D.value.map(oe=>{let j=!1;return K.forEach(q=>{var Oe;j||(j=((Oe=oe.deviceUpid)==null?void 0:Oe.toString().toLowerCase())===q.toLowerCase())}),{...oe,isShow:j}}):D.value=D.value.map(oe=>({...oe,isShow:!0}))}else{let K=$.split(`
233
- `).filter(oe=>oe);K.length?D.value=D.value.map(oe=>{let j=!1;return K.forEach(q=>{var Oe;j||(j=((Oe=oe.name)==null?void 0:Oe.toString().toLowerCase())===q.toLowerCase())}),{...oe,isShow:j}}):D.value=D.value.map(oe=>({...oe,isShow:!0}))}else D.value=D.value.map(K=>{var oe;return{...K,isShow:(oe=K.name)==null?void 0:oe.toString().toLowerCase().includes($.toLowerCase())}});he.value=D.value.filter(K=>K.isShow).length}}),e.watch(()=>D.value,()=>{Te.value=D.value.filter($=>$.isShow)});const Be=e.ref(!1),lt=e.ref(!1),dt=$=>{D.value.forEach(K=>{K.isShow&&(K.checkValue=$)})},x=()=>{};e.watch(()=>D.value,()=>{let $=D.value.filter(oe=>oe.isShow),K=D.value.filter(oe=>oe.isShow&&oe.checkValue);Be.value=!!$.length&&$.length===K.length,lt.value=!!K.length&&$.length!==K.length},{deep:!0}),e.watch(()=>W.value,()=>{W.value.forEach($=>{let K=$.list.filter(oe=>oe.isShow);$.isIndeterminate=!!(K.filter(oe=>oe.checkValue).length&&K.filter(oe=>!oe.checkValue).length)}),lt.value=!!(W.value.filter($=>$.checkValue).length&&W.value.filter($=>!$.checkValue).length),Be.value=W.value.every($=>$.checkValue)},{deep:!0});const L=e.computed(()=>{let $=0;return W.value.forEach(K=>{$+=K.list.filter(oe=>oe.checkValue).length}),$}),ie=$=>{W.value.forEach(K=>{K.checkValue=$,K.list&&K.list.forEach(oe=>{oe.isShow&&(oe.checkValue=$)})})},De=($,K)=>{W.value[K].list.forEach(oe=>{oe.isShow&&(oe.checkValue=$)})},pe=$=>{W.value[$].checkValue=W.value[$].list.filter(K=>K.checkValue).length===W.value[$].list.length},se=()=>{if(fe.value==="tag"){let $=D.value.filter(K=>K.checkValue);g.value.content.tag=$}else if(fe.value==="vehicle"){let $=D.value.filter(K=>K.checkValue);g.value.content.vehicle=$}else if(fe.value==="device"){let $=D.value.filter(K=>K.checkValue);g.value.content.device=$}else if(fe.value==="landmark"){let $=[];W.value.forEach(K=>{$.push(...K.list.filter(oe=>oe.checkValue))}),g.value.content.landmark=$}V.value=!1,I.value=!1,M.value=!1},Me=$=>{At.value=!1;let K=[...g.value.content[$.type]],oe=K.findIndex(j=>j.id===$.id);oe>-1&&(K.splice(oe,1),g.value.content[$.type]=K)},ee=$=>{if(fe.value==="tag"){let K=l.allTags.find(oe=>oe.id===$.id);K&&(Fe.value={id:K.id},Se.value=!0)}else if(fe.value==="vehicle"){let K=l.allVehicles.find(oe=>oe.id===$.id);if(K){let oe=ge(K.id),j=Qe(K.id,"vehicleId");Fe.value={id:$.id,name:$.name,deviceId:j?j.deviceId:"",dataTime:"",tagContent:oe,assetType:$.assetType,newIcon:$.newIcon,vehicleTypeId:$.vehicleTypeId,make:$.make,year:$.year,licensePlateNumber:$.licensePlateNumber,vin:$.vin,description:$.description}}Bt.value=!0}else fe.value==="device"||fe.value;M.value=!1,V.value=!1},ge=$=>l.allTags.filter(K=>!!(K.vehicle&&K.vehicle.findIndex(oe=>oe===$)!==-1)),Qe=($,K="deviceId")=>l.allVehicleToDevice.find(oe=>oe[K]===$),$e=e.ref(!1),me=e.ref(),ve=()=>{fe.value==="tag"?($e.value=!0,me.value=g.value.id,de.value&&(Q.value=g.value.id+""),Fe.value=null,Se.value=!0):fe.value==="vehicle"?(Fe.value={},Bt.value=!0):fe.value==="device"||fe.value,M.value=!1,V.value=!1},Pe=()=>{Fe.value={},Ft.value=!0},ye=$=>{let K=l.allLandmarks.find(oe=>oe.id===$.id);K&&(Fe.value={...K},Ft.value=!0)},je=e.ref(),ot=e.ref(),At=e.ref(!1),Lt=e.ref(""),hn=e.ref("right"),$t=($,K,oe="right")=>{je.value=$.currentTarget,Lt.value=K,hn.value=oe;let j=je.value;const q=document.createRange();q.setStart(j,0),q.setEnd(j,j.childNodes.length),$.currentTarget.querySelector("span").querySelector("span").innerText!=K&&(At.value=!0)},J=()=>{At.value=!1};let de=e.ref(!1),Q=e.ref("");const te=e.ref(!1),be=()=>{At.value=!1},Ze=$=>{M.value=!0,de.value=$},Se=e.ref(!1),Fe=e.ref(),Re=()=>{d.value=!1};let tt=e.ref(!1);const Rt=()=>{d.value&&(M.value=!1,I.value=!1,h.value.vehicle=l.allVehicles,h.value.device=l.allDevices,h.value.tag=l.allTags,h.value.landmark=l.allLandmarks,g.value.content.vehicle=l.allVehicles.filter($=>g.value.content.vehicle.some(K=>K.id===$.id)).map($=>({name:$.name,id:$.id})),g.value.content.device=l.allDevices.filter($=>g.value.content.device.some(K=>K.id===$.id)).map($=>({name:$.userPackageId,id:$.id})),g.value.content.tag=l.allTags.filter($=>g.value.content.tag.some(K=>K.id===$.id)).map($=>({name:$.name,id:$.id})),g.value.content.landmark=l.allLandmarks.filter($=>g.value.content.landmark.some(K=>K.id===$.id)).map($=>({name:$.name,id:$.id})))};e.watch(()=>l.allTags,()=>{Rt(),tt.value&&(M.value=!0,ae("tag"),tt.value=!1)}),e.watch(()=>l.allVehicles,()=>{Rt()}),e.watch(()=>l.allLandmarks,()=>{Rt()}),n({showList:Ze});const Bt=e.ref(!1),Ft=e.ref(!1),Kt=$=>{if($.type==="vehicle")Fe.value={id:$.id},Bt.value=!0;else if($.type==="tag")Fe.value={id:$.id},Se.value=!0;else if($.type==="landmark"){let K=l.allLandmarks.find(oe=>oe.id===$.id);K&&(Fe.value={...K},Ft.value=!0)}};return($,K)=>{const oe=mo,j=Hl,q=e.resolveComponent("anSvgIcon"),Oe=e.resolveComponent("text-clamp"),Ke=Gs,Dt=e.resolveComponent("RecycleScroller"),cn=zl,ht=ga,Mn=Kl,Ht=$n,Dn=e.resolveComponent("add-or-edit-vehicle"),Nn=e.resolveComponent("add-or-edit-tag",!0),rl=e.resolveComponent("add-or-edit-landmark");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Mn,{modelValue:d.value,"onUpdate:modelValue":K[19]||(K[19]=en=>d.value=en),size:"520","destroy-on-close":!0,"show-close":!1,class:"drawer-footer-line drawer-class add-or-edit","before-close":Re,onClick:R},{header:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(m.value),1),e.createElementVNode("div",II,e.toDisplayString(E()),1)])]),footer:e.withCtx(()=>[e.createElementVNode("div",JM,[e.createVNode(ht,{style:{width:"85px",height:"40px"},onClick:Re},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(ht,{key:0,style:{width:"70px",height:"40px"},type:"primary",loading:k.value,onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createVNode(cn,{ref_key:"refForm",ref:v,class:"tagForm","label-position":"top","label-width":"auto","require-asterisk-position":"right",model:g.value,rules:p},{default:e.withCtx(()=>[e.createVNode(j,{label:e.unref(r)("nameThisTag"),prop:"name",class:"custom-label-poosition2"},{default:e.withCtx(()=>[e.createVNode(oe,{modelValue:g.value.name,"onUpdate:modelValue":K[0]||(K[0]=en=>g.value.name=en),maxlength:"64",placeholder:"Enter a unique name"},null,8,["modelValue"])]),_:1},8,["label"]),e.createVNode(j,{class:"custom-label-poosition"},{default:e.withCtx(()=>{var en;return[e.createElementVNode("div",MI,[e.createElementVNode("div",DI,[e.createTextVNode(e.toDisplayString(e.unref(r)("addElements")),1),e.createElementVNode("span",null,"("+e.toDisplayString(S.value.length)+")",1)]),S.value.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["content",{noMaigin:te.value}])},[S.value.length>6?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[te.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"many-tag all-elelist",onScroll:be},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Ae.type+"-tag"]]),onMouseenter:gt=>$t(gt,Ae.name,"top"),onMouseleave:J,onClick:gt=>Kt(Ae)},[e.createVNode(q,{name:Ae.type==="vehicle"?T(Ae.id):C(Ae.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",YI,[e.createVNode(Oe,{class:"tagtxt",text:Ae.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(gt=>Me(Ae),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,jI)],42,ZI)]))),128))],32)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",OI,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.slice(0,3),(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Ae.type+"-tag"]]),onMouseenter:gt=>$t(gt,Ae.name,"top"),onMouseleave:J,onClick:gt=>Kt(Ae)},[e.createVNode(q,{name:Ae.type==="vehicle"?T(Ae.id):C(Ae.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",xI,[e.createVNode(Oe,{class:"tagtxt",text:Ae.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(gt=>Me(Ae),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,PI)],42,LI)]))),128))]),e.createElementVNode("div",{class:"show-all",onClick:K[1]||(K[1]=Ae=>te.value=!0)},[e.createVNode(q,{name:"verticalPoint","font-size":"24"}),e.createElementVNode("div",null,"See all "+e.toDisplayString(S.value.length)+" Element",1)]),e.createElementVNode("div",RI,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.slice(S.value.length-(S.value.length%3?S.value.length%3:3)),(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Ae.type+"-tag"]]),onMouseenter:gt=>$t(gt,Ae.name,"top"),onMouseleave:J,onClick:gt=>Kt(Ae)},[e.createVNode(q,{name:Ae.type==="vehicle"?T(Ae.id):C(Ae.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",zI,[e.createVNode(Oe,{class:"tagtxt",text:Ae.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(gt=>Me(Ae),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,HI)],42,FI)]))),128))])],64))],64)):(e.openBlock(),e.createElementBlock("div",_I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Ae.type+"-tag"]]),onMouseenter:gt=>$t(gt,Ae.name,"top"),onMouseleave:J,onClick:gt=>Kt(Ae)},[e.createVNode(q,{name:Ae.type==="vehicle"?T(Ae.id):C(Ae.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",GI,[e.createVNode(Oe,{class:"tagtxt",text:Ae.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(gt=>Me(Ae),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,WI)],42,UI)]))),128))]))],2)):e.createCommentVNode("",!0),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"listIconRef",ref:H,class:"wrapper-add"},[e.createVNode(q,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",style:{cursor:"pointer"},onClick:K[2]||(K[2]=Ae=>M.value=!0)})],512)):e.createCommentVNode("",!0),M.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:"type-list",ref_key:"typeListRef",ref:z},[e.createElementVNode("div",{class:"list-item",onClick:K[3]||(K[3]=Ae=>ae("tag"))},[e.createElementVNode("div",KI,[e.createVNode(q,{name:"tagIcon","font-size":"24"}),e.createElementVNode("span",QI,e.toDisplayString(e.unref(r)("addTag")),1),e.createElementVNode("span",qI,"("+e.toDisplayString((en=t.itemData)!=null&&en.id?h.value.tag.length-1:h.value.tag.length)+")",1)]),e.createVNode(q,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createElementVNode("div",{class:"list-item",onClick:K[4]||(K[4]=Ae=>ae("vehicle"))},[e.createElementVNode("div",XI,[e.createVNode(q,{name:"vehicleIcon","font-size":"24"}),e.createElementVNode("span",JI,e.toDisplayString(e.unref(r)("addVehicle")),1),e.createElementVNode("span",$I,"("+e.toDisplayString(h.value.vehicle.length)+")",1)]),e.createVNode(q,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createElementVNode("div",{class:"list-item",onClick:K[5]||(K[5]=Ae=>ae("landmark"))},[e.createElementVNode("div",eM,[e.createVNode(q,{name:"landmarkIcon","font-size":"24"}),e.createElementVNode("span",tM,e.toDisplayString(e.unref(r)("addLandmark")),1),e.createElementVNode("span",nM,"("+e.toDisplayString(h.value.landmark.length)+")",1)]),e.createVNode(q,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0),V.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["all-list",{"all-list-device":!ke.value}]),ref_key:"allList",ref:P,onClick:e.withModifiers(()=>{},["stop"])},[e.createElementVNode("div",oM,[e.createElementVNode("div",aM,[e.createElementVNode("div",rM," Selected:"+e.toDisplayString(D.value.filter(Ae=>Ae.checkValue).length),1)]),e.createElementVNode("div",lM,[e.createElementVNode("div",iM,[e.createVNode(q,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:K[7]||(K[7]=Ae=>V.value=!1)})]),e.createElementVNode("div",null,[e.createVNode(q,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:se})])])]),e.unref(G)?(e.openBlock(),e.createElementBlock("div",sM,[e.createElementVNode("div",{class:e.normalizeClass(["item",{"active-item":e.unref(Ee)==="one"}]),onClick:K[8]||(K[8]=Ae=>Y("one"))},e.toDisplayString(e.unref(F)==="vehicle"?"Vehicle Name":"Device"),3),e.createElementVNode("div",{class:e.normalizeClass(["item",{"active-item":e.unref(Ee)==="more"}]),onClick:K[9]||(K[9]=Ae=>Y("more"))}," Batch Device ID ",2)])):e.createCommentVNode("",!0),e.unref(Ee)!=="more"?(e.openBlock(),e.createElementBlock("div",cM,[e.createVNode(oe,{modelValue:ue.value,"onUpdate:modelValue":K[10]||(K[10]=Ae=>ue.value=Ae),max:"64",placeholder:Ie.value},{prefix:e.withCtx(()=>[e.createVNode(q,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"])])):(e.openBlock(),e.createElementBlock("div",dM,[e.createVNode(oe,{modelValue:ue.value,"onUpdate:modelValue":K[11]||(K[11]=Ae=>ue.value=Ae),type:"textarea",placeholder:Ie.value},{prefix:e.withCtx(()=>[e.createVNode(q,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",uM,[e.createVNode(q,{"font-size":"24",name:"searchIcon24",color:"#000"})])])),e.createElementVNode("div",fM,[e.createElementVNode("div",mM,[e.createVNode(q,{class:"icon",name:"selectAllIcon","font-size":"24",style:{"margin-right":"8px"}}),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("selectAll")),1),e.createElementVNode("span",pM,"("+e.toDisplayString(he.value)+")",1)])]),e.createElementVNode("div",hM,[e.createVNode(Ke,{modelValue:Be.value,"onUpdate:modelValue":K[12]||(K[12]=Ae=>Be.value=Ae),indeterminate:lt.value,onChange:dt},null,8,["modelValue","indeterminate"])])]),K[24]||(K[24]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",gM,[e.unref(Te).length?(e.openBlock(),e.createBlock(Dt,{key:0,items:e.unref(Te),"key-field":"id",style:{height:"100%"},"item-size":44},{default:e.withCtx(({item:Ae})=>[Ae.isShow?(e.openBlock(),e.createElementBlock("div",yM,[e.createElementVNode("div",kM,[e.createVNode(q,{name:fe.value==="vehicle"?T(Ae.id):C(fe.value),"font-size":"24"},null,8,["name"]),e.createElementVNode("div",vM,e.toDisplayString(Ae.tagType)+" "+e.toDisplayString(Ae.name),1)]),e.createElementVNode("div",bM,[e.unref(F)!=="device"?(e.openBlock(),e.createBlock(q,{key:0,class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",style:{"margin-right":"16px"},onClick:yt=>ee(Ae)},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(Ke,{modelValue:Ae.checkValue,"onUpdate:modelValue":yt=>Ae.checkValue=yt,onChange:x},null,8,["modelValue","onUpdate:modelValue"])])])):e.createCommentVNode("",!0)]),_:1},8,["items"])):e.createCommentVNode("",!0)]),ke.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[K[23]||(K[23]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",{class:"add-wrapper",onClick:ve},[e.createVNode(q,{name:"plus","font-size":"32",color:"#9a9a9a"}),e.createElementVNode("span",null,e.toDisplayString(ke.value),1)])],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),I.value?(e.openBlock(),e.createElementBlock("div",{key:4,class:"all-landmark-list",ref_key:"allLandmarkList",ref:B,onClick:e.withModifiers(()=>{},["stop"])},[e.createElementVNode("div",wM,[e.createElementVNode("div",CM,[e.createElementVNode("div",EM," Selected:"+e.toDisplayString(L.value),1)]),e.createElementVNode("div",TM,[e.createElementVNode("div",NM,[e.createVNode(q,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:K[13]||(K[13]=Ae=>I.value=!1)})]),e.createElementVNode("div",null,[e.createVNode(q,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:se})])])]),e.createElementVNode("div",SM,[e.createVNode(oe,{modelValue:ue.value,"onUpdate:modelValue":K[14]||(K[14]=Ae=>ue.value=Ae),max:"64",placeholder:"Search Landmark"},{prefix:e.withCtx(()=>[e.createVNode(q,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue"])]),e.createElementVNode("div",VM,[e.createElementVNode("div",AM,[e.createVNode(q,{class:"icon",name:"selectAllIcon","font-size":"24",style:{"margin-right":"8px"}}),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("selectAll")),1),e.createElementVNode("span",BM,"("+e.toDisplayString(he.value)+")",1)])]),e.createElementVNode("div",IM,[e.createVNode(Ke,{modelValue:Be.value,"onUpdate:modelValue":K[15]||(K[15]=Ae=>Be.value=Ae),indeterminate:lt.value,onChange:ie},null,8,["modelValue","indeterminate"])])]),e.createElementVNode("div",MM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt,class:"group-item"},[e.createElementVNode("div",DM,[e.createElementVNode("div",OM,[e.createVNode(q,{name:"landmark-group"+Ae.iconType,"font-size":"24"},null,8,["name"]),e.createElementVNode("div",LM,e.toDisplayString(Ae.name)+"("+e.toDisplayString(Ae.list.length)+") ",1)]),e.createElementVNode("div",xM,[(Ae.id,e.createCommentVNode("",!0)),e.createVNode(q,{onClick:gt=>Ae.isOpen=!Ae.isOpen,name:Ae.isOpen?"landmark-openIcon":"landmark-retractIcon","font-size":"32",class:"icon-open",style:{cursor:"pointer"}},null,8,["onClick","name"]),e.createVNode(Ke,{modelValue:Ae.checkValue,"onUpdate:modelValue":gt=>Ae.checkValue=gt,indeterminate:Ae.isIndeterminate,onChange:gt=>De(gt,yt)},null,8,["modelValue","onUpdate:modelValue","indeterminate","onChange"])])]),e.withDirectives(e.createElementVNode("div",PM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ae.list,(gt,ft)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:ft},[gt.isShow?(e.openBlock(),e.createElementBlock("div",RM,[e.createElementVNode("div",FM,e.toDisplayString(gt.name),1),e.createElementVNode("div",zM,[e.createVNode(q,{class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",onClick:On=>ye(gt)},null,8,["onClick"]),e.createVNode(Ke,{modelValue:gt.checkValue,"onUpdate:modelValue":On=>gt.checkValue=On,onChange:On=>pe(yt)},null,8,["modelValue","onUpdate:modelValue","onChange"])])])):e.createCommentVNode("",!0)],64))),128)),e.createElementVNode("div",{class:"add-btn",onClick:Pe},[e.createVNode(q,{name:"plus","font-size":"32",color:"#9a9a9a"})])],512),[[e.vShow,Ae.isOpen]])]))),128))]),e.createCommentVNode("",!0),e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0)]),O.value?(e.openBlock(),e.createElementBlock("div",HM,[e.createElementVNode("div",ZM,[e.createElementVNode("div",YM,[e.createElementVNode("div",jM,[K[25]||(K[25]=e.createElementVNode("div",null,"All Bound Element",-1)),e.createElementVNode("div",_M,e.toDisplayString(S.value.length)+" in total",1)]),e.createElementVNode("div",UM,[e.createElementVNode("div",GM,[e.createVNode(q,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",onClick:K[16]||(K[16]=Ae=>O.value=!1)})]),e.createCommentVNode("",!0)])]),e.createElementVNode("div",WM,[N.value.length?(e.openBlock(),e.createBlock(Dt,{key:0,items:N.value,"key-field":"id",style:{height:"100%"},"item-size":44},{default:e.withCtx(({item:Ae})=>[e.createElementVNode("div",KM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ae.list,(yt,gt)=>(e.openBlock(),e.createElementBlock("div",{key:yt.id},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[yt.type+"-tag"]]),onMouseenter:ft=>$t(ft,yt.name,gt%2==0?"left":"right"),onMouseleave:J},[e.createVNode(q,{name:yt.type==="vehicle"?T(yt.id):C(yt.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",qM,[e.createVNode(Oe,{class:"tagtxt",text:yt.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(ft=>Me(yt),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,XM)],42,QM)]))),128))])]),_:1},8,["items"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)]}),_:1}),e.createVNode(j,{label:e.unref(r)("description"),prop:"description"},{default:e.withCtx(()=>[e.createVNode(oe,{modelValue:g.value.description,"onUpdate:modelValue":K[18]||(K[18]=en=>g.value.description=en),placeholder:"Type in content",type:"textarea",autosize:!1,"show-word-limit":"",maxlength:250},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(Ht,{ref_key:"tooltipRef",ref:ot,visible:At.value,placement:hn.value,"hide-after":0,"show-arrow":!1,"popper-options":{modifiers:[{name:"computeStyles",options:{adaptive:!1,enabled:!1}}]},"virtual-ref":je.value,"virtual-triggering":"","popper-class":"singleton-tooltip-tag"},{content:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Lt.value),1)]),_:1},8,["visible","placement","virtual-ref"]),Bt.value?(e.openBlock(),e.createBlock(Dn,{key:0,modelValue:Bt.value,"onUpdate:modelValue":K[20]||(K[20]=en=>Bt.value=en),loginInfo:t.loginInfo,customerHabit:t.customerHabit,vehicleData:Fe.value,allAssetTypes:t.allAssetTypes,allVehicles:t.allVehicles,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:e.unref(c),unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","vehicleData","allAssetTypes","allVehicles","allDevices","modelTypes","allVehicleToDevice","allTags","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","allLandmarks","landmarkGroup","saveFunctionTag","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0),Se.value?(e.openBlock(),e.createBlock(Nn,{key:1,modelValue:Se.value,"onUpdate:modelValue":K[21]||(K[21]=en=>Se.value=en),loginInfo:t.loginInfo,customerHabit:t.customerHabit,itemData:Fe.value,allVehicles:t.allVehicles,allAssetTypes:t.allAssetTypes,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:e.unref(c),assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0),Ft.value?(e.openBlock(),e.createBlock(rl,{key:2,modelValue:Ft.value,"onUpdate:modelValue":K[22]||(K[22]=en=>Ft.value=en),loginInfo:t.loginInfo,itemData:Fe.value,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,allLandmarkGroup:t.landmarkGroup,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","itemData","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","allLandmarkGroup","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-714782ed"]]),eD={class:"form-body"},tD={class:"search-input-box"},nD=["onClick"],oD={class:"wrapper-map"},aD={style:{position:"relative"}},rD={id:"map-type-controller",class:"map-type-controller-container"},lD={class:"map-type-controller"},iD={class:"inner-desc-input",style:{width:"100%"}},sD={class:"flex-item-div"},cD={class:"inner-desc-input",style:{width:"100%"}},dD={class:"label-desc"},uD={class:"make-icon hover-animation"},fD={class:"popper-state-content"},mD=["onClick"],pD={class:"inner-desc-input",style:{width:"100%"}},hD={class:"group-choose"},gD={class:"desc"},yD={class:"name"},kD={class:"updown"},vD={class:"lable-ul"},bD=["onClick"],wD={class:"name"},CD={style:{flex:"auto"}},ED=vt(e.defineComponent({__name:"AddOrEditLandmark",props:{modelValue:{type:Boolean,default:!1},loginInfo:{type:Object,required:!0,default(){return{}}},itemData:{type:Object,default:()=>({})},landmarkGroupId:{type:Number,default:0},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},allLandmarkGroup:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}}},emits:["update:modelValue","addGroup"],setup(t,{emit:n}){const{t:o,locale:a}=Xt();let r;const l=t,{itemData:i,allLandmarkGroup:c,searhTrimblemapAddress:s,saveFunctionLandmark:d}=e.toRefs(l),p=()=>{P.value=!1},m=()=>{O.value=!1},h=localStorage.getItem("locale")||"en",g={name:[{required:!0,message:"Please enter landmark name"}]};a.value=h;const f=nl(),u=e.ref(!1),v=e.ref(0),k=e.ref({lat:34.063084,lng:-117.55725}),y=e.ref(""),b=e.ref(!1),w=e.ref([]),C=e.ref(),T=e.ref(),E=e.ref(16),S=e.ref([]),A=e.ref(),N=e.ref(),O=e.ref(!1),M=e.ref([]),H=e.ref(!1),z=e.ref("roadmap"),P=e.ref(!1),B=()=>{P.value=!P.value},R=()=>{A.value.map.setMapTypeId(z.value),P.value=!1};let V="";const I=async me=>{var ve;if(V=me,me!==""){H.value=!0;const Pe={query:me,includeOnly:"City"},ye=await s.value(Pe);if(V!==me)return;if(H.value=!1,!((ve=ye==null?void 0:ye.Locations)!=null&&ve.length)){M.value=[];return}const je=[];((ye==null?void 0:ye.Locations)||[]).forEach(ot=>{je.some(At=>At.value===ot.Address.City)||je.push({value:ot.Address.City})}),M.value=je}else M.value=[]},D=e.ref({iconType:1,name:"default",id:0}),X=e.ref([]),W=e.ref({content:{}}),re=e.ref(null),fe=e.ref([]),Ie=e.ref(),he=n,Le=e.computed(()=>l.itemData.id?o("editLandmark"):o("createLandmark")),ke=e.computed({get(){return l.modelValue},set(me){he("update:modelValue",me)}}),xe=me=>{D.value={iconType:me.iconType||1,name:me.name||"default",id:me.id||0},O.value=!1},Ee=me=>{const ve=new window.google.maps.LatLngBounds;return me.forEach(Pe=>{ve.extend(Pe)}),ve},F=()=>{var je;const me=(je=T.value)==null?void 0:je.getCenter(),ve=me.lat(),Pe=me.lng(),ye=[];ye.push({lat:ve+.002,lng:Pe+.002}),ye.push({lat:ve+.002,lng:Pe-.002}),ye.push({lat:ve-.002,lng:Pe-.002}),ye.push({lat:ve-.002,lng:Pe+.002}),S.value=ye,me.value={lat:ve,lng:Pe},re.value=Ee(S.value),T.value.fitBounds(re.value)},G=()=>{if(W.value.geom){const me=W.value.geom.replace(/POLYGON\(\((.*?)\)\)/,"$1").split(",");me.pop();const ve=me.map(Pe=>{let ye=Pe.split(" ");return ye={lat:Number(ye[0]),lng:Number(ye[1])},ye});S.value=ve,re.value=Ee(S.value),T.value.fitBounds(re.value)}},ae=me=>{me&&me.forEach(ve=>{let Pe=ve.types.findIndex(ye=>ye==="postal_code");Pe>-1&&(W.value.content.postal=ve.long_name),Pe=ve.types.findIndex(ye=>ye==="country"),Pe>-1&&(W.value.content.country=ve.long_name),Pe=ve.types.findIndex(ye=>ye==="administrative_area_level_1"),Pe>-1&&(W.value.content.state=ve.long_name),Pe=ve.types.findIndex(ye=>ye==="locality"),Pe>-1&&(W.value.content.city=ve.long_name),Pe=ve.types.findIndex(ye=>ye==="route"),Pe>-1&&(W.value.content.street=ve.long_name)})},Y=()=>{if(S.value.length===0)return"";let me="";return S.value.forEach(ve=>{let Pe=ee(ve.lng);me+=`${ve.lat} ${Pe},`}),me+=`${S.value[0].lat} ${ee(S.value[0].lng)}`,me},ue=async me=>{const{bounds:ve}=me,Pe=[];if(ve){T.value.fitBounds(ve);const ye=ve.getNorthEast(),je=ve.getSouthWest();Pe.push({lat:ye.lat(),lng:ye.lng()}),Pe.push({lat:je.lat(),lng:ye.lng()}),Pe.push({lat:je.lat(),lng:je.lng()}),Pe.push({lat:ye.lat(),lng:je.lng()})}else{const{position:ye}=me;E.value=15,T.value.panTo({lat:ye.lat(),lng:ye.lng()})}S.value=Pe,ae(me.addrList),await e.nextTick(),i.value.geom=Y()},Te=()=>{C.value.geocode({address:y.value},(me,ve)=>{if(ve==="OK"&&me)if(me.length===0)w.value=[];else if(me.length===1){const Pe=me[0],ye=Pe.formatted_address,je=Pe.address_components,ot=Pe.geometry.bounds||Pe.geometry.viewport,At=Pe.geometry.location;ue({detailAddr:ye,addrList:je,bounds:ot,position:At})}else w.value=[],me.forEach((Pe,ye)=>{if(ye>9)return;const je=Pe.formatted_address,ot=Pe.address_components,{bounds:At}=Pe.geometry,Lt=Pe.geometry.location,hn={detailAddr:je,addrList:ot,bounds:At,position:Lt};w.value.push(hn)}),b.value=!0})},Be=()=>{const me=[],ve=new window.google.maps.LatLngBounds;N.value.polygon.getPaths().forEach(function(ye){ye.getArray().map(ot=>{ve.extend(ot),me.push({lat:ot.lat(),lng:ot.lng()})})}),S.value=me,C.value||(C.value=new window.google.maps.Geocoder);const Pe=ve.getCenter();C.value.geocode({address:`${Pe.lat()},${Pe.lng()}`},ye=>{(ye.length===1||ye.length!==0)&&ae(ye[0].address_components)})},lt=()=>{const me=[];r&&(clearTimeout(r),r=void 0);const ve=new window.google.maps.LatLngBounds;N.value.polygon.getPath().forEach(ye=>{ve.extend(ye),me.push({lat:ye.lat(),lng:ye.lng()})}),S.value=me,r=setTimeout(()=>{C.value||(C.value=new window.google.maps.Geocoder);const ye=ve.getCenter();C.value.geocode({address:`${ye.lat()},${ye.lng()}`},je=>{je===null?ae([]):(je.length===1||je.length!==0)&&ae(je[0].address_components)}),r=void 0},300),e.nextTick(()=>{dt()})},dt=()=>{N.value&&N.value.polygon.setOptions({fillOpacity:.04,fillColor:"#000",strokeWeight:2,strokeColor:"#F32C1D"})},x=()=>{N.value&&N.value.polygon.setOptions({fillOpacity:0,strokeWeight:2,strokeColor:"#F32C1D"})},L=()=>{Ie.value&&Ie.value.validate(me=>{me&&ie()})},ie=async()=>{W.value.geom=`POLYGON((${Y()}))`,W.value.content.landmarkGroup=D.value.id===0?[]:[D.value.id],u.value=!0;let me={};if(W.value.id){const ve=De(W.value.content,i.value.content);me.content={...ve},me.content.modifyTime=U().utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),me.id=W.value.id,W.value.geom!==i.value.geom&&(me.geom=W.value.geom),W.value.name!==i.value.name&&(me.name=W.value.name)}else me={...W.value},me.content.createTime=U().utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),me.content.modifyTime=U().utc().format("YYYY-MM-DDTHH:mm:ss[Z]");await d.value(me,pe,se)};function De(me,ve){const Pe={};for(const ye in me)me.hasOwnProperty(ye)&&(ve.hasOwnProperty(ye)?me[ye]!==ve[ye]&&(Pe[ye]=me[ye]):Pe[ye]=me[ye]);for(const ye in ve)ve.hasOwnProperty(ye)&&!me.hasOwnProperty(ye)&&(Pe[ye]=null);return Pe}const pe=()=>{f.success("Saved successfully!"),ke.value=!1,u.value=!1},se=()=>{u.value=!1};e.watch(()=>{var me;return(me=A.value)==null?void 0:me.ready},me=>{me&&(T.value=A.value.map,C.value=new window.google.maps.Geocoder,i.value.id?G():(F(),setTimeout(()=>{Be()},200)))});const Me=()=>{var ve,Pe;for(const ye in i.value)ye==="content"?W.value[ye]={...i.value[ye]}:W.value[ye]=i.value[ye];if(X.value=[],W.value.id)(Pe=(ve=W.value)==null?void 0:ve.landmarkGroup)==null||Pe.forEach(ye=>{let je=c.value.find(ot=>ye===ot.id);je&&X.value.push({iconType:je.iconType,name:je.name,id:je.id})}),X.value.length||X.value.push({iconType:1,name:"default",id:0});else{if(l.landmarkGroupId){let ye=c.value.find(je=>l.landmarkGroupId===je.id);ye&&X.value.push({iconType:ye.iconType,name:ye.name,id:ye.id})}X.value.length||X.value.push({iconType:1,name:"default",id:0})}let me=X.value[0];D.value={iconType:me.iconType,name:me.name,id:me.id}};e.watch(()=>ke.value,me=>{y.value="",me?Me():(W.value={content:{}},S.value=[],fe.value=[],v.value=0)},{immediate:!0});const ee=me=>(me=((me+180)%360+360)%360-180,me),ge=e.ref(!1),Qe=e.ref(),$e=me=>{W.value.content.state=me.value,Qe.value&&Qe.value.hide()};return(me,ve)=>{const Pe=mo,ye=Hl,je=e.resolveComponent("anSvgIcon"),ot=_o,At=ga,Lt=Bm,hn=Im,$t=$n,J=a7,de=o7,Q=zl,te=Kl;return e.openBlock(),e.createBlock(te,{modelValue:ke.value,"onUpdate:modelValue":ve[14]||(ve[14]=be=>ke.value=be),size:"520",title:Le.value,class:"drawer-footer-line landmark-drawer add-or-edit","destroy-on-close":!0,onClick:e.withModifiers(m,["stop"])},{footer:e.withCtx(()=>[e.createElementVNode("div",CD,[e.createVNode(At,{style:{width:"85px",height:"40px"},onClick:ve[13]||(ve[13]=be=>ke.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(At,{key:0,style:{width:"70px",height:"40px"},loading:u.value,type:"primary",onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",eD,[e.createVNode(Q,{ref_key:"formRef",ref:Ie,"label-position":"top","label-width":"auto",model:W.value,rules:g},{default:e.withCtx(()=>[e.createVNode(ye,{label:e.unref(o)("nameThisLandmark"),prop:"name"},{default:e.withCtx(()=>[e.createVNode(Pe,{class:"h40-br6",modelValue:W.value.name,"onUpdate:modelValue":ve[0]||(ve[0]=be=>W.value.name=be),maxlength:64},null,8,["modelValue"])]),_:1},8,["label"]),e.createVNode(ye,{class:"formitem-maparea",label:e.unref(o)("mapArea"),prop:"geom","label-position":"left"},{default:e.withCtx(()=>[e.createElementVNode("div",tD,[e.createVNode(ot,{visible:b.value,placement:"bottom",width:"480"},{reference:e.withCtx(()=>[e.createVNode(Pe,{modelValue:y.value,"onUpdate:modelValue":ve[1]||(ve[1]=be=>y.value=be),class:"search-input h40-br6",placeholder:"Search Address",onChange:Te},{prefix:e.withCtx(()=>[e.createVNode(je,{color:"#000",name:"searchIcon24","font-size":"24"})]),_:1},8,["modelValue"])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,be=>(e.openBlock(),e.createElementBlock("li",{key:be.detailAddr,class:"list-item",onClick:Ze=>{b.value=!1,ue(be)}},e.toDisplayString(be.detailAddr),9,nD))),128))]),_:1},8,["visible"]),e.createCommentVNode("",!0)])]),_:1},8,["label"]),e.createElementVNode("div",oD,[e.createVNode(e.unref(o1),{ref_key:"mapRef",ref:A,"api-key":t.GOOGLE_MAP_API_KEY,libraries:["geometry","places"],style:{width:"100%",height:"520px"},styles:t.MAP_STYLES,language:e.unref(a),gestureHandling:"greedy",center:k.value,zoom:E.value,"street-view-control":!1,"map-type-control":!1,disableDefaultUI:!0,"fullscreen-control":!1,rotateControl:!1,onClick:p},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"wrapper-rest",onClick:F},[e.createElementVNode("span",null,e.toDisplayString(e.unref(o)("reset")),1),e.createVNode(je,{name:"refreshIcon","font-size":"24"})]),e.createVNode(e.unref(cS),{ref_key:"polygonRef",ref:N,options:{paths:S.value,fillColor:"rgb(255, 255, 255)",fillOpacity:0,strokeWeight:2,strokeColor:"#F32C1D",editable:!0,controlPoints:!0,draggable:!0},onDragend:lt,onMouseup:Be,onMouseover:dt,onMouseout:x},null,8,["options"]),e.createVNode(e.unref(mS),{position:"RIGHT_TOP"},{default:e.withCtx(()=>[e.createElementVNode("div",aD,[e.createElementVNode("div",{class:e.normalizeClass([{"mapController-selected":P.value},"mapController"]),id:"map-type-btn",onClick:B},[e.createVNode(je,{name:"eye-icon",color:"rgba(2, 2, 2, 1)","font-size":24})],2),e.withDirectives(e.createElementVNode("div",rD,[e.createElementVNode("div",lD,[e.createVNode(hn,{modelValue:z.value,"onUpdate:modelValue":ve[2]||(ve[2]=be=>z.value=be),name:"mapTypeGroup",onChange:R},{default:e.withCtx(()=>[e.createVNode(Lt,{value:"roadmap",class:"map-type-item"},{default:e.withCtx(()=>ve[16]||(ve[16]=[e.createTextVNode(" Road ")])),_:1}),e.createVNode(Lt,{value:"hybrid",class:"map-type-item"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("satellite")),1)]),_:1})]),_:1},8,["modelValue"])])],512),[[e.vShow,P.value]])])]),_:1})]),_:1},8,["api-key","styles","language","center","zoom"])]),e.createVNode(ye,{label:e.unref(o)("address"),class:"form-item-address"},{default:e.withCtx(()=>[e.createElementVNode("div",iD,[ve[17]||(ve[17]=e.createElementVNode("span",{class:"label-desc"},"Street/Apt/Suite/Floor",-1)),e.createVNode(Pe,{modelValue:W.value.content.street,"onUpdate:modelValue":ve[3]||(ve[3]=be=>W.value.content.street=be),maxlength:126,placeholder:"Enter Street/Apt/Suite/Floor "},null,8,["modelValue"])])]),_:1},8,["label"]),e.createElementVNode("div",sD,[e.createVNode(ye,{label:"",class:"inner-desc"},{default:e.withCtx(()=>[e.createElementVNode("div",cD,[e.createElementVNode("span",dD,e.toDisplayString(e.unref(o)("city")),1),e.createVNode(de,{modelValue:W.value.content.city,"onUpdate:modelValue":ve[4]||(ve[4]=be=>W.value.content.city=be),filterable:"","allow-create":"",remote:"","fit-input-width":"","reserve-keyword":"","default-first-option":!1,"remote-method":I,loading:H.value,class:"br-6","popper-class":"city-choose",placeholder:"Enter City"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,be=>(e.openBlock(),e.createBlock(J,{key:be.value,label:be.value,value:be.value},{default:e.withCtx(()=>[e.createVNode($t,{class:"box-item",effect:"dark",content:be.value,placement:"right"},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(be.value),1)]),_:2},1032,["content"])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue","loading"])])]),_:1}),e.createCommentVNode("",!0),e.createVNode(ye,{label:e.unref(o)("state"),class:e.normalizeClass(["inner-desc form-state",{"is-focus":ge.value}])},{default:e.withCtx(()=>[e.createVNode(Pe,{modelValue:W.value.content.state,"onUpdate:modelValue":ve[6]||(ve[6]=be=>W.value.content.state=be),placeholder:"Enter State",onFocus:ve[7]||(ve[7]=be=>ge.value=!0),onBlur:ve[8]||(ve[8]=be=>ge.value=!1)},{suffix:e.withCtx(()=>[e.createVNode(ot,{placement:"bottom-end",width:213,trigger:"click","popper-class":"popper-state",ref_key:"popperStateRef",ref:Qe,"show-arrow":!1,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",uD,[e.createVNode(je,{name:"xiajiantou","font-size":"24",color:"#000",class:"a-icon",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",fD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.unitAllState,be=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:be.key,onClick:Ze=>$e(be)},[e.createElementVNode("span",null,e.toDisplayString(be.value),1),W.value.content.state===be.value?(e.openBlock(),e.createBlock(je,{key:0,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,mD))),128))])]),_:1},512)]),_:1},8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(ye,{label:"",class:"inner-desc"},{default:e.withCtx(()=>[e.createElementVNode("div",pD,[ve[19]||(ve[19]=e.createElementVNode("span",{class:"label-desc"},"Zip",-1)),e.createVNode(Pe,{modelValue:W.value.content.postal,"onUpdate:modelValue":ve[9]||(ve[9]=be=>W.value.content.postal=be),maxlength:16,placeholder:"Zip Code"},null,8,["modelValue"])])]),_:1})]),e.createVNode(ye,{label:e.unref(o)("remark")},{default:e.withCtx(()=>[e.createVNode(Pe,{modelValue:W.value.content.remark,"onUpdate:modelValue":ve[10]||(ve[10]=be=>W.value.content.remark=be),placeholder:"Type in content",type:"textarea",rows:4,maxlength:250,"show-word-limit":""},null,8,["modelValue"])]),_:1},8,["label"]),e.createVNode(ye,{label:""},{default:e.withCtx(()=>[e.createElementVNode("div",hD,[e.createElementVNode("span",gD,e.toDisplayString(e.unref(o)("chooseLandmarkGroup")),1),e.createVNode(ot,{width:212,trigger:"click",visible:O.value,"show-arrow":!1,offset:-20,placement:"top-start","popper-class":"lable-pop"},{reference:e.withCtx(()=>[e.createElementVNode("span",{class:"value-desc",onClick:ve[11]||(ve[11]=e.withModifiers(be=>O.value=!0,["stop"]))},[e.createVNode(je,{name:"landmark-group"+D.value.iconType,"font-size":"24"},null,8,["name"]),e.createVNode($t,{class:"box-item",effect:"dark",content:D.value.name||"",placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("span",yD,e.toDisplayString(D.value.name),1)]),_:1},8,["content"]),e.createElementVNode("div",kD,[e.createVNode(je,{name:"xiajiantou","font-size":"24"})])])]),default:e.withCtx(()=>[e.createElementVNode("ul",vD,[e.createElementVNode("li",{class:"lable-li",onClick:ve[12]||(ve[12]=be=>xe({}))},[e.createElementVNode("span",{class:e.normalizeClass(["check-icon",D.value.id===0&&"view-icon"])},[e.createVNode(je,{name:"filterchecked","font-size":"24",class:"selcls"})],2),e.createElementVNode("span",null,[e.createVNode(je,{name:"landmark-group1","font-size":"24"})]),ve[20]||(ve[20]=e.createElementVNode("span",{class:"default-desc"},"Default",-1))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(c),be=>(e.openBlock(),e.createElementBlock("li",{key:be.id,class:"lable-li",onClick:Ze=>xe(be)},[e.createElementVNode("span",{class:e.normalizeClass(["check-icon",D.value.id===be.id&&"view-icon"])},[e.createVNode(je,{name:"filterchecked","font-size":"24",class:"selcls"})],2),e.createElementVNode("span",null,[e.createVNode(je,{name:be.content.iconType&&be.content.iconType!==1?"landmark-group"+be.content.iconType:"","font-size":"24"},null,8,["name"])]),e.createVNode($t,{class:"box-item",effect:"dark",content:be.name||"",placement:"left"},{default:e.withCtx(()=>[e.createElementVNode("span",wD,e.toDisplayString(be.name),1)]),_:2},1032,["content"])],8,bD))),128))])]),_:1},8,["visible"])])]),_:1})]),_:1},8,["model"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-09666968"]]),sn=vt(e.defineComponent({__name:"IconButton",props:{name:{default:""},size:{default:"normal"},color:{default:""},fontSize:{default:24},height:{},width:{},svgHeight:{},svgWidth:{},isDelete:{type:Boolean,default:!1},disabled:{type:Boolean}},emits:["handleClick"],setup(t,{emit:n}){const o=n,a=()=>{o("handleClick")};return(r,l)=>{const i=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["IconButton",{large:r.size==="large",isDelete:r.isDelete,customHeight:r.height,disabled:r.disabled}]),style:e.normalizeStyle({height:`${r.height||r.fontSize}px`,width:`${r.width||r.height||r.fontSize}px`}),onClick:a},[e.createVNode(i,{name:r.name,"font-size":r.fontSize,color:r.color,style:e.normalizeStyle({height:`${r.svgHeight||r.fontSize}px`,width:`${r.svgWidth||r.fontSize}px`})},null,8,["name","font-size","color","style"])],6)}}}),[["__scopeId","data-v-7326ffa7"]]),TD={class:"icon"},ND={class:"text"},SD={class:"icon"},VD={class:"text"},U1=vt(e.defineComponent({__name:"VehicleLabel",props:{type:{type:Number,default:0},icon:{type:String},name:{type:String},placement:{type:String,default:"top"},height:{type:String,default:"40px"},add:{type:Boolean},data:{type:Object}},emits:["handleClick"],setup(t,{emit:n}){const o=t,{type:a,icon:r,name:l,data:i}=e.toRefs(o),c=e.ref(!1),s=n,d=()=>{s("handleClick",i==null?void 0:i.value)};function p(m){c.value=m}return(m,h)=>{const g=e.resolveComponent("anSvgIcon"),f=e.resolveComponent("text-clamp"),u=$n;return e.unref(l)?(e.openBlock(),e.createBlock(u,{key:0,effect:"dark",content:e.unref(l),placement:t.placement,"popper-class":"custom-tooltip",offset:10,"show-arrow":!1,disabled:!c.value},{default:e.withCtx(()=>[e.createElementVNode("div",{onClick:d,class:e.normalizeClass(["VehicleLabel",{normal:!e.unref(a),add:t.add,vehicle:e.unref(a)===4,"c-g":e.unref(a)===2,"c-r":e.unref(a)===3}]),style:e.normalizeStyle({height:t.height})},[e.createElementVNode("div",TD,[e.unref(a)===1?(e.openBlock(),e.createBlock(g,{key:0,name:"share-tag","font-size":"24"})):e.createCommentVNode("",!0),e.unref(a)===2?(e.openBlock(),e.createBlock(g,{key:1,name:e.unref(r)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(a)===3?(e.openBlock(),e.createBlock(g,{key:2,name:"share-landmark","font-size":"24"})):e.createCommentVNode("",!0),e.unref(a)===4?(e.openBlock(),e.createBlock(g,{key:3,name:e.unref(r)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ND,[e.unref(l)?(e.openBlock(),e.createBlock(f,{key:0,class:"text-clamp-name",location:"middle",text:e.unref(l),"max-lines":1,autoResize:!0,onClampChange:p},null,8,["text"])):e.createCommentVNode("",!0),e.renderSlot(m.$slots,"default",{},void 0,!0)])],6)]),_:3},8,["content","placement","disabled"])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:d,class:e.normalizeClass(["VehicleLabel",{normal:!e.unref(a),add:t.add,vehicle:e.unref(a)===4,"c-g":e.unref(a)===2,"c-r":e.unref(a)===3}]),style:e.normalizeStyle({height:t.height})},[e.createElementVNode("div",SD,[e.unref(a)===1?(e.openBlock(),e.createBlock(g,{key:0,name:"share-tag","font-size":"24"})):e.createCommentVNode("",!0),e.unref(a)===2?(e.openBlock(),e.createBlock(g,{key:1,name:e.unref(r)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(a)===3?(e.openBlock(),e.createBlock(g,{key:2,name:"share-landmark","font-size":"24"})):e.createCommentVNode("",!0),e.unref(a)===4?(e.openBlock(),e.createBlock(g,{key:3,name:e.unref(r)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",VD,[e.renderSlot(m.$slots,"default",{},void 0,!0)])],6))}}}),[["__scopeId","data-v-1796d0cd"]]),AD={class:"VehicleItem flex-center-align"},BD={class:"tag-edit-l"},Ni=vt(e.defineComponent({__name:"VehicleItem",props:{type:{type:Number},edit:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},showDelete:{type:Boolean,default:!0},alias:{type:String,default:""},icon:{type:String,default:""},name:{type:String},placement:{type:String,default:"top"},data:{type:Object}},emits:["update:modelValue","handleDelete","showTag","changeAliasName","handleClick"],setup(t,{emit:n}){const o=t,{type:a,showDelete:r,alias:l,readOnly:i}=e.toRefs(o),{t:c}=Xt(),s=e.ref("");e.watch(()=>l.value,()=>{s.value=l==null?void 0:l.value},{immediate:!0});const d=n,p=f=>{d("handleClick",f,a==null?void 0:a.value)},m=()=>{d("handleDelete")},h=()=>{d("showTag")},g=f=>{d("changeAliasName",f)};return(f,u)=>{const v=mo,k=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",AD,[e.unref(a)===2?(e.openBlock(),e.createBlock(v,{key:0,placeholder:e.unref(c)("enterAliasName"),style:{width:"280px"},modelValue:s.value,"onUpdate:modelValue":u[0]||(u[0]=y=>s.value=y),disabled:e.unref(i),size:"large",onChange:g,maxlength:"20"},{prefix:e.withCtx(()=>[e.createVNode(U1,{data:t.data,type:e.unref(a),height:"38px",icon:t.icon,name:t.name,placement:t.placement,onHandleClick:p},{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{},void 0,!0)]),_:3},8,["data","type","icon","name","placement"])]),_:3},8,["placeholder","modelValue","disabled"])):(e.openBlock(),e.createBlock(U1,{key:1,data:t.data,type:e.unref(a),icon:t.icon,name:t.name,placement:t.placement,onHandleClick:p},{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{},void 0,!0)]),_:3},8,["data","type","icon","name","placement"])),e.unref(a)===1?(e.openBlock(),e.createElementBlock("div",{key:2,class:"tag-edit",onClick:h},[e.createElementVNode("div",BD,e.toDisplayString(e.unref(c)("editAliasName")),1),e.createVNode(k,{name:"share-right","font-size":"12"})])):e.createCommentVNode("",!0),e.withDirectives(e.createVNode(sn,{isDelete:"",class:"delete",onClick:m,name:"share-delete","font-size":"30",color:"#000"},null,512),[[e.vShow,e.unref(r)&&!e.unref(i)]])])}}}),[["__scopeId","data-v-94e5a0e0"]]),ID={class:"CustomDatePicker"},MD={class:"timeText flex-center-align"},DD=vt(e.defineComponent({__name:"CustomDatePicker",props:{modelValue:{default:null}},emits:["update:modelValue","dateChange"],setup(t,{expose:n,emit:o}){const{t:a}=Xt(),r=e.ref(""),l=e.ref(!1),i=t,{modelValue:c}=e.toRefs(i),s=o,{customerHabit:d}=e.toRefs(ea()),p=e.computed(()=>{var u,v;return!((u=d==null?void 0:d.value)!=null&&u.localTimezone)&&((v=d==null?void 0:d.value)!=null&&v.timeZone)?d.value.timeZone:""});e.watch(()=>c==null?void 0:c.value,()=>{r.value=c==null?void 0:c.value,console.log(r.value)},{immediate:!0});const m=e.computed(()=>Uc(r.value)),h=()=>{l.value=!l.value},g=u=>new Date(u).getTime()<Date.now()||new Date(u).getTime()>new Date("2089-01-01").getTime(),f=u=>{const v=new Date(u||r.value).getTime();s("update:modelValue",v),s("dateChange",v)};return n({showPicker:h}),(u,v)=>{const k=e.resolveComponent("anytrekTimePick"),y=Om;return e.openBlock(),e.createElementBlock("div",ID,[e.createVNode(k,{value:r.value,"onUpdate:value":v[0]||(v[0]=b=>r.value=b),immediate:!0,teleported:!1,onChange:f,disableFuntion:g,timeZone:p.value,visible:l.value,"onUpdate:visible":v[1]||(v[1]=b=>l.value=b)},null,8,["value","timeZone","visible"]),e.createElementVNode("div",MD,[e.createElementVNode("span",null,e.toDisplayString(m.value),1),e.createVNode(y,{direction:"vertical",style:{margin:"0","border-color":"#9a9a9a"}}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("daysLeft",{d:e.unref(R1)(r.value)})),1),e.createVNode(sn,{name:"share-edit",onHandleClick:h,color:"#9a9a9a","font-size":"32"})])])}}}),[["__scopeId","data-v-13b945d6"]]),OD={class:"SelectedVehiclePop"},LD={class:"SelectedVehiclePop-t"},xD={class:"SelectedVehiclePop-t-t"},PD={class:"title-l"},RD=["title"],FD={class:"title-r"},zD={class:"SelectedVehiclePop-t-b"},HD={class:"SelectedVehiclePop-m"},ZD={class:"content-b"},YD={class:"dynamicScroller-item"},jD={key:0,class:"SelectedVehiclePop-b"},_D=vt(e.defineComponent({__name:"SelectedVehiclePop",props:{modelValue:{type:Boolean},selectedList:{type:Array,default:[]},readOnly:{type:Boolean,default:!1},aliasOnly:{type:Boolean,default:!1},onlyEditName:{type:Boolean,default:!1},aliasNames:{type:Object,default:{}},dataLength:{type:Object}},emits:["update:modelValue","showTag","changeAliasName","handleDelete","clearAll","handleClose","handleConfirm","handleBack","openAddVehicle","handleConfirmAlias","handleClick"],setup(t,{expose:n,emit:o}){const{t:a}=Xt(),r=(z,P)=>{var B;return z.type!==2||!P?"":((B=P==null?void 0:P[z.value])==null?void 0:B.aliasName)||""},l=t,i=e.ref(""),c=e.ref(!1),{modelValue:s,selectedList:d,readOnly:p,aliasNames:m,aliasOnly:h}=e.toRefs(l),g=e.inject("editTagInfo"),f=e.inject("vehicleIconMap"),u=e.computed(()=>{var P;console.log("selectedListDataShowChange");const z=(P=g.value)!=null&&P.infoList?g.value.infoList:v==null?void 0:v.value;return i.value?(z||[]).filter(B=>B.label?((B==null?void 0:B.label)+"").replace(/\s+/g," ").trim().toLocaleLowerCase().indexOf((i.value+"").replace(/\s+/g," ").trim().toLocaleLowerCase())>-1:!0):z}),v=e.ref([]),k=e.ref({}),y=e.computed(()=>s.value),b=e.ref([]),w=z=>z.newIcon?`vehicle-${z.newIcon}`:f.value.get(z.value)||"";e.watch(()=>y.value,()=>{y.value?(b.value=[...d==null?void 0:d.value],v.value=[...d==null?void 0:d.value],k.value=va(m==null?void 0:m.value)):c.value=!1},{immediate:!0}),e.watch(()=>m.value,()=>{k.value=va(m==null?void 0:m.value)},{deep:!0,immediate:!0}),e.watch(()=>d==null?void 0:d.value,z=>{z&&(b.value=[...z],v.value=[...z])},{immediate:!0,deep:!0});const C=o;function T(...z){C("handleClick",...z)}const E=()=>{C("update:modelValue",!1),C("handleClose")},S=()=>{h!=null&&h.value?C("handleConfirmAlias",{...k.value}):C("handleConfirm",v.value,{...k.value}),C("handleClose")},A=z=>{C("showTag",z)},N=(z,P)=>{k.value[P]?k.value[P].aliasName=z:k.value[P]={aliasName:z}},O=(z,P)=>{k.value[P.value]&&delete k.value[P.value],v.value.splice(z,1)},M=()=>{C("openAddVehicle")};function H(z,P){var B,R,V;v.value.map(I=>{var D,X;I.type===z&&(z===2?I.value===((D=P==null?void 0:P.vehicle)==null?void 0:D.id)&&(I.label=(X=P==null?void 0:P.vehicle)==null?void 0:X.name):I.value===(P==null?void 0:P.id)&&(I.label=P==null?void 0:P.name))}),b.value.map(I=>{var D,X;I.type===z&&(z===2?I.value===((D=P==null?void 0:P.vehicle)==null?void 0:D.id)&&(I.label=(X=P==null?void 0:P.vehicle)==null?void 0:X.name):I.value===(P==null?void 0:P.id)&&(I.label=P==null?void 0:P.name))}),(R=(B=g.value)==null?void 0:B.infoList)!=null&&R.length&&((V=g.value)==null||V.infoList.map(I=>{var D,X;I.type===z&&(z===2?I.value===((D=P==null?void 0:P.vehicle)==null?void 0:D.id)&&(I.label=(X=P==null?void 0:P.vehicle)==null?void 0:X.name):I.value===(P==null?void 0:P.id)&&(I.label=P==null?void 0:P.name))}))}return n({opMessage:H}),(z,P)=>{var R,V;const B=mo;return e.openBlock(),e.createElementBlock("div",OD,[e.createElementVNode("div",LD,[e.createElementVNode("div",xD,[e.createElementVNode("div",PD,[e.createElementVNode("p",{class:"title-text text-overflow-ellipsis",title:e.unref(g)?`${e.unref(g).tagName} ${e.unref(a)("aliasNameEditing")}`:e.unref(a)("allSelectedElement")},e.toDisplayString(e.unref(g)?`${e.unref(g).tagName} ${e.unref(a)("aliasNameEditing")}`:e.unref(a)("allSelectedElement")),9,RD),e.createElementVNode("p",null,e.toDisplayString(e.unref(a)("NinTotal",{n:e.unref(g)?(V=(R=e.unref(g))==null?void 0:R.infoList)==null?void 0:V.length:e.unref(d).length})),1)]),e.createElementVNode("div",FD,[e.createVNode(sn,{name:"common-popClose",fontSize:"32",color:"#9a9a9a",onHandleClick:E}),!e.unref(p)||t.onlyEditName?(e.openBlock(),e.createBlock(sn,{key:0,name:"common-popConfirm",color:"#0BA5EC",fontSize:"32",onHandleClick:S})):e.createCommentVNode("",!0)])]),e.createElementVNode("div",zD,[e.createVNode(B,{modelValue:i.value,"onUpdate:modelValue":P[1]||(P[1]=I=>i.value=I),placeholder:"Search Vehicle",class:"anytrek-vehicle-auto-search",style:{padding:"0"},"prefix-icon":al,size:"large"},{suffix:e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock(ol,{key:0,onClick:P[0]||(P[0]=I=>i.value="")})):e.createCommentVNode("",!0)]),_:1},8,["modelValue"])])]),e.createElementVNode("div",HD,[e.createElementVNode("div",ZD,[e.createVNode(e.unref(rr),{keyField:"value",items:u.value,"min-item-size":48,class:"dynamicScroller"},{default:e.withCtx(({item:I,index:D,active:X})=>[e.createVNode(e.unref(qr),{item:I,active:X,"data-index":D},{default:e.withCtx(()=>[e.createElementVNode("div",YD,[e.createVNode(Ni,{placement:"left",icon:w(I),onChangeAliasName:W=>{N(W,I.value)},name:I.label,onHandleClick:T,alias:r(I,k.value),onShowTag:W=>A(I.value),type:I.type,onHandleDelete:W=>O(D,I),content:I==null?void 0:I.content,readOnly:e.unref(p)&&!t.onlyEditName,"show-delete":!e.unref(g),data:I},null,8,["icon","onChangeAliasName","name","alias","onShowTag","type","onHandleDelete","content","readOnly","show-delete","data"])])]),_:2},1032,["item","active","data-index"])]),_:1},8,["items"])])]),e.unref(h)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",jD,[e.createVNode(sn,{name:"share-add2","font-size":"32",color:"#9a9a9a",onHandleClick:M})]))])}}}),[["__scopeId","data-v-9aaa8fa4"]]),UD={class:"common-share-popover-no-pd"},GD={class:"share-add-vehicle-popover"},WD={class:"item-l"},KD={class:"text"},QD={class:"item-l"},qD={class:"text"},XD={class:"item-l"},JD={class:"text"},$D={class:"choose-content"},eO={class:"choose-content-t"},tO={class:"choose-content-t-t flex-center-align"},nO={class:"selected"},oO={class:"confirm flex-center-align"},aO={class:"choose-content-tab flex-center-align"},rO={class:"choose-content-t-m"},lO={class:"choose-content-t-b-l flex-center-align"},iO={class:"choose-content-m"},sO={class:"choose-content-m-content"},cO={class:"item-w"},dO=["onClick"],uO={class:"item-l flex-center-align"},fO={class:"item-r"},mO={class:"item-w"},pO=["onClick"],hO={class:"item-l flex-center-align"},gO={class:"item-r"},yO={class:"item-warp-w"},kO=["onClick"],vO={class:"item-warp-t-l flex-center-align"},bO={class:"text text-overflow-ellipsis"},wO={class:"item-warp-t-m flex-center-align"},CO=["onClick"],EO={class:"item-warp-m"},TO={class:"item-warp-m-t"},NO=["onClick"],SO={class:"item-l flex-center-align"},VO={class:"item-r"},AO={class:"item-warp-m-b"},BO=vt(e.defineComponent({__name:"ShareAddVehiclePopover",props:{dataLength:{type:Object},assetTypesMap:{type:Object,default(){return{}}}},emits:["handleConfirm","handleOp"],setup(t,{expose:n,emit:o}){const a=t,{t:r}=Xt(),{dataLength:l}=e.toRefs(a),i=F=>`vehicle-${F!=null&&F.newIcon||F.isBindVehicle?(F==null?void 0:F.newIcon)||"Vector":"device"}`,c=()=>"",s=e.ref(),d=e.ref(),p=e.ref(),m=e.ref(!1),h=e.ref(!1),g=e.ref(1),f=e.ref(1),u=e.ref(""),v=e.inject("vehicleLoading",!0),k=e.inject("vehiclesListData",[]),y=e.inject("tagListData",[]),b=e.inject("landmarkListData",[]),w=e.inject("landmarkGroupListData",[]),C=e.inject("selectedListData",[]);e.watch(()=>y.value,()=>{console.log(y.value)},{immediate:!0});const T=e.computed(()=>{var F;return s.value?(F=y==null?void 0:y.value)==null?void 0:F.filter(G=>{var ae;return(ae=G==null?void 0:G.label)==null?void 0:ae.includes(s==null?void 0:s.value)}):(y==null?void 0:y.value)||[]}),E=e.computed(()=>{var G;const F=(k==null?void 0:k.value)||[];if(g.value===2&&f.value===2){if(!(u!=null&&u.value))return F;let ae=(G=u==null?void 0:u.value)==null?void 0:G.split(`
233
+ `).filter(oe=>oe);K.length?D.value=D.value.map(oe=>{let j=!1;return K.forEach(q=>{var Oe;j||(j=((Oe=oe.name)==null?void 0:Oe.toString().toLowerCase())===q.toLowerCase())}),{...oe,isShow:j}}):D.value=D.value.map(oe=>({...oe,isShow:!0}))}else D.value=D.value.map(K=>{var oe;return{...K,isShow:(oe=K.name)==null?void 0:oe.toString().toLowerCase().includes($.toLowerCase())}});he.value=D.value.filter(K=>K.isShow).length}}),e.watch(()=>D.value,()=>{Te.value=D.value.filter($=>$.isShow)});const Be=e.ref(!1),lt=e.ref(!1),dt=$=>{D.value.forEach(K=>{K.isShow&&(K.checkValue=$)})},x=()=>{};e.watch(()=>D.value,()=>{let $=D.value.filter(oe=>oe.isShow),K=D.value.filter(oe=>oe.isShow&&oe.checkValue);Be.value=!!$.length&&$.length===K.length,lt.value=!!K.length&&$.length!==K.length},{deep:!0}),e.watch(()=>W.value,()=>{W.value.forEach($=>{let K=$.list.filter(oe=>oe.isShow);$.isIndeterminate=!!(K.filter(oe=>oe.checkValue).length&&K.filter(oe=>!oe.checkValue).length)}),lt.value=!!(W.value.filter($=>$.checkValue).length&&W.value.filter($=>!$.checkValue).length),Be.value=W.value.every($=>$.checkValue)},{deep:!0});const L=e.computed(()=>{let $=0;return W.value.forEach(K=>{$+=K.list.filter(oe=>oe.checkValue).length}),$}),ie=$=>{W.value.forEach(K=>{K.checkValue=$,K.list&&K.list.forEach(oe=>{oe.isShow&&(oe.checkValue=$)})})},De=($,K)=>{W.value[K].list.forEach(oe=>{oe.isShow&&(oe.checkValue=$)})},pe=$=>{W.value[$].checkValue=W.value[$].list.filter(K=>K.checkValue).length===W.value[$].list.length},se=()=>{if(fe.value==="tag"){let $=D.value.filter(K=>K.checkValue);g.value.content.tag=$}else if(fe.value==="vehicle"){let $=D.value.filter(K=>K.checkValue);g.value.content.vehicle=$}else if(fe.value==="device"){let $=D.value.filter(K=>K.checkValue);g.value.content.device=$}else if(fe.value==="landmark"){let $=[];W.value.forEach(K=>{$.push(...K.list.filter(oe=>oe.checkValue))}),g.value.content.landmark=$}V.value=!1,I.value=!1,M.value=!1},Me=$=>{At.value=!1;let K=[...g.value.content[$.type]],oe=K.findIndex(j=>j.id===$.id);oe>-1&&(K.splice(oe,1),g.value.content[$.type]=K)},ee=$=>{if(fe.value==="tag"){let K=l.allTags.find(oe=>oe.id===$.id);K&&(Fe.value={id:K.id},Se.value=!0)}else if(fe.value==="vehicle"){let K=l.allVehicles.find(oe=>oe.id===$.id);if(K){let oe=ge(K.id),j=Qe(K.id,"vehicleId");Fe.value={id:$.id,name:$.name,deviceId:j?j.deviceId:"",dataTime:"",tagContent:oe,assetType:$.assetType,newIcon:$.newIcon,vehicleTypeId:$.vehicleTypeId,make:$.make,year:$.year,licensePlateNumber:$.licensePlateNumber,vin:$.vin,description:$.description}}Bt.value=!0}else fe.value==="device"||fe.value;M.value=!1,V.value=!1},ge=$=>l.allTags.filter(K=>!!(K.vehicle&&K.vehicle.findIndex(oe=>oe===$)!==-1)),Qe=($,K="deviceId")=>l.allVehicleToDevice.find(oe=>oe[K]===$),$e=e.ref(!1),me=e.ref(),ve=()=>{fe.value==="tag"?($e.value=!0,me.value=g.value.id,de.value&&(Q.value=g.value.id+""),Fe.value=null,Se.value=!0):fe.value==="vehicle"?(Fe.value={},Bt.value=!0):fe.value==="device"||fe.value,M.value=!1,V.value=!1},Pe=()=>{Fe.value={},Ft.value=!0},ye=$=>{let K=l.allLandmarks.find(oe=>oe.id===$.id);K&&(Fe.value={...K},Ft.value=!0)},je=e.ref(),ot=e.ref(),At=e.ref(!1),Lt=e.ref(""),hn=e.ref("right"),$t=($,K,oe="right")=>{je.value=$.currentTarget,Lt.value=K,hn.value=oe;let j=je.value;const q=document.createRange();q.setStart(j,0),q.setEnd(j,j.childNodes.length),$.currentTarget.querySelector("span").querySelector("span").innerText!=K&&(At.value=!0)},J=()=>{At.value=!1};let de=e.ref(!1),Q=e.ref("");const te=e.ref(!1),be=()=>{At.value=!1},Ze=$=>{M.value=!0,de.value=$},Se=e.ref(!1),Fe=e.ref(),Re=()=>{d.value=!1};let tt=e.ref(!1);const Rt=()=>{d.value&&(M.value=!1,I.value=!1,h.value.vehicle=l.allVehicles,h.value.device=l.allDevices,h.value.tag=l.allTags,h.value.landmark=l.allLandmarks,g.value.content.vehicle=l.allVehicles.filter($=>g.value.content.vehicle.some(K=>K.id===$.id)).map($=>({name:$.name,id:$.id})),g.value.content.device=l.allDevices.filter($=>g.value.content.device.some(K=>K.id===$.id)).map($=>({name:$.userPackageId,id:$.id})),g.value.content.tag=l.allTags.filter($=>g.value.content.tag.some(K=>K.id===$.id)).map($=>({name:$.name,id:$.id})),g.value.content.landmark=l.allLandmarks.filter($=>g.value.content.landmark.some(K=>K.id===$.id)).map($=>({name:$.name,id:$.id})))};e.watch(()=>l.allTags,()=>{Rt(),tt.value&&(M.value=!0,ae("tag"),tt.value=!1)}),e.watch(()=>l.allVehicles,()=>{Rt()}),e.watch(()=>l.allLandmarks,()=>{Rt()}),n({showList:Ze});const Bt=e.ref(!1),Ft=e.ref(!1),Kt=$=>{if($.type==="vehicle")Fe.value={id:$.id},Bt.value=!0;else if($.type==="tag")Fe.value={id:$.id},Se.value=!0;else if($.type==="landmark"){let K=l.allLandmarks.find(oe=>oe.id===$.id);K&&(Fe.value={...K},Ft.value=!0)}};return($,K)=>{const oe=mo,j=Hl,q=e.resolveComponent("anSvgIcon"),Oe=e.resolveComponent("text-clamp"),Ke=Gs,Dt=e.resolveComponent("RecycleScroller"),cn=zl,ht=ga,Mn=Kl,Ht=$n,Dn=e.resolveComponent("add-or-edit-vehicle"),Nn=e.resolveComponent("add-or-edit-tag",!0),rl=e.resolveComponent("add-or-edit-landmark");return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Mn,{modelValue:d.value,"onUpdate:modelValue":K[19]||(K[19]=en=>d.value=en),size:"520","destroy-on-close":!0,"show-close":!1,class:"drawer-footer-line drawer-class add-or-edit","before-close":Re,onClick:R},{header:e.withCtx(()=>[e.createElementVNode("div",null,[e.createElementVNode("div",null,e.toDisplayString(m.value),1),e.createElementVNode("div",II,e.toDisplayString(E()),1)])]),footer:e.withCtx(()=>[e.createElementVNode("div",JM,[e.createVNode(ht,{style:{width:"85px",height:"40px"},onClick:Re},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(ht,{key:0,style:{width:"70px",height:"40px"},type:"primary",loading:k.value,onClick:y},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(r)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createVNode(cn,{ref_key:"refForm",ref:v,class:"tagForm","label-position":"top","label-width":"auto","require-asterisk-position":"right",model:g.value,rules:p},{default:e.withCtx(()=>[e.createVNode(j,{label:e.unref(r)("nameThisTag"),prop:"name",class:"custom-label-poosition2"},{default:e.withCtx(()=>[e.createVNode(oe,{modelValue:g.value.name,"onUpdate:modelValue":K[0]||(K[0]=en=>g.value.name=en),maxlength:"64",placeholder:"Enter a unique name"},null,8,["modelValue"])]),_:1},8,["label"]),e.createVNode(j,{class:"custom-label-poosition"},{default:e.withCtx(()=>{var en;return[e.createElementVNode("div",MI,[e.createElementVNode("div",DI,[e.createTextVNode(e.toDisplayString(e.unref(r)("addElements")),1),e.createElementVNode("span",null,"("+e.toDisplayString(S.value.length)+")",1)]),S.value.length?(e.openBlock(),e.createElementBlock("div",{key:0,class:e.normalizeClass(["content",{noMaigin:te.value}])},[S.value.length>6?(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[te.value?(e.openBlock(),e.createElementBlock("div",{key:1,class:"many-tag all-elelist",onScroll:be},[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Ae.type+"-tag"]]),onMouseenter:gt=>$t(gt,Ae.name,"top"),onMouseleave:J,onClick:gt=>Kt(Ae)},[e.createVNode(q,{name:Ae.type==="vehicle"?T(Ae.id):C(Ae.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",YI,[e.createVNode(Oe,{class:"tagtxt",text:Ae.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(gt=>Me(Ae),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,jI)],42,ZI)]))),128))],32)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[e.createElementVNode("div",OI,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.slice(0,3),(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Ae.type+"-tag"]]),onMouseenter:gt=>$t(gt,Ae.name,"top"),onMouseleave:J,onClick:gt=>Kt(Ae)},[e.createVNode(q,{name:Ae.type==="vehicle"?T(Ae.id):C(Ae.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",xI,[e.createVNode(Oe,{class:"tagtxt",text:Ae.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(gt=>Me(Ae),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,PI)],42,LI)]))),128))]),e.createElementVNode("div",{class:"show-all",onClick:K[1]||(K[1]=Ae=>te.value=!0)},[e.createVNode(q,{name:"verticalPoint","font-size":"24"}),e.createElementVNode("div",null,"See all "+e.toDisplayString(S.value.length)+" Element",1)]),e.createElementVNode("div",RI,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value.slice(S.value.length-(S.value.length%3?S.value.length%3:3)),(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Ae.type+"-tag"]]),onMouseenter:gt=>$t(gt,Ae.name,"top"),onMouseleave:J,onClick:gt=>Kt(Ae)},[e.createVNode(q,{name:Ae.type==="vehicle"?T(Ae.id):C(Ae.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",zI,[e.createVNode(Oe,{class:"tagtxt",text:Ae.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(gt=>Me(Ae),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,HI)],42,FI)]))),128))])],64))],64)):(e.openBlock(),e.createElementBlock("div",_I,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(S.value,(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[Ae.type+"-tag"]]),onMouseenter:gt=>$t(gt,Ae.name,"top"),onMouseleave:J,onClick:gt=>Kt(Ae)},[e.createVNode(q,{name:Ae.type==="vehicle"?T(Ae.id):C(Ae.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",GI,[e.createVNode(Oe,{class:"tagtxt",text:Ae.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(gt=>Me(Ae),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,WI)],42,UI)]))),128))]))],2)):e.createCommentVNode("",!0),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createElementBlock("div",{key:1,ref_key:"listIconRef",ref:H,class:"wrapper-add"},[e.createVNode(q,{class:"tag-add",name:"plus","font-size":"32",color:"#9a9a9a",style:{cursor:"pointer"},onClick:K[2]||(K[2]=Ae=>M.value=!0)})],512)):e.createCommentVNode("",!0),M.value?(e.openBlock(),e.createElementBlock("div",{key:2,class:"type-list",ref_key:"typeListRef",ref:z},[e.createElementVNode("div",{class:"list-item",onClick:K[3]||(K[3]=Ae=>ae("tag"))},[e.createElementVNode("div",KI,[e.createVNode(q,{name:"tagIcon","font-size":"24"}),e.createElementVNode("span",QI,e.toDisplayString(e.unref(r)("addTag")),1),e.createElementVNode("span",qI,"("+e.toDisplayString((en=t.itemData)!=null&&en.id?h.value.tag.length-1:h.value.tag.length)+")",1)]),e.createVNode(q,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createElementVNode("div",{class:"list-item",onClick:K[4]||(K[4]=Ae=>ae("vehicle"))},[e.createElementVNode("div",XI,[e.createVNode(q,{name:"vehicleIcon","font-size":"24"}),e.createElementVNode("span",JI,e.toDisplayString(e.unref(r)("addVehicle")),1),e.createElementVNode("span",$I,"("+e.toDisplayString(h.value.vehicle.length)+")",1)]),e.createVNode(q,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createElementVNode("div",{class:"list-item",onClick:K[5]||(K[5]=Ae=>ae("landmark"))},[e.createElementVNode("div",eM,[e.createVNode(q,{name:"landmarkIcon","font-size":"24"}),e.createElementVNode("span",tM,e.toDisplayString(e.unref(r)("addLandmark")),1),e.createElementVNode("span",nM,"("+e.toDisplayString(h.value.landmark.length)+")",1)]),e.createVNode(q,{"font-size":24,name:"arrow-right",color:"#949494"})]),e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0),V.value?(e.openBlock(),e.createElementBlock("div",{key:3,class:e.normalizeClass(["all-list",{"all-list-device":!ke.value}]),ref_key:"allList",ref:P,onClick:e.withModifiers(()=>{},["stop"])},[e.createElementVNode("div",oM,[e.createElementVNode("div",aM,[e.createElementVNode("div",rM," Selected:"+e.toDisplayString(D.value.filter(Ae=>Ae.checkValue).length),1)]),e.createElementVNode("div",lM,[e.createElementVNode("div",iM,[e.createVNode(q,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:K[7]||(K[7]=Ae=>V.value=!1)})]),e.createElementVNode("div",null,[e.createVNode(q,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:se})])])]),e.unref(G)?(e.openBlock(),e.createElementBlock("div",sM,[e.createElementVNode("div",{class:e.normalizeClass(["item",{"active-item":e.unref(Ee)==="one"}]),onClick:K[8]||(K[8]=Ae=>Y("one"))},e.toDisplayString(e.unref(F)==="vehicle"?"Vehicle Name":"Device"),3),e.createElementVNode("div",{class:e.normalizeClass(["item",{"active-item":e.unref(Ee)==="more"}]),onClick:K[9]||(K[9]=Ae=>Y("more"))}," Batch Device ID ",2)])):e.createCommentVNode("",!0),e.unref(Ee)!=="more"?(e.openBlock(),e.createElementBlock("div",cM,[e.createVNode(oe,{modelValue:ue.value,"onUpdate:modelValue":K[10]||(K[10]=Ae=>ue.value=Ae),max:"64",placeholder:Ie.value},{prefix:e.withCtx(()=>[e.createVNode(q,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"])])):(e.openBlock(),e.createElementBlock("div",dM,[e.createVNode(oe,{modelValue:ue.value,"onUpdate:modelValue":K[11]||(K[11]=Ae=>ue.value=Ae),type:"textarea",placeholder:Ie.value},{prefix:e.withCtx(()=>[e.createVNode(q,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue","placeholder"]),e.createElementVNode("div",uM,[e.createVNode(q,{"font-size":"24",name:"searchIcon24",color:"#000"})])])),e.createElementVNode("div",fM,[e.createElementVNode("div",mM,[e.createVNode(q,{class:"icon",name:"selectAllIcon","font-size":"24",style:{"margin-right":"8px"}}),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("selectAll")),1),e.createElementVNode("span",pM,"("+e.toDisplayString(he.value)+")",1)])]),e.createElementVNode("div",hM,[e.createVNode(Ke,{modelValue:Be.value,"onUpdate:modelValue":K[12]||(K[12]=Ae=>Be.value=Ae),indeterminate:lt.value,onChange:dt},null,8,["modelValue","indeterminate"])])]),K[24]||(K[24]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",gM,[e.unref(Te).length?(e.openBlock(),e.createBlock(Dt,{key:0,items:e.unref(Te),"key-field":"id",style:{height:"100%"},"item-size":44},{default:e.withCtx(({item:Ae})=>[Ae.isShow?(e.openBlock(),e.createElementBlock("div",yM,[e.createElementVNode("div",kM,[e.createVNode(q,{name:fe.value==="vehicle"?T(Ae.id):C(fe.value),"font-size":"24"},null,8,["name"]),e.createElementVNode("div",vM,e.toDisplayString(Ae.tagType)+" "+e.toDisplayString(Ae.name),1)]),e.createElementVNode("div",bM,[e.unref(F)!=="device"?(e.openBlock(),e.createBlock(q,{key:0,class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",style:{"margin-right":"16px"},onClick:yt=>ee(Ae)},null,8,["onClick"])):e.createCommentVNode("",!0),e.createVNode(Ke,{modelValue:Ae.checkValue,"onUpdate:modelValue":yt=>Ae.checkValue=yt,onChange:x},null,8,["modelValue","onUpdate:modelValue"])])])):e.createCommentVNode("",!0)]),_:1},8,["items"])):e.createCommentVNode("",!0)]),ke.value?(e.openBlock(),e.createElementBlock(e.Fragment,{key:3},[K[23]||(K[23]=e.createElementVNode("div",{class:"fengexian"},null,-1)),e.createElementVNode("div",{class:"add-wrapper",onClick:ve},[e.createVNode(q,{name:"plus","font-size":"32",color:"#9a9a9a"}),e.createElementVNode("span",null,e.toDisplayString(ke.value),1)])],64)):e.createCommentVNode("",!0)],2)):e.createCommentVNode("",!0),I.value?(e.openBlock(),e.createElementBlock("div",{key:4,class:"all-landmark-list",ref_key:"allLandmarkList",ref:B,onClick:e.withModifiers(()=>{},["stop"])},[e.createElementVNode("div",wM,[e.createElementVNode("div",CM,[e.createElementVNode("div",EM," Selected:"+e.toDisplayString(L.value),1)]),e.createElementVNode("div",TM,[e.createElementVNode("div",NM,[e.createVNode(q,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",class:"icon-hover",onClick:K[13]||(K[13]=Ae=>I.value=!1)})]),e.createElementVNode("div",null,[e.createVNode(q,{name:"comfirmIcon","font-size":"32",color:"#0BA5EC",class:"icon-hover",onClick:se})])])]),e.createElementVNode("div",SM,[e.createVNode(oe,{modelValue:ue.value,"onUpdate:modelValue":K[14]||(K[14]=Ae=>ue.value=Ae),max:"64",placeholder:"Search Landmark"},{prefix:e.withCtx(()=>[e.createVNode(q,{"font-size":"40",name:"searchIcon",color:"#000"})]),_:1},8,["modelValue"])]),e.createElementVNode("div",VM,[e.createElementVNode("div",AM,[e.createVNode(q,{class:"icon",name:"selectAllIcon","font-size":"24",style:{"margin-right":"8px"}}),e.createElementVNode("span",null,[e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("selectAll")),1),e.createElementVNode("span",BM,"("+e.toDisplayString(he.value)+")",1)])]),e.createElementVNode("div",IM,[e.createVNode(Ke,{modelValue:Be.value,"onUpdate:modelValue":K[15]||(K[15]=Ae=>Be.value=Ae),indeterminate:lt.value,onChange:ie},null,8,["modelValue","indeterminate"])])]),e.createElementVNode("div",MM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(W.value,(Ae,yt)=>(e.openBlock(),e.createElementBlock("div",{key:yt,class:"group-item"},[e.createElementVNode("div",DM,[e.createElementVNode("div",OM,[e.createVNode(q,{name:"landmark-group"+Ae.iconType,"font-size":"24"},null,8,["name"]),e.createElementVNode("div",LM,e.toDisplayString(Ae.name)+"("+e.toDisplayString(Ae.list.length)+") ",1)]),e.createElementVNode("div",xM,[(Ae.id,e.createCommentVNode("",!0)),e.createVNode(q,{onClick:gt=>Ae.isOpen=!Ae.isOpen,name:Ae.isOpen?"landmark-openIcon":"landmark-retractIcon","font-size":"32",class:"icon-open",style:{cursor:"pointer"}},null,8,["onClick","name"]),e.createVNode(Ke,{modelValue:Ae.checkValue,"onUpdate:modelValue":gt=>Ae.checkValue=gt,indeterminate:Ae.isIndeterminate,onChange:gt=>De(gt,yt)},null,8,["modelValue","onUpdate:modelValue","indeterminate","onChange"])])]),e.withDirectives(e.createElementVNode("div",PM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ae.list,(gt,ft)=>(e.openBlock(),e.createElementBlock(e.Fragment,{key:ft},[gt.isShow?(e.openBlock(),e.createElementBlock("div",RM,[e.createElementVNode("div",FM,e.toDisplayString(gt.name),1),e.createElementVNode("div",zM,[e.createVNode(q,{class:"jump-icon",name:"jumpIcon","font-size":"32",color:"#000",onClick:On=>ye(gt)},null,8,["onClick"]),e.createVNode(Ke,{modelValue:gt.checkValue,"onUpdate:modelValue":On=>gt.checkValue=On,onChange:On=>pe(yt)},null,8,["modelValue","onUpdate:modelValue","onChange"])])])):e.createCommentVNode("",!0)],64))),128)),e.createElementVNode("div",{class:"add-btn",onClick:Pe},[e.createVNode(q,{name:"plus","font-size":"32",color:"#9a9a9a"})])],512),[[e.vShow,Ae.isOpen]])]))),128))]),e.createCommentVNode("",!0),e.createCommentVNode("",!0)],512)):e.createCommentVNode("",!0)]),O.value?(e.openBlock(),e.createElementBlock("div",HM,[e.createElementVNode("div",ZM,[e.createElementVNode("div",YM,[e.createElementVNode("div",jM,[K[25]||(K[25]=e.createElementVNode("div",null,"All Bound Element",-1)),e.createElementVNode("div",_M,e.toDisplayString(S.value.length)+" in total",1)]),e.createElementVNode("div",UM,[e.createElementVNode("div",GM,[e.createVNode(q,{name:"closeIconNew","font-size":"32",color:"#9a9a9a",onClick:K[16]||(K[16]=Ae=>O.value=!1)})]),e.createCommentVNode("",!0)])]),e.createElementVNode("div",WM,[N.value.length?(e.openBlock(),e.createBlock(Dt,{key:0,items:N.value,"key-field":"id",style:{height:"100%"},"item-size":44},{default:e.withCtx(({item:Ae})=>[e.createElementVNode("div",KM,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(Ae.list,(yt,gt)=>(e.openBlock(),e.createElementBlock("div",{key:yt.id},[e.createElementVNode("div",{class:e.normalizeClass(["bound-tagitem",[yt.type+"-tag"]]),onMouseenter:ft=>$t(ft,yt.name,gt%2==0?"left":"right"),onMouseleave:J},[e.createVNode(q,{name:yt.type==="vehicle"?T(yt.id):C(yt.type),"font-size":"24",class:"bindcls"},null,8,["name"]),e.createElementVNode("div",qM,[e.createVNode(Oe,{class:"tagtxt",text:yt.name+""||"-",location:"middle","max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"remove-icon",onClick:e.withModifiers(ft=>Me(yt),["stop"])},[e.createVNode(q,{name:"removeIcon","font-size":"16"})],8,XM)],42,QM)]))),128))])]),_:1},8,["items"])):e.createCommentVNode("",!0)])])])):e.createCommentVNode("",!0)]}),_:1}),e.createVNode(j,{label:e.unref(r)("description"),prop:"description"},{default:e.withCtx(()=>[e.createVNode(oe,{modelValue:g.value.description,"onUpdate:modelValue":K[18]||(K[18]=en=>g.value.description=en),placeholder:"Type in content",type:"textarea",autosize:!1,"show-word-limit":"",maxlength:250},null,8,["modelValue"])]),_:1},8,["label"])]),_:1},8,["model"])]),_:1},8,["modelValue"]),e.createVNode(Ht,{ref_key:"tooltipRef",ref:ot,visible:At.value,placement:hn.value,"hide-after":0,"show-arrow":!1,"popper-options":{modifiers:[{name:"computeStyles",options:{adaptive:!1,enabled:!1}}]},"virtual-ref":je.value,"virtual-triggering":"","popper-class":"singleton-tooltip-tag"},{content:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(Lt.value),1)]),_:1},8,["visible","placement","virtual-ref"]),Bt.value?(e.openBlock(),e.createBlock(Dn,{key:0,modelValue:Bt.value,"onUpdate:modelValue":K[20]||(K[20]=en=>Bt.value=en),loginInfo:t.loginInfo,customerHabit:t.customerHabit,vehicleData:Fe.value,allAssetTypes:t.allAssetTypes,allVehicles:t.allVehicles,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:e.unref(c),unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","vehicleData","allAssetTypes","allVehicles","allDevices","modelTypes","allVehicleToDevice","allTags","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","allLandmarks","landmarkGroup","saveFunctionTag","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0),Se.value?(e.openBlock(),e.createBlock(Nn,{key:1,modelValue:Se.value,"onUpdate:modelValue":K[21]||(K[21]=en=>Se.value=en),loginInfo:t.loginInfo,customerHabit:t.customerHabit,itemData:Fe.value,allVehicles:t.allVehicles,allAssetTypes:t.allAssetTypes,allDevices:t.allDevices,modelTypes:t.modelTypes,allVehicleToDevice:t.allVehicleToDevice,allTags:t.allTags,allLandmarks:t.allLandmarks,landmarkGroup:t.landmarkGroup,saveFunctionTag:e.unref(c),assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0),Ft.value?(e.openBlock(),e.createBlock(rl,{key:2,modelValue:Ft.value,"onUpdate:modelValue":K[22]||(K[22]=en=>Ft.value=en),loginInfo:t.loginInfo,itemData:Fe.value,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,allLandmarkGroup:t.landmarkGroup,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","itemData","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","allLandmarkGroup","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-714782ed"]]),eD={class:"form-body"},tD={class:"search-input-box"},nD=["onClick"],oD={class:"wrapper-map"},aD={style:{position:"relative"}},rD={id:"map-type-controller",class:"map-type-controller-container"},lD={class:"map-type-controller"},iD={class:"inner-desc-input",style:{width:"100%"}},sD={class:"flex-item-div"},cD={class:"inner-desc-input",style:{width:"100%"}},dD={class:"label-desc"},uD={class:"make-icon hover-animation"},fD={class:"popper-state-content"},mD=["onClick"],pD={class:"inner-desc-input",style:{width:"100%"}},hD={class:"group-choose"},gD={class:"desc"},yD={class:"name"},kD={class:"updown"},vD={class:"lable-ul"},bD=["onClick"],wD={class:"name"},CD={style:{flex:"auto"}},ED=vt(e.defineComponent({__name:"AddOrEditLandmark",props:{modelValue:{type:Boolean,default:!1},loginInfo:{type:Object,required:!0,default(){return{}}},itemData:{type:Object,default:()=>({})},landmarkGroupId:{type:Number,default:0},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},allLandmarkGroup:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return()=>new Promise(t=>{t([])})}}},emits:["update:modelValue","addGroup"],setup(t,{emit:n}){const{t:o,locale:a}=Xt();let r;const l=t,{itemData:i,allLandmarkGroup:c,searhTrimblemapAddress:s,saveFunctionLandmark:d}=e.toRefs(l),p=()=>{P.value=!1},m=()=>{O.value=!1},h=localStorage.getItem("locale")||"en",g={name:[{required:!0,message:"Please enter landmark name"}]};a.value=h;const f=nl(),u=e.ref(!1),v=e.ref(0),k=e.ref({lat:34.063084,lng:-117.55725}),y=e.ref(""),b=e.ref(!1),w=e.ref([]),C=e.ref(),T=e.ref(),E=e.ref(16),S=e.ref([]),A=e.ref(),N=e.ref(),O=e.ref(!1),M=e.ref([]),H=e.ref(!1),z=e.ref("roadmap"),P=e.ref(!1),B=()=>{P.value=!P.value},R=()=>{A.value.map.setMapTypeId(z.value),P.value=!1};let V="";const I=async me=>{var ve;if(V=me,me!==""){H.value=!0;const Pe={query:me,includeOnly:"City"},ye=await s.value(Pe);if(V!==me)return;if(H.value=!1,!((ve=ye==null?void 0:ye.Locations)!=null&&ve.length)){M.value=[];return}const je=[];((ye==null?void 0:ye.Locations)||[]).forEach(ot=>{je.some(At=>At.value===ot.Address.City)||je.push({value:ot.Address.City})}),M.value=je}else M.value=[]},D=e.ref({iconType:1,name:"default",id:0}),X=e.ref([]),W=e.ref({content:{}}),re=e.ref(null),fe=e.ref([]),Ie=e.ref(),he=n,Le=e.computed(()=>l.itemData.id?o("editLandmark"):o("createLandmark")),ke=e.computed({get(){return l.modelValue},set(me){he("update:modelValue",me)}}),xe=me=>{D.value={iconType:me.iconType||1,name:me.name||"default",id:me.id||0},O.value=!1},Ee=me=>{const ve=new window.google.maps.LatLngBounds;return me.forEach(Pe=>{ve.extend(Pe)}),ve},F=()=>{var je;const me=(je=T.value)==null?void 0:je.getCenter(),ve=me.lat(),Pe=me.lng(),ye=[];ye.push({lat:ve+.002,lng:Pe+.002}),ye.push({lat:ve+.002,lng:Pe-.002}),ye.push({lat:ve-.002,lng:Pe-.002}),ye.push({lat:ve-.002,lng:Pe+.002}),S.value=ye,me.value={lat:ve,lng:Pe},re.value=Ee(S.value),T.value.fitBounds(re.value)},G=()=>{if(W.value.geom){const me=W.value.geom.replace(/POLYGON\(\((.*?)\)\)/,"$1").split(",");me.pop();const ve=me.map(Pe=>{let ye=Pe.split(" ");return ye={lat:Number(ye[0]),lng:Number(ye[1])},ye});S.value=ve,re.value=Ee(S.value),T.value.fitBounds(re.value)}},ae=me=>{me&&me.forEach(ve=>{let Pe=ve.types.findIndex(ye=>ye==="postal_code");Pe>-1&&(W.value.content.postal=ve.long_name),Pe=ve.types.findIndex(ye=>ye==="country"),Pe>-1&&(W.value.content.country=ve.long_name),Pe=ve.types.findIndex(ye=>ye==="administrative_area_level_1"),Pe>-1&&(W.value.content.state=ve.long_name),Pe=ve.types.findIndex(ye=>ye==="locality"),Pe>-1&&(W.value.content.city=ve.long_name),Pe=ve.types.findIndex(ye=>ye==="route"),Pe>-1&&(W.value.content.street=ve.long_name)})},Y=()=>{if(S.value.length===0)return"";let me="";return S.value.forEach(ve=>{let Pe=ee(ve.lng);me+=`${ve.lat} ${Pe},`}),me+=`${S.value[0].lat} ${ee(S.value[0].lng)}`,me},ue=async me=>{const{bounds:ve}=me,Pe=[];if(ve){T.value.fitBounds(ve);const ye=ve.getNorthEast(),je=ve.getSouthWest();Pe.push({lat:ye.lat(),lng:ye.lng()}),Pe.push({lat:je.lat(),lng:ye.lng()}),Pe.push({lat:je.lat(),lng:je.lng()}),Pe.push({lat:ye.lat(),lng:je.lng()})}else{const{position:ye}=me;E.value=15,T.value.panTo({lat:ye.lat(),lng:ye.lng()})}S.value=Pe,ae(me.addrList),await e.nextTick(),i.value.geom=Y()},Te=()=>{C.value.geocode({address:y.value},(me,ve)=>{if(ve==="OK"&&me)if(me.length===0)w.value=[];else if(me.length===1){const Pe=me[0],ye=Pe.formatted_address,je=Pe.address_components,ot=Pe.geometry.bounds||Pe.geometry.viewport,At=Pe.geometry.location;ue({detailAddr:ye,addrList:je,bounds:ot,position:At})}else w.value=[],me.forEach((Pe,ye)=>{if(ye>9)return;const je=Pe.formatted_address,ot=Pe.address_components,{bounds:At}=Pe.geometry,Lt=Pe.geometry.location,hn={detailAddr:je,addrList:ot,bounds:At,position:Lt};w.value.push(hn)}),b.value=!0})},Be=()=>{const me=[],ve=new window.google.maps.LatLngBounds;N.value.polygon.getPaths().forEach(function(ye){ye.getArray().map(ot=>{ve.extend(ot),me.push({lat:ot.lat(),lng:ot.lng()})})}),S.value=me,C.value||(C.value=new window.google.maps.Geocoder);const Pe=ve.getCenter();C.value.geocode({address:`${Pe.lat()},${Pe.lng()}`},ye=>{(ye.length===1||ye.length!==0)&&ae(ye[0].address_components)})},lt=()=>{const me=[];r&&(clearTimeout(r),r=void 0);const ve=new window.google.maps.LatLngBounds;N.value.polygon.getPath().forEach(ye=>{ve.extend(ye),me.push({lat:ye.lat(),lng:ye.lng()})}),S.value=me,r=setTimeout(()=>{C.value||(C.value=new window.google.maps.Geocoder);const ye=ve.getCenter();C.value.geocode({address:`${ye.lat()},${ye.lng()}`},je=>{je===null?ae([]):(je.length===1||je.length!==0)&&ae(je[0].address_components)}),r=void 0},300),e.nextTick(()=>{dt()})},dt=()=>{N.value&&N.value.polygon.setOptions({fillOpacity:.04,fillColor:"#000",strokeWeight:2,strokeColor:"#F32C1D"})},x=()=>{N.value&&N.value.polygon.setOptions({fillOpacity:0,strokeWeight:2,strokeColor:"#F32C1D"})},L=()=>{Ie.value&&Ie.value.validate(me=>{me&&ie()})},ie=async()=>{W.value.geom=`POLYGON((${Y()}))`,W.value.content.landmarkGroup=D.value.id===0?[]:[D.value.id],u.value=!0;let me={};if(W.value.id){const ve=De(W.value.content,i.value.content);me.content={...ve},me.content.modifyTime=U().utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),me.id=W.value.id,W.value.geom!==i.value.geom&&(me.geom=W.value.geom),W.value.name!==i.value.name&&(me.name=W.value.name)}else me={...W.value},me.content.createTime=U().utc().format("YYYY-MM-DDTHH:mm:ss[Z]"),me.content.modifyTime=U().utc().format("YYYY-MM-DDTHH:mm:ss[Z]");await d.value(me,pe,se)};function De(me,ve){const Pe={};for(const ye in me)me.hasOwnProperty(ye)&&(ve.hasOwnProperty(ye)?me[ye]!==ve[ye]&&(Pe[ye]=me[ye]):Pe[ye]=me[ye]);for(const ye in ve)ve.hasOwnProperty(ye)&&!me.hasOwnProperty(ye)&&(Pe[ye]=null);return Pe}const pe=()=>{f.success("Saved successfully!"),ke.value=!1,u.value=!1},se=()=>{u.value=!1};e.watch(()=>{var me;return(me=A.value)==null?void 0:me.ready},me=>{me&&(T.value=A.value.map,C.value=new window.google.maps.Geocoder,i.value.id?G():(F(),setTimeout(()=>{Be()},200)))});const Me=()=>{var ve,Pe;for(const ye in i.value)ye==="content"?W.value[ye]={...i.value[ye]}:W.value[ye]=i.value[ye];if(X.value=[],W.value.id)(Pe=(ve=W.value)==null?void 0:ve.landmarkGroup)==null||Pe.forEach(ye=>{let je=c.value.find(ot=>ye===ot.id);je&&X.value.push({iconType:je.iconType,name:je.name,id:je.id})}),X.value.length||X.value.push({iconType:1,name:"default",id:0});else{if(l.landmarkGroupId){let ye=c.value.find(je=>l.landmarkGroupId===je.id);ye&&X.value.push({iconType:ye.iconType,name:ye.name,id:ye.id})}X.value.length||X.value.push({iconType:1,name:"default",id:0})}let me=X.value[0];D.value={iconType:me.iconType,name:me.name,id:me.id}};e.watch(()=>ke.value,me=>{y.value="",me?Me():(W.value={content:{}},S.value=[],fe.value=[],v.value=0)},{immediate:!0});const ee=me=>(me=((me+180)%360+360)%360-180,me),ge=e.ref(!1),Qe=e.ref(),$e=me=>{W.value.content.state=me.value,Qe.value&&Qe.value.hide()};return(me,ve)=>{const Pe=mo,ye=Hl,je=e.resolveComponent("anSvgIcon"),ot=_o,At=ga,Lt=Bm,hn=Im,$t=$n,J=a7,de=o7,Q=zl,te=Kl;return e.openBlock(),e.createBlock(te,{modelValue:ke.value,"onUpdate:modelValue":ve[14]||(ve[14]=be=>ke.value=be),size:"520",title:Le.value,class:"drawer-footer-line landmark-drawer add-or-edit","destroy-on-close":!0,onClick:e.withModifiers(m,["stop"])},{footer:e.withCtx(()=>[e.createElementVNode("div",CD,[e.createVNode(At,{style:{width:"85px",height:"40px"},onClick:ve[13]||(ve[13]=be=>ke.value=!1)},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("cancel")),1)]),_:1}),t.loginInfo.type&&t.loginInfo.type!==3?(e.openBlock(),e.createBlock(At,{key:0,style:{width:"70px",height:"40px"},loading:u.value,type:"primary",onClick:L},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("save")),1)]),_:1},8,["loading"])):e.createCommentVNode("",!0)])]),default:e.withCtx(()=>[e.createElementVNode("div",eD,[e.createVNode(Q,{ref_key:"formRef",ref:Ie,"label-position":"top","label-width":"auto",model:W.value,rules:g},{default:e.withCtx(()=>[e.createVNode(ye,{label:e.unref(o)("nameThisLandmark"),prop:"name"},{default:e.withCtx(()=>[e.createVNode(Pe,{class:"h40-br6",modelValue:W.value.name,"onUpdate:modelValue":ve[0]||(ve[0]=be=>W.value.name=be),maxlength:64},null,8,["modelValue"])]),_:1},8,["label"]),e.createVNode(ye,{class:"formitem-maparea",label:e.unref(o)("mapArea"),prop:"geom","label-position":"left"},{default:e.withCtx(()=>[e.createElementVNode("div",tD,[e.createVNode(ot,{visible:b.value,placement:"bottom",width:"480"},{reference:e.withCtx(()=>[e.createVNode(Pe,{modelValue:y.value,"onUpdate:modelValue":ve[1]||(ve[1]=be=>y.value=be),class:"search-input h40-br6",placeholder:"Search Address",onChange:Te},{prefix:e.withCtx(()=>[e.createVNode(je,{color:"#000",name:"searchIcon24","font-size":"24"})]),_:1},8,["modelValue"])]),default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(w.value,be=>(e.openBlock(),e.createElementBlock("li",{key:be.detailAddr,class:"list-item",onClick:Ze=>{b.value=!1,ue(be)}},e.toDisplayString(be.detailAddr),9,nD))),128))]),_:1},8,["visible"]),e.createCommentVNode("",!0)])]),_:1},8,["label"]),e.createElementVNode("div",oD,[e.createVNode(e.unref(o1),{ref_key:"mapRef",ref:A,"api-key":t.GOOGLE_MAP_API_KEY,libraries:["geometry","places"],style:{width:"100%",height:"520px"},styles:t.MAP_STYLES,language:e.unref(a),gestureHandling:"greedy",center:k.value,zoom:E.value,"street-view-control":!1,"map-type-control":!1,disableDefaultUI:!0,"fullscreen-control":!1,rotateControl:!1,onClick:p},{default:e.withCtx(()=>[e.createElementVNode("div",{class:"wrapper-rest",onClick:F},[e.createElementVNode("span",null,e.toDisplayString(e.unref(o)("reset")),1),e.createVNode(je,{name:"refreshIcon","font-size":"24"})]),e.createVNode(e.unref(cS),{ref_key:"polygonRef",ref:N,options:{paths:S.value,fillColor:"rgb(255, 255, 255)",fillOpacity:0,strokeWeight:2,strokeColor:"#F32C1D",editable:!0,controlPoints:!0,draggable:!0},onDragend:lt,onMouseup:Be,onMouseover:dt,onMouseout:x},null,8,["options"]),e.createVNode(e.unref(mS),{position:"RIGHT_TOP"},{default:e.withCtx(()=>[e.createElementVNode("div",aD,[e.createElementVNode("div",{class:e.normalizeClass([{"mapController-selected":P.value},"mapController"]),id:"map-type-btn",onClick:B},[e.createVNode(je,{name:"eye-icon",color:"rgba(2, 2, 2, 1)","font-size":24})],2),e.withDirectives(e.createElementVNode("div",rD,[e.createElementVNode("div",lD,[e.createVNode(hn,{modelValue:z.value,"onUpdate:modelValue":ve[2]||(ve[2]=be=>z.value=be),name:"mapTypeGroup",onChange:R},{default:e.withCtx(()=>[e.createVNode(Lt,{value:"roadmap",class:"map-type-item"},{default:e.withCtx(()=>ve[16]||(ve[16]=[e.createTextVNode(" Road ")])),_:1}),e.createVNode(Lt,{value:"hybrid",class:"map-type-item"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(o)("satellite")),1)]),_:1})]),_:1},8,["modelValue"])])],512),[[e.vShow,P.value]])])]),_:1})]),_:1},8,["api-key","styles","language","center","zoom"])]),e.createVNode(ye,{label:e.unref(o)("address"),class:"form-item-address"},{default:e.withCtx(()=>[e.createElementVNode("div",iD,[ve[17]||(ve[17]=e.createElementVNode("span",{class:"label-desc"},"Street/Apt/Suite/Floor",-1)),e.createVNode(Pe,{modelValue:W.value.content.street,"onUpdate:modelValue":ve[3]||(ve[3]=be=>W.value.content.street=be),maxlength:126,placeholder:"Enter Street/Apt/Suite/Floor "},null,8,["modelValue"])])]),_:1},8,["label"]),e.createElementVNode("div",sD,[e.createVNode(ye,{label:"",class:"inner-desc"},{default:e.withCtx(()=>[e.createElementVNode("div",cD,[e.createElementVNode("span",dD,e.toDisplayString(e.unref(o)("city")),1),e.createVNode(de,{modelValue:W.value.content.city,"onUpdate:modelValue":ve[4]||(ve[4]=be=>W.value.content.city=be),filterable:"","allow-create":"",remote:"","fit-input-width":"","reserve-keyword":"","default-first-option":!1,"remote-method":I,loading:H.value,class:"br-6","popper-class":"city-choose",placeholder:"Enter City"},{default:e.withCtx(()=>[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(M.value,be=>(e.openBlock(),e.createBlock(J,{key:be.value,label:be.value,value:be.value},{default:e.withCtx(()=>[e.createVNode($t,{class:"box-item",effect:"dark",content:be.value,placement:"right"},{default:e.withCtx(()=>[e.createElementVNode("span",null,e.toDisplayString(be.value),1)]),_:2},1032,["content"])]),_:2},1032,["label","value"]))),128))]),_:1},8,["modelValue","loading"])])]),_:1}),e.createCommentVNode("",!0),e.createVNode(ye,{label:e.unref(o)("state"),class:e.normalizeClass(["inner-desc form-state",{"is-focus":ge.value}])},{default:e.withCtx(()=>[e.createVNode(Pe,{modelValue:W.value.content.state,"onUpdate:modelValue":ve[6]||(ve[6]=be=>W.value.content.state=be),placeholder:"Enter State",onFocus:ve[7]||(ve[7]=be=>ge.value=!0),onBlur:ve[8]||(ve[8]=be=>ge.value=!1)},{suffix:e.withCtx(()=>[e.createVNode(ot,{placement:"bottom-end",width:213,trigger:"click","popper-class":"popper-state",ref_key:"popperStateRef",ref:Qe,"show-arrow":!1,"hide-after":0,offset:-24},{reference:e.withCtx(()=>[e.createElementVNode("div",uD,[e.createVNode(je,{name:"xiajiantou","font-size":"24",color:"#000",class:"a-icon",style:{cursor:"pointer"}})])]),default:e.withCtx(()=>[e.createElementVNode("div",fD,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.unitAllState,be=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:be.key,onClick:Ze=>$e(be)},[e.createElementVNode("span",null,e.toDisplayString(be.value),1),W.value.content.state===be.value?(e.openBlock(),e.createBlock(je,{key:0,name:"device-gou","font-size":24})):e.createCommentVNode("",!0)],8,mD))),128))])]),_:1},512)]),_:1},8,["modelValue"])]),_:1},8,["label","class"]),e.createVNode(ye,{label:"",class:"inner-desc"},{default:e.withCtx(()=>[e.createElementVNode("div",pD,[ve[19]||(ve[19]=e.createElementVNode("span",{class:"label-desc"},"Zip",-1)),e.createVNode(Pe,{modelValue:W.value.content.postal,"onUpdate:modelValue":ve[9]||(ve[9]=be=>W.value.content.postal=be),maxlength:16,placeholder:"Zip Code"},null,8,["modelValue"])])]),_:1})]),e.createVNode(ye,{label:e.unref(o)("remark")},{default:e.withCtx(()=>[e.createVNode(Pe,{modelValue:W.value.content.remark,"onUpdate:modelValue":ve[10]||(ve[10]=be=>W.value.content.remark=be),placeholder:"Type in content",type:"textarea",rows:4,maxlength:250,"show-word-limit":""},null,8,["modelValue"])]),_:1},8,["label"]),e.createVNode(ye,{label:""},{default:e.withCtx(()=>[e.createElementVNode("div",hD,[e.createElementVNode("span",gD,e.toDisplayString(e.unref(o)("chooseLandmarkGroup")),1),e.createVNode(ot,{width:212,trigger:"click",visible:O.value,"show-arrow":!1,offset:-20,placement:"top-start","popper-class":"lable-pop"},{reference:e.withCtx(()=>[e.createElementVNode("span",{class:"value-desc",onClick:ve[11]||(ve[11]=e.withModifiers(be=>O.value=!0,["stop"]))},[e.createVNode(je,{name:"landmark-group"+D.value.iconType,"font-size":"24"},null,8,["name"]),e.createVNode($t,{class:"box-item",effect:"dark",content:D.value.name||"",placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("span",yD,e.toDisplayString(D.value.name),1)]),_:1},8,["content"]),e.createElementVNode("div",kD,[e.createVNode(je,{name:"xiajiantou","font-size":"24"})])])]),default:e.withCtx(()=>[e.createElementVNode("ul",vD,[e.createElementVNode("li",{class:"lable-li",onClick:ve[12]||(ve[12]=be=>xe({}))},[e.createElementVNode("span",{class:e.normalizeClass(["check-icon",D.value.id===0&&"view-icon"])},[e.createVNode(je,{name:"filterchecked","font-size":"24",class:"selcls"})],2),e.createElementVNode("span",null,[e.createVNode(je,{name:"landmark-group1","font-size":"24"})]),ve[20]||(ve[20]=e.createElementVNode("span",{class:"default-desc"},"Default",-1))]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(e.unref(c),be=>(e.openBlock(),e.createElementBlock("li",{key:be.id,class:"lable-li",onClick:Ze=>xe(be)},[e.createElementVNode("span",{class:e.normalizeClass(["check-icon",D.value.id===be.id&&"view-icon"])},[e.createVNode(je,{name:"filterchecked","font-size":"24",class:"selcls"})],2),e.createElementVNode("span",null,[e.createVNode(je,{name:be.content.iconType&&be.content.iconType!==1?"landmark-group"+be.content.iconType:"","font-size":"24"},null,8,["name"])]),e.createVNode($t,{class:"box-item",effect:"dark",content:be.name||"",placement:"left"},{default:e.withCtx(()=>[e.createElementVNode("span",wD,e.toDisplayString(be.name),1)]),_:2},1032,["content"])],8,bD))),128))])]),_:1},8,["visible"])])]),_:1})]),_:1},8,["model"])])]),_:1},8,["modelValue","title"])}}}),[["__scopeId","data-v-09666968"]]),sn=vt(e.defineComponent({__name:"IconButton",props:{name:{default:""},size:{default:"normal"},color:{default:""},fontSize:{default:24},height:{},width:{},svgHeight:{},svgWidth:{},isDelete:{type:Boolean,default:!1},disabled:{type:Boolean}},emits:["handleClick"],setup(t,{emit:n}){const o=n,a=()=>{o("handleClick")};return(r,l)=>{const i=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["IconButton",{large:r.size==="large",isDelete:r.isDelete,customHeight:r.height,disabled:r.disabled}]),style:e.normalizeStyle({height:`${r.height||r.fontSize}px`,width:`${r.width||r.height||r.fontSize}px`}),onClick:a},[e.createVNode(i,{name:r.name,"font-size":r.fontSize,color:r.color,style:e.normalizeStyle({height:`${r.svgHeight||r.fontSize}px`,width:`${r.svgWidth||r.fontSize}px`})},null,8,["name","font-size","color","style"])],6)}}}),[["__scopeId","data-v-7326ffa7"]]),TD={class:"icon"},ND={class:"text"},SD={class:"icon"},VD={class:"text"},U1=vt(e.defineComponent({__name:"VehicleLabel",props:{type:{type:Number,default:0},icon:{type:String},name:{type:String},placement:{type:String,default:"top"},height:{type:String,default:"40px"},add:{type:Boolean},data:{type:Object}},emits:["handleClick"],setup(t,{emit:n}){const o=t,{type:a,icon:r,name:l,data:i}=e.toRefs(o),c=e.ref(!1),s=n,d=()=>{s("handleClick",i==null?void 0:i.value)};function p(m){c.value=m}return(m,h)=>{const g=e.resolveComponent("anSvgIcon"),f=e.resolveComponent("text-clamp"),u=$n;return e.unref(l)?(e.openBlock(),e.createBlock(u,{key:0,effect:"dark",content:e.unref(l),placement:t.placement,"popper-class":"custom-tooltip",offset:10,"show-arrow":!1,disabled:!c.value},{default:e.withCtx(()=>[e.createElementVNode("div",{onClick:d,class:e.normalizeClass(["VehicleLabel",{normal:!e.unref(a),add:t.add,vehicle:e.unref(a)===4,"c-g":e.unref(a)===2,"c-r":e.unref(a)===3}]),style:e.normalizeStyle({height:t.height})},[e.createElementVNode("div",TD,[e.unref(a)===1?(e.openBlock(),e.createBlock(g,{key:0,name:"share-tag","font-size":"24"})):e.createCommentVNode("",!0),e.unref(a)===2?(e.openBlock(),e.createBlock(g,{key:1,name:e.unref(r)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(a)===3?(e.openBlock(),e.createBlock(g,{key:2,name:"share-landmark","font-size":"24"})):e.createCommentVNode("",!0),e.unref(a)===4?(e.openBlock(),e.createBlock(g,{key:3,name:e.unref(r)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",ND,[e.unref(l)?(e.openBlock(),e.createBlock(f,{key:0,class:"text-clamp-name",location:"middle",text:e.unref(l),"max-lines":1,autoResize:!0,onClampChange:p},null,8,["text"])):e.createCommentVNode("",!0),e.renderSlot(m.$slots,"default",{},void 0,!0)])],6)]),_:3},8,["content","placement","disabled"])):(e.openBlock(),e.createElementBlock("div",{key:1,onClick:d,class:e.normalizeClass(["VehicleLabel",{normal:!e.unref(a),add:t.add,vehicle:e.unref(a)===4,"c-g":e.unref(a)===2,"c-r":e.unref(a)===3}]),style:e.normalizeStyle({height:t.height})},[e.createElementVNode("div",SD,[e.unref(a)===1?(e.openBlock(),e.createBlock(g,{key:0,name:"share-tag","font-size":"24"})):e.createCommentVNode("",!0),e.unref(a)===2?(e.openBlock(),e.createBlock(g,{key:1,name:e.unref(r)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0),e.unref(a)===3?(e.openBlock(),e.createBlock(g,{key:2,name:"share-landmark","font-size":"24"})):e.createCommentVNode("",!0),e.unref(a)===4?(e.openBlock(),e.createBlock(g,{key:3,name:e.unref(r)||"share-vehicle","font-size":"24"},null,8,["name"])):e.createCommentVNode("",!0)]),e.createElementVNode("div",VD,[e.renderSlot(m.$slots,"default",{},void 0,!0)])],6))}}}),[["__scopeId","data-v-1796d0cd"]]),AD={class:"VehicleItem flex-center-align"},BD={class:"tag-edit-l"},Ni=vt(e.defineComponent({__name:"VehicleItem",props:{type:{type:Number},edit:{type:Boolean,default:!0},readOnly:{type:Boolean,default:!1},showDelete:{type:Boolean,default:!0},alias:{type:String,default:""},icon:{type:String,default:""},name:{type:String},placement:{type:String,default:"top"},data:{type:Object}},emits:["update:modelValue","handleDelete","showTag","changeAliasName","handleClick"],setup(t,{emit:n}){const o=t,{type:a,showDelete:r,alias:l,readOnly:i}=e.toRefs(o),{t:c}=Xt(),s=e.ref("");e.watch(()=>l.value,()=>{s.value=l==null?void 0:l.value},{immediate:!0});const d=n,p=f=>{d("handleClick",f,a==null?void 0:a.value)},m=()=>{d("handleDelete")},h=()=>{d("showTag")},g=f=>{d("changeAliasName",f)};return(f,u)=>{const v=mo,k=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",AD,[e.unref(a)===2?(e.openBlock(),e.createBlock(v,{key:0,placeholder:e.unref(c)("enterAliasName"),style:{width:"280px"},modelValue:s.value,"onUpdate:modelValue":u[0]||(u[0]=y=>s.value=y),disabled:e.unref(i),size:"large",onChange:g,maxlength:"20"},{prefix:e.withCtx(()=>[e.createVNode(U1,{data:t.data,type:e.unref(a),height:"38px",icon:t.icon,name:t.name,placement:t.placement,onHandleClick:p},{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{},void 0,!0)]),_:3},8,["data","type","icon","name","placement"])]),_:3},8,["placeholder","modelValue","disabled"])):(e.openBlock(),e.createBlock(U1,{key:1,data:t.data,type:e.unref(a),icon:t.icon,name:t.name,placement:t.placement,onHandleClick:p},{default:e.withCtx(()=>[e.renderSlot(f.$slots,"default",{},void 0,!0)]),_:3},8,["data","type","icon","name","placement"])),e.unref(a)===1?(e.openBlock(),e.createElementBlock("div",{key:2,class:"tag-edit",onClick:h},[e.createElementVNode("div",BD,e.toDisplayString(e.unref(c)("editAliasName")),1),e.createVNode(k,{name:"share-right","font-size":"12"})])):e.createCommentVNode("",!0),e.withDirectives(e.createVNode(sn,{isDelete:"",class:"delete",onClick:m,name:"share-delete","font-size":"30",color:"#000"},null,512),[[e.vShow,e.unref(r)&&!e.unref(i)]])])}}}),[["__scopeId","data-v-94e5a0e0"]]),ID={class:"CustomDatePicker"},MD={class:"timeText flex-center-align"},DD=vt(e.defineComponent({__name:"CustomDatePicker",props:{modelValue:{default:null}},emits:["update:modelValue","dateChange"],setup(t,{expose:n,emit:o}){const{t:a}=Xt(),r=e.ref(""),l=e.ref(!1),i=t,{modelValue:c}=e.toRefs(i),s=o,{customerHabit:d}=e.toRefs(ea()),p=e.computed(()=>{var u,v;return!((u=d==null?void 0:d.value)!=null&&u.localTimezone)&&((v=d==null?void 0:d.value)!=null&&v.timeZone)?d.value.timeZone:""});e.watch(()=>c==null?void 0:c.value,()=>{r.value=c==null?void 0:c.value,console.log(r.value)},{immediate:!0});const m=e.computed(()=>Uc(r.value)),h=()=>{l.value=!l.value},g=u=>new Date(u).getTime()<Date.now()||new Date(u).getTime()>new Date("2089-01-01").getTime(),f=u=>{const v=new Date(u||r.value).getTime();s("update:modelValue",v),s("dateChange",v)};return n({showPicker:h}),(u,v)=>{const k=e.resolveComponent("anytrekTimePick"),y=Om;return e.openBlock(),e.createElementBlock("div",ID,[e.createVNode(k,{value:r.value,"onUpdate:value":v[0]||(v[0]=b=>r.value=b),immediate:!0,teleported:!1,onChange:f,disableFuntion:g,timeZone:p.value,visible:l.value,"onUpdate:visible":v[1]||(v[1]=b=>l.value=b)},null,8,["value","timeZone","visible"]),e.createElementVNode("div",MD,[e.createElementVNode("span",null,e.toDisplayString(m.value),1),e.createVNode(y,{direction:"vertical",style:{margin:"0","border-color":"#9a9a9a"}}),e.createElementVNode("span",null,e.toDisplayString(e.unref(a)("daysLeft",{d:e.unref(R1)(r.value)})),1),e.createVNode(sn,{name:"share-edit",onHandleClick:h,color:"#9a9a9a","font-size":"32"})])])}}}),[["__scopeId","data-v-13b945d6"]]),OD={class:"SelectedVehiclePop"},LD={class:"SelectedVehiclePop-t"},xD={class:"SelectedVehiclePop-t-t"},PD={class:"title-l"},RD=["title"],FD={class:"title-r"},zD={class:"SelectedVehiclePop-t-b"},HD={class:"SelectedVehiclePop-m"},ZD={class:"content-b"},YD={class:"dynamicScroller-item"},jD={key:0,class:"SelectedVehiclePop-b"},_D=vt(e.defineComponent({__name:"SelectedVehiclePop",props:{modelValue:{type:Boolean},selectedList:{type:Array,default:[]},readOnly:{type:Boolean,default:!1},aliasOnly:{type:Boolean,default:!1},onlyEditName:{type:Boolean,default:!1},aliasNames:{type:Object,default:{}},dataLength:{type:Object}},emits:["update:modelValue","showTag","changeAliasName","handleDelete","clearAll","handleClose","handleConfirm","handleBack","openAddVehicle","handleConfirmAlias","handleClick"],setup(t,{expose:n,emit:o}){const{t:a}=Xt(),r=(z,P)=>{var B;return z.type!==2||!P?"":((B=P==null?void 0:P[z.value])==null?void 0:B.aliasName)||""},l=t,i=e.ref(""),c=e.ref(!1),{modelValue:s,selectedList:d,readOnly:p,aliasNames:m,aliasOnly:h}=e.toRefs(l),g=e.inject("editTagInfo"),f=e.inject("vehicleIconMap"),u=e.computed(()=>{var P;console.log("selectedListDataShowChange");const z=(P=g.value)!=null&&P.infoList?g.value.infoList:v==null?void 0:v.value;return i.value?(z||[]).filter(B=>B.label?((B==null?void 0:B.label)+"").replace(/\s+/g," ").trim().toLocaleLowerCase().indexOf((i.value+"").replace(/\s+/g," ").trim().toLocaleLowerCase())>-1:!0):z}),v=e.ref([]),k=e.ref({}),y=e.computed(()=>s.value),b=e.ref([]),w=z=>z.newIcon?`vehicle-${z.newIcon}`:f.value.get(z.value)||"";e.watch(()=>y.value,()=>{y.value?(b.value=[...d==null?void 0:d.value],v.value=[...d==null?void 0:d.value],k.value=va(m==null?void 0:m.value)):c.value=!1},{immediate:!0}),e.watch(()=>m.value,()=>{k.value=va(m==null?void 0:m.value)},{deep:!0,immediate:!0}),e.watch(()=>d==null?void 0:d.value,z=>{z&&(b.value=[...z],v.value=[...z])},{immediate:!0,deep:!0});const C=o;function T(...z){C("handleClick",...z)}const E=()=>{C("update:modelValue",!1),C("handleClose")},S=()=>{h!=null&&h.value?C("handleConfirmAlias",{...k.value}):C("handleConfirm",v.value,{...k.value}),C("handleClose")},A=z=>{C("showTag",z)},N=(z,P)=>{k.value[P]?k.value[P].aliasName=z:k.value[P]={aliasName:z}},O=(z,P)=>{k.value[P.value]&&delete k.value[P.value],v.value.splice(z,1)},M=()=>{C("openAddVehicle")};function H(z,P){var B,R,V;v.value.map(I=>{var D,X;I.type===z&&(z===2?I.value===((D=P==null?void 0:P.vehicle)==null?void 0:D.id)&&(I.label=(X=P==null?void 0:P.vehicle)==null?void 0:X.name):I.value===(P==null?void 0:P.id)&&(I.label=P==null?void 0:P.name))}),b.value.map(I=>{var D,X;I.type===z&&(z===2?I.value===((D=P==null?void 0:P.vehicle)==null?void 0:D.id)&&(I.label=(X=P==null?void 0:P.vehicle)==null?void 0:X.name):I.value===(P==null?void 0:P.id)&&(I.label=P==null?void 0:P.name))}),(R=(B=g.value)==null?void 0:B.infoList)!=null&&R.length&&((V=g.value)==null||V.infoList.map(I=>{var D,X;I.type===z&&(z===2?I.value===((D=P==null?void 0:P.vehicle)==null?void 0:D.id)&&(I.label=(X=P==null?void 0:P.vehicle)==null?void 0:X.name):I.value===(P==null?void 0:P.id)&&(I.label=P==null?void 0:P.name))}))}return n({opMessage:H}),(z,P)=>{var R,V;const B=mo;return e.openBlock(),e.createElementBlock("div",OD,[e.createElementVNode("div",LD,[e.createElementVNode("div",xD,[e.createElementVNode("div",PD,[e.createElementVNode("p",{class:"title-text text-overflow-ellipsis",title:e.unref(g)?`${e.unref(g).tagName} ${e.unref(a)("aliasNameEditing")}`:e.unref(a)("allSelectedElement")},e.toDisplayString(e.unref(g)?`${e.unref(g).tagName} ${e.unref(a)("aliasNameEditing")}`:e.unref(a)("allSelectedElement")),9,RD),e.createElementVNode("p",null,e.toDisplayString(e.unref(a)("NinTotal",{n:e.unref(g)?(V=(R=e.unref(g))==null?void 0:R.infoList)==null?void 0:V.length:e.unref(d).length})),1)]),e.createElementVNode("div",FD,[e.createVNode(sn,{name:"common-popClose",fontSize:"32",color:"#9a9a9a",onHandleClick:E}),!e.unref(p)||t.onlyEditName?(e.openBlock(),e.createBlock(sn,{key:0,name:"common-popConfirm",color:"#0BA5EC",fontSize:"32",onHandleClick:S})):e.createCommentVNode("",!0)])]),e.createElementVNode("div",zD,[e.createVNode(B,{modelValue:i.value,"onUpdate:modelValue":P[1]||(P[1]=I=>i.value=I),placeholder:e.unref(a)("searchVehicle"),class:"anytrek-vehicle-auto-search",style:{padding:"0"},"prefix-icon":al,size:"large"},{suffix:e.withCtx(()=>[i.value?(e.openBlock(),e.createBlock(ol,{key:0,onClick:P[0]||(P[0]=I=>i.value="")})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder"])])]),e.createElementVNode("div",HD,[e.createElementVNode("div",ZD,[e.createVNode(e.unref(rr),{keyField:"value",items:u.value,"min-item-size":48,class:"dynamicScroller"},{default:e.withCtx(({item:I,index:D,active:X})=>[e.createVNode(e.unref(qr),{item:I,active:X,"data-index":D},{default:e.withCtx(()=>[e.createElementVNode("div",YD,[e.createVNode(Ni,{placement:"left",icon:w(I),onChangeAliasName:W=>{N(W,I.value)},name:I.label,onHandleClick:T,alias:r(I,k.value),onShowTag:W=>A(I.value),type:I.type,onHandleDelete:W=>O(D,I),content:I==null?void 0:I.content,readOnly:e.unref(p)&&!t.onlyEditName,"show-delete":!e.unref(g),data:I},null,8,["icon","onChangeAliasName","name","alias","onShowTag","type","onHandleDelete","content","readOnly","show-delete","data"])])]),_:2},1032,["item","active","data-index"])]),_:1},8,["items"])])]),e.unref(h)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock("div",jD,[e.createVNode(sn,{name:"share-add2","font-size":"32",color:"#9a9a9a",onHandleClick:M})]))])}}}),[["__scopeId","data-v-1a74edb2"]]),UD={class:"common-share-popover-no-pd"},GD={class:"share-add-vehicle-popover"},WD={class:"item-l"},KD={class:"text"},QD={class:"item-l"},qD={class:"text"},XD={class:"item-l"},JD={class:"text"},$D={class:"choose-content"},eO={class:"choose-content-t"},tO={class:"choose-content-t-t flex-center-align"},nO={class:"selected"},oO={class:"confirm flex-center-align"},aO={class:"choose-content-tab flex-center-align"},rO={class:"choose-content-t-m"},lO={class:"choose-content-t-b-l flex-center-align"},iO={class:"choose-content-m"},sO={class:"choose-content-m-content"},cO={class:"item-w"},dO=["onClick"],uO={class:"item-l flex-center-align"},fO={class:"item-r"},mO={class:"item-w"},pO=["onClick"],hO={class:"item-l flex-center-align"},gO={class:"item-r"},yO={class:"item-warp-w"},kO=["onClick"],vO={class:"item-warp-t-l flex-center-align"},bO={class:"text text-overflow-ellipsis"},wO={class:"item-warp-t-m flex-center-align"},CO=["onClick"],EO={class:"item-warp-m"},TO={class:"item-warp-m-t"},NO=["onClick"],SO={class:"item-l flex-center-align"},VO={class:"item-r"},AO={class:"item-warp-m-b"},BO=vt(e.defineComponent({__name:"ShareAddVehiclePopover",props:{dataLength:{type:Object},assetTypesMap:{type:Object,default(){return{}}}},emits:["handleConfirm","handleOp"],setup(t,{expose:n,emit:o}){const a=t,{t:r}=Xt(),{dataLength:l}=e.toRefs(a),i=F=>`vehicle-${F!=null&&F.newIcon||F.isBindVehicle?(F==null?void 0:F.newIcon)||"Vector":"device"}`,c=()=>"",s=e.ref(),d=e.ref(),p=e.ref(),m=e.ref(!1),h=e.ref(!1),g=e.ref(1),f=e.ref(1),u=e.ref(""),v=e.inject("vehicleLoading",!0),k=e.inject("vehiclesListData",[]),y=e.inject("tagListData",[]),b=e.inject("landmarkListData",[]),w=e.inject("landmarkGroupListData",[]),C=e.inject("selectedListData",[]);e.watch(()=>y.value,()=>{console.log(y.value)},{immediate:!0});const T=e.computed(()=>{var F;return s.value?(F=y==null?void 0:y.value)==null?void 0:F.filter(G=>{var ae;return(ae=G==null?void 0:G.label)==null?void 0:ae.includes(s==null?void 0:s.value)}):(y==null?void 0:y.value)||[]}),E=e.computed(()=>{var G;const F=(k==null?void 0:k.value)||[];if(g.value===2&&f.value===2){if(!(u!=null&&u.value))return F;let ae=(G=u==null?void 0:u.value)==null?void 0:G.split(`
234
234
  `);ae=ae.filter(ue=>`${ue}`.length>=14);const Y=[];return ae.length&&ae.map(ue=>{const Te=F.find(Be=>(Be==null?void 0:Be.deviceId)==ue);Te&&Y.push(Te.value)}),F.filter(ue=>Y.includes(ue.value))}return s.value?F.filter(ae=>{var Y;return(Y=ae==null?void 0:ae.label)==null?void 0:Y.includes(s==null?void 0:s.value)}):F}),S=e.computed(()=>{var F;return s.value?(F=b==null?void 0:b.value)==null?void 0:F.filter(G=>{var ae;return(ae=G==null?void 0:G.label)==null?void 0:ae.includes(s==null?void 0:s.value)}):(b==null?void 0:b.value)||[]}),A=e.computed(()=>{var G;return s.value?(G=w==null?void 0:w.value)==null?void 0:G.map(ae=>{var Te;const Y={...ae},ue=(Te=ae==null?void 0:ae.groupsData)==null?void 0:Te.filter(Be=>Be.label.includes(s.value));return Y.groupsData=ue,Y}):(w==null?void 0:w.value)||[]}),N=e.ref([]),O=e.ref([]),M=e.ref(),H=o,z=e.computed(()=>{var ae;const F=f.value;let G=(N==null?void 0:N.value)||[];if(G=G.filter(Y=>Y.type===F),g.value===2&&f.value===2){if(!(u!=null&&u.value))return G;let Y=(ae=u==null?void 0:u.value)==null?void 0:ae.split(`
235
235
  `);Y=Y.filter(Te=>`${Te}`.length>=14);const ue=[];return Y.length&&Y.map(Te=>{const Be=E.value.find(lt=>(lt==null?void 0:lt.deviceId)==Te);Be&&ue.push(Be.value)}),G.filter(Te=>ue.includes(Te.value))}return s.value?G.filter(Y=>{var ue;return(ue=Y==null?void 0:Y.label)==null?void 0:ue.includes(s==null?void 0:s.value)}):G}),P=e.computed(()=>{var G,ae,Y;switch(f.value){case 1:return z.value.length>=((G=T==null?void 0:T.value)==null?void 0:G.length);case 2:return z.value.length>=((ae=E==null?void 0:E.value)==null?void 0:ae.filter(ue=>!(ue!=null&&ue.disabled)).length);case 3:return z.value.length>=((Y=S==null?void 0:S.value)==null?void 0:Y.length);default:return!1}}),B=e.computed(()=>{var ae,Y,ue;const F=f.value,G=z.value.length;switch(F){case 1:return G&&G<((ae=T==null?void 0:T.value)==null?void 0:ae.length);case 2:return G&&G<((Y=E==null?void 0:E.value)==null?void 0:Y.filter(Te=>!(Te!=null&&Te.disabled)).length);case 3:return G&&G<((ue=S==null?void 0:S.value)==null?void 0:ue.length);default:return!1}}),R=e.computed(()=>{const F=f.value;switch(F){case 1:return N==null?void 0:N.value.filter(G=>G.type===F).length;case 2:return N==null?void 0:N.value.filter(G=>G.type===F).length;case 3:return N==null?void 0:N.value.filter(G=>G.type===F).length;default:return 0}}),V=e.computed(()=>(f==null?void 0:f.value)===1?r("tag"):(f==null?void 0:f.value)===2?r("vehicle"):r("landmarkGroup")),I=(F,G=!1)=>{const ae=f.value;let Y=c()+"/#";switch(ae){case 1:Y+="/tags?isAdd=true";break;case 2:Y+="/vehicles?isAdd=true";break;case 3:Y+="/landmark?isAdd=true";break}if(F&&(Y+=`&id=${F}`),G)Y+="&type=landmarkGroup";else{H("handleOp",ae,F),Ie();return}window.open(Y,"_blank","100%")},D=F=>{s.value="",m.value=!0,g.value=1,f.value=F},X=F=>{const G=f.value;N.value.find(Y=>Y.type===G&&Y.value===F.value)?N.value=N.value.filter(Y=>!(Y.type===G&&Y.value===F.value)):N.value.push({label:F.label,value:F.value,newIcon:F.newIcon,type:G})},W=F=>{var Te;const G=f.value,ae=w.value[F].groupsData.map(Be=>Be.value);if(M.value[F].selectAll)return N.value=N.value.filter(Be=>Be.type!==G||Be.type===G&&!ae.includes(Be.value));let Y=N.value.filter(Be=>Be.type!==G||Be.type===G&&!ae.includes(Be.value)),ue=(Te=b==null?void 0:b.value)==null?void 0:Te.filter(Be=>ae.includes(Be.value));N.value=Y.concat(ue)},re=F=>{const G=f.value;let ae=(N==null?void 0:N.value)||[];return ae!=null&&ae.length?!!ae.find(ue=>ue.type===G&&(ue==null?void 0:ue.value)===(F==null?void 0:F.value)):!1},fe=()=>{var ae,Y;const F=f.value;let G=[...N.value];if(P.value){switch(F){case 1:N.value=G.filter(ue=>ue.type!==F||ue.type===F&&!T.value.find(Te=>Te.value===ue.value));break;case 2:N.value=G.filter(ue=>ue.type!==F||ue.type===F&&!E.value.find(Te=>Te.value===ue.value));break;case 3:N.value=G.filter(ue=>ue.type!==F||ue.type===F&&!S.value.find(Te=>Te.value===ue.value));break}return}switch(F){case 1:G=G.filter(Te=>Te.type!==F||Te.type===F&&!T.value.find(Be=>Be.value===Te.value)),N.value=G.concat((ae=T==null?void 0:T.value)==null?void 0:ae.map(Te=>({label:Te.label,value:Te.value,type:F})));break;case 2:G=G.filter(Te=>Te.type!==F||Te.type===F&&!E.value.find(Be=>Be.value===Te.value));let ue=E==null?void 0:E.value.map(Te=>({label:Te.label,value:Te.value,newIcon:Te.newIcon,type:F}));N.value=G.concat(ue);break;case 3:G=G.filter(Te=>Te.type!==F||Te.type===F&&!S.value.find(Be=>Be.value===Te.value)),N.value=G.concat((Y=S==null?void 0:S.value)==null?void 0:Y.map(Te=>({label:Te.label,value:Te.value,type:F})));break}},Ie=()=>{N.value=[...O.value],h.value=!1,d.value.handleClose(),m.value=!1},he=()=>{d.value.handleClose(),m.value=!1,h.value=!1,H("handleConfirm",N.value)},Le=()=>{d.value.handleOpen(),m.value=!1,h.value=!h.value},ke=F=>{F||(s.value="")},xe=F=>{p.value&&p.value.contains(F.target)},Ee=F=>{M.value[F].collapse=!M.value[F].collapse};return e.watch(()=>C,F=>{F!=null&&F.value&&(N.value=[...F.value],O.value=[...F.value])},{deep:!0,immediate:!0}),e.watch(()=>N,F=>{var G;if(F!=null&&F.value){if(!(M!=null&&M.value))return;let ae=F==null?void 0:F.value.filter(Y=>Y.type===3).map(Y=>Y.value);(G=w==null?void 0:w.value)==null||G.map((Y,ue)=>{const Te=Y.groupsData.length,lt=Y.groupsData.map(dt=>dt.value).filter(dt=>ae.includes(dt)).length;lt===0&&(M.value[ue].selectAll=!1),lt>=Te&&Te!==0&&(M.value[ue].selectAll=!0)})}},{deep:!0,immediate:!0}),e.watch(()=>w,F=>{if(F!=null&&F.value){let G={};F.value.map((ae,Y)=>{G[Y]={collapse:!0,selectAll:!1,groupId:ae.id||0}}),M.value=G}},{deep:!0,immediate:!0}),n({handleOpen:Le,handleConfirm:he,showChooseContent:m}),e.onMounted(()=>{document.addEventListener("click",xe)}),e.onBeforeUnmount(()=>{document.removeEventListener("click",xe)}),(F,G)=>{const ae=e.resolveComponent("anSvgIcon"),Y=mo,ue=e.resolveComponent("text-clamp"),Te=Xs,Be=ei;return e.withDirectives((e.openBlock(),e.createElementBlock("div",{class:"ShareAddVehiclePopover share-drawer",ref_key:"refShareAddVehiclePopover",ref:p},[e.createVNode(Te,{ref_key:"refPop",ref:d,trigger:"click",width:"240","popper-class":"common-select-popover",placement:"bottom-start","hide-timeout":0,"show-timeout":0,onVisibleChange:ke},{dropdown:e.withCtx(()=>{var lt,dt,x;return[e.createElementVNode("div",UD,[e.createElementVNode("div",GD,[e.createElementVNode("div",{class:"item",onClick:G[0]||(G[0]=L=>D(1))},[e.createElementVNode("div",WD,[e.createVNode(ae,{name:"share-tag","font-size":"24"}),e.createElementVNode("div",KD,[e.createTextVNode(e.toDisplayString(e.unref(r)("addTag"))+" ",1),e.createElementVNode("span",null,"("+e.toDisplayString(((lt=e.unref(l))==null?void 0:lt.tagLength)||0)+")",1)])]),e.createVNode(ae,{name:"share-right","font-size":"24"})]),e.createElementVNode("div",{class:"item",onClick:G[1]||(G[1]=L=>D(2))},[e.createElementVNode("div",QD,[e.createVNode(ae,{name:"share-vehicle","font-size":"24"}),e.createElementVNode("div",qD,[e.createTextVNode(e.toDisplayString(e.unref(r)("addVehicle"))+" ",1),e.createElementVNode("span",null,"("+e.toDisplayString(((dt=e.unref(l))==null?void 0:dt.vehicleLength)||0)+")",1)])]),e.createVNode(ae,{name:"share-right","font-size":"24"})]),e.createElementVNode("div",{class:"item",onClick:G[2]||(G[2]=L=>D(3))},[e.createElementVNode("div",XD,[e.createVNode(ae,{name:"share-landmark","font-size":"24"}),e.createElementVNode("div",JD,[e.createTextVNode(e.toDisplayString(e.unref(r)("addLandmark"))+" ",1),e.createElementVNode("span",null,"("+e.toDisplayString(((x=e.unref(l))==null?void 0:x.landmarkLength)||0)+")",1)])]),e.createVNode(ae,{name:"share-right","font-size":"24"})])]),e.withDirectives(e.createElementVNode("div",$D,[e.createElementVNode("div",eO,[e.createElementVNode("div",tO,[e.createElementVNode("span",nO,e.toDisplayString(e.unref(r)("selected"))+":"+e.toDisplayString(R.value),1),e.createElementVNode("div",oO,[e.createVNode(sn,{name:"common-popClose",fontSize:"32",color:"#9a9a9a",onHandleClick:Ie}),e.createVNode(sn,{name:"common-popConfirm",color:"#0BA5EC",fontSize:"32",onHandleClick:he})])]),e.withDirectives(e.createElementVNode("div",aO,[e.createElementVNode("span",{class:e.normalizeClass({active:g.value===1}),onClick:G[3]||(G[3]=L=>g.value=1)},e.toDisplayString(e.unref(r)("vehicleName")),3),e.createElementVNode("span",{class:e.normalizeClass({active:g.value===2}),onClick:G[4]||(G[4]=L=>{g.value=2,s.value=""})},e.toDisplayString(e.unref(r)("batchDeviceID")),3)],512),[[e.vShow,f.value===2]]),e.createElementVNode("div",rO,[e.withDirectives(e.createVNode(Y,{modelValue:s.value,"onUpdate:modelValue":G[6]||(G[6]=L=>s.value=L),placeholder:e.unref(r)("search"),class:"anytrek-vehicle-auto-search",style:{padding:"0"},"prefix-icon":al,size:"large"},{suffix:e.withCtx(()=>[s.value?(e.openBlock(),e.createBlock(ol,{key:0,onClick:G[5]||(G[5]=L=>s.value="")})):e.createCommentVNode("",!0)]),_:1},8,["modelValue","placeholder"]),[[e.vShow,g.value===1]]),e.withDirectives(e.createVNode(Y,{placeholder:e.unref(r)("oneIDLine"),rows:8,type:"textarea",size:"large",modelValue:u.value,"onUpdate:modelValue":G[7]||(G[7]=L=>u.value=L),class:"auto-table-search",style:{width:"100%"}},{prefix:e.withCtx(()=>[e.createVNode(ae,{name:"common-searchInput","font-size":"40",color:"#000"})]),_:1},8,["placeholder","modelValue"]),[[e.vShow,g.value===2]])]),e.createElementVNode("div",{class:"choose-content-t-b flex-center-align",onClick:fe},[e.createElementVNode("div",lO,[e.createVNode(sn,{name:"common-selectAll",fontSize:"24",color:"#000"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("selectAll")),1)]),P.value?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-mdvrchecked","font-size":"16",color:"#fff"})):B.value?(e.openBlock(),e.createBlock(ae,{key:1,name:"common-mdvrcheckon","font-size":"16",color:"#fff"})):(e.openBlock(),e.createBlock(ae,{key:2,name:"common-mdvrcheck","font-size":"16",color:"#9a9a9a"}))])]),e.createElementVNode("div",iO,[e.createElementVNode("div",sO,[e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(rr),{keyField:"value",items:T.value,"min-item-size":44,class:"dynamicScroller"},{default:e.withCtx(({item:L,index:ie,active:De})=>[e.createVNode(e.unref(qr),{item:L,active:De,"data-index":ie},{default:e.withCtx(()=>[e.createElementVNode("div",cO,[e.createElementVNode("div",{class:"item flex-center-align",onClick:pe=>X(L)},[e.createElementVNode("div",uO,[e.createVNode(ae,{name:"share-tag","font-size":"24",color:"#000"}),e.createVNode(ue,{location:"middle",text:L.label,"max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"item-m",onClick:G[8]||(G[8]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(sn,{onHandleClick:pe=>I(L.value),name:"common-edit","font-size":"24",height:"32",color:"#000"},null,8,["onHandleClick"])]),e.createElementVNode("div",fO,[re(L)?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-checked","font-size":"24",style:{color:"#fff"}})):(e.openBlock(),e.createBlock(ae,{key:1,name:"common-checkbox","font-size":"24",color:"#9a9a9a"}))])],8,dO)])]),_:2},1032,["item","active","data-index"])]),_:1},8,["items"])],512),[[e.vShow,f.value===1]]),e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(rr),{keyField:"value",items:E.value,"min-item-size":44,class:e.normalizeClass(["dynamicScroller",{vehicleTab2:g.value===2}])},{default:e.withCtx(({item:L,index:ie,active:De})=>[e.createVNode(e.unref(qr),{item:L,active:De,"data-index":ie},{default:e.withCtx(()=>[e.createElementVNode("div",mO,[e.createElementVNode("div",{class:e.normalizeClass(["item flex-center-align",{disabled:L==null?void 0:L.disabled}]),onClick:pe=>X(L)},[e.createElementVNode("div",hO,[e.createVNode(ae,{name:i(L),"font-size":"24",color:"#000"},null,8,["name"]),e.createVNode(ue,{location:"middle",text:L==null?void 0:L.label,"max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"item-m",onClick:G[9]||(G[9]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(sn,{onHandleClick:pe=>I(L==null?void 0:L.value),name:"common-edit","font-size":"24",height:"32",color:"#000"},null,8,["onHandleClick"])]),e.createElementVNode("div",gO,[re(L)?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-checked","font-size":"24",style:{color:"#fff"}})):(e.openBlock(),e.createBlock(ae,{key:1,name:"common-checkbox","font-size":"24",color:"#9a9a9a"}))])],10,pO)])]),_:2},1032,["item","active","data-index"])]),_:1},8,["items","class"])],512),[[e.vShow,f.value===2]]),e.withDirectives(e.createElementVNode("div",null,[e.createVNode(e.unref(rr),{items:A.value,"min-item-size":40,class:"dynamicScroller"},{default:e.withCtx(({item:L,index:ie,active:De})=>[e.createVNode(e.unref(qr),{item:L,active:De,"data-index":ie},{default:e.withCtx(()=>{var pe,se;return[e.createElementVNode("div",yO,[e.createElementVNode("div",{class:e.normalizeClass(["item-warp",{active:(pe=M.value[ie])==null?void 0:pe.collapse}])},[e.createElementVNode("div",{class:"item-warp-t flex-center-align",onClick:Me=>Ee(ie)},[e.createElementVNode("div",vO,[e.createVNode(ae,{name:`landmark-group${L==null?void 0:L.iconType}`,"font-size":"24",color:"#9a9a9a"},null,8,["name"]),e.createElementVNode("span",bO,e.toDisplayString(L==null?void 0:L.name),1),e.createElementVNode("span",null,"("+e.toDisplayString((se=L==null?void 0:L.groupsData)==null?void 0:se.length)+")",1)]),e.createElementVNode("div",wO,[e.createElementVNode("div",{onClick:G[10]||(G[10]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(sn,{class:"group-edit",onHandleClick:Me=>I(L.id,!0),name:"common-edit","font-size":"24",height:"32",color:"#000"},null,8,["onHandleClick"])]),e.createVNode(sn,{name:M.value[ie].collapse?"landmark-openIcon":"landmark-retractIcon","font-size":"32"},null,8,["name"])]),e.createElementVNode("div",{class:"item-warp-t-r",onClick:e.withModifiers(Me=>W(ie),["stop"])},[M.value[ie].selectAll?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-checked","font-size":"24",style:{color:"#fff"}})):(e.openBlock(),e.createBlock(ae,{key:1,name:"common-checkbox","font-size":"24",color:"#9a9a9a"}))],8,CO)],8,kO),e.createElementVNode("div",EO,[e.createElementVNode("div",TO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(L==null?void 0:L.groupsData,Me=>(e.openBlock(),e.createElementBlock("div",{class:"item flex-center-align",onClick:ee=>X(Me)},[e.createElementVNode("div",SO,[e.createVNode(ue,{location:"middle",text:Me.label,"max-lines":1,autoResize:!0},null,8,["text"])]),e.createElementVNode("div",{class:"item-m",onClick:G[11]||(G[11]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(sn,{onHandleClick:ee=>I(Me.value),name:"common-edit","font-size":"24",height:"32",color:"#000"},null,8,["onHandleClick"])]),e.createElementVNode("div",VO,[re(Me)?(e.openBlock(),e.createBlock(ae,{key:0,name:"common-checked","font-size":"24",style:{color:"#fff"}})):(e.openBlock(),e.createBlock(ae,{key:1,name:"common-checkbox","font-size":"24",color:"#9a9a9a"}))])],8,NO))),256))]),e.createElementVNode("div",AO,[e.createVNode(sn,{onHandleClick:Me=>I(L.id,!0),name:"share-add2","font-size":"32",color:"#9a9a9a"},null,8,["onHandleClick"])])])],2)])]}),_:2},1032,["item","active","data-index"])]),_:1},8,["items"])],512),[[e.vShow,f.value===3]])])]),e.createElementVNode("div",{class:"choose-content-b flex-center-align",onClick:G[12]||(G[12]=L=>I(0,f.value===3))},[e.createVNode(ae,{name:"share-add2","font-size":"32",color:"#9a9a9a"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(r)("createNew"))+e.toDisplayString(V.value),1)])],512),[[e.vShow,m.value]])])]}),default:e.withCtx(()=>[e.createVNode(sn,{name:"share-add2","font-size":"32",color:"#9a9a9a",onHandleClick:Le})]),_:1},512)])),[[Be,e.unref(v)]])}}}),[["__scopeId","data-v-443ea6e4"]]),IO=ea(Yc);U.extend(To),U.extend(Do),U.extend(Oo);const G1=(t,n,o="vehicleId")=>t.find(a=>a[o]===n),MO=(t,n,o,a)=>{const r=t.find(l=>l.id===o);r?r.modelId&&a.push({assetType:n.assetType,newIcon:n.newIcon,label:n.name,value:n.id,dId:r.id,modelId:r.modelId,deviceId:r.userPackageId,isBindVehicle:1,isBindDevice:1,vehicleName:n.name,vehicleId:n.id,isVehicle:!0,createTime:r.createTime,deviceStatus:r.deviceStatus}):a.push({label:n.name,value:n.id,isBindVehicle:1,isBindDevice:0,vehicleName:n.name,assetType:n.assetType,newIcon:n.newIcon,vehicleId:n.id,disabled:!0,isVehicle:!0,deviceStatus:n.deviceStatus})};function DO(t){const{tagList:n=[],landmarkList:o=[],landmarkGroupList:a=[],vehicleType:r=[]}=t;let{deviceList:l=[],vehicleList:i=[],vehicleDeviceList:c=[],deviceStatusList:s=[]}=t;const d={},p={},m={};l=l.filter(y=>y.content.deviceStatus===2).map(y=>{const{...b}={...y,...y.content};return b}),c=c.filter(y=>{var C,T;const b=(C=l.find(E=>E.id===y.deviceId))==null?void 0:C.id,w=(T=i.find(E=>E.id===y.vehicleId))==null?void 0:T.id;return b&&w}),i=i.filter(y=>{var w;const b=(w=c.find(C=>C.vehicleId===y.id))==null?void 0:w.deviceId;return b&&b>0&&l.find(C=>C.id===b)}).map(y=>{p[y.id]=y.name;const{...b}={...y,...y.content};return b}),s=s.map(y=>{const{...b}={...y,...y.content};return b});const h=[];i.map(y=>{const b=G1(c,y.id,"vehicleId");b?MO(l,y,b==null?void 0:b.deviceId,h):h.push({label:y.name,value:y.id,isBindVehicle:1,isBindDevice:0,vehicleName:y.name,assetType:y.assetType,newIcon:y.newIcon,vehicleId:y.id,disabled:!0,isVehicle:!0,deviceStatus:y.deviceStatus})}),l.map(y=>{var w;G1(c,y.id,"deviceId")===void 0&&((w=IO.customerHabit)==null?void 0:w.showDevice)!==!1&&h.push({label:y.userPackageId.toString().slice(-5),value:y.id,dId:y.id,modelId:y.modelId,deviceId:y.userPackageId,isBindVehicle:0,isBindDevice:1,disabled:!0,isVehicle:!1,deviceStatus:y.deviceStatus})}),h.map(y=>{s.map(b=>{y.deviceId===b.userPackageId&&(y.lng=b.lng,y.lat=b.lat,y.speed=b.speed,y.battery=b.content.battery,y.temperature=b.temperature,y.locationReportTime=b.locationReportTime,y.reportTime=b.reportTime,y.pulseReportTime=b.pulseReportTime,y.charging=b.charging,y.event=b.event,y.detailAddress=b.detailAddress,y.signals=b.signals,y.conStatus=b.conStatus,y.heading=b.heading,y.acc=b.acc)})}),h.map(y=>{y.speed>20&&(y.event=1),y.speed<20&&y.event===1&&y.heading===0&&(y.event=0),y.type=y.isBindVehicle===1?"vehicle":"device",y.updateReportTime=y.locationReportTime?U(y.locationReportTime).valueOf():0,y.trackerStatus=oV(y);let b=aV(y);if(y.trackerStatus<=0?y.currentDeviceStatus="offline":y.battery&&y.battery<20||y.battery===0||y.alarmingCount>0?y.currentDeviceStatus="alarming":b==="Idle"?y.currentDeviceStatus="idle":y.currentDeviceStatus="normal",y.updateReportTime){const w=U(y.updateReportTime).valueOf(),C=U().valueOf();y.timeDiff=H1(w),w?y.idleDiff=C-w:y.idleDiff=0}else y.timeDiff=H1(y.updateReportTime),y.idleDiff=0});const g=n.map(y=>(d[y.id]=y.name,{value:y.id,label:y.name,type:1,content:y.content})),f=o.map(y=>{var b;return m[y.id]=y.name,{value:y.id,label:y.name,type:3,geom:y.geom,landmarkGroup:((b=y==null?void 0:y.content)==null?void 0:b.landmarkGroup)||[]}});let u=[{name:"Default",iconType:1,groupsData:f.filter(y=>!y.landmarkGroup.length),id:0}];a.map(y=>{let b={...y,...y.content};const w=y.content.landmark||[];let C=[];w.map(T=>{let E=f.find(S=>S.value==T);E&&C.push(E)}),b.groupsData=C,u.push(b)});const v=new Map,k=new Map;return r.map(y=>{var w,C;const{...b}={...y,...y.content};return(w=y==null?void 0:y.content)!=null&&w.newIcon&&k.set(y.id,`vehicle-${(C=y==null?void 0:y.content)==null?void 0:C.newIcon}`),b}),{boundVehiclesList:h,tagListData:g,landmarkListData:f,landmarkGroupListData:u,vehicleIconMap:v,tagObj:d,vehicleObj:p,landmarkObj:m}}const OO=vt(e.defineComponent({__name:"LoadingIconW",props:{loading:{type:Boolean},white:{type:Boolean}},setup(t){return(n,o)=>{const a=e.resolveComponent("anSvgIcon");return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["LoadingIcon",{loading:t.loading}])},[e.createVNode(a,{name:"common-loadingW","font-size":"24",color:"#fff"})],2)}}}),[["__scopeId","data-v-6bab1382"]]),LO={class:"title"},xO={class:"title-t text-overflow-ellipsis"},PO={class:"title-b"},RO={class:"AddShare"},FO={class:"form-item no-border"},zO={class:"form-item-title flex-center-align pt0"},HO={class:"form-item-title-l"},ZO={key:1,class:"fz24 text-overflow-ellipsis"},YO={class:"form-item"},jO={class:"form-item-title flex-center-align"},_O={class:"form-item-title-l"},UO={key:0},GO={class:"form-item-content"},WO={key:0,class:"vehicle-item"},KO={class:"form-item"},QO={class:"form-item-content"},qO={class:"form-item-title justify-center flex-start-align"},XO={class:"form-item-title-l"},JO={class:"form-item-title-l-t"},$O={class:"form-item-title-l-b"},eL={class:"form-item-title-r flex-center-align"},tL={style:{"font-size":"16px"},class:"hover-arr"},nL={class:"share-add-vehicle-popover"},oL=["onClick"],aL={class:"item-l"},rL={class:"text"},lL={key:1,class:"expires-preview flex-center-align flex-between-justify"},iL={class:"fz18"},sL={key:0,class:"c-red",style:{"font-size":"16px"}},cL={key:1,class:"c-red"},dL={class:"form-item-title justify-center flex-start-align"},uL={class:"form-item-title-l"},fL={class:"form-item-title-l-t"},mL={class:"form-item-content"},pL={class:"radio-item flex-center-align flex-between-justify"},hL={class:"last"},gL={class:"flex-center-align-justify hover-arr"},yL={class:"share-add-vehicle-popover"},kL=["onClick"],vL={class:"item-l"},bL={class:"text"},wL={class:"radio-item"},CL={key:1,class:"expires-preview flex-center-align flex-between-justify"},EL={class:"fz18"},TL={style:{"font-size":"16px"}},NL={class:"c-gray"},SL={class:"c-red"},VL={key:0,class:"form-item"},AL={class:"form-item-title flex-between-justify",style:{width:"100%"}},BL={class:"form-item-title-l",style:{"line-height":"24px",height:"24px"}},IL={class:"form-item-title-r switch"},ML={key:0,class:"logo"},DL={key:0,class:"history-logo"},OL=["onClick"],LL={key:0,class:"selected flex-center-align-justify"},xL={class:"logo-up"},PL={key:0,class:"view-image"},RL={class:"edit-img"},FL={key:1,class:"up-btn"},zL={class:"logo-link"},HL={key:2,class:"link-content"},ZL={class:"link-content-l"},YL={class:"link-content-r"},jL={key:1,class:"read-logo"},_L={class:"fz18",style:{"margin-bottom":"16px"}},UL={class:"c-blue fz16"},GL={key:1,class:"form-item no-border"},WL={class:"form-item-title flex-between-justify",style:{width:"100%"}},KL={class:"form-item-title-l"},QL={class:"form-item-content"},qL={key:1},XL={ref:"popoverTrigger"},JL=vt(e.defineComponent({__name:"AddOrEditShare",props:{data:{type:Object,default(){return{}}},vehicleLoading:{type:Boolean,default:!1},modelValue:{type:Boolean,default:!1},readOnly:{type:Boolean,default:!1},itemData:{type:Object,default:()=>({})},getShareHistoryUrl:{type:Function,required:!0,default(){return new Promise(t=>{t({})})}},uploadShareFile:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},saveFunctionShare:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},loginInfo:{type:Object,required:!0,default(){return{}}},assetTypeFn:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},bindDeviceHis:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},deviceBindTimeLimit:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},saveFunctionVehicle:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},saveFunctionTag:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},unitAllState:{type:Array,default:()=>[]},GOOGLE_MAP_API_KEY:{type:String,required:!0,default:""},MAP_STYLES:{type:Array,default:()=>[]},searhTrimblemapAddress:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}},saveFunctionLandmark:{type:Function,required:!0,default(){return new Promise(t=>{t([])})}}},emits:["update:modelValue","showSelected","showTag","changeAliasName","showMore","handleDelete","handleSubmit","handleConfirmSelect"],setup(t,{expose:n,emit:o}){U.extend(To),U.extend(Do),U.extend(Oo);const a=t,{modelValue:r,readOnly:l,vehicleLoading:i}=e.toRefs(a),c=e.ref([]),s=e.ref({}),d=e.ref([]),p=e.ref([]),m=e.ref([]),h=e.ref([]),g=e.ref([]),f=e.ref({}),u=e.ref({}),v=e.computed(()=>({tagLength:p.value.length,vehicleLength:m.value.length,landmarkLength:h.value.length})),k=e.ref([]);e.watch(()=>c.value,()=>{k.value=c.value},{immediate:!0,deep:!0});const y=e.ref({});e.watch(()=>d==null?void 0:d.value,()=>{y.value=d==null?void 0:d.value},{immediate:!0,deep:!0});const b=e.ref({});e.watch(()=>v==null?void 0:v.value,()=>{b.value=v==null?void 0:v.value},{immediate:!0,deep:!0}),e.provide("vehicleLoading",i),e.provide("tagListData",p),e.provide("vehiclesListData",m),e.provide("landmarkListData",h),e.provide("landmarkGroupListData",g),e.provide("selectedListData",k),e.provide("editTagInfo",f),e.provide("vehicleIconMap",u),e.watch(()=>i.value,()=>{i.value||E()});let w={},C={},T={};function E(le=a.data,Z=!0){console.time("sharegetAllData");const Ve=DO({...le});m.value=Ve.boundVehiclesList.filter(He=>He.deviceStatus===2&&He.isBindDevice&&He.isBindVehicle),p.value=Ve.tagListData,h.value=Ve.landmarkListData,g.value=Ve.landmarkGroupListData,u.value=Ve.vehicleIconMap,w=Ve.tagObj,C=Ve.vehicleObj,T=Ve.landmarkObj,Z&&ht(),console.timeEnd("sharegetAllData")}let S="/upload/";(process.env.NODE_ENV==="development"||process.env.NODE_ENV==="dev")&&(S="https://pro.anytrek.app/upload/");const A=o,{t:N}=Xt(),O=nl(),{customerHabit:M,modelList:H}=e.toRefs(ea()),z=()=>{var le;(le=W.value)==null||le.clearFiles(),Rt(),A("update:modelValue",!1)},P=e.ref([]),B=e.ref([]),R=e.ref(""),V=e.ref(!1),I=e.ref(!1),D=e.ref(!1),X=e.ref(!1),W=e.ref(),re=e.ref(!1),fe=e.ref(),Ie=e.computed(()=>{var le,Z;return!((le=M==null?void 0:M.value)!=null&&le.localTimezone)&&((Z=M==null?void 0:M.value)!=null&&Z.timeZone)?M.value.timeZone:""}),he=(le,Z)=>{var Ve;return le.type!==2||!Z?"":((Ve=Z==null?void 0:Z[le.value])==null?void 0:Ve.aliasName)||""},Le=()=>{re.value=!0},ke=()=>{D.value=!0,a.getShareHistoryUrl?a.getShareHistoryUrl().then(le=>{var Z,Ve;D.value=!1,(Z=le==null?void 0:le.data)!=null&&Z.length&&(P.value=[...le.data]),pe.value.showLogo&&!pe.value.logoPicture&&((Ve=le==null?void 0:le.data)!=null&&Ve.length)&&xe(P.value[0])}).then(()=>{D.value=!1}):D.value=!1},xe=le=>{pe.value.logoPicture=le,B.value=le,R.value=S+le},Ee=()=>{O.error(N("maxUploadNumber1"))},F=le=>le.newIcon?`vehicle-${le.newIcon}`:u.value.get(le.value)||"",G=(le,Z)=>{const Ve=le.size/1024/1024<1;return Ve?(V.value=!0,R.value=URL.createObjectURL(le.raw),I.value=Ve,I.value&&ae(le.raw),!1):(O.error(`${N("uploadFileSizeCannotExceed")} 1MB`),Z.pop(),!1)},ae=async le=>{new FormData().append("file",le),le&&SC(le,{height:80,quality:.1},async Ve=>{const He=new FormData;He.append("file",Ve);const qe=await a.uploadShareFile(He);if(V.value=!1,!qe||qe.errorCode){R.value="";return}B.value=qe.filename})},Y=()=>{R.value="",B.value=""},ue=e.ref(!1),Te=()=>{O.success("Saved successfully!"),ue.value=!1,z()},Be=()=>{ue.value=!1},lt=async()=>{var Ve,He,qe,Ye;if((Ve=fe.value)!=null&&Ve.showChooseContent){(He=fe.value)==null||He.handleConfirm();return}const le={...pe.value};le.logoPicture=B.value||"",ue.value=!0,le.aliasNames={...d.value},le.vehicles=[...k.value],ue.value=!0,le.deadline&&(le.deadline=U(le.deadline).valueOf());const Z=[{isDelete:0,content:le}];if((qe=a.itemData)!=null&&qe.id){const it=k0({...Lt.value},{...le});Z[0].id=(Ye=a.itemData)==null?void 0:Ye.id,Z[0].content={...it}}await a.saveFunctionShare(Z[0],Te,Be)};let dt=U().utc().add(1,"month").format();const x={shareName:"",vehicles:[],creatTime:new Date().getTime(),deadline:dt,aliasNames:{},type:0,trailValue:"6h",remark:"",key:"",logoPicture:"",logoUrl:"",clickable:1,historyTime:[],showLogo:1,permanent:0,historyStartTime:"",historyEndTime:""},L=e.computed(()=>r.value),ie=e.ref(),De=e.ref(),pe=e.ref({...x}),se=e.ref(!1),Me=[{name:`1${N("Hour")}`,value:"1h"},{name:`6${N("Hours")}`,value:"6h"},{name:`1${N("Day")}`,value:"1d"},{name:`1${N("Month")}`,value:"1m"},{name:`1${N("Year")}`,value:"1y"},{name:N("permanent"),value:"permanent"},{name:N("custom"),value:"custom"}],ee=[{name:`6 ${N("Hours")}`,value:"6h"},{name:`12 ${N("Hours")}`,value:"12h"},{name:`1 ${N("Day")}`,value:"1d"},{name:`3 ${N("Day")}`,value:"3d"},{name:N("onlyCurrent"),value:"current"}],ge=e.ref(!1),Qe=e.ref(!1),$e=e.ref({name:`1${N("Month")}`,value:"1m"}),me=e.ref({name:`6 ${N("Hours")}`,value:"6h"}),ve=le=>{let Z=ee.find(Ve=>le===Ve.value);return Z||ee[0]},Pe=le=>{le===1?pe.value.historyStartTime||(pe.value.historyStartTime=U().subtract(1,"day").toISOString(),pe.value.historyEndTime=new Date().toISOString()):(pe.value.historyStartTime="",pe.value.historyEndTime="")},ye=()=>{se.value=!0,e.nextTick(()=>{De.value.focus()})},je=le=>{ot({name:N("custom"),value:"custom"},!1,U(le).utc().format())},ot=(le,Z=!0,Ve)=>{var Ye;ge.value=!1,$e.value=le,pe.value.permanent=0;let He=U();switch(le.value){case"1h":He=U().add(1,"hour");break;case"6h":He=U().add(6,"hour");break;case"1d":He=U().add(1,"day");break;case"1m":He=U().add(1,"month");break;case"1y":He=U().add(1,"year");break;case"permanent":He=U().add(50,"year"),pe.value.permanent=1;break;case"custom":Z&&((Ye=ie==null?void 0:ie.value)==null||Ye.showPicker()),Ve&&(pe.value.deadline=Ve);break}const qe=He.utc().format();le.value!=="custom"&&(pe.value.deadline=qe)},At=le=>{Qe.value=!1,me.value=le,pe.value.trailValue=le.value},Lt=e.ref({});e.watch(()=>y==null?void 0:y.value,le=>{pe.value.aliasNames=le||{}},{immediate:!0});const hn=()=>{pe.value={...x},R.value="",B.value="",$e.value={name:`1${N("Month")}`,value:"1m"},me.value={name:`6${N("Hours")}`,value:"6h"},c.value=[],s.value={},d.value=[],Lt.value={}},$t=e.ref();let J=null;const de=e.ref([]),Q=le=>Z=>{Z&&(de.value[le]=Z)},te=e.ref([]),be=(le,Z)=>{const Ve=de.value[Z];tt.value=Ve,Re.value=!0,Ze(le)},Ze=le=>{const Z=K(le),Ve=[...Z==null?void 0:Z.tag,...Z==null?void 0:Z.vehicle,...Z==null?void 0:Z.landmark];f.value={...Z,infoList:Ve},Fe.value=!0,J=$t.value.$el,J&&J.addEventListener("scroll",Se)};function Se(){Rt()}const Fe=e.ref(!1),Re=e.ref(!1),tt=e.ref(),Rt=()=>{Re.value=!1,Fe.value=!1;try{J&&J.removeEventListener("scroll",Se)}catch{}},Bt=le=>{y.value={...y.value,...le||{}}},Ft=le=>{const Z=m.value.find(Ve=>Ve.vehicleId===le);return Z?{value:Z==null?void 0:Z.vehicleId,label:Z==null?void 0:Z.label,newIcon:Z==null?void 0:Z.newIcon,type:2}:null},Kt=le=>({...p.value.find(Ve=>Ve.value===le),type:1}),$=le=>({...h.value.find(Ve=>Ve.value===le),type:3}),K=le=>{var tn,Yt,mt;const Z=p.value.find(nn=>nn.value===le),Ve=Z==null?void 0:Z.content,He=[];(tn=Ve==null?void 0:Ve.tag)==null||tn.map(nn=>{let ne=Kt(nn);ne&&!He.some(_=>_.id===ne.id)&&He.push(ne)});const qe=[];(Yt=Ve==null?void 0:Ve.vehicle)==null||Yt.map(nn=>{let ne=Ft(nn);ne&&!qe.some(_=>_.value===ne.value)&&qe.push(ne)});const Ye=[];return(mt=Ve==null?void 0:Ve.landmark)==null||mt.map(nn=>{let ne=$(nn);ne&&!Ye.some(_=>_.id===ne.id)&&Ye.push(ne)}),{tag:[...He],vehicle:[...qe],landmark:[...Ye],tagName:Z==null?void 0:Z.label,tagId:Z==null?void 0:Z.value}},oe=(le,Z)=>{y.value[Z]?y.value[Z].aliasName=le:y.value[Z]={aliasName:le}},j=(le,Z)=>{y.value[Z.value]&&delete y.value[Z.value],k.value.splice(le,1)},q=(le,Z)=>{k.value=[...le],y.value={...d.value,...Z||{}}},Oe=()=>{setTimeout(()=>{fe.value.handleOpen()},500)};let Ke=0;e.watch(()=>a.data,()=>{Ke&&clearTimeout(Ke),Ke=setTimeout(()=>{let le=va(a.data);E(le,!1)},1e3)},{deep:!0});const Dt=e.ref();function cn(le){var Ye;le!=null&&le.length&&(le=le[0]);let Z=(le==null?void 0:le.opMessage)||[];Z.length&&(Z=Z[0]);const Ve=(le==null?void 0:le.type)||"edit";let He=1,qe=va(a.data);le.module==="landmark"?(Ve==="edit"?qe.landmarkList.map(it=>{it.id===(Z==null?void 0:Z.id)&&(it.name=Z==null?void 0:Z.name)}):qe.landmarkList.push(Z),He=3):le.module==="tag"?(Ve==="edit"?qe.tagList.map(it=>{it.id===(Z==null?void 0:Z.id)&&(it.name=Z==null?void 0:Z.name)}):qe.tagList.push(Z),He=1):le.module==="vehicle"&&(Ve==="edit"?qe.vehicleList.map(it=>{var tn,Yt;it.id===((tn=Z==null?void 0:Z.vehicle)==null?void 0:tn.id)&&(it.name=(Yt=Z==null?void 0:Z.vehicle)==null?void 0:Yt.name)}):qe.vehicleList.push(Z),He=2),k.value.map(it=>{var tn,Yt;it.type===He&&(He===2?it.value===((tn=Z==null?void 0:Z.vehicle)==null?void 0:tn.id)&&(it.label=(Yt=Z==null?void 0:Z.vehicle)==null?void 0:Yt.name):it.value===(Z==null?void 0:Z.id)&&(it.label=Z==null?void 0:Z.name))}),Re.value&&((Ye=Dt.value)!=null&&Ye.opMessage)&&Dt.value.opMessage(He,Z),E(qe,!1)}n({openAdd:Oe,opMessage:cn});function ht(){var le,Z;if((le=a.itemData)!=null&&le.id){const Ve={...a.itemData,...a.itemData.content||{}},He={creatTime:Ve.createTime,id:Ve.id,isDelete:0,...Ve.content||{}};Lt.value=va(Ve.content||{});const qe=va({...Ve.aliasNames||{}});for(let Ye in qe){let it=qe[Ye];(typeof it!="object"||it===null||Array.isArray(it))&&delete qe[Ye]}if(d.value=qe,He.aliasNames=qe,s.value={...He},(Ve.vehicles||[]).map(Ye=>{Ye.type===1?w[Ye.value]&&(Ye.label=w[Ye.value]):Ye.type===3?T[Ye.value]&&(Ye.label=T[Ye.value]):C[Ye.value]&&(Ye.label=C[Ye.value])}),c.value=[...Ve.vehicles||[]],(Z=s==null?void 0:s.value)!=null&&Z.id){s!=null&&s.value.permanent?ot({name:N("permanent"),value:"permanent"},!1):ot({name:N("custom"),value:"custom"},!1,U(s==null?void 0:s.value.deadline).utc().format()),s.value.type===0&&(s.value.historyStartTime="",s.value.historyEndTime=""),pe.value={...s==null?void 0:s.value},me.value=ve(s==null?void 0:s.value.trailValue);const Ye=(s==null?void 0:s.value.logoPicture.indexOf("http"))===0?s==null?void 0:s.value.logoPicture:S+(s==null?void 0:s.value.logoPicture);B.value=s!=null&&s.value.logoPicture?s==null?void 0:s.value.logoPicture:"",R.value=s!=null&&s.value.logoPicture?Ye:""}else hn()}else hn()}e.watch(()=>L.value,le=>{re.value=!1,E(),le?ke():hn()},{immediate:!0});const Mn=le=>{var Z;return(((Z=a.data)==null?void 0:Z.tagList)||[]).filter(Ve=>{var He,qe;return!!((qe=(He=Ve.content)==null?void 0:He.vehicle)!=null&&qe.length&&Ve.content.vehicle.findIndex(Ye=>Ye===le)!==-1)})},Ht=(le,Z="deviceId")=>{var Ve;return(((Ve=a.data)==null?void 0:Ve.vehicleDeviceList)||[]).find(He=>He[Z]===le)},Dn=e.ref(!1),Nn=e.ref({}),rl=()=>{Nn.value={},Dn.value=!0},en=le=>{var Ve,He,qe,Ye,it,tn,Yt,mt,nn;let Z=(((Ve=a.data)==null?void 0:Ve.vehicleList)||[]).find(ne=>le.id===ne.id);if(Z){let ne=Mn(Z.id),_=Ht(Z.id,"vehicleId");Nn.value={id:Z.id,name:Z.name,deviceId:_?_.deviceId:"",dataTime:"",tagContent:ne,assetType:Z.assetType||((He=Z.content)==null?void 0:He.assetType),newIcon:Z.newIcon||((qe=Z.content)==null?void 0:qe.newIcon),vehicleTypeId:Z.vehicleTypeId||((Ye=Z.content)==null?void 0:Ye.vehicleTypeId),make:Z.make||((it=Z.content)==null?void 0:it.make),year:Z.year||((tn=Z.content)==null?void 0:tn.year),licensePlateNumber:Z.licensePlateNumber||((Yt=Z.content)==null?void 0:Yt.licensePlateNumber),vin:Z.vin||((mt=Z.content)==null?void 0:mt.vin),description:Z.description||((nn=Z.content)==null?void 0:nn.description)},Dn.value=!0}},Ae=e.ref(!1),yt=()=>{Nn.value={},Ae.value=!0},gt=le=>{var Ve;let Z=(((Ve=a.data)==null?void 0:Ve.landmarkList)||[]).find(He=>He.id===le.id);Z&&(Nn.value={...Z,...Z.content||{}},Ae.value=!0)},ft=(le,Z)=>{var qe,Ye,it,tn;if(!le||le.length===0)return[];const Ve={};Ve.vehicle=((qe=a.data)==null?void 0:qe.vehicleList)||[],Ve.device=((Ye=a.data)==null?void 0:Ye.deviceList)||[],Ve.tag=((it=a.data)==null?void 0:it.tagList)||[],Ve.landmark=((tn=a.data)==null?void 0:tn.landmarkList)||[];let He=[];return Ve[Z].map(Yt=>{le.findIndex(mt=>mt===Yt.id)!==-1&&He.push({id:Yt.id,name:Z==="device"?Yt.userPackageId:Yt.name})}),He},On=e.ref(!1),$c=()=>{Nn.value={},On.value=!0},hr=le=>{var Z,Ve,He,qe,Ye;Nn.value={id:le.id,name:le.name,tagType:"landmark",description:le.description||((Z=le.content)==null?void 0:Z.description),content:{landmark:ft(le.landmark||((Ve=le.content)==null?void 0:Ve.landmark)||[],"landmark"),vehicle:ft(le.vehicle||((He=le.content)==null?void 0:He.vehicle)||[],"vehicle"),device:ft(le.device||((qe=le.content)==null?void 0:qe.device)||[],"device"),tag:ft(le.tag||((Ye=le.content)==null?void 0:Ye.tag)||[],"tag")}},On.value=!0};function Ba(le,Z){ll(Z,le.value)}function ll(le,Z){var Ve,He,qe;switch(le){case 1:if(Z){let Ye=(((Ve=a.data)==null?void 0:Ve.tagList)||[]).find(it=>it.id===Z);Ye&&hr(Ye)}else $c();break;case 2:if(Z){let Ye=(((He=a.data)==null?void 0:He.vehicleList)||[]).find(it=>it.id===Z);Ye&&en(Ye)}else rl();break;case 3:if(Z){let Ye=(((qe=a.data)==null?void 0:qe.landmarkList)||[]).find(it=>it.id===Z);Ye&&gt(Ye)}else yt();break}}return(le,Z)=>{const Ve=ga,He=e.resolveComponent("anSvgIcon"),qe=mo,Ye=Hl,it=e.resolveComponent("DynamicScrollerItem"),tn=e.resolveComponent("DynamicScroller"),Yt=Bw,mt=Iw,nn=Xs,ne=Om,_=Bm,we=Im,et=e.resolveComponent("anytrekTimerangePick"),Ne=E7,Ge=vv,gn=_m,zt=G7,go=zl,Ia=pa,Bi=Kl,ed=_o,td=e.resolveComponent("add-or-edit-vehicle"),Ii=e.resolveComponent("add-or-edit-tag"),nd=e.resolveComponent("add-or-edit-landmark"),od=ei;return e.openBlock(),e.createElementBlock(e.Fragment,null,[e.createVNode(Bi,{modelValue:L.value,"onUpdate:modelValue":Z[12]||(Z[12]=Sn=>L.value=Sn),title:" ","show-close":!1,onClose:z,size:"550",class:"AddOrEditSharePopover share-drawer"},e.createSlots({header:e.withCtx(()=>[e.createElementVNode("div",LO,[e.createElementVNode("div",xO,e.toDisplayString(e.unref(l)?e.unref(N)("detailOf",{name:pe.value.shareName}):pe.value.id?e.unref(N)("editName",{name:pe.value.shareName}):e.unref(N)("createAShare")),1),e.createElementVNode("div",PO,e.toDisplayString(e.unref(Uc)(pe.value.creatTime)),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",RO,[e.createVNode(Ia,null,{default:e.withCtx(()=>[e.createVNode(go,{"label-position":"top",size:"large"},{default:e.withCtx(()=>{var Sn;return[e.createElementVNode("div",FO,[e.unref(l)?(e.openBlock(),e.createElementBlock("div",ZO,e.toDisplayString(pe.value.shareName),1)):(e.openBlock(),e.createBlock(Ye,{key:0,label:"Name This Share"},{label:e.withCtx(()=>[e.createElementVNode("div",zO,[e.createElementVNode("div",HO,e.toDisplayString(e.unref(N)("nameThisShare")),1)])]),default:e.withCtx(()=>[e.createVNode(qe,{maxlength:"50",class:"form-input",size:"large",placeholder:e.unref(N)("enterUniqueName"),modelValue:pe.value.shareName,"onUpdate:modelValue":Z[1]||(Z[1]=ce=>pe.value.shareName=ce)},{suffix:e.withCtx(()=>[e.withDirectives(e.createElementVNode("div",{class:"input-delete",onClick:Z[0]||(Z[0]=ce=>pe.value.shareName="")},[e.createVNode(He,{name:"common-inputDelete","font-size":"32"})],512),[[e.vShow,pe.value.shareName]])]),_:1},8,["placeholder","modelValue"])]),_:1}))]),e.createElementVNode("div",YO,[e.createVNode(Ye,{label:"Name This Share"},{label:e.withCtx(()=>{var ce,Ue;return[e.createElementVNode("div",jO,[e.createElementVNode("div",_O,[e.createTextVNode(e.toDisplayString(e.unref(N)("selectedVehiclesToShare"))+" ",1),(ce=k.value)!=null&&ce.length?(e.openBlock(),e.createElementBlock("span",UO,"("+e.toDisplayString((Ue=k.value)==null?void 0:Ue.length)+")",1)):e.createCommentVNode("",!0)]),Z[18]||(Z[18]=e.createElementVNode("div",{class:"form-item-title-r"},null,-1))])]}),default:e.withCtx(()=>{var ce,Ue,bt,nt;return[e.createElementVNode("div",GO,[e.unref(i)?e.createCommentVNode("",!0):(e.openBlock(),e.createElementBlock(e.Fragment,{key:0},[((ce=k.value)==null?void 0:ce.length)>=4&&!re.value?(e.openBlock(),e.createElementBlock("div",WO,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([k.value[0]],(at,dn)=>(e.openBlock(),e.createBlock(Ni,{data:at,name:at.label,icon:F(at),"read-only":e.unref(l),onShowTag:_n=>be(at.value,dn),type:at.type,ref_for:!0,ref:Q(dn),content:at==null?void 0:at.content,onHandleDelete:_n=>j(dn,at),onHandleClick:Ba,alias:he(at,pe.value.aliasNames),onChangeAliasName:_n=>{oe(_n,at.value)}},null,8,["data","name","icon","read-only","onShowTag","type","content","onHandleDelete","alias","onChangeAliasName"]))),256)),e.createElementVNode("div",{class:"more flex-center-align",onClick:Z[2]||(Z[2]=at=>Le())},[e.createVNode(He,{name:"share-more","font-size":"20"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(N)("seeAllVehicles",{n:(Ue=k.value)==null?void 0:Ue.length})),1)]),(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList([...(bt=k.value)==null?void 0:bt.slice(-3)],(at,dn)=>(e.openBlock(),e.createBlock(Ni,{data:at,name:at.label,icon:F(at),"read-only":e.unref(l),onShowTag:_n=>be(at.value,dn+1),ref_for:!0,ref:Q(dn+1),type:at.type,content:at==null?void 0:at.content,alias:he(at,pe.value.aliasNames),onHandleClick:Ba,onHandleDelete:_n=>{var xo;return j(((xo=k.value)==null?void 0:xo.length)-(3-dn),at)},onChangeAliasName:_n=>{oe(_n,at.value)}},null,8,["data","name","icon","read-only","onShowTag","type","content","alias","onHandleDelete","onChangeAliasName"]))),256))])):(e.openBlock(),e.createBlock(tn,{key:1,keyField:"value",items:k.value,"min-item-size":44,class:"dynamicScroller",ref_key:"scroller",ref:$t},{default:e.withCtx(({item:at,index:dn,active:_n})=>[e.createVNode(it,{item:at,active:_n,"data-index":dn},{default:e.withCtx(()=>[e.createElementVNode("div",{style:e.normalizeStyle({paddingTop:dn?"16px":"0"})},[e.createVNode(Ni,{data:at,name:at.label,icon:F(at),"read-only":e.unref(l),onShowTag:xo=>be(at.value,dn),ref:Q(dn),type:at.type,content:at==null?void 0:at.content,onHandleClick:Ba,alias:he(at,pe.value.aliasNames),onHandleDelete:xo=>j(dn,at),onChangeAliasName:xo=>{oe(xo,at.value)}},null,8,["data","name","icon","read-only","onShowTag","type","content","alias","onHandleDelete","onChangeAliasName"])],4)]),_:2},1032,["item","active","data-index"])]),_:1},8,["items"]))],64)),e.unref(l)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(BO,{key:1,style:e.normalizeStyle({marginTop:(nt=k.value)!=null&&nt.length?"16px":0}),"data-length":b.value,onHandleConfirm:q,ref_key:"refShareAddVehiclePopover",ref:fe,onHandleOp:ll},null,8,["style","data-length"]))])]}),_:1})]),e.createElementVNode("div",KO,[e.createElementVNode("div",null,[e.unref(l)?(e.openBlock(),e.createElementBlock("div",lL,[e.createElementVNode("span",iL,e.toDisplayString(e.unref(N)("expiresAfter"))+":",1),pe.value.permanent?(e.openBlock(),e.createElementBlock("div",cL,e.toDisplayString(e.unref(N)("permanent")),1)):(e.openBlock(),e.createElementBlock("div",sL,[e.createElementVNode("span",null,e.toDisplayString(e.unref(Uc)(pe.value.deadline)),1),e.createVNode(ne,{direction:"vertical"}),e.createElementVNode("span",null,e.toDisplayString(e.unref(N)("daysLeft",{day:e.unref(R1)(pe.value.deadline)})),1)]))])):(e.openBlock(),e.createBlock(Ye,{key:0,label:""},{default:e.withCtx(()=>[e.createElementVNode("div",QO,[e.createElementVNode("div",qO,[e.createElementVNode("div",XO,[e.createElementVNode("div",JO,e.toDisplayString(e.unref(N)("expiresAfter"))+": ",1),e.withDirectives(e.createElementVNode("div",$O,[e.createVNode(DD,{"model-value":pe.value.deadline,ref_key:"refPicker",ref:ie,onDateChange:je},null,8,["model-value"])],512),[[e.vShow,!pe.value.permanent]])]),e.createVNode(nn,{trigger:"click","popper-class":"ant-dropdown",placement:"bottom-end","hide-timeout":0,"show-timeout":0},{dropdown:e.withCtx(()=>[e.createElementVNode("div",nL,[e.createVNode(mt,null,{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(Me,ce=>e.createVNode(Yt,null,{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["item",{border:ce.value==="custom",active:$e.value.value===ce.value}]),onClick:Ue=>ot(ce)},[e.createElementVNode("div",aL,[$e.value.value===ce.value?(e.openBlock(),e.createBlock(He,{key:0,name:"common-checkOne","font-size":"24"})):e.createCommentVNode("",!0),e.createElementVNode("div",rL,e.toDisplayString(ce.name),1)])],10,oL)]),_:2},1024)),64))]),_:1})])]),default:e.withCtx(()=>[e.createElementVNode("div",eL,[e.createElementVNode("span",tL,[e.createTextVNode(e.toDisplayString($e.value.name)+" ",1),e.createVNode(He,{name:"share-down2","font-size":"24"})])])]),_:1})])])]),_:1}))]),Z[19]||(Z[19]=e.createElementVNode("div",{class:"divider",style:{"margin-top":"12px"}},null,-1)),e.createElementVNode("div",null,[e.unref(l)?(e.openBlock(),e.createElementBlock("div",CL,[e.createElementVNode("span",EL,e.toDisplayString(e.unref(N)("anyoneCanView"))+":",1),e.createElementVNode("div",TL,[e.createElementVNode("span",NL,e.toDisplayString(e.unref(N)("overTheLast"))+": ",1),e.createElementVNode("span",SL,e.toDisplayString((Sn=me.value)==null?void 0:Sn.name),1)])])):(e.openBlock(),e.createBlock(Ye,{key:0,label:"Name This Share"},{label:e.withCtx(()=>[e.createElementVNode("div",dL,[e.createElementVNode("div",uL,[e.createElementVNode("div",fL,e.toDisplayString(e.unref(N)("anyoneCanView"))+": ",1)])])]),default:e.withCtx(()=>[e.createElementVNode("div",mL,[e.createVNode(we,{modelValue:pe.value.type,"onUpdate:modelValue":Z[3]||(Z[3]=ce=>pe.value.type=ce),onChange:Pe},{default:e.withCtx(()=>{var ce;return[e.createElementVNode("div",pL,[e.createVNode(_,{value:0},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(N)("realTimeLocationMode")),1)]),_:1}),e.withDirectives(e.createElementVNode("div",hL,[e.withDirectives(e.createElementVNode("span",{class:"c-g",style:{"margin-right":"8px"}},e.toDisplayString(e.unref(N)("withTrailLast"))+": ",513),[[e.vShow,((ce=me.value)==null?void 0:ce.value)!=="current"]]),e.createVNode(nn,{trigger:"click","popper-class":"ant-dropdown",placement:"bottom-end"},{dropdown:e.withCtx(()=>[e.createElementVNode("div",yL,[e.createVNode(mt,null,{default:e.withCtx(()=>[(e.openBlock(),e.createElementBlock(e.Fragment,null,e.renderList(ee,Ue=>e.createVNode(Yt,null,{default:e.withCtx(()=>[e.createElementVNode("div",{class:e.normalizeClass(["item",{border:(Ue==null?void 0:Ue.value)==="current",active:me.value.value===(Ue==null?void 0:Ue.value)}]),onClick:bt=>At(Ue)},[e.createElementVNode("div",vL,[me.value.value===(Ue==null?void 0:Ue.value)?(e.openBlock(),e.createBlock(He,{key:0,name:"common-checkOne","font-size":"24"})):e.createCommentVNode("",!0),e.createElementVNode("div",bL,e.toDisplayString(Ue==null?void 0:Ue.name),1)])],10,kL)]),_:2},1024)),64))]),_:1})])]),default:e.withCtx(()=>{var Ue;return[e.createElementVNode("div",gL,[e.createTextVNode(e.toDisplayString((Ue=me.value)==null?void 0:Ue.name)+" ",1),e.createVNode(He,{name:"share-down2","font-size":"24"})])]}),_:1})],512),[[e.vShow,pe.value.type===0]])]),e.createElementVNode("div",wL,[e.createVNode(_,{value:1},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(N)("historyTrailsMode")),1)]),_:1})])]}),_:1},8,["modelValue"]),e.withDirectives(e.createElementVNode("div",null,[e.createVNode(et,{startTime:pe.value.historyStartTime,"onUpdate:startTime":Z[4]||(Z[4]=ce=>pe.value.historyStartTime=ce),endTime:pe.value.historyEndTime,"onUpdate:endTime":Z[5]||(Z[5]=ce=>pe.value.historyEndTime=ce),immediate:!0,needMaxIndex:!0,disabledDate:31,visible:X.value,"onUpdate:visible":Z[6]||(Z[6]=ce=>X.value=ce),timeZone:Ie.value},null,8,["startTime","endTime","visible","timeZone"])],512),[[e.vShow,pe.value.type===1]])])]),_:1}))])]),!e.unref(l)||e.unref(l)&&pe.value.showLogo&&pe.value.logoPicture?(e.openBlock(),e.createElementBlock("div",VL,[e.unref(l)?e.createCommentVNode("",!0):(e.openBlock(),e.createBlock(Ye,{key:0,label:""},{default:e.withCtx(()=>[e.createElementVNode("div",AL,[e.createElementVNode("div",BL,[e.createTextVNode(e.toDisplayString(e.unref(N)("displayYourLogo"))+" ",1),e.createElementVNode("span",null,"("+e.toDisplayString(pe.value.showLogo?e.unref(N)("enable"):e.unref(N)("disable"))+")",1)]),e.createElementVNode("div",IL,[e.createVNode(Ne,{modelValue:pe.value.showLogo,"onUpdate:modelValue":Z[7]||(Z[7]=ce=>pe.value.showLogo=ce),size:"large","inactive-value":0,"active-value":1},null,8,["modelValue"])])]),pe.value.showLogo?e.withDirectives((e.openBlock(),e.createElementBlock("div",ML,[P.value.length?(e.openBlock(),e.createElementBlock("div",DL,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(P.value,ce=>(e.openBlock(),e.createElementBlock("div",{class:"item",key:ce,onClick:Ue=>xe(ce)},[e.createVNode(Ge,{size:32,src:e.unref(S)+ce,class:e.normalizeClass({active:B.value===ce})},null,8,["src","class"]),B.value===ce?(e.openBlock(),e.createElementBlock("div",LL,[e.createVNode(He,{name:"share-filterSelect","font-size":"16",style:{color:"#fff"}})])):e.createCommentVNode("",!0)],8,OL))),128))])):e.createCommentVNode("",!0),e.createElementVNode("div",xL,[e.createVNode(zt,{ref_key:"refUpload",ref:W,class:"share-upload",action:"123","show-file-list":!1,"on-exceed":Ee,"on-change":G,"on-remove":Y,accept:".jpg,.png,.svg,.jpeg","auto-upload":!1},{default:e.withCtx(()=>[R.value?(e.openBlock(),e.createElementBlock("div",PL,[e.createVNode(gn,{src:R.value,fit:"contain",style:{width:"64px",height:"64px","border-radius":"6px"}},null,8,["src"]),e.createElementVNode("div",RL,[e.createVNode(He,{name:"share-editImg","font-size":"14"})])])):(e.openBlock(),e.createElementBlock("div",FL,[e.createVNode(He,{name:"share-upload","font-size":"20",color:"#949494"})]))]),_:1},512)]),e.createElementVNode("div",zL,[!pe.value.logoUrl&&!se.value?(e.openBlock(),e.createElementBlock("span",{key:0,class:"link-btn",style:{color:"#2e5cff"},onClick:ye},e.toDisplayString(e.unref(N)("addALink")),1)):e.createCommentVNode("",!0),se.value?(e.openBlock(),e.createBlock(qe,{key:1,ref_key:"logoUrlInput",ref:De,type:"text",maxlength:"50",modelValue:pe.value.logoUrl,"onUpdate:modelValue":Z[8]||(Z[8]=ce=>pe.value.logoUrl=ce),style:{width:"450px"},onBlur:Z[9]||(Z[9]=ce=>se.value=!1),clearable:""},null,8,["modelValue"])):e.createCommentVNode("",!0),pe.value.logoUrl&&!se.value?(e.openBlock(),e.createElementBlock("div",HL,[e.createElementVNode("div",ZL,e.toDisplayString(pe.value.logoUrl),1),e.createElementVNode("div",YL,[e.createVNode(sn,{name:"share-edit","font-size":"32",onClick:ye}),e.createVNode(ne,{direction:"vertical",style:{"border-color":"#9a9a9a"}}),e.createVNode(sn,{name:"share-delete","font-size":"32",onClick:Z[10]||(Z[10]=ce=>pe.value.logoUrl="")})])])):e.createCommentVNode("",!0)])])),[[od,D.value]]):e.createCommentVNode("",!0)]),_:1})),e.unref(l)&&pe.value.showLogo&&pe.value.logoPicture?(e.openBlock(),e.createElementBlock("div",jL,[e.createElementVNode("div",_L,e.toDisplayString(e.unref(N)("yourLogo")),1),e.createElementVNode("div",null,[e.createVNode(gn,{src:pe.value.logoPicture.indexOf("http")===0?pe.value.logoPicture:e.unref(S)+pe.value.logoPicture,fit:"contain",style:{width:"64px",height:"64px","border-radius":"6px",border:"1.5px dashed #9a9a9a"}},null,8,["src"])]),e.createElementVNode("div",UL,e.toDisplayString(pe.value.logoUrl),1)])):e.createCommentVNode("",!0)])):e.createCommentVNode("",!0),!e.unref(l)||e.unref(l)&&pe.value.remark?(e.openBlock(),e.createElementBlock("div",GL,[e.createVNode(Ye,{label:""},{label:e.withCtx(()=>[e.createElementVNode("div",WL,[e.createElementVNode("div",KL,e.toDisplayString(e.unref(N)("remark")),1)])]),default:e.withCtx(()=>[e.createElementVNode("div",QL,[e.unref(l)?(e.openBlock(),e.createElementBlock("div",qL,e.toDisplayString(pe.value.remark),1)):(e.openBlock(),e.createBlock(qe,{key:0,disabled:e.unref(l),size:"large",rows:7,modelValue:pe.value.remark,"onUpdate:modelValue":Z[11]||(Z[11]=ce=>pe.value.remark=ce),maxlength:"250","show-word-limit":"",type:"textarea",placeholder:e.unref(N)("typeContent")},null,8,["disabled","modelValue","placeholder"]))])]),_:1})])):e.createCommentVNode("",!0)]}),_:1})]),_:1})])]),_:2},[e.unref(l)?void 0:{name:"footer",fn:e.withCtx(()=>[e.createVNode(Ve,{size:"large",onClick:z,class:"custom-button"},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(N)("cancel")),1)]),_:1}),e.createVNode(Ve,{size:"large",type:"primary",onClick:lt,loading:ue.value||V.value,"loading-icon":OO},{default:e.withCtx(()=>[e.createTextVNode(e.toDisplayString(e.unref(N)("saveAndGenerate")),1)]),_:1},8,["loading"])]),key:"0"}]),1032,["modelValue"]),e.createElementVNode("div",XL,[Re.value?(e.openBlock(),e.createBlock(ed,{key:0,visible:Re.value,"virtual-ref":tt.value,"show-arrow":!1,"max-height":500,width:"368","popper-class":"common-share-popover-no-pd",placement:"bottom-start"},{default:e.withCtx(()=>[e.createElementVNode("div",{ref:"refSelectedVehiclePop",onClick:Z[14]||(Z[14]=e.withModifiers(()=>{},["stop"]))},[e.createVNode(_D,{onHandleClose:Rt,onHandleConfirmAlias:Bt,modelValue:Fe.value,"onUpdate:modelValue":Z[13]||(Z[13]=Sn=>Fe.value=Sn),onShowTag:Ze,"selected-list":te.value,onHandleDelete:j,onHandleClick:Ba,"read-only":!0,"alias-names":y.value,dataLength:b.value,"only-edit-name":!0,aliasOnly:!0,ref_key:"selectedVehiclePopRef",ref:Dt},null,8,["modelValue","selected-list","alias-names","dataLength"])],512)]),_:1},8,["visible","virtual-ref"])):e.createCommentVNode("",!0)],512),Dn.value?(e.openBlock(),e.createBlock(td,{key:0,modelValue:Dn.value,"onUpdate:modelValue":Z[15]||(Z[15]=Sn=>Dn.value=Sn),loginInfo:t.loginInfo,customerHabit:e.unref(M),vehicleData:Nn.value,allAssetTypes:t.data.vehicleType||[],allVehicles:t.data.vehicleList||[],allDevices:t.data.deviceList||[],modelTypes:e.unref(H),allVehicleToDevice:t.data.vehicleDeviceList||[],allTags:t.data.tagList||[],assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,allLandmarks:t.data.landmarkList,landmarkGroup:t.data.landmarkGroupList,saveFunctionTag:t.saveFunctionTag,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","vehicleData","allAssetTypes","allVehicles","allDevices","modelTypes","allVehicleToDevice","allTags","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","allLandmarks","landmarkGroup","saveFunctionTag","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0),On.value?(e.openBlock(),e.createBlock(Ii,{key:1,modelValue:On.value,"onUpdate:modelValue":Z[16]||(Z[16]=Sn=>On.value=Sn),loginInfo:t.loginInfo,customerHabit:e.unref(M),itemData:Nn.value,allVehicles:t.data.vehicleList||[],allAssetTypes:t.data.vehicleType||[],allDevices:t.data.deviceList||[],modelTypes:e.unref(H),allVehicleToDevice:t.data.vehicleDeviceList||[],allTags:t.data.tagList||[],allLandmarks:t.data.landmarkList||[],landmarkGroup:t.data.landmarkGroupList||[],saveFunctionTag:t.saveFunctionTag,assetTypeFn:t.assetTypeFn,bindDeviceHis:t.bindDeviceHis,deviceBindTimeLimit:t.deviceBindTimeLimit,saveFunctionVehicle:t.saveFunctionVehicle,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["modelValue","loginInfo","customerHabit","itemData","allVehicles","allAssetTypes","allDevices","modelTypes","allVehicleToDevice","allTags","allLandmarks","landmarkGroup","saveFunctionTag","assetTypeFn","bindDeviceHis","deviceBindTimeLimit","saveFunctionVehicle","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0),Ae.value?(e.openBlock(),e.createBlock(nd,{key:2,loginInfo:t.loginInfo,modelValue:Ae.value,"onUpdate:modelValue":Z[17]||(Z[17]=Sn=>Ae.value=Sn),itemData:Nn.value,unitAllState:t.unitAllState,GOOGLE_MAP_API_KEY:t.GOOGLE_MAP_API_KEY,MAP_STYLES:t.MAP_STYLES,allLandmarkGroup:t.data.landmarkGroupList||[],searhTrimblemapAddress:t.searhTrimblemapAddress,saveFunctionLandmark:t.saveFunctionLandmark},null,8,["loginInfo","modelValue","itemData","unitAllState","GOOGLE_MAP_API_KEY","MAP_STYLES","allLandmarkGroup","searhTrimblemapAddress","saveFunctionLandmark"])):e.createCommentVNode("",!0)],64)}}}),[["__scopeId","data-v-5d70ad3e"]]),$L={key:0},ex=["xlink:href"],tx=vt(e.defineComponent({__name:"svg-icon",props:{prefix:{default:"any-icon"},name:{default:""},color:{default:""},fontSize:{default:24},title:{default:""}},setup(t){const n=t,o=e.computed(()=>`#${n.prefix}-${n.name}`);return(a,r)=>(e.openBlock(),e.createElementBlock("svg",{"aria-hidden":"true",class:"svg-icon",style:e.normalizeStyle({color:a.color,fontSize:a.fontSize+"px"})},[a.title?(e.openBlock(),e.createElementBlock("title",$L,e.toDisplayString(a.title),1)):e.createCommentVNode("",!0),e.createElementVNode("use",{"xlink:href":o.value,rel:"external nofollow"},null,8,ex)],4))}}),[["__scopeId","data-v-52bc6b46"]]);var Wc=null;function nx(t){return Wc||(Wc=(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(n){return setTimeout(n,16)}).bind(window)),Wc(t)}var Kc=null;function ox(t){Kc||(Kc=(window.cancelAnimationFrame||window.webkitCancelAnimationFrame||window.mozCancelAnimationFrame||function(n){clearTimeout(n)}).bind(window)),Kc(t)}function ax(t){var n=document.createElement("style");return n.styleSheet?n.styleSheet.cssText=t:n.appendChild(document.createTextNode(t)),(document.querySelector("head")||document.body).appendChild(n),n}function Si(t,n){n===void 0&&(n={});var o=document.createElement(t);return Object.keys(n).forEach(function(a){o[a]=n[a]}),o}function W1(t,n,o){var a=window.getComputedStyle(t,null)||{display:"none"};return a[n]}function Qc(t){if(!document.documentElement.contains(t))return{detached:!0,rendered:!1};for(var n=t;n!==document;){if(W1(n,"display")==="none")return{detached:!1,rendered:!1};n=n.parentNode}return{detached:!1,rendered:!0}}var rx='.resize-triggers{visibility:hidden;opacity:0;pointer-events:none}.resize-contract-trigger,.resize-contract-trigger:before,.resize-expand-trigger,.resize-triggers{content:"";position:absolute;top:0;left:0;height:100%;width:100%;overflow:hidden}.resize-contract-trigger,.resize-expand-trigger{background:#eee;overflow:auto}.resize-contract-trigger:before{width:200%;height:200%}',qc=0,Vi=null;function lx(t,n){t.__resize_mutation_handler__||(t.__resize_mutation_handler__=cx.bind(t));var o=t.__resize_listeners__;if(!o){if(t.__resize_listeners__=[],window.ResizeObserver){var a=t.offsetWidth,r=t.offsetHeight,l=new ResizeObserver(function(){!t.__resize_observer_triggered__&&(t.__resize_observer_triggered__=!0,t.offsetWidth===a&&t.offsetHeight===r)||Ai(t)}),i=Qc(t),c=i.detached,s=i.rendered;t.__resize_observer_triggered__=c===!1&&s===!1,t.__resize_observer__=l,l.observe(t)}else if(t.attachEvent&&t.addEventListener)t.__resize_legacy_resize_handler__=function(){Ai(t)},t.attachEvent("onresize",t.__resize_legacy_resize_handler__),document.addEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);else if(qc||(Vi=ax(rx)),dx(t),t.__resize_rendered__=Qc(t).rendered,window.MutationObserver){var d=new MutationObserver(t.__resize_mutation_handler__);d.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0}),t.__resize_mutation_observer__=d}}t.__resize_listeners__.push(n),qc++}function ix(t,n){var o=t.__resize_listeners__;if(o){if(n&&o.splice(o.indexOf(n),1),!o.length||!n){if(t.detachEvent&&t.removeEventListener){t.detachEvent("onresize",t.__resize_legacy_resize_handler__),document.removeEventListener("DOMSubtreeModified",t.__resize_mutation_handler__);return}t.__resize_observer__?(t.__resize_observer__.unobserve(t),t.__resize_observer__.disconnect(),t.__resize_observer__=null):(t.__resize_mutation_observer__&&(t.__resize_mutation_observer__.disconnect(),t.__resize_mutation_observer__=null),t.removeEventListener("scroll",Xc),t.removeChild(t.__resize_triggers__.triggers),t.__resize_triggers__=null),t.__resize_listeners__=null}!--qc&&Vi&&Vi.parentNode.removeChild(Vi)}}function sx(t){var n=t.__resize_last__,o=n.width,a=n.height,r=t.offsetWidth,l=t.offsetHeight;return r!==o||l!==a?{width:r,height:l}:null}function cx(){var t=Qc(this),n=t.rendered,o=t.detached;n!==this.__resize_rendered__&&(!o&&this.__resize_triggers__&&(Jc(this),this.addEventListener("scroll",Xc,!0)),this.__resize_rendered__=n,Ai(this))}function Xc(){var t=this;Jc(this),this.__resize_raf__&&ox(this.__resize_raf__),this.__resize_raf__=nx(function(){var n=sx(t);n&&(t.__resize_last__=n,Ai(t))})}function Ai(t){!t||!t.__resize_listeners__||t.__resize_listeners__.forEach(function(n){n.call(t,t)})}function dx(t){var n=W1(t,"position");(!n||n==="static")&&(t.style.position="relative"),t.__resize_old_position__=n,t.__resize_last__={};var o=Si("div",{className:"resize-triggers"}),a=Si("div",{className:"resize-expand-trigger"}),r=Si("div"),l=Si("div",{className:"resize-contract-trigger"});a.appendChild(r),o.appendChild(a),o.appendChild(l),t.appendChild(o),t.__resize_triggers__={triggers:o,expand:a,expandChild:r,contract:l},Jc(t),t.addEventListener("scroll",Xc,!0),t.__resize_last__={width:t.offsetWidth,height:t.offsetHeight}}function Jc(t){var n=t.__resize_triggers__,o=n.expand,a=n.expandChild,r=n.contract,l=r.scrollWidth,i=r.scrollHeight,c=o.offsetWidth,s=o.offsetHeight,d=o.scrollWidth,p=o.scrollHeight;r.scrollLeft=l,r.scrollTop=i,a.style.width=c+1+"px",a.style.height=s+1+"px",o.scrollLeft=d,o.scrollTop=p}const ux=["aria-label"];var K1=e.defineComponent({__name:"text-clamp",props:{text:{type:String,required:!0},maxHeight:{type:[String,Number],required:!1},maxLines:{type:Number,required:!1},expanded:{type:Boolean,required:!1,default:!1},location:{type:String,required:!1,default:"end"},ellipsis:{type:String,required:!1,default:"…"},autoResize:{type:Boolean,required:!1,default:!1}},emits:["clamp-change","update:expanded"],setup(t,{emit:n}){const o=t,a=e.ref(null),r=e.ref(null),l=e.ref(null),i=e.reactive({offset:0,localExpanded:!!o.expanded,unregisterResizeCallback:null}),c=e.computed(()=>{if(!i.localExpanded&&o.maxHeight)return typeof(o==null?void 0:o.maxHeight)=="number"?`${o==null?void 0:o.maxHeight}px`:o==null?void 0:o.maxHeight}),s=()=>{l.value&&(l.value.textContent=C.value)},d=()=>{i.localExpanded||(s(),(h()||w.value)&&f())},p=()=>{o.text&&(i.offset=o.text.length,m(),o.autoResize&&a.value&&(lx(a.value,d),i.unregisterResizeCallback=()=>{a.value&&ix(a.value,d)}),d())},m=()=>{var N;(N=i.unregisterResizeCallback)==null||N.call(i)},h=()=>!(!o.maxLines&&!o.maxHeight)&&!!a.value&&(!!(o.maxLines&&g()>o.maxLines)||!!(o.maxHeight&&a.value.scrollHeight>a.value.offsetHeight)),g=()=>r.value?Object.keys(Array.prototype.slice.call(r.value.getClientRects()).reduce((N,{top:O,bottom:M})=>{const H=`${O}/${M}`;return N[H]||(N[H]=!0),N},{})).length:0,f=(...N)=>{const[O=0,M=i.offset]=N;if(M-O<=3)return void v();const H=Math.floor((M+O)/2);u(H),h()?f(O,H):f(H,M)},u=N=>{i.offset=N,s()},v=()=>{k(),y()},k=()=>{for(;(!h()||g()<2)&&i.offset<o.text.length;)b(1)},y=()=>{for(;h()&&g()>1&&i.offset>0;)b(-1)},b=N=>{u(i.offset+N)},w=e.computed(()=>!!o.text&&i.offset!==o.text.length);e.watch(()=>w.value,N=>{setTimeout(()=>{n("clamp-change",N)},0)},{immediate:!0});const C=e.computed(()=>w.value?T.value:o.text),T=e.computed(()=>{if(o.location==="start")return o.ellipsis+(o.text.slice(-i.offset)||"").trim();if(o.location==="middle"){const N=Math.floor(i.offset/2);return(o.text.slice(0,N)||"").trim()+o.ellipsis+(o.text.slice(-N)||"").trim()}return(o.text.slice(0,i.offset)||"").trim()+o.ellipsis}),E=()=>{i.localExpanded=!0},S=()=>{i.localExpanded=!1},A=()=>{i.localExpanded=!i.localExpanded};return e.watch(()=>o.expanded,N=>{i.localExpanded=N}),e.watch(()=>i.localExpanded,N=>{N?u(o.text.length):d(),o.expanded!==N&&n("update:expanded",N)}),e.watch(()=>[o.maxLines,o.maxHeight,o.ellipsis,o.location,w.value].join(),()=>{e.nextTick(()=>{d()})}),e.watch(()=>[o.text,o.autoResize].join(),()=>{e.nextTick(()=>{p()})}),e.onUnmounted(()=>{m()}),e.onMounted(()=>{p()}),(N,O)=>(e.openBlock(),e.createElementBlock("div",{ref_key:"textClampRef",ref:a,class:"text-clamp",style:e.normalizeStyle({overflow:"hidden",maxHeight:e.unref(c)})},[e.createElementVNode("span",{ref_key:"contentRef",ref:r},[e.renderSlot(N.$slots,"before",{expand:E,collapse:S,toggle:A,clamped:e.unref(w),expanded:i.localExpanded}),e.createElementVNode("span",{ref_key:"textRef",ref:l,"aria-label":t.text},null,8,ux),e.renderSlot(N.$slots,"after",{expand:E,collapse:S,toggle:A,clamped:e.unref(w),expanded:i.localExpanded})],512)],4))}});K1.__file="package/text-clamp.vue";const fx=t=>(t.install=function(n){n.component(t.__name,t)},t),mx=fx(K1);if(typeof window<"u"){let t=function(){var n=document.body,o=document.getElementById("__any__svg__icons__dom__");o||(o=document.createElementNS("http://www.w3.org/2000/svg","svg"),o.style.position="absolute",o.style.width="0",o.style.height="0",o.id="__any__svg__icons__dom__",o.setAttribute("xmlns","http://www.w3.org/2000/svg"),o.setAttribute("xmlns:link","http://www.w3.org/1999/xlink")),o.innerHTML='<symbol fill="none" viewBox="0 0 24 24" id="any-icon-active-menu-right"><path d="M5.05 16.95 10 12 5.05 7.05M14 16.95 18.95 12 14 7.05" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-active-menu"><path d="M21 5H3m18 7H3m18 7H3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-add-icon"><path d="M16 10.4V16m0 0v5.6m0-5.6h-5.6m5.6 0h5.6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-address-icon"><path d="m8.002 15.424-4.349-4.349a6.15 6.15 0 1 1 8.698 0L8 15.424Zm3.382-5.315a4.783 4.783 0 1 0-6.765 0l3.383 3.382 3.382-3.382ZM8.002 8.093a1.367 1.367 0 1 1 0-2.734 1.367 1.367 0 0 1 0 2.734Z" fill="#000" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-address-more-offline"><rect width="16" height="16" rx="5" fill="#9A9A9A" /><path d="M10.896 6.552 8 9.448 5.104 6.552" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-address-more"><rect width="16" height="16" rx="5" fill="#2E5CFF" /><path d="M10.895 6.552 7.998 9.448 5.102 6.552" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-addSelect"><path d="M8 1v7m0 0v7m0-7H1m7 0h7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-all-close-icon"><rect x=".5" y=".5" width="31" height="31" rx="4.5" fill="transparent" /><rect x=".5" y=".5" width="31" height="31" rx="4.5" stroke="currentColor" /><rect x="9" y="10" width="14" height="8" rx="1" stroke="#949494" stroke-opacity=".6" stroke-width="1.5" /><path d="M9 22h14" stroke="#000" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-all-open-icon"><rect x=".5" y=".5" width="31" height="31" rx="4.5" fill="transparent" /><rect x=".5" y=".5" width="31" height="31" rx="4.5" stroke="currentColor" /><path d="M9 10h14" stroke="#949494" stroke-opacity=".6" stroke-width="1.5" stroke-linecap="round" /><rect x="9" y="14" width="14" height="8" rx="1" stroke="#000" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 25 24" id="any-icon-all-tab-icon"><path d="M6.648 5.543a.75.75 0 1 0 0 1.5v-1.5Zm11.7 1.5a.75.75 0 0 0 0-1.5v1.5Zm-11.7 4.207a.75.75 0 0 0 0 1.5v-1.5Zm11.7 1.5a.75.75 0 0 0 0-1.5v1.5Zm-11.7 4.207a.75.75 0 0 0 0 1.5v-1.5Zm11.7 1.5a.75.75 0 0 0 0-1.5v1.5ZM6.648 7.043h11.7v-1.5h-11.7v1.5Zm0 5.707h11.7v-1.5h-11.7v1.5Zm0 5.707h11.7v-1.5h-11.7v1.5Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 25 24" id="any-icon-arrow-icon"><path d="M14.79 7.418 10.21 12l4.582 4.582" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-arrow-right-icon"><path d="M9.104 6.207 14.896 12l-5.792 5.793" stroke="rgba(148, 148, 148, 1)" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-arrow-right"><path d="M9.105 6.207 14.898 12l-5.793 5.793" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-cancel-icon"><path d="M22.212 22.213 9.787 9.788m0 12.425L22.212 9.788" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-chatty-icon"><rect x=".816" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><g clip-path="url(#any-icon-chatty-icon_a)"><rect x="2.566" y="8.5" width="14.954" height="7" rx=".6" fill="#6EE087" /><path d="m10.793 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.279 14.5" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></g><rect x="22.43" y="10.17" width="1.5" height="3.66" rx=".732" fill="#000" /><defs><clipPath id="any-icon-chatty-icon_a"><rect x="2.566" y="8.5" width="14.954" height="7" rx=".6" fill="#fff" /></clipPath></defs></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-check-icon"><path d="m16.481 9.077-3.978 4.928c-.438.541-.652.692-.918.804a1.413 1.413 0 0 1-.829.088c-.283-.055-.524-.158-1.064-.596l-2.174-1.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-choose-arrow-down"><path d="m15.703 10.148-3.705 3.704-3.705-3.704" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-closeIconNew"><path d="M22.214 22.212 9.79 9.787m0 12.425L22.214 9.787" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-closeIconNew2"><path d="m20.97 20.97-9.94-9.94m0 9.94 9.94-9.94" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-comfirmIcon"><path d="m6.102 15.256 5.11 5.11c.791.792 1.187 1.188 1.644 1.336a2 2 0 0 0 1.236 0c.457-.148.853-.544 1.645-1.336L25.902 10.2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-confirm-icon"><path d="m6.1 15.256 5.11 5.11c.791.792 1.187 1.188 1.644 1.336a2 2 0 0 0 1.236 0c.457-.148.853-.544 1.645-1.336L25.9 10.2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-cop-icon"><path d="M7 6V3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v14a1 1 0 0 1-1 1h-3v3c0 .552-.45 1-1.007 1H4.007A1.001 1.001 0 0 1 3 21l.003-14c0-.552.45-1 1.006-1H7ZM5.002 8 5 20h10V8H5.002ZM9 6h8v10h2V4H9v2Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-copy-detail-adress"><path d="M16.75 5.25h-8a.5.5 0 0 0-.5.5v2.5h-2.5a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5h8a.5.5 0 0 0 .5-.5v-2.5h2.5a.5.5 0 0 0 .5-.5v-8a.5.5 0 0 0-.5-.5Zm-3.5 11h-7v-7h7v7Zm3-3h-2v-4.5a.5.5 0 0 0-.5-.5h-4.5v-2h7v7Z" fill="#000" stroke="currentColor" stroke-width=".5" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-date-icon"><path d="M8.133 14.427v-1.165c0-1.3 0-1.95.249-2.447a2.36 2.36 0 0 1 1.056-1.057c.498-.248 1.148-.248 2.447-.248h8.229c1.3 0 1.95 0 2.448.248.457.229.828.6 1.056 1.057.25.498.25 1.148.25 2.447v1.165m-15.735 0v5.688c0 1.3 0 1.949.249 2.447.228.457.599.828 1.056 1.056.498.25 1.148.25 2.447.25h8.229c1.3 0 1.95 0 2.448-.25a2.36 2.36 0 0 0 1.056-1.056c.25-.498.25-1.148.25-2.448v-5.687m-15.735 0h15.734M13.05 8.133v2.753m5.9-2.753v2.753" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-date"><path d="M4.133 10.927V9.762c0-1.3 0-1.95.249-2.447a2.36 2.36 0 0 1 1.056-1.057c.498-.248 1.148-.248 2.447-.248h8.229c1.3 0 1.95 0 2.448.248.457.229.828.6 1.056 1.057.25.498.25 1.148.25 2.447v1.165m-15.735 0v5.688c0 1.3 0 1.949.249 2.447.228.457.599.828 1.056 1.056.498.25 1.148.25 2.447.25h8.229c1.3 0 1.95 0 2.448-.25a2.36 2.36 0 0 0 1.056-1.056c.25-.498.25-1.148.25-2.448v-5.687m-15.735 0h15.734M9.05 4.633v2.753m5.9-2.753v2.753" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-default-menu-right"><path d="M5.05 16.95 10 12 5.05 7.05M14 16.95 18.95 12 14 7.05" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-default-menu"><path d="M21 5H3m18 7H3m18 7H3" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-doorCloseIcon2"><path d="M0 4.5a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4v-16Z" fill="#12B76A" fill-opacity=".1" /><path d="M9 12.266V11.5m-2.5 6.378V7.122c0-.473 0-.71.092-.891a.846.846 0 0 1 .37-.37c.181-.092.418-.092.892-.092h8.292c.474 0 .711 0 .892.092.16.081.289.21.37.37.092.18.092.418.092.891v10.756c0 .473 0 .71-.092.891a.846.846 0 0 1-.37.37c-.181.092-.418.092-.892.092H7.854c-.474 0-.711 0-.892-.092a.846.846 0 0 1-.37-.37c-.092-.18-.092-.418-.092-.891Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-doorCloseIconOffline"><path d="M0 4a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4H4a4 4 0 0 1-4-4V4Z" fill="#000" fill-opacity=".04" /><path d="M9 11.766V11m-2.5 6.377V6.622c0-.473 0-.71.092-.891a.846.846 0 0 1 .37-.37c.181-.092.418-.092.892-.092h8.292c.474 0 .711 0 .892.092.16.08.289.21.37.37.092.18.092.418.092.891v10.755c0 .474 0 .711-.092.892a.846.846 0 0 1-.37.37c-.181.092-.418.092-.892.092H7.854c-.474 0-.711 0-.892-.092a.846.846 0 0 1-.37-.37c-.092-.18-.092-.418-.092-.892Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 25 25" id="any-icon-doorOpenIcon2"><path d="M.5 4.5a4 4 0 0 1 4-4h16a4 4 0 0 1 4 4v16a4 4 0 0 1-4 4h-16a4 4 0 0 1-4-4v-16Z" fill="#F32C1D" fill-opacity=".1" /><path d="M11.652 17.535H8.354c-.474 0-.711 0-.892-.092a.846.846 0 0 1-.37-.37C7 16.892 7 16.655 7 16.18V5.426c0-.474 0-.71.092-.892a.846.846 0 0 1 .37-.37c.181-.092.418-.092.892-.092h8.292c.474 0 .711 0 .892.092.16.082.289.211.37.37.092.181.092.418.092.892v10.858c0 .277 0 .415-.04.54a.846.846 0 0 1-.167.3c-.086.098-.204.17-.44.315l-3.64 2.228c-.674.412-1.01.618-1.288.594a.846.846 0 0 1-.608-.34c-.165-.224-.165-.62-.165-1.409v-.977Zm0 0V8.667c0-.278 0-.418.04-.543a.846.846 0 0 1 .17-.3c.086-.1.206-.172.444-.316l5.475-3.304m-4.706 9.555v-.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-doorOpenIconOffline"><path d="M11.152 18.035H7.854c-.474 0-.711 0-.892-.092a.846.846 0 0 1-.37-.37c-.092-.181-.092-.418-.092-.892V5.926c0-.474 0-.71.092-.892a.846.846 0 0 1 .37-.37c.181-.092.418-.092.892-.092h8.292c.474 0 .711 0 .892.092.16.082.289.211.37.37.092.181.092.418.092.892v10.858c0 .277 0 .415-.04.54a.846.846 0 0 1-.167.3c-.086.098-.204.17-.44.315l-3.64 2.228c-.674.412-1.01.618-1.288.594a.846.846 0 0 1-.608-.34c-.165-.224-.165-.62-.165-1.409v-.977Zm0 0V9.167c0-.278 0-.418.04-.543a.846.846 0 0 1 .17-.3c.086-.1.206-.172.444-.316l5.475-3.304m-4.706 9.555v-.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 33 32" id="any-icon-edit-icon"><path d="M20.5 22.3v-7.875m-7.75 2.625V9.175m0 13.825a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Zm7.75-8.75a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-eye-icon"><path d="M20.798 11.014c.45.59.45 1.385 0 1.973-1.419 1.852-4.823 5.666-8.798 5.666-3.974 0-7.379-3.814-8.798-5.666a1.608 1.608 0 0 1 0-1.973C4.622 9.162 8.026 5.348 12 5.348c3.975 0 7.38 3.814 8.798 5.666Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M12 14.852a2.851 2.851 0 1 0 0-5.703 2.851 2.851 0 0 0 0 5.703Z" stroke="#344054" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-filter-add"><path d="M15.998 10.4V16m0 0v5.6m0-5.6h-5.6m5.6 0h5.6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-filterchecked"><path d="m16.481 9.078-3.978 4.928c-.438.541-.652.692-.918.804a1.412 1.412 0 0 1-.829.088c-.283-.055-.524-.157-1.064-.596l-2.174-1.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-fliter-icon"><path d="M14.293 12.602a.997.997 0 0 0-.293.707v4.601a1 1 0 0 1-.758.97l-2 .5A1 1 0 0 1 10 18.41v-5.1a.996.996 0 0 0-.293-.708L5.229 7.176A1 1 0 0 1 5 6.54V5.31a1 1 0 0 1 1-1h12.002a1 1 0 0 1 1 .998v1.224a1 1 0 0 1-.228.638l-4.481 5.432Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 32 33" id="any-icon-following-normal"><rect y=".5" width="32" height="32" rx="4" fill="#fff" fill-opacity=".01" /><path d="M11.125 6.75H7.91a1.66 1.66 0 0 0-1.66 1.66v3.215M20.875 6.75h3.215c.917 0 1.66.743 1.66 1.66v3.215m-19.5 9.75v3.215c0 .917.743 1.66 1.66 1.66h3.215m14.625-4.875v3.215a1.66 1.66 0 0 1-1.66 1.66h-3.215m-4.668-7.883a1.66 1.66 0 1 1 0-3.32 1.66 1.66 0 0 1 0 3.32Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-from-landmark-icon"><path d="M8.369 7.365A1.529 1.529 0 0 1 6.565 9.17m1.804-1.804A1.53 1.53 0 1 0 6.565 9.17m1.804-1.804h7.262M6.565 9.17v7.262m10.87-7.262a1.529 1.529 0 0 1-1.804-1.804m1.804 1.804a1.53 1.53 0 1 0-1.804-1.804m1.804 1.804v7.262m-9.066 1.804h7.262m-7.262 0a1.529 1.529 0 0 0-1.804-1.804m1.804 1.804a1.53 1.53 0 1 1-1.804-1.804m9.066 1.804a1.529 1.529 0 0 1 1.804-1.804m-1.804 1.804a1.53 1.53 0 1 0 1.804-1.804" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group1"><path d="M7.642 5.478a1.835 1.835 0 0 1-2.165 2.165m2.165-2.165a1.835 1.835 0 1 0-2.164 2.165m2.164-2.165h8.715M5.477 7.643v8.714m13.044-8.714a1.835 1.835 0 0 1-2.165-2.165m2.165 2.165a1.835 1.835 0 1 0-2.164-2.165m2.165 2.165v8.714m-10.88 2.165h8.715m-8.715 0a1.835 1.835 0 0 0-2.165-2.165m2.165 2.165a1.835 1.835 0 1 1-2.164-2.165m10.879 2.165a1.835 1.835 0 0 1 2.165-2.165m-2.165 2.165a1.835 1.835 0 1 0 2.165-2.165" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group2"><path d="M16.796 14.208a.55.55 0 0 0-.158.487l.846 4.932a.55.55 0 0 1-.797.58l-4.43-2.326a.55.55 0 0 0-.512 0l-4.43 2.328a.55.55 0 0 1-.799-.58l.847-4.931a.55.55 0 0 0-.158-.487L3.62 10.716a.55.55 0 0 1 .305-.938l4.953-.72a.55.55 0 0 0 .414-.3l2.214-4.487a.55.55 0 0 1 .986 0l2.214 4.486a.55.55 0 0 0 .414.301l4.953.72a.55.55 0 0 1 .305.938l-3.583 3.492Z" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group3"><circle cx="12" cy="12" r="8.1" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group4"><rect x="4.2" y="4.2" width="15.6" height="15.6" rx="3.6" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-group5"><path d="M8.48 7.936c1.155-2 1.732-3 2.486-3.336a2.54 2.54 0 0 1 2.066 0c.754.336 1.332 1.336 2.487 3.336l3.226 5.588c1.154 2 1.732 3 1.646 3.821a2.54 2.54 0 0 1-1.033 1.79c-.668.484-1.823.484-4.133.484H8.773c-2.31 0-3.464 0-4.132-.485a2.54 2.54 0 0 1-1.033-1.789c-.086-.82.491-1.82 1.646-3.821L8.48 7.936Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-image-error"><path d="M4.822 20.178 1.074 7.468a1.79 1.79 0 0 1 1.225-2.227l7.871-2.249-.968 5.43c-.066.376.05.76.313 1.035l4.413 4.614c.264.275.38.66.313 1.035l-.908 5.072-6.523 1.78a1.432 1.432 0 0 1-1.75-.977l-.238-.803Zm0 0c.987-1.89 2.007-5.006 3.379-5.669 1.688-.815 3.603 2.459 5.967.182m1.91-2.27-1.45-2.85a1.313 1.313 0 0 1-.033-1.12l2.02-4.623h4.953c.79 0 1.432.64 1.432 1.432v9.431m-6.922-2.27 1.73 3.401-2.566 5.43h6.564c.66 0 1.194-.534 1.194-1.193V14.69m-6.922-2.27c2.148-2.865 3.043-1.068 6.922 2.27M6.351 9.377a.656.656 0 1 1 0 1.313m0-1.313a.656.656 0 1 0 0 1.313m0-1.313v1.313" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 10 10" id="any-icon-ischarge"><path d="m5.998 1.672-2.59 2.552c-.315.342-.474.512-.375.644C3.13 5 3.415 5 3.985 5h2.03c.57 0 .855 0 .952.132.099.133-.06.302-.375.644L3.985 8.327" stroke="currentColor" stroke-opacity=".5" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-jumpIcon"><path d="M19.875 22.3v-7.875m-7.75 2.625V9.175m0 13.825a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Zm7.75-8.75a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 20 20" id="any-icon-landmark-tab-icon"><path d="M6.369 4.565a1.529 1.529 0 0 1-1.804 1.804m1.804-1.804a1.53 1.53 0 1 0-1.804 1.804m1.804-1.804h7.262M4.565 6.369v7.262m10.87-7.262a1.529 1.529 0 0 1-1.804-1.804m1.804 1.804a1.53 1.53 0 1 0-1.804-1.804m1.804 1.804v7.262m-9.066 1.804h7.262m-7.262 0a1.529 1.529 0 0 0-1.804-1.804m1.804 1.804a1.53 1.53 0 1 1-1.804-1.804m9.066 1.804a1.529 1.529 0 0 1 1.804-1.804m-1.804 1.804a1.53 1.53 0 1 0 1.804-1.804" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmarkIcon"><path d="M7.642 5.478a1.835 1.835 0 0 1-2.165 2.165m2.165-2.165a1.835 1.835 0 1 0-2.164 2.164m2.164-2.164h8.715M5.477 7.642v8.715m13.044-8.715a1.835 1.835 0 0 1-2.165-2.165m2.165 2.165a1.835 1.835 0 1 0-2.164-2.164m2.165 2.164v8.715m-10.88 2.165h8.715m-8.715 0a1.835 1.835 0 0 0-2.165-2.165m2.165 2.165a1.835 1.835 0 1 1-2.164-2.165m10.879 2.165a1.835 1.835 0 0 1 2.165-2.165m-2.165 2.165a1.835 1.835 0 1 0 2.165-2.165" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-load-num-icon"><rect x="3.602" y="4.801" width="16.797" height="4.799" rx="1.3" stroke="currentColor" stroke-width="1.255" /><circle cx="6.927" cy="7.201" r=".837" fill="currentColor" /><rect x="3.602" y="9.601" width="16.797" height="4.799" rx="1.3" stroke="currentColor" stroke-width="1.255" /><circle cx="6.927" cy="12" r=".837" fill="currentColor" /><rect x="3.602" y="14.399" width="16.797" height="4.799" rx="1.3" stroke="currentColor" stroke-width="1.255" /><circle cx="6.927" cy="16.799" r=".837" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 25" id="any-icon-loading-icon"><path d="M12.002 2.499v2M17.002 3.84l-1 1.731M20.662 7.5l-1.732 1M22.002 12.5h-2M20.662 17.5l-1.732-1M17.002 21.16l-1-1.732" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M12.002 22.499v-2" stroke="#000" stroke-opacity=".1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m7.002 21.16 1-1.732" stroke="#000" stroke-opacity=".2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.342 17.5 1.732-1" stroke="#000" stroke-opacity=".4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M2.002 12.5h2" stroke="#000" stroke-opacity=".8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.342 7.5 1.732 1M7.002 3.84l1 1.731" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-molive"><path d="m16.86 9.626 2.942-1.52a.777.777 0 0 1 1.133.69v6.273a.777.777 0 0 1-1.133.69l-2.942-1.52m0-4.613v4.613m0-4.613v-2.61c0-.636-.516-1.152-1.152-1.152H4.216c-.636 0-1.152.516-1.152 1.152v9.968c0 .636.516 1.152 1.152 1.152h11.492c.636 0 1.152-.516 1.152-1.152V14.24M5.976 9.422h2.463" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-monitorIconCpu"><path d="M9.36 5.52H6.272c-.445 0-.806.34-.806.758v2.9M9.36 5.522V3.307m0 2.214h5.28M9.36 18.293H6.272c-.445 0-.806-.34-.806-.757v-2.777m3.894 3.534v2.4m0-2.4h5.28M5.466 14.76h-2.16m2.16 0v-5.58m0 0h-2.16M14.64 5.52h3.088c.445 0 .806.34.806.757V9.18M14.64 5.521V3.307m0 14.986h3.088c.445 0 .806-.339.806-.757V14.76m-3.894 3.534v2.4m3.894-5.934h2.16m-2.16 0V9.18m0 0h2.16m-11.226.442h5.064v4.758H9.468V9.62Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-contact-icon"><path d="M3.258 16.872v-5.657m2.571 5.657V8.644C5.83 6.33 7.886 3.5 12.001 3.5c4.114 0 6.171 2.829 6.171 5.143v7.293c0 .595-.258 1.16-.707 1.55L14 20.5m6.744-3.627v-5.657" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-edit-icon"><path d="M22 20.968H2m4.768-4.426 1.548-.274c.103-.018.154-.027.202-.045a.578.578 0 0 0 .131-.068c.043-.03.08-.066.153-.14l9.774-9.77c.22-.221.331-.332.375-.458a.578.578 0 0 0 0-.375c-.044-.126-.154-.237-.375-.458l-1.277-1.276c-.22-.221-.331-.332-.458-.375a.578.578 0 0 0-.374 0c-.127.043-.237.153-.458.374l-9.773 9.77c-.074.074-.111.111-.14.154a.58.58 0 0 0-.07.131c-.017.048-.026.1-.044.203l-.272 1.55c-.074.423-.11.634-.049.787a.577.577 0 0 0 .32.32c.154.062.365.024.787-.05Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-history-icon"><path d="M17.398 22.141c-14.792 0 6.146-6.946-3.349-7.518m-4.042-7.589h.077m9.139 14.816c0 .482-.409.872-.912.872-.504 0-.913-.39-.913-.872 0-.481.409-.872.913-.872.503 0 .912.39.912.872ZM13.54 10.714l-3.63 3.909-3.63-3.91c-2.004-2.158-2.004-5.658 0-7.817 2.005-2.158 5.255-2.158 7.26 0 2.004 2.16 2.004 5.66 0 7.818Zm-3.498-3.13v0a.528.528 0 0 0 .528-.527v-.054a.528.528 0 0 0-.528-.528v0a.528.528 0 0 0-.528.528v.054c0 .292.237.528.528.528Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-locate-icon"><path d="M12 2.75v2.575m0 0h-.84a6.73 6.73 0 0 0-5.835 5.834V12M12 5.325h.842a6.73 6.73 0 0 1 5.833 5.834V12m2.575 0h-2.575m0 0v.842a6.73 6.73 0 0 1-5.833 5.833H12m0 2.575v-2.575m0 0h-.84a6.73 6.73 0 0 1-5.835-5.833V12M2.75 12h2.575M12 11.58v.84m0 .421v0a.841.841 0 0 0 .842-.84v0a.841.841 0 0 0-.842-.842v0a.841.841 0 0 0-.84.841v0c0 .465.376.842.84.841Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-move-icon"><path d="m11.275 15.876 4.601-4.6m-2.3 6.9 2.63-2.628m-4.829-4.085v0a1.722 1.722 0 0 1-2.435 0v0a1.722 1.722 0 0 1 0-2.435v0a1.722 1.722 0 0 1 2.435 0v0a1.722 1.722 0 0 1 0 2.435Zm2.75-6.538 8.226 8.225a.93.93 0 0 1 0 1.315l-7.888 7.888a.93.93 0 0 1-1.315 0l-8.225-8.226a.93.93 0 0 1-.266-.768l.845-7.043a.93.93 0 0 1 .813-.812l7.042-.845a.93.93 0 0 1 .768.266Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-more-share-icon"><path d="M14.17 7.673a2.744 2.744 0 1 1 4.689-2.853 2.744 2.744 0 0 1-4.69 2.853Zm0 0-4.416 2.87m.043 3.025c.274-.427.433-.935.433-1.48a2.73 2.73 0 0 0-.476-1.544m.043 3.024a2.744 2.744 0 1 1-.044-3.024m.044 3.024 4.375 2.755m0 0a2.744 2.744 0 1 1 4.685 2.86 2.744 2.744 0 0 1-4.685-2.86Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-more"><circle cx="10" cy="16" r="1.5" fill="currentColor" /><circle cx="16" cy="16" r="1.5" fill="currentColor" /><circle cx="22" cy="16" r="1.5" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-new-close-icon"><path d="m20.97 20.97-9.94-9.94m0 9.94 9.94-9.94" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-new-search-icon"><path d="m20.545 20.544-3.178-3.196m-6.735.461a7.163 7.163 0 0 1-7.177-7.177 7.163 7.163 0 0 1 7.177-7.177 7.163 7.163 0 0 1 7.177 7.177c0 1.98-.794 3.77-2.084 5.066a7.155 7.155 0 0 1-5.093 2.111Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-onDemand"><path d="M11.686 10.969c-.27-.85-.55-1.718-.756-2.337-.741-1.482-2.28-.684-1.881.77.319 1.162 1.52 5.196 2.08 7.068-.589-.19-2.029-.667-3.078-1.055-1.31-.484-2.593.874-1.425 1.54 1.653.94 6.698 3.933 8.123 3.59 1.14-.273 1.54-.418 1.596-.456.124-.038.536-.182 1.54-.57 1.003-.387 1.747-2.85 1.595-3.505-.056-.244-.542-2.16-.91-3.494-.239-.866-.766-1.814-1.57-1.414-.407.203-.696.643-.598 1.231-.068-.18-.182-.492-.278-.767-.104-.299-.252-.594-.509-.78-.88-.641-1.495.022-1.71.493m-2.219-.314c.298.936.585 1.852.755 2.394m-.755-2.394c-.298-.936 1.467-1.881 2.123 0l.096.314m0 0c.384 1.238.533 1.657.56 1.71M8.196 3.427l.74 2.167M4.786 6.3l2.024.998M4.5 11.106l2.166-.826m4.941-4.377 1.026-2.166m.794 3.817 2.166-.741" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 17" id="any-icon-openIcon"><rect x=".75" y="1.25" width="22.5" height="14.5" rx="2.25" stroke="currentColor" stroke-width="1.5" /><rect x="14" y="3.5" width="7" height="10" rx="1" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-plus"><path d="M16 10.4V16m0 0v5.6m0-5.6h-5.6m5.6 0h5.6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 20 8" id="any-icon-point-dot"><circle cx="4" cy="4" r="1.5" fill="#344054" /><circle cx="10" cy="4" r="1.5" fill="#344054" /><circle cx="16" cy="4" r="1.5" fill="#344054" /></symbol><symbol fill="none" viewBox="0 0 36 32" id="any-icon-range-swith"><path d="M19.833 12.335 16.168 16l3.665 3.665" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-refesh-icon"><path d="m22.364 11.647-.707-.707a8 8 0 1 0 2.28 4.658m-1.573-3.951h-4.242m4.242 0V7.404" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-refreshIcon"><path d="m18.364 7.647-.707-.707a8 8 0 1 0 2.28 4.658m-1.573-3.95h-4.243m4.243 0V3.403" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-removeIcon"><rect width="16" height="16" rx="8" fill="#FF5E5E" /><path d="M4.8 8h6.4" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-return-top"><path d="M17 5.763H7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /><path d="m12 9.763-3.95 3.95M12 9.762l3.95 3.95M12 9.762v8.474" stroke="#000" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 40 40" id="any-icon-searchIcon"><path d="m28.545 28.544-3.178-3.196m-6.735.461a7.163 7.163 0 0 1-7.177-7.177 7.163 7.163 0 0 1 7.177-7.177 7.163 7.163 0 0 1 7.177 7.177c0 1.98-.794 3.77-2.084 5.066a7.155 7.155 0 0 1-5.093 2.111Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-searchIcon24"><path d="m20.545 20.545-3.178-3.197m-6.735.462a7.163 7.163 0 0 1-7.177-7.177 7.163 7.163 0 0 1 7.177-7.178 7.163 7.163 0 0 1 7.177 7.178c0 1.98-.794 3.768-2.084 5.065a7.155 7.155 0 0 1-5.093 2.112Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-selectAllIcon"><path d="m3 18.465 1.267 1.268 2.638-2.64M21 18.462H10.68M3 12.052l1.267 1.269 2.638-2.64M21 12.048H10.68M3 5.64l1.267 1.269 2.638-2.64M21 5.637H10.68" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew"><path d="M5.425 16.55v1.415M9.809 13.047v4.921M14.192 9.54v8.427" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /><path d="M18.576 6.031v11.935" stroke="#000" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew0"><path d="M5.424 16.554v1.414M9.807 13.047v4.921M14.191 9.54v8.428M18.574 6.033v11.935" stroke="currentColor" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /><path d="M7.48 5 4 8.48M4 5l3.48 3.48" stroke="#F32C1D" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew1"><path d="M5.424 16.554v1.414" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /><path d="M9.807 13.047v4.921M14.191 9.54v8.428M18.574 6.033v11.935" stroke="#000" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew2"><path d="M5.424 16.554v1.414M9.807 13.047v4.921" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /><path d="M14.191 9.54v8.428M18.574 6.033v11.935" stroke="#000" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew3"><path d="M5.424 16.554v1.414M9.807 13.047v4.921M14.191 9.54v8.428" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /><path d="M18.574 6.033v11.935" stroke="#000" stroke-opacity=".2" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-signalnew4"><path d="M5.424 16.554v1.414M9.807 13.047v4.921M14.191 9.54v8.428M18.574 6.033v11.935" stroke="currentColor" stroke-width="2.121" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tag-list-arrow"><path d="M15.168 10.416 12 13.584l-3.168-3.168" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 44 84" id="any-icon-tag-list-icon"><rect x=".5" y=".5" width="43" height="83" rx="9.5" fill="transparent" /><rect x=".5" y=".5" width="43" height="83" rx="9.5" stroke="currentColor" /><rect x="14" y="16.5" width="16" height="3" rx="1.5" fill="#9A9A9A" /><rect x="20" y="32.5" width="10" height="3" rx="1.5" fill="#DFDFDF" /><rect x="14" y="48.5" width="16" height="3" rx="1.5" fill="#9A9A9A" /><rect x="20" y="64.5" width="10" height="3" rx="1.5" fill="#DFDFDF" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tag-no-children"><circle cx="12" cy="12" r="2" fill="#000" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tag-tab-icon"><path d="m9.637 14.238 4.6-4.601m-2.3 6.901 2.63-2.629M3.865 4.678 3.02 11.72a.93.93 0 0 0 .265.768l8.226 8.226a.93.93 0 0 0 1.314 0l7.888-7.888a.93.93 0 0 0 0-1.314l-8.225-8.226a.93.93 0 0 0-.769-.265l-7.042.845a.93.93 0 0 0-.812.812Zm5.873 5.147a1.722 1.722 0 1 0-2.436-2.436 1.722 1.722 0 0 0 2.436 2.436Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-tagIcon"><path d="m11.275 15.876 4.601-4.6m-2.3 6.9 2.629-2.628m-4.828-4.085v0a1.722 1.722 0 0 1-2.436 0v0a1.722 1.722 0 0 1 0-2.435v0a1.722 1.722 0 0 1 2.436 0v0a1.722 1.722 0 0 1 0 2.435Zm2.75-6.538 8.225 8.225a.93.93 0 0 1 0 1.315l-7.887 7.888a.93.93 0 0 1-1.315 0l-8.225-8.226a.93.93 0 0 1-.266-.768l.845-7.043a.93.93 0 0 1 .812-.812l7.043-.845a.93.93 0 0 1 .768.266Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-temp-hot-line"><path d="M9.6 6.4a2.4 2.4 0 0 1 4.8 0v6.4a4 4 0 1 1-4.8 0V6.4Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-Vector"><path d="M19 20H5v1a1 1 0 0 1-1 1H3a1 1 0 0 1-1-1V11l2.48-5.788A2 2 0 0 1 6.32 4H17.68a2 2 0 0 1 1.838 1.212L22 11v10a1 1 0 0 1-1 1h-1a1 1 0 0 1-1-1v-1Zm1-7H4v5h16v-5ZM4.176 11h15.648l-2.143-5H6.32l-2.143 5ZM6.5 17a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Zm11 0a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicleIcon"><path d="m3.564 11.282 2.373-6.327a.713.713 0 0 1 .668-.463h10.791c.298 0 .564.185.668.463l2.372 6.327m-16.872 0v6.524m0-6.524h16.872M3.564 17.806v1.513a.188.188 0 0 0 .377 0v-1.513m-.377 0h.377m16.495-6.524v6.524m0 0v1.544a.157.157 0 1 1-.313 0v-1.544m.313 0h-.313m-13.568-3.45.375.322m10.173-.322.25.322M3.941 17.806h16.182M6.29 14.526v-.02a.465.465 0 1 1 .93 0v.02a.465.465 0 0 1-.93 0Zm11.419 0v-.02a.465.465 0 1 0-.93 0v.02a.465.465 0 0 0 .93 0Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehiclesBus"><path d="m21.174 7.995.52-.54-.52.54a.25.25 0 0 1 .076.18V15a.25.25 0 0 1-.25.25H4a.25.25 0 0 1-.25-.25V6A.25.25 0 0 1 4 5.75h14.746a.25.25 0 0 1 .174.07l1.134 1.095 1.12 1.08Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /><path stroke="#1F2429" stroke-width="1.5" d="M6.75 5v4M10.75 5v4M16 9.75H3M16 5v5a1 1 0 0 0 1 1h5" /><circle cx="7.5" cy="15.5" r="1.75" fill="#fff" stroke="#1F2429" stroke-width="1.5" /><circle cx="17.5" cy="15.5" r="1.75" fill="#fff" stroke="#1F2429" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-verticalPoint"><circle cx="12" cy="6" r="1.5" fill="currentColor" /><circle cx="12" cy="12" r="1.5" fill="currentColor" /><circle cx="12" cy="18" r="1.5" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-xiajiantou"><path d="M15.707 10.146 12 13.854l-3.708-3.707" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge100"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="16.36" height="7" rx=".6" fill="#6EE087" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge20"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="3" height="7" rx=".6" fill="#F32C1D" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge40"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="6.544" height="7" rx=".6" fill="#6EE087" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge60"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="9.816" height="7" rx=".6" fill="#6EE087" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-charge80"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="13.088" height="7" rx=".6" fill="#6EE087" /><path d="m11.25 9.5-1.946 1.917c-.237.257-.356.385-.282.484.073.099.287.099.715.099h1.525c.429 0 .643 0 .716.099.074.1-.045.227-.282.484L9.736 14.5" stroke="#020202" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 12" id="any-icon-battery-nocharge100"><rect x=".818" y=".75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="2.5" width="16.36" height="7" rx=".6" fill="#FFC107" /><rect x="22.432" y="4.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-nocharge20"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="3" height="7" rx=".6" fill="#F32C1D" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-nocharge40"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="6.54" height="7" rx=".6" fill="#FFC107" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-nocharge60"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="9.82" height="7" rx=".6" fill="#FFC107" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-battery-nocharge80"><rect x=".818" y="6.75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="8.5" width="13.09" height="7" rx=".6" fill="#FFC107" /><rect x="22.432" y="10.17" width="1.5" height="3.66" rx=".732" fill="#020202" /></symbol><symbol fill="none" viewBox="0 0 24 12" id="any-icon-battery-offline"><rect x=".818" y=".75" width="19.864" height="10.5" rx="1.75" stroke="currentColor" stroke-width="1.5" /><rect x="2.568" y="2.5" width="14.954" height="7" rx=".6" fill="currentColor" /><rect x="22.432" y="4.172" width="1.5" height="3.66" rx=".732" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-checkbox"><rect x="4.75" y="4.75" width="14.5" height="14.5" rx="3.25" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-checked"><rect x="4" y="4" width="16" height="16" rx="4" fill="#0BA5EC" /><path d="m15.963 9.415-3.519 4.358c-.387.479-.577.612-.812.711a1.25 1.25 0 0 1-.733.078c-.25-.048-.463-.14-.94-.527l-1.924-1.562" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-checkOne"><path d="m16.481 9.077-3.978 4.927c-.438.542-.652.693-.918.805a1.413 1.413 0 0 1-.829.087c-.283-.054-.524-.157-1.064-.595l-2.174-1.766" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-edit"><path d="M15.875 18.3v-7.875m-7.75 2.625V5.175m0 13.825a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Zm7.75-8.75a2.625 2.625 0 1 1 0-5.25 2.625 2.625 0 0 1 0 5.25Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-common-inputDelete"><path d="m20.97 20.97-9.94-9.94m0 9.94 9.94-9.94" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 25 24" id="any-icon-common-loadingW"><path d="M12.502 1.999v2M17.502 3.34l-1 1.731M21.162 7 19.43 8M22.502 12h-2M21.162 17l-1.732-1M17.502 20.66l-1-1.732" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M12.502 21.999v-2" stroke="#fff" stroke-opacity=".1" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m7.502 20.66 1-1.732" stroke="#fff" stroke-opacity=".2" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.842 17 1.732-1" stroke="#fff" stroke-opacity=".4" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="M2.502 12h2" stroke="#fff" stroke-opacity=".8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /><path d="m3.842 7 1.732 1M7.502 3.34l1 1.731" stroke="#fff" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-common-mdvrcheck"><rect x=".75" y=".75" width="14.5" height="14.5" rx="3.25" fill="#fff" /><rect x=".75" y=".75" width="14.5" height="14.5" rx="3.25" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-common-mdvrchecked"><rect width="16" height="16" rx="4" fill="#0BA5EC" /><path d="M11.964 5.415 8.445 9.773c-.387.479-.577.612-.812.711-.234.1-.482.126-.733.078-.25-.048-.463-.14-.941-.527L4.036 8.473" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 16 16" id="any-icon-common-mdvrcheckon"><rect width="16" height="16" rx="4" fill="#0BA5EC" /><path d="M4.5 8h7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-common-popClose"><path d="M22.212 22.212 9.787 9.787m0 12.425L22.212 9.787" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-common-popConfirm"><path d="m6.1 15.256 5.11 5.11c.791.792 1.187 1.188 1.644 1.336a2 2 0 0 0 1.236 0c.457-.148.853-.544 1.645-1.337L25.9 10.2" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 40 40" id="any-icon-common-searchInput"><path d="m28.545 28.545-3.178-3.197m-6.735.462a7.163 7.163 0 0 1-7.177-7.177 7.163 7.163 0 0 1 7.177-7.178 7.163 7.163 0 0 1 7.177 7.178c0 1.98-.794 3.768-2.084 5.065a7.155 7.155 0 0 1-5.093 2.112Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-common-selectAll"><path d="m3 18.465 1.267 1.268 2.638-2.64M21 18.462H10.68M3 12.052l1.267 1.269 2.638-2.64M21 12.048H10.68M3 5.64l1.267 1.269 2.638-2.64M21 5.637H10.68" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group1"><path d="M7.642 5.478a1.835 1.835 0 0 1-2.165 2.165m2.165-2.165a1.835 1.835 0 1 0-2.164 2.165m2.164-2.165h8.715M5.477 7.643v8.714m13.044-8.714a1.835 1.835 0 0 1-2.165-2.165m2.165 2.165a1.835 1.835 0 1 0-2.164-2.165m2.165 2.165v8.714m-10.88 2.165h8.715m-8.715 0a1.835 1.835 0 0 0-2.165-2.165m2.165 2.165a1.835 1.835 0 1 1-2.164-2.165m10.879 2.165a1.835 1.835 0 0 1 2.165-2.165m-2.165 2.165a1.835 1.835 0 1 0 2.165-2.165" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group2"><path d="M16.796 14.208a.55.55 0 0 0-.158.487l.846 4.932a.55.55 0 0 1-.797.58l-4.43-2.326a.55.55 0 0 0-.512 0l-4.43 2.328a.55.55 0 0 1-.799-.58l.847-4.931a.55.55 0 0 0-.158-.487L3.62 10.716a.55.55 0 0 1 .305-.938l4.953-.72a.55.55 0 0 0 .414-.3l2.214-4.487a.55.55 0 0 1 .986 0l2.214 4.486a.55.55 0 0 0 .414.301l4.953.72a.55.55 0 0 1 .305.938l-3.583 3.492Z" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group3"><circle cx="12" cy="12" r="8.1" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group4"><rect x="4.2" y="4.2" width="15.6" height="15.6" rx="3.6" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group5"><path d="M8.48 7.936c1.155-2 1.732-3 2.486-3.336a2.54 2.54 0 0 1 2.066 0c.754.336 1.332 1.336 2.487 3.336l3.226 5.588c1.154 2 1.732 3 1.646 3.821a2.54 2.54 0 0 1-1.033 1.79c-.668.484-1.823.484-4.133.484H8.773c-2.31 0-3.464 0-4.132-.485a2.54 2.54 0 0 1-1.033-1.789c-.086-.82.491-1.82 1.646-3.821L8.48 7.936Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-landmark-group6"><path d="m9.737 19.737-5.474-5.474c-.792-.792-1.188-1.188-1.337-1.645a2 2 0 0 1 0-1.236c.149-.457.545-.853 1.337-1.645l5.474-5.474c.792-.792 1.188-1.188 1.645-1.337a2 2 0 0 1 1.236 0c.457.149.853.545 1.645 1.337l5.474 5.474c.792.792 1.188 1.188 1.337 1.645a2 2 0 0 1 0 1.236c-.149.457-.545.853-1.337 1.645l-5.474 5.474c-.792.792-1.188 1.188-1.645 1.337a2 2 0 0 1-1.236 0c-.457-.149-.853-.545-1.645-1.337Z" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-landmark-openIcon"><path d="m11.05 13.525 4.95 4.95 4.95-4.95" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-landmark-retractIcon"><path d="m11.05 18.475 4.95-4.95 4.95 4.95" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-share-add2"><path d="M16 10.4V16m0 0v5.6m0-5.6h-5.6m5.6 0h5.6" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-share-delete"><path d="M9.893 9.942v12.506a2 2 0 0 0 2 2h8.216a2 2 0 0 0 2-2V9.942m-12.216 0h3.727m-3.727 0H8.301m5.319 0H18.381m-4.761 0V8.388c0-.462.374-.836.836-.836h3.09c.462 0 .836.374.836.836v1.554m3.727 0h-3.727m3.727 0H23.7" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-down2"><path d="M15.707 10.146 12 13.854l-3.708-3.708" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 32 32" id="any-icon-share-edit"><path d="M26 24.968H6m4.768-4.426 1.548-.274c.103-.018.154-.027.202-.045a.581.581 0 0 0 .131-.068c.043-.03.08-.066.154-.14l9.773-9.77c.22-.221.331-.332.375-.459a.578.578 0 0 0 0-.374c-.044-.127-.154-.237-.375-.458l-1.277-1.277c-.22-.22-.331-.331-.458-.375a.578.578 0 0 0-.374 0c-.127.044-.237.154-.458.375l-9.773 9.77c-.074.074-.111.111-.14.154a.582.582 0 0 0-.07.13c-.017.05-.026.1-.044.204l-.272 1.55c-.074.422-.11.634-.049.787a.577.577 0 0 0 .32.32c.154.061.365.024.787-.05Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 14 13" id="any-icon-share-editImg"><path d="M13.007 11.385H.997M3.86 8.727l.929-.164a.73.73 0 0 0 .122-.027.347.347 0 0 0 .078-.041.73.73 0 0 0 .092-.084l5.87-5.867c.132-.133.198-.2.224-.276a.347.347 0 0 0 0-.224c-.026-.077-.092-.143-.225-.276l-.766-.766c-.133-.133-.2-.2-.275-.225a.347.347 0 0 0-.225 0c-.076.026-.143.092-.275.225l-5.87 5.867a.73.73 0 0 0-.084.092.347.347 0 0 0-.04.079c-.011.029-.017.06-.028.122l-.163.93c-.044.254-.066.381-.03.473a.347.347 0 0 0 .193.192c.092.037.219.015.473-.03Z" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 12 8" id="any-icon-share-filterSelect"><path d="M10.483 1.077 6.505 6.005c-.438.541-.653.692-.918.804a1.413 1.413 0 0 1-.829.088c-.283-.055-.524-.158-1.064-.596L1.52 4.535" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-landmark"><path d="M7.642 5.478a1.835 1.835 0 0 1-2.165 2.165m2.165-2.165a1.835 1.835 0 1 0-2.164 2.165m2.164-2.165h8.715M5.477 7.643v8.714m13.044-8.714a1.835 1.835 0 0 1-2.165-2.165m2.165 2.165a1.835 1.835 0 1 0-2.164-2.165m2.165 2.165v8.714m-10.88 2.165h8.715m-8.715 0a1.835 1.835 0 0 0-2.165-2.165m2.165 2.165a1.835 1.835 0 1 1-2.164-2.165m10.879 2.165a1.835 1.835 0 0 1 2.165-2.165m-2.165 2.165a1.835 1.835 0 1 0 2.165-2.165" stroke="currentColor" stroke-width="1.5" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-more"><circle cx="12" cy="6" r="1.5" fill="currentColor" /><circle cx="12" cy="12" r="1.5" fill="currentColor" /><circle cx="12" cy="18" r="1.5" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-right"><path d="M9.104 6.207 14.896 12l-5.792 5.793" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-tag"><path d="m11.275 15.876 4.601-4.6m-2.3 6.9 2.63-2.628m-4.829-4.085v0a1.722 1.722 0 0 1-2.435 0v0a1.722 1.722 0 0 1 0-2.435v0a1.722 1.722 0 0 1 2.435 0v0a1.722 1.722 0 0 1 0 2.435Zm2.75-6.538 8.226 8.225a.93.93 0 0 1 0 1.315l-7.888 7.888a.93.93 0 0 1-1.315 0l-8.225-8.226a.93.93 0 0 1-.266-.768l.845-7.043a.93.93 0 0 1 .813-.812l7.042-.845a.93.93 0 0 1 .768.266Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 23 18" id="any-icon-share-upload"><path d="M18.247 10.176v3.133m0 0v3.133m0-3.133h-3.134m3.134 0h3.133" stroke="currentColor" stroke-width="1.4" stroke-linecap="round" /><path fill-rule="evenodd" clip-rule="evenodd" d="M3.143.857A2.826 2.826 0 0 0 .316 3.684v10.63a2.826 2.826 0 0 0 2.827 2.827H15.37a5.08 5.08 0 0 1-2.67-1.4H3.143a1.426 1.426 0 0 1-1.427-1.427v-.418l4.67-4.67a1.426 1.426 0 0 1 2.017 0l2.749 2.748.051.051a5.075 5.075 0 0 1 .316-1.664L9.393 8.235a2.826 2.826 0 0 0-3.996 0l-3.68 3.68V3.685a1.426 1.426 0 0 1 1.426-1.427H15.9a1.426 1.426 0 0 1 1.426 1.427v3.462c.497.102.967.277 1.4.512V3.684A2.826 2.826 0 0 0 15.9.857H3.143Z" fill="#949494" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-share-vehicle"><path d="m3.564 11.282 2.373-6.327a.713.713 0 0 1 .668-.463h10.791c.298 0 .564.185.668.463l2.372 6.327m-16.872 0h16.872m-16.872 0v6.525m0 0v1.512c0 .104.085.188.189.188v0a.188.188 0 0 0 .188-.188v-1.512m-.377 0h.377m16.495-6.525v6.525m0 0v1.544c0 .086-.07.156-.156.156v0a.157.157 0 0 1-.157-.157v-1.543m.313 0h-.313m-13.568-3.45.375.321m10.173-.322.25.322M3.941 17.807H20.123m-3.343-3.281v-.02c0-.256.208-.464.465-.464v0c.257 0 .465.208.465.464v.02a.465.465 0 0 1-.465.465v0a.465.465 0 0 1-.465-.465Zm-9.56 0v-.02a.465.465 0 0 0-.464-.464v0a.465.465 0 0 0-.465.464v.02c0 .257.208.465.465.465v0a.465.465 0 0 0 .464-.465Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-arrowBoard"><rect x="3.848" y="3.757" width="16.303" height="8.536" rx="1.3" stroke="currentColor" stroke-width="1.3" /><path d="m6.848 9.792 1.767-1.767-1.767-1.768M11.117 9.792l1.768-1.767-1.768-1.768M15.383 9.792l1.768-1.767-1.768-1.768" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" stroke-linejoin="round" /><path d="M12 12.292v3M10.342 18.946a1.296 1.296 0 0 1-2.593.004m2.593-.004a1.296 1.296 0 1 0-2.593 0v.004m2.593-.004h3.536m2.593 0a1.296 1.296 0 0 1-2.593 0m2.593 0a1.297 1.297 0 0 0-2.593 0m2.593 0 .528.004a1.22 1.22 0 0 0 1.22-1.22v-1.219a1.22 1.22 0 0 0-1.22-1.219H7.005a1.22 1.22 0 0 0-1.22 1.22v1.219c0 .673.546 1.22 1.22 1.22h.744" stroke="currentColor" stroke-width="1.3" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-Boomlifts"><path d="M12.74 15.577c-.147.084-.252.084-.4 0-1.682-.978-3.366-1.946-5.049-2.914-.59-.337-.79-.968-.484-1.504.326-.569.968-.716 1.578-.358.905.526 1.81 1.041 2.714 1.567 1.19.684 2.378 1.368 3.598 2.083-.673.38-1.315.747-1.956 1.126Zm-4.997-3.472c.232 0 .432-.189.432-.42a.418.418 0 0 0-.421-.432.448.448 0 0 0-.442.421c0 .221.21.431.431.431Zm9.68 5.734v-3.798c-.58-.052-1.137-.031-1.642.263-.831.474-1.652.947-2.483 1.431-.273.168-.568.326-.81.537-.452.378-.705 1.03-.642 1.567h5.576ZM7.216 7.855c0 .179-.052.242-.242.242-1.325-.01-2.64-.01-3.966 0-.19 0-.263-.042-.263-.252.01-1.81 0-3.609 0-5.418 0-.18.063-.253.242-.242 1.326.01 2.64.01 3.966 0 .21 0 .263.084.263.284-.01.894 0 1.778 0 2.672 0 .905-.01 1.81 0 2.714ZM3.661 2.963c-.178 0-.136.137-.136.232v3.86c0 .085.01.158.01.253h1.273V2.963H3.661ZM6.428 7.32V2.984H5.187V7.32h1.241Zm2.041 3.04c.526.305 1 .579 1.473.842.063.031.179.01.242-.032 2.094-1.2 4.177-2.41 6.26-3.608a66.1 66.1 0 0 0 1.168-.674c.431-.252.578-.694.357-1.104-.22-.4-.684-.516-1.125-.263-2.105 1.22-4.22 2.44-6.323 3.66-.663.38-1.336.769-2.052 1.179Zm4.282 10.584c.063-.284.116-.547.168-.82.148-.011.306-.022.432-.022-.421-.579-.831-1.136-1.252-1.704h6.112c-.147.168-.315.294-.4.463-.147.284-.326.452-.673.4-.01 0-.02.02-.031.031l-.053.053c.074.052.168.094.232.157.063.063.136.137.136.221.032.41.042.82.053 1.231-1.526-.01-3.125-.01-4.724-.01Zm3.714-1.642c-.147-.105-.4-.063-.6-.094-.01.031-.031.063-.042.084.263.253.505.537.81.747.137.095.379.042.568.063.01-.031.032-.063.042-.084-.263-.232-.494-.516-.778-.715Zm-2.536.022c-.157-.106-.4-.085-.61-.116-.01.02-.01.042-.02.063.262.274.504.579.81.81.115.095.357.01.546.01l.032-.063c-.253-.242-.484-.515-.758-.704Zm1.39.694c.146.105.399.073.599.105.01-.032.031-.063.042-.084-.263-.253-.505-.547-.8-.758-.136-.094-.378-.042-.568-.063-.01.032-.02.053-.031.085.242.252.473.526.757.715Z" fill="currentColor" /><path d="M10.771 21.803a1.707 1.707 0 0 1-1.736-1.683 1.729 1.729 0 0 1 1.715-1.746c.947 0 1.715.757 1.726 1.704 0 .957-.747 1.715-1.705 1.725Zm0-2.504a.815.815 0 0 0-.81.8c0 .431.379.789.8.789.42 0 .768-.358.778-.779 0-.452-.336-.81-.768-.81Zm8.785-.925c.936 0 1.715.768 1.715 1.714 0 .947-.758 1.705-1.715 1.715a1.706 1.706 0 0 1-1.725-1.694c0-.967.757-1.735 1.725-1.735Zm.79 1.714a.811.811 0 0 0-.8-.789.797.797 0 0 0-.79.8c0 .431.369.8.79.789.441-.01.8-.368.8-.8Zm-2.484-6.06v3.809c.463 0 .916.021 1.368-.01.305-.022.526-.316.526-.663.01-.81.01-1.631 0-2.441-.01-.368-.274-.663-.631-.684-.4-.031-.82-.01-1.263-.01ZM7.647 4.772v2.798c.294 0 .6.01.883-.01.043 0 .116-.106.116-.169.01-.2.01-.4.01-.62h3.262V5.59H8.657c0-.22-.01-.41 0-.6.01-.157-.042-.231-.21-.22-.264.01-.527 0-.8 0Zm8.5.63H12.16c0 .485 0 .948.01 1.41 0 .043.106.127.158.127.38.01.747.01 1.126 0a.43.43 0 0 0 .19-.053l2.398-1.389c.032-.01.063-.052.105-.094ZM3.07 4.972h3.84v.347H3.07V4.97Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-bulldozer"><path d="M3.025 10.486a.373.373 0 0 0-.374.373v.828a.373.373 0 0 0 .747 0v-.828a.373.373 0 0 0-.373-.373Zm10.686 5.233H6.318a.998.998 0 0 0-1.922.373.997.997 0 0 0 1.922.373h7.393a.998.998 0 0 0 1.922-.373.997.997 0 0 0-1.921-.373Zm-9.315-5.233a.373.373 0 0 0-.373.373v.828a.373.373 0 0 0 .747 0v-.828a.373.373 0 0 0-.374-.373Zm1.37 1.574a.373.373 0 0 0 .374-.373v-.828a.373.373 0 0 0-.747 0v.828c0 .206.167.373.373.373Z" fill="currentColor" /><path d="M22.578 11.591c.143-.467.03-.998-.34-1.366l-3.97-3.97a1.743 1.743 0 0 0-.113-.114l-.013-.013a1.524 1.524 0 0 0-1.011-.38c-.411 0-.796.16-1.085.448L12.99 9.251l-.979-3.457h.203a.373.373 0 0 0 0-.747H8.15a1.51 1.51 0 0 0-1.51 1.51v2.147H2.09a.56.56 0 0 0-.4.165l-.918.92a.56.56 0 0 0-.166.398v2.65a.56.56 0 0 0 .166.4l.976.976a.56.56 0 0 0 .399.165h1.277a2.663 2.663 0 0 0-.803 1.906 2.671 2.671 0 0 0 2.668 2.668h9.455a2.672 2.672 0 0 0 2.668-2.668 2.67 2.67 0 0 0-2.668-2.669h-.9l2.822-2.86.014-.857.687-.686 2.941 2.944c.115.115.247.206.386.271l-1.126 1.912-.16-.094a.325.325 0 0 0-.444.115l-.049.085a.325.325 0 0 0 .116.445l.834.491a2.34 2.34 0 0 0 2.714-3.79ZM12.312 9.595h-1.253l-.726-.726a.56.56 0 0 0-.4-.165H9.25v-2.91h1.984l1.078 3.8ZM7.387 6.556c0-.42.342-.762.763-.762h.357v2.91h-1.12V6.556ZM2.22 13.63l-.868-.868v-2.498l.812-.812H9.86l.725.724a.56.56 0 0 0 .4.165h1.386v1.841H8.604a.373.373 0 0 0 0 .747h3.768v.686H5.288c-.097 0-.195.005-.289.017H2.22v-.002Zm12.523.732c1.06 0 1.922.862 1.922 1.922s-.862 1.922-1.922 1.922H5.288a1.924 1.924 0 0 1-1.922-1.922c0-1.06.862-1.922 1.922-1.922h9.455Zm1.193-4.778-.015.86-2.803 2.84V10.18l3.456-3.455a.78.78 0 0 1 .555-.23.787.787 0 0 1 .555 1.34l-1.748 1.75Zm4.04 1.183-2.084-2.083.321-.321c.203-.203.336-.448.401-.708l2.237 2.237a1.365 1.365 0 0 0-.875.875Zm.86-.015a.618.618 0 1 1 .875.874.618.618 0 0 1-.875-.874Zm1.588 3.422a1.593 1.593 0 0 1-2.182.563l-.032-.02 1.285-2.181c.24-.039.473-.143.667-.312.515.5.642 1.304.262 1.95Z" fill="currentColor" /><path d="M3.025 10.486a.373.373 0 0 0-.374.373v.828a.373.373 0 0 0 .747 0v-.828a.373.373 0 0 0-.373-.373Zm10.686 5.233H6.318a.998.998 0 0 0-1.922.373.997.997 0 0 0 1.922.373h7.393a.998.998 0 0 0 1.922-.373.997.997 0 0 0-1.921-.373Zm-9.315-5.233a.373.373 0 0 0-.373.373v.828a.373.373 0 0 0 .747 0v-.828a.373.373 0 0 0-.374-.373Zm1.37 1.574a.373.373 0 0 0 .374-.373v-.828a.373.373 0 0 0-.747 0v.828c0 .206.167.373.373.373Z" stroke="currentColor" stroke-width=".45" /><path d="M22.578 11.591c.143-.467.03-.998-.34-1.366l-3.97-3.97a1.743 1.743 0 0 0-.113-.114l-.013-.013a1.524 1.524 0 0 0-1.011-.38c-.411 0-.796.16-1.085.448L12.99 9.251l-.979-3.457h.203a.373.373 0 0 0 0-.747H8.15a1.51 1.51 0 0 0-1.51 1.51v2.147H2.09a.56.56 0 0 0-.4.165l-.918.92a.56.56 0 0 0-.166.398v2.65a.56.56 0 0 0 .166.4l.976.976a.56.56 0 0 0 .399.165h1.277a2.663 2.663 0 0 0-.803 1.906 2.671 2.671 0 0 0 2.668 2.668h9.455a2.672 2.672 0 0 0 2.668-2.668 2.67 2.67 0 0 0-2.668-2.669h-.9l2.822-2.86.014-.857.687-.686 2.941 2.944c.115.115.247.206.386.271l-1.126 1.912-.16-.094a.325.325 0 0 0-.444.115l-.049.085a.325.325 0 0 0 .116.445l.834.491a2.34 2.34 0 0 0 2.714-3.79ZM12.312 9.595h-1.253l-.726-.726a.56.56 0 0 0-.4-.165H9.25v-2.91h1.984l1.078 3.8ZM7.387 6.556c0-.42.342-.762.763-.762h.357v2.91h-1.12V6.556ZM2.22 13.63l-.868-.868v-2.498l.812-.812H9.86l.725.724a.56.56 0 0 0 .4.165h1.386v1.841H8.604a.373.373 0 0 0 0 .747h3.768v.686H5.288c-.097 0-.195.005-.289.017H2.22v-.002Zm12.523.732c1.06 0 1.922.862 1.922 1.922s-.862 1.922-1.922 1.922H5.288a1.924 1.924 0 0 1-1.922-1.922c0-1.06.862-1.922 1.922-1.922h9.455Zm1.193-4.778-.015.86-2.803 2.84V10.18l3.456-3.455a.78.78 0 0 1 .555-.23.787.787 0 0 1 .555 1.34l-1.748 1.75Zm4.04 1.183-2.084-2.083.321-.321c.203-.203.336-.448.401-.708l2.237 2.237a1.365 1.365 0 0 0-.875.875Zm.86-.015a.618.618 0 1 1 .875.874.618.618 0 0 1-.875-.874Zm1.588 3.422a1.593 1.593 0 0 1-2.182.563l-.032-.02 1.285-2.181c.24-.039.473-.143.667-.312.515.5.642 1.304.262 1.95Z" stroke="currentColor" stroke-width=".45" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-bumperPullTrailer"><path d="M1.613 11.92H4.76m-3.147 0v3.02m0-3.02.004-3.552H6.81m-2.05 3.552-3.146 3.02m3.147-3.02h2.045m-5.192 3.02v.692m9.82-3.712a1.84 1.84 0 0 0-.034 1.222 1.845 1.845 0 1 0 3.48-1.222m-3.446 0H6.805m4.628 0a1.85 1.85 0 0 1 .563-.775m2.883.775a1.85 1.85 0 0 0-1.723-1.185 1.835 1.835 0 0 0-1.16.41m2.883.775h2.063m3.446 0a1.85 1.85 0 0 0-1.723-1.185 1.835 1.835 0 0 0-1.477.74m3.2.445h1.991l.004-3.552h-5.191m3.196 3.552a1.84 1.84 0 0 1 .034 1.222 1.845 1.845 0 0 1-3.514 0l-.088-.563c0-.232.043-.454.122-.659m0 0c.061-.16.144-.31.246-.445M12 8.368H6.81m5.191 0h5.192m-5.192 0-.004 2.777M6.81 8.368l-.004 3.552m10.387-3.552-.004 3.107" stroke="currentColor" stroke-width="1.2" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-bus"><path d="M15.75 5.626c1.925.005 3.22.021 3.22.058 0 .098 1.496 1.55 2.428 2.439a.75.75 0 0 1 .232.543v2.818m-5.88-5.858v4.448m0-4.448c-1.565-.003-3.546.001-5.587.01m11.467 5.848v3.613a.75.75 0 0 1-.75.75H19.46m2.171-4.363H16.5a.75.75 0 0 1-.75-.75v-.66m-13.383 0V6.428a.75.75 0 0 1 .744-.75l2.715-.019m-3.459 4.415v5.023c0 .415.336.75.75.75h1.209m-1.959-5.773h3.459m9.924 0h-5.587m0-4.438v4.438m0-4.438c-1.459.006-2.948.014-4.337.023m4.337 4.415H5.826m0-4.415v4.415m9.515 5.773a2.103 2.103 0 0 1 4.118 0m-4.118 0a2.102 2.102 0 1 0 4.118 0m-4.118 0H8.444m-4.118 0a2.103 2.103 0 0 1 4.118 0m-4.118 0a2.102 2.102 0 1 0 4.118 0" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-container"><path d="M4.286 10.393h5.143m-5.143 0L5.668 9.01a1.5 1.5 0 0 1 1.06-.44h.45m-2.892 1.822a2.036 2.036 0 0 0-2.036 2.036v2.357c0 .236.192.428.429.428h1.49m5.26-4.821V8.57m0 1.822v4.821m-2.25-6.643h2.25m-2.25 0V6.643c0-.355.287-.643.642-.643H9.43m0 2.571V6m0 0h11.464c.473 0 .857.384.857.857v7.5a.857.857 0 0 1-.857.857h-.205m-11.26 0H8.26m1.17 0h.955m-6.214 0a2.14 2.14 0 0 1 2.045-1.5 2.14 2.14 0 0 1 2.044 1.5m-4.09 0a2.143 2.143 0 1 0 4.09 0m2.125 0a2.14 2.14 0 0 1 2.045-1.5 2.14 2.14 0 0 1 2.044 1.5m-4.09 0a2.143 2.143 0 1 0 4.09 0m0 0h2.125m4.09 0a2.14 2.14 0 0 0-2.045-1.5 2.14 2.14 0 0 0-2.045 1.5m4.09 0a2.143 2.143 0 1 1-4.09 0" stroke="currentColor" stroke-width="1.5" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-dump"><path d="M2.695 16.248a.65.65 0 1 0 0 1.3v-1.3Zm15.422 1.3a.65.65 0 1 0 0-1.3v1.3Zm-14.268-.541a.65.65 0 1 0-1.3 0h1.3Zm-1.3 4.088a.65.65 0 1 0 1.3 0h-1.3Zm4.575-3.629a.65.65 0 0 0-.92-.92l.92.92Zm-4.388 2.55a.65.65 0 0 0 .919.919l-.92-.92ZM8.27 3.014l.325-.563-.325.563Zm12.624 7.288-.325.563.325-.563Zm.299 1.117.563.325-.563-.325Zm-2.601 4.505-.563-.325.563.325Zm-1.117.3-.325.562.325-.563ZM4.852 8.934l-.325.563.325-.563Zm-.3-1.116-.562-.325.563.325Zm2.602-4.506.563.325-.563-.325Zm.62 7.119.557.334.358-.597-.62-.316-.296.579Zm3.976-5.087a.65.65 0 0 0-1.11-.677l1.11.677Zm-4.108 4.24a.65.65 0 0 0 1.11.677l-1.11-.677Zm7.602-2.23a.65.65 0 0 0-1.097-.697l1.097.698Zm-4.597 4.803a.65.65 0 0 0 1.097.698l-1.097-.698Zm7.747-2.896a.65.65 0 0 0-1.124-.653l1.124.653ZM14.01 14.22a.65.65 0 0 0 1.124.653l-1.124-.653Zm-5.55 4.108.575.304-.574-.304Zm9-.817a.168.168 0 0 1-.168.167v1.3c.81 0 1.467-.657 1.467-1.467h-1.3Zm-9.904.167a.168.168 0 0 1-.168-.167h-1.3c0 .81.657 1.467 1.468 1.467v-1.3Zm3.558 1.468c0 .609-.494 1.103-1.103 1.103v1.3a2.403 2.403 0 0 0 2.403-2.403h-1.3Zm-1.103 1.103a1.103 1.103 0 0 1-1.102-1.103h-1.3a2.403 2.403 0 0 0 2.402 2.403v-1.3Zm6.752-1.103c0 .609-.494 1.103-1.103 1.103v1.3a2.403 2.403 0 0 0 2.403-2.403h-1.3ZM15.66 20.25c-.61 0-1.103-.494-1.103-1.103h-1.3a2.403 2.403 0 0 0 2.403 2.403v-1.3ZM2.55 17.007v4.088h1.3v-4.088h-1.3Zm3.654-.46-3.468 3.469.919.919 3.469-3.469-.92-.92Zm1.742-12.97 12.623 7.288.65-1.126L8.595 2.451l-.65 1.126Zm12.623 7.288c.08.046.107.149.061.229l1.126.65c.405-.702.165-1.6-.537-2.005l-.65 1.126Zm.061.229-2.601 4.505 1.126.65 2.601-4.505-1.126-.65Zm-2.601 4.505a.168.168 0 0 1-.229.062l-.65 1.125c.702.406 1.6.165 2.005-.537l-1.126-.65Zm-.229.062L5.177 8.372l-.65 1.126 12.623 7.288.65-1.126ZM5.177 8.372a.168.168 0 0 1-.062-.228l-1.125-.65c-.406.701-.165 1.599.537 2.004l.65-1.126Zm-.062-.228 2.602-4.506-1.126-.65L3.99 7.494l1.125.65Zm2.602-4.506a.168.168 0 0 1 .229-.061l.65-1.126a1.468 1.468 0 0 0-2.005.537l1.126.65Zm-.502 7.239.263.134.59-1.158-.264-.135-.59 1.159Zm3.425-6.209L7.642 9.585l1.11.677 2.998-4.917-1.11-.677Zm3.507 1.99-3.5 5.5 1.097.698 3.5-5.5-1.097-.698Zm3.123 1.95-3.26 5.613 1.124.653 3.26-5.612-1.124-.653Zm-5.133 9.418a2.403 2.403 0 0 0-2.126-1.282v1.3c.423 0 .79.237.977.589l1.149-.607Zm-2.126-1.282c-.923 0-1.723.52-2.125 1.282l1.15.607c.185-.352.553-.589.975-.589v-1.3Zm7.774 1.282a2.403 2.403 0 0 0-2.125-1.282v1.3c.422 0 .79.237.976.589l1.15-.607Zm-2.125-1.282c-.923 0-1.724.52-2.126 1.282l1.15.607c.186-.352.554-.589.976-.589v-1.3Zm-8.645.804h10.817v-1.3H7.015v1.3Zm.373-.036c0-.05.021-.095.057-.126l-.86-.975a1.466 1.466 0 0 0-.497 1.1h1.3Zm-4.693.036h4.32v-1.3h-4.32v1.3Zm15.137 0h.285v-1.3h-.285v1.3Zm-3.275 1.599c0-.187.046-.361.127-.514l-1.15-.607a2.396 2.396 0 0 0-.277 1.12h1.3Zm2.845-1.761a.166.166 0 0 1 .057.126h1.3c0-.44-.193-.833-.497-1.101l-.86.975Zm-.766 1.247c.08.153.127.327.127.514h1.3c0-.404-.1-.786-.278-1.121l-1.15.607Zm-7.727.514c0-.187.046-.361.126-.514l-1.15-.607a2.395 2.395 0 0 0-.276 1.12h1.3Zm2.079-.514c.08.153.126.327.126.514h1.3c0-.404-.1-.786-.277-1.121l-1.15.607Zm6.304-.954h-.081v1.3h.08v-1.3Zm-3.183 0h-2.547v1.3h2.547v-1.3Zm-5.648 0h-.905v1.3h.905v-1.3Zm-1.245-7.581-3.88 6.466 1.115.669 3.88-6.467-1.115-.668Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-excavator"><path d="M22.066 16.565h-.883a.328.328 0 0 1-.328-.327 2.514 2.514 0 0 0-2.503-2.504 2.514 2.514 0 0 0-2.503 2.504c0 .18-.148.327-.328.327h-1.57a.328.328 0 0 1-.328-.327 2.514 2.514 0 0 0-2.503-2.504 2.514 2.514 0 0 0-2.503 2.504c0 .18-.147.327-.327.327h-.72a.328.328 0 0 1-.328-.327v-4.45a.33.33 0 0 1 .262-.312L20.48 8.695a.33.33 0 0 1 .36.18l1.505 3.19a.476.476 0 0 1 .033.148v4.057c.016.148-.13.295-.31.295Zm-.573-.655h.246v-3.648l-1.375-2.88-12.467 2.667v3.878h.082a3.16 3.16 0 0 1 6.283 0h.965a3.16 3.16 0 0 1 3.141-2.83c1.62-.017 2.962 1.226 3.125 2.813Z" fill="#020202" /><path d="M20.512 13.276a.164.164 0 0 1-.163-.163V11.95l-.819-1.718c-.032-.082 0-.18.082-.213s.18 0 .213.082l.834 1.75c.017.017.017.05.017.066v1.21c0 .083-.066.148-.164.148ZM7.57 16.565H5.82a.328.328 0 0 1-.328-.327c0-.18.147-.328.327-.328h1.767c.18 0 .328.148.328.328a.354.354 0 0 1-.344.327Z" fill="#020202" /><path d="M5.82 18.381H1.941a.32.32 0 0 1-.246-.115.342.342 0 0 1-.065-.278c.033-.18.965-4.368 2.732-7.248a.337.337 0 0 1 .278-.164H5.82c.18 0 .328.148.328.328v7.15c-.017.18-.148.327-.328.327Zm-3.47-.654h3.142v-6.512h-.687c-1.325 2.29-2.176 5.415-2.454 6.512Zm16.003 1.668a3.17 3.17 0 0 1-3.158-3.157 3.17 3.17 0 0 1 3.157-3.158 3.17 3.17 0 0 1 3.158 3.158 3.15 3.15 0 0 1-3.158 3.157Zm-.001-5.66a2.514 2.514 0 0 0-2.503 2.503 2.514 2.514 0 0 0 2.503 2.503 2.513 2.513 0 0 0 2.503-2.503 2.503 2.503 0 0 0-2.503-2.504Z" fill="#020202" /><path d="M18.353 17.612a1.383 1.383 0 0 1-1.374-1.374c0-.753.621-1.375 1.374-1.375.753 0 1.374.622 1.374 1.375 0 .752-.621 1.374-1.374 1.374Zm0-2.422c-.573 0-1.047.475-1.047 1.048 0 .572.474 1.047 1.047 1.047s1.047-.475 1.047-1.047c0-.573-.474-1.048-1.047-1.048Zm-7.232 4.205a3.17 3.17 0 0 1-3.158-3.157 3.17 3.17 0 0 1 3.158-3.158 3.17 3.17 0 0 1 3.158 3.158 3.16 3.16 0 0 1-3.158 3.157Zm0-5.66a2.514 2.514 0 0 0-2.503 2.503 2.514 2.514 0 0 0 2.503 2.503 2.514 2.514 0 0 0 2.503-2.503 2.514 2.514 0 0 0-2.503-2.504Z" fill="#020202" /><path d="M11.12 17.612a1.383 1.383 0 0 1-1.374-1.374c0-.753.622-1.375 1.374-1.375.753 0 1.375.622 1.375 1.375 0 .752-.622 1.374-1.374 1.374Zm0-2.421c-.572 0-1.047.474-1.047 1.047 0 .572.475 1.047 1.047 1.047.573 0 1.048-.475 1.048-1.047 0-.573-.475-1.047-1.047-1.047Zm.573-4.238-.638-.131L12.12 5.88a1.644 1.644 0 0 1 1.603-1.277h5.367c.916 0 1.652.737 1.652 1.653v2.994h-.654V6.257a.992.992 0 0 0-.998-.998h-5.367a.98.98 0 0 0-.965.769l-1.064 4.925Z" fill="#020202" /><path d="M13.478 10.675h-.033a.17.17 0 0 1-.13-.196l.735-3.764a.16.16 0 0 1 .164-.13h4.287c.082 0 .163.065.163.163v2.716a.164.164 0 0 1-.327 0V6.928h-3.976l-.72 3.616a.16.16 0 0 1-.163.13Z" fill="#020202" /><path d="M20.855 16.238c0 .18.148.327.328.327h.883c.18 0 .327-.148.311-.295v-4.057a.476.476 0 0 0-.033-.148l-1.505-3.19a.33.33 0 0 0-.36-.18L7.504 11.476a.33.33 0 0 0-.262.311v4.45c0 .18.148.328.328.328m13.285-.327a2.514 2.514 0 0 0-2.503-2.504m2.503 2.504a2.513 2.513 0 0 1-2.503 2.503 2.514 2.514 0 0 1-2.503-2.503m5.006 0a2.503 2.503 0 0 0-2.503-2.504m0 0a2.514 2.514 0 0 0-2.503 2.504m0 0c0 .18-.148.327-.328.327h-1.57a.328.328 0 0 1-.328-.327 2.514 2.514 0 0 0-2.503-2.504 2.514 2.514 0 0 0-2.503 2.504c0 .18-.147.327-.327.327h-.72m0 0H5.82a.328.328 0 0 1-.328-.327c0-.18.147-.328.327-.328h1.767c.18 0 .328.148.328.328a.354.354 0 0 1-.344.327Zm13.923-.655h.246v-3.648l-1.375-2.88-12.467 2.667v3.878h.082a3.16 3.16 0 0 1 6.283 0h.965a3.16 3.16 0 0 1 3.141-2.83c1.62-.017 2.962 1.226 3.125 2.813Zm-.98-2.634a.164.164 0 0 1-.165-.163V11.95l-.818-1.718c-.032-.082 0-.18.082-.213s.18 0 .213.082l.834 1.75c.017.017.017.05.017.066v1.21c0 .083-.066.148-.164.148ZM5.818 18.381H1.942a.32.32 0 0 1-.246-.115.342.342 0 0 1-.065-.278c.033-.18.965-4.368 2.732-7.248a.337.337 0 0 1 .278-.164H5.82c.18 0 .328.148.328.328v7.15c-.017.18-.148.327-.328.327Zm-3.468-.654h3.141v-6.512h-.687c-1.325 2.29-2.176 5.415-2.454 6.512Zm16.002 1.668a3.17 3.17 0 0 1-3.158-3.157 3.17 3.17 0 0 1 3.157-3.158 3.17 3.17 0 0 1 3.158 3.158 3.15 3.15 0 0 1-3.158 3.157Zm0-1.783a1.383 1.383 0 0 1-1.374-1.374c0-.753.621-1.375 1.374-1.375.753 0 1.374.622 1.374 1.375 0 .752-.621 1.374-1.374 1.374Zm0-2.422c-.573 0-1.047.475-1.047 1.048 0 .572.474 1.047 1.047 1.047s1.047-.475 1.047-1.047c0-.573-.474-1.048-1.047-1.048Zm-7.232 4.205a3.17 3.17 0 0 1-3.158-3.157 3.17 3.17 0 0 1 3.158-3.158 3.17 3.17 0 0 1 3.158 3.158 3.16 3.16 0 0 1-3.158 3.157Zm0-5.66a2.514 2.514 0 0 0-2.503 2.503 2.514 2.514 0 0 0 2.503 2.503 2.514 2.514 0 0 0 2.503-2.503 2.514 2.514 0 0 0-2.503-2.504Zm0 3.877a1.383 1.383 0 0 1-1.375-1.374c0-.753.622-1.375 1.374-1.375.753 0 1.375.622 1.375 1.375 0 .752-.622 1.374-1.374 1.374Zm0-2.421c-.573 0-1.048.474-1.048 1.047 0 .572.475 1.047 1.047 1.047.573 0 1.048-.475 1.048-1.047 0-.573-.475-1.047-1.047-1.047Zm.572-4.238-.638-.131L12.12 5.88a1.644 1.644 0 0 1 1.603-1.277h5.367c.916 0 1.652.737 1.652 1.653v2.994h-.654V6.257a.992.992 0 0 0-.998-.998h-5.367a.98.98 0 0 0-.965.769l-1.064 4.925Zm1.785-.278h-.033a.17.17 0 0 1-.13-.196l.735-3.764a.16.16 0 0 1 .164-.13h4.287c.082 0 .163.065.163.163v2.716a.164.164 0 0 1-.327 0V6.928h-3.976l-.72 3.616a.16.16 0 0 1-.163.13Z" stroke="currentColor" stroke-width=".6" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-Flatbed"><g clip-path="url(#any-icon-vehicle-Flatbed_a)"><path d="M1.804 11.525H.59V7.768h22.818v3.757h-.341m-21.263 0h3.758m-3.758 0v3.985m3.758-3.985L1.804 15.51m3.758-3.985H7.35M1.804 15.51v.721m5.547-4.706v2.581h1.816m-1.816-2.58h2.76m12.956 0v2.58h-2.042m2.042-2.58H20.08m-6.647 2.58a2.238 2.238 0 0 0-.944-2.58m.944 2.58a2.24 2.24 0 0 1-4.267 0m4.267 0h3.324m-4.268-2.58a2.23 2.23 0 0 0-1.19-.342 2.23 2.23 0 0 0-1.189.341m2.379 0h5.212m-7.59 0a2.238 2.238 0 0 0-.945 2.581m11.858 0a2.238 2.238 0 0 0-.944-2.58m.944 2.58a2.24 2.24 0 0 1-4.267 0m3.323-2.58a2.23 2.23 0 0 0-1.19-.342 2.23 2.23 0 0 0-1.189.341m0 0a2.238 2.238 0 0 0-.944 2.581" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></g><defs><clipPath id="any-icon-vehicle-Flatbed_a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-forklift"><path d="M21.213 17.907h-3.348V3.473a.656.656 0 1 0-1.31 0V13.97H15.06l-1.875-5.63a3.274 3.274 0 0 0-3.11-2.243H6.723a.656.656 0 0 0-.656.656v5.905H2.788a.657.657 0 0 0-.655.656v5.249a.656.656 0 0 0 .655.656h.656a1.967 1.967 0 1 0 3.933 0h2.715a2.62 2.62 0 0 0 2.53 1.968 2.626 2.626 0 0 0 2.621-2.624v-.656h1.311v.656a.655.655 0 0 0 .656.656h4.003a.656.656 0 0 0 0-1.312Zm-9.272-9.152 1.737 5.215H11.51l-1.548-1.032C9.797 11.526 8.77 10.38 7.377 10.1V7.41h2.699a1.964 1.964 0 0 1 1.865 1.345Zm-4.564 2.712a1.92 1.92 0 0 1 1.19 1.191h-1.19v-1.191ZM5.41 19.875a.656.656 0 1 1 0-1.313.656.656 0 0 1 0 1.313Zm1.456-1.968c-.36-.4-.877-.656-1.456-.656s-1.094.256-1.455.656h-.511V13.97h5.701l1.802 1.202c.108.072.234.11.364.11h2.621v1.022a2.538 2.538 0 0 0-1.31-.365 2.62 2.62 0 0 0-2.53 1.968H6.866Zm5.755 1.968a1.312 1.312 0 1 1-.002-2.623 1.312 1.312 0 0 1 .002 2.623Zm2.622-3.28v-1.312h1.311v1.312h-1.31Z" fill="currentColor" stroke="currentColor" stroke-width=".2" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-goods"><path d="m13.383 5.103-.324.563.325-.563Zm8.372 4.833.325-.562-.325.562Zm.199.741.563.325-.563-.325Zm-1.725 2.988-.563-.325.563.325Zm-.741.199.325-.563-.325.563ZM11.116 9.03l-.325.563.325-.563Zm-.198-.74-.563-.326.563.325ZM12.643 5.3l.563.325-.563-.325Zm2.934 1.48a.65.65 0 0 0-1.11-.677l1.11.677Zm-3.072 2.54a.65.65 0 0 0 1.11.677l-1.11-.676Zm5.514-1.095a.65.65 0 0 0-1.119-.662l1.119.662Zm-3.083 2.654a.65.65 0 1 0 1.118.663l-1.118-.662Zm5.115-1.155a.65.65 0 1 0-1.126-.65l1.126.65Zm-2.826 2.295a.65.65 0 1 0 1.125.65l-1.125-.65ZM6.683 14.03h.65a.65.65 0 0 0-.65-.65v.65Zm-2.539 0v-.65a.65.65 0 0 0-.4.137l.4.513Zm-2.167 1.686-.4-.513a.65.65 0 0 0-.25.513h.65Zm0 .952h-.65c0 .359.29.65.65.65v-.65Zm7.335-8.336h.65a.65.65 0 0 0-.65-.65v.65Zm-1.34 0v-.65a.65.65 0 0 0-.439.17l.44.48ZM7.243 9l-.439-.479a.65.65 0 0 0-.21.48h.65Zm13.233 5.409h.65a.65.65 0 0 0-.65-.65v.65Zm-10.603 0v-.65a.65.65 0 0 0-.65.65h.65Zm10.603 2.259v.65a.65.65 0 0 0 .65-.65h-.65Zm-1.845 0-.274.59.274-.59Zm-1.015 0 .274.59-.274-.59Zm-3.122 0-.274.59.274-.59Zm-1.015 0 .274.59-.274-.59Zm-4.167 0v.65-.65Zm-5.165 0-.274.59.274-.59ZM13.06 5.666l8.371 4.833.65-1.125L13.71 4.54l-.65 1.126Zm8.371 4.833a.108.108 0 0 1-.04-.147l1.127.65c.329-.57.134-1.3-.437-1.628l-.65 1.125Zm-.04-.147-1.724 2.988 1.125.65 1.726-2.988-1.126-.65Zm-1.724 2.988a.108.108 0 0 1 .147-.04l-.65 1.127c.57.329 1.3.133 1.628-.437l-1.125-.65Zm.147-.04-8.372-4.833-.65 1.126 8.372 4.834.65-1.126Zm-8.372-4.833c.052.03.07.096.04.147l-1.126-.65c-.33.57-.134 1.3.436 1.629l.65-1.126Zm.04.147 1.725-2.988-1.126-.65-1.725 2.988 1.126.65Zm1.725-2.988a.108.108 0 0 1-.147.04l.65-1.126c-.57-.33-1.3-.134-1.63.436l1.127.65Zm1.26.478-1.96 3.218 1.11.676 1.96-3.217-1.11-.677Zm2.434 1.46-1.964 3.316 1.118.663 1.965-3.317-1.119-.662Zm2.025 1.51-1.7 2.946 1.125.65 1.7-2.945-1.125-.65ZM7.333 16.669V14.03h-1.3v2.638h1.3Zm-.65-3.288H4.144v1.3h2.54v-1.3Zm-2.938.137-2.167 1.686.798 1.026 2.167-1.686-.798-1.026Zm-2.418 2.199v.952h1.3v-.952h-1.3Zm.455 2.047c0 1.026.831 1.857 1.857 1.857v-1.3a.557.557 0 0 1-.557-.557h-1.3ZM3.64 19.62a1.857 1.857 0 0 0 1.857-1.857h-1.3c0 .308-.25.557-.557.557v1.3Zm.995-5.65V11.9h-1.3v2.07h1.3Zm0-2.07a.04.04 0 0 1 .04-.039v-1.3c-.74 0-1.34.6-1.34 1.34h1.3Zm.04-.039h2.759v-1.3h-2.76v1.3Zm4.638-4.18h-1.34v1.3h1.34v-1.3Zm-1.779.172-.729.668.879.958.729-.668-.879-.958Zm12.943 5.906H9.873v1.3h10.603v-1.3Zm.65 2.909v-2.259h-1.3v2.259h1.3Zm-8.996 1.095c0 1.026.831 1.857 1.857 1.857v-1.3a.557.557 0 0 1-.557-.557h-1.3Zm1.857 1.857a1.857 1.857 0 0 0 1.857-1.857h-1.3c0 .308-.25.557-.557.557v1.3Zm2.28-1.857c0 1.026.83 1.857 1.856 1.857v-1.3a.557.557 0 0 1-.556-.557h-1.3Zm1.856 1.857a1.857 1.857 0 0 0 1.857-1.857h-1.3c0 .308-.249.557-.557.557v1.3Zm-5.61-9.947-2.8 4.386 1.097.7 2.798-4.387-1.095-.7Zm4.83 6.405a1.857 1.857 0 0 0-1.076 1.685h1.3c0-.223.13-.417.323-.506l-.547-1.179Zm2.637 1.685c0-.748-.442-1.39-1.076-1.685l-.547 1.18c.192.088.323.282.323.505h1.3Zm-1.857-1.857c-.277 0-.542.061-.78.172l.547 1.18a.553.553 0 0 1 .233-.052v-1.3Zm.781.172a1.852 1.852 0 0 0-.78-.172v1.3c.084 0 .163.019.233.051l.547-1.179Zm-.273 1.24h1.845v-1.3h-1.845v1.3Zm-2.787.445c0-.748-.442-1.39-1.076-1.685l-.548 1.18c.192.088.324.282.324.505h1.3Zm-2.638-1.685a1.857 1.857 0 0 0-1.076 1.685h1.3c0-.223.13-.417.323-.506l-.547-1.179Zm.78-.172c-.277 0-.542.061-.78.172l.547 1.18a.553.553 0 0 1 .234-.052v-1.3Zm.508 1.412h3.122v-1.3h-3.122v1.3Zm.274-1.24a1.852 1.852 0 0 0-.781-.172v1.3c.085 0 .163.019.233.051l.547-1.179ZM6.592 9v7.668h1.3V9h-1.3Zm.09 8.318h.56v-1.3h-.56v1.3Zm3.28-.65V8.332h-1.3v8.336h1.3Zm-.09.65h3.606v-1.3H9.873v1.3Zm-.65-2.909v2.259h1.3v-2.259h-1.3Zm.09 2.909h.56v-1.3h-.561v1.3Zm0-1.3h-2.07v1.3h2.07v-1.3Zm-6.456.06a1.857 1.857 0 0 0-1.075 1.685h1.3c0-.223.131-.416.323-.506l-.548-1.178Zm2.639 1.685c0-.747-.441-1.39-1.075-1.684l-.548 1.178c.192.09.323.283.323.506h1.3Zm-1.857-1.857c-.278 0-.544.062-.782.173l.548 1.178a.553.553 0 0 1 .234-.05v-1.3Zm.782.173a1.852 1.852 0 0 0-.782-.173v1.3c.085 0 .164.019.234.052l.548-1.18Zm-2.444 1.239H3.13v-1.3H1.977v1.3Zm2.17 0h2.536v-1.3H4.147v1.3Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-gooseneckTrailer"><g clip-path="url(#any-icon-vehicle-gooseneckTrailer_a)"><path d="M6.64 12v1a1 1 0 0 0 1 1h5.791m-6.79-2c0-.552.447 1.17 1 1.17h14c.552 0 1.719.028 1.719.58v.852S22.193 14 21.64 14h-1.4m-13.6-2v4m0-4V9.535a1 1 0 0 0-.445-.832L5.141 8H1.974a1 1 0 0 0-.6.2l-.333.25a1 1 0 0 0-.4.8v.25m5 6.5h2m8.23-2a1.31 1.31 0 1 1-2.44 0m2.44 0a1.311 1.311 0 0 0-2.44 0m2.44 0h1.93m2.44 0a1.311 1.311 0 1 1-2.44 0m2.44 0a1.311 1.311 0 0 0-2.44 0" stroke="currentColor" stroke-width="1.3" stroke-linecap="round" /></g><defs><clipPath id="any-icon-vehicle-gooseneckTrailer_a"><path fill="#fff" d="M0 0h24v24H0z" /></clipPath></defs></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-heavyDutyTruck"><path d="M12.963 4.5h2.1v5.379m0 3.63v3.41m0-3.41v-.613m0 .613H.98v3.41H2.06m13.002 0h.962m-.962 0h-.219m.22-7.04h4.416v3.018m-4.417-3.018v3.018m4.417 0 3.542 2.798v1.225h-1.429m-2.113-4.024h-3.455m-.962 0h.962M3.837 16.92a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.643.114-.888.306m1.777 0h3.295m1.778 0a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.644.114-.889.306m1.778 0h2.66m10.022 0a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.643.114-.888.306m0 0h-3.79m0-4.024v4.024m-4.454 0H14.843m-3.272 0v1.88h3.272v-1.88" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-heavyDutyTruckHaul"><path d="M15.062 13.509v3.41m0-3.41v-.613m0 .613h-3.491m3.491 3.41h.962m-.962 0h-.219m.22-7.04V4.5H11.57m3.491 5.379h4.417v3.018m-4.417-3.018v3.018m4.417 0 3.542 2.798v1.225h-1.429m-2.113-4.024h-3.455m-.962 0h.962m-.962 0h-3.491M3.837 16.92a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.643.114-.888.306m1.777 0h3.295m-5.072 0H.98v-3.411h10.59m-2.66 3.41a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.305c-.335 0-.644.114-.889.306m1.778 0h2.66m10.022 0a1.443 1.443 0 1 1-1.778 0m1.778 0a1.437 1.437 0 0 0-.889-.306c-.335 0-.643.114-.888.306m0 0h-3.79m0-4.024v4.024m-4.454 0H14.843m-3.272 0v1.88h3.272v-1.88M9.464 4.5h2.107m0 0v8.396m0 .613v-.613" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-ISOTank"><path d="M21.873 10.88 7.906 2.787a.263.263 0 0 0-.255 0L2.129 5.923A.257.257 0 0 0 2 6.145v6.925a.254.254 0 0 0 .13.222l14.039 7.921a.26.26 0 0 0 .248.002l5.369-2.932a.256.256 0 0 0 .133-.221L22 11.1a.308.308 0 0 0-.024-.145.361.361 0 0 0-.103-.075Zm-.4 1.436-.7-.377.705-.4-.005.777Zm-18.962-.07.244.262-.244.161v-.423Zm.176.773.337-.222.808.868-1.145-.646Zm13.354 7.534L14.7 19.8l1.339.093.002.66Zm.003-1.172-2.374-.166-8.43-4.756-1.8-1.935 1.244-.817L15.8 18.279l.011-3.73-.071-.126L3.419 7.4a4.869 4.869 0 0 0-.425 2.113 1.941 1.941 0 0 0 .9 1.729l.413.244-1.139.749-.657-.708V6.586l13.549 7.722-.016 5.073Zm.273-5.514L14.1 12.6 2.772 6.145l4.8-2.728v1.641l-.462-.267c-.963-.426-2.3.307-3.214 1.7L16.388 13.6l3.065-1.735S10.739 6.872 7.965 5.281V3.413L21.229 11.1l-.981.553h-.006v.008l-2.195 1.237-1.73.969Zm.918.069-.665.859v-.485l.665-.374Zm-.683 6.623v-.838l.821.388-.821.45Zm4.858-2.653-.644.351.651-.94-.007.589Zm-1.637.894-1.842 1.006-1.374-.649.01-3.522 1.815-2.345 1.871-1.054 1.215.659-.008.7a1.373 1.373 0 0 0-.665-1.014c-.941-.471-2.439.613-3.345 2.421-.906 1.808-.878 3.657.063 4.129.941.472 2.438-.613 3.344-2.422.282-.558.48-1.155.587-1.771l-.017 1.466-1.654 2.396Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-lightDutyTruck"><path d="M14.728 13.92V7.102a.75.75 0 0 1 .75-.75h2.106a.75.75 0 0 1 .711.51l2.071 6.165a.75.75 0 0 1 .04.24v3.93c0 .25-.203.452-.453.452v0m-5.225-3.729v3.729m0-3.729h-.89m.89-9.795h2.06m-2.06 13.524h-.89m.89 0h1.12m-2.01-3.729h-9.49a.75.75 0 0 0-.75.75V16.9c0 .414.335.75.75.75h1.037m8.453-3.729v3.729m0 0H9.49m-4.105 0a2.06 2.06 0 0 1 4.105 0m-4.105 0a2.06 2.06 0 1 0 4.105 0m6.358 0a2.06 2.06 0 0 1 4.105 0m-4.105 0a2.06 2.06 0 1 0 4.105 0m-8.08-5.581H5.64a.75.75 0 0 1-.73-.581l-.822-3.549a.75.75 0 0 1 .73-.919h7.053a.75.75 0 0 1 .75.75v3.549a.75.75 0 0 1-.75.75Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-mediumDutyTruck"><path d="M14.728 11.082v-3.98a.75.75 0 0 1 .75-.75h1.895a.75.75 0 0 1 .75.75v3.98m-3.395 0v2.838m0-2.838h3.395m-3.395 2.838v3.729m0-3.729h-.89m4.285-2.838v.97c0 .198.08.389.22.53l1.842 1.842c.141.14.22.331.22.53v2.243c0 .25-.202.452-.452.452v0M14.728 4.125h2.06m-2.06 13.524h-.89m.89 0h1.12m-2.01-3.729h-9.49a.75.75 0 0 0-.75.75V16.9c0 .414.335.75.75.75h1.037m8.453-3.729v3.729m0 0H9.49m-4.105 0a2.06 2.06 0 0 1 4.105 0m-4.105 0a2.06 2.06 0 1 0 4.105 0m6.358 0a2.06 2.06 0 0 1 4.105 0m-4.105 0a2.06 2.06 0 1 0 4.105 0m-8.08-10.63H4.818a.75.75 0 0 0-.73.92l.821 3.548a.75.75 0 0 0 .73.58h6.232a.75.75 0 0 0 .75-.75V7.77a.75.75 0 0 0-.75-.75Z" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-pneumatic"><path d="m19.692 13.953-.571-.183.571.183Zm-1.913 0 .572-.183-.572.183Zm1.49-1.157.32-.508-.32.508Zm3.095 1.157-.572-.183.571.183Zm-1.913 0 .571-.183-.571.183ZM5.169 11.166a.6.6 0 0 0-.873-.824l.873.824ZM2.782 12.82v.6h.007l-.007-.6Zm-1.747-.6a.6.6 0 1 0 0 1.2v-1.2Zm-.017 1.5a.6.6 0 0 0 1.2 0h-1.2Zm7.262-.9a.6.6 0 1 0-1.2 0h1.2Zm-1.05 1.143a.6.6 0 1 0 0 1.2v-1.2Zm.832 1.2a.6.6 0 0 0 0-1.2v1.2Zm10.304-4.832a.6.6 0 0 0-.851.847l.85-.847Zm1.18 2.888a.6.6 0 1 0 .851-.846l-.85.846Zm-9.5-.638.427-.422-.427.422Zm-.529-.535.427-.422a.6.6 0 0 0-.86.006l.433.416Zm-.507.527.433.415-.433-.415Zm-.728.247v.6-.6Zm-1.46 0v-.6.6Zm-.158-.045.322-.506-.322.506Zm-2.083-2.294-.543.255.543-.255Zm-.035-.175-.598-.047.598.047Zm1.14-.956v-.6.6Zm6.069 3.47v-.6.6Zm.765-.24-.426-.421.426.422Zm.53-.534.432-.416a.6.6 0 0 0-.86-.006l.427.422Zm.506.527.433-.416-.433.416Zm2.346.202-.322-.506.322.506Zm2.084-2.294.543.255-.543-.255Zm.034-.175.598-.047-.598.047Zm-1.14-.956v-.6.6Zm6.082 4.046a.6.6 0 1 0 0-1.2v1.2Zm-2.99-.576v.6h.016l-.016-.6Zm-.667 0-.34.494.34-.494Zm.959 1.316c.05-.155.076-.32.076-.489h-1.2a.4.4 0 0 1-.02.123l1.144.366Zm-2.38-1.848c-.45.283-.752.785-.752 1.359h1.2c0-.144.074-.27.19-.343l-.639-1.016Zm-.752 1.359c0 .17.026.334.076.49l1.143-.367a.403.403 0 0 1-.02-.123h-1.2Zm1.604.404a.405.405 0 0 1-.385-.28l-1.143.365a1.605 1.605 0 0 0 1.528 1.115v-1.2Zm-.214-.747a.4.4 0 0 1 .214-.061v-1.2a1.6 1.6 0 0 0-.853.245l.639 1.016Zm.214-.061a.4.4 0 0 1 .214.061l.638-1.016a1.6 1.6 0 0 0-.852-.245v1.2Zm.385.527a.404.404 0 0 1-.385.281v1.2c.716 0 1.32-.469 1.528-1.115l-1.143-.366Zm3.814.366c.05-.155.076-.32.076-.489h-1.2a.403.403 0 0 1-.019.123l1.143.366Zm.076-.489c0-.574-.301-1.076-.752-1.359l-.638 1.016c.116.073.19.2.19.343h1.2Zm-3.208 0c0 .17.026.334.076.49l1.143-.367a.403.403 0 0 1-.019-.123h-1.2Zm1.604.404a.404.404 0 0 1-.385-.28l-1.143.365a1.605 1.605 0 0 0 1.528 1.115v-1.2Zm-.214-.747a.4.4 0 0 1 .214-.061v-1.2a1.6 1.6 0 0 0-.852.245l.638 1.016Zm.214-.061a.4.4 0 0 1 .214.061l.638-1.016a1.6 1.6 0 0 0-.852-.245v1.2Zm.385.527a.404.404 0 0 1-.385.281v1.2c.716 0 1.321-.469 1.528-1.115l-1.143-.366Zm-1.452-.123c0-.089-.008-.177-.022-.262l-1.184.195a.405.405 0 0 1 .006.067h1.2Zm.215-1.359c-.38.239-.654.633-.73 1.097l1.183.195a.405.405 0 0 1 .185-.276l-.638-1.016Zm-.73 1.097a1.612 1.612 0 0 0-.022.262h1.2c0-.023.002-.046.005-.067l-1.184-.195Zm-.099.697h.69v-1.2h-.69v1.2Zm-18.69-.662h.582v-1.2h-.583v1.2Zm.582 0h1.164v-1.2H1.618v1.2Zm-.6-.6v.9h1.2v-.9h-1.2Zm6.062 0v1.743h1.2V12.82h-1.2Zm.6 1.743v-.6H7.23v1.2H7.68v-.6Zm0 .6h.382v-1.2H7.68v1.2Zm9.835-3.985 2.032 2.041.85-.846-2.031-2.042-.851.847Zm-7.042.981-.53-.535-.853.844.53.535.853-.844Zm-1.389-.53-.506.528.865.832.507-.528-.866-.831Zm-.802.59h-1.46v1.2h1.46v-1.2Zm-1.296.05c-.475-.302-1.406-1.074-1.863-2.044l-1.085.511c.59 1.256 1.729 2.18 2.305 2.546l.643-1.013Zm-1.842-1.915a.422.422 0 0 1 .118-.275c.057-.055.175-.13.424-.13v-1.2c-.513 0-.946.165-1.26.469a1.62 1.62 0 0 0-.478 1.04l1.196.096Zm7.803 2.649.529-.535-.853-.844-.53.535.854.844Zm-.33-.541.506.527.866-.832-.507-.527-.865.832Zm1.687.958h1.44v-1.2h-1.44v1.2Zm1.92-.138c.576-.366 1.714-1.29 2.305-2.546l-1.086-.51c-.456.969-1.387 1.741-1.863 2.043l.643 1.013Zm2.394-3.023a1.621 1.621 0 0 0-.478-1.041c-.313-.304-.746-.468-1.26-.468v1.2c.25 0 .367.074.424.13a.422.422 0 0 1 .118.274l1.196-.095Zm-2.874 3.16c.16 0 .329-.041.48-.137l-.644-1.013a.308.308 0 0 1 .164-.05v1.2Zm-2.62-.43c.185.192.44.29.609.341.187.056.394.09.57.09v-1.2a.906.906 0 0 1-.325-.077c-.024-.012-.014-.011.01.014l-.865.832Zm-8-2.764a.255.255 0 0 1 .02.129l-1.196-.095a.947.947 0 0 0 .09.477l1.085-.51Zm1.698 1.995c.049 0 .107.013.164.049l-.643 1.013c.15.096.319.138.48.138v-1.2Zm4.933 1.2c.171 0 .38-.032.568-.084.165-.047.433-.14.624-.333l-.853-.844c.029-.03.043-.031.015-.018a1.059 1.059 0 0 1-.354.079v1.2Zm-3.177-1.263c.02-.022.029-.022.007-.01a.816.816 0 0 1-.303.073v1.2c.178 0 .382-.034.567-.091.17-.053.413-.152.594-.34l-.865-.832Zm9.95-1.42a.947.947 0 0 0 .09-.478l-1.196.095a.253.253 0 0 1 .021-.128l1.086.51Zm-7.825 1.483a.531.531 0 0 1-.223-.059c-.016-.008-.016-.01-.007-.002l-.853.844c.163.165.366.264.536.322.175.06.367.095.547.095v-1.2Zm1.052 0h-1.052v1.2h1.052v-1.2ZM5.686 9.95H16.88v-1.2H5.686v1.2Zm-1.39.392-1.95 2.066.872.824 1.95-2.066-.872-.824ZM2.79 13.42l3.882-.045-.013-1.2-3.883.045.014 1.2Zm13.107-.045 2.301.021.01-1.2-2.3-.02-.01 1.2Zm6.044.021h1.022v-1.2H21.94v1.2Zm-1.082-1.2-.902.024.032 1.2.902-.024-.032-1.2Zm-.54 1.189a1.604 1.604 0 0 0-.672-1.059l-.681.988c.09.062.151.157.17.266l1.183-.195Zm-.672-1.059a1.594 1.594 0 0 0-.058-.038l-.638 1.016.015.01.68-.988Zm.326-.106h-.667v1.2h.667v-1.2Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-portableTrafficLights"><rect x="8.148" y="1.858" width="7.7" height="13.2" rx="1.2" stroke="currentColor" stroke-width="1.3" /><circle cx="11.998" cy="5.709" r="1.65" stroke="currentColor" stroke-width="1.3" /><circle cx="11.998" cy="11.209" r="1.65" stroke="currentColor" stroke-width="1.3" /><path d="M12 15.059v2.133" stroke="currentColor" stroke-width="1.43" /><path d="M10.338 20.845a1.296 1.296 0 0 1-2.592.005m2.592-.005a1.296 1.296 0 1 0-2.592 0v.005m2.592-.005h3.536m2.593 0a1.296 1.296 0 0 1-2.593 0m2.593 0a1.297 1.297 0 0 0-2.593 0m2.593 0 .528.005a1.22 1.22 0 0 0 1.22-1.22v-1.22a1.22 1.22 0 0 0-1.22-1.219H7.001a1.22 1.22 0 0 0-1.22 1.22v1.22c0 .673.546 1.219 1.22 1.219h.745" stroke="currentColor" stroke-width="1.3" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-Scissorlifts"><path d="m13.355 8.347.028-.062.804.363-.028.062-.804-.363Z" fill="currentColor" /><path d="m15.756 9.279-.085.188-1.544-.697c-.005-.002-.007-.007-.005-.011l.077-.171c.003-.005.007-.007.012-.005l1.545.696ZM13.352 11.46l.027-.062.804.363-.028.062-.803-.363Z" fill="currentColor" /><path d="m15.756 12.392-.085.188-1.544-.696c-.005-.003-.007-.007-.005-.012l.077-.171c.003-.005.007-.007.012-.005l1.545.696ZM13.402 14.59l.028-.063.803.363-.027.062-.804-.363Z" fill="currentColor" /><path d="m15.803 15.521-.085.188-1.544-.696c-.005-.003-.008-.007-.005-.012l.077-.171c.003-.005.007-.007.012-.005l1.545.696ZM9.684 8.71l-.028-.062.803-.363.028.062-.803.363Z" fill="currentColor" /><path d="m8.086 9.279.084.188 1.545-.697c.005-.002.007-.007.005-.011l-.078-.171c-.002-.005-.007-.007-.012-.005l-1.544.696ZM9.68 11.823l-.028-.062.804-.363.027.062-.803.363Z" fill="currentColor" /><path d="m8.086 12.392.084.188 1.545-.696c.005-.003.007-.007.005-.012l-.078-.171c-.002-.005-.007-.007-.012-.005l-1.544.696ZM9.633 14.952l-.028-.062.804-.363.028.062-.804.363Z" fill="currentColor" /><path d="m8.035 15.52.084.187 1.545-.696c.004-.002.007-.007.004-.011l-.077-.171c-.002-.005-.007-.008-.012-.005l-1.544.696Zm-2.077 3.35 12.286-3.294a.032.032 0 0 0 .024-.04l-.195-.726a.032.032 0 0 0-.04-.024L5.747 18.08a.032.032 0 0 0-.023.04l.194.727c.005.018.024.03.04.023Z" fill="currentColor" /><path d="M18.033 18.87 5.747 15.58a.032.032 0 0 1-.023-.04l.194-.726a.032.032 0 0 1 .04-.024l12.286 3.293a.032.032 0 0 1 .024.04l-.195.727c-.005.016-.021.028-.04.02Z" fill="currentColor" /><path d="m5.958 15.838 12.286-3.293a.032.032 0 0 0 .024-.04l-.195-.727a.032.032 0 0 0-.04-.023l-12.286 3.29a.032.032 0 0 0-.023.04l.194.727c.005.019.024.03.04.026Z" fill="currentColor" /><path d="M18.033 15.838 5.747 12.545a.032.032 0 0 1-.023-.04l.194-.727a.032.032 0 0 1 .04-.023l12.286 3.29a.032.032 0 0 1 .024.04l-.195.727c-.005.019-.021.03-.04.026Z" fill="currentColor" /><path d="m5.958 12.701 12.286-3.293a.032.032 0 0 0 .024-.04l-.195-.726a.032.032 0 0 0-.04-.024L5.747 11.911a.032.032 0 0 0-.023.04l.194.727c.005.018.024.03.04.023Z" fill="currentColor" /><path d="M18.033 12.699 5.747 9.409a.032.032 0 0 1-.023-.04l.194-.727a.032.032 0 0 1 .04-.024l12.286 3.293a.032.032 0 0 1 .024.04l-.195.727c-.005.016-.021.028-.04.02Z" fill="currentColor" /><path d="m5.958 9.592 12.286-3.293a.032.032 0 0 0 .024-.04l-.195-.727a.032.032 0 0 0-.04-.023L5.747 8.799a.032.032 0 0 0-.023.04l.194.727c.005.019.024.03.04.026Z" fill="currentColor" /><path d="M18.033 9.592 5.747 6.299a.032.032 0 0 1-.023-.04l.194-.727a.032.032 0 0 1 .04-.023l12.286 3.293a.032.032 0 0 1 .024.04l-.195.726a.033.033 0 0 1-.04.024Z" fill="currentColor" /><path d="M18.993 6.324H5.031a.183.183 0 0 1-.183-.183V2.548c0-.58.472-1.052 1.053-1.052h12.225c.581 0 1.052.471 1.052 1.052v3.593a.187.187 0 0 1-.185.183Zm-13.59-.902H18.62V2.745a.73.73 0 0 0-.73-.73H6.136a.73.73 0 0 0-.73.73v2.677h-.003Zm13.538 12.651H5.052a.22.22 0 0 0-.22.22v1.419c0 .122.098.22.22.22h1.594a.73.73 0 0 1 .731.731v.978c0 .122.099.22.22.22h8.8a.22.22 0 0 0 .22-.22v-.978a.73.73 0 0 1 .73-.731h1.594a.22.22 0 0 0 .22-.22v-1.418a.22.22 0 0 0-.22-.22ZM11.75 7.569a.26.26 0 1 0 .52 0 .26.26 0 0 0-.52 0Z" fill="currentColor" /><path d="M11.871 7.57a.14.14 0 1 0 .281 0 .14.14 0 0 0-.28 0ZM6.316 9.118a.192.192 0 1 0 .385 0 .192.192 0 0 0-.385 0Z" fill="currentColor" /><path d="M6.402 9.121a.105.105 0 1 0 .211 0 .105.105 0 0 0-.21 0ZM6.316 12.231a.192.192 0 1 0 .384 0 .192.192 0 0 0-.384 0Z" fill="currentColor" /><path d="M6.402 12.23a.105.105 0 1 0 .21 0 .105.105 0 0 0-.21 0ZM6.316 15.36a.192.192 0 1 0 .385 0 .192.192 0 0 0-.385 0Z" fill="currentColor" /><path d="M6.402 15.36a.106.106 0 1 0 .212 0 .106.106 0 0 0-.212 0ZM17.328 9.118a.192.192 0 1 0 .385 0 .192.192 0 0 0-.385 0Z" fill="currentColor" /><path d="M17.418 9.121a.105.105 0 1 0 .21 0 .105.105 0 0 0-.21 0ZM17.328 12.231a.192.192 0 1 0 .384 0 .192.192 0 0 0-.384 0Z" fill="currentColor" /><path d="M17.418 12.23a.105.105 0 1 0 .21 0 .105.105 0 0 0-.21 0ZM17.328 15.36a.193.193 0 1 0 .385 0 .193.193 0 0 0-.385 0Z" fill="currentColor" /><path d="M17.418 15.36a.106.106 0 1 0 .211 0 .106.106 0 0 0-.211 0ZM11.75 10.612a.26.26 0 1 0 .52 0 .26.26 0 0 0-.52 0Z" fill="currentColor" /><path d="M11.871 10.613a.14.14 0 1 0 .281 0 .14.14 0 0 0-.28 0ZM11.75 13.8a.26.26 0 1 0 .52 0 .26.26 0 0 0-.52 0Z" fill="currentColor" /><path d="M11.871 13.8a.14.14 0 1 0 .281 0 .14.14 0 0 0-.28 0ZM11.75 16.877a.26.26 0 1 0 .52 0 .26.26 0 0 0-.52 0Z" fill="currentColor" /><path d="M11.871 16.879a.14.14 0 1 0 .28 0 .14.14 0 0 0-.28 0ZM4.71 21.325a1.165 1.165 0 1 0 2.331 0 1.165 1.165 0 0 0-2.33 0Z" fill="currentColor" /><path d="M5.227 21.325a.649.649 0 1 0 1.297 0 .649.649 0 0 0-1.297 0Z" fill="currentColor" /><path d="M5.55 21.323a.323.323 0 1 0 .647 0 .323.323 0 0 0-.646 0ZM16.96 21.325a1.165 1.165 0 1 0 2.332 0 1.165 1.165 0 0 0-2.331 0Z" fill="currentColor" /><path d="M17.477 21.325a.65.65 0 1 0 1.299 0 .65.65 0 0 0-1.3 0Z" fill="currentColor" /><path d="M17.8 21.323a.324.324 0 1 0 .648 0 .324.324 0 0 0-.647 0ZM5.293 3.438h13.329v.278H5.293v-.279Z" fill="currentColor" /><path d="M9.121 6.329V1.5H9.4v4.828h-.279Zm5.474 0V1.5h.28v4.828h-.28Z" fill="currentColor" /><path d="M9.285 4.016h5.45V5.12h-5.45V4.016Z" fill="currentColor" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-semiTrailerChassis"><path d="M4.889 9.741H1v4.124m3.889-4.124L1 13.865m3.889-4.124h1.85M1 13.865v.747m5.74-4.87v2.67h1.88m-1.88-2.67h2.857m3.438 2.67a2.317 2.317 0 0 0-.977-2.67m.977 2.67a2.318 2.318 0 0 1-4.415 0m4.415 0h3.44m-4.417-2.67a2.306 2.306 0 0 0-1.23-.354c-.453 0-.875.13-1.231.353m2.461 0h5.394m-7.855 0a2.316 2.316 0 0 0-.977 2.671m12.27 0a2.317 2.317 0 0 0-.976-2.67m.976 2.67h2.113v-2.67h-3.09m.977 2.67a2.318 2.318 0 0 1-4.415 0m3.439-2.67a2.306 2.306 0 0 0-1.231-.354c-.452 0-.874.13-1.23.353m0 0a2.316 2.316 0 0 0-.978 2.671" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-semiTrailerGears"><path d="m3.168 13.295.006 5.141m4.15-5.14L3.17 17.45m9.598-1.439a2.625 2.625 0 0 1 5.216 0m-5.216 0a2.625 2.625 0 1 0 5.216 0m-5.216 0H9.282a.68.68 0 0 1-.68-.679v-1.358a.68.68 0 0 1 .68-.68h12.907v2.038a.68.68 0 0 1-.68.68h-3.526m-2.984-10.95 1.5.461m3.376 1.038-1.125-.346m-2.25-.692v3.695m0-3.695 1.125.346M16.5 9.22H2.488a.68.68 0 0 0-.68.68v2.717c0 .375.305.68.68.68H21.51a.68.68 0 0 0 .679-.68V9.898a.68.68 0 0 0-.68-.679h-2.76m-2.25 0h1.126m0-3.349V9.22m0-3.349 1.125.346M17.625 9.22h1.125m0-3.003V9.22" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-semiTrailerTank"><path d="m2.965 12.907.005 5.26m4.246-5.26-4.252 4.251m.695-11.94h1.066m3.98 0H7.56m-2.835 0v3.52m0-3.52h.929m-.929 3.52H3.66a2.085 2.085 0 1 0 0 4.17h16.68a2.085 2.085 0 1 0 0-4.17H7.56m-2.835 0h.929m0-3.52v3.52m0-3.52.846.005m-.846 3.514H6.5m0-3.514v3.514m0-3.514 1.06-.004M6.5 8.737h1.06m0-3.518v3.518m10.638 6.95a1.836 1.836 0 0 1 1.25-.487c.484 0 .924.185 1.25.487m-2.5 0a1.77 1.77 0 0 0-.574 1.303c0 .99.817 1.791 1.824 1.791 1.007 0 1.824-.802 1.824-1.79 0-.514-.22-.977-.573-1.304m-2.501 0H12.74m7.959 0h1.029a.695.695 0 0 0 .695-.695v-2.085H9.218a.695.695 0 0 0-.695.695v1.39c0 .384.311.695.695.695h1.021m0 0a1.836 1.836 0 0 1 1.25-.487c.485 0 .925.185 1.251.487m-2.5 0a1.77 1.77 0 0 0-.574 1.303c0 .99.817 1.791 1.824 1.791 1.007 0 1.824-.802 1.824-1.79 0-.514-.22-.977-.574-1.304" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-stepDeck"><path d="M6.154 10.03v2.348m0-2.348h3.203m-3.203 0h-2.63m2.63 2.348h3.203m-3.203 0-2.63 2.672m5.833-2.672v2.198h1.546m-1.546-2.198h2.35m11.031 0h.291V10.03H9.357m13.381 2.348v2.198H21m1.738-2.198h-2.542m-5.66 2.198a1.906 1.906 0 0 0-.803-2.198m.803 2.198a1.908 1.908 0 0 1-3.633 0m3.633 0h2.831m-3.634-2.198a1.898 1.898 0 0 0-1.013-.29c-.372 0-.72.106-1.013.29m2.026 0h4.438m-6.464 0a1.905 1.905 0 0 0-.804 2.198m10.097 0a1.906 1.906 0 0 0-.804-2.198M21 14.576a1.908 1.908 0 0 1-3.633 0m2.83-2.198a1.898 1.898 0 0 0-1.014-.29c-.372 0-.719.106-1.012.29m0 0a1.905 1.905 0 0 0-.804 2.198m-8.01-4.546V8.1H.969v1.93h2.554m0 0v5.02m0 0v.713" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol><symbol fill="none" viewBox="0 0 24 24" id="any-icon-vehicle-VANTrailer"><path d="M6.774 14.111V4.875h5.057m-5.056 9.236-.92-.006m.92.006.827.005m-1.747-.01L2.178 17.93m3.677-3.825c-1.306-.008-2.551-.017-3.677-.026m0 3.85v-3.85m0 3.85v.644M.89 14.068l1.287.011m5.424.037v1.056H9.01m-1.41-1.056c1.396.008 2.828.016 4.23.021m10.598-.026c.383-.011.6-.025.618-.043.147-.146 0-9.193 0-9.193h-5.24m4.622 9.236-.485 1.06h-.306m.791-1.06c-.852.025-2.524.037-4.622.038M9.01 15.172a2.385 2.385 0 0 1 1.809-.828c.722 0 1.37.321 1.808.828m-3.617 0a2.39 2.39 0 1 0 3.617 0m0 0h5.393m0 0a2.385 2.385 0 0 1 1.808-.828c.723 0 1.37.321 1.809.828m-3.617 0a2.39 2.39 0 1 0 3.617 0M11.831 4.875v9.262m0-9.262h5.976m-5.976 9.262c2.139.01 4.209.014 5.976.012m0-9.274v9.274" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" /></symbol>',n.insertBefore(o,n.lastChild)};document.readyState==="loading"?document.addEventListener("DOMContentLoaded",t):t()}return{install(t){try{t.use(mx)}catch{}t.component("anSvgIcon",tx),t.component("anytrekTimerangePick",X9),t.component("anytrekTimePick",mN),t.component("vehicleSelect",bA),t.component("addOrEditVehicle",BI),t.component("addOrEditTag",$M),t.component("addOrEditLandmark",ED),t.component("AddOrEditShare",JL)}}});