1/*! For license information please see 5554.22943189.chunk.js.LICENSE.txt */ 2"use strict";(globalThis.webpackChunkao_react_app||=[]).push([[5554],{45554(e,a,s){s.r(a),s.d(a,{default:()=>M});var t=s(9950),n=s(93047),i=s(32856),l=s(72068),c=s(35045),r=s(15766),o=s(75776),d=s(66689),h=s(92479),m=s(15537),p=s(42307),u=s(46827),x=s(1284),j=s(6307),g=s(54826),y=s(70974),k=s(90990);var b=s(44414);const v={handle:"",displayName:"",tagline:"",category:"",bio:"",website:"",instagram:"",twitter:"",linkedin:"",github:"",youtube:"",music:""},N={day:"",time:"",link:""},f=["Writer","Musician","Visual artist","Films & video","Podcasts","Design","Games","Education","Tech","Food","Other"],A={instagram:g.ao$,twitter:g.feZ,linkedin:g.QEs,github:g.hL4,youtube:l.A,music:c.A,website:r.A,calendar:o.A};function w(e,a){try{const s=localStorage.getItem("creator-market-"+e);return s?JSON.parse(s):JSON.parse(JSON.stringify(a))}catch{return JSON.parse(JSON.stringify(a))}}function C(e,a){try{localStorage.setItem("creator-market-"+e,JSON.stringify(a))}catch{}}function M(){const[e,a]=(0,t.useState)(!0),[s,l]=(0,t.useState)(w("creator",v)),[c,r]=(0,t.useState)(w("slots",[])),[o,g]=(0,t.useState)(""),M=e=>{const a={...s,...e};l(a),C("creator",a)},z=(e,a,s)=>{const t=c.map((t,n)=>n===e?{...t,[a]:s}:t);r(t),C("slots",t)},O=Object.entries(s).filter(e=>{let[a]=e;return!["handle","displayName","tagline","category","bio"].includes(a)&&!!s[a]});var S;return e?(0,b.jsxs)("main",{className:"creator-market",children:[(0,b.jsxs)(i.mg,{children:[(0,b.jsx)("title",{children:"Creator Marketplace \u2014 List yourself on AppOpener"}),(0,b.jsx)("meta",{name:"description",content:"List your creator profile, share your Zoom or Meet links, and let people find your social views \u2014 all free to set up."})]}),(0,b.jsxs)("header",{className:"cm-header",children:[(0,b.jsxs)(n.N_,{to:"/minternet",className:"cm-back",children:[(0,b.jsx)(d.A,{size:18,rotate:-180})," Back to the treehouse"]}),(0,b.jsxs)("div",{className:"cm-brand",children:[(0,b.jsx)("img",{src:k,alt:"AppOpener",className:"cm-logo"}),"CREATOR MARKETPLACE"]})]}),(0,b.jsx)("div",{className:"cm-container",children:s.displayName?(0,b.jsxs)("div",{className:"cm-showcase",children:[(0,b.jsxs)("div",{className:"cm-showcase-head",children:[(0,b.jsx)("span",{className:"cm-showcase-avatar",children:(null===(S=s.displayName[0])||void 0===S?void 0:S.toUpperCase())||"?"}),(0,b.jsxs)("div",{children:[(0,b.jsx)("h2",{children:s.displayName}),s.tagline&&(0,b.jsx)("p",{className:"cm-showcase-tagline",children:s.tagline}),s.category&&(0,b.jsx)("span",{className:"cm-showcase-category",children:s.category})]})]}),s.bio&&(0,b.jsx)("p",{className:"cm-showcase-bio",children:s.bio}),(0,b.jsx)("div",{className:"cm-showcase-links",children:O.map(e=>{let[a,s]=e;const t=A[a]||h.A;return(0,b.jsxs)("a",{href:null!==s&&void 0!==s&&s.startsWith("http")?s:"https://"+s,target:"_blank",rel:"noopener noreferrer","aria-label":a,children:[t&&(0,b.jsx)(t,{size:16}),(0,b.jsx)("span",{children:a})]},a)})}),c.length>0&&(0,b.jsxs)("div",{className:"cm-showcase-slots",children:[(0,b.jsx)("h4",{children:"Call slots"}),(0,b.jsx)("ul",{children:c.map((e,a)=>(0,b.jsxs)("li",{children:[(0,b.jsxs)("span",{children:[e.day," \u2014 ",e.time||"a time"]}),e.link&&(0,b.jsxs)("a",{href:e.link,target:"_blank",rel:"noopener noreferrer",children:["Join call",(0,b.jsx)(h.A,{size:14})]})]},a))})]})]}):(0,b.jsxs)("div",{className:"cm-empty",children:[(0,b.jsx)(m.A,{size:48}),(0,b.jsx)("h2",{children:"Your listing is not set up yet."}),(0,b.jsx)("p",{children:"List yourself to claim a shareable creator page."})]})}),(0,b.jsxs)("footer",{className:"cm-footer",children:[(0,b.jsxs)("button",{type:"button",className:"cm-edit-btn",onClick:()=>a(!1),children:[(0,b.jsx)(p.A,{size:16})," List / edit yourself"]}),(0,b.jsxs)(n.N_,{to:"/seller-station",className:"cm-view-link",children:["View all creators",(0,b.jsx)(d.A,{size:15})]})]})]}):(0,b.jsxs)("main",{className:"creator-market edit",children:[(0,b.jsxs)(i.mg,{children:[(0,b.jsx)("title",{children:"Creator Marketplace \u2014 Edit your listing"}),(0,b.jsx)("meta",{name:"description",content:"Edit your creator profile, call slots, and social links."})]}),(0,b.jsxs)("header",{className:"cm-header",children:[(0,b.jsxs)("button",{type:"button",className:"cm-back cm-back-btn",onClick:()=>a(!0),children:[(0,b.jsx)(d.A,{size:18,rotate:-180})," Back to showcase"]}),(0,b.jsxs)("div",{className:"cm-brand",children:[(0,b.jsx)("img",{src:k,alt:"AppOpener",className:"cm-logo"}),"CREATOR MARKETPLACE"]})]}),(0,b.jsxs)("div",{className:"cm-container cm-edit-container",children:[(0,b.jsxs)("section",{children:[(0,b.jsx)("h3",{children:"Profile"}),(0,b.jsxs)("div",{className:"cm-grid",children:[(0,b.jsxs)("label",{children:[(0,b.jsx)("span",{children:"Display name"}),(0,b.jsx)("input",{value:s.displayName,onChange:e=>M({displayName:e.target.value}),placeholder:"How people know you"})]}),(0,b.jsxs)("label",{children:[(0,b.jsx)("span",{children:"Handle (public id)"}),(0,b.jsx)("input",{value:s.handle,onChange:e=>M({handle:e.target.value}),placeholder:"yourname"})]}),(0,b.jsxs)("label",{children:[(0,b.jsx)("span",{children:"Tagline"}),(0,b.jsx)("input",{value:s.tagline,onChange:e=>M({tagline:e.target.value}),placeholder:"One liner, your vibe"})]}),(0,b.jsxs)("label",{children:[(0,b.jsx)("span",{children:"Category"}),(0,b.jsxs)("select",{value:s.category,onChange:e=>M({category:e.target.value}),children:[(0,b.jsx)("option",{value:"",children:"Pick a category"}),f.map(e=>(0,b.jsx)("option",{value:e,children:e},e))]})]}),(0,b.jsxs)("label",{className:"cm-field-full",children:[(0,b.jsx)("span",{children:"Bio"}),(0,b.jsx)("textarea",{value:s.bio,onChange:e=>M({bio:e.target.value}),rows:3,placeholder:"A short note about you and your work"})]})]})]}),(0,b.jsxs)("section",{children:[(0,b.jsx)("h3",{children:"Social & views"}
2),(0,b.jsx)("div",{className:"cm-grid cm-grid--two",children:Object.entries(A).filter(e=>{let[a]=e;return["website","instagram","twitter","linkedin","github","youtube","music"].includes(a)}).map(e=>{let[a]=e;const t=A[a];return(0,b.jsxs)("label",{className:"cm-social-item",children:[(0,b.jsx)("span",{className:"cm-social-icon",children:t&&(0,b.jsx)(t,{size:16})}),(0,b.jsx)("input",{value:s[a]||"",onChange:e=>M({[a]:e.target.value}),placeholder:a.charAt(0).toUpperCase()+a.slice(1)+" URL"})]},a)})}),(0,b.jsxs)("p",{className:"cm-help",children:["Links start with ",(0,b.jsx)("code",{children:"https://"}),". Leave blank to hide."]})]}),(0,b.jsxs)("section",{children:[(0,b.jsx)("h3",{children:"Book a call (Zoom / Meet links)"}),(0,b.jsx)("div",{className:"cm-slots",children:c.map((e,a)=>(0,b.jsxs)("div",{className:"cm-slot",children:[(0,b.jsx)("input",{value:e.day,onChange:e=>z(a,"day",e.target.value),placeholder:"e.g. Friday mornings"}),(0,b.jsx)("input",{value:e.time,onChange:e=>z(a,"time",e.target.value),placeholder:"e.g. 10:00-11:00"}),(0,b.jsx)("input",{value:e.link,onChange:e=>z(a,"link",e.target.value),placeholder:"Zoom / Meet link"}),c.length>1&&(0,b.jsxs)("button",{type:"button",className:"cm-ghost-small",onClick:()=>(e=>{if(c.length<=1)return;const a=c.filter((a,s)=>s!==e);r(a),C("slots",a)})(a),children:[(0,b.jsx)(u.A,{size:14}),"Remove"]})]},a))}),(0,b.jsxs)("button",{type:"button",className:"cm-secondary",onClick:()=>{const e=[...c,{...N}];r(e),C("slots",e)},children:[(0,b.jsx)(p.A,{size:16}),"Add a call slot"]})]}),(0,b.jsxs)("div",{className:"cm-edit-actions",children:[(0,b.jsxs)("button",{type:"button",className:"cm-primary",onClick:()=>{C("creator",s),C("slots",c),g("Creator listing saved on this device.")},children:[(0,b.jsx)(x.A,{size:16}),"Save listing"]}),(0,b.jsxs)("button",{type:"button",className:"cm-ghost",onClick:()=>{const e={exportedAt:(new Date).toISOString(),creator:s,slots:c};(0,y.NH)(new Blob([JSON.stringify(e,null,2)],{type:"application/json"}),"creator-marketplace-listing.json"),g("Listing exported as JSON.")},children:[(0,b.jsx)(j.A,{size:16}),"Export JSON"]}),(0,b.jsx)("button",{type:"button",className:"cm-ghost",onClick:()=>a(!0),children:"Preview"})]}),o&&(0,b.jsx)("p",{className:"cm-notice",children:o})]})]})}},70974(e,a,s){s.d(a,{NH:()=>l,S1:()=>r,Zp:()=>n,rp:()=>i});const t=Object.freeze([{id:"lilac",name:"Lilac haze",background:"#e9d9ff",ink:"#402061",accent:"#9c66dd"},{id:"night",name:"After hours",background:"#261a40",ink:"#f0dfff",accent:"#c29aff"},{id:"peach",name:"Peach pop",background:"#ffdccc",ink:"#673249",accent:"#ba6076"}]);function n(e){return e&&["image/jpeg","image/png","image/webp"].includes(e.type)?e.size>12582912?"Choose an image smaller than 12 MB.":null:"Choose a JPG, PNG or WebP image."}function i(e,a,s,t){if(![e,a,s,t].every(e=>Number.isFinite(e)&&e>0))throw new Error("The image dimensions could not be read.");const n=Math.max(s/e,t/a);return{width:e*n,height:a*n,x:(s-e*n)/2,y:(t-a*n)/2}}function l(e,a){const s=URL.createObjectURL(e),t=document.createElement("a");t.href=s,t.download=a,document.body.appendChild(t),t.click(),t.remove(),setTimeout(()=>URL.revokeObjectURL(s),1e3)}const c={A:"01110/10001/10001/11111/10001/10001/10001",B:"11110/10001/10001/11110/10001/10001/11110",C:"01111/10000/10000/10000/10000/10000/01111",D:"11110/10001/10001/10001/10001/10001/11110",E:"11111/10000/10000/11110/10000/10000/11111",F:"11111/10000/10000/11110/10000/10000/10000",G:"01111/10000/10000/10111/10001/10001/01111",H:"10001/10001/10001/11111/10001/10001/10001",I:"11111/00100/00100/00100/00100/00100/11111",J:"00111/00010/00010/00010/10010/10010/01100",K:"10001/10010/10100/11000/10100/10010/10001",L:"10000/10000/10000/10000/10000/10000/11111",M:"10001/11011/10101/10101/10001/10001/10001",N:"10001/11001/11001/10101/10011/10011/10001",O:"01110/10001/10001/10001/10001/10001/01110",P:"11110/10001/10001/11110/10000/10000/10000",Q:"01110/10001/10001/10001/10101/10010/01101",R:"11110/10001/10001/11110/10100/10010/10001",S:"01111/10000/10000/01110/00001/00001/11110",T:"11111/00100/00100/00100/00100/00100/00100",U:"10001/10001/10001/10001/10001/10001/01110",V:"10001/10001/10001/10001/10001/01010/00100",W:"10001/10001/10001/10101/10101/11011/10001",X:"10001/10001/01010/00100/01010/10001/10001",Y:"10001/10001/01010/00100/00100/00100/00100",Z:"11111/00001/00010/00100/01000/10000/11111",0:"01110/10001/10011/10101/11001/10001/01110",1:"00100/01100/00100/00100/00100/00100/01110",2:"01110/10001/00001/00010/00100/01000/11111",3:"11110/00001/00001/01110/00001/00001/11110",4:"00010/00110/01010/10010/11111/00010/00010",5:"11111/10000/10000/11110/00001/00001/11110",6:"01110/10000/10000/11110/10001/10001/01110",7:"11111/00001/00010/00100/01000/01000/01000",8:"01110/10001/10001/01110/10001/10001/01110",9:"01110/10001/10001/01111/00001/00001/01110"," ":"00000/00000/00000/00000/00000/00000/00000","!":"00100/00100/00100/00100/00100/00000/00100","?":"01110/10001/00001/00010/00100/00000/00100",".":"00000/00000/00000/00000/00000/00110/00110","-":"00000/00000/00000/11111/00000/00000/00000","+":"00000/00100/00100/11111/00100/00100/00000","#":"01010/01010/11111/01010/11111/01010/01010",":":"00000/00100/00100/00000/00100/00100/00000","/":"00001/00010/00010/00100/01000/01000/10000"};function r(e){let{character:a="#",frame:s="none",spacing:t=1}=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};const n=["#","@","*","+","0"].includes(a)?a:"#",i=2===t?" ":" ",l=String(e||"").replace(/\r/g,"").toUpperCase().split("\n").slice(0,4).map(e=>[...e].slice(0,24));if(!l.some(e=>e.length))return"";const r=l.flatMap((e,a)=>[...Array.from({length:7},(a,s)=>e.map(e=>(c[e]||c["?"]).split("/")[s].replace(/[01]/g,e=>"1"===e?n:" ")).join(i)),...a<l.length-1?[""]:[]]),o=Math.max(...r.map(e=>e.length));return"box"===s?["+"+"-".repeat(o+2)+"+",...r.map(e=>"| "+e.padEnd(o)+" |"),"+"+"-".repeat(o+2)+"+"].join("\n"):"orbit"===s?[" . * . "+"-".repeat(Math.max(0,o-12)),...r,"-".repeat(Math.max(0,o-12))+" . * . "].join("\n"):r.join("\n")}s.d(a,["fp",0,t])},75776(e,a,s){const t={name:"calendar-clock",size:24,node:[["path",{d:"M16 14v2.2l1.6 1",key:"fo4ql5"}],["path",{d:"M16 2v3",key:"otl347"}],["path",{d:"M21 7.338V5a2 2 0 00-2-2H5a2 2 0 00-2 2v14a2 2 0 002 2h2.338",key:"7hb8p4"}],["path",{d:"M3 9h5.859",key:"numkqi"}],["path",{d:"M8 2v3",key:"1ioesn"}],["circle",{cx:"16",cy:"16",r:"6",key:"qoo3c4"}]]},n=(0,s(40283).A)(t);s.d(a,["A",0,n])},92479(e,a,s){const t={name:"external-link",size:24,node:[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]},n=(0,s(40283).A)(t);s.d(a,["A",0,n])},15766(e,a,s){const t={name:"globe",size:24,node:[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]},n=(0,s(40283).A)(t);s.d(a,["A",0,n])},35045(e,a,s){const t={name:"music-2",size:24,node:[["circle",{cx:"8",cy:"18",r:"4",key:"1fc0mg"}],["path",{d:"M12 18V2l7 4",key:"g04rme"}]]},n=(0,s(40283).A)(t);s.d(a,["A",0,n])},1284(e,a,s){const t={name:"save",size:24,node:[["path",{d:"M15.2 3a2 2 0 0 1 1.4.6l3.8 3.8a2 2 0 0 1 .6 1.4V19a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2z",key:"1c8476"}],["path",{d:"M17 21v-7a1 1 0 0 0-1-1H8a1 1 0 0 0-1 1v7",key:"1ydtos"}],["path",{d:"M7 3v4a1 1 0 0 0 1 1h7",key:"t51u73"}]]},n=(0,s(40283).A)(t);s.d(a,["A",0,n])},72068(e,a,s){const t={name:"video",size:24,node:[["path",{d:"m16 13 5.223 3.482a.5.5 0 0 0 .777-.416V7.87a.5.5 0 0 0-.752-.432L16 10.5",key:"ftymec"}],["rect",{x:"2",y:"6",width:"14",height:"12",rx:"2",key:"158x01"}]]},n=(0,s(40283).A)(t);s.d(a,["A",0,n])}}]);
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.