1import{u as D,r as n,j as e,H as O,L as c}from"./app-DP13319Q.js";import{A as q}from"./app-logo-icon-B_rIw4ab.js";import{D as W}from"./DraggableMenu-Bk7Spryo.js";import"./model-viewer-BNdxy5m2.js";import{F as d,a8 as G,a9 as Y,aa as Z,i as J,ap as X,h as K,a as Q}from"./index-CtyZ6W6U.js";import{c as ee}from"./cjs-G0qneMx2.js";import{M as h}from"./react-tooltip.min-DW3XhwOj.js";/* empty css */import"./index-DQkUn08L.js";import"./clsx-B-dksMZM.js";const N=(r,t,p=0)=>{if(!r||!r[t])return"";try{const i=r[t],f=Array.isArray(i)?i:JSON.parse(i);return f[p]||f[0]||""}catch(i){return console.error("Error parsing tooltip:",i),""}};function ue(){var w,y;const{auth:r,template:t,tooltips:p}=D().props,[i,f]=n.useState(!0),g=n.useRef(null),b=n.useRef(null),s=n.useRef(null),u=n.useCallback((o,x=0)=>N(p,o,x),[p]),k=o=>{try{return new URL(o),!0}catch{return!1}},E=o=>{var a;return(a=o.split("?")[0].split(".").pop())==null?void 0:a.toLowerCase()},z=o=>o?["jpg","jpeg","png","gif","bmp","tiff","tif","webp","apng","svg","ico"].includes(o):!1,F=t!=null&&t.image&&z(E(t.image))?e.jsx("style",{children:` 2 .blur-bg { 3 background: url('${t.user_id===0?"https://admin.ez3d.ai/":"https://ez.wiki/"}${t.image}') no-repeat center center; 4 background-size: cover; 5 } 6 `}):null,R=n.useMemo(()=>{var v;if(!t)return null;s.current&&(URL.revokeObjectURL(s.current),s.current=null);const o=((v=t.image.split(".").pop())==null?void 0:v.toLowerCase())||"",a=`${t.user_id===0?"https://admin.ez3d.ai/":"https://ez.wiki/"}${t.image}`,A=["jpg","jpeg","png","gif","bmp","tiff","tif","webp","apng","svg","ico"],$=["ppt","pptx","pdf","xls","xlsx","doc","docx","pages","ai","psd","eps","ttf","dxf","xps","rar","zip","ods","odt","odp"],I=/(?:youtube(?:-nocookie)?\.com\/(?:[^\/]+\/.+\/|(?:v|e(?:mbed)?)\/|.*[?&]v=)|youtu\.be\/)([^"&?/ ]{11})/i,L=/(?:https?:\/\/)?(?:www\.)?linkedin\.com\/(?:in|posts|company|feed|showcase|embed\/feed\/update\/urn:li:[^/]+:[^"&?/ ]+)/i,S=/^https?:\/\/(?:www\.|player\.)?vimeo.com\/(?:channels\/(?:\w+\/)?|groups\/([^\/]*)\/videos\/|album\/(\d+)\/video\/|video\/|)(\d+)(?:$|\/|\?)(?:[?]?.*)$/im,P=/^(https?:\/\/)?(www\.)?fb\.watch\/[a-zA-Z0-9(\.\?)?]/,U=/^(https?:\/\/)?(www\.)?facebook\.com\/[a-zA-Z0-9(\.\?)?]/,M=/<iframe.*?src=["'](.*?)["'].*?>.*?<\/iframe>/is,C=/<blockquote/,m=t.image.match(I),T=t.image.match(L),j=t.image.match(S),B=t.image.match(P),V=t.image.match(U),_=t.image.match(M)||C.test(t.image);if(A.includes(o))return e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` 7 .blur-overlay { 8 position: fixed; 9 top: 0; 10 left: 0; 11 width: 100%; 12 height: 100%; 13 backdrop-filter: blur(20px); 14 z-index: -1; 15 } 16 `}),e.jsx("div",{className:"blur-overlay"}),e.jsx("img",{src:a,alt:"Background",className:"absolute inset-0 max-w-full max-h-full m-auto z-0 rounded-lg",onError:l=>console.error("Image failed to load",l)})]});if($.includes(o))return e.jsx("iframe",{src:`https://docs.google.com/viewer?url=${a}&embedded=true`,className:"fixed top-0 left-0 w-full h-full",frameBorder:"0",loading:"lazy",allow:"autoplay; fullscreen",allowFullScreen:!0,sandbox:"allow-scripts allow-same-origin",title:"Document Viewer",scrolling:"yes"});if(_){const l=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"'),H=/<(iframe|blockquote)[^>]*class="/i.test(l)?l:l.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:` 17 .blur-overlay { 18 position: fixed; 19 top: 0; 20 left: 0; 21 width: 100%; 22 height: 100%; 23 backdrop-filter: blur(20px); 24 z-index: -2; 25 } 26 .twitter-tweet { 27 position: fixed; 28 top: 0; 29 left: 0; 30 width: 100vw; 31 height: 100vh; 32 object-fit: cover; 33 z-index: 0; 34 border: none; 35 } 36 `}),e.jsx("div",{className:"blur-overlay"}),e.jsx("div",{className:"fixed top-0 left-0 w-full h-full object-cover",dangerouslySetInnerHTML:{__html:H}})]})}if(m){const l=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/${m[1]}?${l}&loop=1&playlist=${m[1]}&controls=0&showinfo=0&modestbranding=1&iv_load_policy=3`,className:"w-full h-full object-cover",frameBorder:"0",allow:"autoplay; fullscreen",allowFullScreen:!0})}),e.jsx("style",{children:` 37 .blur-overlay { 38 position: fixed; 39 top: 0; 40 left: 0; 41 width: 100%; 42 height: 100%; 43 backdrop-filter: blur(20px); 44 z-index: -1; 45 } 46 `}),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",src:`https://www.youtube.com/embed/${m[1]}?${t.option}=1&mute=1&loop=1&playlist=${m[1]}`,title:"YouTube video player",frameBorder:"0",allow:"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture;
46 web-share",referrerPolicy:"strict-origin-when-cross-origin",allowFullScreen:!0})]})}if(T){let l=t.image;return l.includes("?compact=1")||(l+=(l.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:l,className:"w-full h-full",frameBorder:"0",allowFullScreen:!0,title:"Embedded LinkedIn Post",scrolling:"yes"})})}return j?e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` 47 .blur-overlay { 48 position: fixed; 49 top: 0; 50 left: 0; 51 width: 100%; 52 height: 100%; 53 backdrop-filter: blur(20px); 54 z-index: -1; 55 } 56 `}),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/${j[3]}?h=33160d1512&color=de0101`,className:"fixed top-0 left-0 w-full h-full object-cover",frameBorder:"0",allowFullScreen:!0})]}):B||V&&!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"})}):o==="mp4"?e.jsxs(e.Fragment,{children:[e.jsxs("video",{autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"fixed top-0 left-0 w-full h-full object-cover z-[-3]",children:[e.jsx("source",{src:a,type:"video/mp4"}),"Your browser does not support the video tag."]}),e.jsx("style",{children:` 57 .blur-overlay { 58 position: fixed; 59 top: 0; 60 left: 0; 61 width: 100%; 62 height: 100%; 63 backdrop-filter: blur(20px); 64 z-index: -2; 65 } 66 `}),e.jsx("div",{className:"blur-overlay"}),e.jsxs("video",{id:"bgVideo",autoPlay:!0,loop:!0,muted:!0,playsInline:!0,className:"absolute inset-0 max-w-full max-h-full m-auto",controls:!0,children:[e.jsx("source",{src:a,type:"video/mp4"}),"Your browser does not support the video tag."]})]}):o==="glb"?e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` 67 .blur-overlay { 68 position: fixed; 69 top: 0; 70 left: 0; 71 width: 100%; 72 height: 100%; 73 backdrop-filter: blur(20px); 74 z-index: -1; 75 } 76 `}),e.jsx("div",{className:"blur-overlay"}),e.jsx("model-viewer",{src:a,alt:"3D model",className:"fixed top-0 left-0 w-full h-full",ar:!0,"auto-rotate":!0,"camera-controls":!0,"shadow-intensity":"1"})]}):k(t.image)?e.jsxs(e.Fragment,{children:[e.jsx("style",{children:` 77 .blur-overlay { 78 position: fixed; 79 top: 0; 80 left: 0; 81 width: 100%; 82 height: 100%; 83 backdrop-filter: blur(20px); 84 z-index: -1; 85 } 86 `}),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",frameBorder:"0",allowFullScreen:!0,scrolling:"yes"})]}):(b.current=new Blob([t.image],{type:"text/html"}),s.current=URL.createObjectURL(b.current),e.jsx("iframe",{src:s.current,className:"fixed top-0 left-0 w-full h-full border-none",allow:"microphone *; camera *; autoplay *; fullscreen *; display-capture *;",sandbox:`allow-forms allow-modals allow-orientation-lock allow-pointer-lock 87 allow-popups allow-popups-to-escape-sandbox allow-presentation 88 allow-same-origin allow-scripts allow-top-navigation 89 allow-top-navigation-by-user-activation allow-downloads allow-storage-access-by-user-activation`,allowFullScreen:!0,loading:"lazy",name:"binauralMixerFrame",allowTransparency:"true",scrolling:"yes"}))},[t]);return n.useEffect(()=>()=>{s.current&&URL.revokeObjectURL(s.current)},[]),e.jsxs(e.Fragment,{children:[e.jsxs(O,{children:[e.jsx("title",{children:"EZ.wiki - Invalid Offer"}),F,e.jsx("meta",{name:"description",content:"Get your unique brand domain and establish your Web3 presence"}),e.jsx("style",{children:` 90 .react-tooltip { 91 z-index: 99999 !important; 92 opacity: 1 !important; 93 font-size: 12px; 94 padding: 4px 8px; 95 } 96 `})]}),e.jsx(h,{id:"nav-tooltip"}),e.jsx(h,{id:"login-tooltip"}),e.jsx(h,{id:"action-tooltip"}),e.jsx("main",{className:`relative flex justify-end p-4 min-h-screen overflow-hidden ${(w=t==null?void 0:t.image.split(".").pop())!=null&&w.toLowerCase()&&["jpg","jpeg","png","gif","bmp","tiff","tif","webp","apng","svg","ico"].includes(((y=t.image.split(".").pop())==null?void 0:y.toLowerCase())||"")?"blur-bg":""}`,children:e.jsxs("div",{className:"absolute inset-0 z-0",children:[r.user?e.jsx(W,{auth:r}):e.jsx(ee,{nodeRef:g,bounds:"parent",cancel:".no-drag",defaultPosition:{x:window.innerWidth-650,y:0},children:e.jsx("div",{ref:g,className:"space-x-4 z-10 absolute mt-5 curs
96or-move touch-none",children:e.jsxs("div",{className:"flex items-center gap-4",children:[e.jsxs(c,{href:route("home"),className:"flex items-center px-2 py-0 rounded-full bg-[#235A72] no-drag transition-colors duration-300 hover:bg-[#1C4A5E]","data-tooltip-id":"nav-tooltip","data-tooltip-content":u("nav-tooltip",0),children:[e.jsx(q,{className:"size-8 fill-current text-[#8EF587]"}),e.jsx("span",{className:"ml-2 text-[#8EF587]",children:"ez.wiki"})]}),e.jsx(c,{href:route("demodesign"),className:"group no-drag","data-tooltip-id":"nav-tooltip","data-tooltip-content":u("nav-tooltip",1),children:e.jsxs("span",{className:"flex items-center gap-2 bg-orange-500 text-white font-medium py-2 px-4 rounded-full transition-all duration-300 hover:bg-orange-600 cursor-pointer",children:[e.jsx(d,{icon:G,className:"text-white"}),e.jsx("span",{className:"hidden group-hover:inline",children:"EXPRESS DOMAIN"})]})}),e.jsx(c,{href:route("login"),className:"group no-drag","data-tooltip-id":"nav-tooltip","data-tooltip-content":u("nav-tooltip",2),children:e.jsxs("span",{className:"flex items-center gap-2 bg-[#235A72] text-[#8EF587] font-medium py-2 px-4 rounded-full transition-all duration-300 hover:bg-[#1C4A5E] cursor-pointer",children:[e.jsx(d,{icon:Y,className:"text-[#8EF587]"}),e.jsx("span",{className:"hidden group-hover:inline",children:"SIGN IN"})]})}),e.jsx(c,{href:route("register"),className:"group no-drag","data-tooltip-id":"nav-tooltip","data-tooltip-content":u("nav-tooltip",3),children:e.jsxs("span",{className:"flex items-center gap-2 bg-[#235A72] text-[#8EF587] font-medium py-2 px-4 rounded-full transition-all duration-300 hover:bg-[#1C4A5E] cursor-pointer",children:[e.jsx(d,{icon:Z,className:"text-[#8EF587]"}),e.jsx("span",{className:"hidden group-hover:inline",children:"SIGN UP"})]})}),e.jsx(c,{href:route("marketplace"),className:"group no-drag","data-tooltip-id":"nav-tooltip","data-tooltip-content":u("nav-tooltip",4),children:e.jsxs("span",{className:"flex items-center gap-2 bg-[#235A72] text-[#8EF587] font-medium py-2 px-4 rounded-full transition-all duration-300 hover:bg-[#1C4A5E] cursor-pointer",children:[e.jsx(d,{icon:J,className:"text-[#8EF587]"}),e.jsx("span",{className:"hidden group-hover:inline",children:"DOMAIN MART"})]})}),e.jsx(c,{href:route("templatemarketplace"),className:"group no-drag","data-tooltip-id":"login-tooltip","data-tooltip-content":N(p,"login-tooltip",6),children:e.jsxs("span",{className:"flex items-center gap-2 bg-[#235A72] text-[#8EF587] font-medium py-2 px-4 rounded-full transition-all duration-300 hover:bg-[#1C4A5E] cursor-pointer",children:[e.jsx(d,{icon:X,className:"text-[#8EF587]"}),e.jsx("span",{className:"hidden group-hover:inline",children:"THEME RENTAL"})]})})]})})}),R,i&&e.jsxs("div",{className:`relative mx-auto bottom-4 z-50 backdrop-blur-sm p-4 rounded-xl border border-white-700 overflow-y-auto shadow-2xl w-full max-w-4xl ${r.user?"mt-8":"mt-20"}`,children:[e.jsx("button",{onClick:()=>f(!1),className:"absolute top-2 right-2 w-8 h-8 bg-black rounded-full flex items-center justify-center z-50 hover:bg-gray-800 transition-colors focus:outline-none focus:ring-2 focus:ring-white","aria-label":"Close panel","data-tooltip-id":"action-tooltip","data-tooltip-content":u("action-tooltip",18),children:e.jsx(d,{icon:K,className:"text-white text-lg",style:{textShadow:"0.7px 0.7px 0 rgb(255,0,0), -0.7px -0.7px 0 rgb(0,255,255)"}})}),e.jsx("div",{className:"bg-gray-800/80 border border-gray-700 rounded-lg p-4 space-y-4",children:e.jsxs("div",{className:"bg-gray-800/80 backdrop-blur-sm rounded-3xl shadow-xl p-8 md:p-10 border border-gray-700 flex flex-col items-center justify-center min-h-[300px]",children:[e.jsx(d,{icon:Q,className:"text-yellow-400 text-6xl mb-6"}),e.jsx("h2",{className:"text-2xl font-bold text-white mb-2",children:"Invalid or Expired Link"}),e.jsx("p",{className:"text-gray-300 text-center max-w-lg",children:"The link you are trying to access is invalid, expired, or currently unavailable. Please check the URL or return to the home page."}),e.jsx(c,{href:route("home"),className:"mt-8 bg-green-500 hover:bg-green-600 text-white font-bold py-3 px-8 rounded-full transition-colors",children:"Return Home"})]})})]})]})})]})}export{ue 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.