1import{Ji as e}from"./src-DdRYxgPx8x.js";import{Q as t,Yt as n,bt as r,st as i,tt as a}from"./vue-D0d8k1b_qq.js";var o={class:`unit-box`},s=[`gtm`],c=[`gtm`],l=e(i({__name:`UnitSwitch`,props:{gtm:{},project:{},unitType:{}},emits:[`update:project`],setup(e,{emit:i}){let l=e;function u(e){if(l.project){var t;let n=((t=l.project)==null?void 0:t.user_data)??{};n.unitType=e,i(`update:project`,{...l.project,user_data:n})}localStorage.setItem(`sys:unit:type`,e)}return(e,i)=>{var l,d;return r(),a(`div`,o,[t(`div`,{class:n([`unit-box-item`,{active:e.unitType===`mm`}]),gtm:(l=e.gtm)==null?void 0:l.mmGtm,onClick:i[0]||(i[0]=e=>u(`mm`))},` mm `,10,s),t(`div`,{class:n([`unit-box-item`,{active:e.unitType===`in`}]),gtm:(d=e.gtm)==null?void 0:d.inGtm,onClick:i[1]||(i[1]=e=>u(`in`))},` in `,10,c)])}}}),[[`__scopeId`,`data-v-45ad7f18`]]);export{l as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.