diff --git a/dist/index.html b/dist/index.html index d192f0e..ff9d722 100644 --- a/dist/index.html +++ b/dist/index.html @@ -1 +1 @@ -
\ No newline at end of file + \ No newline at end of file diff --git a/dist/js/app.389a6fbf.js b/dist/js/app.389a6fbf.js new file mode 100644 index 0000000..f7a9ed3 --- /dev/null +++ b/dist/js/app.389a6fbf.js @@ -0,0 +1,2 @@ +(function(){"use strict";var e={7334:function(e,t,s){var i=s(9242),n=(s(6699),s(3396)),o=s(7139);const a={class:"tab",id:"header"},l=(0,n._)("h1",{style:{float:"left","padding-left":"20px","font-size":"16px","padding-top":"2px"}},"Ithkapp",-1),r=(0,n._)("i",{class:"fa-solid fa-gear fa-xs"},null,-1),h=[r],c=(0,n._)("i",{class:"fa-solid fa-align-right fa-xs"},null,-1),d=[c],p={class:"dropdown"},u=(0,n.Uk)("Adjunct ▼"),f=[u],g={class:"dropdown-content hidden",id:"adjDD"},m={class:"dropdown"},b=(0,n.Uk)("Formative ▼"),v=[b],w={class:"dropdown-content hidden",id:"formDD"},y={id:"content"},S=(0,n._)("h1",null,"Ithkapp (hwirbuvie-ekţgyil)",-1),M=(0,n._)("p",{class:"smalltext"},[(0,n.Uk)("Compatible with TNIL Morpho-Phonology v0.19, Lexical Roots v0.5.1, VxCs Affixes v0.7.5, and Phonotaxis v0.5.4. "),(0,n._)("br"),(0,n.Uk)("Definitions are a combination of taken from "),(0,n._)("a",{target:"_blank",href:"http://ithkuil.net/index.htm"},"the official Ithkuil III site"),(0,n.Uk)(", taken from "),(0,n._)("a",{target:"_blank",href:"http://www.ithkuil.net/morpho-phonology_v_0_19.pdf"},"official Ithkuil IV documentation"),(0,n.Uk)(", and (occasionally) written by the creator of this site. "),(0,n._)("br"),(0,n.Uk)("All past and current forms of Ithkuil and all official documentation are by John Quijada. "),(0,n._)("br"),(0,n.Uk)("Click on a box's title to learn more about what it means.")],-1),O=(0,n._)("h2",{style:{width:"100%"}},"Configuration",-1),C=(0,n._)("h2",{style:{width:"100%"}},"Slot II",-1),T=(0,n._)("h2",{style:{width:"100%"}},"Slot III",-1),I=(0,n._)("h2",{style:{width:"100%"}},"Slot IV",-1),A={id:"footer"},x={class:"word"},k=(0,n._)("br",null,null,-1),E={class:"smalltext"},j=(0,n._)("br",null,null,-1),P=["title"],D={id:"modal-content"},R={class:"tab"},N=["onClick"],_=(0,n._)("h2",{style:{"text-align":"center"}},"Settings",-1),V=(0,n._)("h3",null,"IPA (Pronunciation)",-1),W=(0,n._)("label",null,"Pronunciation of ⟨a⟩: ",-1),L=(0,n._)("option",null,"[a]",-1),U=(0,n._)("option",null,"[ɑ]",-1),F=[L,U],G=(0,n._)("br",null,null,-1),B=(0,n._)("br",null,null,-1),z=(0,n._)("label",null,"Pronunciation of ⟨e⟩: ",-1),X=(0,n._)("option",null,"[ɛ]",-1),H=(0,n._)("option",null,"[e]",-1),q=[X,H],J=(0,n._)("br",null,null,-1),Y=(0,n._)("br",null,null,-1),$=(0,n._)("label",null,"Pronunciation of ⟨ë⟩: ",-1),K=(0,n._)("option",null,"[ɤ]",-1),Q=(0,n._)("option",null,"[ʌ]",-1),Z=(0,n._)("option",null,"[ə]",-1),ee=[K,Q,Z],te=(0,n._)("br",null,null,-1),se=(0,n._)("br",null,null,-1),ie=(0,n._)("label",null,"Pronunciation of ⟨i⟩: ",-1),ne=(0,n._)("option",null,"[i]",-1),oe=(0,n._)("option",null,"[ɪ]",-1),ae=[ne,oe],le=(0,n._)("br",null,null,-1),re=(0,n._)("br",null,null,-1),he=(0,n._)("label",null,"Pronunciation of ⟨o⟩: ",-1),ce=(0,n._)("option",null,"[ɔ]",-1),de=(0,n._)("option",null,"[o]",-1),pe=[ce,de],ue=(0,n._)("br",null,null,-1),fe=(0,n._)("br",null,null,-1),ge=(0,n._)("label",null,"Pronunciation of ⟨ö⟩: ",-1),me=(0,n._)("option",null,"[œ]",-1),be=(0,n._)("option",null,"[ø]",-1),ve=[me,be],we=(0,n._)("br",null,null,-1),ye=(0,n._)("br",null,null,-1),Se=(0,n._)("label",null,"Pronunciation of ⟨u⟩: ",-1),Me=(0,n._)("option",null,"[ʊ]",-1),Oe=(0,n._)("option",null,"[u]",-1),Ce=[Me,Oe],Te=(0,n._)("br",null,null,-1),Ie=(0,n._)("br",null,null,-1),Ae=(0,n._)("label",null,"Pronunciation of ⟨ü⟩: ",-1),xe=(0,n._)("option",null,"[ʉ]",-1),ke=(0,n._)("option",null,"[y]",-1),Ee=[xe,ke],je=(0,n._)("br",null,null,-1),Pe=(0,n._)("br",null,null,-1),De=(0,n._)("label",null,"Pronunciation of ⟨x⟩: ",-1),Re=(0,n._)("option",null,"[x]",-1),Ne=(0,n._)("option",null,"[χ]",-1),_e=[Re,Ne],Ve=(0,n._)("br",null,null,-1),We=(0,n._)("br",null,null,-1),Le=(0,n._)("label",null,"Pronunciation of ⟨řř⟩: ",-1),Ue=(0,n._)("option",null,"[ʁː]",-1),Fe=(0,n._)("option",null,"[ʀ]",-1),Ge=[Ue,Fe],Be=(0,n._)("br",null,null,-1),ze=(0,n._)("br",null,null,-1),Xe=(0,n._)("label",null,"Pronunciation of ⟨hl⟩, ⟨hr⟩, ⟨hm⟩, ⟨hn⟩: ",-1),He=(0,n._)("option",{value:"dev"},"Devoiced",-1),qe=(0,n._)("option",{value:"h+"},"As written",-1),Je=[He,qe],Ye=(0,n._)("br",null,null,-1),$e=(0,n._)("br",null,null,-1),Ke=(0,n._)("label",null,"Don't calculate External Juncture: ",-1),Qe=(0,n._)("br",null,null,-1),Ze=(0,n._)("br",null,null,-1),et=(0,n._)("hr",null,null,-1),tt=(0,n._)("br",null,null,-1),st=(0,n._)("b",null,"WARNING:",-1),it=(0,n.Uk)(" The below doesn't work on mobile and will cause the the webpage to not load after reloading (until you close your web browser)."),nt=(0,n._)("br",null,null,-1),ot=(0,n._)("br",null,null,-1),at={key:0},lt={style:{"text-align":"center"}},rt=["innerHTML"],ht={key:0},ct={key:0,class:"tab"},dt={key:1},pt=["onClick"],ut=["innerHTML"],ft=["onClick"],gt=["src","alt"],mt=["innerHTML"],bt={key:1},vt=(0,n._)("br",null,null,-1),wt=(0,n._)("br",null,null,-1),yt=(0,n._)("p",{style:{"text-align":"center"}},"Your sentence:",-1),St={style:{"text-align":"center"}},Mt=(0,n._)("br",null,null,-1),Ot=(0,n._)("br",null,null,-1),Ct={id:"sidebar"},Tt={id:"sHeader"},It=(0,n._)("h3",{style:{"padding-left":"20px"}},"Sentence Menu",-1),At={id:"sContent"},xt=["onClick","onMouseover","onMousemove","onTouchstart"],kt=["onUpdate:modelValue"],Et=(0,n._)("br",null,null,-1),jt={id:"sFooter"},Pt=(0,n._)("i",{class:"fa-solid fa-plus fa-xl"},null,-1),Dt=[Pt],Rt=(0,n._)("i",{class:"fa-solid fa-floppy-disk fa-xl"},null,-1),Nt=[Rt],_t=(0,n._)("label",{id:"filab",for:"fimport"},[(0,n._)("i",{class:"fa-solid fa-arrow-up-from-bracket fa-xl"})],-1),Vt=[_t],Wt=(0,n._)("i",{class:"fa-solid fa-share-from-square fa-xl"},null,-1),Lt=[Wt];function Ut(e,t,s,r,c,u){const b=(0,n.up)("OptionBox"),L=(0,n.Q2)("click-outside");return(0,n.wg)(),(0,n.iD)(n.HY,null,[(0,n._)("title",null,"Ithkapp | "+(0,o.zw)(c.ithkword),1),(0,n._)("div",a,[l,(0,n._)("span",{class:"close",style:{"padding-left":"10px"},onClick:t[0]||(t[0]=e=>u.openModal("settings")),title:"Settings"},h),(0,n._)("span",{class:"close",style:(0,o.j5)([{"padding-left":"10px",height:"38px"},c.sentenceOpen?"background-color:rgb(179, 255, 230); color:#333;":""]),onClick:t[1]||(t[1]=e=>u.openNav(!1)),title:"Sentence Menu"},d,4),(0,n._)("div",p,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("button",{class:(0,o.C_)({active:!["normal","affRoot","refRoot","ref","refCS","free"].includes(c.wordType)}),onClick:t[2]||(t[2]=e=>u.openDropdown("adjDD"))},f,2)),[[L,e=>u.closeDropdown("adjDD",e)]]),(0,n._)("div",g,[(0,n._)("span",{onClick:t[3]||(t[3]=e=>u.switchWordType("affixjunct")),class:(0,o.C_)({active:"affixjunct"==c.wordType})},"Affixual",2),(0,n._)("span",{onClick:t[4]||(t[4]=e=>u.switchWordType("modular")),class:(0,o.C_)({active:"modular"==c.wordType})},"Modular",2),(0,n._)("span",{onClick:t[5]||(t[5]=e=>u.switchWordType("register")),class:(0,o.C_)({active:"register"==c.wordType})},"Register",2),(0,n._)("span",{onClick:t[6]||(t[6]=e=>u.switchWordType("suppletive")),class:(0,o.C_)({active:"suppletive"==c.wordType})},"Suppletive",2),(0,n._)("span",{onClick:t[7]||(t[7]=e=>u.switchWordType("mcs")),class:(0,o.C_)({active:"mcs"==c.wordType})},"Mood/Case-Scope",2),(0,n._)("span",{onClick:t[8]||(t[8]=e=>u.switchWordType("bias")),class:(0,o.C_)({active:"bias"==c.wordType})},"Bias",2)])]),(0,n._)("div",m,[(0,n.wy)(((0,n.wg)(),(0,n.iD)("button",{class:(0,o.C_)({active:["normal","affRoot","refRoot","ref","refCS","free"].includes(c.wordType)}),onClick:t[9]||(t[9]=e=>u.openDropdown("formDD"))},v,2)),[[L,e=>u.closeDropdown("formDD",e)]]),(0,n._)("div",w,[(0,n._)("span",{onClick:t[10]||(t[10]=e=>u.switchWordType("normal")),class:(0,o.C_)({active:"normal"==c.wordType})},"Normal",2),(0,n._)("span",{onClick:t[11]||(t[11]=e=>u.switchWordType("affRoot")),class:(0,o.C_)({active:"affRoot"==c.wordType})},"Affix as Root",2),(0,n._)("span",{onClick:t[12]||(t[12]=e=>u.switchWordType("refRoot")),class:(0,o.C_)({active:"refRoot"==c.wordType})},"Personal-Referential Root",2),(0,n._)("span",{onClick:t[13]||(t[13]=e=>u.switchWordType("ref")),class:(0,o.C_)({active:"ref"==c.wordType})},"Single/Dual-Referential",2),(0,n._)("span",{onClick:t[14]||(t[14]=e=>u.switchWordType("refCS")),class:(0,o.C_)({active:"refCS"==c.wordType})},"Single Referential w/ Case-Stacking",2),(0,n._)("span",{onClick:t[15]||(t[15]=e=>u.switchWordType("free")),class:(0,o.C_)({active:"free"==c.wordType})},"Non-Ithkuil (Borrowed) Word",2)])])]),(0,n._)("div",y,[S,M,(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","mcs","bias","free"].includes(c.wordType)}])},[(0,n.Wm)(b,{json:c.gData.affRoot,class:(0,o.C_)({hidden:"affRoot"!=c.wordType}),code:"affRoot",onSendMessage:u.handleSendMessage,ref:"affRoot",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.arDegree,class:(0,o.C_)({hidden:"affRoot"!=c.wordType}),code:"arDegree",onSendMessage:u.handleSendMessage,ref:"arDegree",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.ref,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(c.wordType)}),code:"ref",onSendMessage:u.handleSendMessage,ref:"ref",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.refEff,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(c.wordType)}),code:"refEff",onSendMessage:u.handleSendMessage,ref:"refEff",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.refPersp,class:(0,o.C_)({hidden:!["refRoot","ref","refCS"].includes(c.wordType)}),code:"refPersp",onSendMessage:u.handleSendMessage,ref:"refPersp",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.c,class:(0,o.C_)({hidden:"ref"!=c.wordType&&"refCS"!=c.wordType}),code:"c1",onSendMessage:u.handleSendMessage,ref:"c1",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.root,class:(0,o.C_)({hidden:["affRoot","refRoot","ref","refCS"].includes(c.wordType)}),code:"root",onSendMessage:u.handleSendMessage,ref:"root",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.stem,class:(0,o.C_)({hidden:["affRoot","refRoot","ref","refCS"].includes(c.wordType)}),code:"stem",onSendMessage:u.handleSendMessage,ref:"stem",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.spec,class:(0,o.C_)({hidden:"ref"==c.wordType}),code:"spec",onSendMessage:u.handleSendMessage,ref:"spec",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.func,class:(0,o.C_)({hidden:"ref"==c.wordType||"refCS"==c.wordType}),code:"func",onSendMessage:u.handleSendMessage,ref:"func",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.ver,class:(0,o.C_)({hidden:"ref"==c.wordType||"refCS"==c.wordType}),code:"ver",onSendMessage:u.handleSendMessage,ref:"ver",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","ref","refCS","mcs","bias","free"].includes(c.wordType)}])},[(0,n.Wm)(b,{json:c.gData.shcut,code:"shcut",onSendMessage:u.handleSendMessage,ref:"shcut",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.concat,code:"concat",onSendMessage:u.handleSendMessage,ref:"concat",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.rel,code:"rel",onSendMessage:u.handleSendMessage,ref:"rel",onModal:u.openModal,disabled:"0"!=this.gOptions.concat},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(b,{json:c.gData.Vafx,code:"Vafx",onSendMessage:u.handleSendMessage,type:"affix",ref:"Vafx",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.VIIafx,code:"VIIafx",onSendMessage:u.handleSendMessage,type:"affix",ref:"VIIafx",onModal:u.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","ref","refCS","mcs","bias","free"].includes(c.wordType)}])},[O,(0,n.Wm)(b,{json:c.gData.plex,code:"plex",onSendMessage:u.handleSendMessage,ref:"plex",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.simil,code:"simil",onSendMessage:u.handleSendMessage,disabled:["UPX","DPX"].includes(this.gOptions.plex),ref:"simil",onModal:u.openModal},null,8,["json","onSendMessage","disabled","onModal"]),(0,n.Wm)(b,{json:c.gData.cctd,code:"cctd",onSendMessage:u.handleSendMessage,disabled:["UPX","DPX"].includes(this.gOptions.plex),ref:"cctd",onModal:u.openModal},null,8,["json","onSendMessage","disabled","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","modular","ref","refCS","mcs","bias","free"].includes(c.wordType)}])},[(0,n.Wm)(b,{json:c.gData.affil,code:"affil",onSendMessage:u.handleSendMessage,ref:"affil",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.ext,code:"ext",onSendMessage:u.handleSendMessage,ref:"ext",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.persp,code:"persp",onSendMessage:u.handleSendMessage,ref:"persp",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.ess,code:"ess",onSendMessage:u.handleSendMessage,ref:"ess",onModal:u.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=c.wordType}])},[(0,n.Wm)(b,{json:c.gData.modAppliesTo,code:"modAppliesTo",onSendMessage:u.handleSendMessage,ref:"modAppliesTo",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.modNumber,code:"modNumber",onSendMessage:u.handleSendMessage,ref:"modNumber",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.cn,code:"cn",onSendMessage:u.handleSendMessage,ref:"cn",onModal:u.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=c.wordType||"modular"==c.wordType&&!["2","3","4"].includes(c.gOptions.modNumber)}])},[C,(0,n.Wm)(b,{json:c.gData.vn,code:"vn2",onSendMessage:u.handleSendMessage,ref:"vn2",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.val,code:"val2",onSendMessage:u.handleSendMessage,ref:"val2",onModal:u.openModal,class:(0,o.C_)({hidden:"val"!=this.gOptions.vn2})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.pha,code:"pha2",onSendMessage:u.handleSendMessage,ref:"pha2",onModal:u.openModal,class:(0,o.C_)({hidden:"pha"!=this.gOptions.vn2})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.eff,code:"eff2",onSendMessage:u.handleSendMessage,ref:"eff2",onModal:u.openModal,class:(0,o.C_)({hidden:"eff"!=this.gOptions.vn2})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.lvl,code:"lvl2",onSendMessage:u.handleSendMessage,ref:"lvl2",onModal:u.openModal,class:(0,o.C_)({hidden:"lvl"!=this.gOptions.vn2})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.abslvl,code:"abslvl2",onSendMessage:u.handleSendMessage,ref:"abslvl2",onModal:u.openModal,class:(0,o.C_)({hidden:"lvl"!=this.gOptions.vn2})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.asp,code:"asp2",onSendMessage:u.handleSendMessage,ref:"asp2",onModal:u.openModal,class:(0,o.C_)({hidden:"asp"!=this.gOptions.vn2})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.mood,code:"mood2",onSendMessage:u.handleSendMessage,ref:"mood2",onModal:u.openModal,class:(0,o.C_)({hidden:"mood"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.casc,code:"casc2",onSendMessage:u.handleSendMessage,ref:"casc2",onModal:u.openModal,class:(0,o.C_)({hidden:"casc"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=c.wordType||"modular"==c.wordType&&!["3","4"].includes(c.gOptions.modNumber)}])},[T,(0,n.Wm)(b,{json:c.gData.vn,code:"vn3",onSendMessage:u.handleSendMessage,ref:"vn3",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.val,code:"val3",onSendMessage:u.handleSendMessage,ref:"val3",onModal:u.openModal,class:(0,o.C_)({hidden:"val"!=this.gOptions.vn3})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.pha,code:"pha3",onSendMessage:u.handleSendMessage,ref:"pha3",onModal:u.openModal,class:(0,o.C_)({hidden:"pha"!=this.gOptions.vn3})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.eff,code:"eff3",onSendMessage:u.handleSendMessage,ref:"eff3",onModal:u.openModal,class:(0,o.C_)({hidden:"eff"!=this.gOptions.vn3})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.lvl,code:"lvl3",onSendMessage:u.handleSendMessage,ref:"lvl3",onModal:u.openModal,class:(0,o.C_)({hidden:"lvl"!=this.gOptions.vn3})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.abslvl,code:"abslvl3",onSendMessage:u.handleSendMessage,ref:"abslvl3",onModal:u.openModal,class:(0,o.C_)({hidden:"lvl"!=this.gOptions.vn3})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.asp,code:"asp3",onSendMessage:u.handleSendMessage,ref:"asp3",onModal:u.openModal,class:(0,o.C_)({hidden:"asp"!=this.gOptions.vn3})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.mood,code:"mood3",onSendMessage:u.handleSendMessage,ref:"mood3",onModal:u.openModal,class:(0,o.C_)({hidden:"mood"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.casc,code:"casc3",onSendMessage:u.handleSendMessage,ref:"casc3",onModal:u.openModal,class:(0,o.C_)({hidden:"casc"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"modular"!=c.wordType||"modular"==c.wordType&&"4"!=c.gOptions.modNumber}])},[I,(0,n.Wm)(b,{json:c.gData.vn,code:"vn4",onSendMessage:u.handleSendMessage,ref:"vn4",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.val,code:"val4",onSendMessage:u.handleSendMessage,ref:"val4",onModal:u.openModal,class:(0,o.C_)({hidden:"val"!=this.gOptions.vn4})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.pha,code:"pha4",onSendMessage:u.handleSendMessage,ref:"pha4",onModal:u.openModal,class:(0,o.C_)({hidden:"pha"!=this.gOptions.vn4})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.eff,code:"eff4",onSendMessage:u.handleSendMessage,ref:"eff4",onModal:u.openModal,class:(0,o.C_)({hidden:"eff"!=this.gOptions.vn4})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.lvl,code:"lvl4",onSendMessage:u.handleSendMessage,ref:"lvl4",onModal:u.openModal,class:(0,o.C_)({hidden:"lvl"!=this.gOptions.vn4})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.abslvl,code:"abslvl4",onSendMessage:u.handleSendMessage,ref:"abslvl4",onModal:u.openModal,class:(0,o.C_)({hidden:"lvl"!=this.gOptions.vn4})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.asp,code:"asp4",onSendMessage:u.handleSendMessage,ref:"asp4",onModal:u.openModal,class:(0,o.C_)({hidden:"asp"!=this.gOptions.vn4})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.mood,code:"mood4",onSendMessage:u.handleSendMessage,ref:"mood4",onModal:u.openModal,class:(0,o.C_)({hidden:"mood"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.casc,code:"casc4",onSendMessage:u.handleSendMessage,ref:"casc4",onModal:u.openModal,class:(0,o.C_)({hidden:"casc"!=this.gOptions.cn})},null,8,["json","onSendMessage","onModal","class"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["suppletive","affixjunct","register","ref","refCS","mcs","bias","free"].includes(c.wordType)}])},[(0,n._)("h2",{style:{width:"100%"},class:(0,o.C_)({hidden:"modular"!=this.wordType||"1"==this.gOptions.modNumber})},"Slot V",2),(0,n.Wm)(b,{json:c.gData.vh,code:"vh",onSendMessage:u.handleSendMessage,ref:"vh",onModal:u.openModal,class:(0,o.C_)({hidden:"modular"!=this.wordType}),disabled:"1"==this.gOptions.modNumber},null,8,["json","onSendMessage","onModal","class","disabled"]),(0,n.Wm)(b,{json:c.gData.modScope,code:"modScope",onSendMessage:u.handleSendMessage,ref:"modScope",onModal:u.openModal,class:(0,o.C_)({hidden:"modular"!=this.wordType||"1"==this.gOptions.modNumber||"vn"==this.gOptions.vh})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.vn,code:"vn",onSendMessage:u.handleSendMessage,ref:"vn",onModal:u.openModal,class:(0,o.C_)({hidden:"modular"==this.wordType&&("vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber)})},null,8,["json","onSendMessage","onModal","class"]),(0,n.Wm)(b,{json:c.gData.val,code:"val",onSendMessage:u.handleSendMessage,ref:"val",onModal:u.openModal,disabled:"val"!=this.gOptions.vn,class:(0,o.C_)({hidden:"modular"==this.wordType&&("vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber)})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(b,{json:c.gData.pha,code:"pha",onSendMessage:u.handleSendMessage,ref:"pha",onModal:u.openModal,disabled:"pha"!=this.gOptions.vn,class:(0,o.C_)({hidden:"modular"==this.wordType&&("vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber)})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(b,{json:c.gData.eff,code:"eff",onSendMessage:u.handleSendMessage,ref:"eff",onModal:u.openModal,disabled:"eff"!=this.gOptions.vn,class:(0,o.C_)({hidden:"modular"==this.wordType&&("vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber)})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(b,{json:c.gData.lvl,code:"lvl",onSendMessage:u.handleSendMessage,ref:"lvl",onModal:u.openModal,disabled:"lvl"!=this.gOptions.vn,class:(0,o.C_)({hidden:"modular"==this.wordType&&("vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber)})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(b,{json:c.gData.abslvl,code:"abslvl",onSendMessage:u.handleSendMessage,ref:"abslvl",onModal:u.openModal,disabled:"lvl"!=this.gOptions.vn,class:(0,o.C_)({hidden:"modular"==this.wordType&&("vn"!=this.gOptions.vh||"1"==this.gOptions.modNumber)})},null,8,["json","onSendMessage","onModal","disabled","class"]),(0,n.Wm)(b,{json:c.gData.asp,code:"asp",onSendMessage:u.handleSendMessage,ref:"asp",onModal:u.openModal,disabled:"asp"!=this.gOptions.vn&&"modular"!=this.wordType||"modular"==this.wordType&&"1"!=this.gOptions.modNumber,class:(0,o.C_)({hidden:"modular"==this.wordType&&"1"!=this.gOptions.modNumber})},null,8,["json","onSendMessage","onModal","disabled","class"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:["affixjunct","register","modular","ref","refCS","bias","free"].includes(c.wordType)}])},[(0,n.Wm)(b,{class:(0,o.C_)({hidden:"suppletive"!=c.wordType}),json:c.gData.suppType,code:"suppType",onSendMessage:u.handleSendMessage,ref:"suppType",onModal:u.openModal},null,8,["class","json","onSendMessage","onModal"]),(0,n.Wm)(b,{class:(0,o.C_)({hidden:"mcs"!=c.wordType}),json:c.gData.cn,code:"cn2",onSendMessage:u.handleSendMessage,ref:"cn2",onModal:u.openModal},null,8,["class","json","onSendMessage","onModal"]),(0,n.Wm)(b,{class:(0,o.C_)({hidden:"suppletive"==c.wordType||"mcs"==c.wordType}),json:c.gData.ctxt,code:"ctxt",onSendMessage:u.handleSendMessage,ref:"ctxt",onModal:u.openModal,disabled:"affRoot"==c.wordType},null,8,["class","json","onSendMessage","onModal","disabled"]),(0,n.Wm)(b,{class:(0,o.C_)({hidden:"suppletive"==c.wordType}),show:!c.cascOrMood&&"mcs"!=c.wordType,json:c.gData.mood,code:"mood",onSendMessage:u.handleSendMessage,ref:"mood",onModal:u.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(b,{class:(0,o.C_)({hidden:"suppletive"==c.wordType}),show:c.cascOrMood&&"mcs"!=c.wordType,json:c.gData.casc,code:"casc",onSendMessage:u.handleSendMessage,ref:"casc",onModal:u.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(b,{class:(0,o.C_)({hidden:"mcs"==c.wordType}),show:c.cascOrMood,json:c.gData.c,code:"c",onSendMessage:u.handleSendMessage,ref:"c",onModal:u.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(b,{class:(0,o.C_)({hidden:"suppletive"==c.wordType||"mcs"==c.wordType}),show:!c.cascOrMood,json:c.gData.ill,code:"ill",onSendMessage:u.handleSendMessage,ref:"ill",onModal:u.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(b,{class:(0,o.C_)({hidden:"suppletive"==c.wordType||"mcs"==c.wordType}),show:!c.cascOrMood,json:c.gData.exp,code:"exp",onSendMessage:u.handleSendMessage,ref:"exp",onModal:u.openModal},null,8,["class","show","json","onSendMessage","onModal"]),(0,n.Wm)(b,{class:(0,o.C_)({hidden:"suppletive"==c.wordType||"mcs"==c.wordType}),show:!c.cascOrMood,json:c.gData.vld,code:"vld",onSendMessage:u.handleSendMessage,disabled:"PFM"==this.gOptions.ill,ref:"vld",onModal:u.openModal},null,8,["class","show","json","onSendMessage","disabled","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"affixjunct"!=c.wordType}])},[(0,n.Wm)(b,{json:c.gData.affixjunct,code:"affixjunct",onSendMessage:u.handleSendMessage,ref:"affixjunct",onModal:u.openModal,reqAff:!0},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.initialAffScope,code:"initialAffScope",onSendMessage:u.handleSendMessage,ref:"initialAffScope",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.otherAffScope,code:"otherAffScope",onSendMessage:u.handleSendMessage,ref:"otherAffScope",onModal:u.openModal,disabled:this.gOptions.affixjunct.length<2},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(b,{json:c.gData.affScopeOf,code:"affScopeOf",onSendMessage:u.handleSendMessage,ref:"affScopeOf",onModal:u.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"register"!=c.wordType}])},[(0,n.Wm)(b,{json:c.gData.register,code:"register",onSendMessage:u.handleSendMessage,ref:"register",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.regStartOrEnd,code:"regStartOrEnd",onSendMessage:u.handleSendMessage,ref:"regStartOrEnd",onModal:u.openModal,disabled:"CAR"==this.gOptions.register},null,8,["json","onSendMessage","onModal","disabled"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"ref"!=c.wordType&&"refCS"!=c.wordType}])},[(0,n.Wm)(b,{json:c.gData.refAffix,class:(0,o.C_)({hidden:"refCS"!=c.wordType}),code:"refAffix",onSendMessage:u.handleSendMessage,ref:"refAffix",onModal:u.openModal},null,8,["json","class","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.twoCs,code:"twoCs",onSendMessage:u.handleSendMessage,ref:"twoCs",onModal:u.openModal},null,8,["json","onSendMessage","onModal"]),(0,n.Wm)(b,{json:c.gData.twoRefs,class:(0,o.C_)({hidden:"refCS"==c.wordType}),code:"twoRefs",onSendMessage:u.handleSendMessage,ref:"twoRefs",onModal:u.openModal,disabled:!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(b,{json:c.gData.ref,code:"ref2",class:(0,o.C_)({hidden:"refCS"==c.wordType}),onSendMessage:u.handleSendMessage,ref:"ref2",onModal:u.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(b,{json:c.gData.refEff,code:"refEff2",class:(0,o.C_)({hidden:"refCS"==c.wordType}),onSendMessage:u.handleSendMessage,ref:"refEff2",onModal:u.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(b,{json:c.gData.refPersp,code:"refPersp2",class:(0,o.C_)({hidden:"refCS"==c.wordType}),onSendMessage:u.handleSendMessage,ref:"refPersp2",onModal:u.openModal,disabled:!this.gOptions.twoRefs||!this.gOptions.twoCs},null,8,["json","class","onSendMessage","onModal","disabled"]),(0,n.Wm)(b,{json:c.gData.c,code:"c2",onSendMessage:u.handleSendMessage,ref:"c2",onModal:u.openModal,disabled:!this.gOptions.twoCs},null,8,["json","onSendMessage","onModal","disabled"]),(0,n.Wm)(b,{json:c.gData.ess,code:"ess2",onSendMessage:u.handleSendMessage,ref:"ess2",onModal:u.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"bias"!=c.wordType}])},[(0,n.Wm)(b,{json:c.gData.bias,code:"bias",onSendMessage:u.handleSendMessage,ref:"bias",onModal:u.openModal},null,8,["json","onSendMessage","onModal"])],2),(0,n._)("div",{class:(0,o.C_)(["section",{hidden:"free"!=c.wordType}])},[(0,n.Wm)(b,{json:c.gData.freeType,code:"freeType",ref:"freeType",onSendMessage:u.handleSendMessage,onModal:u.openModal,utdText:!0},null,8,["json","onSendMessage","onModal"])],2)]),(0,n._)("div",A,[(0,n._)("p",null,[(0,n._)("span",x,[(0,n._)("b",null,(0,o.zw)(c.ithkword),1)]),k,(0,n._)("span",E,[(0,n.Uk)("["+(0,o.zw)(c.ipa)+"]",1),j,(0,n._)("span",{title:c.fullGloss},(0,o.zw)(c.gloss),9,P)])])]),(0,n._)("div",{id:"modal",class:"modal",onClick:t[53]||(t[53]=(0,i.iM)((e=>u.closeModal()),["self"]))},[(0,n._)("div",D,[(0,n._)("div",R,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(c.modalTabs,(e=>((0,n.wg)(),(0,n.iD)("button",{key:e,class:(0,o.C_)({active:e===c.modalID}),onClick:t=>{u.closeModal(),u.openModal(e)}},(0,o.zw)(c.gData[isNaN(e.slice(-1))?e:e.slice(0,-1)].title),11,N)))),128)),"share"==c.modalID?((0,n.wg)(),(0,n.iD)("button",{key:0,onClick:t[16]||(t[16]=e=>u.notAvailableAlert("Sharing sentences via hyperlink"))},"Create Hyperlink")):(0,n.kq)("",!0),"share"==c.modalID?((0,n.wg)(),(0,n.iD)("button",{key:1,onClick:t[17]||(t[17]=e=>u.copytoCB(u.concatenateSentence(c.sentence)))},"Copy to Clipboard")):(0,n.kq)("",!0),(0,n._)("span",{class:"close",onClick:t[18]||(t[18]=e=>u.closeModal())},"×")]),(0,n._)("div",{class:(0,o.C_)({hidden:"settings"!=c.modalID}),style:{"padding-left":"20px","padding-right":"20px","padding-bottom":"20px"}},[_,V,W,(0,n.wy)((0,n._)("select",{id:"sett0","onUpdate:modelValue":t[19]||(t[19]=e=>c.settingRaw[0]=e),onChange:t[20]||(t[20]=e=>u.settingsUpdate(e,"a"))},F,544),[[i.bM,c.settingRaw[0]]]),G,B,z,(0,n.wy)((0,n._)("select",{id:"sett1","onUpdate:modelValue":t[21]||(t[21]=e=>c.settingRaw[1]=e),onChange:t[22]||(t[22]=e=>u.settingsUpdate(e,"e"))},q,544),[[i.bM,c.settingRaw[1]]]),J,Y,$,(0,n.wy)((0,n._)("select",{id:"sett2","onUpdate:modelValue":t[23]||(t[23]=e=>c.settingRaw[2]=e),onChange:t[24]||(t[24]=e=>u.settingsUpdate(e,"ë"))},ee,544),[[i.bM,c.settingRaw[2]]]),te,se,ie,(0,n.wy)((0,n._)("select",{id:"sett3","onUpdate:modelValue":t[25]||(t[25]=e=>c.settingRaw[3]=e),onChange:t[26]||(t[26]=e=>u.settingsUpdate(e,"i"))},ae,544),[[i.bM,c.settingRaw[3]]]),le,re,he,(0,n.wy)((0,n._)("select",{id:"sett4","onUpdate:modelValue":t[27]||(t[27]=e=>c.settingRaw[4]=e),onChange:t[28]||(t[28]=e=>u.settingsUpdate(e,"o"))},pe,544),[[i.bM,c.settingRaw[4]]]),ue,fe,ge,(0,n.wy)((0,n._)("select",{id:"sett5","onUpdate:modelValue":t[29]||(t[29]=e=>c.settingRaw[5]=e),onChange:t[30]||(t[30]=e=>u.settingsUpdate(e,"ö"))},ve,544),[[i.bM,c.settingRaw[5]]]),we,ye,Se,(0,n.wy)((0,n._)("select",{id:"sett6","onUpdate:modelValue":t[31]||(t[31]=e=>c.settingRaw[6]=e),onChange:t[32]||(t[32]=e=>u.settingsUpdate(e,"u"))},Ce,544),[[i.bM,c.settingRaw[6]]]),Te,Ie,Ae,(0,n.wy)((0,n._)("select",{id:"sett7","onUpdate:modelValue":t[33]||(t[33]=e=>c.settingRaw[7]=e),onChange:t[34]||(t[34]=e=>u.settingsUpdate(e,"ü"))},Ee,544),[[i.bM,c.settingRaw[7]]]),je,Pe,De,(0,n.wy)((0,n._)("select",{id:"sett8","onUpdate:modelValue":t[35]||(t[35]=e=>c.settingRaw[8]=e),onChange:t[36]||(t[36]=e=>u.settingsUpdate(e,"x"))},_e,544),[[i.bM,c.settingRaw[8]]]),Ve,We,Le,(0,n.wy)((0,n._)("select",{id:"sett9","onUpdate:modelValue":t[37]||(t[37]=e=>c.settingRaw[9]=e),onChange:t[38]||(t[38]=e=>u.settingsUpdate(e,"řř"))},Ge,544),[[i.bM,c.settingRaw[9]]]),Be,ze,Xe,(0,n.wy)((0,n._)("select",{id:"sett10","onUpdate:modelValue":t[39]||(t[39]=e=>c.settingRaw[10]=e),onChange:t[40]||(t[40]=e=>u.settingsUpdate(e,"hX"))},Je,544),[[i.bM,c.settingRaw[10]]]),Ye,$e,Ke,(0,n.wy)((0,n._)("input",{"onUpdate:modelValue":t[41]||(t[41]=e=>c.skipEJ=e),type:"checkbox"},null,512),[[i.e8,c.skipEJ]]),Qe,Ze,et,tt,st,it,nt,ot,(0,n._)("button",{onClick:t[42]||(t[42]=e=>u.setCookie("settings",JSON.stringify(c.settingRaw),365))},"Save settings as cookies"),(0,n._)("button",{onClick:t[43]||(t[43]=e=>u.deleteCookie("settings"))},"Remove settings cookies")],2),"settings"!=c.modalID&&"share"!=c.modalID?((0,n.wg)(),(0,n.iD)("div",at,[(0,n._)("h2",lt,(0,o.zw)(c.modalContent.title),1),(0,n._)("p",{style:{"text-align":"center"},innerHTML:c.modalContent.popupdesc},null,8,rt),""==c.modalContent.type?((0,n.wg)(),(0,n.iD)("div",ht,[["c","c1","c2"].includes(c.modalID)?((0,n.wg)(),(0,n.iD)("div",ct,[(0,n._)("button",{class:"tablinks active",onClick:t[44]||(t[44]=e=>u.changeClassTab("THM","PLM","Allcases")),id:"Allcases"},"All"),(0,n._)("button",{class:"tablinks",onClick:t[45]||(t[45]=e=>u.changeClassTab("THM","IND","Transrelative")),id:"Transrelative"},"Transrelative"),(0,n._)("button",{class:"tablinks",onClick:t[46]||(t[46]=e=>u.changeClassTab("POS","PAR","Appositive")),id:"Appositive"},"Appositive"),(0,n._)("button",{class:"tablinks",onClick:t[47]||(t[47]=e=>u.changeClassTab("APL","CSD","Associative")),id:"Associative"},"Associative"),(0,n._)("button",{class:"tablinks",onClick:t[48]||(t[48]=e=>u.changeClassTab("FUN","SIT","Adverbial")),id:"Adverbial"},"Adverbial"),(0,n._)("button",{class:"tablinks",onClick:t[49]||(t[49]=e=>u.changeClassTab("PRN","RLT","Relational")),id:"Relational"},"Relational"),(0,n._)("button",{class:"tablinks",onClick:t[50]||(t[50]=e=>u.changeClassTab("ACT","VOC","Affinitive")),id:"Affinitive"},"Affinitive"),(0,n._)("button",{class:"tablinks",onClick:t[51]||(t[51]=e=>u.changeClassTab("LOC","PLM","Spatio-Temporal")),id:"Spatio-Temporal"},"Spatio-Temporal")])):(0,n.kq)("",!0),["c","c1","c2"].includes(c.modalID)?((0,n.wg)(),(0,n.iD)("div",dt,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(Object.keys(c.modalContent.options).slice(Object.keys(c.modalContent.options).indexOf(this.casePopupStart),Object.keys(c.modalContent.options).indexOf(this.casePopupEnd)+1),(e=>((0,n.wg)(),(0,n.iD)("div",{key:c.modalContent.options[e]},[(0,n._)("div",{onClick:t=>u.updateFromModal(c.modalID,e),class:(0,o.C_)(["modalOption",{modalSelected:c.gOptions[c.modalID]==e}])},[(0,n._)("h3",null,(0,o.zw)(c.modalContent.options[e].name)+(0,o.zw)(e!==e.toString().toUpperCase()||["0","1","2","3","4","5","6","7","8","9"].includes(e.toString())?"":" ("+e+")"),1),(0,n._)("p",{innerHTML:c.modalContent.options[e].desc},null,8,ut)],10,pt)])))),128))])):"shcut"!=c.modalID?((0,n.wg)(!0),(0,n.iD)(n.HY,{key:2},(0,n.Ko)(Object.keys(c.modalContent.options),(e=>((0,n.wg)(),(0,n.iD)("div",{key:c.modalContent.options[e]},[(0,n._)("div",{onClick:t=>u.updateFromModal(c.modalID,e),class:(0,o.C_)(["modalOption",{modalSelected:c.gOptions[c.modalID]==e}]),style:(0,o.j5)(c.modalContent.options[e].image?"min-height:170px;":"")},[c.modalContent.options[e].image?((0,n.wg)(),(0,n.iD)("img",{key:0,src:c.modalContent.options[e].image,alt:c.modalContent.options[e].name,style:{float:"right",height:"150px","padding-top":"10px","padding-left":"10px","padding-bottom":"10px"}},null,8,gt)):(0,n.kq)("",!0),(0,n._)("h3",null,(0,o.zw)(c.modalContent.options[e].name)+(0,o.zw)(e!==e.toString().toUpperCase()||["0","1","2","3","4","5","6","7","8","9"].includes(e.toString())?"":" ("+e+")"),1),(0,n._)("p",{innerHTML:c.modalContent.options[e].desc},null,8,mt)],14,ft)])))),128)):(0,n.kq)("",!0)])):(0,n.kq)("",!0)])):"share"==c.modalID?((0,n.wg)(),(0,n.iD)("div",bt,[vt,wt,yt,(0,n._)("h1",St,(0,o.zw)(u.concatenateSentence(c.sentence)),1),Mt,Ot])):(0,n.kq)("",!0)]),(0,n._)("button",{id:"modalToTop",onClick:t[52]||(t[52]=(...e)=>u.scrollToTop&&u.scrollToTop(...e)),class:(0,o.C_)({hidden:"share"==c.modalID})},"↑",2)]),(0,n._)("div",Ct,[(0,n._)("div",Tt,[(0,n._)("span",{class:"close",onClick:t[54]||(t[54]=e=>u.closeNav()),style:{transform:"translateY(-20px)"}},"×"),It]),(0,n._)("div",At,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(c.sentence,((e,s)=>((0,n.wg)(),(0,n.iD)("div",{key:s,class:(0,o.C_)(["sentWord noSelecting",{active:c.selectedWord==s,deletable:c.deleteWordMode,dragging:c.draggedWord===s}]),onClick:e=>u.switchWord(s),onMouseover:e=>u.hoverChange(s),onMouseleave:t[56]||(t[56]=e=>c.hovering=null),onMousemove:e=>u.beginDrag(s),onTouchstart:e=>u.beginDrag(s)},[(0,n._)("p",null,[(0,n._)("b",null,(0,o.zw)(e[0]),1)]),(0,n.wy)((0,n._)("textarea",{placeholder:"Description...","onUpdate:modelValue":e=>c.sentence[s][3]=e,onInput:t[55]||(t[55]=(...e)=>u.resizeTA&&u.resizeTA(...e)),rows:"1",class:"ta"},null,40,kt),[[i.nr,c.sentence[s][3]]]),Et],42,xt)))),128))]),(0,n._)("div",jt,[(0,n._)("input",{type:"file",onChange:t[57]||(t[57]=(...e)=>u.uploadJSON&&u.uploadJSON(...e)),accept:".json",id:"fimport",class:"hidden"},null,32),(0,n._)("button",{title:"Add New Word",onClick:t[58]||(t[58]=e=>this.sentence.push(JSON.parse(JSON.stringify(["aal",c.gDefault,"normal",""]))))},Dt),(0,n._)("button",{title:"Save",onClick:t[59]||(t[59]=e=>u.exportToJsonFile(c.sentence))},Nt),(0,n._)("button",{title:"Import",onClick:t[60]||(t[60]=(0,i.iM)((e=>u.openFileDialog()),["self"]))},Vt),(0,n._)("button",{title:"Export/Share",onClick:t[61]||(t[61]=e=>{u.openModal("share"),u.closeNav()})},Lt),(0,n._)("button",{title:"Delete Words",onClick:t[62]||(t[62]=e=>c.deleteWordMode=!c.deleteWordMode),class:(0,o.C_)({active:c.deleteWordMode})},[(0,n._)("i",{class:(0,o.C_)(c.deleteWordMode?"fa-solid fa-check fa-xl":"fa-solid fa-trash-can fa-xl")},null,2)],2)])])],64)}var Ft=s(3051),Gt=s.n(Ft);const Bt=e=>((0,n.dD)("data-v-2d4a2383"),e=e(),(0,n.Cn)(),e),zt=["title"],Xt=["maxlength"],Ht={key:1},qt=["onUpdate:modelValue","id"],Jt=["onUpdate:modelValue","id"],Yt=["value"],$t=Bt((()=>(0,n._)("option",{key:"CA",value:"CA"},"Cₐ-stacking",-1))),Kt=["onUpdate:modelValue","id","disabled"],Qt={value:1},Zt={value:2},es={value:3},ts={key:0,value:4},ss={key:2},is=["disabled"],ns=["disabled","id"],os=["value"],as={key:4},ls=Bt((()=>(0,n._)("b",null,"ERROR:",-1))),rs=(0,n.Uk)(" Empty affixes"),hs=[ls,rs],cs={key:5},ds=Bt((()=>(0,n._)("b",null,"ERROR:",-1))),ps=(0,n.Uk)(" Affixes are required"),us=[ds,ps],fs={key:6},gs=Bt((()=>(0,n._)("b",null,"ERROR:",-1))),ms=(0,n.Uk)(" Empty text"),bs=[gs,ms],vs={key:7},ws=Bt((()=>(0,n._)("b",null,"ERROR:",-1))),ys=(0,n.Uk)(" Non-allowed characters"),Ss=[ws,ys],Ms={key:8};function Os(e,t,s,a,l,r){return(0,n.wg)(),(0,n.iD)("div",{class:(0,o.C_)(["optionbox",r.OBclass])},[(0,n._)("h3",{onClick:t[0]||(t[0]=(0,i.iM)((e=>this.$emit("modal",s.code)),["self"])),title:"Learn more about "+s.json.title},(0,o.zw)(s.json.title),9,zt),"text"==s.json.type?(0,n.wy)(((0,n.wg)(),(0,n.iD)("input",{key:0,"onUpdate:modelValue":t[1]||(t[1]=e=>l.text=e),onInput:t[2]||(t[2]=e=>this.$emit("send-message",l.text,s.code)),placeholder:"Enter...",maxlength:s.utdText?"":"6"},null,40,Xt)),[[i.nr,l.text]]):"affix"==s.json.type?((0,n.wg)(),(0,n.iD)("div",Ht,[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(l.affixes,((e,a)=>((0,n.wg)(),(0,n.iD)("div",{key:e},[(0,n.wy)((0,n._)("input",{"onUpdate:modelValue":e=>l.affixes[a][0]=e,onInput:t[3]||(t[3]=e=>this.$emit("send-message",l.affixes,s.code)),placeholder:"Enter...",maxlength:"5",id:s.code+"affW"+a},null,40,qt),[[i.nr,l.affixes[a][0]]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":e=>l.affixes[a][1]=e,onInput:t[4]||(t[4]=e=>this.$emit("send-message",l.affixes,s.code)),style:{display:"inline-block"},id:s.code+"affD"+a.toString()},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(["sy","zy","čy","šy","žy","jy","ly"].includes(l.affixes[a][0])?[0,1,2,3,4,5,6,8]:Array(10).keys(),(e=>((0,n.wg)(),(0,n.iD)("option",{key:(e+1)%10,value:(e+1)%10},"Deg. "+(0,o.zw)((e+1)%10),9,Yt)))),128)),$t],40,Jt),[[i.bM,l.affixes[a][1]]]),(0,n.wy)((0,n._)("select",{"onUpdate:modelValue":e=>l.affixes[a][2]=e,onInput:t[5]||(t[5]=e=>this.$emit("send-message",l.affixes,s.code)),style:{display:"inline-block"},id:s.code+"affT"+a,disabled:"CA"==l.affixes[a][1]},[(0,n._)("option",Qt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Series ":"Type-")+"1",1),(0,n._)("option",Zt,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Series ":"Type-")+"2",1),(0,n._)("option",es,(0,o.zw)(["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?"Series ":"Type-")+"3",1),["sw","sy","zw","zy","čw","čy","šw","šy","žw","žy","jw","jy","lw","ly"].includes(l.affixes[a][0])?((0,n.wg)(),(0,n.iD)("option",ts,"Series 4")):(0,n.kq)("",!0)],40,Kt),[[i.bM,l.affixes[a][2]]])])))),128)),(0,n._)("input",{type:"button",value:"Add",onClick:t[6]||(t[6]=e=>{l.affixes.push(["",1,1]),this.$emit("send-message",l.affixes,s.code)})}),(0,n._)("input",{type:"button",value:"Remove",onClick:t[7]||(t[7]=e=>{l.affixes.pop(),this.$emit("send-message",l.affixes,s.code)})})])):"checkbox"==s.json.type?((0,n.wg)(),(0,n.iD)("div",ss,[(0,n.wy)((0,n._)("input",{type:"checkbox","onUpdate:modelValue":t[8]||(t[8]=e=>l.option=e),onChange:t[9]||(t[9]=e=>this.$emit("send-message",l.option,s.code)),disabled:s.disabled},null,40,is),[[i.e8,l.option]])])):(0,n.wy)(((0,n.wg)(),(0,n.iD)("select",{key:3,"onUpdate:modelValue":t[10]||(t[10]=e=>l.option=e),onChange:t[11]||(t[11]=e=>this.$emit("send-message",l.option.toString(),s.code)),disabled:s.disabled,id:s.code},[((0,n.wg)(!0),(0,n.iD)(n.HY,null,(0,n.Ko)(s.json.options,((e,t)=>((0,n.wg)(),(0,n.iD)("option",{key:e.name,value:t},(0,o.zw)(e.name)+" "+(0,o.zw)(t!==t.toString().toUpperCase()||["1","2","3","4","5","6","7","8","9","0"].includes(t)?"":"("+t+")"),9,os)))),128))],40,ns)),[[i.bM,l.option]]),"affix"!=s.json.type||0==this.affixes.length||this.affixes.every((function(e){return""!=e[0]}))?"affix"==s.json.type&&0==this.affixes.length&&s.reqAff?((0,n.wg)(),(0,n.iD)("p",cs,us)):"text"==s.json.type&&""==this.text?((0,n.wg)(),(0,n.iD)("p",fs,bs)):"text"==s.json.type&&!this.text.split("").every((e=>Object.keys(this.cData).includes(e.toLowerCase())))&&!this.$props.utdText||"affix"==s.json.type&&0!=this.affixes.length&&!this.affixes.every((e=>e[0].split("").every((e=>Object.keys(this.cData).includes(e)))))?((0,n.wg)(),(0,n.iD)("p",vs,Ss)):((0,n.wg)(),(0,n.iD)("p",Ms)):((0,n.wg)(),(0,n.iD)("p",as,hs))],2)}var Cs=JSON.parse('{"p":["stop","unvoiced","labial"],"b":["stop","voiced","labial"],"t":["stop","unvoiced","apico"],"d":["stop","voiced","apico"],"k":["stop","unvoiced","velar"],"g":["stop","voiced","velar"],"f":["fric","unvoiced","labial","nonsibil"],"v":["fric","voiced","labial","nonsibil"],"ţ":["fric","unvoiced","apico","nonsibil"],"ḑ":["fric","voiced","apico","nonsibil"],"s":["fric","unvoiced","apico","sibil"],"z":["fric","voiced","apico","sibil"],"š":["fric","unvoiced","apalat","sibil"],"ž":["fric","voiced","apalat","sibil"],"ç":["fric","unvoiced","palat","nonsibil"],"x":["fric","unvoiced","velar","nonsibil"],"h":["fric","unvoiced","glott"],"ļ":["fric","unvoiced","lateral"],"c":["affric","unvoiced","apico","sibil"],"ẓ":["affric","voiced","apico","sibil"],"č":["affric","unvoiced","apalat","sibil"],"j":["affric","voiced","apalat","sibil"],"m":["nasal","voiced","labial"],"n":["nasal","voiced","apico"],"ň":["nasal","voiced","velar"],"r":["liquid","voiced","apico"],"l":["liquid","voiced","lateral"],"w":["approx","voiced","labial"],"y":["approx","voiced","palat"],"ř":["approx","voiced","uvul"]}'),Ts={name:"OptionBox",props:{code:String,json:Object,disabled:Boolean,show:Boolean,reqAff:Boolean,utdText:Boolean},data(){return{text:"",option:null,affixes:[],cData:Cs}},computed:{OBclass(){return{error:"affix"==this.json.type&&0!=this.affixes.length&&(!this.affixes.every((function(e){return""!=e[0]}))||!this.affixes.every((e=>e[0].split("").every((e=>Object.keys(this.cData).includes(e))))))||"text"==this.json.type&&(""==this.text||!this.text.split("").every((e=>Object.keys(this.cData).includes(e.toLowerCase())))&&!this.$props.utdText)||"affix"==this.json.type&&0==this.affixes.length&&this.reqAff,disabledbox:this.disabled,notShown:this.show}}},mounted(){"affix"!=this.$props.type&&"text"!=this.$props.type&&(document.getElementById(this.$props.code).selectedIndex=0)},methods:{updateValue(e){if("affix"==this.$props.json.type){this.affixes=e;for(let t in this.affixes)this.waitForElm("#"+this.$props.code+"affW"+t.toString()).then((s=>{s.value=e[t][0]})),this.waitForElm("#"+this.$props.code+"affD"+t.toString()).then((s=>{s.value=e[t][1]})),this.waitForElm("#"+this.$props.code+"affT"+t.toString()).then((s=>{s.value=e[t][2]}));this.$emit("send-message",this.affixes,this.$props.code)}else"text"==this.$props.json.type?(this.text=e,this.$emit("send-message",this.text,this.$props.code)):"checkbox"==this.$props.json.type?(this.option=e,this.$emit("send-message",this.option,this.$props.code)):(console.log("Recieved",e,"in",this.$props.code),Object.keys(this.$props.json.options).includes(e)&&(this.option=e,document.getElementById(this.$props.code).selectedIndex=Object.keys(this.$props.json.options).findIndex((t=>t===e)),this.$emit("send-message",this.option.toString(),this.$props.code)))},waitForElm(e){return new Promise((t=>{if(document.querySelector(e))return t(document.querySelector(e));const s=new MutationObserver((()=>{document.querySelector(e)&&(t(document.querySelector(e)),s.disconnect())}));s.observe(document.body,{childList:!0,subtree:!0})}))}}},Is=s(89);const As=(0,Is.Z)(Ts,[["render",Os],["__scopeId","data-v-2d4a2383"]]);var xs=As,ks=JSON.parse('{"root":{"type":"text","title":"Root (Slot III)","popupdesc":"The root is the general definition of the word, and can be directly modified by the Stem and Specification. Check the roots document for what your word\'s Root, Stem, and Specification should be."},"stem":{"type":"","title":"Stem","options":{"s1":{"name":"Stem 1","desc":""},"s2":{"name":"Stem 2","desc":""},"s3":{"name":"Stem 3","desc":""},"s0":{"name":"Stem 0","desc":"Stem 0 is special in that it describes the overall \\"stemless\\" definition of a root; i.e. the title of its box in the roots document (if it has one) or a general agglomeration of the three roots\' definitions."}},"popupdesc":"The stem of a word describes which of three possible definitons that a root could take is used in the word. Specific stem definitions are in the roots document."},"func":{"type":"","title":"Function","options":{"STA":{"name":"Static","desc":"The Static function is typically used in the following ways:Compatible with TNIL Morpho-Phonology v0.19, Lexical Roots v0.5.1, VxCs Affixes v0.7.5, and Phonotaxis v0.5.4.\n
Definitions are a combination of taken from the official Ithkuil III site, taken from official Ithkuil IV documentation, and (occasionally) written by the creator of this site.\n
All past and current forms of Ithkuil and all official documentation are by John Quijada.\n
Click on a box's title to learn more about what it means.
Your sentence:
\nERROR: Empty affixes
\nERROR: Affixes are required
\nERROR: Empty text
\nERROR: Non-allowed characters
\n \nCompatible with TNIL Morpho-Phonology v0.19, Lexical Roots v0.5.1, VxCs Affixes v0.7.5, and Phonotaxis v0.5.4.\n
Definitions are a combination of taken from the official Ithkuil III site, taken from official Ithkuil IV documentation, and (occasionally) written by the creator of this site.\n
All past and current forms of Ithkuil and all official documentation are by John Quijada.\n
Click on a box's title to learn more about what it means.
Your sentence:
\nERROR: Empty affixes
\nERROR: Affixes are required
\nERROR: Empty text
\nERROR: Non-allowed characters
\n \n