offsite 0.0.93 → 0.0.95
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/apps/client/dist/assets/{XIcon-CDJz0EhT.js → XIcon-Tc8nkaoT.js} +4 -4
- package/apps/client/dist/assets/{audio-player-CEvt4CVB.js → audio-player-DosgEDBw.js} +1 -1
- package/apps/client/dist/assets/{button-CWFREsRn.js → button-BnzxfmO3.js} +1 -1
- package/apps/client/dist/assets/diff-panel-DTqI0r9W.js +260 -0
- package/apps/client/dist/assets/{dist-C_Y10kCd.js → dist-DNx_j6Py.js} +1 -1
- package/apps/client/dist/assets/{editor-dialog-CEMtEtdH.js → editor-dialog-Se2DP1E5.js} +36 -36
- package/apps/client/dist/assets/{image-viewer-3S4rNjFt.js → image-viewer-qKLCNUVK.js} +1 -1
- package/apps/client/dist/assets/index-B6yjBLio.js +72 -0
- package/apps/client/dist/assets/index-BFkBeASv.css +2 -0
- package/apps/client/dist/assets/panel-close-button-ByrJIu34.js +1 -0
- package/apps/client/dist/assets/{preview-dialog-BuSSuMeQ.js → preview-dialog-CnvAwgMU.js} +2 -2
- package/apps/client/dist/assets/{react-BgpkckXP.js → react-aDzERmfM.js} +1 -1
- package/apps/client/dist/assets/{tooltip-CKPboHje.js → tooltip-CU6Gh-yj.js} +1 -1
- package/apps/client/dist/assets/{use-editor-shortcut-auobREOP.js → use-editor-shortcut-CGHT7fnL.js} +26 -26
- package/apps/client/dist/assets/{utils-U6QfaJBO.js → utils-Cih_T9uV.js} +1 -1
- package/apps/client/dist/assets/{video-viewer-gcKzQe3N.js → video-viewer-Ctc_XHXE.js} +1 -1
- package/apps/client/dist/assets/zoomable-image-D0X1OvmT.js +1 -0
- package/apps/client/dist/assets/{zoomable-image-BD-kkiyn.js → zoomable-image-D6TeXYQ9.js} +1 -1
- package/apps/client/dist/index.html +10 -10
- package/apps/client/dist/sw.js +1 -1
- package/apps/server/dist/main.mjs +563 -155
- package/apps/server/dist/main.mjs.map +1 -1
- package/package.json +1 -1
- package/apps/client/dist/assets/diff-panel-CeJqpNi8.js +0 -260
- package/apps/client/dist/assets/index-CC5CJi_g.css +0 -2
- package/apps/client/dist/assets/index-CwwKJuU6.js +0 -72
- package/apps/client/dist/assets/panel-close-button-Bf-0TdmN.js +0 -1
- package/apps/client/dist/assets/zoomable-image-_HGrW8wW.js +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{i as e,t}from"./rolldown-runtime-COiEfhsA.js";import{c as n,l as r}from"./utils-U6QfaJBO.js";import{t as i}from"./XIcon-CDJz0EhT.js";import{a,t as o}from"./button-CWFREsRn.js";var s=[[`path`,{d:`M15 6C15 6 9.00001 10.4189 9 12C8.99999 13.5812 15 18 15 18`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],c=[[`path`,{d:`M18 9.00005C18 9.00005 13.5811 15 12 15C10.4188 15 6 9 6 9`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}]],l=[[`path`,{d:`M18 14C18 14 13.5811 19 12 19C10.4188 19 6 14 6 14`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`0`}],[`path`,{d:`M18 9.99996C18 9.99996 13.5811 5.00001 12 5C10.4188 4.99999 6 10 6 10`,stroke:`currentColor`,strokeLinecap:`round`,strokeLinejoin:`round`,strokeWidth:`1.5`,key:`1`}]],u=t(((e,t)=>{var n=NaN,r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,o=/^0o[0-7]+$/i,s=parseInt,c=typeof global==`object`&&global&&global.Object===Object&&global,l=typeof self==`object`&&self&&self.Object===Object&&self,u=c||l||Function(`return this`)(),d=Object.prototype.toString,f=Math.max,p=Math.min,m=function(){return u.Date.now()};function h(e,t,n){var r,i,a,o,s,c,l=0,u=!1,d=!1,h=!0;if(typeof e!=`function`)throw TypeError(`Expected a function`);t=y(t)||0,g(n)&&(u=!!n.leading,d=`maxWait`in n,a=d?f(y(n.maxWait)||0,t):a,h=`trailing`in n?!!n.trailing:h);function _(t){var n=r,a=i;return r=i=void 0,l=t,o=e.apply(a,n),o}function v(e){return l=e,s=setTimeout(S,t),u?_(e):o}function b(e){var n=e-c,r=e-l,i=t-n;return d?p(i,a-r):i}function x(e){var n=e-c,r=e-l;return c===void 0||n>=t||n<0||d&&r>=a}function S(){var e=m();if(x(e))return C(e);s=setTimeout(S,b(e))}function C(e){return s=void 0,h&&r?_(e):(r=i=void 0,o)}function w(){s!==void 0&&clearTimeout(s),l=0,r=c=i=s=void 0}function T(){return s===void 0?o:C(m())}function E(){var e=m(),n=x(e);if(r=arguments,i=this,c=e,n){if(s===void 0)return v(c);if(d)return s=setTimeout(S,t),_(c)}return s===void 0&&(s=setTimeout(S,t)),o}return E.cancel=w,E.flush=T,E}function g(e){var t=typeof e;return!!e&&(t==`object`||t==`function`)}function _(e){return!!e&&typeof e==`object`}function v(e){return typeof e==`symbol`||_(e)&&d.call(e)==`[object Symbol]`}function y(e){if(typeof e==`number`)return e;if(v(e))return n;if(g(e)){var t=typeof e.valueOf==`function`?e.valueOf():e;e=g(t)?t+``:t}if(typeof e!=`string`)return e===0?e:+e;e=e.replace(r,``);var c=a.test(e);return c||o.test(e)?s(e.slice(2),c?2:8):i.test(e)?n:+e}t.exports=h})),d=e(r(),1),f=e(u(),1),p=typeof window<`u`?d.useLayoutEffect:d.useEffect;function m(e,t,n,r){let i=(0,d.useRef)(t);p(()=>{i.current=t},[t]),(0,d.useEffect)(()=>{let t=n?.current??window;if(!(t&&t.addEventListener))return;let a=e=>{i.current(e)};return t.addEventListener(e,a,r),()=>{t.removeEventListener(e,a,r)}},[e,n,r])}function h(e){let t=(0,d.useRef)(()=>{throw Error(`Cannot call an event handler while rendering.`)});return p(()=>{t.current=e},[e]),(0,d.useCallback)((...e)=>t.current?.call(t,...e),[t])}var g=typeof window>`u`;function _(e,t,n={}){let{initializeWithValue:r=!0}=n,i=(0,d.useCallback)(e=>n.serializer?n.serializer(e):JSON.stringify(e),[n]),a=(0,d.useCallback)(e=>{if(n.deserializer)return n.deserializer(e);if(e===`undefined`)return;let r=t instanceof Function?t():t,i;try{i=JSON.parse(e)}catch(e){return console.error(`Error parsing JSON:`,e),r}return i},[n,t]),o=(0,d.useCallback)(()=>{let n=t instanceof Function?t():t;if(g)return n;try{let t=window.localStorage.getItem(e);return t?a(t):n}catch(t){return console.warn(`Error reading localStorage key \u201C${e}\u201D:`,t),n}},[t,e,a]),[s,c]=(0,d.useState)(()=>r?o():t instanceof Function?t():t),l=h(t=>{g&&console.warn(`Tried setting localStorage key \u201C${e}\u201D even though environment is not a client`);try{let n=t instanceof Function?t(o()):t;window.localStorage.setItem(e,i(n)),c(n),window.dispatchEvent(new StorageEvent(`local-storage`,{key:e}))}catch(t){console.warn(`Error setting localStorage key \u201C${e}\u201D:`,t)}}),u=h(()=>{g&&console.warn(`Tried removing localStorage key \u201C${e}\u201D even though environment is not a client`);let n=t instanceof Function?t():t;window.localStorage.removeItem(e),c(n),window.dispatchEvent(new StorageEvent(`local-storage`,{key:e}))});(0,d.useEffect)(()=>{c(o())},[e]);let f=(0,d.useCallback)(t=>{t.key&&t.key!==e||c(o())},[e,o]);return m(`storage`,f),m(`local-storage`,f),[s,l,u]}function v(e){let t=(0,d.useRef)(e);t.current=e,(0,d.useEffect)(()=>()=>{t.current()},[])}function y(e,t=500,n){let r=(0,d.useRef)();v(()=>{r.current&&r.current.cancel()});let i=(0,d.useMemo)(()=>{let i=(0,f.default)(e,t,n),a=(...e)=>i(...e);return a.cancel=()=>{i.cancel()},a.isPending=()=>!!r.current,a.flush=()=>i.flush(),a},[e,t,n]);return(0,d.useEffect)(()=>{r.current=(0,f.default)(e,t,n)},[e,t,n]),i}function b(e,t,n){let r=n?.equalityFn??((e,t)=>e===t),i=e instanceof Function?e():e,[a,o]=(0,d.useState)(i),s=(0,d.useRef)(i),c=y(o,t,n);return r(s.current,i)||(c(i),s.current=i),[a,c]}var x=typeof window>`u`;function S(e,t={}){let{initializeWithValue:n=!0}=t;x&&(n=!1);let r=(0,d.useCallback)(e=>{if(t.deserializer)return t.deserializer(e);if(e===`undefined`)return;let n;try{n=JSON.parse(e)}catch(e){return console.error(`Error parsing JSON:`,e),null}return n},[t]),i=(0,d.useCallback)(()=>{if(x)return null;try{let t=window.localStorage.getItem(e);return t?r(t):null}catch(t){return console.warn(`Error reading localStorage key \u201C${e}\u201D:`,t),null}},[e,r]),[a,o]=(0,d.useState)(()=>{if(n)return i()});(0,d.useEffect)(()=>{o(i())},[e]);let s=(0,d.useCallback)(t=>{t.key&&t.key!==e||o(i())},[e,i]);return m(`storage`,s),m(`local-storage`,s),a}var C=n();function w(e){return e.mobile?(0,C.jsx)(o,{size:`icon`,variant:`ghost`,className:`-ml-1`,title:`Back`,"aria-label":`Back`,onClick:e.onClick,children:(0,C.jsx)(a,{icon:s,className:`text-foreground size-5`,strokeWidth:2})}):(0,C.jsx)(o,{size:`icon-sm`,variant:`ghost`,title:`Close`,"aria-label":`Close`,onClick:e.onClick,children:(0,C.jsx)(a,{icon:i,className:`size-4`})})}export{l as a,S as i,b as n,c as o,_ as r,s,w as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export{t as ZoomableImage}from"./zoomable-image-BD-kkiyn.js";
|