@camstack/addon-admin-ui 1.2.172 → 1.2.174
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.
- package/dist/assets/{AddonCollectionPage-TLoX_YXp.js → AddonCollectionPage-CQNcxLmB.js} +1 -1
- package/dist/assets/{Addons-Bpg6fgxL.js → Addons-C8Pvwd2G.js} +1 -1
- package/dist/assets/{AdminTabs-Cb5UL8Q2.js → AdminTabs-BU25jHQX.js} +1 -1
- package/dist/assets/{AiProfiles-dpakArtM.js → AiProfiles-CkSyanZS.js} +1 -1
- package/dist/assets/{BrokerForm-DOg2XceS.js → BrokerForm-DQ_zgMoD.js} +1 -1
- package/dist/assets/{Build-DyNTnMKj.js → Build-CH4impMX.js} +1 -1
- package/dist/assets/{Capabilities-B-wfWI2g.js → Capabilities-D_1B-859.js} +1 -1
- package/dist/assets/{CapabilityBadges-BGtOjU4w.js → CapabilityBadges-D2wnwjTn.js} +1 -1
- package/dist/assets/{Cluster-DfCICz-z.js → Cluster-C416Pq34.js} +1 -1
- package/dist/assets/{Data-Bqag4ARx.js → Data-DO8PCdGK.js} +1 -1
- package/dist/assets/{DetectionIntelligence-DBE8rjXm.js → DetectionIntelligence-Dn4_o8_u.js} +1 -1
- package/dist/assets/{DeviceAggregateSection-C-uq0fXa.js → DeviceAggregateSection-Cef4_S8_.js} +1 -1
- package/dist/assets/{DeviceDetail-qgXFEbUU.js → DeviceDetail-BdcLhwCL.js} +1 -1
- package/dist/assets/{Devices-BjyAdv6b.js → Devices-tdKjbipS.js} +1 -1
- package/dist/assets/{EmbedPlayerPage-BIIE_vrH.js → EmbedPlayerPage-w3QUHM5y.js} +1 -1
- package/dist/assets/{Events-hdD8tX-b.js → Events-EnhT2bML.js} +1 -1
- package/dist/assets/{FormBuilder-Bc12O9WV.js → FormBuilder-DtoH-H2q.js} +1 -1
- package/dist/assets/{Identity-DPqRxKpV.js → Identity--mhpip1U.js} +1 -1
- package/dist/assets/{IntegrationDetail-Dra2wGLr.js → IntegrationDetail-Dicdhnhj.js} +1 -1
- package/dist/assets/{Integrations-BVatT2fG.js → Integrations-f05Ywaok.js} +1 -1
- package/dist/assets/{Integrations-DTNx8jxp.js → Integrations-tKj-0ho4.js} +1 -1
- package/dist/assets/{Locations-Dymnh-Rw.js → Locations-DG4IFTEM.js} +1 -1
- package/dist/assets/{Logs-DtqSqEnT.js → Logs-B0E3Uq18.js} +1 -1
- package/dist/assets/{MotionZonesSettings-DK-9zxkR.js → MotionZonesSettings-BQWMwZ4h.js} +1 -1
- package/dist/assets/{MyAccess-DKT_DhIL.js → MyAccess-7mdOj2Hm.js} +1 -1
- package/dist/assets/{Network-CiZruHoV.js → Network-5LGn-Mws.js} +1 -1
- package/dist/assets/{NodeAddonsSettingsPanel-CspK05K2.js → NodeAddonsSettingsPanel-BsF8np-K.js} +1 -1
- package/dist/assets/{NodeInferenceDevices-BHECEiK_.js → NodeInferenceDevices-vvLMQhQR.js} +1 -1
- package/dist/assets/{Notifications-D8KRkALd.js → Notifications-NMmc9efE.js} +1 -1
- package/dist/assets/{Pipeline-C-fPamwp.js → Pipeline-BLe7j74H.js} +1 -1
- package/dist/assets/{Plates-CEstKbmn.js → Plates-Bw5aXCmG.js} +1 -1
- package/dist/assets/{PrivacyMaskSettings-Dx8x7W-Z.js → PrivacyMaskSettings-Duw3xEf9.js} +1 -1
- package/dist/assets/{ProviderIcon-BC9cnOk-.js → ProviderIcon-ChlkicsQ.js} +1 -1
- package/dist/assets/{Recordings-BPchu1bF.js → Recordings-BZba1sr-.js} +1 -1
- package/dist/assets/{ScanNetworkModal-Bs7yx7V_.js → ScanNetworkModal-CH41-Hpm.js} +1 -1
- package/dist/assets/{SceneMonitorEditor-63FBCNWm.js → SceneMonitorEditor-Bs4MoK32.js} +1 -1
- package/dist/assets/{Scenes-CMiY8yES.js → Scenes-fkABvsPY.js} +1 -1
- package/dist/assets/{Settings-COs03jhd.js → Settings-CaxGo2l5.js} +1 -1
- package/dist/assets/{Showroom-BWwYlH_O.js → Showroom-DbEt4xRz.js} +1 -1
- package/dist/assets/{StorageLocationsPanel-C570_m9Y.js → StorageLocationsPanel-BH60gcVP.js} +1 -1
- package/dist/assets/{Terminal-ZzWxFdoB.js → Terminal-C2vt7rLI.js} +1 -1
- package/dist/assets/{_virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-CcagWo8T.js → _virtual_mf-localSharedImportMap___mfe_internal__admin_ui_host-BYcJT7VZ.js} +1 -1
- package/dist/assets/{authed-media-BmhhckZi.js → authed-media-ssdh9WZa.js} +1 -1
- package/dist/assets/{bell-off-CGJG0WXf.js → bell-off-DZeGZskH.js} +1 -1
- package/dist/assets/{bell-ring-DX21fJFX.js → bell-ring-CHheQ59j.js} +1 -1
- package/dist/assets/{boxes-d9_vKB4F.js → boxes-DE0Kg_Zt.js} +1 -1
- package/dist/assets/circle-check-big-HZUNph0o.js +1 -0
- package/dist/assets/circle-dot-syL662Th.js +1 -0
- package/dist/assets/circle-slash-TNV27Tll.js +1 -0
- package/dist/assets/{circle-x-CBxG0y_r.js → circle-x-D24E0STu.js} +1 -1
- package/dist/assets/clock-Bxx_wT8K.js +1 -0
- package/dist/assets/{copy-UFrr-05v.js → copy-DlB7UsEQ.js} +1 -1
- package/dist/assets/{debounced-invalidate-CFQG1580.js → debounced-invalidate-D0BJH3x_.js} +1 -1
- package/dist/assets/dist-B_HDQzh9.js +349 -0
- package/dist/assets/{dist-CR2EvG7j.js → dist-DcHHEsE_.js} +1 -1
- package/dist/assets/{download-DrDTQeAo.js → download-urufn8GN.js} +1 -1
- package/dist/assets/{face-bbox-MpDaWU45.js → face-bbox-D137htBM.js} +1 -1
- package/dist/assets/{flame-CxuAKp8N.js → flame-DLh70ShH.js} +1 -1
- package/dist/assets/{format-size-Ccyj7I_q.js → format-size-CvsfU8ov.js} +1 -1
- package/dist/assets/{hard-drive-SNjyKkMp.js → hard-drive-C_qCvW3c.js} +1 -1
- package/dist/assets/{hostInit-yH-N5FqK.js → hostInit-tuSuQCp6.js} +1 -1
- package/dist/assets/{index-BCX5n9p9.js → index-D5stGBcP.js} +3 -3
- package/dist/assets/{key-round-ux7-D9dm.js → key-round-Bjn44TZ0.js} +1 -1
- package/dist/assets/{layers-DSmbTG9X.js → layers-BaODe1wE.js} +1 -1
- package/dist/assets/{location-owned-usage-DDqMWquc.js → location-owned-usage-B_pajTer.js} +1 -1
- package/dist/assets/{mf-entry-bootstrap-0-711b8910.js → mf-entry-bootstrap-0-44b835d3.js} +2 -2
- package/dist/assets/{pencil-BEMJOUfo.js → pencil-B3XBvIHk.js} +1 -1
- package/dist/assets/play-BFk94v8S.js +1 -0
- package/dist/assets/{player-overlays-CziFZJCJ.js → player-overlays-BnnhEMD9.js} +1 -1
- package/dist/assets/plus-BmAxciic.js +1 -0
- package/dist/assets/power-BDmDy3h3.js +1 -0
- package/dist/assets/{radio-jpm0ec5V.js → radio-CS_D2GUp.js} +1 -1
- package/dist/assets/{refresh-cw-C-ufePlJ.js → refresh-cw-D6Pp_K4H.js} +1 -1
- package/dist/assets/remoteEntry-BrBtEx_a.js +1 -0
- package/dist/assets/rotate-ccw-BzxSI7mV.js +1 -0
- package/dist/assets/rotate-cw-BeFA4xbH.js +1 -0
- package/dist/assets/{send-CevQRLye.js → send-Btm01NIQ.js} +1 -1
- package/dist/assets/{server-GfUHtI_8.js → server-DK9fq9fz.js} +1 -1
- package/dist/assets/{shield-D-Z96r_j.js → shield-DsgTgXWx.js} +1 -1
- package/dist/assets/{shield-alert-WgQ1Kj2f.js → shield-alert-DuEwzYkR.js} +1 -1
- package/dist/assets/square-CI62DSjh.js +1 -0
- package/dist/assets/{square-check-big-azva2iDt.js → square-check-big-BE8480BV.js} +1 -1
- package/dist/assets/src-CCqCq7P6.js +349 -0
- package/dist/assets/{src-BFk6WJWU.js → src-X2J9M4WA.js} +17 -17
- package/dist/assets/{undo-2-CqvIoEUn.js → undo-2-DWIvegW6.js} +1 -1
- package/dist/assets/{use-scenes-feed-CnuSzwW7.js → use-scenes-feed-DQ-I5yVy.js} +1 -1
- package/dist/assets/useEventInvalidation-DQ60wJ7e.js +1 -0
- package/dist/assets/{useNodeUrlSelection-Utry5ZPL.js → useNodeUrlSelection-B-4cP9vB.js} +1 -1
- package/dist/assets/user-round-BFKcOTbp.js +1 -0
- package/dist/assets/{video-znyUfgaS.js → video-Bgrw0TdF.js} +1 -1
- package/dist/assets/{virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-C97O2kQc.js → virtual_mf-REMOTE_ENTRY_ID___mfe_internal__admin_ui_host__remoteEntry-_hash_-iYb0kdkK.js} +2 -2
- package/dist/assets/{wifi-Cp-yrLAU.js → wifi-BSKeoysm.js} +1 -1
- package/dist/assets/{zap-_nMBZspU.js → zap-tGxAXsxr.js} +1 -1
- package/dist/index.html +5 -5
- package/dist/server/addon.js +206 -3
- package/package.json +1 -1
- package/dist/assets/circle-check-big-BwzeEBJv.js +0 -1
- package/dist/assets/circle-dot-CA8FcIWM.js +0 -1
- package/dist/assets/circle-slash-CAoXpMxk.js +0 -1
- package/dist/assets/clock-Bfyu6IbG.js +0 -1
- package/dist/assets/dist-QEWh5wQo.js +0 -349
- package/dist/assets/play-9e7obTki.js +0 -1
- package/dist/assets/plus-DpRVibgP.js +0 -1
- package/dist/assets/power-MFajmXz-.js +0 -1
- package/dist/assets/remoteEntry-C9LL7oJL.js +0 -1
- package/dist/assets/rotate-ccw-CQ1LbuVu.js +0 -1
- package/dist/assets/rotate-cw-Bxhz_vqK.js +0 -1
- package/dist/assets/square-xLtO_OLb.js +0 -1
- package/dist/assets/src-0Z70wXwd.js +0 -349
- package/dist/assets/useEventInvalidation-CH6m_f_u.js +0 -1
- package/dist/assets/user-round-BgAeI1Ul.js +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{J as e}from"./index-D5stGBcP.js";var t=e(`circle-dot`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`circle`,{cx:`12`,cy:`12`,r:`1`,key:`41hilf`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{J as e}from"./index-D5stGBcP.js";var t=e(`circle-slash`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`line`,{x1:`9`,x2:`15`,y1:`15`,y2:`9`,key:`1dfufj`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as e}from"./index-
|
|
1
|
+
import{J as e}from"./index-D5stGBcP.js";var t=e(`circle-x`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`path`,{d:`m15 9-6 6`,key:`1uzhvr`}],[`path`,{d:`m9 9 6 6`,key:`z0biqf`}]]);export{t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{J as e}from"./index-D5stGBcP.js";var t=e(`clock`,[[`circle`,{cx:`12`,cy:`12`,r:`10`,key:`1mglay`}],[`polyline`,{points:`12 6 12 12 16 14`,key:`68esgv`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{J as e}from"./index-
|
|
1
|
+
import{J as e}from"./index-D5stGBcP.js";var t=e(`copy`,[[`rect`,{width:`14`,height:`14`,x:`8`,y:`8`,rx:`2`,ry:`2`,key:`17jyea`}],[`path`,{d:`M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2`,key:`zix9uf`}]]);export{t};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{K as e,Q as t,S as n,W as r,q as i,x as a,z as o}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{B as s,H as c,J as l,L as u,R as d,z as f}from"./index-
|
|
1
|
+
import{K as e,Q as t,S as n,W as r,q as i,x as a,z as o}from"./_virtual_mf___mfe_internal__admin_ui_host__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-DhP-Lgiq.js";import{B as s,H as c,J as l,L as u,R as d,z as f}from"./index-D5stGBcP.js";var p=l(`image-off`,[[`line`,{x1:`2`,x2:`22`,y1:`2`,y2:`22`,key:`a6p6uj`}],[`path`,{d:`M10.41 10.41a2 2 0 1 1-2.83-2.83`,key:`1bzlo9`}],[`line`,{x1:`13.5`,x2:`6`,y1:`13.5`,y2:`21`,key:`1q0aeu`}],[`line`,{x1:`18`,x2:`21`,y1:`12`,y2:`15`,key:`5mozeu`}],[`path`,{d:`M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59`,key:`mmje98`}],[`path`,{d:`M21 15V5a2 2 0 0 0-2-2H9`,key:`43el77`}]]);t();var m={fromMs:null,toMs:null},h=36e5,g=24*h;function _(e,t){switch(e){case`24h`:return{fromMs:t-g,toMs:null};case`7d`:return{fromMs:t-7*g,toMs:null};case`30d`:return{fromMs:t-30*g,toMs:null};case`all`:return m}}function v(e){return e.fromMs!==null||e.toMs!==null}function y(e,t){return v(t)?e.filter(e=>!(t.fromMs!==null&&e.timestamp<t.fromMs||t.toMs!==null&&e.timestamp>t.toMs)):[...e]}function b(e,t){return t.size===0?[...e]:e.filter(e=>t.has(e.deviceId))}function x(e){let t=new Set,n=[];for(let r of e)t.has(r.deviceId)||(t.add(r.deviceId),n.push(r.deviceId));return n}function S(e){if(!e)return null;let t=Date.parse(`${e}T00:00:00`);return Number.isNaN(t)?null:t}function C(e){if(!e)return null;let t=Date.parse(`${e}T23:59:59.999`);return Number.isNaN(t)?null:t}function w(e,t){if(!Number.isFinite(e)||e<=0)return`—`;let n=t-e;return n<6e4?`just now`:n<h?`${String(Math.floor(n/6e4))}m ago`:n<g?`${String(Math.floor(n/h))}h ago`:n<7*g?`${String(Math.floor(n/g))}d ago`:new Date(e).toLocaleDateString(void 0,{month:`short`,day:`numeric`})}function T(e){return!Number.isFinite(e)||e<=0?`—`:new Date(e).toLocaleTimeString(void 0,{hour:`2-digit`,minute:`2-digit`,second:`2-digit`})}function E(e){return!Number.isFinite(e)||e<=0?`—`:new Date(e).toLocaleString(void 0,{year:`numeric`,month:`short`,day:`numeric`,hour:`2-digit`,minute:`2-digit`,second:`2-digit`})}function D(e,t,n){let[a,s]=i(1);o(()=>{s(1)},[n]);let c=e.length,l=Math.max(1,Math.ceil(c/t)),u=Math.min(a,l);return o(()=>{u!==a&&s(u)},[u,a]),{page:u,setPage:s,pageItems:r(()=>{let n=(u-1)*t;return e.slice(n,n+t)},[e,u,t]),totalPages:l,totalItems:c,pageSize:t}}var O=2;function k(e,t){if(t<=1)return[{kind:`page`,n:1}];if(t<=7){let e=[];for(let n=1;n<=t;n++)e.push({kind:`page`,n});return e}let n=[],r=Math.max(2,e-O),i=Math.min(t-1,e+O);n.push({kind:`page`,n:1}),r>2&&n.push({kind:`ellipsis`,side:`left`});for(let e=r;e<=i;e++)n.push({kind:`page`,n:e});return i<t-1&&n.push({kind:`ellipsis`,side:`right`}),n.push({kind:`page`,n:t}),n}function A({currentPage:e,totalItems:t,pageSize:r,onPageChange:i,itemNoun:o=`items`}){if(t<=r)return null;let s=Math.ceil(t/r),c=(e-1)*r+1,l=Math.min(e*r,t),f=k(e,s),p=`inline-flex h-7 min-w-7 items-center justify-center rounded-md px-2 text-[11px] transition-colors disabled:opacity-40`;return n(`div`,{className:`flex items-center justify-between gap-4 flex-wrap pt-2 text-[11px] text-foreground-subtle`,children:[n(`span`,{children:[`Showing `,c,`–`,l,` of `,t,` `,o]}),n(`div`,{className:`flex items-center gap-1`,children:[a(`button`,{type:`button`,className:`${p} hover:bg-surface-hover`,onClick:()=>i(e-1),disabled:e<=1,"aria-label":`Previous page`,children:a(d,{className:`h-3.5 w-3.5`})}),f.map(t=>t.kind===`ellipsis`?a(`span`,{className:`px-1 opacity-60`,children:`…`},`ellipsis-${t.side}`):a(`button`,{type:`button`,className:`${p} ${t.n===e?`bg-primary/12 text-primary font-medium`:`hover:bg-surface-hover hover:text-foreground`}`,onClick:()=>i(t.n),"aria-current":t.n===e?`page`:void 0,children:t.n},t.n)),a(`button`,{type:`button`,className:`${p} hover:bg-surface-hover`,onClick:()=>i(e+1),disabled:e>=s,"aria-label":`Next page`,children:a(u,{className:`h-3.5 w-3.5`})})]})]})}t();function j({cameras:t,selected:r,onChange:l}){let[u,d]=i(!1),p=e(null);o(()=>{if(!u)return;function e(e){p.current&&e.target instanceof Node&&!p.current.contains(e.target)&&d(!1)}function t(e){e.key===`Escape`&&d(!1)}return document.addEventListener(`mousedown`,e),document.addEventListener(`keydown`,t),()=>{document.removeEventListener(`mousedown`,e),document.removeEventListener(`keydown`,t)}},[u]);function m(e){let t=new Set(r);t.has(e)?t.delete(e):t.add(e),l(t)}let h=r.size,g=h===0?`All cameras`:h===1?t.find(e=>r.has(e.id))?.name??`1 camera`:`${String(h)} cameras`;return n(`div`,{ref:p,className:`relative`,children:[n(`button`,{type:`button`,onClick:()=>d(e=>!e),disabled:t.length===0,className:`flex items-center gap-1.5 rounded-md border px-2.5 py-1 text-xs transition-colors disabled:opacity-40 ${h>0?`border-primary/40 bg-primary/8 text-primary`:`border-border text-foreground-subtle hover:bg-surface-hover hover:text-foreground`}`,children:[a(c,{className:`h-3.5 w-3.5`}),a(`span`,{className:`max-w-[10rem] truncate`,children:g}),a(f,{className:`h-3 w-3 opacity-70`})]}),u&&n(`div`,{className:`absolute left-0 z-30 mt-1 max-h-64 w-[min(15rem,calc(100vw-1.5rem))] overflow-y-auto rounded-md border border-border bg-surface p-1 shadow-lg shadow-black/30`,children:[h>0&&a(`button`,{type:`button`,onClick:()=>l(new Set),className:`mb-1 w-full rounded px-2 py-1 text-left text-[11px] text-foreground-subtle hover:bg-surface-hover hover:text-foreground`,children:`Clear selection`}),t.map(e=>{let t=r.has(e.id);return n(`button`,{type:`button`,onClick:()=>m(e.id),className:`flex w-full items-center gap-2 rounded px-2 py-1.5 text-left text-xs transition-colors ${t?`bg-primary/10 text-primary`:`text-foreground hover:bg-surface-hover`}`,children:[a(`span`,{className:`flex h-3.5 w-3.5 shrink-0 items-center justify-center rounded-sm border ${t?`border-primary bg-primary text-white`:`border-border`}`,children:t&&a(s,{className:`h-2.5 w-2.5`})}),a(`span`,{className:`truncate`,children:e.name})]},e.id)})]})]})}t();var M=[{label:`24h`,value:`24h`},{label:`7d`,value:`7d`},{label:`30d`,value:`30d`},{label:`All`,value:`all`}];function N({onChange:e}){let[t,r]=i(`all`),[o,s]=i(``),[c,l]=i(``);function u(t){r(t),s(``),l(``),e(_(t,Date.now()))}function d(t,n){r(`custom`),s(t),l(n),e({fromMs:S(t),toMs:C(n)})}let f=`rounded-md border border-border bg-surface px-2 py-1.5 text-[11px] text-foreground outline-none focus:border-primary [color-scheme:light] dark:[color-scheme:dark]`;return n(`div`,{className:`flex flex-wrap items-center gap-1.5`,children:[a(`div`,{className:`flex items-center gap-1 rounded-md border border-border p-0.5`,children:M.map(e=>a(`button`,{type:`button`,onClick:()=>u(e.value),className:`rounded px-2.5 py-1 text-[11px] transition-colors ${t===e.value?`bg-primary/12 text-primary font-medium`:`text-foreground-subtle hover:bg-surface-hover hover:text-foreground`}`,children:e.label},e.value))}),n(`div`,{className:`flex items-center gap-1`,children:[a(`input`,{type:`date`,"aria-label":`From date`,value:o,max:c||void 0,onChange:e=>d(e.target.value,c),className:`${f} ${t===`custom`&&o?`border-primary/50`:``}`}),a(`span`,{className:`text-[11px] text-foreground-subtle`,children:`→`}),a(`input`,{type:`date`,"aria-label":`To date`,value:c,min:o||void 0,onChange:e=>d(o,e.target.value),className:`${f} ${t===`custom`&&c?`border-primary/50`:``}`})]})]})}t();var P=2.6;function F({src:e,alt:t,className:r,overlay:s,fit:c=`contain`}){let[l,u]=i(!1),[d,f]=i(`50% 50%`);o(()=>{u(!1),f(`50% 50%`)},[e]);function p(e){if(!l){let t=e.currentTarget.getBoundingClientRect(),n=(e.clientX-t.left)/t.width*100,r=(e.clientY-t.top)/t.height*100;f(`${String(n)}% ${String(r)}%`)}u(e=>!e)}let m=c===`natural`;return a(`div`,{className:`relative overflow-hidden bg-background ${r??``}`,onClick:p,children:n(`div`,{className:`relative select-none transition-transform duration-200 ease-out ${m?`w-full`:`h-full w-full`} ${l?`cursor-zoom-out`:`cursor-zoom-in`}`,style:{transformOrigin:d,transform:l?`scale(${String(P)})`:`scale(1)`},children:[a(`img`,{src:e,alt:t,draggable:!1,className:m?`block h-auto w-full object-contain`:`h-full w-full object-contain`}),s]})})}function I(e){let{delayMs:t,invalidate:n,setTimeoutFn:r=setTimeout,clearTimeoutFn:i=clearTimeout}=e,a;function o(){a===void 0&&(a=r(()=>{a=void 0,n()},t))}function s(){a!==void 0&&(i(a),a=void 0)}return{trigger:o,cancel:s}}export{A as a,x as c,T as d,w as f,j as i,b as l,p as m,F as n,D as o,E as p,N as r,m as s,I as t,y as u};
|