!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.JsLingua=t():e.JsLingua=t()}(this,(function(){return(()=>{var e={925:e=>{function t(e){return Promise.resolve().then((()=>{var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}))}t.keys=()=>[],t.resolve=t,t.id=925,e.exports=t}},t={};function s(r){var n=t[r];if(void 0!==n)return n.exports;var i=t[r]={exports:{}};return e[r](i,i.exports,s),i.exports}s.d=(e,t)=>{for(var r in t)s.o(t,r)&&!s.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},s.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var r={};return(()=>{"use strict";s.d(r,{default:()=>Ot});class e{static version="0.12.2";static rtls=["ara","heb","aze","div","kur","per","fas","urd"];static services={};static async load(e,r){e=e.toLowerCase(),r=r.toLowerCase();let n=this.services[e];if(void 0===n){if(!(e in t))return!1;if(n=t[e],!(r in n))return!1}let i=n[r];if("string"==typeof i){this.services;let t=await s(925)(i);this.aserv(e,r,t.default)}return!0}static aserv(e,t,s){e=e.toLowerCase(),t=t.toLowerCase(),void 0===this.services[e]&&(this.services[e]={}),this.services[e][t]=s}static llang(e){let t=this.services[e.toLowerCase()];return void 0===t?[]:Object.keys(t)}static gserv(e,t){let s=this.services[e.toLowerCase()];return void 0===s?null:(t=t.toLowerCase())in s?s[t]:null}static nserv(e,t){let s=this.gserv(e,t);return null===s?null:new s}static gversion(){return this.version}static gdir(e){return this.rtls.indexOf(e)<0?"ltr":"rtl"}static getService(t,s){return e.gserv(t,s)}static listLanguages(e){return this.llang(e)}static getDir(e){return this.gdir(e)}static getVersion(){return this.version}}let t={info:{ara:"./ara/ara.info.mjs",jpn:"./jpn/jpn.info.mjs",eng:"./eng/eng.info.mjs",fra:"./fra/fra.info.mjs"},lang:{ara:"./ara/ara.lang.mjs",jpn:"./jpn/jpn.lang.mjs",eng:"./eng/eng.lang.mjs",fra:"./fra/fra.lang.mjs"},trans:{ara:"./ara/ara.trans.mjs",jpn:"./jpn/jpn.trans.mjs",eng:"./eng/eng.trans.mjs",fra:"./fra/fra.trans.mjs"},morpho:{ara:"./ara/ara.morpho.mjs",jpn:"./jpn/jpn.morpho.mjs",eng:"./eng/eng.morpho.mjs",fra:"./fra/fra.morpho.mjs"}};const n=e;let i={contains:e=>!1,all:e=>!1};function a(e,t){return function(s){let r=function(e){let t=typeof e;return"number"===t?e:"string"===t&&""!=e?e.charCodeAt(0):-1}(s);return e<=r&&r<=t}}function c(e){return function(t){for(let s=0;s<t.length;s++){let r=t.charCodeAt(s);if(!e(r))return!1}return!0}}function o(e){return function(t){let s="";for(let r=0;r<t.length;r++){let n=t.charCodeAt(r);for(let t=0;t<e.length;t++){let s=e[t];if(s.found(n)){n+=s.offset;break}}s+=String.fromCharCode(n)}return s}}const u=class{static CS={};static TR={};static langCode="";static _nChs(e,t,s){this.CS[e]=a(t,s)}static _nTrans(e,t,s){let r=[];for(let e=0;e<s.length;e++){let t=function(){return!1},n=s[e],i=n.setName,c=n.begin,o=n.end;i&&i in this.CS?t=this.CS[i]:"number"==typeof c&&"number"==typeof o&&(t=a(c,o)),r.push({offset:n.offset,found:t})}this.TR[e]={fct:o(r),desc:t}}static lchars(){return Object.keys(this.CS)}static listCharSets(){return this.lchars()}static gcharverify(e){let t=this.CS[e];return t?{contains:(s=t,function(e){for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(s(r))return!0}return!1}),all:c(t)}:i;var s}static getCharSetFunctions(e){return this.gcharverify(e)}static schars(e){this.charFcts=this.gcharverify(e)}static contains(e){return this.charFcts.contains(e)}static all(e){return this.charFcts.all(e)}static ltrans(){return Object.keys(this.TR)}static listTransformations(){return this.ltrans()}static gtrans(e){return e in this.TR?this.TR[e].fct:function(e){return e}}static getTransformationFunction(e){return this.gtrans(e)}static gtransdesc(e){return e in this.TR?this.TR[e].desc:""}static getTransDesc(e){return this.gtransdesc(e)}static strans(e){this.transFct=this.gtrans(e)}static trans(e){return this.transFct(e)}static nbr2str(e){return e}static pronounceNumber(e){return this.nbr2str(e)}};class l{static code="";static methods={};static defMethod="";static currentMethod="";static _nTrans(e,t,s){"string"==typeof e&&e.length>0&&(this.methods[e]={},this.defMethod.length<1&&(this.currentMethod=this.defMethod=e),this.methods[e].trans=this.methods[e].untrans=function(e){return e},Array.isArray(t)&&Array.isArray(s)&&t.length===s.length&&(this.methods[e].trans=h(t,s),this.methods[e].untrans=h(s,t)))}static _sTrans(e,t,s){e in this.methods&&("function"==typeof t&&(this.methods[e].trans=t),"function"==typeof s&&(this.methods[e].untrans=s))}static _sTransCnd(e,t,s){e in this.methods&&("function"==typeof t&&(this.methods[e].preTrans=t),"function"==typeof s&&(this.methods[e].postTrans=s))}static _sUntransCnd(e,t,s){e in this.methods&&("function"==typeof t&&(this.methods[e].preUntrans=t),"function"==typeof s&&(this.methods[e].postUntrans=s))}static strans(e){e in this.methods&&(this.currentMethod=e)}static ltrans=function(){return Object.keys(this.methods)};static listTransliterations(){return this.ltrans()}static trans(e){let t=e;return"function"==typeof this.methods[this.currentMethod].preTrans&&(t=this.methods[this.currentMethod].preTrans(t)),t=this.methods[this.currentMethod].trans(t),"function"==typeof this.methods[this.currentMethod].postTrans&&(t=this.methods[this.currentMethod].postTrans(t)),t}static transliterate(e){return this.trans(e)}static untrans(e){let t=e;return"function"==typeof this.methods[this.currentMethod].preUntrans&&(t=this.methods[this.currentMethod].preUntrans(t)),t=this.methods[this.currentMethod].untrans(t),"function"==typeof this.methods[this.currentMethod].postUntrans&&(t=this.methods[this.currentMethod].postUntrans(t)),t}static untransliterate(e){return this.untrans(e)}}const p=["0","1","2","3","4","5","6","7","8","9","#",",","?","'","!","/","(",")","&",":",";","=","+","^","_",'"',"$","@"],d=[" ----- "," .---- "," ..--- "," ...-- "," ....- "," ..... "," -.... "," --... "," ---.. "," ----. "," .-.-.- "," --..-- "," ..--.. "," .----. "," -.-.-- "," -..-. "," -.--. "," -.--.- "," .-... "," ---... "," -.-.-. "," -...- "," .-.-. "," -....- "," ..--.- "," .-..-. "," ...-..- "," .--.-. "];function h(e,t){return function(s){let r=s;for(let s=0;s<e.length;s++){let n=e[s].replace(/([.*+?^=!:${}()|[\]/\\])/g,"\\$1");r=r.replace(new RegExp(n,"g"),t[s])}return r}}l.specialCharTrans=h(p,d),l.specialCharUntrans=h(d,p);const m=l;class f{static stemmers={};static converters={};static cstemmer="";static cconverter="";static langCode="";static ssplitter=/([.?!])(?:\s+|$)/;static tsplitter=/([,;])?\s+/;static Tense={Pa:"past",Pr:"present",Fu:"future"};static Aspect={S:"simple",C:"continuous",P:"perfect",PC:"perfect-continuous",I:"imperfect"};static Mood={Ind:"indicative",Imp:"imperative",Cnd:"conditional",Pot:"potential",Sub:"subjunctive",Jus:"jussive",Prp:"purposive",Qot:"quotative",Opt:"optative",Des:"desiderative",Nec:"necessitative",Adm:"admirative"};static Voice={A:"active",P:"passive",M:"middle"};static GNumber={S:"singular",D:"dual",P:"plural"};static Person={F:"first",S:"second",T:"third"};static Gender={M:"masculine",F:"feminine",N:"neuter"};static Formality={Pl:"plain",Po:"polite"};static _nStem(e,t,s){if("string"==typeof e&&e.length>0){let r=this.stemmers[e]={};r.desc=t,r.fct=s}}static _nConv(e,t,s){if("string"==typeof e&&e.length>0){let r=this.converters[e]={};r.desc=t,r.fct=s}}static _conj(e,t){return e}static stem(e){var t=this.stemmers[this.cstemmer];return"object"!=typeof t||"function"!=typeof t.fct?e:t.fct(e)}static lstem(){return Object.keys(this.stemmers)}static listStemmers(){return this.lstem()}static sstem=function(e){e in this.stemmers&&(this.cstemmer=e)};static setCurrentStemmer(e){this.sstem(e)}static gstemdesc(e){return e in this.stemmers?this.stemmers[e].desc:""}static getStemmerDescription(e){return this.gstemdesc(e)}static conv(e){var t=this.converters[this.cconverter];return"object"!=typeof t||"function"!=typeof t.fct?e:t.fct(e)}static convertPoS(e){return this.conv(e)}static lconv=function(){return Object.keys(this.converters)};static listPosConverters(){return this.lconv()}static sconv(e){e in this.converters&&(this.cconverter=e)}static setCurrentPosConverter(e){this.sconv(e)}static gconvdesc(e){return e in this.converters?this.converters[e].desc:""}static getPosConverterDesc=function(e){return this.gconvdesc(e)};static conj(e,t,s){let r=t||{};if("string"==typeof s){let e=this.gform(s);"object"==typeof e&&(r=Object.assign({},r,e))}return this._conj(e,r)}static conjugate(e,t,s){return this.conj(e,t,s)}static gtensename(e){switch(e){case Tense.Pa:return"past";case Tense.Pr:return"present";case Tense.Fu:return"future"}return""}static getTenseName(e){return this.gtensename(e)}static lvtype(){return[]}static listVerbTypes(){return this.lvtype()}static gvtype(e){return""}static getVerbType(e){return this.gvtype(e)}static lform(){return{pres:{desc:"Indicative present",mood:this.Mood.Ind,tense:this.Tense.Pr,aspect:this.Aspect.S},past:{desc:"Indicative past",mood:this.Mood.Ind,tense:this.Tense.Pa,aspect:this.Aspect.S},fut:{desc:"Indicative future",mood:this.Mood.Ind,tense:this.Tense.Fu,aspect:this.Aspect.S}}}static listForms(){return this.lform()}static gform(e){return this.lform()[e]}static gformdesc(e){let t=this.lform();return e in t?t[e].desc:""}static getFormDescription(e){return this.gformdesc(e)}static gconjmod(){return{rows:["Pronoun"],cols:["Voice","Negation"]}}static getConjugationModel(){return this.gconjmod()}static lconjopt(e){switch(e){case"Pronoun":return this._gPpOpts();case"Negation":return this._gNegOpts();case"Voice":return this._gVoiceOpts();default:return[{}]}}static listConjugationOptions(e){return this.lconjopt(e)}static goptname(e,t){switch(e){case"Pronoun":return this._gPpName(t);case"Negation":return this._gNegName(t);case"Voice":return this._gVoiceName(t)}return""}static getOptName(e,t){return this.goptname(e,t)}static _gNegOpts(){return[{negated:0},{negated:1}]}static _gNegName(e){return e?e.negated?"negative":"affirmative":""}static _gVoiceOpts(){return[{voice:f.Voice.A},{voice:f.Voice.P}]}static _gVoiceName(e){if(!e)return"";if(!e.voice)return"";switch(e.voice){case f.Voice.A:return"active";case f.Voice.P:return"passive"}return""}static _gPpOpts=function(){return[{}]};static _gPpName(e){return""}static norm(e,t){return e}static normalize(e,t){return this.norm(e,t)}static gsents(e){let t=e.split(this.ssplitter).filter(Boolean);return this.abbr?function(e,t){let s;for(s=e.length-1;s>=0;s--)if("."===e[s]&&s>0){let r=e[s-1].split(" ").pop();(/(?:[^.\d]\.[^.\d])+/.test(r)||t[r.toLowerCase()])&&(e[s-1]+=".",s+1<e.length?(e[s+1].charAt(0),e[s-1]+=" "+e[s+1],e.splice(s,2)):e.splice(s,2))}return e}(t,this.abbr):t}static splitToSentences(e){return this.gsents(e)}static tokenize(e){return e.split(this.tsplitter).filter(Boolean)}static filter(e){return e}static filterStopWords(e){return this.filter(e)}static parseConjModel(){let e={rows:{},cols:{}},t=this.getConjugationModel();return e.rows=g(this,t.rows),e.cols=g(this,t.cols),e}}function g(e,t){let s={labels:[],spans:[1],opts:[{}]};for(let r=0;r<t.length;r++){let n=[],i=e.lconjopt(t[r]);for(let e=0;e<s.spans.length;e++)s.spans[e]*=i.length;let a=[];s.opts.forEach((function(s,c){i.forEach((function(i){let o=Object.assign({},s,i);n.push(o),c||a.push(e.getOptName(t[r],i))}))})),s.opts=n,s.spans.push(1),s.labels.push(a)}return s.spans.shift(),s}const v=f,b=class{static code="";static name="";static origName="";static dir="ltr";static wordOrder="svo";static family="";static branch="";static getName(){return this.name}static getOrigName(){return this.origName}static getCode(){return this.code}static getFamily(){return this.family}static getBranch(){return this.branch}static getDir(){return this.dir}static getWordOrder(){return this.wordOrder}};class y extends u{static CS={};static TR={};static langCode="ara";static nbr2str(e){if(isNaN(e))return"";if(e<0)return"ناقص "+this.nbr2str(-e);if(0==e)return _[e];if(8==e)return _[e]+"ية";if(e<3)return _[e];if(e<10)return _[e]+"ة";if(e<100){let t=~~(e/10),s=~~(e%10);if(1==t)return 0==s?_[10]+"ة":1==s?"أحد "+_[10]:2==s?"إثنا "+_[10]:this.nbr2str(s)+" "+_[10];let r=_[t]+"ون";if(2==t&&(r=_[10]+"ون"),0==s)return r;let n=" و";return this.nbr2str(s)+n+r}for(let t=1;t<P.length;t++){let s=P[t],r=P[t-1];if(e<s){let t=~~(e/r),s=~~(e%r),n=_[r],i="",a="";return t<3?2==t&&(n=$[r]):t<10?(i=_[t],100!=r&&(i+="ة "),n=I[r]):(i=this.nbr2str(t)+" ",~~(t%100)<11&&(n=I[r])),2==t&&(n=$[r],i=""),s>0&&(a=" و"+this.nbr2str(s)),i+n+a}}let t=P[P.length-1],s=~~(e/t),r=~~(e%t),n=_[t],i="",a="";return s<3?2==s&&(n=$[t]):s<10?(i=_[s],100!=t&&(i+="ة "),n=I[t]):i=this.nbr2str(s)+" ",r>0&&(a=" و"+this.nbr2str(r)),i+n+a}}y._nChs("MainArabic",1536,1791),y._nChs("ArabicSupplement",1872,1919),y._nChs("ArabicExtendedA",2208,2303),y._nChs("ArabicPresentationA",64336,65023),y._nChs("ArabicPresentationB",65136,65279),y._nChs("IndicNumeral",1632,1641),y._nChs("ArabicNumeral",48,57),y._nTrans("ind2ara","Indic to Arabic Numerals",[{offset:-1584,setName:"IndicNumeral"}]),y._nTrans("ara2ind","Arabic to Indic Numerals",[{offset:1584,setName:"ArabicNumeral"}]);const _={0:"صفر",1:"واحد",2:"اثنان",3:"ثلاث",4:"أربع",5:"خمس",6:"ست",7:"سبع",8:"ثمان",9:"تسع",10:"عشر",100:"مائة",1e3:"ألف",1e6:"مليون",1e9:"مليار"},P=[100,1e3,1e6,1e9],$={100:"مائتان",1e3:"ألفان",1e6:"مليونان",1e9:"ملياران"},I={100:"مائة",1e3:"آلاف",1e6:"ملايين",1e9:"ملايير"},x=y;class T extends m{static code="ara";static methods={};static defMethod="";static currentMethod=""}const C=["ث","ح","خ","ذ","ش","ص","ض","ط","ظ","غ","ب","ت","ج","د","ر","ز","س","ع","ف","ق","ك","ل","م","ن","ه","و","ي","أ","إ","ؤ","ئ","آ","ٱ","ٰ","ى","ً","ٌ","ٍ","َ","ُ","ِ","ّ","ـ","ة","ْ","ء","ا"];T._nTrans("buckwalter",C,["v","H","x","*","$","S","D","T","Z","g","b","t","j","d","r","z","s","E","f","q","k","l","m","n","h","w","y",">","<","&","}","|","{","`","Y","F","N","K","a","u","i","~","_","p","o","'","A"]),T._nTrans("arabtex",C,["_t",".h","_h","_d","^s",".s",".d",".t",".z",".g","b","t","j","d","r","z","s","`","f","q","k","l","m","n","h","w","y","'","'i","'","'","'A","|","_a","_A","aN","uN","iN","a","u","i","xx","--","T",'"',"'","A"]),T._nTrans("morse",C,[" -.-. "," .... "," --- "," --.. "," ---- "," -..- "," ...- "," ..- "," -.-- "," --. "," -... "," - "," .--- "," -.. "," .-. "," ---. "," ... "," .-.- "," ..-. "," --.- "," -.- "," .-.. "," -- "," -. "," ..-.. "," .-- "," .. ","*","*","*","*","*","*","*","*","*","*","*","*","*","*","*","*","*","*"," . "," .- "]),T._sTransCnd("morse",(function(e){let t=e;return t=t.replace(/[\^#]/gi,""),t=t.replace(/\./gi,"#").replace(/-/gi,"^"),t=t.replace(/[ ]+/gi,"\t"),t=function(e){let t=e;return t=t.replace(/[أإئؤ]/gi,"ء"),t=t.replace(/[ىآ]/gi,"ا"),t=t.replace(/[ة]/gi,"ه"),t}(t),t}),(function(e){let t=e;return t=m.specialCharTrans(t),t=t.replace(/ +/gi," "),t=t.replace(/^ /gi,""),t=t.replace(/ $/gi,""),t=t.replace(/\t/gi,"   "),t=t.replace(/[^ .-]/gi,""),t.trim()})),T._sUntransCnd("morse",(function(e){let t=e;return t=t.replace(/[^ .-]/gi,""),t=t.replace(/[ ]{3,}/gi," \t "),t=t.replace(/ +/gi,"  "),t=t.replace(/^/gi," "),t=t.replace(/$/gi," "),t}),(function(e){let t=e;return t=m.specialCharUntrans(t),t=t.replace(/#/gi,".").replace(/\^/gi,"-"),t=t.replace(/ +/gi,""),t=t.replace(/\t/gi," "),t}));const w=T;class O extends v{static stemmers={};static converters={};static cstemmer="";static cconverter="";static langCode="ara";static ssplitter=/([.؟!])(?:\s+|$)/;static _conj(e,t){return D(e,t)}static getTenseName(e){switch(e){case v.Tense.Pa:return"الماضي";case v.Tense.Pr:return"المضارع";case v.Tense.Fu:return"المستقبل"}return""}static lform(){let e=v.lform();const t={imp:{desc:"Imperative",mood:v.Mood.Imp}};return Object.assign({},e,t)}static _gPpOpts(){return[{person:v.Person.F,number:v.GNumber.S},{person:v.Person.F,number:v.GNumber.P},{person:v.Person.S,number:v.GNumber.S,gender:v.Gender.M},{person:v.Person.S,number:v.GNumber.S,gender:v.Gender.F},{person:v.Person.S,number:v.GNumber.D,gender:v.Gender.M},{person:v.Person.S,number:v.GNumber.D,gender:v.Gender.F},{person:v.Person.S,number:v.GNumber.P,gender:v.Gender.M},{person:v.Person.S,number:v.GNumber.P,gender:v.Gender.F},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.M},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.F},{person:v.Person.T,number:v.GNumber.D,gender:v.Gender.M},{person:v.Person.T,number:v.GNumber.D,gender:v.Gender.F},{person:v.Person.T,number:v.GNumber.P,gender:v.Gender.M},{person:v.Person.T,number:v.GNumber.P,gender:v.Gender.F}]}static _gPpName(e){return M[X(e)]}static norm(e,t){let s=e.trim();return(!t||t.length<1)&&(t="voc,alef,yeh,teh,_"),t.includes("voc")&&(s=s.replace(/[َ ً ُ ٍ ْ ِ ٌ]/g,"")),t.includes("alef")&&(s=s.replace(/[أإآ]/g,"ا")),t.includes("ihamza")&&(s=s.replace(/^[أإآ]/g,"ا")),t.includes("yeh")&&(s=s.replace(/[ى]/g,"ي")),t.includes("teh")&&(s=s.replace(/[ة]/g,"ه")),t.includes("_")&&(s=s.replace(/[ـ]+/g,"")),s}}const M=["أَنَا","نَحْنُ","أَنْتَ","أَنْتِ","أَنْتُمَا","أَنْتُمَا","أَنْتُمْ","أَنْتُنَّ","هُوَ","هِيَ","هُمَا","هُمَا","هُمْ","هُنَّ"],H={[v.Tense.Pr]:{prefix:["أَ","نَ","تَ","تَ","تَ","تَ","تَ","تَ","يَ","تَ","يَ","تَ","يَ","يَ"],suffix:["ُ","ُ","ُ","ِينَ","َانِ","َانِ","ُونَ","ْنَ","ُ","ُ","َانِ","َانِ","ُونَ","ْنَ"]},[v.Tense.Pa]:{prefix:[],suffix:["ْتُ","ْنَا","ْتَ","ْتِ","ْتُمَا","ْتُمَا","ْتُمْ","ْتُنَّ","َ","َتْ","َا","َتَا","ُوا","ْنَ"]}},A={أب:1,أج:1,أد:1,أر:1,أز:1,أش:1,أض:1,أف:1,أق:1,أل:1,أن:1,أه:1,أي:1,بب:1,بح:1,بخ:1,بر:1,بز:1,بس:1,بش:1,بص:1,بغ:1,بق:1,بل:1,تب:1,تج:1,تق:1,ثب:1,ثر:1,ثل:1,ثي:1,جب:1,جح:1,جد:1,جر:1,جز:1,جس:1,جط:1,جع:1,جف:1,جق:1,جل:1,جن:1,جو:1,جي:1,حب:1,حت:1,حث:1,حج:1,حذ:1,حز:1,حس:1,حش:1,حص:1,حط:1,حف:1,حق:1,حك:1,حل:1,حم:1,حي:1,خج:1,خخ:1,خذ:1,خر:1,خص:1,خض:1,خل:1,خن:1,خو:1,خي:1,دء:1,دب:1,دح:1,دخ:1,دد:1,در:1,دس:1,دش:1,دط:1,دغ:1,دف:1,دق:1,دك:1,دل:1,دم:1,دن:1,دي:1,ذب:1,ذد:1,ذق:1,ذي:1,رب:1,رث:1,رج:1,رح:1,رد:1,رز:1,رس:1,رض:1,رع:1,رغ:1,رق:1,رل:1,رم:1,ري:1,زج:1,زح:1,زر:1,زغ:1,زق:1,زل:1,زم:1,زن:1,زي:1,سء:1,سج:1,سخ:1,سد:1,سط:1,سع:1,سغ:1,سف:1,سق:1,سك:1,سم:1,سي:1,شب:1,شر:1,شش:1,شط:1,شظ:1,شف:1,شق:1,شك:1,شل:1,شم:1,شه:1,شي:1,صب:1,صت:1,صج:1,صح:1,صص:1,صع:1,صغ:1,صف:1,صل:1,صم:1,صن:1,ضء:1,ضج:1,ضر:1,ضي:1,طح:1,طد:1,طس:1,طع:1,طف:1,طق:1,طل:1,طي:1,عج:1,عد:1,عذ:1,عر:1,عز:1,عص:1,عض:1,عق:1,عل:1,عم:1,عن:1,عه:1,عي:1,غء:1,غر:1,غز:1,غش:1,غص:1,غط:1,غغ:1,غل:1,غي:1,فت:1,فج:1,فح:1,فد:1,فر:1,فز:1,فط:1,فع:1,فف:1,فق:1,فل:1,فه:1,قب:1,قت:1,قد:1,قر:1,قش:1,قص:1,قض:1,قط:1,قع:1,قق:1,قل:1,قم:1,قن:1,قه:1,قي:1,كب:1,كخ:1,كر:1,كز:1,كس:1,كش:1,كع:1,كف:1,كك:1,كم:1,كن:1,كي:1,لب:1,لث:1,لج:1,لح:1,لذ:1,لز:1,لس:1,لص:1,لط:1,لع:1,لف:1,لك:1,لم:1,لي:1,مء:1,مت:1,مج:1,مر:1,من:1,مه:1,نء:1,نب:1,نت:1,نح:1,نخ:1,ند:1,نر:1,نس:1,نش:1,نص:1,نط:1,نع:1,نف:1,نق:1,نن:1,نه:1,نو:1,ني:1,هت:1,هد:1,هر:1,هس:1,هش:1,هع:1,هل:1,هن:1,هو:1,هي:1,يد:1,يم:1},j={أب:1,أد:1,أر:1,أس:1,أض:1,أك:1,أل:1,أم:1,أن:1,بت:1,بد:1,بض:1,بع:1,بن:1,تح:1,تر:1,تس:1,تل:1,تم:1,ته:1,جء:1,جش:1,جف:1,حث:1,حد:1,حر:1,حض:1,حف:1,حق:1,حك:1,حن:1,حو:1,حي:1,خب:1,خس:1,خش:1,خط:1,خل:1,خم:1,دث:1,دك:1,دن:1,ذع:1,ذل:1,رب:1,رس:1,رش:1,رع:1,رف:1,رل:1,رن:1,ري:1,زت:1,زح:1,زد:1,زز:1,زغ:1,زف:1,زق:1,زن:1,زي:1,سب:1,سح:1,سخ:1,سر:1,سف:1,سل:1,شب:1,شت:1,شح:1,شخ:1,شد:1,شط:1,شع:1,شف:1,شق:1,شل:1,شم:1,شن:1,صب:1,صح:1,صد:1,صر:1,صص:1,صع:1,صف:1,ضر:1,ضع:1,ضف:1,ضق:1,ضم:1,طب:1,طح:1,طر:1,طش:1,طع:1,طن:1,عب:1,عث:1,عر:1,عس:1,عش:1,عط:1,عف:1,عن:1,عه:1,عي:1,غب:1,غث:1,غد:1,غر:1,غض:1,غط:1,غظ:1,غل:1,غم:1,غن:1,غي:1,فء:1,فد:1,فش:1,فض:1,فظ:1,فف:1,فل:1,فن:1,قء:1,قح:1,قر:1,قس:1,قش:1,قض:1,قظ:1,قف:1,قن:1,قي:1,كد:1,كر:1,كس:1,كف:1,كل:1,كي:1,لث:1,لس:1,لق:1,لل:1,لن:1,لي:1,مح:1,مد:1,مر:1,مز:1,مس:1,مط:1,مع:1,مل:1,من:1,نق:1,نك:1,ني:1,هء:1,هب:1,هت:1,هج:1,هر:1,هش:1,هض:1,هط:1,هف:1,هل:1,هم:1,وب:1,ول:1},N=["ل","ب","ف","س","و","ي","ت","ن","ا"],S=["ال","لل"],z=["كال","بال","ولل","وال"],W=["ة","ه","ي","ك","ت","ا","ن"],k=["ون","ات","ان","ين","تن","كم","هن","نا","يا","ها","تم","كن","ني","وا","ما","هم"],B=["تمل","همل","تان","تين","كمل"];let G={verb:"",filter:"",len:0,wb:!1,wm:!1,we:!1,m:!1},F={verb:"",res:""};function K(e){return null!=e}function R(e){return e.startsWith("م")?e.slice(1):/^.ا/.test(e)?e[0]+e.slice(2):/^..[اوي]/.test(e)?e.slice(0,-2)+e[3]:"ة"===e[3]?e.slice(0,-1):(4===(e=U(e)).length&&(e=E(e)),e)}function U(e){for(let t in W)if(e.endsWith(W[t]))return e.slice(0,-1);return e}function E(e){for(let t in N)if(e.startsWith(N[t]))return e.slice(1);return e}function V(e){let t;return K(t=/^ا(.)[ات](.+)$/.exec(e))||K(t=/^م(..)[اوي](.)$/.exec(e))?t[1]+t[2]:K(t=/^[متا](.+)ة$/.exec(e))?t[1]:K(t=/^[ميت](.)ت(.+)$/.exec(e))||K(t=/^[مت](.)ا(.+)$/.exec(e))||K(t=/^(..)[وا](.)ة$/.exec(e))?t[1]+t[2]:K(t=/^[ام]ن(.+)$/.exec(e))?t[1]:K(t=/^ا(..)ا(.)$/.exec(e))?t[1]+t[2]:K(t=/^(...)ان$/.exec(e))?t[1]:K(t=/^ت(..)ي(.)$/.exec(e))?t[1]+t[2]:K(t=/^(.)ا(.)و(.)$/.exec(e))?t[1]+t[2]+t[3]:K(t=/^(.)وا(..)$/.exec(e))||K(t=/^(..)ائ(.)$/.exec(e))||K(t=/^(.)ا(..)ة$/.exec(e))||K(t=/^(..)ا(.)ي$/.exec(e))?t[1]+t[2]:(5===(e=U(e)).length&&(e=E(e)),e)}function q(e){return 4===e.length?R(e):5===e.length?function(e){let t;return K(t=/^[تام](.+)$/.exec(e))||K(t=/^(.+)ة$/.exec(e))?t[1]:K(t=/^(..)ا(..)$/.exec(e))?t[1]+t[2]:e}(e):e}function Q(e){let t;return K(t=/^[ام]ست(.+)$/.exec(e))?t[1]:K(t=/^م(..)ا(.)ة$/.exec(e))?t[1]+t[2]:K(t=/^ا(.)ت(.)ا(.)$/.exec(e))||K(t=/^ا(.)(.)و\2(.)$/.exec(e))||K(t=/^ت(.)ا(.)ي(.)$/.exec(e))?t[1]+t[2]+t[3]:(6===(e=U(e)).length&&(e=E(e)),e)}function L(e){return 5===e.length?q(e=V(e)):6===e.length?function(e){let t;return K(t=/^ا(...)ا(.)$/.exec(e))?t[1]+t[2]:K(t=/^مت(.+)$/.exec(e))?t[1]:e}(e):e}function D(e,t){if(t.mood===v.Mood.Imp)return function(e,t){if(J(t))return"";let s=Object.assign({},t);s.mood=v.Mood.Ind,s.tense=v.Tense.Pa,s.voice=v.Voice.A,s.negated=1,s.noNegMark=1;let r=D(e,s);if(t.negated)return"لَا "+r;r=r.slice(2);let n="";return G.wb?/^أ.{3}$/.test(G.filter)?n="أَ":G.filter.startsWith("ا")&&(n="ا"):/[َُِ]/.test(r[1])||/^ت.(ا.|.).$/.test(G.filter)||(n="ا"),n+r}(e,t);if(function(e){if((e=(e=e.trim()).replace(/^(.َ?.)َ?$/,"$1َّ"))===G.verb)return;G.verb=e;let t=e.replace("آ","أا");t=/َ?ّ$/.test(e)?t+t.slice(-1):t,t=t.replace(/[َُِّْ]/gi,""),G.filter=t,G.len=t.length+e.replace(/[^ّ]/g,"").length,G.wb=/^[أاو]/.test(t),G.wm=/[اآ].$/.test(t),G.we=/[اى]$/.test(t),G.m=/َّ?$/.test(e)}(e),J(t))return"";let s=t.tense;t.tense===v.Tense.Fu&&(t.tense=v.Tense.Pr);let r=X(t),n={v:e,t:t.tense,s:"",p:"",dV:t.tense===v.Tense.Pr?"ْ":"َ",dR:t.tense===v.Tense.Pr?"ِ":"َ"};!function(e,t,s){let r="";if(t.negated){let n=t.tense===v.Tense.Pa?"ْ":"َ";r=H[v.Tense.Pr].suffix[s],/[^ْ]ن[َِ]$/.test(r)?(r=r.slice(0,-2),r.endsWith("و")&&(r+="ا")):/ن[َِ]$/.test(r)||(r=r.slice(0,-1)+n),t.tense=v.Tense.Pr,e.dV="ْ",e.dR="ِ"}else r=H[t.tense].suffix[s];e.s=r;let n=H[t.tense].prefix[s];n||(n=""),e.p=n}(n,t,r),function(e,t){let s=e.v,r=G.filter,n=e.dV,i=e.dR,a=e.p;3===G.len?(i="X",/[^أعحه][^أعحه]$/g.test(r)||/.ُ.[َُِ]?$/g.test(s)&&(i="")):r.startsWith("ت")&&(i="َ"),t.tense===v.Tense.Pr?4===G.len&&(a=a.slice(0,-1)+"ُ",n=/^.َ?(ا|.ّ)/.test(s)?"َ":"ْ"):4===G.len&&(i="َ",r.startsWith("أ")&&(n="ْ")),/^ان.{3}$/.test(r)&&(n="َ"),e.v=s,G.filter=r,e.dV=n,e.dR=i,e.p=a}(n,t),G.wb&&function(e,t){let s=e.v,r=G.filter,n=G.len;t.tense===v.Tense.Pr&&(s=t.voice!==v.Voice.P||3!==n||r.startsWith("أ")?s.slice(1):s.replace(/^(.)[َُِْ]/,"$1"),/^ا.ت..$/.test(r)&&(e.dV="َ")),/^ا.{3}$/.test(r)&&(e.dV="ْ"),e.v=s}(n,t),G.wm&&function(e,t,s){let r=e.v,n=function(e,t){if(F.verb===e)return F.res;if(F.verb=e,t.length>3)return F.res=2,2;let s=t[0]+t[2],r=0;return A[s]?r=1:j[s]&&(r=2),F.res=r,r}(r,G.filter),i="َُِ"[n],a="";if(t.tense===v.Tense.Pa)a=3===G.len?"ُ":"َ",13===s||s<8?(r=r.replace(/^(.+)ا(.َ?)$/,"$1$2"),r.startsWith("آ")&&(r="أ"+r.slice(1)),0===n&&(i="ِ")):(a="",i="َ");else{let e="اوي"[n];t.voice!==v.Voice.P?([7,13].indexOf(s)>-1&&(e=""),r=r.replace(/^(.+)ا(.َ?)$/,"$1"+e+"$2")):(i="َ",a="X")}e.v=r,e.dV=i,e.dR=a}(n,t,r),G.we&&function(e,t,s){let r=e.v,n=e.dR;n="َ",r=r.slice(0,-1),t.voice===v.Voice.P?t.tense===v.Tense.Pa||[4,5,7,10,11,13].indexOf(s)>-1?(r+="ي",n="ِ"):r+="ى":G.filter.endsWith("ى")?(r+="ي",t.tense!==v.Tense.Pa&&(n="ِ")):(r+="و",t.tense!==v.Tense.Pa&&(n="ُ")),e.v=r,e.dR=n,function(e,t,s){let r=e.v,n=e.p,i=e.s;if(s.tense===v.Tense.Pa){if(s.voice!==v.Voice.P)if(8===t){n=i="";let e=r.slice(-1);r=r.slice(0,-1),r+="ي"===e?"ى":"ا"}else[9,11,12].indexOf(t)>-1&&(r=r.slice(0,-1),/[وي]$/.test(r)&&(r=r.slice(0,-1)))}else[0,1,2,8,9].indexOf(t)>-1?(s.negated&&e.t===v.Tense.Pa&&(r=r.slice(0,-1)),s.voice!==v.Voice.P&&s.negated&&e.t!==v.Tense.Pa||(i="")):[3,6,12].indexOf(t)>-1&&(r=r.slice(0,-1),/[وي]$/.test(r)&&(r=r.slice(0,-1)));e.v=r,e.p=n,e.s=i}(e,s,t)}(n,t,r),G.m&&function(e,t,s){let r=e.v;t.tense===v.Tense.Pr?[7,13].indexOf(s)>-1?(r=r.replace(/^(.*)(.)َّ?$/,"$1$2َ$2ْ"),e.dR=G.len<4?"ُ":"ِ"):(r=r.replace(/َ$/,""),G.len>4?(e.dV="ْ",e.dR="َ"):(e.dV="ُ",e.dR="")):13===s||s<8?(e.dR="َ",r=r.replace(/^(.*)(.)َّ?$/,"$1$2َ$2ْ")):e.dR="",e.v=r}(n,t,r),function(e,t){if(t.voice!==v.Voice.P)return;let s=e.s,r=e.v;t.tense===v.Tense.Pa?(e.dV=G.wm?"ِ":"ُ",e.dR=G.wm?"X":"ِ",/^أ.{3}$/.test(G.filter)&&(e.dV="ْ",r=r.replace(/^أ[َُِْ]?/,"أُ"))):(e.p=e.p.slice(0,-1)+"ُ",e.dR=G.wm?"X":"َ",G.we&&s.startsWith("ْ")&&(s=s.slice(1))),e.s=s,e.v=r}(n,t),function(e){let t=e.dV,s=e.dR,r=e.v,n=G.filter,i=r.replace(/[َُِّْ]/g,""),a=G.len,c=G.wm&&2===i.length;t&&("X"===t&&(t=""),r=i.length<4||/^.ا../.test(i)?r.replace(/^(.)[َُِْ]?/,"$1"+t):i.startsWith("است")?r.replace(/(ا[َُِْ]?س[َُِْ]?ت)[َُِْ]?/,"$1"+t):5===a&&/^ا.{3}$/.test(n)?r.replace(/^(ا?[َُِْ]?.)[َُِْ]?/,"$1"+t):/ت.{3}/.test(i)?r.replace(/(.ّ?)[َُِْ]?(.[َُِْ]?)$/,"$1"+t+"$2"):r.replace(/(.*[^َُِْ])[َُِْ]?([^َُِْ][َُِْ]?[^َُِْ][َُِْ]?)$/,"$1"+t+"$2")),s&&!c&&("X"===s&&(s=""),G.we&&2===i.length?r=r.replace(/^(.[َُِْ]?.)[َُِْ]?/,"$1"+s):G.m&&2===i.length||(r=r.replace(/(.ّ?)[َُِْ]?(.ّ?)[َُِْ]?$/,"$1"+s+"$2"))),e.v=r}(n);let i=n.p;if(i+=/^[َُِْ]/.test(n.s)?n.v.replace(/[َُِْ]$/,""):n.v,i+=n.s,i=function(e){return(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/أْوِ/,"ؤُو")).replace(/أَأْ/,"آ")).replace(/أَا/,"آ")).replace("أِي","ئِي")).replace(/ِأ(.?)/,"ئ$1")).replace(/(.)أُو/,"$1ؤُو")).replace(/([ِي])ء([َُِْ].)/,"$1ئ$2")).replace(/اءُ?و/,"اؤُو")).replace("ِا","ِي")).replace(/َا(.ْ)/,"َ$1")).replace("ُا","ُو")}(i),i=function(e){return(e=e.replace(/ُو(.ْ)/,"ُ$1")).replace("ُوْ","ُو")}(i),i=function(e){return(e=e.replace(/ِي(.ْ)/,"ِ$1")).replace("ِيْ","ِي")}(i),i=i.replace(/(.)ْ\1([َُِ])/,"$1ّ$2"),!t.noNegMark){let e="";t.negated?(e="لَمْ ",s===v.Tense.Pr&&(e="لَنْ ")):s===v.Tense.Fu&&(e="سَوْفَ "),i=e+i}return i.trim()}function J(e){if(e.voice===v.Voice.P){if(e.mood===v.Mood.Imp)return!0;if(G.len>4){let e=G.filter;if(e.startsWith("ت"))return!0;if(/^ان.{3}$/.test(e))return!0;if(/^ا.{3}$/.test(e))return!0}}return e.mood===v.Mood.Imp&&e.person!==v.Person.S}function X(e){return e.person===v.Person.F?e.number===v.GNumber.S?0:1:6*(Object.values(v.Person).indexOf(e.person)-1)+2*Object.values(v.GNumber).indexOf(e.number)+Object.values(v.Gender).indexOf(e.gender)+2}O._nStem("isri","ISRI Arabic stemmer",(function(e){let t=e;if(O.prototype.norm,t=O.norm(t,"voc"),t=function(e){if(e.length>=6)for(let t in z)if(e.startsWith(z[t]))return e.slice(3);if(e.length>=5)for(let t in S)if(e.startsWith(S[t]))return e.slice(2);return e}(t),t=function(e){if(e.length>=6)for(let t in B)if(e.endsWith(B[t]))return e.slice(0,-3);if(e.length>=5)for(let t in k)if(e.endsWith(k[t]))return e.slice(0,-2);return e}(t),t=function(e){return e.length>=4&&e.startsWith("وو")?e.slice(1):e}(t),t=O.norm(t,"ihamza"),t.length<4)return t;switch(t.length){case 4:return R(t);case 5:return t=V(t),q(t);case 6:return t=Q(t),L(t);case 7:return t=U(t),7===t.length&&(t=E(t)),6===t.length&&(t=Q(t),t=L(t)),t;default:return t}})),O._nConv("sing2pl","Singular noun to Plural",(function(e){let t=function(e){let t=e;return t=t.replace(/(.)ا/,"$1A"),t=t.replace(/(.)ي/,"$1I"),t=t.replace(/(.)و/,"$1U"),t=t.replace(/^م/,"m"),t=t.replace(/َ/g,"a").replace(/ِ/g,"i").replace(/ُ/g,"u"),t=t.replace(/ْ/g,"").replace(/ة/g,"h"),t=t.replace(/[^AIUaiumh]/g,"C"),t=t.replace(/(.)ّ/g,"$1$1"),t}(e),s=e.replace(/[َُِْ]/g,"");switch(s=s.replace(/(.)ّ/g,"$1$1"),"CiCC"==t&&s[1]==s[2]&&(t="CiIC"),t){case"CiCaAC":case"CaCiICah":return s[0]+"ُ"+s[1]+"ُ"+s[3];case"CuCCah":case"CaCCah":return s[0]+"ُ"+s[1]+"َ"+s[2];case"CiCCah":return s[0]+"ِ"+s[1]+"َ"+s[2];case"CiIC":return s[0]+"ِ"+s[1]+"َ"+s[2]+"َة";case"CaCuC":return s[0]+"ِ"+s[1]+"َا"+s[2];case"CaCaCah":return"أَ"+s[0]+"ْ"+s[1]+"َا"+s[2];case"CaCuUC":return"أَ"+s[0]+"ْ"+s[1]+"ِ"+s[3]+"َة";case"CaACiC":return s[0]+"ُ"+s[2]+"َّا"+s[3];case"CaACiCah":return s[0]+"َوَا"+s[2]+"ِ"+s[3];case"CaACuUC":return s[0]+"َوَا"+s[2]+"ِي"+s[4];case"CiCaACah":return s[0]+"َ"+s[1]+"َائِ"+s[3];case"CaCCaC":case"CuCCuC":return s[0]+"َ"+s[1]+"َا"+s[2]+"ِ"+s[3];case"maCCaC":case"maCCiC":case"miCCaCah":return s[0]+"َ"+s[1]+"َا"+s[2]+"ِ"+s[3];case(t.match(/^[Cm][aiu]CC(uU|aA|iI)C$/)||{}).input:return s[0]+"َ"+s[1]+"َا"+s[2]+"ِي"+s[4];default:return e.endsWith("ة")?e.slice(0,-1)+"ات":e+"ون"}}));const Y=O;class Z extends u{static CS={};static TR={};static langCode="eng";static nbr2str(e){return se(e,!0)}}Z._nChs("BasicLatin",0,127),Z._nTrans("min2maj","Miniscule to Majuscule",[{offset:-32,begin:97,end:122}]),Z._nTrans("maj2min","Majuscule to Miniscule",[{offset:32,begin:65,end:90}]);const ee={0:"zero",1:"one",2:"two",3:"three",4:"four",5:"five",6:"six",7:"seven",8:"eight",9:"nine",10:"ten",11:"eleven",12:"twelve",13:"thirteen",14:"fourteen",15:"fifteen",20:"twenty",30:"thirty",40:"forty",50:"fifty",100:"hundred",1e3:"thousand",1e6:"million",1e9:"billion"},te=[100,1e3,1e6,1e9];function se(e,t){if(isNaN(e))return"";if(e<0)return"minus "+se(-e,!0);if(e<10)return ee[e];if(e<100){let t=~~(e/10),s=~~(e%10);if(1==t)return s<6?ee[e]:ee[s]+"teen";let r="";return r=8==t?"eighty":t<6?ee[10*t]:ee[t]+"ty",0==s?r:r+"-"+ee[s]}let s=te.length-1;for(;s>=0&&e<te[s];)s--;let r=~~(e%te[s]),n=se(~~(e/te[s]),!1)+" "+ee[te[s]];return r>0&&(n+=t?", "+se(r,t):" "+se(r,t)),n}const re=Z;class ne extends m{static code="eng";static methods={};static defMethod="";static currentMethod=""}ne._nTrans("morse",["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"],[" .- "," -... "," -.-. "," -.. "," . "," ..-. "," --. "," .... "," .. "," .--- "," -.- "," .-.. "," -- "," -. "," --- "," .--. "," --.- "," .-. "," ... "," - "," ..- "," ...- "," .-- "," -..- "," -.-- "," --.. "]),ne._sTransCnd("morse",(function(e){let t=e;return t=t.replace(/[\^#]/gi,""),t=t.replace(/\./gi,"#").replace(/-/gi,"^"),t=t.replace(/[ ]+/gi,"\t"),t.toUpperCase()}),(function(e){let t=e;return t=m.specialCharTrans(t),t=t.replace(/ +/gi," "),t=t.replace(/^ /gi,""),t=t.replace(/ $/gi,""),t=t.replace(/\t/gi,"   "),t=t.replace(/[^ .-]/gi,""),t})),ne._sUntransCnd("morse",(function(e){let t=e;return t=t.replace(/[^ .-]/gi,""),t=t.replace(/[ ]{3,}/gi," \t "),t=t.replace(/ +/gi,"  "),t=t.replace(/^/gi," "),t=t.replace(/$/gi," "),t}),(function(e){let t=e;return t=m.specialCharUntrans(t),t=t.replace(/#/gi,".").replace(/\^/gi,"-"),t=t.replace(/ +/gi,""),t=t.replace(/\t/gi," "),t}));const ie=ne;class ae extends v{static stemmers={};static converters={};static cstemmer="";static cconverter="";static langCode="eng";static _conj(e,t){return Ce(e,t)}static lform=function(){let e=v.lform();const t={pres_perf:{desc:"Indicative present perfect",mood:v.Mood.Ind,tense:v.Tense.Pr,aspect:v.Aspect.P},past_perf:{desc:"Indicative past perfect",mood:v.Mood.Ind,tense:v.Tense.Pa,aspect:v.Aspect.P},fut_perf:{desc:"Indicative future perfect",mood:v.Mood.Ind,tense:v.Tense.Fu,aspect:v.Aspect.P},pres_cont:{desc:"Indicative present continuous",mood:v.Mood.Ind,tense:v.Tense.Pr,aspect:v.Aspect.C},past_cont:{desc:"Indicative past continuous",mood:v.Mood.Ind,tense:v.Tense.Pa,aspect:v.Aspect.C},fut_cont:{desc:"Indicative future continuous",mood:v.Mood.Ind,tense:v.Tense.Fu,aspect:v.Aspect.C},pres_perf_cont:{desc:"Indicative present perfect continuous",mood:v.Mood.Ind,tense:v.Tense.Pr,aspect:v.Aspect.PC},past_perf_cont:{desc:"Indicative past perfect continuous",mood:v.Mood.Ind,tense:v.Tense.Pa,aspect:v.Aspect.PC},fut_perf_cont:{desc:"Indicative future perfect continuous",mood:v.Mood.Ind,tense:v.Tense.Fu,aspect:v.Aspect.PC}};return Object.assign({},e,t)};static _gPpOpts(){return[{person:v.Person.F,number:v.GNumber.S},{person:v.Person.S},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.M},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.F},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.N},{person:v.Person.F,number:v.GNumber.P},{person:v.Person.T,number:v.GNumber.P}]}static _gPpName(e){switch(e.person){case v.Person.F:return e.number===v.GNumber.S?"I":"We";case v.Person.S:return"You";case v.Person.T:if(e.number!=v.GNumber.S)return"They";switch(e.gender){case v.Gender.M:return"He";case v.Gender.F:return"She";default:return"It"}}return""}static norm(e,t){return $e[e]||e}}const ce={be:{Pr:["am","is","are"],Pa:["was","was","were"],Pp:"been"},have:{Pr:["have","has","have"],Pa:["had","had","had"],Pp:"had"}},oe={bet:1,bid:1,broadcast:1,burst:1,cast:1,clad:1,clearcut:1,cost:1,crosscut:1,cut:1,fit:1,handset:1,hit:1,hurt:1,intercut:1,let:1,lipread:1,podcast:1,precast:1,proofread:1,put:1,quit:1,read:1,retrofit:1,set:1,shed:1,shut:1,simulcast:1,slit:1,spit:1,split:1,spread:1,sublet:1,telecast:1,thrust:1,typecast:1,typeset:1,webcast:1,wed:1},ue={babysit:"babysat",bend:"bent",beseech:"besought",besprenge:"besprent",bind:"bound",bleed:"bled",breastfeed:"breastfed",breed:"bred",bring:"brought",build:"built",buy:"bought",catch:"caught",cling:"clung",creep:"crept",deal:"dealt",dig:"dug",feed:"fed",feel:"felt",fight:"fought",find:"found",flee:"fled",fling:"flung",forthlead:"forthled",forthtell:"forthtold",get:"got",hamstring:"hamstrung",handspring:"handsprung",hang:"hung",hear:"heard",hold:"held",housesit:"housesat",interbreed:"interbred",interlay:"interlaid",keep:"kept",lay:"laid",lead:"led",leave:"left",lend:"lent",lose:"lost",make:"made",mean:"meant",meet:"met",naysay:"naysaid",onlay:"onlaid",onlead:"onled",pay:"paid",rend:"rent",say:"said",seek:"sought",sell:"sold",send:"sent",shrink:"shrunk",shoot:"shot",sink:"sunk",sit:"sat",sleep:"slept",slide:"slid",sling:"slung",slit:"slit",soothsay:"soothsaid",spend:"spent",spin:"spun",sprenge:"sprent",spring:"sprung",stand:"stood",stick:"stuck",sting:"stung",stink:"stunk",strike:"struck",string:"strung",sweep:"swept",swing:"swung",teach:"taught",tell:"told",think:"thought",tread:"trod",understand:"understood",waylay:"waylaid",win:"won",wind:"wound",wring:"wrung"},le={acknow:["acknew","1n"],ake:["oke","1n"],arise:["arose","1n"],awake:["awoke","2n"],bear:["bore","born"],beat:["1","1en"],bedo:["bedid","1ne"],begin:["began","begun"],bego:["bewent","1ne"],bite:["bit","2ten"],blow:["blew","1n"],break:["broke","2n"],browbeat:["1","1en"],choose:["chose","2n"],come:["came","1"],cowrite:["cowrote","1-ten"],do:["did","1ne"],downdraw:["downdrew","1n"],draw:["drew","1n"],drink:["drank","drunk"],drive:["drove","1n"],eat:["ate","1en"],fall:["fell","1en"],fly:["flew","flown"],forbid:["1","1den"],forego:["forewent","1ne"],forgo:["forwent","1ne"],forlend:["forlent","forlen"],freeze:["froze","2n"],frostbite:["frostbit","2ten"],ghostwrite:["ghostwrote","1-ten"],give:["gave","1n"],go:["went","gone"],grow:["grew","1n"],handwrite:["handwrote","1-ten"],hide:["hid","2den"],interweave:["interwove","2n"],know:["knew","1n"],lie:["lay","lain"],misdo:["misdid","1ne"],outdo:["outdid","1ne"],overdo:["overdid","1ne"],partake:["partook","1n"],redo:["redid","1ne"],ride:["rode","ridden"],ring:["rang","rung"],rise:["rose","1n"],run:["ran","run"],see:["saw","1n"],shake:["shook","1n"],sightsee:["sightsaw","1n"],sing:["sang","sung"],smite:["smote","1-ten"],speak:["spoke","2n"],steal:["stole","2n"],stride:["strode","1-den"],swear:["swore","2-n"],swim:["swam","swum"],swink:["swonk","2en"],take:["took","1n"],tear:["tore","torn"],throw:["threw","1-n"],toswink:["toswank","toswunken"],underdo:["underdid","1ne"],undergo:["underwent","1ne"],undo:["undid","1ne"],wake:["woke","2n"],wear:["wore","worn"],weave:["wove","2n"],withgo:["withwent","1ne"],write:["wrote","1-ten"]},pe={ational:"ate",tional:"tion",enci:"ence",anci:"ance",izer:"ize",bli:"ble",alli:"al",entli:"ent",eli:"e",ousli:"ous",ization:"ize",ation:"ate",ator:"ate",alism:"al",iveness:"ive",fulness:"ful",ousness:"ous",aliti:"al",iviti:"ive",biliti:"ble",logi:"log"},de={icate:"ic",ative:"",alize:"al",iciti:"ic",ical:"ic",ful:"",ness:""},he="[aeiouy]",me="[^aeiou][^aeiouy]*",fe=he+"[aeiou]*",ge="^("+me+")?"+fe+me,ve="^("+me+")?"+fe+me+fe+me,be=-1,ye=/[aeiouy]/,_e={a:[{match:"ia",replacement:"",type:0},{match:"a",replacement:"",type:0}],b:[{match:"bb",replacement:"b",type:be}],c:[{match:"ytic",replacement:"ys",type:be},{match:"ic",replacement:"",type:1},{match:"nc",replacement:"nt",type:1}],d:[{match:"dd",replacement:"d",type:be},{match:"ied",replacement:"y",type:1},{match:"ceed",replacement:"cess",type:be},{match:"eed",replacement:"ee",type:be},{match:"ed",replacement:"",type:1},{match:"hood",replacement:"",type:1}],e:[{match:"e",replacement:"",type:1}],f:[{match:"lief",replacement:"liev",type:be},{match:"if",replacement:"",type:1}],g:[{match:"ing",replacement:"",type:1},{match:"iag",replacement:"y",type:be},{match:"ag",replacement:"",type:1},{match:"gg",replacement:"g",type:be}],h:[{match:"th",replacement:"",type:0},{match:"guish",replacement:"ct",type:be},{match:"ish",replacement:"",type:1}],i:[{match:"i",replacement:"",type:0},{match:"i",replacement:"y",type:1}],j:[{match:"ij",replacement:"id",type:be},{match:"fuj",replacement:"fus",type:be},{match:"uj",replacement:"ud",type:be},{match:"oj",replacement:"od",type:be},{match:"hej",replacement:"her",type:be},{match:"verj",replacement:"vert",type:be},{match:"misj",replacement:"mit",type:be},{match:"nj",replacement:"nd",type:be},{match:"j",replacement:"s",type:be}],l:[{match:"ifiabl",replacement:"",type:be},{match:"iabl",replacement:"y",type:be},{match:"abl",replacement:"",type:1},{match:"ibl",replacement:"",type:be},{match:"bil",replacement:"bl",type:1},{match:"cl",replacement:"c",type:be},{match:"iful",replacement:"y",type:be},{match:"ful",replacement:"",type:1},{match:"ul",replacement:"",type:be},{match:"ial",replacement:"",type:1},{match:"ual",replacement:"",type:1},{match:"al",replacement:"",type:1},{match:"ll",replacement:"l",type:be}],m:[{match:"ium",replacement:"",type:be},{match:"um",replacement:"",type:0},{match:"ism",replacement:"",type:1},{match:"mm",replacement:"m",type:be}],n:[{match:"sion",replacement:"j",type:1},{match:"xion",replacement:"ct",type:be},{match:"ion",replacement:"",type:1},{match:"ian",replacement:"",type:1},{match:"an",replacement:"",type:1},{match:"een",replacement:"",type:2},{match:"en",replacement:"",type:1},{match:"nn",replacement:"n",type:be}],p:[{match:"ship",replacement:"",type:1},{match:"pp",replacement:"p",type:be}],r:[{match:"er",replacement:"",type:1},{match:"ear",replacement:"",type:2},{match:"ar",replacement:"",type:be},{match:"ior",replacement:"",type:1},{match:"or",replacement:"",type:1},{match:"ur",replacement:"",type:1},{match:"rr",replacement:"r",type:be},{match:"tr",replacement:"t",type:1},{match:"ier",replacement:"y",type:1}],s:[{match:"ies",replacement:"y",type:1},{match:"sis",replacement:"s",type:be},{match:"is",replacement:"",type:1},{match:"ness",replacement:"",type:1},{match:"ss",replacement:"",type:2},{match:"ous",replacement:"",type:1},{match:"us",replacement:"",type:0},{match:"s",replacement:"",type:1},{match:"s",replacement:"",type:be}],t:[{match:"plicat",replacement:"ply",type:be},{match:"at",replacement:"",type:1},{match:"ment",replacement:"",type:1},{match:"ent",replacement:"",type:1},{match:"ant",replacement:"",type:1},{match:"ript",replacement:"rib",type:be},{match:"orpt",replacement:"orb",type:be},{match:"duct",replacement:"duc",type:be},{match:"sumpt",replacement:"sum",type:be},{match:"cept",replacement:"ceiv",type:be},{match:"olut",replacement:"olv",type:be},{match:"sist",replacement:"",type:2},{match:"ist",replacement:"",type:1},{match:"tt",replacement:"t",type:be}],u:[{match:"iqu",replacement:"",type:be},{match:"ogu",replacement:"og",type:be}],v:[{match:"siv",replacement:"j",type:1},{match:"eiv",replacement:"",type:2},{match:"iv",replacement:"",type:1}],y:[{match:"bly",replacement:"bl",type:1},{match:"ily",replacement:"y",type:1},{match:"ply",replacement:"",type:2},{match:"ly",replacement:"",type:1},{match:"ogy",replacement:"og",type:be},{match:"phy",replacement:"ph",type:be},{match:"omy",replacement:"om",type:be},{match:"opy",replacement:"op",type:be},{match:"ity",replacement:"",type:1},{match:"ety",replacement:"",type:1},{match:"lty",replacement:"l",type:be},{match:"istry",replacement:"",type:be},{match:"ary",replacement:"",type:1},{match:"ory",replacement:"",type:1},{match:"ify",replacement:"",type:be},{match:"ncy",replacement:"nt",type:1},{match:"acy",replacement:"",type:1}],z:[{match:"iz",replacement:"",type:1},{match:"yz",replacement:"ys",type:be}]},Pe={accommodation:1,advice:1,alms:1,aircraft:1,aluminum:1,barracks:1,bison:1,binoculars:1,bourgeois:1,breadfruit:1,cannon:1,caribou:1,cattle:1,chalk:1,chassis:1,chinos:1,clippers:1,clothing:1,cod:1,concrete:1,corps:1,correspondence:1,crossroads:1,deer:1,dice:1,doldrums:1,dungarees:1,education:1,eggfruit:1,elk:1,eyeglasses:1,fish:1,flares:1,flour:1,food:1,fruit:1,furniture:1,gallows:1,goldfish:1,grapefruit:1,greenfly:1,grouse:1,haddock:1,halibut:1,head:1,headquarters:1,help:1,homework:1,hovercraft:1,ides:1,insignia:1,jackfruit:1,jeans:1,knickers:1,knowledge:1,kudos:1,leggings:1,lego:1,luggage:1,moose:1,monkfish:1,mullet:1,nailclippers:1,news:1,offspring:1,oxygen:1,pants:1,pyjamas:1,passionfruit:1,pike:1,pliers:1,police:1,premises:1,reindeer:1,rendezvous:1,salmon:1,scissors:1,series:1,shambles:1,sheep:1,shellfish:1,shorts:1,shrimp:1,smithereens:1,spacecraft:1,species:1,squid:1,starfruit:1,stone:1,sugar:1,swine:1,tongs:1,trousers:1,trout:1,tuna:1,tweezers:1,you:1,wheat:1,whitebait:1,wood:1},$e={"ain't":"is not",innit:"is not it",gonna:"going to",gotta:"have to",outta:"out of",sorta:"sort of",wanna:"want to","y'all":"you all","C'mon":"come on",cop:"policeman","'cos'":"because","don't":"do not","doesn't":"does not","won't":"will not","lil'":"little",dunno:"do not know",gimme:"give me",kinda:"kind of",lemme:"let me",lotta:"lot of",ma:"mother",luv:"love",yeah:"yes",wot:"what"};let Ie={verb:"",irregular:null,prefix:"",rverb:""};function xe(e,t){let s,r,n,i,a,c=_e[e.charAt(e.length-1)];if(!c)return e;for(r=-1,n=c.length;++r<n;)if(i=c[r],(t||0!==i.type)&&(s=e.length-i.match.length,!(s<0||e.substr(s)!==i.match))){if(2===i.type)return e;if(a=e.substr(0,s)+i.replacement,Te(a))return 1===i.type?xe(a,!1):a}return e}function Te(e){return ye.test(e.charAt(0))?e.length>1:e.length>2&&ye.test(e)}function Ce(e,t){if("can"==e){if(t.voice===v.Voice.P)return"";if([v.Aspect.P,v.Aspect.PC,v.Aspect.C].includes(t.aspect))return"";let e="";return t.negated&&(e=" not"),t.tense===v.Tense.Pr?"can"+e:t.tense===v.Tense.Pa?"could"+e:""}if(t.mood&&t.mood===v.Mood.Imp)return t.person===v.Person.S?e:"";let s="",r="";!function(e){if((e=e.trim())===Ie.verb)return;Ie.rverb=e,Ie.prefix="";let t=ce[e];if(t)return Ie.irregular=1,void(Ie.conj=t);{let t=/^(back|be|down|fore|for|in|mis|off|out|over|pre|re|sub|under|un|up|with)(.{3,})/gi.exec(e);t&&(Ie.prefix=t[1],Ie.rverb=t[2])}oe[Ie.rverb]?(Ie.irregular=2,Ie.conj=null):(t=ue[Ie.rverb],t?(Ie.irregular=3,Ie.conj=t):(t=le[Ie.rverb],t?(Ie.irregular=4,Ie.conj=t):(Ie.irregular=0,Ie.conj=null)))}(e);let n={v:Ie.rverb,p:Ie.prefix,i:Ie.irregular,c:Ie.conj};if(t.voice&&t.voice===v.Voice.P){switch(n.i){case 1:r=" "+we(n,"Pp",t);break;case 2:case 3:case 4:r=" "+Oe(n,1);break;default:r=" "+Ce(e,{tense:v.Tense.Pa})}n={v:"be",p:"",i:1,c:ce.be}}if(t.aspect){if([v.Aspect.C,v.Aspect.PC].includes(t.aspect)){let t=n.v;["lie","die"].includes(e)?t=e.slice(0,-2)+"y":/^[^aeuio]*[aeuio][^aeuioy]$/g.test(e)?t=e+e.slice(-1):/^.{2,}e$/g.test(e)&&(t=e.slice(0,-1)),r=" "+t+"ing"+r,n={v:"be",p:"",i:1,c:ce.be}}if([v.Aspect.P,v.Aspect.PC].includes(t.aspect)){switch(n.i){case 1:r=" "+we(n,"Pp",t)+r;break;case 2:case 3:case 4:r=" "+Oe(n,1)+r;break;default:r=" "+Ce(e,{tense:v.Tense.Pa})+r}n={v:"have",p:"",i:1,c:ce.have}}}t.negated&&t.tense!==v.Tense.Fu&&(r=" not"+r,t.aspect&&t.aspect!==v.Aspect.S||t.voice&&t.voice!==v.Voice.A||(r+=" "+e,n={v:"do",p:"",i:4,c:le.do}));let i=n.p+n.v;switch(t.tense){case v.Tense.Pr:if(1==n.i)return s+we(n,"Pr",t)+r;t.person==v.Person.T&&t.number===v.GNumber.S&&(i=i.replace(/([^aeuio])y$/,"$1ie"),i=i.replace(/(s|z|sh|ch|[^aeui]o)$/,"$1e"),r="s"+r);break;case v.Tense.Pa:if(1==n.i)return s+we(n,"Pa",t)+r;if(n.i>1)return s+Oe(n,0)+r;i=i.replace(/([^aeuio])y$/,"$1i"),i=i.replace(/c$/,"ck"),i=i.replace(/^([^aeuio]*[aeuio])([^aeuiohwxy])$/,"$1$2$2"),r=i.endsWith("e")?"d"+r:"ed"+r;break;case v.Tense.Fu:s="will ",t.negated&&(s+="not ")}return s+i+r}function we(e,t,s){return 1!=e.i?e.v:"Pr|Pa|Pp".includes(t)?"Pp"===t?e.c[t]:s.number===v.GNumber.S?s.person==v.Person.F?e.c[t][0]:s.person==v.Person.T?e.c[t][1]:e.c[t][2]:e.c[t][2]:e.v}function Oe(e,t){switch(e.i){case 3:return e.p+e.c;case 4:{let s=e.c[t];return s=s.replace("1",e.v),1===t&&(s=s.replace("2",e.c[0]),s=s.replace(/.-/,"")),e.p+s}default:return e.p+e.v}}ae._nStem("porter","English Porter stemmer",(function(e){let t,s,r,n,i,a,c;if(e.length<3)return e;if(r=e.substr(0,1),"y"==r&&(e=r.toUpperCase()+e.substr(1)),n=/^(.+?)(ss|i)es$/,i=/^(.+?)([^s])s$/,n.test(e)?e=e.replace(n,"$1$2"):i.test(e)&&(e=e.replace(i,"$1$2")),n=/^(.+?)eed$/,i=/^(.+?)(ed|ing)$/,n.test(e)){let t=n.exec(e);n=new RegExp(ge),n.test(t[1])&&(n=/.$/,e=e.replace(n,""))}else i.test(e)&&(t=i.exec(e)[1],i=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy]"),i.test(t)&&(e=t,i=/(at|bl|iz)$/,a=new RegExp("([^aeiouylsz])\\1$"),c=new RegExp("^"+me+he+"[^aeiouwxy]$"),i.test(e)?e+="e":a.test(e)?(n=/.$/,e=e.replace(n,"")):c.test(e)&&(e+="e")));if(n=new RegExp("^(.*"+he+".*)y$"),n.test(e)&&(t=n.exec(e)[1],e=t+"i"),n=new RegExp("^(.+?)("+Object.keys(pe).join("|")+")$"),n.test(e)){let r=n.exec(e);t=r[1],s=r[2],n=new RegExp(ge),n.test(t)&&(e=t+pe[s])}if(n=new RegExp("^(.+?)("+Object.keys(de).join("|")+")$"),n.test(e)){let r=n.exec(e);t=r[1],s=r[2],n=new RegExp(ge),n.test(t)&&(e=t+de[s])}if(n=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,i=/^(.+?)(s|t)(ion)$/,n.test(e))t=n.exec(e)[1],n=new RegExp(ve),n.test(t)&&(e=t);else if(i.test(e)){let s=i.exec(e);t=s[1]+s[2],i=new RegExp(ve),i.test(t)&&(e=t)}return n=/^(.+?)e$/,n.test(e)&&(t=n.exec(e)[1],n=new RegExp(ve),i=new RegExp("^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$"),a=new RegExp("^"+me+he+"[^aeiouwxy]$"),(n.test(t)||i.test(t)&&!a.test(t))&&(e=t)),n=/ll$/,i=new RegExp(ve),n.test(e)&&i.test(e)&&(n=/.$/,e=e.replace(n,"")),"y"==r&&(e=r.toLowerCase()+e.substr(1)),e})),ae._nStem("lancaster","English Lnacaster stemmer",(function(e){return xe(String(e).toLowerCase(),!0)})),ae._nConv("sing2pl","Singular noun to Plural",(function(e){if(Pe[e])return e;if(e.endsWith("z")&&(e+="z"),/^.*(s|sh|ch|x|z)$/.test(e))return"axis"===e?"axes":"ox"===e?"oxen":e+"es";if(e.endsWith("y"))return/[^aeuio]y$/.test(e)?e.slice(0,-1)+"ies":e+"s";let t;return(t=/^(.*[^f])fe?$/.exec(e))?t[1]+"ves":e+"s"})),ae.abbr={jan:1,feb:1,mar:1,apr:1,may:1,jun:1,jul:1,aug:1,sep:1,oct:1,nov:1,dec:1,sat:1,sun:1,mon:1,tue:1,wed:1,thu:1,fri:1,mr:1,mrs:1,ms:1,dr:1,prof:1,gen:1,rep:1,sen:1,st:1,jr:1,sr:1,etc:1,in:1};const Me=ae;class He extends u{static CS={};static TR={};static langCode="fra";static nbr2str(e){if(isNaN(e))return"";if(e<0)return"moins "+this.nbr2str(-e);if(81===e)return"quatre-vingt-un";if(80===e)return"quatre-vingts";if(e<=20)return Ae[e];if(e<100){let t=10*~~(e/10),s=~~(e%10),r="";return 70===t||90===t?(r=Ae[t-10],s+=10):r=Ae[t],s>0&&(r+=1===s||11===s?" et ":"-",r+=Ae[s]),r}let t=je.length-1;for(;t>=0&&e<je[t];)t--;let s=~~(e/je[t]),r=~~(e%je[t]),n=1===s?"":this.nbr2str(s)+" ";return n+=Ae[je[t]],r>0&&(n+=" "+this.nbr2str(r)),n}}He._nChs("BasicLatin",0,127),He._nChs("Latin-1Supplement",160,255),He._nTrans("min2maj","Miniscule to Majuscule",[{offset:-32,begin:97,end:122},{offset:-32,begin:224,end:255}]),He._nTrans("maj2min","Majuscule to Miniscule",[{offset:32,begin:65,end:90},{offset:32,begin:192,end:223}]);const Ae={0:"zéro",1:"un",2:"deux",3:"trois",4:"quatre",5:"cinq",6:"six",7:"sept",8:"huit",9:"neuf",10:"dix",11:"onze",12:"douze",13:"treize",14:"quatorze",15:"quinze",16:"seize",17:"dix-sept",18:"dix-huit",19:"dix-neuf",20:"vingt",30:"trente",40:"quarante",50:"cinquante",60:"soixante",80:"quatre-vingt",100:"cent",1e3:"mille",1e6:"million",1e9:"billion"},je=[100,1e3,1e6,1e9],Ne=He;class Se extends m{static code="fra";static defMethod="";static currentMethod="";static methods={}}const ze={ç:"c",à:"a",è:"e",é:"e",ù:"u"},We="["+Object.keys(ze).toString().replace(/,/g,"")+"]";Se.methods.morse=Object.assign({},ie.methods.morse),Se.methods.morse.preTrans=function(e){return e=e.replace(new RegExp(We,"g"),(e=>ze[e])),ie.methods.morse.preTrans(e)};const ke=Se;class Be extends v{static stemmers={};static converters={};static cstemmer="";static cconverter="";static langCode="fra";static _conj(e,t){return function(e,t){let s="";if("falloir"===e){if(t.person!=v.Person.T||t.number!=v.GNumber.S)return""}else/^(dé|re|satis)faire/.test(e)&&(s=e.slice(0,-5),e="faire");!function(e){if(Le.verb!==e){if(Le.verb=e,Le.irr={},Le.pp=null,Le.aux=Ee[e]?"être":"avoir",Ue[e])return Le.irr=Ue[e],Le.pp=Le.irr.pp,void(Le.group=4);if(e.endsWith("er"))return Le.group=1,void function(){let e=Le.verb.slice(0,-2),t=e,s=/^$/;if(/[cg]$/.test(e))t=e.endsWith("c")?e.slice(0,-1)+"ç":e+"e",s=/^[aoâ]/;else if(s=/^e[^z]*$/,/[ou]y$/.test(e))t=e.slice(0,-1)+"i";else{let s;(s=/([eé])(.)$/.exec(e))&&(t=e.slice(0,-2),"é"===s[1]||!"lt".includes(s[2])||Ve[t+"e"+s[2]]?t+="è":t+="e"+s[2],t+=s[2])}Le.inf=e,Le.pp=e+"é",Le.irr={},Le.irr.reg=s,Le.irr.rep=t}();if(e.endsWith("ir")&&e.length>3){let t=Ge[e.slice(0,2)],s=e.slice(2,-2);if(t&&t[s])return Le.group=2,Le.inf=e.slice(0,-2),void(Le.pp=e.slice(0,-1))}if("haïr"===e)return Le.group=2,Le.inf=e.slice(0,-1),void(Le.pp=e.slice(0,-1));Le.group=3,function(){let e,t=Le.verb,s="ir";null!=(e=/^(.*)(oir|re)$/.exec(t))?(t=e[1],s=e[2]):t.endsWith("ir")&&(t=t.slice(0,-2)),Le.inf=t;let r={};Le.irr=r,function(e,t){let s=Le.inf;if("re"===t)if(/[aeo]ind$/.test(s))Le.pp=e.s1=s.slice(0,-1),Le.pp+="t",e.p1=e.p3=e.p=s.slice(0,-2)+"gn",e.p+="i";else if(/^(?:n|conn|reconn|par|appar|repar|dispar)aît$/.test(s)){let t=s.slice(0,-2);e.s1=t+"[<s1>s:is,<s1>t:ît]",e.p1=t+"iss","na"!==t?Le.pp=t.slice(0,-1)+"u":(Le.pp="né",e.p="naqui")}else/^(viv|poursuiv|suiv|batt|(pro|per|compro|sou|trans)?mett|(ré|ab)soud)$/.test(s)?(e.s1=s.slice(0,-1),s.endsWith("mett")?Le.pp=s.slice(0,-3)+"is":s.endsWith("d")?(e.p1=s.slice(0,-2)+"lv",s.startsWith("r")?e.p=Le.pp="résolu":(Le.pp="absous",e.p="absolu")):"viv"===s?Le.pp="vécu":(e.p=s+"i",s.endsWith("v")&&(Le.pp=e.p))):/^(plai|clo)$/.test(s)?(e.p1=s+"s","clo"===s?(e.s1="cl[<s1>s:os,<s1>t:ôt]",Le.pp="clos",e.p="$"):(e.s1="pla[<s1>s:is,<s1>t:ît]",Le.pp="plu")):/^(con)?vainc$/.test(s)&&(e.s1=s+"[<s1>s:s,<s1>t:]",e.p1=s.slice(0,-1)+"qu",e.p=e.p1+"i");else if("oir"===t)if(/^(dev|.*cev)$/.test(s)){let t=s.slice(0,-2);t.endsWith("c")&&(t=t.slice(0,-1)+"ç"),e.s1=t+"oi",e.p3=t+"oiv",e.p=t+"u",Le.pp=t+(t.endsWith("c")?"u":"û")}else if(/^(v|rev|ch|éch)$/.test(s))e.p3=e.s1=s+"oi",e.p1=s+"oy",Le.pp=s+"u",s.endsWith("v")&&(e.p=s+"i");else if(/^(é|pro)?mouv$/.test(s)){let t=s.slice(0,-3);e.s1=t+"eu",e.p3=e.s1+"v",Le.pp=t+"û"}else"asse"===s?(e.p3=e.s1="assoi",e.p1="assoy",Le.pp="assis"):"pleuv"===s&&(e.s1="[<s1>s:$,<s1>t:pleut]",e.p3=e.p1="$",Le.pp="plu");else if(/^.*[tv]en$/.test(s)){let t=s.slice(0,-2);e.s1=t+"ien",e.p3=e.s1+"n",Le.pp=s+"u",e.p=t+"in"}else/^((dé|re)?part|(en|ren)?dorm|ment|dément|(con|pres|res)?sent|(des|res)?serv|(res)?sort|(dé|re)?vêt)$/.test(s)?(e.s1=s.slice(0,-1),s.endsWith("êt")&&(Le.pp=e.s1+"u")):/^(cueill|(c|déc)?ouvr|offr|souffr)$/.test(s)?(e.s1=s+"[<s1>.*:G1]","cueill"!==s&&(e.p1=s,Le.pp=s.slice(0,-1)+"ert")):"requér"===s?(e.s1="requier",e.p3="requièr",Le.pp="requis"):"mour"===s&&(e.p3=e.s1="meur",Le.pp="mort",e.p="mouru");if(!e.s1){let t;e.s1=s,null!=(t=/^(.*)(s|e)$/.exec(s))&&(e.s1=t[1])}}(r,s),function(e,t){if(e.p1)return;let s=Le.inf;if("re"===t)if(s.endsWith("ui"))e.p1=s+"s",e.p=s+"si",Le.pp=s+"t";else if(/^((?:contre|inter)?di|(?:dé|é|ins)cri|li|suffi|confi|circonci|fri|boi|[cm]oud|.*prend)$/.test(s))if("boi"===s)e.p1="buv",e.p3="boiv",Le.pp=e.p="bu";else if(s.endsWith("cri"))e.p3=e.p1=s+"v",Le.pp=s+"t",e.p=s+"vi";else if(s.endsWith("d"))e.p1=s.slice(0,-1),s.endsWith("ud")?(e.p3=e.p1+="coud"===s?"s":"l",Le.pp=e.p1+"u",e.p=e.p1+(e.p1.endsWith("l")?"u":"i")):(e.p3=e.p1+"n",Le.pp=(e.p=e.p1.slice(0,-2)+"i")+"s");else switch(e.p3=e.p1=s+"s","di"===s&&(e.p1=s+"[<p1>ons:sons,<p1>ez:tes]"),s){case"li":Le.pp="lu";break;case"circonci":Le.pp="circoncis";break;case"suffi":Le.pp="suffi";break;default:Le.pp=s+"t"}e.p1||(e.p1=s)}(r,s),function(e,t){e.p3||(e.p3=e.p1)}(r),function(e,t){if(Le.pp)return;let s=Le.inf;if("re"===t?(/^((?:sou)?ri|.*clu)$/.test(s)&&(e.p=Le.pp=s),"croi"===s?e.p=Le.pp=s.slice(0,-2)+"u":/^(?:con|ex|sub)?trai/.test(s)&&(Le.pp=s+"t",e.p=s.slice(0,-1)+"y[<p>.*:G1]")):"ir"===t&&"cour"===s&&(e.p=Le.pp=s+"u"),!Le.pp){let e=s+("re"===t?"u":"i");e.endsWith("uu")&&(e=e.slice(0,-1)),Le.pp=e}}(r,s),function(e,t){if(e.p)return;let s=Le.inf;if("re"===t&&s.endsWith("d")&&(e.p=s+"i"),!e.p){let t,s=Le.pp;/[ts]$/.test(s)&&(s=s.slice(0,-1)),null!=(t=/^(.*)(ai|s)$/.exec(s))&&(s=t[1]),e.p=s}}(r,s),function(e,t){if(e.f)return;let s=Le.inf;if("oir"===t?s.endsWith("cev")?e.f=s+"r":/^(re)?v$/.test(s)?e.f=s+"err":/^(dev|mouv|émouv|promouv|pleuv)$/.test(s)?e.f=s+"r":/^asse$/.test(s)&&(e.f=s.slice(0,-1)+"oir"):"ir"===t&&("requér"===s?e.f="requerr":"cueill"===s?e.f="cueiller":/^.*[tv]en$/.test(s)?e.f=s.slice(0,-2)+"iendr":/^[mc]our$/.test(s)&&(e.f=s+"r")),!e.f){let r=s+t;r.endsWith("e")&&(r=r.slice(0,-1)),e.f=r}}(r,s)}()}}(e);let r,n="";if(t.negated&&(n=" pas"),(t.aspect===v.Aspect.P||t.mood!=v.Mood.Ind&&t.tense===v.Tense.Pa)&&(n+=" "+s+Le.pp,s="",e=Le.aux,r=Ue[e],"être"===e&&(n+=t.gender===v.Gender.F?"e":"",n+=t.number===v.GNumber.S?"":"s"),t.aspect===v.Aspect.P?"long"===t.period||t.mood===v.Mood.Sub?t.aspect=v.Aspect.I:t.aspect=v.Aspect.S:(t.tense=v.Tense.Pr,t.mood===v.Mood.Cnd&&2===t.form&&(t.aspect=v.Aspect.I,t.mood=v.Mood.Sub))),t.negated&&(s="ne "+s),r||4!==Le.group||(r=Le.irr),r){let e=De(t,r);return e&&"$"!==e?("ne "===s&&/[haeuio]/.test(e.charAt(0))&&(s="n'"),s+e+n):""}let i=De(t);if(!i||"$"===i)return"";let a=Le.inf;if(1===Le.group)"envoy"===a&&t.mood===v.Mood.Ind&&t.tense===v.Tense.Fu?(a="enverr",i=i.slice(2)):Le.irr.reg.test(i)&&(a=Le.irr.rep);else if(3===Le.group){{let e=function(e,t,s){let r={},n=t,i=/^<([^>]+)>(.*)$/.exec(t);if(null!=i&&Le.irr[i[1]]&&(e=Le.irr[i[1]],t=i[2]),i=/^(.*)\[(.*)\]$/.exec(e),null!=i){e=i[1];let r=i[2].split(","),a=0;for(;a<r.length;a++){let e=r[a].split(":");if(new RegExp(e[0]).test(n)){t="G1"===e[1]?De(s,Fe):e[1];break}}}return r.inf=e,r.suff=t,r}(a,i,t);i=e.suff,a=e.inf}if("t"===i&&/[dt]$/.test(a))i="";else if(i.startsWith("^")){i=i.slice(1);let e=a.slice(-1);if(qe[e])a=a.slice(0,-1)+qe[e];else for(let e=a.length-1;e>0;e--){let t="aiuo".indexOf(a.charAt(e));if(t>-1){a=a.slice(0,t)+qe[a.charAt(e)]+a.slice(t+1);break}}}else/^(ons|ez)$/.test(i)&&/[ao]i$/.test(a)&&(a=a.slice(0,-1)+"y")}else"haï"===a&&(i=i.slice(1),(t.mood===v.Mood.Ind&&t.aspect===v.Aspect.S&&t.tense===v.Tense.Pr&&t.number===v.GNumber.S||t.mood===v.Mood.Imp&&t.number===v.GNumber.S&&a.length>0)&&(a=a.slice(0,-1)+"i"));return"ne "===s&&/[haeuio]/.test(a.charAt(0))&&(s="n'"),s+a+i+n}(e,t)}static lform(){return{pres:{desc:"Indicative Present (présent)",mood:v.Mood.Ind,tense:v.Tense.Pr,aspect:v.Aspect.S},pres_perf:{desc:"Indicative Present perfect (passé composé)",mood:v.Mood.Ind,tense:v.Tense.Pr,aspect:v.Aspect.P},imperf:{desc:"Indicative Imperfect (imparfait)",mood:v.Mood.Ind,tense:v.Tense.Pr,aspect:v.Aspect.I},pluperf:{desc:"Indicative Pluperfect (plus-que-parfait)",mood:v.Mood.Ind,tense:v.Tense.Pa,aspect:v.Aspect.P,period:"long"},past:{desc:"Indicative Simple past (passé simple)",mood:v.Mood.Ind,tense:v.Tense.Pa,aspect:v.Aspect.S},past_perf:{desc:"Indicative Past perfect (passé antérieur)",mood:v.Mood.Ind,tense:v.Tense.Pa,aspect:v.Aspect.P,period:"short"},fut:{desc:"Indicative Simple future (futur simple)",mood:v.Mood.Ind,tense:v.Tense.Fu,aspect:v.Aspect.S},fut_perf:{desc:"Indicative Future perfect (futur antérieur)",mood:v.Mood.Ind,tense:v.Tense.Fu,aspect:v.Aspect.P},subj_pres:{desc:"Subjunctive Present",mood:v.Mood.Sub,tense:v.Tense.Pr,aspect:v.Aspect.S},subj_past:{desc:"Subjunctive Past (passé)",mood:v.Mood.Sub,tense:v.Tense.Pa,aspect:v.Aspect.S},subj_imperf:{desc:"Subjunctive Imperfect",mood:v.Mood.Sub,tense:v.Tense.Pr,aspect:v.Aspect.I},subj_pluperf:{desc:"Subjunctive Pluperfect",mood:v.Mood.Sub,tense:v.Tense.Pa,aspect:v.Aspect.P},imp_pres:{desc:"Imperative Present",mood:v.Mood.Imp,tense:v.Tense.Pr},imp_past:{desc:"Imperative Past",mood:v.Mood.Imp,tense:v.Tense.Pa},cond_pres:{desc:"Conditional Present",mood:v.Mood.Cnd,tense:v.Tense.Pr},cond_past1:{desc:"Conditional Past (form 1)",mood:v.Mood.Cnd,tense:v.Tense.Pa,form:1},cond_past2:{desc:"Conditional Past (form 2)",mood:v.Mood.Cnd,tense:v.Tense.Pa,form:2}}}static jconjmod(){return{rows:["Pronoun"],cols:["Negation"]}}static _gPpOpts(){return[{person:v.Person.F,number:v.GNumber.S},{person:v.Person.S,number:v.GNumber.S},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.M},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.F},{person:v.Person.F,number:v.GNumber.P},{person:v.Person.S,number:v.GNumber.P},{person:v.Person.T,number:v.GNumber.P,gender:v.Gender.M},{person:v.Person.T,number:v.GNumber.P,gender:v.Gender.F}]}static _gPpName(e){switch(e.person){case v.Person.F:return e.number===v.GNumber.S?"Je":"Nous";case v.Person.S:return e.number===v.GNumber.S?"Tu":"Vous";case v.Person.T:{let t=e.number===v.GNumber.S?"":"s";return e.gender===v.Gender.M?"Il"+t:"Elle"+t}}return""}static norm=function(e,t){return e}}const Ge={ab:{asourd:1,âtard:1,êt:1,ol:1,onn:1,out:1,réag:1,rout:1,rut:1},ac:{calm:1,compl:1,courc:1,croup:1},ad:{ouc:1,vert:1},af:{fad:1,faibl:1,ferm:1,franch:1},ag:{"":1,on:1,rand:1,uerr:1},ah:{ur:1},ai:{gr:1},al:{angu:1,ent:1,lot:1,ourd:1,un:1},am:{aigr:1,ars:1,at:1,enu:1,err:1,eubl:1,inc:1,oindr:1,oll:1,ort:1,ui:1},an:{éant:1,obl:1,ord:1},ap:{lan:1,lat:1,pauvr:1,pesant:1,plaud:1,profond:1},ar:{rond:1},as:{sag:1,sain:1,serv:1,s:1,sombr:1,sort:1,soup:1,soupl:1,sourd:1,souv:1,sujett:1},at:{tendr:1,tér:1,terr:1,tiéd:1},av:{ach:1,ert:1,eul:1,il:1},ba:{nn:1,rr:1,ud:1},bâ:{t:1},bé:{n:1},bl:{anch:1,êm:1,ett:1,eu:1,ond:1,ott:1},bo:{nd:1,uff:1},br:{and:1,un:1},ca:{nd:1},ch:{auv:1,ér:1,ois:1},co:{mpat:1,nvert:1,sais:1,t:1},cr:{ép:1,oup:1},dé:{crép:1,fin:1,fléch:1,fraîch:1,garn:1,gauch:1,glut:1,gourd:1,gross:1,guerp:1,mol:1,mun:1,pér:1,roug:1,sempl:1,sinvest:1,sobé:1,sun:1},de:{ssais:1,ssert:1},di:{vert:1},du:{rc:1},éb:{ah:1,aub:1,aud:1,lou:1},éc:{lairc:1,rapout:1},ef:{fleur:1},él:{arg:1},em:{bell:1,bout:1,pl:1,puant:1},en:{chér:1,durc:1,fou:1,glout:1,gourd:1,hard:1,laid:1,nobl:1,orgueill:1,rich:1,sevel:1,vah:1},ép:{aiss:1,anou:1},éq:{uarr:1},es:{tourb:1},ét:{abl:1,ourd:1,réc:1},év:{anou:1},fa:{ibl:1,ill:1,rc:1},fi:{n:1},fl:{éch:1,étr:1,eur:1,or:1},fo:{rc:1,u:1,urb:1,urn:1},fr:{aîch:1,anch:1,ém:1,oid:1},ga:{rant:1,rn:1,uch:1,ud:1},gé:{m:1},gl:{ap:1},gr:{and:1,av:1,oss:1},gu:{ér:1},ha:{v:1},he:{nn:1},ho:{nn:1},im:{part:1},in:{fléch:1,terag:1,terconvert:1,tervert:1,vert:1,vest:1},ja:{ill:1,un:1},jo:{u:1},la:{id:1,ngu:1},lo:{t:1},ma:{igr:1},me:{urtr:1},mi:{nc:1},mo:{is:1,ll:1},mu:{g:1,n:1,r:1},mû:{r:1},na:{nt:1},no:{irc:1,urr:1},ob:{é:1,scurc:1},ou:{rd:1},pâ:{l:1,t:1},pé:{r:1,tr:1},pe:{rvert:1},po:{l:1,urr:1},pr:{æmun:1,édéfin:1,émun:1},pu:{n:1},ra:{ccourc:1,corn:1,douc:1,fferm:1,fraich:1,fraîch:1,gaillard:1,id:1,jeun:1,lent:1,moll:1,nc:1,ss:1,ssort:1,v:1},ré:{ag:1,assort:1,enchér:1,fléch:1,g:1,invest:1,jou:1,part:1,tabl:1,tréc:1,un:1,uss:1},re:{bât:1,bond:1,ço:1,convert:1,crép:1,défin:1,fleur:1,froid:1,garn:1,mbrun:1,mpl:1,nchér:1,nforc:1,pétr:1,pun:1,splend:1,ssais:1,ssort:1,ssurg:1,surg:1,tent:1,verd:1,vern:1},ro:{id:1,s:1,ug:1,uss:1},rô:{t:1},ru:{g:1},sa:{is:1,l:1,ur:1},se:{rt:1},sé:{v:1},su:{b:1,bvert:1,renchér:1,rg:1,rinvest:1},ta:{p:1,r:1},te:{rn:1},ti:{éd:1},tr:{ah:1,ans:1,avest:1},un:{"":1},va:{g:1},ve:{rd:1,rn:1},vi:{eill:1},vo:{m:1},vr:{omb:1}},Fe={[v.Mood.Ind]:{present:["e","es","e","ons","ez","ent"],past:["ai","as","a","âmes","âtes","èrent"],imperfect:["ais","ais","ait","ions","iez","aient"],future:["erai","eras","era","erons","erez","eront"]},[v.Mood.Sub]:{present:["e","es","e","ions","iez","ent"],imperfect:["asse","asses","ât","assions","assiez","assent"]},[v.Mood.Cnd]:{present:["erais","erais","erait","erions","eriez","eraient"]},[v.Mood.Imp]:{present:["$","e","","ons","ez","$"]}},Ke={[v.Mood.Ind]:{[v.Tense.Pr]:["is","is","it","issons","issez","issent"],[v.Tense.Pa]:["is","is","it","îmes","îtes","irent"],[v.Aspect.I]:["issais","issais","issait","issions","issiez","issaient"],[v.Tense.Fu]:["irai","iras","ira","irons","irez","iront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["isse","isses","isse","issions","issiez","issent"],[v.Aspect.I]:["isse","isses","ît","issions","issiez","issent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["irais","irais","irait","irions","iriez","iraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","is","","issons","issez","$"]}},Re={[v.Mood.Ind]:{[v.Tense.Pr]:["<s1>s","<s1>s","<s1>t","<p1>ons","<p1>ez","<p3>ent"],[v.Tense.Pa]:["<p>s","<p>s","<p>t","<p>^mes","<p>^tes","<p>rent"],[v.Aspect.I]:["<p1>ais","<p1>ais","<p1>ait","<p1>ions","<p1>iez","<p1>aient"],[v.Tense.Fu]:["<f>ai","<f>as","<f>a","<f>ons","<f>ez","<f>ont"]},[v.Mood.Sub]:{[v.Tense.Pr]:["<p3>e","<p3>es","<p3>e","<p1>ions","<p1>iez","<p3>ent"],[v.Aspect.I]:["<p>sse","<p>sses","<p>^t","<p>ssions","<p>ssiez","<p>ssent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["<f>ais","<f>ais","<f>ait","<f>ions","<f>iez","<f>aient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","<s1>s","","<p1>ons","<p1>ez","$"]}},Ue={être:{pp:"été",[v.Mood.Ind]:{[v.Tense.Pr]:["suis","es","est","sommes","êtes","sont"],[v.Tense.Pa]:["fus","fus","fut","fûmes","fûtes","furent"],[v.Aspect.I]:["étais","étais","était","étions","étiez","étaient"],[v.Tense.Fu]:["serai","seras","sera","serons","serez","seront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["sois","sois","soit","soyons","soyez","soient"],[v.Aspect.I]:["fusse","fusses","fût","fussions","fussiez","fussent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["serais","serais","serait","serions","seriez","seraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","sois","","soyons","soyez","$"]}},avoir:{pp:"eu",[v.Mood.Ind]:{[v.Tense.Pr]:["ai","as","a","avons","avez","ont"],[v.Tense.Pa]:["eus","eus","eut","eûmes","eûtes","eurent"],[v.Aspect.I]:["avais","avais","avait","avions","aviez","avaient"],[v.Tense.Fu]:["aurai","auras","aura","aurons","aurez","auront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["aie","aies","ait","ayons","ayez","aient"],[v.Aspect.I]:["eusse","eusses","eût","eussions","eussiez","eussent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["aurais","aurais","aurait","aurions","auriez","auraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","aie","","ayons","ayez","$"]}},aller:{pp:"allé",[v.Mood.Ind]:{[v.Tense.Pr]:["vais","vas","va","allons","allez","vont"],[v.Tense.Pa]:["allai","allas","alla","allâmes","allâtes","allèrent"],[v.Aspect.I]:["allais","allais","allait","allions","alliez","allaient"],[v.Tense.Fu]:["irai","iras","ira","irons","irez","iront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["aille","ailles","aille","allions","alliez","aillent"],[v.Aspect.I]:["allasse","allasses","allât","allassions","allassiez","allassent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["irais","irais","irait","irions","iriez","iraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","va","","allons","allez","$"]}},pouvoir:{pp:"pu",[v.Mood.Ind]:{[v.Tense.Pr]:["peux","peux","peut","pouvons","pouvez","peuvent"],[v.Tense.Pa]:["pus","pus","put","pûmes","pûtes","purent"],[v.Aspect.I]:["pouvais","pouvais","pouvait","pouvions","pouviez","pouvaient"],[v.Tense.Fu]:["pourrai","pourras","pourra","pourrons","pourrez","pourront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["puisse","puisses","puisse","puissions","puissiez","puissent"],[v.Aspect.I]:["pusse","pusses","pût","pussions","pussiez","pussent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["pourrais","pourrais","pourrait","pourrions","pourriez","pourraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","$","$","$","$","$"]}},savoir:{pp:"su",[v.Mood.Ind]:{[v.Tense.Pr]:["sais","sais","sait","savons","savez","savent"],[v.Tense.Pa]:["sus","sus","sut","sûmes","sûtes","surent"],[v.Aspect.I]:["savais","savais","savait","savions","saviez","savaient"],[v.Tense.Fu]:["saurai","sauras","saura","saurons","saurez","sauront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["sache","saches","sache","sachions","sachiez","sachent"],[v.Aspect.I]:["susse","susses","sût","sussions","sussiez","sussent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["saurais","saurais","saurait","saurions","sauriez","sauraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","sache","$","sachons","sachez","$"]}},vouloir:{pp:"voulu",[v.Mood.Ind]:{[v.Tense.Pr]:["veux","veux","veut","voulons","voulez","veulent"],[v.Tense.Pa]:["voulus","voulus","voulut","voulûmes","voulûtes","voulurent"],[v.Aspect.I]:["voulais","voulais","voulait","voulions","vouliez","voulaient"],[v.Tense.Fu]:["voudrai","voudras","voudra","voudrons","voudrez","voudront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["veuille","veuilles","veuille","veulions","veuliez","veuillent"],[v.Aspect.I]:["voulusse","voulusses","voulût","voulussions","voulussiez","voulussent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["voudrais","voudrais","voudrait","voudrions","voudriez","voudraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","veuille","$","voulons","veuillez","$"]}},valoir:{pp:"valu",[v.Mood.Ind]:{[v.Tense.Pr]:["vaux","vaux","vaut","valons","valez","valent"],[v.Tense.Pa]:["valus","valus","valut","valûmes","valûtes","valurent"],[v.Aspect.I]:["valais","valais","valait","valions","valiez","valaient"],[v.Tense.Fu]:["vaudrai","vaudras","vaudra","vaudrons","vaudrez","vaudront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["vaille","vailles","vaille","valions","valiez","vaillent"],[v.Aspect.I]:["valusse","valusses","valût","valussions","valussiez","valussent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["vaudrais","vaudrais","vaudrait","vaudrions","vaudriez","vaudraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","vaux","$","valons","valez","$"]}},falloir:{pp:"fallu",[v.Mood.Ind]:{[v.Tense.Pr]:["$","$","faut","$","$","$"],[v.Tense.Pa]:["$","$","falut","$","$","$"],[v.Aspect.I]:["$","$","falait","$","$","$"],[v.Tense.Fu]:["$","$","faudra","$","$","$"]},[v.Mood.Sub]:{[v.Tense.Pr]:["$","$","faille","$","$","$"],[v.Aspect.I]:["$","$","falût","$","$","$"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["$","$","faudrait","$","$","$"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","$","$","$","$","$"]}},faire:{pp:"fait",[v.Mood.Ind]:{[v.Tense.Pr]:["fais","fais","fait","faisons","faites","font"],[v.Tense.Pa]:["fis","fis","fit","fîmes","fîtes","firent"],[v.Aspect.I]:["faisais","faisais","faisait","faisions","faisiez","faisaient"],[v.Tense.Fu]:["ferai","feras","fera","ferons","ferez","feront"]},[v.Mood.Sub]:{[v.Tense.Pr]:["fasse","fasses","fasse","fassions","fassiez","fassent"],[v.Aspect.I]:["fisse","fisses","fît","fissions","fissiez","fissent"]},[v.Mood.Cnd]:{[v.Tense.Pr]:["ferais","ferais","ferait","ferions","feriez","feraient"]},[v.Mood.Imp]:{[v.Tense.Pr]:["$","fais","$","faisons","faites","$"]}}},Ee={advenir:1,aller:1,apparaitre:1,apparaître:1,arriver:1,bienvenir:1,débrayer:1,décéder:1,descendre:1,devenir:1,disparaître:1,entrer:1,impartir:1,intervenir:1,marrer:1,monter:1,mourir:1,naitre:1,naître:1,obvenir:1,paraître:1,paralyser:1,partir:1,parvenir:1,passer:1,provenir:1,réapparaître:1,redescendre:1,redevenir:1,remonter:1,renaitre:1,renaître:1,rentrer:1,repartir:1,repasser:1,ressortir:1,ressusciter:1,rester:1,retomber:1,retourner:1,revenir:1,sortir:1,surmener:1,survenir:1,tomber:1,vader:1,venir:1},Ve={cel:1,décel:1,recel:1,cisel:1,démantel:1,écartel:1,encastel:1,gel:1,dégel:1,congel:1,surgel:1,martel:1,model:1,pel:1,achet:1,rachet:1,béguet:1,corset:1,crochet:1,filet:1,furet:1,halet:1},qe={a:"â",e:"ê",i:"î",o:"ô",u:"û"},Qe="aeiouyâàëéêèïîôûù";let Le={verb:"",group:0,inf:"",irr:{}};function De(e,t){let s;if(t)s=t;else switch(Le.group){case 1:s=Fe;break;case 2:s=Ke;break;case 3:s=Re;break;default:return"$"}let r=s[e.mood];if(!r)return"$";if(e.aspect===v.Aspect.P)return"$";let n=r[e.aspect===v.Aspect.I?v.Aspect.I:e.tense];return n?n[function(e){let t=e.number===v.GNumber.S?0:3;return Object.values(v.Person).indexOf(e.person)+t}(e)]:"$"}Be._nStem("snowball","French Snowball stemmr",(function(e){e=(e=(e=(e=(e=e.toLowerCase()).replace("qu","qU")).replace(new RegExp("(["+Qe+"])([ui])(["+Qe+"])","g"),(function(e,t,s,r){return t+s.toUpperCase()+r}))).replace(new RegExp("(["+Qe+"])y","g"),"$1Y")).replace(new RegExp("y(["+Qe+"])","g"),"Y$1");let t,s="",r="",n="",i=new RegExp("^["+Qe+"]{2}.(.*)$");null!=(t=i.exec(e))?s=t[1]:(i=new RegExp("^(par|col|tap)(.*)$"),null!=(t=i.exec(e))?s=t[2]:(i=new RegExp("^.[^"+Qe+"]*["+Qe+"](.*)$"),null!=(t=i.exec(e))&&(s=t[1]))),i=new RegExp("^[^"+Qe+"]*["+Qe+"]+[^"+Qe+"](.*)$"),null!=(t=i.exec(e))&&(r=t[1]),null!=(t=i.exec(r))&&(n=t[1]);let a=e,c=function(e,t,s,r){let n,i;if(i=new RegExp("^.*(eux|ances?|iqUes?|ismes?|ables?|istes?)$"),null!=(n=i.exec(e))&&r.endsWith(n[1]))return{stem:e.slice(0,-n[1].length),next:!1};if(i=new RegExp("^.*(atrices?|ateurs?|ations?)$"),null!=(n=i.exec(e))&&r.endsWith(n[1]))return(e=e.slice(0,-n[1].length)).endsWith("ic")?r.endsWith("ic"+n[1])?{stem:e.slice(0,-2),next:!1}:{stem:e.slice(0,-1)+"qU",next:!1}:{stem:e,next:!1};if(i=new RegExp("^.*log(ies?)$"),null!=(n=i.exec(e))&&r.endsWith("log"+n[1]))return{stem:e.slice(0,-n[1].length),next:!1};if(i=new RegExp("^.*u(sions?|tions?)$"),null!=(n=i.exec(e))&&r.endsWith("u"+n[1]))return{stem:e.slice(0,-n[1].length),next:!1};if(i=new RegExp("^.*en(ces?)$"),null!=(n=i.exec(e))&&r.endsWith("en"+n[1]))return{stem:e.slice(0,-n[1].length)+"t",next:!1};if(i=new RegExp("^.*(ements?)$"),null!=(n=i.exec(e))&&t.endsWith(n[1])){if(e=e.slice(0,-n[1].length),r.endsWith("iv"+n[1]))return e=e.slice(0,-2),r.endsWith("ivat"+n[1])?{stem:e.slice(0,-2),next:!1}:{stem:e,next:!1};if(e.endsWith("eus")){if(r.endsWith("eus"+n[1]))return{stem:e.slice(0,-3),next:!1};if(r.endsWith("eus"+n[1]))return{stem:e.slice(0,-1)+"x",next:!1}}return new RegExp("^.*(abl|iqU)"+n[1]+"$").test(r)?{stem:e.slice(0,-3),next:!1}:new RegExp("^.*[iI]èr"+n[1]+"$").test(t)?{stem:e.slice(0,-3)+"i",next:!1}:{stem:e,next:!1}}if(i=new RegExp("^.*(ités?)$"),null!=(n=i.exec(e))&&r.endsWith(n[1]))return(e=e.slice(0,-n[1].length)).endsWith("abil")?r.endsWith("abil"+n[1])?{stem:e.slice(0,-4),next:!1}:{stem:e.slice(0,-2)+"l",next:!1}:e.endsWith("ic")?(e=e.slice(0,-2),r.endsWith("ic"+n[1])?{stem:e,next:!1}:{stem:e+"iqU",next:!1}):r.endsWith("iv"+n[1])?{stem:e.slice(0,-2),next:!1}:{stem:e,next:!1};if(i=new RegExp("^.*(ifs?|ives?)$"),null!=(n=i.exec(e))&&r.endsWith(n[1])&&(e=e.slice(0,-n[1].length),r.endsWith("at"+n[1])))return(e=e.slice(0,2)).endsWith("ic")?(e=e.slice(0,2),r.endsWith("icat"+n[1])?{stem:e,next:!1}:{stem:e+"iqU",next:!1}):{stem:e,next:!1};if(e.endsWith("eaux"))return{stem:e.slice(0,-1),next:!1};if(s.endsWith("aux"))return{stem:e.slice(0,-2)+"l",next:!1};if(i=new RegExp("^.*(euses?)$"),null!=(n=i.exec(e))){if(r.endsWith(n[1]))return{stem:e.slice(0,-n[1].length),next:!1};if(s.endsWith(n[1]))return{stem:e.slice(0,2-n[1].length)+"x",next:!1}}return i=new RegExp("^.*[^"+Qe+"](issements?)$"),null!=(n=i.exec(e))&&s.endsWith(n[1])?{stem:e.slice(0,-n[1].length),next:!1}:(i=new RegExp("^.*([ae])mment$"),null!=(n=i.exec(e))&&t.endsWith(n[1]+"mment")?{stem:e.slice(0,-5)+"nt",next:!1}:(i=new RegExp("^.*(ments?)$"),null!=(n=i.exec(e))&&(new RegExp("^.*["+Qe+"]"+n[1])+"$").test(t)?{stem:e.slice(0,-n[1].length),next:!1}:{stem:e,next:!0}))}(e,s,r,n);return e=c.stem,c.next&&(e=function(e,t,s){let r,n;return n=new RegExp("(îmes|ît|it|îtes|ie?s?|i[rst]|ir(?:as?|ai|ont)|iss(?:ante?s?|es?)|(ir|iss)(?:ai[st]|aIent|i?ons|i?ez|ent))$"),null!=(r=n.exec(e))&&new RegExp("[^"+Qe+"]"+r[1]).test(t)?e.slice(0,-r[1].length):e.endsWith("ions")&&s.endsWith("ions")?e.slice(0,-4):(n=new RegExp("^.*(er|i?ez|èrent|ée?s?|er(?:as?|ai[st]?|i?ez|i?ons|ont|aIent))$"),null!=(r=n.exec(e))&&t.indexOf(r[1])>-1?e.slice(0,-r[1].length):(n=new RegExp("^.*(ât|â[tm]es|as?|ai[st]?|ante?s?|aIent|ass(?:es?|ent|iez|ions))$"),null!=(r=n.exec(e))&&t.indexOf(r[1])>-1&&(e=e.slice(0,-r[1].length)).endsWith("e")&&t.indexOf("e"+r[1])>-1?e.slice(0,-1):e))}(e,s,n)),e!=a&&(e=function(e){return e.endsWith("Y")?e.slice(0,-1)+"i":e.endsWith("ç")?e.slice(0,-1)+"c":e}(e)),e===a&&(e=function(e,t,s){if(/[^aiouès]s$/.test(e)&&(e=e.slice(0,-1)),s.endsWith("ion")&&/ion[st]$/.test(t))return e.slice(0,-3);{let s;if(null!=(s=new RegExp("^.*([iI](?:er|ère))$").exec(e))&&t.endsWith(s[1]))return e.slice(0,-s[1].length)+"i"}return e.endsWith("e")||e.endsWith("gue")?e.slice(0,-1):e}(e,s,n)),/(?:enn|onn|ett|ei?ll)$/.test(e)&&(e=e.slice(0,-1)),(e=e.replace(new RegExp("[éè]([^"+Qe+"]+)$"),"e$1")).toLowerCase()})),Be._nConv("sing2pl","Singular noun to Plural",(function(e){return/[sxz]$/.test(e)?e:/^(bij|caill|ch|gen|hib|jouj|p)ou$/.test(e)?e+"x":e.endsWith("al")&&!/^(b|carnav|festiv|chac|rég|c)al$/.test(e)?e.slice(0,-1)+"ux":/^(b|cor|ém|soupir|trav|vent|vitr)ail$/.test(e)?e.slice(0,-2)+"ux":/[ae]u$/.test(e)?e+(/^(sarrau|landau|pneu)$/.test(e)?"s":"x"):e+"s"})),Be.abbr={all:1,art:1,auj:1,av:1,bar:1,bd:1,bn:1,boul:1,c:1,cam:1,cart:1,cb:1,ch:1,ci:1,coll:1,cymb:1,dr:1,dre:1,éd:1,ép:1,ex:1,fig:1,fi:1,gén:1,hb:1,hon:1,hpe:1,lal:1,Ltée:1,m:1,me:1,mlle:1,mm:1,mme:1,mmes:1,ms:1,mtl:1,néerl:1,qc:1,resp:1,rte:1,sask:1,sax:1,st:1,ste:1,surt:1,tbn:1,trb:1,trgl:1,vc:1,vl:1,vlc:1,vn:1,voy:1,janv:1,févr:1,avr:1,juil:1,juill:1,sept:1,oct:1,nov:1,déc:1};const Je=Be;class Xe extends u{static CS={};static TR={};static langCode="jpn";static nbr2str(e){if(isNaN(e))return"";let t=!1;if(e<0&&(t=!0,e=-e),e<10)return Ye[e];let s,r=0,n=1;for(r=0;r<Ze.length&&(n=Ze[r],s=~~(e/n),!(s>0));r++);let i=~~(e%n),a="";return s>0&&(s>1||n>1e3)&&(a+=this.nbr2str(s)),a+=Ye[n],i>0&&(a+=this.nbr2str(i)),t&&(a="マイナス"+a),a}}Xe._nChs("Hiragana",12352,12447),Xe._nChs("Katakana",12448,12543),Xe._nChs("Kanji",19968,40895),Xe._nChs("Punctuation",12288,12351),Xe._nTrans("hira2kata","Hiragana to Katakana",[{offset:96,setName:"Hiragana"}]),Xe._nTrans("kata2hira","Katakana to Hiragana",[{offset:-96,setName:"Katakana"}]);const Ye={0:"零",1:"一",2:"二",3:"三",4:"四",5:"五",6:"六",7:"七",8:"八",9:"九",10:"十",100:"百",1e3:"千",1e4:"万",1e8:"億",1e12:"兆"},Ze=[1e12,1e8,1e4,1e3,100,10],et=Xe;class tt extends m{static code="jpn";static methods={};static defMethod="";static currentMethod=""}const st=["が","ぎ","ぐ","げ","ご","ざ","じ","じ","ず","ぜ","ぞ","だ","ぢ","ぢ","づ","で","ど","ば","び","ぶ","べ","ぼ","ぱ","ぴ","ぷ","ぺ","ぽ","ふぁ","ふぉ","ふぃ","か","き","く","け","こ","た","ち","つ","て","と","さ","し","し","す","せ","そ","な","に","ぬ","ね","の","は","ひ","ふ","へ","ほ","ま","み","む","め","も","や","ゆ","よ","ら","り","る","れ","ろ","わ","を","あ","い","う","え","お","ん","ゃ","ぇ","ゅ","ぃ","ょ"],rt=["ga","gi","gu","ge","go","za","ji","zi","zu","ze","zo","da","ji","di","zu","de","do","ba","bi","bu","be","bo","pa","pi","pu","pe","po","fa","fo","fi","ka","ki","ku","ke","ko","ta","chi","tsu","te","to","sa","shi","si","su","se","so","na","ni","nu","ne","no","ha","hi","fu","he","ho","ma","mi","mu","me","mo","ya","yu","yo","ra","ri","ru","re","ro","wa","wo","a","i","u","e","o","n","xya","xye","xyu","xyi","xyo"],nt={ku:"く",su:"す",nu:"ぬ",fu:"ふ",hu:"ふ",mu:"む",yu:"ゆ",ru:"る",gu:"ぐ",zu:"ず",du:"づ",bu:"ぶ",pu:"ぷ"};function it(e){var t=e.replace(/し/gi,"si");return(t=(t=(t=(t=(t=(t=(t=t.replace(/ち/gi,"ti")).replace(/つ/gi,"tu")).replace(/ふ/gi,"hu")).replace(/じ/gi,"zi")).replace(/uぉ/gi,"o")).replace(/uぁ/gi,"a")).replace(/uぃ/gi,"i")).replace(/uぇ/gi,"e")}function at(e){let t=e;return t=t.replace(/si/gi,"し"),t=t.replace(/ti/gi,"ち"),t=t.replace(/tu/gi,"つ"),t=t.replace(/hu/gi,"ふ"),t=t.replace(/zi/gi,"じ"),t}function ct(e){var t=e.replace(/ix/gi,"");return function(e){return e.replace(/(っ+)(.)/gi,(function(e,t,s){return new Array(2+t.length).join(s)}))}(t)}function ot(e){return e.replace(/(sh|ch|.)\1+/gi,(function(e,t){if("aeuio".indexOf(t)>-1)return e;var s="っ";"n"===t&&(s="ん");var r=e.length/t.length;return new Array(r).join(s)+t}))}function ut(e){return e.replace(/(sh|ch|.)y([aeuio])/gi,(function(e,t,s){var r=t+"i";if(rt.indexOf(r)>-1){var n=st[rt.indexOf(r)];return r="xy"+s,rt.indexOf(r)>-1&&(n+=st[rt.indexOf(r)]),n}return e}))}function lt(e){return e.replace(/[a-z][う]?/gi,(function(e){var t=e;if(e.length>1){if("tう"===e)return"つ";t=e[0]}var s="";return(t+="u")in nt&&(s=nt[t]),e.length>1&&(s+="う"),s}))}tt._nTrans("hepburn",st,rt),tt._sTransCnd("hepburn",(function(e){return e.replace(/([しちじぢ])([ゃぇゅょ])/gi,(function(e,t,s){let r=rt[st.indexOf(t)];return r+=rt[st.indexOf(s)],r.replace("ixy","")}))}),ct),tt._sUntransCnd("hepburn",(function(e){var t=ot(e);return ut(t=t.replace(/(sh|ch|j)([aeuo])/gi,(function(e,t,s){let r=t+"i";if(rt.indexOf(r)>-1){var n=st[rt.indexOf(r)];return r="xy"+s,rt.indexOf(r)>-1&&(n+=st[rt.indexOf(r)]),n}return e})))}),lt),tt._nTrans("nihonshiki",st,rt),tt._sTransCnd("nihonshiki",(function(e){let t=it(e);return t=t.replace(/ぢ/gi,"di"),t=t.replace(/づ/gi,"du"),t}),ct),tt._sUntransCnd("nihonshiki",(function(e){let t=ot(e);return t=at(t),t=t.replace(/di/gi,"ぢ"),t=t.replace(/du/gi,"づ"),ut(t)}),lt),tt._nTrans("kunreishiki",st,rt),tt._sTransCnd("kunreishiki",(function(e){let t=it(e);return t=t.replace(/ぢ/gi,"zi"),t}),ct),tt._sUntransCnd("kunreishiki",(function(e){var t=ot(e);return ut(t=(t=at(t)).replace(/zi/gi,"ぢ"))}),lt),tt._nTrans("morse",st,[" .-..  .. "," -.-..  .. "," ..-  .. "," -.--  .. "," ----  .. "," -.-.-  .. "," --.-.  .. "," --.-.  .. "," ---.-  .. "," .---.  .. "," ---.  .. "," -.  .. "," ..-.  .. "," ..-.  .. "," .--.  .. "," .-.--  .. "," ..-..  .. "," -...  .. "," --..-  .. "," --..  .. "," .  .. "," -..  .. "," -...  .. "," --..-  ..--. "," --..  ..--. "," .  ..--. "," -..  ..--. ","*","*","*"," .-.. "," -.-.. "," ...- "," -.-- "," ---- "," -. "," ..-. "," .--. "," .-.-- "," ..-.. "," -.-.- "," --.-. "," --.-. "," ---.- "," .---. "," ---. "," .-. "," -.-. "," .... "," --.- "," ..-- "," -... "," --..- "," --.. "," . "," -.. "," -..- "," ..-.- "," - "," -...- "," -..-. "," .-- "," -..-- "," -- "," ... "," --. "," -.--. "," --- "," .-.- "," -.- "," .--- "," --.-- "," .- "," ..- "," -.--- "," .-... "," .-.-. "," .-- "," -.--- "," -..-- "," .- "," -- "]),tt._sTransCnd("morse",(function(e){var t=e;return function(e){return e.replace(/[っ]/gi,"つ")}(t=(t=t.replace(/[.-]/gi,"")).replace(/[ ]+/gi,"\t"))}),(function(e){var t=e;return"-..---"+(t=(t=(t=(t=m.specialCharTrans(t)).replace(/ +/gi," ")).replace(/\t/gi,"   ")).replace(/[^ .-]/gi,""))+"...-."})),tt._sUntransCnd("morse",(function(e){var t=e;return(t=(t=(t=(t=(t=(t=t.replace(/[^ .-]/gi,"")).replace(/[ ]{3,}/gi," \t ")).replace(/ +/gi,"  ")).replace(/^/gi," ")).replace(/$/gi," ")).replace(/ -\.\.--- /gi," ")).replace(/ \.\.\.-\. /gi," ")}),(function(e){var t=e;return(t=(t=m.specialCharUntrans(t)).replace(/ +/gi,"")).replace(/\t/gi,"　")}));const pt=tt;class dt extends v{static stemmers={};static converters={};static cstemmer="";static cconverter="";static langCode="jpn";static ssplitter=/([?!。])(?:\s+|$)/;static _conj(e,t){return Pt(e,t)}static lform(){return{pres:{desc:"Present",tense:v.Tense.Pr},past:{desc:"Past",tense:v.Tense.Pa},pres_cont:{desc:"Present continuous",tense:v.Tense.Pr,aspect:v.Aspect.C},past_cont:{desc:"Past continuous",tense:v.Tense.Pa,aspect:v.Aspect.C},prov:{desc:"Provision",mood:v.Mood.Cnd,cond:"ba"},cond:{desc:"Condition",mood:v.Mood.Cnd,cond:"tara"},imp:{desc:"Imperative",mood:v.Mood.Imp},vol:{desc:"Volitional",mood:v.Mood.Opt},caus:{desc:"Causative",cause:1},pot:{desc:"Potential",mood:v.Mood.Pot},pass:{desc:"Passive",voice:v.Voice.P,tense:v.Tense.Pr},caus_pass:{desc:"Causative Passive",voice:v.Voice.P,tense:v.Tense.Pr,cause:1}}}static lvtype(){return Object.values(ht)}static gconjmod(){return{rows:["Formality"],cols:["Negation"]}}static gvtype(e){return _t(e)}static lconjopt(e){return"Formality"===e?[{formality:v.Formality.Pl},{formality:v.Formality.Po}]:v.lconjopt(e)}static goptname(e,t){return"Formality"===e?t.formality?t.formality:"":v.goptname(e,t)}static _gPpOpts(){return[{person:v.Person.F,number:v.GNumber.S},{person:v.Person.F,number:v.GNumber.P},{person:v.Person.S,number:v.GNumber.S},{person:v.Person.S,number:v.GNumber.P},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.M},{person:v.Person.T,number:v.GNumber.S,gender:v.Gender.F},{person:v.Person.T,number:v.GNumber.P}]}static _gPpName(e){switch(e.person){case v.Person.F:return e.number===v.GNumber.S?"私":"私たち";case v.Person.S:return e.number===v.GNumber.S?"あなた":"あなたたち";case v.Person.T:if(e.number!=v.GNumber.S)return"彼ら";switch(e.gender){case v.Gender.M:return"彼";case v.Gender.F:return"彼女";default:return"彼"}}return""}static norm(e,t){let s;return Ct(s=/^(.*ね)[えぇ]+$/.exec(e))||Ct(s=/^(.*な)[あぁ]+$/.exec(e))?s[1]:Ct(s=/^(.*す)げ[えぇ]+$/.exec(e))?s[1]+"ごい":Ct(s=/^(.*)やない$/.exec(e))?s[1]+"じゃない":Ct(s=/^(.*)ばい$/.exec(e))?s[1]+"よ":Ct(s=/^(.*)へん$/.exec(e))?s[1]+"ない":Ct(s=/^(.*)さかい$/.exec(e))?s[1]+"から":Ct(s=new RegExp("^(.+)(["+ft+"])んさんな").exec(e))?s[1]+vt[ft.indexOf(s[2])]+"ないでください":Ct(s=/^(.*)んさんな$/.exec(e))?s[1]+"ないでください":Ct(s=/^(.*)[え]+$/.exec(e))?s[1]+"よ":Ct(s=/^(.*て)ちょう$/.exec(e))?s[1]+"ください":Ct(s=/^(.*[^だ])だ?べ$/.exec(e))||Ct(s=/^(.*)っしょ$/.exec(e))||Ct(s=/^(.*)しょや$/.exec(e))?s[1]+"でしょう":e}static tokenize(e){return Tt.segment(e)}}const ht={V1:"ichidan",V5:"godan",SK:"suru-kuru"},mt="うるくすつむぬぶぐず",ft="いりきしちみにびぎじ",gt="えれけせてめねべげず",vt="わらかさたまなばがじ",bt={い:1,き:1,け:1,し:1,じ:1,ね:1,び:1,上:1,下:1,与:1,中:1,乗:1,乘:1,亘:1,亙:1,交:1,代:1,伐:1,余:1,作:1,侍:1,依:1,侮:1,便:1,係:1,倚:1,借:1,偏:1,偽:1,傲:1,優:1,光:1,入:1,写:1,冠:1,凍:1,凝:1,凭:1,分:1,切:1,刈:1,判:1,到:1,刳:1,刷:1,剃:1,則:1,削:1,剔:1,剥:1,剪:1,割:1,創:1,劣:1,労:1,勝:1,募:1,去:1,参:1,反:1,取:1,叱:1,司:1,吃:1,吊:1,告:1,呵:1,呷:1,呻:1,哮:1,唆:1,唸:1,啜:1,喋:1,嘲:1,噛:1,囀:1,囓:1,回:1,因:1,困:1,図:1,在:1,坐:1,執:1,堪:1,塗:1,填:1,売:1,変:1,太:1,奉:1,契:1,奔:1,奢:1,妊:1,娶:1,嬲:1,孕:1,孵:1,守:1,実:1,宿:1,寄:1,尖:1,屠:1,嵌:1,巡:1,帰:1,座:1,廃:1,廻:1,弄:1,弱:1,張:1,当:1,彩:1,彫:1,徹:1,忘:1,怒:1,怖:1,怠:1,悖:1,悟:1,慊:1,慮:1,憚:1,憤:1,懸:1,戍:1,成:1,截:1,戯:1,戻:1,承:1,抉:1,抓:1,折:1,抛:1,択:1,拈:1,拗:1,拘:1,拠:1,括:1,挙:1,振:1,挵:1,捕:1,捗:1,捥:1,捩:1,据:1,捻:1,掌:1,掏:1,掘:1,掛:1,掠:1,採:1,探:1,換:1,握:1,揺:1,搾:1,摂:1,摩:1,摺:1,撓:1,撚:1,撮:1,撲:1,擂:1,操:1,擦:1,擲:1,擽:1,攣:1,放:1,敗:1,散:1,斬:1,断:1,昂:1,昇:1,明:1,映:1,曇:1,曲:1,替:1,有:1,杓:1,来:1,染:1,梱:1,梳:1,極:1,模:1,止:1,歸:1,残:1,殴:1,殺:1,毟:1,氷:1,決:1,沒:1,没:1,治:1,泊:1,泝:1,浸:1,渉:1,渋:1,減:1,渡:1,測:1,湿:1,溜:1,溯:1,滑:1,滞:1,滴:1,滾:1,漁:1,漏:1,演:1,漬:1,漲:1,潜:1,濁:1,灯:1,炒:1,炙:1,点:1,烟:1,焙:1,焦:1,煉:1,煎:1,煙:1,照:1,煽:1,熬:1,燻:1,犯:1,狩:1,猛:1,猟:1,生:1,甦:1,由:1,留:1,畝:1,異:1,疑:1,痙:1,痼:1,登:1,盗:1,盛:1,直:1,眠:1,睡:1,瞋:1,瞑:1,瞠:1,瞻:1,知:1,破:1,磨:1,祀:1,祈:1,祟:1,祭:1,祷:1,移:1,稔:1,積:1,穫:1,穿:1,競:1,篭:1,籠:1,粘:1,糶:1,細:1,終:1,絞:1,綴:1,練:1,縁:1,縊:1,縋:1,縒:1,縛:1,縢:1,繁:1,織:1,繰:1,纏:1,罵:1,罹:1,翳:1,翻:1,耽:1,肖:1,肥:1,腐:1,至:1,興:1,舐:1,苅:1,苦:1,茂:1,茹:1,葬:1,蒙:1,薫:1,蘇:1,蟠:1,蠱:1,行:1,被:1,要:1,覆:1,覚:1,解:1,触:1,計:1,訛:1,訝:1,詐:1,詣:1,詰:1,誇:1,語:1,誤:1,誹:1,諮:1,謀:1,謗:1,謙:1,謝:1,謬:1,譏:1,識:1,譲:1,護:1,象:1,貪:1,貼:1,賜:1,贈:1,走:1,起:1,趨:1,足:1,跨:1,跳:1,踊:1,踞:1,蹲:1,蹴:1,躄:1,躍:1,躙:1,軋:1,載:1,辷:1,辿:1,返:1,迫:1,迸:1,送:1,透:1,通:1,造:1,逸:1,逼:1,過:1,遜:1,遡:1,遣:1,遮:1,遷:1,選:1,遺:1,避:1,還:1,配:1,釁:1,重:1,量:1,釣:1,鈍:1,錯:1,録:1,鐫:1,鑽:1,関:1,阿:1,限:1,陞:1,陥:1,陰:1,障:1,隠:1,隣:1,雕:1,霾:1,頻:1,頼:1,飜:1,飾:1,馘:1,香:1,駆:1,騙:1,驕:1,鳴:1,鴨:1,黙:1,齧:1},yt=[{e:/^(.*)で(?:した|す)$/,r:"$1"},{e:/^(.*)(?:じゃ|では)(?:ない|ありません)$/,r:"$1"},{e:/^(.+[てで])(?:いる?|う)$/,r:"$1"},{e:/^(.*)(.+)(?:ま(?:した|す|せん|しょう)|たい)$/,r:function(e,t,s){let r=ft.indexOf(s);return r>-1?t+mt[r]:t+s}},{e:/^(.*)(.+)な(?:い|かった|ければ(?:なる)?)$/,r:function(e,t,s){if("く"===s)return t+"い";let r=vt.indexOf(s);return r>-1?t+mt[r]:t+s}},{e:/^(.+)(?:させ|られ)る?$/,r:"$1"},{e:/^(.*[い行])っ[てた]$/,r:"$1く"},{e:/^(.*)([^っいん])([っいん]?[てでただ])$/,r:function(e,t,s,r){return/^い[てた]$/.test(s+r)?t+"く":/^い[でだ]$/.test(s+r)?t+"ぐ":/^し[てた]$/.test(s+r)?t+"す":t+s}}];function _t(e){if(/(出来)る$/g.test(e))return ht.V1;if(/(す|く|来)る$/g.test(e))return ht.SK;let t=e.slice(-1),s=e.slice(-2,-1);if("る"===t){if(!"いえしせちてにねびべみめりれ".includes(s)){let e=s.charCodeAt(0);if(12352<=e&&e<=12447)return ht.V5}return/(甦え|蘇え|嘲け|ちぎ|かえ|横ぎ|阿ね|きい|かぎ|はい|はし|しゃべ|たべ|まえ)る$/g.test(e)||bt[s]?ht.V5:ht.V1}return ht.V5}function Pt(e,t){t.mood||(t.mood=v.Mood.Ind);let s=t.vtype?t.vtype:_t(e),r="";switch(t.cause&&(r="せる",s!==ht.V1&&s!==ht.SK||(r="さ"+r),e=e.endsWith("する")?e.slice(0,-2)+r:$t(e,vt,s)+r,s=ht.V1),t.voice===v.Voice.P&&t.mood!==v.Mood.Pot&&(r="れる",s!==ht.V1&&s!==ht.SK||(r="ら"+r),e=e.endsWith("する")?e.slice(0,-2)+"される":$t(e,vt,s)+r,s=ht.V1),t.mood){case v.Mood.Ind:switch(r="",t.aspect===v.Aspect.C&&(e=It(e,0,s),s=ht.V1,e+="いる"),t.formality){case v.Formality.Po:return e=$t(e,ft,s),r="ます",t.tense===v.Tense.Pa&&(r="ました"),t.negated&&(r="ません",t.tense===v.Tense.Pa&&(r+="でした")),e+r;case v.Formality.Pl:return t.tense===v.Tense.Pa&&(r="ました"),t.negated?(e=$t(e,vt,s),r=t.tense===v.Tense.Pa?"なかった":"ない"):t.tense===v.Tense.Pa&&(e=It(e,1,s),r=""),e+r;default:return""}case v.Mood.Imp:switch(r="",t.formality){case v.Formality.Po:return t.negated?(e=$t(e,vt,s),r="ないで"):e=It(e,0,s),e+r+"下さい";case v.Formality.Pl:return t.negated?e+"な":s===ht.V1?e.slice(0,-1)+"(ろ/よ)":s===ht.SK?e.endsWith("くる")?e.slice(0,-2)+"こい":e.endsWith("来る")?e.slice(0,-1)+"い":e.slice(0,-2)+"(しろ/せよ)":$t(e,gt,s);default:return""}case v.Mood.Pot:if(t.voice===v.Voice.P)return"";e=e.endsWith("する")?e.slice(0,-2)+"出来る":s===ht.V1?e.slice(0,-1)+"られる":$t(e,gt,s)+"る";{let s=Object.assign({},t);return s.mood=v.Mood.Ind,s.vtype=ht.V1,Pt(e+r,s)}case v.Mood.Cnd:if(t.voice===v.Voice.P)return"";if("ba"===t.cond)return t.formality===v.Formality.Po?"":t.negated?$t(e,vt,s)+"なければ":$t(e,gt,s)+"ば";{let s=Object.assign({},t);return s.mood=v.Mood.Ind,s.tense=v.Tense.Pa,Pt(e,s)+"ら"}case v.Mood.Opt:return t.voice===v.Voice.P?"":t.negated?(e+="のは止め",t.formality===v.Formality.Pl?e+"よう":e+"ましょう"):t.formality!==v.Formality.Pl?$t(e,ft,s)+"ましょう":(e=$t(e,"おろこそとものぼごじ",s),s!==ht.V1&&s!==ht.SK||(e+="よ"),e+"う");default:return""}}function $t(e,t,s){let r=e.slice(-1);return mt.indexOf(r)<0?"":t===mt?e:s===ht.V1?t===gt?e.slice(0,-1)+"れ":e.slice(0,-1):s===ht.SK?t===gt?e.slice(0,-1)+"れ":e.endsWith("くる")?(e=e.slice(0,-2),t===ft?e+"き":e+"こ"):e.endsWith("来る")?e.slice(0,-1):e.slice(0,-2)+"し":e.slice(0,-1)+t.charAt(mt.indexOf(r))}function It(e,t,s){let r=e.slice(-1);if(mt.indexOf(r)<0)return"";let n="て";return mt.indexOf(r)>4?(n="で",t&&(n="だ")):t&&(n="た"),s===ht.V1?e.slice(0,-1)+n:s===ht.SK?e.endsWith("くる")?e.slice(0,-2)+"き"+n:e.endsWith("する")?e.slice(0,-2)+"し"+n:e.slice(0,-1)+n:/[行いゆ]く$/g.test(e)?e.slice(0,-1)+"っ"+n:(n="っっいしっんんんいじ".charAt(mt.indexOf(r))+n,e.slice(0,-1)+n)}function xt(){var e={"[一二三四五六七八九十百千万億兆]":"M","[一-龠々〆ヵヶ]":"H","[ぁ-ん]":"I","[ァ-ヴーｱ-ﾝﾞｰ]":"K","[a-zA-Zａ-ｚＡ-Ｚ]":"A","[0-9０-９]":"N"};for(var t in this.chartype_=[],e){var s=new RegExp;s.compile(t),this.chartype_.push([s,e[t]])}return this.BIAS__=-332,this.BC1__={HH:6,II:2461,KH:406,OH:-1378},this.BC2__={AA:-3267,AI:2744,AN:-878,HH:-4070,HM:-1711,HN:4012,HO:3761,IA:1327,IH:-1184,II:-1332,IK:1721,IO:5492,KI:3831,KK:-8741,MH:-3132,MK:3334,OO:-2920},this.BC3__={HH:996,HI:626,HK:-721,HN:-1307,HO:-836,IH:-301,KK:2762,MK:1079,MM:4034,OA:-1652,OH:266},this.BP1__={BB:295,OB:304,OO:-125,UB:352},this.BP2__={BO:60,OO:-1762},this.BQ1__={BHH:1150,BHM:1521,BII:-1158,BIM:886,BMH:1208,BNH:449,BOH:-91,BOO:-2597,OHI:451,OIH:-296,OKA:1851,OKH:-1020,OKK:904,OOO:2965},this.BQ2__={BHH:118,BHI:-1159,BHM:466,BIH:-919,BKK:-1720,BKO:864,OHH:-1139,OHM:-181,OIH:153,UHI:-1146},this.BQ3__={BHH:-792,BHI:2664,BII:-299,BKI:419,BMH:937,BMM:8335,BNN:998,BOH:775,OHH:2174,OHM:439,OII:280,OKH:1798,OKI:-793,OKO:-2242,OMH:-2402,OOO:11699},this.BQ4__={BHH:-3895,BIH:3761,BII:-4654,BIK:1348,BKK:-1806,BMI:-3385,BOO:-12396,OAH:926,OHH:266,OHK:-2036,ONN:-973},this.BW1__={",と":660,",同":727,B1あ:1404,B1同:542,"、と":660,"、同":727,"」と":1682,あっ:1505,いう:1743,いっ:-2055,いる:672,うし:-4817,うん:665,から:3472,がら:600,こう:-790,こと:2083,こん:-1262,さら:-4143,さん:4573,した:2641,して:1104,すで:-3399,そこ:1977,それ:-871,たち:1122,ため:601,った:3463,つい:-802,てい:805,てき:1249,でき:1127,です:3445,では:844,とい:-4915,とみ:1922,どこ:3887,ない:5713,なっ:3015,など:7379,なん:-1113,にし:2468,には:1498,にも:1671,に対:-912,の一:-501,の中:741,ませ:2448,まで:1711,まま:2600,まる:-2155,やむ:-1947,よっ:-2565,れた:2369,れで:-913,をし:1860,を見:731,亡く:-1886,京都:2558,取り:-2784,大き:-2604,大阪:1497,平方:-2314,引き:-1336,日本:-195,本当:-2423,毎日:-2113,目指:-724,Ｂ１あ:1404,Ｂ１同:542,"｣と":1682},this.BW2__={"..":-11822,11:-669,"――":-5730,"−−":-13175,いう:-1609,うか:2490,かし:-1350,かも:-602,から:-7194,かれ:4612,がい:853,がら:-3198,きた:1941,くな:-1597,こと:-8392,この:-4193,させ:4533,され:13168,さん:-3977,しい:-1819,しか:-545,した:5078,して:972,しな:939,その:-3744,たい:-1253,たた:-662,ただ:-3857,たち:-786,たと:1224,たは:-939,った:4589,って:1647,っと:-2094,てい:6144,てき:3640,てく:2551,ては:-3110,ても:-3065,でい:2666,でき:-1528,でし:-3828,です:-4761,でも:-4203,とい:1890,とこ:-1746,とと:-2279,との:720,とみ:5168,とも:-3941,ない:-2488,なが:-1313,など:-6509,なの:2614,なん:3099,にお:-1615,にし:2748,にな:2454,によ:-7236,に対:-14943,に従:-4688,に関:-11388,のか:2093,ので:-7059,のに:-6041,のの:-6125,はい:1073,はが:-1033,はず:-2532,ばれ:1813,まし:-1316,まで:-6621,まれ:5409,めて:-3153,もい:2230,もの:-10713,らか:-944,らし:-1611,らに:-1897,りし:651,りま:1620,れた:4270,れて:849,れば:4114,ろう:6067,われ:7901,を通:-11877,んだ:728,んな:-4115,一人:602,一方:-1375,一日:970,一部:-1051,上が:-4479,会社:-1116,出て:2163,分の:-7758,同党:970,同日:-913,大阪:-2471,委員:-1250,少な:-1050,年度:-8669,年間:-1626,府県:-2363,手権:-1982,新聞:-4066,日新:-722,日本:-7068,日米:3372,曜日:-601,朝鮮:-2355,本人:-2697,東京:-1543,然と:-1384,社会:-1276,立て:-990,第に:-1612,米国:-4268,"１１":-669},this.BW3__={あた:-2194,あり:719,ある:3846,"い.":-1185,"い。":-1185,いい:5308,いえ:2079,いく:3029,いた:2056,いっ:1883,いる:5600,いわ:1527,うち:1117,うと:4798,えと:1454,"か.":2857,"か。":2857,かけ:-743,かっ:-4098,かに:-669,から:6520,かり:-2670,"が,":1816,"が、":1816,がき:-4855,がけ:-1127,がっ:-913,がら:-4977,がり:-2064,きた:1645,けど:1374,こと:7397,この:1542,ころ:-2757,さい:-714,さを:976,"し,":1557,"し、":1557,しい:-3714,した:3562,して:1449,しな:2608,しま:1200,"す.":-1310,"す。":-1310,する:6521,"ず,":3426,"ず、":3426,ずに:841,そう:428,"た.":8875,"た。":8875,たい:-594,たの:812,たり:-1183,たる:-853,"だ.":4098,"だ。":4098,だっ:1004,った:-4748,って:300,てい:6240,てお:855,ても:302,です:1437,でに:-1482,では:2295,とう:-1387,とし:2266,との:541,とも:-3543,どう:4664,ない:1796,なく:-903,など:2135,"に,":-1021,"に、":-1021,にし:1771,にな:1906,には:2644,"の,":-724,"の、":-724,の子:-1e3,"は,":1337,"は、":1337,べき:2181,まし:1113,ます:6943,まっ:-1549,まで:6154,まれ:-793,らし:1479,られ:6820,るる:3818,"れ,":854,"れ、":854,れた:1850,れて:1375,れば:-3246,れる:1091,われ:-605,んだ:606,んで:798,カ月:990,会議:860,入り:1232,大会:2217,始め:1681,市:965,新聞:-5055,"日,":974,"日、":974,社会:2024,ｶ月:990},this.TC1__={AAA:1093,HHH:1029,HHM:580,HII:998,HOH:-390,HOM:-331,IHI:1169,IOH:-142,IOI:-1015,IOM:467,MMH:187,OOI:-1832},this.TC2__={HHO:2088,HII:-1023,HMM:-1154,IHI:-1965,KKH:703,OII:-2649},this.TC3__={AAA:-294,HHH:346,HHI:-341,HII:-1088,HIK:731,HOH:-1486,IHH:128,IHI:-3041,IHO:-1935,IIH:-825,IIM:-1035,IOI:-542,KHH:-1216,KKA:491,KKH:-1217,KOK:-1009,MHH:-2694,MHM:-457,MHO:123,MMH:-471,NNH:-1689,NNO:662,OHO:-3393},this.TC4__={HHH:-203,HHI:1344,HHK:365,HHM:-122,HHN:182,HHO:669,HIH:804,HII:679,HOH:446,IHH:695,IHO:-2324,IIH:321,III:1497,IIO:656,IOO:54,KAK:4845,KKA:3386,KKK:3065,MHH:-405,MHI:201,MMH:-241,MMM:661,MOM:841},this.TQ1__={BHHH:-227,BHHI:316,BHIH:-132,BIHH:60,BIII:1595,BNHH:-744,BOHH:225,BOOO:-908,OAKK:482,OHHH:281,OHIH:249,OIHI:200,OIIH:-68},this.TQ2__={BIHH:-1401,BIII:-1033,BKAK:-543,BOOO:-5591},this.TQ3__={BHHH:478,BHHM:-1073,BHIH:222,BHII:-504,BIIH:-116,BIII:-105,BMHI:-863,BMHM:-464,BOMH:620,OHHH:346,OHHI:1729,OHII:997,OHMH:481,OIHH:623,OIIH:1344,OKAK:2792,OKHH:587,OKKA:679,OOHH:110,OOII:-685},this.TQ4__={BHHH:-721,BHHM:-3604,BHII:-966,BIIH:-607,BIII:-2181,OAAA:-2763,OAKK:180,OHHH:-294,OHHI:2446,OHHO:480,OHIH:-1573,OIHH:1935,OIHI:-493,OIIH:626,OIII:-4007,OKAK:-8156},this.TW1__={につい:-4681,東京都:2026},this.TW2__={ある程:-2049,いった:-1256,ころが:-2434,しょう:3873,その後:-4430,だって:-1049,ていた:1833,として:-4657,ともに:-4517,もので:1882,一気に:-792,初めて:-1512,同時に:-8097,大きな:-1255,対して:-2721,社会党:-3216},this.TW3__={いただ:-1734,してい:1314,として:-4314,につい:-5483,にとっ:-5989,に当た:-6247,"ので,":-727,"ので、":-727,のもの:-600,れから:-3752,十二月:-2287},this.TW4__={"いう.":8576,"いう。":8576,からな:-2348,してい:2958,"たが,":1516,"たが、":1516,ている:1538,という:1349,ました:5543,ません:1097,ようと:-4258,よると:5865},this.UC1__={A:484,K:93,M:645,O:-505},this.UC2__={A:819,H:1059,I:409,M:3987,N:5775,O:646},this.UC3__={A:-1370,I:2311},this.UC4__={A:-2643,H:1809,I:-1032,K:-3450,M:3565,N:3876,O:6646},this.UC5__={H:313,I:-1238,K:-799,M:539,O:-831},this.UC6__={H:-506,I:-253,K:87,M:247,O:-387},this.UP1__={O:-214},this.UP2__={B:69,O:935},this.UP3__={B:189},this.UQ1__={BH:21,BI:-12,BK:-99,BN:142,BO:-56,OH:-95,OI:477,OK:410,OO:-2422},this.UQ2__={BH:216,BI:113,OK:1759},this.UQ3__={BA:-479,BH:42,BI:1913,BK:-7198,BM:3160,BN:6427,BO:14761,OI:-827,ON:-3212},this.UW1__={",":156,"、":156,"「":-463,あ:-941,う:-127,が:-553,き:121,こ:505,で:-201,と:-547,ど:-123,に:-789,の:-185,は:-847,も:-466,や:-470,よ:182,ら:-292,り:208,れ:169,を:-446,ん:-137,"・":-135,主:-402,京:-268,区:-912,午:871,国:-460,大:561,委:729,市:-411,日:-141,理:361,生:-408,県:-386,都:-718,"｢":-463,"･":-135},this.UW2__={",":-829,"、":-829,〇:892,"「":-645,"」":3145,あ:-538,い:505,う:134,お:-502,か:1454,が:-856,く:-412,こ:1141,さ:878,ざ:540,し:1529,す:-675,せ:300,そ:-1011,た:188,だ:1837,つ:-949,て:-291,で:-268,と:-981,ど:1273,な:1063,に:-1764,の:130,は:-409,ひ:-1273,べ:1261,ま:600,も:-1263,や:-402,よ:1639,り:-579,る:-694,れ:571,を:-2516,ん:2095,ア:-587,カ:306,キ:568,ッ:831,三:-758,不:-2150,世:-302,中:-968,主:-861,事:492,人:-123,会:978,保:362,入:548,初:-3025,副:-1566,北:-3414,区:-422,大:-1769,天:-865,太:-483,子:-1519,学:760,実:1023,小:-2009,市:-813,年:-1060,強:1067,手:-1519,揺:-1033,政:1522,文:-1355,新:-1682,日:-1815,明:-1462,最:-630,朝:-1843,本:-1650,東:-931,果:-665,次:-2378,民:-180,気:-1740,理:752,発:529,目:-1584,相:-242,県:-1165,立:-763,第:810,米:509,自:-1353,行:838,西:-744,見:-3874,調:1010,議:1198,込:3041,開:1758,間:-1257,"｢":-645,"｣":3145,ｯ:831,ｱ:-587,ｶ:306,ｷ:568},this.UW3__={",":4889,1:-800,"−":-1723,"、":4889,々:-2311,〇:5827,"」":2670,"〓":-3573,あ:-2696,い:1006,う:2342,え:1983,お:-4864,か:-1163,が:3271,く:1004,け:388,げ:401,こ:-3552,ご:-3116,さ:-1058,し:-395,す:584,せ:3685,そ:-5228,た:842,ち:-521,っ:-1444,つ:-1081,て:6167,で:2318,と:1691,ど:-899,な:-2788,に:2745,の:4056,は:4555,ひ:-2171,ふ:-1798,へ:1199,ほ:-5516,ま:-4384,み:-120,め:1205,も:2323,や:-788,よ:-202,ら:727,り:649,る:5905,れ:2773,わ:-1207,を:6620,ん:-518,ア:551,グ:1319,ス:874,ッ:-1350,ト:521,ム:1109,ル:1591,ロ:2201,ン:278,"・":-3794,一:-1619,下:-1759,世:-2087,両:3815,中:653,主:-758,予:-1193,二:974,人:2742,今:792,他:1889,以:-1368,低:811,何:4265,作:-361,保:-2439,元:4858,党:3593,全:1574,公:-3030,六:755,共:-1880,円:5807,再:3095,分:457,初:2475,別:1129,前:2286,副:4437,力:365,動:-949,務:-1872,化:1327,北:-1038,区:4646,千:-2309,午:-783,協:-1006,口:483,右:1233,各:3588,合:-241,同:3906,和:-837,員:4513,国:642,型:1389,場:1219,外:-241,妻:2016,学:-1356,安:-423,実:-1008,家:1078,小:-513,少:-3102,州:1155,市:3197,平:-1804,年:2416,広:-1030,府:1605,度:1452,建:-2352,当:-3885,得:1905,思:-1291,性:1822,戸:-488,指:-3973,政:-2013,教:-1479,数:3222,文:-1489,新:1764,日:2099,旧:5792,昨:-661,時:-1248,曜:-951,最:-937,月:4125,期:360,李:3094,村:364,東:-805,核:5156,森:2438,業:484,氏:2613,民:-1694,決:-1073,法:1868,海:-495,無:979,物:461,特:-3850,生:-273,用:914,町:1215,的:7313,直:-1835,省:792,県:6293,知:-1528,私:4231,税:401,立:-960,第:1201,米:7767,系:3066,約:3663,級:1384,統:-4229,総:1163,線:1255,者:6457,能:725,自:-2869,英:785,見:1044,調:-562,財:-733,費:1777,車:1835,軍:1375,込:-1504,通:-1136,選:-681,郎:1026,郡:4404,部:1200,金:2163,長:421,開:-1432,間:1302,関:-1282,雨:2009,電:-1045,非:2066,駅:1620,"１":-800,"｣":2670,"･":-3794,ｯ:-1350,ｱ:551,ｸﾞ:1319,ｽ:874,ﾄ:521,ﾑ:1109,ﾙ:1591,ﾛ:2201,ﾝ:278},this.UW4__={",":3930,".":3508,"―":-4841,"、":3930,"。":3508,〇:4999,"「":1895,"」":3798,"〓":-5156,あ:4752,い:-3435,う:-640,え:-2514,お:2405,か:530,が:6006,き:-4482,ぎ:-3821,く:-3788,け:-4376,げ:-4734,こ:2255,ご:1979,さ:2864,し:-843,じ:-2506,す:-731,ず:1251,せ:181,そ:4091,た:5034,だ:5408,ち:-3654,っ:-5882,つ:-1659,て:3994,で:7410,と:4547,な:5433,に:6499,ぬ:1853,ね:1413,の:7396,は:8578,ば:1940,ひ:4249,び:-4134,ふ:1345,へ:6665,べ:-744,ほ:1464,ま:1051,み:-2082,む:-882,め:-5046,も:4169,ゃ:-2666,や:2795,ょ:-1544,よ:3351,ら:-2922,り:-9726,る:-14896,れ:-2613,ろ:-4570,わ:-1783,を:13150,ん:-2352,カ:2145,コ:1789,セ:1287,ッ:-724,ト:-403,メ:-1635,ラ:-881,リ:-541,ル:-856,ン:-3637,"・":-4371,ー:-11870,一:-2069,中:2210,予:782,事:-190,井:-1768,人:1036,以:544,会:950,体:-1286,作:530,側:4292,先:601,党:-2006,共:-1212,内:584,円:788,初:1347,前:1623,副:3879,力:-302,動:-740,務:-2715,化:776,区:4517,協:1013,参:1555,合:-1834,和:-681,員:-910,器:-851,回:1500,国:-619,園:-1200,地:866,場:-1410,塁:-2094,士:-1413,多:1067,大:571,子:-4802,学:-1397,定:-1057,寺:-809,小:1910,屋:-1328,山:-1500,島:-2056,川:-2667,市:2771,年:374,庁:-4556,後:456,性:553,感:916,所:-1566,支:856,改:787,政:2182,教:704,文:522,方:-856,日:1798,時:1829,最:845,月:-9066,木:-485,来:-442,校:-360,業:-1043,氏:5388,民:-2716,気:-910,沢:-939,済:-543,物:-735,率:672,球:-1267,生:-1286,産:-1101,田:-2900,町:1826,的:2586,目:922,省:-3485,県:2997,空:-867,立:-2112,第:788,米:2937,系:786,約:2171,経:1146,統:-1169,総:940,線:-994,署:749,者:2145,能:-730,般:-852,行:-792,規:792,警:-1184,議:-244,谷:-1e3,賞:730,車:-1481,軍:1158,輪:-1433,込:-3370,近:929,道:-1291,選:2596,郎:-4866,都:1192,野:-1100,銀:-2213,長:357,間:-2344,院:-2297,際:-2604,電:-878,領:-1659,題:-792,館:-1984,首:1749,高:2120,"｢":1895,"｣":3798,"･":-4371,ｯ:-724,ｰ:-11870,ｶ:2145,ｺ:1789,ｾ:1287,ﾄ:-403,ﾒ:-1635,ﾗ:-881,ﾘ:-541,ﾙ:-856,ﾝ:-3637},this.UW5__={",":465,".":-299,1:-514,E2:-32768,"]":-2762,"、":465,"。":-299,"「":363,あ:1655,い:331,う:-503,え:1199,お:527,か:647,が:-421,き:1624,ぎ:1971,く:312,げ:-983,さ:-1537,し:-1371,す:-852,だ:-1186,ち:1093,っ:52,つ:921,て:-18,で:-850,と:-127,ど:1682,な:-787,に:-1224,の:-635,は:-578,べ:1001,み:502,め:865,ゃ:3350,ょ:854,り:-208,る:429,れ:504,わ:419,を:-1264,ん:327,イ:241,ル:451,ン:-343,中:-871,京:722,会:-1153,党:-654,務:3519,区:-901,告:848,員:2104,大:-1296,学:-548,定:1785,嵐:-1304,市:-2991,席:921,年:1763,思:872,所:-814,挙:1618,新:-1682,日:218,月:-4353,査:932,格:1356,機:-1508,氏:-1347,田:240,町:-3912,的:-3149,相:1319,省:-1052,県:-4003,研:-997,社:-278,空:-813,統:1955,者:-2233,表:663,語:-1073,議:1219,選:-1018,郎:-368,長:786,間:1191,題:2368,館:-689,"１":-514,Ｅ２:-32768,"｢":363,ｲ:241,ﾙ:451,ﾝ:-343},this.UW6__={",":227,".":808,1:-270,E1:306,"、":227,"。":808,あ:-307,う:189,か:241,が:-73,く:-121,こ:-200,じ:1782,す:383,た:-428,っ:573,て:-1014,で:101,と:-105,な:-253,に:-149,の:-417,は:-236,も:-206,り:187,る:-135,を:195,ル:-673,ン:-496,一:-277,中:201,件:-800,会:624,前:302,区:1792,員:-1212,委:798,学:-960,市:887,広:-695,後:535,業:-697,相:753,社:-507,福:974,空:-822,者:1811,連:463,郎:1082,"１":-270,Ｅ１:306,ﾙ:-673,ﾝ:-496},this}xt.prototype.ctype_=function(e){for(var t in this.chartype_)if(e.match(this.chartype_[t][0]))return this.chartype_[t][1];return"O"},xt.prototype.ts_=function(e){return e||0},xt.prototype.segment=function(e){if(null==e||null==e||""==e)return[];var t=[],s=["B3","B2","B1"],r=["O","O","O"],n=e.split("");for(u=0;u<n.length;++u)s.push(n[u]),r.push(this.ctype_(n[u]));s.push("E1"),s.push("E2"),s.push("E3"),r.push("O"),r.push("O"),r.push("O");for(var i=s[3],a="U",c="U",o="U",u=4;u<s.length-3;++u){var l=this.BIAS__,p=s[u-3],d=s[u-2],h=s[u-1],m=s[u],f=s[u+1],g=s[u+2],v=r[u-3],b=r[u-2],y=r[u-1],_=r[u],P=r[u+1],$=r[u+2];l+=this.ts_(this.UP1__[a]),l+=this.ts_(this.UP2__[c]),l+=this.ts_(this.UP3__[o]),l+=this.ts_(this.BP1__[a+c]),l+=this.ts_(this.BP2__[c+o]),l+=this.ts_(this.UW1__[p]),l+=this.ts_(this.UW2__[d]),l+=this.ts_(this.UW3__[h]),l+=this.ts_(this.UW4__[m]),l+=this.ts_(this.UW5__[f]),l+=this.ts_(this.UW6__[g]),l+=this.ts_(this.BW1__[d+h]),l+=this.ts_(this.BW2__[h+m]),l+=this.ts_(this.BW3__[m+f]),l+=this.ts_(this.TW1__[p+d+h]),l+=this.ts_(this.TW2__[d+h+m]),l+=this.ts_(this.TW3__[h+m+f]),l+=this.ts_(this.TW4__[m+f+g]),l+=this.ts_(this.UC1__[v]),l+=this.ts_(this.UC2__[b]),l+=this.ts_(this.UC3__[y]),l+=this.ts_(this.UC4__[_]),l+=this.ts_(this.UC5__[P]),l+=this.ts_(this.UC6__[$]),l+=this.ts_(this.BC1__[b+y]),l+=this.ts_(this.BC2__[y+_]),l+=this.ts_(this.BC3__[_+P]),l+=this.ts_(this.TC1__[v+b+y]),l+=this.ts_(this.TC2__[b+y+_]),l+=this.ts_(this.TC3__[y+_+P]),l+=this.ts_(this.TC4__[_+P+$]),l+=this.ts_(this.UQ1__[a+v]),l+=this.ts_(this.UQ2__[c+b]),l+=this.ts_(this.UQ3__[o+y]),l+=this.ts_(this.BQ1__[c+b+y]),l+=this.ts_(this.BQ2__[c+y+_]),l+=this.ts_(this.BQ3__[o+b+y]),l+=this.ts_(this.BQ4__[o+y+_]),l+=this.ts_(this.TQ1__[c+v+b+y]),l+=this.ts_(this.TQ2__[c+b+y+_]),l+=this.ts_(this.TQ3__[o+v+b+y]);var I="O";(l+=this.ts_(this.TQ4__[o+b+y+_]))>0&&(t.push(i),i="",I="B"),a=c,c=o,o=I,i+=s[u]}return t.push(i),t};let Tt=new xt;function Ct(e){return null!=e}dt._nStem("jslingua","JsLingua Japanese stemmer",(function(e){let t=e,s=1;for(;s;){s=0;for(let e=0;e<yt.length;e++){let r=yt[e];r.e.test(t)&&(t=t.replace(r.e,r.r),s=1)}}return t}));const wt=dt;n.services={info:{ara:class extends b{static code="ara";static name="Arabic";static origName="عربية";static dir="rtl";static wordOrder="vso";static family="Afro-Asiatic";static branch="Semitic"},eng:class extends b{static code="eng";static name="English";static origName="English";static family="Indo-European";static branch="Germanic"},fra:class extends b{static code="fra";static name="French";static origName="Français";static family="Indo-European";static branch="Romance"},jpn:class extends b{static code="jpn";static name="Japanese";static origName="日本語";static wordOrder="sov";static family="Japonic"}},lang:{ara:x,eng:re,fra:Ne,jpn:et},trans:{ara:w,eng:ie,fra:ke,jpn:pt},morpho:{ara:Y,eng:Me,fra:Je,jpn:wt}};const Ot=n})(),r.default})()}));