ikoneme-lib 0.1.0 → 0.3.0

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.
@@ -3,39 +3,39 @@
3
3
  *
4
4
  * This source code is licensed under the ISC license.
5
5
  * See the LICENSE file in the root directory of this source tree.
6
- */var je={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
6
+ */var ve={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
7
7
  * @license lucide-react v0.294.0 - ISC
8
8
  *
9
9
  * This source code is licensed under the ISC license.
10
10
  * See the LICENSE file in the root directory of this source tree.
11
- */const Ie=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),W=(e,n)=>{const s=S.forwardRef(({color:r="currentColor",size:i=24,strokeWidth:p=2,absoluteStrokeWidth:c,className:w="",children:f,..._},T)=>S.createElement("svg",{ref:T,...je,width:i,height:i,stroke:r,strokeWidth:c?Number(p)*24/Number(i):p,className:["lucide",`lucide-${Ie(e)}`,w].join(" "),..._},[...n.map(([j,b])=>S.createElement(j,b)),...Array.isArray(f)?f:[f]]));return s.displayName=`${e}`,s};/**
11
+ */const be=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),G=(e,i)=>{const o=S.forwardRef(({color:l="currentColor",size:F=24,strokeWidth:d=2,absoluteStrokeWidth:h,className:v="",children:p,...b},C)=>S.createElement("svg",{ref:C,...ve,width:F,height:F,stroke:l,strokeWidth:h?Number(d)*24/Number(F):d,className:["lucide",`lucide-${be(e)}`,v].join(" "),...b},[...i.map(([u,m])=>S.createElement(u,m)),...Array.isArray(p)?p:[p]]));return o.displayName=`${e}`,o};/**
12
12
  * @license lucide-react v0.294.0 - ISC
13
13
  *
14
14
  * This source code is licensed under the ISC license.
15
15
  * See the LICENSE file in the root directory of this source tree.
16
- */const Se=W("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
16
+ */const ke=G("ArrowLeft",[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]]);/**
17
17
  * @license lucide-react v0.294.0 - ISC
18
18
  *
19
19
  * This source code is licensed under the ISC license.
20
20
  * See the LICENSE file in the root directory of this source tree.
21
- */const _e=W("Pen",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]]);/**
21
+ */const Ie=G("Pen",[["path",{d:"M17 3a2.85 2.83 0 1 1 4 4L7.5 20.5 2 22l1.5-5.5Z",key:"5qss01"}]]);/**
22
22
  * @license lucide-react v0.294.0 - ISC
23
23
  *
24
24
  * This source code is licensed under the ISC license.
25
25
  * See the LICENSE file in the root directory of this source tree.
26
- */const Ne=W("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
26
+ */const Se=G("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]);/**
27
27
  * @license lucide-react v0.294.0 - ISC
28
28
  *
29
29
  * This source code is licensed under the ISC license.
30
30
  * See the LICENSE file in the root directory of this source tree.
31
- */const Te=W("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
31
+ */const je=G("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]);/**
32
32
  * @license lucide-react v0.294.0 - ISC
33
33
  *
34
34
  * This source code is licensed under the ISC license.
35
35
  * See the LICENSE file in the root directory of this source tree.
36
- */const Ke=W("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),g={context:[{tooltip:"Male",url:"https://text2ikon.komunikon.com/gender-assets/KomunIKON_Male.svg"},{tooltip:"Female",url:"https://text2ikon.komunikon.com/gender-assets/KomunIKON_Female.svg"},{tooltip:"Non Binary",url:"https://text2ikon.komunikon.com/gender-assets/KomunIKON_Non-Binary.png"}],reference:[{tooltip:"Asterisk",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_asterisk.svg"},{tooltip:"Zero",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Zero.svg"},{tooltip:"One",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_One.svg"},{tooltip:"Two",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Two.svg"},{tooltip:"Three",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Three.svg"},{tooltip:"Four",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Four.svg"},{tooltip:"Five",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Five.svg"},{tooltip:"Six",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Six.svg"},{tooltip:"Seven",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Seven.svg"},{tooltip:"Eight",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Eight.svg"},{tooltip:"Nine",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Nine.svg"}],role:[{tooltip:"agent",url:"https://text2ikon.komunikon.com/case-assets/KomunIKON_agent.svg"},{tooltip:"patient",url:"https://text2ikon.komunikon.com/case-assets/KomunIKON_patient.svg"},{tooltip:"reflexive",url:"https://text2ikon.komunikon.com/case-assets/KomunIKON_reflexive.svg"},{tooltip:"recipricol",url:"https://text2ikon.komunikon.com/_next/image?url=%2Fcase-assets%2Frecipricol.jpg&w=48&q=75"}],modes:[{tooltip:"Exclam",url:"https://text2ikon.komunikon.com/mode-assets/KomunIKON_Exclam.svg"},{tooltip:"Which",url:"https://text2ikon.komunikon.com/mode-assets/KomunIKON_Which.svg"}],root:[{tooltip:"Love/Passion",url:"https://text2ikon.komunikon.com/_next/image?url=https%3A%2F%2Fikondb.komunikon.com%2Fuploads%2Fimages%2Ficons%2FZFcaar88AP.png&w=128&q=75"},{tooltip:"Star/Excellence",url:"https://text2ikon.komunikon.com/_next/image?url=https%3A%2F%2Fikondb.komunikon.com%2Fuploads%2Fimages%2Ficons%2FM0ADaSXzWe.png&w=128&q=75"},{tooltip:"Value/Precious",url:"https://text2ikon.komunikon.com/_next/image?url=https%3A%2F%2Fikondb.komunikon.com%2Fuploads%2Fimages%2Ficons%2F6ghAUKbdIs.png&w=128&q=75"},{tooltip:"Fire/Hot",url:"https://text2ikon.komunikon.com/_next/image?url=https%3A%2F%2Fikondb.komunikon.com%2Fuploads%2Fimages%2Ficons%2Fzq0n4vHSQW.png&w=128&q=75"},{tooltip:"Water/Fluid",url:"https://text2ikon.komunikon.com/_next/image?url=https%3A%2F%2Fikondb.komunikon.com%2Fuploads%2Fimages%2Ficons%2FDVhDIm6KqB.png&w=128&q=75"},{tooltip:"Flower/Beauty",url:"https://text2ikon.komunikon.com/_next/image?url=https%3A%2F%2Fikondb.komunikon.com%2Fuploads%2Fimages%2Ficons%2FUnpCfhHsUa.png&w=128&q=75"},{tooltip:"Leaf/Nature",url:"https://text2ikon.komunikon.com/_next/image?url=https%3A%2F%2Fikondb.komunikon.com%2Fuploads%2Fimages%2Ficons%2F5Ex6my6BI7.png&w=128&q=75"}],tenses:[{tooltip:"adas",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_adas.svg"},{tooltip:"adis",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_adis.svg"},{tooltip:"ados",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ados.svg"},{tooltip:"antas",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_antas.svg"},{tooltip:"antis",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_antis.svg"},{tooltip:"antos",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_antos.svg"},{tooltip:"as",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_as.svg"},{tooltip:"intas",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intas.svg"},{tooltip:"intis",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intis.svg"},{tooltip:"intis2",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intis2.svg"},{tooltip:"intos",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intos.svg"},{tooltip:"intos2",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intos2.svg"},{tooltip:"is",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_is.svg"},{tooltip:"ontas",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontas.svg"},{tooltip:"ontis",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontis.svg"},{tooltip:"ontis2",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontis2.svg"},{tooltip:"ontos",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontos.svg"},{tooltip:"ontos2",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontos2.svg"},{tooltip:"os",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_os.svg"}]},B=[{id:"name",label:"Name",color:"#60a5fa",plural:!1},{id:"verb",label:"Verb",color:"#f87171",plural:!1},{id:"adjective",label:"Adjective",color:"#4ade80",plural:!1},{id:"adverb",label:"Adverb",color:"#fb923c",plural:!1},{id:"conjunction",label:"Conjunction",color:"#a78bfa",plural:!1},{id:"neutral",label:"Neutral",color:"#94a3b8",plural:!1},{id:"name_plural",label:"Name (plural)",color:"#60a5fa",plural:!0},{id:"verb_plural",label:"Verb (plural)",color:"#f87171",plural:!0},{id:"adjective_plural",label:"Adjective (plural)",color:"#4ade80",plural:!0},{id:"adverb_plural",label:"Adverb (plural)",color:"#fb923c",plural:!0},{id:"conjunction_plural",label:"Conjunction (plural)",color:"#a78bfa",plural:!0},{id:"neutral_plural",label:"Neutral (plural)",color:"#94a3b8",plural:!0}],ne=B.map(e=>e.id),Re=new Set(ne);function re(e){return B.find(n=>n.id===e)??null}function K(e,n){var s;return(s=g[e])==null?void 0:s.find(r=>r.url===n)}function Ce(e,n){var s,r;return(r=(s=g[e])==null?void 0:s[n])==null?void 0:r.url}function N(e){return e==null?null:typeof e=="object"&&"url"in e?e.url:e}function ie(e){return e==null?null:typeof e=="object"?e.svg||e.url||null:e}function k(e){return{name:e.tooltip,url:e.url}}function P(){return{context:k(g.context[0]),reference:{left:null,right:null},role:k(g.role[0]),modes:k(g.modes[0]),root:k(g.root[0]),rootName:null,tenses:k(g.tenses[0]),border:null}}function se(e){var f,_,T,j,b,m,I;if(!e)return e;const n=e.reference||{left:null,right:null},s=typeof e.context=="string"?K("context",e.context):null,r=typeof e.role=="string"?K("role",e.role):null,i=typeof e.modes=="string"?K("modes",e.modes):null,p=typeof e.root=="string"?K("root",e.root):null,c=typeof e.tenses=="string"?K("tenses",e.tenses):null,w=e.border!=null&&Re.has(e.border)?e.border:null;return{...e,context:typeof e.context=="object"&&((f=e.context)==null?void 0:f.url)!=null?e.context:s?k(s):{name:"",url:e.context||""},reference:{left:n.left==null?null:typeof n.left=="object"&&((_=n.left)==null?void 0:_.url)!=null?n.left:K("reference",n.left)?k(K("reference",n.left)):{name:"",url:n.left},right:n.right==null?null:typeof n.right=="object"&&((T=n.right)==null?void 0:T.url)!=null?n.right:K("reference",n.right)?k(K("reference",n.right)):{name:"",url:n.right}},role:typeof e.role=="object"&&((j=e.role)==null?void 0:j.url)!=null?e.role:r?k(r):{name:"",url:e.role||""},modes:typeof e.modes=="object"&&((b=e.modes)==null?void 0:b.url)!=null?e.modes:i?k(i):{name:"",url:e.modes||""},root:typeof e.root=="object"&&((m=e.root)==null?void 0:m.url)!=null?{...e.root,name:e.rootName??e.root.name}:p?{name:e.rootName??p.tooltip,url:p.url}:{name:e.rootName??"",url:e.root||""},tenses:typeof e.tenses=="object"&&((I=e.tenses)==null?void 0:I.url)!=null?e.tenses:c?k(c):{name:"",url:e.tenses||""},border:w}}function Ee(e){return(e||[]).map(se)}function $e(e){let n=0;for(let s=0;s<e.length;s++){const r=e.charCodeAt(s);n=(n<<5)-n+r,n=n&n}return Math.abs(n)}class Fe{constructor(n){this.seed=n}next(){const r=Math.pow(2,32);return this.seed=(1664525*this.seed+1013904223)%r,this.seed/r}nextInt(n,s){return Math.floor(this.next()*(s-n))+n}}function Me(e){const n=e.toLowerCase().split(/\s+/).filter(Boolean),s=[];for(const r of n){const i={...P()},p=$e(r),c=new Fe(p);i.context=k(g.context[c.nextInt(0,g.context.length)]);const w=c.next()>.5,f=c.nextInt(1,g.reference.length);i.reference={left:w?k(g.reference[0]):null,right:k(g.reference[f])},i.role=k(g.role[c.nextInt(0,g.role.length)]),i.modes=k(g.modes[c.nextInt(0,g.modes.length)]),i.root=k(g.root[c.nextInt(0,g.root.length)]),i.tenses=k(g.tenses[c.nextInt(0,g.tenses.length)]);const _=B.filter(T=>!T.plural);i.border=_[c.nextInt(0,_.length)].id,s.push(i)}return s.length>0?s:[P()]}const q={maxWidth:"100%",maxHeight:"100%",width:"100%",height:"100%",objectFit:"contain",display:"block",boxSizing:"border-box"},oe=e=>({display:"flex",alignItems:"center",justifyContent:"center",minWidth:0,minHeight:0,overflow:"hidden",boxSizing:"border-box",padding:`${e}px`});function Oe(e=768){const[n,s]=S.useState(()=>typeof window<"u"&&window.innerWidth<e);return S.useEffect(()=>{const r=window.matchMedia(`(max-width: ${e-1}px)`),i=()=>s(r.matches);return r.addEventListener("change",i),()=>r.removeEventListener("change",i)},[e]),n}function H({ikon:e,onClick:n,size:s=64,onZoneClick:r,selectedZone:i,isSelected:p=!1,isPaired:c=!1,onEdit:w,onDelete:f,hideActionOverlay:_=!1}){var ee,te;const[T,j]=S.useState(!1),b=Oe(),m=e!=null&&e.border?re(e.border):null,I=(a,C)=>{r?(C.stopPropagation(),r(a)):n&&n(C)},R=a=>{r&&(a.currentTarget.style.filter="brightness(1.3)")},y=a=>{r&&(a.currentTarget.style.filter="brightness(1)")},E=(a,C)=>{const L=i===a;return{boxSizing:"border-box",...C,cursor:r||n?"pointer":"default",transition:"all 0.2s, filter 0.2s",border:L?"2px solid var(--ikoneme-primary)":C.border||"none",boxShadow:L?"0 0 8px var(--ikoneme-primary)":"none",position:"relative"}},$=(a,C)=>{const L=ie(C);if(!L)return null;const U=K(a,N(C)),ve=C&&typeof C=="object"&&C.name||(U==null?void 0:U.tooltip)||a;return t.jsx("img",{src:L,alt:ve,style:q,onError:we=>{we.target.style.display="none"}})},o=!_&&!r&&(w||f),l=b?28:24,u=4,d=3*l+2*u,x=o?d:s,h=b||T,v=x,F=Math.max(2,Math.round(v/40)),xe=Math.max(2,Math.round(v/44)),M=Math.max(2,Math.round(v/72)),ge=Math.max(2,Math.round(v/40)),G=1.18,Z=`minmax(0, ${G}fr) repeat(4, minmax(0, ${.95}fr)) minmax(0, ${G}fr)`,he="minmax(0, 0.6fr) minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 0.6fr)",fe=m?{border:`${F}px solid ${m.color}`}:{border:p&&!c?"2px solid rgba(0, 168, 132, 0.8)":"1px solid rgba(255, 255, 255, 0.1)"},X=m!=null&&m.plural?{boxShadow:[`inset -${F}px 0 0 ${m.color}`,`inset -${F*2}px 0 0 ${m.color}`,`inset -${F*3}px 0 0 ${m.color}`,`inset 0 -${F}px 0 ${m.color}`,`inset 0 -${F*2}px 0 ${m.color}`,`inset 0 -${F*3}px 0 ${m.color}`].join(", ")}:{},ke=p&&!c?"rgba(0, 168, 132, 0.15)":"white",Q=m&&!m.plural?X.boxShadow:null,Y=[p&&!c?"0 0 12px rgba(0, 168, 132, 0.4)":null,i==="border"?"0 0 0 3px var(--ikoneme-primary)":null,Q].filter(Boolean).join(", "),be=["0 0 10px rgba(0, 168, 132, 0.5)",Q].filter(Boolean).join(", "),J=t.jsxs(t.Fragment,{children:[t.jsxs("div",{onClick:r?()=>r("border"):n?a=>n(a):void 0,style:{width:`${v}px`,height:`${v}px`,boxSizing:"border-box",display:"grid",padding:`${xe}px`,gridTemplateColumns:Z,gridTemplateRows:Z,cursor:n||r?"pointer":"default",borderRadius:"4px",overflow:"hidden",flexShrink:0,transition:"transform 0.2s, box-shadow 0.2s, border 0.2s",background:ke,boxShadow:Y,...fe},onMouseEnter:a=>{n&&!r&&!c&&(a.currentTarget.style.transform="scale(1.05)",p||(a.currentTarget.style.boxShadow=be))},onMouseLeave:a=>{n&&!r&&!c&&(a.currentTarget.style.transform="scale(1)",p||(a.currentTarget.style.boxShadow=Y))},children:[t.jsx("div",{onClick:a=>I("context",a),onMouseEnter:R,onMouseLeave:y,style:E("context",{gridColumn:"1 / 2",gridRow:"1 / 2",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(100, 50, 150, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.14)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${M}px`}),className:"ikoneme-zone",children:$("context",e.context)}),t.jsxs("div",{onClick:a=>I("reference",a),onMouseEnter:R,onMouseLeave:y,style:E("reference",{gridColumn:"2 / 6",gridRow:"1 / 2",display:"grid",gridTemplateColumns:he,gridTemplateRows:"minmax(0, 1fr)",background:"rgba(50, 100, 200, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.14)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden"}),className:"ikoneme-zone",children:[t.jsx("div",{style:{minWidth:0,minHeight:0,overflow:"hidden",borderRight:"1px solid rgba(0, 0, 0, 0.14)"}}),t.jsx("div",{style:{...oe(M),borderRight:"1px solid rgba(0, 0, 0, 0.14)"},children:N((ee=e.reference)==null?void 0:ee.left)&&t.jsx("img",{src:N(e.reference.left),alt:"Asterisk",style:q,onError:a=>{a.target.style.display="none"}})}),t.jsx("div",{style:{...oe(M),borderRight:"1px solid rgba(0, 0, 0, 0.14)"},children:N((te=e.reference)==null?void 0:te.right)&&t.jsx("img",{src:N(e.reference.right),alt:"Number",style:q,onError:a=>{a.target.style.display="none"}})}),t.jsx("div",{style:{minWidth:0,minHeight:0,overflow:"hidden"}})]}),t.jsx("div",{onClick:a=>I("role",a),onMouseEnter:R,onMouseLeave:y,style:E("role",{gridColumn:"6 / 7",gridRow:"1 / 2",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(200, 50, 50, 0.1)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${M}px`}),className:"ikoneme-zone",children:$("role",e.role)}),t.jsx("div",{onClick:a=>I("modes",a),onMouseEnter:R,onMouseLeave:y,style:E("modes",{gridColumn:"1 / 2",gridRow:"2 / 6",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(50, 150, 100, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.14)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${M}px`}),className:"ikoneme-zone",children:$("modes",e.modes)}),t.jsx("div",{onClick:a=>I("root",a),onMouseEnter:R,onMouseLeave:y,style:E("root",{gridColumn:"2 / 6",gridRow:"2 / 6",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(150, 150, 50, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.14)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${ge}px`}),className:"ikoneme-zone",children:$("root",e.root)}),t.jsx("div",{onClick:a=>{r&&(a.stopPropagation(),r("border"))},style:{gridColumn:"6 / 7",gridRow:"2 / 6",background:"rgba(0, 0, 0, 0.05)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",boxSizing:"border-box",cursor:r?"pointer":"default"}}),t.jsx("div",{onClick:a=>I("tenses",a),onMouseEnter:R,onMouseLeave:y,style:E("tenses",{gridColumn:"1 / 7",gridRow:"6 / 7",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(100, 100, 200, 0.1)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${M}px`}),className:"ikoneme-zone",children:$("tenses",e.tenses)})]}),(m==null?void 0:m.plural)&&t.jsx("div",{"aria-hidden":!0,style:{position:"absolute",top:0,left:0,right:0,bottom:0,width:`${v}px`,height:`${v}px`,borderRadius:"4px",pointerEvents:"none",...X}})]}),ye=t.jsx("div",{style:{minHeight:`${l}px`,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},"aria-hidden":!h,children:t.jsxs("div",{style:{display:"flex",gap:`${u}px`,flexWrap:"nowrap",width:`${d}px`,justifyContent:"center",opacity:h?1:0,pointerEvents:h?"auto":"none",transition:"opacity 0.15s ease"},children:[w&&t.jsx("button",{onClick:a=>{a.stopPropagation(),w()},style:{width:`${l}px`,height:`${l}px`,borderRadius:"6px",border:"none",background:"rgba(0, 168, 132, 0.95)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"background 0.2s",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)"},onMouseEnter:a=>a.currentTarget.style.background="rgba(0, 168, 132, 1)",onMouseLeave:a=>a.currentTarget.style.background="rgba(0, 168, 132, 0.95)",title:"Edit",children:t.jsx(_e,{size:b?16:14,color:"white"})}),f&&t.jsx("button",{onClick:a=>{a.stopPropagation(),f()},style:{width:`${l}px`,height:`${l}px`,borderRadius:"6px",border:"none",background:"rgba(220, 38, 38, 0.95)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"background 0.2s",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)"},onMouseEnter:a=>a.currentTarget.style.background="rgba(220, 38, 38, 1)",onMouseLeave:a=>a.currentTarget.style.background="rgba(220, 38, 38, 0.95)",title:"Delete",children:t.jsx(Te,{size:b?16:14,color:"white"})})]})});return o?t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:`${d}px`,flexShrink:0,gap:"6px"},onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),children:[t.jsx("div",{style:{position:"relative",width:`${v}px`,height:`${v}px`},children:J}),ye]}):t.jsx("div",{style:{position:"relative",width:`${s}px`,height:`${s}px`,flexShrink:0},onMouseEnter:()=>j(!0),onMouseLeave:()=>j(!1),children:J})}const V="https://ikondb.iigap.com",Be=60*60*1e3;let z=null,O=null;const A=new Map;function Le(e){return!e||Array.isArray(e)?null:e.origin||e.preview||e.thumb||e.svg||null}function ze(e){if(!e||Array.isArray(e))return{};const{origin:n=null,preview:s=null,thumb:r=null,svg:i=null}=e;return{origin:n,preview:s,thumb:r,svg:i}}async function Ae(e){const n=await fetch(`${e}/api/ikons`);if(!n.ok)throw new Error(`IkonDB GET /api/ikons -> ${n.status}`);const s=await n.json();return(Array.isArray(s==null?void 0:s.data)?s.data:[]).map(i=>({id:i.id,name:i.description||"",url:Le(i.media)})).filter(i=>i.url)}async function le({baseUrl:e=V}={}){return z&&Date.now()-z.at<Be?z.list:O||(O=Ae(e).then(n=>(z={at:Date.now(),list:n},n)).finally(()=>{O=null}),O)}async function ae(e,{baseUrl:n=V,limit:s=20}={}){const r=(e||"").trim().toLowerCase();if(!r)return[];const i=await le({baseUrl:n}),p=[];for(const c of i)if(c.name.toLowerCase().includes(r)&&(p.push(c),p.length>=s))break;return p}async function ce(e,{baseUrl:n=V}={}){if(e==null)return null;if(A.has(e))return A.get(e);const s=await fetch(`${n}/api/ikons/${encodeURIComponent(e)}`);if(!s.ok)throw new Error(`IkonDB GET /api/ikons/${e} -> ${s.status}`);const r=await s.json();if((r==null?void 0:r.status)!=="success"||!(r!=null&&r.data))return A.set(e,null),null;const i=ze(r.data.media),p={id:r.data.id,name:r.data.description||"",url:i.origin||i.preview||i.thumb||i.svg||null,...i};return A.set(e,p),p}async function de(e){try{return await ae(e)}catch{return[]}}function We(){z=null,O=null,A.clear()}const D={context:{name:"Context",description:"Northwest - Contextual information"},reference:{name:"Reference",description:"North - Reference point"},role:{name:"Role",description:"Northeast - Role indicator"},modes:{name:"Modes",description:"West - Mode settings"},root:{name:"Root",description:"Center - Core meaning"},tenses:{name:"Tenses",description:"South - Time/tense indicator"},border:{name:"Border",description:"Grammatical category — singular (one border) or plural (stacked borders)"}},De=1,He=300,Ve=10,Ue=5;function ue({ikon:e,onSave:n,onClose:s,searchRoot:r=de}){const[i,p]=S.useState({...e,reference:e.reference?{...e.reference}:{left:null,right:null},rootName:e.rootName??null}),[c,w]=S.useState("root"),[f,_]=S.useState(""),[T,j]=S.useState([]),[b,m]=S.useState(!1),I=(o,l)=>{const u=K(o==="reference"?"reference":o,l),d=u?{name:u.tooltip,url:u.url}:{name:"",url:l};if(o==="reference"){const x=g.reference[0].url;p(l===x?h=>{var v;return{...h,reference:{...h.reference,left:N((v=h.reference)==null?void 0:v.left)===x?null:{name:g.reference[0].tooltip,url:x}}}}:h=>{var v;return{...h,reference:{...h.reference,right:N((v=h.reference)==null?void 0:v.right)===l?null:d}}})}else p(x=>({...x,[o]:N(x[o])===l?null:d}))},R=o=>{w(o)},y=o=>{p(l=>({...l,border:o==null||l.border===o?null:o}))};S.useEffect(()=>{if(c!=="root"||f.length<De){j([]);return}const o=setTimeout(async()=>{m(!0);try{const l=await r(f.trim());j((l||[]).slice(0,Ve))}catch{j([])}finally{m(!1)}},He);return()=>clearTimeout(o)},[c,f,r]);const E=S.useCallback(async o=>{if(p(l=>({...l,root:{id:o.id??null,name:o.name,url:o.url},rootName:o.name})),o.id!=null)try{const l=await ce(o.id);if(!l)return;p(u=>{var d;return((d=u.root)==null?void 0:d.id)!==o.id?u:{...u,root:{id:l.id,name:o.name,url:l.origin||o.url,svg:l.svg||void 0,thumb:l.thumb||void 0,preview:l.preview||void 0},rootName:o.name}})}catch{}},[]),$=()=>{n(i),s()};return t.jsxs("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,background:"var(--ikoneme-background)",display:"flex",flexDirection:"column",zIndex:1e3,overflow:"hidden"},children:[t.jsxs("div",{style:{padding:"16px 20px",background:"var(--ikoneme-panel-bg)",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"12px"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",flex:1},children:[t.jsx("button",{onClick:s,style:{background:"transparent",border:"none",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center"},title:"Back",children:t.jsx(Se,{color:"var(--ikoneme-text-primary)",size:24})}),t.jsx("h2",{style:{color:"var(--ikoneme-text-primary)",fontSize:"clamp(18px, 4vw, 20px)",fontWeight:"600",margin:0},children:"Edit Ikon"})]}),t.jsx("button",{onClick:$,style:{padding:"10px 24px",background:"var(--ikoneme-primary)",border:"none",borderRadius:"8px",color:"white",cursor:"pointer",fontSize:"clamp(13px, 3vw, 14px)",fontWeight:"500",transition:"background 0.2s",whiteSpace:"nowrap"},onMouseEnter:o=>o.currentTarget.style.background="var(--ikoneme-primary-dark)",onMouseLeave:o=>o.currentTarget.style.background="var(--ikoneme-primary)",children:"Save"})]}),t.jsxs("div",{style:{flex:1,overflowY:"auto",padding:"20px",maxWidth:"800px",width:"100%",margin:"0 auto",WebkitOverflowScrolling:"touch"},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginBottom:"24px",gap:"12px"},children:[t.jsx("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(12px, 3vw, 13px)",textAlign:"center"},children:"Click on a zone or the border area to edit it"}),t.jsx(H,{ikon:i,size:280,onZoneClick:R,selectedZone:c}),t.jsx("div",{style:{color:"var(--ikoneme-text-primary)",fontSize:"clamp(14px, 3.5vw, 16px)",fontWeight:"500",textAlign:"center",padding:"8px 16px",background:"var(--ikoneme-primary)",borderRadius:"20px"},children:D[c].name})]}),t.jsxs("div",{style:{marginBottom:"20px"},children:[t.jsx("h3",{style:{color:"var(--ikoneme-text-primary)",fontSize:"clamp(14px, 3.5vw, 16px)",marginBottom:"8px",fontWeight:"500"},children:c==="border"?"Select Border Type":"Choose Icon for: "+D[c].name}),c==="border"?t.jsxs("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(11px, 2.5vw, 12px)",marginBottom:"12px"},children:[D.border.description,". Click the same border again to clear."]}):c==="reference"?t.jsxs("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(11px, 2.5vw, 12px)",marginBottom:"12px"},children:["Click ",t.jsx("strong",{children:"Asterisk"})," to toggle left cell. Click any ",t.jsx("strong",{children:"number"})," ","to toggle right cell."]}):c==="root"?t.jsx("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(11px, 2.5vw, 12px)",marginBottom:"12px"},children:"Search for an icon below. The icon's name is stored with the ikon."}):t.jsxs("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(11px, 2.5vw, 12px)",marginBottom:"12px"},children:[D[c].description,". Click the same icon again to clear."]}),c==="border"?t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{marginBottom:"12px"},children:t.jsx("button",{onClick:()=>y(null),style:{width:"100%",padding:"10px 14px",background:i.border==null?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:`2px solid ${i.border==null?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)"}`,borderRadius:"8px",color:i.border==null?"white":"var(--ikoneme-text-primary)",fontSize:"14px",cursor:"pointer",textAlign:"left",fontWeight:i.border==null?"600":"400",transition:"all 0.2s"},children:"No border"})}),t.jsx("div",{style:{marginBottom:"8px"},children:t.jsx("span",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"12px",fontWeight:"600"},children:"Singular"})}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"10px",marginBottom:"16px"},children:B.filter(o=>!o.plural).map(o=>{const l=i.border===o.id;return t.jsxs("button",{onClick:()=>y(o.id),title:o.label,style:{padding:"8px",background:l?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:`2px solid ${l?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)"}`,borderRadius:"8px",cursor:"pointer",display:"flex",flexDirection:"column",alignItems:"center",gap:"6px",transition:"all 0.2s",position:"relative"},onMouseEnter:d=>{l||(d.currentTarget.style.background="var(--ikoneme-hover)")},onMouseLeave:d=>{l||(d.currentTarget.style.background="var(--ikoneme-surface)")},children:[t.jsx("div",{style:{border:`5px solid ${o.color}`,borderRadius:"4px",width:"64px",height:"64px",flexShrink:0}}),t.jsx("span",{style:{fontSize:"11px",color:l?"white":"var(--ikoneme-text-primary)",fontWeight:l?"600":"400"},children:o.label}),t.jsx("div",{className:"ikon-tooltip",style:{position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",background:"rgba(0,0,0,0.95)",color:"white",padding:"6px 10px",borderRadius:"6px",fontSize:"11px",whiteSpace:"nowrap",opacity:0,pointerEvents:"none",transition:"opacity 0.2s",marginBottom:"8px",zIndex:100},children:o.label})]},o.id)})}),t.jsx("div",{style:{marginBottom:"8px"},children:t.jsx("span",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"12px",fontWeight:"600"},children:"Plural"})}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"10px"},children:B.filter(o=>o.plural).map(o=>{const l=i.border===o.id,u=5,d={boxShadow:[`inset -${u}px 0 0 ${o.color}`,`inset -${u*2}px 0 0 ${o.color}`,`inset -${u*3}px 0 0 ${o.color}`,`inset 0 -${u}px 0 ${o.color}`,`inset 0 -${u*2}px 0 ${o.color}`,`inset 0 -${u*3}px 0 ${o.color}`].join(", ")};return t.jsxs("button",{onClick:()=>y(o.id),title:o.label,style:{padding:"8px",background:l?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:`2px solid ${l?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)"}`,borderRadius:"8px",cursor:"pointer",display:"flex",flexDirection:"column",alignItems:"center",gap:"6px",transition:"all 0.2s",position:"relative"},onMouseEnter:x=>{l||(x.currentTarget.style.background="var(--ikoneme-hover)")},onMouseLeave:x=>{l||(x.currentTarget.style.background="var(--ikoneme-surface)")},children:[t.jsx("div",{style:{border:`${u}px solid ${o.color}`,borderRadius:"4px",width:"64px",height:"64px",flexShrink:0,...d}}),t.jsx("span",{style:{fontSize:"11px",color:l?"white":"var(--ikoneme-text-primary)",fontWeight:l?"600":"400"},children:o.label}),t.jsx("div",{className:"ikon-tooltip",style:{position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",background:"rgba(0,0,0,0.95)",color:"white",padding:"6px 10px",borderRadius:"6px",fontSize:"11px",whiteSpace:"nowrap",opacity:0,pointerEvents:"none",transition:"opacity 0.2s",marginBottom:"8px",zIndex:100},children:o.label})]},o.id)})})]}):c==="root"?t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"16px",padding:"10px 12px",background:"var(--ikoneme-surface)",borderRadius:"8px",border:"1px solid var(--ikoneme-border)"},children:[t.jsx(Ne,{size:18,color:"var(--ikoneme-text-secondary)"}),t.jsx("input",{type:"text",value:f,onChange:o=>_(o.target.value),placeholder:"Search icons...",style:{flex:1,border:"none",background:"transparent",color:"var(--ikoneme-text-primary)",fontSize:"14px",outline:"none"}})]}),b&&t.jsx("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"13px",marginBottom:"12px"},children:"Searching…"}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:`repeat(${Ue}, 1fr)`,gap:"10px"},children:T.map((o,l)=>{const u=N(i.root)===o.url;return t.jsxs("button",{onClick:()=>E(o),title:o.name,style:{padding:"12px",background:u?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:"2px solid",borderColor:u?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)",borderRadius:"8px",cursor:"pointer",transition:"all 0.2s",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",aspectRatio:"1",position:"relative",minHeight:"70px",minWidth:"70px"},onMouseEnter:d=>{d.currentTarget.style.transform="scale(1.05)",u||(d.currentTarget.style.background="var(--ikoneme-hover)")},onMouseLeave:d=>{d.currentTarget.style.transform="scale(1)",u||(d.currentTarget.style.background="var(--ikoneme-surface)")},children:[t.jsx("div",{style:{width:"100%",height:"100%",background:"white",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",padding:"4px"},children:t.jsx("img",{src:o.url,alt:o.name,style:{maxWidth:"100%",maxHeight:"100%",width:"100%",height:"100%",objectFit:"contain"},onError:d=>{d.target.style.display="none"}})}),t.jsx("div",{className:"ikon-tooltip",style:{position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",background:"rgba(0, 0, 0, 0.95)",color:"white",padding:"6px 10px",borderRadius:"6px",fontSize:"11px",whiteSpace:"nowrap",opacity:0,pointerEvents:"none",transition:"opacity 0.2s",marginBottom:"8px",zIndex:100},children:o.name})]},`${o.url}-${l}`)})})]}):t.jsx("div",{style:{display:"grid",gridTemplateColumns:g[c].length<=3?"repeat(3, 1fr)":"repeat(auto-fit, minmax(90px, 1fr))",gap:"10px"},children:g[c].map((o,l)=>{var d,x;let u=!1;if(c==="reference"){const h=g.reference[0].url;o.url===h?u=N((d=i.reference)==null?void 0:d.left)===h:u=N((x=i.reference)==null?void 0:x.right)===o.url}else u=N(i[c])===o.url;return t.jsxs("button",{onClick:()=>I(c,o.url),title:o.tooltip,style:{padding:"12px",background:u?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:"2px solid",borderColor:u?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)",borderRadius:"8px",cursor:"pointer",transition:"all 0.2s",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",aspectRatio:"1",position:"relative",minHeight:"70px",minWidth:"70px"},onMouseEnter:h=>{h.currentTarget.style.transform="scale(1.05)",u||(h.currentTarget.style.background="var(--ikoneme-hover)")},onMouseLeave:h=>{h.currentTarget.style.transform="scale(1)",u||(h.currentTarget.style.background="var(--ikoneme-surface)")},children:[t.jsx("div",{style:{width:"100%",height:"100%",background:"white",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",padding:"4px"},children:t.jsx("img",{src:o.url,alt:o.tooltip,style:{maxWidth:"100%",maxHeight:"100%",width:"100%",height:"100%",objectFit:"contain"}})}),t.jsx("div",{style:{position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",background:"rgba(0, 0, 0, 0.95)",color:"white",padding:"6px 10px",borderRadius:"6px",fontSize:"11px",whiteSpace:"nowrap",opacity:0,pointerEvents:"none",transition:"opacity 0.2s",marginBottom:"8px",zIndex:100},className:"ikon-tooltip",children:o.tooltip})]},l)})})]}),t.jsx("style",{children:`
36
+ */const Ce=G("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),P="https://ikondb.iigap.com",Ee=60*60*1e3;let K=null,L=null;const R=new Map;function _e(e){return!e||Array.isArray(e)?null:e.origin||e.preview||e.thumb||e.svg||null}function Ve(e){if(!e||Array.isArray(e))return{};const{origin:i=null,preview:o=null,thumb:l=null,svg:F=null}=e;return{origin:i,preview:o,thumb:l,svg:F}}async function Te(e){const i=await fetch(`${e}/api/ikons`);if(!i.ok)throw new Error(`IkonDB GET /api/ikons -> ${i.status}`);const o=await i.json();return(Array.isArray(o==null?void 0:o.data)?o.data:[]).map(F=>({id:F.id,name:F.description||"",url:_e(F.media)})).filter(F=>F.url)}async function re({baseUrl:e=P}={}){return K&&Date.now()-K.at<Ee?K.list:L||(L=Te(e).then(i=>(K={at:Date.now(),list:i},i)).finally(()=>{L=null}),L)}async function Y(e,{baseUrl:i=P,limit:o=20}={}){const l=(e||"").trim().toLowerCase();if(!l)return[];const F=await re({baseUrl:i}),d=[];for(const h of F)if(h.name.toLowerCase().includes(l)&&(d.push(h),d.length>=o))break;return d}async function le(e,{baseUrl:i=P}={}){if(e==null)return null;if(R.has(e))return R.get(e);const o=await fetch(`${i}/api/ikons/${encodeURIComponent(e)}`);if(!o.ok)throw new Error(`IkonDB GET /api/ikons/${e} -> ${o.status}`);const l=await o.json();if((l==null?void 0:l.status)!=="success"||!(l!=null&&l.data))return R.set(e,null),null;const F=Ve(l.data.media),d={id:l.data.id,name:l.data.description||"",url:F.origin||F.preview||F.thumb||F.svg||null,...F};return R.set(e,d),d}async function Fe(e){try{return await Y(e)}catch{return[]}}function Be(){K=null,L=null,R.clear()}const Ne="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='30'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='75'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e",Me="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3cg%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='75'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/svg%3e",Le="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='58.5'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='1.5'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e",De="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='12'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='21'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='48'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='57'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='66'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='4.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='7.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='10.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='13.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='19.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='22.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='25.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='28.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='34.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='37.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='40.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='43.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='49.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='52.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='55.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='58.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='64.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='67.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='70.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='12'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='15'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='18'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='27'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='33'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='42'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='45'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='48'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='57'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='60'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='63'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='72'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='4.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='7.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='10.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='13.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='19.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='22.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='25.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='28.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='34.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='37.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='40.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='43.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='49.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='52.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='55.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='64.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='67.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='70.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e",Oe="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='78px'%20height='78px'%20viewBox='0%200%2078%2078'%20enable-background='new%200%200%2078%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h68.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M75,75L75,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='75'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e",Ke="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2028.1.0,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20viewBox='0%200%2078%2078'%20style='enable-background:new%200%200%2078%2078;'%20xml:space='preserve'%3e%3cstyle%20type='text/css'%3e%20.st0{fill-rule:evenodd;clip-rule:evenodd;fill:%236F6F6F;}%20.st1{fill:%23303030;}%20%3c/style%3e%3cg%20id='Neutral_00000127737234708554144110000011539647311500563641_'%3e%3cg%3e%3cpath%20class='st0'%20d='M3,3L3,3C1.4,4.4,0,7.2,0,9.3V78h68.9c2.2,0,4.7-1.3,6.1-3l0,0H3V3z'/%3e%3cpath%20class='st0'%20d='M75,75L75,75c1.6-1.4,3-4.2,3-6.3V0H9.1C6.9,0,4.4,1.3,3,3l0,0h72V75z'/%3e%3c/g%3e%3crect%20x='75'%20class='st1'%20width='3'%20height='3'/%3e%3crect%20y='75'%20class='st1'%20width='3'%20height='3'/%3e%3c/g%3e%3c/svg%3e",Re="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261L0.102,78h140.921%20c2.063,0,4.583-1.348,5.977-3h0.102h-144L3,3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6BE1E'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261L150.102,0H9.181%20C6.914,0,4.395,1.346,3,3h0.102h144L147,75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='65.102'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='65.102'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='147'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e",Ge="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23960000'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='81'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='96'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='111'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='126'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='141'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3cg%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='76.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='91.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='106.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='121.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='136.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3c/g%3e%3crect%20x='147'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='147'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3cg%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='75'%20fill='%23FFFFFF'%20width='7.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='7.5'/%3e%3c/g%3e%3c/svg%3e",ze="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M3.084,3L3.084,3c-1.562,1.392-3,4.172-3,6.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0h-144V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23006E96'%20d='M147.084,75L147.084,75c1.562-1.391,3-4.174,3-6.261V0H9.163%20C6.998,0,4.479,1.346,3.084,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='130.584'%20y='1.5'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='147.084'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3crect%20x='1.584'%20y='75'%20fill='%23FFFFFF'%20width='18'%20height='1.5'/%3e%3crect%20x='1.584'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='18'/%3e%3c/svg%3e",He="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M2.917,3L2.917,3c-1.562,1.392-3,4.172-3,6.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0h-144V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23E6821E'%20d='M146.917,75L146.917,75c1.562-1.391,3-4.174,3-6.261V0H8.996%20C6.831,0,4.312,1.346,2.917,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/g%3e%3crect%20x='1.5'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='12'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='21'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='30'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='39'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='48'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='57'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='66'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='4.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='7.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='10.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='13.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='16.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='19.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='22.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='25.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='28.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='31.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='34.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='37.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='40.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='43.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='46.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='49.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='52.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='55.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='58.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='61.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='64.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='67.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='70.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='144'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='142.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3cg%3e%3crect%20x='6'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='9'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='12'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='15'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='18'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='21'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='24'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='27'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='30'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='33'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='36'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='39'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='42'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='45'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='48'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='51'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='54'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='57'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='60'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='63'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='66'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='69'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='72'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='75'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='78'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='81'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='84'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='87'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='90'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='93'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='96'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='99'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='102'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='105'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='108'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='111'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='114'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='117'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='120'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='123'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='126'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='129'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='132'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='135'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='138'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='141'%20y='1.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='73.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='76.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='79.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='82.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='85.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='88.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='91.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='94.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='97.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='100.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='103.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='106.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='109.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='112.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='115.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='118.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='121.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='124.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='127.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='130.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='133.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='136.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='139.5'%20y='75'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3cg%3e%3crect%20x='147.002'%20y='4.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='7.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='10.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='13.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='16.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='19.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='22.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='25.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='28.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='31.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='34.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='37.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='40.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='43.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='46.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='49.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='52.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='55.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='58.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='61.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='64.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='67.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147.002'%20y='70.5'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/g%3e%3c/svg%3e",Pe="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%23508C50'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20x='1.5'%20y='9'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='18'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='27'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='36'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='45'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='54'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='63'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='1.5'%20y='72'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='6'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='15'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='24'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='33'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='42'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='51'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='60'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3crect%20x='147'%20y='69'%20fill='%23FFFFFF'%20width='1.5'%20height='1.5'/%3e%3c/svg%3e",We="data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='utf-8'?%3e%3c!--%20Generator:%20Adobe%20Illustrator%2016.0.4,%20SVG%20Export%20Plug-In%20.%20SVG%20Version:%206.00%20Build%200)%20--%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20version='1.1'%20id='Layer_1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20x='0px'%20y='0px'%20width='150px'%20height='78px'%20viewBox='0%200%20150%2078'%20enable-background='new%200%200%20150%2078'%20xml:space='preserve'%3e%3cg%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%236F6F6F'%20d='M3,3L3,3C1.438,4.392,0,7.172,0,9.261V78h140.921%20c2.165,0,4.685-1.348,6.079-3l0,0H3V3z'/%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20fill='%236F6F6F'%20d='M147,75L147,75c1.562-1.391,3-4.174,3-6.261V0H9.079%20C6.914,0,4.395,1.346,3,3l0,0h144V75z'/%3e%3c/g%3e%3crect%20x='147'%20fill='%23303030'%20width='3'%20height='3'/%3e%3crect%20y='75'%20fill='%23303030'%20width='3'%20height='3'/%3e%3c/svg%3e",x={context:[{tooltip:"Male",url:"https://text2ikon.komunikon.com/gender-assets/KomunIKON_Male.svg"},{tooltip:"Female",url:"https://text2ikon.komunikon.com/gender-assets/KomunIKON_Female.svg"},{tooltip:"Non Binary",url:"https://text2ikon.komunikon.com/gender-assets/KomunIKON_Non-Binary.png"}],reference:[{tooltip:"Asterisk",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_asterisk.svg"},{tooltip:"Zero",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Zero.svg"},{tooltip:"One",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_One.svg"},{tooltip:"Two",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Two.svg"},{tooltip:"Three",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Three.svg"},{tooltip:"Four",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Four.svg"},{tooltip:"Five",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Five.svg"},{tooltip:"Six",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Six.svg"},{tooltip:"Seven",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Seven.svg"},{tooltip:"Eight",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Eight.svg"},{tooltip:"Nine",url:"https://text2ikon.komunikon.com/reference-assets/KomunIKON_Nine.svg"}],role:[{tooltip:"agent",url:"https://text2ikon.komunikon.com/case-assets/KomunIKON_agent.svg"},{tooltip:"patient",url:"https://text2ikon.komunikon.com/case-assets/KomunIKON_patient.svg"},{tooltip:"reflexive",url:"https://text2ikon.komunikon.com/case-assets/KomunIKON_reflexive.svg"},{tooltip:"recipricol",url:"https://text2ikon.komunikon.com/_next/image?url=%2Fcase-assets%2Frecipricol.jpg&w=48&q=75"}],modes:[{tooltip:"Exclam",url:"https://text2ikon.komunikon.com/mode-assets/KomunIKON_Exclam.svg"},{tooltip:"Which",url:"https://text2ikon.komunikon.com/mode-assets/KomunIKON_Which.svg"}],root:[{tooltip:"Love/Passion",url:"https://ikondb.iigap.com/storage/media/960/ZFcaar88AP.png"},{tooltip:"Star/Excellence",url:"https://ikondb.iigap.com/storage/media/991/M0ADaSXzWe.png"},{tooltip:"Value/Precious",url:"https://ikondb.iigap.com/storage/media/942/6ghAUKbdIs.png"},{tooltip:"Fire/Hot",url:"https://ikondb.iigap.com/storage/media/1478/zq0n4vHSQW.png"},{tooltip:"Water/Fluid",url:"https://ikondb.iigap.com/storage/media/1480/DVhDIm6KqB.png"},{tooltip:"Flower/Beauty",url:"https://ikondb.iigap.com/storage/media/1048/UnpCfhHsUa.png"},{tooltip:"Leaf/Nature",url:"https://ikondb.iigap.com/storage/media/1398/5Ex6my6BI7.png"}],tenses:[{tooltip:"adas",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_adas.svg"},{tooltip:"adis",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_adis.svg"},{tooltip:"ados",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ados.svg"},{tooltip:"antas",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_antas.svg"},{tooltip:"antis",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_antis.svg"},{tooltip:"antos",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_antos.svg"},{tooltip:"as",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_as.svg"},{tooltip:"intas",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intas.svg"},{tooltip:"intis",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intis.svg"},{tooltip:"intis2",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intis2.svg"},{tooltip:"intos",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intos.svg"},{tooltip:"intos2",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_intos2.svg"},{tooltip:"is",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_is.svg"},{tooltip:"ontas",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontas.svg"},{tooltip:"ontis",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontis.svg"},{tooltip:"ontis2",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontis2.svg"},{tooltip:"ontos",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontos.svg"},{tooltip:"ontos2",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_ontos2.svg"},{tooltip:"os",url:"https://text2ikon.komunikon.com/time-assets/KomunIKON_Verbal_Tense_os.svg"}]},D=[{id:"name",label:"Name",color:"#E6BE1E",plural:!1,image:Ne},{id:"verb",label:"Verb",color:"#960000",plural:!1,image:Me},{id:"adjective",label:"Adjective",color:"#006E96",plural:!1,image:Le},{id:"adverb",label:"Adverb",color:"#E6821E",plural:!1,image:De},{id:"conjunction",label:"Conjunction",color:"#508C50",plural:!1,image:Oe},{id:"neutral",label:"Neutral",color:"#6F6F6F",plural:!1,image:Ke},{id:"name_plural",label:"Name (plural)",color:"#E6BE1E",plural:!0,image:Re},{id:"verb_plural",label:"Verb (plural)",color:"#960000",plural:!0,image:Ge},{id:"adjective_plural",label:"Adjective (plural)",color:"#006E96",plural:!0,image:ze},{id:"adverb_plural",label:"Adverb (plural)",color:"#E6821E",plural:!0,image:He},{id:"conjunction_plural",label:"Conjunction (plural)",color:"#508C50",plural:!0,image:Pe},{id:"neutral_plural",label:"Neutral (plural)",color:"#6F6F6F",plural:!0,image:We}],oe=D.map(e=>e.id),Ae=new Set(oe);function q(e){return D.find(i=>i.id===e)??null}function H(e,i){const o=typeof e=="string"?q(e):e;if(!o)return{};const l=i/78,F=Math.max(2,Math.round(3*l)),d=Math.max(F,Math.round(9*l)),h=o.plural?"11.538% 6%":"11.538%";return{borderStyle:"solid",borderColor:"transparent",borderWidth:`${F}px`,borderImageSource:`url("${o.image}")`,borderImageSlice:h,borderImageWidth:`${d}px`,borderImageRepeat:"stretch",borderRadius:0,backgroundClip:"padding-box"}}function V(e,i){var o;return(o=x[e])==null?void 0:o.find(l=>l.url===i)}function $e(e,i){var o,l;return(l=(o=x[e])==null?void 0:o[i])==null?void 0:l.url}function E(e){return e==null?null:typeof e=="object"&&"url"in e?e.url:e}function ne(e){return e==null?null:typeof e=="object"?e.svg||e.url||null:e}function w(e){return{name:e.tooltip,url:e.url}}function U(){return{context:w(x.context[0]),reference:{left:null,right:null},role:w(x.role[0]),modes:w(x.modes[0]),root:w(x.root[0]),rootName:null,tenses:w(x.tenses[0]),border:null}}function ce(e){var p,b,C,u,m,_,k;if(!e)return e;const i=e.reference||{left:null,right:null},o=typeof e.context=="string"?V("context",e.context):null,l=typeof e.role=="string"?V("role",e.role):null,F=typeof e.modes=="string"?V("modes",e.modes):null,d=typeof e.root=="string"?V("root",e.root):null,h=typeof e.tenses=="string"?V("tenses",e.tenses):null,v=e.border!=null&&Ae.has(e.border)?e.border:null;return{...e,context:typeof e.context=="object"&&((p=e.context)==null?void 0:p.url)!=null?e.context:o?w(o):{name:"",url:e.context||""},reference:{left:i.left==null?null:typeof i.left=="object"&&((b=i.left)==null?void 0:b.url)!=null?i.left:V("reference",i.left)?w(V("reference",i.left)):{name:"",url:i.left},right:i.right==null?null:typeof i.right=="object"&&((C=i.right)==null?void 0:C.url)!=null?i.right:V("reference",i.right)?w(V("reference",i.right)):{name:"",url:i.right}},role:typeof e.role=="object"&&((u=e.role)==null?void 0:u.url)!=null?e.role:l?w(l):{name:"",url:e.role||""},modes:typeof e.modes=="object"&&((m=e.modes)==null?void 0:m.url)!=null?e.modes:F?w(F):{name:"",url:e.modes||""},root:typeof e.root=="object"&&((_=e.root)==null?void 0:_.url)!=null?{...e.root,name:e.rootName??e.root.name}:d?{name:e.rootName??d.tooltip,url:d.url}:{name:e.rootName??"",url:e.root||""},tenses:typeof e.tenses=="object"&&((k=e.tenses)==null?void 0:k.url)!=null?e.tenses:h?w(h):{name:"",url:e.tenses||""},border:v}}function Ue(e){return(e||[]).map(ce)}function Ye(e){let i=0;for(let o=0;o<e.length;o++){const l=e.charCodeAt(o);i=(i<<5)-i+l,i=i&i}return Math.abs(i)}class qe{constructor(i){this.seed=i}next(){const l=Math.pow(2,32);return this.seed=(1664525*this.seed+1013904223)%l,this.seed/l}nextInt(i,o){return Math.floor(this.next()*(o-i))+i}}async function Ze(e){try{const[i]=await Y(e,{limit:1});return i?{name:i.name,url:i.url}:null}catch{return null}}const Xe={name:"Not found",url:null};async function Qe(e){const i=e.toLowerCase().split(/\s+/).filter(Boolean),o=await Promise.all(i.map(async l=>{const F={...U()},d=Ye(l),h=new qe(d);F.context=w(x.context[h.nextInt(0,x.context.length)]);const v=h.next()>.5,p=h.nextInt(1,x.reference.length);F.reference={left:v?w(x.reference[0]):null,right:w(x.reference[p])},F.role=w(x.role[h.nextInt(0,x.role.length)]),F.modes=w(x.modes[h.nextInt(0,x.modes.length)]);const b=await Ze(l);F.root=b??Xe,F.rootName=(b==null?void 0:b.name)??null,F.tenses=w(x.tenses[h.nextInt(0,x.tenses.length)]);const C=D.filter(u=>!u.plural);return F.border=C[h.nextInt(0,C.length)].id,F}));return o.length>0?o:[U()]}const $={maxWidth:"100%",maxHeight:"100%",width:"100%",height:"100%",objectFit:"contain",display:"block",boxSizing:"border-box"},ie=e=>({display:"flex",alignItems:"center",justifyContent:"center",minWidth:0,minHeight:0,overflow:"hidden",boxSizing:"border-box",padding:`${e}px`});function Je(e=768){const[i,o]=S.useState(()=>typeof window<"u"&&window.innerWidth<e);return S.useEffect(()=>{const l=window.matchMedia(`(max-width: ${e-1}px)`),F=()=>o(l.matches);return l.addEventListener("change",F),()=>l.removeEventListener("change",F)},[e]),i}function W({ikon:e,onClick:i,size:o=64,onZoneClick:l,selectedZone:F,isSelected:d=!1,isPaired:h=!1,onEdit:v,onDelete:p,hideActionOverlay:b=!1}){var ee,te;const[C,u]=S.useState(!1),m=Je(),_=e!=null&&e.border?q(e.border):null,k=(c,I)=>{l?(I.stopPropagation(),l(c)):i&&i(I)},T=c=>{l&&(c.currentTarget.style.filter="brightness(1.3)")},y=c=>{l&&(c.currentTarget.style.filter="brightness(1)")},B=(c,I)=>{const O=F===c;return{boxSizing:"border-box",...I,cursor:l||i?"pointer":"default",transition:"all 0.2s, filter 0.2s",border:O?"2px solid var(--ikoneme-primary)":I.border||"none",boxShadow:O?"0 0 8px var(--ikoneme-primary)":"none",position:"relative"}},N=(c,I)=>{const O=ne(I),A=V(c,E(I)),we=I&&typeof I=="object"&&I.name||(A==null?void 0:A.tooltip)||c;return O?t.jsx("img",{src:O,alt:we,style:$,onError:ye=>{ye.target.style.display="none"}}):I!=null&&I.name?t.jsx("span",{style:{fontSize:"10px",lineHeight:1.2,textAlign:"center",color:"var(--ikoneme-text-secondary, #888)",wordBreak:"break-word",padding:"2px"},children:I.name}):null},r=!b&&!l&&(v||p),n=m?28:24,s=4,a=3*n+2*s,f=r?a:o,g=m||C,j=f,ae=Math.max(2,Math.round(j/44)),M=Math.max(2,Math.round(j/72)),ge=Math.max(2,Math.round(j/40)),Z=1.18,X=`minmax(0, ${Z}fr) repeat(4, minmax(0, ${.95}fr)) minmax(0, ${Z}fr)`,xe="minmax(0, 0.6fr) minmax(0, 1.4fr) minmax(0, 1.4fr) minmax(0, 0.6fr)",fe=_?H(_,j):{border:d&&!h?"2px solid rgba(0, 168, 132, 0.8)":"1px solid rgba(255, 255, 255, 0.1)"},pe=d&&!h?"rgba(0, 168, 132, 0.15)":"white",Q=[d&&!h?"0 0 12px rgba(0, 168, 132, 0.4)":null,F==="border"?"0 0 0 3px var(--ikoneme-primary)":null].filter(Boolean).join(", "),ue="0 0 10px rgba(0, 168, 132, 0.5)",J=t.jsx(t.Fragment,{children:t.jsxs("div",{onClick:l?()=>l("border"):i?c=>i(c):void 0,style:{width:`${j}px`,height:`${j}px`,boxSizing:"border-box",display:"grid",padding:`${ae}px`,gridTemplateColumns:X,gridTemplateRows:X,cursor:i||l?"pointer":"default",borderRadius:"4px",overflow:"hidden",flexShrink:0,transition:"transform 0.2s, box-shadow 0.2s, border 0.2s",backgroundColor:pe,boxShadow:Q,...fe},onMouseEnter:c=>{i&&!l&&!h&&(c.currentTarget.style.transform="scale(1.05)",d||(c.currentTarget.style.boxShadow=ue))},onMouseLeave:c=>{i&&!l&&!h&&(c.currentTarget.style.transform="scale(1)",d||(c.currentTarget.style.boxShadow=Q))},children:[t.jsx("div",{onClick:c=>k("context",c),onMouseEnter:T,onMouseLeave:y,style:B("context",{gridColumn:"1 / 2",gridRow:"1 / 2",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(100, 50, 150, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.14)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${M}px`}),className:"ikoneme-zone",children:N("context",e.context)}),t.jsxs("div",{onClick:c=>k("reference",c),onMouseEnter:T,onMouseLeave:y,style:B("reference",{gridColumn:"2 / 6",gridRow:"1 / 2",display:"grid",gridTemplateColumns:xe,gridTemplateRows:"minmax(0, 1fr)",background:"rgba(50, 100, 200, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.14)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden"}),className:"ikoneme-zone",children:[t.jsx("div",{style:{minWidth:0,minHeight:0,overflow:"hidden",borderRight:"1px solid rgba(0, 0, 0, 0.14)"}}),t.jsx("div",{style:{...ie(M),borderRight:"1px solid rgba(0, 0, 0, 0.14)"},children:E((ee=e.reference)==null?void 0:ee.left)&&t.jsx("img",{src:E(e.reference.left),alt:"Asterisk",style:$,onError:c=>{c.target.style.display="none"}})}),t.jsx("div",{style:{...ie(M),borderRight:"1px solid rgba(0, 0, 0, 0.14)"},children:E((te=e.reference)==null?void 0:te.right)&&t.jsx("img",{src:E(e.reference.right),alt:"Number",style:$,onError:c=>{c.target.style.display="none"}})}),t.jsx("div",{style:{minWidth:0,minHeight:0,overflow:"hidden"}})]}),t.jsx("div",{onClick:c=>k("role",c),onMouseEnter:T,onMouseLeave:y,style:B("role",{gridColumn:"6 / 7",gridRow:"1 / 2",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(200, 50, 50, 0.1)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${M}px`}),className:"ikoneme-zone",children:N("role",e.role)}),t.jsx("div",{onClick:c=>k("modes",c),onMouseEnter:T,onMouseLeave:y,style:B("modes",{gridColumn:"1 / 2",gridRow:"2 / 6",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(50, 150, 100, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.14)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${M}px`}),className:"ikoneme-zone",children:N("modes",e.modes)}),t.jsx("div",{onClick:c=>k("root",c),onMouseEnter:T,onMouseLeave:y,style:B("root",{gridColumn:"2 / 6",gridRow:"2 / 6",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(150, 150, 50, 0.1)",borderRight:"1px solid rgba(0, 0, 0, 0.14)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${ge}px`}),className:"ikoneme-zone",children:N("root",e.root)}),t.jsx("div",{onClick:c=>{l&&(c.stopPropagation(),l("border"))},style:{gridColumn:"6 / 7",gridRow:"2 / 6",background:"rgba(0, 0, 0, 0.05)",borderBottom:"1px solid rgba(0, 0, 0, 0.14)",minWidth:0,minHeight:0,overflow:"hidden",boxSizing:"border-box",cursor:l?"pointer":"default"}}),t.jsx("div",{onClick:c=>k("tenses",c),onMouseEnter:T,onMouseLeave:y,style:B("tenses",{gridColumn:"1 / 7",gridRow:"6 / 7",display:"flex",alignItems:"center",justifyContent:"center",background:"rgba(100, 100, 200, 0.1)",minWidth:0,minHeight:0,overflow:"hidden",padding:`${M}px`}),className:"ikoneme-zone",children:N("tenses",e.tenses)})]})}),me=t.jsx("div",{style:{minHeight:`${n}px`,flexShrink:0,display:"flex",alignItems:"center",justifyContent:"center"},"aria-hidden":!g,children:t.jsxs("div",{style:{display:"flex",gap:`${s}px`,flexWrap:"nowrap",width:`${a}px`,justifyContent:"center",opacity:g?1:0,pointerEvents:g?"auto":"none",transition:"opacity 0.15s ease"},children:[v&&t.jsx("button",{onClick:c=>{c.stopPropagation(),v()},style:{width:`${n}px`,height:`${n}px`,borderRadius:"6px",border:"none",background:"rgba(0, 168, 132, 0.95)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"background 0.2s",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)"},onMouseEnter:c=>c.currentTarget.style.background="rgba(0, 168, 132, 1)",onMouseLeave:c=>c.currentTarget.style.background="rgba(0, 168, 132, 0.95)",title:"Edit",children:t.jsx(Ie,{size:m?16:14,color:"white"})}),p&&t.jsx("button",{onClick:c=>{c.stopPropagation(),p()},style:{width:`${n}px`,height:`${n}px`,borderRadius:"6px",border:"none",background:"rgba(220, 38, 38, 0.95)",cursor:"pointer",display:"flex",alignItems:"center",justifyContent:"center",transition:"background 0.2s",boxShadow:"0 2px 4px rgba(0, 0, 0, 0.3)"},onMouseEnter:c=>c.currentTarget.style.background="rgba(220, 38, 38, 1)",onMouseLeave:c=>c.currentTarget.style.background="rgba(220, 38, 38, 0.95)",title:"Delete",children:t.jsx(je,{size:m?16:14,color:"white"})})]})});return r?t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",width:`${a}px`,flexShrink:0,gap:"6px"},onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:[t.jsx("div",{style:{position:"relative",width:`${j}px`,height:`${j}px`},children:J}),me]}):t.jsx("div",{style:{position:"relative",width:`${o}px`,height:`${o}px`,flexShrink:0},onMouseEnter:()=>u(!0),onMouseLeave:()=>u(!1),children:J})}const z={context:{name:"Context",description:"Northwest - Contextual information"},reference:{name:"Reference",description:"North - Reference point"},role:{name:"Role",description:"Northeast - Role indicator"},modes:{name:"Modes",description:"West - Mode settings"},root:{name:"Root",description:"Center - Core meaning"},tenses:{name:"Tenses",description:"South - Time/tense indicator"},border:{name:"Border",description:"Grammatical category — singular (single frame) or plural (double frame)"}},e0=1,t0=300,i0=10,r0=5;function he({ikon:e,onSave:i,onClose:o,searchRoot:l=Fe}){const[F,d]=S.useState({...e,reference:e.reference?{...e.reference}:{left:null,right:null},rootName:e.rootName??null}),[h,v]=S.useState("root"),[p,b]=S.useState(""),[C,u]=S.useState([]),[m,_]=S.useState(!1),k=(r,n)=>{const s=V(r==="reference"?"reference":r,n),a=s?{name:s.tooltip,url:s.url}:{name:"",url:n};if(r==="reference"){const f=x.reference[0].url;d(n===f?g=>{var j;return{...g,reference:{...g.reference,left:E((j=g.reference)==null?void 0:j.left)===f?null:{name:x.reference[0].tooltip,url:f}}}}:g=>{var j;return{...g,reference:{...g.reference,right:E((j=g.reference)==null?void 0:j.right)===n?null:a}}})}else d(f=>({...f,[r]:E(f[r])===n?null:a}))},T=r=>{v(r)},y=r=>{d(n=>({...n,border:r==null||n.border===r?null:r}))};S.useEffect(()=>{if(h!=="root"||p.length<e0){u([]);return}const r=setTimeout(async()=>{_(!0);try{const n=await l(p.trim());u((n||[]).slice(0,i0))}catch{u([])}finally{_(!1)}},t0);return()=>clearTimeout(r)},[h,p,l]);const B=S.useCallback(async r=>{if(d(n=>({...n,root:{id:r.id??null,name:r.name,url:r.url},rootName:r.name})),r.id!=null)try{const n=await le(r.id);if(!n)return;d(s=>{var a;return((a=s.root)==null?void 0:a.id)!==r.id?s:{...s,root:{id:n.id,name:r.name,url:n.origin||r.url,svg:n.svg||void 0,thumb:n.thumb||void 0,preview:n.preview||void 0},rootName:r.name}})}catch{}},[]),N=()=>{i(F),o()};return t.jsxs("div",{style:{position:"fixed",top:0,left:0,right:0,bottom:0,background:"var(--ikoneme-background)",display:"flex",flexDirection:"column",zIndex:1e3,overflow:"hidden"},children:[t.jsxs("div",{style:{padding:"16px 20px",background:"var(--ikoneme-panel-bg)",display:"flex",alignItems:"center",justifyContent:"space-between",gap:"12px"},children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"12px",flex:1},children:[t.jsx("button",{onClick:o,style:{background:"transparent",border:"none",cursor:"pointer",padding:"4px",display:"flex",alignItems:"center",justifyContent:"center"},title:"Back",children:t.jsx(ke,{color:"var(--ikoneme-text-primary)",size:24})}),t.jsx("h2",{style:{color:"var(--ikoneme-text-primary)",fontSize:"clamp(18px, 4vw, 20px)",fontWeight:"600",margin:0},children:"Edit Ikon"})]}),t.jsx("button",{onClick:N,style:{padding:"10px 24px",background:"var(--ikoneme-primary)",border:"none",borderRadius:"8px",color:"white",cursor:"pointer",fontSize:"clamp(13px, 3vw, 14px)",fontWeight:"500",transition:"background 0.2s",whiteSpace:"nowrap"},onMouseEnter:r=>r.currentTarget.style.background="var(--ikoneme-primary-dark)",onMouseLeave:r=>r.currentTarget.style.background="var(--ikoneme-primary)",children:"Save"})]}),t.jsxs("div",{style:{flex:1,overflowY:"auto",padding:"20px",maxWidth:"800px",width:"100%",margin:"0 auto",WebkitOverflowScrolling:"touch"},children:[t.jsxs("div",{style:{display:"flex",flexDirection:"column",alignItems:"center",marginBottom:"24px",gap:"12px"},children:[t.jsx("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(12px, 3vw, 13px)",textAlign:"center"},children:"Click on a zone or the border area to edit it"}),t.jsx(W,{ikon:F,size:280,onZoneClick:T,selectedZone:h}),t.jsx("div",{style:{color:"var(--ikoneme-text-primary)",fontSize:"clamp(14px, 3.5vw, 16px)",fontWeight:"500",textAlign:"center",padding:"8px 16px",background:"var(--ikoneme-primary)",borderRadius:"20px"},children:z[h].name})]}),t.jsxs("div",{style:{marginBottom:"20px"},children:[t.jsx("h3",{style:{color:"var(--ikoneme-text-primary)",fontSize:"clamp(14px, 3.5vw, 16px)",marginBottom:"8px",fontWeight:"500"},children:h==="border"?"Select Border Type":"Choose Icon for: "+z[h].name}),h==="border"?t.jsxs("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(11px, 2.5vw, 12px)",marginBottom:"12px"},children:[z.border.description,". Click the same border again to clear."]}):h==="reference"?t.jsxs("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(11px, 2.5vw, 12px)",marginBottom:"12px"},children:["Click ",t.jsx("strong",{children:"Asterisk"})," to toggle left cell. Click any ",t.jsx("strong",{children:"number"})," ","to toggle right cell."]}):h==="root"?t.jsx("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(11px, 2.5vw, 12px)",marginBottom:"12px"},children:"Search for an icon below. The icon's name is stored with the ikon."}):t.jsxs("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"clamp(11px, 2.5vw, 12px)",marginBottom:"12px"},children:[z[h].description,". Click the same icon again to clear."]}),h==="border"?t.jsxs(t.Fragment,{children:[t.jsx("div",{style:{marginBottom:"12px"},children:t.jsx("button",{onClick:()=>y(null),style:{width:"100%",padding:"10px 14px",background:F.border==null?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:`2px solid ${F.border==null?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)"}`,borderRadius:"8px",color:F.border==null?"white":"var(--ikoneme-text-primary)",fontSize:"14px",cursor:"pointer",textAlign:"left",fontWeight:F.border==null?"600":"400",transition:"all 0.2s"},children:"No border"})}),t.jsx("div",{style:{marginBottom:"8px"},children:t.jsx("span",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"12px",fontWeight:"600"},children:"Singular"})}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"10px",marginBottom:"16px"},children:D.filter(r=>!r.plural).map(r=>{const n=F.border===r.id;return t.jsxs("button",{onClick:()=>y(r.id),title:r.label,style:{padding:"8px",background:n?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:`2px solid ${n?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)"}`,borderRadius:"8px",cursor:"pointer",display:"flex",flexDirection:"column",alignItems:"center",gap:"6px",transition:"all 0.2s",position:"relative"},onMouseEnter:s=>{n||(s.currentTarget.style.background="var(--ikoneme-hover)")},onMouseLeave:s=>{n||(s.currentTarget.style.background="var(--ikoneme-surface)")},children:[t.jsx("div",{style:{boxSizing:"border-box",width:"64px",height:"64px",flexShrink:0,...H(r,160)}}),t.jsx("span",{style:{fontSize:"11px",color:n?"white":"var(--ikoneme-text-primary)",fontWeight:n?"600":"400"},children:r.label}),t.jsx("div",{className:"ikon-tooltip",style:{position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",background:"rgba(0,0,0,0.95)",color:"white",padding:"6px 10px",borderRadius:"6px",fontSize:"11px",whiteSpace:"nowrap",opacity:0,pointerEvents:"none",transition:"opacity 0.2s",marginBottom:"8px",zIndex:100},children:r.label})]},r.id)})}),t.jsx("div",{style:{marginBottom:"8px"},children:t.jsx("span",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"12px",fontWeight:"600"},children:"Plural"})}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:"repeat(3, 1fr)",gap:"10px"},children:D.filter(r=>r.plural).map(r=>{const n=F.border===r.id;return t.jsxs("button",{onClick:()=>y(r.id),title:r.label,style:{padding:"8px",background:n?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:`2px solid ${n?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)"}`,borderRadius:"8px",cursor:"pointer",display:"flex",flexDirection:"column",alignItems:"center",gap:"6px",transition:"all 0.2s",position:"relative"},onMouseEnter:s=>{n||(s.currentTarget.style.background="var(--ikoneme-hover)")},onMouseLeave:s=>{n||(s.currentTarget.style.background="var(--ikoneme-surface)")},children:[t.jsx("div",{style:{boxSizing:"border-box",width:"64px",height:"64px",flexShrink:0,...H(r,160)}}),t.jsx("span",{style:{fontSize:"11px",color:n?"white":"var(--ikoneme-text-primary)",fontWeight:n?"600":"400"},children:r.label}),t.jsx("div",{className:"ikon-tooltip",style:{position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",background:"rgba(0,0,0,0.95)",color:"white",padding:"6px 10px",borderRadius:"6px",fontSize:"11px",whiteSpace:"nowrap",opacity:0,pointerEvents:"none",transition:"opacity 0.2s",marginBottom:"8px",zIndex:100},children:r.label})]},r.id)})})]}):h==="root"?t.jsxs(t.Fragment,{children:[t.jsxs("div",{style:{display:"flex",alignItems:"center",gap:"8px",marginBottom:"16px",padding:"10px 12px",background:"var(--ikoneme-surface)",borderRadius:"8px",border:"1px solid var(--ikoneme-border)"},children:[t.jsx(Se,{size:18,color:"var(--ikoneme-text-secondary)"}),t.jsx("input",{type:"text",value:p,onChange:r=>b(r.target.value),placeholder:"Search icons...",style:{flex:1,border:"none",background:"transparent",color:"var(--ikoneme-text-primary)",fontSize:"14px",outline:"none"}})]}),m&&t.jsx("p",{style:{color:"var(--ikoneme-text-secondary)",fontSize:"13px",marginBottom:"12px"},children:"Searching…"}),t.jsx("div",{style:{display:"grid",gridTemplateColumns:`repeat(${r0}, 1fr)`,gap:"10px"},children:C.map((r,n)=>{const s=E(F.root)===r.url;return t.jsxs("button",{onClick:()=>B(r),title:r.name,style:{padding:"12px",background:s?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:"2px solid",borderColor:s?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)",borderRadius:"8px",cursor:"pointer",transition:"all 0.2s",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",aspectRatio:"1",position:"relative",minHeight:"70px",minWidth:"70px"},onMouseEnter:a=>{a.currentTarget.style.transform="scale(1.05)",s||(a.currentTarget.style.background="var(--ikoneme-hover)")},onMouseLeave:a=>{a.currentTarget.style.transform="scale(1)",s||(a.currentTarget.style.background="var(--ikoneme-surface)")},children:[t.jsx("div",{style:{width:"100%",height:"100%",background:"white",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",padding:"4px"},children:t.jsx("img",{src:r.url,alt:r.name,style:{maxWidth:"100%",maxHeight:"100%",width:"100%",height:"100%",objectFit:"contain"},onError:a=>{a.target.style.display="none"}})}),t.jsx("div",{className:"ikon-tooltip",style:{position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",background:"rgba(0, 0, 0, 0.95)",color:"white",padding:"6px 10px",borderRadius:"6px",fontSize:"11px",whiteSpace:"nowrap",opacity:0,pointerEvents:"none",transition:"opacity 0.2s",marginBottom:"8px",zIndex:100},children:r.name})]},`${r.url}-${n}`)})})]}):t.jsx("div",{style:{display:"grid",gridTemplateColumns:x[h].length<=3?"repeat(3, 1fr)":"repeat(auto-fit, minmax(90px, 1fr))",gap:"10px"},children:x[h].map((r,n)=>{var a,f;let s=!1;if(h==="reference"){const g=x.reference[0].url;r.url===g?s=E((a=F.reference)==null?void 0:a.left)===g:s=E((f=F.reference)==null?void 0:f.right)===r.url}else s=E(F[h])===r.url;return t.jsxs("button",{onClick:()=>k(h,r.url),title:r.tooltip,style:{padding:"12px",background:s?"var(--ikoneme-primary)":"var(--ikoneme-surface)",border:"2px solid",borderColor:s?"var(--ikoneme-primary-dark)":"var(--ikoneme-border)",borderRadius:"8px",cursor:"pointer",transition:"all 0.2s",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",aspectRatio:"1",position:"relative",minHeight:"70px",minWidth:"70px"},onMouseEnter:g=>{g.currentTarget.style.transform="scale(1.05)",s||(g.currentTarget.style.background="var(--ikoneme-hover)")},onMouseLeave:g=>{g.currentTarget.style.transform="scale(1)",s||(g.currentTarget.style.background="var(--ikoneme-surface)")},children:[t.jsx("div",{style:{width:"100%",height:"100%",background:"white",borderRadius:"4px",display:"flex",alignItems:"center",justifyContent:"center",padding:"4px"},children:t.jsx("img",{src:r.url,alt:r.tooltip,style:{maxWidth:"100%",maxHeight:"100%",width:"100%",height:"100%",objectFit:"contain"}})}),t.jsx("div",{style:{position:"absolute",bottom:"100%",left:"50%",transform:"translateX(-50%)",background:"rgba(0, 0, 0, 0.95)",color:"white",padding:"6px 10px",borderRadius:"6px",fontSize:"11px",whiteSpace:"nowrap",opacity:0,pointerEvents:"none",transition:"opacity 0.2s",marginBottom:"8px",zIndex:100},className:"ikon-tooltip",children:r.tooltip})]},n)})})]}),t.jsx("style",{children:`
37
37
  button:hover .ikon-tooltip {
38
38
  opacity: 1 !important;
39
39
  }
40
- `})]})]})}function pe({ikon:e,size:n=320,onClose:s}){const r=typeof window<"u"?Math.max(120,Math.min(n,window.innerWidth-48,window.innerHeight-156)):n;return t.jsx("div",{role:"dialog","aria-modal":"true","aria-label":"Zoomed ikon",onClick:s,style:{position:"fixed",inset:0,background:"rgba(0, 0, 0, 0.75)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1e3,padding:"24px"},children:t.jsxs("div",{onClick:i=>i.stopPropagation(),style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"32px",maxWidth:"100%"},children:[t.jsx(H,{ikon:e,size:r}),t.jsx("button",{onClick:s,style:{width:"40px",height:"40px",borderRadius:"50%",border:"none",background:"var(--ikoneme-panel-bg)",color:"var(--ikoneme-text-primary)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},title:"Close","aria-label":"Close",children:t.jsx(Ke,{size:20})})]})})}const me={"--ikoneme-primary":"#00a884","--ikoneme-primary-dark":"#008069","--ikoneme-background":"#0c0e12","--ikoneme-panel-bg":"#181b20","--ikoneme-surface":"#080a0e","--ikoneme-border":"#2a2e36","--ikoneme-text-primary":"#e9edef","--ikoneme-text-secondary":"#8696a0","--ikoneme-hover":"#2a2e36"};function qe({ikons:e=[],mode:n="view",size:s=64,gap:r=6,zoom:i=!0,zoomSize:p=320,onChange:c,onIkonClick:w,searchRoot:f,theme:_,className:T,style:j}){const[b,m]=S.useState(null),[I,R]=S.useState(null),y=n==="edit",E=d=>{c&&c(e.filter((x,h)=>h!==d))},$=d=>{b!=null&&c&&c(e.map((x,h)=>h===b?d:x)),m(null)},o=(d,x)=>{!y&&w&&w(d,x),i&&R(x)},l={...me,..._},u=i||!y&&!!w;return t.jsxs("div",{className:["ikoneme",T].filter(Boolean).join(" "),style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:`${r}px`,...l,...j},children:[e.map((d,x)=>t.jsx(H,{ikon:d,size:s,onClick:u?()=>o(d,x):void 0,onEdit:y?()=>m(x):void 0,onDelete:y&&c?()=>E(x):void 0},x)),y&&b!=null&&e[b]&&t.jsx("div",{style:l,children:t.jsx(ue,{ikon:e[b],searchRoot:f,onSave:$,onClose:()=>m(null)})}),i&&I!=null&&e[I]&&t.jsx("div",{style:l,children:t.jsx(pe,{ikon:e[I],size:p,onClose:()=>R(null)})})]})}exports.BORDER_CONFIG=B;exports.BORDER_IDS=ne;exports.DEFAULT_THEME=me;exports.IKONDB_BASE_URL=V;exports.Ikon=H;exports.IkonEditor=ue;exports.IkonZoomView=pe;exports.Ikoneme=qe;exports.ZONE_CONFIG=g;exports.clearIkonDbCache=We;exports.createDefaultIkon=P;exports.defaultSearchRoot=de;exports.generateIkonemeFromText=Me;exports.getBorderConfig=re;exports.getIconConfig=K;exports.getIconDisplayUrl=ie;exports.getIconUrl=N;exports.getIconUrlByIndex=Ce;exports.getIkonDetails=ce;exports.getIkonList=le;exports.normalizeIkon=se;exports.normalizeIkoneme=Ee;exports.searchIkons=ae;
40
+ `})]})]})}function se({ikon:e,size:i=320,onClose:o}){const l=typeof window<"u"?Math.max(120,Math.min(i,window.innerWidth-48,window.innerHeight-156)):i;return t.jsx("div",{role:"dialog","aria-modal":"true","aria-label":"Zoomed ikon",onClick:o,style:{position:"fixed",inset:0,background:"rgba(0, 0, 0, 0.75)",display:"flex",alignItems:"center",justifyContent:"center",zIndex:1e3,padding:"24px"},children:t.jsxs("div",{onClick:F=>F.stopPropagation(),style:{display:"flex",flexDirection:"column",alignItems:"center",gap:"32px",maxWidth:"100%"},children:[t.jsx(W,{ikon:e,size:l}),t.jsx("button",{onClick:o,style:{width:"40px",height:"40px",borderRadius:"50%",border:"none",background:"var(--ikoneme-panel-bg)",color:"var(--ikoneme-text-primary)",display:"flex",alignItems:"center",justifyContent:"center",cursor:"pointer"},title:"Close","aria-label":"Close",children:t.jsx(Ce,{size:20})})]})})}const de={"--ikoneme-primary":"#00a884","--ikoneme-primary-dark":"#008069","--ikoneme-background":"#0c0e12","--ikoneme-panel-bg":"#181b20","--ikoneme-surface":"#080a0e","--ikoneme-border":"#2a2e36","--ikoneme-text-primary":"#e9edef","--ikoneme-text-secondary":"#8696a0","--ikoneme-hover":"#2a2e36"};function l0({ikons:e=[],mode:i="view",size:o=64,gap:l=6,zoom:F=!0,zoomSize:d=320,onChange:h,onIkonClick:v,searchRoot:p,theme:b,className:C,style:u}){const[m,_]=S.useState(null),[k,T]=S.useState(null),y=i==="edit",B=a=>{h&&h(e.filter((f,g)=>g!==a))},N=a=>{m!=null&&h&&h(e.map((f,g)=>g===m?a:f)),_(null)},r=(a,f)=>{!y&&v&&v(a,f),F&&T(f)},n={...de,...b},s=F||!y&&!!v;return t.jsxs("div",{className:["ikoneme",C].filter(Boolean).join(" "),style:{display:"flex",flexWrap:"wrap",alignItems:"center",gap:`${l}px`,...n,...u},children:[e.map((a,f)=>t.jsx(W,{ikon:a,size:o,onClick:s?()=>r(a,f):void 0,onEdit:y?()=>_(f):void 0,onDelete:y&&h?()=>B(f):void 0},f)),y&&m!=null&&e[m]&&t.jsx("div",{style:n,children:t.jsx(he,{ikon:e[m],searchRoot:p,onSave:N,onClose:()=>_(null)})}),F&&k!=null&&e[k]&&t.jsx("div",{style:n,children:t.jsx(se,{ikon:e[k],size:d,onClose:()=>T(null)})})]})}exports.BORDER_CONFIG=D;exports.BORDER_IDS=oe;exports.DEFAULT_THEME=de;exports.IKONDB_BASE_URL=P;exports.Ikon=W;exports.IkonEditor=he;exports.IkonZoomView=se;exports.Ikoneme=l0;exports.ZONE_CONFIG=x;exports.clearIkonDbCache=Be;exports.createDefaultIkon=U;exports.defaultSearchRoot=Fe;exports.generateIkonemeFromText=Qe;exports.getBorderConfig=q;exports.getBorderImageStyle=H;exports.getIconConfig=V;exports.getIconDisplayUrl=ne;exports.getIconUrl=E;exports.getIconUrlByIndex=$e;exports.getIkonDetails=le;exports.getIkonList=re;exports.normalizeIkon=ce;exports.normalizeIkoneme=Ue;exports.searchIkons=Y;
41
41
  //# sourceMappingURL=ikoneme-lib.cjs.map