PageSourceSearch

https://slugish.ai/build/assets/preview-Dj8Bw64G.js

js slugish.ai collected 2026-10-05 12:40:18 UTC 32,852 bytes, 97 lines download raw bytes

1import{r as l,j as e,u as Ze,b as D,L as de}from"./app-DP13319Q.js";import"./model-viewer-BNdxy5m2.js";import{E as Ge,F as Ke,R as Je}from"./index-AJEeJH9Y.js";import{c as ue}from"./cjs-G0qneMx2.js";import{F as he,_ as Qe,$ as Xe}from"./index-CtyZ6W6U.js";import{S as et,E as tt,N as ot,d as st}from"./effect-fade-CFAMJYaO.js";/* empty css            */import"./index-ZXty2wc9.js";import"./clsx-B-dksMZM.js";const fe=({children:n,onClose:s,show:u})=>(l.useEffect(()=>{const h=i=>{i.key==="Escape"&&s()};return document.addEventListener("keydown",h),()=>document.removeEventListener("keydown",h)},[s]),u?e.jsx("div",{className:"fixed inset-0 z-50 overflow-y-auto",children:e.jsxs("div",{className:"flex items-center justify-center text-center sm:block sm:p-0",children:[e.jsx("div",{className:"fixed inset-0",onClick:s,children:e.jsx("div",{className:"absolute inset-0"})}),e.jsx("span",{className:"hidden sm:inline-block sm:align-middle sm:h-screen",children:"​"}),n]})}):null),me=l.memo(({content:n,onEyeClick:s,index:u,mode:h})=>{const i=()=>{if(!h)return"";const f=h.split(","),S=u%f.length;switch(f[S]){case"L":return"self-start ml-5 mr-auto";case"C":return"self-center mx-auto";case"R":return"self-end ml-auto mr-5";default:return""}};return e.jsx(Je,{defaultSize:{width:n.width,height:"auto"},minWidth:100,minHeight:50,bounds:"parent",enable:{top:!1,right:!0,bottom:!0,left:!1,topRight:!1,bottomRight:!0,bottomLeft:!1,topLeft:!1},className:`relative m-5 hover:overflow-auto overflow-hidden touch-manipulation ${i()}`,children:e.jsxs("div",{className:"p-4 justify-center rounded-lg shadow bg-[rgba(31,41,55,0.5)] relative w-full h-full flex flex-col items-center justify-center",children:[e.jsx("div",{className:"absolute top-2 right-2 z-50 cursor-pointer hidden touch-action-none",onClick:()=>s(n.url||null),onTouchEnd:f=>{f.preventDefault(),s(n.url||null)},children:"👁️"}),n.title&&e.jsx("div",{dangerouslySetInnerHTML:{__html:n.title},className:"text-center w-full touch-manipulation"}),n.url&&e.jsx("div",{dangerouslySetInnerHTML:{__html:n.url},className:"text-center w-full touch-manipulation"})]})})});me.displayName="ResizableContent";function ft(){var ie,re;const{auth:n,template:s,allTemplates:u,contents:h,funnel:i,eye_tracking:f,fly_sign:S,count:H,sidebarwidth:L,effect:A,mode:pe}=Ze().props,[r,E]=l.useState("design"),[C,F]=l.useState(!0),[xe,$]=l.useState(!1),[ge,q]=l.useState(!1),[be,O]=l.useState(!1),[we,x]=l.useState(!1),[w,c]=l.useState(!1),[R,T]=l.useState(f===1),[ye,z]=l.useState({right:L}),[_,I]=l.useState({show:!1,content:null}),[ve,W]=l.useState(0),[je,Z]=l.useState(0),[y,G]=l.useState(null),K=l.useRef(null),J=l.useRef(null),m=l.useRef(null),[Ne,U]=l.useState(!1),[ke,B]=l.useState(!1),p=l.useRef(null),v=l.useRef(null),j=l.useRef(null),Se=t=>{try{return new URL(t),!0}catch{return!1}},Y=l.useCallback(t=>{var ce;if(!(t!=null&&t.image))return null;const o=((ce=t.image.split(".").pop())==null?void 0:ce.toLowerCase())||"",N=`${t.user_id===0?"https://admin.ez3d.ai/":"https://ez.wiki/"}${t.image}`,Pe=["jpg","jpeg","png","gif","bmp","tiff","tif","webp","apng","svg","ico"],Me=["ppt","pptx","pdf","xls","xlsx","doc","docx","pages","ai","psd","eps","ttf","dxf","xps","rar","zip","ods","odt","odp"],De=/(?:youtube(?:-nocookie)?\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?/ ]{11})/i,Le=/(?:https?:\/\/)?(?:www\.)?linkedin\.com\/(?:in|posts|company|feed|showcase|embed\/feed\/update\/urn:li:[^/]+:[^"&?/ ]+)/i,Fe=/^https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)(?:[?]?.*)$/im,Te=/^(https?:\/\/)?(www\.)?fb\.watch\/[a-zA-Z0-9(\.\?)?]/,_e=/^(https?:\/\/)?(www\.)?facebook\.com\/[a-zA-Z0-9(\.\?)?]/,Ue=/<iframe.*?src=["'](.*?)["'].*?>.*?<\/iframe>/is,Be=/<blockquote/,k=t.image.match(De),Ye=t.image.match(Le),ae=t.image.match(Fe),Ve=t.image.match(Te),He=t.image.match(_e),Ae=t.image.match(Ue)||Be.test(t.image),qe=new Blob([t.image],{type:"text/html"}),Oe=URL.createObjectURL(qe);if(Pe.includes(o))return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
2                        .blur-overlay {
3                            position: fixed;
4                            top: 0;
5                            left: 0;
6                            width: 100%;
7                            height: 100%;
8                            backdrop-filter: blur(20px);
9                            z-index: -1;
10                        }
11                    `}),e.jsx("div",{className:"blur-overlay"}
11),e.jsx("img",{src:N,alt:"Background",className:"absolute inset-0 max-w-full max-h-full m-auto z-0 rounded-lg touch-none",onError:a=>console.error("Image failed to load",a)},`img-${t.id}`)]});if(Me.includes(o))return e.jsx("iframe",{src:`https://docs.google.com/viewer?url=${encodeURIComponent(N)}&embedded=true`,className:"fixed top-0 left-0 w-full h-full touch-action-pan-y",frameBorder:"0",loading:"lazy",allow:"autoplay; fullscreen",allowFullScreen:!0,sandbox:"allow-scripts allow-same-origin",title:"Document Viewer",scrolling:"yes"},`doc-${t.id}`);if(Ae){const a=t.image.replace(/<(iframe|blockquote)([^>]*)\s(height|width|style)=["'][^"']*["']([^>]*)>/gi,'<$1$2$4 class="fixed top-0 left-0 w-full h-full" scrolling="yes">').replace(/class="([^"]*)"/g,'class="$1 absolute inset-0 m-auto"'),We=/<(iframe|blockquote)[^>]*class="/i.test(a)?a:a.replace(/<(iframe|blockquote)/g,'<$1 scrolling="yes" class="absolute w-full h-full inset-0 m-auto"');return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
12                        .blur-overlay {
13                            position: fixed;
14                            top: 0;
15                            left: 0;
16                            width: 100%;
17                            height: 100%;
18                            backdrop-filter: blur(20px);
19                            z-index: -2;
20                        }
21                        .twitter-tweet {
22                            position: fixed;
23                            top: 0;
24                            left: 0;
25                            width: 100vw;
26                            height: 100vh;
27                            object-fit: cover;
28                            z-index: 0;
29                            border: none;
30                        }
31                    `}),e.jsx("div",{className:"blur-overlay"}),e.jsx("div",{className:"fixed top-0 left-0 w-full h-full object-cover touch-none",dangerouslySetInnerHTML:{__html:We}},`iframe-${t.id}`)]})}if(k){const a=t.option==="autoplay"?"autoplay=1":t.option==="mute"?"autoplay=1&mute=1":"mute=1";return e.jsxs(e.Fragment,{children:[e.jsx("div",{className:"fixed top-0 left-0 w-full h-full z-[-2]",children:e.jsx("iframe",{loading:"lazy",src:`https://www.youtube.com/embed/${k[1]}?${a}&loop=1&playlist=${k[1]}&controls=0&showinfo=0&modestbranding=1&iv_load_policy=3`,className:"w-full h-full object-cover touch-action-pan-y",frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0},`yt-embed-${t.id}`)}),e.jsx("style",{children:`
32                        .blur-overlay {
33                            position: fixed;
34                            top: 0;
35                            left: 0;
36                            width: 100%;
37                            height: 100%;
38                            backdrop-filter: blur(20px);
39                            z-index: -1;
40                        }
41                    `}),e.jsx("div",{className:"blur-overlay"}),e.jsx("iframe",{id:"bgVideo",loading:"lazy",className:"fixed top-0 left-0 w-full h-full object-cover touch-action-pan-y",src:`https://www.youtube.com/embed/${k[1]}?${t.option}=1&mute=1&loop=1&playlist=${k[1]}`,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0},`yt-main-${t.id}`)]})}if(Ye){let a=t.image;return a.includes("?compact=1")||(a+=(a.includes("?")?"&":"?")+"compact=1"),e.jsx("div",{className:"fixed top-0 left-0 w-full h-full flex justify-center items-center bg-black",children:e.jsx("iframe",{id:"bgVideo",src:a,className:"w-full h-full touch-action-pan-y",frameBorder:"0",allowFullScreen:!0,title:"Embedded LinkedIn Post",scrolling:"yes"},`linkedin-${t.id}`)})}return ae?e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
42                        .blur-overlay {
43                            position: fixed;
44                            top: 0;
45                            left: 0;
46                            width: 100%;
47                            height: 100%;
48                            backdrop-filter: blur(20px);
49                            z-index: -1;
50                        }
51                    `}),e.jsx("div",{className:"blur-overlay"}),e.jsx("iframe",{loading:"lazy",id:"bgVideo",allow:"camera; microphone; fullscreen; display-capture; autoplay",src:`https://player.vimeo.com/video/${ae[3]}?h=33160d1512&color=de0101`,className:"fixed top-0 left-0 w-full h-full object-cover touch-action-pan-y",frameBorder:"0",allowFullScreen:!0},`vimeo-${t.id}`)]}):Ve||He&&!t.image.includes("groups")?e.jsx("div",{className:"fixed top-0 left-0 w-full h-full",children:e.jsx("div",{className:"fb-post","data-href":t.image,"data-width":"1400","data-show-text":"true"},`fb-${t.id}`)}):o==="mp4"?e.jsxs(e.Fragment,{children:[e.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInl
51ine:!0,className:"fixed top-0 left-0 w-full h-full object-cover z-[-3] touch-none",children:[e.jsx("source",{src:N,type:"video/mp4"}),"Your browser does not support the video tag."]},`mp4-bg-${t.id}`),e.jsx("style",{children:`
52                        .blur-overlay {
53                            position: fixed;
54                            top: 0;
55                            left: 0;
56                            width: 100%;
57                            height: 100%;
58                            backdrop-filter: blur(20px);
59                            z-index: -2;
60                        }
61                    `}),e.jsx("div",{className:"blur-overlay"}),e.jsxs("video",{id:"bgVideo",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"absolute inset-0 w-full h-full m-auto touch-action-pan-y",controls:!0,children:[e.jsx("source",{src:N,type:"video/mp4"}),"Your browser does not support the video tag."]},`mp4-main-${t.id}`)]}):o==="glb"?e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
62                        .blur-overlay {
63                            position: fixed;
64                            top: 0;
65                            left: 0;
66                            width: 100%;
67                            height: 100%;
68                            backdrop-filter: blur(20px);
69                            z-index: -1;
70                        }
71                    `}),e.jsx("div",{className:"blur-overlay"}),e.jsx("model-viewer",{src:N,alt:"3D model",className:"fixed top-0 left-0 w-full h-full touch-action-pan-y",ar:!0,"auto-rotate":!0,"camera-controls":!0,"shadow-intensity":"1"},`glb-${t.id}`)]}):Se(t.image)?e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
72                        .blur-overlay {
73                            position: fixed;
74                            top: 0;
75                            left: 0;
76                            width: 100%;
77                            height: 100%;
78                            backdrop-filter: blur(20px);
79                            z-index: -1;
80                        }
81                    `}),e.jsx("div",{className:"blur-overlay"}),e.jsx("iframe",{loading:"lazy",id:"bgVideo",allow:"camera; microphone; fullscreen; display-capture; autoplay",src:t.image,className:"fixed top-0 left-0 w-full h-full touch-action-pan-y",frameBorder:"0",allowFullScreen:!0,scrolling:"yes"},`generic-${t.id}`)]}):e.jsx("iframe",{src:Oe,className:"fixed top-0 left-0 w-full h-full border-none touch-action-pan-y",allow:"fullscreen; microphone; camera; autoplay; display-capture",sandbox:`allow-forms allow-modals allow-pointer-lock allow-popups \r
82                        allow-presentation allow-scripts allow-downloads \r
83                        allow-storage-access-by-user-activation`,allowFullScreen:!0,loading:"lazy",name:"binauralMixerFrame",referrerpolicy:"strict-origin-when-cross-origin",title:"Binaural Audio Mixer"})},[]),Ee=l.useMemo(()=>u&&u.length>1?e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
84                        .swiper-button-next::after,
85                        .swiper-button-prev::after {
86                            content: none;
87                        }
88                    `}),e.jsxs(et,{modules:[tt,ot],effect:"fade",speed:1e3,loop:!0,loopAdditionalSlides:1,navigation:{nextEl:".swiper-button-next",prevEl:".swiper-button-prev"},className:"h-full w-full",children:[u.map(t=>e.jsx(st,{children:Y(t)},t.id)),e.jsx("div",{className:"swiper-button-prev !left-4 !text-white !w-10 !h-10 p-[5px] !flex !items-center !justify-center !bg-gray-800/70 !rounded-full",children:e.jsx(he,{icon:Qe,className:"!text-2xl "})}),e.jsx("div",{className:"swiper-button-next !right-4 !text-white !w-10 p-[5px] !h-10 !flex !items-center !justify-center !bg-gray-800/70 !rounded-full",children:e.jsx(he,{icon:Xe,className:"!text-2xl "})})]})]}):Y(s),[u,s,Y]),Ce=l.useMemo(()=>{var d;if(!(s!=null&&s.image))return null;const t=(d=s.image.split(".").pop())==null?void 0:d.toLowerCase();return["jpg","jpeg","png","gif","bmp","tiff","tif","webp","apng","svg","ico"].includes(t||"")?e.jsx("style",{children:`
89                .blur-bg {
90                    background: url('${s.user_id===0?"https://admin.ez3d.ai/":"https://ez.wiki/"}${s.image}') no-repeat center center;
91                    background-size: cover;
92                }
93            `}):null},[s]);l.useEffect(()=>{const t=async()=>{try{const o=await D.get(`/reactions/${i}/counts`);W(o.data.likes),Z(o.data.dislikes)}catch(o){console.error("Error loading reaction data:",o)}};i!=null&&i.id&&t()},[i==null?void 0:i.id]);const P=async t=>{try{const o=await D.post("/reactions",{funnelid:i,reaction:t});W(o.data.likes),Z(o.data.dislikes),o.data.action==="removed"&&y===t?G(null):G(t)}catch(o){console.error("Error submitting reaction:",o)}},Q=l.useCallback(t=>{p.current&&clearInterval(p.current);const o=25,d=50;p.current=setInterval(()=>{m.current&&m.current.scrollBy({top:t==="up"?-o:o,behavior:"auto"})},d)},[]);l.useEffect(()=>()=>{p.current&&clearInterval(p.current),j.current&&clearTimeout(j.current)},[]);const X=t=>{t==="up"?U(!0):B(!0),Q(t)},g=()=>{U(!1),B(!1),p.current&&(clearInterval(p.current),p.current=null)},$e=()=>{g()},ee=t=>{t==="up"?U(!0):B(!0),Q(t)},V=()=>{g()},te=t=>{v.current=t.touches[0].clientY},oe=t=>{if(!v.current)return;const o=t.touches[0].clientY,d=v.current-o;m.current&&m.current.scrollBy({top:d,behavior:"auto"}),v.current=o},se=()=>{v.current=null},M=()=>{T(!R),z(R?{right:L}:{right:"4%"})};l.useEffect(()=>{f===0?(T(!1),z({right:L})):(T(!0),z({right:"4%"}))},[f]),l.useEffect(()=>{const t=o=>{const d=o.target;w&&!d.closest(".relative")&&c(!1)};return document.addEventListener("mousedown",t),()=>{document.removeEventListener("mousedown",t)}},[w]),l.useEffect(()=>{n.user&&(s!=null&&s.id)&&Re()},[n.user,s==null?void 0:s.id]);const Re=async()=>{try{const t=await D.get(`/check-theme-collection/${s.id}`);q(t.data.isInCollection)}catch(t){console.error("Error checking theme collection:",t)}},le=async()=>
93{if(!n.user){$(!0);return}try{await D.post("/add-to-collection",{theme_id:s.id}),q(!0),O(!0),setTimeout(()=>O(!1),3e3)}catch(t){console.error("Error adding to collection:",t)}},ne=()=>{F(!C)};l.useEffect(()=>{F(S!==1)},[S]),l.useEffect(()=>{if(s!=null&&s.image.includes("facebook.com")||s!=null&&s.image.includes("fb.watch")){const t=document.createElement("script");return t.src="https://connect.facebook.net/en_US/sdk.js#xfbml=1&version=v18.0",t.async=!0,t.defer=!0,t.crossOrigin="anonymous",document.body.appendChild(t),()=>{document.body.removeChild(t)}}},[s]);const ze=l.useMemo(()=>h,[h]),Ie=l.useCallback(t=>{I({show:!0,content:t})},[]),b=t=>{j.current&&clearTimeout(j.current),j.current=setTimeout(()=>{t()},100)};return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:`
94			  iframe {
95				width: 100% !important;
96			  }
97			`}),be&&e.jsx("div",{className:"fixed top-4 right-4 z-[10000] bg-green-500 text-white px-4 py-2 rounded-md shadow-lg",children:"Theme added to your collection!"}),we&&e.jsx("div",{className:"fixed top-4 right-4 z-[10000] bg-green-500 text-white px-4 py-2 rounded-md shadow-lg",children:"Great! The theme URL has been copied to your clipboard."}),e.jsx(fe,{show:xe,onClose:()=>$(!1),children:e.jsx("div",{className:"inline-block mt-25 rounded-lg text-left overflow-hidden shadow-xl transform transition-all sm:my-8 sm:align-middle sm:max-w-lg sm:w-full",children:e.jsxs("div",{className:"p-6 rounded-2xl bg-gradient-to-br from-black via-gray-900 to-lime-900 shadow-2xl text-white",children:[e.jsx("h3",{className:"text-2xl font-semibold text-lime-400",children:"🔒 Login Required"}),e.jsx("p",{className:"mt-3 text-sm text-gray-300",children:"You need to log in to add this theme to your collection. Please sign in or cancel to go back."}),e.jsxs("div",{className:"mt-6 flex justify-end space-x-3",children:[e.jsx("button",{className:"bg-gradient-to-r from-gray-700 to-gray-900 text-white font-semibold py-2 px-4 rounded-lg border border-gray-600 shadow hover:bg-gray-800 hover:text-lime-400 hover:border-lime-500 transition-all duration-300",onClick:()=>$(!1),onTouchEnd:()=>b(()=>$(!1)),children:"Cancel"}),e.jsx(de,{href:route("login"),children:e.jsxs("span",{className:"bg-gradient-to-r from-lime-500 to-lime-600 text-black font-bold py-2 px-4 rounded-lg border-2 border-white shadow hover:shadow-xl hover:bg-white hover:text-black transition-all duration-300 flex items-center gap-2",onTouchEnd:()=>b(()=>window.location.href=route("login")),children:[e.jsx("i",{className:"fas fa-sign-in-alt"}),"SIGN IN"]})})]})]})})}),e.jsxs("main",{className:`relative flex min-h-screen overflow-hidden ${(ie=s==null?void 0:s.image.split(".").pop())!=null&&ie.toLowerCase()&&["jpg","jpeg","png","gif","bmp","tiff","tif","webp","apng","svg","ico"].includes(((re=s.image.split(".").pop())==null?void 0:re.toLowerCase())||"")?"blur-bg":""}`,children:[Ce,e.jsx("div",{className:"absolute inset-0 z-0",children:Ee}),C&&(A?e.jsx(Ge,{effects:A}):e.jsx(Ke,{})),e.jsxs("div",{className:`fixed top-[-6px] left-[-71px] w-[176px] ${C?"bg-red-600":"bg-green-600"} text-white text-[12px] font-bold text-center py-[10px] pb-[5px] shadow-md z-[9999] transform -rotate-45 cursor-pointer touch-manipulation`,onClick:ne,onTouchEnd:t=>{t.preventDefault(),ne()},children:[C?"OFF":"ON"," ",e.jsx("br",{})," Fly-Sign"]}),e.jsx(ue,{nodeRef:J,children:e.jsx("div",{ref:J,style:{display:R?"block":"none"},className:"absolute top-[50px] left-[100px] px-5 py-2 rounded-[24px] text-white font-bold cursor-pointer transition-all duration-300 z-[1001] hover:bg-gray-800/50 touch-manipulation",children:e.jsxs("picture",{onClick:M,onTouchEnd:t=>{t.preventDefault(),M()},children:[e.jsx("source",{srcSet:"https://fonts.gstatic.com/s/e/notoemoji/latest/1f440/512.webp",type:"image/webp"}),e.jsx("img",{src:"https://fonts.gstatic.com/s/e/notoemoji/latest/1f440/512.gif",alt:"👀",width:"80",height:"80",className:"emoji-eye"})]})})}),e.jsx("div",{className:"fixed top-[29px] left-[-38px] w-[163px] bg-black text-white text-[12px] font-bold text-center py-1 shadow-md z-[9999] transform -rotate-45 cursor-pointer touch-manipulation",onClick:()=>{E(t=>t==="design"?"tile":t==="tile"?"theme":t==="theme"?"university":"design")},onTouchEnd:t=>{t.preventDefault(),E(o=>o==="design"?"tile":o==="tile"?"theme":o==="theme"?"university":"design")},children:r==="design"?"Design View":r==="tile"?"Tile View":r==="theme"?"Theme O
97nly":"University"}),r!=="theme"&&e.jsx("div",{className:"fixed flex items-center justify-center top-[48px] left-[-39px] w-[200px] h-[22px] bg-gray-500/50 text-white text-[12px] font-bold shadow-md z-[9999] transform -rotate-45 cursor-pointer touch-manipulation",children:i}),r==="theme"&&e.jsx("div",{className:"fixed top-[48px] left-[-39px] w-[200px] h-[22px] bg-gray-500/50 text-white text-[12px] font-bold shadow-md z-[9999] transform -rotate-45 cursor-pointer touch-manipulation",children:e.jsxs("span",{className:"flex items-center justify-center w-full gap-1",children:[s.unique_id," EZ$ ",s.price,e.jsx("span",{onClick:le,onTouchEnd:t=>{t.preventDefault(),le()},className:"cursor-pointer",children:ge?"❤️":"🤍"}),e.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",className:"w-4 h-4 text-white hover:text-blue-500 cursor-pointer transition-colors touch-manipulation",onClick:()=>{const t=`https://ez.wiki/${s.unique_id}`;navigator.clipboard.writeText(t).then(()=>{x(!0),setTimeout(()=>x(!1),3e3)}).catch(o=>{console.error("Failed to copy URL: ",o),x(!1)})},onTouchEnd:t=>{t.preventDefault();const o=`https://ez.wiki/${s.unique_id}`;navigator.clipboard.writeText(o).then(()=>{x(!0),setTimeout(()=>x(!1),3e3)}).catch(d=>{console.error("Failed to copy URL: ",d),x(!1)})},children:e.jsx("path",{fillRule:"evenodd",d:"M4 2a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2v8a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2zm2-1a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1V2a1 1 0 0 0-1-1zM2 5a1 1 0 0 0-1 1v8a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1v-1h1v1a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h1v1z"})})]})}),!R&&e.jsxs(e.Fragment,{children:[r!=="theme"&&r!=="university"&&e.jsx("div",{ref:m,className:`w-full h-[100vh] z-10 overflow-y-auto ${r==="design"?"flex flex-col space-y-8":"flex flex-wrap"}`,onTouchStart:te,onTouchMove:oe,onTouchEnd:se,children:ze.map((t,o)=>e.jsx(me,{content:t,onEyeClick:Ie,index:o,mode:pe},t.id))}),r==="university"&&e.jsx("div",{ref:m,className:"w-full h-[100vh] z-10 overflow-y-auto",onTouchStart:te,onTouchMove:oe,onTouchEnd:se,children:e.jsx("div",{className:"w-[97%] bg-[rgba(31,41,55,0.5)] rounded-lg shadow p-4 m-5",children:e.jsx("div",{className:"bg-blue-50 font-[Tahoma,Arial,Helvetica,sans-serif] min-h-screen p-0 m-0",children:e.jsxs("div",{className:"max-w-3xl mx-auto p-5",children:[e.jsxs("h3",{className:"text-center text-4xl font-bold mt-5 text-transparent bg-gradient-to-r from-black to-black bg-clip-text",children:["Rules for Purchasing and Selling Brand Domains and Handles",e.jsx("br",{}),"(2024.12.30)"]}),e.jsx("ol",{className:"list-decimal pl-5 mt-8 space-y-6",children:[{bg:"bg-white",border:"border-[#6c5ce7]",title:"Purchasing a Property:",content:'You can buy a Brand Domain or Brand Handle ("Property") for a flat fee of US$6.00.'},{bg:"bg-[#f9f7ff]",border:"border-[#00cec9]",title:"Setting a Selling Price:",content:"Set a selling price known as NYP (Name Your Price)."},{bg:"bg-white",border:"border-[#6c5ce7]",title:"Bidding Process:",content:"Interested parties place a bond with the platform to indicate their interest in purchasing at the NYP."},{bg:"bg-[#f9f7ff]",border:"border-[#00cec9]",title:"Decision Period:",content:e.jsxs(e.Fragment,{children:["Once a bond is placed by a bidder, you have 3 calendar days to decide whether to:",e.jsxs("ul",{className:"list-disc pl-6 mt-2 text-gray-700",children:[e.jsx("li",{className:"mb-2",children:"Sell the Property at the original NYP."}),e.jsx("li",{children:"Pay a penalty (e.g., 20% of the NYP bond) and continue to own the Property."})]})]})},{bg:"bg-white",border:"border-[#6c5ce7]",title:"Receiving Payment:",content:"If you accept the offer, you will receive the full NYP amount minus the transaction fee and the commission rate set by the platform at the time of transfer (e.g., 10% of the NYP bond)."},{bg:"bg-[#f9f7ff]",border:"border-[#00cec9]",title:"Third-Party Fees:",content:"The platform will deduct any transaction fees charged by payment gateways and any applicable tax withholdings from the NYP amount before it is disbursed to you."}
97,{bg:"bg-white",border:"border-[#6c5ce7]",title:"Keeping the Property:",content:"If you decide to keep the Property by paying the penalty, the bidder will receive a full refund of their NYP bond."},{bg:"bg-[#f9f7ff]",border:"border-[#00cec9]",title:"Penalty Distribution:",content:"The penalty paid by the original owner will be split 50/50 between the platform and the bidder."},{bg:"bg-white",border:"border-[#6c5ce7]",title:"Third-Party Fees:",content:"The platform will handle any transaction fees charged by payment gateways and any applicable tax withholdings from the penalty amount before distribution."}].map((t,o)=>e.jsxs("li",{className:`${t.bg} p-5 rounded-xl shadow-md text-lg leading-relaxed border-l-[6px] ${t.border}`,children:[e.jsx("strong",{className:"block text-2xl mb-2 text-gray-900",children:t.title}),typeof t.content=="string"?e.jsx("p",{className:"text-black",children:t.content}):t.content]},o))}),e.jsx("div",{className:"mt-10 text-center text-gray-500",children:"aaa"})]})})})})]}),e.jsx(ue,{nodeRef:K,children:e.jsx("div",{ref:K,className:"space-x-4 z-10 absolute top-4 right-4 touch-manipulation",style:{right:ye.right,transition:"left 0.3s ease, right 0.3s ease"},children:e.jsxs("div",{className:"flex w-16 flex-col items-center space-y-2 from-sky-300 via-teal-500 to-green-700 py-3",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",children:e.jsx("div",{className:"flex h-6 w-6 items-center justify-center rounded-sm border border-black bg-blue-600",onClick:()=>{E(t=>t==="design"?"tile":t==="tile"?"theme":t==="theme"?"university":"design")},onTouchEnd:t=>{t.preventDefault(),E(o=>o==="design"?"tile":o==="tile"?"theme":o==="theme"?"university":"design")},children:e.jsx("span",{className:"font-bold text-white",children:r==="design"?"1":r==="tile"?"2":r==="theme"?"3":"4"})})}),e.jsx(de,{href:route("home"),children:e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",onTouchEnd:()=>b(()=>window.location.href=route("home")),children:e.jsx("span",{className:"text-2xl",children:"🏠"})})}),e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",onTouchEnd:()=>b(()=>{}),children:e.jsx("span",{className:"text-2xl",children:"🏆"})}),e.jsxs("div",{className:"relative",children:[e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",onClick:()=>c(!w),onTouchEnd:t=>{t.preventDefault(),c(!w)},children:e.jsx("span",{className:"text-2xl -rotate-45 text-white",children:"🔗"})}),w&&e.jsxs("div",{className:"absolute right-0 mt-2 w-48 bg-gray-800 rounded-md shadow-lg z-50 py-1",children:[e.jsxs("button",{className:"flex items-center px-4 py-2 text-sm text-white hover:bg-gray-700 rounded",onClick:()=>{window.open(`https://twitter.com/intent/tweet?url=${encodeURIComponent(window.location.href)}`,"_blank"),c(!1)},onTouchEnd:t=>{t.preventDefault(),window.open(`https://twitter.com/intent/tweet?url=${encodeURIComponent(window.location.href)}`,"_blank"),c(!1)},children:[e.jsx("span",{className:"mr-2",children:"🐦"})," Twitter"]}),e.jsxs("button",{className:"flex items-center px-4 py-2 text-sm text-white hover:bg-gray-700 rounded",onClick:()=>{window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}`,"_blank"),c(!1)},onTouchEnd:t=>{t.preventDefault(),window.open(`https://www.facebook.com/sharer/sharer.php?u=${encodeURIComponent(window.location.href)}`,"_blank"),c(!1)},children:[e.jsx("span",{className:"mr-2",children:"👍"})," Facebook"]}),e.jsxs("button",{className:"flex items-center px-4 py-2 text-sm text-white hover:bg-gray-700 rounded",onClick:()=>{window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(window.location.href)}`,"_blank"),c(!1)},onTouchEnd:t=>{t.preventDefault(),window.open(`https://www.linkedin.com/sharing/share-offsite/?url=${encodeURIComponent(window.location.href)}`,"_blank"),c(!1)},children:[e.jsx("span",{className:"mr-2",children:"💼"})," LinkedIn"]}),e.jsxs("button",{className:"flex items-center px-4 py-2 text-sm text-white hover:bg-gray-700 rounded",onClick:()=>{window.open(`https://pinterest.com/pin/create/button/?url=${encodeURIComponent(window.location.href)}`,"_blank"),c(!1)},onTouchEnd:t=>{t.preventDefault(),window.open(`https://pinterest.com/pin/create/button/?url=${encodeURIComponent(window.location.href)}`,"_blank"),c(!1)},children:[e.jsx("span",{className:"mr-2",children:"📌"})," Pinterest"]})]})]}),e.jsxs("div",{className:"flex h-16 w-10 flex-col items-center justify-around rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",onMouseLeave:$e,onTouchEnd:V,children:[e.jsx("span",{className:`text-sm ${Ne?"text-blue-400":"text-white"} hover:text-blue-300`,onMouseDown:()=>X("up"),onMouseUp:g,onMouseLeave:g,onClick:t=>{var o;t.preventDefault(),(o=m.current)==null||o.scrollBy({top:-100,behavior:"smooth"})},onTouchStart:()=>ee("up"),onTouchEnd:V,children:"▲"}),e.jsx("span",{className:`text-sm ${ke?"text-blue-400":"text-white"} hover:text-blue-300`,onMouseDown:()=>X("down"),onMouseUp:g,onMouseLeave:g,onClick:t=>{var o;t.preventDefault(),(o=m.current)==null||o.scrollBy({top:100,behavior:"smooth"})},onTouchStart:()=>ee("down"),onTouchEnd:V,children:"▼"})]}),e.jsxs("div",{className:"flex h-16 w-10 flex-col items-center justify-center gap-1 rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",onTouchEnd:t=>{t.preventDefault(),M()},children:[e.jsx("div",{className:"flex h-5 w-5 items-center justify-center rounded-full bg-green-500 text-[10px] font-bold text-white",children:H}),e.jsx("span",{className:"text-xl",onClick:M,children:e.jsxs("picture",{children:[e.jsx("source",{srcSet:"https://fonts.gstatic.
97com/s/e/notoemoji/latest/1f440/512.webp",type:"image/webp"}),e.jsx("img",{src:"https://fonts.gstatic.com/s/e/notoemoji/latest/1f440/512.gif",alt:"👀",width:"24",height:"24",className:"emoji-eye cursor-pointer"})]})})]}),e.jsxs("div",{className:"flex h-16 w-10 flex-col items-center justify-center gap-1 rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",onTouchEnd:t=>{t.preventDefault(),P("like")},children:[e.jsx("div",{className:`flex h-5 w-5 items-center justify-center rounded-full ${y==="like"?"bg-blue-500":"bg-green-500"} text-[10px] font-bold text-white`,children:ve}),e.jsx("span",{className:"text-xl",onClick:()=>P("like"),style:{color:y==="like"?"#3b82f6":"inherit"},children:"👍"})]}),e.jsxs("div",{className:"flex h-16 w-10 flex-col items-center justify-center gap-1 rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",onTouchEnd:t=>{t.preventDefault(),P("dislike")},children:[e.jsx("div",{className:`flex h-5 w-5 items-center justify-center rounded-full ${y==="dislike"?"bg-blue-500":"bg-red-500"} text-[10px] font-bold text-white`,children:je}),e.jsx("span",{className:"text-xl",onClick:()=>P("dislike"),style:{color:y==="dislike"?"#3b82f6":"inherit"},children:"👎"})]}),e.jsxs("div",{className:"relative h-16 w-16 rounded-full bg-slate-800/40 hover:bg-slate-800/60 transition-colors cursor-pointer",onTouchEnd:()=>b(()=>{}),children:[e.jsxs("div",{className:"absolute left-1/2 top-1.5 -translate-x-1/2 flex h-10 w-12 flex-col items-center justify-center rounded-full bg-orange-400",children:[e.jsx("span",{className:"text-xs font-bold leading-tight text-white text-shadow",children:"340.00"}),e.jsx("span",{className:"text-[9px] font-semibold leading-tight text-white text-shadow",children:"EZ$"})]}),e.jsx("span",{className:"absolute bottom-0 left-1/2 -translate-x-1/2 text-xl",children:"💡"})]})]})})}),e.jsx(fe,{show:_.show,onClose:()=>I({show:!1,content:null}),children:e.jsx("div",{className:"inline-block mt-25 rounded-lg text-left overflow-hidden shadow-xl transform transition-all w-[95%]",children:e.jsxs("div",{className:"p-6 rounded-2xl bg-gradient-to-br from-black via-gray-900 to-lime-900 shadow-2xl text-white w-full max-h-[80vh] overflow-auto",children:[_.content?e.jsx("div",{className:"bg-gray-800 p-4 rounded-lg",dangerouslySetInnerHTML:{__html:_.content}}):e.jsx("p",{className:"text-gray-300",children:"No content available"}),e.jsx("div",{className:"mt-6 flex justify-end",children:e.jsx("button",{className:"bg-gradient-to-r from-gray-700 to-gray-900 text-white font-semibold py-2 px-4 rounded-lg border border-gray-600 shadow hover:bg-gray-800 hover:text-lime-400 hover:border-lime-500 transition-all duration-300",onClick:()=>I({show:!1,content:null}),onTouchEnd:()=>b(()=>I({show:!1,content:null})),children:"Close"})})]})})})]})]})}export{ft as default};

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.