1"use strict";(self["webpackChunkclient"]=self["webpackChunkclient"]||[]).push([[1217],{41217:function(e,t,a){a.r(t),a.d(t,{default:function(){return ft}});a(18111),a(61701);var s=a(20641),i=a(90033),n=a(53751);const r={key:0,class:"px-5"},l={class:"is-flex is-justify-content-space-between is-align-items-center mb-5"},o={class:"is-flex is-align-items-center"},d={class:"is-size-4 has-text-weight-semibold mb-0 mr-3"},c={class:"icon"},h={key:0,class:"is-flex is-align-items-center"},u=["disabled"],p={class:"icon"},m=["disabled","title"],g={class:"icon"},f={key:0,class:"orgo-table-wrap"},b={class:"has-text-weight-semibold"},y={class:"has-text-grey"},v=["title"],k=["title","onClick"],w=["title","onClick"],$=["title","onClick"],L=["title","onClick"],_={class:"has-text-centered py-6"},C={class:"is-size-5 has-text-grey"},F={class:"is-size-7 has-text-grey mt-2"},x={key:1,class:"terminology-setup"},E={class:"card terminology-setup-card"},T={class:"terminology-setup-head"},A={class:"terminology-setup-title"},S={class:"terminology-setup-lede"},I={class:"terminology-step"},X={class:"terminology-step-label"},U={class:"terminology-step-body"},P=["value"],V={value:"custom"},R={class:"terminology-hint"},j={class:"terminology-step"},N={class:"terminology-step-label"},Q={class:"terminology-step-body"},O={class:"terminology-lang-pills"},W=["aria-pressed","disabled","title","onClick"],z={class:"terminology-lang-code"},K={key:0,class:"terminology-lang-taken"},M={class:"terminology-hint"},D={class:"terminology-step"},H={class:"terminology-step-label"},B={class:"terminology-step-body"},Y={key:0,class:"terminology-hint"},Z={class:"terminology-lang-title"},G={class:"terminology-lang-code is-muted"},q={key:0,class:"terminology-pairs"},J={class:"terminology-slot-label"},ee={class:"terminology-slot-now"},te={key:1,class:"terminology-grid"},ae={class:"terminology-slot-label"},se={key:0,class:"terminology-slot-now"},ie={key:0,class:"terminology-slot"},ne={class:"terminology-slot-label"},re={value:"m"},le={value:"f"},oe={value:"n"},de={class:"terminology-slot-now"},ce={key:2,class:"terminology-hint has-text-warning-dark"},he={class:"terminology-setup-foot"},ue={key:0,class:"terminology-hint mb-0"},pe={key:1,class:"terminology-hint mb-0"},me={class:"terminology-setup-actions"},ge=["disabled"],fe={key:2},be={class:"card p-5 mb-4"},ye={class:"mb-1 is-flex is-align-items-center is-flex-wrap-wrap"},ve=["title"],ke={class:"icon is-small"},we={class:"is-size-7 has-text-grey"},$e=["title"],Le={class:"is-flex is-flex-wrap-wrap is-align-items-center mb-3"},_e=["disabled","onClick"],Ce=["disabled","title","onClick"],Fe={class:"orgo-table-wrap"},xe=["title"],Ee={class:"terminology-now"},Te=["textContent"],Ae=["textContent"],Se={key:0,class:"help is-danger"},Ie={key:1,class:"help"},Xe={key:2,class:"terminology-manual"},Ue={key:0},Pe=["textContent"],Ve={key:1},Re=["textContent"],je=["onClick"],Ne={class:"orgo-table-actions"},Qe=["disabled","aria-label","onClick"],Oe=["aria-label","onClick"],We=["aria-label","onClick"],ze={class:"has-text-centered py-5 has-text-grey"};function Ke(e,t,a,Ke,Me,De){const He=(0,s.g2)("b-loading"),Be=(0,s.g2)("font-awesome-icon"),Ye=(0,s.g2)("b-table-column"),Ze=(0,s.g2)("b-table"),Ge=(0,s.g2)("b-select"),qe=(0,s.g2)("b-input"),Je=(0,s.g2)("b-field"),et=(0,s.g2)("b-switch"),tt=(0,s.g2)("b-tooltip"),at=(0,s.g2)("b-tab-item"),st=(0,s.g2)("b-tabs");return e.tenant&&e.isGranted("ADMIN_TENANT")?((0,s.uX)(),(0,s.CE)("section",r,[(0,s.bF)(He,{modelValue:Me.isLoading,"onUpdate:modelValue":t[0]||(t[0]=e=>Me.isLoading=e),"is-full-page":!1},null,8,["modelValue"]),(0,s.Lk)("div",l,[(0,s.Lk)("div",o,[(0,s.Lk)("p",d,(0,i.v_)(e.$t("Terminology")),1),Me.draft?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("button",{key:0,class:"button is-rounded is-primary is-passive ml-3",onClick:t[1]||(t[1]=(...e)=>De.startNew&&De.startNew(...e))},[(0,s.Lk)("span",c,[(0,s.bF)(Be,{icon:"fa-light fa-plus"})]),(0,s.Lk)("span",null,(0,i.v_)(e.$t("Rename a term")),1)]))]),Me.draft&&Me.draft.record&&!Me.draft.editingForms?((0,s.uX)(),(0,s.CE)("div",h,[(0,s.Lk)("button",{class:"button is-rounded mr-3",onClick:t[2]||(t[2]=(...e)=>De.closeDraft&&De.closeDraft(...e))},(0,i.v_)(e.$t("Close")),1),(0,s.Lk)("button",{class:"button is-primary is-rounded is-outlined mr-3",disabled:Me.isLoading||!Me.draft.scanned,onClick:t[3]||(t[3]=e=>De.saveProgress())},[(0,s.Lk)("span",p,[(0,s.bF)(Be,{icon:"fa-light fa-save"})]),(0,s.Lk)("span",null,(0,i.v_)(Me.draft.record.active?e.$t("Save changes"):e.$t("Save progress")),1)],8,u),Me.draft.record.active?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("button",{key:0,class:"button is-primary is-rounded",disabled:Me.isLoading||!De.canApply,title:De.canApply?"":e.$t("Review every string in every selected language first"),onClick:t[4]||(t[4]=(...e)=>De.apply&&De.apply(...e))},[(0,s.Lk)("span",g,[(0,s.bF)(Be,{icon:"fa-light fa-check"})]),(0,s.Lk)("span",null,(0,i.v_)(e.$t("Apply")),1)],8,m))])):(0,s.Q3)("",!0)]),Me.draft?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",f,[(0,s.bF)(Ze,{data:De.sortedRenames,hoverable:!0,"mobile-cards":!1},{empty:(0,s.k6)(()=>[(0,s.Lk)("div",_,[(0,s.Lk)("p",C,[(0,s.bF)(Be,{icon:"fa-light fa-language",class:"mr-2"}),(0,s.eW)(" "+(0,i.v_)(e.$t("No terms renamed yet")),1)]),(0,s.Lk)("p",F,(0,i.v_)(e.$t("Rename a platform concept - members see your word everywhere in the app.")),1)])]),default:(0,s.k6)(()=>[(0,s.bF)(Ye,{label:e.$t("Term")},{default:(0,s.k6)(e=>[(0,s.Lk)("span",b,(0,i.v_)(De.termLabel(e.row.termId)),1),t[13]||(t[13]=(0,s.Lk)("span",{class:"has-text-grey mx-1"},"â",-1)),(0,s.Lk)("span",y,(0,i.v_)(De.newTermSummary(e.row)),1)]),_:1},8,["label"]),(0,s.bF)(Ye,{label:e.$t("Languages")},{default:(0,s.k6)(e=>[(0,s.eW)((0,i.v_)(Object.keys(e.row.newForms||{}).map(e=>e.toUpperCase()).join(", ")),1)]),_:1},8,["label"]),(0,s.bF)(Ye,{label:e.$t("Status")},{default:(0,s.k6)(t=>[(0,s.Lk)("span",{class:(0,i.C4)(["tag is-rounded is-small",De.statusTone(t.row)])},(0,i.v_)(De.statusLabel(t.row)),3),t.row.active&&De.needsRewriteCount(t.row)?((0,s.uX)(),(0,s.CE)("span",{key:0,class:"tag is-rounded is-small is-warning ml-2",title:e.$t("Plain replacements you can still rewrite")},(0,i.v_)(De.needsRewriteCount(t.row))+" "+(0,i.v_)(e.$t("to rewrite")),9,v)):(0,s.Q3)("",!0)]),_:1},8,["label"]),(0,s.bF)(Ye,{width:"180"},{default:(0,s.k6)(a=>[(0,s.Lk)("div",{class:"orgo-table-actions",onClick:t[5]||(t[5]=(0,n.D$)(()=>{},["stop"]))},[a.row.revertedAt?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("button",{key:0,class:"orgo-table-action-btn",title:a.row.active?e.$t("Review"):e.$t("Continue"),onClick:e=>De.openRecord(a.row)},[(0,s.bF)(Be,{icon:["fal","pen"]})],8,k)),a.row.revertedAt?((0,s.uX)(),(0,s.CE)("button",{key:1,class:"orgo-table-action-btn",title:e.$t("Start again from this"),onClick:e=>Me.draft=De.draftFromRecord(De.recordFrom(a.row))},[(0,s.bF)(Be,{icon:["fal","rotate-right"]})],8,w)):(0,s.Q3)("",!0),a.row.active?((0,s.uX)(),(0,s.CE)("button",{key:2,class:"orgo-table-action-btn is-danger",title:e.$t("Undo this rename"),onClick:e=>De.revert(a.row)},[(0,s.bF)(Be,{icon:["fal","rotate-left"]})],8,$)):(0,s.Q3)("",!0),a.row.appliedAt?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("button",{key:3,class:"orgo-table-action-btn is-danger",title:e.$t("Discard"),onClick:e=>De.discard(a.row)},[(0,s.bF)(Be,{icon:["fal","trash"]})],8,L))])]),_:1})]),_:1},8,["data"])])),!Me.draft||Me.draft.record&&!Me.draft.editingForms?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("div",x,[(0,s.Lk)("div",E,[(0,s.Lk)("header",T,[(0,s.Lk)("h2",A,(0,i.v_)(Me.draft.record?e.$t("Edit the words"):e.$t("Rename a term")),1),(0,s.Lk)("p",S,(0,i.v_)(e.$t("Pick a concept, the languages to change, and the word your members use for it. Nothing changes until you review and apply.")),1)]),(0,s.Lk)("section",I,[(0,s.Lk)("div",X,[t[14]||(t[14]=(0,s.Lk)("span",{class:"terminology-step-index"},"1",-1)),(0,s.Lk)("span",null,(0,i.v_)(e.$t("Term to rename")),1)]),(0,s.Lk)("div",U,[(0,s.bF)(Ge,{modelValue:Me.draft.termId,"onUpdate:modelValue":[t[6]||(t[6]=e=>Me.draft.termId=e),De.onTermChange],expanded:"",disabled:!!Me.draft.record},{default:(0,s.k6)(()=>[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(Me.registry.terms,e=>((0,s.uX)(),(0,s.CE)("option",{key:e.id,value:e.id},(0,i.v_)(De.termLabel(e.id)),9,P))),128)),(0,s.Lk)("option",V,(0,i.v_)(e.$t("A word that is not in the listâ¦")),1)]),_:1},8,["modelValue","disabled","onUpdate:modelValue"]),"custom"===Me.draft.termId?((0,s.uX)(),(0,s.CE)(s.FK,{key:0},[(0,s.Lk)("p",R,(0,i.v_)(e.$t("Any word in the app can be changed. In step 3 you type the word as it appears now and what it should become, per language, and we search every text for it.")),1),(0,s.bF)(Je,{label:e.$t("What shall we call this rename?"),message:e.$t("Only shown in your list, e.g. âNewsletterâ"),class:"mt-4"},{default:(0,s.k6)(()=>[(0,s.bF)(qe,{modelValue:Me.draft.customLabel,"onUpdate:modelValue":t[7]||(t[7]=e=>Me.draft.customLabel=e),maxlength:"40",placeholder:e.$t("e.g. Newsletter")},null,8,["modelValue","placeholder"])]),_:1},8,["label","message"])],64)):(0,s.Q3)("",!0)])]),(0,s.Lk)("section",j,[(0,s.Lk)("div",N,[t[15]||(t[15]=(0,s.Lk)("span",{class:"terminology-step-index"},"2",-1)),(0,s.Lk)("span",null,(0,i.v_)(e.$t("Languages to change")),1)]),(0,s.Lk)("div",Q,[(0,s.Lk)("div",O,[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(De.activeLanguages,t=>((0,s.uX)(),(0,s.CE)("button",{key:t,type:"button",class:(0,i.C4)(["terminology-lang-pill",{"is-on":Me.draft.locales.includes(t),"is-taken":De.coveredLocales.includes(t)}]),"aria-pressed":Me.draft.locales.includes(t),disabled:De.coveredLocales.includes(t),title:De.coveredLocales.includes(t)?e.$t("Already renamed in this language - undo that rename first"):"",onClick:e=>De.toggleLocale(t)},[(0,s.Lk)("span",z,(0,i.v_)(t.toUpperCase()),1),(0,s.Lk)("span",null,(0,i.v_)(De.languageName(t)),1),De.coveredLocales.includes(t)?((0,s.uX)(),(0,s.CE)("span",K,(0,i.v_)(e.$t("already renamed")),1)):(0,s.Q3)("",!0)],10,W))),128))]),(0,s.Lk)("p",M,(0,i.v_)(e.$t("Languages you leave out keep the current wording.")),1)])]),(0,s.Lk)("section",D,[(0,s.Lk)("div",H,[t[16]||(t[16]=(0,s.Lk)("span",{class:"terminology-step-index"},"3",-1)),(0,s.Lk)("span",null,(0,i.v_)(e.$t("The new word")),1)]),(0,s.Lk)("div",B,[Me.draft.locales.length?(0,s.Q3)("",!0):((0,s.uX)(),(0,s.CE)("p",Y,(0,i.v_)(e.$t("Choose at least one language above.")),1)),((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(Me.draft.locales,a=>((0,s.uX)(),(0,s.CE)("div",{key:a,class:"terminology-lang-block"},[(0,s.Lk)("h3",Z,[(0,s.eW)((0,i.v_)(De.languageName(a))+" ",1),(0,s.Lk)("span",G,(0,i.v_)(a.toUpperCase()),1)]),"custom"===Me.draft.termId?((0,s.uX)(),(0,s.CE)("div",q,[(0,s.Lk)("label",J,(0,i.v_)(e.$t("Current word â new word, one pair per line")),1),(0,s.bF)(qe,{modelValue:Me.draft.customPairs[a],"onUpdate:modelValue":e=>Me.draft.customPairs[a]=e,type:"textarea",rows:"3",placeholder:e.$t("newsletter â bulletin")+"\
1n"+e.$t("newsletters â bulletins")},null,8,["modelValue","onUpdate:modelValue","placeholder"]),(0,s.Lk)("p",ee,(0,i.v_)(e.$t("Add one line per spelling that appears in the app - singular, plural, capitalised forms are matched automatically.")),1),De.parsePairs(Me.draft.customPairs[a]).length?((0,s.uX)(),(0,s.CE)("p",{key:0,class:(0,i.C4)(["terminology-found",{"is-none":0===De.customHitCount(a)}])},[(0,s.bF)(Be,{icon:["fal",De.customHitCount(a)?"check":"ban"],class:"mr-1"},null,8,["icon"]),(0,s.eW)(" "+(0,i.v_)(De.customHitCount(a)?e.$t("Found in")+" "+De.customHitCount(a)+" "+e.$t("texts in the app"):e.$t("Not found in any text in the app - check the spelling")),1)],2)):(0,s.Q3)("",!0)])):De.slotsFor(a).length?((0,s.uX)(),(0,s.CE)("div",te,[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(De.slotsFor(a),t=>((0,s.uX)(),(0,s.CE)("div",{key:t,class:"terminology-slot"},[(0,s.Lk)("label",ae,(0,i.v_)(De.slotLabel(t)),1),(0,s.bF)(qe,{modelValue:Me.draft.newForms[a][t],"onUpdate:modelValue":e=>Me.draft.newForms[a][t]=e,placeholder:De.exampleFor(a,t)?"«"+De.exampleFor(a,t)+"» â â¦":""},null,8,["modelValue","onUpdate:modelValue","placeholder"]),De.exampleFor(a,t)?((0,s.uX)(),(0,s.CE)("p",se,[(0,s.eW)((0,i.v_)(e.$t("now"))+": ",1),(0,s.Lk)("span",null,(0,i.v_)(De.exampleFor(a,t)),1)])):(0,s.Q3)("",!0)]))),128)),De.gendersFor(a).length?((0,s.uX)(),(0,s.CE)("div",ie,[(0,s.Lk)("label",ne,(0,i.v_)(e.$t("Gender of the new word")),1),(0,s.bF)(Ge,{modelValue:Me.draft.newForms[a].gender,"onUpdate:modelValue":e=>Me.draft.newForms[a].gender=e,expanded:""},{default:(0,s.k6)(()=>[t[17]||(t[17]=(0,s.Lk)("option",{value:""},"â",-1)),(0,s.Lk)("option",re,(0,i.v_)(e.$t("masculine")),1),(0,s.Lk)("option",le,(0,i.v_)(e.$t("feminine")),1),(0,s.Lk)("option",oe,(0,i.v_)(e.$t("neuter")),1)]),_:1},8,["modelValue","onUpdate:modelValue"]),(0,s.Lk)("p",de,[(0,s.eW)((0,i.v_)(e.$t("now"))+": ",1),(0,s.Lk)("span",null,(0,i.v_)(De.gendersFor(a).map(De.genderName).join(" / ")),1)])])):(0,s.Q3)("",!0)])):((0,s.uX)(),(0,s.CE)("p",ce,(0,i.v_)(e.$t('We do not know the current wording of this term in this language yet. Use "Another termâ¦" and type it, or leave this language out.')),1))]))),128))])]),(0,s.Lk)("footer",he,[Me.draft.record&&Me.draft.record.active?((0,s.uX)(),(0,s.CE)("p",ue,(0,i.v_)(e.$t("This rename is applied. Submitting undoes it and starts a new one from these words - cancelling changes nothing.")),1)):Me.draft.record?((0,s.uX)(),(0,s.CE)("p",pe,(0,i.v_)(e.$t("Changing the words re-drafts every text. Texts you excluded stay excluded; approvals start over.")),1)):(0,s.Q3)("",!0),(0,s.Lk)("div",me,[(0,s.Lk)("button",{class:"button is-rounded",onClick:t[8]||(t[8]=e=>Me.draft.record?Me.draft.editingForms=!1:De.closeDraft())},(0,i.v_)(e.$t("Cancel")),1),(0,s.Lk)("button",{class:"button is-primary is-rounded",disabled:!De.setupComplete||Me.isLoading,onClick:t[9]||(t[9]=(...e)=>De.submitSetup&&De.submitSetup(...e))},(0,i.v_)(De.setupSubmitLabel),9,ge)])])])])),Me.draft&&Me.draft.record&&!Me.draft.editingForms?((0,s.uX)(),(0,s.CE)("div",fe,[(0,s.Lk)("div",be,[(0,s.Lk)("p",ye,[(0,s.Lk)("strong",null,(0,i.v_)(De.termLabel(Me.draft.record.termId)),1),t[18]||(t[18]=(0,s.Lk)("span",{class:"mx-1"},"â",-1)),(0,s.Lk)("strong",null,(0,i.v_)(De.newTermSummary(Me.draft.record)),1),(0,s.Lk)("span",{class:(0,i.C4)(["tag is-rounded is-small ml-2",De.statusTone(Me.draft.record)])},(0,i.v_)(De.statusLabel(Me.draft.record)),3),(0,s.Lk)("button",{class:"button is-small is-rounded is-ghost ml-2",title:Me.draft.record.active?e.$t("Change the words - the rename is only undone when you submit the new ones"):"",onClick:t[10]||(t[10]=(...e)=>De.editForms&&De.editForms(...e))},[(0,s.Lk)("span",ke,[(0,s.bF)(Be,{icon:["fal","pen"]})]),(0,s.Lk)("span",null,(0,i.v_)(e.$t("Edit the words")),1)],8,ve)]),(0,s.Lk)("p",we,(0,i.v_)(De.summarySentence),1)]),(0,s.bF)(st,{modelValue:Me.activeLocale,"onUpdate:modelValue":t[12]||(t[12]=e=>Me.activeLocale=e),type:"is-toggle-rounded",size:"is-small"},{default:(0,s.k6)(()=>[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(Me.draft.record.locales,a=>((0,s.uX)(),(0,s.Wv)(at,{key:a,value:a},{header:(0,s.k6)(()=>[(0,s.Lk)("span",null,(0,i.v_)(a.toUpperCase()),1),(0,s.Lk)("span",{class:(0,i.C4)(["tag is-rounded is-small ml-2",{"is-success":De.rowsFor(a).length&&De.seenCount(a)===De.rowsFor(a).length}]),title:e.$t("reviewed / total")},(0,i.v_)(De.seenCount(a))+" / "+(0,i.v_)(De.rowsFor(a).length),11,$e)]),default:(0,s.k6)(()=>[(0,s.Lk)("div",Le,[(0,s.Lk)("button",{class:"button is-small is-rounded mr-2 mb-2",disabled:!De.pendingByOrigin(a,"exact").length,onClick:e=>De.acceptAll(a,"exact")},(0,i.v_)(e.$t("Accept all exact"))+" ("+(0,i.v_)(De.pendingByOrigin(a,"exact").length)+") ",9,_e),(0,s.Lk)("button",{class:"button is-small is-rounded mr-2 mb-2",disabled:!De.pendingByOrigin(a,"plain").length,title:e.$t("They stay flagged so you can rewrite them later"),onClick:e=>De.acceptAll(a,"plain")},(0,i.v_)(e.$t("Accept plain replacements"))+" ("+(0,i.v_)(De.pendingByOrigin(a,"plain").length)+") ",9,Ce),(0,s.bF)(et,{modelValue:Me.showSeen,"onUpdate:modelValue":t[11]||(t[11]=e=>Me.showSeen=e),size:"is-small",class:"mb-2 ml-auto"},{default:(0,s.k6)(()=>[(0,s.eW)((0,i.v_)(e.$t("Show reviewed")),1)]),_:1},8,["modelValue"])]),(0,s.Lk)("div",Fe,[(0,s.bF)(Ze,{data:De.visibleRows(a),"mobile-cards":!1,paginated:De.visibleRows(a).length>50,"per-page":50,"pagination-rounded":"","pagination-size":"is-small","row-class":e=>"pending"!==e.state?"has-text-grey":""},{empty:(0,s.k6)(()=>[(0,s.Lk)("div",ze,(0,i.v_)(De.rowsFor(a).length?e.$t("Everything reviewed"):e.$t("No texts contain this term in this language")),1)]),default:(0,s.k6)(()=>[(0,s.bF)(Ye,{width:"130",label:e.$t("Check")},{default:(0,s.k6)(e=>[(0,s.Lk)("span",{class:(0,i.C4)(["tag is-rounded is-small",De.classTone(e.row)]),title:De.flagHint(e.row)},(0,i.v_)(De.classLabel(e.row)),11,xe)]),_:1},8,["label"]),(0,s.bF)(Ye,{label:e.$t("Text")},{default:(0,s.k6)(t=>[(0,s.Lk)("p",Ee,[((0,s.uX)(!0),(0,s.CE)(s.FK,null,(0,s.pI)(De.highlight(t.row),(e,t)=>((0,s.uX)(),(0,s.CE)(s.FK,{key:t},[e.hit?((0,s.uX)(),(0,s.CE)("mark",{key:0,class:"terminology-hit",textContent:(0,i.v_)(e.text)},null,8,Te)):((0,s.uX)(),(0,s.CE)("span",{key:1,textContent:(0,i.v_)(e.text)},null,8,Ae))],64))),128))]),(0,s.bF)(qe,{modelValue:t.row.text,"onUpdate:modelValue":[e=>t.row.text=e,e=>De.onEdit(t.row)],size:"is-small",expanded:"",type:t.row.shipped.length>110?"textarea":"text",rows:2,disabled:"excluded"===t.row.state||"ski
1pped"===t.row.state,onKeyup:(0,n.jR)(e=>De.approveIfValid(t.row),["enter"])},null,8,["modelValue","onUpdate:modelValue","type","disabled","onKeyup"]),t.row.error?((0,s.uX)(),(0,s.CE)("p",Se,(0,i.v_)(t.row.error),1)):(0,s.Q3)("",!0),t.row.owned_by?((0,s.uX)(),(0,s.CE)("p",Ie,(0,i.v_)(e.$t("Already changed by another rename - this builds on its wording.")),1)):(0,s.Q3)("",!0),null!==t.row.manual&&void 0!==t.row.manual?((0,s.uX)(),(0,s.CE)("div",Xe,[(0,s.bF)(Be,{icon:["fal","pen"],class:"mr-1"}),t.row.replaceManual?((0,s.uX)(),(0,s.CE)("span",Ve,[(0,s.eW)((0,i.v_)(e.$t("Your Text Replacement"))+" ",1),(0,s.Lk)("s",{textContent:(0,i.v_)(t.row.manual)},null,8,Re),(0,s.eW)(" "+(0,i.v_)(e.$t("will be replaced by the rename.")),1)])):((0,s.uX)(),(0,s.CE)("span",Ue,[(0,s.eW)((0,i.v_)(e.$t("You customised this by hand in Text Replacements"))+": ",1),(0,s.Lk)("strong",{textContent:(0,i.v_)(t.row.manual)},null,8,Pe),(0,s.eW)(" . "+(0,i.v_)(e.$t("Your text wins - the rename will not show here.")),1)])),(0,s.Lk)("button",{type:"button",class:"button is-small is-rounded is-ghost ml-2",onClick:e=>De.toggleReplaceManual(t.row)},(0,i.v_)(t.row.replaceManual?e.$t("Keep my text"):e.$t("Use the rename instead")),9,je)])):(0,s.Q3)("",!0)]),_:1},8,["label"]),(0,s.bF)(Ye,{width:"150"},{default:(0,s.k6)(t=>[(0,s.Lk)("div",Ne,[(0,s.bF)(tt,{label:e.$t("Use the new text. You can still edit it before applying."),position:"is-left",type:"is-dark",multilined:"","append-to-body":""},{default:(0,s.k6)(()=>[(0,s.Lk)("button",{class:(0,i.C4)(["orgo-table-action-btn terminology-act is-approve",{"is-active":"approved"===t.row.state}]),disabled:!!t.row.error,"aria-label":e.$t("Approve"),onClick:e=>De.setState(t.row,"approved")},[(0,s.bF)(Be,{icon:["fal","check"]})],10,Qe)]),_:2},1032,["label"]),(0,s.bF)(tt,{label:e.$t("Keep the current text for this one. It will be asked again next time."),position:"is-left",type:"is-dark",multilined:"","append-to-body":""},{default:(0,s.k6)(()=>[(0,s.Lk)("button",{class:(0,i.C4)(["orgo-table-action-btn terminology-act is-keep",{"is-active":"skipped"===t.row.state}]),"aria-label":e.$t("Keep current wording"),onClick:e=>De.setState(t.row,"skipped")},[(0,s.bF)(Be,{icon:["fal","arrow-right"]})],10,Oe)]),_:2},1032,["label"]),(0,s.bF)(tt,{label:e.$t("This text is not about the term (a different meaning). Leave it alone and never suggest it again."),position:"is-left",type:"is-dark",multilined:"","append-to-body":""},{default:(0,s.k6)(()=>[(0,s.Lk)("button",{class:(0,i.C4)(["orgo-table-action-btn terminology-act is-exclude",{"is-active":"excluded"===t.row.state}]),"aria-label":e.$t("Not this term - never ask again"),onClick:e=>De.setState(t.row,"excluded")},[(0,s.bF)(Be,{icon:["fal","ban"]})],10,We)]),_:2},1032,["label"])])]),_:1})]),_:2},1032,["data","paginated","row-class"])])]),_:2},1032,["value"]))),128))]),_:1},8,["modelValue"])])):(0,s.Q3)("",!0)])):(0,s.Q3)("",!0)}a(44114),a(81148),a(22489),a(20116),a(30531),a(7588),a(18237),a(13579),a(17642),a(58004),a(33853),a(45876),a(32475),a(15024),a(31698);var Me=a(40834),De=a(2321),He=a(72389),Be=a(73753),Ye=a(19504),Ze=a(90369),Ge=a(3835),qe=a(10389),Je=a(18302),et=a(35347),tt=a(75222),at=a(34895),st=a(77742),it=a(26920),nt=a(45092),rt=a(77825),lt=a(85608),ot=a(77868);const dt={bg:Be,cs:Ye,de:Ze,el:Ge,en:qe,es:Je,et:et,fr:tt,it:at,lt:st,nl:it,pr:nt,ro:rt,sk:lt,ua:ot},ct=/\{[a-zA-Z_][a-zA-Z0-9_]*\}|%[a-zA-Z_][a-zA-Z0-9_]*%/g,ht=/<\/?([a-zA-Z][a-zA-Z0-9]*)\b[^>]*>/g,ut={sg:"Singular",pl:"Plural",sg_indef:"Singular",sg_def:'Singular, definite ("the â¦")',sg_gd_def:'Singular, genitive/dative ("of the â¦")',pl_indef:"Plural",pl_def:"Plural, definite",pl_gd_def:"Plural, genitive/dative",sg_nom:"Singular",sg_dat:"Singular, dative",sg_gen:"Singular, genitive",pl_nom:"Plural",pl_dat:"Plural, dative"};var pt={name:"TenantTerminology",data(){return{isLoading:!1,registry:{terms:[],agreementLocales:[]},renames:[],draft:null,activeLocale:null,showSeen:!1,dirty:!1,translationFiles:dt}},computed:{...(0,Me.L8)(["isGranted","tenant","tenantLanguages"]),activeLanguages(){return this.tenantLanguages&&this.tenantLanguages.length>0?this.tenantLanguages:[this.tenant?.language||"en"]},sortedRenames(){const e=e=>e.revertedAt?2:e.appliedAt?1:0;return this.renames.slice().sort((t,a)=>e(t)-e(a)||(a.dateCreated||"").localeCompare(t.dateCreated||"")||(a.id||0)-(t.id||0))},coveredLocales(){const e=this.draft;if(!e)return[];const t="custom"===e.termId?null:e.termId,a=new Set;return this.renames.filter(a=>!a.revertedAt&&a.termId===t&&(!e.record||a.uuid!==e.record.uuid)).forEac
1h(e=>Object.keys(e.newForms||{}).forEach(e=>a.add(e))),[...a]},setupSubmitLabel(){const e=this.draft&&this.draft.record;return e?e.active?this.$t("Undo and search again"):this.$t("Update the words and search again"):this.$t("Find the affected texts")},setupComplete(){const e=this.draft;return!!(e&&e.termId&&e.locales.length)&&("custom"===e.termId?!!e.customLabel.trim()&&e.locales.every(t=>this.parsePairs(e.customPairs[t]).length>0):e.locales.every(t=>this.slotsFor(t).length&&this.slotsFor(t).some(a=>(e.newForms[t][a]||"").trim())))},canApply(){const e=this.draft&&this.draft.record;return!(!e||e.active||!this.draft.scanned)&&e.locales.every(e=>this.rowsFor(e).every(e=>"pending"!==e.state))},summarySentence(){const e=this.draft.record,t=e.locales.map(e=>e.toUpperCase()),a=this.activeLanguages.filter(t=>!e.locales.includes(t)).map(e=>e.toUpperCase()),s=e.locales.reduce((e,t)=>e+this.rowsFor(t).length,0),i=e.locales.flatMap(e=>this.rowsFor(e)).filter(e=>null!==e.manual&&void 0!==e.manual&&"approved"===e.state),n=i.filter(e=>!e.replaceManual).length,r=i.length-n,l=[`${t.join(", ")} ${this.$t("changes")}.`,a.length?`${a.join(", ")} ${this.$t("stay as they are")}.`:"",`${s} ${this.$t("texts")}.`,n?`${n} ${this.$t("keep your own Text Replacement")}.`:"",r?`${r} ${this.$t("replace your Text Replacement")}.`:"",this.$t("Takes effect on members' next load. You can undo this exactly.")];return l.filter(Boolean).join(" ")}},created(){this.load()},methods:{load(){this.isLoading=!0,Promise.all([this.$http.plain.get("/terminology/registry"),this.$http.plain.get("/tenant_term_renames")]).then(([e,t])=>{this.registry=e.data,this.renames=t.data["hydra:member"]||[]}).catch(e=>this.fail(e)).finally(()=>{this.isLoading=!1})},reloadRenames(){return this.$http.plain.get("/tenant_term_renames").then(e=>{this.renames=e.data["hydra:member"]||[]}).catch(e=>this.fail(e))},term(e){return this.registry.terms.find(t=>t.id===e)},termLabel(e){const t=this.term(e);if(!t)return e&&e.startsWith("custom:")?e.slice(7):e;const a=this.translationFiles[this.$i18n.locale]||this.translationFiles.en;return a[t.label]||this.translationFiles.en[t.label]||t.label},newTermSummary(e){const t=e.newForms||{},a=t[Object.keys(t)[0]]||{};return a.sg||a.sg_indef||a.sg_nom||Object.values(a).find(e=>"string"===typeof e&&e.length>1)||""},statusLabel(e){return e.revertedAt?this.$t("Undone"):e.active?this.$t("Applied"):this.$t("In review")},statusTone(e){return e.revertedAt?"is-default":e.active?"is-success":"is-info"},needsRewriteCount(e){return(e.approved||[]).filter(e=>e.needs_rewrite).length},startNew(){const e=this.activeLanguages.includes(this.tenant.language)?this.tenant.language:this.activeLanguages[0];this.draft={termId:this.registry.terms[0]?this.registry.terms[0].id:"custom",customLabel:"",customPairs:{},locales:[e],newForms:{},record:null,rows:{},scanned:!1,editingForms:!1}
1,this.activeLanguages.forEach(e=>{this.draft.newForms[e]={gender:""},this.draft.customPairs[e]=""}),this.draft.locales=this.draft.locales.filter(e=>!this.coveredLocales.includes(e))},onTermChange(){this.activeLanguages.forEach(e=>{this.draft.newForms[e]={gender:""}}),this.draft.locales=this.draft.locales.filter(e=>!this.coveredLocales.includes(e))},closeDraft(){const e=()=>{this.draft=null,this.dirty=!1,this.reloadRenames()};return this.dirty?this.$buefy.dialog.confirm({title:this.$t("Unsaved review"),message:this.$t("You have review decisions that are not saved. Close anyway?"),confirmText:this.$t("Close without saving"),cancelText:this.$t("Keep reviewing"),type:"is-danger",onConfirm:e}):e()},slotsFor(e){const t=this.term(this.draft.termId);return t&&t.locales[e]&&t.locales[e].slots||[]},gendersFor(e){const t=this.term(this.draft.termId);return t&&t.locales[e]&&t.locales[e].genders||[]},exampleFor(e,t){const a=this.term(this.draft.termId),s=a&&a.locales[e]&&a.locales[e].forms||{};return Object.keys(s).find(e=>s[e].slot===t)||""},parsePairs(e){return(e||"").split("\n").map(e=>e.split(/\s*(?:â|->|=>)\s*/)).filter(e=>2===e.length&&e[0].trim()&&e[1].trim()).map(([e,t])=>({from:e.trim(),to:t.trim()}))},pairsText(e,t){const a=(e.customForms||{})[t]||{},s=(e.newForms||{})[t]||{};return Object.entries(a).map(([e,t])=>`${e} â ${s[t.slot]||""}`).join("\n")},customHitCount(e){const t=this.parsePairs(this.draft.customPairs[e]).map(e=>e.from);if(!t.length)return 0;const a=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`(?<![\\p{L}\\p{N}_])(${t.map(a).join("|")})(?![\\p{L}\\p{N}_])`,"iu");return Object.values(this.translationFiles[e]||{}).filter(e=>"string"===typeof e&&s.test(e)).length},languageName(e){return this.$t(He.W[e]||e.toUpperCase())},genderName(e){return this.$t({m:"masculine",f:"feminine",n:"neuter"}[e]||e)},toggleLocale(e){const t=this.draft.locales.indexOf(e);-1===t?this.draft.locales.push(e):this.draft.locales.splice(t,1)},slotLabel(e){return this.$t(ut[e]||e)},buildPayload(){const e=this.draft,t={};e.locales.forEach(a=>{const s={};Object.entries(e.newForms[a]||{}).forEach(([e,t])=>{"string"===typeof t&&t.trim()&&(s[e]=t.trim())}),t[a]=s});const a={newForms:t};if("custom"===e.termId){const s=e.customLabel.trim().toLowerCase().replace(/[^a-z0-9]+/g,"-").replace(/(^-|-$)/g,"")||"term";a.termId=`custom:${s}`,a.customForms={},e.locales.forEach(s=>{a.customForms[s]={},t[s]={},this.parsePairs(e.customPairs[s]).forEach((e,i)=>{a.customForms[s][e.from]={slot:`c${i+1}`},t[s][`c${i+1}`]=e.to})})}else a.termId=e.termId;return a},createAndScan(){const e=this.buildPayload();this.isLoading=!0,this.$http.plain.post("/tenant_term_renames",e).then(e=>(this.draft.record=this.recordFrom(e.data),this.scan())).catch(e=>this.fail(e)).finally(()=>{this.isLoading=!1})},editForms(){const e=this.draft.record;this.draft.locales=e.locales.slice(),this.draft.newForms={},this.draft.customPairs={}
1,this.activeLanguages.forEach(t=>{this.draft.newForms[t]={gender:"",...e.newForms[t]||{}},this.draft.customPairs[t]=this.pairsText(e,t)}),this.draft.customLabel=e.termId.startsWith("custom:")?e.termId.slice(7):"",this.draft.editingForms=!0},draftFromRecord(e){const t={termId:e.termId.startsWith("custom:")?"custom":e.termId,customLabel:e.termId.startsWith("custom:")?e.termId.slice(7):"",customPairs:{},locales:e.locales.slice(),newForms:{},record:null,rows:{},scanned:!1,editingForms:!1};return this.activeLanguages.forEach(a=>{t.newForms[a]={gender:"",...e.newForms[a]||{}},t.customPairs[a]=this.pairsText(e,a)}),t},replaceActiveAndScan(){const e=this.draft.record,t=this.buildPayload();this.$buefy.dialog.confirm({title:this.$t("Undo and search again"),message:this.$t("Every text goes back to what it was before this rename, and a new rename starts from the words you change. Nothing changes again until you review and apply it."),confirmText:this.$t("Undo and search again"),cancelText:this.$t("Cancel"),onConfirm:()=>{this.isLoading=!0,this.$http.plain.post(`/tenant_term_renames/${e.uuid}/revert`,{}).then(t=>(Object.assign(e,this.recordFrom(t.data),{active:!1}),this.draft.record=null,this.refreshTenant())).then(()=>this.$http.plain.post("/tenant_term_renames",t)).then(e=>(this.draft.record=this.recordFrom(e.data),this.draft.editingForms=!1,this.scan())).catch(e=>this.fail(e)).finally(()=>{this.isLoading=!1})}})},submitSetup(){const e=this.draft.record;return e?e.active?this.replaceActiveAndScan():this.updateFormsAndScan():this.createAndScan()},updateFormsAndScan(){const e=this.draft.record,t=this.buildPayload();delete t.termId,t.approved=[],this.isLoading=!0,this.$http.plain.patch(`/tenant_term_renames/${e.uuid}`,t,{headers:{"Content-Type":"application/merge-patch+json"}}).then(e=>(Object.assign(this.draft.record,this.recordFrom(e.data)),this.draft.editingForms=!1,this.scan())).catch(e=>this.fail(e)).finally(()=>{this.isLoading=!1})},recordFrom(e){return{...e,locales:Object.keys(e.newForms||{})}},scan(){const e=this.draft.record,t={};return e.locales.forEach(e=>{t[e]=this.translationFiles[e]||{}}),this.draft.scanned=!1,this.$http.plain.post("/terminology/scan",{termId:e.termId,customForms:e.customForms||void 0,newForms:e.newForms,excluded:e.excluded||{},renameUuid:e.uuid,ui:t}).then(t=>{const a={};(e.approved||[]).forEach(e=>{a[`${e.id}|${e.locale}`]=e});const s={};e.locales.forEach(i=>{s[i]=[];const n=new Set(((e.confirmedHits||{}).ui||{})[i]||[]);(t.data.ui[i]||[]).forEach(e=>{const t=a[`${e.id}|${i}`];let r="pending";e.excluded?r="excluded":t?r="approved":n.has(e.id)&&(r="skipped"),s[i].push({...e,ns:"ui",locale:i,draftText:e.text,text:t?t.text:e.text,state:r,replaceManual:!(!t||!t.replace_manual),error:null})})}),this.draft.rows=s,this.draft.scanned=!0,this.dirty=!1,this.activeLocale=this.activeLocale&&e.locales.includes(this.activeLocale)?this.activeLocale:e.locales[0]})},openRecord(e){this.draft={termId:e.termId,locales:[],newForms:{},customPairs:{},customLabel:"",record:this.recordFrom(e),rows:{},scanned:!1,editingForms:!1},this.isLoading=!0,this.scan().catch(e=>this.fail(e)).finally(()=>{this.isLoading=!1})},rowsFor(e){return this.draft&&this.draft.rows[e]||[]},visibleRows(e){return this.rowsFor(e).filter(e=>this.showSeen||"pending"===e.state)},seenCount(e){return this.rowsFor(e).filter(e=>"pending"!==e.state).length},pendingByOrigin(e,t){return this.rowsFor(e).filter(e=>"pending"===e.state&&e.origin===t&&!e.error)},acceptAll(e,t){this.pendingByOrigin(e,t).forEach(e=>{e.state="approved"}),this.dirty=!0},setState(e,t){e.state=e.state===t?"pending":t,this.dirty=!0},toggleReplaceManual(e){e.replaceManual=!e.replaceManual,this.dirty=!0},approveIfValid(e){e.error||"excluded"===e.state||"skipped"===e.state||this.setState(e,"approved")},onEdit(e){e.error=this.validate(e.shipped,e.text),"approved"===e.state&&e.error&&(e.state="pending"),this.dirty=!0},validate(e,t){if(!t||!t.trim())return this.$t("Cannot be empty");const a=(e,t,a)=>{const s={};t.forEach(e=>{s[e]=(s[e]||0)+1});const i=e.filter(e=>!(s[e]>0)||(s[e]-=1,!1));return i.length?`${this.$t("tag"===a?"Missing tag":"Missing placeholder")} ${i[0]}`:null},s=e=>(e.match(ct)||[]).sort(),i=e=>(e.match(ht)||[]).map(e=>(e.startsWith("</")?"</":"<")+e.replace(/<\/?([a-zA-Z0-9]+)[\s\S]*/,"$1").toLowerCase()+">").sort();return a(s(e),s(t),"placeholder")||a(s(t),s(e),"placeholder")?.replace(this.$t("Missing placeholder"),this.$t("Unexpected placeholder"))||a(i(e),i(t),"tag")||a(i(t),i(e),"tag")?.replace(this.$t("Missing tag"),this.$t("Unexpected tag"))||null},highlight(e){const t=(e.matched||[]).slice().sort((e,t)=>
1t.length-e.length);if(!t.length)return[{text:e.shipped,hit:!1}];const a=e=>e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&"),s=new RegExp(`(?<![\\p{L}\\p{N}_])(${t.map(a).join("|")})(?![\\p{L}\\p{N}_])`,"giu"),i=[];let n,r=0;while(n=s.exec(e.shipped))n.index>r&&i.push({text:e.shipped.slice(r,n.index),hit:!1}),i.push({text:n[0],hit:!0}),r=n.index+n[0].length;return r<e.shipped.length&&i.push({text:e.shipped.slice(r),hit:!1}),i},classLabel(e){return"excluded"===e.state?this.$t("not this term"):"skipped"===e.state?this.$t("kept"):"approved"===e.state?this.$t("approved"):"plain"===e.origin?this.$t("rewrite"):"gender_changed"===e.flag||"check_agreement"===e.flag?this.$t("check grammar"):"has_placeholders"===e.flag?this.$t("check"):"exact"===e.origin?this.$t("exact"):this.$t("check")},classTone(e){return"approved"===e.state?"is-success":"pending"!==e.state?"is-default":"plain"===e.origin?"is-danger":e.flag?"is-warning":"exact"===e.origin?"is-success":"is-info"},flagHint(e){return{gender_changed:this.$t("The new word has a different gender - words around it (articles, pronouns, endings) may need to change"),check_agreement:this.$t("Read the whole sentence - words around the term may need to agree with it"),has_placeholders:this.$t("Keep every {placeholder} exactly as it is"),no_form_for_slot:this.$t("No form was given for this grammatical case, so the base word was inserted as-is")}[e.flag]||""},collect(){const e=this.draft.record,t=[],a={ui:{}},s={ui:{}};return e.locales.forEach(e=>{this.rowsFor(e).forEach(i=>{"pending"!==i.state&&(s.ui[e]=s.ui[e]||[],s.ui[e].push(i.id)),"excluded"===i.state&&(a.ui[e]=a.ui[e]||[],a.ui[e].push(i.id)),"approved"===i.state&&t.push({ns:"ui",id:i.id,locale:e,shipped:i.shipped,shipped_hash:i.shipped_hash,text:i.text,origin:i.origin,flag:i.flag,replace_manual:!!i.replaceManual,needs_rewrite:"plain"===i.origin&&i.text===i.draftText})})}),{approved:t,excluded:a,confirmedHits:s}},saveProgress(e){const t=this.draft.record;return this.isLoading=!0,this.$http.plain.patch(`/tenant_term_renames/${t.uuid}`,this.collect(),{headers:{"Content-Type":"application/merge-patch+json"}}).then(a=>(Object.assign(this.draft.record,this.recordFrom(a.data)),this.dirty=!1,e||this.$buefy.snackbar.open({message:this.$t("Saved"),type:"is-success",duration:3e3}),t.active?this.refreshTenant():null)).catch(e=>this.fail(e)).finally(()=>{this.isLoading=!1})},apply(){const e=this.draft.record;this.$buefy.dialog.confirm({title:this.$t("Apply"),message:this.summarySentence,confirmText:this.$t("Apply"),cancelText:this.$t("Cancel"),onConfirm:()=>{this.isLoading=!0,this.$http.plain.patch(`/tenant_term_renames/${e.uuid}`,this.collect(),{headers:{"Content-Type":"application/merge-patch+json"}}).then(()=>this.$http.plain.post(`/tenant_term_renames/${e.uuid}/apply`,{})).then(e=>(Object.assign(this.draft.record,this.recordFrom(e.data)),this.$buefy.snackbar.open({message:this.$t("Applied"),type:"is-success",duration:4e3}),this.refreshTenant())).catch(e=>this.fail(e)).finally(()=>{this.isLoading=!1})}})},revert(e){this.$buefy.dialog.confirm({title:this.$t("Undo this rename"),message:this.$t("Every text goes back to what it was before this rename. Your own Text Replacements are not affected."),confirmText:this.$t("Undo"),cancelText:this.$t("Cancel"),type:"is-danger",onConfirm:()=>{this.isLoading=!0,this.$http.plain.post(`/tenant_term_renames/${e.uuid}/revert`,{}).then(()=>(this.$buefy.snackbar.open({message:this.$t("Undone"),type:"is-success",duration:3e3}),Promise.all([this.reloadRenames(),this.refreshTenant()]))).catch(e=>this.fail(e)).finally(()=>{this.isLoading=!1})}})},discard(e){this.$buefy.dialog.confirm({title:this.$t("Discard"),message:this.$t("Discard this rename? Nothing was applied."),confirmText:this.$t("Discard"),cancelText:this.$t("Cancel"),type:"is-danger",onConfirm:()=>{this.$http.plain.delete(`/tenant_term_renames/${e.uuid}`).then(()=>this.reloadRenames()).catch(e=>this.fail(e))}})},refreshTenant(){return this.$http.plain.get(`/admin-tenant/${this.tenant.id}`).then(e=>(this.$store.commit("setTenant",e.data),(0,De.q6)()))},fail(e){const t=e?.response?.data?.detail||e?.response?.data?.["hydra:description"]||this.$t("Something went wrong");this.$buefy.snackbar.open({message:t,type:"is-danger",duration:6e3})}}},mt=a(66262);const gt=(0,mt.A)(pt,[["render",Ke],["__scopeId","data-v-3fac93f7"]]);var ft=gt},72389:function(e,t,a){a.d(t,{W:function(){return s}});const s={en:"English",cs:"Czech",es:"Spanish",et:"Estonian",pr:"Portuguese",ua:"Ukrainian",
1nl:"Dutch",de:"German",el:"Greek",fr:"French",it:"Italian",ro:"Romanian",sk:"Slovak",bg:"Bulgarian",lt:"Lithuanian"}}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.