@ -1,4 +1,5 @@ |
|||
VITE_API_URL=https://wwwskillhub.popi.art |
|||
VITE_SKILLHUB_URL=https://wwwtestskillhub.popi.art |
|||
VITE_CANVAS_URL=https://wwwtestcanvas.popi.art/ |
|||
|
|||
|
|||
|
|||
@ -1,4 +1,4 @@ |
|||
VITE_API_URL=https://popi.yuanzoo.cn/ |
|||
VITE_SKILLHUB_URL=https://skillhub.popi.art |
|||
|
|||
VITE_CANVAS_URL=https://canvas.popi.art/ |
|||
|
|||
|
|||
@ -1,4 +1,5 @@ |
|||
VITE_API_URL=https://wwwtest.popi.art/ |
|||
VITE_SKILLHUB_URL=https://wwwtestskillhub.popi.art |
|||
VITE_CANVAS_URL=https://wwwtestcanvas.popi.art/ |
|||
|
|||
|
|||
|
|||
@ -1 +1,13 @@ |
|||
node_modules |
|||
|
|||
# Vite build output |
|||
dist/ |
|||
|
|||
# vite-plugin-compression (gzip / brotli) |
|||
*.gz |
|||
*.br |
|||
|
|||
# Local deploy archives (repo root) |
|||
/*.zip |
|||
/*.tar.gz |
|||
/*.tgz |
|||
|
|||
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 402 KiB |
|
Before Width: | Height: | Size: 6.8 KiB |
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 9.7 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 311 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 142 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 19 KiB |
|
Before Width: | Height: | Size: 11 KiB |
|
Before Width: | Height: | Size: 171 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 1.1 MiB |
|
Before Width: | Height: | Size: 9.4 KiB |
|
Before Width: | Height: | Size: 1.0 MiB |
|
Before Width: | Height: | Size: 1003 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 13 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 288 KiB |
|
Before Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 8.2 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 8.7 KiB |
|
Before Width: | Height: | Size: 97 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 31 KiB |
|
Before Width: | Height: | Size: 24 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 279 KiB |
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 50 KiB |
|
Before Width: | Height: | Size: 90 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 10 KiB |
|
Before Width: | Height: | Size: 47 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 37 KiB |
|
Before Width: | Height: | Size: 71 KiB |
|
Before Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 9.9 KiB |
|
Before Width: | Height: | Size: 27 KiB |
|
Before Width: | Height: | Size: 5.7 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 28 KiB |
|
Before Width: | Height: | Size: 7.3 KiB |
|
Before Width: | Height: | Size: 7.8 KiB |
|
Before Width: | Height: | Size: 4.9 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 12 KiB |
|
Before Width: | Height: | Size: 22 KiB |
|
Before Width: | Height: | Size: 8.0 KiB |
|
Before Width: | Height: | Size: 25 KiB |
|
Before Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 20 KiB |
@ -1,2 +0,0 @@ |
|||
function v(p){return String(p??"").trim()}function N(p){const f=p.currentTarget;if(!f)return null;if(f instanceof HTMLImageElement)return f.complete&&f.naturalWidth>0&&f.naturalHeight>0?f:null;const g=f.querySelector("img");return g&&g.complete&&g.naturalWidth>0&&g.naturalHeight>0?g:null}function L(p){const f=Math.max(8,Number(p?.maxCacheCount??32)),g=p?.enableCanvasWarmup??!0,W=Math.max(1,Number(p?.maxWarmupPerCall??24)),y=p?.disableCanvasPreview??!1,l=new Map,w=new Map,c=new Map,x=new Set,d=document.createElement("div");d.style.width="1px",d.style.height="1px",d.style.position="fixed",d.style.top="-9999px",d.style.left="-9999px",d.style.opacity="0",document.body.appendChild(d);const E=e=>{const t=l.get(e);t?.parentNode&&t.parentNode.removeChild(t),l.delete(e),w.delete(e)},b=e=>{const t=c.get(e);t?.parentNode&&t.parentNode.removeChild(t),c.delete(e)},k=()=>{for(;l.size>f;){const e=l.keys().next().value;if(!e)break;E(e),b(e)}},C=e=>{if(!e.complete||e.naturalWidth<=0||e.naturalHeight<=0)return null;const t=120,a=document.createElement("canvas");a.width=t,a.height=t,a.style.width=`${t}px`,a.style.height=`${t}px`,a.style.position="fixed",a.style.top="-9999px",a.style.left="-9999px";const r=a.getContext("2d");if(!r)return null;const n=e.naturalWidth,s=e.naturalHeight,m=n/s,u=1;let o=0,i=0,h=n,P=s;return m>u?(h=s*u,o=(n-h)/2):m<u&&(P=n/u,i=(s-P)/2),r.drawImage(e,o,i,h,P,0,0,t,t),a},I=e=>{const t=v(e);if(!t)return null;const a=l.get(t);if(a)return l.delete(t),l.set(t,a),a;const r=new Image;return r.src=t,r.style.width="120px",r.style.height="120px",r.style.objectFit="cover",r.decoding="async",r.loading="eager",l.set(t,r),k(),r},T=e=>{const t=v(e);if(!t)return Promise.resolve();const a=w.get(t);if(a)return a;const r=I(t);if(!r)return Promise.resolve();const n=new Promise(s=>{if(r.complete&&r.naturalWidth>0){s();return}const m=()=>{r.removeEventListener("load",m),r.removeEventListener("error",m),s()};r.addEventListener("load",m,{once:!0}),r.addEventListener("error",m,{once:!0})}).then(async()=>{try{typeof r.decode=="function"&&await r.decode()}catch{}});return w.set(t,n),n},D=e=>{const t=v(e);return!t||c.has(t)?Promise.resolve():T(t).then(()=>{if(c.has(t))return;const a=l.get(t);if(!a)return;const r=C(a);r&&(document.body.appendChild(r),c.set(t,r))})};return{ensurePreviewImage:I,warmupPreviewImages:e=>{let t=0;e.forEach(a=>{if(t>=W)return;const r=v(a);if(!r||x.has(r))return;x.add(r),t+=1;const n=()=>{T(r),g&&!y&&D(r)};"requestIdleCallback"in window?window.requestIdleCallback(n,{timeout:1200}):setTimeout(n,0)})},startImageDrag:({evt:e,dragUrl:t,previewUrl:a,preferDomDragImage:r})=>{const n=v(t);if(!n||!e.dataTransfer)return!1;if(e.dataTransfer.clearData(),e.dataTransfer.setData("text/plain",n),e.dataTransfer.setData("text/uri-list",n),e.dataTransfer.setData("text/html",`<img src="${n}" />`),r){const o=N(e);if(o){const i=C(o);if(i){document.body.appendChild(i);const h=`__dom_preview__:${n}`;return b(h),c.set(h,i),e.dataTransfer.setDragImage(i,60,60),!0}}}const s=v(a??n),m=I(s);let u=y?null:c.get(s);if(!u&&!y&&m){const o=C(m);o?(document.body.appendChild(o),c.set(s,o),u=o):D(s)}if(!u){const o=N(e);if(o){const i=C(o);i&&(document.body.appendChild(i),c.set(s,i),u=i)}}return u?e.dataTransfer.setDragImage(u,60,60):e.dataTransfer.setDragImage(d,0,0),!0},dispose:()=>{l.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),c.forEach(e=>{e.parentNode&&e.parentNode.removeChild(e)}),l.clear(),w.clear(),c.clear(),x.clear(),d.parentNode&&d.parentNode.removeChild(d)}}}export{L as c}; |
|||
//# sourceMappingURL=imageDragTransfer-apm0lmHd.js.map
|
|||
@ -1 +0,0 @@ |
|||
@charset "UTF-8";.createPage__myCreationsWrap{padding:0 29px;box-sizing:border-box}.createPage__myCreationsGrouped{display:flex;flex-direction:column;gap:24px}.createPage__myCreationsDaySection{margin:0;padding:0}.createPage__myCreationsDayTitle{margin:0 0 20px;padding:0;font-size:16px;font-weight:500;line-height:1.4;color:#666}.createPage__myCreationsList{display:flex;flex-wrap:wrap;gap:15px;margin:0;padding:0;list-style:none}@media (max-width: 640px){.createPage__myCreationsList{grid-template-columns:repeat(2,minmax(0,1fr))}}.createPage__myCreationsListItem{width:260px;height:260px;margin-bottom:20px;padding:0;aspect-ratio:1;border-radius:8px;overflow:hidden;background:#f5f5f5;cursor:pointer}.createPage__myCreationsListItem_video{position:relative}.createPage__myCreationsVideoHoverOverlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;box-sizing:border-box;background:#00000073;opacity:1;transition:opacity .18s ease;pointer-events:none}.createPage__myCreationsListItem_video:hover .createPage__myCreationsVideoHoverOverlay{opacity:0;background:transparent}.createPage__myCreationsVideoHoverIcon{width:56px;height:56px;display:block;max-width:100%;max-height:100%}@keyframes createPage__myCreationsPendingSpin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}.createPage__myCreationsListItem_pending{border-radius:9px;background:linear-gradient(136deg,#f0f0f0 36.14%,#d6ceef 99.52%);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}.createPage__myCreationsListItem_pending .createPage__myCreationsPendingIcon{width:70px;height:70px;display:block;animation:createPage__myCreationsPendingSpin 4s linear infinite}.createPage__myCreationsListItem_pending .createPage__myCreationsPendingLabel{color:#6841ea4d;text-align:center;font-family:Source Han Sans CN;font-size:12px;font-style:normal;font-weight:500;line-height:normal}.createPage__myCreationsThumb{display:block;width:100%;height:100%;object-fit:contain;object-position:center}.createPage__myCreationsThumb_empty{width:100%;height:100%;min-height:80px;background:#ebebeb}.createPage__myCreationsSentinel{height:1px;margin-top:8px;pointer-events:none}.createPage__myCreationsLoadMore{margin-top:8px;text-align:center}@media (max-width: 520px){.createPage__myCreationsWrap{padding-left:16px;padding-right:16px}.createPage__filters{justify-content:flex-start}.createPage__batchBtn{align-self:flex-end}} |
|||
@ -1,2 +0,0 @@ |
|||
import{j as a}from"./markdown-vendor-BZI_VWzW.js";import{u as i,r as o}from"./data-vendor-BOGugMqL.js";import{e as c,O as n}from"./react-vendor-CmPQC3tV.js";const l=["myCreations","inspiration","favorite"],m={myCreations:"my-creations",inspiration:"inspiration",favorite:"favorite"};function x(){const{t:r}=i(),t=o.useId();return a.jsxs("div",{className:"createPage",children:[a.jsx("header",{className:"createPage__toolbar createPage__toolbar_primary_only",children:a.jsx("div",{className:"createPage__primaryTabs",role:"tablist","aria-label":r("pages.create.toolbarAria"),children:l.map(e=>a.jsx(c,{id:`${t}-tab-${e}`,to:m[e],end:!0,role:"tab",className:({isActive:s})=>classNames("createPage__primaryTab",s&&"createPage__primaryTab_active"),children:r(`pages.create.tabs.${e}`)},e))})}),a.jsx("div",{className:"createPage__outlet",children:a.jsx(n,{context:t})})]})}export{x as default}; |
|||
//# sourceMappingURL=index-3jBeF7Sc.js.map
|
|||