formeo 5.3.3 → 5.4.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,15 +1,15 @@
1
1
 
2
2
  /**
3
3
  formeo - https://formeo.io
4
- Version: 5.3.2
4
+ Version: 5.3.3
5
5
  Author: Draggable https://draggable.io
6
6
  */
7
7
 
8
- var Ls=Object.create,pi=Object.defineProperty,Rs=Object.getOwnPropertyDescriptor,_s=Object.getOwnPropertyNames,Os=Object.getPrototypeOf,Is=Object.prototype.hasOwnProperty,j=(e,i)=>()=>(i||(e((i={exports:{}}).exports,i),e=null),i.exports),An=(e,i)=>{let t={};for(var n in e)pi(t,n,{get:e[n],enumerable:!0});return i||pi(t,Symbol.toStringTag,{value:"Module"}),t},Ds=(e,i,t,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(var m=_s(i),f=0,g=m.length,c;f<g;f++)c=m[f],!Is.call(e,c)&&c!==t&&pi(e,c,{get:(o=>i[o]).bind(null,c),enumerable:!(n=Rs(i,c))||n.enumerable});return e},Et=(e,i,t)=>(t=e!=null?Ls(Os(e)):{},Ds(i||!e||!e.__esModule?pi(t,"default",{value:e,enumerable:!0}):t,e));(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const m of document.querySelectorAll('link[rel="modulepreload"]'))n(m);new MutationObserver(m=>{for(const f of m)if(f.type==="childList")for(const g of f.addedNodes)g.tagName==="LINK"&&g.rel==="modulepreload"&&n(g)}).observe(document,{childList:!0,subtree:!0});function t(m){const f={};return m.integrity&&(f.integrity=m.integrity),m.referrerPolicy&&(f.referrerPolicy=m.referrerPolicy),m.crossOrigin==="use-credentials"?f.credentials="include":m.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function n(m){if(m.ep)return;m.ep=!0;const f=t(m);fetch(m.href,f)}})();var te={"af-ZA":{"af-ZA":"Afrikaans (Suid-Afrika)",dir:"ltr","en-US":"Engels","ar-TN":"Arabies (Tunisië)","cs-CZ":"Tsjeggies (Tsjeggië)","de-DE":"Duits (Duitsland)","es-ES":"Spaans (Spanje)","fa-IR":"Persies (Iran)","fi-FI":"Fins (Finland)","fr-FR":"Frans (Frankryk)","he-IL":"Hebreeus (Israel)","hi-IN":"Hindi (Indië)","hu-HU":"Hongaars (Hongarye)","it-IT":"Italiaans (Italië)","ja-JP":"Japannees (Japan)","nb-NO":"Boeknoors (Noorweë)","pl-PL":"Pools (Pole)","pt-BR":"Portugees (Brasilië)","pt-PT":"Portugees (Portugal)","ro-RO":"Roemeens (Roemenië)","ru-RU":"Russies (Rusland)","th-TH":"Thai (Thailand)","tr-TR":"Turks (Turkye)","zh-CN":"Chinees (China)","zh-HK":"Chinees (Hongkong SAS China)","action.add.attrs.attr":"Watter kenmerk wil jy byvoeg?","action.add.attrs.value":"Standaard waarde",addOption:"Voeg opsie by",allFieldsRemoved:"Alle velde is verwyder.",allowSelect:"Laat Kies toe",and:"en",attribute:"kenmerk",attributeNotPermitted:`Attribuut "{attribuut}" is nie toegelaat nie, kies asseblief 'n ander.`,attributes:"eienskappe","attrs.class":"klas","attrs.className":"klas","attrs.dir":"rigting","attrs.id":"id","attrs.required":"vereis","attrs.style":"styl","attrs.title":"Titel","attrs.type":"tipe","attrs.value":"waarde",autocomplete:"AutoComplete",button:"Button",cancel:"Kanselleer",cannotBeEmpty:"Hierdie veld kan nie leeg wees nie",cannotClearFields:"Daar is geen velde om skoon te maak nie",checkbox:"boks",checkboxes:"blok",class:"klas",clear:"duidelik",clearAllMessage:"Is jy seker jy wil alle velde skoonmaak?",close:"Naby",column:"kolom","condition.target.placeholder":"teiken","condition.type.and":"En","condition.type.if":"As","condition.type.or":"Of","condition.type.then":"Toe","condition.value.placeholder":"waarde",confirmClearAll:"Is jy seker jy wil alle velde verwyder?",content:"inhoud",control:"beheer","controlGroups.nextGroup":"Volgende Groep","controlGroups.prevGroup":"Vorige groep","controls.filteringTerm":'Filtering "{term}"',"controls.form.button":"Button","controls.form.checkbox-group":"Boks groep","controls.form.input.date":"datum","controls.form.input.email":"e-pos","controls.form.input.file":"Lêeroplaai","controls.form.input.hidden":"Versteek Input","controls.form.input.number":"aantal","controls.form.input.text":"Teksinvoer","controls.form.radio-group":"Radio Group","controls.form.select":"Kies","controls.form.textarea":"textarea","controls.groups.form":"Vorm velde","controls.groups.html":"HTML-elemente","controls.groups.layout":"uitleg","controls.html.divider":"deler","controls.html.header":"kop","controls.html.paragraph":"paragraaf","controls.layout.column":"kolom","controls.layout.row":"ry",copy:"Kopieer na Klembord",danger:"gevaar",defineColumnLayout:"Definieer 'n kolom uitleg",defineColumnWidths:"Definieer kolom breedtes",description:"Hulp teks",descriptionField:"beskrywing","editing.row":"Redigeer tans",editorTitle:"Vorm Elemente",field:"veld","field.property.invalid":"nie geldig","field.property.isChecked":"gekontroleer word","field.property.isNotVisible":"is nie sigbaar nie","field.property.isVisible":"is sigbaar","field.property.label":"etiket","field.property.valid":"geldig","field.property.value":"waarde",fieldNonEditable:"Hierdie veld kan nie geredigeer word nie.",fieldRemoveWarning:"Is jy seker jy wil hierdie veld verwyder?",fileUpload:"Lêeroplaai",formUpdated:"Vorm Opdateer",getStarted:"Sleep 'n veld van regs om te begin.",group:"groep",grouped:"gegroepeer",hidden:"Versteek Input",hide:"wysig",htmlElements:"HTML-elemente",if:"As","if.condition.source.placeholder":"bron","if.condition.target.placeholder":"teiken / waarde",info:"info","input.date":"datum","input.text":"teks",label:"Etiket",labelCount:"{label} {count}",labelEmpty:"Veldetiket kan nie leeg wees nie","lang.af":"Afrikaans","lang.ar":"Arabies","lang.cs":"Tsjeggies","lang.de":"Duits","lang.en":"Engels","lang.es":"Spaans","lang.fa":"Persies","lang.fi":"Fins","lang.fr":"Frans","lang.he":"Hebreeus","lang.hi":"Hindi","lang.hu":"Hongaars","lang.it":"Italiaans","lang.ja":"Japannese","lang.nb":"Noorse Bokmål","lang.pl":"Pools","lang.pt":"Portugees","lang.ro":"Roemeens","lang.ru":"Russies","lang.th":"Thai","lang.tr":"Turks","lang.zh":"Chinese",layout:"uitleg",limitRole:"Beperk toegang tot een of meer van die volgende rolle:",mandatory:"verpligte",maxlength:"Maksimum Lengte","meta.group":"groep","meta.icon":"Ico","meta.label":"Etiket",minOptionMessage:"Hierdie veld benodig 'n minimum van 2 opsies",name:"naam",newOptionLabel:"Nuwe {type}",no:"Geen",number:"aantal",off:"af",on:"op","operator.contains":"bevat","operator.equals":"gelyk","operator.notContains":"bevat nie","operator.notEquals":"nie gelyk nie","operator.notVisible":"nie sigbaar nie","operator.visible":"sigbaar",option:"Opsie",optional:"opsioneel",optionEmpty:"Opsie waarde vereis",optionLabel:"Opsie (tel)",options:"opsies",or:"of",order:"Orde","panel.label.attrs":"eienskappe","panel.label.conditions":"voorwaardes","panel.label.config":"opset","panel.label.meta":"meta","panel.label.options":"opsies","panelEditButtons.attrs":"+ Attribuut","panelEditButtons.conditions":"+ Toestand","panelEditButtons.config":"+ Konfigurasie","panelEditButtons.options":"+ Opsie",placeholder:"plekhouer","placeholder.className":"spasie geskeide klasse","placeholder.email":"Vul jou e-pos in","placeholder.label":"Etiket","placeholder.password":"Sleutel jou wagwoord in","placeholder.placeholder":"plekhouer","placeholder.text":"Voer 'n paar teks in","placeholder.textarea":"Vul baie teks in","placeholder.value":"waarde",preview:"voorskou",primary:"primêre",remove:"verwyder",removeMessage:"Verwyder Element",removeType:"Verwyder {tipe}",required:"vereis",reset:"herstel",richText:"Rich Text Editor",roles:"Toegang",row:"ry","row.makeInputGroup":"Maak hierdie ry 'n invoergroep.","row.makeInputGroupDesc":"Invoergroepe stel gebruikers in staat om stelle insette op 'n keer by te voeg.","row.settings.fieldsetWrap":"Wrap ry in 'n <velde> tag","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Save",secondary:"sekondêre",select:"Kies",selectColor:"Kies Kleur",selectionsMessage:"Laat meerdere keuses toe",selectOptions:"opsies",separator:"separator",settings:"instellings",size:"grootte",sizes:"groottes","sizes.lg":"groot","sizes.m":"verstek","sizes.sm":"klein","sizes.xs":"Ekstra Klein",style:"styl",styles:"style","styles.btn":"Knoppie styl","styles.btn.danger":"gevaar","styles.btn.default":"verstek","styles.btn.info":"info","styles.btn.primary":"primêre","styles.btn.success":"sukses","styles.btn.warning":"waarskuwing",subtype:"tipe",success:"sukses",text:"Teksveld",then:"dan","then.condition.target.placeholder":"teiken",toggle:"Toggle",ungrouped:"A-Gegroepeer",warning:"waarskuwing",yes:"Ja"},"ar-TN":{"ar-TN":"العربية (تونس)",dir:"rtl","en-US":"الإنجليزية","af-ZA":"الأفريقانية (جنوب أفريقيا)","cs-CZ":"التشيكية (التشيك)","de-DE":"الألمانية (ألمانيا)","es-ES":"الإسبانية الأوروبية","fa-IR":"الفارسية (إيران)","fi-FI":"الفنلندية (فنلندا)","fr-FR":"الفرنسية (فرنسا)","he-IL":"العبرية (إسرائيل)","hi-IN":"الهندية (الهند)","hu-HU":"الهنغارية (هنغاريا)","it-IT":"الإيطالية (إيطاليا)","ja-JP":"اليابانية (اليابان)","nb-NO":"النرويجية بوكمال (النرويج)","pl-PL":"البولندية (بولندا)","pt-BR":"البرتغالية البرازيلية","pt-PT":"البرتغالية الأوروبية","ro-RO":"الرومانية (رومانيا)","ru-RU":"الروسية (روسيا)","th-TH":"التايلاندية (تايلاند)","tr-TR":"التركية (تركيا)","zh-CN":"الصينية (الصين)","zh-HK":"الصينية (هونغ كونغ الصينية [منطقة إدارية خاصة])","action.add.attrs.attr":"ما هي السمة التي ترغب بإضافتها؟","action.add.attrs.value":"القيمة الافتراضية",addOption:"إضافة خيار",allFieldsRemoved:"تمّت إزالة جميع المجالات..",allowSelect:"السماح بالإختيار",and:"و",attribute:"يصف",attributeNotPermitted:'لا يُسمح بالسمة "{attribute}"، يرجى اختيار سمة أخرى.',attributes:"صفات","attrs.class":"فصل","attrs.className":"فصل","attrs.dir":"اتجاه","attrs.id":"بطاقة تعريف","attrs.required":"مطلوب","attrs.style":"أسلوب","attrs.title":"عنوان","attrs.type":"يكتب","attrs.value":"قيمة",autocomplete:"الإكمال التلقائي",button:"زر",cancel:"يلغي",cannotBeEmpty:"هذه المعلومة لا يمكن أن تكون فارغة",cannotClearFields:"لا توجد حقول لمسحها",checkbox:"خانة الاختيار",checkboxes:"خانات إختيار",class:"صنف",clear:"إفسخ",clearAllMessage:"هل أنت متأكد أنك تريد مسح كافة المعلومات؟",close:"أغلق",column:"عمود","condition.target.placeholder":"هدف","condition.type.and":"و","condition.type.if":"لو","condition.type.or":"أو","condition.type.then":"ثم","condition.value.placeholder":"قيمة",confirmClearAll:"هل أنت متأكد أنك تريد إزالة كافة الحقول؟",content:"محتوى",control:"يتحكم","controlGroups.nextGroup":"المجموعة التالية","controlGroups.prevGroup":"المجموعة السابقة","controls.filteringTerm":'تصفية "{term}"',"controls.form.button":"زر","controls.form.checkbox-group":"مجموعة خانات الاختيار","controls.form.input.date":"تاريخ","controls.form.input.email":"بريد إلكتروني","controls.form.input.file":"تحميل الملف","controls.form.input.hidden":"المدخلات المخفية","controls.form.input.number":"رقم","controls.form.input.text":"إدخال النص","controls.form.radio-group":"مجموعة الراديو","controls.form.select":"يختار","controls.form.textarea":"منطقة النص","controls.groups.form":"حقول النموذج","controls.groups.html":"عناصر HTML","controls.groups.layout":"تَخطِيط","controls.html.divider":"فاصل","controls.html.header":"رأس الصفحة","controls.html.paragraph":"فقرة","controls.layout.column":"عمود","controls.layout.row":"صف",copy:"نسخ إلى الحافظة",danger:"خطر",defineColumnLayout:"تحديد تخطيط العمود",defineColumnWidths:"تحديد عرض الأعمدة",description:"نص المساعدة",descriptionField:"وصف","editing.row":"تحرير الصف",editorTitle:"عناصر النموذج",field:"مجال","field.property.invalid":"غير صالح","field.property.isChecked":"تم التحقق","field.property.isNotVisible":"غير مرئي","field.property.isVisible":"هو مرئي","field.property.label":"ملصق","field.property.valid":"صالح","field.property.value":"قيمة",fieldNonEditable:"هذا الحقل لا يمكن تعديله.",fieldRemoveWarning:"هل حقا تريد حذف هذا المجال؟",fileUpload:"تحميل الملف",formUpdated:"تّم تحديث الإستمارة",getStarted:"إسحب إختيار(حقل) من اليمين إلى هذا المجال",group:"مجموعة",grouped:"مجمعة",hidden:"الإدخال مخفي",hide:"تحديث",htmlElements:"عناصر HTML",if:"لو","if.condition.source.placeholder":"مصدر","if.condition.target.placeholder":"الهدف / القيمة",info:"معلومات","input.date":"تاريخ","input.text":"نص",label:"التسمية",labelCount:"{التسمية} {العدد}",labelEmpty:"التسمية لا يمكن أن يكون فارغا","lang.af":"الأفريقي","lang.ar":"عربي","lang.cs":"التشيكية","lang.de":"الألمانية","lang.en":"إنجليزي","lang.es":"الأسبانية","lang.fa":"الفارسية","lang.fi":"الفنلندية","lang.fr":"فرنسي","lang.he":"العبرية","lang.hi":"الهندية","lang.hu":"المجرية","lang.it":"ايطالي","lang.ja":"اليابانية","lang.nb":"البوكمال النرويجية","lang.pl":"بولندي","lang.pt":"البرتغالية","lang.ro":"روماني","lang.ru":"الروسية","lang.th":"تايلاندي","lang.tr":"اللغة التركية","lang.zh":"الصينية",layout:"تَخطِيط",limitRole:"تقييد الوصول إلى واحد أو أكثر من الأدوار التالية:",mandatory:"إلزامي",maxlength:"الحد الاقصى للطول","meta.group":"مجموعة","meta.icon":"إيكو","meta.label":"ملصق",minOptionMessage:"يتطلب هذا المجال لا تقل عن 2 خيارات",name:"الإسم",newOptionLabel:"نوع جديد",no:"لا",number:"رقم",off:"عاطل",on:"مفعل","operator.contains":"يتضمن","operator.equals":"يساوي","operator.notContains":"لا يحتوي على","operator.notEquals":"ليس متساويا","operator.notVisible":"غير مرئي","operator.visible":"مرئي",option:"خيار",optional:"خيار",optionEmpty:"قيمة الخيار المطلوبة",optionLabel:"الخيار {العدد}",options:"خيارات",or:"أو",order:"طلب","panel.label.attrs":"صفات","panel.label.conditions":"شروط","panel.label.config":"إعدادات","panel.label.meta":"ميتا","panel.label.options":"خيارات","panelEditButtons.attrs":"+ السمة","panelEditButtons.conditions":"+ الحالة","panelEditButtons.config":"+ التكوين","panelEditButtons.options":"+ خيار",placeholder:"العنصر النائب","placeholder.className":"فئات مفصولة بمسافات","placeholder.email":"أدخل البريد الإلكتروني","placeholder.label":"تسمية","placeholder.password":"أدخل كلمة المرور","placeholder.placeholder":"العنصر النائب","placeholder.text":"أدخل بعض النص","placeholder.textarea":"إدخال الكثير من النص","placeholder.value":"القيمة",preview:"المعاينة",primary:"أساسي",remove:"&#215;",removeMessage:"إزالة عنصر",removeType:"إزالة {النوع}",required:"إجبارية",reset:"إعادة ضبط",richText:"محرر WYSIWYG",roles:"وصول",row:"صف","row.makeInputGroup":"اجعل هذا الصف مجموعة إدخال.","row.makeInputGroupDesc":"تتيح مجموعات الإدخال للمستخدمين إضافة مجموعات من المدخلات في وقت واحد.","row.settings.fieldsetWrap":"لف الصف في علامة &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":"لف الصف في مجموعة الحقول",save:"حفظ",secondary:"ثانوي",select:"للاختيار",selectColor:"اختيار اللون",selectionsMessage:"سماح اختيارات متعددة",selectOptions:"خيارات",separator:"فاصل",settings:"إعدادات",size:"حجم",sizes:"الأحجام","sizes.lg":"كبير","sizes.m":"تبعا للإعدادات الافتراضية","sizes.sm":"صغير","sizes.xs":"صغيرة اضافية",style:"شكل",styles:"الأشكال","styles.btn":"شكل الزر","styles.btn.danger":"خطر","styles.btn.default":"تبعا للإعدادات الافتراضية","styles.btn.info":"معلومات","styles.btn.primary":"أساسي","styles.btn.success":"نجاح","styles.btn.warning":"إعلام",subtype:"نوع",success:"نجاح",text:"الميدان النص",then:"ثم","then.condition.target.placeholder":"هدف",toggle:"نوع التبديل",ungrouped:"غير مجمعة",warning:"تحذير!",yes:"نعم"},"cs-CZ":{"cs-CZ":"čeština (Česko)",dir:"ltr","en-US":"angličtina","af-ZA":"afrikánština (Jihoafrická republika)","ar-TN":"arabština (Tunisko)","de-DE":"němčina (Německo)","es-ES":"španělština (Evropa)","fa-IR":"perština (Írán)","fi-FI":"finština (Finsko)","fr-FR":"francouzština (Francie)","he-IL":"hebrejština (Izrael)","hi-IN":"hindština (Indie)","hu-HU":"maďarština (Maďarsko)","it-IT":"italština (Itálie)","ja-JP":"japonština (Japonsko)","nb-NO":"norština (bokmål) (Norsko)","pl-PL":"polština (Polsko)","pt-BR":"portugalština (Brazílie)","pt-PT":"portugalština (Evropa)","ro-RO":"rumunština (Rumunsko)","ru-RU":"ruština (Rusko)","th-TH":"thajština (Thajsko)","tr-TR":"turečtina (Turecko)","zh-CN":"čínština (Čína)","zh-HK":"čínština (Hongkong – ZAO Číny)","action.add.attrs.attr":"Jaký atribut byste chtěli přidat?","action.add.attrs.value":"Výchozí hodnota",addOption:"Přidat možnost",allFieldsRemoved:"Všechna pole byla odstraněna.",allowSelect:"Povolit Vybrat",and:"a",attribute:"Atribut",attributeNotPermitted:'Atribut "{attribute}" není povolen, vyberte prosím jiný.',attributes:"Atributy","attrs.class":"Třída","attrs.className":"Třída","attrs.dir":"Směr","attrs.id":"Id","attrs.required":"Požadovaný","attrs.style":"Styl","attrs.title":"Titul","attrs.type":"Typ","attrs.value":"Hodnota",autocomplete:"Automatické doplňování",button:"Tlačítko",cancel:"Zrušit",cannotBeEmpty:"Toto pole nemůže být prázdné",cannotClearFields:"Nejsou zde žádná pole k vymazání",checkbox:"Zaškrtávací políčko",checkboxes:"Zaškrtávací políčka",class:"Třída",clear:"Jasný",clearAllMessage:"Opravdu chcete vymazat všechna pole?",close:"Blízko",column:"Sloupec","condition.target.placeholder":"cíl","condition.type.and":"A","condition.type.if":"Li","condition.type.or":"Nebo","condition.type.then":"Pak","condition.value.placeholder":"hodnota",confirmClearAll:"Opravdu chcete odstranit všechna pole?",content:"Obsah",control:"Řízení","controlGroups.nextGroup":"Další skupina","controlGroups.prevGroup":"Předchozí skupina","controls.filteringTerm":"Filtrování „{term}“","controls.form.button":"Tlačítko","controls.form.checkbox-group":"Skupina zaškrtávacích políček","controls.form.input.date":"Datum","controls.form.input.email":"E-mail","controls.form.input.file":"Nahrání souboru","controls.form.input.hidden":"Skrytý vstup","controls.form.input.number":"Číslo","controls.form.input.text":"Textový vstup","controls.form.radio-group":"Rozhlasová skupina","controls.form.select":"Vybrat","controls.form.textarea":"TextArea","controls.groups.form":"Pole formuláře","controls.groups.html":"HTML prvky","controls.groups.layout":"Rozložení","controls.html.divider":"Dělič","controls.html.header":"Záhlaví","controls.html.paragraph":"Odstavec","controls.layout.column":"Sloupec","controls.layout.row":"Řádek",copy:"Kopírovat do schránky",danger:"Nebezpečí",defineColumnLayout:"Definujte rozvržení sloupců",defineColumnWidths:"Definujte šířky sloupců",description:"Text nápovědy",descriptionField:"Popis","editing.row":"Editace řádku",editorTitle:"Prvky formuláře",field:"Pole","field.property.invalid":"neplatí","field.property.isChecked":"je zaškrtnuto","field.property.isNotVisible":"není vidět","field.property.isVisible":"je vidět","field.property.label":"označení","field.property.valid":"platný","field.property.value":"hodnota",fieldNonEditable:"Toto pole nelze upravit.",fieldRemoveWarning:"Opravdu chcete toto pole odstranit?",fileUpload:"Nahrání souboru",formUpdated:"Formulář aktualizován",getStarted:"Začněte přetažením pole zprava.",group:"Skupina",grouped:"Seskupené",hidden:"Skrytý vstup",hide:"Upravit",htmlElements:"HTML prvky",if:"Li","if.condition.source.placeholder":"zdroj","if.condition.target.placeholder":"cíl / hodnota",info:"Info","input.date":"Datum","input.text":"Text",label:"Označení",labelCount:"{label} {count}",labelEmpty:"Štítek pole nemůže být prázdný","lang.af":"Afričan","lang.ar":"arabština","lang.cs":"čeština","lang.de":"Němec","lang.en":"angličtina","lang.es":"španělština","lang.fa":"Peršan","lang.fi":"finština","lang.fr":"francouzština","lang.he":"hebrejština","lang.hi":"hindština","lang.hu":"maďarský","lang.it":"italština","lang.ja":"japonský","lang.nb":"norský bokmål","lang.pl":"polština","lang.pt":"portugalština","lang.ro":"rumunština","lang.ru":"ruština","lang.th":"thajština","lang.tr":"turečtina","lang.zh":"čínština",layout:"Rozložení",limitRole:"Omezte přístup k jedné nebo více z následujících rolí:",mandatory:"Povinné",maxlength:"Maximální délka","meta.group":"Skupina","meta.icon":"Ico","meta.label":"Označení",minOptionMessage:"Toto pole vyžaduje minimálně 2 možnosti",name:"Jméno",newOptionLabel:"Nový {type}",no:"Žádný",number:"Číslo",off:"Vypnuto",on:"Na","operator.contains":"obsahuje","operator.equals":"rovná se","operator.notContains":"neobsahuje","operator.notEquals":"ne rovné","operator.notVisible":"není vidět","operator.visible":"viditelné",option:"Volba",optional:"volitelný",optionEmpty:"Je vyžadována hodnota opce",optionLabel:"Možnost {count}",options:"Možnosti",or:"nebo",order:"Objednávka","panel.label.attrs":"Atributy","panel.label.conditions":"Podmínky","panel.label.config":"Konfigurace","panel.label.meta":"Meta","panel.label.options":"Možnosti","panelEditButtons.attrs":"+ Atribut","panelEditButtons.conditions":"+ Stav","panelEditButtons.config":"+ Konfigurace","panelEditButtons.options":"+ Možnost",placeholder:"Zástupný symbol","placeholder.className":"prostorově oddělené třídy","placeholder.email":"Zadejte svůj email","placeholder.label":"Označení","placeholder.password":"Zadejte své heslo","placeholder.placeholder":"Zástupný symbol","placeholder.text":"Zadejte nějaký text","placeholder.textarea":"Zadejte hodně textu","placeholder.value":"Hodnota",preview:"Náhled",primary:"Primární",remove:"Odstranit",removeMessage:"Odebrat prvek",removeType:"Odebrat {type}",required:"Požadovaný",reset:"Resetovat",richText:"Rich Text Editor",roles:"Přístup",row:"Řádek","row.makeInputGroup":"Udělejte z tohoto řádku vstupní skupinu.","row.makeInputGroupDesc":"Skupiny vstupů umožňují uživatelům přidávat sady vstupů najednou.","row.settings.fieldsetWrap":"Zabalte řádek do sady &lt;fieldset&gt; štítek","row.settings.fieldsetWrap.aria":"Zabalte řádek do sady polí",save:"Uložit",secondary:"Sekundární",select:"Vybrat",selectColor:"Vyberte Barva",selectionsMessage:"Povolit vícenásobný výběr",selectOptions:"Možnosti",separator:"Oddělovač",settings:"Nastavení",size:"Velikost",sizes:"Velikosti","sizes.lg":"Velký","sizes.m":"Výchozí","sizes.sm":"Malý","sizes.xs":"Extra malý",style:"Styl",styles:"Styly","styles.btn":"Styl tlačítka","styles.btn.danger":"Nebezpečí","styles.btn.default":"Výchozí","styles.btn.info":"Info","styles.btn.primary":"Primární","styles.btn.success":"Úspěch","styles.btn.warning":"Varování",subtype:"Typ",success:"Úspěch",text:"Textové pole",then:"Pak","then.condition.target.placeholder":"cíl",toggle:"Přepnout",ungrouped:"Un-grouped",warning:"Varování",yes:"Ano"},"de-DE":{"de-DE":"Deutsch (Deutschland)",dir:"ltr","en-US":"Englisch","af-ZA":"Afrikaans (Südafrika)","ar-TN":"Arabisch (Tunesien)","cs-CZ":"Tschechisch (Tschechien)","es-ES":"Spanisch (Spanien)","fa-IR":"Persisch (Iran)","fi-FI":"Finnisch (Finnland)","fr-FR":"Französisch (Frankreich)","he-IL":"Hebräisch (Israel)","hi-IN":"Hindi (Indien)","hu-HU":"Ungarisch (Ungarn)","it-IT":"Italienisch (Italien)","ja-JP":"Japanisch (Japan)","nb-NO":"Norwegisch (Bokmål) (Norwegen)","pl-PL":"Polnisch (Polen)","pt-BR":"Portugiesisch (Brasilien)","pt-PT":"Portugiesisch (Portugal)","ro-RO":"Rumänisch (Rumänien)","ru-RU":"Russisch (Russland)","th-TH":"Thailändisch (Thailand)","tr-TR":"Türkisch (Türkei)","zh-CN":"Chinesisch (China)","zh-HK":"Chinesisch (Sonderverwaltungsregion Hongkong)","action.add.attrs.attr":"Welches Attribut möchten Sie hinzufügen?","action.add.attrs.value":"Standardwert",addOption:"Option hinzufügen",allFieldsRemoved:"Alle Felder wurden entfernt.",allowSelect:"Auswahl zulassen",and:"und",attribute:"Attribut",attributeNotPermitted:'Attribut "{Attribut}" ist nicht zulässig, bitte wählen Sie ein anderes.',attributes:"Attribute","attrs.class":"Klasse","attrs.className":"Klasse","attrs.dir":"Richtung","attrs.id":"Ich würde","attrs.required":"Erforderlich","attrs.style":"Stil","attrs.title":"Titel","attrs.type":"Art","attrs.value":"Wert",autocomplete:"Autovervollständigung",button:"Taste",cancel:"Stornieren",cannotBeEmpty:"Dieses Feld kann nicht leer sein",cannotClearFields:"Es gibt keine zu löschenden Felder",checkbox:"Ankreuzfeld",checkboxes:"Ankreuzfelder",class:"Klasse",clear:"klar",clearAllMessage:"Möchten Sie wirklich alle Felder löschen?",close:"Schließen",column:"Säule","condition.target.placeholder":"Ziel","condition.type.and":"Und","condition.type.if":"Wenn","condition.type.or":"Oder","condition.type.then":"Dann","condition.value.placeholder":"Wert",confirmClearAll:"Möchten Sie wirklich alle Felder entfernen?",content:"Inhalt",control:"Steuerung","controlGroups.nextGroup":"Nächste Gruppe","controlGroups.prevGroup":"Vorherige Gruppe","controls.filteringTerm":'Filtern "{Begriff}"',"controls.form.button":"Taste","controls.form.checkbox-group":"Kontrollkästchen Gruppe","controls.form.input.date":"Datum","controls.form.input.email":"Email","controls.form.input.file":"Datei-Upload","controls.form.input.hidden":"Versteckte Eingabe","controls.form.input.number":"Nummer","controls.form.input.text":"Text Eingabe","controls.form.radio-group":"Radio-Gruppe","controls.form.select":"Wählen","controls.form.textarea":"TextArea","controls.groups.form":"Formularfelder","controls.groups.html":"HTML-Elemente","controls.groups.layout":"Layout","controls.html.divider":"Teiler","controls.html.header":"Header","controls.html.paragraph":"Absatz","controls.layout.column":"Säule","controls.layout.row":"Reihe",copy:"In die Zwischenablage kopieren",danger:"Achtung",defineColumnLayout:"Definieren Sie ein Spaltenlayout",defineColumnWidths:"Spaltenbreiten definieren",description:"Hilfstext",descriptionField:"Beschreibung","editing.row":"Zeile bearbeiten",editorTitle:"Formularelemente",field:"Feld","field.property.invalid":"ungültig","field.property.isChecked":"wird geprüft","field.property.isNotVisible":"ist nicht sichtbar","field.property.isVisible":"ist sichtbar","field.property.label":"Etikette","field.property.valid":"gültig","field.property.value":"Wert",fieldNonEditable:"Dieses Feld kann nicht bearbeitet werden.",fieldRemoveWarning:"Möchten Sie dieses Feld wirklich entfernen?",fileUpload:"Datei-Upload",formUpdated:"Formular aktualisiert",getStarted:"Ziehen Sie ein Feld von rechts, um zu beginnen.",group:"Gruppe",grouped:"Gruppiert",hidden:"Versteckte Eingabe",hide:"Bearbeiten",htmlElements:"HTML-Elemente",if:"Ob","if.condition.source.placeholder":"Quelle","if.condition.target.placeholder":"Zielwert",info:"Info","input.date":"Datum","input.text":"Text",label:"Etikette",labelCount:"{label} {count}",labelEmpty:"Feldbezeichnung darf nicht leer sein","lang.af":"afrikanisch","lang.ar":"Arabisch","lang.cs":"tschechisch","lang.de":"Deutsch","lang.en":"Englisch","lang.es":"Spanisch","lang.fa":"persisch","lang.fi":"finnisch","lang.fr":"Französisch","lang.he":"Hebräisch","lang.hi":"Hindi","lang.hu":"ungarisch","lang.it":"Italienisch","lang.ja":"japanisch","lang.nb":"Norwegisches Bokmål","lang.pl":"Polieren","lang.pt":"Portugiesisch","lang.ro":"rumänisch","lang.ru":"Russisch","lang.th":"Thai","lang.tr":"Türkisch","lang.zh":"chinesisch",layout:"Layout",limitRole:"Beschränken Sie den Zugriff auf eine oder mehrere der folgenden Rollen:",mandatory:"Verpflichtend",maxlength:"Maximale Länge","meta.group":"Gruppe","meta.icon":"Ico","meta.label":"Etikette",minOptionMessage:"Dieses Feld erfordert mindestens 2 Optionen",name:"Name",newOptionLabel:"Neuer Typ}",no:"Nein",number:"Nummer",off:"aus",on:"Auf","operator.contains":"enthält","operator.equals":"gleich","operator.notContains":"enthält nicht","operator.notEquals":"nicht gleich","operator.notVisible":"nicht sichtbar","operator.visible":"sichtbar",option:"Möglichkeit",optional:"wahlweise",optionEmpty:"Optionswert erforderlich",optionLabel:"Option {count}",options:"Optionen",or:"oder",order:"Auftrag","panel.label.attrs":"Attribute","panel.label.conditions":"Bedingungen","panel.label.config":"Aufbau","panel.label.meta":"Meta","panel.label.options":"Optionen","panelEditButtons.attrs":"+ Attribut","panelEditButtons.conditions":"+ Bedingung","panelEditButtons.config":"+ Konfiguration","panelEditButtons.options":"+ Wahl",placeholder:"Platzhalter","placeholder.className":"Leerzeichen getrennte Klassen","placeholder.email":"Geben Sie Ihre E-Mail ein","placeholder.label":"Etikette","placeholder.password":"Geben Sie Ihr Passwort ein","placeholder.placeholder":"Platzhalter","placeholder.text":"Geben Sie einen Text ein","placeholder.textarea":"Geben Sie viel Text ein","placeholder.value":"Wert",preview:"Vorschau",primary:"Primär",remove:"Löschen",removeMessage:"Element entfernen",removeType:"{Type} entfernen",required:"Erforderlich",reset:"Zurücksetzen",richText:"Rich-Text-Editor",roles:"Zugriff",row:"Reihe","row.makeInputGroup":"Machen Sie diese Zeile zu einer Eingabegruppe.","row.makeInputGroupDesc":"Eingabegruppen ermöglichen Benutzern das Hinzufügen von Eingabesätzen gleichzeitig.","row.settings.fieldsetWrap":"Zeilenumbruch in einem & lt; -Feldset & gt; Etikett","row.settings.fieldsetWrap.aria":"Zeile in Fieldset umbrechen",save:"sparen",secondary:"Sekundär",select:"Wählen",selectColor:"Wähle Farbe",selectionsMessage:"Mehrfachauswahl zulassen",selectOptions:"Optionen",separator:"Separator",settings:"die Einstellungen",size:"Größe",sizes:"Größen","sizes.lg":"Groß","sizes.m":"Standard","sizes.sm":"Klein","sizes.xs":"Extra klein",style:"Stil",styles:"Styles","styles.btn":"Button Style","styles.btn.danger":"Achtung","styles.btn.default":"Standard","styles.btn.info":"Info","styles.btn.primary":"Primär","styles.btn.success":"Erfolg","styles.btn.warning":"Warnung",subtype:"Art",success:"Erfolg",text:"Textfeld",then:"Dann","then.condition.target.placeholder":"Ziel",toggle:"Umschalten",ungrouped:"A-gruppierte",warning:"Warnung",yes:"Ja"},"en-US":{"en-US":"English",dir:"ltr","af-ZA":"Afrikaans (South Africa)","ar-TN":"Arabic (Tunisia)","cs-CZ":"Czech (Czechia)","de-DE":"German (Germany)","es-ES":"European Spanish","fa-IR":"Persian (Iran)","fi-FI":"Finnish (Finland)","fr-FR":"French (France)","hu-HU":"Hungarian (Hungary)","it-IT":"Italian (Italy)","ja-JP":"Japanese (Japan)","nb-NO":"Norwegian Bokmål (Norway)","pl-PL":"Polish (Poland)","pt-BR":"Brazilian Portuguese","pt-PT":"European Portuguese","ro-RO":"Romanian (Romania)","ru-RU":"Russian (Russia)","th-TH":"Thai (Thailand)","tr-TR":"Turkish (Türkiye)","zh-CN":"Chinese (China)","zh-HK":"Chinese (Hong Kong SAR China)","action.add.attrs.attr":"What attribute would you like to add?","action.add.attrs.value":"Default Value",addOption:"Add Option",allFieldsRemoved:"All fields were removed.",allowSelect:"Allow Select",and:"and",attribute:"Attribute",attributeNotPermitted:'Attribute "{attribute}" is not permitted, please choose another.',attributes:"Attributes","attrs.class":"Class","attrs.className":"Class","attrs.dir":"Direction","attrs.id":"Id","attrs.required":"Required","attrs.style":"Style","attrs.title":"Title","attrs.type":"Type","attrs.value":"Value",autocomplete:"Autocomplete",button:"Button",cannotBeEmpty:"This field cannot be empty",cannotClearFields:"There are no fields to clear",checkbox:"Checkbox",checkboxes:"Checkboxes",class:"Class",clear:"Clear",clearAllMessage:"Are you sure you want to clear all fields?",close:"Close",column:"Column","condition.target.placeholder":"target","condition.type.and":"And","condition.type.if":"If","condition.type.or":"Or","condition.type.then":"Then","condition.value.placeholder":"value",confirmClearAll:"Are you sure you want to remove all fields?",content:"Content",control:"Control","controlGroups.nextGroup":"Next Group","controlGroups.prevGroup":"Previous Group","controls.filteringTerm":'Filtering "{term}"',"controls.form.button":"Button","controls.form.checkbox-group":"Checkbox Group","controls.form.input.date":"Date","controls.form.input.email":"Email","controls.form.input.file":"File Upload","controls.form.input.hidden":"Hidden Input","controls.form.input.number":"Number","controls.form.input.text":"Text Input","controls.form.radio-group":"Radio Group","controls.form.select":"Select","controls.form.textarea":"TextArea","controls.groups.form":"Form Fields","controls.groups.html":"HTML Elements","controls.groups.layout":"Layout","controls.html.divider":"Divider","controls.html.header":"Header","controls.html.paragraph":"Paragraph","controls.layout.column":"Column","controls.layout.row":"Row",copy:"Copy To Clipboard",danger:"Danger",defineColumnLayout:"Define a column layout",defineColumnWidths:"Define column widths",description:"Help Text",descriptionField:"Description","editing.row":"Editing Row",editorTitle:"Form Elements",field:"Field","field.property.invalid":"not valid","field.property.isChecked":"is checked","field.property.isNotVisible":"is not visible","field.property.isVisible":"is visible","field.property.label":"label","field.property.valid":"valid","field.property.value":"value",fieldNonEditable:"This field cannot be edited.",fieldRemoveWarning:"Are you sure you want to remove this field?",fileUpload:"File Upload",formUpdated:"Form Updated",getStarted:"Drag a field from the right to get started.",group:"Group",grouped:"Grouped",hidden:"Hidden Input",hide:"Edit",htmlElements:"HTML Elements",if:"If","if.condition.source.placeholder":"source","if.condition.target.placeholder":"target / value",info:"Info","input.date":"Date","input.text":"Text",label:"Label",labelCount:"{label} {count}",labelEmpty:"Field Label cannot be empty","lang.af":"Afrikaans","lang.ar":"Arabic","lang.cs":"Czech","lang.de":"German","lang.en":"English","lang.es":"Spanish","lang.fa":"Persian","lang.fi":"Finnish","lang.fr":"French","lang.hu":"Hungarian","lang.it":"Italian","lang.ja":"Japanese","lang.nb":"Norwegian Bokmål","lang.pl":"Polish","lang.pt":"Portuguese","lang.ro":"Romanian","lang.ru":"Russian","lang.th":"Thai","lang.tr":"Turkish","lang.zh":"Chinese",layout:"Layout",limitRole:"Limit access to one or more of the following roles:",mandatory:"Mandatory",maxlength:"Max Length","meta.group":"Group","meta.icon":"Ico","meta.label":"Label",minOptionMessage:"This field requires a minimum of 2 options",name:"Name",newOptionLabel:"New {type}",no:"No",number:"Number",off:"Off",on:"On","operator.contains":"contains","operator.equals":"equals","operator.notContains":"not contains","operator.notEquals":"not equal","operator.notVisible":"not visible","operator.visible":"visible",option:"Option",optional:"optional",optionEmpty:"Option value required",optionLabel:"Option {count}",options:"Options",or:"or",order:"Order","panel.label.attrs":"Attributes","panel.label.conditions":"Conditions","panel.label.config":"Configuration","panel.label.meta":"Meta","panel.label.options":"Options","panelEditButtons.attrs":"+ Attribute","panelEditButtons.conditions":"+ Condition","panelEditButtons.options":"+ Option","panelEditButtons.config":"+ Configuration",placeholder:"Placeholder","placeholder.className":"space separated classes","placeholder.email":"Enter you email","placeholder.label":"Label","placeholder.password":"Enter your password","placeholder.placeholder":"Placeholder","placeholder.text":"Enter some Text","placeholder.textarea":"Enter a lot of text","placeholder.value":"Value",preview:"Preview",primary:"Primary",remove:"Remove",removeMessage:"Remove Element",removeType:"Remove {type}",required:"Required",reset:"Reset",richText:"Rich Text Editor",roles:"Access",row:"Row","row.makeInputGroup":"Make this row an input group.","row.makeInputGroupDesc":"Input Groups enable users to add sets of inputs at a time.","row.settings.fieldsetWrap":"Wrap row in a &lt;fieldset&gt; tag","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Save",cancel:"Cancel",secondary:"Secondary",select:"Select",selectColor:"Select Color",selectionsMessage:"Allow Multiple Selections",selectOptions:"Options",separator:"Separator",settings:"Settings",size:"Size",sizes:"Sizes","sizes.lg":"Large","sizes.m":"Default","sizes.sm":"Small","sizes.xs":"Extra Small",style:"Style",styles:"Styles","styles.btn":"Button Style","styles.btn.danger":"Danger","styles.btn.default":"Default","styles.btn.info":"Info","styles.btn.primary":"Primary","styles.btn.success":"Success","styles.btn.warning":"Warning",subtype:"Type",success:"Success",text:"Text Field",then:"Then","then.condition.target.placeholder":"target",toggle:"Toggle",ungrouped:"Un-Grouped",warning:"Warning",yes:"Yes"},"es-ES":{"es-ES":"español de España",dir:"ltr","en-US":"Inglés","af-ZA":"afrikáans (Sudáfrica)","ar-TN":"árabe (Túnez)","cs-CZ":"checo (Chequia)","de-DE":"alemán (Alemania)","fa-IR":"persa (Irán)","fi-FI":"finés (Finlandia)","fr-FR":"francés (Francia)","he-IL":"hebreo (Israel)","hi-IN":"hindi (India)","hu-HU":"húngaro (Hungría)","it-IT":"italiano (Italia)","ja-JP":"japonés (Japón)","nb-NO":"noruego bokmal (Noruega)","pl-PL":"polaco (Polonia)","pt-BR":"portugués de Brasil","pt-PT":"portugués de Portugal","ro-RO":"rumano (Rumanía)","ru-RU":"ruso (Rusia)","th-TH":"tailandés (Tailandia)","tr-TR":"turco (Turquía)","zh-CN":"chino (China)","zh-HK":"chino (RAE de Hong Kong [China])","action.add.attrs.attr":"¿Qué atributo te gustaría agregar?","action.add.attrs.value":"Valor por defecto",addOption:"Añadir opción",allFieldsRemoved:"Todos los campos fueron eliminados.",allowSelect:"Permitir seleccionar",and:"y",attribute:"Atributo",attributeNotPermitted:'El atributo "{attribute}" no está permitido, elija otro.',attributes:"Atributos","attrs.class":"Clase","attrs.className":"Clase","attrs.dir":"Dirección","attrs.id":"Carné de identidad","attrs.required":"Necesario","attrs.style":"Estilo","attrs.title":"Título","attrs.type":"Tipo","attrs.value":"Valor",autocomplete:"Autocompletar",button:"Botón",cancel:"Cancelar",cannotBeEmpty:"Este campo no puede estar vacío",cannotClearFields:"No hay campos para borrar",checkbox:"Caja",checkboxes:"Casillas de verificación",class:"Clase",clear:"Claro",clearAllMessage:"¿Estás seguro de que quieres borrar todos los campos?",close:"Cerrar",column:"Columna","condition.target.placeholder":"objetivo","condition.type.and":"Y","condition.type.if":"Si","condition.type.or":"O","condition.type.then":"Entonces","condition.value.placeholder":"valor",confirmClearAll:"¿Estás seguro de que quieres eliminar todos los campos?",content:"Contenido",control:"Controlar","controlGroups.nextGroup":"Siguiente grupo","controlGroups.prevGroup":"Grupo anterior","controls.filteringTerm":'Filtrado "{term}"',"controls.form.button":"Botón","controls.form.checkbox-group":"Grupo de casilla de verificación","controls.form.input.date":"Fecha","controls.form.input.email":"Email","controls.form.input.file":"Subir archivo","controls.form.input.hidden":"Entrada oculta","controls.form.input.number":"Número","controls.form.input.text":"Entrada de texto","controls.form.radio-group":"Grupo de radio","controls.form.select":"Seleccionar","controls.form.textarea":"TextArea","controls.groups.form":"Campos de formulario","controls.groups.html":"Elementos HTML","controls.groups.layout":"Diseño","controls.html.divider":"Divisor","controls.html.header":"Encabezamiento","controls.html.paragraph":"Párrafo","controls.layout.column":"Columna","controls.layout.row":"Fila",copy:"Copiar al portapapeles",danger:"Peligro",defineColumnLayout:"Definir un diseño de columna.",defineColumnWidths:"Definir anchos de columna",description:"texto de ayuda",descriptionField:"Descripción","editing.row":"Fila de edición",editorTitle:"Elementos de formulario",field:"Campo","field.property.invalid":"no es válido","field.property.isChecked":"está marcado","field.property.isNotVisible":"no es visible","field.property.isVisible":"es visible","field.property.label":"etiqueta","field.property.valid":"válido","field.property.value":"valor",fieldNonEditable:"Este campo no puede ser editado.",fieldRemoveWarning:"¿Estás seguro de que quieres eliminar este campo?",fileUpload:"Subir archivo",formUpdated:"Formulario actualizado",getStarted:"Arrastra un campo desde la derecha para empezar.",group:"Grupo",grouped:"Agrupados",hidden:"Entrada oculta",hide:"Editar",htmlElements:"Elementos HTML",if:"Si","if.condition.source.placeholder":"fuente","if.condition.target.placeholder":"valor objetivo",info:"Información","input.date":"Fecha","input.text":"Texto",label:"Etiqueta",labelCount:"{label} {count}",labelEmpty:"La etiqueta de campo no puede estar vacía","lang.af":"africano","lang.ar":"árabe","lang.cs":"checo","lang.de":"Alemán","lang.en":"Inglés","lang.es":"Español","lang.fa":"persa","lang.fi":"finlandés","lang.fr":"Francés","lang.he":"hebreo","lang.hi":"hindi","lang.hu":"húngaro","lang.it":"italiano","lang.ja":"japonés","lang.nb":"Bokmål noruego","lang.pl":"Polaco","lang.pt":"portugués","lang.ro":"rumano","lang.ru":"ruso","lang.th":"tailandés","lang.tr":"turco","lang.zh":"Chino",layout:"Diseño",limitRole:"Limite el acceso a uno o más de los siguientes roles:",mandatory:"Obligatorio",maxlength:"Longitud máxima","meta.group":"Grupo","meta.icon":"Ico","meta.label":"Etiqueta",minOptionMessage:"Este campo requiere un mínimo de 2 opciones.",name:"Nombre",newOptionLabel:"Nuevo tipo}",no:"No",number:"Número",off:"Apagado",on:"En","operator.contains":"contiene","operator.equals":"es igual a","operator.notContains":"no contiene","operator.notEquals":"no es igual","operator.notVisible":"no visible","operator.visible":"visible",option:"Opción",optional:"Opcional",optionEmpty:"Valor de opción requerido",optionLabel:"Opción {cuenta}",options:"Opciones",or:"o",order:"Orden","panel.label.attrs":"Atributos","panel.label.conditions":"Condiciones","panel.label.config":"Configuración","panel.label.meta":"Meta","panel.label.options":"Opciones","panelEditButtons.attrs":"+ Atributo","panelEditButtons.conditions":"+ Condición","panelEditButtons.config":"+ Configuración","panelEditButtons.options":"+ Opción",placeholder:"Marcador de posición","placeholder.className":"clases separadas por espacios","placeholder.email":"Ingrese su correo electrónico","placeholder.label":"Etiqueta","placeholder.password":"Ingresa tu contraseña","placeholder.placeholder":"Marcador de posición","placeholder.text":"Introduce algún texto","placeholder.textarea":"Introduce mucho texto","placeholder.value":"Valor",preview:"Avance",primary:"Primario",remove:"retirar",removeMessage:"Eliminar Elemento",removeType:"Eliminar {tipo}",required:"Necesario",reset:"Reiniciar",richText:"Editor de texto enriquecido",roles:"Acceso",row:"Fila","row.makeInputGroup":"Haz de esta fila un grupo de entrada.","row.makeInputGroupDesc":"Los grupos de entrada permiten a los usuarios agregar conjuntos de entradas a la vez.","row.settings.fieldsetWrap":"Ajustar fila en un & lt; fieldset & gt; etiqueta","row.settings.fieldsetWrap.aria":"Envuelva la fila en Fieldset",save:"Salvar",secondary:"Secundario",select:"Seleccionar",selectColor:"Seleccionar el color",selectionsMessage:"Permitir selecciones múltiples",selectOptions:"Opciones",separator:"Separador",settings:"Ajustes",size:"tamaño",sizes:"Tamaños","sizes.lg":"Grande","sizes.m":"Defecto","sizes.sm":"Pequeña","sizes.xs":"Extra Pequeño",style:"Estilo",styles:"Estilos","styles.btn":"Estilo de botón","styles.btn.danger":"Peligro","styles.btn.default":"Defecto","styles.btn.info":"Información","styles.btn.primary":"Primario","styles.btn.success":"Éxito","styles.btn.warning":"Advertencia",subtype:"Tipo",success:"Éxito",text:"Campo de texto",then:"Entonces","then.condition.target.placeholder":"objetivo",toggle:"Palanca",ungrouped:"A-Agrupados",warning:"Advertencia",yes:"Sí"},"fa-IR":{"fa-IR":"فارسی (ایران)",dir:"rtl","en-US":"Farsi","af-ZA":"آفریکانس (افریقای جنوبی)","ar-TN":"عربی (تونس)","cs-CZ":"چکی (چک)","de-DE":"آلمانی (آلمان)","es-ES":"اسپانیایی اروپا","fi-FI":"فنلاندی (فنلاند)","fr-FR":"فرانسوی (فرانسه)","he-IL":"عبری (اسرائیل)","hi-IN":"هندی (هند)","hu-HU":"مجاری (مجارستان)","it-IT":"ایتالیایی (ایتالیا)","ja-JP":"ژاپنی (ژاپن)","nb-NO":"نروژی بوک‌مُل (نروژ)","pl-PL":"لهستانی (لهستان)","pt-BR":"پرتغالی برزیل","pt-PT":"پرتغالی اروپا","ro-RO":"رومانیایی (رومانی)","ru-RU":"روسی (روسیه)","th-TH":"تایلندی (تایلند)","tr-TR":"ترکی استانبولی (ترکیه)","zh-CN":"چینی (چین)","zh-HK":"چینی (هنگ‌کنگ، منطقهٔ ویژهٔ اداری چین)","action.add.attrs.attr":"چه ویژگی را می خواهید اضافه کنید؟","action.add.attrs.value":"مقدار پیش فرض",addOption:"افزودن گزینه",allFieldsRemoved:"تمام فیلدها حذف شدند.",allowSelect:"اجازه انتخاب",and:"وارد",attribute:"ویژگی",attributeNotPermitted:'ویژگی "{attribute}" مجاز نیست, لطفا دیگری را انتخاب کنید.',attributes:"ویژگی ها","attrs.class":"کلاس","attrs.className":"کلاس","attrs.dir":"جهت","attrs.id":"آی دی","attrs.required":"اجباری","attrs.style":"استایل","attrs.title":"عنوان","attrs.type":"نوع","attrs.value":"مقدار",autocomplete:"تکمیل خودکار",button:"دکمه",cancel:"لغو",cannotBeEmpty:"این فیلد نمی تواند خالی باشد",cannotClearFields:"هیچ فیلدی برای پاک کردن وجود ندارد",checkbox:"چک باکس",checkboxes:"چک باکس ها",class:"کلاس",clear:"پاک کردن",clearAllMessage:"آیا مطمئن هستید که می خواهید همه فیلدها را پاک کنید؟",close:"بستن",column:"ستون","condition.target.placeholder":"هدف","condition.type.and":"و","condition.type.if":"اگر","condition.type.or":"یا","condition.type.then":"سپس","condition.value.placeholder":"مقدار",confirmClearAll:"آیا مطمئن هستید که می خواهید همه فیلدها را حذف کنید؟",content:"محتوا",control:"کنترل","controlGroups.nextGroup":"گروه بعدی","controlGroups.prevGroup":"گروه قبلی","controls.filteringTerm":'فیلتر کردن "{term}"',"controls.form.button":"دکمه","controls.form.checkbox-group":"گروه چک باکس","controls.form.input.date":"تاریخ","controls.form.input.email":"ایمیل","controls.form.input.file":"آپلود فایل","controls.form.input.hidden":"فیلد پنهان","controls.form.input.number":"عدد","controls.form.input.text":"ورودی متن","controls.form.radio-group":"گروه رادیوها","controls.form.select":"انتخاب","controls.form.textarea":"باکس متن","controls.groups.form":"فیلدهای فرم","controls.groups.html":"عناصر HTML","controls.groups.layout":"چیدمان","controls.html.divider":"تقسیم کننده","controls.html.header":"سرتیتر","controls.html.paragraph":"پاراگراف","controls.layout.column":"ستون","controls.layout.row":"ردیف",copy:"کپی در کلیپ بورد",danger:"خطر",defineColumnLayout:"طرح بندی ستون را تعریف کنید",defineColumnWidths:"عرض ستون را تعریف کنید",description:"متن راهنما",descriptionField:"شرح","editing.row":"ویرایش ردیف",editorTitle:"عناصر فرم",field:"فیلد","field.property.invalid":"نادرست","field.property.isChecked":"بررسی می شود","field.property.isNotVisible":"صحیح نیست","field.property.isVisible":"صحیح است","field.property.label":"برچسب","field.property.valid":"صحیح","field.property.value":"مقدار",fieldNonEditable:"این فیلد قابل ویرایش نیست.",fieldRemoveWarning:"آیا مطمئن هستید که می خواهید این فیلد را حذف کنید؟",fileUpload:"آپلود فایل",formUpdated:"فرم به روز شد",getStarted:"برای شروع یک فیلد را از سمت راست بکشید.",group:"گروه",grouped:"گروه بندی شده",hidden:"فیلد پنهان",hide:"ویرایش",htmlElements:"HTML عناصر",if:"اگر","if.condition.source.placeholder":"منبع","if.condition.target.placeholder":"هدف / ارزش",info:"اطلاعات","input.date":"تاریخ","input.text":"متن",label:"برچسب",labelCount:"{label} {count}",labelEmpty:"برچسب فیلد نمی تواند خالی باشد","lang.af":"آفریقایی","lang.ar":"عربی","lang.cs":"چک","lang.de":"آلمانی","lang.en":"انگلیسی","lang.es":"اسپانیایی","lang.fa":"فارسی","lang.fi":"فنلاندی","lang.fr":"فرانسوی","lang.he":"عبری","lang.hi":"هندی","lang.hu":"مجارستانی","lang.it":"ایتالیایی","lang.ja":"ژاپنی","lang.nb":"نروژی بوکمال","lang.pl":"لهستانی","lang.pt":"پرتغالی","lang.ro":"رومانیایی","lang.ru":"روسی","lang.th":"تایلندی","lang.tr":"ترکی","lang.zh":"چینی",layout:"چیدمان",limitRole:"دسترسی به یک یا چند نقش زیر را محدود کنید:",mandatory:"اجباری",maxlength:"حداکثر طول","meta.group":"گروه","meta.icon":"ایکون","meta.label":"برچسب",minOptionMessage:"این فیلد به حداقل 2 گزینه نیاز دارد",name:"نام",newOptionLabel:"جدید {type}",no:"خیر",number:"عدد",off:"خاموش",on:"روشن","operator.contains":"شامل","operator.equals":"برابر","operator.notContains":"شامل نمی شود","operator.notEquals":"نا برابر","operator.notVisible":"غیر قابل رویت","operator.visible":"قابل رویت",option:"گزینه",optional:"اختیاری",optionEmpty:"مقدار گزینه مورد نیاز است",optionLabel:"گزینه {count}",options:"گزینه ها",or:"یا",order:"سفارش","panel.label.attrs":"ویژگی ها","panel.label.conditions":"شروط","panel.label.config":"پیکربندی","panel.label.meta":"متا","panel.label.options":"گزینه ها","panelEditButtons.attrs":"+ ویژگی","panelEditButtons.conditions":"+ شرط","panelEditButtons.config":"+ پیکربندی","panelEditButtons.options":"+ گزینه",placeholder:"متن پیش فرض فیلد","placeholder.className":"فضای جدا دشه کلاس ها","placeholder.email":"ایمیل خود را وارد کنید","placeholder.label":"برچسب","placeholder.password":"رمز عبور خود را وارد کنید","placeholder.placeholder":"متن پیش فرض فیلد","placeholder.text":"مقداری متن وارد کنید","placeholder.textarea":"مقدار زیادی متن وارد کنید","placeholder.value":"مقدار",preview:"پیش نمایش",primary:"اولیه",remove:"حذف",removeMessage:"حذف عنصر",removeType:"حذف {type}",required:"اجباری",reset:"بازنشانی",richText:"ویرایشگر متن توانمند",roles:"دسترسی",row:"ردیف","row.makeInputGroup":"این ردیف را به یک گروه ورودی تبدیل کنید.","row.makeInputGroupDesc":"گروه ورودی به کاربران امکان می‌دهد تا مجموعه‌هایی از ورودی‌ها را در یک زمان اضافه کنند.","row.settings.fieldsetWrap":"یک ردیف را جدا کنید در &lt;fieldset&gt; tag","row.settings.fieldsetWrap.aria":"ردیف را در فیلد بالا جدا کنید",save:"ذخیره",secondary:"ثانوی",select:"انتخاب",selectColor:"انتخاب رنگ",selectionsMessage:"اجازه انتخاب های متعدد",selectOptions:"گزینه ها",separator:"جداکننده",settings:"تنظیمات",size:"اندازه",sizes:"اندازه ها","sizes.lg":"بزرگ","sizes.m":"پیش فرض","sizes.sm":"کوچک","sizes.xs":"بسیار کوچک",style:"استایل ها",styles:"استایل ها","styles.btn":"استایل دکمه","styles.btn.danger":"خطر","styles.btn.default":"پیش فرض","styles.btn.info":"اطلاعات","styles.btn.primary":"اولیه","styles.btn.success":"موفقیت","styles.btn.warning":"هشدار",subtype:"نوع",success:"موفقیت",text:"فیلد متن",then:"سپس","then.condition.target.placeholder":"هدف",toggle:"تغییر وضعیت",ungrouped:"گروه بندی نشده",warning:"هشدار",yes:"بله"},"fi-FI":{"fi-FI":"suomi (Suomi)",dir:"ltr","en-US":"englanti","af-ZA":"afrikaans (Etelä-Afrikka)","ar-TN":"arabia (Tunisia)","cs-CZ":"tšekki (Tšekki)","de-DE":"saksa (Saksa)","es-ES":"euroopanespanja","fa-IR":"persia (Iran)","fr-FR":"ranska (Ranska)","he-IL":"heprea (Israel)","hi-IN":"hindi (Intia)","hu-HU":"unkari (Unkari)","it-IT":"italia (Italia)","ja-JP":"japani (Japani)","nb-NO":"norjan bokmål (Norja)","pl-PL":"puola (Puola)","pt-BR":"brasilianportugali","pt-PT":"euroopanportugali","ro-RO":"romania (Romania)","ru-RU":"venäjä (Venäjä)","th-TH":"thai (Thaimaa)","tr-TR":"turkki (Turkki)","zh-CN":"kiina (Kiina)","zh-HK":"kiina (Hongkong – Kiinan erityishallintoalue)","action.add.attrs.attr":"Minkä ominaisuuden haluaisit lisätä?","action.add.attrs.value":"Oletusarvo",addOption:"Lisää vaihtoehto",allFieldsRemoved:"Kaikki kentät poistettiin.",allowSelect:"Salli Valitse",and:"ja",attribute:"Attribuutti",attributeNotPermitted:'Attribuutti "{attribute}" ei ole sallittu, valitse toinen.',attributes:"Attribuutit","attrs.class":"Luokka","attrs.className":"Luokka","attrs.dir":"Suunta","attrs.id":"Id","attrs.required":"Pakollinen","attrs.style":"Tyyli","attrs.title":"Otsikko","attrs.type":"Tyyppi","attrs.value":"Arvo",autocomplete:"Automaattinen täydennys",button:"Painike",cancel:"Peruuttaa",cannotBeEmpty:"Tämä kenttä ei voi olla tyhjä",cannotClearFields:"Ei ole tyhjennettyjä kenttiä",checkbox:"Valintaruutu",checkboxes:"valintaruudut",class:"Luokka",clear:"Selkeä",clearAllMessage:"Haluatko varmasti tyhjentää kaikki kentät?",close:"Lähellä",column:"Sarake","condition.target.placeholder":"tavoite","condition.type.and":"Ja","condition.type.if":"Jos","condition.type.or":"Tai","condition.type.then":"Sitten","condition.value.placeholder":"arvo",confirmClearAll:"Haluatko varmasti poistaa kaikki kentät?",content:"Sisältö",control:"Ohjaus","controlGroups.nextGroup":"Seuraava ryhmä","controlGroups.prevGroup":"Edellinen ryhmä","controls.filteringTerm":'Suodatetaan "{term}"',"controls.form.button":"Painike","controls.form.checkbox-group":"Valintaruuturyhmä","controls.form.input.date":"Päivämäärä","controls.form.input.email":"Sähköposti","controls.form.input.file":"Tiedoston lataus","controls.form.input.hidden":"Piilotettu syöttö","controls.form.input.number":"Määrä","controls.form.input.text":"Tekstinsyöttö","controls.form.radio-group":"Radioryhmä","controls.form.select":"Valitse","controls.form.textarea":"Tekstialue","controls.groups.form":"Lomakekentät","controls.groups.html":"HTML-elementit","controls.groups.layout":"Layout","controls.html.divider":"Jakaja","controls.html.header":"Otsikko","controls.html.paragraph":"Kohta","controls.layout.column":"Sarake","controls.layout.row":"Rivi",copy:"Kopioi leikepöydälle",danger:"Vaara",defineColumnLayout:"Määritä sarakkeen asettelu",defineColumnWidths:"Määritä sarakkeiden leveydet",description:"Ohjeteksti",descriptionField:"Kuvaus","editing.row":"Muokkaa riviä",editorTitle:"Lomakkeen elementit",field:"Ala","field.property.invalid":"ei kelpaa","field.property.isChecked":"on tarkistettu","field.property.isNotVisible":"ei ole näkyvissä","field.property.isVisible":"on näkyvissä","field.property.label":"etiketti","field.property.valid":"voimassa","field.property.value":"arvo",fieldNonEditable:"Tätä kenttää ei voi muokata.",fieldRemoveWarning:"Haluatko varmasti poistaa tämän kentän?",fileUpload:"Tiedoston lataus",formUpdated:"Lomake päivitetty",getStarted:"Aloita vetämällä kenttää oikealta.",group:"ryhmä",grouped:"Ryhmitetty",hidden:"Piilotettu syöttö",hide:"Muokata",htmlElements:"HTML-elementit",if:"Jos","if.condition.source.placeholder":"lähde","if.condition.target.placeholder":"tavoite / arvo",info:"Tiedot","input.date":"Päivämäärä","input.text":"Teksti",label:"Label",labelCount:"{label} {count}",labelEmpty:"Kentän tunniste ei voi olla tyhjä","lang.af":"afrikkalainen","lang.ar":"arabia","lang.cs":"Tšekki","lang.de":"saksaksi","lang.en":"englanti","lang.es":"espanja","lang.fa":"persialainen","lang.fi":"suomalainen","lang.fr":"ranskalainen","lang.he":"heprea","lang.hi":"hindi","lang.hu":"Unkari","lang.it":"italialainen","lang.ja":"japanilainen","lang.nb":"norjalainen bokmål","lang.pl":"Kiillottaa","lang.pt":"portugali","lang.ro":"romanialainen","lang.ru":"venäjäksi","lang.th":"thaimaalainen","lang.tr":"turkkilainen","lang.zh":"kiinalainen",layout:"Layout",limitRole:"Rajoita pääsyä yhteen tai useampaan seuraavista rooleista:",mandatory:"Pakollinen",maxlength:"Max pituus","meta.group":"ryhmä","meta.icon":"Ico","meta.label":"Label",minOptionMessage:"Tämä kenttä vaatii vähintään 2 vaihtoehtoa",name:"Nimi",newOptionLabel:"Uusi {type}",no:"Ei",number:"Määrä",off:"Pois",on:"Päällä","operator.contains":"sisältää","operator.equals":"on yhtä suuri","operator.notContains":"ei sisällä","operator.notEquals":"ei tasa-arvoinen","operator.notVisible":"ei näy","operator.visible":"näkyvissä",option:"Vaihtoehto",optional:"valinnainen",optionEmpty:"Vaihtoehdon arvo vaaditaan",optionLabel:"Vaihtoehto {count}",options:"Vaihtoehdot",or:"tai",order:"Tilata","panel.label.attrs":"Attribuutit","panel.label.conditions":"ehdot","panel.label.config":"Kokoonpano","panel.label.meta":"Meta","panel.label.options":"Vaihtoehdot","panelEditButtons.attrs":"+ Attribuutti","panelEditButtons.conditions":"+ Kunto","panelEditButtons.config":"+ Kokoonpano","panelEditButtons.options":"+ Vaihtoehto",placeholder:"Paikkamerkki","placeholder.className":"tilaa erotetut luokat","placeholder.email":"Kirjoita sähköpostiosoitteesi","placeholder.label":"Label","placeholder.password":"Kirjoita salasanasi","placeholder.placeholder":"Paikkamerkki","placeholder.text":"Kirjoita tekstiä","placeholder.textarea":"Kirjoita paljon tekstiä","placeholder.value":"Arvo",preview:"Esikatselu",primary:"Ensisijainen",remove:"Poistaa",removeMessage:"Poista elementti",removeType:"Poista {type}",required:"Pakollinen",reset:"Nollaa",richText:"Rich Text Editor",roles:"Pääsy",row:"Rivi","row.makeInputGroup":"Tee tästä rivistä syöttöryhmä.","row.makeInputGroupDesc":"Syöttöryhmien avulla käyttäjät voivat lisätä syötteitä kerrallaan.","row.settings.fieldsetWrap":"Rivitä rivi &lt;fieldset&gt; tag","row.settings.fieldsetWrap.aria":"Rivitä rivi Fieldsetissä",save:"Tallentaa",secondary:"Toissijainen",select:"Valitse",selectColor:"Valitse Väri",selectionsMessage:"Salli useita valintoja",selectOptions:"Vaihtoehdot",separator:"Erotin",settings:"Asetukset",size:"Koko",sizes:"Koot","sizes.lg":"Suuri","sizes.m":"Oletus","sizes.sm":"Pieni","sizes.xs":"Erittäin pieni",style:"Tyyli",styles:"Tyylit","styles.btn":"Painikkeen tyyli","styles.btn.danger":"Vaara","styles.btn.default":"Oletus","styles.btn.info":"Tiedot","styles.btn.primary":"Ensisijainen","styles.btn.success":"Menestys","styles.btn.warning":"Varoitus",subtype:"Tyyppi",success:"Menestys",text:"Tekstikenttä",then:"Sitten","then.condition.target.placeholder":"tavoite",toggle:"Vaihda",ungrouped:"Ryhmittelemätön",warning:"Varoitus",yes:"Kyllä"},"fr-FR":{"fr-FR":"français (France)",dir:"ltr","en-US":"Anglais","af-ZA":"afrikaans (Afrique du Sud)","ar-TN":"arabe (Tunisie)","cs-CZ":"tchèque (Tchéquie)","de-DE":"allemand (Allemagne)","es-ES":"espagnol d’Espagne","fa-IR":"persan (Iran)","fi-FI":"finnois (Finlande)","he-IL":"hébreu (Israël)","hi-IN":"hindi (Inde)","hu-HU":"hongrois (Hongrie)","it-IT":"italien (Italie)","ja-JP":"japonais (Japon)","nb-NO":"norvégien bokmål (Norvège)","pl-PL":"polonais (Pologne)","pt-BR":"portugais brésilien","pt-PT":"portugais européen","ro-RO":"roumain (Roumanie)","ru-RU":"russe (Russie)","th-TH":"thaï (Thaïlande)","tr-TR":"turc (Turquie)","zh-CN":"chinois (Chine)","zh-HK":"chinois (R.A.S. chinoise de Hong Kong)","action.add.attrs.attr":"Quel attribut souhaitez-vous ajouter?","action.add.attrs.value":"Valeur par défaut",addOption:"Ajouter option",allFieldsRemoved:"Tout les champs ont étés supprimés.",allowSelect:"Permettre la sélection",and:"et",attribute:"Attribut",attributeNotPermitted:"Attribut «{attribute}» non permis, veuillez en choisir un autre.",attributes:"Attributs","attrs.class":"Classe","attrs.className":"Classe","attrs.dir":"Direction","attrs.id":"Id","attrs.required":"Requis","attrs.style":"Style","attrs.title":"Titre","attrs.type":"Type","attrs.value":"Valeur",autocomplete:"Auto-complétion",button:"Bouton",cancel:"Annuler",cannotBeEmpty:"Ce champ ne peut être vide",cannotClearFields:"Il n'y a pas de champ à vider",checkbox:"Case à cocher",checkboxes:"Cases à cocher",class:"Classe",clear:"Supprimer",clearAllMessage:"Êtes-vous certain de vouloir tout supprimer?",close:"Fermer",column:"Colonne","condition.target.placeholder":"destination","condition.type.and":"Et","condition.type.if":"Si","condition.type.or":"Ou","condition.type.then":"Alors","condition.value.placeholder":"valeur condition",confirmClearAll:"Êtes-vous certain de vouloir supprimer tous les champs?",content:"Contenu",control:"Contrôle","controlGroups.nextGroup":"Prochain groupe","controlGroups.prevGroup":"Groupe précédent","controls.filteringTerm":"Triage «{term}»","controls.form.button":"Bouton","controls.form.checkbox-group":"Groupe de cases à cocher","controls.form.input.date":"Date","controls.form.input.email":"Courriel","controls.form.input.file":"Téléversement de fichier","controls.form.input.hidden":"Champ caché","controls.form.input.number":"Numéro","controls.form.input.text":"Champ de texte","controls.form.radio-group":"Groupe de boutons radio","controls.form.select":"Sélection","controls.form.textarea":"Zone de texte","controls.groups.form":"Champs de formulaire","controls.groups.html":"Éléments HTML","controls.groups.layout":"Disposition","controls.html.divider":"Séparateur","controls.html.header":"Entête","controls.html.paragraph":"Paragraphe","controls.layout.column":"Colonne","controls.layout.row":"Rang",copy:"Copier au presse-papier",danger:"Danger",defineColumnLayout:"Définir une disposition de colonnes",defineColumnWidths:"Définir la largeur des colonnes",description:"Texte d'aide",descriptionField:"Description","editing.row":"Édition de rang",editorTitle:"Éléments de formulaire",field:"Champ","field.property.invalid":"invalide","field.property.isChecked":"est vérifié","field.property.isNotVisible":"non-visible","field.property.isVisible":"visible","field.property.label":"Étiquette","field.property.valid":"valide","field.property.value":"Valeur",fieldNonEditable:"Ce champ ne peut être modifié.",fieldRemoveWarning:"Êtes-vous sûr de vouloir supprimer ce champ?",fileUpload:"Téléversement de fichier",formUpdated:"Formulaire mis-à-jour",getStarted:"Déplacer un champ de la droite pour commencer.",group:"Groupe",grouped:"Groupés",hidden:"Champ caché",hide:"Modifier",htmlElements:"Élements HTML",if:"Si","if.condition.source.placeholder":"si vrai source","if.condition.target.placeholder":"si vrai destination",info:"Info","input.date":"Date","input.text":"Texte",label:"Étiquette",labelCount:"{label} {count}",labelEmpty:"L'Étiquette du champ ne peut être vide","lang.af":"africain","lang.ar":"arabe","lang.cs":"tchèque","lang.de":"Allemand","lang.en":"Anglais","lang.es":"Espagnol","lang.fa":"persan","lang.fi":"finlandais","lang.fr":"Français","lang.he":"hébreu","lang.hi":"hindi","lang.hu":"hongrois","lang.it":"italien","lang.ja":"japonais","lang.nb":"bokmål norvégien","lang.pl":"polonais","lang.pt":"portugais","lang.ro":"roumain","lang.ru":"russe","lang.th":"thaïlandais","lang.tr":"turc","lang.zh":"Chinois",layout:"Disposition",limitRole:"Limiter l'acces à un des rôles suivants :",mandatory:"Obligatoire",maxlength:"Longueur maximum","meta.group":"Groupe","meta.icon":"Vignette","meta.label":"Étiquette",minOptionMessage:"Ce champ requiert un minimum de deux options",name:"Nom",newOptionLabel:"Nouveau {type}",no:"Non",number:"Numéro",off:"Désactivé",on:"Activé","operator.contains":"contient","operator.equals":"égaux","operator.notContains":"ne contient pas","operator.notEquals":"ne sont pas égaux","operator.notVisible":"non-visible","operator.visible":"visible",option:"Option",optional:"optionel",optionEmpty:"Valeur de l'option requise",optionLabel:"Option {count}",options:"Options",or:"ou",order:"Organiser","panel.label.attrs":"Attributs","panel.label.conditions":"Conditions","panel.label.config":"Configuration","panel.label.meta":"Meta","panel.label.options":"Options","panelEditButtons.attrs":"+ Attribut","panelEditButtons.conditions":"+ Condition","panelEditButtons.config":"+ Configuration","panelEditButtons.options":"+ Option",placeholder:"Texte Fictif","placeholder.className":"classes séparées par espaces","placeholder.email":"Entrez votre courriel","placeholder.label":"Étiquette","placeholder.password":"Entrez votre mot de passe","placeholder.placeholder":"Texte Fictif","placeholder.text":"Entrez du texte","placeholder.textarea":"Entrez beaucoup de texte","placeholder.value":"Valeur",preview:"Aperçu",primary:"Primaire",remove:"Supprimer",removeMessage:"Supprimer l'élément",removeType:"Supprimer {type}",required:"Requis",reset:"Réinitialiser",richText:"Éditeur de texte enrichi",roles:"Acces",row:"Ligne","row.makeInputGroup":"Définir cette ligne comme groupe de saisie.","row.makeInputGroupDesc":"Les groupes de saisie permettent aux usagers de rajouter de multiples champs à la fois.","row.settings.fieldsetWrap":"Entourer le champ d'un élément &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":`Entourer le champ d'un "Fieldset"`,save:"Sauvegarder",secondary:"Secondaire",select:"Sélection",selectColor:"Selectionner une couleur",selectionsMessage:"Permettre une sélection multiple",selectOptions:"Options",separator:"Séparateur",settings:"Paramètres de configuration",size:"Grandeur",sizes:"Grandeurs","sizes.lg":"Grand","sizes.m":"Grandeur par défaut","sizes.sm":"Petit","sizes.xs":"Extrèmement petit",style:"Motif",styles:"Motifs","styles.btn":"Motifs de bouton","styles.btn.danger":"Danger","styles.btn.default":"Motif par défaut de bouton","styles.btn.info":"Info","styles.btn.primary":"Primaire","styles.btn.success":"Success","styles.btn.warning":"Avertissement",subtype:"Type",success:"Succès",text:"Champ de texte",then:"Ensuite","then.condition.target.placeholder":"alors destination",toggle:"Basculer",ungrouped:"Non-groupé",warning:"Avertissement",yes:"Oui"},"he-IL":{"he-IL":"עברית (ישראל)",dir:"rtl","en-US":"אַנגְלִית","af-ZA":"אפריקנס (דרום אפריקה)","ar-TN":"ערבית (תוניסיה)","cs-CZ":"צ'כיה (צ'כיה)","de-DE":"גרמנית (גרמניה)","es-ES":"ספרדית אירופאית","fa-IR":"פרסית (איראן)","fi-FI":"פינית (פינלנד)","fr-FR":"צרפתית (צרפת)","hi-IN":"הינדי (הודו)","hu-HU":"הונגרית (הונגריה)","it-IT":"איטלקית (איטליה)","ja-JP":"יפנית (יפן)","nb-NO":"בוקמול נורבגית (נורווגיה)","pl-PL":"פולנית (פולין)","pt-BR":"פורטוגזית ברזילאית","pt-PT":"פורטוגזית אירופאית","ro-RO":"רומנית (רומניה)","ru-RU":"רוסית (רוסיה)","th-TH":"תאילנד (תאילנד)","tr-TR":"טורקית (טורקיה)","zh-CN":"סינית (סין)","zh-HK":"סינית (הונג קונג SAR סין)","action.add.attrs.attr":"איזו תכונה תרצה להוסיף?","action.add.attrs.value":"ערך ברירת מחדל",addOption:"הוסף אפשרות",allFieldsRemoved:"כל השדות הוסרו.",allowSelect:"אפשר בחירה",and:"ו",attribute:"תְכוּנָה",attributeNotPermitted:'התכונה "{attribute}" אינה מותרת, אנא בחר אחר.',attributes:"תכונות","attrs.class":"מַחלָקָה","attrs.className":"מַחלָקָה","attrs.dir":"כיוון","attrs.id":"תְעוּדַת זֶהוּת","attrs.required":"דָרוּשׁ","attrs.style":"סִגְנוֹן","attrs.title":"כּוֹתֶרֶת","attrs.type":"סוּג","attrs.value":"עֵרֶך",autocomplete:"השלמה אוטומטית",button:"לַחְצָן",cancel:"לְבַטֵל",cannotBeEmpty:"שדה זה לא יכול להיות ריק",cannotClearFields:"אין שדות לנקות",checkbox:"תיבת סימון",checkboxes:"תיבות סימון",class:"מַחלָקָה",clear:"בָּרוּר",clearAllMessage:"האם אתה בטוח שברצונך לנקות את כל השדות?",close:"לִסְגוֹר",column:"עַמוּדָה","condition.target.placeholder":"יַעַד","condition.type.and":"ו","condition.type.if":"אִם","condition.type.or":"אוֹ","condition.type.then":"אָז","condition.value.placeholder":"עֵרֶך",confirmClearAll:"האם אתה בטוח שברצונך להסיר את כל השדות?",content:"תוֹכֶן",control:"לִשְׁלוֹט","controlGroups.nextGroup":"הקבוצה הבאה","controlGroups.prevGroup":"הקבוצה הקודמת","controls.filteringTerm":'מסנן "{term}"',"controls.form.button":"לַחְצָן","controls.form.checkbox-group":"קבוצת תיבת סימון","controls.form.input.date":"תַאֲרִיך","controls.form.input.email":"אֶלֶקטרוֹנִי","controls.form.input.file":"העלאת קובץ","controls.form.input.hidden":"קלט מוסתר","controls.form.input.number":"מִספָּר","controls.form.input.text":"קלט טקסט","controls.form.radio-group":"קבוצת רדיו","controls.form.select":"לִבחוֹר","controls.form.textarea":"TextArea","controls.groups.form":"שדות טופס","controls.groups.html":"רכיבי HTML","controls.groups.layout":"מַעֲרָך","controls.html.divider":"מְחַלֵק","controls.html.header":"כּוֹתֶרֶת","controls.html.paragraph":"סָעִיף","controls.layout.column":"עַמוּדָה","controls.layout.row":"שׁוּרָה",copy:"העתק ללוח",danger:"סַכָּנָה",defineColumnLayout:"הגדר פריסת עמודה",defineColumnWidths:"הגדר רוחבי עמודות",description:"טקסט עזרה",descriptionField:"תֵאוּר","editing.row":"שורת עריכה",editorTitle:"רכיבי טופס",field:"שָׂדֶה","field.property.invalid":"לא תקף","field.property.isChecked":"נבדק","field.property.isNotVisible":"אינו נראה לעין","field.property.isVisible":"גלוי","field.property.label":"מַדבֵּקָה","field.property.valid":"תָקֵף","field.property.value":"עֵרֶך",fieldNonEditable:"לא ניתן לערוך שדה זה.",fieldRemoveWarning:"האם אתה בטוח שברצונך להסיר את השדה הזה?",fileUpload:"העלאת קובץ",formUpdated:"הטופס עודכן",getStarted:"גרור שדה מימין כדי להתחיל.",group:"קְבוּצָה",grouped:"מקובצים",hidden:"קלט מוסתר",hide:"לַעֲרוֹך",htmlElements:"רכיבי HTML",if:"אִם","if.condition.source.placeholder":"מָקוֹר","if.condition.target.placeholder":"יעד / ערך",info:"מידע","input.date":"תַאֲרִיך","input.text":"טֶקסט",label:"מַדבֵּקָה",labelCount:"{label} {count}",labelEmpty:"תווית שדה לא יכולה להיות ריקה","lang.af":"אַפְרִיקַנִי","lang.ar":"עֲרָבִית","lang.cs":"צ'כית","lang.de":"גֶרמָנִיָת","lang.en":"אַנגְלִית","lang.es":"סְפָרַדִית","lang.fa":"פַּרסִית","lang.fi":"פִינִית","lang.fr":"צָרְפָתִית","lang.he":"עברית","lang.hi":"הינדי","lang.hu":"הוּנגָרִי","lang.it":"אִיטַלְקִית","lang.ja":"יַפָּנִית","lang.nb":"בוקמול נורבגית","lang.pl":"פּוֹלָנִית","lang.pt":"פורטוגזית","lang.ro":"רומנית","lang.ru":"רוּסִי","lang.th":"תאילנדית","lang.tr":"טוּרקִית","lang.zh":"סִינִית",layout:"מַעֲרָך",limitRole:"הגבל גישה לאחד או יותר מהתפקידים הבאים:",mandatory:"הֶכְרֵחִי",maxlength:"אורך מקסימלי","meta.group":"קְבוּצָה","meta.icon":"איקו","meta.label":"מַדבֵּקָה",minOptionMessage:"שדה זה דורש לפחות 2 אפשרויות",name:"שֵׁם",newOptionLabel:"{סוג} חדש",no:"לֹא",number:"מִספָּר",off:"כבוי",on:"עַל","operator.contains":"מכיל","operator.equals":"שווה","operator.notContains":"לא מכיל","operator.notEquals":"לא שווה","operator.notVisible":"לא נראה לעין","operator.visible":"נִרְאֶה",option:"אוֹפְּצִיָה",optional:"אופציונלי",optionEmpty:"נדרש ערך אופציה",optionLabel:"אפשרות {count}",options:"אפשרויות",or:"אוֹ",order:"לְהַזמִין","panel.label.attrs":"תכונות","panel.label.conditions":"תנאים","panel.label.config":"תְצוּרָה","panel.label.meta":"מטא","panel.label.options":"אפשרויות","panelEditButtons.attrs":"+ תכונה","panelEditButtons.conditions":"+ מצב","panelEditButtons.config":"+ תצורה","panelEditButtons.options":"+ אפשרות",placeholder:"מציין מקום","placeholder.className":"כיתות מופרדות בחלל","placeholder.email":"הכנס את המייל שלך","placeholder.label":"מַדבֵּקָה","placeholder.password":"הזן את הסיסמה שלך","placeholder.placeholder":"מציין מקום","placeholder.text":"הזן קצת טקסט","placeholder.textarea":"הזן הרבה טקסט","placeholder.value":"עֵרֶך",preview:"תצוגה מקדימה",primary:"יְסוֹדִי",remove:"לְהַסִיר",removeMessage:"הסר אלמנט",removeType:"הסר {type}",required:"דָרוּשׁ",reset:"אִתחוּל",richText:"עורך טקסט עשיר",roles:"גִישָׁה",row:"שׁוּרָה","row.makeInputGroup":"הפוך את השורה הזו לקבוצת קלט.","row.makeInputGroupDesc":"קבוצות קלט מאפשרות למשתמשים להוסיף קבוצות של קלט בכל פעם.","row.settings.fieldsetWrap":"עטוף שורה ב-&lt;fieldset&gt; תָג","row.settings.fieldsetWrap.aria":"עטוף שורה ב-Fieldset",save:"לְהַצִיל",secondary:"מִשׁנִי",select:"לִבחוֹר",selectColor:"בחר צבע",selectionsMessage:"אפשר בחירות מרובות",selectOptions:"אפשרויות",separator:"מפריד",settings:"הגדרות",size:"גוֹדֶל",sizes:"מידות","sizes.lg":"גָדוֹל","sizes.m":"בְּרִירַת מֶחדָל","sizes.sm":"קָטָן","sizes.xs":"קטן במיוחד",style:"סִגְנוֹן",styles:"סגנונות","styles.btn":"סגנון כפתור","styles.btn.danger":"סַכָּנָה","styles.btn.default":"בְּרִירַת מֶחדָל","styles.btn.info":"מידע","styles.btn.primary":"יְסוֹדִי","styles.btn.success":"הַצלָחָה","styles.btn.warning":"אַזהָרָה",subtype:"סוּג",success:"הַצלָחָה",text:"שדה טקסט",then:"אָז","then.condition.target.placeholder":"יַעַד",toggle:"לְמַתֵג",ungrouped:"לא מקובץ",warning:"אַזהָרָה",yes:"כֵּן"},"hi-IN":{"hi-IN":"हिन्दी (भारत)",dir:"ltr","en-US":"अंग्रेज़ी","af-ZA":"अफ़्रीकी (दक्षिण अफ़्रीका)","ar-TN":"अरबी (ट्यूनीशिया)","cs-CZ":"चेक (चेकिया)","de-DE":"जर्मन जर्मनी)","es-ES":"यूरोपीय स्पेनिश","fa-IR":"फ़ारसी (ईरान)","fi-FI":"फ़िनिश (फ़िनलैंड)","fr-FR":"फ़्रांस के लोग फ्रेंच)","he-IL":"हिब्रू (इज़राइल)","hu-HU":"हंगेरियन (हंगरी)","it-IT":"इटालियन (इटली)","ja-JP":"जापानी (जापान)","nb-NO":"नॉर्वेजियन बोकमाल (नॉर्वे)","pl-PL":"पोलिश (पोलैंड)","pt-BR":"ब्राज़ीलियन पुर्तगाली","pt-PT":"यूरोपीय पुर्तगाली","ro-RO":"रोमानियाई (रोमानिया)","ru-RU":"रूसी (रूस)","th-TH":"थाई (थाईलैंड)","tr-TR":"तुर्की (तुर्किये)","zh-CN":"चीनी (चीन)","zh-HK":"चीनी (हांगकांग एसएआर चीन)","action.add.attrs.attr":"आप कौन सी विशेषता जोड़ना चाहेंगे?","action.add.attrs.value":"डिफ़ॉल्ट मान",addOption:"विकल्प जोड़ें",allFieldsRemoved:"सभी फ़ील्ड हटा दिए गए.",allowSelect:"चयन की अनुमति दें",and:"और",attribute:"गुण",attributeNotPermitted:'विशेषता "{attribute}" की अनुमति नहीं है, कृपया कोई अन्य चुनें.',attributes:"गुण","attrs.class":"कक्षा","attrs.className":"कक्षा","attrs.dir":"दिशा","attrs.id":"पहचान","attrs.required":"आवश्यक","attrs.style":"शैली","attrs.title":"शीर्षक","attrs.type":"प्रकार","attrs.value":"कीमत",autocomplete:"स्वत: पूर्ण",button:"बटन",cancel:"रद्द करना",cannotBeEmpty:"यह फ़ील्ड रिक्त नहीं रह सकती",cannotClearFields:"साफ़ करने के लिए कोई फ़ील्ड नहीं है",checkbox:"चेक बॉक्स",checkboxes:"चेक बॉक्स",class:"कक्षा",clear:"स्पष्ट",clearAllMessage:"क्या आप वाकई सभी फ़ील्ड साफ़ करना चाहते हैं?",close:"बंद करना",column:"स्तंभ","condition.target.placeholder":"लक्ष्य","condition.type.and":"और","condition.type.if":"अगर","condition.type.or":"या","condition.type.then":"तब","condition.value.placeholder":"कीमत",confirmClearAll:"क्या आप वाकई सभी फ़ील्ड हटाना चाहते हैं?",content:"सामग्री",control:"नियंत्रण","controlGroups.nextGroup":"अगला समूह","controlGroups.prevGroup":"पिछला समूह","controls.filteringTerm":'फ़िल्टरिंग "{शब्द}"',"controls.form.button":"बटन","controls.form.checkbox-group":"चेकबॉक्स समूह","controls.form.input.date":"तारीख","controls.form.input.email":"ईमेल","controls.form.input.file":"फ़ाइल अपलोड","controls.form.input.hidden":"छिपा हुआ इनपुट","controls.form.input.number":"संख्या","controls.form.input.text":"पाठ इनपुट","controls.form.radio-group":"रेडियो समूह","controls.form.select":"चुनना","controls.form.textarea":"पाठ क्षेत्र","controls.groups.form":"फॉर्म फ़ील्ड","controls.groups.html":"HTML तत्व","controls.groups.layout":"लेआउट","controls.html.divider":"डिवाइडर","controls.html.header":"हैडर","controls.html.paragraph":"अनुच्छेद","controls.layout.column":"स्तंभ","controls.layout.row":"पंक्ति",copy:"क्लिपबोर्ड पर कॉपी करें",danger:"खतरा",defineColumnLayout:"कॉलम लेआउट परिभाषित करें",defineColumnWidths:"स्तंभ की चौड़ाई निर्धारित करें",description:"सहायता पाठ",descriptionField:"विवरण","editing.row":"संपादन पंक्ति",editorTitle:"फॉर्म तत्व",field:"मैदान","field.property.invalid":"मान्य नहीं है","field.property.isChecked":"जाँच की गई है","field.property.isNotVisible":"दिखाई नहीं देता","field.property.isVisible":"दिखाई दे रहा है","field.property.label":"लेबल","field.property.valid":"वैध","field.property.value":"कीमत",fieldNonEditable:"इस फ़ील्ड को संपादित नहीं किया जा सकता.",fieldRemoveWarning:"क्या आप वाकई इस फ़ील्ड को हटाना चाहते हैं?",fileUpload:"फ़ाइल अपलोड",formUpdated:"फॉर्म अपडेट किया गया",getStarted:"आरंभ करने के लिए दाईं ओर से एक फ़ील्ड खींचें.",group:"समूह",grouped:"समूहीकृत",hidden:"छिपा हुआ इनपुट",hide:"संपादन करना",htmlElements:"HTML तत्व",if:"अगर","if.condition.source.placeholder":"स्रोत","if.condition.target.placeholder":"लक्ष्य / मूल्य",info:"जानकारी","input.date":"तारीख","input.text":"मूलपाठ",label:"लेबल",labelCount:"{लेबल} {गिनती}",labelEmpty:"फ़ील्ड लेबल रिक्त नहीं हो सकता","lang.af":"अफ़्रीकी","lang.ar":"अरबी","lang.cs":"चेक","lang.de":"जर्मन","lang.en":"अंग्रेज़ी","lang.es":"स्पैनिश","lang.fa":"फ़ारसी","lang.fi":"फिनिश","lang.fr":"फ्रेंच","lang.he":"हिब्रू","lang.hi":"हिन्दी","lang.hu":"हंगेरी","lang.it":"इतालवी","lang.ja":"जापानी","lang.nb":"नॉर्वेजियन बोकमाल","lang.pl":"पोलिश","lang.pt":"पुर्तगाली","lang.ro":"रोमानियाई","lang.ru":"रूसी","lang.th":"थाई","lang.tr":"तुर्की","lang.zh":"चीनी",layout:"लेआउट",limitRole:"निम्नलिखित में से एक या अधिक भूमिकाओं तक पहुंच सीमित करें:",mandatory:"अनिवार्य",maxlength:"अधिकतम लंबाई","meta.group":"समूह","meta.icon":"इको","meta.label":"लेबल",minOptionMessage:"इस फ़ील्ड में कम से कम 2 विकल्प होने चाहिए",name:"नाम",newOptionLabel:"नया {प्रकार}",no:"नहीं",number:"संख्या",off:"बंद",on:"पर","operator.contains":"रोकना","operator.equals":"के बराबर होती है","operator.notContains":"इसमें शामिल नहीं है","operator.notEquals":"सम नही","operator.notVisible":"दिखाई नहीं देना","operator.visible":"दृश्यमान",option:"विकल्प",optional:"वैकल्पिक",optionEmpty:"विकल्प मान आवश्यक",optionLabel:"विकल्प {गिनती}",options:"विकल्प",or:"या",order:"आदेश","panel.label.attrs":"गुण","panel.label.conditions":"स्थितियाँ","panel.label.config":"विन्यास","panel.label.meta":"मेटा","panel.label.options":"विकल्प","panelEditButtons.attrs":"+ विशेषता","panelEditButtons.conditions":"+ शर्त","panelEditButtons.config":"+ कॉन्फ़िगरेशन","panelEditButtons.options":"+ विकल्प",placeholder:"प्लेसहोल्डर","placeholder.className":"अंतरिक्ष से अलग की गई कक्षाएं","placeholder.email":"अपना ईमेल दर्ज करें","placeholder.label":"लेबल","placeholder.password":"अपना कूटशब्द भरें","placeholder.placeholder":"प्लेसहोल्डर","placeholder.text":"कुछ पाठ दर्ज करें","placeholder.textarea":"बहुत सारा पाठ दर्ज करें","placeholder.value":"कीमत",preview:"पूर्व दर्शन",primary:"प्राथमिक",remove:"निकालना",removeMessage:"तत्व हटाएँ",removeType:"{प्रकार} हटाएं",required:"आवश्यक",reset:"रीसेट करें",richText:"रिच टेक्स्ट एडिटर",roles:"पहुँच",row:"पंक्ति","row.makeInputGroup":"इस पंक्ति को एक इनपुट समूह बनाएं.","row.makeInputGroupDesc":"इनपुट समूह उपयोगकर्ताओं को एक समय में इनपुट के सेट जोड़ने में सक्षम बनाता है।","row.settings.fieldsetWrap":"पंक्ति को &lt;fieldset&gt; टैग में लपेटें","row.settings.fieldsetWrap.aria":"फ़ील्डसेट में पंक्ति लपेटें",save:"बचाना",secondary:"माध्यमिक",select:"चुनना",selectColor:"रंग चुनो",selectionsMessage:"एकाधिक चयन की अनुमति दें",selectOptions:"विकल्प",separator:"सेपरेटर",settings:"सेटिंग्स",size:"आकार",sizes:"आकार","sizes.lg":"बड़ा","sizes.m":"गलती करना","sizes.sm":"छोटा","sizes.xs":"अतिरिक्त छोटा",style:"शैली",styles:"शैलियों","styles.btn":"बटन शैली","styles.btn.danger":"खतरा","styles.btn.default":"गलती करना","styles.btn.info":"जानकारी","styles.btn.primary":"प्राथमिक","styles.btn.success":"सफलता","styles.btn.warning":"चेतावनी",subtype:"प्रकार",success:"सफलता",text:"पाठ्य से भरा",then:"तब","then.condition.target.placeholder":"लक्ष्य",toggle:"टॉगल",ungrouped:"अन-वर्गीकृत किया",warning:"चेतावनी",yes:"हाँ"},"hu-HU":{"hu-HU":"magyar (Magyarország)",dir:"ltr","en-US":"angol","af-ZA":"afrikaans (Dél-afrikai Köztársaság)","ar-TN":"arab (Tunézia)","cs-CZ":"cseh (Csehország)","de-DE":"német (Németország)","es-ES":"európai spanyol","fa-IR":"perzsa (Irán)","fi-FI":"finn (Finnország)","fr-FR":"francia (Franciaország)","he-IL":"héber (Izrael)","hi-IN":"hindi (India)","it-IT":"olasz (Olaszország)","ja-JP":"japán (Japán)","nb-NO":"norvég (bokmål) (Norvégia)","pl-PL":"lengyel (Lengyelország)","pt-BR":"brazíliai portugál","pt-PT":"európai portugál","ro-RO":"román (Románia)","ru-RU":"orosz (Oroszország)","th-TH":"thai (Thaiföld)","tr-TR":"török (Törökország)","zh-CN":"kínai (Kína)","zh-HK":"kínai (Hongkong KKT)","action.add.attrs.attr":"Milyen tulajdonságot szeretnél hozzáadni?","action.add.attrs.value":"Alapértelmezett érték",addOption:"Opció hozzáadása",allFieldsRemoved:"Minden mezőt eltávolítottunk.",allowSelect:"Engedélyezze a Kiválasztást",and:"és",attribute:"Tulajdonság",attributeNotPermitted:'A (z) "{attribute}" attribútum nem engedélyezett, kérjük, válasszon másikat.',attributes:"attribútumok","attrs.class":"Osztály","attrs.className":"Osztály","attrs.dir":"Irány","attrs.id":"Id","attrs.required":"Kívánt","attrs.style":"Stílus","attrs.title":"Cím","attrs.type":"típus","attrs.value":"Érték",autocomplete:"Automatikus kiegészítés",button:"Gomb",cancel:"Mégsem",cannotBeEmpty:"Ez a mező nem lehet üres",cannotClearFields:"Nincs törölni kívánt mező",checkbox:"jelölőnégyzetet",checkboxes:"négyzeteket",class:"Osztály",clear:"Egyértelmű",clearAllMessage:"Biztosan törölni szeretné az összes mezőt?",close:"Bezárás",column:"Oszlop","condition.target.placeholder":"cél","condition.type.and":"És","condition.type.if":"Ha","condition.type.or":"Vagy","condition.type.then":"Majd","condition.value.placeholder":"érték",confirmClearAll:"Biztosan eltávolít minden mezőt?",content:"Tartalom",control:"Ellenőrzés","controlGroups.nextGroup":"Következő csoport","controlGroups.prevGroup":"Előző csoport","controls.filteringTerm":'A (z) "{term}" szűrése',"controls.form.button":"Gomb","controls.form.checkbox-group":"Checkbox Group","controls.form.input.date":"Dátum","controls.form.input.email":"Email","controls.form.input.file":"Fájlfeltöltés","controls.form.input.hidden":"Rejtett bemenet","controls.form.input.number":"Szám","controls.form.input.text":"Szövegbevitel","controls.form.radio-group":"Radio Group","controls.form.select":"választ","controls.form.textarea":"a szövegszerkesztő","controls.groups.form":"Űrlapmezők","controls.groups.html":"HTML Elemek","controls.groups.layout":"Elrendezés","controls.html.divider":"Osztó","controls.html.header":"Fejléc","controls.html.paragraph":"Bekezdés","controls.layout.column":"Oszlop","controls.layout.row":"Sor",copy:"Másolja a vágólapra",danger:"Veszély",defineColumnLayout:"Állítsa be az oszlop elrendezését",defineColumnWidths:"Határozza meg az oszlopszélességeket",description:"Súgószöveg",descriptionField:"Leírás","editing.row":"Sor szerkesztése",editorTitle:"Form Elemek",field:"Mező","field.property.invalid":"nem érvényes","field.property.isChecked":"ellenőrizve van","field.property.isNotVisible":"nem látható","field.property.isVisible":"látható","field.property.label":"címke","field.property.valid":"érvényes","field.property.value":"érték",fieldNonEditable:"Ez a mező nem szerkeszthető.",fieldRemoveWarning:"Biztosan eltávolítja ezt a mezőt?",fileUpload:"Fájlfeltöltés",formUpdated:"Frissített űrlap",getStarted:"Húzzon egy mezőt jobbra, hogy elinduljon.",group:"Csoport",grouped:"csoportosított",hidden:"Rejtett bemenet",hide:"szerkesztése",htmlElements:"HTML Elemek",if:"Ha","if.condition.source.placeholder":"forrás","if.condition.target.placeholder":"célérték",info:"Info","input.date":"Dátum","input.text":"Szöveg",label:"Címke",labelCount:"{label} {count}",labelEmpty:"A mezőcímke nem lehet üres","lang.af":"afrikai","lang.ar":"arab","lang.cs":"cseh","lang.de":"német","lang.en":"angol","lang.es":"spanyol","lang.fa":"perzsa","lang.fi":"finn","lang.fr":"francia","lang.he":"héber","lang.hi":"hindi","lang.hu":"magyar","lang.it":"olasz","lang.ja":"japán","lang.nb":"norvég bokmål","lang.pl":"lengyel","lang.pt":"portugál","lang.ro":"román","lang.ru":"orosz","lang.th":"thai","lang.tr":"török","lang.zh":"kínai",layout:"Elrendezés",limitRole:"A következő szerepek közül egy vagy több korlátozása:",mandatory:"Kötelező",maxlength:"Max. Hosszúság","meta.group":"Csoport","meta.icon":"Ico","meta.label":"Címke",minOptionMessage:"Ez a mező legalább 2 opciót igényel",name:"Név",newOptionLabel:"Új {típus}",no:"Nem",number:"Szám",off:"Ki",on:"Tovább","operator.contains":"tartalmaz","operator.equals":"egyenlő","operator.notContains":"nem tartalmaz","operator.notEquals":"nem egyenlő","operator.notVisible":"nem látható","operator.visible":"látható",option:"választási lehetőség",optional:"választható",optionEmpty:"Opciós érték szükséges",optionLabel:"Opció {count}",options:"Opciók",or:"vagy",order:"Sorrend","panel.label.attrs":"attribútumok","panel.label.conditions":"Körülmények","panel.label.config":"Configuration","panel.label.meta":"meta","panel.label.options":"Opciók","panelEditButtons.attrs":"+ Attribútum","panelEditButtons.conditions":"+ Állapot","panelEditButtons.config":"+ Konfiguráció","panelEditButtons.options":"+ Opció",placeholder:"Helykitöltő","placeholder.className":"űrszeparált osztályok","placeholder.email":"Adja meg az e-mailt","placeholder.label":"Címke","placeholder.password":"Írd be a jelszavad","placeholder.placeholder":"Helykitöltő","placeholder.text":"Adjon meg egy szöveget","placeholder.textarea":"Adjon meg egy csomó szöveget","placeholder.value":"Érték",preview:"Előnézet",primary:"Elsődleges",remove:"eltávolít",removeMessage:"Elem eltávolítása",removeType:"Remove {type}",required:"Kívánt",reset:"Visszaállítás",richText:"Rich Text Editor",roles:"Hozzáférés",row:"Sor","row.makeInputGroup":"A beviteli csoport létrehozása.","row.makeInputGroupDesc":"A beviteli csoportok lehetővé teszik a felhasználók számára, hogy egy időben hozzáadják a bemeneti készleteket.","row.settings.fieldsetWrap":"A <fieldset & gt; címke","row.settings.fieldsetWrap.aria":"Wrap sor a Fieldsetben",save:"Mentés",secondary:"Másodlagos",select:"választ",selectColor:"Válassza a Szín lehetőséget",selectionsMessage:"Többszörös kiválasztás engedélyezése",selectOptions:"Opciók",separator:"Szétválasztó",settings:"Beállítások",size:"Méret",sizes:"méretek","sizes.lg":"Nagy","sizes.m":"Alapértelmezett","sizes.sm":"Kicsi","sizes.xs":"Extra kicsi",style:"Stílus",styles:"Stílusok","styles.btn":"Gomb stílus","styles.btn.danger":"Veszély","styles.btn.default":"Alapértelmezett","styles.btn.info":"Info","styles.btn.primary":"Elsődleges","styles.btn.success":"Siker","styles.btn.warning":"Figyelem",subtype:"típus",success:"Siker",text:"Szövegmező",then:"Azután","then.condition.target.placeholder":"cél",toggle:"pecek",ungrouped:"A csoportosított",warning:"Figyelem",yes:"Igen"},"it-IT":{"it-IT":"italiano (Italia)",dir:"ltr","en-US":"Inglese","af-ZA":"afrikaans (Sudafrica)","ar-TN":"arabo (Tunisia)","cs-CZ":"ceco (Cechia)","de-DE":"tedesco (Germania)","es-ES":"spagnolo europeo","fa-IR":"persiano (Iran)","fi-FI":"finlandese (Finlandia)","fr-FR":"francese (Francia)","he-IL":"ebraico (Israele)","hi-IN":"hindi (India)","hu-HU":"ungherese (Ungheria)","ja-JP":"giapponese (Giappone)","nb-NO":"norvegese bokmål (Norvegia)","pl-PL":"polacco (Polonia)","pt-BR":"portoghese brasiliano","pt-PT":"portoghese europeo","ro-RO":"rumeno (Romania)","ru-RU":"russo (Russia)","th-TH":"thailandese (Thailandia)","tr-TR":"turco (Turchia)","zh-CN":"cinese (Cina)","zh-HK":"cinese (RAS di Hong Kong)","action.add.attrs.attr":"Quale attributo vorresti aggiungere?","action.add.attrs.value":"Valore predefinito",addOption:"Aggiungi opzione",allFieldsRemoved:"Tutti i campi sono stati rimossi.",allowSelect:"Consenti selezione",and:"e",attribute:"Attributo",attributeNotPermitted:`L'attributo "{attribute}" non è permesso, per favore sceglierne un altro.`,attributes:"attributi","attrs.class":"Classe","attrs.className":"Classe","attrs.dir":"Direzione","attrs.id":"Id","attrs.required":"necessario","attrs.style":"Stile","attrs.title":"Titolo","attrs.type":"genere","attrs.value":"Valore",autocomplete:"Completamento automatico",button:"Pulsante",cancel:"Cancellare",cannotBeEmpty:"Questo campo non può essere vuoto",cannotClearFields:"Non ci sono campi da cancellare",checkbox:"casella di controllo",checkboxes:"caselle di controllo",class:"Classe",clear:"Chiaro",clearAllMessage:"Sei sicuro di voler cancellare tutti i campi?",close:"Vicino",column:"Colonna","condition.target.placeholder":"bersaglio","condition.type.and":"E","condition.type.if":"Se","condition.type.or":"O","condition.type.then":"Poi","condition.value.placeholder":"valore",confirmClearAll:"Sei sicuro di voler rimuovere tutti i campi?",content:"Soddisfare",control:"Controllo","controlGroups.nextGroup":"Gruppo successivo","controlGroups.prevGroup":"Gruppo precedente","controls.filteringTerm":'Filtro "{term}"',"controls.form.button":"Pulsante","controls.form.checkbox-group":"Gruppo di caselle di controllo","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Upload di file","controls.form.input.hidden":"Ingresso nascosto","controls.form.input.number":"Numero","controls.form.input.text":"L'immissione di testo","controls.form.radio-group":"Gruppo Radio","controls.form.select":"Selezionare","controls.form.textarea":"TextArea","controls.groups.form":"Campi modulo","controls.groups.html":"Elementi HTML","controls.groups.layout":"disposizione","controls.html.divider":"Divisore","controls.html.header":"Intestazione","controls.html.paragraph":"Paragrafo","controls.layout.column":"Colonna","controls.layout.row":"Riga",copy:"Copia negli appunti",danger:"Pericolo",defineColumnLayout:"Definire un layout di colonna",defineColumnWidths:"Definire le larghezze delle colonne",description:"Testo guida",descriptionField:"Descrizione","editing.row":"Modifica riga",editorTitle:"Elementi del modulo",field:"Campo","field.property.invalid":"non valido","field.property.isChecked":"è controllato","field.property.isNotVisible":"non è visibile","field.property.isVisible":"è visibile","field.property.label":"etichetta","field.property.valid":"valido","field.property.value":"valore",fieldNonEditable:"Questo campo non può essere modificato.",fieldRemoveWarning:"Sei sicuro di voler rimuovere questo campo?",fileUpload:"Upload di file",formUpdated:"Modulo aggiornato",getStarted:"Trascina un campo da destra per iniziare.",group:"Gruppo",grouped:"raggruppate",hidden:"Ingresso nascosto",hide:"modificare",htmlElements:"Elementi HTML",if:"Se","if.condition.source.placeholder":"fonte","if.condition.target.placeholder":"obiettivo / valore",info:"Informazioni","input.date":"Data","input.text":"Testo",label:"Etichetta",labelCount:"{label} {count}",labelEmpty:"Field Label non può essere vuoto","lang.af":"africano","lang.ar":"arabo","lang.cs":"ceco","lang.de":"tedesco","lang.en":"Inglese","lang.es":"spagnolo","lang.fa":"persiano","lang.fi":"finlandese","lang.fr":"francese","lang.he":"ebraico","lang.hi":"hindi","lang.hu":"ungherese","lang.it":"Italiano","lang.ja":"giapponese","lang.nb":"Bokmål norvegese","lang.pl":"Polacco","lang.pt":"portoghese","lang.ro":"rumeno","lang.ru":"russo","lang.th":"tailandese","lang.tr":"turco","lang.zh":"cinese",layout:"disposizione",limitRole:"Limitare l'accesso a uno o più dei seguenti ruoli:",mandatory:"Obbligatorio",maxlength:"Lunghezza massima","meta.group":"Gruppo","meta.icon":"Ico","meta.label":"Etichetta",minOptionMessage:"Questo campo richiede un minimo di 2 opzioni",name:"Nome",newOptionLabel:"Nuovo tipo}",no:"No",number:"Numero",off:"via",on:"Sopra","operator.contains":"contiene","operator.equals":"è uguale a","operator.notContains":"non contiene","operator.notEquals":"non uguale","operator.notVisible":"non visibile","operator.visible":"visibile",option:"Opzione",optional:"opzionale",optionEmpty:"Opzione valore richiesto",optionLabel:"Opzione {count}",options:"Opzioni",or:"o",order:"Ordine","panel.label.attrs":"attributi","panel.label.conditions":"condizioni","panel.label.config":"Configurazione","panel.label.meta":"Meta","panel.label.options":"Opzioni","panelEditButtons.attrs":"+ Attributo","panelEditButtons.conditions":"+ Condizione","panelEditButtons.config":"+ Configurazione","panelEditButtons.options":"+ Opzione",placeholder:"segnaposto","placeholder.className":"classi separate dallo spazio","placeholder.email":"Inserisci la tua email","placeholder.label":"Etichetta","placeholder.password":"Inserisci la tua password","placeholder.placeholder":"segnaposto","placeholder.text":"Inserisci del testo","placeholder.textarea":"Inserisci un sacco di testo","placeholder.value":"Valore",preview:"Anteprima",primary:"Primario",remove:"Rimuovere",removeMessage:"Rimuovi elemento",removeType:"Rimuovi {tipo}",required:"necessario",reset:"Reset",richText:"Rich Text Editor",roles:"Accesso",row:"Riga","row.makeInputGroup":"Rendi questa riga un gruppo di input.","row.makeInputGroupDesc":"I gruppi di input consentono agli utenti di aggiungere insiemi di input alla volta.","row.settings.fieldsetWrap":"Racchiudi la riga in un & lt; fieldset & gt; etichetta","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Salvare",secondary:"Secondario",select:"Selezionare",selectColor:"Seleziona colore",selectionsMessage:"Consenti selezioni multiple",selectOptions:"Opzioni",separator:"Separatore",settings:"impostazioni",size:"Taglia",sizes:"taglie","sizes.lg":"Grande","sizes.m":"Predefinito","sizes.sm":"Piccolo","sizes.xs":"Piccolissimo",style:"Stile",styles:"stili","styles.btn":"Stile del bottone","styles.btn.danger":"Pericolo","styles.btn.default":"Predefinito","styles.btn.info":"Informazioni","styles.btn.primary":"Primario","styles.btn.success":"Successo","styles.btn.warning":"avvertimento",subtype:"genere",success:"Successo",text:"Campo di testo",then:"Poi","then.condition.target.placeholder":"bersaglio",toggle:"Toggle",ungrouped:"A-raggruppati",warning:"avvertimento",yes:"sì"},"ja-JP":{"ja-JP":"日本語 (日本)",dir:"ltr","en-US":"英語","af-ZA":"アフリカーンス語 (南アフリカ)","ar-TN":"アラビア語 (チュニジア)","cs-CZ":"チェコ語 (チェコ)","de-DE":"ドイツ語 (ドイツ)","es-ES":"スペイン語 (イベリア半島)","fa-IR":"ペルシア語 (イラン)","fi-FI":"フィンランド語 (フィンランド)","fr-FR":"フランス語 (フランス)","he-IL":"ヘブライ語 (イスラエル)","hi-IN":"ヒンディー語 (インド)","hu-HU":"ハンガリー語 (ハンガリー)","it-IT":"イタリア語 (イタリア)","nb-NO":"ノルウェー語(ブークモール) (ノルウェー)","pl-PL":"ポーランド語 (ポーランド)","pt-BR":"ポルトガル語 (ブラジル)","pt-PT":"ポルトガル語 (イベリア半島)","ro-RO":"ルーマニア語 (ルーマニア)","ru-RU":"ロシア語 (ロシア)","th-TH":"タイ語 (タイ)","tr-TR":"トルコ語 (トルコ)","zh-CN":"中国語 (中国)","zh-HK":"中国語 (中華人民共和国香港特別行政区)","action.add.attrs.attr":"どのような属性を追加しますか?","action.add.attrs.value":"デフォルト値",addOption:"オプションを追加",allFieldsRemoved:"すべてのフィールドが削除されました。",allowSelect:"選択を許可する",and:"そして",attribute:"属性",attributeNotPermitted:'属性 "{属性}"は許可されていません。別の属性を選択してください。',attributes:"属性","attrs.class":"クラス","attrs.className":"クラス","attrs.dir":"方向","attrs.id":"イド","attrs.required":"必須","attrs.style":"スタイル","attrs.title":"タイトル","attrs.type":"タイプ","attrs.value":"値",autocomplete:"オートコンプリート",button:"ボタン",cancel:"キャンセル",cannotBeEmpty:"このフィールドは空白にすることはできません",cannotClearFields:"クリアするフィールドはありません",checkbox:"チェックボックス",checkboxes:"チェックボックス",class:"クラス",clear:"クリア",clearAllMessage:"すべてのフィールドをクリアしてもよろしいですか?",close:"閉じる",column:"カラム","condition.target.placeholder":"ターゲット","condition.type.and":"そして","condition.type.if":"もし","condition.type.or":"または","condition.type.then":"それから","condition.value.placeholder":"値",confirmClearAll:"すべてのフィールドを削除してもよろしいですか?",content:"コンテンツ",control:"コントロール","controlGroups.nextGroup":"次のグループ","controlGroups.prevGroup":"前のグループ","controls.filteringTerm":'フィルタリング "{term}"',"controls.form.button":"ボタン","controls.form.checkbox-group":"チェックボックスグループ","controls.form.input.date":"日付","controls.form.input.email":"Eメール","controls.form.input.file":"ファイルアップロード","controls.form.input.hidden":"隠された入力","controls.form.input.number":"数","controls.form.input.text":"テキスト入力","controls.form.radio-group":"ラジオ・グループ","controls.form.select":"選択","controls.form.textarea":"TextArea","controls.groups.form":"フォームフィールド","controls.groups.html":"HTML要素","controls.groups.layout":"レイアウト","controls.html.divider":"ディバイダー","controls.html.header":"ヘッダ","controls.html.paragraph":"段落","controls.layout.column":"カラム","controls.layout.row":"行",copy:"クリップボードにコピー",danger:"危険",defineColumnLayout:"列のレイアウトを定義する",defineColumnWidths:"列の幅を定義する",description:"ヘルプテキスト",descriptionField:"説明","editing.row":"行の編集",editorTitle:"フォーム要素",field:"フィールド","field.property.invalid":"有効ではありません","field.property.isChecked":"チェックされている","field.property.isNotVisible":"見えない","field.property.isVisible":"目に見える","field.property.label":"ラベル","field.property.valid":"有効な","field.property.value":"値",fieldNonEditable:"このフィールドは編集できません。",fieldRemoveWarning:"このフィールドを削除してもよろしいですか?",fileUpload:"ファイルアップロード",formUpdated:"フォームの更新",getStarted:"フィールドを右からドラッグして開始します。",group:"グループ",grouped:"グループ化された",hidden:"隠された入力",hide:"編集",htmlElements:"HTML要素",if:"もし","if.condition.source.placeholder":"ソース","if.condition.target.placeholder":"ターゲット/値",info:"情報","input.date":"日付","input.text":"テキスト",label:"ラベル",labelCount:"{label} {count}",labelEmpty:"フィールドラベルを空にすることはできません","lang.af":"アフリカ人","lang.ar":"アラビア語","lang.cs":"チェコ語","lang.de":"ドイツ語","lang.en":"英語","lang.es":"スペイン語","lang.fa":"ペルシャ語","lang.fi":"フィンランド語","lang.fr":"フランス語","lang.he":"ヘブライ語","lang.hi":"ヒンディー語","lang.hu":"ハンガリー語","lang.it":"イタリア語","lang.ja":"日本語","lang.nb":"ノルウェー語ブークモール","lang.pl":"研磨","lang.pt":"ポルトガル語","lang.ro":"ルーマニア語","lang.ru":"ロシア","lang.th":"タイ語","lang.tr":"トルコ語","lang.zh":"中国語",layout:"レイアウト",limitRole:"以下の役割の1つ以上にアクセスを制限する:",mandatory:"必須",maxlength:"最大長","meta.group":"グループ","meta.icon":"イコ","meta.label":"ラベル",minOptionMessage:"このフィールドには最低2つのオプションが必要です",name:"名",newOptionLabel:"新しいタイプ}",no:"いいえ",number:"数",off:"オフ",on:"に","operator.contains":"含まれる","operator.equals":"等しい","operator.notContains":"含まれていない","operator.notEquals":"等しくない","operator.notVisible":"目に見えない","operator.visible":"目に見える",option:"オプション",optional:"オプション",optionEmpty:"オプション値が必要です",optionLabel:"オプション{count}",options:"オプション",or:"または",order:"注文","panel.label.attrs":"属性","panel.label.conditions":"条件","panel.label.config":"構成","panel.label.meta":"メタ","panel.label.options":"オプション","panelEditButtons.attrs":"+属性","panelEditButtons.conditions":"+条件","panelEditButtons.config":"+ 構成","panelEditButtons.options":"+オプション",placeholder:"プレースホルダ","placeholder.className":"スペースで区切られたクラス","placeholder.email":"あなたにメールを入力","placeholder.label":"ラベル","placeholder.password":"パスワードを入力してください","placeholder.placeholder":"プレースホルダ","placeholder.text":"テキストを入力","placeholder.textarea":"たくさんのテキストを入力してください","placeholder.value":"値",preview:"プレビュー",primary:"一次",remove:"削除する",removeMessage:"要素を削除する",removeType:"{タイプ}を削除",required:"必須",reset:"リセット",richText:"リッチテキストエディタ",roles:"アクセス",row:"行","row.makeInputGroup":"この行を入力グループにします。","row.makeInputGroupDesc":"入力グループを使用すると、一度に入力セットを追加できます。","row.settings.fieldsetWrap":"&lt; fieldset&gt;フィールドに行をラップします。タグ","row.settings.fieldsetWrap.aria":"行をフィールドセットで折り返す",save:"保存する",secondary:"二次",select:"選択",selectColor:"カラーを選択",selectionsMessage:"複数の選択を許可する",selectOptions:"オプション",separator:"セパレータ",settings:"設定",size:"サイズ",sizes:"サイズ","sizes.lg":"大","sizes.m":"デフォルト","sizes.sm":"小さい","sizes.xs":"極小",style:"スタイル",styles:"スタイル","styles.btn":"ボタンスタイル","styles.btn.danger":"危険","styles.btn.default":"デフォルト","styles.btn.info":"情報","styles.btn.primary":"一次","styles.btn.success":"成功","styles.btn.warning":"警告",subtype:"タイプ",success:"成功",text:"テキストフィールド",then:"その後、","then.condition.target.placeholder":"ターゲット",toggle:"トグル",ungrouped:"- グループ化",warning:"警告",yes:"はい"},"nb-NO":{"nb-NO":"norsk bokmål (Norge)",dir:"ltr","en-US":"Engelsk","af-ZA":"afrikaans (Sør-Afrika)","ar-TN":"arabisk (Tunisia)","cs-CZ":"tsjekkisk (Tsjekkia)","de-DE":"tysk (Tyskland)","es-ES":"spansk (Spania)","fa-IR":"persisk (Iran)","fi-FI":"finsk (Finland)","fr-FR":"fransk (Frankrike)","he-IL":"hebraisk (Israel)","hi-IN":"hindi (India)","hu-HU":"ungarsk (Ungarn)","it-IT":"italiensk (Italia)","ja-JP":"japansk (Japan)","pl-PL":"polsk (Polen)","pt-BR":"portugisisk (Brasil)","pt-PT":"portugisisk (Portugal)","ro-RO":"rumensk (Romania)","ru-RU":"russisk (Russland)","th-TH":"thai (Thailand)","tr-TR":"tyrkisk (Tyrkia)","zh-CN":"kinesisk (Kina)","zh-HK":"kinesisk (Hongkong SAR Kina)","action.add.attrs.attr":"Hvilken egenskap vil du legge til?","action.add.attrs.value":"Standardverdi",addOption:"Legg til alternativ",allFieldsRemoved:"Alle feltene ble fjernet.",allowSelect:"Tillat Select",and:"og",attribute:"Egenskap",attributeNotPermitted:'Attributt "{attribute}" er ikke tillatt, vennligst velg en annen.',attributes:"Egenskaper","attrs.class":"Klasse","attrs.className":"Klasse","attrs.dir":"Retning","attrs.id":"id","attrs.required":"Må","attrs.style":"Stil","attrs.title":"Tittel","attrs.type":"Type","attrs.value":"Verdi",autocomplete:"Autofullfør",button:"Knapp",cancel:"Kansellere",cannotBeEmpty:"Dette feltet kan ikke være tomt",cannotClearFields:"Det er ingen felt å slette",checkbox:"avkrysnings",checkboxes:"boksene",class:"Klasse",clear:"Klar",clearAllMessage:"Er du sikker på at du vil slette alle feltene?",close:"Lukk",column:"Kolonne","condition.target.placeholder":"mål","condition.type.and":"Og","condition.type.if":"Hvis","condition.type.or":"Eller","condition.type.then":"Da","condition.value.placeholder":"verdi",confirmClearAll:"Er du sikker på at du vil fjerne alle feltene?",content:"Innhold",control:"Styre","controlGroups.nextGroup":"Neste gruppe","controlGroups.prevGroup":"Forrige gruppe","controls.filteringTerm":'Filtrering "{term}"',"controls.form.button":"Knapp","controls.form.checkbox-group":"Kryssboksgruppe","controls.form.input.date":"Dato","controls.form.input.email":"e-post","controls.form.input.file":"Filopplasting","controls.form.input.hidden":"Skjult inngang","controls.form.input.number":"Nummer","controls.form.input.text":"Tekstinngang","controls.form.radio-group":"Radio gruppe","controls.form.select":"Å velge","controls.form.textarea":"Tekstfelt","controls.groups.form":"Form Fields","controls.groups.html":"HTML-elementer","controls.groups.layout":"Oppsett","controls.html.divider":"Deler","controls.html.header":"Overskrift","controls.html.paragraph":"Avsnitt","controls.layout.column":"Kolonne","controls.layout.row":"Rad",copy:"Kopiere til utklippstavle",danger:"Fare",defineColumnLayout:"Definer en kolonneoppsett",defineColumnWidths:"Definer kolonnebredder",description:"Hjelpetekst",descriptionField:"Beskrivelse","editing.row":"Redigerer rad",editorTitle:"Formelementer",field:"Felt","field.property.invalid":"ikke gyldig","field.property.isChecked":"er sjekket","field.property.isNotVisible":"er ikke synlig","field.property.isVisible":"er synlig","field.property.label":"merkelapp","field.property.valid":"gyldig","field.property.value":"verdi",fieldNonEditable:"Dette feltet kan ikke redigeres.",fieldRemoveWarning:"Er du sikker på at du vil fjerne dette feltet?",fileUpload:"Filopplasting",formUpdated:"Form oppdatert",getStarted:"Dra et felt fra høyre for å komme i gang.",group:"Gruppe",grouped:"gruppert",hidden:"Skjult inngang",hide:"Redigere",htmlElements:"HTML-elementer",if:"Hvis","if.condition.source.placeholder":"kilde","if.condition.target.placeholder":"målverdi",info:"info","input.date":"Dato","input.text":"Tekst",label:"Merkelapp",labelCount:"{label} {count}",labelEmpty:"Feltetikett kan ikke være tomt","lang.af":"afrikansk","lang.ar":"arabisk","lang.cs":"tsjekkisk","lang.de":"tysk","lang.en":"engelsk","lang.es":"spansk","lang.fa":"persisk","lang.fi":"finsk","lang.fr":"fransk","lang.he":"hebraisk","lang.hi":"hindi","lang.hu":"ungarsk","lang.it":"italiensk","lang.ja":"japansk","lang.nb":"Norwegian Bokmål","lang.pl":"Pusse","lang.pt":"portugisisk","lang.ro":"rumensk","lang.ru":"russisk","lang.th":"Thai","lang.tr":"tyrkisk","lang.zh":"kinesisk",layout:"Oppsett",limitRole:"Begrens tilgang til en eller flere av følgende roller:",mandatory:"Påbudt, bindende",maxlength:"Maks lengde","meta.group":"Gruppe","meta.icon":"ico","meta.label":"Merkelapp",minOptionMessage:"Dette feltet krever minst 2 alternativer",name:"Navn",newOptionLabel:"Ny {type}",no:"Nei",number:"Nummer",off:"Av",on:"På","operator.contains":"inneholder","operator.equals":"er lik","operator.notContains":"ikke inneholder","operator.notEquals":"ikke lik","operator.notVisible":"ikke synlig","operator.visible":"synlig",option:"Alternativ",optional:"valgfri",optionEmpty:"Valgmulighet som kreves",optionLabel:"Alternativ {teller}",options:"alternativer",or:"eller",order:"Rekkefølge","panel.label.attrs":"Egenskaper","panel.label.conditions":"Forhold","panel.label.config":"konfigurasjon","panel.label.meta":"Meta","panel.label.options":"alternativer","panelEditButtons.attrs":"+ Attributt","panelEditButtons.conditions":"+ Tilstand","panelEditButtons.config":"+ Konfigurasjon","panelEditButtons.options":"+ Alternativ",placeholder:"Plassholder","placeholder.className":"mellomrom separerte klasser","placeholder.email":"Skriv inn e-post","placeholder.label":"Merkelapp","placeholder.password":"Skriv inn passordet ditt","placeholder.placeholder":"Plassholder","placeholder.text":"Skriv inn litt tekst","placeholder.textarea":"Skriv inn mye tekst","placeholder.value":"Verdi",preview:"Forhåndsvisning",primary:"primær~~POS=TRUNC",remove:"Fjerne",removeMessage:"Fjern elementet",removeType:"Fjern {type}",required:"Må",reset:"tilbakestille",richText:"Rich Text Editor",roles:"Adgang",row:"Rad","row.makeInputGroup":"Gjør denne raden en inngangsgruppe.","row.makeInputGroupDesc":"Inngangsgrupper lar brukerne legge til sett med innspillinger om gangen.","row.settings.fieldsetWrap":"Wrap rad i en & lt; fieldset & gt; stikkord","row.settings.fieldsetWrap.aria":"Wrap Row i Fieldset",save:"Lagre",secondary:"sekundær",select:"Å velge",selectColor:"Velg Farge",selectionsMessage:"Tillat flere valg",selectOptions:"alternativer",separator:"separator",settings:"innstillinger",size:"Størrelse",sizes:"størrelser","sizes.lg":"Stor","sizes.m":"Misligholde","sizes.sm":"Liten","sizes.xs":"Ekstra liten",style:"Stil",styles:"Styles","styles.btn":"Knapp stil","styles.btn.danger":"Fare","styles.btn.default":"Misligholde","styles.btn.info":"info","styles.btn.primary":"primær~~POS=TRUNC","styles.btn.success":"Suksess","styles.btn.warning":"Advarsel",subtype:"Type",success:"Suksess",text:"Tekstfelt",then:"Deretter","then.condition.target.placeholder":"mål",toggle:"Veksle",ungrouped:"A-Gruppert",warning:"Advarsel",yes:"Ja"},"pl-PL":{"pl-PL":"polski (Polska)",dir:"ltr","en-US":"język angielski","af-ZA":"afrikaans (Republika Południowej Afryki)","ar-TN":"arabski (Tunezja)","cs-CZ":"czeski (Czechy)","de-DE":"niemiecki (Niemcy)","es-ES":"europejski hiszpański","fa-IR":"perski (Iran)","fi-FI":"fiński (Finlandia)","fr-FR":"francuski (Francja)","he-IL":"hebrajski (Izrael)","hi-IN":"hindi (Indie)","hu-HU":"węgierski (Węgry)","it-IT":"włoski (Włochy)","ja-JP":"japoński (Japonia)","nb-NO":"norweski (bokmål) (Norwegia)","pt-BR":"brazylijski portugalski","pt-PT":"europejski portugalski","ro-RO":"rumuński (Rumunia)","ru-RU":"rosyjski (Rosja)","th-TH":"tajski (Tajlandia)","tr-TR":"turecki (Turcja)","zh-CN":"chiński (Chiny)","zh-HK":"chiński (SRA Hongkong [Chiny])","action.add.attrs.attr":"Jaki atrybut chciałbyś dodać?","action.add.attrs.value":"Domyślna wartość",addOption:"Dodaj opcję",allFieldsRemoved:"Wszystkie pola zostały usunięte.",allowSelect:"Zezwalaj Wybierz",and:"i",attribute:"Atrybut",attributeNotPermitted:'Atrybut "{atrybut}" jest niedozwolony, wybierz inny.',attributes:"Atrybuty","attrs.class":"Klasa","attrs.className":"Klasa","attrs.dir":"Kierunek","attrs.id":"ID","attrs.required":"wymagany","attrs.style":"Styl","attrs.title":"Tytuł","attrs.type":"Rodzaj","attrs.value":"Wartość",autocomplete:"autouzupełnienie",button:"Przycisk",cancel:"Anulować",cannotBeEmpty:"To pole nie może być puste",cannotClearFields:"Nie ma pól do wyczyszczenia",checkbox:"Pole wyboru",checkboxes:"Checkboxes",class:"Klasa",clear:"Jasny",clearAllMessage:"Czy na pewno chcesz wyczyścić wszystkie pola?",close:"Blisko",column:"Kolumna","condition.target.placeholder":"cel","condition.type.and":"I","condition.type.if":"Jeśli","condition.type.or":"Lub","condition.type.then":"Następnie","condition.value.placeholder":"wartość",confirmClearAll:"Czy na pewno chcesz usunąć wszystkie pola?",content:"Zawartość",control:"Kontrola","controlGroups.nextGroup":"Następna grupa","controlGroups.prevGroup":"Poprzednia grupa","controls.filteringTerm":'Filtrowanie "{term}"',"controls.form.button":"Przycisk","controls.form.checkbox-group":"Grupa Checkbox","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Udostępnianie pliku","controls.form.input.hidden":"Ukryte wejście","controls.form.input.number":"Numer","controls.form.input.text":"Wprowadzanie tekstu","controls.form.radio-group":"Radio Group","controls.form.select":"Wybierz","controls.form.textarea":"TextArea","controls.groups.form":"Pola formularzy","controls.groups.html":"Elementy HTML","controls.groups.layout":"Układ","controls.html.divider":"Rozdzielacz","controls.html.header":"nagłówek","controls.html.paragraph":"Ustęp","controls.layout.column":"Kolumna","controls.layout.row":"Rząd",copy:"Skopiuj do schowka",danger:"Zagrożenie",defineColumnLayout:"Zdefiniuj układ kolumn",defineColumnWidths:"Określ szerokość kolumn",description:"Tekst pomocy",descriptionField:"Opis","editing.row":"Edytowanie wiersza",editorTitle:"Formuj elementy",field:"Pole","field.property.invalid":"nieważny","field.property.isChecked":"jest sprawdzane","field.property.isNotVisible":"nie jest widoczny","field.property.isVisible":"jest widoczny","field.property.label":"etykieta","field.property.valid":"ważny","field.property.value":"wartość",fieldNonEditable:"Tego pola nie można edytować.",fieldRemoveWarning:"Czy na pewno chcesz usunąć to pole?",fileUpload:"Udostępnianie pliku",formUpdated:"Formularz zaktualizowany",getStarted:"Przeciągnij pole od prawej, aby rozpocząć.",group:"Grupa",grouped:"Pogrupowane",hidden:"Ukryte wejście",hide:"Edytować",htmlElements:"Elementy HTML",if:"Jeśli","if.condition.source.placeholder":"źródło","if.condition.target.placeholder":"wartość docelowa",info:"Informacje","input.date":"Data","input.text":"Tekst",label:"Etykieta",labelCount:"{label} {count}",labelEmpty:"Etykieta pola nie może być pusta","lang.af":"afrykanin","lang.ar":"arabski","lang.cs":"czeski","lang.de":"niemiecki","lang.en":"angielski","lang.es":"hiszpański","lang.fa":"perski","lang.fi":"fiński","lang.fr":"francuski","lang.he":"hebrajski","lang.hi":"hindi","lang.hu":"węgierski","lang.it":"włoski","lang.ja":"japoński","lang.nb":"Norweski bokmål","lang.pl":"Polski","lang.pt":"portugalski","lang.ro":"rumuński","lang.ru":"rosyjski","lang.th":"tajski","lang.tr":"turecki","lang.zh":"chiński",layout:"Układ",limitRole:"Ogranicz dostęp do jednej lub więcej następujących ról:",mandatory:"Obowiązkowy",maxlength:"Maksymalna długość","meta.group":"Grupa","meta.icon":"I co","meta.label":"Etykieta",minOptionMessage:"To pole wymaga co najmniej 2 opcji",name:"Imię",newOptionLabel:"Nowy typ}",no:"Nie",number:"Numer",off:"Poza",on:"Na","operator.contains":"zawiera","operator.equals":"równa się","operator.notContains":"nie zawiera","operator.notEquals":"nie równe","operator.notVisible":"niewidoczny","operator.visible":"widoczny",option:"Opcja",optional:"opcjonalny",optionEmpty:"Wymagana wartość opcji",optionLabel:"Opcja {count}",options:"Opcje",or:"lub",order:"Zamówienie","panel.label.attrs":"Atrybuty","panel.label.conditions":"Warunki","panel.label.config":"Konfiguracja","panel.label.meta":"Meta","panel.label.options":"Opcje","panelEditButtons.attrs":"+ Atrybut","panelEditButtons.conditions":"+ Stan","panelEditButtons.config":"+ Konfiguracja","panelEditButtons.options":"+ Opcja",placeholder:"Symbol zastępczy","placeholder.className":"klasy oddzielone spacjami","placeholder.email":"Podaj e-mail","placeholder.label":"Etykieta","placeholder.password":"Wprowadź hasło","placeholder.placeholder":"Symbol zastępczy","placeholder.text":"Wprowadź trochę tekstu","placeholder.textarea":"Wprowadź dużo tekstu","placeholder.value":"Wartość",preview:"Zapowiedź",primary:"Podstawowa",remove:"Usunąć",removeMessage:"Usuń element",removeType:"Usuń {type}",required:"wymagany",reset:"Nastawić",richText:"Bogaty edytor tekstu",roles:"Dostęp",row:"Rząd","row.makeInputGroup":"Ustaw ten wiersz jako grupę wejściową.","row.makeInputGroupDesc":"Grupy wejściowe umożliwiają użytkownikom dodawanie zestawów wejść naraz.","row.settings.fieldsetWrap":"Zwiń wiersz w & lt; fieldset & gt; etykietka","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Zapisać",secondary:"Wtórny",select:"Wybierz",selectColor:"Wybierz kolor",selectionsMessage:"Zezwalaj na wiele wyborów",selectOptions:"Opcje",separator:"Separator",settings:"Ustawienia",size:"Rozmiar",sizes:"Rozmiary","sizes.lg":"Duży","sizes.m":"Domyślna","sizes.sm":"Mały","sizes.xs":"Bardzo mały",style:"Styl",styles:"Style","styles.btn":"Styl przycisku","styles.btn.danger":"Zagrożenie","styles.btn.default":"Domyślna","styles.btn.info":"Informacje","styles.btn.primary":"Podstawowa","styles.btn.success":"Powodzenie","styles.btn.warning":"Ostrzeżenie",subtype:"Rodzaj",success:"Powodzenie",text:"Pole tekstowe",then:"Następnie","then.condition.target.placeholder":"cel",toggle:"Przełącznik",ungrouped:"A-Zgrupowane",warning:"Ostrzeżenie",yes:"tak"},"pt-BR":{"pt-BR":"português (Brasil)",dir:"ltr","en-US":"Inglês","af-ZA":"africâner (África do Sul)","ar-TN":"árabe (Tunísia)","cs-CZ":"tcheco (Tchéquia)","de-DE":"alemão (Alemanha)","es-ES":"espanhol (Espanha)","fa-IR":"persa (Irã)","fi-FI":"finlandês (Finlândia)","fr-FR":"francês (França)","he-IL":"hebraico (Israel)","hi-IN":"híndi (Índia)","hu-HU":"húngaro (Hungria)","it-IT":"italiano (Itália)","ja-JP":"japonês (Japão)","nb-NO":"bokmål norueguês (Noruega)","pl-PL":"polonês (Polônia)","pt-PT":"português (Portugal)","ro-RO":"romeno (Romênia)","ru-RU":"russo (Rússia)","th-TH":"tailandês (Tailândia)","tr-TR":"turco (Turquia)","zh-CN":"chinês (China)","zh-HK":"chinês (Hong Kong, RAE da China)","action.add.attrs.attr":"Que atributo você gostaria de adicionar?","action.add.attrs.value":"Valor Padrão",addOption:"Adicionar opção",allFieldsRemoved:"Todos os campos foram removidos.",allowSelect:"Permitir Selecionar",and:"e",attribute:"Atributo",attributeNotPermitted:'O atributo "{attribute}" não é permitido, escolha outro.',attributes:"Atributos","attrs.class":"Aula","attrs.className":"Aula","attrs.dir":"Direção","attrs.id":"Eu ia","attrs.required":"Obrigatório","attrs.style":"Estilo","attrs.title":"Título","attrs.type":"Tipo","attrs.value":"Valor",autocomplete:"Preenchimento automático",button:"Botão",cancel:"Cancelar",cannotBeEmpty:"Este campo não pode estar vazio",cannotClearFields:"Não há campos para limpar",checkbox:"Caixa de seleção",checkboxes:"Caixas de seleção",class:"Aula",clear:"Claro",clearAllMessage:"Tem certeza de que deseja limpar todos os campos?",close:"Fechar",column:"Coluna","condition.target.placeholder":"alvo","condition.type.and":"E","condition.type.if":"Se","condition.type.or":"Ou","condition.type.then":"Então","condition.value.placeholder":"valor",confirmClearAll:"Tem certeza de que deseja remover todos os campos?",content:"Contente",control:"Controlar","controlGroups.nextGroup":"Próximo Grupo","controlGroups.prevGroup":"Grupo Anterior","controls.filteringTerm":'Filtrando "{term}"',"controls.form.button":"Botão","controls.form.checkbox-group":"Grupo de caixas de seleção","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Upload de arquivo","controls.form.input.hidden":"Entrada Oculta","controls.form.input.number":"Número","controls.form.input.text":"Entrada de texto","controls.form.radio-group":"Grupo de Rádio","controls.form.select":"Selecione","controls.form.textarea":"Área de texto","controls.groups.form":"Campos de formulário","controls.groups.html":"Elementos HTML","controls.groups.layout":"Disposição","controls.html.divider":"Divisor","controls.html.header":"Cabeçalho","controls.html.paragraph":"Parágrafo","controls.layout.column":"Coluna","controls.layout.row":"Linha",copy:"Copiar para a área de transferência",danger:"Perigo",defineColumnLayout:"Definir um layout de coluna",defineColumnWidths:"Definir larguras de colunas",description:"Texto de ajuda",descriptionField:"Descrição","editing.row":"Linha de edição",editorTitle:"Elementos de formulário",field:"Campo","field.property.invalid":"não é válido","field.property.isChecked":"está verificado","field.property.isNotVisible":"não é visível","field.property.isVisible":"é visível","field.property.label":"rótulo","field.property.valid":"válido","field.property.value":"valor",fieldNonEditable:"Este campo não pode ser editado.",fieldRemoveWarning:"Tem certeza de que deseja remover este campo?",fileUpload:"Upload de arquivo",formUpdated:"Formulário Atualizado",getStarted:"Arraste um campo da direita para começar.",group:"Grupo",grouped:"Agrupado",hidden:"Entrada Oculta",hide:"Editar",htmlElements:"Elementos HTML",if:"Se","if.condition.source.placeholder":"fonte","if.condition.target.placeholder":"alvo / valor",info:"Informações","input.date":"Data","input.text":"Texto",label:"Rótulo",labelCount:"{rótulo} {contagem}",labelEmpty:"O rótulo do campo não pode estar vazio","lang.af":"africano","lang.ar":"árabe","lang.cs":"Checo","lang.de":"Alemão","lang.en":"Inglês","lang.es":"Espanhol","lang.fa":"persa","lang.fi":"finlandês","lang.fr":"Francês","lang.he":"hebraico","lang.hi":"híndi","lang.hu":"húngaro","lang.it":"italiano","lang.ja":"japonês","lang.nb":"Bokmål Norueguês","lang.pl":"polonês","lang.pt":"Português","lang.ro":"romeno","lang.ru":"russo","lang.th":"tailandês","lang.tr":"turco","lang.zh":"chinês",layout:"Disposição",limitRole:"Limite o acesso a uma ou mais das seguintes funções:",mandatory:"Obrigatório",maxlength:"Comprimento máximo","meta.group":"Grupo","meta.icon":"Icó","meta.label":"Rótulo",minOptionMessage:"Este campo requer um mínimo de 2 opções",name:"Nome",newOptionLabel:"Novo {tipo}",no:"Não",number:"Número",off:"Desligado",on:"Sobre","operator.contains":"contém","operator.equals":"é igual a","operator.notContains":"não contém","operator.notEquals":"não é igual","operator.notVisible":"não visível","operator.visible":"visível",option:"Opção",optional:"opcional",optionEmpty:"Valor da opção necessário",optionLabel:"Opção {count}",options:"Opções",or:"ou",order:"Ordem","panel.label.attrs":"Atributos","panel.label.conditions":"Condições","panel.label.config":"Configuração","panel.label.meta":"Meta","panel.label.options":"Opções","panelEditButtons.attrs":"+ Atributo","panelEditButtons.conditions":"+ Condição","panelEditButtons.config":"+ Configuração","panelEditButtons.options":"+ Opção",placeholder:"Espaço reservado","placeholder.className":"classes separadas por espaço","placeholder.email":"Digite seu e-mail","placeholder.label":"Rótulo","placeholder.password":"Digite sua senha","placeholder.placeholder":"Espaço reservado","placeholder.text":"Insira algum texto","placeholder.textarea":"Insira muito texto","placeholder.value":"Valor",preview:"Pré-visualização",primary:"Primário",remove:"Remover",removeMessage:"Remover Elemento",removeType:"Remover {tipo}",required:"Obrigatório",reset:"Reiniciar",richText:"Editor de texto rico",roles:"Acesso",row:"Linha","row.makeInputGroup":"Faça desta linha um grupo de entrada.","row.makeInputGroupDesc":"Grupos de entrada permitem que os usuários adicionem conjuntos de entradas por vez.","row.settings.fieldsetWrap":"Quebrar linha em uma tag &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":"Quebrar linha em Fieldset",save:"Salvar",secondary:"Secundário",select:"Selecione",selectColor:"Selecione a cor",selectionsMessage:"Permitir Seleções Múltiplas",selectOptions:"Opções",separator:"Separador",settings:"Configurações",size:"Tamanho",sizes:"Tamanhos","sizes.lg":"Grande","sizes.m":"Padrão","sizes.sm":"Pequeno","sizes.xs":"Extra pequeno",style:"Estilo",styles:"Estilos","styles.btn":"Estilo de botão","styles.btn.danger":"Perigo","styles.btn.default":"Padrão","styles.btn.info":"Informações","styles.btn.primary":"Primário","styles.btn.success":"Sucesso","styles.btn.warning":"Aviso",subtype:"Tipo",success:"Sucesso",text:"Campo de texto",then:"Então","then.condition.target.placeholder":"alvo",toggle:"Alternar",ungrouped:"Desagrupado",warning:"Aviso",yes:"Sim"},"pt-PT":{"pt-PT":"português europeu",dir:"ltr","en-US":"Inglês","af-ZA":"africanês (África do Sul)","ar-TN":"árabe (Tunísia)","cs-CZ":"checo (Chéquia)","de-DE":"alemão (Alemanha)","es-ES":"espanhol europeu","fa-IR":"persa (Irão)","fi-FI":"finlandês (Finlândia)","fr-FR":"francês (França)","he-IL":"hebraico (Israel)","hi-IN":"hindi (Índia)","hu-HU":"húngaro (Hungria)","it-IT":"italiano (Itália)","ja-JP":"japonês (Japão)","nb-NO":"norueguês bokmål (Noruega)","pl-PL":"polaco (Polónia)","pt-BR":"português do Brasil","ro-RO":"romeno (Roménia)","ru-RU":"russo (Rússia)","th-TH":"tailandês (Tailândia)","tr-TR":"turco (Turquia)","zh-CN":"chinês (China)","zh-HK":"chinês (Hong Kong, RAE da China)","action.add.attrs.attr":"Que atributo você gostaria de adicionar?","action.add.attrs.value":"Valor Padrão",addOption:"Adicionar opção",allFieldsRemoved:"Todos os campos foram removidos.",allowSelect:"Permitir Selecionar",and:"e",attribute:"Atributo",attributeNotPermitted:'O atributo "{attribute}" não é permitido, escolha outro.',attributes:"Atributos","attrs.class":"Aula","attrs.className":"Aula","attrs.dir":"Direção","attrs.id":"Eu ia","attrs.required":"Obrigatório","attrs.style":"Estilo","attrs.title":"Título","attrs.type":"Tipo","attrs.value":"Valor",autocomplete:"Preenchimento automático",button:"Botão",cancel:"Cancelar",cannotBeEmpty:"Este campo não pode estar vazio",cannotClearFields:"Não há campos para limpar",checkbox:"Caixa de seleção",checkboxes:"Caixas de seleção",class:"Aula",clear:"Claro",clearAllMessage:"Tem certeza de que deseja limpar todos os campos?",close:"Fechar",column:"Coluna","condition.target.placeholder":"alvo","condition.type.and":"E","condition.type.if":"Se","condition.type.or":"Ou","condition.type.then":"Então","condition.value.placeholder":"valor",confirmClearAll:"Tem certeza de que deseja remover todos os campos?",content:"Contente",control:"Controlar","controlGroups.nextGroup":"Próximo Grupo","controlGroups.prevGroup":"Grupo Anterior","controls.filteringTerm":'Filtrando "{term}"',"controls.form.button":"Botão","controls.form.checkbox-group":"Grupo de caixas de seleção","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Upload de arquivo","controls.form.input.hidden":"Entrada Oculta","controls.form.input.number":"Número","controls.form.input.text":"Entrada de texto","controls.form.radio-group":"Grupo de Rádio","controls.form.select":"Selecione","controls.form.textarea":"Área de texto","controls.groups.form":"Campos de formulário","controls.groups.html":"Elementos HTML","controls.groups.layout":"Disposição","controls.html.divider":"Divisor","controls.html.header":"Cabeçalho","controls.html.paragraph":"Parágrafo","controls.layout.column":"Coluna","controls.layout.row":"Linha",copy:"Copiar para a área de transferência",danger:"Perigo",defineColumnLayout:"Definir um layout de coluna",defineColumnWidths:"Definir larguras de colunas",description:"Texto de ajuda",descriptionField:"Descrição","editing.row":"Linha de edição",editorTitle:"Elementos de formulário",field:"Campo","field.property.invalid":"não é válido","field.property.isChecked":"está verificado","field.property.isNotVisible":"não é visível","field.property.isVisible":"é visível","field.property.label":"rótulo","field.property.valid":"válido","field.property.value":"valor",fieldNonEditable:"Este campo não pode ser editado.",fieldRemoveWarning:"Tem certeza de que deseja remover este campo?",fileUpload:"Upload de arquivo",formUpdated:"Formulário Atualizado",getStarted:"Arraste um campo da direita para começar.",group:"Grupo",grouped:"Agrupado",hidden:"Entrada Oculta",hide:"Editar",htmlElements:"Elementos HTML",if:"Se","if.condition.source.placeholder":"fonte","if.condition.target.placeholder":"alvo / valor",info:"Informações","input.date":"Data","input.text":"Texto",label:"Rótulo",labelCount:"{rótulo} {contagem}",labelEmpty:"O rótulo do campo não pode estar vazio","lang.af":"africano","lang.ar":"árabe","lang.cs":"Checo","lang.de":"Alemão","lang.en":"Inglês","lang.es":"Espanhol","lang.fa":"persa","lang.fi":"finlandês","lang.fr":"Francês","lang.he":"hebraico","lang.hi":"hindi","lang.hu":"húngaro","lang.it":"italiano","lang.ja":"japonês","lang.nb":"Bokmål Norueguês","lang.pl":"polonês","lang.pt":"Português","lang.ro":"romeno","lang.ru":"russo","lang.th":"tailandês","lang.tr":"turco","lang.zh":"chinês",layout:"Disposição",limitRole:"Limite o acesso a uma ou mais das seguintes funções:",mandatory:"Obrigatório",maxlength:"Comprimento máximo","meta.group":"Grupo","meta.icon":"Icó","meta.label":"Rótulo",minOptionMessage:"Este campo requer um mínimo de 2 opções",name:"Nome",newOptionLabel:"Novo {tipo}",no:"Não",number:"Número",off:"Desligado",on:"Sobre","operator.contains":"contém","operator.equals":"é igual a","operator.notContains":"não contém","operator.notEquals":"não é igual","operator.notVisible":"não visível","operator.visible":"visível",option:"Opção",optional:"opcional",optionEmpty:"Valor da opção necessário",optionLabel:"Opção {count}",options:"Opções",or:"ou",order:"Ordem","panel.label.attrs":"Atributos","panel.label.conditions":"Condições","panel.label.config":"Configuração","panel.label.meta":"Meta","panel.label.options":"Opções","panelEditButtons.attrs":"+ Atributo","panelEditButtons.conditions":"+ Condição","panelEditButtons.config":"+ Configuração","panelEditButtons.options":"+ Opção",placeholder:"Espaço reservado","placeholder.className":"classes separadas por espaço","placeholder.email":"Digite seu e-mail","placeholder.label":"Rótulo","placeholder.password":"Digite sua senha","placeholder.placeholder":"Espaço reservado","placeholder.text":"Insira algum texto","placeholder.textarea":"Insira muito texto","placeholder.value":"Valor",preview:"Pré-visualização",primary:"Primário",remove:"Remover",removeMessage:"Remover Elemento",removeType:"Remover {tipo}",required:"Obrigatório",reset:"Reiniciar",richText:"Editor de texto rico",roles:"Acesso",row:"Linha","row.makeInputGroup":"Faça desta linha um grupo de entrada.","row.makeInputGroupDesc":"Grupos de entrada permitem que os usuários adicionem conjuntos de entradas por vez.","row.settings.fieldsetWrap":"Quebrar linha em uma tag &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":"Quebrar linha em Fieldset",save:"Salvar",secondary:"Secundário",select:"Selecione",selectColor:"Selecione a cor",selectionsMessage:"Permitir Seleções Múltiplas",selectOptions:"Opções",separator:"Separador",settings:"Configurações",size:"Tamanho",sizes:"Tamanhos","sizes.lg":"Grande","sizes.m":"Padrão","sizes.sm":"Pequeno","sizes.xs":"Extra pequeno",style:"Estilo",styles:"Estilos","styles.btn":"Estilo de botão","styles.btn.danger":"Perigo","styles.btn.default":"Padrão","styles.btn.info":"Informações","styles.btn.primary":"Primário","styles.btn.success":"Sucesso","styles.btn.warning":"Aviso",subtype:"Tipo",success:"Sucesso",text:"Campo de texto",then:"Então","then.condition.target.placeholder":"alvo",toggle:"Alternar",ungrouped:"Desagrupado",warning:"Aviso",yes:"Sim"},"ro-RO":{"ro-RO":"română (România)",dir:"ltr","en-US":"Engleză","af-ZA":"afrikaans (Africa de Sud)","ar-TN":"arabă (Tunisia)","cs-CZ":"cehă (Cehia)","de-DE":"germană (Germania)","es-ES":"spaniolă (Europa)","fa-IR":"persană (Iran)","fi-FI":"finlandeză (Finlanda)","fr-FR":"franceză (Franța)","he-IL":"ebraică (Israel)","hi-IN":"hindi (India)","hu-HU":"maghiară (Ungaria)","it-IT":"italiană (Italia)","ja-JP":"japoneză (Japonia)","nb-NO":"norvegiană bokmål (Norvegia)","pl-PL":"poloneză (Polonia)","pt-BR":"portugheză (Brazilia)","pt-PT":"portugheză (Europa)","ru-RU":"rusă (Rusia)","th-TH":"thailandeză (Thailanda)","tr-TR":"turcă (Turcia)","zh-CN":"chineză (China)","zh-HK":"chineză (R.A.S. Hong Kong, China)","action.add.attrs.attr":"Ce atribut ați dori să adăugați?","action.add.attrs.value":"Valoare implicită",addOption:"Adăugați opțiunea",allFieldsRemoved:"Toate câmpurile au fost eliminate.",allowSelect:"Permiteți selectarea",and:"și",attribute:"Atribut",attributeNotPermitted:'Atributul "{atribut}" nu este permis, vă rugăm să alegeți altul.',attributes:"atribute","attrs.class":"Clasă","attrs.className":"Clasă","attrs.dir":"Direcţie","attrs.id":"id-ul","attrs.required":"Necesar","attrs.style":"Stil","attrs.title":"Titlu","attrs.type":"Tip","attrs.value":"Valoare",autocomplete:"Completare automată",button:"Buton",cancel:"Anula",cannotBeEmpty:"Acest câmp nu poate fi gol",cannotClearFields:"Nu există câmpuri pentru a șterge",checkbox:"Caseta de bifat",checkboxes:"Casetele de selectare",class:"Clasă",clear:"clar",clearAllMessage:"Sigur doriți să ștergeți toate câmpurile?",close:"Închide",column:"Coloană","condition.target.placeholder":"ţintă","condition.type.and":"Şi","condition.type.if":"Dacă","condition.type.or":"Sau","condition.type.then":"Apoi","condition.value.placeholder":"valoare",confirmClearAll:"Sigur doriți să eliminați toate câmpurile?",content:"Conţinut",control:"Control","controlGroups.nextGroup":"Grupul următor","controlGroups.prevGroup":"Grupul anterior","controls.filteringTerm":'Filtrarea "{term}"',"controls.form.button":"Buton","controls.form.checkbox-group":"Grupul de verificare","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Fișier încărcat","controls.form.input.hidden":"Intrare ascunsă","controls.form.input.number":"Număr","controls.form.input.text":"Introducerea textului","controls.form.radio-group":"Radio Group","controls.form.select":"Selectați","controls.form.textarea":"TextArea","controls.groups.form":"Câmpuri de formular","controls.groups.html":"Elementele HTML","controls.groups.layout":"schemă","controls.html.divider":"compas","controls.html.header":"Antet","controls.html.paragraph":"Paragraf","controls.layout.column":"Coloană","controls.layout.row":"Rând",copy:"Copiați în clipboard",danger:"Pericol",defineColumnLayout:"Definiți un aspect al coloanei",defineColumnWidths:"Definiți lățimea coloanelor",description:"Ajutați textul",descriptionField:"Descriere","editing.row":"Editare rând",editorTitle:"Elemente formale",field:"Camp","field.property.invalid":"invalid","field.property.isChecked":"este verificat","field.property.isNotVisible":"nu este vizibilă","field.property.isVisible":"este vizibil","field.property.label":"eticheta","field.property.valid":"valabil","field.property.value":"valoare",fieldNonEditable:"Acest câmp nu poate fi editat.",fieldRemoveWarning:"Sigur doriți să eliminați acest câmp?",fileUpload:"Fișier încărcat",formUpdated:"Formular actualizat",getStarted:"Glisați un câmp din dreapta pentru a începe.",group:"grup",grouped:"grupate",hidden:"Intrare ascunsă",hide:"Editați | ×",htmlElements:"Elementele HTML",if:"Dacă","if.condition.source.placeholder":"sursă","if.condition.target.placeholder":"țintă / valoare",info:"Info","input.date":"Data","input.text":"Text",label:"Eticheta",labelCount:"{label} {count}",labelEmpty:"Eticheta de câmp nu poate fi goală","lang.af":"african","lang.ar":"arabic","lang.cs":"ceh","lang.de":"german","lang.en":"engleză","lang.es":"spaniolă","lang.fa":"persană","lang.fi":"finlandeză","lang.fr":"franceză","lang.he":"ebraică","lang.hi":"hindi","lang.hu":"maghiară","lang.it":"italian","lang.ja":"japonez","lang.nb":"norvegiana bokmål","lang.pl":"Lustrui","lang.pt":"portugheză","lang.ro":"română","lang.ru":"rusă","lang.th":"thailandez","lang.tr":"turc","lang.zh":"chinez",layout:"schemă",limitRole:"Limitați accesul la unul sau mai multe dintre următoarele roluri:",mandatory:"Obligatoriu",maxlength:"Lungime maxima","meta.group":"grup","meta.icon":"Ico","meta.label":"Eticheta",minOptionMessage:"Acest câmp necesită minim 2 opțiuni",name:"Nume",newOptionLabel:"Tip nou}",no:"Nu",number:"Număr",off:"de pe",on:"Pe","operator.contains":"conține","operator.equals":"este egală","operator.notContains":"nu conține","operator.notEquals":"nu este egal","operator.notVisible":"nu este vizibil","operator.visible":"vizibil",option:"Opțiune",optional:"facultativ",optionEmpty:"Valoarea opțiunii necesară",optionLabel:"Opțiunea {count}",options:"Opțiuni",or:"sau",order:"Ordin","panel.label.attrs":"atribute","panel.label.conditions":"Condiții","panel.label.config":"configurație","panel.label.meta":"Meta","panel.label.options":"Opțiuni","panelEditButtons.attrs":"+ Atribut","panelEditButtons.conditions":"+ Condiție","panelEditButtons.config":"+ Configurare","panelEditButtons.options":"+ Opțiune",placeholder:"Substitut","placeholder.className":"spații separate","placeholder.email":"Introdu adresa de email","placeholder.label":"Eticheta","placeholder.password":"Introduceți parola","placeholder.placeholder":"Substitut","placeholder.text":"Introduceți un text","placeholder.textarea":"Introduceți o mulțime de text","placeholder.value":"Valoare",preview:"previzualizare",primary:"Primar",remove:"Elimina",removeMessage:"Eliminați elementul",removeType:"Eliminați {type}",required:"Necesar",reset:"restabili",richText:"Editor text îmbogățit",roles:"Acces",row:"Rând","row.makeInputGroup":"Faceți acest rând un grup de intrare.","row.makeInputGroupDesc":"Grupurile de intrare permit utilizatorilor să adauge seturi de intrări la un moment dat.","row.settings.fieldsetWrap":"Înfășurați rândul într-un & lt; fieldset & gt; etichetă","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Salvați",secondary:"Secundar",select:"Selectați",selectColor:"Selectați Culoare",selectionsMessage:"Permiteți mai multe selecții",selectOptions:"Opțiuni",separator:"Separator",settings:"Setări",size:"mărimea",sizes:"Dimensiuni","sizes.lg":"Mare","sizes.m":"Mod implicit","sizes.sm":"Mic","sizes.xs":"Extra mic",style:"Stil",styles:"stiluri","styles.btn":"Butonul de stil","styles.btn.danger":"Pericol","styles.btn.default":"Mod implicit","styles.btn.info":"Info","styles.btn.primary":"Primar","styles.btn.success":"Succes","styles.btn.warning":"Avertizare",subtype:"Tip",success:"Succes",text:"Câmp de text",then:"Atunci","then.condition.target.placeholder":"ţintă",toggle:"Comutare",ungrouped:"A-Grupate",warning:"Avertizare",yes:"da"},"ru-RU":{"ru-RU":"русский (Россия)",dir:"ltr","en-US":"английский","af-ZA":"африкаанс (Южно-Африканская Республика)","ar-TN":"арабский (Тунис)","cs-CZ":"чешский (Чехия)","de-DE":"немецкий (Германия)","es-ES":"европейский испанский","fa-IR":"персидский (Иран)","fi-FI":"финский (Финляндия)","fr-FR":"французский (Франция)","he-IL":"иврит (Израиль)","hi-IN":"хинди (Индия)","hu-HU":"венгерский (Венгрия)","it-IT":"итальянский (Италия)","ja-JP":"японский (Япония)","nb-NO":"норвежский букмол (Норвегия)","pl-PL":"польский (Польша)","pt-BR":"бразильский португальский","pt-PT":"европейский португальский","ro-RO":"румынский (Румыния)","th-TH":"тайский (Таиланд)","tr-TR":"турецкий (Турция)","zh-CN":"китайский (Китай)","zh-HK":"китайский (Гонконг [САР])","action.add.attrs.attr":"Какой атрибут вы хотели бы добавить?","action.add.attrs.value":"Значение по умолчанию",addOption:"Добавить опцию",allFieldsRemoved:"Все поля были удалены.",allowSelect:"Разрешить выбор",and:"а также",attribute:"атрибут",attributeNotPermitted:"Атрибут «{attribute}» не разрешен, выберите другой.",attributes:"Атрибуты","attrs.class":"Учебный класс","attrs.className":"Учебный класс","attrs.dir":"направление","attrs.id":"Я бы","attrs.required":"необходимые","attrs.style":"Стиль","attrs.title":"заглавие","attrs.type":"Тип","attrs.value":"Значение",autocomplete:"Автозаполнение",button:"кнопка",cancel:"Отмена",cannotBeEmpty:"Это поле не может быть пустым",cannotClearFields:"Нет полей для очистки",checkbox:"флажок",checkboxes:"Флажки",class:"Учебный класс",clear:"Очистить",clearAllMessage:"Вы уверены, что хотите очистить все поля?",close:"близко",column:"колонка","condition.target.placeholder":"цель","condition.type.and":"И","condition.type.if":"Если","condition.type.or":"Или","condition.type.then":"Затем","condition.value.placeholder":"значение",confirmClearAll:"Вы действительно хотите удалить все поля?",content:"содержание",control:"контроль","controlGroups.nextGroup":"Следующая группа","controlGroups.prevGroup":"Предыдущая группа","controls.filteringTerm":'Фильтрация "{term}"',"controls.form.button":"кнопка","controls.form.checkbox-group":"Группа флажков","controls.form.input.date":"Дата","controls.form.input.email":"Эл. адрес","controls.form.input.file":"Файл загружен","controls.form.input.hidden":"Скрытый ввод","controls.form.input.number":"Число","controls.form.input.text":"Ввод текста","controls.form.radio-group":"Радиогруппа","controls.form.select":"Выбрать","controls.form.textarea":"TextArea","controls.groups.form":"Поля формы","controls.groups.html":"Элементы HTML","controls.groups.layout":"раскладка","controls.html.divider":"делитель","controls.html.header":"заголовок","controls.html.paragraph":"Параграф","controls.layout.column":"колонка","controls.layout.row":"Строка",copy:"Скопировать в буфер обмена",danger:"Опасность",defineColumnLayout:"Определение расположения столбца",defineColumnWidths:"Определение ширины столбцов",description:"Текст справки",descriptionField:"Описание","editing.row":"Редактирование строки",editorTitle:"Элементы формы",field:"поле","field.property.invalid":"недействительный","field.property.isChecked":"проверено","field.property.isNotVisible":"не видно","field.property.isVisible":"видно","field.property.label":"этикетка","field.property.valid":"действительный","field.property.value":"значение",fieldNonEditable:"Это поле невозможно отредактировать.",fieldRemoveWarning:"Вы действительно хотите удалить это поле?",fileUpload:"Файл загружен",formUpdated:"Форма обновлена",getStarted:"Для начала перетащите поле справа.",group:"группа",grouped:"Сгруппированные",hidden:"Скрытый ввод",hide:"редактировать",htmlElements:"Элементы HTML",if:"Если","if.condition.source.placeholder":"источник","if.condition.target.placeholder":"целевое значение",info:"Информация","input.date":"Дата","input.text":"Текст",label:"этикетка",labelCount:"{label} {count}",labelEmpty:"Полевая метка не может быть пуста","lang.af":"Африканский","lang.ar":"арабский","lang.cs":"чешский","lang.de":"немецкий","lang.en":"Английский","lang.es":"испанский","lang.fa":"персидский","lang.fi":"финский","lang.fr":"Французский","lang.he":"иврит","lang.hi":"хинди","lang.hu":"венгерский","lang.it":"итальянский","lang.ja":"японский","lang.nb":"Норвежский букмол","lang.pl":"польский","lang.pt":"португальский","lang.ro":"румынский","lang.ru":"Русский","lang.th":"тайский","lang.tr":"турецкий","lang.zh":"китайский",layout:"раскладка",limitRole:"Ограничить доступ к одной или нескольким из следующих ролей:",mandatory:"Обязательный",maxlength:"Максимальная длина","meta.group":"группа","meta.icon":"Ico","meta.label":"этикетка",minOptionMessage:"Для этого поля требуется минимум 2 варианта",name:"название",newOptionLabel:"Новый {type}",no:"нет",number:"Число",off:"от",on:"На","operator.contains":"содержит","operator.equals":"равняется","operator.notContains":"не содержит","operator.notEquals":"не равный","operator.notVisible":"невидимый","operator.visible":"видимый",option:"вариант",optional:"необязательный",optionEmpty:"Требуемое значение параметра",optionLabel:"Вариант {count}",options:"Опции",or:"или же",order:"порядок","panel.label.attrs":"Атрибуты","panel.label.conditions":"условия","panel.label.config":"конфигурация","panel.label.meta":"Мета","panel.label.options":"Опции","panelEditButtons.attrs":"+ Атрибут","panelEditButtons.conditions":"+ Условие","panelEditButtons.config":"+ Конфигурация","panelEditButtons.options":"+ Вариант",placeholder:"Заполнитель","placeholder.className":"классы, разделенные пробелами","placeholder.email":"Введите адрес электронной почты","placeholder.label":"этикетка","placeholder.password":"Введите ваш пароль","placeholder.placeholder":"Заполнитель","placeholder.text":"Введите текст","placeholder.textarea":"Введите много текста","placeholder.value":"Значение",preview:"предварительный просмотр",primary:"первичный",remove:"Удалить",removeMessage:"Удалить элемент",removeType:"Удалить {type}",required:"необходимые",reset:"Сброс",richText:"Редактор Rich Text Editor",roles:"Доступ",row:"Строка","row.makeInputGroup":"Сделайте эту строку группой ввода.","row.makeInputGroupDesc":"Группы ввода позволяют пользователям добавлять наборы входов одновременно.","row.settings.fieldsetWrap":"Wrap row в & lt; fieldset & gt; тег","row.settings.fieldsetWrap.aria":"Wrap Row в Fieldset",save:"Сохранить",secondary:"второстепенный",select:"Выбрать",selectColor:"Выберите цвет",selectionsMessage:"Разрешить множественный выбор",selectOptions:"Опции",separator:"Разделитель",settings:"настройки",size:"Размер",sizes:"Размеры","sizes.lg":"большой","sizes.m":"По умолчанию","sizes.sm":"Маленький","sizes.xs":"Очень маленький",style:"Стиль",styles:"Стили","styles.btn":"Стиль кнопки","styles.btn.danger":"Опасность","styles.btn.default":"По умолчанию","styles.btn.info":"Информация","styles.btn.primary":"первичный","styles.btn.success":"успех","styles.btn.warning":"Предупреждение",subtype:"Тип",success:"успех",text:"Текстовое поле",then:"затем","then.condition.target.placeholder":"цель",toggle:"тумблер",ungrouped:"A-Сгруппированные",warning:"Предупреждение",yes:"да"},"th-TH":{"th-TH":"ไทย (ไทย)",dir:"ltr","en-US":"ภาษาอังกฤษ","af-ZA":"แอฟริกานส์ (แอฟริกาใต้)","ar-TN":"อาหรับ (ตูนิเซีย)","cs-CZ":"เช็ก (เช็ก)","de-DE":"เยอรมัน (เยอรมนี)","es-ES":"สเปน - ยุโรป","fa-IR":"เปอร์เซีย (อิหร่าน)","fi-FI":"ฟินแลนด์ (ฟินแลนด์)","fr-FR":"ฝรั่งเศส (ฝรั่งเศส)","he-IL":"ฮิบรู (อิสราเอล)","hi-IN":"ฮินดี (อินเดีย)","hu-HU":"ฮังการี (ฮังการี)","it-IT":"อิตาลี (อิตาลี)","ja-JP":"ญี่ปุ่น (ญี่ปุ่น)","nb-NO":"นอร์เวย์บุคมอล (นอร์เวย์)","pl-PL":"โปแลนด์ (โปแลนด์)","pt-BR":"โปรตุเกส - บราซิล","pt-PT":"โปรตุเกส - ยุโรป","ro-RO":"โรมาเนีย (โรมาเนีย)","ru-RU":"รัสเซีย (รัสเซีย)","tr-TR":"ตุรกี (ตุรกี)","zh-CN":"จีน (จีน)","zh-HK":"จีน (เขตปกครองพิเศษฮ่องกงแห่งสาธารณรัฐประชาชนจีน)","action.add.attrs.attr":"คุณต้องการเพิ่มคุณสมบัติใด?","action.add.attrs.value":"ค่าเริ่มต้น",addOption:"เพิ่มตัวเลือก",allFieldsRemoved:"ลบข้อมูลทุกช่องออกแล้ว",allowSelect:"อนุญาตให้เลือก",and:"และ",attribute:"คุณลักษณะ",attributeNotPermitted:'ไม่อนุญาตให้ใช้แอตทริบิวต์ "{attribute}" โปรดเลือกแอตทริบิวต์อื่น',attributes:"คุณสมบัติ","attrs.class":"ระดับ","attrs.className":"ระดับ","attrs.dir":"ทิศทาง","attrs.id":"รหัส","attrs.required":"ที่จำเป็น","attrs.style":"สไตล์","attrs.title":"ชื่อ","attrs.type":"พิมพ์","attrs.value":"ค่า",autocomplete:"การกรอกอัตโนมัติ",button:"ปุ่ม",cancel:"ยกเลิก",cannotBeEmpty:"ฟิลด์นี้ไม่สามารถว่างเปล่าได้",cannotClearFields:"ไม่มีช่องที่ต้องล้างข้อมูล",checkbox:"ช่องกาเครื่องหมาย",checkboxes:"ช่องกาเครื่องหมาย",class:"ระดับ",clear:"ชัดเจน",clearAllMessage:"คุณแน่ใจว่าต้องการล้างข้อมูลทั้งหมดหรือไม่?",close:"ปิด",column:"คอลัมน์","condition.target.placeholder":"เป้า","condition.type.and":"และ","condition.type.if":"ถ้า","condition.type.or":"หรือ","condition.type.then":"แล้ว","condition.value.placeholder":"ค่า",confirmClearAll:"คุณแน่ใจว่าต้องการลบข้อมูลทั้งหมดหรือไม่?",content:"เนื้อหา",control:"ควบคุม","controlGroups.nextGroup":"กลุ่มถัดไป","controlGroups.prevGroup":"กลุ่มก่อนหน้า","controls.filteringTerm":'การกรอง "{term}"',"controls.form.button":"ปุ่ม","controls.form.checkbox-group":"กลุ่มกล่องกาเครื่องหมาย","controls.form.input.date":"วันที่","controls.form.input.email":"อีเมล","controls.form.input.file":"อัพโหลดไฟล์","controls.form.input.hidden":"อินพุตที่ซ่อนอยู่","controls.form.input.number":"ตัวเลข","controls.form.input.text":"การป้อนข้อความ","controls.form.radio-group":"กลุ่มวิทยุ","controls.form.select":"เลือก","controls.form.textarea":"พื้นที่ข้อความ","controls.groups.form":"ฟิลด์ฟอร์ม","controls.groups.html":"องค์ประกอบ HTML","controls.groups.layout":"เค้าโครง","controls.html.divider":"ตัวคั่น","controls.html.header":"ส่วนหัว","controls.html.paragraph":"ย่อหน้า","controls.layout.column":"คอลัมน์","controls.layout.row":"แถว",copy:"คัดลอกไปยังคลิปบอร์ด",danger:"อันตราย",defineColumnLayout:"กำหนดเค้าโครงคอลัมน์",defineColumnWidths:"กำหนดความกว้างของคอลัมน์",description:"ข้อความช่วยเหลือ",descriptionField:"คำอธิบาย","editing.row":"การแก้ไขแถว",editorTitle:"องค์ประกอบแบบฟอร์ม",field:"สนาม","field.property.invalid":"ไม่ถูกต้อง","field.property.isChecked":"ได้รับการตรวจสอบแล้ว","field.property.isNotVisible":"มองไม่เห็น","field.property.isVisible":"สามารถมองเห็นได้","field.property.label":"ฉลาก","field.property.valid":"ถูกต้อง","field.property.value":"ค่า",fieldNonEditable:"ไม่สามารถแก้ไขฟิลด์นี้ได้",fieldRemoveWarning:"คุณแน่ใจว่าต้องการลบฟิลด์นี้หรือไม่?",fileUpload:"อัพโหลดไฟล์",formUpdated:"แบบฟอร์มอัปเดต",getStarted:"ลากฟิลด์จากด้านขวาเพื่อเริ่มต้น",group:"กลุ่ม",grouped:"การจัดกลุ่ม",hidden:"อินพุตที่ซ่อนอยู่",hide:"แก้ไข",htmlElements:"องค์ประกอบ HTML",if:"ถ้า","if.condition.source.placeholder":"แหล่งที่มา","if.condition.target.placeholder":"เป้าหมาย / มูลค่า",info:"ข้อมูล","input.date":"วันที่","input.text":"ข้อความ",label:"ฉลาก",labelCount:"{ป้าย} {จำนวน}",labelEmpty:"ป้ายชื่อฟิลด์ไม่สามารถว่างเปล่าได้","lang.af":"แอฟริกัน","lang.ar":"ภาษาอาหรับ","lang.cs":"เช็ก","lang.de":"เยอรมัน","lang.en":"ภาษาอังกฤษ","lang.es":"สเปน","lang.fa":"เปอร์เซีย","lang.fi":"ฟินแลนด์","lang.fr":"ภาษาฝรั่งเศส","lang.he":"ฮิบรู","lang.hi":"ฮินดี","lang.hu":"ฮังการี","lang.it":"อิตาลี","lang.ja":"ญี่ปุ่น","lang.nb":"นอร์เวย์บุคมอล","lang.pl":"ขัด","lang.pt":"โปรตุเกส","lang.ro":"โรมาเนีย","lang.ru":"รัสเซีย","lang.th":"แบบไทย","lang.tr":"ภาษาตุรกี","lang.zh":"ชาวจีน",layout:"เค้าโครง",limitRole:"จำกัดการเข้าถึงหนึ่งหรือมากกว่าหนึ่งบทบาทต่อไปนี้:",mandatory:"บังคับ",maxlength:"ความยาวสูงสุด","meta.group":"กลุ่ม","meta.icon":"ไอโค","meta.label":"ฉลาก",minOptionMessage:"ฟิลด์นี้จำเป็นต้องมีตัวเลือกอย่างน้อย 2 ตัวเลือก",name:"ชื่อ",newOptionLabel:"ใหม่ {ประเภท}",no:"เลขที่",number:"ตัวเลข",off:"ปิด",on:"บน","operator.contains":"ประกอบด้วย","operator.equals":"เท่ากับ","operator.notContains":"ไม่ประกอบด้วย","operator.notEquals":"ไม่เท่ากัน","operator.notVisible":"มองไม่เห็น","operator.visible":"มองเห็นได้",option:"ตัวเลือก",optional:"ไม่จำเป็น",optionEmpty:"ค่าตัวเลือกที่ต้องการ",optionLabel:"ตัวเลือก {จำนวน}",options:"ตัวเลือก",or:"หรือ",order:"คำสั่ง","panel.label.attrs":"คุณสมบัติ","panel.label.conditions":"เงื่อนไข","panel.label.config":"การกำหนดค่า","panel.label.meta":"เมต้า","panel.label.options":"ตัวเลือก","panelEditButtons.attrs":"+ คุณสมบัติ","panelEditButtons.conditions":"+ สภาพ","panelEditButtons.config":"+ การกำหนดค่า","panelEditButtons.options":"+ ตัวเลือก",placeholder:"ตัวแทน","placeholder.className":"การแบ่งชั้นเรียนแบบแยกพื้นที่","placeholder.email":"กรอกอีเมล์ของคุณ","placeholder.label":"ฉลาก","placeholder.password":"กรอกรหัสผ่านของคุณ","placeholder.placeholder":"ตัวแทน","placeholder.text":"ป้อนข้อความบางอย่าง","placeholder.textarea":"ใส่ข้อความจำนวนมาก","placeholder.value":"ค่า",preview:"ตัวอย่าง",primary:"หลัก",remove:"ลบ",removeMessage:"ลบองค์ประกอบ",removeType:"ลบ {type}",required:"ที่จำเป็น",reset:"รีเซ็ต",richText:"โปรแกรมแก้ไขข้อความแบบ Rich Text",roles:"เข้าถึง",row:"แถว","row.makeInputGroup":"สร้างแถวนี้เป็นกลุ่มอินพุต","row.makeInputGroupDesc":"กลุ่มอินพุตช่วยให้ผู้ใช้สามารถเพิ่มชุดอินพุตได้ในแต่ละครั้ง","row.settings.fieldsetWrap":"ห่อแถวในแท็ก &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":"การห่อแถวใน Fieldset",save:"บันทึก",secondary:"มัธยมศึกษาตอนปลาย",select:"เลือก",selectColor:"เลือกสี",selectionsMessage:"อนุญาตให้เลือกได้หลายรายการ",selectOptions:"ตัวเลือก",separator:"ตัวคั่น",settings:"การตั้งค่า",size:"ขนาด",sizes:"ขนาด","sizes.lg":"ใหญ่","sizes.m":"ค่าเริ่มต้น","sizes.sm":"เล็ก","sizes.xs":"พิเศษเล็ก",style:"สไตล์",styles:"สไตล์","styles.btn":"รูปแบบปุ่ม","styles.btn.danger":"อันตราย","styles.btn.default":"ค่าเริ่มต้น","styles.btn.info":"ข้อมูล","styles.btn.primary":"หลัก","styles.btn.success":"ความสำเร็จ","styles.btn.warning":"คำเตือน",subtype:"พิมพ์",success:"ความสำเร็จ",text:"ช่องข้อความ",then:"แล้ว","then.condition.target.placeholder":"เป้า",toggle:"สลับ",ungrouped:"ยกเลิกการจัดกลุ่ม",warning:"คำเตือน",yes:"ใช่"},"tr-TR":{"tr-TR":"Türkçe (Türkiye)",dir:"ltr","en-US":"ingilizce","af-ZA":"Afrikaanca (Güney Afrika)","ar-TN":"Arapça (Tunus)","cs-CZ":"Çekçe (Çekya)","de-DE":"Almanca (Almanya)","es-ES":"Avrupa İspanyolcası","fa-IR":"Farsça (İran)","fi-FI":"Fince (Finlandiya)","fr-FR":"Fransızca (Fransa)","he-IL":"İbranice (İsrail)","hi-IN":"Hintçe (Hindistan)","hu-HU":"Macarca (Macaristan)","it-IT":"İtalyanca (İtalya)","ja-JP":"Japonca (Japonya)","nb-NO":"Norveççe Bokmål (Norveç)","pl-PL":"Lehçe (Polonya)","pt-BR":"Brezilya Portekizcesi","pt-PT":"Avrupa Portekizcesi","ro-RO":"Rumence (Romanya)","ru-RU":"Rusça (Rusya)","th-TH":"Tayca (Tayland)","zh-CN":"Çince (Çin)","zh-HK":"Çince (Çin Hong Kong ÖİB)","action.add.attrs.attr":"Hangi özelliği eklemek istersiniz?","action.add.attrs.value":"Varsayılan değer",addOption:"Seçenek ekle",allFieldsRemoved:"Tüm alanlar kaldırıldı.",allowSelect:"Seçime İzin Ver",and:"ve",attribute:"nitelik",attributeNotPermitted:'"{Attribute}" özelliğine izin verilmiyor, lütfen başka bir tane seçin.',attributes:"Öznitellikler","attrs.class":"Sınıf","attrs.className":"Sınıf","attrs.dir":"yön","attrs.id":"İD","attrs.required":"gereklidir","attrs.style":"stil","attrs.title":"Başlık","attrs.type":"tip","attrs.value":"değer",autocomplete:"Otomatik tamamlama",button:"Buton",cancel:"İptal etmek",cannotBeEmpty:"Bu alan boş olamaz",cannotClearFields:"Temizlenecek alan yok",checkbox:"Onay Kutusu",checkboxes:"Onay kutuları",class:"Sınıf",clear:"Açık",clearAllMessage:"Tüm alanları temizlemek istediğinden emin misin?",close:"Kapat",column:"sütun","condition.target.placeholder":"hedef","condition.type.and":"Ve","condition.type.if":"Eğer","condition.type.or":"Veya","condition.type.then":"Daha sonra","condition.value.placeholder":"değer",confirmClearAll:"Tüm alanları kaldırmak istediğinizden emin misiniz?",content:"içerik",control:"Kontrol","controlGroups.nextGroup":"Sonraki grup","controlGroups.prevGroup":"Önceki Grup","controls.filteringTerm":'"{Term}" filtrelemesi',"controls.form.button":"Buton","controls.form.checkbox-group":"Onay Kutusu Grubu","controls.form.input.date":"tarih","controls.form.input.email":"E-posta","controls.form.input.file":"Dosya yükleme","controls.form.input.hidden":"Gizli Giriş","controls.form.input.number":"Numara","controls.form.input.text":"Metin Girişi","controls.form.radio-group":"Radyo Grubu","controls.form.select":"seçmek","controls.form.textarea":"TextArea","controls.groups.form":"Form Alanları","controls.groups.html":"HTML Öğeleri","controls.groups.layout":"düzen","controls.html.divider":"bölen","controls.html.header":"Başlık","controls.html.paragraph":"Paragraf","controls.layout.column":"sütun","controls.layout.row":"Kürek çekmek",copy:"Panoya kopyala",danger:"Tehlike",defineColumnLayout:"Bir sütun düzeni tanımlayın",defineColumnWidths:"Sütun genişliklerini tanımla",description:"Yardım Metni",descriptionField:"Açıklama","editing.row":"Satırı Düzenleme",editorTitle:"Form Öğeleri",field:"Alan","field.property.invalid":"geçerli değil","field.property.isChecked":"kontrol edildi","field.property.isNotVisible":"görünür değil","field.property.isVisible":"görünür","field.property.label":"etiket","field.property.valid":"geçerli","field.property.value":"değer",fieldNonEditable:"Bu alan düzenlenemez.",fieldRemoveWarning:"Bu alanı kaldırmak istediğinizden emin misiniz?",fileUpload:"Dosya yükleme",formUpdated:"Form Güncelleme",getStarted:"Başlamak için bir alanı sağdan sürükleyin.",group:"grup",grouped:"gruplanmış",hidden:"Gizli Giriş",hide:"Düzenle",htmlElements:"HTML Öğeleri",if:"Eğer","if.condition.source.placeholder":"kaynak","if.condition.target.placeholder":"hedef değer",info:"Bilgi","input.date":"tarih","input.text":"Metin",label:"Etiket",labelCount:"{label} {count}",labelEmpty:"Saha Etiketi boş olamaz","lang.af":"Afrika","lang.ar":"Arapça","lang.cs":"Çek","lang.de":"Almanca","lang.en":"İngilizce","lang.es":"İspanyol","lang.fa":"Farsça","lang.fi":"Fince","lang.fr":"Fransızca","lang.he":"İbranice","lang.hi":"Hintçe","lang.hu":"Macarca","lang.it":"İtalyan","lang.ja":"Japonca","lang.nb":"Norveç Bokmål'ı","lang.pl":"Lehçe","lang.pt":"Portekizce","lang.ro":"Romence","lang.ru":"Rusça","lang.th":"Tayca","lang.tr":"Türkçe","lang.zh":"Çince",layout:"düzen",limitRole:"Aşağıdaki rollerden bir veya daha fazlasına erişimi sınırlayın:",mandatory:"Zorunlu",maxlength:"Maksimum uzunluk","meta.group":"grup","meta.icon":"ico","meta.label":"Etiket",minOptionMessage:"Bu alan en az 2 seçenek gerektirir",name:"isim",newOptionLabel:"Yeni tip}",no:"Yok hayır",number:"Numara",off:"kapalı",on:"üzerinde","operator.contains":"içeren","operator.equals":"eşittir","operator.notContains":"içermiyor","operator.notEquals":"eşit değil","operator.notVisible":"görünür değil","operator.visible":"gözle görülür",option:"seçenek",optional:"isteğe bağlı",optionEmpty:"Seçenek değeri gerekli",optionLabel:"Seçenek {count}",options:"Seçenekler",or:"veya",order:"Sipariş","panel.label.attrs":"Öznitellikler","panel.label.conditions":"Koşullar","panel.label.config":"Yapılandırma","panel.label.meta":"Meta","panel.label.options":"Seçenekler","panelEditButtons.attrs":"+ Özellik","panelEditButtons.conditions":"+ Durum","panelEditButtons.config":"+ Yapılandırma","panelEditButtons.options":"+ Seçenek",placeholder:"Yer tutucu","placeholder.className":"boşluk ayrılmış sınıflar","placeholder.email":"Size e-posta adresi","placeholder.label":"Etiket","placeholder.password":"Şifrenizi girin","placeholder.placeholder":"Yer tutucu","placeholder.text":"Bir metin girin","placeholder.textarea":"Çok fazla metin girin","placeholder.value":"değer",preview:"Ön izleme",primary:"Birincil",remove:"Kaldır",removeMessage:"Öğeyi Kaldır",removeType:"{Type} öğesini kaldır",required:"gereklidir",reset:"Reset",richText:"Zengin metin editörü",roles:"Erişim",row:"Kürek çekmek","row.makeInputGroup":"Bu satırı bir giriş grubu yapın.","row.makeInputGroupDesc":"Giriş Grupları, kullanıcıların bir kerede giriş setleri eklemesine olanak tanır.","row.settings.fieldsetWrap":"Satırı & lt; fieldset & gt; etiket","row.settings.fieldsetWrap.aria":"Fieldset'te Satır Sarma",save:"Kayıt etmek",secondary:"İkincil",select:"seçmek",selectColor:"Renk seç",selectionsMessage:"Birden Çok Seçime İzin Ver",selectOptions:"Seçenekler",separator:"Ayırıcı",settings:"Ayarlar",size:"Boyut",sizes:"Boyutları","sizes.lg":"Büyük","sizes.m":"Varsayılan","sizes.sm":"Küçük","sizes.xs":"Çok küçük",style:"stil",styles:"stiller","styles.btn":"Düğme Stili","styles.btn.danger":"Tehlike","styles.btn.default":"Varsayılan","styles.btn.info":"Bilgi","styles.btn.primary":"Birincil","styles.btn.success":"başarı","styles.btn.warning":"Uyarı",subtype:"tip",success:"başarı",text:"Metin alanı",then:"Sonra","then.condition.target.placeholder":"hedef",toggle:"geçiş",ungrouped:"A-Gruplanmış",warning:"Uyarı",yes:"Evet"},"zh-CN":{"zh-CN":"中文(中国)",dir:"ltr","en-US":"英语","af-ZA":"南非荷兰语(南非)","ar-TN":"阿拉伯语(突尼斯)","cs-CZ":"捷克语(捷克)","de-DE":"德语(德国)","es-ES":"欧洲西班牙语","fa-IR":"波斯语(伊朗)","fi-FI":"芬兰语(芬兰)","fr-FR":"法语(法国)","he-IL":"希伯来语(以色列)","hi-IN":"印地语(印度)","hu-HU":"匈牙利语(匈牙利)","it-IT":"意大利语(意大利)","ja-JP":"日语(日本)","nb-NO":"书面挪威语(挪威)","pl-PL":"波兰语(波兰)","pt-BR":"巴西葡萄牙语","pt-PT":"欧洲葡萄牙语","ro-RO":"罗马尼亚语(罗马尼亚)","ru-RU":"俄语(俄罗斯)","th-TH":"泰语(泰国)","tr-TR":"土耳其语(土耳其)","zh-HK":"中文(中国香港特别行政区)","action.add.attrs.attr":"你想添加什么属性?","action.add.attrs.value":"默认值",addOption:"添加选项",allFieldsRemoved:"所有字段都已删除。",allowSelect:"允许选择",and:"和",attribute:"属性",attributeNotPermitted:"不允许使用属性“{attribute}”,请选择其他属性。",attributes:"属性","attrs.class":"类","attrs.className":"类","attrs.dir":"方向","attrs.id":"ID","attrs.required":"需要","attrs.style":"样式","attrs.title":"标题","attrs.type":"类型","attrs.value":"值",autocomplete:"自动完成",button:"按键",cancel:"取消",cannotBeEmpty:"此字段不能为空",cannotClearFields:"没有要清除的字段",checkbox:"复选框",checkboxes:"复选框",class:"类",clear:"明确",clearAllMessage:"您确定要清除所有字段吗?",close:"关",column:"柱","condition.target.placeholder":"目标","condition.type.and":"和","condition.type.if":"如果","condition.type.or":"或者","condition.type.then":"然后","condition.value.placeholder":"值",confirmClearAll:"您确定要删除所有字段吗?",content:"内容",control:"控制","controlGroups.nextGroup":"下一组","controlGroups.prevGroup":"上一组","controls.filteringTerm":"过滤“{term}”","controls.form.button":"按键","controls.form.checkbox-group":"复选框组","controls.form.input.date":"日期","controls.form.input.email":"电子邮件","controls.form.input.file":"上传文件","controls.form.input.hidden":"隐藏的输入","controls.form.input.number":"数","controls.form.input.text":"文字输入","controls.form.radio-group":"广播组","controls.form.select":"选择","controls.form.textarea":"文本区","controls.groups.form":"表格字段","controls.groups.html":"HTML元素","controls.groups.layout":"布局","controls.html.divider":"分频器","controls.html.header":"头","controls.html.paragraph":"段","controls.layout.column":"柱","controls.layout.row":"行",copy:"复制到剪贴板",danger:"危险",defineColumnLayout:"定义列布局",defineColumnWidths:"定义列宽",description:"帮助文字",descriptionField:"描述","editing.row":"编辑行",editorTitle:"表单元素",field:"领域","field.property.invalid":"无效","field.property.isChecked":"已检查","field.property.isNotVisible":"不可见","field.property.isVisible":"是可见的","field.property.label":"标签","field.property.valid":"有效","field.property.value":"值",fieldNonEditable:"此字段无法编辑。",fieldRemoveWarning:"您确定要删除此字段吗?",fileUpload:"上传文件",formUpdated:"表格更新",getStarted:"从右侧拖动一个字段即可开始使用。",group:"组",grouped:"分组",hidden:"隐藏的输入",hide:"编辑",htmlElements:"HTML元素",if:"如果","if.condition.source.placeholder":"资源","if.condition.target.placeholder":"目标价值",info:"信息","input.date":"日期","input.text":"文本",label:"标签",labelCount:"{label} {count}",labelEmpty:"字段标签不能为空","lang.af":"非洲人","lang.ar":"阿拉伯","lang.cs":"捷克语","lang.de":"德语","lang.en":"英语","lang.es":"西班牙语","lang.fa":"波斯语","lang.fi":"芬兰","lang.fr":"法语","lang.he":"希伯来语","lang.hi":"印地语","lang.hu":"匈牙利","lang.it":"意大利语","lang.ja":"日本人","lang.nb":"挪威博克马尔语","lang.pl":"抛光","lang.pt":"葡萄牙语","lang.ro":"罗马尼亚语","lang.ru":"俄语","lang.th":"泰国","lang.tr":"土耳其","lang.zh":"中国人",layout:"布局",limitRole:"限制对以下一个或多个角色的访问:",mandatory:"强制性",maxlength:"最长长度","meta.group":"组","meta.icon":"ICO","meta.label":"标签",minOptionMessage:"此字段至少需要2个选项",name:"名称",newOptionLabel:"新型}",no:"没有",number:"数",off:"离",on:"上","operator.contains":"包含","operator.equals":"等于","operator.notContains":"不包含","operator.notEquals":"不平等","operator.notVisible":"不可见","operator.visible":"可见",option:"选项",optional:"可选的",optionEmpty:"需要选项值",optionLabel:"选项{count}",options:"选项",or:"要么",order:"订购","panel.label.attrs":"属性","panel.label.conditions":"条件","panel.label.config":"组态","panel.label.meta":"元","panel.label.options":"选项","panelEditButtons.attrs":"+属性","panelEditButtons.conditions":"+条件","panelEditButtons.config":"+ 配置","panelEditButtons.options":"+选项",placeholder:"占位符","placeholder.className":"空间分隔的课程","placeholder.email":"输入您的电子邮件","placeholder.label":"标签","placeholder.password":"输入您的密码","placeholder.placeholder":"占位符","placeholder.text":"输入一些文字","placeholder.textarea":"输入大量文字","placeholder.value":"值",preview:"预习",primary:"主",remove:"去掉",removeMessage:"删除元素",removeType:"删除{type}",required:"需要",reset:"重启",richText:"富文本编辑器",roles:"访问",row:"行","row.makeInputGroup":"将此行设为输入组。","row.makeInputGroupDesc":"输入组使用户可以一次添加输入集。","row.settings.fieldsetWrap":"在&lt; fieldset&gt;中换行。标签","row.settings.fieldsetWrap.aria":"在Fieldset中换行",save:"保存",secondary:"次要",select:"选择",selectColor:"选择颜色",selectionsMessage:"允许多个选择",selectOptions:"选项",separator:"分隔器",settings:"设置",size:"尺寸",sizes:"尺寸","sizes.lg":"大","sizes.m":"默认","sizes.sm":"小","sizes.xs":"超小",style:"样式",styles:"样式","styles.btn":"按钮样式","styles.btn.danger":"危险","styles.btn.default":"默认","styles.btn.info":"信息","styles.btn.primary":"主","styles.btn.success":"成功","styles.btn.warning":"警告",subtype:"类型",success:"成功",text:"文本域",then:"然后","then.condition.target.placeholder":"目标",toggle:"切换",ungrouped:"A-分组",warning:"警告",yes:"是"},"zh-HK":{"zh-HK":"中文(中國香港特別行政區)",dir:"ltr","en-US":"英語","af-ZA":"南非荷蘭文(南非)","ar-TN":"阿拉伯文(突尼西亞)","cs-CZ":"捷克文(捷克)","de-DE":"德文(德國)","es-ES":"歐洲西班牙文","fa-IR":"波斯文(伊朗)","fi-FI":"芬蘭文(芬蘭)","fr-FR":"法文(法國)","he-IL":"希伯來文(以色列)","hi-IN":"印地文(印度)","hu-HU":"匈牙利文(匈牙利)","it-IT":"意大利文(意大利)","ja-JP":"日文(日本)","nb-NO":"巴克摩挪威文(挪威)","pl-PL":"波蘭文(波蘭)","pt-BR":"巴西葡萄牙文","pt-PT":"歐洲葡萄牙文","ro-RO":"羅馬尼亞文(羅馬尼亞)","ru-RU":"俄文(俄羅斯)","th-TH":"泰文(泰國)","tr-TR":"土耳其文(土耳其)","zh-CN":"中文(中國)","action.add.attrs.attr":"您想新增什麼屬性?","action.add.attrs.value":"預設值",addOption:"新增選項",allFieldsRemoved:"所有欄位均已刪除。",allowSelect:"允許選擇",and:"和",attribute:"屬性",attributeNotPermitted:"不允許使用屬性“{attribute}”,請選擇其他屬性。",attributes:"屬性","attrs.class":"班級","attrs.className":"班級","attrs.dir":"方向","attrs.id":"ID","attrs.required":"必需的","attrs.style":"風格","attrs.title":"標題","attrs.type":"類型","attrs.value":"價值",autocomplete:"自動完成",button:"按鈕",cancel:"取消",cannotBeEmpty:"該欄位不能為空",cannotClearFields:"沒有要清除的字段",checkbox:"複選框",checkboxes:"複選框",class:"班級",clear:"清除",clearAllMessage:"您確定要清除所有欄位嗎?",close:"關閉",column:"柱子","condition.target.placeholder":"目標","condition.type.and":"和","condition.type.if":"如果","condition.type.or":"或者","condition.type.then":"然後","condition.value.placeholder":"價值",confirmClearAll:"您確定要刪除所有欄位嗎?",content:"內容",control:"控制","controlGroups.nextGroup":"下一組","controlGroups.prevGroup":"上一組","controls.filteringTerm":"過濾“{term}”","controls.form.button":"按鈕","controls.form.checkbox-group":"複選框組","controls.form.input.date":"日期","controls.form.input.email":"電子郵件","controls.form.input.file":"文件上傳","controls.form.input.hidden":"隱藏輸入","controls.form.input.number":"數位","controls.form.input.text":"文字輸入","controls.form.radio-group":"無線電集團","controls.form.select":"選擇","controls.form.textarea":"文字區","controls.groups.form":"表單字段","controls.groups.html":"HTML 元素","controls.groups.layout":"佈局","controls.html.divider":"分音器","controls.html.header":"標頭","controls.html.paragraph":"段落","controls.layout.column":"柱子","controls.layout.row":"排",copy:"複製到剪貼簿",danger:"危險",defineColumnLayout:"定義列佈局",defineColumnWidths:"定義列寬",description:"幫助文本",descriptionField:"描述","editing.row":"編輯行",editorTitle:"表單元素",field:"場地","field.property.invalid":"無效","field.property.isChecked":"已檢查","field.property.isNotVisible":"不可見","field.property.isVisible":"是可見的","field.property.label":"標籤","field.property.valid":"有效的","field.property.value":"價值",fieldNonEditable:"該字段無法編輯。",fieldRemoveWarning:"您確定要刪除該欄位嗎?",fileUpload:"文件上傳",formUpdated:"表格已更新",getStarted:"從右側拖曳一個欄位即可開始。",group:"團體",grouped:"分組",hidden:"隱藏輸入",hide:"編輯",htmlElements:"HTML 元素",if:"如果","if.condition.source.placeholder":"來源","if.condition.target.placeholder":"目標/價值",info:"資訊","input.date":"日期","input.text":"文字",label:"標籤",labelCount:"{標籤} {計數}",labelEmpty:"字段標籤不能為空","lang.af":"非洲人","lang.ar":"阿拉伯","lang.cs":"捷克語","lang.de":"德文","lang.en":"英語","lang.es":"西班牙語","lang.fa":"波斯語","lang.fi":"芬蘭","lang.fr":"法語","lang.he":"希伯來文","lang.hi":"印地文","lang.hu":"匈牙利","lang.it":"義大利語","lang.ja":"日本人","lang.nb":"挪威博克馬爾語","lang.pl":"拋光","lang.pt":"葡萄牙語","lang.ro":"羅馬尼亞語","lang.ru":"俄文","lang.th":"泰國","lang.tr":"土耳其","lang.zh":"中國人",layout:"佈局",limitRole:"限制對以下一個或多個角色的存取:",mandatory:"強制的",maxlength:"最大長度","meta.group":"團體","meta.icon":"伊科","meta.label":"標籤",minOptionMessage:"該欄位至少需要 2 個選項",name:"姓名",newOptionLabel:"新型}",no:"不",number:"數位",off:"離開",on:"在","operator.contains":"包含","operator.equals":"等於","operator.notContains":"不包含","operator.notEquals":"不等於","operator.notVisible":"不可見","operator.visible":"可見的",option:"選項",optional:"選修的",optionEmpty:"所需選項值",optionLabel:"選項{計數}",options:"選項",or:"或者",order:"命令","panel.label.attrs":"屬性","panel.label.conditions":"狀況","panel.label.config":"配置","panel.label.meta":"元","panel.label.options":"選項","panelEditButtons.attrs":"+ 屬性","panelEditButtons.conditions":"+ 條件","panelEditButtons.config":"+ 配置","panelEditButtons.options":"+ 選項",placeholder:"佔位符","placeholder.className":"空間分隔的類別","placeholder.email":"輸入您的電子郵件","placeholder.label":"標籤","placeholder.password":"輸入您的密碼","placeholder.placeholder":"佔位符","placeholder.text":"輸入一些文字","placeholder.textarea":"輸入大量文字","placeholder.value":"價值",preview:"預覽",primary:"基本的",remove:"消除",removeMessage:"刪除元素",removeType:"刪除{類型}",required:"必需的",reset:"重置",richText:"富文本編輯器",roles:"使用權",row:"排","row.makeInputGroup":"使該行成為輸入組。","row.makeInputGroupDesc":"輸入群組使用戶能夠一次添加多組輸入。","row.settings.fieldsetWrap":"將行換行到 <fieldset> 中標籤","row.settings.fieldsetWrap.aria":"在 Fieldset 中換行",save:"節省",secondary:"中學",select:"選擇",selectColor:"選擇顏色",selectionsMessage:"允許多項選擇",selectOptions:"選項",separator:"分離器",settings:"設定",size:"尺寸",sizes:"尺寸","sizes.lg":"大的","sizes.m":"預設","sizes.sm":"小的","sizes.xs":"特小號",style:"風格",styles:"風格","styles.btn":"按鈕樣式","styles.btn.danger":"危險","styles.btn.default":"預設","styles.btn.info":"資訊","styles.btn.primary":"基本的","styles.btn.success":"成功","styles.btn.warning":"警告",subtype:"類型",success:"成功",text:"文字欄位",then:"然後","then.condition.target.placeholder":"目標",toggle:"切換",ungrouped:"未分組",warning:"警告",yes:"是的"}},Xh=[te["af-ZA"],te["ar-TN"],te["cs-CZ"],te["de-DE"],te["en-US"],te["es-ES"],te["fa-IR"],te["fi-FI"],te["fr-FR"],te["he-IL"],te["hi-IN"],te["hu-HU"],te["it-IT"],te["ja-JP"],te["nb-NO"],te["pl-PL"],te["pt-BR"],te["pt-PT"],te["ro-RO"],te["ru-RU"],te["th-TH"],te["tr-TR"],te["zh-CN"],te["zh-HK"]];var Jh=te["af-ZA"],ep=te["ar-TN"],tp=te["cs-CZ"],ip=te["de-DE"],Ns=te["en-US"],np=te["es-ES"],rp=te["fa-IR"],op=te["fi-FI"],sp=te["fr-FR"],ap=te["he-IL"],lp=te["hi-IN"],cp=te["hu-HU"],up=te["it-IT"],dp=te["ja-JP"],hp=te["nb-NO"],pp=te["pl-PL"],fp=te["pt-BR"],gp=te["pt-PT"],mp=te["ro-RO"],vp=te["ru-RU"],yp=te["th-TH"],bp=te["tr-TR"],wp=te["zh-CN"],Cp=te["zh-HK"];Object.freeze({method:"GET",body:""});var hr={extension:".lang",location:"assets/lang/",langs:["en-US"],locale:"en-US",override:{}},qt=null,eo=new Proxy(class ii{constructor(i=hr){this.langs=Object.create(null),this.loaded=[],this.processConfig(i)}processConfig(i){const{location:t,...n}={...hr,...i},m=t.endsWith("/")?t:`${t}/`;this.config={location:m,...n};const{preloaded:f={},override:g={}}=this.config,c=new Set([...Object.keys(f),...Object.keys(g)]);for(const o of c){const h={...f[o]||{},...g[o]||{}};this.applyLanguage(o,h)}this.locale=this.config.locale||this.config.langs[0]}init(i){return this.processConfig({...this.config,...i}),this.setCurrent(this.locale)}addLanguage(i,t={}){t=typeof t=="string"?ii.processFile(t):t,this.applyLanguage(i,t),this.loaded.push(i),this.config.langs.push(i)}getValue(i,t=this.locale){return this.langs[t]?.[i]||this.getFallbackValue(i)}getFallbackValue(i){return Object.values(this.langs).find(t=>t[i])?.[i]}makeSafe(i){const t={"{":String.raw`\{`,"}":String.raw`\}`,"|":String.raw`\|`},n=i.replaceAll(/[{}|]/g,m=>t[m]);return new RegExp(n,"g")}put(i,t){return this.current[i]=t,t}get(i,t){let n=this.getValue(i);if(!n)return;if(!t)return n;const m=n.match(/\{[^}]+?\}/g);if(!m)return n;if(typeof t=="object")for(const f of m){const g=f.slice(1,-1);n=n.replace(this.makeSafe(f),t[g]??"")}else n=n.replaceAll(/\{[^}]+?\}/g,t);return n}static processFile(i){return eo.fromFile(i.replaceAll(`
8
+ var ws=Object.create,ii=Object.defineProperty,Cs=Object.getOwnPropertyDescriptor,Ss=Object.getOwnPropertyNames,xs=Object.getPrototypeOf,Es=Object.prototype.hasOwnProperty,j=(e,i)=>()=>(i||(e((i={exports:{}}).exports,i),e=null),i.exports),As=(e,i)=>{let t={};for(var n in e)ii(t,n,{get:e[n],enumerable:!0});return i||ii(t,Symbol.toStringTag,{value:"Module"}),t},ks=(e,i,t,n)=>{if(i&&typeof i=="object"||typeof i=="function")for(var m=Ss(i),f=0,g=m.length,c;f<g;f++)c=m[f],!Es.call(e,c)&&c!==t&&ii(e,c,{get:(o=>i[o]).bind(null,c),enumerable:!(n=Cs(i,c))||n.enumerable});return e},yt=(e,i,t)=>(t=e!=null?ws(xs(e)):{},ks(i||!e||!e.__esModule?ii(t,"default",{value:e,enumerable:!0}):t,e));(function(){const i=document.createElement("link").relList;if(i&&i.supports&&i.supports("modulepreload"))return;for(const m of document.querySelectorAll('link[rel="modulepreload"]'))n(m);new MutationObserver(m=>{for(const f of m)if(f.type==="childList")for(const g of f.addedNodes)g.tagName==="LINK"&&g.rel==="modulepreload"&&n(g)}).observe(document,{childList:!0,subtree:!0});function t(m){const f={};return m.integrity&&(f.integrity=m.integrity),m.referrerPolicy&&(f.referrerPolicy=m.referrerPolicy),m.crossOrigin==="use-credentials"?f.credentials="include":m.crossOrigin==="anonymous"?f.credentials="omit":f.credentials="same-origin",f}function n(m){if(m.ep)return;m.ep=!0;const f=t(m);fetch(m.href,f)}})();var ee={"af-ZA":{"af-ZA":"Afrikaans (Suid-Afrika)",dir:"ltr","en-US":"Engels","ar-TN":"Arabies (Tunisië)","cs-CZ":"Tsjeggies (Tsjeggië)","de-DE":"Duits (Duitsland)","es-ES":"Spaans (Spanje)","fa-IR":"Persies (Iran)","fi-FI":"Fins (Finland)","fr-FR":"Frans (Frankryk)","he-IL":"Hebreeus (Israel)","hi-IN":"Hindi (Indië)","hu-HU":"Hongaars (Hongarye)","it-IT":"Italiaans (Italië)","ja-JP":"Japannees (Japan)","nb-NO":"Boeknoors (Noorweë)","pl-PL":"Pools (Pole)","pt-BR":"Portugees (Brasilië)","pt-PT":"Portugees (Portugal)","ro-RO":"Roemeens (Roemenië)","ru-RU":"Russies (Rusland)","th-TH":"Thai (Thailand)","tr-TR":"Turks (Turkye)","zh-CN":"Chinees (China)","zh-HK":"Chinees (Hongkong SAS China)","action.add.attrs.attr":"Watter kenmerk wil jy byvoeg?","action.add.attrs.value":"Standaard waarde",addOption:"Voeg opsie by",allFieldsRemoved:"Alle velde is verwyder.",allowSelect:"Laat Kies toe",and:"en",attribute:"kenmerk",attributeNotPermitted:`Attribuut "{attribuut}" is nie toegelaat nie, kies asseblief 'n ander.`,attributes:"eienskappe","attrs.class":"klas","attrs.className":"klas","attrs.dir":"rigting","attrs.id":"id","attrs.required":"vereis","attrs.style":"styl","attrs.title":"Titel","attrs.type":"tipe","attrs.value":"waarde",autocomplete:"AutoComplete",button:"Button",cancel:"Kanselleer",cannotBeEmpty:"Hierdie veld kan nie leeg wees nie",cannotClearFields:"Daar is geen velde om skoon te maak nie",checkbox:"boks",checkboxes:"blok",class:"klas",clear:"duidelik",clearAllMessage:"Is jy seker jy wil alle velde skoonmaak?",close:"Naby",column:"kolom","condition.target.placeholder":"teiken","condition.type.and":"En","condition.type.if":"As","condition.type.or":"Of","condition.type.then":"Toe","condition.value.placeholder":"waarde",confirmClearAll:"Is jy seker jy wil alle velde verwyder?",content:"inhoud",control:"beheer","controlGroups.nextGroup":"Volgende Groep","controlGroups.prevGroup":"Vorige groep","controls.filteringTerm":'Filtering "{term}"',"controls.form.button":"Button","controls.form.checkbox-group":"Boks groep","controls.form.input.date":"datum","controls.form.input.email":"e-pos","controls.form.input.file":"Lêeroplaai","controls.form.input.hidden":"Versteek Input","controls.form.input.number":"aantal","controls.form.input.text":"Teksinvoer","controls.form.radio-group":"Radio Group","controls.form.select":"Kies","controls.form.textarea":"textarea","controls.groups.form":"Vorm velde","controls.groups.html":"HTML-elemente","controls.groups.layout":"uitleg","controls.html.divider":"deler","controls.html.header":"kop","controls.html.paragraph":"paragraaf","controls.layout.column":"kolom","controls.layout.row":"ry",copy:"Kopieer na Klembord",danger:"gevaar",defineColumnLayout:"Definieer 'n kolom uitleg",defineColumnWidths:"Definieer kolom breedtes",description:"Hulp teks",descriptionField:"beskrywing","editing.row":"Redigeer tans",editorTitle:"Vorm Elemente",field:"veld","field.property.invalid":"nie geldig","field.property.isChecked":"gekontroleer word","field.property.isNotVisible":"is nie sigbaar nie","field.property.isVisible":"is sigbaar","field.property.label":"etiket","field.property.valid":"geldig","field.property.value":"waarde",fieldNonEditable:"Hierdie veld kan nie geredigeer word nie.",fieldRemoveWarning:"Is jy seker jy wil hierdie veld verwyder?",fileUpload:"Lêeroplaai",formUpdated:"Vorm Opdateer",getStarted:"Sleep 'n veld van regs om te begin.",group:"groep",grouped:"gegroepeer",hidden:"Versteek Input",hide:"wysig",htmlElements:"HTML-elemente",if:"As","if.condition.source.placeholder":"bron","if.condition.target.placeholder":"teiken / waarde",info:"info","input.date":"datum","input.text":"teks",label:"Etiket",labelCount:"{label} {count}",labelEmpty:"Veldetiket kan nie leeg wees nie","lang.af":"Afrikaans","lang.ar":"Arabies","lang.cs":"Tsjeggies","lang.de":"Duits","lang.en":"Engels","lang.es":"Spaans","lang.fa":"Persies","lang.fi":"Fins","lang.fr":"Frans","lang.he":"Hebreeus","lang.hi":"Hindi","lang.hu":"Hongaars","lang.it":"Italiaans","lang.ja":"Japannese","lang.nb":"Noorse Bokmål","lang.pl":"Pools","lang.pt":"Portugees","lang.ro":"Roemeens","lang.ru":"Russies","lang.th":"Thai","lang.tr":"Turks","lang.zh":"Chinese",layout:"uitleg",limitRole:"Beperk toegang tot een of meer van die volgende rolle:",mandatory:"verpligte",maxlength:"Maksimum Lengte","meta.group":"groep","meta.icon":"Ico","meta.label":"Etiket",minOptionMessage:"Hierdie veld benodig 'n minimum van 2 opsies",name:"naam",newOptionLabel:"Nuwe {type}",no:"Geen",number:"aantal",off:"af",on:"op","operator.contains":"bevat","operator.equals":"gelyk","operator.notContains":"bevat nie","operator.notEquals":"nie gelyk nie","operator.notVisible":"nie sigbaar nie","operator.visible":"sigbaar",option:"Opsie",optional:"opsioneel",optionEmpty:"Opsie waarde vereis",optionLabel:"Opsie (tel)",options:"opsies",or:"of",order:"Orde","panel.label.attrs":"eienskappe","panel.label.conditions":"voorwaardes","panel.label.config":"opset","panel.label.meta":"meta","panel.label.options":"opsies","panelEditButtons.attrs":"+ Attribuut","panelEditButtons.conditions":"+ Toestand","panelEditButtons.config":"+ Konfigurasie","panelEditButtons.options":"+ Opsie",placeholder:"plekhouer","placeholder.className":"spasie geskeide klasse","placeholder.email":"Vul jou e-pos in","placeholder.label":"Etiket","placeholder.password":"Sleutel jou wagwoord in","placeholder.placeholder":"plekhouer","placeholder.text":"Voer 'n paar teks in","placeholder.textarea":"Vul baie teks in","placeholder.value":"waarde",preview:"voorskou",primary:"primêre",remove:"verwyder",removeMessage:"Verwyder Element",removeType:"Verwyder {tipe}",required:"vereis",reset:"herstel",richText:"Rich Text Editor",roles:"Toegang",row:"ry","row.makeInputGroup":"Maak hierdie ry 'n invoergroep.","row.makeInputGroupDesc":"Invoergroepe stel gebruikers in staat om stelle insette op 'n keer by te voeg.","row.settings.fieldsetWrap":"Wrap ry in 'n <velde> tag","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Save",secondary:"sekondêre",select:"Kies",selectColor:"Kies Kleur",selectionsMessage:"Laat meerdere keuses toe",selectOptions:"opsies",separator:"separator",settings:"instellings",size:"grootte",sizes:"groottes","sizes.lg":"groot","sizes.m":"verstek","sizes.sm":"klein","sizes.xs":"Ekstra Klein",style:"styl",styles:"style","styles.btn":"Knoppie styl","styles.btn.danger":"gevaar","styles.btn.default":"verstek","styles.btn.info":"info","styles.btn.primary":"primêre","styles.btn.success":"sukses","styles.btn.warning":"waarskuwing",subtype:"tipe",success:"sukses",text:"Teksveld",then:"dan","then.condition.target.placeholder":"teiken",toggle:"Toggle",ungrouped:"A-Gegroepeer",warning:"waarskuwing",yes:"Ja"},"ar-TN":{"ar-TN":"العربية (تونس)",dir:"rtl","en-US":"الإنجليزية","af-ZA":"الأفريقانية (جنوب أفريقيا)","cs-CZ":"التشيكية (التشيك)","de-DE":"الألمانية (ألمانيا)","es-ES":"الإسبانية الأوروبية","fa-IR":"الفارسية (إيران)","fi-FI":"الفنلندية (فنلندا)","fr-FR":"الفرنسية (فرنسا)","he-IL":"العبرية (إسرائيل)","hi-IN":"الهندية (الهند)","hu-HU":"الهنغارية (هنغاريا)","it-IT":"الإيطالية (إيطاليا)","ja-JP":"اليابانية (اليابان)","nb-NO":"النرويجية بوكمال (النرويج)","pl-PL":"البولندية (بولندا)","pt-BR":"البرتغالية البرازيلية","pt-PT":"البرتغالية الأوروبية","ro-RO":"الرومانية (رومانيا)","ru-RU":"الروسية (روسيا)","th-TH":"التايلاندية (تايلاند)","tr-TR":"التركية (تركيا)","zh-CN":"الصينية (الصين)","zh-HK":"الصينية (هونغ كونغ الصينية [منطقة إدارية خاصة])","action.add.attrs.attr":"ما هي السمة التي ترغب بإضافتها؟","action.add.attrs.value":"القيمة الافتراضية",addOption:"إضافة خيار",allFieldsRemoved:"تمّت إزالة جميع المجالات..",allowSelect:"السماح بالإختيار",and:"و",attribute:"يصف",attributeNotPermitted:'لا يُسمح بالسمة "{attribute}"، يرجى اختيار سمة أخرى.',attributes:"صفات","attrs.class":"فصل","attrs.className":"فصل","attrs.dir":"اتجاه","attrs.id":"بطاقة تعريف","attrs.required":"مطلوب","attrs.style":"أسلوب","attrs.title":"عنوان","attrs.type":"يكتب","attrs.value":"قيمة",autocomplete:"الإكمال التلقائي",button:"زر",cancel:"يلغي",cannotBeEmpty:"هذه المعلومة لا يمكن أن تكون فارغة",cannotClearFields:"لا توجد حقول لمسحها",checkbox:"خانة الاختيار",checkboxes:"خانات إختيار",class:"صنف",clear:"إفسخ",clearAllMessage:"هل أنت متأكد أنك تريد مسح كافة المعلومات؟",close:"أغلق",column:"عمود","condition.target.placeholder":"هدف","condition.type.and":"و","condition.type.if":"لو","condition.type.or":"أو","condition.type.then":"ثم","condition.value.placeholder":"قيمة",confirmClearAll:"هل أنت متأكد أنك تريد إزالة كافة الحقول؟",content:"محتوى",control:"يتحكم","controlGroups.nextGroup":"المجموعة التالية","controlGroups.prevGroup":"المجموعة السابقة","controls.filteringTerm":'تصفية "{term}"',"controls.form.button":"زر","controls.form.checkbox-group":"مجموعة خانات الاختيار","controls.form.input.date":"تاريخ","controls.form.input.email":"بريد إلكتروني","controls.form.input.file":"تحميل الملف","controls.form.input.hidden":"المدخلات المخفية","controls.form.input.number":"رقم","controls.form.input.text":"إدخال النص","controls.form.radio-group":"مجموعة الراديو","controls.form.select":"يختار","controls.form.textarea":"منطقة النص","controls.groups.form":"حقول النموذج","controls.groups.html":"عناصر HTML","controls.groups.layout":"تَخطِيط","controls.html.divider":"فاصل","controls.html.header":"رأس الصفحة","controls.html.paragraph":"فقرة","controls.layout.column":"عمود","controls.layout.row":"صف",copy:"نسخ إلى الحافظة",danger:"خطر",defineColumnLayout:"تحديد تخطيط العمود",defineColumnWidths:"تحديد عرض الأعمدة",description:"نص المساعدة",descriptionField:"وصف","editing.row":"تحرير الصف",editorTitle:"عناصر النموذج",field:"مجال","field.property.invalid":"غير صالح","field.property.isChecked":"تم التحقق","field.property.isNotVisible":"غير مرئي","field.property.isVisible":"هو مرئي","field.property.label":"ملصق","field.property.valid":"صالح","field.property.value":"قيمة",fieldNonEditable:"هذا الحقل لا يمكن تعديله.",fieldRemoveWarning:"هل حقا تريد حذف هذا المجال؟",fileUpload:"تحميل الملف",formUpdated:"تّم تحديث الإستمارة",getStarted:"إسحب إختيار(حقل) من اليمين إلى هذا المجال",group:"مجموعة",grouped:"مجمعة",hidden:"الإدخال مخفي",hide:"تحديث",htmlElements:"عناصر HTML",if:"لو","if.condition.source.placeholder":"مصدر","if.condition.target.placeholder":"الهدف / القيمة",info:"معلومات","input.date":"تاريخ","input.text":"نص",label:"التسمية",labelCount:"{التسمية} {العدد}",labelEmpty:"التسمية لا يمكن أن يكون فارغا","lang.af":"الأفريقي","lang.ar":"عربي","lang.cs":"التشيكية","lang.de":"الألمانية","lang.en":"إنجليزي","lang.es":"الأسبانية","lang.fa":"الفارسية","lang.fi":"الفنلندية","lang.fr":"فرنسي","lang.he":"العبرية","lang.hi":"الهندية","lang.hu":"المجرية","lang.it":"ايطالي","lang.ja":"اليابانية","lang.nb":"البوكمال النرويجية","lang.pl":"بولندي","lang.pt":"البرتغالية","lang.ro":"روماني","lang.ru":"الروسية","lang.th":"تايلاندي","lang.tr":"اللغة التركية","lang.zh":"الصينية",layout:"تَخطِيط",limitRole:"تقييد الوصول إلى واحد أو أكثر من الأدوار التالية:",mandatory:"إلزامي",maxlength:"الحد الاقصى للطول","meta.group":"مجموعة","meta.icon":"إيكو","meta.label":"ملصق",minOptionMessage:"يتطلب هذا المجال لا تقل عن 2 خيارات",name:"الإسم",newOptionLabel:"نوع جديد",no:"لا",number:"رقم",off:"عاطل",on:"مفعل","operator.contains":"يتضمن","operator.equals":"يساوي","operator.notContains":"لا يحتوي على","operator.notEquals":"ليس متساويا","operator.notVisible":"غير مرئي","operator.visible":"مرئي",option:"خيار",optional:"خيار",optionEmpty:"قيمة الخيار المطلوبة",optionLabel:"الخيار {العدد}",options:"خيارات",or:"أو",order:"طلب","panel.label.attrs":"صفات","panel.label.conditions":"شروط","panel.label.config":"إعدادات","panel.label.meta":"ميتا","panel.label.options":"خيارات","panelEditButtons.attrs":"+ السمة","panelEditButtons.conditions":"+ الحالة","panelEditButtons.config":"+ التكوين","panelEditButtons.options":"+ خيار",placeholder:"العنصر النائب","placeholder.className":"فئات مفصولة بمسافات","placeholder.email":"أدخل البريد الإلكتروني","placeholder.label":"تسمية","placeholder.password":"أدخل كلمة المرور","placeholder.placeholder":"العنصر النائب","placeholder.text":"أدخل بعض النص","placeholder.textarea":"إدخال الكثير من النص","placeholder.value":"القيمة",preview:"المعاينة",primary:"أساسي",remove:"&#215;",removeMessage:"إزالة عنصر",removeType:"إزالة {النوع}",required:"إجبارية",reset:"إعادة ضبط",richText:"محرر WYSIWYG",roles:"وصول",row:"صف","row.makeInputGroup":"اجعل هذا الصف مجموعة إدخال.","row.makeInputGroupDesc":"تتيح مجموعات الإدخال للمستخدمين إضافة مجموعات من المدخلات في وقت واحد.","row.settings.fieldsetWrap":"لف الصف في علامة &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":"لف الصف في مجموعة الحقول",save:"حفظ",secondary:"ثانوي",select:"للاختيار",selectColor:"اختيار اللون",selectionsMessage:"سماح اختيارات متعددة",selectOptions:"خيارات",separator:"فاصل",settings:"إعدادات",size:"حجم",sizes:"الأحجام","sizes.lg":"كبير","sizes.m":"تبعا للإعدادات الافتراضية","sizes.sm":"صغير","sizes.xs":"صغيرة اضافية",style:"شكل",styles:"الأشكال","styles.btn":"شكل الزر","styles.btn.danger":"خطر","styles.btn.default":"تبعا للإعدادات الافتراضية","styles.btn.info":"معلومات","styles.btn.primary":"أساسي","styles.btn.success":"نجاح","styles.btn.warning":"إعلام",subtype:"نوع",success:"نجاح",text:"الميدان النص",then:"ثم","then.condition.target.placeholder":"هدف",toggle:"نوع التبديل",ungrouped:"غير مجمعة",warning:"تحذير!",yes:"نعم"},"cs-CZ":{"cs-CZ":"čeština (Česko)",dir:"ltr","en-US":"angličtina","af-ZA":"afrikánština (Jihoafrická republika)","ar-TN":"arabština (Tunisko)","de-DE":"němčina (Německo)","es-ES":"španělština (Evropa)","fa-IR":"perština (Írán)","fi-FI":"finština (Finsko)","fr-FR":"francouzština (Francie)","he-IL":"hebrejština (Izrael)","hi-IN":"hindština (Indie)","hu-HU":"maďarština (Maďarsko)","it-IT":"italština (Itálie)","ja-JP":"japonština (Japonsko)","nb-NO":"norština (bokmål) (Norsko)","pl-PL":"polština (Polsko)","pt-BR":"portugalština (Brazílie)","pt-PT":"portugalština (Evropa)","ro-RO":"rumunština (Rumunsko)","ru-RU":"ruština (Rusko)","th-TH":"thajština (Thajsko)","tr-TR":"turečtina (Turecko)","zh-CN":"čínština (Čína)","zh-HK":"čínština (Hongkong – ZAO Číny)","action.add.attrs.attr":"Jaký atribut byste chtěli přidat?","action.add.attrs.value":"Výchozí hodnota",addOption:"Přidat možnost",allFieldsRemoved:"Všechna pole byla odstraněna.",allowSelect:"Povolit Vybrat",and:"a",attribute:"Atribut",attributeNotPermitted:'Atribut "{attribute}" není povolen, vyberte prosím jiný.',attributes:"Atributy","attrs.class":"Třída","attrs.className":"Třída","attrs.dir":"Směr","attrs.id":"Id","attrs.required":"Požadovaný","attrs.style":"Styl","attrs.title":"Titul","attrs.type":"Typ","attrs.value":"Hodnota",autocomplete:"Automatické doplňování",button:"Tlačítko",cancel:"Zrušit",cannotBeEmpty:"Toto pole nemůže být prázdné",cannotClearFields:"Nejsou zde žádná pole k vymazání",checkbox:"Zaškrtávací políčko",checkboxes:"Zaškrtávací políčka",class:"Třída",clear:"Jasný",clearAllMessage:"Opravdu chcete vymazat všechna pole?",close:"Blízko",column:"Sloupec","condition.target.placeholder":"cíl","condition.type.and":"A","condition.type.if":"Li","condition.type.or":"Nebo","condition.type.then":"Pak","condition.value.placeholder":"hodnota",confirmClearAll:"Opravdu chcete odstranit všechna pole?",content:"Obsah",control:"Řízení","controlGroups.nextGroup":"Další skupina","controlGroups.prevGroup":"Předchozí skupina","controls.filteringTerm":"Filtrování „{term}“","controls.form.button":"Tlačítko","controls.form.checkbox-group":"Skupina zaškrtávacích políček","controls.form.input.date":"Datum","controls.form.input.email":"E-mail","controls.form.input.file":"Nahrání souboru","controls.form.input.hidden":"Skrytý vstup","controls.form.input.number":"Číslo","controls.form.input.text":"Textový vstup","controls.form.radio-group":"Rozhlasová skupina","controls.form.select":"Vybrat","controls.form.textarea":"TextArea","controls.groups.form":"Pole formuláře","controls.groups.html":"HTML prvky","controls.groups.layout":"Rozložení","controls.html.divider":"Dělič","controls.html.header":"Záhlaví","controls.html.paragraph":"Odstavec","controls.layout.column":"Sloupec","controls.layout.row":"Řádek",copy:"Kopírovat do schránky",danger:"Nebezpečí",defineColumnLayout:"Definujte rozvržení sloupců",defineColumnWidths:"Definujte šířky sloupců",description:"Text nápovědy",descriptionField:"Popis","editing.row":"Editace řádku",editorTitle:"Prvky formuláře",field:"Pole","field.property.invalid":"neplatí","field.property.isChecked":"je zaškrtnuto","field.property.isNotVisible":"není vidět","field.property.isVisible":"je vidět","field.property.label":"označení","field.property.valid":"platný","field.property.value":"hodnota",fieldNonEditable:"Toto pole nelze upravit.",fieldRemoveWarning:"Opravdu chcete toto pole odstranit?",fileUpload:"Nahrání souboru",formUpdated:"Formulář aktualizován",getStarted:"Začněte přetažením pole zprava.",group:"Skupina",grouped:"Seskupené",hidden:"Skrytý vstup",hide:"Upravit",htmlElements:"HTML prvky",if:"Li","if.condition.source.placeholder":"zdroj","if.condition.target.placeholder":"cíl / hodnota",info:"Info","input.date":"Datum","input.text":"Text",label:"Označení",labelCount:"{label} {count}",labelEmpty:"Štítek pole nemůže být prázdný","lang.af":"Afričan","lang.ar":"arabština","lang.cs":"čeština","lang.de":"Němec","lang.en":"angličtina","lang.es":"španělština","lang.fa":"Peršan","lang.fi":"finština","lang.fr":"francouzština","lang.he":"hebrejština","lang.hi":"hindština","lang.hu":"maďarský","lang.it":"italština","lang.ja":"japonský","lang.nb":"norský bokmål","lang.pl":"polština","lang.pt":"portugalština","lang.ro":"rumunština","lang.ru":"ruština","lang.th":"thajština","lang.tr":"turečtina","lang.zh":"čínština",layout:"Rozložení",limitRole:"Omezte přístup k jedné nebo více z následujících rolí:",mandatory:"Povinné",maxlength:"Maximální délka","meta.group":"Skupina","meta.icon":"Ico","meta.label":"Označení",minOptionMessage:"Toto pole vyžaduje minimálně 2 možnosti",name:"Jméno",newOptionLabel:"Nový {type}",no:"Žádný",number:"Číslo",off:"Vypnuto",on:"Na","operator.contains":"obsahuje","operator.equals":"rovná se","operator.notContains":"neobsahuje","operator.notEquals":"ne rovné","operator.notVisible":"není vidět","operator.visible":"viditelné",option:"Volba",optional:"volitelný",optionEmpty:"Je vyžadována hodnota opce",optionLabel:"Možnost {count}",options:"Možnosti",or:"nebo",order:"Objednávka","panel.label.attrs":"Atributy","panel.label.conditions":"Podmínky","panel.label.config":"Konfigurace","panel.label.meta":"Meta","panel.label.options":"Možnosti","panelEditButtons.attrs":"+ Atribut","panelEditButtons.conditions":"+ Stav","panelEditButtons.config":"+ Konfigurace","panelEditButtons.options":"+ Možnost",placeholder:"Zástupný symbol","placeholder.className":"prostorově oddělené třídy","placeholder.email":"Zadejte svůj email","placeholder.label":"Označení","placeholder.password":"Zadejte své heslo","placeholder.placeholder":"Zástupný symbol","placeholder.text":"Zadejte nějaký text","placeholder.textarea":"Zadejte hodně textu","placeholder.value":"Hodnota",preview:"Náhled",primary:"Primární",remove:"Odstranit",removeMessage:"Odebrat prvek",removeType:"Odebrat {type}",required:"Požadovaný",reset:"Resetovat",richText:"Rich Text Editor",roles:"Přístup",row:"Řádek","row.makeInputGroup":"Udělejte z tohoto řádku vstupní skupinu.","row.makeInputGroupDesc":"Skupiny vstupů umožňují uživatelům přidávat sady vstupů najednou.","row.settings.fieldsetWrap":"Zabalte řádek do sady &lt;fieldset&gt; štítek","row.settings.fieldsetWrap.aria":"Zabalte řádek do sady polí",save:"Uložit",secondary:"Sekundární",select:"Vybrat",selectColor:"Vyberte Barva",selectionsMessage:"Povolit vícenásobný výběr",selectOptions:"Možnosti",separator:"Oddělovač",settings:"Nastavení",size:"Velikost",sizes:"Velikosti","sizes.lg":"Velký","sizes.m":"Výchozí","sizes.sm":"Malý","sizes.xs":"Extra malý",style:"Styl",styles:"Styly","styles.btn":"Styl tlačítka","styles.btn.danger":"Nebezpečí","styles.btn.default":"Výchozí","styles.btn.info":"Info","styles.btn.primary":"Primární","styles.btn.success":"Úspěch","styles.btn.warning":"Varování",subtype:"Typ",success:"Úspěch",text:"Textové pole",then:"Pak","then.condition.target.placeholder":"cíl",toggle:"Přepnout",ungrouped:"Un-grouped",warning:"Varování",yes:"Ano"},"de-DE":{"de-DE":"Deutsch (Deutschland)",dir:"ltr","en-US":"Englisch","af-ZA":"Afrikaans (Südafrika)","ar-TN":"Arabisch (Tunesien)","cs-CZ":"Tschechisch (Tschechien)","es-ES":"Spanisch (Spanien)","fa-IR":"Persisch (Iran)","fi-FI":"Finnisch (Finnland)","fr-FR":"Französisch (Frankreich)","he-IL":"Hebräisch (Israel)","hi-IN":"Hindi (Indien)","hu-HU":"Ungarisch (Ungarn)","it-IT":"Italienisch (Italien)","ja-JP":"Japanisch (Japan)","nb-NO":"Norwegisch (Bokmål) (Norwegen)","pl-PL":"Polnisch (Polen)","pt-BR":"Portugiesisch (Brasilien)","pt-PT":"Portugiesisch (Portugal)","ro-RO":"Rumänisch (Rumänien)","ru-RU":"Russisch (Russland)","th-TH":"Thailändisch (Thailand)","tr-TR":"Türkisch (Türkei)","zh-CN":"Chinesisch (China)","zh-HK":"Chinesisch (Sonderverwaltungsregion Hongkong)","action.add.attrs.attr":"Welches Attribut möchten Sie hinzufügen?","action.add.attrs.value":"Standardwert",addOption:"Option hinzufügen",allFieldsRemoved:"Alle Felder wurden entfernt.",allowSelect:"Auswahl zulassen",and:"und",attribute:"Attribut",attributeNotPermitted:'Attribut "{Attribut}" ist nicht zulässig, bitte wählen Sie ein anderes.',attributes:"Attribute","attrs.class":"Klasse","attrs.className":"Klasse","attrs.dir":"Richtung","attrs.id":"Ich würde","attrs.required":"Erforderlich","attrs.style":"Stil","attrs.title":"Titel","attrs.type":"Art","attrs.value":"Wert",autocomplete:"Autovervollständigung",button:"Taste",cancel:"Stornieren",cannotBeEmpty:"Dieses Feld kann nicht leer sein",cannotClearFields:"Es gibt keine zu löschenden Felder",checkbox:"Ankreuzfeld",checkboxes:"Ankreuzfelder",class:"Klasse",clear:"klar",clearAllMessage:"Möchten Sie wirklich alle Felder löschen?",close:"Schließen",column:"Säule","condition.target.placeholder":"Ziel","condition.type.and":"Und","condition.type.if":"Wenn","condition.type.or":"Oder","condition.type.then":"Dann","condition.value.placeholder":"Wert",confirmClearAll:"Möchten Sie wirklich alle Felder entfernen?",content:"Inhalt",control:"Steuerung","controlGroups.nextGroup":"Nächste Gruppe","controlGroups.prevGroup":"Vorherige Gruppe","controls.filteringTerm":'Filtern "{Begriff}"',"controls.form.button":"Taste","controls.form.checkbox-group":"Kontrollkästchen Gruppe","controls.form.input.date":"Datum","controls.form.input.email":"Email","controls.form.input.file":"Datei-Upload","controls.form.input.hidden":"Versteckte Eingabe","controls.form.input.number":"Nummer","controls.form.input.text":"Text Eingabe","controls.form.radio-group":"Radio-Gruppe","controls.form.select":"Wählen","controls.form.textarea":"TextArea","controls.groups.form":"Formularfelder","controls.groups.html":"HTML-Elemente","controls.groups.layout":"Layout","controls.html.divider":"Teiler","controls.html.header":"Header","controls.html.paragraph":"Absatz","controls.layout.column":"Säule","controls.layout.row":"Reihe",copy:"In die Zwischenablage kopieren",danger:"Achtung",defineColumnLayout:"Definieren Sie ein Spaltenlayout",defineColumnWidths:"Spaltenbreiten definieren",description:"Hilfstext",descriptionField:"Beschreibung","editing.row":"Zeile bearbeiten",editorTitle:"Formularelemente",field:"Feld","field.property.invalid":"ungültig","field.property.isChecked":"wird geprüft","field.property.isNotVisible":"ist nicht sichtbar","field.property.isVisible":"ist sichtbar","field.property.label":"Etikette","field.property.valid":"gültig","field.property.value":"Wert",fieldNonEditable:"Dieses Feld kann nicht bearbeitet werden.",fieldRemoveWarning:"Möchten Sie dieses Feld wirklich entfernen?",fileUpload:"Datei-Upload",formUpdated:"Formular aktualisiert",getStarted:"Ziehen Sie ein Feld von rechts, um zu beginnen.",group:"Gruppe",grouped:"Gruppiert",hidden:"Versteckte Eingabe",hide:"Bearbeiten",htmlElements:"HTML-Elemente",if:"Ob","if.condition.source.placeholder":"Quelle","if.condition.target.placeholder":"Zielwert",info:"Info","input.date":"Datum","input.text":"Text",label:"Etikette",labelCount:"{label} {count}",labelEmpty:"Feldbezeichnung darf nicht leer sein","lang.af":"afrikanisch","lang.ar":"Arabisch","lang.cs":"tschechisch","lang.de":"Deutsch","lang.en":"Englisch","lang.es":"Spanisch","lang.fa":"persisch","lang.fi":"finnisch","lang.fr":"Französisch","lang.he":"Hebräisch","lang.hi":"Hindi","lang.hu":"ungarisch","lang.it":"Italienisch","lang.ja":"japanisch","lang.nb":"Norwegisches Bokmål","lang.pl":"Polieren","lang.pt":"Portugiesisch","lang.ro":"rumänisch","lang.ru":"Russisch","lang.th":"Thai","lang.tr":"Türkisch","lang.zh":"chinesisch",layout:"Layout",limitRole:"Beschränken Sie den Zugriff auf eine oder mehrere der folgenden Rollen:",mandatory:"Verpflichtend",maxlength:"Maximale Länge","meta.group":"Gruppe","meta.icon":"Ico","meta.label":"Etikette",minOptionMessage:"Dieses Feld erfordert mindestens 2 Optionen",name:"Name",newOptionLabel:"Neuer Typ}",no:"Nein",number:"Nummer",off:"aus",on:"Auf","operator.contains":"enthält","operator.equals":"gleich","operator.notContains":"enthält nicht","operator.notEquals":"nicht gleich","operator.notVisible":"nicht sichtbar","operator.visible":"sichtbar",option:"Möglichkeit",optional:"wahlweise",optionEmpty:"Optionswert erforderlich",optionLabel:"Option {count}",options:"Optionen",or:"oder",order:"Auftrag","panel.label.attrs":"Attribute","panel.label.conditions":"Bedingungen","panel.label.config":"Aufbau","panel.label.meta":"Meta","panel.label.options":"Optionen","panelEditButtons.attrs":"+ Attribut","panelEditButtons.conditions":"+ Bedingung","panelEditButtons.config":"+ Konfiguration","panelEditButtons.options":"+ Wahl",placeholder:"Platzhalter","placeholder.className":"Leerzeichen getrennte Klassen","placeholder.email":"Geben Sie Ihre E-Mail ein","placeholder.label":"Etikette","placeholder.password":"Geben Sie Ihr Passwort ein","placeholder.placeholder":"Platzhalter","placeholder.text":"Geben Sie einen Text ein","placeholder.textarea":"Geben Sie viel Text ein","placeholder.value":"Wert",preview:"Vorschau",primary:"Primär",remove:"Löschen",removeMessage:"Element entfernen",removeType:"{Type} entfernen",required:"Erforderlich",reset:"Zurücksetzen",richText:"Rich-Text-Editor",roles:"Zugriff",row:"Reihe","row.makeInputGroup":"Machen Sie diese Zeile zu einer Eingabegruppe.","row.makeInputGroupDesc":"Eingabegruppen ermöglichen Benutzern das Hinzufügen von Eingabesätzen gleichzeitig.","row.settings.fieldsetWrap":"Zeilenumbruch in einem & lt; -Feldset & gt; Etikett","row.settings.fieldsetWrap.aria":"Zeile in Fieldset umbrechen",save:"sparen",secondary:"Sekundär",select:"Wählen",selectColor:"Wähle Farbe",selectionsMessage:"Mehrfachauswahl zulassen",selectOptions:"Optionen",separator:"Separator",settings:"die Einstellungen",size:"Größe",sizes:"Größen","sizes.lg":"Groß","sizes.m":"Standard","sizes.sm":"Klein","sizes.xs":"Extra klein",style:"Stil",styles:"Styles","styles.btn":"Button Style","styles.btn.danger":"Achtung","styles.btn.default":"Standard","styles.btn.info":"Info","styles.btn.primary":"Primär","styles.btn.success":"Erfolg","styles.btn.warning":"Warnung",subtype:"Art",success:"Erfolg",text:"Textfeld",then:"Dann","then.condition.target.placeholder":"Ziel",toggle:"Umschalten",ungrouped:"A-gruppierte",warning:"Warnung",yes:"Ja"},"en-US":{"en-US":"English",dir:"ltr","af-ZA":"Afrikaans (South Africa)","ar-TN":"Arabic (Tunisia)","cs-CZ":"Czech (Czechia)","de-DE":"German (Germany)","es-ES":"European Spanish","fa-IR":"Persian (Iran)","fi-FI":"Finnish (Finland)","fr-FR":"French (France)","hu-HU":"Hungarian (Hungary)","it-IT":"Italian (Italy)","ja-JP":"Japanese (Japan)","nb-NO":"Norwegian Bokmål (Norway)","pl-PL":"Polish (Poland)","pt-BR":"Brazilian Portuguese","pt-PT":"European Portuguese","ro-RO":"Romanian (Romania)","ru-RU":"Russian (Russia)","th-TH":"Thai (Thailand)","tr-TR":"Turkish (Türkiye)","zh-CN":"Chinese (China)","zh-HK":"Chinese (Hong Kong SAR China)","action.add.attrs.attr":"What attribute would you like to add?","action.add.attrs.value":"Default Value",addOption:"Add Option",allFieldsRemoved:"All fields were removed.",allowSelect:"Allow Select",and:"and",attribute:"Attribute",attributeNotPermitted:'Attribute "{attribute}" is not permitted, please choose another.',attributes:"Attributes","attrs.class":"Class","attrs.className":"Class","attrs.dir":"Direction","attrs.id":"Id","attrs.required":"Required","attrs.style":"Style","attrs.title":"Title","attrs.type":"Type","attrs.value":"Value",autocomplete:"Autocomplete",button:"Button",cannotBeEmpty:"This field cannot be empty",cannotClearFields:"There are no fields to clear",checkbox:"Checkbox",checkboxes:"Checkboxes",class:"Class",clear:"Clear",clearAllMessage:"Are you sure you want to clear all fields?",close:"Close",column:"Column","condition.target.placeholder":"target","condition.type.and":"And","condition.type.if":"If","condition.type.or":"Or","condition.type.then":"Then","condition.value.placeholder":"value",confirmClearAll:"Are you sure you want to remove all fields?",content:"Content",control:"Control","controlGroups.nextGroup":"Next Group","controlGroups.prevGroup":"Previous Group","controls.filteringTerm":'Filtering "{term}"',"controls.form.button":"Button","controls.form.checkbox-group":"Checkbox Group","controls.form.input.date":"Date","controls.form.input.email":"Email","controls.form.input.file":"File Upload","controls.form.input.hidden":"Hidden Input","controls.form.input.number":"Number","controls.form.input.text":"Text Input","controls.form.radio-group":"Radio Group","controls.form.select":"Select","controls.form.textarea":"TextArea","controls.groups.form":"Form Fields","controls.groups.html":"HTML Elements","controls.groups.layout":"Layout","controls.html.divider":"Divider","controls.html.header":"Header","controls.html.paragraph":"Paragraph","controls.layout.column":"Column","controls.layout.row":"Row",copy:"Copy To Clipboard",danger:"Danger",defineColumnLayout:"Define a column layout",defineColumnWidths:"Define column widths",description:"Help Text",descriptionField:"Description","editing.row":"Editing Row",editorTitle:"Form Elements",field:"Field","field.property.invalid":"not valid","field.property.isChecked":"is checked","field.property.isNotVisible":"is not visible","field.property.isVisible":"is visible","field.property.label":"label","field.property.valid":"valid","field.property.value":"value",fieldNonEditable:"This field cannot be edited.",fieldRemoveWarning:"Are you sure you want to remove this field?",fileUpload:"File Upload",formUpdated:"Form Updated",getStarted:"Drag a field from the right to get started.",group:"Group",grouped:"Grouped",hidden:"Hidden Input",hide:"Edit",htmlElements:"HTML Elements",if:"If","if.condition.source.placeholder":"source","if.condition.target.placeholder":"target / value",info:"Info","input.date":"Date","input.text":"Text",label:"Label",labelCount:"{label} {count}",labelEmpty:"Field Label cannot be empty","lang.af":"Afrikaans","lang.ar":"Arabic","lang.cs":"Czech","lang.de":"German","lang.en":"English","lang.es":"Spanish","lang.fa":"Persian","lang.fi":"Finnish","lang.fr":"French","lang.hu":"Hungarian","lang.it":"Italian","lang.ja":"Japanese","lang.nb":"Norwegian Bokmål","lang.pl":"Polish","lang.pt":"Portuguese","lang.ro":"Romanian","lang.ru":"Russian","lang.th":"Thai","lang.tr":"Turkish","lang.zh":"Chinese",layout:"Layout",limitRole:"Limit access to one or more of the following roles:",mandatory:"Mandatory",maxlength:"Max Length","meta.group":"Group","meta.icon":"Ico","meta.label":"Label",minOptionMessage:"This field requires a minimum of 2 options",name:"Name",newOptionLabel:"New {type}",no:"No",number:"Number",off:"Off",on:"On","operator.contains":"contains","operator.equals":"equals","operator.notContains":"not contains","operator.notEquals":"not equal","operator.notVisible":"not visible","operator.visible":"visible",option:"Option",optional:"optional",optionEmpty:"Option value required",optionLabel:"Option {count}",options:"Options",or:"or",order:"Order","panel.label.attrs":"Attributes","panel.label.conditions":"Conditions","panel.label.config":"Configuration","panel.label.meta":"Meta","panel.label.options":"Options","panelEditButtons.attrs":"+ Attribute","panelEditButtons.conditions":"+ Condition","panelEditButtons.options":"+ Option","panelEditButtons.config":"+ Configuration",placeholder:"Placeholder","placeholder.className":"space separated classes","placeholder.email":"Enter you email","placeholder.label":"Label","placeholder.password":"Enter your password","placeholder.placeholder":"Placeholder","placeholder.text":"Enter some Text","placeholder.textarea":"Enter a lot of text","placeholder.value":"Value",preview:"Preview",primary:"Primary",remove:"Remove",removeMessage:"Remove Element",removeType:"Remove {type}",required:"Required",reset:"Reset",richText:"Rich Text Editor",roles:"Access",row:"Row","row.makeInputGroup":"Make this row an input group.","row.makeInputGroupDesc":"Input Groups enable users to add sets of inputs at a time.","row.settings.fieldsetWrap":"Wrap row in a &lt;fieldset&gt; tag","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Save",cancel:"Cancel",secondary:"Secondary",select:"Select",selectColor:"Select Color",selectionsMessage:"Allow Multiple Selections",selectOptions:"Options",separator:"Separator",settings:"Settings",size:"Size",sizes:"Sizes","sizes.lg":"Large","sizes.m":"Default","sizes.sm":"Small","sizes.xs":"Extra Small",style:"Style",styles:"Styles","styles.btn":"Button Style","styles.btn.danger":"Danger","styles.btn.default":"Default","styles.btn.info":"Info","styles.btn.primary":"Primary","styles.btn.success":"Success","styles.btn.warning":"Warning",subtype:"Type",success:"Success",text:"Text Field",then:"Then","then.condition.target.placeholder":"target",toggle:"Toggle",ungrouped:"Un-Grouped",warning:"Warning",yes:"Yes"},"es-ES":{"es-ES":"español de España",dir:"ltr","en-US":"Inglés","af-ZA":"afrikáans (Sudáfrica)","ar-TN":"árabe (Túnez)","cs-CZ":"checo (Chequia)","de-DE":"alemán (Alemania)","fa-IR":"persa (Irán)","fi-FI":"finés (Finlandia)","fr-FR":"francés (Francia)","he-IL":"hebreo (Israel)","hi-IN":"hindi (India)","hu-HU":"húngaro (Hungría)","it-IT":"italiano (Italia)","ja-JP":"japonés (Japón)","nb-NO":"noruego bokmal (Noruega)","pl-PL":"polaco (Polonia)","pt-BR":"portugués de Brasil","pt-PT":"portugués de Portugal","ro-RO":"rumano (Rumanía)","ru-RU":"ruso (Rusia)","th-TH":"tailandés (Tailandia)","tr-TR":"turco (Turquía)","zh-CN":"chino (China)","zh-HK":"chino (RAE de Hong Kong [China])","action.add.attrs.attr":"¿Qué atributo te gustaría agregar?","action.add.attrs.value":"Valor por defecto",addOption:"Añadir opción",allFieldsRemoved:"Todos los campos fueron eliminados.",allowSelect:"Permitir seleccionar",and:"y",attribute:"Atributo",attributeNotPermitted:'El atributo "{attribute}" no está permitido, elija otro.',attributes:"Atributos","attrs.class":"Clase","attrs.className":"Clase","attrs.dir":"Dirección","attrs.id":"Carné de identidad","attrs.required":"Necesario","attrs.style":"Estilo","attrs.title":"Título","attrs.type":"Tipo","attrs.value":"Valor",autocomplete:"Autocompletar",button:"Botón",cancel:"Cancelar",cannotBeEmpty:"Este campo no puede estar vacío",cannotClearFields:"No hay campos para borrar",checkbox:"Caja",checkboxes:"Casillas de verificación",class:"Clase",clear:"Claro",clearAllMessage:"¿Estás seguro de que quieres borrar todos los campos?",close:"Cerrar",column:"Columna","condition.target.placeholder":"objetivo","condition.type.and":"Y","condition.type.if":"Si","condition.type.or":"O","condition.type.then":"Entonces","condition.value.placeholder":"valor",confirmClearAll:"¿Estás seguro de que quieres eliminar todos los campos?",content:"Contenido",control:"Controlar","controlGroups.nextGroup":"Siguiente grupo","controlGroups.prevGroup":"Grupo anterior","controls.filteringTerm":'Filtrado "{term}"',"controls.form.button":"Botón","controls.form.checkbox-group":"Grupo de casilla de verificación","controls.form.input.date":"Fecha","controls.form.input.email":"Email","controls.form.input.file":"Subir archivo","controls.form.input.hidden":"Entrada oculta","controls.form.input.number":"Número","controls.form.input.text":"Entrada de texto","controls.form.radio-group":"Grupo de radio","controls.form.select":"Seleccionar","controls.form.textarea":"TextArea","controls.groups.form":"Campos de formulario","controls.groups.html":"Elementos HTML","controls.groups.layout":"Diseño","controls.html.divider":"Divisor","controls.html.header":"Encabezamiento","controls.html.paragraph":"Párrafo","controls.layout.column":"Columna","controls.layout.row":"Fila",copy:"Copiar al portapapeles",danger:"Peligro",defineColumnLayout:"Definir un diseño de columna.",defineColumnWidths:"Definir anchos de columna",description:"texto de ayuda",descriptionField:"Descripción","editing.row":"Fila de edición",editorTitle:"Elementos de formulario",field:"Campo","field.property.invalid":"no es válido","field.property.isChecked":"está marcado","field.property.isNotVisible":"no es visible","field.property.isVisible":"es visible","field.property.label":"etiqueta","field.property.valid":"válido","field.property.value":"valor",fieldNonEditable:"Este campo no puede ser editado.",fieldRemoveWarning:"¿Estás seguro de que quieres eliminar este campo?",fileUpload:"Subir archivo",formUpdated:"Formulario actualizado",getStarted:"Arrastra un campo desde la derecha para empezar.",group:"Grupo",grouped:"Agrupados",hidden:"Entrada oculta",hide:"Editar",htmlElements:"Elementos HTML",if:"Si","if.condition.source.placeholder":"fuente","if.condition.target.placeholder":"valor objetivo",info:"Información","input.date":"Fecha","input.text":"Texto",label:"Etiqueta",labelCount:"{label} {count}",labelEmpty:"La etiqueta de campo no puede estar vacía","lang.af":"africano","lang.ar":"árabe","lang.cs":"checo","lang.de":"Alemán","lang.en":"Inglés","lang.es":"Español","lang.fa":"persa","lang.fi":"finlandés","lang.fr":"Francés","lang.he":"hebreo","lang.hi":"hindi","lang.hu":"húngaro","lang.it":"italiano","lang.ja":"japonés","lang.nb":"Bokmål noruego","lang.pl":"Polaco","lang.pt":"portugués","lang.ro":"rumano","lang.ru":"ruso","lang.th":"tailandés","lang.tr":"turco","lang.zh":"Chino",layout:"Diseño",limitRole:"Limite el acceso a uno o más de los siguientes roles:",mandatory:"Obligatorio",maxlength:"Longitud máxima","meta.group":"Grupo","meta.icon":"Ico","meta.label":"Etiqueta",minOptionMessage:"Este campo requiere un mínimo de 2 opciones.",name:"Nombre",newOptionLabel:"Nuevo tipo}",no:"No",number:"Número",off:"Apagado",on:"En","operator.contains":"contiene","operator.equals":"es igual a","operator.notContains":"no contiene","operator.notEquals":"no es igual","operator.notVisible":"no visible","operator.visible":"visible",option:"Opción",optional:"Opcional",optionEmpty:"Valor de opción requerido",optionLabel:"Opción {cuenta}",options:"Opciones",or:"o",order:"Orden","panel.label.attrs":"Atributos","panel.label.conditions":"Condiciones","panel.label.config":"Configuración","panel.label.meta":"Meta","panel.label.options":"Opciones","panelEditButtons.attrs":"+ Atributo","panelEditButtons.conditions":"+ Condición","panelEditButtons.config":"+ Configuración","panelEditButtons.options":"+ Opción",placeholder:"Marcador de posición","placeholder.className":"clases separadas por espacios","placeholder.email":"Ingrese su correo electrónico","placeholder.label":"Etiqueta","placeholder.password":"Ingresa tu contraseña","placeholder.placeholder":"Marcador de posición","placeholder.text":"Introduce algún texto","placeholder.textarea":"Introduce mucho texto","placeholder.value":"Valor",preview:"Avance",primary:"Primario",remove:"retirar",removeMessage:"Eliminar Elemento",removeType:"Eliminar {tipo}",required:"Necesario",reset:"Reiniciar",richText:"Editor de texto enriquecido",roles:"Acceso",row:"Fila","row.makeInputGroup":"Haz de esta fila un grupo de entrada.","row.makeInputGroupDesc":"Los grupos de entrada permiten a los usuarios agregar conjuntos de entradas a la vez.","row.settings.fieldsetWrap":"Ajustar fila en un & lt; fieldset & gt; etiqueta","row.settings.fieldsetWrap.aria":"Envuelva la fila en Fieldset",save:"Salvar",secondary:"Secundario",select:"Seleccionar",selectColor:"Seleccionar el color",selectionsMessage:"Permitir selecciones múltiples",selectOptions:"Opciones",separator:"Separador",settings:"Ajustes",size:"tamaño",sizes:"Tamaños","sizes.lg":"Grande","sizes.m":"Defecto","sizes.sm":"Pequeña","sizes.xs":"Extra Pequeño",style:"Estilo",styles:"Estilos","styles.btn":"Estilo de botón","styles.btn.danger":"Peligro","styles.btn.default":"Defecto","styles.btn.info":"Información","styles.btn.primary":"Primario","styles.btn.success":"Éxito","styles.btn.warning":"Advertencia",subtype:"Tipo",success:"Éxito",text:"Campo de texto",then:"Entonces","then.condition.target.placeholder":"objetivo",toggle:"Palanca",ungrouped:"A-Agrupados",warning:"Advertencia",yes:"Sí"},"fa-IR":{"fa-IR":"فارسی (ایران)",dir:"rtl","en-US":"Farsi","af-ZA":"آفریکانس (افریقای جنوبی)","ar-TN":"عربی (تونس)","cs-CZ":"چکی (چک)","de-DE":"آلمانی (آلمان)","es-ES":"اسپانیایی اروپا","fi-FI":"فنلاندی (فنلاند)","fr-FR":"فرانسوی (فرانسه)","he-IL":"عبری (اسرائیل)","hi-IN":"هندی (هند)","hu-HU":"مجاری (مجارستان)","it-IT":"ایتالیایی (ایتالیا)","ja-JP":"ژاپنی (ژاپن)","nb-NO":"نروژی بوک‌مُل (نروژ)","pl-PL":"لهستانی (لهستان)","pt-BR":"پرتغالی برزیل","pt-PT":"پرتغالی اروپا","ro-RO":"رومانیایی (رومانی)","ru-RU":"روسی (روسیه)","th-TH":"تایلندی (تایلند)","tr-TR":"ترکی استانبولی (ترکیه)","zh-CN":"چینی (چین)","zh-HK":"چینی (هنگ‌کنگ، منطقهٔ ویژهٔ اداری چین)","action.add.attrs.attr":"چه ویژگی را می خواهید اضافه کنید؟","action.add.attrs.value":"مقدار پیش فرض",addOption:"افزودن گزینه",allFieldsRemoved:"تمام فیلدها حذف شدند.",allowSelect:"اجازه انتخاب",and:"وارد",attribute:"ویژگی",attributeNotPermitted:'ویژگی "{attribute}" مجاز نیست, لطفا دیگری را انتخاب کنید.',attributes:"ویژگی ها","attrs.class":"کلاس","attrs.className":"کلاس","attrs.dir":"جهت","attrs.id":"آی دی","attrs.required":"اجباری","attrs.style":"استایل","attrs.title":"عنوان","attrs.type":"نوع","attrs.value":"مقدار",autocomplete:"تکمیل خودکار",button:"دکمه",cancel:"لغو",cannotBeEmpty:"این فیلد نمی تواند خالی باشد",cannotClearFields:"هیچ فیلدی برای پاک کردن وجود ندارد",checkbox:"چک باکس",checkboxes:"چک باکس ها",class:"کلاس",clear:"پاک کردن",clearAllMessage:"آیا مطمئن هستید که می خواهید همه فیلدها را پاک کنید؟",close:"بستن",column:"ستون","condition.target.placeholder":"هدف","condition.type.and":"و","condition.type.if":"اگر","condition.type.or":"یا","condition.type.then":"سپس","condition.value.placeholder":"مقدار",confirmClearAll:"آیا مطمئن هستید که می خواهید همه فیلدها را حذف کنید؟",content:"محتوا",control:"کنترل","controlGroups.nextGroup":"گروه بعدی","controlGroups.prevGroup":"گروه قبلی","controls.filteringTerm":'فیلتر کردن "{term}"',"controls.form.button":"دکمه","controls.form.checkbox-group":"گروه چک باکس","controls.form.input.date":"تاریخ","controls.form.input.email":"ایمیل","controls.form.input.file":"آپلود فایل","controls.form.input.hidden":"فیلد پنهان","controls.form.input.number":"عدد","controls.form.input.text":"ورودی متن","controls.form.radio-group":"گروه رادیوها","controls.form.select":"انتخاب","controls.form.textarea":"باکس متن","controls.groups.form":"فیلدهای فرم","controls.groups.html":"عناصر HTML","controls.groups.layout":"چیدمان","controls.html.divider":"تقسیم کننده","controls.html.header":"سرتیتر","controls.html.paragraph":"پاراگراف","controls.layout.column":"ستون","controls.layout.row":"ردیف",copy:"کپی در کلیپ بورد",danger:"خطر",defineColumnLayout:"طرح بندی ستون را تعریف کنید",defineColumnWidths:"عرض ستون را تعریف کنید",description:"متن راهنما",descriptionField:"شرح","editing.row":"ویرایش ردیف",editorTitle:"عناصر فرم",field:"فیلد","field.property.invalid":"نادرست","field.property.isChecked":"بررسی می شود","field.property.isNotVisible":"صحیح نیست","field.property.isVisible":"صحیح است","field.property.label":"برچسب","field.property.valid":"صحیح","field.property.value":"مقدار",fieldNonEditable:"این فیلد قابل ویرایش نیست.",fieldRemoveWarning:"آیا مطمئن هستید که می خواهید این فیلد را حذف کنید؟",fileUpload:"آپلود فایل",formUpdated:"فرم به روز شد",getStarted:"برای شروع یک فیلد را از سمت راست بکشید.",group:"گروه",grouped:"گروه بندی شده",hidden:"فیلد پنهان",hide:"ویرایش",htmlElements:"HTML عناصر",if:"اگر","if.condition.source.placeholder":"منبع","if.condition.target.placeholder":"هدف / ارزش",info:"اطلاعات","input.date":"تاریخ","input.text":"متن",label:"برچسب",labelCount:"{label} {count}",labelEmpty:"برچسب فیلد نمی تواند خالی باشد","lang.af":"آفریقایی","lang.ar":"عربی","lang.cs":"چک","lang.de":"آلمانی","lang.en":"انگلیسی","lang.es":"اسپانیایی","lang.fa":"فارسی","lang.fi":"فنلاندی","lang.fr":"فرانسوی","lang.he":"عبری","lang.hi":"هندی","lang.hu":"مجارستانی","lang.it":"ایتالیایی","lang.ja":"ژاپنی","lang.nb":"نروژی بوکمال","lang.pl":"لهستانی","lang.pt":"پرتغالی","lang.ro":"رومانیایی","lang.ru":"روسی","lang.th":"تایلندی","lang.tr":"ترکی","lang.zh":"چینی",layout:"چیدمان",limitRole:"دسترسی به یک یا چند نقش زیر را محدود کنید:",mandatory:"اجباری",maxlength:"حداکثر طول","meta.group":"گروه","meta.icon":"ایکون","meta.label":"برچسب",minOptionMessage:"این فیلد به حداقل 2 گزینه نیاز دارد",name:"نام",newOptionLabel:"جدید {type}",no:"خیر",number:"عدد",off:"خاموش",on:"روشن","operator.contains":"شامل","operator.equals":"برابر","operator.notContains":"شامل نمی شود","operator.notEquals":"نا برابر","operator.notVisible":"غیر قابل رویت","operator.visible":"قابل رویت",option:"گزینه",optional:"اختیاری",optionEmpty:"مقدار گزینه مورد نیاز است",optionLabel:"گزینه {count}",options:"گزینه ها",or:"یا",order:"سفارش","panel.label.attrs":"ویژگی ها","panel.label.conditions":"شروط","panel.label.config":"پیکربندی","panel.label.meta":"متا","panel.label.options":"گزینه ها","panelEditButtons.attrs":"+ ویژگی","panelEditButtons.conditions":"+ شرط","panelEditButtons.config":"+ پیکربندی","panelEditButtons.options":"+ گزینه",placeholder:"متن پیش فرض فیلد","placeholder.className":"فضای جدا دشه کلاس ها","placeholder.email":"ایمیل خود را وارد کنید","placeholder.label":"برچسب","placeholder.password":"رمز عبور خود را وارد کنید","placeholder.placeholder":"متن پیش فرض فیلد","placeholder.text":"مقداری متن وارد کنید","placeholder.textarea":"مقدار زیادی متن وارد کنید","placeholder.value":"مقدار",preview:"پیش نمایش",primary:"اولیه",remove:"حذف",removeMessage:"حذف عنصر",removeType:"حذف {type}",required:"اجباری",reset:"بازنشانی",richText:"ویرایشگر متن توانمند",roles:"دسترسی",row:"ردیف","row.makeInputGroup":"این ردیف را به یک گروه ورودی تبدیل کنید.","row.makeInputGroupDesc":"گروه ورودی به کاربران امکان می‌دهد تا مجموعه‌هایی از ورودی‌ها را در یک زمان اضافه کنند.","row.settings.fieldsetWrap":"یک ردیف را جدا کنید در &lt;fieldset&gt; tag","row.settings.fieldsetWrap.aria":"ردیف را در فیلد بالا جدا کنید",save:"ذخیره",secondary:"ثانوی",select:"انتخاب",selectColor:"انتخاب رنگ",selectionsMessage:"اجازه انتخاب های متعدد",selectOptions:"گزینه ها",separator:"جداکننده",settings:"تنظیمات",size:"اندازه",sizes:"اندازه ها","sizes.lg":"بزرگ","sizes.m":"پیش فرض","sizes.sm":"کوچک","sizes.xs":"بسیار کوچک",style:"استایل ها",styles:"استایل ها","styles.btn":"استایل دکمه","styles.btn.danger":"خطر","styles.btn.default":"پیش فرض","styles.btn.info":"اطلاعات","styles.btn.primary":"اولیه","styles.btn.success":"موفقیت","styles.btn.warning":"هشدار",subtype:"نوع",success:"موفقیت",text:"فیلد متن",then:"سپس","then.condition.target.placeholder":"هدف",toggle:"تغییر وضعیت",ungrouped:"گروه بندی نشده",warning:"هشدار",yes:"بله"},"fi-FI":{"fi-FI":"suomi (Suomi)",dir:"ltr","en-US":"englanti","af-ZA":"afrikaans (Etelä-Afrikka)","ar-TN":"arabia (Tunisia)","cs-CZ":"tšekki (Tšekki)","de-DE":"saksa (Saksa)","es-ES":"euroopanespanja","fa-IR":"persia (Iran)","fr-FR":"ranska (Ranska)","he-IL":"heprea (Israel)","hi-IN":"hindi (Intia)","hu-HU":"unkari (Unkari)","it-IT":"italia (Italia)","ja-JP":"japani (Japani)","nb-NO":"norjan bokmål (Norja)","pl-PL":"puola (Puola)","pt-BR":"brasilianportugali","pt-PT":"euroopanportugali","ro-RO":"romania (Romania)","ru-RU":"venäjä (Venäjä)","th-TH":"thai (Thaimaa)","tr-TR":"turkki (Turkki)","zh-CN":"kiina (Kiina)","zh-HK":"kiina (Hongkong – Kiinan erityishallintoalue)","action.add.attrs.attr":"Minkä ominaisuuden haluaisit lisätä?","action.add.attrs.value":"Oletusarvo",addOption:"Lisää vaihtoehto",allFieldsRemoved:"Kaikki kentät poistettiin.",allowSelect:"Salli Valitse",and:"ja",attribute:"Attribuutti",attributeNotPermitted:'Attribuutti "{attribute}" ei ole sallittu, valitse toinen.',attributes:"Attribuutit","attrs.class":"Luokka","attrs.className":"Luokka","attrs.dir":"Suunta","attrs.id":"Id","attrs.required":"Pakollinen","attrs.style":"Tyyli","attrs.title":"Otsikko","attrs.type":"Tyyppi","attrs.value":"Arvo",autocomplete:"Automaattinen täydennys",button:"Painike",cancel:"Peruuttaa",cannotBeEmpty:"Tämä kenttä ei voi olla tyhjä",cannotClearFields:"Ei ole tyhjennettyjä kenttiä",checkbox:"Valintaruutu",checkboxes:"valintaruudut",class:"Luokka",clear:"Selkeä",clearAllMessage:"Haluatko varmasti tyhjentää kaikki kentät?",close:"Lähellä",column:"Sarake","condition.target.placeholder":"tavoite","condition.type.and":"Ja","condition.type.if":"Jos","condition.type.or":"Tai","condition.type.then":"Sitten","condition.value.placeholder":"arvo",confirmClearAll:"Haluatko varmasti poistaa kaikki kentät?",content:"Sisältö",control:"Ohjaus","controlGroups.nextGroup":"Seuraava ryhmä","controlGroups.prevGroup":"Edellinen ryhmä","controls.filteringTerm":'Suodatetaan "{term}"',"controls.form.button":"Painike","controls.form.checkbox-group":"Valintaruuturyhmä","controls.form.input.date":"Päivämäärä","controls.form.input.email":"Sähköposti","controls.form.input.file":"Tiedoston lataus","controls.form.input.hidden":"Piilotettu syöttö","controls.form.input.number":"Määrä","controls.form.input.text":"Tekstinsyöttö","controls.form.radio-group":"Radioryhmä","controls.form.select":"Valitse","controls.form.textarea":"Tekstialue","controls.groups.form":"Lomakekentät","controls.groups.html":"HTML-elementit","controls.groups.layout":"Layout","controls.html.divider":"Jakaja","controls.html.header":"Otsikko","controls.html.paragraph":"Kohta","controls.layout.column":"Sarake","controls.layout.row":"Rivi",copy:"Kopioi leikepöydälle",danger:"Vaara",defineColumnLayout:"Määritä sarakkeen asettelu",defineColumnWidths:"Määritä sarakkeiden leveydet",description:"Ohjeteksti",descriptionField:"Kuvaus","editing.row":"Muokkaa riviä",editorTitle:"Lomakkeen elementit",field:"Ala","field.property.invalid":"ei kelpaa","field.property.isChecked":"on tarkistettu","field.property.isNotVisible":"ei ole näkyvissä","field.property.isVisible":"on näkyvissä","field.property.label":"etiketti","field.property.valid":"voimassa","field.property.value":"arvo",fieldNonEditable:"Tätä kenttää ei voi muokata.",fieldRemoveWarning:"Haluatko varmasti poistaa tämän kentän?",fileUpload:"Tiedoston lataus",formUpdated:"Lomake päivitetty",getStarted:"Aloita vetämällä kenttää oikealta.",group:"ryhmä",grouped:"Ryhmitetty",hidden:"Piilotettu syöttö",hide:"Muokata",htmlElements:"HTML-elementit",if:"Jos","if.condition.source.placeholder":"lähde","if.condition.target.placeholder":"tavoite / arvo",info:"Tiedot","input.date":"Päivämäärä","input.text":"Teksti",label:"Label",labelCount:"{label} {count}",labelEmpty:"Kentän tunniste ei voi olla tyhjä","lang.af":"afrikkalainen","lang.ar":"arabia","lang.cs":"Tšekki","lang.de":"saksaksi","lang.en":"englanti","lang.es":"espanja","lang.fa":"persialainen","lang.fi":"suomalainen","lang.fr":"ranskalainen","lang.he":"heprea","lang.hi":"hindi","lang.hu":"Unkari","lang.it":"italialainen","lang.ja":"japanilainen","lang.nb":"norjalainen bokmål","lang.pl":"Kiillottaa","lang.pt":"portugali","lang.ro":"romanialainen","lang.ru":"venäjäksi","lang.th":"thaimaalainen","lang.tr":"turkkilainen","lang.zh":"kiinalainen",layout:"Layout",limitRole:"Rajoita pääsyä yhteen tai useampaan seuraavista rooleista:",mandatory:"Pakollinen",maxlength:"Max pituus","meta.group":"ryhmä","meta.icon":"Ico","meta.label":"Label",minOptionMessage:"Tämä kenttä vaatii vähintään 2 vaihtoehtoa",name:"Nimi",newOptionLabel:"Uusi {type}",no:"Ei",number:"Määrä",off:"Pois",on:"Päällä","operator.contains":"sisältää","operator.equals":"on yhtä suuri","operator.notContains":"ei sisällä","operator.notEquals":"ei tasa-arvoinen","operator.notVisible":"ei näy","operator.visible":"näkyvissä",option:"Vaihtoehto",optional:"valinnainen",optionEmpty:"Vaihtoehdon arvo vaaditaan",optionLabel:"Vaihtoehto {count}",options:"Vaihtoehdot",or:"tai",order:"Tilata","panel.label.attrs":"Attribuutit","panel.label.conditions":"ehdot","panel.label.config":"Kokoonpano","panel.label.meta":"Meta","panel.label.options":"Vaihtoehdot","panelEditButtons.attrs":"+ Attribuutti","panelEditButtons.conditions":"+ Kunto","panelEditButtons.config":"+ Kokoonpano","panelEditButtons.options":"+ Vaihtoehto",placeholder:"Paikkamerkki","placeholder.className":"tilaa erotetut luokat","placeholder.email":"Kirjoita sähköpostiosoitteesi","placeholder.label":"Label","placeholder.password":"Kirjoita salasanasi","placeholder.placeholder":"Paikkamerkki","placeholder.text":"Kirjoita tekstiä","placeholder.textarea":"Kirjoita paljon tekstiä","placeholder.value":"Arvo",preview:"Esikatselu",primary:"Ensisijainen",remove:"Poistaa",removeMessage:"Poista elementti",removeType:"Poista {type}",required:"Pakollinen",reset:"Nollaa",richText:"Rich Text Editor",roles:"Pääsy",row:"Rivi","row.makeInputGroup":"Tee tästä rivistä syöttöryhmä.","row.makeInputGroupDesc":"Syöttöryhmien avulla käyttäjät voivat lisätä syötteitä kerrallaan.","row.settings.fieldsetWrap":"Rivitä rivi &lt;fieldset&gt; tag","row.settings.fieldsetWrap.aria":"Rivitä rivi Fieldsetissä",save:"Tallentaa",secondary:"Toissijainen",select:"Valitse",selectColor:"Valitse Väri",selectionsMessage:"Salli useita valintoja",selectOptions:"Vaihtoehdot",separator:"Erotin",settings:"Asetukset",size:"Koko",sizes:"Koot","sizes.lg":"Suuri","sizes.m":"Oletus","sizes.sm":"Pieni","sizes.xs":"Erittäin pieni",style:"Tyyli",styles:"Tyylit","styles.btn":"Painikkeen tyyli","styles.btn.danger":"Vaara","styles.btn.default":"Oletus","styles.btn.info":"Tiedot","styles.btn.primary":"Ensisijainen","styles.btn.success":"Menestys","styles.btn.warning":"Varoitus",subtype:"Tyyppi",success:"Menestys",text:"Tekstikenttä",then:"Sitten","then.condition.target.placeholder":"tavoite",toggle:"Vaihda",ungrouped:"Ryhmittelemätön",warning:"Varoitus",yes:"Kyllä"},"fr-FR":{"fr-FR":"français (France)",dir:"ltr","en-US":"Anglais","af-ZA":"afrikaans (Afrique du Sud)","ar-TN":"arabe (Tunisie)","cs-CZ":"tchèque (Tchéquie)","de-DE":"allemand (Allemagne)","es-ES":"espagnol d’Espagne","fa-IR":"persan (Iran)","fi-FI":"finnois (Finlande)","he-IL":"hébreu (Israël)","hi-IN":"hindi (Inde)","hu-HU":"hongrois (Hongrie)","it-IT":"italien (Italie)","ja-JP":"japonais (Japon)","nb-NO":"norvégien bokmål (Norvège)","pl-PL":"polonais (Pologne)","pt-BR":"portugais brésilien","pt-PT":"portugais européen","ro-RO":"roumain (Roumanie)","ru-RU":"russe (Russie)","th-TH":"thaï (Thaïlande)","tr-TR":"turc (Turquie)","zh-CN":"chinois (Chine)","zh-HK":"chinois (R.A.S. chinoise de Hong Kong)","action.add.attrs.attr":"Quel attribut souhaitez-vous ajouter?","action.add.attrs.value":"Valeur par défaut",addOption:"Ajouter option",allFieldsRemoved:"Tout les champs ont étés supprimés.",allowSelect:"Permettre la sélection",and:"et",attribute:"Attribut",attributeNotPermitted:"Attribut «{attribute}» non permis, veuillez en choisir un autre.",attributes:"Attributs","attrs.class":"Classe","attrs.className":"Classe","attrs.dir":"Direction","attrs.id":"Id","attrs.required":"Requis","attrs.style":"Style","attrs.title":"Titre","attrs.type":"Type","attrs.value":"Valeur",autocomplete:"Auto-complétion",button:"Bouton",cancel:"Annuler",cannotBeEmpty:"Ce champ ne peut être vide",cannotClearFields:"Il n'y a pas de champ à vider",checkbox:"Case à cocher",checkboxes:"Cases à cocher",class:"Classe",clear:"Supprimer",clearAllMessage:"Êtes-vous certain de vouloir tout supprimer?",close:"Fermer",column:"Colonne","condition.target.placeholder":"destination","condition.type.and":"Et","condition.type.if":"Si","condition.type.or":"Ou","condition.type.then":"Alors","condition.value.placeholder":"valeur condition",confirmClearAll:"Êtes-vous certain de vouloir supprimer tous les champs?",content:"Contenu",control:"Contrôle","controlGroups.nextGroup":"Prochain groupe","controlGroups.prevGroup":"Groupe précédent","controls.filteringTerm":"Triage «{term}»","controls.form.button":"Bouton","controls.form.checkbox-group":"Groupe de cases à cocher","controls.form.input.date":"Date","controls.form.input.email":"Courriel","controls.form.input.file":"Téléversement de fichier","controls.form.input.hidden":"Champ caché","controls.form.input.number":"Numéro","controls.form.input.text":"Champ de texte","controls.form.radio-group":"Groupe de boutons radio","controls.form.select":"Sélection","controls.form.textarea":"Zone de texte","controls.groups.form":"Champs de formulaire","controls.groups.html":"Éléments HTML","controls.groups.layout":"Disposition","controls.html.divider":"Séparateur","controls.html.header":"Entête","controls.html.paragraph":"Paragraphe","controls.layout.column":"Colonne","controls.layout.row":"Rang",copy:"Copier au presse-papier",danger:"Danger",defineColumnLayout:"Définir une disposition de colonnes",defineColumnWidths:"Définir la largeur des colonnes",description:"Texte d'aide",descriptionField:"Description","editing.row":"Édition de rang",editorTitle:"Éléments de formulaire",field:"Champ","field.property.invalid":"invalide","field.property.isChecked":"est vérifié","field.property.isNotVisible":"non-visible","field.property.isVisible":"visible","field.property.label":"Étiquette","field.property.valid":"valide","field.property.value":"Valeur",fieldNonEditable:"Ce champ ne peut être modifié.",fieldRemoveWarning:"Êtes-vous sûr de vouloir supprimer ce champ?",fileUpload:"Téléversement de fichier",formUpdated:"Formulaire mis-à-jour",getStarted:"Déplacer un champ de la droite pour commencer.",group:"Groupe",grouped:"Groupés",hidden:"Champ caché",hide:"Modifier",htmlElements:"Élements HTML",if:"Si","if.condition.source.placeholder":"si vrai source","if.condition.target.placeholder":"si vrai destination",info:"Info","input.date":"Date","input.text":"Texte",label:"Étiquette",labelCount:"{label} {count}",labelEmpty:"L'Étiquette du champ ne peut être vide","lang.af":"africain","lang.ar":"arabe","lang.cs":"tchèque","lang.de":"Allemand","lang.en":"Anglais","lang.es":"Espagnol","lang.fa":"persan","lang.fi":"finlandais","lang.fr":"Français","lang.he":"hébreu","lang.hi":"hindi","lang.hu":"hongrois","lang.it":"italien","lang.ja":"japonais","lang.nb":"bokmål norvégien","lang.pl":"polonais","lang.pt":"portugais","lang.ro":"roumain","lang.ru":"russe","lang.th":"thaïlandais","lang.tr":"turc","lang.zh":"Chinois",layout:"Disposition",limitRole:"Limiter l'acces à un des rôles suivants :",mandatory:"Obligatoire",maxlength:"Longueur maximum","meta.group":"Groupe","meta.icon":"Vignette","meta.label":"Étiquette",minOptionMessage:"Ce champ requiert un minimum de deux options",name:"Nom",newOptionLabel:"Nouveau {type}",no:"Non",number:"Numéro",off:"Désactivé",on:"Activé","operator.contains":"contient","operator.equals":"égaux","operator.notContains":"ne contient pas","operator.notEquals":"ne sont pas égaux","operator.notVisible":"non-visible","operator.visible":"visible",option:"Option",optional:"optionel",optionEmpty:"Valeur de l'option requise",optionLabel:"Option {count}",options:"Options",or:"ou",order:"Organiser","panel.label.attrs":"Attributs","panel.label.conditions":"Conditions","panel.label.config":"Configuration","panel.label.meta":"Meta","panel.label.options":"Options","panelEditButtons.attrs":"+ Attribut","panelEditButtons.conditions":"+ Condition","panelEditButtons.config":"+ Configuration","panelEditButtons.options":"+ Option",placeholder:"Texte Fictif","placeholder.className":"classes séparées par espaces","placeholder.email":"Entrez votre courriel","placeholder.label":"Étiquette","placeholder.password":"Entrez votre mot de passe","placeholder.placeholder":"Texte Fictif","placeholder.text":"Entrez du texte","placeholder.textarea":"Entrez beaucoup de texte","placeholder.value":"Valeur",preview:"Aperçu",primary:"Primaire",remove:"Supprimer",removeMessage:"Supprimer l'élément",removeType:"Supprimer {type}",required:"Requis",reset:"Réinitialiser",richText:"Éditeur de texte enrichi",roles:"Acces",row:"Ligne","row.makeInputGroup":"Définir cette ligne comme groupe de saisie.","row.makeInputGroupDesc":"Les groupes de saisie permettent aux usagers de rajouter de multiples champs à la fois.","row.settings.fieldsetWrap":"Entourer le champ d'un élément &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":`Entourer le champ d'un "Fieldset"`,save:"Sauvegarder",secondary:"Secondaire",select:"Sélection",selectColor:"Selectionner une couleur",selectionsMessage:"Permettre une sélection multiple",selectOptions:"Options",separator:"Séparateur",settings:"Paramètres de configuration",size:"Grandeur",sizes:"Grandeurs","sizes.lg":"Grand","sizes.m":"Grandeur par défaut","sizes.sm":"Petit","sizes.xs":"Extrèmement petit",style:"Motif",styles:"Motifs","styles.btn":"Motifs de bouton","styles.btn.danger":"Danger","styles.btn.default":"Motif par défaut de bouton","styles.btn.info":"Info","styles.btn.primary":"Primaire","styles.btn.success":"Success","styles.btn.warning":"Avertissement",subtype:"Type",success:"Succès",text:"Champ de texte",then:"Ensuite","then.condition.target.placeholder":"alors destination",toggle:"Basculer",ungrouped:"Non-groupé",warning:"Avertissement",yes:"Oui"},"he-IL":{"he-IL":"עברית (ישראל)",dir:"rtl","en-US":"אַנגְלִית","af-ZA":"אפריקנס (דרום אפריקה)","ar-TN":"ערבית (תוניסיה)","cs-CZ":"צ'כיה (צ'כיה)","de-DE":"גרמנית (גרמניה)","es-ES":"ספרדית אירופאית","fa-IR":"פרסית (איראן)","fi-FI":"פינית (פינלנד)","fr-FR":"צרפתית (צרפת)","hi-IN":"הינדי (הודו)","hu-HU":"הונגרית (הונגריה)","it-IT":"איטלקית (איטליה)","ja-JP":"יפנית (יפן)","nb-NO":"בוקמול נורבגית (נורווגיה)","pl-PL":"פולנית (פולין)","pt-BR":"פורטוגזית ברזילאית","pt-PT":"פורטוגזית אירופאית","ro-RO":"רומנית (רומניה)","ru-RU":"רוסית (רוסיה)","th-TH":"תאילנד (תאילנד)","tr-TR":"טורקית (טורקיה)","zh-CN":"סינית (סין)","zh-HK":"סינית (הונג קונג SAR סין)","action.add.attrs.attr":"איזו תכונה תרצה להוסיף?","action.add.attrs.value":"ערך ברירת מחדל",addOption:"הוסף אפשרות",allFieldsRemoved:"כל השדות הוסרו.",allowSelect:"אפשר בחירה",and:"ו",attribute:"תְכוּנָה",attributeNotPermitted:'התכונה "{attribute}" אינה מותרת, אנא בחר אחר.',attributes:"תכונות","attrs.class":"מַחלָקָה","attrs.className":"מַחלָקָה","attrs.dir":"כיוון","attrs.id":"תְעוּדַת זֶהוּת","attrs.required":"דָרוּשׁ","attrs.style":"סִגְנוֹן","attrs.title":"כּוֹתֶרֶת","attrs.type":"סוּג","attrs.value":"עֵרֶך",autocomplete:"השלמה אוטומטית",button:"לַחְצָן",cancel:"לְבַטֵל",cannotBeEmpty:"שדה זה לא יכול להיות ריק",cannotClearFields:"אין שדות לנקות",checkbox:"תיבת סימון",checkboxes:"תיבות סימון",class:"מַחלָקָה",clear:"בָּרוּר",clearAllMessage:"האם אתה בטוח שברצונך לנקות את כל השדות?",close:"לִסְגוֹר",column:"עַמוּדָה","condition.target.placeholder":"יַעַד","condition.type.and":"ו","condition.type.if":"אִם","condition.type.or":"אוֹ","condition.type.then":"אָז","condition.value.placeholder":"עֵרֶך",confirmClearAll:"האם אתה בטוח שברצונך להסיר את כל השדות?",content:"תוֹכֶן",control:"לִשְׁלוֹט","controlGroups.nextGroup":"הקבוצה הבאה","controlGroups.prevGroup":"הקבוצה הקודמת","controls.filteringTerm":'מסנן "{term}"',"controls.form.button":"לַחְצָן","controls.form.checkbox-group":"קבוצת תיבת סימון","controls.form.input.date":"תַאֲרִיך","controls.form.input.email":"אֶלֶקטרוֹנִי","controls.form.input.file":"העלאת קובץ","controls.form.input.hidden":"קלט מוסתר","controls.form.input.number":"מִספָּר","controls.form.input.text":"קלט טקסט","controls.form.radio-group":"קבוצת רדיו","controls.form.select":"לִבחוֹר","controls.form.textarea":"TextArea","controls.groups.form":"שדות טופס","controls.groups.html":"רכיבי HTML","controls.groups.layout":"מַעֲרָך","controls.html.divider":"מְחַלֵק","controls.html.header":"כּוֹתֶרֶת","controls.html.paragraph":"סָעִיף","controls.layout.column":"עַמוּדָה","controls.layout.row":"שׁוּרָה",copy:"העתק ללוח",danger:"סַכָּנָה",defineColumnLayout:"הגדר פריסת עמודה",defineColumnWidths:"הגדר רוחבי עמודות",description:"טקסט עזרה",descriptionField:"תֵאוּר","editing.row":"שורת עריכה",editorTitle:"רכיבי טופס",field:"שָׂדֶה","field.property.invalid":"לא תקף","field.property.isChecked":"נבדק","field.property.isNotVisible":"אינו נראה לעין","field.property.isVisible":"גלוי","field.property.label":"מַדבֵּקָה","field.property.valid":"תָקֵף","field.property.value":"עֵרֶך",fieldNonEditable:"לא ניתן לערוך שדה זה.",fieldRemoveWarning:"האם אתה בטוח שברצונך להסיר את השדה הזה?",fileUpload:"העלאת קובץ",formUpdated:"הטופס עודכן",getStarted:"גרור שדה מימין כדי להתחיל.",group:"קְבוּצָה",grouped:"מקובצים",hidden:"קלט מוסתר",hide:"לַעֲרוֹך",htmlElements:"רכיבי HTML",if:"אִם","if.condition.source.placeholder":"מָקוֹר","if.condition.target.placeholder":"יעד / ערך",info:"מידע","input.date":"תַאֲרִיך","input.text":"טֶקסט",label:"מַדבֵּקָה",labelCount:"{label} {count}",labelEmpty:"תווית שדה לא יכולה להיות ריקה","lang.af":"אַפְרִיקַנִי","lang.ar":"עֲרָבִית","lang.cs":"צ'כית","lang.de":"גֶרמָנִיָת","lang.en":"אַנגְלִית","lang.es":"סְפָרַדִית","lang.fa":"פַּרסִית","lang.fi":"פִינִית","lang.fr":"צָרְפָתִית","lang.he":"עברית","lang.hi":"הינדי","lang.hu":"הוּנגָרִי","lang.it":"אִיטַלְקִית","lang.ja":"יַפָּנִית","lang.nb":"בוקמול נורבגית","lang.pl":"פּוֹלָנִית","lang.pt":"פורטוגזית","lang.ro":"רומנית","lang.ru":"רוּסִי","lang.th":"תאילנדית","lang.tr":"טוּרקִית","lang.zh":"סִינִית",layout:"מַעֲרָך",limitRole:"הגבל גישה לאחד או יותר מהתפקידים הבאים:",mandatory:"הֶכְרֵחִי",maxlength:"אורך מקסימלי","meta.group":"קְבוּצָה","meta.icon":"איקו","meta.label":"מַדבֵּקָה",minOptionMessage:"שדה זה דורש לפחות 2 אפשרויות",name:"שֵׁם",newOptionLabel:"{סוג} חדש",no:"לֹא",number:"מִספָּר",off:"כבוי",on:"עַל","operator.contains":"מכיל","operator.equals":"שווה","operator.notContains":"לא מכיל","operator.notEquals":"לא שווה","operator.notVisible":"לא נראה לעין","operator.visible":"נִרְאֶה",option:"אוֹפְּצִיָה",optional:"אופציונלי",optionEmpty:"נדרש ערך אופציה",optionLabel:"אפשרות {count}",options:"אפשרויות",or:"אוֹ",order:"לְהַזמִין","panel.label.attrs":"תכונות","panel.label.conditions":"תנאים","panel.label.config":"תְצוּרָה","panel.label.meta":"מטא","panel.label.options":"אפשרויות","panelEditButtons.attrs":"+ תכונה","panelEditButtons.conditions":"+ מצב","panelEditButtons.config":"+ תצורה","panelEditButtons.options":"+ אפשרות",placeholder:"מציין מקום","placeholder.className":"כיתות מופרדות בחלל","placeholder.email":"הכנס את המייל שלך","placeholder.label":"מַדבֵּקָה","placeholder.password":"הזן את הסיסמה שלך","placeholder.placeholder":"מציין מקום","placeholder.text":"הזן קצת טקסט","placeholder.textarea":"הזן הרבה טקסט","placeholder.value":"עֵרֶך",preview:"תצוגה מקדימה",primary:"יְסוֹדִי",remove:"לְהַסִיר",removeMessage:"הסר אלמנט",removeType:"הסר {type}",required:"דָרוּשׁ",reset:"אִתחוּל",richText:"עורך טקסט עשיר",roles:"גִישָׁה",row:"שׁוּרָה","row.makeInputGroup":"הפוך את השורה הזו לקבוצת קלט.","row.makeInputGroupDesc":"קבוצות קלט מאפשרות למשתמשים להוסיף קבוצות של קלט בכל פעם.","row.settings.fieldsetWrap":"עטוף שורה ב-&lt;fieldset&gt; תָג","row.settings.fieldsetWrap.aria":"עטוף שורה ב-Fieldset",save:"לְהַצִיל",secondary:"מִשׁנִי",select:"לִבחוֹר",selectColor:"בחר צבע",selectionsMessage:"אפשר בחירות מרובות",selectOptions:"אפשרויות",separator:"מפריד",settings:"הגדרות",size:"גוֹדֶל",sizes:"מידות","sizes.lg":"גָדוֹל","sizes.m":"בְּרִירַת מֶחדָל","sizes.sm":"קָטָן","sizes.xs":"קטן במיוחד",style:"סִגְנוֹן",styles:"סגנונות","styles.btn":"סגנון כפתור","styles.btn.danger":"סַכָּנָה","styles.btn.default":"בְּרִירַת מֶחדָל","styles.btn.info":"מידע","styles.btn.primary":"יְסוֹדִי","styles.btn.success":"הַצלָחָה","styles.btn.warning":"אַזהָרָה",subtype:"סוּג",success:"הַצלָחָה",text:"שדה טקסט",then:"אָז","then.condition.target.placeholder":"יַעַד",toggle:"לְמַתֵג",ungrouped:"לא מקובץ",warning:"אַזהָרָה",yes:"כֵּן"},"hi-IN":{"hi-IN":"हिन्दी (भारत)",dir:"ltr","en-US":"अंग्रेज़ी","af-ZA":"अफ़्रीकी (दक्षिण अफ़्रीका)","ar-TN":"अरबी (ट्यूनीशिया)","cs-CZ":"चेक (चेकिया)","de-DE":"जर्मन जर्मनी)","es-ES":"यूरोपीय स्पेनिश","fa-IR":"फ़ारसी (ईरान)","fi-FI":"फ़िनिश (फ़िनलैंड)","fr-FR":"फ़्रांस के लोग फ्रेंच)","he-IL":"हिब्रू (इज़राइल)","hu-HU":"हंगेरियन (हंगरी)","it-IT":"इटालियन (इटली)","ja-JP":"जापानी (जापान)","nb-NO":"नॉर्वेजियन बोकमाल (नॉर्वे)","pl-PL":"पोलिश (पोलैंड)","pt-BR":"ब्राज़ीलियन पुर्तगाली","pt-PT":"यूरोपीय पुर्तगाली","ro-RO":"रोमानियाई (रोमानिया)","ru-RU":"रूसी (रूस)","th-TH":"थाई (थाईलैंड)","tr-TR":"तुर्की (तुर्किये)","zh-CN":"चीनी (चीन)","zh-HK":"चीनी (हांगकांग एसएआर चीन)","action.add.attrs.attr":"आप कौन सी विशेषता जोड़ना चाहेंगे?","action.add.attrs.value":"डिफ़ॉल्ट मान",addOption:"विकल्प जोड़ें",allFieldsRemoved:"सभी फ़ील्ड हटा दिए गए.",allowSelect:"चयन की अनुमति दें",and:"और",attribute:"गुण",attributeNotPermitted:'विशेषता "{attribute}" की अनुमति नहीं है, कृपया कोई अन्य चुनें.',attributes:"गुण","attrs.class":"कक्षा","attrs.className":"कक्षा","attrs.dir":"दिशा","attrs.id":"पहचान","attrs.required":"आवश्यक","attrs.style":"शैली","attrs.title":"शीर्षक","attrs.type":"प्रकार","attrs.value":"कीमत",autocomplete:"स्वत: पूर्ण",button:"बटन",cancel:"रद्द करना",cannotBeEmpty:"यह फ़ील्ड रिक्त नहीं रह सकती",cannotClearFields:"साफ़ करने के लिए कोई फ़ील्ड नहीं है",checkbox:"चेक बॉक्स",checkboxes:"चेक बॉक्स",class:"कक्षा",clear:"स्पष्ट",clearAllMessage:"क्या आप वाकई सभी फ़ील्ड साफ़ करना चाहते हैं?",close:"बंद करना",column:"स्तंभ","condition.target.placeholder":"लक्ष्य","condition.type.and":"और","condition.type.if":"अगर","condition.type.or":"या","condition.type.then":"तब","condition.value.placeholder":"कीमत",confirmClearAll:"क्या आप वाकई सभी फ़ील्ड हटाना चाहते हैं?",content:"सामग्री",control:"नियंत्रण","controlGroups.nextGroup":"अगला समूह","controlGroups.prevGroup":"पिछला समूह","controls.filteringTerm":'फ़िल्टरिंग "{शब्द}"',"controls.form.button":"बटन","controls.form.checkbox-group":"चेकबॉक्स समूह","controls.form.input.date":"तारीख","controls.form.input.email":"ईमेल","controls.form.input.file":"फ़ाइल अपलोड","controls.form.input.hidden":"छिपा हुआ इनपुट","controls.form.input.number":"संख्या","controls.form.input.text":"पाठ इनपुट","controls.form.radio-group":"रेडियो समूह","controls.form.select":"चुनना","controls.form.textarea":"पाठ क्षेत्र","controls.groups.form":"फॉर्म फ़ील्ड","controls.groups.html":"HTML तत्व","controls.groups.layout":"लेआउट","controls.html.divider":"डिवाइडर","controls.html.header":"हैडर","controls.html.paragraph":"अनुच्छेद","controls.layout.column":"स्तंभ","controls.layout.row":"पंक्ति",copy:"क्लिपबोर्ड पर कॉपी करें",danger:"खतरा",defineColumnLayout:"कॉलम लेआउट परिभाषित करें",defineColumnWidths:"स्तंभ की चौड़ाई निर्धारित करें",description:"सहायता पाठ",descriptionField:"विवरण","editing.row":"संपादन पंक्ति",editorTitle:"फॉर्म तत्व",field:"मैदान","field.property.invalid":"मान्य नहीं है","field.property.isChecked":"जाँच की गई है","field.property.isNotVisible":"दिखाई नहीं देता","field.property.isVisible":"दिखाई दे रहा है","field.property.label":"लेबल","field.property.valid":"वैध","field.property.value":"कीमत",fieldNonEditable:"इस फ़ील्ड को संपादित नहीं किया जा सकता.",fieldRemoveWarning:"क्या आप वाकई इस फ़ील्ड को हटाना चाहते हैं?",fileUpload:"फ़ाइल अपलोड",formUpdated:"फॉर्म अपडेट किया गया",getStarted:"आरंभ करने के लिए दाईं ओर से एक फ़ील्ड खींचें.",group:"समूह",grouped:"समूहीकृत",hidden:"छिपा हुआ इनपुट",hide:"संपादन करना",htmlElements:"HTML तत्व",if:"अगर","if.condition.source.placeholder":"स्रोत","if.condition.target.placeholder":"लक्ष्य / मूल्य",info:"जानकारी","input.date":"तारीख","input.text":"मूलपाठ",label:"लेबल",labelCount:"{लेबल} {गिनती}",labelEmpty:"फ़ील्ड लेबल रिक्त नहीं हो सकता","lang.af":"अफ़्रीकी","lang.ar":"अरबी","lang.cs":"चेक","lang.de":"जर्मन","lang.en":"अंग्रेज़ी","lang.es":"स्पैनिश","lang.fa":"फ़ारसी","lang.fi":"फिनिश","lang.fr":"फ्रेंच","lang.he":"हिब्रू","lang.hi":"हिन्दी","lang.hu":"हंगेरी","lang.it":"इतालवी","lang.ja":"जापानी","lang.nb":"नॉर्वेजियन बोकमाल","lang.pl":"पोलिश","lang.pt":"पुर्तगाली","lang.ro":"रोमानियाई","lang.ru":"रूसी","lang.th":"थाई","lang.tr":"तुर्की","lang.zh":"चीनी",layout:"लेआउट",limitRole:"निम्नलिखित में से एक या अधिक भूमिकाओं तक पहुंच सीमित करें:",mandatory:"अनिवार्य",maxlength:"अधिकतम लंबाई","meta.group":"समूह","meta.icon":"इको","meta.label":"लेबल",minOptionMessage:"इस फ़ील्ड में कम से कम 2 विकल्प होने चाहिए",name:"नाम",newOptionLabel:"नया {प्रकार}",no:"नहीं",number:"संख्या",off:"बंद",on:"पर","operator.contains":"रोकना","operator.equals":"के बराबर होती है","operator.notContains":"इसमें शामिल नहीं है","operator.notEquals":"सम नही","operator.notVisible":"दिखाई नहीं देना","operator.visible":"दृश्यमान",option:"विकल्प",optional:"वैकल्पिक",optionEmpty:"विकल्प मान आवश्यक",optionLabel:"विकल्प {गिनती}",options:"विकल्प",or:"या",order:"आदेश","panel.label.attrs":"गुण","panel.label.conditions":"स्थितियाँ","panel.label.config":"विन्यास","panel.label.meta":"मेटा","panel.label.options":"विकल्प","panelEditButtons.attrs":"+ विशेषता","panelEditButtons.conditions":"+ शर्त","panelEditButtons.config":"+ कॉन्फ़िगरेशन","panelEditButtons.options":"+ विकल्प",placeholder:"प्लेसहोल्डर","placeholder.className":"अंतरिक्ष से अलग की गई कक्षाएं","placeholder.email":"अपना ईमेल दर्ज करें","placeholder.label":"लेबल","placeholder.password":"अपना कूटशब्द भरें","placeholder.placeholder":"प्लेसहोल्डर","placeholder.text":"कुछ पाठ दर्ज करें","placeholder.textarea":"बहुत सारा पाठ दर्ज करें","placeholder.value":"कीमत",preview:"पूर्व दर्शन",primary:"प्राथमिक",remove:"निकालना",removeMessage:"तत्व हटाएँ",removeType:"{प्रकार} हटाएं",required:"आवश्यक",reset:"रीसेट करें",richText:"रिच टेक्स्ट एडिटर",roles:"पहुँच",row:"पंक्ति","row.makeInputGroup":"इस पंक्ति को एक इनपुट समूह बनाएं.","row.makeInputGroupDesc":"इनपुट समूह उपयोगकर्ताओं को एक समय में इनपुट के सेट जोड़ने में सक्षम बनाता है।","row.settings.fieldsetWrap":"पंक्ति को &lt;fieldset&gt; टैग में लपेटें","row.settings.fieldsetWrap.aria":"फ़ील्डसेट में पंक्ति लपेटें",save:"बचाना",secondary:"माध्यमिक",select:"चुनना",selectColor:"रंग चुनो",selectionsMessage:"एकाधिक चयन की अनुमति दें",selectOptions:"विकल्प",separator:"सेपरेटर",settings:"सेटिंग्स",size:"आकार",sizes:"आकार","sizes.lg":"बड़ा","sizes.m":"गलती करना","sizes.sm":"छोटा","sizes.xs":"अतिरिक्त छोटा",style:"शैली",styles:"शैलियों","styles.btn":"बटन शैली","styles.btn.danger":"खतरा","styles.btn.default":"गलती करना","styles.btn.info":"जानकारी","styles.btn.primary":"प्राथमिक","styles.btn.success":"सफलता","styles.btn.warning":"चेतावनी",subtype:"प्रकार",success:"सफलता",text:"पाठ्य से भरा",then:"तब","then.condition.target.placeholder":"लक्ष्य",toggle:"टॉगल",ungrouped:"अन-वर्गीकृत किया",warning:"चेतावनी",yes:"हाँ"},"hu-HU":{"hu-HU":"magyar (Magyarország)",dir:"ltr","en-US":"angol","af-ZA":"afrikaans (Dél-afrikai Köztársaság)","ar-TN":"arab (Tunézia)","cs-CZ":"cseh (Csehország)","de-DE":"német (Németország)","es-ES":"európai spanyol","fa-IR":"perzsa (Irán)","fi-FI":"finn (Finnország)","fr-FR":"francia (Franciaország)","he-IL":"héber (Izrael)","hi-IN":"hindi (India)","it-IT":"olasz (Olaszország)","ja-JP":"japán (Japán)","nb-NO":"norvég (bokmål) (Norvégia)","pl-PL":"lengyel (Lengyelország)","pt-BR":"brazíliai portugál","pt-PT":"európai portugál","ro-RO":"román (Románia)","ru-RU":"orosz (Oroszország)","th-TH":"thai (Thaiföld)","tr-TR":"török (Törökország)","zh-CN":"kínai (Kína)","zh-HK":"kínai (Hongkong KKT)","action.add.attrs.attr":"Milyen tulajdonságot szeretnél hozzáadni?","action.add.attrs.value":"Alapértelmezett érték",addOption:"Opció hozzáadása",allFieldsRemoved:"Minden mezőt eltávolítottunk.",allowSelect:"Engedélyezze a Kiválasztást",and:"és",attribute:"Tulajdonság",attributeNotPermitted:'A (z) "{attribute}" attribútum nem engedélyezett, kérjük, válasszon másikat.',attributes:"attribútumok","attrs.class":"Osztály","attrs.className":"Osztály","attrs.dir":"Irány","attrs.id":"Id","attrs.required":"Kívánt","attrs.style":"Stílus","attrs.title":"Cím","attrs.type":"típus","attrs.value":"Érték",autocomplete:"Automatikus kiegészítés",button:"Gomb",cancel:"Mégsem",cannotBeEmpty:"Ez a mező nem lehet üres",cannotClearFields:"Nincs törölni kívánt mező",checkbox:"jelölőnégyzetet",checkboxes:"négyzeteket",class:"Osztály",clear:"Egyértelmű",clearAllMessage:"Biztosan törölni szeretné az összes mezőt?",close:"Bezárás",column:"Oszlop","condition.target.placeholder":"cél","condition.type.and":"És","condition.type.if":"Ha","condition.type.or":"Vagy","condition.type.then":"Majd","condition.value.placeholder":"érték",confirmClearAll:"Biztosan eltávolít minden mezőt?",content:"Tartalom",control:"Ellenőrzés","controlGroups.nextGroup":"Következő csoport","controlGroups.prevGroup":"Előző csoport","controls.filteringTerm":'A (z) "{term}" szűrése',"controls.form.button":"Gomb","controls.form.checkbox-group":"Checkbox Group","controls.form.input.date":"Dátum","controls.form.input.email":"Email","controls.form.input.file":"Fájlfeltöltés","controls.form.input.hidden":"Rejtett bemenet","controls.form.input.number":"Szám","controls.form.input.text":"Szövegbevitel","controls.form.radio-group":"Radio Group","controls.form.select":"választ","controls.form.textarea":"a szövegszerkesztő","controls.groups.form":"Űrlapmezők","controls.groups.html":"HTML Elemek","controls.groups.layout":"Elrendezés","controls.html.divider":"Osztó","controls.html.header":"Fejléc","controls.html.paragraph":"Bekezdés","controls.layout.column":"Oszlop","controls.layout.row":"Sor",copy:"Másolja a vágólapra",danger:"Veszély",defineColumnLayout:"Állítsa be az oszlop elrendezését",defineColumnWidths:"Határozza meg az oszlopszélességeket",description:"Súgószöveg",descriptionField:"Leírás","editing.row":"Sor szerkesztése",editorTitle:"Form Elemek",field:"Mező","field.property.invalid":"nem érvényes","field.property.isChecked":"ellenőrizve van","field.property.isNotVisible":"nem látható","field.property.isVisible":"látható","field.property.label":"címke","field.property.valid":"érvényes","field.property.value":"érték",fieldNonEditable:"Ez a mező nem szerkeszthető.",fieldRemoveWarning:"Biztosan eltávolítja ezt a mezőt?",fileUpload:"Fájlfeltöltés",formUpdated:"Frissített űrlap",getStarted:"Húzzon egy mezőt jobbra, hogy elinduljon.",group:"Csoport",grouped:"csoportosított",hidden:"Rejtett bemenet",hide:"szerkesztése",htmlElements:"HTML Elemek",if:"Ha","if.condition.source.placeholder":"forrás","if.condition.target.placeholder":"célérték",info:"Info","input.date":"Dátum","input.text":"Szöveg",label:"Címke",labelCount:"{label} {count}",labelEmpty:"A mezőcímke nem lehet üres","lang.af":"afrikai","lang.ar":"arab","lang.cs":"cseh","lang.de":"német","lang.en":"angol","lang.es":"spanyol","lang.fa":"perzsa","lang.fi":"finn","lang.fr":"francia","lang.he":"héber","lang.hi":"hindi","lang.hu":"magyar","lang.it":"olasz","lang.ja":"japán","lang.nb":"norvég bokmål","lang.pl":"lengyel","lang.pt":"portugál","lang.ro":"román","lang.ru":"orosz","lang.th":"thai","lang.tr":"török","lang.zh":"kínai",layout:"Elrendezés",limitRole:"A következő szerepek közül egy vagy több korlátozása:",mandatory:"Kötelező",maxlength:"Max. Hosszúság","meta.group":"Csoport","meta.icon":"Ico","meta.label":"Címke",minOptionMessage:"Ez a mező legalább 2 opciót igényel",name:"Név",newOptionLabel:"Új {típus}",no:"Nem",number:"Szám",off:"Ki",on:"Tovább","operator.contains":"tartalmaz","operator.equals":"egyenlő","operator.notContains":"nem tartalmaz","operator.notEquals":"nem egyenlő","operator.notVisible":"nem látható","operator.visible":"látható",option:"választási lehetőség",optional:"választható",optionEmpty:"Opciós érték szükséges",optionLabel:"Opció {count}",options:"Opciók",or:"vagy",order:"Sorrend","panel.label.attrs":"attribútumok","panel.label.conditions":"Körülmények","panel.label.config":"Configuration","panel.label.meta":"meta","panel.label.options":"Opciók","panelEditButtons.attrs":"+ Attribútum","panelEditButtons.conditions":"+ Állapot","panelEditButtons.config":"+ Konfiguráció","panelEditButtons.options":"+ Opció",placeholder:"Helykitöltő","placeholder.className":"űrszeparált osztályok","placeholder.email":"Adja meg az e-mailt","placeholder.label":"Címke","placeholder.password":"Írd be a jelszavad","placeholder.placeholder":"Helykitöltő","placeholder.text":"Adjon meg egy szöveget","placeholder.textarea":"Adjon meg egy csomó szöveget","placeholder.value":"Érték",preview:"Előnézet",primary:"Elsődleges",remove:"eltávolít",removeMessage:"Elem eltávolítása",removeType:"Remove {type}",required:"Kívánt",reset:"Visszaállítás",richText:"Rich Text Editor",roles:"Hozzáférés",row:"Sor","row.makeInputGroup":"A beviteli csoport létrehozása.","row.makeInputGroupDesc":"A beviteli csoportok lehetővé teszik a felhasználók számára, hogy egy időben hozzáadják a bemeneti készleteket.","row.settings.fieldsetWrap":"A <fieldset & gt; címke","row.settings.fieldsetWrap.aria":"Wrap sor a Fieldsetben",save:"Mentés",secondary:"Másodlagos",select:"választ",selectColor:"Válassza a Szín lehetőséget",selectionsMessage:"Többszörös kiválasztás engedélyezése",selectOptions:"Opciók",separator:"Szétválasztó",settings:"Beállítások",size:"Méret",sizes:"méretek","sizes.lg":"Nagy","sizes.m":"Alapértelmezett","sizes.sm":"Kicsi","sizes.xs":"Extra kicsi",style:"Stílus",styles:"Stílusok","styles.btn":"Gomb stílus","styles.btn.danger":"Veszély","styles.btn.default":"Alapértelmezett","styles.btn.info":"Info","styles.btn.primary":"Elsődleges","styles.btn.success":"Siker","styles.btn.warning":"Figyelem",subtype:"típus",success:"Siker",text:"Szövegmező",then:"Azután","then.condition.target.placeholder":"cél",toggle:"pecek",ungrouped:"A csoportosított",warning:"Figyelem",yes:"Igen"},"it-IT":{"it-IT":"italiano (Italia)",dir:"ltr","en-US":"Inglese","af-ZA":"afrikaans (Sudafrica)","ar-TN":"arabo (Tunisia)","cs-CZ":"ceco (Cechia)","de-DE":"tedesco (Germania)","es-ES":"spagnolo europeo","fa-IR":"persiano (Iran)","fi-FI":"finlandese (Finlandia)","fr-FR":"francese (Francia)","he-IL":"ebraico (Israele)","hi-IN":"hindi (India)","hu-HU":"ungherese (Ungheria)","ja-JP":"giapponese (Giappone)","nb-NO":"norvegese bokmål (Norvegia)","pl-PL":"polacco (Polonia)","pt-BR":"portoghese brasiliano","pt-PT":"portoghese europeo","ro-RO":"rumeno (Romania)","ru-RU":"russo (Russia)","th-TH":"thailandese (Thailandia)","tr-TR":"turco (Turchia)","zh-CN":"cinese (Cina)","zh-HK":"cinese (RAS di Hong Kong)","action.add.attrs.attr":"Quale attributo vorresti aggiungere?","action.add.attrs.value":"Valore predefinito",addOption:"Aggiungi opzione",allFieldsRemoved:"Tutti i campi sono stati rimossi.",allowSelect:"Consenti selezione",and:"e",attribute:"Attributo",attributeNotPermitted:`L'attributo "{attribute}" non è permesso, per favore sceglierne un altro.`,attributes:"attributi","attrs.class":"Classe","attrs.className":"Classe","attrs.dir":"Direzione","attrs.id":"Id","attrs.required":"necessario","attrs.style":"Stile","attrs.title":"Titolo","attrs.type":"genere","attrs.value":"Valore",autocomplete:"Completamento automatico",button:"Pulsante",cancel:"Cancellare",cannotBeEmpty:"Questo campo non può essere vuoto",cannotClearFields:"Non ci sono campi da cancellare",checkbox:"casella di controllo",checkboxes:"caselle di controllo",class:"Classe",clear:"Chiaro",clearAllMessage:"Sei sicuro di voler cancellare tutti i campi?",close:"Vicino",column:"Colonna","condition.target.placeholder":"bersaglio","condition.type.and":"E","condition.type.if":"Se","condition.type.or":"O","condition.type.then":"Poi","condition.value.placeholder":"valore",confirmClearAll:"Sei sicuro di voler rimuovere tutti i campi?",content:"Soddisfare",control:"Controllo","controlGroups.nextGroup":"Gruppo successivo","controlGroups.prevGroup":"Gruppo precedente","controls.filteringTerm":'Filtro "{term}"',"controls.form.button":"Pulsante","controls.form.checkbox-group":"Gruppo di caselle di controllo","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Upload di file","controls.form.input.hidden":"Ingresso nascosto","controls.form.input.number":"Numero","controls.form.input.text":"L'immissione di testo","controls.form.radio-group":"Gruppo Radio","controls.form.select":"Selezionare","controls.form.textarea":"TextArea","controls.groups.form":"Campi modulo","controls.groups.html":"Elementi HTML","controls.groups.layout":"disposizione","controls.html.divider":"Divisore","controls.html.header":"Intestazione","controls.html.paragraph":"Paragrafo","controls.layout.column":"Colonna","controls.layout.row":"Riga",copy:"Copia negli appunti",danger:"Pericolo",defineColumnLayout:"Definire un layout di colonna",defineColumnWidths:"Definire le larghezze delle colonne",description:"Testo guida",descriptionField:"Descrizione","editing.row":"Modifica riga",editorTitle:"Elementi del modulo",field:"Campo","field.property.invalid":"non valido","field.property.isChecked":"è controllato","field.property.isNotVisible":"non è visibile","field.property.isVisible":"è visibile","field.property.label":"etichetta","field.property.valid":"valido","field.property.value":"valore",fieldNonEditable:"Questo campo non può essere modificato.",fieldRemoveWarning:"Sei sicuro di voler rimuovere questo campo?",fileUpload:"Upload di file",formUpdated:"Modulo aggiornato",getStarted:"Trascina un campo da destra per iniziare.",group:"Gruppo",grouped:"raggruppate",hidden:"Ingresso nascosto",hide:"modificare",htmlElements:"Elementi HTML",if:"Se","if.condition.source.placeholder":"fonte","if.condition.target.placeholder":"obiettivo / valore",info:"Informazioni","input.date":"Data","input.text":"Testo",label:"Etichetta",labelCount:"{label} {count}",labelEmpty:"Field Label non può essere vuoto","lang.af":"africano","lang.ar":"arabo","lang.cs":"ceco","lang.de":"tedesco","lang.en":"Inglese","lang.es":"spagnolo","lang.fa":"persiano","lang.fi":"finlandese","lang.fr":"francese","lang.he":"ebraico","lang.hi":"hindi","lang.hu":"ungherese","lang.it":"Italiano","lang.ja":"giapponese","lang.nb":"Bokmål norvegese","lang.pl":"Polacco","lang.pt":"portoghese","lang.ro":"rumeno","lang.ru":"russo","lang.th":"tailandese","lang.tr":"turco","lang.zh":"cinese",layout:"disposizione",limitRole:"Limitare l'accesso a uno o più dei seguenti ruoli:",mandatory:"Obbligatorio",maxlength:"Lunghezza massima","meta.group":"Gruppo","meta.icon":"Ico","meta.label":"Etichetta",minOptionMessage:"Questo campo richiede un minimo di 2 opzioni",name:"Nome",newOptionLabel:"Nuovo tipo}",no:"No",number:"Numero",off:"via",on:"Sopra","operator.contains":"contiene","operator.equals":"è uguale a","operator.notContains":"non contiene","operator.notEquals":"non uguale","operator.notVisible":"non visibile","operator.visible":"visibile",option:"Opzione",optional:"opzionale",optionEmpty:"Opzione valore richiesto",optionLabel:"Opzione {count}",options:"Opzioni",or:"o",order:"Ordine","panel.label.attrs":"attributi","panel.label.conditions":"condizioni","panel.label.config":"Configurazione","panel.label.meta":"Meta","panel.label.options":"Opzioni","panelEditButtons.attrs":"+ Attributo","panelEditButtons.conditions":"+ Condizione","panelEditButtons.config":"+ Configurazione","panelEditButtons.options":"+ Opzione",placeholder:"segnaposto","placeholder.className":"classi separate dallo spazio","placeholder.email":"Inserisci la tua email","placeholder.label":"Etichetta","placeholder.password":"Inserisci la tua password","placeholder.placeholder":"segnaposto","placeholder.text":"Inserisci del testo","placeholder.textarea":"Inserisci un sacco di testo","placeholder.value":"Valore",preview:"Anteprima",primary:"Primario",remove:"Rimuovere",removeMessage:"Rimuovi elemento",removeType:"Rimuovi {tipo}",required:"necessario",reset:"Reset",richText:"Rich Text Editor",roles:"Accesso",row:"Riga","row.makeInputGroup":"Rendi questa riga un gruppo di input.","row.makeInputGroupDesc":"I gruppi di input consentono agli utenti di aggiungere insiemi di input alla volta.","row.settings.fieldsetWrap":"Racchiudi la riga in un & lt; fieldset & gt; etichetta","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Salvare",secondary:"Secondario",select:"Selezionare",selectColor:"Seleziona colore",selectionsMessage:"Consenti selezioni multiple",selectOptions:"Opzioni",separator:"Separatore",settings:"impostazioni",size:"Taglia",sizes:"taglie","sizes.lg":"Grande","sizes.m":"Predefinito","sizes.sm":"Piccolo","sizes.xs":"Piccolissimo",style:"Stile",styles:"stili","styles.btn":"Stile del bottone","styles.btn.danger":"Pericolo","styles.btn.default":"Predefinito","styles.btn.info":"Informazioni","styles.btn.primary":"Primario","styles.btn.success":"Successo","styles.btn.warning":"avvertimento",subtype:"genere",success:"Successo",text:"Campo di testo",then:"Poi","then.condition.target.placeholder":"bersaglio",toggle:"Toggle",ungrouped:"A-raggruppati",warning:"avvertimento",yes:"sì"},"ja-JP":{"ja-JP":"日本語 (日本)",dir:"ltr","en-US":"英語","af-ZA":"アフリカーンス語 (南アフリカ)","ar-TN":"アラビア語 (チュニジア)","cs-CZ":"チェコ語 (チェコ)","de-DE":"ドイツ語 (ドイツ)","es-ES":"スペイン語 (イベリア半島)","fa-IR":"ペルシア語 (イラン)","fi-FI":"フィンランド語 (フィンランド)","fr-FR":"フランス語 (フランス)","he-IL":"ヘブライ語 (イスラエル)","hi-IN":"ヒンディー語 (インド)","hu-HU":"ハンガリー語 (ハンガリー)","it-IT":"イタリア語 (イタリア)","nb-NO":"ノルウェー語(ブークモール) (ノルウェー)","pl-PL":"ポーランド語 (ポーランド)","pt-BR":"ポルトガル語 (ブラジル)","pt-PT":"ポルトガル語 (イベリア半島)","ro-RO":"ルーマニア語 (ルーマニア)","ru-RU":"ロシア語 (ロシア)","th-TH":"タイ語 (タイ)","tr-TR":"トルコ語 (トルコ)","zh-CN":"中国語 (中国)","zh-HK":"中国語 (中華人民共和国香港特別行政区)","action.add.attrs.attr":"どのような属性を追加しますか?","action.add.attrs.value":"デフォルト値",addOption:"オプションを追加",allFieldsRemoved:"すべてのフィールドが削除されました。",allowSelect:"選択を許可する",and:"そして",attribute:"属性",attributeNotPermitted:'属性 "{属性}"は許可されていません。別の属性を選択してください。',attributes:"属性","attrs.class":"クラス","attrs.className":"クラス","attrs.dir":"方向","attrs.id":"イド","attrs.required":"必須","attrs.style":"スタイル","attrs.title":"タイトル","attrs.type":"タイプ","attrs.value":"値",autocomplete:"オートコンプリート",button:"ボタン",cancel:"キャンセル",cannotBeEmpty:"このフィールドは空白にすることはできません",cannotClearFields:"クリアするフィールドはありません",checkbox:"チェックボックス",checkboxes:"チェックボックス",class:"クラス",clear:"クリア",clearAllMessage:"すべてのフィールドをクリアしてもよろしいですか?",close:"閉じる",column:"カラム","condition.target.placeholder":"ターゲット","condition.type.and":"そして","condition.type.if":"もし","condition.type.or":"または","condition.type.then":"それから","condition.value.placeholder":"値",confirmClearAll:"すべてのフィールドを削除してもよろしいですか?",content:"コンテンツ",control:"コントロール","controlGroups.nextGroup":"次のグループ","controlGroups.prevGroup":"前のグループ","controls.filteringTerm":'フィルタリング "{term}"',"controls.form.button":"ボタン","controls.form.checkbox-group":"チェックボックスグループ","controls.form.input.date":"日付","controls.form.input.email":"Eメール","controls.form.input.file":"ファイルアップロード","controls.form.input.hidden":"隠された入力","controls.form.input.number":"数","controls.form.input.text":"テキスト入力","controls.form.radio-group":"ラジオ・グループ","controls.form.select":"選択","controls.form.textarea":"TextArea","controls.groups.form":"フォームフィールド","controls.groups.html":"HTML要素","controls.groups.layout":"レイアウト","controls.html.divider":"ディバイダー","controls.html.header":"ヘッダ","controls.html.paragraph":"段落","controls.layout.column":"カラム","controls.layout.row":"行",copy:"クリップボードにコピー",danger:"危険",defineColumnLayout:"列のレイアウトを定義する",defineColumnWidths:"列の幅を定義する",description:"ヘルプテキスト",descriptionField:"説明","editing.row":"行の編集",editorTitle:"フォーム要素",field:"フィールド","field.property.invalid":"有効ではありません","field.property.isChecked":"チェックされている","field.property.isNotVisible":"見えない","field.property.isVisible":"目に見える","field.property.label":"ラベル","field.property.valid":"有効な","field.property.value":"値",fieldNonEditable:"このフィールドは編集できません。",fieldRemoveWarning:"このフィールドを削除してもよろしいですか?",fileUpload:"ファイルアップロード",formUpdated:"フォームの更新",getStarted:"フィールドを右からドラッグして開始します。",group:"グループ",grouped:"グループ化された",hidden:"隠された入力",hide:"編集",htmlElements:"HTML要素",if:"もし","if.condition.source.placeholder":"ソース","if.condition.target.placeholder":"ターゲット/値",info:"情報","input.date":"日付","input.text":"テキスト",label:"ラベル",labelCount:"{label} {count}",labelEmpty:"フィールドラベルを空にすることはできません","lang.af":"アフリカ人","lang.ar":"アラビア語","lang.cs":"チェコ語","lang.de":"ドイツ語","lang.en":"英語","lang.es":"スペイン語","lang.fa":"ペルシャ語","lang.fi":"フィンランド語","lang.fr":"フランス語","lang.he":"ヘブライ語","lang.hi":"ヒンディー語","lang.hu":"ハンガリー語","lang.it":"イタリア語","lang.ja":"日本語","lang.nb":"ノルウェー語ブークモール","lang.pl":"研磨","lang.pt":"ポルトガル語","lang.ro":"ルーマニア語","lang.ru":"ロシア","lang.th":"タイ語","lang.tr":"トルコ語","lang.zh":"中国語",layout:"レイアウト",limitRole:"以下の役割の1つ以上にアクセスを制限する:",mandatory:"必須",maxlength:"最大長","meta.group":"グループ","meta.icon":"イコ","meta.label":"ラベル",minOptionMessage:"このフィールドには最低2つのオプションが必要です",name:"名",newOptionLabel:"新しいタイプ}",no:"いいえ",number:"数",off:"オフ",on:"に","operator.contains":"含まれる","operator.equals":"等しい","operator.notContains":"含まれていない","operator.notEquals":"等しくない","operator.notVisible":"目に見えない","operator.visible":"目に見える",option:"オプション",optional:"オプション",optionEmpty:"オプション値が必要です",optionLabel:"オプション{count}",options:"オプション",or:"または",order:"注文","panel.label.attrs":"属性","panel.label.conditions":"条件","panel.label.config":"構成","panel.label.meta":"メタ","panel.label.options":"オプション","panelEditButtons.attrs":"+属性","panelEditButtons.conditions":"+条件","panelEditButtons.config":"+ 構成","panelEditButtons.options":"+オプション",placeholder:"プレースホルダ","placeholder.className":"スペースで区切られたクラス","placeholder.email":"あなたにメールを入力","placeholder.label":"ラベル","placeholder.password":"パスワードを入力してください","placeholder.placeholder":"プレースホルダ","placeholder.text":"テキストを入力","placeholder.textarea":"たくさんのテキストを入力してください","placeholder.value":"値",preview:"プレビュー",primary:"一次",remove:"削除する",removeMessage:"要素を削除する",removeType:"{タイプ}を削除",required:"必須",reset:"リセット",richText:"リッチテキストエディタ",roles:"アクセス",row:"行","row.makeInputGroup":"この行を入力グループにします。","row.makeInputGroupDesc":"入力グループを使用すると、一度に入力セットを追加できます。","row.settings.fieldsetWrap":"&lt; fieldset&gt;フィールドに行をラップします。タグ","row.settings.fieldsetWrap.aria":"行をフィールドセットで折り返す",save:"保存する",secondary:"二次",select:"選択",selectColor:"カラーを選択",selectionsMessage:"複数の選択を許可する",selectOptions:"オプション",separator:"セパレータ",settings:"設定",size:"サイズ",sizes:"サイズ","sizes.lg":"大","sizes.m":"デフォルト","sizes.sm":"小さい","sizes.xs":"極小",style:"スタイル",styles:"スタイル","styles.btn":"ボタンスタイル","styles.btn.danger":"危険","styles.btn.default":"デフォルト","styles.btn.info":"情報","styles.btn.primary":"一次","styles.btn.success":"成功","styles.btn.warning":"警告",subtype:"タイプ",success:"成功",text:"テキストフィールド",then:"その後、","then.condition.target.placeholder":"ターゲット",toggle:"トグル",ungrouped:"- グループ化",warning:"警告",yes:"はい"},"nb-NO":{"nb-NO":"norsk bokmål (Norge)",dir:"ltr","en-US":"Engelsk","af-ZA":"afrikaans (Sør-Afrika)","ar-TN":"arabisk (Tunisia)","cs-CZ":"tsjekkisk (Tsjekkia)","de-DE":"tysk (Tyskland)","es-ES":"spansk (Spania)","fa-IR":"persisk (Iran)","fi-FI":"finsk (Finland)","fr-FR":"fransk (Frankrike)","he-IL":"hebraisk (Israel)","hi-IN":"hindi (India)","hu-HU":"ungarsk (Ungarn)","it-IT":"italiensk (Italia)","ja-JP":"japansk (Japan)","pl-PL":"polsk (Polen)","pt-BR":"portugisisk (Brasil)","pt-PT":"portugisisk (Portugal)","ro-RO":"rumensk (Romania)","ru-RU":"russisk (Russland)","th-TH":"thai (Thailand)","tr-TR":"tyrkisk (Tyrkia)","zh-CN":"kinesisk (Kina)","zh-HK":"kinesisk (Hongkong SAR Kina)","action.add.attrs.attr":"Hvilken egenskap vil du legge til?","action.add.attrs.value":"Standardverdi",addOption:"Legg til alternativ",allFieldsRemoved:"Alle feltene ble fjernet.",allowSelect:"Tillat Select",and:"og",attribute:"Egenskap",attributeNotPermitted:'Attributt "{attribute}" er ikke tillatt, vennligst velg en annen.',attributes:"Egenskaper","attrs.class":"Klasse","attrs.className":"Klasse","attrs.dir":"Retning","attrs.id":"id","attrs.required":"Må","attrs.style":"Stil","attrs.title":"Tittel","attrs.type":"Type","attrs.value":"Verdi",autocomplete:"Autofullfør",button:"Knapp",cancel:"Kansellere",cannotBeEmpty:"Dette feltet kan ikke være tomt",cannotClearFields:"Det er ingen felt å slette",checkbox:"avkrysnings",checkboxes:"boksene",class:"Klasse",clear:"Klar",clearAllMessage:"Er du sikker på at du vil slette alle feltene?",close:"Lukk",column:"Kolonne","condition.target.placeholder":"mål","condition.type.and":"Og","condition.type.if":"Hvis","condition.type.or":"Eller","condition.type.then":"Da","condition.value.placeholder":"verdi",confirmClearAll:"Er du sikker på at du vil fjerne alle feltene?",content:"Innhold",control:"Styre","controlGroups.nextGroup":"Neste gruppe","controlGroups.prevGroup":"Forrige gruppe","controls.filteringTerm":'Filtrering "{term}"',"controls.form.button":"Knapp","controls.form.checkbox-group":"Kryssboksgruppe","controls.form.input.date":"Dato","controls.form.input.email":"e-post","controls.form.input.file":"Filopplasting","controls.form.input.hidden":"Skjult inngang","controls.form.input.number":"Nummer","controls.form.input.text":"Tekstinngang","controls.form.radio-group":"Radio gruppe","controls.form.select":"Å velge","controls.form.textarea":"Tekstfelt","controls.groups.form":"Form Fields","controls.groups.html":"HTML-elementer","controls.groups.layout":"Oppsett","controls.html.divider":"Deler","controls.html.header":"Overskrift","controls.html.paragraph":"Avsnitt","controls.layout.column":"Kolonne","controls.layout.row":"Rad",copy:"Kopiere til utklippstavle",danger:"Fare",defineColumnLayout:"Definer en kolonneoppsett",defineColumnWidths:"Definer kolonnebredder",description:"Hjelpetekst",descriptionField:"Beskrivelse","editing.row":"Redigerer rad",editorTitle:"Formelementer",field:"Felt","field.property.invalid":"ikke gyldig","field.property.isChecked":"er sjekket","field.property.isNotVisible":"er ikke synlig","field.property.isVisible":"er synlig","field.property.label":"merkelapp","field.property.valid":"gyldig","field.property.value":"verdi",fieldNonEditable:"Dette feltet kan ikke redigeres.",fieldRemoveWarning:"Er du sikker på at du vil fjerne dette feltet?",fileUpload:"Filopplasting",formUpdated:"Form oppdatert",getStarted:"Dra et felt fra høyre for å komme i gang.",group:"Gruppe",grouped:"gruppert",hidden:"Skjult inngang",hide:"Redigere",htmlElements:"HTML-elementer",if:"Hvis","if.condition.source.placeholder":"kilde","if.condition.target.placeholder":"målverdi",info:"info","input.date":"Dato","input.text":"Tekst",label:"Merkelapp",labelCount:"{label} {count}",labelEmpty:"Feltetikett kan ikke være tomt","lang.af":"afrikansk","lang.ar":"arabisk","lang.cs":"tsjekkisk","lang.de":"tysk","lang.en":"engelsk","lang.es":"spansk","lang.fa":"persisk","lang.fi":"finsk","lang.fr":"fransk","lang.he":"hebraisk","lang.hi":"hindi","lang.hu":"ungarsk","lang.it":"italiensk","lang.ja":"japansk","lang.nb":"Norwegian Bokmål","lang.pl":"Pusse","lang.pt":"portugisisk","lang.ro":"rumensk","lang.ru":"russisk","lang.th":"Thai","lang.tr":"tyrkisk","lang.zh":"kinesisk",layout:"Oppsett",limitRole:"Begrens tilgang til en eller flere av følgende roller:",mandatory:"Påbudt, bindende",maxlength:"Maks lengde","meta.group":"Gruppe","meta.icon":"ico","meta.label":"Merkelapp",minOptionMessage:"Dette feltet krever minst 2 alternativer",name:"Navn",newOptionLabel:"Ny {type}",no:"Nei",number:"Nummer",off:"Av",on:"På","operator.contains":"inneholder","operator.equals":"er lik","operator.notContains":"ikke inneholder","operator.notEquals":"ikke lik","operator.notVisible":"ikke synlig","operator.visible":"synlig",option:"Alternativ",optional:"valgfri",optionEmpty:"Valgmulighet som kreves",optionLabel:"Alternativ {teller}",options:"alternativer",or:"eller",order:"Rekkefølge","panel.label.attrs":"Egenskaper","panel.label.conditions":"Forhold","panel.label.config":"konfigurasjon","panel.label.meta":"Meta","panel.label.options":"alternativer","panelEditButtons.attrs":"+ Attributt","panelEditButtons.conditions":"+ Tilstand","panelEditButtons.config":"+ Konfigurasjon","panelEditButtons.options":"+ Alternativ",placeholder:"Plassholder","placeholder.className":"mellomrom separerte klasser","placeholder.email":"Skriv inn e-post","placeholder.label":"Merkelapp","placeholder.password":"Skriv inn passordet ditt","placeholder.placeholder":"Plassholder","placeholder.text":"Skriv inn litt tekst","placeholder.textarea":"Skriv inn mye tekst","placeholder.value":"Verdi",preview:"Forhåndsvisning",primary:"primær~~POS=TRUNC",remove:"Fjerne",removeMessage:"Fjern elementet",removeType:"Fjern {type}",required:"Må",reset:"tilbakestille",richText:"Rich Text Editor",roles:"Adgang",row:"Rad","row.makeInputGroup":"Gjør denne raden en inngangsgruppe.","row.makeInputGroupDesc":"Inngangsgrupper lar brukerne legge til sett med innspillinger om gangen.","row.settings.fieldsetWrap":"Wrap rad i en & lt; fieldset & gt; stikkord","row.settings.fieldsetWrap.aria":"Wrap Row i Fieldset",save:"Lagre",secondary:"sekundær",select:"Å velge",selectColor:"Velg Farge",selectionsMessage:"Tillat flere valg",selectOptions:"alternativer",separator:"separator",settings:"innstillinger",size:"Størrelse",sizes:"størrelser","sizes.lg":"Stor","sizes.m":"Misligholde","sizes.sm":"Liten","sizes.xs":"Ekstra liten",style:"Stil",styles:"Styles","styles.btn":"Knapp stil","styles.btn.danger":"Fare","styles.btn.default":"Misligholde","styles.btn.info":"info","styles.btn.primary":"primær~~POS=TRUNC","styles.btn.success":"Suksess","styles.btn.warning":"Advarsel",subtype:"Type",success:"Suksess",text:"Tekstfelt",then:"Deretter","then.condition.target.placeholder":"mål",toggle:"Veksle",ungrouped:"A-Gruppert",warning:"Advarsel",yes:"Ja"},"pl-PL":{"pl-PL":"polski (Polska)",dir:"ltr","en-US":"język angielski","af-ZA":"afrikaans (Republika Południowej Afryki)","ar-TN":"arabski (Tunezja)","cs-CZ":"czeski (Czechy)","de-DE":"niemiecki (Niemcy)","es-ES":"europejski hiszpański","fa-IR":"perski (Iran)","fi-FI":"fiński (Finlandia)","fr-FR":"francuski (Francja)","he-IL":"hebrajski (Izrael)","hi-IN":"hindi (Indie)","hu-HU":"węgierski (Węgry)","it-IT":"włoski (Włochy)","ja-JP":"japoński (Japonia)","nb-NO":"norweski (bokmål) (Norwegia)","pt-BR":"brazylijski portugalski","pt-PT":"europejski portugalski","ro-RO":"rumuński (Rumunia)","ru-RU":"rosyjski (Rosja)","th-TH":"tajski (Tajlandia)","tr-TR":"turecki (Turcja)","zh-CN":"chiński (Chiny)","zh-HK":"chiński (SRA Hongkong [Chiny])","action.add.attrs.attr":"Jaki atrybut chciałbyś dodać?","action.add.attrs.value":"Domyślna wartość",addOption:"Dodaj opcję",allFieldsRemoved:"Wszystkie pola zostały usunięte.",allowSelect:"Zezwalaj Wybierz",and:"i",attribute:"Atrybut",attributeNotPermitted:'Atrybut "{atrybut}" jest niedozwolony, wybierz inny.',attributes:"Atrybuty","attrs.class":"Klasa","attrs.className":"Klasa","attrs.dir":"Kierunek","attrs.id":"ID","attrs.required":"wymagany","attrs.style":"Styl","attrs.title":"Tytuł","attrs.type":"Rodzaj","attrs.value":"Wartość",autocomplete:"autouzupełnienie",button:"Przycisk",cancel:"Anulować",cannotBeEmpty:"To pole nie może być puste",cannotClearFields:"Nie ma pól do wyczyszczenia",checkbox:"Pole wyboru",checkboxes:"Checkboxes",class:"Klasa",clear:"Jasny",clearAllMessage:"Czy na pewno chcesz wyczyścić wszystkie pola?",close:"Blisko",column:"Kolumna","condition.target.placeholder":"cel","condition.type.and":"I","condition.type.if":"Jeśli","condition.type.or":"Lub","condition.type.then":"Następnie","condition.value.placeholder":"wartość",confirmClearAll:"Czy na pewno chcesz usunąć wszystkie pola?",content:"Zawartość",control:"Kontrola","controlGroups.nextGroup":"Następna grupa","controlGroups.prevGroup":"Poprzednia grupa","controls.filteringTerm":'Filtrowanie "{term}"',"controls.form.button":"Przycisk","controls.form.checkbox-group":"Grupa Checkbox","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Udostępnianie pliku","controls.form.input.hidden":"Ukryte wejście","controls.form.input.number":"Numer","controls.form.input.text":"Wprowadzanie tekstu","controls.form.radio-group":"Radio Group","controls.form.select":"Wybierz","controls.form.textarea":"TextArea","controls.groups.form":"Pola formularzy","controls.groups.html":"Elementy HTML","controls.groups.layout":"Układ","controls.html.divider":"Rozdzielacz","controls.html.header":"nagłówek","controls.html.paragraph":"Ustęp","controls.layout.column":"Kolumna","controls.layout.row":"Rząd",copy:"Skopiuj do schowka",danger:"Zagrożenie",defineColumnLayout:"Zdefiniuj układ kolumn",defineColumnWidths:"Określ szerokość kolumn",description:"Tekst pomocy",descriptionField:"Opis","editing.row":"Edytowanie wiersza",editorTitle:"Formuj elementy",field:"Pole","field.property.invalid":"nieważny","field.property.isChecked":"jest sprawdzane","field.property.isNotVisible":"nie jest widoczny","field.property.isVisible":"jest widoczny","field.property.label":"etykieta","field.property.valid":"ważny","field.property.value":"wartość",fieldNonEditable:"Tego pola nie można edytować.",fieldRemoveWarning:"Czy na pewno chcesz usunąć to pole?",fileUpload:"Udostępnianie pliku",formUpdated:"Formularz zaktualizowany",getStarted:"Przeciągnij pole od prawej, aby rozpocząć.",group:"Grupa",grouped:"Pogrupowane",hidden:"Ukryte wejście",hide:"Edytować",htmlElements:"Elementy HTML",if:"Jeśli","if.condition.source.placeholder":"źródło","if.condition.target.placeholder":"wartość docelowa",info:"Informacje","input.date":"Data","input.text":"Tekst",label:"Etykieta",labelCount:"{label} {count}",labelEmpty:"Etykieta pola nie może być pusta","lang.af":"afrykanin","lang.ar":"arabski","lang.cs":"czeski","lang.de":"niemiecki","lang.en":"angielski","lang.es":"hiszpański","lang.fa":"perski","lang.fi":"fiński","lang.fr":"francuski","lang.he":"hebrajski","lang.hi":"hindi","lang.hu":"węgierski","lang.it":"włoski","lang.ja":"japoński","lang.nb":"Norweski bokmål","lang.pl":"Polski","lang.pt":"portugalski","lang.ro":"rumuński","lang.ru":"rosyjski","lang.th":"tajski","lang.tr":"turecki","lang.zh":"chiński",layout:"Układ",limitRole:"Ogranicz dostęp do jednej lub więcej następujących ról:",mandatory:"Obowiązkowy",maxlength:"Maksymalna długość","meta.group":"Grupa","meta.icon":"I co","meta.label":"Etykieta",minOptionMessage:"To pole wymaga co najmniej 2 opcji",name:"Imię",newOptionLabel:"Nowy typ}",no:"Nie",number:"Numer",off:"Poza",on:"Na","operator.contains":"zawiera","operator.equals":"równa się","operator.notContains":"nie zawiera","operator.notEquals":"nie równe","operator.notVisible":"niewidoczny","operator.visible":"widoczny",option:"Opcja",optional:"opcjonalny",optionEmpty:"Wymagana wartość opcji",optionLabel:"Opcja {count}",options:"Opcje",or:"lub",order:"Zamówienie","panel.label.attrs":"Atrybuty","panel.label.conditions":"Warunki","panel.label.config":"Konfiguracja","panel.label.meta":"Meta","panel.label.options":"Opcje","panelEditButtons.attrs":"+ Atrybut","panelEditButtons.conditions":"+ Stan","panelEditButtons.config":"+ Konfiguracja","panelEditButtons.options":"+ Opcja",placeholder:"Symbol zastępczy","placeholder.className":"klasy oddzielone spacjami","placeholder.email":"Podaj e-mail","placeholder.label":"Etykieta","placeholder.password":"Wprowadź hasło","placeholder.placeholder":"Symbol zastępczy","placeholder.text":"Wprowadź trochę tekstu","placeholder.textarea":"Wprowadź dużo tekstu","placeholder.value":"Wartość",preview:"Zapowiedź",primary:"Podstawowa",remove:"Usunąć",removeMessage:"Usuń element",removeType:"Usuń {type}",required:"wymagany",reset:"Nastawić",richText:"Bogaty edytor tekstu",roles:"Dostęp",row:"Rząd","row.makeInputGroup":"Ustaw ten wiersz jako grupę wejściową.","row.makeInputGroupDesc":"Grupy wejściowe umożliwiają użytkownikom dodawanie zestawów wejść naraz.","row.settings.fieldsetWrap":"Zwiń wiersz w & lt; fieldset & gt; etykietka","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Zapisać",secondary:"Wtórny",select:"Wybierz",selectColor:"Wybierz kolor",selectionsMessage:"Zezwalaj na wiele wyborów",selectOptions:"Opcje",separator:"Separator",settings:"Ustawienia",size:"Rozmiar",sizes:"Rozmiary","sizes.lg":"Duży","sizes.m":"Domyślna","sizes.sm":"Mały","sizes.xs":"Bardzo mały",style:"Styl",styles:"Style","styles.btn":"Styl przycisku","styles.btn.danger":"Zagrożenie","styles.btn.default":"Domyślna","styles.btn.info":"Informacje","styles.btn.primary":"Podstawowa","styles.btn.success":"Powodzenie","styles.btn.warning":"Ostrzeżenie",subtype:"Rodzaj",success:"Powodzenie",text:"Pole tekstowe",then:"Następnie","then.condition.target.placeholder":"cel",toggle:"Przełącznik",ungrouped:"A-Zgrupowane",warning:"Ostrzeżenie",yes:"tak"},"pt-BR":{"pt-BR":"português (Brasil)",dir:"ltr","en-US":"Inglês","af-ZA":"africâner (África do Sul)","ar-TN":"árabe (Tunísia)","cs-CZ":"tcheco (Tchéquia)","de-DE":"alemão (Alemanha)","es-ES":"espanhol (Espanha)","fa-IR":"persa (Irã)","fi-FI":"finlandês (Finlândia)","fr-FR":"francês (França)","he-IL":"hebraico (Israel)","hi-IN":"híndi (Índia)","hu-HU":"húngaro (Hungria)","it-IT":"italiano (Itália)","ja-JP":"japonês (Japão)","nb-NO":"bokmål norueguês (Noruega)","pl-PL":"polonês (Polônia)","pt-PT":"português (Portugal)","ro-RO":"romeno (Romênia)","ru-RU":"russo (Rússia)","th-TH":"tailandês (Tailândia)","tr-TR":"turco (Turquia)","zh-CN":"chinês (China)","zh-HK":"chinês (Hong Kong, RAE da China)","action.add.attrs.attr":"Que atributo você gostaria de adicionar?","action.add.attrs.value":"Valor Padrão",addOption:"Adicionar opção",allFieldsRemoved:"Todos os campos foram removidos.",allowSelect:"Permitir Selecionar",and:"e",attribute:"Atributo",attributeNotPermitted:'O atributo "{attribute}" não é permitido, escolha outro.',attributes:"Atributos","attrs.class":"Aula","attrs.className":"Aula","attrs.dir":"Direção","attrs.id":"Eu ia","attrs.required":"Obrigatório","attrs.style":"Estilo","attrs.title":"Título","attrs.type":"Tipo","attrs.value":"Valor",autocomplete:"Preenchimento automático",button:"Botão",cancel:"Cancelar",cannotBeEmpty:"Este campo não pode estar vazio",cannotClearFields:"Não há campos para limpar",checkbox:"Caixa de seleção",checkboxes:"Caixas de seleção",class:"Aula",clear:"Claro",clearAllMessage:"Tem certeza de que deseja limpar todos os campos?",close:"Fechar",column:"Coluna","condition.target.placeholder":"alvo","condition.type.and":"E","condition.type.if":"Se","condition.type.or":"Ou","condition.type.then":"Então","condition.value.placeholder":"valor",confirmClearAll:"Tem certeza de que deseja remover todos os campos?",content:"Contente",control:"Controlar","controlGroups.nextGroup":"Próximo Grupo","controlGroups.prevGroup":"Grupo Anterior","controls.filteringTerm":'Filtrando "{term}"',"controls.form.button":"Botão","controls.form.checkbox-group":"Grupo de caixas de seleção","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Upload de arquivo","controls.form.input.hidden":"Entrada Oculta","controls.form.input.number":"Número","controls.form.input.text":"Entrada de texto","controls.form.radio-group":"Grupo de Rádio","controls.form.select":"Selecione","controls.form.textarea":"Área de texto","controls.groups.form":"Campos de formulário","controls.groups.html":"Elementos HTML","controls.groups.layout":"Disposição","controls.html.divider":"Divisor","controls.html.header":"Cabeçalho","controls.html.paragraph":"Parágrafo","controls.layout.column":"Coluna","controls.layout.row":"Linha",copy:"Copiar para a área de transferência",danger:"Perigo",defineColumnLayout:"Definir um layout de coluna",defineColumnWidths:"Definir larguras de colunas",description:"Texto de ajuda",descriptionField:"Descrição","editing.row":"Linha de edição",editorTitle:"Elementos de formulário",field:"Campo","field.property.invalid":"não é válido","field.property.isChecked":"está verificado","field.property.isNotVisible":"não é visível","field.property.isVisible":"é visível","field.property.label":"rótulo","field.property.valid":"válido","field.property.value":"valor",fieldNonEditable:"Este campo não pode ser editado.",fieldRemoveWarning:"Tem certeza de que deseja remover este campo?",fileUpload:"Upload de arquivo",formUpdated:"Formulário Atualizado",getStarted:"Arraste um campo da direita para começar.",group:"Grupo",grouped:"Agrupado",hidden:"Entrada Oculta",hide:"Editar",htmlElements:"Elementos HTML",if:"Se","if.condition.source.placeholder":"fonte","if.condition.target.placeholder":"alvo / valor",info:"Informações","input.date":"Data","input.text":"Texto",label:"Rótulo",labelCount:"{rótulo} {contagem}",labelEmpty:"O rótulo do campo não pode estar vazio","lang.af":"africano","lang.ar":"árabe","lang.cs":"Checo","lang.de":"Alemão","lang.en":"Inglês","lang.es":"Espanhol","lang.fa":"persa","lang.fi":"finlandês","lang.fr":"Francês","lang.he":"hebraico","lang.hi":"híndi","lang.hu":"húngaro","lang.it":"italiano","lang.ja":"japonês","lang.nb":"Bokmål Norueguês","lang.pl":"polonês","lang.pt":"Português","lang.ro":"romeno","lang.ru":"russo","lang.th":"tailandês","lang.tr":"turco","lang.zh":"chinês",layout:"Disposição",limitRole:"Limite o acesso a uma ou mais das seguintes funções:",mandatory:"Obrigatório",maxlength:"Comprimento máximo","meta.group":"Grupo","meta.icon":"Icó","meta.label":"Rótulo",minOptionMessage:"Este campo requer um mínimo de 2 opções",name:"Nome",newOptionLabel:"Novo {tipo}",no:"Não",number:"Número",off:"Desligado",on:"Sobre","operator.contains":"contém","operator.equals":"é igual a","operator.notContains":"não contém","operator.notEquals":"não é igual","operator.notVisible":"não visível","operator.visible":"visível",option:"Opção",optional:"opcional",optionEmpty:"Valor da opção necessário",optionLabel:"Opção {count}",options:"Opções",or:"ou",order:"Ordem","panel.label.attrs":"Atributos","panel.label.conditions":"Condições","panel.label.config":"Configuração","panel.label.meta":"Meta","panel.label.options":"Opções","panelEditButtons.attrs":"+ Atributo","panelEditButtons.conditions":"+ Condição","panelEditButtons.config":"+ Configuração","panelEditButtons.options":"+ Opção",placeholder:"Espaço reservado","placeholder.className":"classes separadas por espaço","placeholder.email":"Digite seu e-mail","placeholder.label":"Rótulo","placeholder.password":"Digite sua senha","placeholder.placeholder":"Espaço reservado","placeholder.text":"Insira algum texto","placeholder.textarea":"Insira muito texto","placeholder.value":"Valor",preview:"Pré-visualização",primary:"Primário",remove:"Remover",removeMessage:"Remover Elemento",removeType:"Remover {tipo}",required:"Obrigatório",reset:"Reiniciar",richText:"Editor de texto rico",roles:"Acesso",row:"Linha","row.makeInputGroup":"Faça desta linha um grupo de entrada.","row.makeInputGroupDesc":"Grupos de entrada permitem que os usuários adicionem conjuntos de entradas por vez.","row.settings.fieldsetWrap":"Quebrar linha em uma tag &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":"Quebrar linha em Fieldset",save:"Salvar",secondary:"Secundário",select:"Selecione",selectColor:"Selecione a cor",selectionsMessage:"Permitir Seleções Múltiplas",selectOptions:"Opções",separator:"Separador",settings:"Configurações",size:"Tamanho",sizes:"Tamanhos","sizes.lg":"Grande","sizes.m":"Padrão","sizes.sm":"Pequeno","sizes.xs":"Extra pequeno",style:"Estilo",styles:"Estilos","styles.btn":"Estilo de botão","styles.btn.danger":"Perigo","styles.btn.default":"Padrão","styles.btn.info":"Informações","styles.btn.primary":"Primário","styles.btn.success":"Sucesso","styles.btn.warning":"Aviso",subtype:"Tipo",success:"Sucesso",text:"Campo de texto",then:"Então","then.condition.target.placeholder":"alvo",toggle:"Alternar",ungrouped:"Desagrupado",warning:"Aviso",yes:"Sim"},"pt-PT":{"pt-PT":"português europeu",dir:"ltr","en-US":"Inglês","af-ZA":"africanês (África do Sul)","ar-TN":"árabe (Tunísia)","cs-CZ":"checo (Chéquia)","de-DE":"alemão (Alemanha)","es-ES":"espanhol europeu","fa-IR":"persa (Irão)","fi-FI":"finlandês (Finlândia)","fr-FR":"francês (França)","he-IL":"hebraico (Israel)","hi-IN":"hindi (Índia)","hu-HU":"húngaro (Hungria)","it-IT":"italiano (Itália)","ja-JP":"japonês (Japão)","nb-NO":"norueguês bokmål (Noruega)","pl-PL":"polaco (Polónia)","pt-BR":"português do Brasil","ro-RO":"romeno (Roménia)","ru-RU":"russo (Rússia)","th-TH":"tailandês (Tailândia)","tr-TR":"turco (Turquia)","zh-CN":"chinês (China)","zh-HK":"chinês (Hong Kong, RAE da China)","action.add.attrs.attr":"Que atributo você gostaria de adicionar?","action.add.attrs.value":"Valor Padrão",addOption:"Adicionar opção",allFieldsRemoved:"Todos os campos foram removidos.",allowSelect:"Permitir Selecionar",and:"e",attribute:"Atributo",attributeNotPermitted:'O atributo "{attribute}" não é permitido, escolha outro.',attributes:"Atributos","attrs.class":"Aula","attrs.className":"Aula","attrs.dir":"Direção","attrs.id":"Eu ia","attrs.required":"Obrigatório","attrs.style":"Estilo","attrs.title":"Título","attrs.type":"Tipo","attrs.value":"Valor",autocomplete:"Preenchimento automático",button:"Botão",cancel:"Cancelar",cannotBeEmpty:"Este campo não pode estar vazio",cannotClearFields:"Não há campos para limpar",checkbox:"Caixa de seleção",checkboxes:"Caixas de seleção",class:"Aula",clear:"Claro",clearAllMessage:"Tem certeza de que deseja limpar todos os campos?",close:"Fechar",column:"Coluna","condition.target.placeholder":"alvo","condition.type.and":"E","condition.type.if":"Se","condition.type.or":"Ou","condition.type.then":"Então","condition.value.placeholder":"valor",confirmClearAll:"Tem certeza de que deseja remover todos os campos?",content:"Contente",control:"Controlar","controlGroups.nextGroup":"Próximo Grupo","controlGroups.prevGroup":"Grupo Anterior","controls.filteringTerm":'Filtrando "{term}"',"controls.form.button":"Botão","controls.form.checkbox-group":"Grupo de caixas de seleção","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Upload de arquivo","controls.form.input.hidden":"Entrada Oculta","controls.form.input.number":"Número","controls.form.input.text":"Entrada de texto","controls.form.radio-group":"Grupo de Rádio","controls.form.select":"Selecione","controls.form.textarea":"Área de texto","controls.groups.form":"Campos de formulário","controls.groups.html":"Elementos HTML","controls.groups.layout":"Disposição","controls.html.divider":"Divisor","controls.html.header":"Cabeçalho","controls.html.paragraph":"Parágrafo","controls.layout.column":"Coluna","controls.layout.row":"Linha",copy:"Copiar para a área de transferência",danger:"Perigo",defineColumnLayout:"Definir um layout de coluna",defineColumnWidths:"Definir larguras de colunas",description:"Texto de ajuda",descriptionField:"Descrição","editing.row":"Linha de edição",editorTitle:"Elementos de formulário",field:"Campo","field.property.invalid":"não é válido","field.property.isChecked":"está verificado","field.property.isNotVisible":"não é visível","field.property.isVisible":"é visível","field.property.label":"rótulo","field.property.valid":"válido","field.property.value":"valor",fieldNonEditable:"Este campo não pode ser editado.",fieldRemoveWarning:"Tem certeza de que deseja remover este campo?",fileUpload:"Upload de arquivo",formUpdated:"Formulário Atualizado",getStarted:"Arraste um campo da direita para começar.",group:"Grupo",grouped:"Agrupado",hidden:"Entrada Oculta",hide:"Editar",htmlElements:"Elementos HTML",if:"Se","if.condition.source.placeholder":"fonte","if.condition.target.placeholder":"alvo / valor",info:"Informações","input.date":"Data","input.text":"Texto",label:"Rótulo",labelCount:"{rótulo} {contagem}",labelEmpty:"O rótulo do campo não pode estar vazio","lang.af":"africano","lang.ar":"árabe","lang.cs":"Checo","lang.de":"Alemão","lang.en":"Inglês","lang.es":"Espanhol","lang.fa":"persa","lang.fi":"finlandês","lang.fr":"Francês","lang.he":"hebraico","lang.hi":"hindi","lang.hu":"húngaro","lang.it":"italiano","lang.ja":"japonês","lang.nb":"Bokmål Norueguês","lang.pl":"polonês","lang.pt":"Português","lang.ro":"romeno","lang.ru":"russo","lang.th":"tailandês","lang.tr":"turco","lang.zh":"chinês",layout:"Disposição",limitRole:"Limite o acesso a uma ou mais das seguintes funções:",mandatory:"Obrigatório",maxlength:"Comprimento máximo","meta.group":"Grupo","meta.icon":"Icó","meta.label":"Rótulo",minOptionMessage:"Este campo requer um mínimo de 2 opções",name:"Nome",newOptionLabel:"Novo {tipo}",no:"Não",number:"Número",off:"Desligado",on:"Sobre","operator.contains":"contém","operator.equals":"é igual a","operator.notContains":"não contém","operator.notEquals":"não é igual","operator.notVisible":"não visível","operator.visible":"visível",option:"Opção",optional:"opcional",optionEmpty:"Valor da opção necessário",optionLabel:"Opção {count}",options:"Opções",or:"ou",order:"Ordem","panel.label.attrs":"Atributos","panel.label.conditions":"Condições","panel.label.config":"Configuração","panel.label.meta":"Meta","panel.label.options":"Opções","panelEditButtons.attrs":"+ Atributo","panelEditButtons.conditions":"+ Condição","panelEditButtons.config":"+ Configuração","panelEditButtons.options":"+ Opção",placeholder:"Espaço reservado","placeholder.className":"classes separadas por espaço","placeholder.email":"Digite seu e-mail","placeholder.label":"Rótulo","placeholder.password":"Digite sua senha","placeholder.placeholder":"Espaço reservado","placeholder.text":"Insira algum texto","placeholder.textarea":"Insira muito texto","placeholder.value":"Valor",preview:"Pré-visualização",primary:"Primário",remove:"Remover",removeMessage:"Remover Elemento",removeType:"Remover {tipo}",required:"Obrigatório",reset:"Reiniciar",richText:"Editor de texto rico",roles:"Acesso",row:"Linha","row.makeInputGroup":"Faça desta linha um grupo de entrada.","row.makeInputGroupDesc":"Grupos de entrada permitem que os usuários adicionem conjuntos de entradas por vez.","row.settings.fieldsetWrap":"Quebrar linha em uma tag &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":"Quebrar linha em Fieldset",save:"Salvar",secondary:"Secundário",select:"Selecione",selectColor:"Selecione a cor",selectionsMessage:"Permitir Seleções Múltiplas",selectOptions:"Opções",separator:"Separador",settings:"Configurações",size:"Tamanho",sizes:"Tamanhos","sizes.lg":"Grande","sizes.m":"Padrão","sizes.sm":"Pequeno","sizes.xs":"Extra pequeno",style:"Estilo",styles:"Estilos","styles.btn":"Estilo de botão","styles.btn.danger":"Perigo","styles.btn.default":"Padrão","styles.btn.info":"Informações","styles.btn.primary":"Primário","styles.btn.success":"Sucesso","styles.btn.warning":"Aviso",subtype:"Tipo",success:"Sucesso",text:"Campo de texto",then:"Então","then.condition.target.placeholder":"alvo",toggle:"Alternar",ungrouped:"Desagrupado",warning:"Aviso",yes:"Sim"},"ro-RO":{"ro-RO":"română (România)",dir:"ltr","en-US":"Engleză","af-ZA":"afrikaans (Africa de Sud)","ar-TN":"arabă (Tunisia)","cs-CZ":"cehă (Cehia)","de-DE":"germană (Germania)","es-ES":"spaniolă (Europa)","fa-IR":"persană (Iran)","fi-FI":"finlandeză (Finlanda)","fr-FR":"franceză (Franța)","he-IL":"ebraică (Israel)","hi-IN":"hindi (India)","hu-HU":"maghiară (Ungaria)","it-IT":"italiană (Italia)","ja-JP":"japoneză (Japonia)","nb-NO":"norvegiană bokmål (Norvegia)","pl-PL":"poloneză (Polonia)","pt-BR":"portugheză (Brazilia)","pt-PT":"portugheză (Europa)","ru-RU":"rusă (Rusia)","th-TH":"thailandeză (Thailanda)","tr-TR":"turcă (Turcia)","zh-CN":"chineză (China)","zh-HK":"chineză (R.A.S. Hong Kong, China)","action.add.attrs.attr":"Ce atribut ați dori să adăugați?","action.add.attrs.value":"Valoare implicită",addOption:"Adăugați opțiunea",allFieldsRemoved:"Toate câmpurile au fost eliminate.",allowSelect:"Permiteți selectarea",and:"și",attribute:"Atribut",attributeNotPermitted:'Atributul "{atribut}" nu este permis, vă rugăm să alegeți altul.',attributes:"atribute","attrs.class":"Clasă","attrs.className":"Clasă","attrs.dir":"Direcţie","attrs.id":"id-ul","attrs.required":"Necesar","attrs.style":"Stil","attrs.title":"Titlu","attrs.type":"Tip","attrs.value":"Valoare",autocomplete:"Completare automată",button:"Buton",cancel:"Anula",cannotBeEmpty:"Acest câmp nu poate fi gol",cannotClearFields:"Nu există câmpuri pentru a șterge",checkbox:"Caseta de bifat",checkboxes:"Casetele de selectare",class:"Clasă",clear:"clar",clearAllMessage:"Sigur doriți să ștergeți toate câmpurile?",close:"Închide",column:"Coloană","condition.target.placeholder":"ţintă","condition.type.and":"Şi","condition.type.if":"Dacă","condition.type.or":"Sau","condition.type.then":"Apoi","condition.value.placeholder":"valoare",confirmClearAll:"Sigur doriți să eliminați toate câmpurile?",content:"Conţinut",control:"Control","controlGroups.nextGroup":"Grupul următor","controlGroups.prevGroup":"Grupul anterior","controls.filteringTerm":'Filtrarea "{term}"',"controls.form.button":"Buton","controls.form.checkbox-group":"Grupul de verificare","controls.form.input.date":"Data","controls.form.input.email":"E-mail","controls.form.input.file":"Fișier încărcat","controls.form.input.hidden":"Intrare ascunsă","controls.form.input.number":"Număr","controls.form.input.text":"Introducerea textului","controls.form.radio-group":"Radio Group","controls.form.select":"Selectați","controls.form.textarea":"TextArea","controls.groups.form":"Câmpuri de formular","controls.groups.html":"Elementele HTML","controls.groups.layout":"schemă","controls.html.divider":"compas","controls.html.header":"Antet","controls.html.paragraph":"Paragraf","controls.layout.column":"Coloană","controls.layout.row":"Rând",copy:"Copiați în clipboard",danger:"Pericol",defineColumnLayout:"Definiți un aspect al coloanei",defineColumnWidths:"Definiți lățimea coloanelor",description:"Ajutați textul",descriptionField:"Descriere","editing.row":"Editare rând",editorTitle:"Elemente formale",field:"Camp","field.property.invalid":"invalid","field.property.isChecked":"este verificat","field.property.isNotVisible":"nu este vizibilă","field.property.isVisible":"este vizibil","field.property.label":"eticheta","field.property.valid":"valabil","field.property.value":"valoare",fieldNonEditable:"Acest câmp nu poate fi editat.",fieldRemoveWarning:"Sigur doriți să eliminați acest câmp?",fileUpload:"Fișier încărcat",formUpdated:"Formular actualizat",getStarted:"Glisați un câmp din dreapta pentru a începe.",group:"grup",grouped:"grupate",hidden:"Intrare ascunsă",hide:"Editați | ×",htmlElements:"Elementele HTML",if:"Dacă","if.condition.source.placeholder":"sursă","if.condition.target.placeholder":"țintă / valoare",info:"Info","input.date":"Data","input.text":"Text",label:"Eticheta",labelCount:"{label} {count}",labelEmpty:"Eticheta de câmp nu poate fi goală","lang.af":"african","lang.ar":"arabic","lang.cs":"ceh","lang.de":"german","lang.en":"engleză","lang.es":"spaniolă","lang.fa":"persană","lang.fi":"finlandeză","lang.fr":"franceză","lang.he":"ebraică","lang.hi":"hindi","lang.hu":"maghiară","lang.it":"italian","lang.ja":"japonez","lang.nb":"norvegiana bokmål","lang.pl":"Lustrui","lang.pt":"portugheză","lang.ro":"română","lang.ru":"rusă","lang.th":"thailandez","lang.tr":"turc","lang.zh":"chinez",layout:"schemă",limitRole:"Limitați accesul la unul sau mai multe dintre următoarele roluri:",mandatory:"Obligatoriu",maxlength:"Lungime maxima","meta.group":"grup","meta.icon":"Ico","meta.label":"Eticheta",minOptionMessage:"Acest câmp necesită minim 2 opțiuni",name:"Nume",newOptionLabel:"Tip nou}",no:"Nu",number:"Număr",off:"de pe",on:"Pe","operator.contains":"conține","operator.equals":"este egală","operator.notContains":"nu conține","operator.notEquals":"nu este egal","operator.notVisible":"nu este vizibil","operator.visible":"vizibil",option:"Opțiune",optional:"facultativ",optionEmpty:"Valoarea opțiunii necesară",optionLabel:"Opțiunea {count}",options:"Opțiuni",or:"sau",order:"Ordin","panel.label.attrs":"atribute","panel.label.conditions":"Condiții","panel.label.config":"configurație","panel.label.meta":"Meta","panel.label.options":"Opțiuni","panelEditButtons.attrs":"+ Atribut","panelEditButtons.conditions":"+ Condiție","panelEditButtons.config":"+ Configurare","panelEditButtons.options":"+ Opțiune",placeholder:"Substitut","placeholder.className":"spații separate","placeholder.email":"Introdu adresa de email","placeholder.label":"Eticheta","placeholder.password":"Introduceți parola","placeholder.placeholder":"Substitut","placeholder.text":"Introduceți un text","placeholder.textarea":"Introduceți o mulțime de text","placeholder.value":"Valoare",preview:"previzualizare",primary:"Primar",remove:"Elimina",removeMessage:"Eliminați elementul",removeType:"Eliminați {type}",required:"Necesar",reset:"restabili",richText:"Editor text îmbogățit",roles:"Acces",row:"Rând","row.makeInputGroup":"Faceți acest rând un grup de intrare.","row.makeInputGroupDesc":"Grupurile de intrare permit utilizatorilor să adauge seturi de intrări la un moment dat.","row.settings.fieldsetWrap":"Înfășurați rândul într-un & lt; fieldset & gt; etichetă","row.settings.fieldsetWrap.aria":"Wrap Row in Fieldset",save:"Salvați",secondary:"Secundar",select:"Selectați",selectColor:"Selectați Culoare",selectionsMessage:"Permiteți mai multe selecții",selectOptions:"Opțiuni",separator:"Separator",settings:"Setări",size:"mărimea",sizes:"Dimensiuni","sizes.lg":"Mare","sizes.m":"Mod implicit","sizes.sm":"Mic","sizes.xs":"Extra mic",style:"Stil",styles:"stiluri","styles.btn":"Butonul de stil","styles.btn.danger":"Pericol","styles.btn.default":"Mod implicit","styles.btn.info":"Info","styles.btn.primary":"Primar","styles.btn.success":"Succes","styles.btn.warning":"Avertizare",subtype:"Tip",success:"Succes",text:"Câmp de text",then:"Atunci","then.condition.target.placeholder":"ţintă",toggle:"Comutare",ungrouped:"A-Grupate",warning:"Avertizare",yes:"da"},"ru-RU":{"ru-RU":"русский (Россия)",dir:"ltr","en-US":"английский","af-ZA":"африкаанс (Южно-Африканская Республика)","ar-TN":"арабский (Тунис)","cs-CZ":"чешский (Чехия)","de-DE":"немецкий (Германия)","es-ES":"европейский испанский","fa-IR":"персидский (Иран)","fi-FI":"финский (Финляндия)","fr-FR":"французский (Франция)","he-IL":"иврит (Израиль)","hi-IN":"хинди (Индия)","hu-HU":"венгерский (Венгрия)","it-IT":"итальянский (Италия)","ja-JP":"японский (Япония)","nb-NO":"норвежский букмол (Норвегия)","pl-PL":"польский (Польша)","pt-BR":"бразильский португальский","pt-PT":"европейский португальский","ro-RO":"румынский (Румыния)","th-TH":"тайский (Таиланд)","tr-TR":"турецкий (Турция)","zh-CN":"китайский (Китай)","zh-HK":"китайский (Гонконг [САР])","action.add.attrs.attr":"Какой атрибут вы хотели бы добавить?","action.add.attrs.value":"Значение по умолчанию",addOption:"Добавить опцию",allFieldsRemoved:"Все поля были удалены.",allowSelect:"Разрешить выбор",and:"а также",attribute:"атрибут",attributeNotPermitted:"Атрибут «{attribute}» не разрешен, выберите другой.",attributes:"Атрибуты","attrs.class":"Учебный класс","attrs.className":"Учебный класс","attrs.dir":"направление","attrs.id":"Я бы","attrs.required":"необходимые","attrs.style":"Стиль","attrs.title":"заглавие","attrs.type":"Тип","attrs.value":"Значение",autocomplete:"Автозаполнение",button:"кнопка",cancel:"Отмена",cannotBeEmpty:"Это поле не может быть пустым",cannotClearFields:"Нет полей для очистки",checkbox:"флажок",checkboxes:"Флажки",class:"Учебный класс",clear:"Очистить",clearAllMessage:"Вы уверены, что хотите очистить все поля?",close:"близко",column:"колонка","condition.target.placeholder":"цель","condition.type.and":"И","condition.type.if":"Если","condition.type.or":"Или","condition.type.then":"Затем","condition.value.placeholder":"значение",confirmClearAll:"Вы действительно хотите удалить все поля?",content:"содержание",control:"контроль","controlGroups.nextGroup":"Следующая группа","controlGroups.prevGroup":"Предыдущая группа","controls.filteringTerm":'Фильтрация "{term}"',"controls.form.button":"кнопка","controls.form.checkbox-group":"Группа флажков","controls.form.input.date":"Дата","controls.form.input.email":"Эл. адрес","controls.form.input.file":"Файл загружен","controls.form.input.hidden":"Скрытый ввод","controls.form.input.number":"Число","controls.form.input.text":"Ввод текста","controls.form.radio-group":"Радиогруппа","controls.form.select":"Выбрать","controls.form.textarea":"TextArea","controls.groups.form":"Поля формы","controls.groups.html":"Элементы HTML","controls.groups.layout":"раскладка","controls.html.divider":"делитель","controls.html.header":"заголовок","controls.html.paragraph":"Параграф","controls.layout.column":"колонка","controls.layout.row":"Строка",copy:"Скопировать в буфер обмена",danger:"Опасность",defineColumnLayout:"Определение расположения столбца",defineColumnWidths:"Определение ширины столбцов",description:"Текст справки",descriptionField:"Описание","editing.row":"Редактирование строки",editorTitle:"Элементы формы",field:"поле","field.property.invalid":"недействительный","field.property.isChecked":"проверено","field.property.isNotVisible":"не видно","field.property.isVisible":"видно","field.property.label":"этикетка","field.property.valid":"действительный","field.property.value":"значение",fieldNonEditable:"Это поле невозможно отредактировать.",fieldRemoveWarning:"Вы действительно хотите удалить это поле?",fileUpload:"Файл загружен",formUpdated:"Форма обновлена",getStarted:"Для начала перетащите поле справа.",group:"группа",grouped:"Сгруппированные",hidden:"Скрытый ввод",hide:"редактировать",htmlElements:"Элементы HTML",if:"Если","if.condition.source.placeholder":"источник","if.condition.target.placeholder":"целевое значение",info:"Информация","input.date":"Дата","input.text":"Текст",label:"этикетка",labelCount:"{label} {count}",labelEmpty:"Полевая метка не может быть пуста","lang.af":"Африканский","lang.ar":"арабский","lang.cs":"чешский","lang.de":"немецкий","lang.en":"Английский","lang.es":"испанский","lang.fa":"персидский","lang.fi":"финский","lang.fr":"Французский","lang.he":"иврит","lang.hi":"хинди","lang.hu":"венгерский","lang.it":"итальянский","lang.ja":"японский","lang.nb":"Норвежский букмол","lang.pl":"польский","lang.pt":"португальский","lang.ro":"румынский","lang.ru":"Русский","lang.th":"тайский","lang.tr":"турецкий","lang.zh":"китайский",layout:"раскладка",limitRole:"Ограничить доступ к одной или нескольким из следующих ролей:",mandatory:"Обязательный",maxlength:"Максимальная длина","meta.group":"группа","meta.icon":"Ico","meta.label":"этикетка",minOptionMessage:"Для этого поля требуется минимум 2 варианта",name:"название",newOptionLabel:"Новый {type}",no:"нет",number:"Число",off:"от",on:"На","operator.contains":"содержит","operator.equals":"равняется","operator.notContains":"не содержит","operator.notEquals":"не равный","operator.notVisible":"невидимый","operator.visible":"видимый",option:"вариант",optional:"необязательный",optionEmpty:"Требуемое значение параметра",optionLabel:"Вариант {count}",options:"Опции",or:"или же",order:"порядок","panel.label.attrs":"Атрибуты","panel.label.conditions":"условия","panel.label.config":"конфигурация","panel.label.meta":"Мета","panel.label.options":"Опции","panelEditButtons.attrs":"+ Атрибут","panelEditButtons.conditions":"+ Условие","panelEditButtons.config":"+ Конфигурация","panelEditButtons.options":"+ Вариант",placeholder:"Заполнитель","placeholder.className":"классы, разделенные пробелами","placeholder.email":"Введите адрес электронной почты","placeholder.label":"этикетка","placeholder.password":"Введите ваш пароль","placeholder.placeholder":"Заполнитель","placeholder.text":"Введите текст","placeholder.textarea":"Введите много текста","placeholder.value":"Значение",preview:"предварительный просмотр",primary:"первичный",remove:"Удалить",removeMessage:"Удалить элемент",removeType:"Удалить {type}",required:"необходимые",reset:"Сброс",richText:"Редактор Rich Text Editor",roles:"Доступ",row:"Строка","row.makeInputGroup":"Сделайте эту строку группой ввода.","row.makeInputGroupDesc":"Группы ввода позволяют пользователям добавлять наборы входов одновременно.","row.settings.fieldsetWrap":"Wrap row в & lt; fieldset & gt; тег","row.settings.fieldsetWrap.aria":"Wrap Row в Fieldset",save:"Сохранить",secondary:"второстепенный",select:"Выбрать",selectColor:"Выберите цвет",selectionsMessage:"Разрешить множественный выбор",selectOptions:"Опции",separator:"Разделитель",settings:"настройки",size:"Размер",sizes:"Размеры","sizes.lg":"большой","sizes.m":"По умолчанию","sizes.sm":"Маленький","sizes.xs":"Очень маленький",style:"Стиль",styles:"Стили","styles.btn":"Стиль кнопки","styles.btn.danger":"Опасность","styles.btn.default":"По умолчанию","styles.btn.info":"Информация","styles.btn.primary":"первичный","styles.btn.success":"успех","styles.btn.warning":"Предупреждение",subtype:"Тип",success:"успех",text:"Текстовое поле",then:"затем","then.condition.target.placeholder":"цель",toggle:"тумблер",ungrouped:"A-Сгруппированные",warning:"Предупреждение",yes:"да"},"th-TH":{"th-TH":"ไทย (ไทย)",dir:"ltr","en-US":"ภาษาอังกฤษ","af-ZA":"แอฟริกานส์ (แอฟริกาใต้)","ar-TN":"อาหรับ (ตูนิเซีย)","cs-CZ":"เช็ก (เช็ก)","de-DE":"เยอรมัน (เยอรมนี)","es-ES":"สเปน - ยุโรป","fa-IR":"เปอร์เซีย (อิหร่าน)","fi-FI":"ฟินแลนด์ (ฟินแลนด์)","fr-FR":"ฝรั่งเศส (ฝรั่งเศส)","he-IL":"ฮิบรู (อิสราเอล)","hi-IN":"ฮินดี (อินเดีย)","hu-HU":"ฮังการี (ฮังการี)","it-IT":"อิตาลี (อิตาลี)","ja-JP":"ญี่ปุ่น (ญี่ปุ่น)","nb-NO":"นอร์เวย์บุคมอล (นอร์เวย์)","pl-PL":"โปแลนด์ (โปแลนด์)","pt-BR":"โปรตุเกส - บราซิล","pt-PT":"โปรตุเกส - ยุโรป","ro-RO":"โรมาเนีย (โรมาเนีย)","ru-RU":"รัสเซีย (รัสเซีย)","tr-TR":"ตุรกี (ตุรกี)","zh-CN":"จีน (จีน)","zh-HK":"จีน (เขตปกครองพิเศษฮ่องกงแห่งสาธารณรัฐประชาชนจีน)","action.add.attrs.attr":"คุณต้องการเพิ่มคุณสมบัติใด?","action.add.attrs.value":"ค่าเริ่มต้น",addOption:"เพิ่มตัวเลือก",allFieldsRemoved:"ลบข้อมูลทุกช่องออกแล้ว",allowSelect:"อนุญาตให้เลือก",and:"และ",attribute:"คุณลักษณะ",attributeNotPermitted:'ไม่อนุญาตให้ใช้แอตทริบิวต์ "{attribute}" โปรดเลือกแอตทริบิวต์อื่น',attributes:"คุณสมบัติ","attrs.class":"ระดับ","attrs.className":"ระดับ","attrs.dir":"ทิศทาง","attrs.id":"รหัส","attrs.required":"ที่จำเป็น","attrs.style":"สไตล์","attrs.title":"ชื่อ","attrs.type":"พิมพ์","attrs.value":"ค่า",autocomplete:"การกรอกอัตโนมัติ",button:"ปุ่ม",cancel:"ยกเลิก",cannotBeEmpty:"ฟิลด์นี้ไม่สามารถว่างเปล่าได้",cannotClearFields:"ไม่มีช่องที่ต้องล้างข้อมูล",checkbox:"ช่องกาเครื่องหมาย",checkboxes:"ช่องกาเครื่องหมาย",class:"ระดับ",clear:"ชัดเจน",clearAllMessage:"คุณแน่ใจว่าต้องการล้างข้อมูลทั้งหมดหรือไม่?",close:"ปิด",column:"คอลัมน์","condition.target.placeholder":"เป้า","condition.type.and":"และ","condition.type.if":"ถ้า","condition.type.or":"หรือ","condition.type.then":"แล้ว","condition.value.placeholder":"ค่า",confirmClearAll:"คุณแน่ใจว่าต้องการลบข้อมูลทั้งหมดหรือไม่?",content:"เนื้อหา",control:"ควบคุม","controlGroups.nextGroup":"กลุ่มถัดไป","controlGroups.prevGroup":"กลุ่มก่อนหน้า","controls.filteringTerm":'การกรอง "{term}"',"controls.form.button":"ปุ่ม","controls.form.checkbox-group":"กลุ่มกล่องกาเครื่องหมาย","controls.form.input.date":"วันที่","controls.form.input.email":"อีเมล","controls.form.input.file":"อัพโหลดไฟล์","controls.form.input.hidden":"อินพุตที่ซ่อนอยู่","controls.form.input.number":"ตัวเลข","controls.form.input.text":"การป้อนข้อความ","controls.form.radio-group":"กลุ่มวิทยุ","controls.form.select":"เลือก","controls.form.textarea":"พื้นที่ข้อความ","controls.groups.form":"ฟิลด์ฟอร์ม","controls.groups.html":"องค์ประกอบ HTML","controls.groups.layout":"เค้าโครง","controls.html.divider":"ตัวคั่น","controls.html.header":"ส่วนหัว","controls.html.paragraph":"ย่อหน้า","controls.layout.column":"คอลัมน์","controls.layout.row":"แถว",copy:"คัดลอกไปยังคลิปบอร์ด",danger:"อันตราย",defineColumnLayout:"กำหนดเค้าโครงคอลัมน์",defineColumnWidths:"กำหนดความกว้างของคอลัมน์",description:"ข้อความช่วยเหลือ",descriptionField:"คำอธิบาย","editing.row":"การแก้ไขแถว",editorTitle:"องค์ประกอบแบบฟอร์ม",field:"สนาม","field.property.invalid":"ไม่ถูกต้อง","field.property.isChecked":"ได้รับการตรวจสอบแล้ว","field.property.isNotVisible":"มองไม่เห็น","field.property.isVisible":"สามารถมองเห็นได้","field.property.label":"ฉลาก","field.property.valid":"ถูกต้อง","field.property.value":"ค่า",fieldNonEditable:"ไม่สามารถแก้ไขฟิลด์นี้ได้",fieldRemoveWarning:"คุณแน่ใจว่าต้องการลบฟิลด์นี้หรือไม่?",fileUpload:"อัพโหลดไฟล์",formUpdated:"แบบฟอร์มอัปเดต",getStarted:"ลากฟิลด์จากด้านขวาเพื่อเริ่มต้น",group:"กลุ่ม",grouped:"การจัดกลุ่ม",hidden:"อินพุตที่ซ่อนอยู่",hide:"แก้ไข",htmlElements:"องค์ประกอบ HTML",if:"ถ้า","if.condition.source.placeholder":"แหล่งที่มา","if.condition.target.placeholder":"เป้าหมาย / มูลค่า",info:"ข้อมูล","input.date":"วันที่","input.text":"ข้อความ",label:"ฉลาก",labelCount:"{ป้าย} {จำนวน}",labelEmpty:"ป้ายชื่อฟิลด์ไม่สามารถว่างเปล่าได้","lang.af":"แอฟริกัน","lang.ar":"ภาษาอาหรับ","lang.cs":"เช็ก","lang.de":"เยอรมัน","lang.en":"ภาษาอังกฤษ","lang.es":"สเปน","lang.fa":"เปอร์เซีย","lang.fi":"ฟินแลนด์","lang.fr":"ภาษาฝรั่งเศส","lang.he":"ฮิบรู","lang.hi":"ฮินดี","lang.hu":"ฮังการี","lang.it":"อิตาลี","lang.ja":"ญี่ปุ่น","lang.nb":"นอร์เวย์บุคมอล","lang.pl":"ขัด","lang.pt":"โปรตุเกส","lang.ro":"โรมาเนีย","lang.ru":"รัสเซีย","lang.th":"แบบไทย","lang.tr":"ภาษาตุรกี","lang.zh":"ชาวจีน",layout:"เค้าโครง",limitRole:"จำกัดการเข้าถึงหนึ่งหรือมากกว่าหนึ่งบทบาทต่อไปนี้:",mandatory:"บังคับ",maxlength:"ความยาวสูงสุด","meta.group":"กลุ่ม","meta.icon":"ไอโค","meta.label":"ฉลาก",minOptionMessage:"ฟิลด์นี้จำเป็นต้องมีตัวเลือกอย่างน้อย 2 ตัวเลือก",name:"ชื่อ",newOptionLabel:"ใหม่ {ประเภท}",no:"เลขที่",number:"ตัวเลข",off:"ปิด",on:"บน","operator.contains":"ประกอบด้วย","operator.equals":"เท่ากับ","operator.notContains":"ไม่ประกอบด้วย","operator.notEquals":"ไม่เท่ากัน","operator.notVisible":"มองไม่เห็น","operator.visible":"มองเห็นได้",option:"ตัวเลือก",optional:"ไม่จำเป็น",optionEmpty:"ค่าตัวเลือกที่ต้องการ",optionLabel:"ตัวเลือก {จำนวน}",options:"ตัวเลือก",or:"หรือ",order:"คำสั่ง","panel.label.attrs":"คุณสมบัติ","panel.label.conditions":"เงื่อนไข","panel.label.config":"การกำหนดค่า","panel.label.meta":"เมต้า","panel.label.options":"ตัวเลือก","panelEditButtons.attrs":"+ คุณสมบัติ","panelEditButtons.conditions":"+ สภาพ","panelEditButtons.config":"+ การกำหนดค่า","panelEditButtons.options":"+ ตัวเลือก",placeholder:"ตัวแทน","placeholder.className":"การแบ่งชั้นเรียนแบบแยกพื้นที่","placeholder.email":"กรอกอีเมล์ของคุณ","placeholder.label":"ฉลาก","placeholder.password":"กรอกรหัสผ่านของคุณ","placeholder.placeholder":"ตัวแทน","placeholder.text":"ป้อนข้อความบางอย่าง","placeholder.textarea":"ใส่ข้อความจำนวนมาก","placeholder.value":"ค่า",preview:"ตัวอย่าง",primary:"หลัก",remove:"ลบ",removeMessage:"ลบองค์ประกอบ",removeType:"ลบ {type}",required:"ที่จำเป็น",reset:"รีเซ็ต",richText:"โปรแกรมแก้ไขข้อความแบบ Rich Text",roles:"เข้าถึง",row:"แถว","row.makeInputGroup":"สร้างแถวนี้เป็นกลุ่มอินพุต","row.makeInputGroupDesc":"กลุ่มอินพุตช่วยให้ผู้ใช้สามารถเพิ่มชุดอินพุตได้ในแต่ละครั้ง","row.settings.fieldsetWrap":"ห่อแถวในแท็ก &lt;fieldset&gt;","row.settings.fieldsetWrap.aria":"การห่อแถวใน Fieldset",save:"บันทึก",secondary:"มัธยมศึกษาตอนปลาย",select:"เลือก",selectColor:"เลือกสี",selectionsMessage:"อนุญาตให้เลือกได้หลายรายการ",selectOptions:"ตัวเลือก",separator:"ตัวคั่น",settings:"การตั้งค่า",size:"ขนาด",sizes:"ขนาด","sizes.lg":"ใหญ่","sizes.m":"ค่าเริ่มต้น","sizes.sm":"เล็ก","sizes.xs":"พิเศษเล็ก",style:"สไตล์",styles:"สไตล์","styles.btn":"รูปแบบปุ่ม","styles.btn.danger":"อันตราย","styles.btn.default":"ค่าเริ่มต้น","styles.btn.info":"ข้อมูล","styles.btn.primary":"หลัก","styles.btn.success":"ความสำเร็จ","styles.btn.warning":"คำเตือน",subtype:"พิมพ์",success:"ความสำเร็จ",text:"ช่องข้อความ",then:"แล้ว","then.condition.target.placeholder":"เป้า",toggle:"สลับ",ungrouped:"ยกเลิกการจัดกลุ่ม",warning:"คำเตือน",yes:"ใช่"},"tr-TR":{"tr-TR":"Türkçe (Türkiye)",dir:"ltr","en-US":"ingilizce","af-ZA":"Afrikaanca (Güney Afrika)","ar-TN":"Arapça (Tunus)","cs-CZ":"Çekçe (Çekya)","de-DE":"Almanca (Almanya)","es-ES":"Avrupa İspanyolcası","fa-IR":"Farsça (İran)","fi-FI":"Fince (Finlandiya)","fr-FR":"Fransızca (Fransa)","he-IL":"İbranice (İsrail)","hi-IN":"Hintçe (Hindistan)","hu-HU":"Macarca (Macaristan)","it-IT":"İtalyanca (İtalya)","ja-JP":"Japonca (Japonya)","nb-NO":"Norveççe Bokmål (Norveç)","pl-PL":"Lehçe (Polonya)","pt-BR":"Brezilya Portekizcesi","pt-PT":"Avrupa Portekizcesi","ro-RO":"Rumence (Romanya)","ru-RU":"Rusça (Rusya)","th-TH":"Tayca (Tayland)","zh-CN":"Çince (Çin)","zh-HK":"Çince (Çin Hong Kong ÖİB)","action.add.attrs.attr":"Hangi özelliği eklemek istersiniz?","action.add.attrs.value":"Varsayılan değer",addOption:"Seçenek ekle",allFieldsRemoved:"Tüm alanlar kaldırıldı.",allowSelect:"Seçime İzin Ver",and:"ve",attribute:"nitelik",attributeNotPermitted:'"{Attribute}" özelliğine izin verilmiyor, lütfen başka bir tane seçin.',attributes:"Öznitellikler","attrs.class":"Sınıf","attrs.className":"Sınıf","attrs.dir":"yön","attrs.id":"İD","attrs.required":"gereklidir","attrs.style":"stil","attrs.title":"Başlık","attrs.type":"tip","attrs.value":"değer",autocomplete:"Otomatik tamamlama",button:"Buton",cancel:"İptal etmek",cannotBeEmpty:"Bu alan boş olamaz",cannotClearFields:"Temizlenecek alan yok",checkbox:"Onay Kutusu",checkboxes:"Onay kutuları",class:"Sınıf",clear:"Açık",clearAllMessage:"Tüm alanları temizlemek istediğinden emin misin?",close:"Kapat",column:"sütun","condition.target.placeholder":"hedef","condition.type.and":"Ve","condition.type.if":"Eğer","condition.type.or":"Veya","condition.type.then":"Daha sonra","condition.value.placeholder":"değer",confirmClearAll:"Tüm alanları kaldırmak istediğinizden emin misiniz?",content:"içerik",control:"Kontrol","controlGroups.nextGroup":"Sonraki grup","controlGroups.prevGroup":"Önceki Grup","controls.filteringTerm":'"{Term}" filtrelemesi',"controls.form.button":"Buton","controls.form.checkbox-group":"Onay Kutusu Grubu","controls.form.input.date":"tarih","controls.form.input.email":"E-posta","controls.form.input.file":"Dosya yükleme","controls.form.input.hidden":"Gizli Giriş","controls.form.input.number":"Numara","controls.form.input.text":"Metin Girişi","controls.form.radio-group":"Radyo Grubu","controls.form.select":"seçmek","controls.form.textarea":"TextArea","controls.groups.form":"Form Alanları","controls.groups.html":"HTML Öğeleri","controls.groups.layout":"düzen","controls.html.divider":"bölen","controls.html.header":"Başlık","controls.html.paragraph":"Paragraf","controls.layout.column":"sütun","controls.layout.row":"Kürek çekmek",copy:"Panoya kopyala",danger:"Tehlike",defineColumnLayout:"Bir sütun düzeni tanımlayın",defineColumnWidths:"Sütun genişliklerini tanımla",description:"Yardım Metni",descriptionField:"Açıklama","editing.row":"Satırı Düzenleme",editorTitle:"Form Öğeleri",field:"Alan","field.property.invalid":"geçerli değil","field.property.isChecked":"kontrol edildi","field.property.isNotVisible":"görünür değil","field.property.isVisible":"görünür","field.property.label":"etiket","field.property.valid":"geçerli","field.property.value":"değer",fieldNonEditable:"Bu alan düzenlenemez.",fieldRemoveWarning:"Bu alanı kaldırmak istediğinizden emin misiniz?",fileUpload:"Dosya yükleme",formUpdated:"Form Güncelleme",getStarted:"Başlamak için bir alanı sağdan sürükleyin.",group:"grup",grouped:"gruplanmış",hidden:"Gizli Giriş",hide:"Düzenle",htmlElements:"HTML Öğeleri",if:"Eğer","if.condition.source.placeholder":"kaynak","if.condition.target.placeholder":"hedef değer",info:"Bilgi","input.date":"tarih","input.text":"Metin",label:"Etiket",labelCount:"{label} {count}",labelEmpty:"Saha Etiketi boş olamaz","lang.af":"Afrika","lang.ar":"Arapça","lang.cs":"Çek","lang.de":"Almanca","lang.en":"İngilizce","lang.es":"İspanyol","lang.fa":"Farsça","lang.fi":"Fince","lang.fr":"Fransızca","lang.he":"İbranice","lang.hi":"Hintçe","lang.hu":"Macarca","lang.it":"İtalyan","lang.ja":"Japonca","lang.nb":"Norveç Bokmål'ı","lang.pl":"Lehçe","lang.pt":"Portekizce","lang.ro":"Romence","lang.ru":"Rusça","lang.th":"Tayca","lang.tr":"Türkçe","lang.zh":"Çince",layout:"düzen",limitRole:"Aşağıdaki rollerden bir veya daha fazlasına erişimi sınırlayın:",mandatory:"Zorunlu",maxlength:"Maksimum uzunluk","meta.group":"grup","meta.icon":"ico","meta.label":"Etiket",minOptionMessage:"Bu alan en az 2 seçenek gerektirir",name:"isim",newOptionLabel:"Yeni tip}",no:"Yok hayır",number:"Numara",off:"kapalı",on:"üzerinde","operator.contains":"içeren","operator.equals":"eşittir","operator.notContains":"içermiyor","operator.notEquals":"eşit değil","operator.notVisible":"görünür değil","operator.visible":"gözle görülür",option:"seçenek",optional:"isteğe bağlı",optionEmpty:"Seçenek değeri gerekli",optionLabel:"Seçenek {count}",options:"Seçenekler",or:"veya",order:"Sipariş","panel.label.attrs":"Öznitellikler","panel.label.conditions":"Koşullar","panel.label.config":"Yapılandırma","panel.label.meta":"Meta","panel.label.options":"Seçenekler","panelEditButtons.attrs":"+ Özellik","panelEditButtons.conditions":"+ Durum","panelEditButtons.config":"+ Yapılandırma","panelEditButtons.options":"+ Seçenek",placeholder:"Yer tutucu","placeholder.className":"boşluk ayrılmış sınıflar","placeholder.email":"Size e-posta adresi","placeholder.label":"Etiket","placeholder.password":"Şifrenizi girin","placeholder.placeholder":"Yer tutucu","placeholder.text":"Bir metin girin","placeholder.textarea":"Çok fazla metin girin","placeholder.value":"değer",preview:"Ön izleme",primary:"Birincil",remove:"Kaldır",removeMessage:"Öğeyi Kaldır",removeType:"{Type} öğesini kaldır",required:"gereklidir",reset:"Reset",richText:"Zengin metin editörü",roles:"Erişim",row:"Kürek çekmek","row.makeInputGroup":"Bu satırı bir giriş grubu yapın.","row.makeInputGroupDesc":"Giriş Grupları, kullanıcıların bir kerede giriş setleri eklemesine olanak tanır.","row.settings.fieldsetWrap":"Satırı & lt; fieldset & gt; etiket","row.settings.fieldsetWrap.aria":"Fieldset'te Satır Sarma",save:"Kayıt etmek",secondary:"İkincil",select:"seçmek",selectColor:"Renk seç",selectionsMessage:"Birden Çok Seçime İzin Ver",selectOptions:"Seçenekler",separator:"Ayırıcı",settings:"Ayarlar",size:"Boyut",sizes:"Boyutları","sizes.lg":"Büyük","sizes.m":"Varsayılan","sizes.sm":"Küçük","sizes.xs":"Çok küçük",style:"stil",styles:"stiller","styles.btn":"Düğme Stili","styles.btn.danger":"Tehlike","styles.btn.default":"Varsayılan","styles.btn.info":"Bilgi","styles.btn.primary":"Birincil","styles.btn.success":"başarı","styles.btn.warning":"Uyarı",subtype:"tip",success:"başarı",text:"Metin alanı",then:"Sonra","then.condition.target.placeholder":"hedef",toggle:"geçiş",ungrouped:"A-Gruplanmış",warning:"Uyarı",yes:"Evet"},"zh-CN":{"zh-CN":"中文(中国)",dir:"ltr","en-US":"英语","af-ZA":"南非荷兰语(南非)","ar-TN":"阿拉伯语(突尼斯)","cs-CZ":"捷克语(捷克)","de-DE":"德语(德国)","es-ES":"欧洲西班牙语","fa-IR":"波斯语(伊朗)","fi-FI":"芬兰语(芬兰)","fr-FR":"法语(法国)","he-IL":"希伯来语(以色列)","hi-IN":"印地语(印度)","hu-HU":"匈牙利语(匈牙利)","it-IT":"意大利语(意大利)","ja-JP":"日语(日本)","nb-NO":"书面挪威语(挪威)","pl-PL":"波兰语(波兰)","pt-BR":"巴西葡萄牙语","pt-PT":"欧洲葡萄牙语","ro-RO":"罗马尼亚语(罗马尼亚)","ru-RU":"俄语(俄罗斯)","th-TH":"泰语(泰国)","tr-TR":"土耳其语(土耳其)","zh-HK":"中文(中国香港特别行政区)","action.add.attrs.attr":"你想添加什么属性?","action.add.attrs.value":"默认值",addOption:"添加选项",allFieldsRemoved:"所有字段都已删除。",allowSelect:"允许选择",and:"和",attribute:"属性",attributeNotPermitted:"不允许使用属性“{attribute}”,请选择其他属性。",attributes:"属性","attrs.class":"类","attrs.className":"类","attrs.dir":"方向","attrs.id":"ID","attrs.required":"需要","attrs.style":"样式","attrs.title":"标题","attrs.type":"类型","attrs.value":"值",autocomplete:"自动完成",button:"按键",cancel:"取消",cannotBeEmpty:"此字段不能为空",cannotClearFields:"没有要清除的字段",checkbox:"复选框",checkboxes:"复选框",class:"类",clear:"明确",clearAllMessage:"您确定要清除所有字段吗?",close:"关",column:"柱","condition.target.placeholder":"目标","condition.type.and":"和","condition.type.if":"如果","condition.type.or":"或者","condition.type.then":"然后","condition.value.placeholder":"值",confirmClearAll:"您确定要删除所有字段吗?",content:"内容",control:"控制","controlGroups.nextGroup":"下一组","controlGroups.prevGroup":"上一组","controls.filteringTerm":"过滤“{term}”","controls.form.button":"按键","controls.form.checkbox-group":"复选框组","controls.form.input.date":"日期","controls.form.input.email":"电子邮件","controls.form.input.file":"上传文件","controls.form.input.hidden":"隐藏的输入","controls.form.input.number":"数","controls.form.input.text":"文字输入","controls.form.radio-group":"广播组","controls.form.select":"选择","controls.form.textarea":"文本区","controls.groups.form":"表格字段","controls.groups.html":"HTML元素","controls.groups.layout":"布局","controls.html.divider":"分频器","controls.html.header":"头","controls.html.paragraph":"段","controls.layout.column":"柱","controls.layout.row":"行",copy:"复制到剪贴板",danger:"危险",defineColumnLayout:"定义列布局",defineColumnWidths:"定义列宽",description:"帮助文字",descriptionField:"描述","editing.row":"编辑行",editorTitle:"表单元素",field:"领域","field.property.invalid":"无效","field.property.isChecked":"已检查","field.property.isNotVisible":"不可见","field.property.isVisible":"是可见的","field.property.label":"标签","field.property.valid":"有效","field.property.value":"值",fieldNonEditable:"此字段无法编辑。",fieldRemoveWarning:"您确定要删除此字段吗?",fileUpload:"上传文件",formUpdated:"表格更新",getStarted:"从右侧拖动一个字段即可开始使用。",group:"组",grouped:"分组",hidden:"隐藏的输入",hide:"编辑",htmlElements:"HTML元素",if:"如果","if.condition.source.placeholder":"资源","if.condition.target.placeholder":"目标价值",info:"信息","input.date":"日期","input.text":"文本",label:"标签",labelCount:"{label} {count}",labelEmpty:"字段标签不能为空","lang.af":"非洲人","lang.ar":"阿拉伯","lang.cs":"捷克语","lang.de":"德语","lang.en":"英语","lang.es":"西班牙语","lang.fa":"波斯语","lang.fi":"芬兰","lang.fr":"法语","lang.he":"希伯来语","lang.hi":"印地语","lang.hu":"匈牙利","lang.it":"意大利语","lang.ja":"日本人","lang.nb":"挪威博克马尔语","lang.pl":"抛光","lang.pt":"葡萄牙语","lang.ro":"罗马尼亚语","lang.ru":"俄语","lang.th":"泰国","lang.tr":"土耳其","lang.zh":"中国人",layout:"布局",limitRole:"限制对以下一个或多个角色的访问:",mandatory:"强制性",maxlength:"最长长度","meta.group":"组","meta.icon":"ICO","meta.label":"标签",minOptionMessage:"此字段至少需要2个选项",name:"名称",newOptionLabel:"新型}",no:"没有",number:"数",off:"离",on:"上","operator.contains":"包含","operator.equals":"等于","operator.notContains":"不包含","operator.notEquals":"不平等","operator.notVisible":"不可见","operator.visible":"可见",option:"选项",optional:"可选的",optionEmpty:"需要选项值",optionLabel:"选项{count}",options:"选项",or:"要么",order:"订购","panel.label.attrs":"属性","panel.label.conditions":"条件","panel.label.config":"组态","panel.label.meta":"元","panel.label.options":"选项","panelEditButtons.attrs":"+属性","panelEditButtons.conditions":"+条件","panelEditButtons.config":"+ 配置","panelEditButtons.options":"+选项",placeholder:"占位符","placeholder.className":"空间分隔的课程","placeholder.email":"输入您的电子邮件","placeholder.label":"标签","placeholder.password":"输入您的密码","placeholder.placeholder":"占位符","placeholder.text":"输入一些文字","placeholder.textarea":"输入大量文字","placeholder.value":"值",preview:"预习",primary:"主",remove:"去掉",removeMessage:"删除元素",removeType:"删除{type}",required:"需要",reset:"重启",richText:"富文本编辑器",roles:"访问",row:"行","row.makeInputGroup":"将此行设为输入组。","row.makeInputGroupDesc":"输入组使用户可以一次添加输入集。","row.settings.fieldsetWrap":"在&lt; fieldset&gt;中换行。标签","row.settings.fieldsetWrap.aria":"在Fieldset中换行",save:"保存",secondary:"次要",select:"选择",selectColor:"选择颜色",selectionsMessage:"允许多个选择",selectOptions:"选项",separator:"分隔器",settings:"设置",size:"尺寸",sizes:"尺寸","sizes.lg":"大","sizes.m":"默认","sizes.sm":"小","sizes.xs":"超小",style:"样式",styles:"样式","styles.btn":"按钮样式","styles.btn.danger":"危险","styles.btn.default":"默认","styles.btn.info":"信息","styles.btn.primary":"主","styles.btn.success":"成功","styles.btn.warning":"警告",subtype:"类型",success:"成功",text:"文本域",then:"然后","then.condition.target.placeholder":"目标",toggle:"切换",ungrouped:"A-分组",warning:"警告",yes:"是"},"zh-HK":{"zh-HK":"中文(中國香港特別行政區)",dir:"ltr","en-US":"英語","af-ZA":"南非荷蘭文(南非)","ar-TN":"阿拉伯文(突尼西亞)","cs-CZ":"捷克文(捷克)","de-DE":"德文(德國)","es-ES":"歐洲西班牙文","fa-IR":"波斯文(伊朗)","fi-FI":"芬蘭文(芬蘭)","fr-FR":"法文(法國)","he-IL":"希伯來文(以色列)","hi-IN":"印地文(印度)","hu-HU":"匈牙利文(匈牙利)","it-IT":"意大利文(意大利)","ja-JP":"日文(日本)","nb-NO":"巴克摩挪威文(挪威)","pl-PL":"波蘭文(波蘭)","pt-BR":"巴西葡萄牙文","pt-PT":"歐洲葡萄牙文","ro-RO":"羅馬尼亞文(羅馬尼亞)","ru-RU":"俄文(俄羅斯)","th-TH":"泰文(泰國)","tr-TR":"土耳其文(土耳其)","zh-CN":"中文(中國)","action.add.attrs.attr":"您想新增什麼屬性?","action.add.attrs.value":"預設值",addOption:"新增選項",allFieldsRemoved:"所有欄位均已刪除。",allowSelect:"允許選擇",and:"和",attribute:"屬性",attributeNotPermitted:"不允許使用屬性“{attribute}”,請選擇其他屬性。",attributes:"屬性","attrs.class":"班級","attrs.className":"班級","attrs.dir":"方向","attrs.id":"ID","attrs.required":"必需的","attrs.style":"風格","attrs.title":"標題","attrs.type":"類型","attrs.value":"價值",autocomplete:"自動完成",button:"按鈕",cancel:"取消",cannotBeEmpty:"該欄位不能為空",cannotClearFields:"沒有要清除的字段",checkbox:"複選框",checkboxes:"複選框",class:"班級",clear:"清除",clearAllMessage:"您確定要清除所有欄位嗎?",close:"關閉",column:"柱子","condition.target.placeholder":"目標","condition.type.and":"和","condition.type.if":"如果","condition.type.or":"或者","condition.type.then":"然後","condition.value.placeholder":"價值",confirmClearAll:"您確定要刪除所有欄位嗎?",content:"內容",control:"控制","controlGroups.nextGroup":"下一組","controlGroups.prevGroup":"上一組","controls.filteringTerm":"過濾“{term}”","controls.form.button":"按鈕","controls.form.checkbox-group":"複選框組","controls.form.input.date":"日期","controls.form.input.email":"電子郵件","controls.form.input.file":"文件上傳","controls.form.input.hidden":"隱藏輸入","controls.form.input.number":"數位","controls.form.input.text":"文字輸入","controls.form.radio-group":"無線電集團","controls.form.select":"選擇","controls.form.textarea":"文字區","controls.groups.form":"表單字段","controls.groups.html":"HTML 元素","controls.groups.layout":"佈局","controls.html.divider":"分音器","controls.html.header":"標頭","controls.html.paragraph":"段落","controls.layout.column":"柱子","controls.layout.row":"排",copy:"複製到剪貼簿",danger:"危險",defineColumnLayout:"定義列佈局",defineColumnWidths:"定義列寬",description:"幫助文本",descriptionField:"描述","editing.row":"編輯行",editorTitle:"表單元素",field:"場地","field.property.invalid":"無效","field.property.isChecked":"已檢查","field.property.isNotVisible":"不可見","field.property.isVisible":"是可見的","field.property.label":"標籤","field.property.valid":"有效的","field.property.value":"價值",fieldNonEditable:"該字段無法編輯。",fieldRemoveWarning:"您確定要刪除該欄位嗎?",fileUpload:"文件上傳",formUpdated:"表格已更新",getStarted:"從右側拖曳一個欄位即可開始。",group:"團體",grouped:"分組",hidden:"隱藏輸入",hide:"編輯",htmlElements:"HTML 元素",if:"如果","if.condition.source.placeholder":"來源","if.condition.target.placeholder":"目標/價值",info:"資訊","input.date":"日期","input.text":"文字",label:"標籤",labelCount:"{標籤} {計數}",labelEmpty:"字段標籤不能為空","lang.af":"非洲人","lang.ar":"阿拉伯","lang.cs":"捷克語","lang.de":"德文","lang.en":"英語","lang.es":"西班牙語","lang.fa":"波斯語","lang.fi":"芬蘭","lang.fr":"法語","lang.he":"希伯來文","lang.hi":"印地文","lang.hu":"匈牙利","lang.it":"義大利語","lang.ja":"日本人","lang.nb":"挪威博克馬爾語","lang.pl":"拋光","lang.pt":"葡萄牙語","lang.ro":"羅馬尼亞語","lang.ru":"俄文","lang.th":"泰國","lang.tr":"土耳其","lang.zh":"中國人",layout:"佈局",limitRole:"限制對以下一個或多個角色的存取:",mandatory:"強制的",maxlength:"最大長度","meta.group":"團體","meta.icon":"伊科","meta.label":"標籤",minOptionMessage:"該欄位至少需要 2 個選項",name:"姓名",newOptionLabel:"新型}",no:"不",number:"數位",off:"離開",on:"在","operator.contains":"包含","operator.equals":"等於","operator.notContains":"不包含","operator.notEquals":"不等於","operator.notVisible":"不可見","operator.visible":"可見的",option:"選項",optional:"選修的",optionEmpty:"所需選項值",optionLabel:"選項{計數}",options:"選項",or:"或者",order:"命令","panel.label.attrs":"屬性","panel.label.conditions":"狀況","panel.label.config":"配置","panel.label.meta":"元","panel.label.options":"選項","panelEditButtons.attrs":"+ 屬性","panelEditButtons.conditions":"+ 條件","panelEditButtons.config":"+ 配置","panelEditButtons.options":"+ 選項",placeholder:"佔位符","placeholder.className":"空間分隔的類別","placeholder.email":"輸入您的電子郵件","placeholder.label":"標籤","placeholder.password":"輸入您的密碼","placeholder.placeholder":"佔位符","placeholder.text":"輸入一些文字","placeholder.textarea":"輸入大量文字","placeholder.value":"價值",preview:"預覽",primary:"基本的",remove:"消除",removeMessage:"刪除元素",removeType:"刪除{類型}",required:"必需的",reset:"重置",richText:"富文本編輯器",roles:"使用權",row:"排","row.makeInputGroup":"使該行成為輸入組。","row.makeInputGroupDesc":"輸入群組使用戶能夠一次添加多組輸入。","row.settings.fieldsetWrap":"將行換行到 <fieldset> 中標籤","row.settings.fieldsetWrap.aria":"在 Fieldset 中換行",save:"節省",secondary:"中學",select:"選擇",selectColor:"選擇顏色",selectionsMessage:"允許多項選擇",selectOptions:"選項",separator:"分離器",settings:"設定",size:"尺寸",sizes:"尺寸","sizes.lg":"大的","sizes.m":"預設","sizes.sm":"小的","sizes.xs":"特小號",style:"風格",styles:"風格","styles.btn":"按鈕樣式","styles.btn.danger":"危險","styles.btn.default":"預設","styles.btn.info":"資訊","styles.btn.primary":"基本的","styles.btn.success":"成功","styles.btn.warning":"警告",subtype:"類型",success:"成功",text:"文字欄位",then:"然後","then.condition.target.placeholder":"目標",toggle:"切換",ungrouped:"未分組",warning:"警告",yes:"是的"}},Uh=[ee["af-ZA"],ee["ar-TN"],ee["cs-CZ"],ee["de-DE"],ee["en-US"],ee["es-ES"],ee["fa-IR"],ee["fi-FI"],ee["fr-FR"],ee["he-IL"],ee["hi-IN"],ee["hu-HU"],ee["it-IT"],ee["ja-JP"],ee["nb-NO"],ee["pl-PL"],ee["pt-BR"],ee["pt-PT"],ee["ro-RO"],ee["ru-RU"],ee["th-TH"],ee["tr-TR"],ee["zh-CN"],ee["zh-HK"]];var Gh=ee["af-ZA"],Kh=ee["ar-TN"],qh=ee["cs-CZ"],Yh=ee["de-DE"],Ts=ee["en-US"],Zh=ee["es-ES"],Qh=ee["fa-IR"],Xh=ee["fi-FI"],Jh=ee["fr-FR"],ep=ee["he-IL"],tp=ee["hi-IN"],ip=ee["hu-HU"],np=ee["it-IT"],rp=ee["ja-JP"],op=ee["nb-NO"],sp=ee["pl-PL"],ap=ee["pt-BR"],lp=ee["pt-PT"],cp=ee["ro-RO"],up=ee["ru-RU"],dp=ee["th-TH"],hp=ee["tr-TR"],pp=ee["zh-CN"],fp=ee["zh-HK"];Object.freeze({method:"GET",body:""});var Jn={extension:".lang",location:"assets/lang/",langs:["en-US"],locale:"en-US",override:{}},Pt=null,jr=new Proxy(class qt{constructor(i=Jn){this.langs=Object.create(null),this.loaded=[],this.processConfig(i)}processConfig(i){const{location:t,...n}={...Jn,...i},m=t.endsWith("/")?t:`${t}/`;this.config={location:m,...n};const{preloaded:f={},override:g={}}=this.config,c=new Set([...Object.keys(f),...Object.keys(g)]);for(const o of c){const h={...f[o]||{},...g[o]||{}};this.applyLanguage(o,h)}this.locale=this.config.locale||this.config.langs[0]}init(i){return this.processConfig({...this.config,...i}),this.setCurrent(this.locale)}addLanguage(i,t={}){t=typeof t=="string"?qt.processFile(t):t,this.applyLanguage(i,t),this.loaded.push(i),this.config.langs.push(i)}getValue(i,t=this.locale){return this.langs[t]?.[i]||this.getFallbackValue(i)}getFallbackValue(i){return Object.values(this.langs).find(t=>t[i])?.[i]}makeSafe(i){const t={"{":String.raw`\{`,"}":String.raw`\}`,"|":String.raw`\|`},n=i.replaceAll(/[{}|]/g,m=>t[m]);return new RegExp(n,"g")}put(i,t){return this.current[i]=t,t}get(i,t){let n=this.getValue(i);if(!n)return;if(!t)return n;const m=n.match(/\{[^}]+?\}/g);if(!m)return n;if(typeof t=="object")for(const f of m){const g=f.slice(1,-1);n=n.replace(this.makeSafe(f),t[g]??"")}else n=n.replaceAll(/\{[^}]+?\}/g,t);return n}static processFile(i){return jr.fromFile(i.replaceAll(`
9
9
 
10
10
  `,`
11
11
  `))}static fromFile(i){const t=i.split(`
12
- `),n={};for(let m,f=0;f<t.length;f++)m=/^(.+?) *?= *?([^\n]+)/.exec(t[f]),m&&(n[m[1]]=m[2].trim());return n}static getInstance(i){return qt||(qt=new ii(i)),qt}static resetInstance(){qt=null}async loadLang(i,t=!0){if(this.loaded.includes(i)&&t)return this.langs[i];const n=`${this.config.location}${i}${this.config.extension}`;try{const m=await(async function(g){try{const c=await fetch(g);if(!c.ok)throw new Error(`HTTP error! status: ${c.status}`);return await c[g.endsWith(".lang")?"text":"json"]()}catch(c){throw c}})(n),f=ii.processFile(m);return this.applyLanguage(i,f),this.langs[i]}catch{return this.applyLanguage(i)}}applyLanguage(i,t={}){const n=this.config.override[i]||{},m=this.langs[i]||{};return this.langs[i]={...m,...t,...n},this.loaded.push(i),this.langs[i]}get getLangs(){return this.config.langs}async setCurrent(i="en-US"){return this.loaded.includes(i)||await this.loadLang(i),this.locale=i,this.current=this.langs[i],this.current}},{apply:(e,i,t)=>e.getInstance(...t),construct:(e,i)=>new e(...i),get:(e,i)=>e[i]}),Z=eo.getInstance();(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('._3x4ZIcu-{position:absolute;background:#1f2937;color:#fff;padding:.75rem;border-radius:.375rem;max-width:200px;z-index:50;visibility:hidden;opacity:0;transition:opacity .2s;pointer-events:none;left:0;top:0}._3x4ZIcu-.JIt36hCJ{visibility:visible;opacity:1;pointer-events:all}._3x4ZIcu-:before{content:"";position:absolute;width:0;height:0;border:6px solid transparent}._3x4ZIcu-[data-position=top]:before{border-top-color:#1f2937;bottom:-12px;left:50%;transform:translate(-50%)}._3x4ZIcu-[data-position=bottom]:before{border-bottom-color:#1f2937;top:-12px;left:50%;transform:translate(-50%)}._3x4ZIcu-[data-position=left]:before{border-left-color:#1f2937;right:-12px;top:50%;transform:translateY(-50%)}._3x4ZIcu-[data-position=right]:before{border-right-color:#1f2937;left:-12px;top:50%;transform:translateY(-50%)}._3x4ZIcu-[data-position=top-left]:before{border-top-color:#1f2937;bottom:-12px;left:12px;transform:none}._3x4ZIcu-[data-position=top-right]:before{border-top-color:#1f2937;bottom:-12px;right:12px;left:auto;transform:none}._3x4ZIcu-[data-position=bottom-left]:before{border-bottom-color:#1f2937;top:-12px;left:12px;transform:none}._3x4ZIcu-[data-position=bottom-right]:before{border-bottom-color:#1f2937;top:-12px;right:12px;left:auto;transform:none}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();var Fs=Object.defineProperty,zs=(e,i,t)=>i in e?Fs(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Fe=(e,i,t)=>zs(e,typeof i!="symbol"?i+"":i,t),Mt={tooltip:"_3x4ZIcu-",visible:"JIt36hCJ"},Ps={triggerName:"tooltip"},to=class gt{constructor(i=Ps){Fe(this,"triggerName"),Fe(this,"tooltip"),Fe(this,"activeTriggerType",null),Fe(this,"spacing",12),Fe(this,"handleClick",t=>{const n=this.triggerName,m=t.target.closest(`[${n}][${n}-type="click"]`);if(m)if(this.isVisible())this.hide();else{const f=m.getAttribute(`${n}`);this.show(m,f),this.activeTriggerType="click"}else this.hide()}),Fe(this,"handleMouseOver",t=>{const n=this.triggerName,m=t.target.closest(`[${n}]`);if(this.activeTriggerType!=="click"&&m?.getAttribute(`${n}-type`)!=="click"){const f=m?.getAttribute(`${n}`);f&&(this.show(m,f),this.activeTriggerType="hover")}}),Fe(this,"handleMouseOut",t=>{const n=this.triggerName,m=t.target.closest(`[${n}]`);this.activeTriggerType!=="click"&&m?.getAttribute(`${n}-type`)!=="click"&&this.hide()}),Fe(this,"handleResize",()=>{this.isVisible()&&this.hide()}),Fe(this,"handleScroll",()=>{this.isVisible()&&this.hide()}),gt.instance&&gt.instance.destroy(),this.triggerName=`data-${i.triggerName}`,this.tooltip=document.createElement("div"),this.tooltip.className=`d-tooltip ${Mt.tooltip}`,document.body.appendChild(this.tooltip),this.setupEventListeners(),gt.instance=this}setupEventListeners(){document.addEventListener("mouseover",this.handleMouseOver),document.addEventListener("mouseout",this.handleMouseOut),document.addEventListener("touchstart",this.handleMouseOver),document.addEventListener("touchend",this.handleMouseOut),document.addEventListener("click",this.handleClick),globalThis.addEventListener("resize",this.handleResize),globalThis.addEventListener("scroll",this.handleScroll,!0)}isVisible(){return this.tooltip.classList.contains(Mt.visible)}calculatePosition(i){const t=i.getBoundingClientRect(),n=this.tooltip.getBoundingClientRect(),m=[{name:"top",x:t.left+(t.width-n.width)/2,y:t.top-n.height-this.spacing},{name:"bottom",x:t.left+(t.width-n.width)/2,y:t.bottom+this.spacing},{name:"left",x:t.left-n.width-this.spacing,y:t.top+(t.height-n.height)/2},{name:"right",x:t.right+this.spacing,y:t.top+(t.height-n.height)/2},{name:"top-left",x:t.left,y:t.top-n.height-this.spacing},{name:"top-right",x:t.right-n.width,y:t.top-n.height-this.spacing},{name:"bottom-left",x:t.left,y:t.bottom+this.spacing},{name:"bottom-right",x:t.right-n.width,y:t.bottom+this.spacing}];return m.find(f=>this.fitsInViewport(f,n))||m[0]}fitsInViewport(i,t){return i.x>=0&&i.y>=0&&i.x+t.width<=globalThis.innerWidth&&i.y+t.height<=globalThis.innerHeight?[[i.x,i.y],[i.x+t.width,i.y],[i.x,i.y+t.height],[i.x+t.width,i.y+t.height],[i.x+t.width/2,i.y+t.height/2]].flatMap(([n,m])=>Array.from(document.elementsFromPoint(n,m))).filter(n=>{if(this.tooltip.contains(n)||n===this.tooltip||n.classList.contains(Mt.tooltip)||getComputedStyle(n).pointerEvents==="none")return!1}).length===0:!1}show(i,t){this.tooltip.innerHTML=t??"",this.tooltip.classList.add(Mt.visible);const n=this.calculatePosition(i);this.tooltip.style.left=`${n.x}px`,this.tooltip.style.top=`${n.y}px`,this.tooltip.dataset.position=n.name}hide(){this.tooltip.classList.remove(Mt.visible),this.activeTriggerType=null}destroy(){document.removeEventListener("mouseover",this.handleMouseOver),document.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("touchstart",this.handleMouseOver),document.removeEventListener("touchend",this.handleMouseOut),document.removeEventListener("click",this.handleClick),globalThis.removeEventListener("resize",this.handleResize),globalThis.removeEventListener("scroll",this.handleScroll,!0),this.tooltip.remove(),gt.instance===this&&(gt.instance=null)}};Fe(to,"instance",null);var io=to;globalThis!==void 0&&(globalThis.SmartTooltip=io);var Hs=j(((e,i)=>{function t(){this.__data__=[],this.size=0}i.exports=t})),Vt=j(((e,i)=>{function t(n,m){return n===m||n!==n&&m!==m}i.exports=t})),Ai=j(((e,i)=>{var t=Vt();function n(m,f){for(var g=m.length;g--;)if(t(m[g][0],f))return g;return-1}i.exports=n})),Bs=j(((e,i)=>{var t=Ai(),n=Array.prototype.splice;function m(f){var g=this.__data__,c=t(g,f);return c<0?!1:(c==g.length-1?g.pop():n.call(g,c,1),--this.size,!0)}i.exports=m})),Ws=j(((e,i)=>{var t=Ai();function n(m){var f=this.__data__,g=t(f,m);return g<0?void 0:f[g][1]}i.exports=n})),js=j(((e,i)=>{var t=Ai();function n(m){return t(this.__data__,m)>-1}i.exports=n})),Vs=j(((e,i)=>{var t=Ai();function n(m,f){var g=this.__data__,c=t(g,m);return c<0?(++this.size,g.push([m,f])):g[c][1]=f,this}i.exports=n})),ki=j(((e,i)=>{var t=Hs(),n=Bs(),m=Ws(),f=js(),g=Vs();function c(o){var h=-1,d=o==null?0:o.length;for(this.clear();++h<d;){var u=o[h];this.set(u[0],u[1])}}c.prototype.clear=t,c.prototype.delete=n,c.prototype.get=m,c.prototype.has=f,c.prototype.set=g,i.exports=c})),Us=j(((e,i)=>{var t=ki();function n(){this.__data__=new t,this.size=0}i.exports=n})),Gs=j(((e,i)=>{function t(n){var m=this.__data__,f=m.delete(n);return this.size=m.size,f}i.exports=t})),Ks=j(((e,i)=>{function t(n){return this.__data__.get(n)}i.exports=t})),qs=j(((e,i)=>{function t(n){return this.__data__.has(n)}i.exports=t})),no=j(((e,i)=>{var t=typeof global=="object"&&global&&global.Object===Object&&global;i.exports=t})),We=j(((e,i)=>{var t=no(),n=typeof self=="object"&&self&&self.Object===Object&&self,m=t||n||Function("return this")();i.exports=m})),Ti=j(((e,i)=>{var t=We().Symbol;i.exports=t})),Ys=j(((e,i)=>{var t=Ti(),n=Object.prototype,m=n.hasOwnProperty,f=n.toString,g=t?t.toStringTag:void 0;function c(o){var h=m.call(o,g),d=o[g];try{o[g]=void 0;var u=!0}catch{}var l=f.call(o);return u&&(h?o[g]=d:delete o[g]),l}i.exports=c})),Zs=j(((e,i)=>{var t=Object.prototype.toString;function n(m){return t.call(m)}i.exports=n})),At=j(((e,i)=>{var t=Ti(),n=Ys(),m=Zs(),f="[object Null]",g="[object Undefined]",c=t?t.toStringTag:void 0;function o(h){return h==null?h===void 0?g:f:c&&c in Object(h)?n(h):m(h)}i.exports=o})),tt=j(((e,i)=>{function t(n){var m=typeof n;return n!=null&&(m=="object"||m=="function")}i.exports=t})),kn=j(((e,i)=>{var t=At(),n=tt(),m="[object AsyncFunction]",f="[object Function]",g="[object GeneratorFunction]",c="[object Proxy]";function o(h){if(!n(h))return!1;var d=t(h);return d==f||d==g||d==m||d==c}i.exports=o})),Qs=j(((e,i)=>{var t=We()["__core-js_shared__"];i.exports=t})),Xs=j(((e,i)=>{var t=Qs(),n=(function(){var f=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""})();function m(f){return!!n&&n in f}i.exports=m})),ro=j(((e,i)=>{var t=Function.prototype.toString;function n(m){if(m!=null){try{return t.call(m)}catch{}try{return m+""}catch{}}return""}i.exports=n})),Js=j(((e,i)=>{var t=kn(),n=Xs(),m=tt(),f=ro(),g=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,o=Function.prototype,h=Object.prototype,d=o.toString,u=h.hasOwnProperty,l=RegExp("^"+d.call(u).replace(g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function s(r){return!m(r)||n(r)?!1:(t(r)?l:c).test(f(r))}i.exports=s})),ea=j(((e,i)=>{function t(n,m){return n?.[m]}i.exports=t})),ut=j(((e,i)=>{var t=Js(),n=ea();function m(f,g){var c=n(f,g);return t(c)?c:void 0}i.exports=m})),Tn=j(((e,i)=>{var t=ut()(We(),"Map");i.exports=t})),Mi=j(((e,i)=>{var t=ut()(Object,"create");i.exports=t})),ta=j(((e,i)=>{var t=Mi();function n(){this.__data__=t?t(null):{},this.size=0}i.exports=n})),ia=j(((e,i)=>{function t(n){var m=this.has(n)&&delete this.__data__[n];return this.size-=m?1:0,m}i.exports=t})),na=j(((e,i)=>{var t=Mi(),n="__lodash_hash_undefined__",m=Object.prototype.hasOwnProperty;function f(g){var c=this.__data__;if(t){var o=c[g];return o===n?void 0:o}return m.call(c,g)?c[g]:void 0}i.exports=f})),ra=j(((e,i)=>{var t=Mi(),n=Object.prototype.hasOwnProperty;function m(f){var g=this.__data__;return t?g[f]!==void 0:n.call(g,f)}i.exports=m})),oa=j(((e,i)=>{var t=Mi(),n="__lodash_hash_undefined__";function m(f,g){var c=this.__data__;return this.size+=this.has(f)?0:1,c[f]=t&&g===void 0?n:g,this}i.exports=m})),sa=j(((e,i)=>{var t=ta(),n=ia(),m=na(),f=ra(),g=oa();function c(o){var h=-1,d=o==null?0:o.length;for(this.clear();++h<d;){var u=o[h];this.set(u[0],u[1])}}c.prototype.clear=t,c.prototype.delete=n,c.prototype.get=m,c.prototype.has=f,c.prototype.set=g,i.exports=c})),aa=j(((e,i)=>{var t=sa(),n=ki(),m=Tn();function f(){this.size=0,this.__data__={hash:new t,map:new(m||n),string:new t}}i.exports=f})),la=j(((e,i)=>{function t(n){var m=typeof n;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?n!=="__proto__":n===null}i.exports=t})),$i=j(((e,i)=>{var t=la();function n(m,f){var g=m.__data__;return t(f)?g[typeof f=="string"?"string":"hash"]:g.map}i.exports=n})),ca=j(((e,i)=>{var t=$i();function n(m){var f=t(this,m).delete(m);return this.size-=f?1:0,f}i.exports=n})),ua=j(((e,i)=>{var t=$i();function n(m){return t(this,m).get(m)}i.exports=n})),da=j(((e,i)=>{var t=$i();function n(m){return t(this,m).has(m)}i.exports=n})),ha=j(((e,i)=>{var t=$i();function n(m,f){var g=t(this,m),c=g.size;return g.set(m,f),this.size+=g.size==c?0:1,this}i.exports=n})),Mn=j(((e,i)=>{var t=aa(),n=ca(),m=ua(),f=da(),g=ha();function c(o){var h=-1,d=o==null?0:o.length;for(this.clear();++h<d;){var u=o[h];this.set(u[0],u[1])}}c.prototype.clear=t,c.prototype.delete=n,c.prototype.get=m,c.prototype.has=f,c.prototype.set=g,i.exports=c})),pa=j(((e,i)=>{var t=ki(),n=Tn(),m=Mn(),f=200;function g(c,o){var h=this.__data__;if(h instanceof t){var d=h.__data__;if(!n||d.length<f-1)return d.push([c,o]),this.size=++h.size,this;h=this.__data__=new m(d)}return h.set(c,o),this.size=h.size,this}i.exports=g})),oo=j(((e,i)=>{var t=ki(),n=Us(),m=Gs(),f=Ks(),g=qs(),c=pa();function o(h){var d=this.__data__=new t(h);this.size=d.size}o.prototype.clear=n,o.prototype.delete=m,o.prototype.get=f,o.prototype.has=g,o.prototype.set=c,i.exports=o})),so=j(((e,i)=>{var t=ut(),n=(function(){try{var m=t(Object,"defineProperty");return m({},"",{}),m}catch{}})();i.exports=n})),$n=j(((e,i)=>{var t=so();function n(m,f,g){f=="__proto__"&&t?t(m,f,{configurable:!0,enumerable:!0,value:g,writable:!0}):m[f]=g}i.exports=n})),ao=j(((e,i)=>{var t=$n(),n=Vt();function m(f,g,c){(c!==void 0&&!n(f[g],c)||c===void 0&&!(g in f))&&t(f,g,c)}i.exports=m})),fa=j(((e,i)=>{function t(n){return function(m,f,g){for(var c=-1,o=Object(m),h=g(m),d=h.length;d--;){var u=h[n?d:++c];if(f(o[u],u,o)===!1)break}return m}}i.exports=t})),ga=j(((e,i)=>{var t=fa()();i.exports=t})),ma=j(((e,i)=>{var t=We(),n=typeof e=="object"&&e&&!e.nodeType&&e,m=n&&typeof i=="object"&&i&&!i.nodeType&&i,f=m&&m.exports===n?t.Buffer:void 0,g=f?f.allocUnsafe:void 0;function c(o,h){if(h)return o.slice();var d=o.length,u=g?g(d):new o.constructor(d);return o.copy(u),u}i.exports=c})),lo=j(((e,i)=>{var t=We().Uint8Array;i.exports=t})),va=j(((e,i)=>{var t=lo();function n(m){var f=new m.constructor(m.byteLength);return new t(f).set(new t(m)),f}i.exports=n})),ya=j(((e,i)=>{var t=va();function n(m,f){var g=f?t(m.buffer):m.buffer;return new m.constructor(g,m.byteOffset,m.length)}i.exports=n})),ba=j(((e,i)=>{function t(n,m){var f=-1,g=n.length;for(m||(m=Array(g));++f<g;)m[f]=n[f];return m}i.exports=t})),wa=j(((e,i)=>{var t=tt(),n=Object.create,m=(function(){function f(){}return function(g){if(!t(g))return{};if(n)return n(g);f.prototype=g;var c=new f;return f.prototype=void 0,c}})();i.exports=m})),co=j(((e,i)=>{function t(n,m){return function(f){return n(m(f))}}i.exports=t})),uo=j(((e,i)=>{var t=co()(Object.getPrototypeOf,Object);i.exports=t})),Ln=j(((e,i)=>{var t=Object.prototype;function n(m){var f=m&&m.constructor;return m===(typeof f=="function"&&f.prototype||t)}i.exports=n})),Ca=j(((e,i)=>{var t=wa(),n=uo(),m=Ln();function f(g){return typeof g.constructor=="function"&&!m(g)?t(n(g)):{}}i.exports=f})),dt=j(((e,i)=>{function t(n){return n!=null&&typeof n=="object"}i.exports=t})),Sa=j(((e,i)=>{var t=At(),n=dt(),m="[object Arguments]";function f(g){return n(g)&&t(g)==m}i.exports=f})),ho=j(((e,i)=>{var t=Sa(),n=dt(),m=Object.prototype,f=m.hasOwnProperty,g=m.propertyIsEnumerable,c=t((function(){return arguments})())?t:function(o){return n(o)&&f.call(o,"callee")&&!g.call(o,"callee")};i.exports=c})),ht=j(((e,i)=>{var t=Array.isArray;i.exports=t})),po=j(((e,i)=>{var t=9007199254740991;function n(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=t}i.exports=n})),Li=j(((e,i)=>{var t=kn(),n=po();function m(f){return f!=null&&n(f.length)&&!t(f)}i.exports=m})),xa=j(((e,i)=>{var t=Li(),n=dt();function m(f){return n(f)&&t(f)}i.exports=m})),Ea=j(((e,i)=>{function t(){return!1}i.exports=t})),Rn=j(((e,i)=>{var t=We(),n=Ea(),m=typeof e=="object"&&e&&!e.nodeType&&e,f=m&&typeof i=="object"&&i&&!i.nodeType&&i,g=f&&f.exports===m?t.Buffer:void 0,c=(g?g.isBuffer:void 0)||n;i.exports=c})),Aa=j(((e,i)=>{var t=At(),n=uo(),m=dt(),f="[object Object]",g=Function.prototype,c=Object.prototype,o=g.toString,h=c.hasOwnProperty,d=o.call(Object);function u(l){if(!m(l)||t(l)!=f)return!1;var s=n(l);if(s===null)return!0;var r=h.call(s,"constructor")&&s.constructor;return typeof r=="function"&&r instanceof r&&o.call(r)==d}i.exports=u})),ka=j(((e,i)=>{var t=At(),n=po(),m=dt(),f="[object Arguments]",g="[object Array]",c="[object Boolean]",o="[object Date]",h="[object Error]",d="[object Function]",u="[object Map]",l="[object Number]",s="[object Object]",r="[object RegExp]",a="[object Set]",p="[object String]",v="[object WeakMap]",y="[object ArrayBuffer]",k="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",S="[object Int8Array]",M="[object Int16Array]",L="[object Int32Array]",R="[object Uint8Array]",$="[object Uint8ClampedArray]",D="[object Uint16Array]",T="[object Uint32Array]",E={};E[x]=E[w]=E[S]=E[M]=E[L]=E[R]=E[$]=E[D]=E[T]=!0,E[f]=E[g]=E[y]=E[c]=E[k]=E[o]=E[h]=E[d]=E[u]=E[l]=E[s]=E[r]=E[a]=E[p]=E[v]=!1;function C(b){return m(b)&&n(b.length)&&!!E[t(b)]}i.exports=C})),Ta=j(((e,i)=>{function t(n){return function(m){return n(m)}}i.exports=t})),Ma=j(((e,i)=>{var t=no(),n=typeof e=="object"&&e&&!e.nodeType&&e,m=n&&typeof i=="object"&&i&&!i.nodeType&&i,f=m&&m.exports===n&&t.process,g=(function(){try{var c=m&&m.require&&m.require("util").types;return c||f&&f.binding&&f.binding("util")}catch{}})();i.exports=g})),_n=j(((e,i)=>{var t=ka(),n=Ta(),m=Ma(),f=m&&m.isTypedArray,g=f?n(f):t;i.exports=g})),fo=j(((e,i)=>{function t(n,m){if(!(m==="constructor"&&typeof n[m]=="function")&&m!="__proto__")return n[m]}i.exports=t})),go=j(((e,i)=>{var t=$n(),n=Vt(),m=Object.prototype.hasOwnProperty;function f(g,c,o){var h=g[c];(!(m.call(g,c)&&n(h,o))||o===void 0&&!(c in g))&&t(g,c,o)}i.exports=f})),$a=j(((e,i)=>{var t=go(),n=$n();function m(f,g,c,o){var h=!c;c||(c={});for(var d=-1,u=g.length;++d<u;){var l=g[d],s=o?o(c[l],f[l],l,c,f):void 0;s===void 0&&(s=f[l]),h?n(c,l,s):t(c,l,s)}return c}i.exports=m})),La=j(((e,i)=>{function t(n,m){for(var f=-1,g=Array(n);++f<n;)g[f]=m(f);return g}i.exports=t})),On=j(((e,i)=>{var t=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function m(f,g){var c=typeof f;return g=g??t,!!g&&(c=="number"||c!="symbol"&&n.test(f))&&f>-1&&f%1==0&&f<g}i.exports=m})),mo=j(((e,i)=>{var t=La(),n=ho(),m=ht(),f=Rn(),g=On(),c=_n(),o=Object.prototype.hasOwnProperty;function h(d,u){var l=m(d),s=!l&&n(d),r=!l&&!s&&f(d),a=!l&&!s&&!r&&c(d),p=l||s||r||a,v=p?t(d.length,String):[],y=v.length;for(var k in d)(u||o.call(d,k))&&!(p&&(k=="length"||r&&(k=="offset"||k=="parent")||a&&(k=="buffer"||k=="byteLength"||k=="byteOffset")||g(k,y)))&&v.push(k);return v}i.exports=h})),Ra=j(((e,i)=>{function t(n){var m=[];if(n!=null)for(var f in Object(n))m.push(f);return m}i.exports=t})),_a=j(((e,i)=>{var t=tt(),n=Ln(),m=Ra(),f=Object.prototype.hasOwnProperty;function g(c){if(!t(c))return m(c);var o=n(c),h=[];for(var d in c)d=="constructor"&&(o||!f.call(c,d))||h.push(d);return h}i.exports=g})),vo=j(((e,i)=>{var t=mo(),n=_a(),m=Li();function f(g){return m(g)?t(g,!0):n(g)}i.exports=f})),Oa=j(((e,i)=>{var t=$a(),n=vo();function m(f){return t(f,n(f))}i.exports=m})),Ia=j(((e,i)=>{var t=ao(),n=ma(),m=ya(),f=ba(),g=Ca(),c=ho(),o=ht(),h=xa(),d=Rn(),u=kn(),l=tt(),s=Aa(),r=_n(),a=fo(),p=Oa();function v(y,k,x,w,S,M,L){var R=a(y,x),$=a(k,x),D=L.get($);if(D){t(y,x,D);return}var T=M?M(R,$,x+"",y,k,L):void 0,E=T===void 0;if(E){var C=o($),b=!C&&d($),A=!C&&!b&&r($);T=$,C||b||A?o(R)?T=R:h(R)?T=f(R):b?(E=!1,T=n($,!0)):A?(E=!1,T=m($,!0)):T=[]:s($)||c($)?(T=R,c(R)?T=p(R):(!l(R)||u(R))&&(T=g($))):E=!1}E&&(L.set($,T),S(T,$,w,M,L),L.delete($)),t(y,x,T)}i.exports=v})),Da=j(((e,i)=>{var t=oo(),n=ao(),m=ga(),f=Ia(),g=tt(),c=vo(),o=fo();function h(d,u,l,s,r){d!==u&&m(u,function(a,p){if(r||(r=new t),g(a))f(d,u,p,l,h,s,r);else{var v=s?s(o(d,p),a,p+"",d,u,r):void 0;v===void 0&&(v=a),n(d,p,v)}},c)}i.exports=h})),yo=j(((e,i)=>{function t(n){return n}i.exports=t})),Na=j(((e,i)=>{function t(n,m,f){switch(f.length){case 0:return n.call(m);case 1:return n.call(m,f[0]);case 2:return n.call(m,f[0],f[1]);case 3:return n.call(m,f[0],f[1],f[2])}return n.apply(m,f)}i.exports=t})),Fa=j(((e,i)=>{var t=Na(),n=Math.max;function m(f,g,c){return g=n(g===void 0?f.length-1:g,0),function(){for(var o=arguments,h=-1,d=n(o.length-g,0),u=Array(d);++h<d;)u[h]=o[g+h];h=-1;for(var l=Array(g+1);++h<g;)l[h]=o[h];return l[g]=c(u),t(f,this,l)}}i.exports=m})),za=j(((e,i)=>{function t(n){return function(){return n}}i.exports=t})),Pa=j(((e,i)=>{var t=za(),n=so(),m=yo(),f=n?function(g,c){return n(g,"toString",{configurable:!0,enumerable:!1,value:t(c),writable:!0})}:m;i.exports=f})),Ha=j(((e,i)=>{var t=800,n=16,m=Date.now;function f(g){var c=0,o=0;return function(){var h=m(),d=n-(h-o);if(o=h,d>0){if(++c>=t)return arguments[0]}else c=0;return g.apply(void 0,arguments)}}i.exports=f})),Ba=j(((e,i)=>{var t=Pa(),n=Ha()(t);i.exports=n})),Wa=j(((e,i)=>{var t=yo(),n=Fa(),m=Ba();function f(g,c){return m(n(g,c,t),g+"")}i.exports=f})),ja=j(((e,i)=>{var t=Vt(),n=Li(),m=On(),f=tt();function g(c,o,h){if(!f(h))return!1;var d=typeof o;return(d=="number"?n(h)&&m(o,h.length):d=="string"&&o in h)?t(h[o],c):!1}i.exports=g})),Va=j(((e,i)=>{var t=Wa(),n=ja();function m(f){return t(function(g,c){var o=-1,h=c.length,d=h>1?c[h-1]:void 0,u=h>2?c[2]:void 0;for(d=f.length>3&&typeof d=="function"?(h--,d):void 0,u&&n(c[0],c[1],u)&&(d=h<3?void 0:d,h=1),g=Object(g);++o<h;){var l=c[o];l&&f(g,l,o,d)}return g})}i.exports=m})),Ua=j(((e,i)=>{var t=Da(),n=Va()(function(m,f,g,c){t(m,f,g,c)});i.exports=n})),Ga=Et(Ua(),1),Ka="formeo",qa="5.3.2",Ya="module",Za="dist/formeo.cjs.js",Qa="dist/formeo.es.js",Xa="dist/formeo.umd.js",Ja={".":{import:"./dist/formeo.es.js",require:"./dist/formeo.cjs.js",default:"./dist/formeo.umd.js"},"./dist/formeo.min.css":{import:"./dist/formeo.min.css",require:"./dist/formeo.min.css",default:"./dist/formeo.min.css"}},el=["dist/*","demo/**/*"],tl="https://formeo.io",il={url:"https://github.com/Draggable/formeo",type:"git"},nl="Draggable https://draggable.io",rl=[{name:"Kevin Chappell",email:"kevin@chappell.dev",url:"https://kevin-chappell.com"}],ol={url:"https://github.com/draggable/formeo/issues"},sl="A zero dependency JavaScript module for drag and drop form creation.",al=["drag and drop","form builder","form maker","forms"];var ll=["**/*","node_modules","test"],cl={files:{test:["test/**/*.spec.js"],"formeo-editor":{js:"src/js/editor.js"},"formeo-renderer":{js:"src/js/renderer.js"},site:["demo/assets/sass/site.scss"]}},ul={dev:"vite --mode development",preview:"vite preview","prebuild:lib":`node -e "require('node:fs').rmSync('dist', { recursive: true, force: true })"`,"build:lib":"npm-run-all -p build:lib:unminified build:lib:minified","build:lib:unminified":"vite build --config vite.config.lib.mjs --mode production","build:lib:minified":"vite build --config vite.config.lib.mjs --mode production-minified",build:"npm-run-all -p build:icons build:demo",prebuild:"npm run build:lib",postbuild:"npm run generate:jsonSchema","build:demo":"vite build --mode demo","postbuild:demo":"node --no-warnings tools/copy-assets.mjs","build:demo:watch":"vite build --mode demo --watch","build:icons":"node ./tools/generate-sprite",lint:"biome check ./src && node tools/check-color-literals.mjs && node tools/check-doc-links.mjs","lint:fix":"biome check --write ./src",format:"biome format --write .",test:"node --loader=./tools/svg-loader.mjs --import=./tools/__mocks__/sprite-init.mjs --experimental-test-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}","test:watch":"node --watch --loader=./tools/svg-loader.mjs --import=./tools/__mocks__/sprite-init.mjs --experimental-test-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}","test:updateSnapshots":"node --loader=./tools/svg-loader.mjs --import=./tools/__mocks__/sprite-init.mjs --experimental-test-snapshots --test-update-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}","test:ci":"npm test --coverage",start:"npm-run-all build:icons dev","semantic-release":"semantic-release --ci --debug","copy:lang":"node ./tools/copy-directory.mjs ./node_modules/formeo-i18n/dist/lang ./src/demo/assets/lang","travis-deploy-once":"travis-deploy-once --pro","playwright:test":"playwright test","playwright:test:ui":"playwright test --ui","playwright:test:report":"playwright show-report","playwright:test:ci":"playwright test --reporter=dot",prepush:"npm test",prepare:"lefthook install",postmerge:"lefthook install","generate:jsonSchema":"node --experimental-strip-types --no-warnings ./tools/generate-json-schema.ts"},dl={"@biomejs/biome":"^2.3.3","@commitlint/cli":"^21.0.1","@commitlint/config-conventional":"^21.0.1","@playwright/test":"^1.49.1","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/github":"^12.0.8","@semantic-release/npm":"^13.1.3","@types/node":"^25.8.0","ace-builds":"^1.36.5",esbuild:"^0.28.0",jsdom:"^29.1.1",lefthook:"^2.1.6","npm-run-all":"^4.1.5","sass-embedded":"^1.80.1","semantic-release":"^25.0.2","svg-sprite":"^2.0.4",vite:"^8.0.13","vite-plugin-banner":"^0.8.0","vite-plugin-compression":"^0.5.1","vite-plugin-html":"^3.2.2",zod:"^4.4.3"},hl={"@draggable/formeo-languages":"^3.4.1","@draggable/i18n":"^1.0.7","@draggable/tooltip":"^1.2.2",lodash:"^4.17.21",sortablejs:"^1.15.3"},pl={branches:["main"],verifyConditions:["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git","@semantic-release/github"],prepare:["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git"],publish:["@semantic-release/npm","@semantic-release/github"],success:["@semantic-release/github"],fail:["@semantic-release/github"]},fl={extends:["@commitlint/config-conventional"],rules:{"type-enum":[2,"always",["build","chore","ci","docs","feat","fix","perf","refactor","revert","style","test"]]}},bo={name:Ka,version:qa,type:Ya,main:Za,module:Qa,unpkg:Xa,exports:Ja,files:el,homepage:tl,repository:il,author:nl,contributors:rl,bugs:ol,description:sl,keywords:al,license:"MIT",ignore:ll,config:cl,scripts:ul,devDependencies:dl,dependencies:hl,release:pl,commitlint:fl},gl='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><symbol id="f-i-autocomplete" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M6,5h1v1H6V5z M4,4H3v1h1V4z M6,4H5v1h1V4z M2,5v1h1V5H2z M3,7h1V6H3V7z M5,7h1V6H5V7z M4,5v1h1V5H4z M2,14h1v-1H2V14z M4,14h1v-1H4V14z M6,14h1v-1H6V14z M9,13H8v1h1V13z M16,3.5v4C16,8.3,15.3,9,14.5,9H14v3v3c0,0.6-0.4,1-1,1H1c-0.6,0-1-0.4-1-1V3.5 C0,2.7,0.7,2,1.5,2h3H8V1.5V1H7H6V0.5V0h2.5H11v0.5V1h-1H9v0.5V2h3h2.5C15.3,2,16,2.7,16,3.5z M13,12H7H1v3h12V12z M3,11v-1H2v1H3z M5,11v-1H4v1H5z M15,3.5C15,3.2,14.8,3,14.5,3H9v2.5V8H8.5H8V7.5V7H7V6h1V5.5V5H7V4h1V3.5V3H1.5C1.2,3,1,3.2,1,3.5v4 C1,7.8,1.2,8,1.5,8H8v1H6v0.5V10h2.5H11V9.5V9H9V8h5.5C14.8,8,15,7.8,15,7.5V3.5z"/></symbol><symbol viewBox="0 0 32 32" id="f-i-bin" xmlns="http://www.w3.org/2000/svg"><path d="M4 10v20c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-20h-22zM10 28h-2v-14h2v14zM14 28h-2v-14h2v14zM18 28h-2v-14h2v14zM22 28h-2v-14h2v14zM26.5 4h-6.5v-2.5c0-.825-.675-1.5-1.5-1.5h-7c-.825 0-1.5.675-1.5 1.5v2.5h-6.5c-.825 0-1.5.675-1.5 1.5v2.5h26v-2.5c0-.825-.675-1.5-1.5-1.5zM18 4h-6v-1.975h6v1.975z"/></symbol><symbol id="f-i-button" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><metadata id="acprefix__metadata8"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><path id="acprefix__rect4140" d="M 0.4765625,4 A 0.47706934,0.47706934 0 0 0 0,4.4765625 L 0,11.523438 A 0.47706934,0.47706934 0 0 0 0.4765625,12 L 15.523438,12 A 0.47706934,0.47706934 0 0 0 16,11.523438 L 16,4.4765625 A 0.47706934,0.47706934 0 0 0 15.523438,4 L 0.4765625,4 Z m 0.4765625,0.953125 14.09375,0 0,6.09375 -14.09375,0 0,-6.09375 z"/><g id="acprefix__layer1"><g id="acprefix__text4203"><g id="acprefix__g4212" transform="translate(0.10112835,0.1001358)"><path id="acprefix__path4208" d="m 6.0690374,6.4093857 q -0.5371093,0 -0.8544922,0.4003906 -0.3149414,0.4003906 -0.3149414,1.0913086 0,0.6884766 0.3149414,1.0888672 0.3173829,0.4003906 0.8544922,0.4003906 0.5371094,0 0.8496094,-0.4003906 0.3149414,-0.4003906 0.3149414,-1.0888672 0,-0.690918 -0.3149414,-1.0913086 -0.3125,-0.4003906 -0.8496094,-0.4003906 z m 0,-0.4003906 q 0.7666016,0 1.225586,0.5151367 0.4589843,0.5126953 0.4589843,1.3769531 0,0.8618164 -0.4589843,1.3769531 -0.4589844,0.5126953 -1.225586,0.5126953 -0.7690429,0 -1.2304687,-0.5126953 -0.4589844,-0.5126953 -0.4589844,-1.3769531 0,-0.8642578 0.4589844,-1.3769531 0.4614258,-0.5151367 1.2304687,-0.5151367 z"/><path id="acprefix__path4210" d="m 8.5250921,6.074913 0.4931641,0 0,1.5405274 1.6357418,-1.5405274 0.634766,0 -1.809082,1.6992188 1.938477,1.9458008 -0.649415,0 -1.7504878,-1.7553711 0,1.7553711 -0.4931641,0 0,-3.6450196 z"/></g></g></g></symbol><symbol viewBox="0 0 32 32" id="f-i-calendar" xmlns="http://www.w3.org/2000/svg"><path d="M12.048 16.961c-0.178 0.257-0.395 0.901-0.652 1.059-0.257 0.157-0.547 0.267-0.869 0.328-0.323 0.062-0.657 0.089-1.002 0.079v1.527h2.467v6.046h1.991v-9.996h-1.584c-0.056 0.381-0.173 0.7-0.351 0.957zM23 8h2c0.553 0 1-0.448 1-1v-6c0-0.552-0.447-1-1-1h-2c-0.553 0-1 0.448-1 1v6c0 0.552 0.447 1 1 1zM7 8h2c0.552 0 1-0.448 1-1v-6c0-0.552-0.448-1-1-1h-2c-0.552 0-1 0.448-1 1v6c0 0.552 0.448 1 1 1zM30 4h-2v5c0 0.552-0.447 1-1 1h-6c-0.553 0-1-0.448-1-1v-5h-8v5c0 0.552-0.448 1-1 1h-6c-0.552 0-1-0.448-1-1v-5h-2c-1.104 0-2 0.896-2 2v24c0 1.104 0.896 2 2 2h28c1.104 0 2-0.896 2-2v-24c0-1.104-0.896-2-2-2zM30 29c0 0.553-0.447 1-1 1h-26c-0.552 0-1-0.447-1-1v-16c0-0.552 0.448-1 1-1h26c0.553 0 1 0.448 1 1v16zM15.985 17.982h4.968c-0.936 1.152-1.689 2.325-2.265 3.705-0.575 1.381-0.638 2.818-0.749 4.312h2.131c0.009-0.666-0.195-1.385-0.051-2.156 0.146-0.771 0.352-1.532 0.617-2.285 0.267-0.752 0.598-1.461 0.996-2.127 0.396-0.667 0.853-1.229 1.367-1.686v-1.742h-7.015v1.979z"/></symbol><symbol id="f-i-checkbox" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M13.5,5v8c0,0.8-0.7,1.5-1.5,1.5H3c-0.8,0-1.5-0.7-1.5-1.5V4c0-0.8,0.7-1.5,1.5-1.5h9c0.7,0,1.3,0.5,1.5,1.2l2.4-1.4L13.5,5 z M12.5,6.2L7.7,12L2.8,5.5l4.9,1.6l4.8-2.9V4c0-0.3-0.2-0.5-0.5-0.5H3C2.7,3.5,2.5,3.7,2.5,4v9c0,0.3,0.2,0.5,0.5,0.5h9 c0.3,0,0.5-0.2,0.5-0.5V6.2z"/></symbol><symbol id="f-i-checkbox-group" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M0,1h16V0H0V1z M0,3h16V2H0V3z M6,5v1h9V5H6z M15,14v-1H6v1H15z M6,10h9V9H6V10z M4,12l-2.5,1.5L0,13l1.5,2L4,12z M4,8 L1.5,9.5L0,9l1.5,2L4,8z M4,4L1.5,5.5L0,5l1.5,2L4,4z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-columns" xmlns="http://www.w3.org/2000/svg"><metadata id="agprefix__metadata4318"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><path id="agprefix__rect4860-3-5" d="M 16,0.5 A 0.50004997,0.50004997 0 0 0 15.5,0 l -5,0 -5,0 -5,0 A 0.50004997,0.50004997 0 0 0 0,0.5 l 0,15 A 0.50004997,0.50004997 0 0 0 0.5,16 l 5,0 5,0 5,0 A 0.50004997,0.50004997 0 0 0 16,15.5 l 0,-15 z M 15,1 15,15 11,15 11,1 15,1 Z M 10,1 10,15 6,15 6,1 10,1 Z M 5,1 5,15 1,15 1,1 5,1 Z"/></symbol><symbol viewBox="0 0 32 32" id="f-i-copy" xmlns="http://www.w3.org/2000/svg"><path d="M20 8v-8h-14l-6 6v18h12v8h20v-24h-12zM6 2.828v3.172h-3.172l3.172-3.172zM2 22v-14h6v-6h10v6l-6 6v8h-10zM18 10.828v3.172h-3.172l3.172-3.172zM30 30h-16v-14h6v-6h10v20z"/></symbol><symbol id="f-i-divider" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><metadata id="aiprefix__metadata10"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><rect y="7" x="0" height="1" width="15" id="aiprefix__rect4182"/></symbol><symbol viewBox="0 0 28 32" id="f-i-edit" xmlns="http://www.w3.org/2000/svg"><path d="M22 2l-4 4 6 6 4-4-6-6zM0 24l0.021 6.018 5.979-0.018 16-16-6-6-16 16zM6 28h-4v-4h2v2h2v2z"/></symbol><symbol viewBox="0 0 24 24" id="f-i-email" xmlns="http://www.w3.org/2000/svg"><path d="M12,2 C17.4292399,2 21.8479317,6.32667079 21.9961582,11.7200952 L22,12 L22,13 C22,15.1729208 20.477434,17 18.5,17 C17.3269391,17 16.3139529,16.3570244 15.6839382,15.3803024 C14.770593,16.3757823 13.4581934,17 12,17 C9.23857625,17 7,14.7614237 7,12 C7,9.23857625 9.23857625,7 12,7 C14.6887547,7 16.8818181,9.12230671 16.9953805,11.7831104 L17,12 L17,13 C17,14.1407877 17.7160103,15 18.5,15 C19.2447902,15 19.928229,14.2245609 19.9947109,13.1689341 L20,13 L20,12 C20,7.581722 16.418278,4 12,4 C7.581722,4 4,7.581722 4,12 C4,16.418278 7.581722,20 12,20 C13.1630948,20 14.2892822,19.7522618 15.3225159,19.2798331 C15.8247876,19.0501777 16.4181317,19.271177 16.647787,19.7734487 C16.8774423,20.2757205 16.656443,20.8690646 16.1541713,21.0987199 C14.861218,21.689901 13.4515463,22 12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 Z M12,9 C10.3431458,9 9,10.3431458 9,12 C9,13.6568542 10.3431458,15 12,15 C13.6568542,15 15,13.6568542 15,12 C15,10.3431458 13.6568542,9 12,9 Z"/></symbol><symbol viewBox="0 0 32 32" id="f-i-floppy-disk" xmlns="http://www.w3.org/2000/svg"><path d="M28 0h-28v32h32v-28l-4-4zM16 4h4v8h-4v-8zM28 28h-24v-24h2v10h18v-10h2.343l1.657 1.657v22.343z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle" xmlns="http://www.w3.org/2000/svg"><metadata id="aqprefix__metadata8"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><g transform="translate(0,-2)" id="aqprefix__g4220"><rect id="aqprefix__rect4191" width="2" height="2" x="2" y="7"/><rect id="aqprefix__rect4191-2" width="2" height="2" x="7" y="7"/><rect id="aqprefix__rect4191-4" width="2" height="2" x="12" y="7"/></g><g transform="translate(0,2)" id="aqprefix__g4220-6"><rect id="aqprefix__rect4191-40" width="2" height="2" x="2" y="7"/><rect id="aqprefix__rect4191-2-3" width="2" height="2" x="7" y="7"/><rect id="aqprefix__rect4191-4-9" width="2" height="2" x="12" y="7"/></g></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle-column" xmlns="http://www.w3.org/2000/svg"><path d="M2 7h2v2H2zM7 7h2v2H7zM12 7h2v2h-2zM2 12h2v2H2zM7 12h2v2H7zM12 12h2v2h-2z" transform="rotate(90 9.25 9.25)"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle-field" xmlns="http://www.w3.org/2000/svg"><path d="M9.5-6.5h2v2h-2zm-5 0h2v2h-2zm5-5h2v2h-2zm-5 0h2v2h-2z" transform="rotate(90)"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle-row" xmlns="http://www.w3.org/2000/svg"><path d="M12 9.5h2v2h-2zm-5 0h2v2H7Zm-5 0h2v2H2Zm10-5h2v2h-2zm-5 0h2v2H7Zm-5 0h2v2H2Z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle-stage" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5h2v2H2zM7 4.5h2v2H7zM12 4.5h2v2h-2zM2 9.5h2v2H2zM7 9.5h2v2H7zM12 9.5h2v2h-2zM2-.5h2v2H2zM7-.5h2v2H7zM12-.5h2v2h-2z" transform="translate(0 2.5)"/></symbol><symbol viewBox="0 0 448 512" id="f-i-hash" xmlns="http://www.w3.org/2000/svg"><g id="arprefix__icomoon-ignore"/><path d="M448 192v-64h-80.064l16-128h-64l-16 128h-127.968l16-128h-64l-16 128h-111.968v64h103.968l-15.968 128h-88v64h80l-16 128h64l16-128h127.968l-16 128h64.032l16-128h112v-64h-104l15.936-128h88.064zM279.968 320h-127.968l15.968-128h127.968l-15.968 128z"/></symbol><symbol viewBox="0 0 28 28" id="f-i-header" xmlns="http://www.w3.org/2000/svg"><path d="M26.281 26q-0.688 0-2.070-0.055t-2.086-0.055q-0.688 0-2.063 0.055t-2.063 0.055q-0.375 0-0.578-0.32t-0.203-0.711q0-0.484 0.266-0.719t0.609-0.266 0.797-0.109 0.703-0.234q0.516-0.328 0.516-2.188l-0.016-6.109q0-0.328-0.016-0.484-0.203-0.063-0.781-0.063h-10.547q-0.594 0-0.797 0.063-0.016 0.156-0.016 0.484l-0.016 5.797q0 2.219 0.578 2.562 0.25 0.156 0.75 0.203t0.891 0.055 0.703 0.234 0.313 0.711q0 0.406-0.195 0.75t-0.57 0.344q-0.734 0-2.18-0.055t-2.164-0.055q-0.672 0-2 0.055t-1.984 0.055q-0.359 0-0.555-0.328t-0.195-0.703q0-0.469 0.242-0.703t0.562-0.273 0.742-0.117 0.656-0.234q0.516-0.359 0.516-2.234l-0.016-0.891v-12.703q0-0.047 0.008-0.406t0-0.57-0.023-0.602-0.055-0.656-0.102-0.57-0.172-0.492-0.25-0.281q-0.234-0.156-0.703-0.187t-0.828-0.031-0.641-0.219-0.281-0.703q0-0.406 0.187-0.75t0.562-0.344q0.719 0 2.164 0.055t2.164 0.055q0.656 0 1.977-0.055t1.977-0.055q0.391 0 0.586 0.344t0.195 0.75q0 0.469-0.266 0.68t-0.602 0.227-0.773 0.063-0.672 0.203q-0.547 0.328-0.547 2.5l0.016 5q0 0.328 0.016 0.5 0.203 0.047 0.609 0.047h10.922q0.391 0 0.594-0.047 0.016-0.172 0.016-0.5l0.016-5q0-2.172-0.547-2.5-0.281-0.172-0.914-0.195t-1.031-0.203-0.398-0.773q0-0.406 0.195-0.75t0.586-0.344q0.688 0 2.063 0.055t2.063 0.055q0.672 0 2.016-0.055t2.016-0.055q0.391 0 0.586 0.344t0.195 0.75q0 0.469-0.273 0.688t-0.625 0.227-0.805 0.047-0.688 0.195q-0.547 0.359-0.547 2.516l0.016 14.734q0 1.859 0.531 2.188 0.25 0.156 0.719 0.211t0.836 0.070 0.648 0.242 0.281 0.695q0 0.406-0.187 0.75t-0.562 0.344z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-hidden" xmlns="http://www.w3.org/2000/svg"><path d="M0 12h1v-1H0Zm15-7h1V4h-1zm-1 7h1v-1h-1zm-2 0h1v-1h-1zm-2 0h1v-1h-1Zm-2 0h1v-1H8Zm-2 0h1v-1H6Zm-2 0h1v-1H4Zm-2 0h1v-1H2Zm13-1h1v-1h-1ZM0 10h1V9H0Zm15-1h1V8h-1ZM0 8h1V7H0Zm15-1h1V6h-1ZM0 6h1V5H0Zm13-1h1V4h-1zm-2 0h1V4h-1ZM9 5h1V4H9ZM7 5h1V4H7ZM5 5h1V4H5ZM3 5h1V4H3ZM1 5h1V4H1Z"/></symbol><symbol xml:space="preserve" viewBox="0 0 32 32" id="f-i-info-circle" xmlns="http://www.w3.org/2000/svg"><path d="m17.962 24.725 1.806.096v2.531h-7.534v-2.406l1.045-.094c.568-.063.916-.254.916-1.014v-8.801c0-.699-.188-.92-.791-.92l-1.106-.062v-2.626h5.666zM15.747 4.648c1.394 0 2.405 1.047 2.405 2.374 0 1.331-1.014 2.313-2.438 2.313-1.454 0-2.404-.982-2.404-2.313 0-1.327.95-2.374 2.437-2.374M16 32C7.178 32 0 24.822 0 16S7.178 0 16 0c8.82 0 16 7.178 16 16s-7.18 16-16 16m0-29C8.832 3 3 8.832 3 16s5.832 13 13 13 13-5.832 13-13S23.168 3 16 3"/></symbol><symbol viewBox="0 0 384 512" id="f-i-menu" xmlns="http://www.w3.org/2000/svg"><g id="avprefix__icomoon-ignore"/><path d="M0 96v64h384v-64h-384zM0 288h384v-64h-384v64zM0 416h384v-64h-384v64z"/></symbol><symbol viewBox="0 0 24 24" fill="none" id="f-i-minus" xmlns="http://www.w3.org/2000/svg"><path d="M6 12L18 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol><symbol viewBox="0 0 512 512" id="f-i-move" xmlns="http://www.w3.org/2000/svg"><path d="M287.744 94.736v129.008h128v-64l96.256 96.256-96.256 96.24v-65.488h-128v129.008h64.496l-96.24 96.24-96.256-96.24h64v-129.008h-128v64.992l-95.744-95.744 95.744-95.744v63.488h128v-129.008h-62.496l94.752-94.736 94.752 94.736h-63.008z"/></symbol><symbol viewBox="0 0 512 512" id="f-i-move-vertical" xmlns="http://www.w3.org/2000/svg"><path d="m 287.744,94.736 0,321.024 64.496,0 L 256,512 l -96.256,-96.24 64,0 0,-321.024 -62.496,0 L 256,0 350.752,94.736 Z"/></symbol><symbol viewBox="0 0 20 28" id="f-i-paragraph" xmlns="http://www.w3.org/2000/svg"><path d="M19.969 2.953v1.141q0 0.453-0.289 0.953t-0.664 0.5q-0.781 0-0.844 0.016-0.406 0.094-0.5 0.484-0.047 0.172-0.047 1v18q0 0.391-0.281 0.672t-0.672 0.281h-1.687q-0.391 0-0.672-0.281t-0.281-0.672v-19.031h-2.234v19.031q0 0.391-0.273 0.672t-0.68 0.281h-1.687q-0.406 0-0.68-0.281t-0.273-0.672v-7.75q-2.297-0.187-3.828-0.922-1.969-0.906-3-2.797-1-1.828-1-4.047 0-2.594 1.375-4.469 1.375-1.844 3.266-2.484 1.734-0.578 6.516-0.578h7.484q0.391 0 0.672 0.281t0.281 0.672z"/></symbol><symbol id="f-i-phone-receiver" viewBox="0 0 578.106 578.106" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><g><g><path d="M577.83,456.128c1.225,9.385-1.635,17.545-8.568,24.48l-81.396,80.781 c-3.672,4.08-8.465,7.551-14.381,10.404c-5.916,2.857-11.729,4.693-17.439,5.508c-0.408,0-1.635,0.105-3.676,0.309 c-2.037,0.203-4.689,0.307-7.953,0.307c-7.754,0-20.301-1.326-37.641-3.979s-38.555-9.182-63.645-19.584 c-25.096-10.404-53.553-26.012-85.376-46.818c-31.823-20.805-65.688-49.367-101.592-85.68 c-28.56-28.152-52.224-55.08-70.992-80.783c-18.768-25.705-33.864-49.471-45.288-71.299 c-11.425-21.828-19.993-41.616-25.705-59.364S4.59,177.362,2.55,164.51s-2.856-22.95-2.448-30.294 c0.408-7.344,0.612-11.424,0.612-12.24c0.816-5.712,2.652-11.526,5.508-17.442s6.324-10.71,10.404-14.382L98.022,8.756 c5.712-5.712,12.24-8.568,19.584-8.568c5.304,0,9.996,1.53,14.076,4.59s7.548,6.834,10.404,11.322l65.484,124.236 c3.672,6.528,4.692,13.668,3.06,21.42c-1.632,7.752-5.1,14.28-10.404,19.584l-29.988,29.988c-0.816,0.816-1.53,2.142-2.142,3.978 s-0.918,3.366-0.918,4.59c1.632,8.568,5.304,18.36,11.016,29.376c4.896,9.792,12.444,21.726,22.644,35.802 s24.684,30.293,43.452,48.653c18.36,18.77,34.68,33.354,48.96,43.76c14.277,10.4,26.215,18.053,35.803,22.949 c9.588,4.896,16.932,7.854,22.031,8.871l7.648,1.531c0.816,0,2.145-0.307,3.979-0.918c1.836-0.613,3.162-1.326,3.979-2.143 l34.883-35.496c7.348-6.527,15.912-9.791,25.705-9.791c6.938,0,12.443,1.223,16.523,3.672h0.611l118.115,69.768 C571.098,441.238,576.197,447.968,577.83,456.128z"/></g></g><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/></symbol><symbol viewBox="0 0 24 24" fill="none" id="f-i-plus" xmlns="http://www.w3.org/2000/svg"><path d="M6 12H18M12 6V18" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol><symbol id="f-i-radio-group" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M0,1h16V0H0V1z M0,3h16V2H0V3z M5,6h10V5H5V6z M15,9H5v1h10V9z M15,14v-1H5v1H15z M1.5,7C0.7,7,0,6.3,0,5.5S0.7,4,1.5,4 S3,4.7,3,5.5S2.3,7,1.5,7z M1.5,5C1.2,5,1,5.2,1,5.5S1.2,6,1.5,6S2,5.8,2,5.5S1.8,5,1.5,5z M1.5,11.1C0.7,11.1,0,10.4,0,9.6 s0.7-1.5,1.5-1.5S3,8.7,3,9.6S2.3,11.1,1.5,11.1z M1.5,9.1C1.2,9.1,1,9.3,1,9.6s0.2,0.5,0.5,0.5S2,9.8,2,9.6S1.8,9.1,1.5,9.1z M1.5,15C0.7,15,0,14.3,0,13.5S0.7,12,1.5,12S3,12.7,3,13.5S2.3,15,1.5,15z M1.5,13C1.2,13,1,13.2,1,13.5S1.2,14,1.5,14 S2,13.8,2,13.5S1.8,13,1.5,13z"/></symbol><symbol viewBox="0 0 512 512" id="f-i-remove" xmlns="http://www.w3.org/2000/svg"><path d="M193.694-139.2h87.322v510.916h-87.322zM-18.103 159.92V72.597h510.915v87.322z" transform="rotate(45 77.994 208.636)"/></symbol><symbol id="f-i-rich-text" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M15,1H1C0.4,1,0,1.4,0,2v12c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1V2C16,1.4,15.6,1,15,1z M1,3.1h0.8v0.3H1V3.1z M1,3.6h0.8 v0.3H1V3.6z M15,14H1V5.1h14V14z M15,4.9H1V4.6h14V4.9z M15,4.4H1V4.1h0.8v0.2h1.5V4.1h1.3v0.2H6V4.1h1.3v0.2h1.5V4.1H10v0.2h1.5 V4.1h1.3v0.2h1.5V4.1H15V4.4z M4.5,3.6v0.3H3.3V3.6H4.5z M3.3,3.4V3.1h1.3v0.3H3.3z M7.3,3.6v0.3H6V3.6H7.3z M6,3.4V3.1h1.3v0.3H6z M10,3.6v0.3H8.8V3.6H10z M8.8,3.4V3.1H10v0.3H8.8z M12.8,3.6v0.3h-1.3V3.6H12.8z M11.5,3.4V3.1h1.3v0.3H11.5z M15,3.9h-0.8V3.6H15 V3.9z M15,3.4h-0.8V3.1H15V3.4z M15,2.9h-0.8V2.8h-1.5v0.2h-1.3V2.8H10v0.2H8.8V2.8H7.3v0.2H6V2.8H4.5v0.2H3.3V2.8H1.8v0.2H1V2.6h14 V2.9z M15,2.4H1V2.1h14V2.4z M3,12v-1h10v1H3z M13,10H3V9h10V10z M11,8H3V7h8V8z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-rows" xmlns="http://www.w3.org/2000/svg"><metadata id="bfprefix__metadata4318"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><g transform="matrix(0,1,-1,0,3.0984025,11.835155)" id="bfprefix__g7209"><path id="bfprefix__rect4860-3-5" d="m 4.1640625,-12.402344 a 0.50004997,0.50004997 0 0 0 -0.5,-0.5 l -5,0 -5,0 -5.0000005,0 a 0.50004997,0.50004997 0 0 0 -0.5,0.5 l 0,15.0000002 a 0.50004997,0.50004997 0 0 0 0.5,0.5 l 4.9648442,0 a 0.50004997,0.50004997 0 0 0 0.035156,0 l 4.9648437,0 a 0.50004997,0.50004997 0 0 0 0.035156,0 l 5,0 a 0.50004997,0.50004997 0 0 0 0.5,-0.5 l 0,-15.0000002 z m -1,0.5 0,14.0000002 -4,0 0,-14.0000002 4,0 z m -5,0 0,14.0000002 -4,0 0,-14.0000002 4,0 z m -5,0 0,14.0000002 -4.0000005,0 0,-14.0000002 4.0000005,0 z"/></g></symbol><symbol id="f-i-select" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path id="bgprefix__XMLID_1_" d="M0,0v14h0c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1h0V5h4V0H0z M1,1h10v3H1V1z M1,7h10v3H1V7z M1,14v-3h10v3H1z M15,4h-3V1h3V4z M2,2h1v1H2V2z M2,12h1v1H2V12z M4,12h1v1H4V12z M6,12h1v1H6V12z M9,12v1H8v-1H9z M2,8h1v1H2V8z M4,8h1v1H4V8z M6,8 h1v1H6V8z M13.5,3.1l-1-1.1h1.9L13.5,3.1z M2,6V5h1v1H2L2,6z M4,6V5h1v1H4L4,6z"/></symbol><symbol viewBox="0 0 448 512" id="f-i-settings" xmlns="http://www.w3.org/2000/svg"><g id="bhprefix__icomoon-ignore"/><path d="M223.969 175c-44.703 0-80.969 36.266-80.969 81 0 44.688 36.266 81.031 80.969 81.031 44.719 0 80.719-36.344 80.719-81.031-0-44.734-36-81-80.719-81zM386.313 302.531l-14.594 35.156 29.469 57.875-36.094 36.094-59.218-27.969-35.156 14.438-17.844 54.625-2.281 7.25h-51.016l-22.078-61.656-35.156-14.5-57.952 29.344-36.078-36.063 27.938-59.25-14.484-35.125-61.767-20.156v-50.984l61.703-22.109 14.485-35.094-25.953-51.234-3.422-6.719 36.031-36.031 59.297 27.922 35.109-14.516 17.828-54.594 2.297-7.234h51l22.094 61.734 35.063 14.516 58.031-29.406 36.063 36.031-27.938 59.203 14.438 35.172 61.875 20.125v50.969l-61.688 22.187z"/></symbol><symbol id="f-i-text-input" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path id="biprefix__XMLID_10_" d="M15,4H4.5V3H6V2H4.5h-1H2v1h1.5v1H1C0.4,4,0,4.5,0,5v6c0,0.6,0.4,1,1,1h2.5v1H2v1h4v-1H4.5v-1H15 c0.6,0,1-0.4,1-1V5C16,4.5,15.6,4,15,4z M1,11V5h2.5v6H1z M15,11H4.5V5H15V11z"/></symbol><symbol id="f-i-textarea" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path id="bjprefix__XMLID_1_" d="M3,11v-1h8v1H3L3,11z M3,7h10V6H3V7L3,7z M3,8v1h10V8H3L3,8z M13,4H3v1h10V4L13,4z M16,14V2c0-0.6-0.4-1-1-1 H1C0.4,1,0,1.4,0,2v12c0,0.6,0.4,1,1,1h14C15.6,15,16,14.6,16,14z M15,2v12H1V2H15z"/></symbol><symbol viewBox="0 0 24 32" id="f-i-triangle-down" xmlns="http://www.w3.org/2000/svg"><path d="M0 12l11.992 11.992 11.992-11.992h-23.984z"/></symbol><symbol viewBox="0 0 12 32" id="f-i-triangle-left" xmlns="http://www.w3.org/2000/svg"><path d="M0 15.996l11.992 11.992v-23.984l-11.992 11.992z"/></symbol><symbol viewBox="0 0 12 32" id="f-i-triangle-right" xmlns="http://www.w3.org/2000/svg"><path d="M0.002 4.008l11.992 11.992-11.992 11.992v-23.984z"/></symbol><symbol viewBox="0 0 24 32" id="f-i-triangle-up" xmlns="http://www.w3.org/2000/svg"><path d="M11.992 8l-11.992 11.992h23.984l-11.992-11.992z"/></symbol><symbol viewBox="0 0 512 512" id="f-i-upload" xmlns="http://www.w3.org/2000/svg"><g id="boprefix__icomoon-ignore"/><path d="M240 352h-240v128h480v-128h-240zM448 416h-64v-32h64v32zM112 160l128-128 128 128h-80v160h-96v-160z"/></symbol></svg>',In=bo.name,Dn=bo.version,Ri=In,ml="formeo-sprite",vl=`https://cdn.jsdelivr.net/npm/formeo@${Dn}/dist/${ml}.svg`,yl=`https://cdn.jsdelivr.net/npm/formeo@${Dn}/dist/formeo.min.css`,bl="https://draggable.github.io/formeo/assets/css/formeo.min.css",wo="f-panel",st="control-group",kt=`${Ri}-stage`,Ue=`${Ri}-row`,Ge=`${Ri}-column`,Tt=`${Ri}-field`,hn="custom-column-widths",Co="column-preset",Pi="resizing-columns",wl=new Map([[kt,Ue],[Ue,Ge],[Ge,Tt]]),Nn=["stage","row","column","field"],Fn=Nn.map(e=>`${e}s`),Sp=new Map(Fn.map((e,i)=>[e,Nn[i]])),Cl=new RegExp(`^${Fn.join("|")}.`),So=[...Nn],xo=[...Fn],Sl=new Map(xo.map((e,i)=>[e,So[i]])),xp=new RegExp(`^${xo.join("|")}.`),Hi=So.reduce((e,i)=>(e[i]=i,e),{}),xl=[{name:"controls",className:st},{name:"stage",className:kt},{name:"row",className:Ue},{name:"column",className:Ge},{name:"field",className:Tt}],zn={controls:st,stage:kt,row:Ue,column:Ge,field:Tt},El=Object.entries(zn).reduce((e,[i,t])=>(e[t]=i,e),{}),Al=Object.values(zn),kl=new RegExp(`${Al.join("|")}`,"g"),{childTypeMapVals:Eo,childTypeIndexMapVals:Tl}=xl.reduce((e,{name:i},t,n)=>{const{name:m}=n[t+1]||{};return m&&(e.childTypeMapVals.push([i,m]),e.childTypeIndexMapVals.push([`${i}s`,`${m}s`])),e},{childTypeMapVals:[],childTypeIndexMapVals:[]}),Ml=Eo.slice().map(e=>e.slice().reverse()).reverse(),pr=new Map(Eo),$l=new Map(Tl),Ll=new Map(Ml.slice()),Rl=[[{value:"100.0",label:"100%"}],[{value:"50.0,50.0",label:"50 | 50"},{value:"33.3,66.6",label:"33 | 66"},{value:"66.6,33.3",label:"66 | 33"}],[{value:"33.3,33.3,33.3",label:"33 | 33 | 33"},{value:"25.0,25.0,50.0",label:"25 | 25 | 50"},{value:"50.0,25.0,25.0",label:"50 | 25 | 25"},{value:"25.0,50.0,25.0",label:"25 | 50 | 25"}],[{value:"25.0,25.0,25.0,25.0",label:"25 | 25 | 25 | 25"}],[{value:"20.0,20.0,20.0,20.0,20.0",label:"20 | 20 | 20 | 20 | 20"}],[{value:"16.66,16.66,16.66,16.66,16.66,16.66",label:"16.66 | 16.66 | 16.66 | 16.66 | 16.66 | 16.66"}]],_l=new Map(Rl.reduce((e,i,t)=>(e.push([t,i]),e),[])),Pn=`${In}-formData`,fr=`${In}-locale`;var at=Math.round(333/2),Hn=Math.round(333*2),Ep=Math.round(333/5),Ao="formeoSaved",Bn="formeoUpdated",Ol="formeoChanged",ko="formeoUpdatedStage",To="formeoUpdatedRow",Mo="formeoUpdatedColumn",$o="formeoUpdatedField",Il="formeoCleared",Lo="formeoOnRender",Dl="formeoConditionUpdated",Wn="formeoAddedRow",jn="formeoAddedColumn",Vn="formeoAddedField",Un="formeoRemovedRow",Gn="formeoRemovedColumn",Kn="formeoRemovedField",Ro={equals:"==",notEquals:"!=",contains:"⊃",notContains:"!⊃"},Nl={and:"&&",or:"||"},_o={equals:"="},Fl=["logical","source","sourceProperty","comparison","target","targetProperty","assignment","value"],gr=["isChecked","isNotChecked"],mr=["isVisible","isNotVisible"],ni=["value"],zl={comparison:Ro,assignment:_o,logical:Nl};var Pl="then",qn=()=>({if:[{source:"",sourceProperty:"",comparison:"",target:"",targetProperty:""}],[Pl]:[{target:"",targetProperty:"",assignment:"",value:""}]}),Hl=/(\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b)|(\b[0-9a-f]{8}\b)/g,pn=/\bcol-\w+-\d+/g,Oo="f-i-",wt=()=>({id:Me(),stages:{[Me()]:{}},rows:{},columns:{},fields:{}}),fi=["selected","checked"],Bl=fi.toReversed(),Wl=new Map([["config",new Set(["label","helpText","hideLabel","labelAfter","disableHtmlLabel","tooltip"])]]),jl=()=>crypto.randomUUID().slice(0,8),Vl=()=>jl().slice(0,8),vr=(e="",i)=>{if(!i)return console.warn("utils.match missing argument 2."),!1;const t=/[|\\{}()[\]^*$+?.]/g;let n=typeof i=="string"?[i]:i;n=n.map(f=>f==="*"?"":f.replace(t,"\\$&"));let m=!0;return n.length&&(m=!new RegExp(n.join("|"),"i").exec(e)),m},Ul=(e,i)=>{const t=e.indexOf(i);t!==-1&&e.splice(t,1)},be=e=>{const i=e.className?.match(kl);return i&&El[i[0]]},Je=e=>Array.from(new Set(e)),Me=e=>e?.attrs?.id||e?.id||Vl(),De=(e,i)=>{const t=(n,m)=>{if(Array.isArray(n))return m!=null?Je(n.concat(m)):m;if(Array.isArray(m))return n!=null?Je(m.concat(n)):m};return(0,Ga.default)({},e,i,t)},He=e=>{let i;const t=e instanceof Promise;if(e===null||typeof e!="object"||t)return e;if(e instanceof Date)return i=new Date,i.setTime(e.getTime()),i;if(Array.isArray(e)){i=[];for(let n=0,m=e.length;n<m;n++)i[n]=He(e[n]);return i}if(e instanceof Object){i={};for(const n in e)Object.hasOwn(e,n)&&(i[n]=He(e[n]));return i}throw new Error("Unable to copy Object, type not supported.")},Bi=(e,i)=>e/i*100,fn=e=>`${e.toString()}%`,Yn=Object.create(null,{get:{value:e=>{const i=window.sessionStorage?.getItem(e);try{return JSON.parse(i)}catch{return i}}},set:{value:(e,i)=>{try{return window.sessionStorage?.setItem(e,JSON.stringify(i))}catch(t){console.error(t)}}}}),Te=e=>/^(stage|row|column|field)s./.test(e),Gl=e=>Cl.test(e);function Io(e,i=Hn,{trailing:t=!1}={}){let n=0,m=null,f=null;return function(...g){const c=i-(Date.now()-n);if(c<=0){clearTimeout(m),m=null,n=Date.now(),e.apply(this,g);return}t&&(f=g,m||(m=setTimeout(()=>{m=null,n=Date.now(),e.apply(this,f)},c)))}}function gi(e,i=at){let t;return function(...n){t&&clearTimeout(t),t=setTimeout(()=>e.apply(this,n),i)}}function gn(e){return e}function mn(){}function _i(e=Object.create(null)){if(typeof e=="string")try{return JSON.parse(e)}catch(i){return console.error("Invalid JSON string provided:",i),Object.create(null)}return e}var ot=e=>e?He(_i(e)):wt();function Do(e,i,t,n={}){if(!i||!e[t][i])return n;const m=`${t}.${i}`;n[m]=e[t][i];const f=$l.get(t);if(f){const g=e[t][i].data?.children||[];for(const c of g)Do(e,c,f,n)}return n}var Kl="a an and as at but by for for from in into near nor of on onto or the to with".split(" ").map(e=>String.raw`\s${e}\s`),ql=new RegExp(String.raw`(?!${Kl.join("|")})\w\S*`,"g"),Yl=/\s+/g;function je(e){return typeof e!="string"||e.trim().match(Yl)?e:e.replace(ql,i=>i.charAt(0).toUpperCase()+i.substring(1).replace(/[A-Z]/g,t=>` ${t}`))}var No=(e,i="-")=>e.toString().normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,i),lt=e=>{if(Array.isArray(e))return e;const i=/[.[\]]/g,t=[];let n=0,m=i.exec(e);for(;m!==null;)t.push(e.slice(n,m.index)),n=m.index+m[0].length,m=i.exec(e);return n<e.length&&t.push(e.slice(n)),t.filter(Boolean)},yr=(e,i="-")=>lt(e).join(i),Zl=e=>{const i=document.createElement("div");return i.innerHTML=e,i.textContent||i.innerText||""},Ql=(e,i,t="…")=>{if(e.length<=i)return e;const n=e.slice(0,i),m=n.lastIndexOf(" ");let f=`${m>0?n.slice(0,m):n}`;return t&&(f+=t),f},Xl=/^attrs\.|^meta\.|^options\.|^config\./g;function mi(e){return e.replaceAll(Xl,"")}var Jl=(e,i,t)=>i==="checkbox"&&t>1&&e&&!e.endsWith("[]")?`${e}[]`:e,Yt="no-transition",ec={debug:!1,bubbles:!0,formeoLoaded:e=>{},onAdd:()=>{},onRemove:()=>{},onChange:e=>Q.opts?.debug&&console.log(e),onUpdate:e=>Q.opts?.debug&&console.log(e),onUpdateStage:e=>Q.opts?.debug&&console.log(e),onUpdateRow:e=>Q.opts?.debug&&console.log(e),onUpdateColumn:e=>Q.opts?.debug&&console.log(e),onUpdateField:e=>Q.opts?.debug&&console.log(e),onAddRow:e=>Q.opts?.debug&&console.log(e),onAddColumn:e=>Q.opts?.debug&&console.log(e),onAddField:e=>Q.opts?.debug&&console.log(e),onRemoveRow:e=>Q.opts?.debug&&console.log(e),onRemoveColumn:e=>Q.opts?.debug&&console.log(e),onRemoveField:e=>Q.opts?.debug&&console.log(e),onRender:e=>Q.opts?.debug&&console.log(e),onSave:e=>{},confirmClearAll:e=>{globalThis.confirm(e.confirmationMessage)&&e.clearAllAction(e)}},_e=({src:e,...i},t=Bn)=>{const n=new globalThis.CustomEvent(t,{detail:i,bubbles:Q.opts?.debug||Q.opts?.bubbles});if(n.data=(e||document).dispatchEvent(n),t==="formeoUpdated"){const m=new globalThis.CustomEvent(Ol,{detail:i,bubbles:Q.opts?.debug||Q.opts?.bubbles});(e||document).dispatchEvent(m)}return n},Q={init:function(e){return this.opts={...ec,...e},this},formeoSaved:e=>_e(e,Ao),formeoUpdated:(e,i)=>_e(e,i||"formeoUpdated"),formeoCleared:e=>_e(e,Il),formeoOnRender:e=>_e(e,Lo),formeoConditionUpdated:e=>_e(e,Dl),formeoAddedRow:e=>_e(e,Wn),formeoAddedColumn:e=>_e(e,jn),formeoAddedField:e=>_e(e,Vn),formeoRemovedRow:e=>_e(e,Un),formeoRemovedColumn:e=>_e(e,Gn),formeoRemovedField:e=>_e(e,Kn)},tc=Io(()=>{const e={timeStamp:globalThis.performance.now(),type:Bn,detail:oe.formData};Q.opts.onUpdate(e),Q.opts.onChange!==Q.opts.onUpdate&&Q.opts.onChange(e)},at,{trailing:!0});document.addEventListener(Bn,tc);document.addEventListener(ko,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onUpdate(m),Q.opts.onUpdateStage(m)});document.addEventListener(To,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onUpdate(m),Q.opts.onUpdateRow(m)});document.addEventListener(Mo,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onUpdate(m),Q.opts.onUpdateColumn(m)});document.addEventListener($o,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onUpdate(m),Q.opts.onUpdateField(m)});document.addEventListener(Wn,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onAdd(m),Q.opts.onAddRow(m)});document.addEventListener(jn,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onAdd(m),Q.opts.onAddColumn(m)});document.addEventListener(Vn,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onAdd(m),Q.opts.onAddField(m)});document.addEventListener(Un,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onRemove(m),Q.opts.onRemoveRow(m)});document.addEventListener(Gn,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onRemove(m),Q.opts.onRemoveColumn(m)});document.addEventListener(Kn,e=>{const{timeStamp:i,type:t,detail:n}=e,m={timeStamp:i,type:t,detail:n};Q.opts.onRemove(m),Q.opts.onRemoveField(m)});document.addEventListener(Lo,e=>{const{timeStamp:i,type:t,detail:n}=e;Q.opts.onRender({timeStamp:i,type:t,detail:n})});document.addEventListener("confirmClearAll",e=>{e={timeStamp:e.timeStamp,type:e.type,confirmationMessage:e.detail.confirmationMessage,clearAllAction:e.detail.clearAllAction,btnCoords:e.detail.btnCoords},Q.opts.confirmClearAll(e)});document.addEventListener(Ao,({timeStamp:e,type:i,detail:{formData:t}})=>{const n={timeStamp:e,type:i,formData:t};Q.opts.onSave(n)});document.addEventListener("formeoLoaded",e=>{Q.opts.formeoLoaded(e.detail.formeo)});var Wi;function ic(){Wi=Wi||window.requestAnimationFrame(()=>{Wi=!1;for(const e of Object.values(Ht.data))e.dom.classList.add(Yt),Bt.dom.classList.add(Yt),Bt.panels.nav.refresh(),e.refreshFieldPanels(),Io(()=>{e.dom.classList.remove(Yt),Bt.dom.classList.remove(Yt)},333)})}window.addEventListener("resize",ic);var Zn=j(((e,i)=>{var t=At(),n=dt(),m="[object Symbol]";function f(g){return typeof g=="symbol"||n(g)&&t(g)==m}i.exports=f})),nc=j(((e,i)=>{var t=ht(),n=Zn(),m=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/;function g(c,o){if(t(c))return!1;var h=typeof c;return h=="number"||h=="symbol"||h=="boolean"||c==null||n(c)?!0:f.test(c)||!m.test(c)||o!=null&&c in Object(o)}i.exports=g})),rc=j(((e,i)=>{var t=Mn(),n="Expected a function";function m(f,g){if(typeof f!="function"||g!=null&&typeof g!="function")throw new TypeError(n);var c=function(){var o=arguments,h=g?g.apply(this,o):o[0],d=c.cache;if(d.has(h))return d.get(h);var u=f.apply(this,o);return c.cache=d.set(h,u)||d,u};return c.cache=new(m.Cache||t),c}m.Cache=t,i.exports=m})),oc=j(((e,i)=>{var t=rc(),n=500;function m(f){var g=t(f,function(o){return c.size===n&&c.clear(),o}),c=g.cache;return g}i.exports=m})),sc=j(((e,i)=>{var t=oc(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,m=/\\(\\)?/g,f=t(function(g){var c=[];return g.charCodeAt(0)===46&&c.push(""),g.replace(n,function(o,h,d,u){c.push(d?u.replace(m,"$1"):h||o)}),c});i.exports=f})),ac=j(((e,i)=>{function t(n,m){for(var f=-1,g=n==null?0:n.length,c=Array(g);++f<g;)c[f]=m(n[f],f,n);return c}i.exports=t})),lc=j(((e,i)=>{var t=Ti(),n=ac(),m=ht(),f=Zn(),g=1/0,c=t?t.prototype:void 0,o=c?c.toString:void 0;function h(d){if(typeof d=="string")return d;if(m(d))return n(d,h)+"";if(f(d))return o?o.call(d):"";var u=d+"";return u=="0"&&1/d==-g?"-0":u}i.exports=h})),Oi=j(((e,i)=>{var t=lc();function n(m){return m==null?"":t(m)}i.exports=n})),Fo=j(((e,i)=>{var t=ht(),n=nc(),m=sc(),f=Oi();function g(c,o){return t(c)?c:n(c,o)?[c]:m(f(c))}i.exports=g})),zo=j(((e,i)=>{var t=Zn(),n=1/0;function m(f){if(typeof f=="string"||t(f))return f;var g=f+"";return g=="0"&&1/f==-n?"-0":g}i.exports=m})),cc=j(((e,i)=>{var t=Fo(),n=zo();function m(f,g){g=t(g,f);for(var c=0,o=g.length;f!=null&&c<o;)f=f[n(g[c++])];return c&&c==o?f:void 0}i.exports=m})),uc=j(((e,i)=>{var t=cc();function n(m,f,g){var c=m==null?void 0:t(m,f);return c===void 0?g:c}i.exports=n})),dc=j(((e,i)=>{var t=go(),n=Fo(),m=On(),f=tt(),g=zo();function c(o,h,d,u){if(!f(o))return o;h=n(h,o);for(var l=-1,s=h.length,r=s-1,a=o;a!=null&&++l<s;){var p=g(h[l]),v=d;if(p==="__proto__"||p==="constructor"||p==="prototype")return o;if(l!=r){var y=a[p];v=u?u(y,p,a):void 0,v===void 0&&(v=f(y)?y:m(h[l+1])?[]:{})}t(a,p,v),a=a[p]}return o}i.exports=c})),hc=j(((e,i)=>{var t=dc();function n(m,f,g){return m==null?m:t(m,f,g)}i.exports=n})),pc=Et(uc(),1),fc=Et(hc(),1),we=pc.default,Ii=fc.default;function gc(e,i={}){const t={...e};for(const n in i)Object.hasOwn(i,n)&&(Object.hasOwn(t,n)?Array.isArray(t[n])?t[n].push(i[n]):t[n]=[t[n],i[n]]:t[n]=i[n]);return t}function ri(...e){return e.flat().reduce((i,t)=>(i[t]=t,i),{})}var mc=j(((e,i)=>{var t="__lodash_hash_undefined__";function n(m){return this.__data__.set(m,t),this}i.exports=n})),vc=j(((e,i)=>{function t(n){return this.__data__.has(n)}i.exports=t})),yc=j(((e,i)=>{var t=Mn(),n=mc(),m=vc();function f(g){var c=-1,o=g==null?0:g.length;for(this.__data__=new t;++c<o;)this.add(g[c])}f.prototype.add=f.prototype.push=n,f.prototype.has=m,i.exports=f})),bc=j(((e,i)=>{function t(n,m){for(var f=-1,g=n==null?0:n.length;++f<g;)if(m(n[f],f,n))return!0;return!1}i.exports=t})),wc=j(((e,i)=>{function t(n,m){return n.has(m)}i.exports=t})),Po=j(((e,i)=>{var t=yc(),n=bc(),m=wc(),f=1,g=2;function c(o,h,d,u,l,s){var r=d&f,a=o.length,p=h.length;if(a!=p&&!(r&&p>a))return!1;var v=s.get(o),y=s.get(h);if(v&&y)return v==h&&y==o;var k=-1,x=!0,w=d&g?new t:void 0;for(s.set(o,h),s.set(h,o);++k<a;){var S=o[k],M=h[k];if(u)var L=r?u(M,S,k,h,o,s):u(S,M,k,o,h,s);if(L!==void 0){if(L)continue;x=!1;break}if(w){if(!n(h,function(R,$){if(!m(w,$)&&(S===R||l(S,R,d,u,s)))return w.push($)})){x=!1;break}}else if(!(S===M||l(S,M,d,u,s))){x=!1;break}}return s.delete(o),s.delete(h),x}i.exports=c})),Cc=j(((e,i)=>{function t(n){var m=-1,f=Array(n.size);return n.forEach(function(g,c){f[++m]=[c,g]}),f}i.exports=t})),Sc=j(((e,i)=>{function t(n){var m=-1,f=Array(n.size);return n.forEach(function(g){f[++m]=g}),f}i.exports=t})),xc=j(((e,i)=>{var t=Ti(),n=lo(),m=Vt(),f=Po(),g=Cc(),c=Sc(),o=1,h=2,d="[object Boolean]",u="[object Date]",l="[object Error]",s="[object Map]",r="[object Number]",a="[object RegExp]",p="[object Set]",v="[object String]",y="[object Symbol]",k="[object ArrayBuffer]",x="[object DataView]",w=t?t.prototype:void 0,S=w?w.valueOf:void 0;function M(L,R,$,D,T,E,C){switch($){case x:if(L.byteLength!=R.byteLength||L.byteOffset!=R.byteOffset)return!1;L=L.buffer,R=R.buffer;case k:return!(L.byteLength!=R.byteLength||!E(new n(L),new n(R)));case d:case u:case r:return m(+L,+R);case l:return L.name==R.name&&L.message==R.message;case a:case v:return L==R+"";case s:var b=g;case p:var A=D&o;if(b||(b=c),L.size!=R.size&&!A)return!1;var _=C.get(L);if(_)return _==R;D|=h,C.set(L,R);var O=f(b(L),b(R),D,T,E,C);return C.delete(L),O;case y:if(S)return S.call(L)==S.call(R)}return!1}i.exports=M})),Ec=j(((e,i)=>{function t(n,m){for(var f=-1,g=m.length,c=n.length;++f<g;)n[c+f]=m[f];return n}i.exports=t})),Ac=j(((e,i)=>{var t=Ec(),n=ht();function m(f,g,c){var o=g(f);return n(f)?o:t(o,c(f))}i.exports=m})),kc=j(((e,i)=>{function t(n,m){for(var f=-1,g=n==null?0:n.length,c=0,o=[];++f<g;){var h=n[f];m(h,f,n)&&(o[c++]=h)}return o}i.exports=t})),Tc=j(((e,i)=>{function t(){return[]}i.exports=t})),Mc=j(((e,i)=>{var t=kc(),n=Tc(),m=Object.prototype.propertyIsEnumerable,f=Object.getOwnPropertySymbols,g=f?function(c){return c==null?[]:(c=Object(c),t(f(c),function(o){return m.call(c,o)}))}:n;i.exports=g})),$c=j(((e,i)=>{var t=co()(Object.keys,Object);i.exports=t})),Lc=j(((e,i)=>{var t=Ln(),n=$c(),m=Object.prototype.hasOwnProperty;function f(g){if(!t(g))return n(g);var c=[];for(var o in Object(g))m.call(g,o)&&o!="constructor"&&c.push(o);return c}i.exports=f})),Rc=j(((e,i)=>{var t=mo(),n=Lc(),m=Li();function f(g){return m(g)?t(g):n(g)}i.exports=f})),_c=j(((e,i)=>{var t=Ac(),n=Mc(),m=Rc();function f(g){return t(g,m,n)}i.exports=f})),Oc=j(((e,i)=>{var t=_c(),n=1,m=Object.prototype.hasOwnProperty;function f(g,c,o,h,d,u){var l=o&n,s=t(g),r=s.length;if(r!=t(c).length&&!l)return!1;for(var a=r;a--;){var p=s[a];if(!(l?p in c:m.call(c,p)))return!1}var v=u.get(g),y=u.get(c);if(v&&y)return v==c&&y==g;var k=!0;u.set(g,c),u.set(c,g);for(var x=l;++a<r;){p=s[a];var w=g[p],S=c[p];if(h)var M=l?h(S,w,p,c,g,u):h(w,S,p,g,c,u);if(!(M===void 0?w===S||d(w,S,o,h,u):M)){k=!1;break}x||(x=p=="constructor")}if(k&&!x){var L=g.constructor,R=c.constructor;L!=R&&"constructor"in g&&"constructor"in c&&!(typeof L=="function"&&L instanceof L&&typeof R=="function"&&R instanceof R)&&(k=!1)}return u.delete(g),u.delete(c),k}i.exports=f})),Ic=j(((e,i)=>{var t=ut()(We(),"DataView");i.exports=t})),Dc=j(((e,i)=>{var t=ut()(We(),"Promise");i.exports=t})),Nc=j(((e,i)=>{var t=ut()(We(),"Set");i.exports=t})),Fc=j(((e,i)=>{var t=ut()(We(),"WeakMap");i.exports=t})),zc=j(((e,i)=>{var t=Ic(),n=Tn(),m=Dc(),f=Nc(),g=Fc(),c=At(),o=ro(),h="[object Map]",d="[object Object]",u="[object Promise]",l="[object Set]",s="[object WeakMap]",r="[object DataView]",a=o(t),p=o(n),v=o(m),y=o(f),k=o(g),x=c;(t&&x(new t(new ArrayBuffer(1)))!=r||n&&x(new n)!=h||m&&x(m.resolve())!=u||f&&x(new f)!=l||g&&x(new g)!=s)&&(x=function(w){var S=c(w),M=S==d?w.constructor:void 0,L=M?o(M):"";if(L)switch(L){case a:return r;case p:return h;case v:return u;case y:return l;case k:return s}return S}),i.exports=x})),Pc=j(((e,i)=>{var t=oo(),n=Po(),m=xc(),f=Oc(),g=zc(),c=ht(),o=Rn(),h=_n(),d=1,u="[object Arguments]",l="[object Array]",s="[object Object]",r=Object.prototype.hasOwnProperty;function a(p,v,y,k,x,w){var S=c(p),M=c(v),L=S?l:g(p),R=M?l:g(v);L=L==u?s:L,R=R==u?s:R;var $=L==s,D=R==s,T=L==R;if(T&&o(p)){if(!o(v))return!1;S=!0,$=!1}if(T&&!$)return w||(w=new t),S||h(p)?n(p,v,y,k,x,w):m(p,v,L,y,k,x,w);if(!(y&d)){var E=$&&r.call(p,"__wrapped__"),C=D&&r.call(v,"__wrapped__");if(E||C){var b=E?p.value():p,A=C?v.value():v;return w||(w=new t),x(b,A,y,k,w)}}return T?(w||(w=new t),f(p,v,y,k,x,w)):!1}i.exports=a})),Hc=j(((e,i)=>{var t=Pc(),n=dt();function m(f,g,c,o,h){return f===g?!0:f==null||g==null||!n(f)&&!n(g)?f!==f&&g!==g:t(f,g,c,o,m,h)}i.exports=m})),Bc=j(((e,i)=>{var t=Hc();function n(m,f){return t(m,f)}i.exports=n})),vn=Et(Bc(),1),Wc=(e,i)=>e===void 0?"added":i===void 0?"removed":(0,vn.default)(e,i)?"unchanged":"changed",Qn=class{constructor(e,i=Object.create(null)){this.name=e,this.data=i,this.dataPath=""}get size(){return Object.keys(this.data).length}get js(){return this.data}get json(){return this.data}toJSON=(e,i)=>JSON.stringify(e,null,i);get=e=>we(this.data,e);set(e,i){const t=we(this.data,e),n=Ii(this.data,e,i),m=Array.isArray(e)?e.join("."):e,f=Object.keys(this.setCallbacks).filter(c=>new RegExp(c).test(m)),g={newVal:i,oldVal:t,path:e};for(const c of f)for(const o of this.setCallbacks[c])o(g);if(!this.disableEvents){const c={entity:this,dataPath:this.dataPath.replace(/\.+$/,""),changePath:this.dataPath+e,value:i,data:n,changeType:Wc(t,i),src:this.dom};if(t&&(c.previousValue=t),Q.formeoUpdated(c),this.name){const o={stage:ko,row:To,column:Mo,field:$o}[this.name];o&&Q.formeoUpdated(c,o)}}return n}addSetCallback(e,i){this.setCallbacks[e]?this.setCallbacks[e].push(i):this.setCallbacks[e]=[i]}removeSetCallback(e,i){this.setCallbacks[e]=this.setCallbacks[e].filter(t=>t!==i)}add=(e,i=Object.create(null))=>{const{id:t}=i,n=e||t||Me();return this.set(n,i)};remove=e=>{const i=lt(e),t=i.pop(),n=this.get(i);return Array.isArray(n)?n.splice(Number(t),1):n&&delete n[t],n};empty(){this.data=Object.create(null)}getData=()=>Object.entries(this.data).reduce((e,[i,t])=>(e[i]=t?.data?t.getData():t,e),{});setCallbacks={};configVal=Object.create(null)},Di=class extends Qn{load=e=>{const i=_i(e);this.empty();for(const[t,n]of Object.entries(i))this.add(t,n);return this.data};get=e=>e?we(this.data,e):this.add();add=(e,i=Object.create(null))=>{const t=e||Me(),n=this.Component({...i,id:t});this.data[t]=n,this.active=n;const m={row:Wn,column:jn,field:Vn}[this.name];return m&&Q.formeoUpdated({entity:n,componentId:t,componentType:this.name,data:n.data},m),n};remove=e=>{if(Array.isArray(e))for(const i of e)this.get(i).remove();else this.get(e).remove();return this.data};delete=e=>(delete this.data[e],e);clearAll=(e=!0)=>{const i=Object.values(this.data).map(t=>t.empty(e));return Promise.all(i)};set config(e){this.configVal=De(this.configVal,He(e))}get config(){return this.configVal}conditionMap=new Map};function jc(e,i,t){return(i=Kc(i))in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function Ke(){return Ke=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},Ke.apply(null,arguments)}function br(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter(function(m){return Object.getOwnPropertyDescriptor(e,m).enumerable})),t.push.apply(t,n)}return t}function Be(e){for(var i=1;i<arguments.length;i++){var t=arguments[i]!=null?arguments[i]:{};i%2?br(Object(t),!0).forEach(function(n){jc(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):br(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Vc(e,i){if(e==null)return{};var t,n,m=Uc(e,i);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(e);for(n=0;n<f.length;n++)t=f[n],i.indexOf(t)===-1&&{}.propertyIsEnumerable.call(e,t)&&(m[t]=e[t])}return m}function Uc(e,i){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(i.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function Gc(e,i){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,i||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(e)}function Kc(e){var i=Gc(e,"string");return typeof i=="symbol"?i:i+""}function yn(e){"@babel/helpers - typeof";return yn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},yn(e)}var qc="1.15.7";function Ve(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Ye=Ve(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Ut=Ve(/Edge/i),wr=Ve(/firefox/i),Dt=Ve(/safari/i)&&!Ve(/chrome/i)&&!Ve(/android/i),Xn=Ve(/iP(ad|od|hone)/i),Ho=Ve(/chrome/i)&&Ve(/android/i),Bo={capture:!1,passive:!1};function re(e,i,t){e.addEventListener(i,t,!Ye&&Bo)}function ne(e,i,t){e.removeEventListener(i,t,!Ye&&Bo)}function vi(e,i){if(i){if(i[0]===">"&&(i=i.substring(1)),e)try{if(e.matches)return e.matches(i);if(e.msMatchesSelector)return e.msMatchesSelector(i);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(i)}catch{return!1}return!1}}function Wo(e){return e.host&&e!==document&&e.host.nodeType&&e.host!==e?e.host:e.parentNode}function Ie(e,i,t,n){if(e){t=t||document;do{if(i!=null&&(i[0]===">"?e.parentNode===t&&vi(e,i):vi(e,i))||n&&e===t)return e;if(e===t)break}while(e=Wo(e))}return null}var Cr=/\s+/g;function xe(e,i,t){e&&i&&(e.classList?e.classList[t?"add":"remove"](i):e.className=((" "+e.className+" ").replace(Cr," ").replace(" "+i+" "," ")+(t?" "+i:"")).replace(Cr," "))}function ee(e,i,t){var n=e&&e.style;if(n){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(t=e.currentStyle),i===void 0?t:t[i];!(i in n)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),n[i]=t+(typeof t=="string"?"":"px")}}function Ct(e,i){var t="";if(typeof e=="string")t=e;else do{var n=ee(e,"transform");n&&n!=="none"&&(t=n+" "+t)}while(!i&&(e=e.parentNode));var m=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return m&&new m(t)}function jo(e,i,t){if(e){var n=e.getElementsByTagName(i),m=0,f=n.length;if(t)for(;m<f;m++)t(n[m],m);return n}return[]}function Pe(){var e=document.scrollingElement;return e||document.documentElement}function de(e,i,t,n,m){if(!(!e.getBoundingClientRect&&e!==window)){var f,g,c,o,h,d,u;if(e!==window&&e.parentNode&&e!==Pe()?(f=e.getBoundingClientRect(),g=f.top,c=f.left,o=f.bottom,h=f.right,d=f.height,u=f.width):(g=0,c=0,o=window.innerHeight,h=window.innerWidth,d=window.innerHeight,u=window.innerWidth),(i||t)&&e!==window&&(m=m||e.parentNode,!Ye))do if(m&&m.getBoundingClientRect&&(ee(m,"transform")!=="none"||t&&ee(m,"position")!=="static")){var l=m.getBoundingClientRect();g-=l.top+parseInt(ee(m,"border-top-width")),c-=l.left+parseInt(ee(m,"border-left-width")),o=g+f.height,h=c+f.width;break}while(m=m.parentNode);if(n&&e!==window){var s=Ct(m||e),r=s&&s.a,a=s&&s.d;s&&(g/=a,c/=r,u/=r,d/=a,o=g+d,h=c+u)}return{top:g,left:c,bottom:o,right:h,width:u,height:d}}}function Sr(e,i,t){for(var n=Xe(e,!0),m=de(e)[i];n;){var f=de(n)[t],g=void 0;if(t==="top"||t==="left"?g=m>=f:g=m<=f,!g)return n;if(n===Pe())break;n=Xe(n,!1)}return!1}function St(e,i,t,n){for(var m=0,f=0,g=e.children;f<g.length;){if(g[f].style.display!=="none"&&g[f]!==J.ghost&&(n||g[f]!==J.dragged)&&Ie(g[f],t.draggable,e,!1)){if(m===i)return g[f];m++}f++}return null}function Jn(e,i){for(var t=e.lastElementChild;t&&(t===J.ghost||ee(t,"display")==="none"||i&&!vi(t,i));)t=t.previousElementSibling;return t||null}function ke(e,i){var t=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==J.clone&&(!i||vi(e,i))&&t++;return t}function xr(e){var i=0,t=0,n=Pe();if(e)do{var m=Ct(e),f=m.a,g=m.d;i+=e.scrollLeft*f,t+=e.scrollTop*g}while(e!==n&&(e=e.parentNode));return[i,t]}function Yc(e,i){for(var t in e)if(e.hasOwnProperty(t)){for(var n in i)if(i.hasOwnProperty(n)&&i[n]===e[t][n])return Number(t)}return-1}function Xe(e,i){if(!e||!e.getBoundingClientRect)return Pe();var t=e,n=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var m=ee(t);if(t.clientWidth<t.scrollWidth&&(m.overflowX=="auto"||m.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(m.overflowY=="auto"||m.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return Pe();if(n||i)return t;n=!0}}while(t=t.parentNode);return Pe()}function Zc(e,i){if(e&&i)for(var t in i)i.hasOwnProperty(t)&&(e[t]=i[t]);return e}function ji(e,i){return Math.round(e.top)===Math.round(i.top)&&Math.round(e.left)===Math.round(i.left)&&Math.round(e.height)===Math.round(i.height)&&Math.round(e.width)===Math.round(i.width)}var Nt;function Vo(e,i){return function(){if(!Nt){var t=arguments,n=this;t.length===1?e.call(n,t[0]):e.apply(n,t),Nt=setTimeout(function(){Nt=void 0},i)}}}function Qc(){clearTimeout(Nt),Nt=void 0}function Uo(e,i,t){e.scrollLeft+=i,e.scrollTop+=t}function Go(e){var i=window.Polymer,t=window.jQuery||window.Zepto;return i&&i.dom?i.dom(e).cloneNode(!0):t?t(e).clone(!0)[0]:e.cloneNode(!0)}function Ko(e,i,t){var n={};return Array.from(e.children).forEach(function(m){var f,g,c,o;if(!(!Ie(m,i.draggable,e,!1)||m.animated||m===t)){var h=de(m);n.left=Math.min((f=n.left)!==null&&f!==void 0?f:1/0,h.left),n.top=Math.min((g=n.top)!==null&&g!==void 0?g:1/0,h.top),n.right=Math.max((c=n.right)!==null&&c!==void 0?c:-1/0,h.right),n.bottom=Math.max((o=n.bottom)!==null&&o!==void 0?o:-1/0,h.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var Ce="Sortable"+new Date().getTime();function Xc(){var e=[],i;return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(n){if(!(ee(n,"display")==="none"||n===J.ghost)){e.push({target:n,rect:de(n)});var m=Be({},e[e.length-1].rect);if(n.thisAnimationDuration){var f=Ct(n,!0);f&&(m.top-=f.f,m.left-=f.e)}n.fromRect=m}})},addAnimationState:function(n){e.push(n)},removeAnimationState:function(n){e.splice(Yc(e,{target:n}),1)},animateAll:function(n){var m=this;if(!this.options.animation){clearTimeout(i),typeof n=="function"&&n();return}var f=!1,g=0;e.forEach(function(c){var o=0,h=c.target,d=h.fromRect,u=de(h),l=h.prevFromRect,s=h.prevToRect,r=c.rect,a=Ct(h,!0);a&&(u.top-=a.f,u.left-=a.e),h.toRect=u,h.thisAnimationDuration&&ji(l,u)&&!ji(d,u)&&(r.top-u.top)/(r.left-u.left)===(d.top-u.top)/(d.left-u.left)&&(o=eu(r,l,s,m.options)),ji(u,d)||(h.prevFromRect=d,h.prevToRect=u,o||(o=m.options.animation),m.animate(h,r,u,o)),o&&(f=!0,g=Math.max(g,o),clearTimeout(h.animationResetTimer),h.animationResetTimer=setTimeout(function(){h.animationTime=0,h.prevFromRect=null,h.fromRect=null,h.prevToRect=null,h.thisAnimationDuration=null},o),h.thisAnimationDuration=o)}),clearTimeout(i),f?i=setTimeout(function(){typeof n=="function"&&n()},g):typeof n=="function"&&n(),e=[]},animate:function(n,m,f,g){if(g){ee(n,"transition",""),ee(n,"transform","");var c=Ct(this.el),o=c&&c.a,h=c&&c.d,d=(m.left-f.left)/(o||1),u=(m.top-f.top)/(h||1);n.animatingX=!!d,n.animatingY=!!u,ee(n,"transform","translate3d("+d+"px,"+u+"px,0)"),this.forRepaintDummy=Jc(n),ee(n,"transition","transform "+g+"ms"+(this.options.easing?" "+this.options.easing:"")),ee(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){ee(n,"transition",""),ee(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},g)}}}}function Jc(e){return e.offsetWidth}function eu(e,i,t,n){return Math.sqrt(Math.pow(i.top-e.top,2)+Math.pow(i.left-e.left,2))/Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))*n.animation}var pt=[],Vi={initializeByDefault:!0},Gt={mount:function(i){for(var t in Vi)Vi.hasOwnProperty(t)&&!(t in i)&&(i[t]=Vi[t]);pt.forEach(function(n){if(n.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),pt.push(i)},pluginEvent:function(i,t,n){var m=this;this.eventCanceled=!1,n.cancel=function(){m.eventCanceled=!0};var f=i+"Global";pt.forEach(function(g){t[g.pluginName]&&(t[g.pluginName][f]&&t[g.pluginName][f](Be({sortable:t},n)),t.options[g.pluginName]&&t[g.pluginName][i]&&t[g.pluginName][i](Be({sortable:t},n)))})},initializePlugins:function(i,t,n,m){pt.forEach(function(c){var o=c.pluginName;if(!(!i.options[o]&&!c.initializeByDefault)){var h=new c(i,t,i.options);h.sortable=i,h.options=i.options,i[o]=h,Ke(n,h.defaults)}});for(var f in i.options)if(i.options.hasOwnProperty(f)){var g=this.modifyOption(i,f,i.options[f]);typeof g<"u"&&(i.options[f]=g)}},getEventProperties:function(i,t){var n={};return pt.forEach(function(m){typeof m.eventProperties=="function"&&Ke(n,m.eventProperties.call(t[m.pluginName],i))}),n},modifyOption:function(i,t,n){var m;return pt.forEach(function(f){i[f.pluginName]&&f.optionListeners&&typeof f.optionListeners[t]=="function"&&(m=f.optionListeners[t].call(i[f.pluginName],n))}),m}};function tu(e){var i=e.sortable,t=e.rootEl,n=e.name,m=e.targetEl,f=e.cloneEl,g=e.toEl,c=e.fromEl,o=e.oldIndex,h=e.newIndex,d=e.oldDraggableIndex,u=e.newDraggableIndex,l=e.originalEvent,s=e.putSortable,r=e.extraEventProperties;if(i=i||t&&t[Ce],!!i){var a,p=i.options,v="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!Ye&&!Ut?a=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(a=document.createEvent("Event"),a.initEvent(n,!0,!0)),a.to=g||t,a.from=c||t,a.item=m||t,a.clone=f,a.oldIndex=o,a.newIndex=h,a.oldDraggableIndex=d,a.newDraggableIndex=u,a.originalEvent=l,a.pullMode=s?s.lastPutMode:void 0;var y=Be(Be({},r),Gt.getEventProperties(n,i));for(var k in y)a[k]=y[k];t&&t.dispatchEvent(a),p[v]&&p[v].call(i,a)}}var iu=["evt"],ye=function(i,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},m=n.evt,f=Vc(n,iu);Gt.pluginEvent.bind(J)(i,t,Be({dragEl:K,parentEl:ce,ghostEl:ie,rootEl:se,nextEl:rt,lastDownEl:oi,cloneEl:ae,cloneHidden:Qe,dragStarted:_t,putSortable:pe,activeSortable:J.active,originalEvent:m,oldIndex:yt,oldDraggableIndex:Ft,newIndex:Ee,newDraggableIndex:Ze,hideGhostForTarget:Qo,unhideGhostForTarget:Xo,cloneNowHidden:function(){Qe=!0},cloneNowShown:function(){Qe=!1},dispatchSortableEvent:function(c){me({sortable:t,name:c,originalEvent:m})}},f))};function me(e){tu(Be({putSortable:pe,cloneEl:ae,targetEl:K,rootEl:se,oldIndex:yt,oldDraggableIndex:Ft,newIndex:Ee,newDraggableIndex:Ze},e))}var K,ce,ie,se,rt,oi,ae,Qe,yt,Ee,Ft,Ze,Zt,pe,mt=!1,yi=!1,bi=[],it,Oe,Ui,Gi,Er,Ar,_t,ft,zt,Pt=!1,Qt=!1,si,fe,Ki=[],bn=!1,wi=[],Ni=typeof document<"u",Xt=Xn,kr=Ut||Ye?"cssFloat":"float",nu=Ni&&!Ho&&!Xn&&"draggable"in document.createElement("div"),qo=(function(){if(Ni){if(Ye)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}})(),Yo=function(i,t){var n=ee(i),m=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),f=St(i,0,t),g=St(i,1,t),c=f&&ee(f),o=g&&ee(g),h=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+de(f).width,d=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+de(g).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(f&&c.float&&c.float!=="none"){var u=c.float==="left"?"left":"right";return g&&(o.clear==="both"||o.clear===u)?"vertical":"horizontal"}return f&&(c.display==="block"||c.display==="flex"||c.display==="table"||c.display==="grid"||h>=m&&n[kr]==="none"||g&&n[kr]==="none"&&h+d>m)?"vertical":"horizontal"},ru=function(i,t,n){var m=n?i.left:i.top,f=n?i.right:i.bottom,g=n?i.width:i.height,c=n?t.left:t.top,o=n?t.right:t.bottom,h=n?t.width:t.height;return m===c||f===o||m+g/2===c+h/2},ou=function(i,t){var n;return bi.some(function(m){var f=m[Ce].options.emptyInsertThreshold;if(!(!f||Jn(m))){var g=de(m),c=i>=g.left-f&&i<=g.right+f,o=t>=g.top-f&&t<=g.bottom+f;if(c&&o)return n=m}}),n},Zo=function(i){function t(f,g){return function(c,o,h,d){var u=c.options.group.name&&o.options.group.name&&c.options.group.name===o.options.group.name;if(f==null&&(g||u))return!0;if(f==null||f===!1)return!1;if(g&&f==="clone")return f;if(typeof f=="function")return t(f(c,o,h,d),g)(c,o,h,d);var l=(g?c:o).options.group.name;return f===!0||typeof f=="string"&&f===l||f.join&&f.indexOf(l)>-1}}var n={},m=i.group;(!m||yn(m)!="object")&&(m={name:m}),n.name=m.name,n.checkPull=t(m.pull,!0),n.checkPut=t(m.put),n.revertClone=m.revertClone,i.group=n},Qo=function(){!qo&&ie&&ee(ie,"display","none")},Xo=function(){!qo&&ie&&ee(ie,"display","")};Ni&&!Ho&&document.addEventListener("click",function(e){if(yi)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),yi=!1,!1},!0);var nt=function(i){if(K){i=i.touches?i.touches[0]:i;var t=ou(i.clientX,i.clientY);if(t){var n={};for(var m in i)i.hasOwnProperty(m)&&(n[m]=i[m]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[Ce]._onDragOver(n)}}},su=function(i){K&&K.parentNode[Ce]._isOutsideThisEl(i.target)};function J(e,i){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=i=Ke({},i),e[Ce]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Yo(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(g,c){g.setData("Text",c.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:J.supportPointer!==!1&&"PointerEvent"in window&&(!Dt||Xn),emptyInsertThreshold:5};Gt.initializePlugins(this,e,t);for(var n in t)!(n in i)&&(i[n]=t[n]);Zo(i);for(var m in this)m.charAt(0)==="_"&&typeof this[m]=="function"&&(this[m]=this[m].bind(this));this.nativeDraggable=i.forceFallback?!1:nu,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?re(e,"pointerdown",this._onTapStart):(re(e,"mousedown",this._onTapStart),re(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(re(e,"dragover",this),re(e,"dragenter",this)),bi.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),Ke(this,Xc())}J.prototype={constructor:J,_isOutsideThisEl:function(i){!this.el.contains(i)&&i!==this.el&&(ft=null)},_getDirection:function(i,t){return typeof this.options.direction=="function"?this.options.direction.call(this,i,t,K):this.options.direction},_onTapStart:function(i){if(i.cancelable){var t=this,n=this.el,m=this.options,f=m.preventOnFilter,g=i.type,c=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,o=(c||i).target,h=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||o,d=m.filter;if(fu(n),!K&&!(/mousedown|pointerdown/.test(g)&&i.button!==0||m.disabled)&&!h.isContentEditable&&!(!this.nativeDraggable&&Dt&&o&&o.tagName.toUpperCase()==="SELECT")&&(o=Ie(o,m.draggable,n,!1),!(o&&o.animated)&&oi!==o)){if(yt=ke(o),Ft=ke(o,m.draggable),typeof d=="function"){if(d.call(this,i,o,this)){me({sortable:t,rootEl:h,name:"filter",targetEl:o,toEl:n,fromEl:n}),ye("filter",t,{evt:i}),f&&i.preventDefault();return}}else if(d&&(d=d.split(",").some(function(u){if(u=Ie(h,u.trim(),n,!1),u)return me({sortable:t,rootEl:u,name:"filter",targetEl:o,fromEl:n,toEl:n}),ye("filter",t,{evt:i}),!0}),d)){f&&i.preventDefault();return}m.handle&&!Ie(h,m.handle,n,!1)||this._prepareDragStart(i,c,o)}}},_prepareDragStart:function(i,t,n){var m=this,f=m.el,g=m.options,c=f.ownerDocument,o;if(n&&!K&&n.parentNode===f){var h=de(n);if(se=f,K=n,ce=K.parentNode,rt=K.nextSibling,oi=n,Zt=g.group,J.dragged=K,it={target:K,clientX:(t||i).clientX,clientY:(t||i).clientY},Er=it.clientX-h.left,Ar=it.clientY-h.top,this._lastX=(t||i).clientX,this._lastY=(t||i).clientY,K.style["will-change"]="all",o=function(){if(ye("delayEnded",m,{evt:i}),J.eventCanceled){m._onDrop();return}m._disableDelayedDragEvents(),!wr&&m.nativeDraggable&&(K.draggable=!0),m._triggerDragStart(i,t),me({sortable:m,name:"choose",originalEvent:i}),xe(K,g.chosenClass,!0)},g.ignore.split(",").forEach(function(d){jo(K,d.trim(),qi)}),re(c,"dragover",nt),re(c,"mousemove",nt),re(c,"touchmove",nt),g.supportPointer?(re(c,"pointerup",m._onDrop),!this.nativeDraggable&&re(c,"pointercancel",m._onDrop)):(re(c,"mouseup",m._onDrop),re(c,"touchend",m._onDrop),re(c,"touchcancel",m._onDrop)),wr&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),ye("delayStart",this,{evt:i}),g.delay&&(!g.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Ut||Ye))){if(J.eventCanceled){this._onDrop();return}g.supportPointer?(re(c,"pointerup",m._disableDelayedDrag),re(c,"pointercancel",m._disableDelayedDrag)):(re(c,"mouseup",m._disableDelayedDrag),re(c,"touchend",m._disableDelayedDrag),re(c,"touchcancel",m._disableDelayedDrag)),re(c,"mousemove",m._delayedDragTouchMoveHandler),re(c,"touchmove",m._delayedDragTouchMoveHandler),g.supportPointer&&re(c,"pointermove",m._delayedDragTouchMoveHandler),m._dragStartTimer=setTimeout(o,g.delay)}else o()}},_delayedDragTouchMoveHandler:function(i){var t=i.touches?i.touches[0]:i;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){K&&qi(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;ne(i,"mouseup",this._disableDelayedDrag),ne(i,"touchend",this._disableDelayedDrag),ne(i,"touchcancel",this._disableDelayedDrag),ne(i,"pointerup",this._disableDelayedDrag),ne(i,"pointercancel",this._disableDelayedDrag),ne(i,"mousemove",this._delayedDragTouchMoveHandler),ne(i,"touchmove",this._delayedDragTouchMoveHandler),ne(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,t){t=t||i.pointerType=="touch"&&i,!this.nativeDraggable||t?this.options.supportPointer?re(document,"pointermove",this._onTouchMove):t?re(document,"touchmove",this._onTouchMove):re(document,"mousemove",this._onTouchMove):(re(K,"dragend",this),re(se,"dragstart",this._onDragStart));try{document.selection?ai(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,t){if(mt=!1,se&&K){ye("dragStarted",this,{evt:t}),this.nativeDraggable&&re(document,"dragover",su);var n=this.options;!i&&xe(K,n.dragClass,!1),xe(K,n.ghostClass,!0),J.active=this,i&&this._appendGhost(),me({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(Oe){this._lastX=Oe.clientX,this._lastY=Oe.clientY,Qo();for(var i=document.elementFromPoint(Oe.clientX,Oe.clientY),t=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint(Oe.clientX,Oe.clientY),i!==t);)t=i;if(K.parentNode[Ce]._isOutsideThisEl(i),t)do{if(t[Ce]){var n=void 0;if(n=t[Ce]._onDragOver({clientX:Oe.clientX,clientY:Oe.clientY,target:i,rootEl:t}),n&&!this.options.dragoverBubble)break}i=t}while(t=Wo(t));Xo()}},_onTouchMove:function(i){if(it){var t=this.options,n=t.fallbackTolerance,m=t.fallbackOffset,f=i.touches?i.touches[0]:i,g=ie&&Ct(ie,!0),c=ie&&g&&g.a,o=ie&&g&&g.d,h=Xt&&fe&&xr(fe),d=(f.clientX-it.clientX+m.x)/(c||1)+(h?h[0]-Ki[0]:0)/(c||1),u=(f.clientY-it.clientY+m.y)/(o||1)+(h?h[1]-Ki[1]:0)/(o||1);if(!J.active&&!mt){if(n&&Math.max(Math.abs(f.clientX-this._lastX),Math.abs(f.clientY-this._lastY))<n)return;this._onDragStart(i,!0)}if(ie){g?(g.e+=d-(Ui||0),g.f+=u-(Gi||0)):g={a:1,b:0,c:0,d:1,e:d,f:u};var l="matrix(".concat(g.a,",").concat(g.b,",").concat(g.c,",").concat(g.d,",").concat(g.e,",").concat(g.f,")");ee(ie,"webkitTransform",l),ee(ie,"mozTransform",l),ee(ie,"msTransform",l),ee(ie,"transform",l),Ui=d,Gi=u,Oe=f}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!ie){var i=this.options.fallbackOnBody?document.body:se,t=de(K,!0,Xt,!0,i),n=this.options;if(Xt){for(fe=i;ee(fe,"position")==="static"&&ee(fe,"transform")==="none"&&fe!==document;)fe=fe.parentNode;fe!==document.body&&fe!==document.documentElement?(fe===document&&(fe=Pe()),t.top+=fe.scrollTop,t.left+=fe.scrollLeft):fe=Pe(),Ki=xr(fe)}ie=K.cloneNode(!0),xe(ie,n.ghostClass,!1),xe(ie,n.fallbackClass,!0),xe(ie,n.dragClass,!0),ee(ie,"transition",""),ee(ie,"transform",""),ee(ie,"box-sizing","border-box"),ee(ie,"margin",0),ee(ie,"top",t.top),ee(ie,"left",t.left),ee(ie,"width",t.width),ee(ie,"height",t.height),ee(ie,"opacity","0.8"),ee(ie,"position",Xt?"absolute":"fixed"),ee(ie,"zIndex","100000"),ee(ie,"pointerEvents","none"),J.ghost=ie,i.appendChild(ie),ee(ie,"transform-origin",Er/parseInt(ie.style.width)*100+"% "+Ar/parseInt(ie.style.height)*100+"%")}},_onDragStart:function(i,t){var n=this,m=i.dataTransfer,f=n.options;if(ye("dragStart",this,{evt:i}),J.eventCanceled){this._onDrop();return}ye("setupClone",this),J.eventCanceled||(ae=Go(K),ae.removeAttribute("id"),ae.draggable=!1,ae.style["will-change"]="",this._hideClone(),xe(ae,this.options.chosenClass,!1),J.clone=ae),n.cloneId=ai(function(){ye("clone",n),!J.eventCanceled&&(n.options.removeCloneOnHide||se.insertBefore(ae,K),n._hideClone(),me({sortable:n,name:"clone"}))}),!t&&xe(K,f.dragClass,!0),t?(yi=!0,n._loopId=setInterval(n._emulateDragOver,50)):(ne(document,"mouseup",n._onDrop),ne(document,"touchend",n._onDrop),ne(document,"touchcancel",n._onDrop),m&&(m.effectAllowed="move",f.setData&&f.setData.call(n,m,K)),re(document,"drop",n),ee(K,"transform","translateZ(0)")),mt=!0,n._dragStartId=ai(n._dragStarted.bind(n,t,i)),re(document,"selectstart",n),_t=!0,window.getSelection().removeAllRanges(),Dt&&ee(document.body,"user-select","none")},_onDragOver:function(i){var t=this.el,n=i.target,m,f,g,c=this.options,o=c.group,h=J.active,d=Zt===o,u=c.sort,l=pe||h,s,r=this,a=!1;if(bn)return;function p(O,I){ye(O,r,Be({evt:i,isOwner:d,axis:s?"vertical":"horizontal",revert:g,dragRect:m,targetRect:f,canSort:u,fromSortable:l,target:n,completed:y,onMove:function(F,z){return Jt(se,t,K,m,F,de(F),i,z)},changed:k},I))}function v(){p("dragOverAnimationCapture"),r.captureAnimationState(),r!==l&&l.captureAnimationState()}function y(O){return p("dragOverCompleted",{insertion:O}),O&&(d?h._hideClone():h._showClone(r),r!==l&&(xe(K,pe?pe.options.ghostClass:h.options.ghostClass,!1),xe(K,c.ghostClass,!0)),pe!==r&&r!==J.active?pe=r:r===J.active&&pe&&(pe=null),l===r&&(r._ignoreWhileAnimating=n),r.animateAll(function(){p("dragOverAnimationComplete"),r._ignoreWhileAnimating=null}),r!==l&&(l.animateAll(),l._ignoreWhileAnimating=null)),(n===K&&!K.animated||n===t&&!n.animated)&&(ft=null),!c.dragoverBubble&&!i.rootEl&&n!==document&&(K.parentNode[Ce]._isOutsideThisEl(i.target),!O&&nt(i)),!c.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),a=!0}function k(){Ee=ke(K),Ze=ke(K,c.draggable),me({sortable:r,name:"change",toEl:t,newIndex:Ee,newDraggableIndex:Ze,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),n=Ie(n,c.draggable,t,!0),p("dragOver"),J.eventCanceled)return a;if(K.contains(i.target)||n.animated&&n.animatingX&&n.animatingY||r._ignoreWhileAnimating===n)return y(!1);if(yi=!1,h&&!c.disabled&&(d?u||(g=ce!==se):pe===this||(this.lastPutMode=Zt.checkPull(this,h,K,i))&&o.checkPut(this,h,K,i))){if(s=this._getDirection(i,n)==="vertical",m=de(K),p("dragOverValid"),J.eventCanceled)return a;if(g)return ce=se,v(),this._hideClone(),p("revert"),J.eventCanceled||(rt?se.insertBefore(K,rt):se.appendChild(K)),y(!0);var x=Jn(t,c.draggable);if(!x||uu(i,s,this)&&!x.animated){if(x===K)return y(!1);if(x&&t===i.target&&(n=x),n&&(f=de(n)),Jt(se,t,K,m,n,f,i,!!n)!==!1)return v(),x&&x.nextSibling?t.insertBefore(K,x.nextSibling):t.appendChild(K),ce=t,k(),y(!0)}else if(x&&cu(i,s,this)){var w=St(t,0,c,!0);if(w===K)return y(!1);if(n=w,f=de(n),Jt(se,t,K,m,n,f,i,!1)!==!1)return v(),t.insertBefore(K,w),ce=t,k(),y(!0)}else if(n.parentNode===t){f=de(n);var S=0,M,L=K.parentNode!==t,R=!ru(K.animated&&K.toRect||m,n.animated&&n.toRect||f,s),$=s?"top":"left",D=Sr(n,"top","top")||Sr(K,"top","top"),T=D?D.scrollTop:void 0;ft!==n&&(M=f[$],Pt=!1,Qt=!R&&c.invertSwap||L),S=du(i,n,f,s,R?1:c.swapThreshold,c.invertedSwapThreshold==null?c.swapThreshold:c.invertedSwapThreshold,Qt,ft===n);var E;if(S!==0){var C=ke(K);do C-=S,E=ce.children[C];while(E&&(ee(E,"display")==="none"||E===ie))}if(S===0||E===n)return y(!1);ft=n,zt=S;var b=n.nextElementSibling,A=!1;A=S===1;var _=Jt(se,t,K,m,n,f,i,A);if(_!==!1)return(_===1||_===-1)&&(A=_===1),bn=!0,setTimeout(lu,30),v(),A&&!b?t.appendChild(K):n.parentNode.insertBefore(K,A?b:n),D&&Uo(D,0,T-D.scrollTop),ce=K.parentNode,M!==void 0&&!Qt&&(si=Math.abs(M-de(n)[$])),k(),y(!0)}if(t.contains(K))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ne(document,"mousemove",this._onTouchMove),ne(document,"touchmove",this._onTouchMove),ne(document,"pointermove",this._onTouchMove),ne(document,"dragover",nt),ne(document,"mousemove",nt),ne(document,"touchmove",nt)},_offUpEvents:function(){var i=this.el.ownerDocument;ne(i,"mouseup",this._onDrop),ne(i,"touchend",this._onDrop),ne(i,"pointerup",this._onDrop),ne(i,"pointercancel",this._onDrop),ne(i,"touchcancel",this._onDrop),ne(document,"selectstart",this)},_onDrop:function(i){var t=this.el,n=this.options;if(Ee=ke(K),Ze=ke(K,n.draggable),ye("drop",this,{evt:i}),ce=K&&K.parentNode,Ee=ke(K),Ze=ke(K,n.draggable),J.eventCanceled){this._nulling();return}mt=!1,Qt=!1,Pt=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),wn(this.cloneId),wn(this._dragStartId),this.nativeDraggable&&(ne(document,"drop",this),ne(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),Dt&&ee(document.body,"user-select",""),ee(K,"transform",""),i&&(_t&&(i.cancelable&&i.preventDefault(),!n.dropBubble&&i.stopPropagation()),ie&&ie.parentNode&&ie.parentNode.removeChild(ie),(se===ce||pe&&pe.lastPutMode!=="clone")&&ae&&ae.parentNode&&ae.parentNode.removeChild(ae),K&&(this.nativeDraggable&&ne(K,"dragend",this),qi(K),K.style["will-change"]="",_t&&!mt&&xe(K,pe?pe.options.ghostClass:this.options.ghostClass,!1),xe(K,this.options.chosenClass,!1),me({sortable:this,name:"unchoose",toEl:ce,newIndex:null,newDraggableIndex:null,originalEvent:i}),se!==ce?(Ee>=0&&(me({rootEl:ce,name:"add",toEl:ce,fromEl:se,originalEvent:i}),me({sortable:this,name:"remove",toEl:ce,originalEvent:i}),me({rootEl:ce,name:"sort",toEl:ce,fromEl:se,originalEvent:i}),me({sortable:this,name:"sort",toEl:ce,originalEvent:i})),pe&&pe.save()):Ee!==yt&&Ee>=0&&(me({sortable:this,name:"update",toEl:ce,originalEvent:i}),me({sortable:this,name:"sort",toEl:ce,originalEvent:i})),J.active&&((Ee==null||Ee===-1)&&(Ee=yt,Ze=Ft),me({sortable:this,name:"end",toEl:ce,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){ye("nulling",this),se=K=ce=ie=rt=ae=oi=Qe=it=Oe=_t=Ee=Ze=yt=Ft=ft=zt=pe=Zt=J.dragged=J.ghost=J.clone=J.active=null;var i=this.el;wi.forEach(function(t){i.contains(t)&&(t.checked=!0)}),wi.length=Ui=Gi=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":K&&(this._onDragOver(i),au(i));break;case"selectstart":i.preventDefault();break}},toArray:function(){for(var i=[],t,n=this.el.children,m=0,f=n.length,g=this.options;m<f;m++)t=n[m],Ie(t,g.draggable,this.el,!1)&&i.push(t.getAttribute(g.dataIdAttr)||pu(t));return i},sort:function(i,t){var n={},m=this.el;this.toArray().forEach(function(f,g){var c=m.children[g];Ie(c,this.options.draggable,m,!1)&&(n[f]=c)},this),t&&this.captureAnimationState(),i.forEach(function(f){n[f]&&(m.removeChild(n[f]),m.appendChild(n[f]))}),t&&this.animateAll()},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,t){return Ie(i,t||this.options.draggable,this.el,!1)},option:function(i,t){var n=this.options;if(t===void 0)return n[i];var m=Gt.modifyOption(this,i,t);typeof m<"u"?n[i]=m:n[i]=t,i==="group"&&Zo(n)},destroy:function(){ye("destroy",this);var i=this.el;i[Ce]=null,ne(i,"mousedown",this._onTapStart),ne(i,"touchstart",this._onTapStart),ne(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(ne(i,"dragover",this),ne(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),bi.splice(bi.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!Qe){if(ye("hideClone",this),J.eventCanceled)return;ee(ae,"display","none"),this.options.removeCloneOnHide&&ae.parentNode&&ae.parentNode.removeChild(ae),Qe=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(Qe){if(ye("showClone",this),J.eventCanceled)return;K.parentNode==se&&!this.options.group.revertClone?se.insertBefore(ae,K):rt?se.insertBefore(ae,rt):se.appendChild(ae),this.options.group.revertClone&&this.animate(K,ae),ee(ae,"display",""),Qe=!1}}};function au(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Jt(e,i,t,n,m,f,g,c){var o,h=e[Ce],d=h.options.onMove,u;return window.CustomEvent&&!Ye&&!Ut?o=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(o=document.createEvent("Event"),o.initEvent("move",!0,!0)),o.to=i,o.from=e,o.dragged=t,o.draggedRect=n,o.related=m||i,o.relatedRect=f||de(i),o.willInsertAfter=c,o.originalEvent=g,e.dispatchEvent(o),d&&(u=d.call(h,o,g)),u}function qi(e){e.draggable=!1}function lu(){bn=!1}function cu(e,i,t){var n=de(St(t.el,0,t.options,!0)),m=Ko(t.el,t.options,ie),f=10;return i?e.clientX<m.left-f||e.clientY<n.top&&e.clientX<n.right:e.clientY<m.top-f||e.clientY<n.bottom&&e.clientX<n.left}function uu(e,i,t){var n=de(Jn(t.el,t.options.draggable)),m=Ko(t.el,t.options,ie),f=10;return i?e.clientX>m.right+f||e.clientY>n.bottom&&e.clientX>n.left:e.clientY>m.bottom+f||e.clientX>n.right&&e.clientY>n.top}function du(e,i,t,n,m,f,g,c){var o=n?e.clientY:e.clientX,h=n?t.height:t.width,d=n?t.top:t.left,u=n?t.bottom:t.right,l=!1;if(!g){if(c&&si<h*m){if(!Pt&&(zt===1?o>d+h*f/2:o<u-h*f/2)&&(Pt=!0),Pt)l=!0;else if(zt===1?o<d+si:o>u-si)return-zt}else if(o>d+h*(1-m)/2&&o<u-h*(1-m)/2)return hu(i)}return l=l||g,l&&(o<d+h*f/2||o>u-h*f/2)?o>d+h/2?1:-1:0}function hu(e){return ke(K)<ke(e)?1:-1}function pu(e){for(var i=e.tagName+e.className+e.src+e.href+e.textContent,t=i.length,n=0;t--;)n+=i.charCodeAt(t);return n.toString(36)}function fu(e){wi.length=0;for(var i=e.getElementsByTagName("input"),t=i.length;t--;){var n=i[t];n.checked&&wi.push(n)}}function ai(e){return setTimeout(e,0)}function wn(e){return clearTimeout(e)}Ni&&re(document,"touchmove",function(e){(J.active||mt)&&e.cancelable&&e.preventDefault()});J.utils={on:re,off:ne,css:ee,find:jo,is:function(i,t){return!!Ie(i,t,i,!1)},extend:Zc,throttle:Vo,closest:Ie,toggleClass:xe,clone:Go,index:ke,nextTick:ai,cancelNextTick:wn,detectDirection:Yo,getChild:St,expando:Ce};J.get=function(e){return e[Ce]};J.mount=function(){for(var e=arguments.length,i=new Array(e),t=0;t<e;t++)i[t]=arguments[t];i[0].constructor===Array&&(i=i[0]),i.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(J.utils=Be(Be({},J.utils),n.utils)),Gt.mount(n)})};J.create=function(e,i){return new J(e,i)};J.version=qc;var ue=[],Ot,Cn,Sn=!1,Yi,Zi,Ci,It;function gu(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return e.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?re(document,"dragover",this._handleAutoScroll):this.options.supportPointer?re(document,"pointermove",this._handleFallbackAutoScroll):n.touches?re(document,"touchmove",this._handleFallbackAutoScroll):re(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?ne(document,"dragover",this._handleAutoScroll):(ne(document,"pointermove",this._handleFallbackAutoScroll),ne(document,"touchmove",this._handleFallbackAutoScroll),ne(document,"mousemove",this._handleFallbackAutoScroll)),Tr(),li(),Qc()},nulling:function(){Ci=Cn=Ot=Sn=It=Yi=Zi=null,ue.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var m=this,f=(t.touches?t.touches[0]:t).clientX,g=(t.touches?t.touches[0]:t).clientY,c=document.elementFromPoint(f,g);if(Ci=t,n||this.options.forceAutoScrollFallback||Ut||Ye||Dt){Qi(t,this.options,c,n);var o=Xe(c,!0);Sn&&(!It||f!==Yi||g!==Zi)&&(It&&Tr(),It=setInterval(function(){var h=Xe(document.elementFromPoint(f,g),!0);h!==o&&(o=h,li()),Qi(t,m.options,h,n)},10),Yi=f,Zi=g)}else{if(!this.options.bubbleScroll||Xe(c,!0)===Pe()){li();return}Qi(t,this.options,Xe(c,!1),!1)}}},Ke(e,{pluginName:"scroll",initializeByDefault:!0})}function li(){ue.forEach(function(e){clearInterval(e.pid)}),ue=[]}function Tr(){clearInterval(It)}var Qi=Vo(function(e,i,t,n){if(i.scroll){var m=(e.touches?e.touches[0]:e).clientX,f=(e.touches?e.touches[0]:e).clientY,g=i.scrollSensitivity,c=i.scrollSpeed,o=Pe(),h=!1,d;Cn!==t&&(Cn=t,li(),Ot=i.scroll,d=i.scrollFn,Ot===!0&&(Ot=Xe(t,!0)));var u=0,l=Ot;do{var s=l,r=de(s),a=r.top,p=r.bottom,v=r.left,y=r.right,k=r.width,x=r.height,w=void 0,S=void 0,M=s.scrollWidth,L=s.scrollHeight,R=ee(s),$=s.scrollLeft,D=s.scrollTop;s===o?(w=k<M&&(R.overflowX==="auto"||R.overflowX==="scroll"||R.overflowX==="visible"),S=x<L&&(R.overflowY==="auto"||R.overflowY==="scroll"||R.overflowY==="visible")):(w=k<M&&(R.overflowX==="auto"||R.overflowX==="scroll"),S=x<L&&(R.overflowY==="auto"||R.overflowY==="scroll"));var T=w&&(Math.abs(y-m)<=g&&$+k<M)-(Math.abs(v-m)<=g&&!!$),E=S&&(Math.abs(p-f)<=g&&D+x<L)-(Math.abs(a-f)<=g&&!!D);if(!ue[u])for(var C=0;C<=u;C++)ue[C]||(ue[C]={});(ue[u].vx!=T||ue[u].vy!=E||ue[u].el!==s)&&(ue[u].el=s,ue[u].vx=T,ue[u].vy=E,clearInterval(ue[u].pid),(T!=0||E!=0)&&(h=!0,ue[u].pid=setInterval(function(){n&&this.layer===0&&J.active._onTouchMove(Ci);var b=ue[this.layer].vy?ue[this.layer].vy*c:0,A=ue[this.layer].vx?ue[this.layer].vx*c:0;typeof d=="function"&&d.call(J.dragged.parentNode[Ce],A,b,e,Ci,ue[this.layer].el)!=="continue"||Uo(ue[this.layer].el,A,b)}.bind({layer:u}),24))),u++}while(i.bubbleScroll&&l!==o&&(l=Xe(l,!1)));Sn=h}},30),Jo=function(i){var t=i.originalEvent,n=i.putSortable,m=i.dragEl,f=i.activeSortable,g=i.dispatchSortableEvent,c=i.hideGhostForTarget,o=i.unhideGhostForTarget;if(t){var h=n||f;c();var d=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(d.clientX,d.clientY);o(),h&&!h.el.contains(u)&&(g("spill"),this.onSpill({dragEl:m,putSortable:n}))}};function er(){}er.prototype={startIndex:null,dragStart:function(i){var t=i.oldDraggableIndex;this.startIndex=t},onSpill:function(i){var t=i.dragEl,n=i.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var m=St(this.sortable.el,this.startIndex,this.options);m?this.sortable.el.insertBefore(t,m):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:Jo};Ke(er,{pluginName:"revertOnSpill"});function tr(){}tr.prototype={onSpill:function(i){var t=i.dragEl,n=i.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:Jo};Ke(tr,{pluginName:"removeOnSpill"});J.mount(new gu);J.mount(tr,er);var es=e=>Number.isInteger(Number(e)),et=e=>{let i=0,t=e;for(;t?.previousElementSibling;)t=t.previousElementSibling,i++;return i},Si=(e,i,t)=>{const n=t.split("||");return Je(Je(i).map(m=>e.find(f=>{const g=n.find(c=>!!we(f,c));return g&&we(f,g)===m})).filter(Boolean).concat(e))},Fi=(e,i,t)=>{for(let n=0;n<e.length;n++)i.call(t,e[n],n)},ir=(e,i)=>{const t=[];return Fi(e,(n,m)=>t.push(i(n,m))),t},Xi={},ts=e=>{const i={className:"class"};if(Xi[e])return Xi[e];const t=(i[e]||e).replace(/^\d+/,"").replace(/[^a-zA-Z0-9_:-]/g,"");return Xi[e]=t,t},is=e=>e.replace(/\b\w/g,i=>i.toUpperCase()),mu=e=>window.JSON.parse(window.JSON.stringify(e)),vu=(e,i)=>i.filter(t=>!~e.indexOf(t)),Ae={capitalize:is,safeAttrName:ts,forEach:Fi,copyObj:mu,map:ir,subtract:vu,indexOfNode:et,isInt:es,get:we,orderObjectsBy:Si},ge={getStyle:(e,i=!1)=>{let t;return window.getComputedStyle?t=window.getComputedStyle(e,null):e.currentStyle&&(t=e.currentStyle),i?t[i]:t},fadeOut:(e,i=250)=>{const t=1/(i/60);e.style.opacity=1,(function n(){const m=Number(e.style.opacity)-t;m>0?(e.style.opacity=m,window.requestAnimationFrame(n)):e.remove()})()},slideDown:(e,i=250,t=!1)=>{e.style.display="block";const n=ge.getStyle(e),m=Number.parseInt(n.height,10),f=m/(i/60);e.style.height="0px",(function g(){const c=Number.parseFloat(e.style.height),o=c+f;c<m?(e.style.height=`${o}px`,window.requestAnimationFrame(g)):(e.style.height="auto",t&&t(e))})()},slideUp:(e,i=250,t=!1)=>{const n=ge.getStyle(e),m=Number.parseInt(n.height,10),f=n.overflow;e.style.overflow="hidden",e.style.height=`${m}px`;const g=n.minHeight;e.style.minHeight="auto";const c=parseFloat(m/(i/60)).toFixed(2);(function o(){const h=Number.parseInt(e.style.height,10)-c;h>0?(e.style.height=`${h}px`,window.requestAnimationFrame(o)):(e.style.overflow=f,e.style.display="none",e.style.minHeight=g,delete e.style.height,t&&t(e))})()},slideToggle:(e,i=250,t=ge.getStyle(e,"display")==="none")=>{t?ge.slideDown(e,i):ge.slideUp(e,i)}},bt="f-autocomplete",yu=`${bt}-display-field`,nr=`${bt}-list`,$t="highlight-component",xi=`${nr}-item`,bu=(e,i)=>{const t=e.reduce((n,m)=>n+(m===i),0);return t>1?`(${t})`:""},ns=["config.label","config.controlId"],wu=["config.legend","name"],Cu=[...ns,...wu],Ji=e=>ns.reduce((i,t)=>i||e.get(t),null),Mr=e=>Cu.reduce((i,t)=>i||e.get(t),null)||je(e.name),Su=new Map([["condition.source",Ji],["if.condition.source",Ji],["if.condition.target",Ji],["then.condition.target",Mr],["condition.target",Mr]]),rs=({id:e,...i},t)=>{const{name:n,label:m}=i;return n?Su.get(t)(i):m},xu=({selectedId:e,...i})=>(i.value===e&&(i.selected=!0),i),en=e=>(e.classList.contains(xi)||(e=e.parentElement),e),os=({value:e,textLabel:i,htmlLabel:t,componentType:n,depth:m=0},f)=>{const g={tag:"li",children:t,dataset:{value:e,label:i},className:[xi,`${xi}-depth-${m}`,`component-type-${n}`],action:{mousedown:({target:c})=>{c=en(c),f.setValue(c),f.selectOption(c),f.hideList()},mouseover:({target:c})=>{c=en(c),f.removeHighlight(),f.highlightComponent(c)},mouseleave:({target:c})=>{c=en(c),f.removeHighlight()}}};return V.create(g)},Eu=(e,i)=>{const t=e.data.options.map((n,m)=>{const f=`${e.address}.options[${m}]`,g=n.label,c=n.label;return os({value:f,textLabel:g,htmlLabel:c,componentType:"option",depth:1},i)});return V.create({tag:"ul",attrs:{className:[nr,"options-list"]},children:t})},Au=e=>{const i=e.value,t=[],n=oe.flatList();return Object.entries(n).reduce((m,[f,g])=>{const c=rs(g,e.key);if(c){const o=g.name,h={tag:"span",content:` ${je(o)}`,className:"component-type"},d=`${o}.${c}`;t.push(d);const u=bu(t,d),l={tag:"span",content:u,className:"component-label-count"},s=[`${c} `,l,h],r=[c,u].join(" ").trim();if(g.isCheckable){const p=Eu(g,e);s.push(p)}const a=xu({value:f,textLabel:r,htmlLabel:s,componentType:o,selectedId:i});m.push(os(a,e))}return m},[])},ku=class{lastCache=Date.now();optionsCache=null;constructor({key:e,value:i,className:t,onChange:n=mn}){this.key=e,this.className=[t||this.key.replace(/\./g,"-")].flat(),this.value=i,this.onChange=n||mn,this.events=[],this.build()}createProxy(){return new Proxy(this,{get(e,i){if(i in e)return e[i];if(i in e.dom){const t=e.dom[i];return typeof t=="function"?t.bind(e.dom):t}},set(e,i,t){return i in e?e[i]=t:e.dom[i]=t,!0}})}get isAddress(){return Te(this.value)}get valueComponent(){return Te(this.value)&&oe.getAddress(this.value)}build(){const e=t=>{const n=this.list,m=this.getActiveOption();let f=new Map([[38,()=>{const g=this.getPreviousOption(m);g&&this.selectOption(g)}],[40,()=>{const g=this.getNextOption(m);g&&this.selectOption(g)}],[13,()=>{m&&(this.selectOption(m),this.setValue(m),n.style.display==="none"?this.showList(m):this.hideList()),t.preventDefault()}],[27,()=>{this.hideList()}]]).get(t.keyCode);return f||(f=()=>!1),f()},i={focus:({target:t})=>{this.updateOptions(),t.parentElement.classList.add(`${bt}-focused`);const n=V.toggleElementsByStr(this.list.querySelectorAll(`.${xi}-depth-0`),t.value);t.addEventListener("keydown",e);const m=this.list.querySelector(".active-option")||n[0];this.showList(m)},blur:({target:t})=>{t.parentElement.classList.remove(`${bt}-focused`),t.removeEventListener("keydown",e),this.hideList()},input:t=>{const{value:n}=t.target,m=V.toggleElementsByStr(this.list.querySelectorAll("li"),n);if(n.length===0&&this.clearValue(),m.length===0)this.hideList();else{const f=this.getActiveOption()||m[0];this.showList(f)}this.setValue({dataset:{label:n,value:n}})}};return this.displayField=V.create({tag:"input",autocomplete:"off",action:i,attrs:{type:"text",className:yu,value:this.label||this.value,placeholder:Z.get(`${this.key}.placeholder`)}}),this.hiddenField=V.create({tag:"input",attrs:{type:"hidden",className:bt,value:this.value}}),this.list=V.create({tag:"ul",attrs:{className:nr}}),this.clearButton=V.create({tag:"span",content:V.icon("remove"),className:"clear-button hidden",action:{click:()=>this.clearValue()}}),this.dom=V.create({children:[this.displayField,this.clearButton,this.hiddenField],className:[bt,this.className].flat(),action:{onRender:t=>{this.stage=t.closest(".formeo-stage"),this.value&&(this.displayField.value=this.label),this.clearButton.classList.toggle("hidden",!this.value.length)}}}),this.dom}get label(){if(!Te(this.value))return this.value;const e=this.value&&oe.getAddress(this.value);return e&&rs(e,`${this.key}`)||this.value}updateOptions(){let e=this.optionsCache;const i=Date.now();(i-this.lastCache>Hn*5||!e)&&(V.empty(this.list),e=this.generateOptions(),this.lastCache=i),this.list.children.length||this.list.append(...e)}generateOptions(){return this.optionsCache=Au(this),this.optionsCache}setListPosition(){const{offsetHeight:e,offsetWidth:i}=this.displayField,t=this.displayField.closest(".formeo-stage").getBoundingClientRect(),n=this.displayField.getBoundingClientRect(),m={position:"absolute",top:`${n.y+e-t.y}px`,left:`${n.x+window.scrollX-t.x+2}px`,width:`${i}px`};Object.assign(this.list.style,m)}showList(e,i=this.list){this.stage.contains(this.list)||this.stage.appendChild(this.list),this.setListPosition(),this.selectOption(e),ge.slideDown(i,at)}hideList(e=this.list){ge.slideUp(e,at),this.removeHighlight(),this.stage.contains(this.list)&&this.stage.removeChild(this.list)}getActiveOption(e=this.list){const i=e.querySelector(".active-option");return i?.style.display!=="none"?i:null}getPreviousOption(e){let i=e;do i=i?i.previousSibling:null;while(i!=null&&i.style.display==="none");return i}getNextOption(e){let i=e;do i=i?i.nextSibling:null;while(i!=null&&i.style.display==="none");return i}selectOption(e,i=this.list){const t=i.querySelectorAll("li");for(const n of t){const{dataset:{value:m}}=n;n.classList.remove("active-option"),Te(m)&&oe.getAddress(m)?.dom?.classList.remove($t)}e&&(e.classList.add("active-option"),this.highlightComponent(e))}removeHighlight(){const e=document.getElementsByClassName($t);for(const i of e)i.classList.remove($t)}highlightComponent(e){const{dataset:{value:i}}=e;if(Te(i)){const{componentAddress:t,isOptionAddress:n,optionIndex:m}=lt(i).reduce((g,c)=>c==="options"?(g.isOptionAddress=!0,g):g.isOptionAddress?(g.optionIndex=+c,g):(g.componentAddress.push(c),g),{componentAddress:[],optionIndex:null,isOptionAddress:!1}),f=oe.getAddress(t);f?.dom&&(f.dom.classList.add($t),n&&f.dom.querySelectorAll(".field-preview .f-checkbox, .field-preview .f-radio")[m]?.classList.add($t))}}clearValue(){this.selectOption(null),this.setValue({dataset:{label:"",value:""}}),this.displayField.focus()}setValue(e){const{label:i,value:t}=e.dataset;this.displayField.value=i,this.hiddenField.value=t,this.value=t,this.clearButton.classList.toggle("hidden",!t.length),this.onChange?.({target:this.hiddenField})}},ss=e=>Z.get(`${e}.placeholder`)||je(mi(e)),rr=e=>e.replaceAll(".","-"),$r=new Map([["config.helpText",(...e)=>Lr(...e)],["config.tooltip",(...e)=>Lr(...e)]]);function tn({key:e,value:i,type:t="text",checked:n}){const m={tag:"input",attrs:{type:t,value:i,placeholder:ss(e)},className:[rr(e)],config:{}};return n&&(m.attrs.checked=!0),m}function Lr({key:e,value:i}){return{tag:"textarea",attrs:{placeholder:ss(e)},className:[rr(e)],config:{},textContent:i}}function ze(e){const i=Z.get(e);if(i)return i;const t=mi(e);return Z.get(t)||je(t)}var xt={autocomplete:(...e)=>new ku(...e).createProxy(),string:({key:e,value:i})=>$r.has(e)?$r.get(e)({key:e,value:i}):tn({key:e,value:i}),boolean:({key:e,value:i})=>tn({key:e,value:i,type:e==="selected"?"radio":"checkbox",checked:!!i}),number:({key:e,value:i})=>tn({key:e,value:i,type:"number"}),array:({key:e,value:i})=>({tag:"select",attrs:{placeholder:ze(`placeholder.${e}`)},className:[rr(e)],options:i}),object:e=>Object.entries(e).map(([i,t])=>xt[V.childType(t)]({key:i,value:t}))},Tu={boolean:(e,i)=>({click:({target:t})=>{if(t.type==="radio"){const n=i.data.options.map(m=>({...m,selected:!1}));i.set("options",n)}i.set(e,t.checked),i.updatePreview()}}),string:(e,i)=>({input:({target:{value:t}})=>{i.set(e,t),i.debouncedUpdatePreview()}}),number:(e,i)=>({input:({target:{value:t}})=>{i.set(e,Number(t)),i.debouncedUpdatePreview()}}),array:(e,i)=>({change:({target:{value:t}})=>{i.set(e,t),i.debouncedUpdatePreview()}}),object:()=>({})},as="hidden-property",Mu="hidden-option",nn=/\.options\[\d+\]$/,$u={"if-sourceProperty":ri(ni,gr,mr),"if-targetProperty":ri(ni),"then-targetProperty":ri(ni,gr,mr),...Object.entries(zl).reduce((e,[i,t])=>(e[`if-${i}`]=t,e[`then-${i}`]=t,e),{})},ls={assignment:Lt,comparison:Lt,logical:Lt,source:({key:e,value:i,onChange:t,conditionType:n})=>xt.autocomplete({key:`${n}.condition.${e}`,value:i,onChange:t,className:`condition-${e}`}),sourceProperty:Lt,targetProperty:Lt,target:e=>ls.source(e),value:({key:e,value:i,onChange:t},n)=>{const m=xt.string({key:`condition.${e}`,value:i});return m.action={input:t},m}};function Lu({key:e,value:i,conditionType:t}){return Object.entries($u[`${t}-${e}`]||{}).map(([n,m])=>Ru({fieldName:e,fieldValue:i,key:n,optionValue:m}))}function Ru({fieldName:e,fieldValue:i,key:t,optionValue:n}){return{label:Z.get(`${e}.${t}`)||je(t).toLowerCase(),value:n,selected:n===i}}function Lt({key:e,value:i,onChange:t,conditionType:n}){const m=Lu({key:e,value:i,conditionType:n}),f=xt.array({key:`condition.${e}`,value:m});return f.action={change:t},f}var _u=e=>!e?.classList.contains(as),Ou={sourceProperty:e=>{const i=e.get("source"),t=e.get("sourceProperty"),n=!!i.value;return _r(!!i.value.match(nn),t),!n},comparison:e=>{const i=e.get("source"),t=e.get("sourceProperty"),n=!!i.value,m=!!i.value.match(nn);return!n||m||t.value!=="value"},assignment:e=>{const i=e.get("target"),t=e.get("targetProperty");return!i.value||t.value.startsWith("is")},targetProperty:e=>{const i=e.get("target"),t=e.get("targetProperty");return _r(!!i.value.match(nn),t),!Gl(i.value)},target:e=>{const i=e.get("source"),t=e.get("sourceProperty"),n=!!i?.value;return t&&!n?!0:t&&t?.value!=="value"},value:e=>{const i=e.get("target"),t=e.get("targetProperty");return t===void 0?!1:i&&!i.value||!_u(e.get("comparison"))||t.value===cs?!0:t.value.startsWith("is")}},Rr=e=>{for(const[i,t]of e){const n=!!Ou[i]?.(e)||!1;t.classList.toggle(as,n)}},cs="isChecked",rn=e=>e.value.endsWith("Checked"),_r=(e,i)=>{if(e&&rn(i))return null;const t=Array.from(i.querySelectorAll("option")),n=[];for(const m of t){const f=rn(m),g=e?!f:f;g&&n.push(m.value),m.classList.toggle(Mu,g)}n.includes(i.value)&&(i.value=e?cs:t.find(m=>!rn(m))?.value||i.value)};function Iu(e,i=Fl){return i.reduce((t,n)=>(e[n]!==void 0&&t.push([n,e[n]]),t),[])}var Du=class{constructor({conditionValues:e,conditionType:i,conditionCount:t,index:n},m){this.values=new Map(Iu(e)),this.conditionType=i,this.parent=m,this.baseAddress=`${m.address}.${i}`,this.fields=new Map,this.conditionCount=t,this.index=n,this.dom=this.generateDom()}setConditionIndex(e){this.index=e}get address(){return`${this.baseAddress}[${this.index}]`}destroy(){const e=oe.getAddress(this.baseAddress);e.splice(this.index,1),oe.setAddress(this.baseAddress,e),ge.slideUp(this.dom,at,()=>{this.dom.remove()})}label(){return this.index?null:{tag:"label",className:`condition-label ${this.conditionType}-condition-label`,content:Z.get(`condition.type.${this.conditionType}`)}}generateDom(){const e=[];for(const[t,n]of this.values){const m=o=>this.onChangeCondition({key:t,target:o.target}),f={key:t,value:n,conditionType:this.conditionType,onChange:m},g=ls[t](f,this.values),c=g.dom||V.create(g);this.fields.set(t,g.dom?g:c),e.push(c)}const i={children:[this.label(),...e,...this.generateConditionTypeActionButtons()],className:`f-condition-row ${this.conditionType}-condition-row display-none`,action:{onRender:t=>{this.processUiState()}}};return V.create(i)}generateConditionTypeActionButtons(){const e=[],i="manage-condition-type",t=f=>`${f}-condition-type`,n=V.btnTemplate({title:Z.get(`remove${this.conditionType}Condition`),className:[i,t("remove")],content:V.icon("minus"),action:{click:()=>this.destroy(),mouseover:f=>{this.dom.classList.add("to-remove")},mouseout:f=>{this.dom.classList.remove("to-remove")}}});e.push(n);const m=V.btnTemplate({title:Z.get(`add${this.conditionType}Condition`),className:[i,t("add")],content:V.icon("plus"),action:{click:()=>{const f=this.parent.addConditionType(this.conditionType),g={changedProperty:null,dataPath:f.address,value:f.value,src:f.dom};this.updateDataDebounced(g)}}});return e.push(m),e}get value(){return Array.from(this.fields).reduce((e,[i,t])=>(e[i]=t.value,e),{})}processUiState(){Rr(this.fields),this.dom.classList.remove("display-none")}updateDataDebounced=gi(e=>{Q.formeoUpdated(e),oe.setAddress(e.dataPath,e.value)});onChangeCondition=({key:e,target:i})=>{const t={changedProperty:e,dataPath:this.address,value:this.value,src:i};Rr(this.fields),this.updateDataDebounced(t)}},Nu=new Map([["attrs",({itemKey:e})=>e],["options",({itemKey:e,key:i})=>`${e}.${i}`]]),us=(e,i)=>{if(i.controlId==="select"){const t=i.editPanels.get("options"),[n,m]=e?fi:Bl,f=t.data.map(({[n]:g,...c})=>({[m]:g,...c}));t.setData(f)}},Fu=new Map([["attrs-multiple",e=>({change:({target:i})=>{e.field.controlId==="select"&&us(i.checked,e.field)}})]]),Rt=class{constructor({key:e,index:i,field:t,panel:n,data:m}){this.field=t,this.itemKey=e,this.itemIndex=i,this.panel=n,this.panelName=n.name,this.isDisabled=t.isDisabledProp(e,this.panelName),this.isHidden=this.isDisabled&&t.config.panels[this.panelName].hideDisabled,this.isLocked=t.isLockedProp(e,this.panelName),this.address=`${t.indexName}.${t.id}.${e}`,this.itemSlug=yr(e),this.conditionTypeWrap=new Map,m!==void 0&&this.field.get(this.itemKey)===void 0&&this.field.set(this.itemKey,m);const f=[`field-${this.itemSlug}`,"prop-wrap"];this.isHidden&&f.push("hidden-property"),this.dom=V.create({tag:"li",className:f,children:{className:"component-prop",children:[this.itemInputs(),this.itemControls]}})}get itemValues(){const e=this.field.get(this.itemKey);return e?.constructor===Object?Si(Object.entries(e),fi,"0"):[[this.itemKey,e]]}findOrCreateConditionTypeWrap(e){let i=this.conditionTypeWrap.get(e);return i||(i=V.create({className:`type-conditions-wrap ${e}-conditions-wrap`}),this.conditionTypeWrap.set(e,i),i)}itemInputs(){const e=V.create({className:`${this.panelName}-prop-inputs prop-inputs f-input-group`,children:this.itemValues.map(([i,t])=>this.panelName==="conditions"?this.generateConditionFields(i,t):this.itemInput(i,t))});return this.inputs&&this.inputs.replaceWith(e),this.inputs=e,e}addConditionType=(e,i)=>{const t=this.findOrCreateConditionTypeWrap(e);let n=i;if(!n){const[f]=qn()[e],g=t.children.length;e==="if"&&(f.logical="||"),n={conditionValues:f,conditionCount:g,index:g}}const m=new Du({conditionType:e,...n},this);return t.appendChild(m.dom),m};removeConditionType=(e,i)=>{const t=this.conditionTypeWrap.get(e).children[i];t.destroy(),t.dom.remove()};generateConditionFields=(e,i)=>(this.conditions=new Map,i.forEach((t,n)=>{const m=this.addConditionType(e,{index:n,conditionCount:i.length,conditionValues:t});this.conditions.set(n,m)}),this.findOrCreateConditionTypeWrap(e));removeItem=()=>{this.field.remove(this.itemKey),this.dom.remove(),this.panel.updateProps(),this.field.debouncedUpdatePreview?.()};get itemControls(){if(this.isLocked)return{className:`${this.panelName}-prop-controls prop-controls`,content:[]};const e={tag:"button",attrs:{type:"button",className:"prop-remove prop-control"},action:{click:()=>{ge.slideUp(this.dom,333,this.removeItem)},mouseover:t=>{this.dom.classList.add("to-remove")},mouseout:t=>{this.dom.classList.remove("to-remove")}},content:V.icon("remove")},i=this.panelName==="options"&&{tag:"button",attrs:{type:"button",className:"prop-order prop-control",title:Z.get("reorderOption")||"Drag to reorder","aria-label":Z.get("reorderOption")||"Drag to reorder"},content:V.icon("move-vertical")};return{className:`${this.panelName}-prop-controls prop-controls`,content:[e,i].filter(Boolean)}}getConfigAttrOptions(e){const i=e.split(".").pop(),t=this.field.config?.attrs?.[i];return Array.isArray(t)?t:null}itemInput(e,i){if(this.isDisabled)return null;let t=V.childType(i)||"string",n=i;if(this.panelName==="attrs"){const s=this.getConfigAttrOptions(e);s&&(n=s.map(r=>({...r,selected:r.value===i})),t="array")}const m=Nu.get(this.panelName)?.({itemKey:this.itemKey,key:e})||this.itemKey,f=m.split(".").filter(Number.isNaN).join(".")||e,g=xt[t]({key:e,value:n}),c=`${this.field.shortId}-${yr(m).replaceAll(/-\d+-(selected)/g,"-$1")}`,o={label:this.panelName!=="options"&&ze(f),labelAfter:!1,inputWrap:["f-input-wrap",this.isLocked&&"locked-prop",this.isDisabled&&"disabled-prop"].filter(Boolean).join(" ")},h={name:g.attrs.type==="checkbox"?`${c}[]`:c};h.disabled=this.isDisabled,h.readonly=this.isLocked;const d=Fu.get(this.itemSlug)?.(this),u=gc(Tu[t](m,this.field),d||{}),l=De(xt[t]({key:e,value:n}),{action:u,attrs:h,config:o});return fi.includes(e)?{className:"f-addon",children:l}:l}},zu={multiple:(e,i)=>{us(!!e,i)}},Pu=[{label:ze("config.label"),value:"label"},{label:ze("config.hideLabel"),value:"hideLabel"},{label:ze("config.helpText"),value:"helpText"},{label:ze("config.labelAfter"),value:"labelAfter"},{label:ze("config.disableHtmlLabel"),value:"disableHtmlLabel"},{label:ze("config.tooltip"),value:"tooltip"}],Hu={label:"New Field",hideLabel:!1,helpText:"",labelAfter:!1,disableHtmlLabel:!1,tooltip:""},Bu=class{constructor(e,i,t){this.type=V.childType(e),this.name=i,this.component=t,this.panelConfig=this.getPanelConfig(this.data)}get data(){const e=this.component.get(this.name);return this.type==="object"?Object.entries(e):e}getPanelConfig(e){return this.props=this.createProps(e),this.editButtons=this.createEditButtons(),{config:{label:Z.get(`panel.label.${this.name}`)},attrs:{className:`${wo} ${this.name}-panel`},children:[this.props,this.editButtons]}}createProps(e=this.data){this.editPanelItems=Array.from(e).map((n,m)=>{const f=this.type==="array",g=n[0],c=f?`[${m}]`:`.${n[0]}`,o=f?n:{[n[0]]:n[1]},h=`${this.name}${c}`,d=this.component.isDisabledProp(h,this.name),u=Wl.get(this.name)?.has(g)??!0;return d||!u?null:new Rt({key:h,data:o,field:this.component,index:m,panel:this})}).filter(Boolean);const i={tag:"ul",attrs:{className:["edit-group",`${this.component.name}-edit-group`,`${this.component.name}-edit-${this.name}`]},content:this.editPanelItems},t=V.create(i);return this.name==="options"&&(this.sortable?.destroy(),this.sortable=J.create(t,{animation:150,handle:".prop-order",draggable:".prop-wrap",forceFallback:!0,onEnd:({oldIndex:n,newIndex:m})=>window.requestAnimationFrame(()=>this.moveOption(n,m))})),t}updateProps(){const e=this.createProps();this.props.replaceWith(e),this.props=e}moveOption=(e,i)=>{const t=this.component.get("options");if(!Array.isArray(t)||!Number.isInteger(e)||!Number.isInteger(i)||e===i||e<0||e>=t.length||i<0||i>=t.length)return;const n=[...t],[m]=n.splice(e,1);n.splice(i,0,m),this.component.set("options",n),this.updateProps(),this.component.debouncedUpdatePreview?.()};createEditButtons(){const e=this.name,i={attrs:this.addAttribute,options:this.addOption,conditions:this.addCondition,config:this.addConfiguration},t=[];if(e==="conditions"){Z.current&&!Z.current.clearAll&&Z.put("clearAll","Clear All");const f={...V.btnTemplate({content:[V.icon("bin"),Z.get("clearAll")],title:Z.get("clearAll")}),className:`clear-all-${e}`,action:{click:()=>{this.clearAllItems()}}};t.push(f)}const n=Z.get(`panelEditButtons.${e}`)||`+ Add ${je(e)}`,m={...V.btnTemplate({content:n,title:n}),className:`add-${e}`,action:{click:f=>{const g={btnCoords:V.coords(f.target),addAction:i[e]};e==="attrs"&&(g.isDisabled=this.component.isDisabledProp,g.isLocked=this.component.isLockedProp,g.message={attr:Z.get(`action.add.${e}.attr`),value:Z.get(`action.add.${e}.value`)});const c=je(e),o=new globalThis.CustomEvent(`onAdd${c}`,{detail:g});ve.add[e](g),document.dispatchEvent(o)}}};return t.push(m),{className:"panel-action-buttons",content:t}}addAttribute=(e,i)=>{let t=i;const n=ts(e),m=`attrs.${n}`;Z.current[m]||Z.put(m,is(e)),typeof t=="string"&&["true","false"].includes(t)&&(t=JSON.parse(t)),this.component.set(`attrs.${e}`,t),zu[n]?.(t,this.component);const f=`${this.component.name}-attrs-${n}`,g=Array.from(this.props.children).find(o=>o.classList.contains(f)),c=new Rt({key:m,data:{[n]:t},field:this.component,panel:this});g?g.replaceWith(c.dom):this.props.appendChild(c.dom),this.component.resizePanelWrap()};addOption=()=>{const e=this.component.data.config.controlId,i=this.component.get("options"),t=e==="select"?"option":e,n=Z.get("newOptionLabel",{type:t})||"New Option",m=`${this.name}[${this.data.length}]`,f=i[i.length-1],g={...i.length?f:{},label:n};e!=="button"&&(g.value=No(n));const c=new Rt({key:m,data:g,field:this.component,index:this.props.children.length,panel:this});this.editPanelItems.push(c),this.props.appendChild(c.dom),this.component.debouncedUpdatePreview(),this.component.resizePanelWrap()};addCondition=e=>{const i=`conditions[${this.component.get("conditions").length}]`,t=new Rt({key:i,data:e.template,field:this.component,panel:this});this.props.appendChild(t.dom),this.component.set(i,e.template),this.component.resizePanelWrap()};addConfiguration=()=>{const e=this.component.get("config");new Ss({className:"config-item-dialog",content:[{tag:"select",config:{label:Z.get("selectConfigKey")||"Select Configuration Key"},attrs:{name:"selectConfigKey",required:!0,className:"config-key-select"},options:Pu.filter(i=>!(i.value in e))}],onConfirm:i=>{const t=i.get("selectConfigKey").trim(),n=`config.${t}`;if(t){const m=new Rt({key:n,data:Hu[t],field:this.component,panel:this});this.editPanelItems.push(m),this.props.appendChild(m.dom),this.component.debouncedUpdatePreview(),this.component.resizePanelWrap()}}}).open()};clearAllItems=()=>{const e=this.type==="array"?[]:{},i={type:this.name,removeAction:()=>{this.component.set(this.name,e),this.updateProps()}};ve.remove[this.name](i);const t=je(this.name),n=new globalThis.CustomEvent(`onRemove${t}`,{detail:i});document.dispatchEvent(n)};setData(e){this.component.set(this.name,e),this.updateProps()}},Or=Object.freeze({type:"field",displayType:"slider"}),ei=e=>({transform:`translateX(${e?`${e}px`:0})`}),ds=class{constructor(e){this.opts=De(Or,e),this.panelDisplay=this.opts.displayType,this.activePanelIndex=0,this.panelNav=this.createPanelNav();const i=this.createPanelsWrap();this.nav=this.navActions(),this.nav.groupChange(this.activePanelIndex);const t=new window.ResizeObserver(([{contentRect:{width:m}}])=>{this.currentWidth!==m&&(this.toggleTabbedLayout(),this.currentWidth=m,this.nav.setTranslateX(this.activePanelIndex,!1))}),n=window.setTimeout(()=>{t.observe(i),window.clearTimeout(n)},Hn)}getPanelDisplay(){const e=this.panelsWrap,i=Number.parseInt(V.getStyle(e,"width"),10)>390?"tabbed":"slider",t=this.opts.displayType==="auto";return this.panelDisplay=t?i:this.opts.displayType||Or.displayType,this.panelDisplay}toggleTabbedLayout=()=>{this.getPanelDisplay();const e=this.isTabbed;return this.panelsWrap.parentElement?.classList.toggle("tabbed-panels",e),e&&this.panelNav.removeAttribute("style"),e};resizePanels=()=>{this.toggleTabbedLayout()};createPanelsWrap(){const e=V.create({className:"panels",content:this.opts.panels.map(({config:i,...t})=>t)});return this.panelsWrap=e,this.panels=e.children,this.currentPanel=this.panels[this.activePanelIndex],e}createPanelNavLabels(){const e=this.opts.panels.map(n=>({tag:"h5",action:{click:m=>{const f=et(m.target);this.nav.setTranslateX(f,!1),this.nav.groupChange(f)}},content:n.config.label})),i={className:"panel-labels",content:{content:e}},[t]=e;return t.className="active-tab",V.create(i)}createPanelNav(){this.labels=this.createPanelNavLabels();const e={tag:"button",attrs:{className:"next-group",title:Z.get("controlGroups.nextGroup"),type:"button"},action:{click:t=>this.nav.nextGroup(t)},content:V.icon("triangle-right")},i={tag:"button",attrs:{className:"prev-group",title:Z.get("controlGroups.prevGroup"),type:"button"},action:{click:t=>this.nav.prevGroup(t)},content:V.icon("triangle-left")};return V.create({tag:"nav",attrs:{className:"panel-nav"},content:[i,this.labels,e]})}get isTabbed(){return this.panelDisplay==="tabbed"}navActions(){const e={},i=this.currentPanel.parentElement,t=this.labels.firstChild,n=t.children,m=this.currentPanel.parentElement.childNodes;this.activePanelIndex=et(this.currentPanel);let f={nav:0,panel:0},g={...f};e.groupChange=h=>(this.activePanelIndex=h,this.currentPanel=m[h],V.removeClasses(m,"active-panel"),V.removeClasses(n,"active-tab"),this.currentPanel.classList.add("active-panel"),n[h].classList.add("active-tab"),this.currentPanel);const c=h=>({nav:-t.offsetWidth*h,panel:-i.offsetWidth*h}),o=({offset:h,reset:d,duration:u=at,animate:l=!this.isTabbed})=>{const s=[ei(g.panel),ei(h.panel)],r=[ei(g.nav),ei(this.isTabbed?0:h.nav)];if(d){const[y]=s,[k]=r;s.push(y),r.push(k)}const a={easing:"ease-in-out",duration:l?u:0,fill:"forwards"},p=i.animate(s,a);t.animate(r,a);const v=()=>{p.removeEventListener("finish",v),d||(g=h)};p.addEventListener("finish",v)};return e.setTranslateX=(h=this.activePanelIndex,d=!0)=>{f=c(h),o({offset:f,animate:d})},e.refresh=(h=this.activePanelIndex)=>{this.activePanelIndex!==h&&e.groupChange(h),e.setTranslateX(this.activePanelIndex,!1),this.resizePanels()},e.nextGroup=()=>{const h=this.activePanelIndex+1;if(h!==m.length){const d=m[h];f={nav:-t.offsetWidth*h,panel:-d.offsetLeft},o({offset:f}),e.groupChange(h)}else f={nav:g.nav-8,panel:g.panel-8},o({offset:f,reset:!0});return this.currentPanel},e.prevGroup=()=>{if(this.activePanelIndex!==0){const h=this.activePanelIndex-1,d=m[h];f={nav:-t.offsetWidth*h,panel:-d.offsetLeft},o({offset:f}),e.groupChange(h)}else f={nav:8,panel:8},o({offset:f,reset:!0})},e}},Wu="modulepreload",ju=function(e){return"/formeo/"+e},Ir={},vt=function(i,t,n){let m=Promise.resolve();if(t&&t.length>0){let h=function(d){return Promise.all(d.map(u=>Promise.resolve(u).then(l=>({status:"fulfilled",value:l}),l=>({status:"rejected",reason:l}))))};const g=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),o=c?.nonce||c?.getAttribute("nonce");m=h(t.map(d=>{if(d=ju(d,n),d in Ir)return;Ir[d]=!0;const u=d.endsWith(".css"),l=u?'[rel="stylesheet"]':"";if(n)for(let r=g.length-1;r>=0;r--){const a=g[r];if(a.href===d&&(!u||a.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${l}`))return;const s=document.createElement("link");if(s.rel=u?"stylesheet":Wu,u||(s.as="script"),s.crossOrigin="",s.href=d,o&&s.setAttribute("nonce",o),document.head.appendChild(s),u)return new Promise((r,a)=>{s.addEventListener("load",r),s.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${d}`)))})}))}function f(g){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=g,window.dispatchEvent(c),!c.defaultPrevented)throw g}return m.then(g=>{for(const c of g||[])c.status==="rejected"&&f(c.reason);return i().catch(f)})},on=null,sn=ri(ni),zi=class extends Qn{constructor(e,i={}){const t={...i,id:i.id||Me()};super(e,t),this.id=t.id,this.shortId=this.id.slice(0,this.id.indexOf("-")),this.name=e,this.indexName=`${e}s`,this.config={...t.config,...oe[`${this.name}s`].config},this.address=`${this.name}s.${this.id}`,this.dataPath=`${this.address}.`,this.editPanels=new Map,this.eventListeners=new Map,this.initEventHandlers()}initEventHandlers(){this.config.events&&Object.entries(this.config.events).forEach(([e,i])=>{this.addEventListener(e,i)})}addEventListener(e,i){this.eventListeners.has(e)||this.eventListeners.set(e,[]),this.eventListeners.get(e).push(i)}removeEventListener(e,i){if(!this.eventListeners?.has(e))return;const t=this.eventListeners.get(e),n=t.indexOf(i);n>-1&&t.splice(n,1)}dispatchComponentEvent(e,i={}){const t={component:this,target:this,type:e,timestamp:Date.now(),...i};return this.eventListeners?.has(e)&&this.eventListeners.get(e).forEach(n=>{try{typeof n=="function"&&n(t)}catch(m){console.error(`Error in ${e} event handler for ${this.name} ${this.id}:`,m)}}),t}set(e,i){const t=this.get(e),n=super.set(e,i);return t!==i&&this.dom&&this.dispatchComponentEvent("onUpdate",{path:e,oldValue:t,newValue:i}),n}get js(){return this.data}get json(){return this.data}remove=e=>{if(e){const c=lt(e),o=c.pop(),h=this.get(c),d=h?.[o];return Array.isArray(h)?es(o)?(h.splice(Number(o),1),this.dispatchRemovedPath(e,d)):this.set(c,h.filter(u=>u!==o)):(delete h[o],this.dispatchRemovedPath(e,d)),h}if(this.name==="stage")return null;const i=this.parent,t=this.children,n=`${i.name}s.${i.id}.children`,m=[...oe.getAddress(n)||[]];this.dispatchComponentEvent("onRemove",{path:e,parent:i,children:[...t]}),Fi(t,c=>c.remove()),this.dom.remove(),Ul(oe.getAddress(n),this.id),i.children.length||i.emptyClass(),i.name==="row"&&i.autoColumnWidths();const f={row:Un,column:Gn,field:Kn}[this.name];f&&Q.formeoUpdated({componentId:this.id,componentType:this.name,parent:i},f);const g=oe[`${this.name}s`].delete(this.id);return Q.formeoUpdated({entity:this,componentId:this.id,componentType:this.name,dataPath:`${i.name}s.${i.id}`,changePath:n,value:[...oe.getAddress(n)||[]],previousValue:m,changeType:"removed"}),g};dispatchRemovedPath=(e,i)=>{const t=Array.isArray(e)?e.join("."):e;Q.formeoUpdated({entity:this,dataPath:this.address,changePath:`${this.address}.${t}`,value:void 0,previousValue:i,changeType:"removed",data:this.data})};empty(){const e=this.children.map(i=>(i.remove(),i));return this.dom.classList.add("empty"),e}emptyClass=()=>this.dom.classList.toggle("empty",!this.children.length);getActionButtons(){const e=[`hovering-${this.name}`,"hovering"];return{className:[`${this.name}-actions`,"group-actions"],action:{mouseenter:()=>{oe.stages.active.dom.classList.add(`active-hover-${this.name}`),this.dom.classList.add(...e)},mouseleave:({target:i})=>{this.dom.classList.remove(...e),oe.stages.active.dom.classList.remove(`active-hover-${this.name}`),i.removeAttribute("style")}},children:[{...V.btnTemplate({content:V.icon(`handle-${this.name}`)}),className:["component-handle",`${this.name}-handle`]},{className:["action-btn-wrap",`${this.name}-action-btn-wrap`],children:this.buttons}]}}getComponentTag=()=>V.create({tag:"span",className:["component-tag",`${this.name}-tag`],children:[V.icon(`handle-${this.name}`),je(this.name)].filter(Boolean)});toggleEdit(e=!this.isEditing){this.isEditing=e;const i=this.dom,t="editing",n=`${t}-${this.name}`,m=this.dom.querySelector(`.${this.name}-edit`);ge.slideToggle(m,333,e),this.name==="field"&&(ge.slideToggle(this.preview,333,!e),i.parentElement.classList.toggle(`column-${n}`,e)),i.classList.toggle(t,e),i.classList.toggle(n,e)}get buttons(){if(this.actionButtons)return this.actionButtons;const e={handle:(m=`handle-${this.name}`)=>({...V.btnTemplate({content:V.icon(m)}),className:["component-handle"]}),move:(m="move")=>({...V.btnTemplate({content:V.icon(m)}),className:["item-move"],meta:{id:"move"}}),edit:(m="edit")=>({...V.btnTemplate({content:V.icon(m)}),className:["edit-toggle"],meta:{id:"edit"},action:{click:()=>{this.toggleEdit()}}}),remove:(m="remove")=>({...V.btnTemplate({content:V.icon(m)}),className:["item-remove"],meta:{id:"remove"},action:{click:()=>{ge.slideUp(this.dom,333,()=>{this.name==="column"?(this.parent.autoColumnWidths(),this.remove()):this.remove()})}}}),clone:(m="copy")=>({...V.btnTemplate({content:V.icon(m)}),className:["item-clone"],meta:{id:"clone"},action:{click:()=>{this.clone(this.parent),this.name==="column"&&this.parent.autoColumnWidths()}}})},{buttons:i,disabled:t}=this.config.actionButtons,n=i.filter(m=>!t.includes(m)).map(m=>e[m]?.()||m);return this.actionButtons=n,this.actionButtons}get index(){return et(this.dom)}removeClasses=e=>{const i={string:()=>this.dom.classList.remove(e),array:()=>e.map(t=>this.dom.classList.remove(t))};return i.object=i.string,i[V.childType(e)](this.dom)};get parentType(){return Ll.get(this.name)}get parent(){const e=this.parentType;if(!this.dom||!e)return null;const i=this.dom.closest(`.${zn[e]}`);return i&&V.asComponent(i)}get children(){if(!this.dom)return[];const e=this.domChildren,i=pr.get(this.name);return ir(e,t=>oe.getAddress(`${i}s.${t.id}`)).filter(Boolean)}loadChildren=(e=this.data.children)=>e.map(i=>this.addChild({id:i}));get domChildren(){const e=this.dom.querySelector(".children");return e?e.children:[]}addChild(e={},i=this.domChildren.length){let t=e;typeof e!="object"&&(t={id:t});const n=this.dom.querySelector(".children"),{id:m=Me()}=t,f=pr.get(this.name);if(!f)return null;const g=`${f}s`,c=oe.getAddress(`${g}.${m}`)||oe[g].add(m,t);i>=n.children.length?n.appendChild(c.dom):n.children[i].before(c.dom),this.dispatchComponentEvent("onAddChild",{parent:this,target:c,child:c,index:i}),c.dispatchComponentEvent("onAdd",{parent:this,target:c,index:i,addedVia:"addChild"}),this.config.events?.onAddChild?.({parent:this,child:c});const o=c.get("children");return o?.length&&c.loadChildren(o),this.removeClasses("empty"),this.saveChildOrder(),c}saveChildOrder=()=>{if(this.render)return;const e=this.children.map(({id:i})=>i);return this.set("children",e),e};onAdd({from:e,to:i,item:t,newIndex:n}){e.classList.contains("control-group")||(e=e.parentElement);const m=be(e),f=be(i.parentElement),g=()=>{this.saveChildOrder(),this.removeClasses("empty")},c=new Map([[-2,()=>{const h=this.addChild({},n).addChild();return h.addChild.bind(h)}],[-1,()=>{const h=this.addChild({},n);return h.addChild.bind(h)}],[0,()=>this.addChild.bind(this)],[1,h=>{const d=et(this.dom);return()=>this.parent.addChild(h,d+1)}],[2,h=>()=>this.parent.parent.addChild(h)]]),o={controls:async()=>{if(!on){const{default:p}=await vt(async()=>{const{default:v}=await Promise.resolve().then(()=>hd);return{default:v}},void 0);on=p}const{controlData:{meta:{id:h},...d}}=on.get(t.id);Ii(d,"config.controlId",h);const u=h.startsWith("layout-"),l=u?h.replace(/^layout-/,""):"field",s=u?{}:d,r=we({stage:{row:0,column:-1,field:-2},row:{row:1,column:0,field:-1},column:{row:2,column:1,field:0},field:1},`${this.name}.${l}`),a=c.get(r)();return V.remove(t),a(s,n)},row:()=>(c.get({stage:-1,row:0,column:1}[f])||gn)()?.({id:t.id},n),column:()=>(c.get({stage:-2,row:-1}[f])||gn)()?.(t.id)}[m]?.(t,n);return this.dispatchComponentEvent("onAdd",{from:e,to:i,item:t,newIndex:n,fromType:m,toType:f,addedComponent:o,addedVia:"dragDrop"}),g(),o}onSort=()=>this.saveChildOrder();onRemove({from:{parentElement:e}}){return e.classList.contains(Ge)&&e.classList.remove("column-editing-field"),this.name!=="stage"&&!this.children.length?this.remove():(this.emptyClass(),this.saveChildOrder())}onEnd=({to:{parentElement:e},from:{parentElement:i}})=>{e?.classList.remove(`hovering-${be(e)}`),i?.classList.remove(`hovering-${be(i)}`)};onRender(){this.dispatchComponentEvent("onRender",{dom:this.dom});const{events:e}=this.config;if(!e)return null;e.onRender&&V.onRender(this.dom,e.onRender)}set config(e){const i=we(e,"all"),t=we(this.data,"config.controlId"),n=[i,t&&we(e,t),we(e,this.id)].reduce((m,f)=>f?De(m,f):m,this.configVal);this.configVal=n}get config(){return this.configVal}runConditions=()=>{const e=this.get("conditions");return e?.length?e.map(i=>{const t=this.processConditions(i.if),n=this.processResults(i.then);return t.map(m=>this.evaluateConditions(m)&&this.execResults(n))}):null};getComponent(e){const[i,t]=e.split("."),n=oe[i];return t===this.id?this:n?.get(t)}value=(e,i)=>{const t=e.split("."),n=this.getComponent(e),m=n&&t.slice(2,t.length).join(".");return[!n,!m,!sn[m]].some(Boolean)?e:i?n.set(sn[m],i):n.get(sn[m])};getResult=e=>({"=":(i,t,n)=>i.set(t,n)})[e];processResults=e=>e.map(({operator:i,target:t,value:n})=>{const m=this.getComponent(t);return{target:m,propertyPath:m&&t.split(".").slice(2,t.length).join("."),action:this.getResult(i),value:this.value(n)}});execResults=e=>{const i=e.map(t=>this.execResult(t));return Promise.all(i)};execResult=({target:e,action:i,value:t,_propertyPath:n})=>new Promise((m,f)=>{try{return m(i(e,t))}catch(g){return f(g)}});cloneData=()=>{const e={...He(this.data),id:Me()};return this.name!=="field"&&(e.children=[]),e};clone=(e=this.parent)=>{const i=e.addChild(this.cloneData(),this.index+1);return this.name!=="field"&&this.cloneChildren(i),this.dispatchComponentEvent("onClone",{original:this,clone:i,parent:e}),i};cloneChildren(e){for(const i of this.children)i?.clone(e)}createChildWrap=e=>V.create({tag:"ul",attrs:{className:"children"},children:e});get isRow(){return this.name===Hi.row}get isColumn(){return this.name===Hi.column}get isField(){return this.name===Hi.field}isDisabledProp=(e,i="attrs")=>{if(we(this.config,e))return!1;if((this.config?.disabled||[]).includes(e))return!0;const t=mi(e);return(this.config?.panels[i]?.disabled||[]).includes(t)};isLockedProp=(e,i="attrs")=>{if((this.config?.locked||[]).includes(e))return!0;const t=mi(e);return!!(this.config?.panels[i]?.locked||[]).includes(t)};get editWindow(){const e={className:["component-edit",`${this.name}-edit`,"slide-toggle","formeo-panels-wrap"]},i=this.editPanels.size;return i&&(e.className.push(`panel-count-${i}`),e.content=[this.panels.panelNav,this.panels.panelsWrap],this.panelNav=this.panels.nav,this.resizePanelWrap=this.panels.nav.refresh),e.action={onRender:()=>{if(i===0){const t=this.dom.querySelector(".edit-toggle"),n=this.dom.querySelector(`.${this.name}-actions`),m=n.getElementsByTagName("button");n.style.maxWidth=`${m.length*m[0].clientWidth}px`,V.remove(t)}else this.resizePanelWrap()}},V.create(e)}updateEditPanels=()=>{if(!this.config)return null;const e=new Set(["object","array"]),i=Je([...this.config.panels.order,...Object.keys(this.data)]),t=new Set(["children","meta","action","events",...this.config.panels.disabled]),n=i.filter(f=>!t.has(f));for(const f of n){const g=this.get(f),c=V.childType(g);if(e.has(c)){const o=new Bu(g,f,this);this.editPanels.set(o.name,o)}}const m={panels:Array.from(this.editPanels.values()).map(({panelConfig:f})=>f),id:this.id,displayType:"auto"};this.panels=new ds(m),this.dom&&(this.dom.querySelector(".panel-nav").replaceWith(this.panels.panelNav),this.dom.querySelector(".panels").replaceWith(this.panels.panelsWrap))}},Vu=class{constructor(){this.onMove=this.onMove.bind(this),this.onStop=this.onStop.bind(this),this.cleanup=this.cleanup.bind(this)}getRowWidth(e){const i=e.querySelector(".children");if(!i)return 0;const t=i.children.length,n=V.getStyle(i,"gap")||"0px",m=parseFloat(n,10)||0;return this.totalGapWidth=m*(t-1),i.offsetWidth-this.totalGapWidth}validateResizeTarget(e,i){return e&&i&&e.offsetWidth&&i.offsetWidth}onStart(e){if(e.preventDefault(),this.resized=!1,e.button!==0)return;const i=e.target.parentElement,t=i.nextSibling||i.previousSibling,n=i.closest(`.${Ue}`);if(!this.validateResizeTarget(i,t)){console.warn("Invalid resize targets"),this.cleanup();return}if(this.startX=e.type==="touchstart"?e.touches[0].clientX:e.clientX,n.classList.add(Pi),this.columnPreset=n.querySelector(`.${Co}`),this.originalColumnClass=i.className,this.originalSiblingClass=t.className,i.className=i.className.replace(pn,""),t.className=t.className.replace(pn,""),this.colStartWidth=i.offsetWidth,this.sibStartWidth=t.offsetWidth,this.rowWidth=this.getRowWidth(n),this.rowWidth<=0){console.warn("Invalid row width calculated"),this.cleanup();return}this.column=i,this.sibling=t,this.row=n;try{window.addEventListener("pointermove",this.onMove,!1),window.addEventListener("pointerup",this.onStop,!1)}catch(m){console.error("Failed to initialize resize listeners:",m),this.cleanup()}}calculateNewWidths(e){const i=this.colStartWidth+e-this.startX,t=this.sibStartWidth-e+this.startX,n=parseFloat(Bi(i,this.rowWidth)),m=parseFloat(Bi(t,this.rowWidth));return n<10||m<10?null:{colWidth:fn(n.toFixed(1)),siblingColWidth:fn(m.toFixed(1))}}onMove(e){e.preventDefault();const{column:i,sibling:t}=this,n=e.type==="touchmove"?e.touches[0].clientX:e.clientX,m=this.calculateNewWidths(n);if(!m)return;const{colWidth:f,siblingColWidth:g}=m;i.dataset.colWidth=f,t.dataset.colWidth=g,i.style.width=f,t.style.width=g,this.resized=!0}onStop(){const{column:e,sibling:i}=this;window.removeEventListener("pointermove",this.onMove),window.removeEventListener("pointerup",this.onStop),this.resized&&(this.setCustomWidthValue(),oe.setAddress(`columns.${e.id}.config.width`,e.dataset.colWidth),oe.setAddress(`columns.${i.id}.config.width`,i.dataset.colWidth),this.row.classList.remove(Pi),this.resized=!1,this.cleanup())}cleanup(){this.column&&this.originalColumnClass&&(this.column.className=this.originalColumnClass),this.sibling&&this.originalSiblingClass&&(this.sibling.className=this.originalSiblingClass),this.row&&this.row.classList.remove(Pi),window.removeEventListener("pointermove",this.onMove),window.removeEventListener("pointerup",this.onStop)}setCustomWidthValue(){const e=this.columnPreset;let i=e.querySelector(`.${hn}`);const t=this.row.querySelector(".children").children,n=ir(t,g=>Bi(g.clientWidth,this.rowWidth).toFixed(1)),m=n.join(","),f=n.join(" | ");return i||(i=V.create({tag:"option",attrs:{className:hn,value:m,selected:!0},content:f}),e.append(i)),i.value=m,i.textContent=f,m}},Uu=()=>Object.freeze({config:{width:"100%"},children:[],className:[Ge]}),Dr={resizeHandle:e=>({className:"resize-x-handle",action:{pointerdown:e.onStart.bind(e)},content:[V.icon("triangle-down"),V.icon("triangle-up")]}),editWindow:()=>({className:"column-edit group-config"})},Gu=class extends zi{constructor(e){super("column",{...Uu(),...e});const i=this.createChildWrap();this.dom=V.create({tag:"li",className:[Ge,"empty"],dataset:{hoverTag:Z.get("column")},id:this.id,content:[this.getComponentTag(),this.getActionButtons(),Dr.editWindow(),Dr.resizeHandle(new Vu),i]}),this.processConfig(),Q.columnResized=new window.CustomEvent("columnResized",{detail:{column:this.dom,instance:this}}),J.create(i,{animation:150,fallbackClass:"field-moving",forceFallback:!0,group:{name:"column",pull:!0,put:["column","controls"]},sort:!0,disabled:!1,onEnd:this.onEnd.bind(this),onAdd:this.onAdd.bind(this),onSort:this.onSort.bind(this),onRemove:this.onRemove.bind(this),onMove:t=>{t.from!==t.to&&t.from.classList.remove("hovering-column")},draggable:`.${Tt}`,handle:".item-move"})}processConfig(){const e=Ae.get(this.data,"config.width");e&&this.setDomWidth(e)}refreshFieldPanels=()=>{for(const e of this.children)e.panels.nav.refresh()};setDomWidth=e=>{this.dom.dataset.colWidth=e,this.dom.style.width=e};setWidth=e=>(this.setDomWidth(e),this.set("config.width",e))},Ku={actionButtons:{buttons:["clone","move","remove"],disabled:[]}},qu=class extends Di{constructor(e){super("columns",e),this.config={all:Ku}}Component(e){return new Gu(e)}},hs=new qu,Yu=()=>Object.freeze({config:{fieldset:!1,legend:"",inputGroup:!1},children:[],className:[Ue]}),Zu=class extends zi{constructor(e){super("row",{...Yu(),...e});const i=this.createChildWrap();this.dom=V.create({tag:"li",className:[Ue,"empty"],dataset:{hoverTag:Z.get("row"),editingHoverTag:Z.get("editing.row")},id:this.id,content:[this.getComponentTag(),this.getActionButtons(),this.editWindow,i]}),J.create(i,{animation:150,fallbackClass:"column-moving",forceFallback:!0,group:{name:"row",pull:!0,put:["row","column","controls"]},sort:!0,disabled:!1,onRemove:this.onRemove.bind(this),onEnd:this.onEnd.bind(this),onAdd:this.onAdd.bind(this),onSort:this.onSort.bind(this),draggable:`.${Ge}`,handle:".item-move"})}get editWindow(){const e={tag:"input",id:`${this.id}-fieldset`,attrs:{type:"checkbox",checked:this.get("config.fieldset"),ariaLabel:Z.get("row.settings.fieldsetWrap.aria")},action:{click:({target:{checked:c}})=>{this.set("config.fieldset",!!c)}},config:{label:Z.get("row.settings.fieldsetWrap")}},i={tag:"input",id:`${this.id}-inputGroup`,attrs:{type:"checkbox",checked:this.get("config.inputGroup"),ariaLabel:Z.get("row.settings.inputGroup.aria")},action:{click:({target:{checked:c}})=>this.set("config.inputGroup",c)},config:{label:Z.get("row.makeInputGroup"),description:Z.get("row.makeInputGroupDesc")}},t={className:"input-group",content:{tag:"input",attrs:{type:"text",ariaLabel:"Legend for fieldset",value:this.get("config.legend"),placeholder:"Title"},config:{label:{children:["Row Title",{tag:"span",content:" ⓘ",dataset:{tooltip:"Row title will be used as the legend for the fieldset"}}]}},action:{input:({target:{value:c}})=>this.set("config.legend",c)},className:""}},n=V.formGroup([e,t]),m={tag:"label",content:Z.get("defineColumnWidths"),className:"col-sm-4 form-control-label"};this.columnPresetControl=V.create(this.columnPresetControlConfig);const f={className:"col-sm-8",content:this.columnPresetControl,action:{onRender:()=>{this.updateColumnPreset()}}},g=[i,"hr",n,"hr",V.formGroup([m,f],"row")];return V.create({className:`${this.name}-edit group-config`,action:{onRender:c=>{const o=g.map(h=>V.create(h));c.append(...o)}}})}onAdd(...e){super.onAdd(...e),this.autoColumnWidths()}onRemove(...e){super.onRemove(...e),this.autoColumnWidths()}autoColumnWidths=()=>{const e=this.children;if(!e.length)return;const i=Number.parseFloat((100/e.length).toFixed(1))/1;for(const t of e){t.removeClasses(pn);const n=t.dom,m=fn(i);t.set("config.width",m),n.style.width=m,n.dataset.colWidth=m;const f=setTimeout(()=>{clearTimeout(f),t.refreshFieldPanels()},at);document.dispatchEvent(Q.columnResized)}this.updateColumnPreset()};updateColumnPreset=()=>{this.columnPresetControl.innerHTML="";const e=this.getColumnPresetOptions.map(({label:i,...t})=>V.create({tag:"option",content:i,attrs:t}));this.columnPresetControl.append(...e)};setColumnWidths=e=>{typeof e=="string"&&(e=e.split(",")),this.children.forEach((i,t)=>{i.setWidth(`${e[t]}%`),i.refreshFieldPanels()})};get getColumnPresetOptions(){const e=this.children,i=_l.get(e.length-1)||[],t=e.map(n=>{const m=n.get("config.width")||"";return Number(m.replace("%","")).toFixed(1)}).join(",");if(i.length){const n=i.slice();return n.find(m=>m.value===t)||n.push({value:t,label:t.replace(/,/g," | "),className:hn}),n.map(m=>{const f={...m};return f.selected=m.value===t,f})}return[]}get columnPresetControlConfig(){return{tag:"select",attrs:{ariaLabel:Z.get("defineColumnLayout"),className:Co},action:{change:({target:e})=>{const{value:i}=e;this.setColumnWidths(i)}},options:this.getColumnPresetOptions}}},Qu={actionButtons:{buttons:["move","edit","clone","remove"],disabled:[]}},Xu=class extends Di{constructor(e){super("rows",e),this.config={all:Qu}}Component(e){return new Zu(e)}},or=new Xu,Ju=()=>({conditions:[qn()],children:[]}),ed=class extends zi{constructor(e){super("stage",{...Ju(),...e}),this.updateEditPanels(),this.debouncedUpdateEditPanels=gi(this.updateEditPanels),Z.get("Untitled Form"),Z.get("Untitled Form"),Z.get("Form Title"),Z.get("Form novalidate"),Z.get("Tags");const i=this.createChildWrap();this.dom=V.create({attrs:{className:[kt,"empty"],id:this.id},children:[this.getComponentTag(),this.getActionButtons(),this.editWindow,i]}),J.create(i,{animation:150,fallbackClass:"row-moving",group:{name:"stage",pull:!0,put:["row","column","controls"]},sort:!0,disabled:!1,onAdd:this.onAdd.bind(this),onRemove:this.onRemove.bind(this),onStart:()=>{Wt.active=this},onSort:this.onSort.bind(this),draggable:`.${Ue}`,handle:".item-move"})}empty(e=!0){return new Promise(i=>{e?(this.dom.classList.add("removing-all-fields"),ge.slideUp(this.dom,333,()=>{i(super.empty(e)),this.dom.classList.remove("removing-all-fields"),ge.slideDown(this.dom,333)})):i(super.empty())})}onAdd(...e){const i=super.onAdd(...e);i?.name==="column"&&i.parent.autoColumnWidths()}},td=()=>({actionButtons:{buttons:["edit"],disabled:[]},panels:{disabled:[],order:["attrs","options","conditions"]}}),id=class extends Di{constructor(e){super("stages",e),this.config={all:td()}}Component(e){return new ed(e)}},Wt=new id,$e={js:new Set,css:new Set,formeoSprite:null},nd=1e4,Nr=(e,i,t=mn,n=nd)=>new Promise(m=>{const f=typeof AbortSignal<"u"&&AbortSignal.timeout?AbortSignal.timeout(n):void 0;return fetch(e,f?{signal:f}:void 0).then(g=>{if(!g.ok)return m(t(g));m(i?i(g):g)}).catch(g=>m(t(g)))}),ps=(e,i)=>{e.removeEventListener("load",ps),i(e.src)},fs=(e,i)=>{e.removeEventListener("load",fs),i(e.src)},rd=e=>new Promise((i,t)=>{if($e.js.has(e))return i(e);$e.js.add(e);const n=V.create({tag:"script",attrs:{type:"text/javascript",async:!0,src:e},action:{load:()=>fs(n,i),error:()=>t(new Error(`${e} failed to load.`))}});document.head.appendChild(n)}),xn=e=>{e=Array.isArray(e)?e:[e];const i=e.map(t=>new Promise((n,m)=>{if($e.css.has(t))return n(t);$e.css.add(t);const f=V.create({tag:"link",attrs:{rel:"stylesheet",href:t},action:{load:()=>ps(f,n),error:()=>m(new Error(`${t} failed to load.`))}});document.head.appendChild(f)}));return Promise.all(i)},od=e=>{e=Array.isArray(e)?e:[e];const i=e.map(t=>rd(t));return Promise.all(i)},sd=e=>{e=Array.isArray(e)?e:[e];const i=e.map(t=>xn(t));return Promise.all(i)},Fr=e=>($e.formeoSprite=new DOMParser().parseFromString(e,"image/svg+xml").documentElement,$e.formeoSprite),ad=async(e=null)=>{if($e.formeoSprite)return $e.formeoSprite;if(!e)return Fr(gl);const i=async t=>Fr(await t.text());return Nr(e,i,()=>Nr(vl,i))},ld={js:od,css:sd},gs=e=>{const i=Object.entries(e).map(([t,n])=>ld[t](n));return Promise.all(i)},cd=async e=>{if(e&&!$e.css.has(e)&&(await xn(e),!$e.css.has(e)&&!$e.css.has("https://draggable.github.io/formeo/assets/css/formeo.min.css")))return await xn(bl)},ud=class{controlCache=new Set;constructor({events:e={},dependencies:i={},controlAction:t,...n}){this.events=e,this.controlData=n,this.controlAction=t,this.dependencies=i,this.id=n.id||Me()}get controlId(){return this.controlData.meta?.id||this.controlData.config?.controlId}get dom(){const{meta:e,config:i}=this.controlData,t=this.i18n(i.label)||i.label,n={tag:"button",attrs:{type:"button"},content:[{tag:"span",className:"control-icon",children:V.icon(e.icon)},{tag:"span",className:"control-label",content:t}],action:{focus:({target:m})=>{const f=m.closest(`.${st}`);return f&&ct.panels.nav.refresh(et(f))},click:({target:m})=>{const f=m.closest(".field-control")?.id;f&&ct.addElement(f)}}};return V.create({tag:"li",id:this.id,className:["field-control",`${e.group}-control`,`${e.id}-control`],content:n,meta:e,action:this.controlAction})}promise(){return gs(this.dependencies)}i18n(e,i){const t=Z.locale,n=this.definition?.i18n?.[t]||{};return(n[e]?.()??n[e])||Z.get(e,i)}},dd=Object.freeze({sortable:!0,elementOrder:{},groupOrder:[],groups:[{id:"layout",label:"controls.groups.layout",elementOrder:["row","column"]},{id:"common",label:"controls.groups.form",elementOrder:["button","checkbox"]},{id:"html",label:"controls.groups.html",elementOrder:["header","block-text"]}],disable:{groups:[],elements:[],formActions:[]},elements:[],container:null,panels:{displayType:"slider"}}),hd=An({Controls:()=>ms,default:()=>ct}),ms=class{constructor(){this.data=new Map,this.buttonActions={focus:({target:e})=>{const i=e.closest(`.${st}`);return i&&this.panels.nav.refresh(et(i))},click:({target:e})=>{this.addElement(e.parentElement.id)}}}async init(e,i=!1){return await this.applyOptions(e),this.buildDOM(i),this}registerControls(e){return this.controls=[],e.map(i=>{const t=typeof i=="function"?new i:new ud(i);return this.add(t),this.controls.push(t.dom),t.promise()})}groupLabel=e=>Z.get(e)||e||"";groupElements(){let e=this.options.groups.slice(),i=this.controls.slice(),t=[];const n=[];return e=Si(e,this.groupOrder,"id"),e=e.filter(m=>vr(m.id,this.options.disable.groups)),t=e.map(m=>{const f={tag:"ul",attrs:{className:[st,wo],id:`${m.id}-${st}`},config:{label:this.groupLabel(m.label)}};if(this.options.elementOrder[m.id]){const g=this.options.elementOrder[m.id];m.elementOrder=Je(g.concat(m.elementOrder))}return i=Si(i,m.elementOrder,"meta.id"),f.content=i.filter(g=>{const{controlData:c}=this.get(g.id),o=c.meta.id||"",h=[vr(o,this.options.disable.elements),c.meta.group===m.id,!n.includes(o)];let d=!0;return d=h.every(u=>u===!0),d&&n.push(o),d}),f}),t}add(e=Object.create(null)){const i=He(e);return this.data.set(i.id,i),i.controlData.meta.id&&this.data.set(i.controlData.meta.id,i.controlData),i}get(e){return He(this.data.get(e))}formActions(){if(this.options.disable.formActions===!0)return null;const e={...V.btnTemplate({content:[V.icon("bin"),Z.get("clear")],title:Z.get("clearAll")}),className:["clear-form"],action:{click:t=>{or.size?(Q.confirmClearAll=new window.CustomEvent("confirmClearAll",{detail:{confirmationMessage:Z.get("confirmClearAll"),clearAllAction:()=>{Wt.clearAll().then(()=>{const n={src:t.target};Q.formeoCleared(n)})},btnCoords:V.coords(t.target)}}),document.dispatchEvent(Q.confirmClearAll)):window.alert(Z.get("cannotClearFields"))}}},i={...V.btnTemplate({content:[V.icon("floppy-disk"),Z.get("save")],title:Z.get("save")}),className:["save-form"],action:{click:async({target:t})=>{const{default:n}=await vt(async()=>{const{default:g}=await Promise.resolve().then(()=>wd);return{default:g}},void 0),{formData:m}=n,f={action:()=>{},coords:V.coords(t),message:"",button:t};return ve.click.btn(f),ve.save.form(m)}}};return{className:"form-actions f-btn-group",content:Object.entries({clearBtn:e,saveBtn:i}).reduce((t,[n,m])=>(this.options.disable.formActions.includes(n)||t.push(m),t),[])}}buildDOM(e){const i=this.groupElements(),t=this.formActions(),{displayType:n}=this.options.panels;this.panels=new ds({panels:i,type:"controls",displayType:n});const m=["control-groups","formeo-panels-wrap",`panel-count-${i.length}`],f=V.create({className:m,content:[this.panels.panelNav,this.panels.panelsWrap]}),g=["formeo-controls"];e&&g.push("formeo-sticky");const c=V.create({className:g,content:[f,t]}),o=c.getElementsByClassName("control-group");this.dom=c,this.groups=o;const[h]=o;this.currentGroup=h,this.actions={filter:d=>{const u=d!=="",l=this.controls;let s=f.querySelector(".filtered-term");if(V.toggleElementsByStr(l,d),u){const r=Z.get("controls.filteringTerm",d);c.classList.add("filtered"),s?s.textContent=r:(s=V.create({tag:"h5",className:"filtered-term",content:r}),f.insertBefore(s,f.firstChild))}else s&&(c.classList.remove("filtered"),s.remove())},addElement:this.addElement,addGroup:d=>console.log(d)};for(let d=o.length-1;d>=0;d--){const u=`formeo-controls-${o[d]}`;this.options.sortable||globalThis.localStorage.removeItem(u),J.create(o[d],{animation:150,fallbackClass:"control-moving",fallbackOnBody:!0,forceFallback:!0,fallbackTolerance:5,group:{name:"controls",pull:"clone",put:!1,revertClone:!0},onClone:({clone:l,item:s})=>{if(l.id=s.id,this.options.ghostPreview){const{controlData:r}=this.get(s.id);vt(async()=>{const{default:a}=await Promise.resolve().then(()=>gd);return{default:a}},void 0).then(({default:a})=>{l.innerHTML="",l.appendChild(new a(r).preview)})}},onStart:()=>{this.originalDocumentOverflow=document.documentElement.style.overflow,document.documentElement.style.overflow="hidden"},onEnd:()=>{document.documentElement.style.overflow=this.originalDocumentOverflow,this.originalDocumentOverflow=null},sort:this.options.sortable,store:{get:()=>{const l=globalThis.localStorage.getItem(u);return l?l.split("|"):[]},set:l=>{const s=l.toArray();globalThis.localStorage.setItem(u,s.join("|"))}}})}return c}layoutTypes={row:()=>Wt.active.addChild(),column:()=>this.layoutTypes.row().addChild(),field:e=>this.layoutTypes.column().addChild(e)};addElement=e=>{const{meta:{group:i,id:t},...n}=we(this.get(e),"controlData");return Ii(n,"config.controlId",t),i==="layout"?this.layoutTypes[t.replace("layout-","")]():this.layoutTypes.field(n)};applyOptions=async(e={})=>{const{container:i,elements:t,groupOrder:n,...m}=De(dd,e);this.container=V.resolveContainer(i),this.groupOrder=Je(n.concat(["common","html","layout"])),this.options=m;const[f,g,c]=await Promise.all([vt(()=>import("./layout.min.js"),[]),vt(()=>import("./form.min.js"),[]),vt(()=>import("./html.min.js"),[])]),o=[f.default,g.default,c.default].flat();return Promise.all(this.registerControls([...o,...t]))}},ct=new ms,pd=e=>e?.controlData?.config??e?.config,fd=(...e)=>{const i=m=>Je(e.flatMap(f=>Array.isArray(f?.[m])?f[m]:[])),t=i("disabledAttrs"),n=i("lockedAttrs");return!t.length&&!n.length?null:{panels:{attrs:{disabled:t,locked:n}}}},gd=An({default:()=>vs}),md=new Set(["checkbox","radio"]),vd=new Set(["radio","checkbox","select-one","select-multiple"]),vs=class extends zi{constructor(e=Object.create(null)){super("field",e),this.controlId=this.get("config.controlId")||this.get("meta.id"),this.applyControlAttrConfig(),this.debouncedUpdateEditPanels=gi(this.updateEditPanels),this.debouncedUpdatePreview=gi(this.updatePreview),this.label=V.create(this.labelConfig),this.preview=this.fieldPreview();const i=this.getActionButtons(),t=this.actionButtons.some(m=>m.meta?.id==="edit");this.updateEditPanels();const n=V.create({tag:"li",attrs:{className:Tt},id:this.id,children:[this.label,this.getComponentTag(),i,t&&this.editWindow,this.preview].filter(Boolean),panelNav:this.panelNav,dataset:{hoverTag:Z.get("field")}});this.dom=n,this.isEditing=!1}applyControlAttrConfig(){const e=fd(pd(oe.controls?.get(this.controlId)),this.get("config"));e&&(this.config={[this.id]:e})}get labelConfig(){if(this.get("config.hideLabel"))return null;const{label:e,editorLabel:i,disableHtmlLabel:t,helpText:n,tooltip:m}=this.get("config"),{required:f}=this.get("attrs")||{},g=i||e,c={tag:"label",attrs:{}};return t?(c.tag="input",c.attrs.value=g):(c.attrs.contenteditable=!0,c.children=g),{className:"prev-label",children:[{...c,action:{input:({target:{innerHTML:o,value:h}})=>{const d=t?h:o;super.set("config.label",d);const u=this.dom.querySelector(".config-label");u&&(u.value=d)}}},f&&V.requiredMark(),m&&V.tooltip(m),n&&V.helpText(n)]}}setData=(e,i)=>super.set(e,i);set(e,i){return this.setData(e,i)}updateLabel(){const e=V.create(this.labelConfig);(this.label||!e)&&this.label.remove(),e&&(this.data.config?.labelAfter?this.dom.append(e):this.dom.prepend(e)),this.label=e}updatePreview=()=>{this.updateLabel();const e=this.fieldPreview();this.preview.replaceWith(e),this.preview=e};get defaultPreviewActions(){return{change:e=>{const{target:i}=e,{type:t}=i;if(vd.has(t)){const n=this.preview.querySelectorAll(":checked"),m=this.get("options"),f=m?.[0]?.selected===void 0?"checked":"selected",g=m.reduce((c,o)=>(c[o.value]=o,c[o.value][f]=!1,c),{});for(const c of n)g[c.value][f]=c.value===g[c.value].value;return super.set("options",Object.values(g)),this.debouncedUpdateEditPanels()}},click:e=>{e.target.contentEditable==="true"&&e.preventDefault()},input:({target:e})=>{if(["input","meter","progress","button"].includes(e.tagName.toLowerCase()))return super.set("attrs.value",e.value),this.debouncedUpdateEditPanels();if(e.contentEditable&&!e.type?.startsWith("select-")){const i=e.parentElement.classList;if(i.contains("f-checkbox")||i.contains("f-radio")){const t=e.parentElement,n=et(t);return this.setData(`options[${n}].label`,e.innerHTML),this.debouncedUpdateEditPanels()}this.setData("content",e.innerHTML||e.value)}}}}fieldPreview(){const{action:e={},...i}=He(this.data);i.id=`prev-${this.id}`,i.action=Object.entries(e).reduce((n,[m,f])=>(n[m]=f.bind(this),n),{}),this.data?.config.editableContent&&(i.attrs={...i.attrs,contenteditable:!0});const t={attrs:{className:"field-preview",style:this.isEditing&&"display: none;"},content:V.create(i,!0),action:this.defaultPreviewActions};return V.create(t,!0)}get isCheckable(){return md.has(this.get("config.controlId"))}},yd=()=>({actionButtons:{buttons:["move","edit","clone","remove"],disabled:[]},panels:{disabled:[],attrs:{disabled:["type"],hideDisabled:!0,locked:[]},order:["attrs","options","conditions"]},label:{disableHTML:!1}}),bd=class extends Di{constructor(e){super("fields",e),this.config={all:yd()}}Component(e){return new vs(e)}get=e=>{let i=e&&we(this.data,e);if(!i){const t=ct.get(e);t&&(i=this.add(null,t.controlData))}return i};getData=()=>Object.entries(this.data).reduce((e,[i,t])=>{const{conditions:n,...m}=t?.getData()||t;if(n?.length){let f=!0;if(n.length===1){const[g]=n;f=!!g.if[0].source}f&&(m.conditions=n)}return e[i]=m,e},{});load=(e=Object.create(null))=>{const i=_i(e);this.empty();for(const[t,n]of Object.entries(i)){const{meta:m,...f}=n;m?.id&&Ii(f,"config.controlId",m?.id),this.add(t,f)}return this.data}},ys=new bd,wd=An({Columns:()=>Ht,Components:()=>bs,Controls:()=>Bt,Fields:()=>di,Rows:()=>ui,Stages:()=>ci,default:()=>oe}),ci=Wt,ui=or,Ht=hs,di=ys,Bt=ct,Cd=(e,i=!1)=>{if(e!=null){const t=_i(e);if(t&&typeof t=="object"){const n=He(t);return{id:n.id||wt().id,stages:n.stages||wt().stages,rows:n.rows||{},columns:n.columns||{},fields:n.fields||{}}}console.warn("Formeo: Invalid formData provided, using default")}if(i){const t=Yn.get(Pn);if(t)return t}return wt()},bs=class extends Qn{constructor(){super("components"),this.disableEvents=!0,this.stages=ci,this.rows=ui,this.columns=Ht,this.fields=di,this.controls=Bt}load=(e,i)=>{this.empty();const t=Cd(e,i.sessionStorage);this.opts=i,this.set("id",t.id),this.add("stages",ci.load(t.stages)),this.add("rows",ui.load(t.rows)),this.add("columns",Ht.load(t.columns)),this.add("fields",di.load(t.fields));for(const n of Object.values(this.get("stages")))n.loadChildren();return this.data};flatList(){const e={};for(const i of Object.keys(this.data.stages))Do(this.data,i,"stages",e);return e}getChildData=({type:e,id:i})=>{const t=this.get(e,i);if(t)return t.getData()};get json(){return window.JSON.stringify({$schema:`https://cdn.jsdelivr.net/npm/formeo@${Dn}/dist/formData_schema.json`,...this.formData})}get formData(){return{id:this.get("id"),stages:Wt.getData(),rows:or.getData(),columns:hs.getData(),fields:ys.getData()}}set config(e){const{stages:i,rows:t,columns:n,fields:m}=e;ci.config=i,ui.config=t,Ht.config=n,di.config=m}getIndex(e){return this[e]||this[Sl.get(e)]}setAddress(e,i){if(!Te(e))return;const[t,n,...m]=Array.isArray(e)?e:lt(e),f=this.getIndex(t).get(n);return f?.set(m,i),f}getAddress(e){if(!Te(e))return;const[i,t,...n]=Array.isArray(e)?e:lt(e),m=this.getIndex(i).get(t);if(!(n.length&&!m))return n.length?m.get(n):m}},oe=new bs,Sd={glyphicons:e=>`<span class="glyphicon glyphicon-${e}" aria-hidden="true"></span>`,"font-awesome":e=>{const[i,t]=e.split(" ");return`<i class="${i} fa-${t}"></i>`},fontello:e=>`<i class="${Oo}${e}">${e}</i>`},xd=new Set(["input","textarea","select"]),Ei="formeo-required-group",ws=["disabled","form"],Ed=new Set(["type","id","name","className","value","required",...ws]),Ad=(e={})=>Object.fromEntries(Object.entries(e).filter(([i])=>!Ed.has(i))),kd=e=>e.replace(/^on([A-Z])/,(i,t)=>t.toLowerCase()),Td=new Set(["focus","blur"]),Md=e=>{const i=kd(e);return(t,n)=>t.addEventListener(i,n,Td.has(i))},Cs=(e={})=>{let i=e?.attrs?.name||e?.name;if(i)return i;const t=Me(e);let n=e.config?.label||e.attrs?.label||e?.label;return n&&(typeof n=="object"&&(n=V.create(n).textContent),/^<.+>.+<.+>$/gim.test(n)&&(n=Zl(n)),i=`${t}-${No(Ql(n,24,null))}`),i||t},$d=class{constructor(e=Object.create(null)){this.options=e}set setOptions(e){this.options=De(this.options,e)}processElemArg(e){let i=e,t;if(typeof i=="string")return t=i,i={tag:t},i;if(i.attrs){const{tag:n,...m}=i.attrs;n&&(typeof n=="string"?t=n:t=(n.find(f=>f.selected===!0)||n[0]).value),i.attrs=m}return i.tag=t||i.tag||"div",i}render=e=>(e.id=`f-${e.id||Me()}`,this.create(e));create=(e,i=!1)=>{if(!e)return;if(this.isDOMElement(e))return e;const t=this,n=["children","content"],{className:m,options:f,dataset:g,...c}=this.processElemArg(e);n.push("tag");let o;const{tag:h}=c;let d;const u={attrs:{},className:[Ae.get(c,"config.inputWrap")],children:[],config:{}};let l=document.createElement(h);const s={string:a=>{l.innerHTML+=a},object:a=>a&&l.appendChild(t.create(a,i)),node:a=>l.appendChild(a),component:a=>l.appendChild(a.dom),array:a=>{for(const p of a)o=t.childType(p),s[o](p)},function:a=>{a=a(),o=t.childType(a),s[o](a)},undefined:()=>null,boolean:()=>null};if(m&&(c.attrs=De(c.attrs,{className:m})),f){const a=this.processOptions(f,c,i);if(this.holdsContent(l)&&h!=="button")s.array.call(this,a),c.content=void 0;else{Ae.forEach(a,v=>{u.children.push(t.create(v,i))});const p=c.attrs||{};return p.className&&(u.className=p.className),u.id=c.id,u.attrs=Ad(p),u.config={...c.config,required:!!p.required},!i&&p.type==="checkbox"&&p.required&&(u.attrs[`data-${Ei}`]="true",u.action={change:({currentTarget:v})=>this.syncCheckboxGroupRequired(v)}),this.create(u,i)}n.push("options")}if(c.attrs&&(t.processAttrs(c,l,i),n.push("attrs")),c.config){if(c.config.label&&(c.config.label&&h!=="button"||["radio","checkbox"].includes(Ae.get(c,"attrs.type")))&&!i){const a=t.label(c);if(!c.config.hideLabel){const p=[a,l];t.labelAfter(c)&&p.reverse(),u.children.push(p)}}n.push("config")}if(c.content||c.children){const a=c.content||c.children;o=t.childType(a),s[o]||console.error(`childType: ${o} is not supported`),s[o].call(this,a)}if(g){for(const a in g)Object.hasOwn(g,a)&&(l.dataset[a]=typeof g[a]=="function"?g[a]():g[a]);n.push("dataset")}c.action&&(this.actionHandler(l,c.action),n.push("action"));const r=Ae.subtract(n,Object.keys(c));for(d=r.length-1;d>=0;d--)l[r[d]]=c[r[d]];return u.children.length&&(l=this.create(u)),l};onRender=(e,i,t=333)=>{const n=Date.now(),m=()=>{!e.parentElement&&Date.now()-n<t?window.requestAnimationFrame(m):e.parentElement&&i(e)};m()};actionHandler(e,i){const t={onRender:V.onRender,render:V.onRender};return Object.entries(i).map(([n,m])=>(Array.isArray(m)?m:[m]).map(f=>(t[n]||Md(n))(e,f)))}get icons(){if(this.iconSymbols)return this.iconSymbols;const e=$e.formeoSprite.querySelectorAll("svg symbol"),i=t=>{const n=t.getAttribute("viewBox")||"0 0 24 24",m=Array.from(t.children).map(f=>f.cloneNode(!0).outerHTML).join("");return{tag:"svg",attrs:{className:["svg-icon",t.id],viewBox:n,xmlns:"http://www.w3.org/2000/svg"},children:m}};return this.iconSymbols=Array.from(e).reduce((t,n)=>{const m=n.id.replace(Oo,"");return t[m]=i(n),t},{}),this.cachedIcons={},this.iconSymbols}icon(e,i){if(!e)return;const t=`${e}?${new URLSearchParams(i).toString()}`;if(this.cachedIcons?.[t])return this.cachedIcons[t];const n=this.icons[e];if(n){if(i){const m=De(n,i);return this.cachedIcons[t]=V.create(m).outerHTML,this.cachedIcons[t]}return this.cachedIcons[t]=V.create(n).outerHTML,this.cachedIcons[t]}return Sd[V.options.iconFont]?.(e)||e}processAttrs(e,i,t){const{attrs:n={}}=e;if(!t&&!n.name&&n.name!==null&&this.isInput(e.tag)){const m=Cs(e);m&&i.setAttribute("name",m)}for(const m of Object.keys(n)){const f=Ae.safeAttrName(m),g=this.processAttrValue(n[m]);if(g!==!1)try{i.setAttribute(f,g)}catch(c){console.warn(`Could not set attribute ${f} with value ${g}`,c)}}}processAttrValue(e){if(typeof e=="function")return e();if(typeof e=="boolean")return e&&"";let i=e||"";if(Array.isArray(i))if(typeof i[0]=="object"){const t=i.filter(n=>n.selected===!0);i=t.length?t[0].value:i[0].value}else i=i.join(" ");return i}toggleElementsByStr=(e,i)=>{const t=[],n=(m,f)=>{f?(m.style.display="block",t.push(m)):m.style.display="none"};return V.elementsContainText(e,i,n),t};elementsContainText=(e,i,t)=>{const n=[];return Fi(e,m=>{const f=m.textContent.toLowerCase().indexOf(i.toLowerCase())!==-1;t?.(m,f),f&&n.push(m)}),n};generateOption=({type:e="option",label:i,value:t,i:n=0,selected:m})=>({tag:e==="option"?"option":"input",attrs:{type:e,value:t||`${e}-${n}`,[e==="option"?"selected":"checked"]:m||!n},config:{label:i||Z.get("labelCount",{label:Z.get("option"),count:n})}});processOptions(e,i,t){const{action:n,attrs:m={}}=i,f=m.type||i.tag,g=m.id||i.id,c=t?g:Jl(m.name||g,f,e.length),o=Object.fromEntries(ws.filter(d=>d in m).map(d=>[d,m[d]]));m.required&&(o.required=f!=="checkbox"||!e.some(({selected:d,checked:u})=>d||u));const h=(d,u)=>{const{label:l,value:s,...r}=d,a=()=>{const p={tag:"input",attrs:{name:c,type:f,value:s||"",id:`${g}-${u}`,...o,...r},action:n},v={tag:"label",attrs:{for:`${g}-${u}`},children:l},y={children:[p,v],className:[`f-${f}`]};return m.className&&(i.config.inputWrap=m.className),i.config.inline&&y.className.push(`f-${f}-inline`),d.selected&&(p.attrs.checked=!0),t&&(v.attrs.contenteditable=!0),y};return{select:()=>{const p=d.attrs||d,{label:v,checked:y,selected:k,attrs:x}={attrs:p,...d,...p};return{tag:"option",attrs:{...x,selected:!!(y||k)},children:v}},button:p=>{const{type:v,label:y,className:k,id:x}=p;return{...i,attrs:{type:v},className:k,id:x||Me(),options:void 0,children:y,action:i.action}},checkbox:a,radio:a}[f]?.(d)};return e.map(h)}holdsContent(e){return e.outerHTML.includes("/")}isBlockInput(e){return!this.isInput(e)&&this.holdsContent(e)}isInput(e){let i=e;return typeof i!="string"&&(i=i.tagName),xd.has(i)}parsedHtml(e){const i=document.createElement("textarea");return i.innerHTML=e,i.textContent}labelAfter(e){const i=Ae.get(e,"attrs.type"),t=Ae.get(e,"config.labelAfter");return t===void 0?i==="checkbox"||i==="radio":t}syncCheckboxGroupRequired(e){const i=Array.from(e.querySelectorAll('input[type="checkbox"]')),t=!!e.closest("[hidden]"),n=!i.some(m=>m.checked);for(const m of i)m.required=!t&&n}requiredMark=()=>({tag:"span",className:"text-error",children:"*"});tooltip=e=>({tag:"span",className:"f-tooltip",dataset:{tooltip:e},content:V.icon("info-circle")});helpText=e=>({tag:"small",className:"f-help-text",children:e});label(e,i){const t=Ae.get(e,"attrs.required")||Ae.get(e,"config.required");let{config:{label:n="",helpText:m="",tooltip:f=null}}=e;const{id:g,attrs:c}=e;typeof n=="function"&&(n=n());const o={tag:"label",attrs:{for:g||c?.id},className:[],children:[n,t&&this.requiredMark(),f&&this.tooltip(f),m&&this.helpText(m)],action:{}};return i&&(o.attrs.for=void 0,o.attrs.contenteditable=!0,o.fMap=i),o}childType(e){return e===void 0?e:[["array",i=>Array.isArray(i)],["node",i=>i instanceof window.Node||i instanceof window.HTMLElement],["component",()=>e?.dom],[typeof e,()=>!0]].find(i=>i[1](e))[0]}getStyle(e,i=!1){let t;return window.getComputedStyle?t=window.getComputedStyle(e,null):e.currentStyle&&(t=e.currentStyle),i?t[i]:t}getElement(e){return{node:()=>e,object:()=>document.getElementById(e.id),string:()=>document.getElementById(e)}[this.childType(e)]()}empty(e){for(;e.firstChild;)this.remove(e.firstChild);return e}removeEmpty=e=>{const i=e.parentElement,t=be(e),n=i.getElementsByClassName(`formeo-${t}`);if(this.remove(e),!n.length)return this.isStage(i)?this.emptyClass(i):this.removeEmpty(i)};remove(e){const i=be(e);return i?oe.remove(`${i}s.${e.id}`):e.parentElement.removeChild(e)}removeClasses(e,i){const t={string:n=>n.classList.remove(i),array:n=>{for(const m of i)n.classList.remove(m)}};t.object=t.string,Ae.forEach(e,t[this.childType(i)])}addClasses(e,i){Ae.forEach(e,{string:t=>t.classList.add(i),array:t=>{for(const n of i)t.classList.add(n)}}[this.childType(i)])}formGroup(e,i=""){return{className:["f-field-group",i],children:e}}coords(e){const i=e.getBoundingClientRect(),t=document.body.getBoundingClientRect();return{pageX:i.left+i.width/2,pageY:i.top-t.top-i.height/2}}clearStage(e){e.classList.add("removing-all-fields");const i=()=>{V.empty(e),e.classList.remove("removing-all-fields"),V.emptyClass(e),ge.slideDown(e,300)};ge.slideUp(e,600,i)}toggleSortable(e,i){let t=i;const n=be(e);if(!n)return;const m=be(e.parentElement),f=V[n].get(e.id).sortable;t||(t=!f.option("disabled")),f.option("disabled",t),m&&["rows","columns","stages"].includes(m)&&this.toggleSortable(e.parentElement,t)}emptyClass(e){const i=e.getElementsByClassName(wl.get(e.classList.item(0)));e.classList.toggle("empty",!i.length)}btnTemplate=({title:e="",...i})=>({tag:"button",attrs:{type:"button",title:e},...i});isControls=e=>be(e)===st;isStage=e=>be(e)===kt;isRow=e=>be(e)===Ue;isColumn=e=>be(e)===Ge;isField=e=>be(e)===Tt;asComponent=e=>oe[`${be(e)}s`].get(e.id);isDOMElement(e){return e instanceof window.Element||e instanceof window.HTMLElement||!!(e&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string")}resolveContainer(e){return typeof e=="string"?document.querySelector(e):e?.jquery?e[0]||null:e}},V=new $d,Ld=Object.freeze({title:"",content:null,confirmText:()=>ze("save"),cancelText:()=>ze("cancel"),onConfirm:()=>{},onCancel:()=>{},className:"",closeOnEscape:!0,position:"top",triggerElement:null,triggerCoords:null}),Ss=class hi{constructor(i){this.opts=De(Ld,i),this.dialog=null}createDialog(){const{title:i,content:t,confirmText:n,cancelText:m,className:f,closeOnEscape:g,position:c}=this.opts,o=`dialog-position-${c}`,h=[];return i&&h.push({tag:"h3",className:"dialog-title",textContent:i}),t&&h.push({tag:"div",className:"dialog-body",children:Array.isArray(t)?t:[t]}),h.push({tag:"div",className:"dialog-actions",children:[{tag:"button",type:"button",className:"btn btn-sm btn-secondary",textContent:typeof m=="function"?m():m,action:{click:()=>this.handleCancel()}},{tag:"button",type:"submit",className:"btn btn-sm btn-primary",textContent:typeof n=="function"?n():n}]}),V.create({tag:"dialog",className:["formeo-dialog","formeo",o,f],children:[{tag:"form",className:"dialog-form",method:"dialog",children:h,action:{submit:d=>this.handleSubmit(d)}}],action:{cancel:d=>{g?this.handleCancel():d.preventDefault()}}})}handleSubmit(i){i.preventDefault();const t=new FormData(i.target);this.opts.onConfirm(t,this),this.close()}handleCancel(){this.opts.onCancel(this),this.close()}setPosition(){const{position:i,triggerElement:t,triggerCoords:n}=this.opts;if(i!=="trigger"||!this.dialog)return;let m=n;if(!m&&t){const f=t.getBoundingClientRect();m={x:f.left+f.width/2,y:f.bottom+8}}if(m){const f=this.dialog.getBoundingClientRect(),g=window.innerWidth,c=window.innerHeight;let o=m.x-f.width/2,h=m.y;const d=16;o=Math.max(d,Math.min(o,g-f.width-d)),h=Math.max(d,Math.min(h,c-f.height-d)),this.dialog.style.left=`${o}px`,this.dialog.style.top=`${h}px`,this.dialog.style.transform="none"}}open(){if(this.dialog||(this.dialog=this.createDialog()),document.body.appendChild(this.dialog),this.dialog.showModal(),this.opts.position==="trigger"){const i=setTimeout(()=>{this.setPosition(),clearTimeout(i)},0)}return this}close(){this.dialog&&(this.dialog.close(),this.dialog.remove(),this.dialog=null)}static alert(i,t=()=>{}){return new hi({content:{tag:"p",className:"dialog-message",textContent:i},confirmText:()=>Z.get("ok")||"OK",cancelText:"",onConfirm:()=>t()})}static confirm(i,t=()=>{},n=()=>{}){return new hi({content:{tag:"p",className:"dialog-message",textContent:i},confirmText:()=>Z.get("confirm")||"Confirm",onConfirm:()=>t(),onCancel:()=>n()})}static prompt(i,t=()=>{},n=""){return new hi({content:[{tag:"label",className:"dialog-prompt-label",children:[{tag:"p",className:"dialog-message",textContent:i},{tag:"input",type:"text",name:"prompt-value",className:"dialog-prompt-input",value:n}]}],onConfirm:m=>{t(m.get("prompt-value"))}})}},Rd=/^[A-Za-z_:][-A-Za-z0-9_:]*$/,zr=(e,i)=>{const t=e.trim();return t?!Rd.test(t)||i.isDisabled(`attrs.${t}`)?Z.get("attributeNotPermitted",{attribute:t})||`Attribute "${t}" is not permitted`:"":e?Z.get("attributeNameRequired")||"Enter an attribute name":""},_d=e=>new Ss({className:"add-attribute-dialog",content:[{tag:"input",attrs:{type:"text",name:"attrName",className:"attr-name-input",required:!0,autocomplete:"off"},config:{label:e.message.attr},action:{input:({target:i})=>i.setCustomValidity(zr(i.value,e))}},{tag:"input",attrs:{type:"text",name:"attrValue",className:"attr-value-input",autocomplete:"off"},config:{label:e.message.value}}],onConfirm:i=>{const t=String(i.get("attrName")??"").trim();t&&!zr(t,e)&&e.addAction(t,String(i.get("attrValue")??""))}}).open(),Pr={add:{attr:e=>_d(e),option:e=>{e.addAction()},condition:e=>{e.addAction(e)},config:e=>{e.addAction(e)}},remove:{attrs:e=>{e.removeAction()},options:e=>{e.removeAction()},conditions:e=>{e.removeAction()}},click:{btn:e=>{e.action()}},save:{form:gn}},ve={init:function(e){const i=Object.keys(Pr);return this.opts=i.reduce((t,n)=>(t[n]={...Pr[n],...e[n]},t),e),this},add:{attrs:e=>ve.opts.add.attr(e),options:e=>ve.opts.add.option(e),conditions:e=>(e.template=e.template||qn(),ve.opts.add.condition(e)),config:e=>ve.opts.add.config(e)},remove:{attrs:e=>ve.opts.remove.attrs(e),options:e=>ve.opts.remove.options(e),conditions:e=>ve.opts.remove.conditions(e)},click:{btn:e=>ve.opts.click.btn(e)},save:{form:e=>(ve.opts.sessionStorage&&Yn.set(Pn,e),Q.formeoSaved({formData:e}),ve.opts.save.form(e))}},Od={get editor(){return{stickyControls:!1,allowEdit:!0,dataType:"json",debug:!1,sessionStorage:!1,editorContainer:null,svgSprite:null,style:yl,iconFont:null,config:{},events:{},actions:{},controls:{container:null},i18n:{location:"https://draggable.github.io/formeo/assets/lang/"},onLoad:()=>{}}}},Se={CREATED:"created",LOADING_RESOURCES:"loading",INITIALIZING:"initializing",READY:"ready",ERROR:"error"},xs=class{#e=Se.CREATED;#i=null;#t=null;#n=!1;constructor({formData:e,...i}={},t){const{actions:n,events:m,debug:f,config:g,editorContainer:c,...o}=De(Od.editor,i);c&&(this.editorContainer=V.resolveContainer(c)||null),this.editorContainerOption=c,this.opts=o,V.setOptions=o,oe.config=g;const h=t||e;this.#t=h?ot(h):null,this.userFormData=this.#t,this.Components=oe,this.dom=V,Q.init({debug:f,...m}),ve.init({debug:f,sessionStorage:o.sessionStorage,...n}),document.readyState==="loading"?document.addEventListener("DOMContentLoaded",this.loadResources.bind(this)):this.loadResources()}get formData(){return this.Components.formData}set formData(e={}){const i=ot(e);this.#t=i,this.userFormData=i,this.load(this.userFormData,this.opts)}loadData(e={}){this.formData=e}get json(){return this.Components.json}clear(){const e=wt();this.#t=e,this.userFormData=e,this.Components.load(this.userFormData,this.opts),this.render()}async loadResources(){document.removeEventListener("DOMContentLoaded",this.loadResources),this.#e=Se.LOADING_RESOURCES;const e=[ad(this.opts.svgSprite),cd(this.opts.style),Z.init({preloaded:{"en-US":Ns},...this.opts.i18n,locale:globalThis.sessionStorage?.getItem(fr)})].filter(Boolean);try{await Promise.all(e),this.opts.allowEdit&&this.init()}catch(i){throw this.#e=Se.ERROR,console.error("Failed to load resources:",i),i}}init(){return this.#e===Se.INITIALIZING?this.#i:this.#e===Se.READY?this.#r():(this.#e=Se.INITIALIZING,this.#i=ct.init(this.opts.controls,this.opts.stickyControls).then(e=>(this.controls=e,this.#n||(this.#s(),this.#n=!0),this.formId=oe.get("id"),this.i18n={setLang:this.#o.bind(this)},this.render(),this.#e=Se.READY,this.opts.onLoad?.(this),this.tooltipInstance=new io,this)).catch(e=>{throw this.#e=Se.ERROR,console.error("Failed to initialize editor:",e),e}),this.#i)}async#o(e){globalThis.sessionStorage?.setItem(fr,e),await Z.setCurrent(e),await this.#r()}async#r(){return this.controls=await ct.init(this.opts.controls,this.opts.stickyControls),this.render(),this}#s(){const e=this.#a();this.Components.load(e,this.opts)}#a(){if(this.#t)return He(this.#t);if(this.opts.sessionStorage){const e=Yn.get(Pn);if(e)return e}return wt()}load(e=this.userFormData,i=this.opts){this.Components.load(e,i),this.render()}get initState(){return this.#e}get isReady(){return this.#e===Se.READY}async whenReady(){return this.#e===Se.READY?this:this.#e===Se.ERROR?Promise.reject(new Error("Editor initialization failed")):this.#i?this.#i:new Promise((e,i)=>{const t=()=>{this.#e===Se.READY?e(this):this.#e===Se.ERROR?i(new Error("Editor initialization failed")):globalThis.requestAnimationFrame(t)};t()})}render(){if(!this.controls)return globalThis.requestAnimationFrame(()=>this.render());if(this.stages=Object.values(oe.get("stages")),this.opts.controlOnLeft)for(const t of this.stages)t.dom.style.order=1;const e={attrs:{className:"formeo formeo-editor",id:this.formId},content:[this.stages.map(({dom:t})=>t)]};Z.current.dir&&(e.attrs.dir=Z.current.dir,V.dir=Z.current.dir),this.editor=V.create(e);const i=this.controls.container||this.editor;i&&(i!==this.editor&&V.empty(i),i.appendChild(this.controls.dom)),!this.editorContainer&&this.editorContainerOption&&(this.editorContainer=V.resolveContainer(this.editorContainerOption)||null,this.editorContainer||console.warn(`Formeo: editorContainer ${String(this.editorContainerOption)} was not found, so the editor was not added to the page.`)),this.editorContainer&&(V.empty(this.editorContainer),this.editorContainer.appendChild(this.editor)),Q.formeoLoaded=new globalThis.CustomEvent("formeoLoaded",{detail:{formeo:this}}),document.dispatchEvent(Q.formeoLoaded)}},Hr=e=>V.resolveContainer(e),Id=({editorContainer:e,renderContainer:i,formData:t,...n}={})=>{const m={renderContainer:Hr(i),editorContainer:Hr(e),formData:ot(t)};return{elements:{},...n,...m}},ti=e=>e.match(Hl)?.[0]||e,Br=e=>{if(!e||e.hasAttribute("hidden")||e.parentElement?.hasAttribute("hidden"))return!1;const i=window.getComputedStyle(e);return!(i.display==="none"||i.visibility==="hidden"||i.opacity==="0")},Dd='input[type="checkbox"], input[type="radio"]',Nd=new Set(["checkbox","radio"]),Es=e=>e?.tagName?.toLowerCase(),As=e=>Es(e)==="input"&&Nd.has(e.type),sr=e=>{if(!e||As(e)||typeof e.querySelectorAll!="function")return null;const i=e.querySelectorAll(Dd);return i.length?Array.from(i):null},Fd=e=>!!sr(e),Wr=e=>{if(!e)return;const i=sr(e);if(i){const t=i.filter(n=>n.checked).map(n=>n.value);return i.every(n=>n.type==="radio")?t[0]??"":t}return Es(e)==="select"&&e.multiple?Array.from(e.selectedOptions,t=>t.value):As(e)?e.checked?e.value:"":e.value},jr=e=>{const i=sr(e);return i?i.some(t=>t.checked):!!e?.checked},Vr={isChecked:e=>jr(e),isNotChecked:e=>!jr(e),value:Wr,checked:Wr,isVisible:e=>Br(e),isNotVisible:e=>!Br(e)},zd=()=>V.btnTemplate({className:"remove-input-group",children:V.icon("remove"),action:{mouseover:({target:e})=>e.parentElement.classList.add("will-remove"),mouseleave:({target:e})=>e.parentElement.classList.remove("will-remove"),click:({target:e})=>e.parentElement.remove()}}),Ur=(e,i)=>Array.isArray(e)?e.some(t=>(0,vn.default)(t,i)):(0,vn.default)(e,i),Gr=(e,i)=>e==null?!1:Array.isArray(e)?e.includes(i):String(e).includes(i),Kr={equals:Ur,notEquals:(e,i)=>!Ur(e,i),contains:Gr,notContains:(e,i)=>!Gr(e,i)},Pd=Object.entries(Ro).reduce((e,[i,t])=>(e[t]=Kr[i],e[i]=Kr[i],e),{}),qr={equals:(e,{targetProperty:i,value:t})=>{e[`_${i}`]=e[i],e[i]=t}},Hd=Object.entries(_o).reduce((e,[i,t])=>(e[t]=qr[i],e[i]=qr[i],e),{}),Yr=e=>{const i=e.closest?.(Ts);i&&V.syncCheckboxGroupRequired(i)},Bd={isChecked:e=>{e.checked=!0,Yr(e)},isNotChecked:e=>{e.checked=!1,Yr(e)},value:(e,{assignment:i,...t})=>{const n=Hd[i]?.(e,t),m=new Event("input",{bubbles:!0});return e.dispatchEvent(m),n},isNotVisible:e=>{e.parentElement.setAttribute("hidden",!0),Wd(e)},isVisible:e=>{e.parentElement.removeAttribute("hidden"),jd(e)}},ks="input, select, textarea",Ts=`[data-${Ei}]`,En=(e,i)=>[...e.matches(i)?[e]:[],...e.querySelectorAll(i)],Wd=e=>{for(const i of En(e,ks))i._required===void 0&&(i._required=i.required),i.required=!1},jd=e=>{for(const i of En(e,ks))i._required!==void 0&&!i.closest("[hidden]")&&(i.required=i._required,delete i._required);for(const i of En(e,Ts))V.syncCheckboxGroupRequired(i)},Vd=new Set(["&&","and"]),Ud=(e=[])=>e.reduce((i,t,n)=>(n>0&&Vd.has(t.logical)?i[i.length-1].push(t):i.push([t]),i),[]),Ms=class{constructor(e={},i){const{renderContainer:t,elements:n,formData:m,config:f,events:g}=Id(e);this.container=t,this.form=ot(i||m),this.elements=n,this.config=f,this.events={...g},this.components=Object.create(null),this.dom=V}get formData(){return this.form}set formData(e){this.form=ot(e)}get userData(){return an(this.container?.querySelector(".formeo-render")||this.renderedForm)}get userFormData(){const e=[];for(const[i,t]of Object.entries(this.userData)){const n={key:i,value:t,label:this.componentByName(i)?.config?.label||""};e.push(n)}return e}componentByName(e){return this.components[ti(e)]||Object.values(this.components).find(i=>i.attrs?.name===e||i.attrs?.name===`${e}[]`)}set userData(e={}){const i=this.container.querySelector("form");for(const t of Object.keys(e)){const n=i.elements[t]??i.elements[`${t}[]`],m=Kd(n);if(m?.[0].type==="checkbox"){const f=Array.isArray(e[t])?e[t]:[e[t]];for(const c of m)c.checked=f.includes(c.value);const g=m[0].closest(`[data-${Ei}]`);g&&V.syncCheckboxGroupRequired(g)}else if(m?.[0].type==="radio")for(const f of m)f.checked=f.value===e[t];else n.type&&(n.value=e[t])}}render(e=this.form){if(!this.container)throw new Error("FormeoRenderer: renderContainer is required for render(); use getRenderedForm() or html without one");this.form=ot(e);const i=this.getRenderedForm(e),t=this.container.querySelector(".formeo-render");t?t.replaceWith(i):this.container.appendChild(i),this.events.onRender?.({form:i,renderer:this,formData:this.form})}getRenderedForm(e=this.form){this.form=ot(e);const i=document.getElementsByClassName("formeo-render").length,t={...this.config,tag:"form",id:this.form.id,className:`formeo-render formeo formeo-rendered-${i}`,children:this.processedData};return this.renderedForm=V.render(t),this.renderedForm.addEventListener("reset",this.syncRequiredGroupsAfterReset),this.applyConditions(),this.bindFormEvents(this.renderedForm),this.renderedForm}syncRequiredGroupsAfterReset=({currentTarget:e})=>{setTimeout(()=>{for(const i of e.querySelectorAll(`[data-${Ei}]`))V.syncCheckboxGroupRequired(i)},0)};bindFormEvents(e){const{onChange:i,onSubmit:t}=this.events;i&&e.addEventListener("input",n=>i({event:n,target:n.target,form:e,userData:an(e)})),t&&e.addEventListener("submit",n=>t({event:n,form:e,userData:an(e)}))}get html(){return(this.renderedForm||this.getRenderedForm()).outerHTML}orderChildren=(e,i)=>i.reduce((t,n)=>(t.push(this.form[e][n]),t),[]);prefixId=e=>"f-"+e;processColumn=({id:e,...i})=>({...i,id:this.prefixId(e),children:this.processFields(i.children),style:`width: ${i.config.width||"100%"}`});processRows=e=>this.orderChildren("rows",this.form.stages[e].children).reduce((i,t)=>(t&&i.push(this.processRow(t)),i),[]);cacheComponent=e=>(this.components[ti(e.id)]=e,e);processRow=(e,i="row")=>{const{config:t,id:n}=e,m=[`formeo-${i}-wrap`],f={...e,children:this.processColumns(e.id),id:this.prefixId(n)};this.cacheComponent(f);const g=[{condition:t.legend,result:()=>({tag:t.fieldset?"legend":"h3",children:t.legend})},{condition:!0,result:()=>f},{condition:t.inputGroup,result:()=>this.addButton(n)}].reduce((c,{condition:o,result:h})=>(o&&c.push(h()),c),[]);return t.inputGroup&&m.push("f-input-group-wrap"),{tag:t.fieldset?"fieldset":"div",className:m,children:g}};cloneComponentData=e=>{const{children:i=[],id:t,attrs:n={},...m}=this.components[e],f={...n,"data-clone-of":t};return m.options&&["checkbox","radio"].includes(n.type)?delete f.name:m.tag==="input"&&(f.name=Cs(this.components[e])),{...m,id:"f-"+Me(t),children:i?.length&&i.map(({id:g})=>this.cloneComponentData(ti(g))),attrs:f}};addButton=e=>({tag:"button",attrs:{className:"add-input-group btn pull-right",type:"button"},children:"Add +",action:{click:i=>{const t=i.target.parentElement,n=V.create(this.cloneComponentData(e));t.insertBefore(n,t.lastChild);const m=V.create(zd());n.appendChild(m)}}});processColumns=e=>this.orderChildren("columns",this.form.rows[e].children).map(i=>this.cacheComponent(this.processColumn(i)));processFields=e=>this.orderChildren("fields",e).map(({id:i,...t})=>{const n=t.config?.controlId||t.meta?.id,{action:m={},dependencies:f={}}=this.elements[n]||{};f&&gs(f);const g=De({action:m},t);return this.cacheComponent({...g,id:this.prefixId(i)})});get processedData(){return Object.values(this.form.stages).map(e=>(e.children=this.processRows(e.id),e.className=kt,this.components[ti(e.id)]=e,e))}applyConditions=()=>{for(const{conditions:e}of Object.values(this.components))if(e)for(const i of e)try{this.applyCondition(i)}catch(t){console.error("formeo: condition skipped",i,t)}};applyCondition=({if:e=[],then:i=[]})=>{const t=Ud(e);let n=!1;const m=g=>{if(!n){n=!0;try{if(this.evaluateClauseGroups(t))for(const c of i)this.execResult(c,g)}finally{n=!1}}},f=new Set(e.flatMap(({source:g,target:c})=>[g,c]).filter(Te));for(const g of f){const{component:c,options:o}=this.getComponent(g);this.listenForChanges(o||c,m)}m({target:null})};evaluateClauseGroups=e=>e.some(i=>i.length&&i.every(t=>this.evaluateCondition(t)));listenForChanges=(e,i)=>{if(!e)return;if(Yd(e)){for(const n of e)this.listenForChanges(n,i);return}const t=Qd(e);t&&e.addEventListener(t,i,!1)};evaluateCondition=({source:e,sourceProperty:i,targetProperty:t,comparison:n,target:m})=>{if(!Te(e)||!this.getComponent(e)?.component)return!1;const f=this.getComponentProperty(e,i);if(typeof f=="boolean")return f;const g=String(Te(m)?this.getComponentProperty(m,t):m);return Pd[n]?.(f,g)};execResult=({target:e,targetProperty:i,assignment:t,value:n})=>{if(Te(e)){const{component:m,option:f}=this.getComponent(e),g=f||m;Bd[i]?.(g,{targetProperty:i,assignment:t,value:n})}};getComponentProperty=(e,i)=>{const{component:t,option:n}=this.getComponent(e)||{},m=n||t;if(m)return Vr[i]?Vr[i](m):m[i]};getComponent=e=>{const i={component:null};if(!Te(e))return null;const[,t,n,m]=lt(e);let f=null;try{f=this.renderedForm.querySelector(`#f-${t}`)}catch{}if(!f)return i;if(i.component=f,n){const g=f.querySelectorAll("input"),c=g[m];return i.options=g,i.option=c,i}return i};getComponents=e=>{const i=[],t=`f-${e.slice(e.indexOf(".")+1)}`;return i.push(...this.renderedForm.querySelectorAll(`[name="${t}"], [name="${t}[]"]`)),i}},Gd=e=>e.endsWith("[]")?e.slice(0,-2):e,an=e=>{if(!e)return{};const i=new FormData(e),t={};for(const[n,m]of i.entries()){const f=Gd(n);Object.hasOwn(t,f)?Array.isArray(t[f])?t[f].push(m):t[f]=[t[f],m]:t[f]=m}return t},Zr=e=>["checkbox","radio"].includes(e?.type),Kd=e=>Zr(e)?[e]:e?.length&&Zr(e[0])?Array.from(e):null,qd=e=>!!e&&typeof e.nodeType=="number",Yd=e=>!!e&&!qd(e)&&typeof e.length=="number",Qr=e=>e.tagName?.toLowerCase(),Zd=[["change",e=>Fd(e)],["change",e=>Qr(e)==="select"||["checkbox","radio"].includes(e.type)],["input",e=>["input","textarea"].includes(Qr(e))]],Qd=e=>{const[i]=Zd.find(t=>t[1](e))||[!1];return i};window!==void 0&&(window.FormeoEditor=xs,window.FormeoRenderer=Ms);var ar=xs,lr=Ms,Xd={rows:{all:{events:{onAdd:e=>{if(console.log(`You just added a new row with the id "${e.target.id}"`,e.index),e.index===2){const i=e.target.dom.querySelector(".action-btn-wrap"),t=document.createElement("button");t.type="button",t.className="btn btn-sm btn-secondary",t.textContent="Add Column",t.style.border="1px solid #ccc",t.style.width="auto",t.addEventListener("click",()=>{e.target.addChild()}),i.appendChild(t)}}}}},fields:{all:{panels:{attrs:{}},events:{onRemove:e=>{console.log(`You just removed the field with the id "${e.target.id}"`,e)}}},"text-input":{attrs:{type:[{label:"text",value:"text"},{label:"phone",value:"phone"},{label:"email",value:"email"}]},config:{helpText:"This is a custom help text for text input fields.",hideLabel:!1}},checkbox:{actionButtons:{},panels:{attrs:{hideDisabled:!0}}}}},Jd={sortable:!1,groupOrder:["common","html"],disable:{},elements:[{tag:"input",config:{label:"Email",disabledAttrs:["type"],lockedAttrs:["required","className"]},meta:{group:"common",id:"email",icon:"@"},attrs:{className:"custom-email",type:"email",required:!0}}],elementOrder:{common:["button","checkbox","date-input","hidden","upload","number","radio","select","text-input","textarea"]}},eh=".build-form",th=".render-form",jt={editorContainer:eh,actions:{},controls:Jd,config:Xd,events:{onSave:console.log,onChange:console.log},style:null,sessionStorage:!0,onLoad:()=>{console.log("demo loaded")}},cr={renderContainer:th,elements:{tinymce:{action:{onRender:e=>{if(e.id){const i=`#${e.id}`;globalThis.tinymce.remove(i),globalThis.tinymce.init({selector:i})}}}}}};async function ih(e){e.innerHTML=`
12
+ `),n={};for(let m,f=0;f<t.length;f++)m=/^(.+?) *?= *?([^\n]+)/.exec(t[f]),m&&(n[m[1]]=m[2].trim());return n}static getInstance(i){return Pt||(Pt=new qt(i)),Pt}static resetInstance(){Pt=null}async loadLang(i,t=!0){if(this.loaded.includes(i)&&t)return this.langs[i];const n=`${this.config.location}${i}${this.config.extension}`;try{const m=await(async function(g){try{const c=await fetch(g);if(!c.ok)throw new Error(`HTTP error! status: ${c.status}`);return await c[g.endsWith(".lang")?"text":"json"]()}catch(c){throw c}})(n),f=qt.processFile(m);return this.applyLanguage(i,f),this.langs[i]}catch{return this.applyLanguage(i)}}applyLanguage(i,t={}){const n=this.config.override[i]||{},m=this.langs[i]||{};return this.langs[i]={...m,...t,...n},this.loaded.push(i),this.langs[i]}get getLangs(){return this.config.langs}async setCurrent(i="en-US"){return this.loaded.includes(i)||await this.loadLang(i),this.locale=i,this.current=this.langs[i],this.current}},{apply:(e,i,t)=>e.getInstance(...t),construct:(e,i)=>new e(...i),get:(e,i)=>e[i]}),Z=jr.getInstance();(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('._3x4ZIcu-{position:absolute;background:#1f2937;color:#fff;padding:.75rem;border-radius:.375rem;max-width:200px;z-index:50;visibility:hidden;opacity:0;transition:opacity .2s;pointer-events:none;left:0;top:0}._3x4ZIcu-.JIt36hCJ{visibility:visible;opacity:1;pointer-events:all}._3x4ZIcu-:before{content:"";position:absolute;width:0;height:0;border:6px solid transparent}._3x4ZIcu-[data-position=top]:before{border-top-color:#1f2937;bottom:-12px;left:50%;transform:translate(-50%)}._3x4ZIcu-[data-position=bottom]:before{border-bottom-color:#1f2937;top:-12px;left:50%;transform:translate(-50%)}._3x4ZIcu-[data-position=left]:before{border-left-color:#1f2937;right:-12px;top:50%;transform:translateY(-50%)}._3x4ZIcu-[data-position=right]:before{border-right-color:#1f2937;left:-12px;top:50%;transform:translateY(-50%)}._3x4ZIcu-[data-position=top-left]:before{border-top-color:#1f2937;bottom:-12px;left:12px;transform:none}._3x4ZIcu-[data-position=top-right]:before{border-top-color:#1f2937;bottom:-12px;right:12px;left:auto;transform:none}._3x4ZIcu-[data-position=bottom-left]:before{border-bottom-color:#1f2937;top:-12px;left:12px;transform:none}._3x4ZIcu-[data-position=bottom-right]:before{border-bottom-color:#1f2937;top:-12px;right:12px;left:auto;transform:none}')),document.head.appendChild(e)}}catch(i){console.error("vite-plugin-css-injected-by-js",i)}})();var Ms=Object.defineProperty,$s=(e,i,t)=>i in e?Ms(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t,Oe=(e,i,t)=>$s(e,typeof i!="symbol"?i+"":i,t),St={tooltip:"_3x4ZIcu-",visible:"JIt36hCJ"},Ls={triggerName:"tooltip"},Vr=class ut{constructor(i=Ls){Oe(this,"triggerName"),Oe(this,"tooltip"),Oe(this,"activeTriggerType",null),Oe(this,"spacing",12),Oe(this,"handleClick",t=>{const n=this.triggerName,m=t.target.closest(`[${n}][${n}-type="click"]`);if(m)if(this.isVisible())this.hide();else{const f=m.getAttribute(`${n}`);this.show(m,f),this.activeTriggerType="click"}else this.hide()}),Oe(this,"handleMouseOver",t=>{const n=this.triggerName,m=t.target.closest(`[${n}]`);if(this.activeTriggerType!=="click"&&m?.getAttribute(`${n}-type`)!=="click"){const f=m?.getAttribute(`${n}`);f&&(this.show(m,f),this.activeTriggerType="hover")}}),Oe(this,"handleMouseOut",t=>{const n=this.triggerName,m=t.target.closest(`[${n}]`);this.activeTriggerType!=="click"&&m?.getAttribute(`${n}-type`)!=="click"&&this.hide()}),Oe(this,"handleResize",()=>{this.isVisible()&&this.hide()}),Oe(this,"handleScroll",()=>{this.isVisible()&&this.hide()}),ut.instance&&ut.instance.destroy(),this.triggerName=`data-${i.triggerName}`,this.tooltip=document.createElement("div"),this.tooltip.className=`d-tooltip ${St.tooltip}`,document.body.appendChild(this.tooltip),this.setupEventListeners(),ut.instance=this}setupEventListeners(){document.addEventListener("mouseover",this.handleMouseOver),document.addEventListener("mouseout",this.handleMouseOut),document.addEventListener("touchstart",this.handleMouseOver),document.addEventListener("touchend",this.handleMouseOut),document.addEventListener("click",this.handleClick),globalThis.addEventListener("resize",this.handleResize),globalThis.addEventListener("scroll",this.handleScroll,!0)}isVisible(){return this.tooltip.classList.contains(St.visible)}calculatePosition(i){const t=i.getBoundingClientRect(),n=this.tooltip.getBoundingClientRect(),m=[{name:"top",x:t.left+(t.width-n.width)/2,y:t.top-n.height-this.spacing},{name:"bottom",x:t.left+(t.width-n.width)/2,y:t.bottom+this.spacing},{name:"left",x:t.left-n.width-this.spacing,y:t.top+(t.height-n.height)/2},{name:"right",x:t.right+this.spacing,y:t.top+(t.height-n.height)/2},{name:"top-left",x:t.left,y:t.top-n.height-this.spacing},{name:"top-right",x:t.right-n.width,y:t.top-n.height-this.spacing},{name:"bottom-left",x:t.left,y:t.bottom+this.spacing},{name:"bottom-right",x:t.right-n.width,y:t.bottom+this.spacing}];return m.find(f=>this.fitsInViewport(f,n))||m[0]}fitsInViewport(i,t){return i.x>=0&&i.y>=0&&i.x+t.width<=globalThis.innerWidth&&i.y+t.height<=globalThis.innerHeight?[[i.x,i.y],[i.x+t.width,i.y],[i.x,i.y+t.height],[i.x+t.width,i.y+t.height],[i.x+t.width/2,i.y+t.height/2]].flatMap(([n,m])=>Array.from(document.elementsFromPoint(n,m))).filter(n=>{if(this.tooltip.contains(n)||n===this.tooltip||n.classList.contains(St.tooltip)||getComputedStyle(n).pointerEvents==="none")return!1}).length===0:!1}show(i,t){this.tooltip.innerHTML=t??"",this.tooltip.classList.add(St.visible);const n=this.calculatePosition(i);this.tooltip.style.left=`${n.x}px`,this.tooltip.style.top=`${n.y}px`,this.tooltip.dataset.position=n.name}hide(){this.tooltip.classList.remove(St.visible),this.activeTriggerType=null}destroy(){document.removeEventListener("mouseover",this.handleMouseOver),document.removeEventListener("mouseout",this.handleMouseOut),document.removeEventListener("touchstart",this.handleMouseOver),document.removeEventListener("touchend",this.handleMouseOut),document.removeEventListener("click",this.handleClick),globalThis.removeEventListener("resize",this.handleResize),globalThis.removeEventListener("scroll",this.handleScroll,!0),this.tooltip.remove(),ut.instance===this&&(ut.instance=null)}};Oe(Vr,"instance",null);var Ur=Vr;globalThis!==void 0&&(globalThis.SmartTooltip=Ur);var Rs="formeo",_s="5.3.3",Os="module",Is="dist/formeo.cjs.js",Ds="dist/formeo.es.js",Ns="dist/formeo.umd.js",Fs={".":{import:"./dist/formeo.es.js",require:"./dist/formeo.cjs.js",default:"./dist/formeo.umd.js"},"./dist/formeo.min.css":{import:"./dist/formeo.min.css",require:"./dist/formeo.min.css",default:"./dist/formeo.min.css"}},zs=["dist/*","demo/**/*"],Ps="https://formeo.io",Hs={url:"https://github.com/Draggable/formeo",type:"git"},Bs="Draggable https://draggable.io",Ws=[{name:"Kevin Chappell",email:"kevin@chappell.dev",url:"https://kevin-chappell.com"}],js={url:"https://github.com/draggable/formeo/issues"},Vs="A zero dependency JavaScript module for drag and drop form creation.",Us=["drag and drop","form builder","form maker","forms"];var Gs=["**/*","node_modules","test"],Ks={files:{test:["test/**/*.spec.js"],"formeo-editor":{js:"src/js/editor.js"},"formeo-renderer":{js:"src/js/renderer.js"},site:["demo/assets/sass/site.scss"]}},qs={dev:"vite --mode development",preview:"vite preview","prebuild:lib":`node -e "require('node:fs').rmSync('dist', { recursive: true, force: true })"`,"build:lib":"npm-run-all -p build:lib:unminified build:lib:minified","build:lib:unminified":"vite build --config vite.config.lib.mjs --mode production","build:lib:minified":"vite build --config vite.config.lib.mjs --mode production-minified",build:"npm-run-all -p build:icons build:demo",prebuild:"npm run build:lib",postbuild:"npm run generate:jsonSchema","build:demo":"vite build --mode demo","postbuild:demo":"node --no-warnings tools/copy-assets.mjs","build:demo:watch":"vite build --mode demo --watch","build:icons":"node ./tools/generate-sprite",lint:"biome check ./src && node tools/check-color-literals.mjs && node tools/check-doc-links.mjs","lint:fix":"biome check --write ./src",format:"biome format --write .",test:"node --loader=./tools/svg-loader.mjs --import=./tools/__mocks__/sprite-init.mjs --experimental-test-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}","test:watch":"node --watch --loader=./tools/svg-loader.mjs --import=./tools/__mocks__/sprite-init.mjs --experimental-test-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}","test:updateSnapshots":"node --loader=./tools/svg-loader.mjs --import=./tools/__mocks__/sprite-init.mjs --experimental-test-snapshots --test-update-snapshots --require ./tools/test-setup.cjs --test --no-warnings src/**/*.test.{js,mjs}","test:ci":"npm test --coverage",start:"npm-run-all build:icons dev","semantic-release":"semantic-release --ci --debug","copy:lang":"node ./tools/copy-directory.mjs ./node_modules/formeo-i18n/dist/lang ./src/demo/assets/lang","travis-deploy-once":"travis-deploy-once --pro","playwright:test":"playwright test","playwright:test:ui":"playwright test --ui","playwright:test:report":"playwright show-report","playwright:test:ci":"playwright test --reporter=dot",prepush:"npm test",prepare:"lefthook install",postmerge:"lefthook install","generate:jsonSchema":"node --experimental-strip-types --no-warnings ./tools/generate-json-schema.ts"},Ys={"@biomejs/biome":"^2.3.3","@commitlint/cli":"^21.0.1","@commitlint/config-conventional":"^21.0.1","@playwright/test":"^1.49.1","@semantic-release/changelog":"^6.0.3","@semantic-release/git":"^10.0.1","@semantic-release/github":"^12.0.8","@semantic-release/npm":"^13.1.3","@types/node":"^25.8.0","ace-builds":"^1.36.5",esbuild:"^0.28.0",jsdom:"^29.1.1",lefthook:"^2.1.6","npm-run-all":"^4.1.5","sass-embedded":"^1.80.1","semantic-release":"^25.0.2","svg-sprite":"^2.0.4",vite:"^8.0.13","vite-plugin-banner":"^0.8.0","vite-plugin-compression":"^0.5.1","vite-plugin-html":"^3.2.2",zod:"^4.4.3"},Zs={"@draggable/formeo-languages":"^3.4.1","@draggable/i18n":"^1.0.7","@draggable/tooltip":"^1.2.2",lodash:"^4.17.21",sortablejs:"^1.15.3"},Qs={branches:["main"],verifyConditions:["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git","@semantic-release/github"],prepare:["@semantic-release/changelog","@semantic-release/npm","@semantic-release/git"],publish:["@semantic-release/npm","@semantic-release/github"],success:["@semantic-release/github"],fail:["@semantic-release/github"]},Xs={extends:["@commitlint/config-conventional"],rules:{"type-enum":[2,"always",["build","chore","ci","docs","feat","fix","perf","refactor","revert","style","test"]]}},Gr={name:Rs,version:_s,type:Os,main:Is,module:Ds,unpkg:Ns,exports:Fs,files:zs,homepage:Ps,repository:Hs,author:Bs,contributors:Ws,bugs:js,description:Vs,keywords:Us,license:"MIT",ignore:Gs,config:Ks,scripts:qs,devDependencies:Ys,dependencies:Zs,release:Qs,commitlint:Xs},Js=j(((e,i)=>{function t(){this.__data__=[],this.size=0}i.exports=t})),Dt=j(((e,i)=>{function t(n,m){return n===m||n!==n&&m!==m}i.exports=t})),gi=j(((e,i)=>{var t=Dt();function n(m,f){for(var g=m.length;g--;)if(t(m[g][0],f))return g;return-1}i.exports=n})),ea=j(((e,i)=>{var t=gi(),n=Array.prototype.splice;function m(f){var g=this.__data__,c=t(g,f);return c<0?!1:(c==g.length-1?g.pop():n.call(g,c,1),--this.size,!0)}i.exports=m})),ta=j(((e,i)=>{var t=gi();function n(m){var f=this.__data__,g=t(f,m);return g<0?void 0:f[g][1]}i.exports=n})),ia=j(((e,i)=>{var t=gi();function n(m){return t(this.__data__,m)>-1}i.exports=n})),na=j(((e,i)=>{var t=gi();function n(m,f){var g=this.__data__,c=t(g,m);return c<0?(++this.size,g.push([m,f])):g[c][1]=f,this}i.exports=n})),mi=j(((e,i)=>{var t=Js(),n=ea(),m=ta(),f=ia(),g=na();function c(o){var h=-1,d=o==null?0:o.length;for(this.clear();++h<d;){var u=o[h];this.set(u[0],u[1])}}c.prototype.clear=t,c.prototype.delete=n,c.prototype.get=m,c.prototype.has=f,c.prototype.set=g,i.exports=c})),ra=j(((e,i)=>{var t=mi();function n(){this.__data__=new t,this.size=0}i.exports=n})),oa=j(((e,i)=>{function t(n){var m=this.__data__,f=m.delete(n);return this.size=m.size,f}i.exports=t})),sa=j(((e,i)=>{function t(n){return this.__data__.get(n)}i.exports=t})),aa=j(((e,i)=>{function t(n){return this.__data__.has(n)}i.exports=t})),Kr=j(((e,i)=>{var t=typeof global=="object"&&global&&global.Object===Object&&global;i.exports=t})),ze=j(((e,i)=>{var t=Kr(),n=typeof self=="object"&&self&&self.Object===Object&&self,m=t||n||Function("return this")();i.exports=m})),vi=j(((e,i)=>{var t=ze().Symbol;i.exports=t})),la=j(((e,i)=>{var t=vi(),n=Object.prototype,m=n.hasOwnProperty,f=n.toString,g=t?t.toStringTag:void 0;function c(o){var h=m.call(o,g),d=o[g];try{o[g]=void 0;var u=!0}catch{}var l=f.call(o);return u&&(h?o[g]=d:delete o[g]),l}i.exports=c})),ca=j(((e,i)=>{var t=Object.prototype.toString;function n(m){return t.call(m)}i.exports=n})),bt=j(((e,i)=>{var t=vi(),n=la(),m=ca(),f="[object Null]",g="[object Undefined]",c=t?t.toStringTag:void 0;function o(h){return h==null?h===void 0?g:f:c&&c in Object(h)?n(h):m(h)}i.exports=o})),Qe=j(((e,i)=>{function t(n){var m=typeof n;return n!=null&&(m=="object"||m=="function")}i.exports=t})),fn=j(((e,i)=>{var t=bt(),n=Qe(),m="[object AsyncFunction]",f="[object Function]",g="[object GeneratorFunction]",c="[object Proxy]";function o(h){if(!n(h))return!1;var d=t(h);return d==f||d==g||d==m||d==c}i.exports=o})),ua=j(((e,i)=>{var t=ze()["__core-js_shared__"];i.exports=t})),da=j(((e,i)=>{var t=ua(),n=(function(){var f=/[^.]+$/.exec(t&&t.keys&&t.keys.IE_PROTO||"");return f?"Symbol(src)_1."+f:""})();function m(f){return!!n&&n in f}i.exports=m})),qr=j(((e,i)=>{var t=Function.prototype.toString;function n(m){if(m!=null){try{return t.call(m)}catch{}try{return m+""}catch{}}return""}i.exports=n})),ha=j(((e,i)=>{var t=fn(),n=da(),m=Qe(),f=qr(),g=/[\\^$.*+?()[\]{}|]/g,c=/^\[object .+?Constructor\]$/,o=Function.prototype,h=Object.prototype,d=o.toString,u=h.hasOwnProperty,l=RegExp("^"+d.call(u).replace(g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function s(r){return!m(r)||n(r)?!1:(t(r)?l:c).test(f(r))}i.exports=s})),pa=j(((e,i)=>{function t(n,m){return n?.[m]}i.exports=t})),ot=j(((e,i)=>{var t=ha(),n=pa();function m(f,g){var c=n(f,g);return t(c)?c:void 0}i.exports=m})),gn=j(((e,i)=>{var t=ot()(ze(),"Map");i.exports=t})),yi=j(((e,i)=>{var t=ot()(Object,"create");i.exports=t})),fa=j(((e,i)=>{var t=yi();function n(){this.__data__=t?t(null):{},this.size=0}i.exports=n})),ga=j(((e,i)=>{function t(n){var m=this.has(n)&&delete this.__data__[n];return this.size-=m?1:0,m}i.exports=t})),ma=j(((e,i)=>{var t=yi(),n="__lodash_hash_undefined__",m=Object.prototype.hasOwnProperty;function f(g){var c=this.__data__;if(t){var o=c[g];return o===n?void 0:o}return m.call(c,g)?c[g]:void 0}i.exports=f})),va=j(((e,i)=>{var t=yi(),n=Object.prototype.hasOwnProperty;function m(f){var g=this.__data__;return t?g[f]!==void 0:n.call(g,f)}i.exports=m})),ya=j(((e,i)=>{var t=yi(),n="__lodash_hash_undefined__";function m(f,g){var c=this.__data__;return this.size+=this.has(f)?0:1,c[f]=t&&g===void 0?n:g,this}i.exports=m})),ba=j(((e,i)=>{var t=fa(),n=ga(),m=ma(),f=va(),g=ya();function c(o){var h=-1,d=o==null?0:o.length;for(this.clear();++h<d;){var u=o[h];this.set(u[0],u[1])}}c.prototype.clear=t,c.prototype.delete=n,c.prototype.get=m,c.prototype.has=f,c.prototype.set=g,i.exports=c})),wa=j(((e,i)=>{var t=ba(),n=mi(),m=gn();function f(){this.size=0,this.__data__={hash:new t,map:new(m||n),string:new t}}i.exports=f})),Ca=j(((e,i)=>{function t(n){var m=typeof n;return m=="string"||m=="number"||m=="symbol"||m=="boolean"?n!=="__proto__":n===null}i.exports=t})),bi=j(((e,i)=>{var t=Ca();function n(m,f){var g=m.__data__;return t(f)?g[typeof f=="string"?"string":"hash"]:g.map}i.exports=n})),Sa=j(((e,i)=>{var t=bi();function n(m){var f=t(this,m).delete(m);return this.size-=f?1:0,f}i.exports=n})),xa=j(((e,i)=>{var t=bi();function n(m){return t(this,m).get(m)}i.exports=n})),Ea=j(((e,i)=>{var t=bi();function n(m){return t(this,m).has(m)}i.exports=n})),Aa=j(((e,i)=>{var t=bi();function n(m,f){var g=t(this,m),c=g.size;return g.set(m,f),this.size+=g.size==c?0:1,this}i.exports=n})),mn=j(((e,i)=>{var t=wa(),n=Sa(),m=xa(),f=Ea(),g=Aa();function c(o){var h=-1,d=o==null?0:o.length;for(this.clear();++h<d;){var u=o[h];this.set(u[0],u[1])}}c.prototype.clear=t,c.prototype.delete=n,c.prototype.get=m,c.prototype.has=f,c.prototype.set=g,i.exports=c})),ka=j(((e,i)=>{var t=mi(),n=gn(),m=mn(),f=200;function g(c,o){var h=this.__data__;if(h instanceof t){var d=h.__data__;if(!n||d.length<f-1)return d.push([c,o]),this.size=++h.size,this;h=this.__data__=new m(d)}return h.set(c,o),this.size=h.size,this}i.exports=g})),Yr=j(((e,i)=>{var t=mi(),n=ra(),m=oa(),f=sa(),g=aa(),c=ka();function o(h){var d=this.__data__=new t(h);this.size=d.size}o.prototype.clear=n,o.prototype.delete=m,o.prototype.get=f,o.prototype.has=g,o.prototype.set=c,i.exports=o})),Zr=j(((e,i)=>{var t=ot(),n=(function(){try{var m=t(Object,"defineProperty");return m({},"",{}),m}catch{}})();i.exports=n})),vn=j(((e,i)=>{var t=Zr();function n(m,f,g){f=="__proto__"&&t?t(m,f,{configurable:!0,enumerable:!0,value:g,writable:!0}):m[f]=g}i.exports=n})),Qr=j(((e,i)=>{var t=vn(),n=Dt();function m(f,g,c){(c!==void 0&&!n(f[g],c)||c===void 0&&!(g in f))&&t(f,g,c)}i.exports=m})),Ta=j(((e,i)=>{function t(n){return function(m,f,g){for(var c=-1,o=Object(m),h=g(m),d=h.length;d--;){var u=h[n?d:++c];if(f(o[u],u,o)===!1)break}return m}}i.exports=t})),Ma=j(((e,i)=>{var t=Ta()();i.exports=t})),$a=j(((e,i)=>{var t=ze(),n=typeof e=="object"&&e&&!e.nodeType&&e,m=n&&typeof i=="object"&&i&&!i.nodeType&&i,f=m&&m.exports===n?t.Buffer:void 0,g=f?f.allocUnsafe:void 0;function c(o,h){if(h)return o.slice();var d=o.length,u=g?g(d):new o.constructor(d);return o.copy(u),u}i.exports=c})),Xr=j(((e,i)=>{var t=ze().Uint8Array;i.exports=t})),La=j(((e,i)=>{var t=Xr();function n(m){var f=new m.constructor(m.byteLength);return new t(f).set(new t(m)),f}i.exports=n})),Ra=j(((e,i)=>{var t=La();function n(m,f){var g=f?t(m.buffer):m.buffer;return new m.constructor(g,m.byteOffset,m.length)}i.exports=n})),_a=j(((e,i)=>{function t(n,m){var f=-1,g=n.length;for(m||(m=Array(g));++f<g;)m[f]=n[f];return m}i.exports=t})),Oa=j(((e,i)=>{var t=Qe(),n=Object.create,m=(function(){function f(){}return function(g){if(!t(g))return{};if(n)return n(g);f.prototype=g;var c=new f;return f.prototype=void 0,c}})();i.exports=m})),Jr=j(((e,i)=>{function t(n,m){return function(f){return n(m(f))}}i.exports=t})),eo=j(((e,i)=>{var t=Jr()(Object.getPrototypeOf,Object);i.exports=t})),yn=j(((e,i)=>{var t=Object.prototype;function n(m){var f=m&&m.constructor;return m===(typeof f=="function"&&f.prototype||t)}i.exports=n})),Ia=j(((e,i)=>{var t=Oa(),n=eo(),m=yn();function f(g){return typeof g.constructor=="function"&&!m(g)?t(n(g)):{}}i.exports=f})),st=j(((e,i)=>{function t(n){return n!=null&&typeof n=="object"}i.exports=t})),Da=j(((e,i)=>{var t=bt(),n=st(),m="[object Arguments]";function f(g){return n(g)&&t(g)==m}i.exports=f})),to=j(((e,i)=>{var t=Da(),n=st(),m=Object.prototype,f=m.hasOwnProperty,g=m.propertyIsEnumerable,c=t((function(){return arguments})())?t:function(o){return n(o)&&f.call(o,"callee")&&!g.call(o,"callee")};i.exports=c})),at=j(((e,i)=>{var t=Array.isArray;i.exports=t})),io=j(((e,i)=>{var t=9007199254740991;function n(m){return typeof m=="number"&&m>-1&&m%1==0&&m<=t}i.exports=n})),wi=j(((e,i)=>{var t=fn(),n=io();function m(f){return f!=null&&n(f.length)&&!t(f)}i.exports=m})),Na=j(((e,i)=>{var t=wi(),n=st();function m(f){return n(f)&&t(f)}i.exports=m})),Fa=j(((e,i)=>{function t(){return!1}i.exports=t})),bn=j(((e,i)=>{var t=ze(),n=Fa(),m=typeof e=="object"&&e&&!e.nodeType&&e,f=m&&typeof i=="object"&&i&&!i.nodeType&&i,g=f&&f.exports===m?t.Buffer:void 0,c=(g?g.isBuffer:void 0)||n;i.exports=c})),za=j(((e,i)=>{var t=bt(),n=eo(),m=st(),f="[object Object]",g=Function.prototype,c=Object.prototype,o=g.toString,h=c.hasOwnProperty,d=o.call(Object);function u(l){if(!m(l)||t(l)!=f)return!1;var s=n(l);if(s===null)return!0;var r=h.call(s,"constructor")&&s.constructor;return typeof r=="function"&&r instanceof r&&o.call(r)==d}i.exports=u})),Pa=j(((e,i)=>{var t=bt(),n=io(),m=st(),f="[object Arguments]",g="[object Array]",c="[object Boolean]",o="[object Date]",h="[object Error]",d="[object Function]",u="[object Map]",l="[object Number]",s="[object Object]",r="[object RegExp]",a="[object Set]",p="[object String]",v="[object WeakMap]",y="[object ArrayBuffer]",k="[object DataView]",x="[object Float32Array]",w="[object Float64Array]",S="[object Int8Array]",M="[object Int16Array]",L="[object Int32Array]",R="[object Uint8Array]",$="[object Uint8ClampedArray]",D="[object Uint16Array]",T="[object Uint32Array]",E={};E[x]=E[w]=E[S]=E[M]=E[L]=E[R]=E[$]=E[D]=E[T]=!0,E[f]=E[g]=E[y]=E[c]=E[k]=E[o]=E[h]=E[d]=E[u]=E[l]=E[s]=E[r]=E[a]=E[p]=E[v]=!1;function C(b){return m(b)&&n(b.length)&&!!E[t(b)]}i.exports=C})),Ha=j(((e,i)=>{function t(n){return function(m){return n(m)}}i.exports=t})),Ba=j(((e,i)=>{var t=Kr(),n=typeof e=="object"&&e&&!e.nodeType&&e,m=n&&typeof i=="object"&&i&&!i.nodeType&&i,f=m&&m.exports===n&&t.process,g=(function(){try{var c=m&&m.require&&m.require("util").types;return c||f&&f.binding&&f.binding("util")}catch{}})();i.exports=g})),wn=j(((e,i)=>{var t=Pa(),n=Ha(),m=Ba(),f=m&&m.isTypedArray,g=f?n(f):t;i.exports=g})),no=j(((e,i)=>{function t(n,m){if(!(m==="constructor"&&typeof n[m]=="function")&&m!="__proto__")return n[m]}i.exports=t})),ro=j(((e,i)=>{var t=vn(),n=Dt(),m=Object.prototype.hasOwnProperty;function f(g,c,o){var h=g[c];(!(m.call(g,c)&&n(h,o))||o===void 0&&!(c in g))&&t(g,c,o)}i.exports=f})),Wa=j(((e,i)=>{var t=ro(),n=vn();function m(f,g,c,o){var h=!c;c||(c={});for(var d=-1,u=g.length;++d<u;){var l=g[d],s=o?o(c[l],f[l],l,c,f):void 0;s===void 0&&(s=f[l]),h?n(c,l,s):t(c,l,s)}return c}i.exports=m})),ja=j(((e,i)=>{function t(n,m){for(var f=-1,g=Array(n);++f<n;)g[f]=m(f);return g}i.exports=t})),Cn=j(((e,i)=>{var t=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function m(f,g){var c=typeof f;return g=g??t,!!g&&(c=="number"||c!="symbol"&&n.test(f))&&f>-1&&f%1==0&&f<g}i.exports=m})),oo=j(((e,i)=>{var t=ja(),n=to(),m=at(),f=bn(),g=Cn(),c=wn(),o=Object.prototype.hasOwnProperty;function h(d,u){var l=m(d),s=!l&&n(d),r=!l&&!s&&f(d),a=!l&&!s&&!r&&c(d),p=l||s||r||a,v=p?t(d.length,String):[],y=v.length;for(var k in d)(u||o.call(d,k))&&!(p&&(k=="length"||r&&(k=="offset"||k=="parent")||a&&(k=="buffer"||k=="byteLength"||k=="byteOffset")||g(k,y)))&&v.push(k);return v}i.exports=h})),Va=j(((e,i)=>{function t(n){var m=[];if(n!=null)for(var f in Object(n))m.push(f);return m}i.exports=t})),Ua=j(((e,i)=>{var t=Qe(),n=yn(),m=Va(),f=Object.prototype.hasOwnProperty;function g(c){if(!t(c))return m(c);var o=n(c),h=[];for(var d in c)d=="constructor"&&(o||!f.call(c,d))||h.push(d);return h}i.exports=g})),so=j(((e,i)=>{var t=oo(),n=Ua(),m=wi();function f(g){return m(g)?t(g,!0):n(g)}i.exports=f})),Ga=j(((e,i)=>{var t=Wa(),n=so();function m(f){return t(f,n(f))}i.exports=m})),Ka=j(((e,i)=>{var t=Qr(),n=$a(),m=Ra(),f=_a(),g=Ia(),c=to(),o=at(),h=Na(),d=bn(),u=fn(),l=Qe(),s=za(),r=wn(),a=no(),p=Ga();function v(y,k,x,w,S,M,L){var R=a(y,x),$=a(k,x),D=L.get($);if(D){t(y,x,D);return}var T=M?M(R,$,x+"",y,k,L):void 0,E=T===void 0;if(E){var C=o($),b=!C&&d($),A=!C&&!b&&r($);T=$,C||b||A?o(R)?T=R:h(R)?T=f(R):b?(E=!1,T=n($,!0)):A?(E=!1,T=m($,!0)):T=[]:s($)||c($)?(T=R,c(R)?T=p(R):(!l(R)||u(R))&&(T=g($))):E=!1}E&&(L.set($,T),S(T,$,w,M,L),L.delete($)),t(y,x,T)}i.exports=v})),qa=j(((e,i)=>{var t=Yr(),n=Qr(),m=Ma(),f=Ka(),g=Qe(),c=so(),o=no();function h(d,u,l,s,r){d!==u&&m(u,function(a,p){if(r||(r=new t),g(a))f(d,u,p,l,h,s,r);else{var v=s?s(o(d,p),a,p+"",d,u,r):void 0;v===void 0&&(v=a),n(d,p,v)}},c)}i.exports=h})),ao=j(((e,i)=>{function t(n){return n}i.exports=t})),Ya=j(((e,i)=>{function t(n,m,f){switch(f.length){case 0:return n.call(m);case 1:return n.call(m,f[0]);case 2:return n.call(m,f[0],f[1]);case 3:return n.call(m,f[0],f[1],f[2])}return n.apply(m,f)}i.exports=t})),Za=j(((e,i)=>{var t=Ya(),n=Math.max;function m(f,g,c){return g=n(g===void 0?f.length-1:g,0),function(){for(var o=arguments,h=-1,d=n(o.length-g,0),u=Array(d);++h<d;)u[h]=o[g+h];h=-1;for(var l=Array(g+1);++h<g;)l[h]=o[h];return l[g]=c(u),t(f,this,l)}}i.exports=m})),Qa=j(((e,i)=>{function t(n){return function(){return n}}i.exports=t})),Xa=j(((e,i)=>{var t=Qa(),n=Zr(),m=ao(),f=n?function(g,c){return n(g,"toString",{configurable:!0,enumerable:!1,value:t(c),writable:!0})}:m;i.exports=f})),Ja=j(((e,i)=>{var t=800,n=16,m=Date.now;function f(g){var c=0,o=0;return function(){var h=m(),d=n-(h-o);if(o=h,d>0){if(++c>=t)return arguments[0]}else c=0;return g.apply(void 0,arguments)}}i.exports=f})),el=j(((e,i)=>{var t=Xa(),n=Ja()(t);i.exports=n})),tl=j(((e,i)=>{var t=ao(),n=Za(),m=el();function f(g,c){return m(n(g,c,t),g+"")}i.exports=f})),il=j(((e,i)=>{var t=Dt(),n=wi(),m=Cn(),f=Qe();function g(c,o,h){if(!f(h))return!1;var d=typeof o;return(d=="number"?n(h)&&m(o,h.length):d=="string"&&o in h)?t(h[o],c):!1}i.exports=g})),nl=j(((e,i)=>{var t=tl(),n=il();function m(f){return t(function(g,c){var o=-1,h=c.length,d=h>1?c[h-1]:void 0,u=h>2?c[2]:void 0;for(d=f.length>3&&typeof d=="function"?(h--,d):void 0,u&&n(c[0],c[1],u)&&(d=h<3?void 0:d,h=1),g=Object(g);++o<h;){var l=c[o];l&&f(g,l,o,d)}return g})}i.exports=m})),rl=j(((e,i)=>{var t=qa(),n=nl()(function(m,f,g,c){t(m,f,g,c)});i.exports=n})),ol=yt(rl(),1),sl=()=>crypto.randomUUID().slice(0,8),al=()=>sl().slice(0,8),er=(e="",i)=>{if(!i)return console.warn("utils.match missing argument 2."),!1;const t=/[|\\{}()[\]^*$+?.]/g;let n=typeof i=="string"?[i]:i;n=n.map(f=>f==="*"?"":f.replace(t,"\\$&"));let m=!0;return n.length&&(m=!new RegExp(n.join("|"),"i").exec(e)),m},ll=(e,i)=>{const t=e.indexOf(i);t!==-1&&e.splice(t,1)},Ee=e=>{const i=e.className?.match(Cl);return i&&bl[i[0]]},Ye=e=>Array.from(new Set(e)),Ce=e=>e?.attrs?.id||e?.id||al(),Re=(e,i)=>{const t=(n,m)=>{if(Array.isArray(n))return m!=null?Ye(n.concat(m)):m;if(Array.isArray(m))return n!=null?Ye(m.concat(n)):m};return(0,ol.default)({},e,i,t)},Ne=e=>{let i;const t=e instanceof Promise;if(e===null||typeof e!="object"||t)return e;if(e instanceof Date)return i=new Date,i.setTime(e.getTime()),i;if(Array.isArray(e)){i=[];for(let n=0,m=e.length;n<m;n++)i[n]=Ne(e[n]);return i}if(e instanceof Object){i={};for(const n in e)Object.hasOwn(e,n)&&(i[n]=Ne(e[n]));return i}throw new Error("Unable to copy Object, type not supported.")},$i=(e,i)=>e/i*100,Ji=e=>`${e.toString()}%`,ni=e=>typeof e=="string"&&e?e:Ml,Sn=Object.create(null,{get:{value:e=>{const i=window.sessionStorage?.getItem(e);try{return JSON.parse(i)}catch{return i}}},set:{value:(e,i)=>{try{return window.sessionStorage?.setItem(e,JSON.stringify(i))}catch(t){console.error(t)}}}}),Ae=e=>/^(stage|row|column|field)s./.test(e),cl=e=>ml.test(e);function tr(e,i=Mn,{trailing:t=!1}={}){let n=0,m=null,f=null;return function(...g){const c=i-(Date.now()-n);if(c<=0){clearTimeout(m),m=null,n=Date.now(),e.apply(this,g);return}t&&(f=g,m||(m=setTimeout(()=>{m=null,n=Date.now(),e.apply(this,f)},c)))}}function ri(e,i=nt){let t;return function(...n){t&&clearTimeout(t),t=setTimeout(()=>e.apply(this,n),i)}}function en(e){return e}function tn(){}function Ci(e=Object.create(null)){if(typeof e=="string")try{return JSON.parse(e)}catch(i){return console.error("Invalid JSON string provided:",i),Object.create(null)}return e}var tt=e=>e?Ne(Ci(e)):ft();function lo(e,i,t,n={}){if(!i||!e[t][i])return n;const m=`${t}.${i}`;n[m]=e[t][i];const f=El.get(t);if(f){const g=e[t][i].data?.children||[];for(const c of g)lo(e,c,f,n)}return n}var ul='<?xml version="1.0" encoding="utf-8"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><symbol id="f-i-autocomplete" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M6,5h1v1H6V5z M4,4H3v1h1V4z M6,4H5v1h1V4z M2,5v1h1V5H2z M3,7h1V6H3V7z M5,7h1V6H5V7z M4,5v1h1V5H4z M2,14h1v-1H2V14z M4,14h1v-1H4V14z M6,14h1v-1H6V14z M9,13H8v1h1V13z M16,3.5v4C16,8.3,15.3,9,14.5,9H14v3v3c0,0.6-0.4,1-1,1H1c-0.6,0-1-0.4-1-1V3.5 C0,2.7,0.7,2,1.5,2h3H8V1.5V1H7H6V0.5V0h2.5H11v0.5V1h-1H9v0.5V2h3h2.5C15.3,2,16,2.7,16,3.5z M13,12H7H1v3h12V12z M3,11v-1H2v1H3z M5,11v-1H4v1H5z M15,3.5C15,3.2,14.8,3,14.5,3H9v2.5V8H8.5H8V7.5V7H7V6h1V5.5V5H7V4h1V3.5V3H1.5C1.2,3,1,3.2,1,3.5v4 C1,7.8,1.2,8,1.5,8H8v1H6v0.5V10h2.5H11V9.5V9H9V8h5.5C14.8,8,15,7.8,15,7.5V3.5z"/></symbol><symbol viewBox="0 0 32 32" id="f-i-bin" xmlns="http://www.w3.org/2000/svg"><path d="M4 10v20c0 1.1.9 2 2 2h18c1.1 0 2-.9 2-2v-20h-22zM10 28h-2v-14h2v14zM14 28h-2v-14h2v14zM18 28h-2v-14h2v14zM22 28h-2v-14h2v14zM26.5 4h-6.5v-2.5c0-.825-.675-1.5-1.5-1.5h-7c-.825 0-1.5.675-1.5 1.5v2.5h-6.5c-.825 0-1.5.675-1.5 1.5v2.5h26v-2.5c0-.825-.675-1.5-1.5-1.5zM18 4h-6v-1.975h6v1.975z"/></symbol><symbol id="f-i-button" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><metadata id="acprefix__metadata8"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><path id="acprefix__rect4140" d="M 0.4765625,4 A 0.47706934,0.47706934 0 0 0 0,4.4765625 L 0,11.523438 A 0.47706934,0.47706934 0 0 0 0.4765625,12 L 15.523438,12 A 0.47706934,0.47706934 0 0 0 16,11.523438 L 16,4.4765625 A 0.47706934,0.47706934 0 0 0 15.523438,4 L 0.4765625,4 Z m 0.4765625,0.953125 14.09375,0 0,6.09375 -14.09375,0 0,-6.09375 z"/><g id="acprefix__layer1"><g id="acprefix__text4203"><g id="acprefix__g4212" transform="translate(0.10112835,0.1001358)"><path id="acprefix__path4208" d="m 6.0690374,6.4093857 q -0.5371093,0 -0.8544922,0.4003906 -0.3149414,0.4003906 -0.3149414,1.0913086 0,0.6884766 0.3149414,1.0888672 0.3173829,0.4003906 0.8544922,0.4003906 0.5371094,0 0.8496094,-0.4003906 0.3149414,-0.4003906 0.3149414,-1.0888672 0,-0.690918 -0.3149414,-1.0913086 -0.3125,-0.4003906 -0.8496094,-0.4003906 z m 0,-0.4003906 q 0.7666016,0 1.225586,0.5151367 0.4589843,0.5126953 0.4589843,1.3769531 0,0.8618164 -0.4589843,1.3769531 -0.4589844,0.5126953 -1.225586,0.5126953 -0.7690429,0 -1.2304687,-0.5126953 -0.4589844,-0.5126953 -0.4589844,-1.3769531 0,-0.8642578 0.4589844,-1.3769531 0.4614258,-0.5151367 1.2304687,-0.5151367 z"/><path id="acprefix__path4210" d="m 8.5250921,6.074913 0.4931641,0 0,1.5405274 1.6357418,-1.5405274 0.634766,0 -1.809082,1.6992188 1.938477,1.9458008 -0.649415,0 -1.7504878,-1.7553711 0,1.7553711 -0.4931641,0 0,-3.6450196 z"/></g></g></g></symbol><symbol viewBox="0 0 32 32" id="f-i-calendar" xmlns="http://www.w3.org/2000/svg"><path d="M12.048 16.961c-0.178 0.257-0.395 0.901-0.652 1.059-0.257 0.157-0.547 0.267-0.869 0.328-0.323 0.062-0.657 0.089-1.002 0.079v1.527h2.467v6.046h1.991v-9.996h-1.584c-0.056 0.381-0.173 0.7-0.351 0.957zM23 8h2c0.553 0 1-0.448 1-1v-6c0-0.552-0.447-1-1-1h-2c-0.553 0-1 0.448-1 1v6c0 0.552 0.447 1 1 1zM7 8h2c0.552 0 1-0.448 1-1v-6c0-0.552-0.448-1-1-1h-2c-0.552 0-1 0.448-1 1v6c0 0.552 0.448 1 1 1zM30 4h-2v5c0 0.552-0.447 1-1 1h-6c-0.553 0-1-0.448-1-1v-5h-8v5c0 0.552-0.448 1-1 1h-6c-0.552 0-1-0.448-1-1v-5h-2c-1.104 0-2 0.896-2 2v24c0 1.104 0.896 2 2 2h28c1.104 0 2-0.896 2-2v-24c0-1.104-0.896-2-2-2zM30 29c0 0.553-0.447 1-1 1h-26c-0.552 0-1-0.447-1-1v-16c0-0.552 0.448-1 1-1h26c0.553 0 1 0.448 1 1v16zM15.985 17.982h4.968c-0.936 1.152-1.689 2.325-2.265 3.705-0.575 1.381-0.638 2.818-0.749 4.312h2.131c0.009-0.666-0.195-1.385-0.051-2.156 0.146-0.771 0.352-1.532 0.617-2.285 0.267-0.752 0.598-1.461 0.996-2.127 0.396-0.667 0.853-1.229 1.367-1.686v-1.742h-7.015v1.979z"/></symbol><symbol id="f-i-checkbox" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M13.5,5v8c0,0.8-0.7,1.5-1.5,1.5H3c-0.8,0-1.5-0.7-1.5-1.5V4c0-0.8,0.7-1.5,1.5-1.5h9c0.7,0,1.3,0.5,1.5,1.2l2.4-1.4L13.5,5 z M12.5,6.2L7.7,12L2.8,5.5l4.9,1.6l4.8-2.9V4c0-0.3-0.2-0.5-0.5-0.5H3C2.7,3.5,2.5,3.7,2.5,4v9c0,0.3,0.2,0.5,0.5,0.5h9 c0.3,0,0.5-0.2,0.5-0.5V6.2z"/></symbol><symbol id="f-i-checkbox-group" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M0,1h16V0H0V1z M0,3h16V2H0V3z M6,5v1h9V5H6z M15,14v-1H6v1H15z M6,10h9V9H6V10z M4,12l-2.5,1.5L0,13l1.5,2L4,12z M4,8 L1.5,9.5L0,9l1.5,2L4,8z M4,4L1.5,5.5L0,5l1.5,2L4,4z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-columns" xmlns="http://www.w3.org/2000/svg"><metadata id="agprefix__metadata4318"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><path id="agprefix__rect4860-3-5" d="M 16,0.5 A 0.50004997,0.50004997 0 0 0 15.5,0 l -5,0 -5,0 -5,0 A 0.50004997,0.50004997 0 0 0 0,0.5 l 0,15 A 0.50004997,0.50004997 0 0 0 0.5,16 l 5,0 5,0 5,0 A 0.50004997,0.50004997 0 0 0 16,15.5 l 0,-15 z M 15,1 15,15 11,15 11,1 15,1 Z M 10,1 10,15 6,15 6,1 10,1 Z M 5,1 5,15 1,15 1,1 5,1 Z"/></symbol><symbol viewBox="0 0 32 32" id="f-i-copy" xmlns="http://www.w3.org/2000/svg"><path d="M20 8v-8h-14l-6 6v18h12v8h20v-24h-12zM6 2.828v3.172h-3.172l3.172-3.172zM2 22v-14h6v-6h10v6l-6 6v8h-10zM18 10.828v3.172h-3.172l3.172-3.172zM30 30h-16v-14h6v-6h10v20z"/></symbol><symbol id="f-i-divider" viewBox="0 0 15 15" xmlns="http://www.w3.org/2000/svg"><metadata id="aiprefix__metadata10"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><rect y="7" x="0" height="1" width="15" id="aiprefix__rect4182"/></symbol><symbol viewBox="0 0 28 32" id="f-i-edit" xmlns="http://www.w3.org/2000/svg"><path d="M22 2l-4 4 6 6 4-4-6-6zM0 24l0.021 6.018 5.979-0.018 16-16-6-6-16 16zM6 28h-4v-4h2v2h2v2z"/></symbol><symbol viewBox="0 0 24 24" id="f-i-email" xmlns="http://www.w3.org/2000/svg"><path d="M12,2 C17.4292399,2 21.8479317,6.32667079 21.9961582,11.7200952 L22,12 L22,13 C22,15.1729208 20.477434,17 18.5,17 C17.3269391,17 16.3139529,16.3570244 15.6839382,15.3803024 C14.770593,16.3757823 13.4581934,17 12,17 C9.23857625,17 7,14.7614237 7,12 C7,9.23857625 9.23857625,7 12,7 C14.6887547,7 16.8818181,9.12230671 16.9953805,11.7831104 L17,12 L17,13 C17,14.1407877 17.7160103,15 18.5,15 C19.2447902,15 19.928229,14.2245609 19.9947109,13.1689341 L20,13 L20,12 C20,7.581722 16.418278,4 12,4 C7.581722,4 4,7.581722 4,12 C4,16.418278 7.581722,20 12,20 C13.1630948,20 14.2892822,19.7522618 15.3225159,19.2798331 C15.8247876,19.0501777 16.4181317,19.271177 16.647787,19.7734487 C16.8774423,20.2757205 16.656443,20.8690646 16.1541713,21.0987199 C14.861218,21.689901 13.4515463,22 12,22 C6.4771525,22 2,17.5228475 2,12 C2,6.4771525 6.4771525,2 12,2 Z M12,9 C10.3431458,9 9,10.3431458 9,12 C9,13.6568542 10.3431458,15 12,15 C13.6568542,15 15,13.6568542 15,12 C15,10.3431458 13.6568542,9 12,9 Z"/></symbol><symbol viewBox="0 0 32 32" id="f-i-floppy-disk" xmlns="http://www.w3.org/2000/svg"><path d="M28 0h-28v32h32v-28l-4-4zM16 4h4v8h-4v-8zM28 28h-24v-24h2v10h18v-10h2.343l1.657 1.657v22.343z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle" xmlns="http://www.w3.org/2000/svg"><metadata id="aqprefix__metadata8"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><g transform="translate(0,-2)" id="aqprefix__g4220"><rect id="aqprefix__rect4191" width="2" height="2" x="2" y="7"/><rect id="aqprefix__rect4191-2" width="2" height="2" x="7" y="7"/><rect id="aqprefix__rect4191-4" width="2" height="2" x="12" y="7"/></g><g transform="translate(0,2)" id="aqprefix__g4220-6"><rect id="aqprefix__rect4191-40" width="2" height="2" x="2" y="7"/><rect id="aqprefix__rect4191-2-3" width="2" height="2" x="7" y="7"/><rect id="aqprefix__rect4191-4-9" width="2" height="2" x="12" y="7"/></g></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle-column" xmlns="http://www.w3.org/2000/svg"><path d="M2 7h2v2H2zM7 7h2v2H7zM12 7h2v2h-2zM2 12h2v2H2zM7 12h2v2H7zM12 12h2v2h-2z" transform="rotate(90 9.25 9.25)"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle-field" xmlns="http://www.w3.org/2000/svg"><path d="M9.5-6.5h2v2h-2zm-5 0h2v2h-2zm5-5h2v2h-2zm-5 0h2v2h-2z" transform="rotate(90)"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle-row" xmlns="http://www.w3.org/2000/svg"><path d="M12 9.5h2v2h-2zm-5 0h2v2H7Zm-5 0h2v2H2Zm10-5h2v2h-2zm-5 0h2v2H7Zm-5 0h2v2H2Z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-handle-stage" xmlns="http://www.w3.org/2000/svg"><path d="M2 4.5h2v2H2zM7 4.5h2v2H7zM12 4.5h2v2h-2zM2 9.5h2v2H2zM7 9.5h2v2H7zM12 9.5h2v2h-2zM2-.5h2v2H2zM7-.5h2v2H7zM12-.5h2v2h-2z" transform="translate(0 2.5)"/></symbol><symbol viewBox="0 0 448 512" id="f-i-hash" xmlns="http://www.w3.org/2000/svg"><g id="arprefix__icomoon-ignore"/><path d="M448 192v-64h-80.064l16-128h-64l-16 128h-127.968l16-128h-64l-16 128h-111.968v64h103.968l-15.968 128h-88v64h80l-16 128h64l16-128h127.968l-16 128h64.032l16-128h112v-64h-104l15.936-128h88.064zM279.968 320h-127.968l15.968-128h127.968l-15.968 128z"/></symbol><symbol viewBox="0 0 28 28" id="f-i-header" xmlns="http://www.w3.org/2000/svg"><path d="M26.281 26q-0.688 0-2.070-0.055t-2.086-0.055q-0.688 0-2.063 0.055t-2.063 0.055q-0.375 0-0.578-0.32t-0.203-0.711q0-0.484 0.266-0.719t0.609-0.266 0.797-0.109 0.703-0.234q0.516-0.328 0.516-2.188l-0.016-6.109q0-0.328-0.016-0.484-0.203-0.063-0.781-0.063h-10.547q-0.594 0-0.797 0.063-0.016 0.156-0.016 0.484l-0.016 5.797q0 2.219 0.578 2.562 0.25 0.156 0.75 0.203t0.891 0.055 0.703 0.234 0.313 0.711q0 0.406-0.195 0.75t-0.57 0.344q-0.734 0-2.18-0.055t-2.164-0.055q-0.672 0-2 0.055t-1.984 0.055q-0.359 0-0.555-0.328t-0.195-0.703q0-0.469 0.242-0.703t0.562-0.273 0.742-0.117 0.656-0.234q0.516-0.359 0.516-2.234l-0.016-0.891v-12.703q0-0.047 0.008-0.406t0-0.57-0.023-0.602-0.055-0.656-0.102-0.57-0.172-0.492-0.25-0.281q-0.234-0.156-0.703-0.187t-0.828-0.031-0.641-0.219-0.281-0.703q0-0.406 0.187-0.75t0.562-0.344q0.719 0 2.164 0.055t2.164 0.055q0.656 0 1.977-0.055t1.977-0.055q0.391 0 0.586 0.344t0.195 0.75q0 0.469-0.266 0.68t-0.602 0.227-0.773 0.063-0.672 0.203q-0.547 0.328-0.547 2.5l0.016 5q0 0.328 0.016 0.5 0.203 0.047 0.609 0.047h10.922q0.391 0 0.594-0.047 0.016-0.172 0.016-0.5l0.016-5q0-2.172-0.547-2.5-0.281-0.172-0.914-0.195t-1.031-0.203-0.398-0.773q0-0.406 0.195-0.75t0.586-0.344q0.688 0 2.063 0.055t2.063 0.055q0.672 0 2.016-0.055t2.016-0.055q0.391 0 0.586 0.344t0.195 0.75q0 0.469-0.273 0.688t-0.625 0.227-0.805 0.047-0.688 0.195q-0.547 0.359-0.547 2.516l0.016 14.734q0 1.859 0.531 2.188 0.25 0.156 0.719 0.211t0.836 0.070 0.648 0.242 0.281 0.695q0 0.406-0.187 0.75t-0.562 0.344z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-hidden" xmlns="http://www.w3.org/2000/svg"><path d="M0 12h1v-1H0Zm15-7h1V4h-1zm-1 7h1v-1h-1zm-2 0h1v-1h-1zm-2 0h1v-1h-1Zm-2 0h1v-1H8Zm-2 0h1v-1H6Zm-2 0h1v-1H4Zm-2 0h1v-1H2Zm13-1h1v-1h-1ZM0 10h1V9H0Zm15-1h1V8h-1ZM0 8h1V7H0Zm15-1h1V6h-1ZM0 6h1V5H0Zm13-1h1V4h-1zm-2 0h1V4h-1ZM9 5h1V4H9ZM7 5h1V4H7ZM5 5h1V4H5ZM3 5h1V4H3ZM1 5h1V4H1Z"/></symbol><symbol xml:space="preserve" viewBox="0 0 32 32" id="f-i-info-circle" xmlns="http://www.w3.org/2000/svg"><path d="m17.962 24.725 1.806.096v2.531h-7.534v-2.406l1.045-.094c.568-.063.916-.254.916-1.014v-8.801c0-.699-.188-.92-.791-.92l-1.106-.062v-2.626h5.666zM15.747 4.648c1.394 0 2.405 1.047 2.405 2.374 0 1.331-1.014 2.313-2.438 2.313-1.454 0-2.404-.982-2.404-2.313 0-1.327.95-2.374 2.437-2.374M16 32C7.178 32 0 24.822 0 16S7.178 0 16 0c8.82 0 16 7.178 16 16s-7.18 16-16 16m0-29C8.832 3 3 8.832 3 16s5.832 13 13 13 13-5.832 13-13S23.168 3 16 3"/></symbol><symbol viewBox="0 0 384 512" id="f-i-menu" xmlns="http://www.w3.org/2000/svg"><g id="avprefix__icomoon-ignore"/><path d="M0 96v64h384v-64h-384zM0 288h384v-64h-384v64zM0 416h384v-64h-384v64z"/></symbol><symbol viewBox="0 0 24 24" fill="none" id="f-i-minus" xmlns="http://www.w3.org/2000/svg"><path d="M6 12L18 12" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol><symbol viewBox="0 0 512 512" id="f-i-move" xmlns="http://www.w3.org/2000/svg"><path d="M287.744 94.736v129.008h128v-64l96.256 96.256-96.256 96.24v-65.488h-128v129.008h64.496l-96.24 96.24-96.256-96.24h64v-129.008h-128v64.992l-95.744-95.744 95.744-95.744v63.488h128v-129.008h-62.496l94.752-94.736 94.752 94.736h-63.008z"/></symbol><symbol viewBox="0 0 512 512" id="f-i-move-vertical" xmlns="http://www.w3.org/2000/svg"><path d="m 287.744,94.736 0,321.024 64.496,0 L 256,512 l -96.256,-96.24 64,0 0,-321.024 -62.496,0 L 256,0 350.752,94.736 Z"/></symbol><symbol viewBox="0 0 20 28" id="f-i-paragraph" xmlns="http://www.w3.org/2000/svg"><path d="M19.969 2.953v1.141q0 0.453-0.289 0.953t-0.664 0.5q-0.781 0-0.844 0.016-0.406 0.094-0.5 0.484-0.047 0.172-0.047 1v18q0 0.391-0.281 0.672t-0.672 0.281h-1.687q-0.391 0-0.672-0.281t-0.281-0.672v-19.031h-2.234v19.031q0 0.391-0.273 0.672t-0.68 0.281h-1.687q-0.406 0-0.68-0.281t-0.273-0.672v-7.75q-2.297-0.187-3.828-0.922-1.969-0.906-3-2.797-1-1.828-1-4.047 0-2.594 1.375-4.469 1.375-1.844 3.266-2.484 1.734-0.578 6.516-0.578h7.484q0.391 0 0.672 0.281t0.281 0.672z"/></symbol><symbol id="f-i-phone-receiver" viewBox="0 0 578.106 578.106" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><g><g><path d="M577.83,456.128c1.225,9.385-1.635,17.545-8.568,24.48l-81.396,80.781 c-3.672,4.08-8.465,7.551-14.381,10.404c-5.916,2.857-11.729,4.693-17.439,5.508c-0.408,0-1.635,0.105-3.676,0.309 c-2.037,0.203-4.689,0.307-7.953,0.307c-7.754,0-20.301-1.326-37.641-3.979s-38.555-9.182-63.645-19.584 c-25.096-10.404-53.553-26.012-85.376-46.818c-31.823-20.805-65.688-49.367-101.592-85.68 c-28.56-28.152-52.224-55.08-70.992-80.783c-18.768-25.705-33.864-49.471-45.288-71.299 c-11.425-21.828-19.993-41.616-25.705-59.364S4.59,177.362,2.55,164.51s-2.856-22.95-2.448-30.294 c0.408-7.344,0.612-11.424,0.612-12.24c0.816-5.712,2.652-11.526,5.508-17.442s6.324-10.71,10.404-14.382L98.022,8.756 c5.712-5.712,12.24-8.568,19.584-8.568c5.304,0,9.996,1.53,14.076,4.59s7.548,6.834,10.404,11.322l65.484,124.236 c3.672,6.528,4.692,13.668,3.06,21.42c-1.632,7.752-5.1,14.28-10.404,19.584l-29.988,29.988c-0.816,0.816-1.53,2.142-2.142,3.978 s-0.918,3.366-0.918,4.59c1.632,8.568,5.304,18.36,11.016,29.376c4.896,9.792,12.444,21.726,22.644,35.802 s24.684,30.293,43.452,48.653c18.36,18.77,34.68,33.354,48.96,43.76c14.277,10.4,26.215,18.053,35.803,22.949 c9.588,4.896,16.932,7.854,22.031,8.871l7.648,1.531c0.816,0,2.145-0.307,3.979-0.918c1.836-0.613,3.162-1.326,3.979-2.143 l34.883-35.496c7.348-6.527,15.912-9.791,25.705-9.791c6.938,0,12.443,1.223,16.523,3.672h0.611l118.115,69.768 C571.098,441.238,576.197,447.968,577.83,456.128z"/></g></g><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/><g/></symbol><symbol viewBox="0 0 24 24" fill="none" id="f-i-plus" xmlns="http://www.w3.org/2000/svg"><path d="M6 12H18M12 6V18" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></symbol><symbol id="f-i-radio-group" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M0,1h16V0H0V1z M0,3h16V2H0V3z M5,6h10V5H5V6z M15,9H5v1h10V9z M15,14v-1H5v1H15z M1.5,7C0.7,7,0,6.3,0,5.5S0.7,4,1.5,4 S3,4.7,3,5.5S2.3,7,1.5,7z M1.5,5C1.2,5,1,5.2,1,5.5S1.2,6,1.5,6S2,5.8,2,5.5S1.8,5,1.5,5z M1.5,11.1C0.7,11.1,0,10.4,0,9.6 s0.7-1.5,1.5-1.5S3,8.7,3,9.6S2.3,11.1,1.5,11.1z M1.5,9.1C1.2,9.1,1,9.3,1,9.6s0.2,0.5,0.5,0.5S2,9.8,2,9.6S1.8,9.1,1.5,9.1z M1.5,15C0.7,15,0,14.3,0,13.5S0.7,12,1.5,12S3,12.7,3,13.5S2.3,15,1.5,15z M1.5,13C1.2,13,1,13.2,1,13.5S1.2,14,1.5,14 S2,13.8,2,13.5S1.8,13,1.5,13z"/></symbol><symbol viewBox="0 0 512 512" id="f-i-remove" xmlns="http://www.w3.org/2000/svg"><path d="M193.694-139.2h87.322v510.916h-87.322zM-18.103 159.92V72.597h510.915v87.322z" transform="rotate(45 77.994 208.636)"/></symbol><symbol id="f-i-rich-text" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path d="M15,1H1C0.4,1,0,1.4,0,2v12c0,0.6,0.4,1,1,1h14c0.6,0,1-0.4,1-1V2C16,1.4,15.6,1,15,1z M1,3.1h0.8v0.3H1V3.1z M1,3.6h0.8 v0.3H1V3.6z M15,14H1V5.1h14V14z M15,4.9H1V4.6h14V4.9z M15,4.4H1V4.1h0.8v0.2h1.5V4.1h1.3v0.2H6V4.1h1.3v0.2h1.5V4.1H10v0.2h1.5 V4.1h1.3v0.2h1.5V4.1H15V4.4z M4.5,3.6v0.3H3.3V3.6H4.5z M3.3,3.4V3.1h1.3v0.3H3.3z M7.3,3.6v0.3H6V3.6H7.3z M6,3.4V3.1h1.3v0.3H6z M10,3.6v0.3H8.8V3.6H10z M8.8,3.4V3.1H10v0.3H8.8z M12.8,3.6v0.3h-1.3V3.6H12.8z M11.5,3.4V3.1h1.3v0.3H11.5z M15,3.9h-0.8V3.6H15 V3.9z M15,3.4h-0.8V3.1H15V3.4z M15,2.9h-0.8V2.8h-1.5v0.2h-1.3V2.8H10v0.2H8.8V2.8H7.3v0.2H6V2.8H4.5v0.2H3.3V2.8H1.8v0.2H1V2.6h14 V2.9z M15,2.4H1V2.1h14V2.4z M3,12v-1h10v1H3z M13,10H3V9h10V10z M11,8H3V7h8V8z"/></symbol><symbol xml:space="preserve" viewBox="0 0 16 16" id="f-i-rows" xmlns="http://www.w3.org/2000/svg"><metadata id="bfprefix__metadata4318"><rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"><cc:Work rdf:about="" xmlns:cc="http://creativecommons.org/ns#"><dc:format xmlns:dc="http://purl.org/dc/elements/1.1/">image/svg+xml</dc:format><dc:type rdf:resource="http://purl.org/dc/dcmitype/StillImage" xmlns:dc="http://purl.org/dc/elements/1.1/"/><dc:title xmlns:dc="http://purl.org/dc/elements/1.1/"/></cc:Work></rdf:RDF></metadata><g transform="matrix(0,1,-1,0,3.0984025,11.835155)" id="bfprefix__g7209"><path id="bfprefix__rect4860-3-5" d="m 4.1640625,-12.402344 a 0.50004997,0.50004997 0 0 0 -0.5,-0.5 l -5,0 -5,0 -5.0000005,0 a 0.50004997,0.50004997 0 0 0 -0.5,0.5 l 0,15.0000002 a 0.50004997,0.50004997 0 0 0 0.5,0.5 l 4.9648442,0 a 0.50004997,0.50004997 0 0 0 0.035156,0 l 4.9648437,0 a 0.50004997,0.50004997 0 0 0 0.035156,0 l 5,0 a 0.50004997,0.50004997 0 0 0 0.5,-0.5 l 0,-15.0000002 z m -1,0.5 0,14.0000002 -4,0 0,-14.0000002 4,0 z m -5,0 0,14.0000002 -4,0 0,-14.0000002 4,0 z m -5,0 0,14.0000002 -4.0000005,0 0,-14.0000002 4.0000005,0 z"/></g></symbol><symbol id="f-i-select" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path id="bgprefix__XMLID_1_" d="M0,0v14h0c0,0.6,0.4,1,1,1h10c0.6,0,1-0.4,1-1h0V5h4V0H0z M1,1h10v3H1V1z M1,7h10v3H1V7z M1,14v-3h10v3H1z M15,4h-3V1h3V4z M2,2h1v1H2V2z M2,12h1v1H2V12z M4,12h1v1H4V12z M6,12h1v1H6V12z M9,12v1H8v-1H9z M2,8h1v1H2V8z M4,8h1v1H4V8z M6,8 h1v1H6V8z M13.5,3.1l-1-1.1h1.9L13.5,3.1z M2,6V5h1v1H2L2,6z M4,6V5h1v1H4L4,6z"/></symbol><symbol viewBox="0 0 448 512" id="f-i-settings" xmlns="http://www.w3.org/2000/svg"><g id="bhprefix__icomoon-ignore"/><path d="M223.969 175c-44.703 0-80.969 36.266-80.969 81 0 44.688 36.266 81.031 80.969 81.031 44.719 0 80.719-36.344 80.719-81.031-0-44.734-36-81-80.719-81zM386.313 302.531l-14.594 35.156 29.469 57.875-36.094 36.094-59.218-27.969-35.156 14.438-17.844 54.625-2.281 7.25h-51.016l-22.078-61.656-35.156-14.5-57.952 29.344-36.078-36.063 27.938-59.25-14.484-35.125-61.767-20.156v-50.984l61.703-22.109 14.485-35.094-25.953-51.234-3.422-6.719 36.031-36.031 59.297 27.922 35.109-14.516 17.828-54.594 2.297-7.234h51l22.094 61.734 35.063 14.516 58.031-29.406 36.063 36.031-27.938 59.203 14.438 35.172 61.875 20.125v50.969l-61.688 22.187z"/></symbol><symbol id="f-i-text-input" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path id="biprefix__XMLID_10_" d="M15,4H4.5V3H6V2H4.5h-1H2v1h1.5v1H1C0.4,4,0,4.5,0,5v6c0,0.6,0.4,1,1,1h2.5v1H2v1h4v-1H4.5v-1H15 c0.6,0,1-0.4,1-1V5C16,4.5,15.6,4,15,4z M1,11V5h2.5v6H1z M15,11H4.5V5H15V11z"/></symbol><symbol id="f-i-textarea" viewBox="0 0 16 16" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><path id="bjprefix__XMLID_1_" d="M3,11v-1h8v1H3L3,11z M3,7h10V6H3V7L3,7z M3,8v1h10V8H3L3,8z M13,4H3v1h10V4L13,4z M16,14V2c0-0.6-0.4-1-1-1 H1C0.4,1,0,1.4,0,2v12c0,0.6,0.4,1,1,1h14C15.6,15,16,14.6,16,14z M15,2v12H1V2H15z"/></symbol><symbol viewBox="0 0 24 32" id="f-i-triangle-down" xmlns="http://www.w3.org/2000/svg"><path d="M0 12l11.992 11.992 11.992-11.992h-23.984z"/></symbol><symbol viewBox="0 0 12 32" id="f-i-triangle-left" xmlns="http://www.w3.org/2000/svg"><path d="M0 15.996l11.992 11.992v-23.984l-11.992 11.992z"/></symbol><symbol viewBox="0 0 12 32" id="f-i-triangle-right" xmlns="http://www.w3.org/2000/svg"><path d="M0.002 4.008l11.992 11.992-11.992 11.992v-23.984z"/></symbol><symbol viewBox="0 0 24 32" id="f-i-triangle-up" xmlns="http://www.w3.org/2000/svg"><path d="M11.992 8l-11.992 11.992h23.984l-11.992-11.992z"/></symbol><symbol viewBox="0 0 512 512" id="f-i-upload" xmlns="http://www.w3.org/2000/svg"><g id="boprefix__icomoon-ignore"/><path d="M240 352h-240v128h480v-128h-240zM448 416h-64v-32h64v32zM112 160l128-128 128 128h-80v160h-96v-160z"/></symbol></svg>',xn=Gr.name,En=Gr.version,Si=xn,dl="formeo-sprite",hl=`https://cdn.jsdelivr.net/npm/formeo@${En}/dist/${dl}.svg`,pl=`https://cdn.jsdelivr.net/npm/formeo@${En}/dist/formeo.min.css`,fl="https://draggable.github.io/formeo/assets/css/formeo.min.css",co="f-panel",it="control-group",wt=`${Si}-stage`,Be=`${Si}-row`,We=`${Si}-column`,Ct=`${Si}-field`,nn="custom-column-widths",uo="column-preset",Li="resizing-columns",gl=new Map([[wt,Be],[Be,We],[We,Ct]]),An=["stage","row","column","field"],kn=An.map(e=>`${e}s`),gp=new Map(kn.map((e,i)=>[e,An[i]])),ml=new RegExp(`^${kn.join("|")}.`),ho=[...An],po=[...kn],vl=new Map(po.map((e,i)=>[e,ho[i]])),mp=new RegExp(`^${po.join("|")}.`),Ri=ho.reduce((e,i)=>(e[i]=i,e),{}),yl=[{name:"controls",className:it},{name:"stage",className:wt},{name:"row",className:Be},{name:"column",className:We},{name:"field",className:Ct}],Tn={controls:it,stage:wt,row:Be,column:We,field:Ct},bl=Object.entries(Tn).reduce((e,[i,t])=>(e[t]=i,e),{}),wl=Object.values(Tn),Cl=new RegExp(`${wl.join("|")}`,"g"),{childTypeMapVals:fo,childTypeIndexMapVals:Sl}=yl.reduce((e,{name:i},t,n)=>{const{name:m}=n[t+1]||{};return m&&(e.childTypeMapVals.push([i,m]),e.childTypeIndexMapVals.push([`${i}s`,`${m}s`])),e},{childTypeMapVals:[],childTypeIndexMapVals:[]}),xl=fo.slice().map(e=>e.slice().reverse()).reverse(),ir=new Map(fo),El=new Map(Sl),Al=new Map(xl.slice()),kl=[[{value:"100.0",label:"100%"}],[{value:"50.0,50.0",label:"50 | 50"},{value:"33.3,66.6",label:"33 | 66"},{value:"66.6,33.3",label:"66 | 33"}],[{value:"33.3,33.3,33.3",label:"33 | 33 | 33"},{value:"25.0,25.0,50.0",label:"25 | 25 | 50"},{value:"50.0,25.0,25.0",label:"50 | 25 | 25"},{value:"25.0,50.0,25.0",label:"25 | 50 | 25"}],[{value:"25.0,25.0,25.0,25.0",label:"25 | 25 | 25 | 25"}],[{value:"20.0,20.0,20.0,20.0,20.0",label:"20 | 20 | 20 | 20 | 20"}],[{value:"16.66,16.66,16.66,16.66,16.66,16.66",label:"16.66 | 16.66 | 16.66 | 16.66 | 16.66 | 16.66"}]],Tl=new Map(kl.reduce((e,i,t)=>(e.push([t,i]),e),[])),Ml=`${xn}-formData`,nr=`${xn}-locale`;var nt=Math.round(333/2),Mn=Math.round(333*2),vp=Math.round(333/5),$l="formeoSaved",Ll="formeoUpdated",Rl="formeoChanged",go="formeoUpdatedStage",mo="formeoUpdatedRow",vo="formeoUpdatedColumn",yo="formeoUpdatedField",_l="formeoCleared",bo="formeoOnRender",Ol="formeoConditionUpdated",$n="formeoAddedRow",Ln="formeoAddedColumn",Rn="formeoAddedField",_n="formeoRemovedRow",On="formeoRemovedColumn",In="formeoRemovedField",wo={equals:"==",notEquals:"!=",contains:"⊃",notContains:"!⊃"},Il={and:"&&",or:"||"},Co={equals:"="},Dl=["logical","source","sourceProperty","comparison","target","targetProperty","assignment","value"],rr=["isChecked","isNotChecked"],or=["isVisible","isNotVisible"],Yt=["value"],Nl={comparison:wo,assignment:Co,logical:Il};var Fl="then",Dn=()=>({if:[{source:"",sourceProperty:"",comparison:"",target:"",targetProperty:""}],[Fl]:[{target:"",targetProperty:"",assignment:"",value:""}]}),zl=/(\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b)|(\b[0-9a-f]{8}\b)/g,rn=/\bcol-\w+-\d+/g,So="f-i-",ft=()=>({id:Ce(),stages:{[Ce()]:{}},rows:{},columns:{},fields:{}}),oi=["selected","checked"],Pl=oi.toReversed(),Hl=new Map([["config",new Set(["label","helpText","hideLabel","labelAfter","disableHtmlLabel","tooltip"])]]),pe={getStyle:(e,i=!1)=>{let t;return window.getComputedStyle?t=window.getComputedStyle(e,null):e.currentStyle&&(t=e.currentStyle),i?t[i]:t},fadeOut:(e,i=250)=>{const t=1/(i/60);e.style.opacity=1,(function n(){const m=Number(e.style.opacity)-t;m>0?(e.style.opacity=m,window.requestAnimationFrame(n)):e.remove()})()},slideDown:(e,i=250,t=!1)=>{e.style.display="block";const n=pe.getStyle(e),m=Number.parseInt(n.height,10),f=m/(i/60);e.style.height="0px",(function g(){const c=Number.parseFloat(e.style.height),o=c+f;c<m?(e.style.height=`${o}px`,window.requestAnimationFrame(g)):(e.style.height="auto",t&&t(e))})()},slideUp:(e,i=250,t=!1)=>{const n=pe.getStyle(e),m=Number.parseInt(n.height,10),f=n.overflow;e.style.overflow="hidden",e.style.height=`${m}px`;const g=n.minHeight;e.style.minHeight="auto";const c=parseFloat(m/(i/60)).toFixed(2);(function o(){const h=Number.parseInt(e.style.height,10)-c;h>0?(e.style.height=`${h}px`,window.requestAnimationFrame(o)):(e.style.overflow=f,e.style.display="none",e.style.minHeight=g,delete e.style.height,t&&t(e))})()},slideToggle:(e,i=250,t=pe.getStyle(e,"display")==="none")=>{t?pe.slideDown(e,i):pe.slideUp(e,i)}},Nn=j(((e,i)=>{var t=bt(),n=st(),m="[object Symbol]";function f(g){return typeof g=="symbol"||n(g)&&t(g)==m}i.exports=f})),Bl=j(((e,i)=>{var t=at(),n=Nn(),m=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,f=/^\w*$/;function g(c,o){if(t(c))return!1;var h=typeof c;return h=="number"||h=="symbol"||h=="boolean"||c==null||n(c)?!0:f.test(c)||!m.test(c)||o!=null&&c in Object(o)}i.exports=g})),Wl=j(((e,i)=>{var t=mn(),n="Expected a function";function m(f,g){if(typeof f!="function"||g!=null&&typeof g!="function")throw new TypeError(n);var c=function(){var o=arguments,h=g?g.apply(this,o):o[0],d=c.cache;if(d.has(h))return d.get(h);var u=f.apply(this,o);return c.cache=d.set(h,u)||d,u};return c.cache=new(m.Cache||t),c}m.Cache=t,i.exports=m})),jl=j(((e,i)=>{var t=Wl(),n=500;function m(f){var g=t(f,function(o){return c.size===n&&c.clear(),o}),c=g.cache;return g}i.exports=m})),Vl=j(((e,i)=>{var t=jl(),n=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,m=/\\(\\)?/g,f=t(function(g){var c=[];return g.charCodeAt(0)===46&&c.push(""),g.replace(n,function(o,h,d,u){c.push(d?u.replace(m,"$1"):h||o)}),c});i.exports=f})),Ul=j(((e,i)=>{function t(n,m){for(var f=-1,g=n==null?0:n.length,c=Array(g);++f<g;)c[f]=m(n[f],f,n);return c}i.exports=t})),Gl=j(((e,i)=>{var t=vi(),n=Ul(),m=at(),f=Nn(),g=1/0,c=t?t.prototype:void 0,o=c?c.toString:void 0;function h(d){if(typeof d=="string")return d;if(m(d))return n(d,h)+"";if(f(d))return o?o.call(d):"";var u=d+"";return u=="0"&&1/d==-g?"-0":u}i.exports=h})),xi=j(((e,i)=>{var t=Gl();function n(m){return m==null?"":t(m)}i.exports=n})),xo=j(((e,i)=>{var t=at(),n=Bl(),m=Vl(),f=xi();function g(c,o){return t(c)?c:n(c,o)?[c]:m(f(c))}i.exports=g})),Eo=j(((e,i)=>{var t=Nn(),n=1/0;function m(f){if(typeof f=="string"||t(f))return f;var g=f+"";return g=="0"&&1/f==-n?"-0":g}i.exports=m})),Kl=j(((e,i)=>{var t=xo(),n=Eo();function m(f,g){g=t(g,f);for(var c=0,o=g.length;f!=null&&c<o;)f=f[n(g[c++])];return c&&c==o?f:void 0}i.exports=m})),ql=j(((e,i)=>{var t=Kl();function n(m,f,g){var c=m==null?void 0:t(m,f);return c===void 0?g:c}i.exports=n})),Yl=j(((e,i)=>{var t=ro(),n=xo(),m=Cn(),f=Qe(),g=Eo();function c(o,h,d,u){if(!f(o))return o;h=n(h,o);for(var l=-1,s=h.length,r=s-1,a=o;a!=null&&++l<s;){var p=g(h[l]),v=d;if(p==="__proto__"||p==="constructor"||p==="prototype")return o;if(l!=r){var y=a[p];v=u?u(y,p,a):void 0,v===void 0&&(v=f(y)?y:m(h[l+1])?[]:{})}t(a,p,v),a=a[p]}return o}i.exports=c})),Zl=j(((e,i)=>{var t=Yl();function n(m,f,g){return m==null?m:t(m,f,g)}i.exports=n})),Ql=yt(ql(),1),Xl=yt(Zl(),1),ve=Ql.default,Ei=Xl.default;function Jl(e,i={}){const t={...e};for(const n in i)Object.hasOwn(i,n)&&(Object.hasOwn(t,n)?Array.isArray(t[n])?t[n].push(i[n]):t[n]=[t[n],i[n]]:t[n]=i[n]);return t}function Zt(...e){return e.flat().reduce((i,t)=>(i[t]=t,i),{})}var Ao=e=>Number.isInteger(Number(e)),Ze=e=>{let i=0,t=e;for(;t?.previousElementSibling;)t=t.previousElementSibling,i++;return i},si=(e,i,t)=>{const n=t.split("||");return Ye(Ye(i).map(m=>e.find(f=>{const g=n.find(c=>!!ve(f,c));return g&&ve(f,g)===m})).filter(Boolean).concat(e))},Ai=(e,i,t)=>{for(let n=0;n<e.length;n++)i.call(t,e[n],n)},Fn=(e,i)=>{const t=[];return Ai(e,(n,m)=>t.push(i(n,m))),t},_i={},ko=e=>{const i={className:"class"};if(_i[e])return _i[e];const t=(i[e]||e).replace(/^\d+/,"").replace(/[^a-zA-Z0-9_:-]/g,"");return _i[e]=t,t},To=e=>e.replace(/\b\w/g,i=>i.toUpperCase()),ec=e=>window.JSON.parse(window.JSON.stringify(e)),tc=(e,i)=>i.filter(t=>!~e.indexOf(t)),Se={capitalize:To,safeAttrName:ko,forEach:Ai,copyObj:ec,map:Fn,subtract:tc,indexOfNode:Ze,isInt:Ao,get:ve,orderObjectsBy:si},ke={js:new Set,css:new Set,formeoSprite:null},ic=1e4,sr=(e,i,t=tn,n=ic)=>new Promise(m=>{const f=typeof AbortSignal<"u"&&AbortSignal.timeout?AbortSignal.timeout(n):void 0;return fetch(e,f?{signal:f}:void 0).then(g=>{if(!g.ok)return m(t(g));m(i?i(g):g)}).catch(g=>m(t(g)))}),Mo=(e,i)=>{e.removeEventListener("load",Mo),i(e.src)},$o=(e,i)=>{e.removeEventListener("load",$o),i(e.src)},nc=e=>new Promise((i,t)=>{if(ke.js.has(e))return i(e);ke.js.add(e);const n=V.create({tag:"script",attrs:{type:"text/javascript",async:!0,src:e},action:{load:()=>$o(n,i),error:()=>t(new Error(`${e} failed to load.`))}});document.head.appendChild(n)}),on=e=>{e=Array.isArray(e)?e:[e];const i=e.map(t=>new Promise((n,m)=>{if(ke.css.has(t))return n(t);ke.css.add(t);const f=V.create({tag:"link",attrs:{rel:"stylesheet",href:t},action:{load:()=>Mo(f,n),error:()=>m(new Error(`${t} failed to load.`))}});document.head.appendChild(f)}));return Promise.all(i)},rc=e=>{e=Array.isArray(e)?e:[e];const i=e.map(t=>nc(t));return Promise.all(i)},oc=e=>{e=Array.isArray(e)?e:[e];const i=e.map(t=>on(t));return Promise.all(i)},ar=e=>(ke.formeoSprite=new DOMParser().parseFromString(e,"image/svg+xml").documentElement,ke.formeoSprite),sc=async(e=null)=>{if(ke.formeoSprite)return ke.formeoSprite;if(!e)return ar(ul);const i=async t=>ar(await t.text());return sr(e,i,()=>sr(hl,i))},ac={js:rc,css:oc},Lo=e=>{const i=Object.entries(e).map(([t,n])=>ac[t](n));return Promise.all(i)},lc=async e=>{if(e&&!ke.css.has(e)&&(await on(e),!ke.css.has(e)&&!ke.css.has("https://draggable.github.io/formeo/assets/css/formeo.min.css")))return await on(fl)},cc="a an and as at but by for for from in into near nor of on onto or the to with".split(" ").map(e=>String.raw`\s${e}\s`),uc=new RegExp(String.raw`(?!${cc.join("|")})\w\S*`,"g"),dc=/\s+/g;function Pe(e){return typeof e!="string"||e.trim().match(dc)?e:e.replace(uc,i=>i.charAt(0).toUpperCase()+i.substring(1).replace(/[A-Z]/g,t=>` ${t}`))}var Ro=(e,i="-")=>e.toString().normalize("NFD").replace(/[\u0300-\u036f]/g,"").toLowerCase().trim().replace(/[^a-z0-9 -]/g,"").replace(/\s+/g,i),rt=e=>{if(Array.isArray(e))return e;const i=/[.[\]]/g,t=[];let n=0,m=i.exec(e);for(;m!==null;)t.push(e.slice(n,m.index)),n=m.index+m[0].length,m=i.exec(e);return n<e.length&&t.push(e.slice(n)),t.filter(Boolean)},lr=(e,i="-")=>rt(e).join(i),hc=e=>{const i=document.createElement("div");return i.innerHTML=e,i.textContent||i.innerText||""},pc=(e,i,t="…")=>{if(e.length<=i)return e;const n=e.slice(0,i),m=n.lastIndexOf(" ");let f=`${m>0?n.slice(0,m):n}`;return t&&(f+=t),f},fc=/^attrs\.|^meta\.|^options\.|^config\./g;function ai(e){return e.replaceAll(fc,"")}var gc=(e,i,t)=>i==="checkbox"&&t>1&&e&&!e.endsWith("[]")?`${e}[]`:e,mc={glyphicons:e=>`<span class="glyphicon glyphicon-${e}" aria-hidden="true"></span>`,"font-awesome":e=>{const[i,t]=e.split(" ");return`<i class="${i} fa-${t}"></i>`},fontello:e=>`<i class="${So}${e}">${e}</i>`},vc=new Set(["input","textarea","select"]),li="formeo-required-group",_o=["disabled","form"],yc=new Set(["type","id","name","className","value","required",..._o]),bc=(e={})=>Object.fromEntries(Object.entries(e).filter(([i])=>!yc.has(i))),wc=e=>e.replace(/^on([A-Z])/,(i,t)=>t.toLowerCase()),Cc=new Set(["focus","blur"]),Sc=e=>{const i=wc(e);return(t,n)=>t.addEventListener(i,n,Cc.has(i))},Oo=(e={})=>{let i=e?.attrs?.name||e?.name;if(i)return i;const t=Ce(e);let n=e.config?.label||e.attrs?.label||e?.label;return n&&(typeof n=="object"&&(n=V.create(n).textContent),/^<.+>.+<.+>$/gim.test(n)&&(n=hc(n)),i=`${t}-${Ro(pc(n,24,null))}`),i||t},xc=class{constructor(e=Object.create(null)){this.options=e}set setOptions(e){this.options=Re(this.options,e)}processElemArg(e){let i=e,t;if(typeof i=="string")return t=i,i={tag:t},i;if(i.attrs){const{tag:n,...m}=i.attrs;n&&(typeof n=="string"?t=n:t=(n.find(f=>f.selected===!0)||n[0]).value),i.attrs=m}return i.tag=t||i.tag||"div",i}render=e=>(e.id=`f-${e.id||Ce()}`,this.create(e));create=(e,i=!1)=>{if(!e)return;if(this.isDOMElement(e))return e;const t=this,n=["children","content"],{className:m,options:f,dataset:g,...c}=this.processElemArg(e);n.push("tag");let o;const{tag:h}=c;let d;const u={attrs:{},className:[Se.get(c,"config.inputWrap")],children:[],config:{}};let l=document.createElement(h);const s={string:a=>{l.innerHTML+=a},object:a=>a&&l.appendChild(t.create(a,i)),node:a=>l.appendChild(a),component:a=>l.appendChild(a.dom),array:a=>{for(const p of a)o=t.childType(p),s[o](p)},function:a=>{a=a(),o=t.childType(a),s[o](a)},undefined:()=>null,boolean:()=>null};if(m&&(c.attrs=Re(c.attrs,{className:m})),f){const a=this.processOptions(f,c,i);if(this.holdsContent(l)&&h!=="button")s.array.call(this,a),c.content=void 0;else{Se.forEach(a,v=>{u.children.push(t.create(v,i))});const p=c.attrs||{};return p.className&&(u.className=p.className),u.id=c.id,u.attrs=bc(p),u.config={...c.config,required:!!p.required},!i&&p.type==="checkbox"&&p.required&&(u.attrs[`data-${li}`]="true",u.action={change:({currentTarget:v})=>this.syncCheckboxGroupRequired(v)}),this.create(u,i)}n.push("options")}if(c.attrs&&(t.processAttrs(c,l,i),n.push("attrs")),c.config){if(c.config.label&&(c.config.label&&h!=="button"||["radio","checkbox"].includes(Se.get(c,"attrs.type")))&&!i){const a=t.label(c);if(!c.config.hideLabel){const p=[a,l];t.labelAfter(c)&&p.reverse(),u.children.push(p)}}n.push("config")}if(c.content||c.children){const a=c.content||c.children;o=t.childType(a),s[o]||console.error(`childType: ${o} is not supported`),s[o].call(this,a)}if(g){for(const a in g)Object.hasOwn(g,a)&&(l.dataset[a]=typeof g[a]=="function"?g[a]():g[a]);n.push("dataset")}c.action&&(this.actionHandler(l,c.action),n.push("action"));const r=Se.subtract(n,Object.keys(c));for(d=r.length-1;d>=0;d--)l[r[d]]=c[r[d]];return u.children.length&&(l=this.create(u)),l};onRender=(e,i,t=333)=>{const n=Date.now(),m=()=>{!e.parentElement&&Date.now()-n<t?window.requestAnimationFrame(m):e.parentElement&&i(e)};m()};actionHandler(e,i){const t={onRender:V.onRender,render:V.onRender};return Object.entries(i).map(([n,m])=>(Array.isArray(m)?m:[m]).map(f=>(t[n]||Sc(n))(e,f)))}get icons(){if(this.iconSymbols)return this.iconSymbols;const e=ke.formeoSprite.querySelectorAll("svg symbol"),i=t=>{const n=t.getAttribute("viewBox")||"0 0 24 24",m=Array.from(t.children).map(f=>f.cloneNode(!0).outerHTML).join("");return{tag:"svg",attrs:{className:["svg-icon",t.id],viewBox:n,xmlns:"http://www.w3.org/2000/svg"},children:m}};return this.iconSymbols=Array.from(e).reduce((t,n)=>{const m=n.id.replace(So,"");return t[m]=i(n),t},{}),this.cachedIcons={},this.iconSymbols}icon(e,i){if(!e)return;const t=`${e}?${new URLSearchParams(i).toString()}`;if(this.cachedIcons?.[t])return this.cachedIcons[t];const n=this.icons[e];if(n){if(i){const m=Re(n,i);return this.cachedIcons[t]=V.create(m).outerHTML,this.cachedIcons[t]}return this.cachedIcons[t]=V.create(n).outerHTML,this.cachedIcons[t]}return mc[V.options.iconFont]?.(e)||e}processAttrs(e,i,t){const{attrs:n={}}=e;if(!t&&!n.name&&n.name!==null&&this.isInput(e.tag)){const m=Oo(e);m&&i.setAttribute("name",m)}for(const m of Object.keys(n)){const f=Se.safeAttrName(m),g=this.processAttrValue(n[m]);if(g!==!1)try{i.setAttribute(f,g)}catch(c){console.warn(`Could not set attribute ${f} with value ${g}`,c)}}}processAttrValue(e){if(typeof e=="function")return e();if(typeof e=="boolean")return e&&"";let i=e||"";if(Array.isArray(i))if(typeof i[0]=="object"){const t=i.filter(n=>n.selected===!0);i=t.length?t[0].value:i[0].value}else i=i.join(" ");return i}toggleElementsByStr=(e,i)=>{const t=[],n=(m,f)=>{f?(m.style.display="block",t.push(m)):m.style.display="none"};return V.elementsContainText(e,i,n),t};elementsContainText=(e,i,t)=>{const n=[];return Ai(e,m=>{const f=m.textContent.toLowerCase().indexOf(i.toLowerCase())!==-1;t?.(m,f),f&&n.push(m)}),n};generateOption=({type:e="option",label:i,value:t,i:n=0,selected:m})=>({tag:e==="option"?"option":"input",attrs:{type:e,value:t||`${e}-${n}`,[e==="option"?"selected":"checked"]:m||!n},config:{label:i||Z.get("labelCount",{label:Z.get("option"),count:n})}});processOptions(e,i,t){const{action:n,attrs:m={}}=i,f=m.type||i.tag,g=m.id||i.id,c=t?g:gc(m.name||g,f,e.length),o=Object.fromEntries(_o.filter(d=>d in m).map(d=>[d,m[d]]));m.required&&(o.required=f!=="checkbox"||!e.some(({selected:d,checked:u})=>d||u));const h=(d,u)=>{const{label:l,value:s,...r}=d,a=()=>{const p={tag:"input",attrs:{name:c,type:f,value:s||"",id:`${g}-${u}`,...o,...r},action:n},v={tag:"label",attrs:{for:`${g}-${u}`},children:l},y={children:[p,v],className:[`f-${f}`]};return m.className&&(i.config.inputWrap=m.className),i.config.inline&&y.className.push(`f-${f}-inline`),d.selected&&(p.attrs.checked=!0),t&&(v.attrs.contenteditable=!0),y};return{select:()=>{const p=d.attrs||d,{label:v,checked:y,selected:k,attrs:x}={attrs:p,...d,...p};return{tag:"option",attrs:{...x,selected:!!(y||k)},children:v}},button:p=>{const{type:v,label:y,className:k,id:x}=p;return{...i,attrs:{type:v},className:k,id:x||Ce(),options:void 0,children:y,action:i.action}},checkbox:a,radio:a}[f]?.(d)};return e.map(h)}holdsContent(e){return e.outerHTML.includes("/")}isBlockInput(e){return!this.isInput(e)&&this.holdsContent(e)}isInput(e){let i=e;return typeof i!="string"&&(i=i.tagName),vc.has(i)}parsedHtml(e){const i=document.createElement("textarea");return i.innerHTML=e,i.textContent}labelAfter(e){const i=Se.get(e,"attrs.type"),t=Se.get(e,"config.labelAfter");return t===void 0?i==="checkbox"||i==="radio":t}syncCheckboxGroupRequired(e){const i=Array.from(e.querySelectorAll('input[type="checkbox"]')),t=!!e.closest("[hidden]"),n=!i.some(m=>m.checked);for(const m of i)m.required=!t&&n}requiredMark=()=>({tag:"span",className:"text-error",children:"*"});tooltip=e=>({tag:"span",className:"f-tooltip",dataset:{tooltip:e},content:V.icon("info-circle")});helpText=e=>({tag:"small",className:"f-help-text",children:e});label(e,i){const t=Se.get(e,"attrs.required")||Se.get(e,"config.required");let{config:{label:n="",helpText:m="",tooltip:f=null}}=e;const{id:g,attrs:c}=e;typeof n=="function"&&(n=n());const o={tag:"label",attrs:{for:g||c?.id},className:[],children:[n,t&&this.requiredMark(),f&&this.tooltip(f),m&&this.helpText(m)],action:{}};return i&&(o.attrs.for=void 0,o.attrs.contenteditable=!0,o.fMap=i),o}childType(e){return e===void 0?e:[["array",i=>Array.isArray(i)],["node",i=>i instanceof window.Node||i instanceof window.HTMLElement],["component",()=>e?.dom],[typeof e,()=>!0]].find(i=>i[1](e))[0]}getStyle(e,i=!1){let t;return window.getComputedStyle?t=window.getComputedStyle(e,null):e.currentStyle&&(t=e.currentStyle),i?t[i]:t}getElement(e){return{node:()=>e,object:()=>document.getElementById(e.id),string:()=>document.getElementById(e)}[this.childType(e)]()}empty(e){for(;e.firstChild;)this.remove(e.firstChild);return e}removeEmpty=e=>{const i=e.parentElement,t=Ee(e),n=i.getElementsByClassName(`formeo-${t}`);if(this.remove(e),!n.length)return this.isStage(i)?this.emptyClass(i):this.removeEmpty(i)};remove(e){const i=e.formeoComponent;return i?i.remove():e.parentElement.removeChild(e)}removeClasses(e,i){const t={string:n=>n.classList.remove(i),array:n=>{for(const m of i)n.classList.remove(m)}};t.object=t.string,Se.forEach(e,t[this.childType(i)])}addClasses(e,i){Se.forEach(e,{string:t=>t.classList.add(i),array:t=>{for(const n of i)t.classList.add(n)}}[this.childType(i)])}formGroup(e,i=""){return{className:["f-field-group",i],children:e}}coords(e){const i=e.getBoundingClientRect(),t=document.body.getBoundingClientRect();return{pageX:i.left+i.width/2,pageY:i.top-t.top-i.height/2}}clearStage(e){e.classList.add("removing-all-fields");const i=()=>{V.empty(e),e.classList.remove("removing-all-fields"),V.emptyClass(e),pe.slideDown(e,300)};pe.slideUp(e,600,i)}toggleSortable(e,i){let t=i;const n=Ee(e);if(!n)return;const m=Ee(e.parentElement),f=V[n].get(e.id).sortable;t||(t=!f.option("disabled")),f.option("disabled",t),m&&["rows","columns","stages"].includes(m)&&this.toggleSortable(e.parentElement,t)}emptyClass(e){const i=e.getElementsByClassName(gl.get(e.classList.item(0)));e.classList.toggle("empty",!i.length)}btnTemplate=({title:e="",...i})=>({tag:"button",attrs:{type:"button",title:e},...i});isControls=e=>Ee(e)===it;isStage=e=>Ee(e)===wt;isRow=e=>Ee(e)===Be;isColumn=e=>Ee(e)===We;isField=e=>Ee(e)===Ct;asComponent=e=>e.formeoComponent;isDOMElement(e){return e instanceof window.Element||e instanceof window.HTMLElement||!!(e&&typeof e=="object"&&e.nodeType===1&&typeof e.nodeName=="string")}resolveContainer(e){return typeof e=="string"?document.querySelector(e):e?.jquery?e[0]||null:e}},V=new xc,ht="f-autocomplete",Ec=`${ht}-display-field`,zn=`${ht}-list`,xt="highlight-component",ci=`${zn}-item`,Ac=(e,i)=>{const t=e.reduce((n,m)=>n+(m===i),0);return t>1?`(${t})`:""},Io=["config.label","config.controlId"],kc=["config.legend","name"],Tc=[...Io,...kc],Oi=e=>Io.reduce((i,t)=>i||e.get(t),null),cr=e=>Tc.reduce((i,t)=>i||e.get(t),null)||Pe(e.name),Mc=new Map([["condition.source",Oi],["if.condition.source",Oi],["if.condition.target",Oi],["then.condition.target",cr],["condition.target",cr]]),Do=({id:e,...i},t)=>{const{name:n,label:m}=i;return n?Mc.get(t)(i):m},$c=({selectedId:e,...i})=>(i.value===e&&(i.selected=!0),i),Ii=e=>(e.classList.contains(ci)||(e=e.parentElement),e),No=({value:e,textLabel:i,htmlLabel:t,componentType:n,depth:m=0},f)=>{const g={tag:"li",children:t,dataset:{value:e,label:i},className:[ci,`${ci}-depth-${m}`,`component-type-${n}`],action:{mousedown:({target:c})=>{c=Ii(c),f.setValue(c),f.selectOption(c),f.hideList()},mouseover:({target:c})=>{c=Ii(c),f.removeHighlight(),f.highlightComponent(c)},mouseleave:({target:c})=>{c=Ii(c),f.removeHighlight()}}};return V.create(g)},Lc=(e,i)=>{const t=e.data.options.map((n,m)=>{const f=`${e.address}.options[${m}]`,g=n.label,c=n.label;return No({value:f,textLabel:g,htmlLabel:c,componentType:"option",depth:1},i)});return V.create({tag:"ul",attrs:{className:[zn,"options-list"]},children:t})},Rc=e=>{const i=e.value,t=[],n=e.components.flatList();return Object.entries(n).reduce((m,[f,g])=>{const c=Do(g,e.key);if(c){const o=g.name,h={tag:"span",content:` ${Pe(o)}`,className:"component-type"},d=`${o}.${c}`;t.push(d);const u=Ac(t,d),l={tag:"span",content:u,className:"component-label-count"},s=[`${c} `,l,h],r=[c,u].join(" ").trim();if(g.isCheckable){const p=Lc(g,e);s.push(p)}const a=$c({value:f,textLabel:r,htmlLabel:s,componentType:o,selectedId:i});m.push(No(a,e))}return m},[])},_c=class{lastCache=Date.now();optionsCache=null;constructor({key:e,value:i,className:t,onChange:n=tn,components:m}){this.components=m,this.key=e,this.className=[t||this.key.replace(/\./g,"-")].flat(),this.value=i,this.onChange=n||tn,this.events=[],this.build()}createProxy(){return new Proxy(this,{get(e,i){if(i in e)return e[i];if(i in e.dom){const t=e.dom[i];return typeof t=="function"?t.bind(e.dom):t}},set(e,i,t){return i in e?e[i]=t:e.dom[i]=t,!0}})}get isAddress(){return Ae(this.value)}get valueComponent(){return Ae(this.value)&&this.components.getAddress(this.value)}build(){const e=t=>{const n=this.list,m=this.getActiveOption();let f=new Map([[38,()=>{const g=this.getPreviousOption(m);g&&this.selectOption(g)}],[40,()=>{const g=this.getNextOption(m);g&&this.selectOption(g)}],[13,()=>{m&&(this.selectOption(m),this.setValue(m),n.style.display==="none"?this.showList(m):this.hideList()),t.preventDefault()}],[27,()=>{this.hideList()}]]).get(t.keyCode);return f||(f=()=>!1),f()},i={focus:({target:t})=>{this.updateOptions(),t.parentElement.classList.add(`${ht}-focused`);const n=V.toggleElementsByStr(this.list.querySelectorAll(`.${ci}-depth-0`),t.value);t.addEventListener("keydown",e);const m=this.list.querySelector(".active-option")||n[0];this.showList(m)},blur:({target:t})=>{t.parentElement.classList.remove(`${ht}-focused`),t.removeEventListener("keydown",e),this.hideList()},input:t=>{const{value:n}=t.target,m=V.toggleElementsByStr(this.list.querySelectorAll("li"),n);if(n.length===0&&this.clearValue(),m.length===0)this.hideList();else{const f=this.getActiveOption()||m[0];this.showList(f)}this.setValue({dataset:{label:n,value:n}})}};return this.displayField=V.create({tag:"input",autocomplete:"off",action:i,attrs:{type:"text",className:Ec,value:this.label||this.value,placeholder:Z.get(`${this.key}.placeholder`)}}),this.hiddenField=V.create({tag:"input",attrs:{type:"hidden",className:ht,value:this.value}}),this.list=V.create({tag:"ul",attrs:{className:zn}}),this.clearButton=V.create({tag:"span",content:V.icon("remove"),className:"clear-button hidden",action:{click:()=>this.clearValue()}}),this.dom=V.create({children:[this.displayField,this.clearButton,this.hiddenField],className:[ht,this.className].flat(),action:{onRender:t=>{this.stage=t.closest(".formeo-stage"),this.value&&(this.displayField.value=this.label),this.clearButton.classList.toggle("hidden",!this.value.length)}}}),this.dom}get label(){if(!Ae(this.value))return this.value;const e=this.value&&this.components.getAddress(this.value);return e&&Do(e,`${this.key}`)||this.value}updateOptions(){let e=this.optionsCache;const i=Date.now();(i-this.lastCache>Mn*5||!e)&&(V.empty(this.list),e=this.generateOptions(),this.lastCache=i),this.list.children.length||this.list.append(...e)}generateOptions(){return this.optionsCache=Rc(this),this.optionsCache}setListPosition(){const{offsetHeight:e,offsetWidth:i}=this.displayField,t=this.displayField.closest(".formeo-stage").getBoundingClientRect(),n=this.displayField.getBoundingClientRect(),m={position:"absolute",top:`${n.y+e-t.y}px`,left:`${n.x+window.scrollX-t.x+2}px`,width:`${i}px`};Object.assign(this.list.style,m)}showList(e,i=this.list){this.stage.contains(this.list)||this.stage.appendChild(this.list),this.setListPosition(),this.selectOption(e),pe.slideDown(i,nt)}hideList(e=this.list){pe.slideUp(e,nt),this.removeHighlight(),this.stage.contains(this.list)&&this.stage.removeChild(this.list)}getActiveOption(e=this.list){const i=e.querySelector(".active-option");return i?.style.display!=="none"?i:null}getPreviousOption(e){let i=e;do i=i?i.previousSibling:null;while(i!=null&&i.style.display==="none");return i}getNextOption(e){let i=e;do i=i?i.nextSibling:null;while(i!=null&&i.style.display==="none");return i}selectOption(e,i=this.list){const t=i.querySelectorAll("li");for(const n of t){const{dataset:{value:m}}=n;n.classList.remove("active-option"),Ae(m)&&this.components.getAddress(m)?.dom?.classList.remove(xt)}e&&(e.classList.add("active-option"),this.highlightComponent(e))}removeHighlight(){const e=document.getElementsByClassName(xt);for(const i of e)i.classList.remove(xt)}highlightComponent(e){const{dataset:{value:i}}=e;if(Ae(i)){const{componentAddress:t,isOptionAddress:n,optionIndex:m}=rt(i).reduce((g,c)=>c==="options"?(g.isOptionAddress=!0,g):g.isOptionAddress?(g.optionIndex=+c,g):(g.componentAddress.push(c),g),{componentAddress:[],optionIndex:null,isOptionAddress:!1}),f=this.components.getAddress(t);f?.dom&&(f.dom.classList.add(xt),n&&f.dom.querySelectorAll(".field-preview .f-checkbox, .field-preview .f-radio")[m]?.classList.add(xt))}}clearValue(){this.selectOption(null),this.setValue({dataset:{label:"",value:""}}),this.displayField.focus()}setValue(e){const{label:i,value:t}=e.dataset;this.displayField.value=i,this.hiddenField.value=t,this.value=t,this.clearButton.classList.toggle("hidden",!t.length),this.onChange?.({target:this.hiddenField})}},Fo=e=>Z.get(`${e}.placeholder`)||Pe(ai(e)),Pn=e=>e.replaceAll(".","-"),ur=new Map([["config.helpText",(...e)=>dr(...e)],["config.tooltip",(...e)=>dr(...e)]]);function Di({key:e,value:i,type:t="text",checked:n}){const m={tag:"input",attrs:{type:t,value:i,placeholder:Fo(e)},className:[Pn(e)],config:{}};return n&&(m.attrs.checked=!0),m}function dr({key:e,value:i}){return{tag:"textarea",attrs:{placeholder:Fo(e)},className:[Pn(e)],config:{},textContent:i}}function Ie(e){const i=Z.get(e);if(i)return i;const t=ai(e);return Z.get(t)||Pe(t)}var mt={autocomplete:(...e)=>new _c(...e).createProxy(),string:({key:e,value:i})=>ur.has(e)?ur.get(e)({key:e,value:i}):Di({key:e,value:i}),boolean:({key:e,value:i})=>Di({key:e,value:i,type:e==="selected"?"radio":"checkbox",checked:!!i}),number:({key:e,value:i})=>Di({key:e,value:i,type:"number"}),array:({key:e,value:i})=>({tag:"select",attrs:{placeholder:Ie(`placeholder.${e}`)},className:[Pn(e)],options:i}),object:e=>Object.entries(e).map(([i,t])=>mt[V.childType(t)]({key:i,value:t}))},Oc={boolean:(e,i)=>({click:({target:t})=>{if(t.type==="radio"){const n=i.data.options.map(m=>({...m,selected:!1}));i.set("options",n)}i.set(e,t.checked),i.updatePreview()}}),string:(e,i)=>({input:({target:{value:t}})=>{i.set(e,t),i.debouncedUpdatePreview()}}),number:(e,i)=>({input:({target:{value:t}})=>{i.set(e,Number(t)),i.debouncedUpdatePreview()}}),array:(e,i)=>({change:({target:{value:t}})=>{i.set(e,t),i.debouncedUpdatePreview()}}),object:()=>({})},Ic=Object.freeze({title:"",content:null,confirmText:()=>Ie("save"),cancelText:()=>Ie("cancel"),onConfirm:()=>{},onCancel:()=>{},className:"",closeOnEscape:!0,position:"top",triggerElement:null,triggerCoords:null}),zo=class Qt{constructor(i){this.opts=Re(Ic,i),this.dialog=null}createDialog(){const{title:i,content:t,confirmText:n,cancelText:m,className:f,closeOnEscape:g,position:c}=this.opts,o=`dialog-position-${c}`,h=[];return i&&h.push({tag:"h3",className:"dialog-title",textContent:i}),t&&h.push({tag:"div",className:"dialog-body",children:Array.isArray(t)?t:[t]}),h.push({tag:"div",className:"dialog-actions",children:[{tag:"button",type:"button",className:"btn btn-sm btn-secondary",textContent:typeof m=="function"?m():m,action:{click:()=>this.handleCancel()}},{tag:"button",type:"submit",className:"btn btn-sm btn-primary",textContent:typeof n=="function"?n():n}]}),V.create({tag:"dialog",className:["formeo-dialog","formeo",o,f],children:[{tag:"form",className:"dialog-form",method:"dialog",children:h,action:{submit:d=>this.handleSubmit(d)}}],action:{cancel:d=>{g?this.handleCancel():d.preventDefault()}}})}handleSubmit(i){i.preventDefault();const t=new FormData(i.target);this.opts.onConfirm(t,this),this.close()}handleCancel(){this.opts.onCancel(this),this.close()}setPosition(){const{position:i,triggerElement:t,triggerCoords:n}=this.opts;if(i!=="trigger"||!this.dialog)return;let m=n;if(!m&&t){const f=t.getBoundingClientRect();m={x:f.left+f.width/2,y:f.bottom+8}}if(m){const f=this.dialog.getBoundingClientRect(),g=window.innerWidth,c=window.innerHeight;let o=m.x-f.width/2,h=m.y;const d=16;o=Math.max(d,Math.min(o,g-f.width-d)),h=Math.max(d,Math.min(h,c-f.height-d)),this.dialog.style.left=`${o}px`,this.dialog.style.top=`${h}px`,this.dialog.style.transform="none"}}open(){if(this.dialog||(this.dialog=this.createDialog()),document.body.appendChild(this.dialog),this.dialog.showModal(),this.opts.position==="trigger"){const i=setTimeout(()=>{this.setPosition(),clearTimeout(i)},0)}return this}close(){this.dialog&&(this.dialog.close(),this.dialog.remove(),this.dialog=null)}static alert(i,t=()=>{}){return new Qt({content:{tag:"p",className:"dialog-message",textContent:i},confirmText:()=>Z.get("ok")||"OK",cancelText:"",onConfirm:()=>t()})}static confirm(i,t=()=>{},n=()=>{}){return new Qt({content:{tag:"p",className:"dialog-message",textContent:i},confirmText:()=>Z.get("confirm")||"Confirm",onConfirm:()=>t(),onCancel:()=>n()})}static prompt(i,t=()=>{},n=""){return new Qt({content:[{tag:"label",className:"dialog-prompt-label",children:[{tag:"p",className:"dialog-message",textContent:i},{tag:"input",type:"text",name:"prompt-value",className:"dialog-prompt-input",value:n}]}],onConfirm:m=>{t(m.get("prompt-value"))}})}},Dc=/^[A-Za-z_:][-A-Za-z0-9_:]*$/,hr=(e,i)=>{const t=e.trim();return t?!Dc.test(t)||i.isDisabled(`attrs.${t}`)?Z.get("attributeNotPermitted",{attribute:t})||`Attribute "${t}" is not permitted`:"":e?Z.get("attributeNameRequired")||"Enter an attribute name":""},Nc=e=>new zo({className:"add-attribute-dialog",content:[{tag:"input",attrs:{type:"text",name:"attrName",className:"attr-name-input",required:!0,autocomplete:"off"},config:{label:e.message.attr},action:{input:({target:i})=>i.setCustomValidity(hr(i.value,e))}},{tag:"input",attrs:{type:"text",name:"attrValue",className:"attr-value-input",autocomplete:"off"},config:{label:e.message.value}}],onConfirm:i=>{const t=String(i.get("attrName")??"").trim();t&&!hr(t,e)&&e.addAction(t,String(i.get("attrValue")??""))}}).open(),pr={add:{attr:e=>Nc(e),option:e=>{e.addAction()},condition:e=>{e.addAction(e)},config:e=>{e.addAction(e)}},remove:{attrs:e=>{e.removeAction()},options:e=>{e.removeAction()},conditions:e=>{e.removeAction()}},click:{btn:e=>{e.action()}},save:{form:en}},Hn=class{opts=null;events=null;constructor(e){this.events=e}init(e={}){const i=Object.keys(pr);return this.opts=i.reduce((t,n)=>(t[n]={...pr[n],...e[n]},t),e),this}add={attrs:e=>this.opts.add.attr(e),options:e=>this.opts.add.option(e),conditions:e=>(e.template=e.template||Dn(),this.opts.add.condition(e)),config:e=>this.opts.add.config(e)};remove={attrs:e=>this.opts.remove.attrs(e),options:e=>this.opts.remove.options(e),conditions:e=>this.opts.remove.conditions(e)};click={btn:e=>this.opts.click.btn(e)};save={form:e=>(this.opts.sessionStorage&&Sn.set(ni(this.opts.sessionStorage),e),this.events?.formeoSaved({formData:e}),this.opts.save.form(e))}},Po=new Hn(null),Ht="no-transition",Fc=new Map([[go,["onUpdate","onUpdateStage"]],[mo,["onUpdate","onUpdateRow"]],[vo,["onUpdate","onUpdateColumn"]],[yo,["onUpdate","onUpdateField"]],[$n,["onAdd","onAddRow"]],[Ln,["onAdd","onAddColumn"]],[Rn,["onAdd","onAddField"]],[_n,["onRemove","onRemoveRow"]],[On,["onRemove","onRemoveColumn"]],[In,["onRemove","onRemoveField"]],[bo,["onRender"]]]),zc=e=>e.target===document||!!(e.bubbles&&e.target?.isConnected),Bn=class{components=null;constructor(){this.opts=this.defaults(),this.formeoUpdatedThrottled=tr(()=>{const e={timeStamp:globalThis.performance.now(),type:Ll,detail:this.components?.formData};this.opts.onUpdate(e),this.opts.onChange!==this.opts.onUpdate&&this.opts.onChange(e)},nt,{trailing:!0})}defaults(){const e=i=>this.opts?.debug&&console.log(i);return{debug:!1,bubbles:!0,formeoLoaded:i=>{},onAdd:()=>{},onRemove:()=>{},onChange:e,onUpdate:e,onUpdateStage:e,onUpdateRow:e,onUpdateColumn:e,onUpdateField:e,onAddRow:e,onAddColumn:e,onAddField:e,onRemoveRow:e,onRemoveColumn:e,onRemoveField:e,onRender:e,onSave:i=>{},confirmClearAll:i=>{globalThis.confirm(i.confirmationMessage)&&i.clearAllAction(i)}}}init(e){return this.opts={...this.defaults(),...e},this}dispatch(e,{src:i,...t}){const n={detail:t,bubbles:this.opts.debug||this.opts.bubbles},m=new globalThis.CustomEvent(e,n);return m.data=(i||document).dispatchEvent(m),e==="formeoUpdated"&&(i||document).dispatchEvent(new globalThis.CustomEvent(Rl,n)),zc(m)&&this.runCallbacks(m),m}runCallbacks({type:e,timeStamp:i,detail:t}){if(e==="formeoUpdated")return this.formeoUpdatedThrottled();if(e==="formeoSaved")return this.opts.onSave({timeStamp:i,type:e,formData:t.formData});for(const n of Fc.get(e)||[])this.opts[n]({timeStamp:i,type:e,detail:t})}formeoSaved=e=>this.dispatch($l,e);formeoUpdated=(e,i)=>this.dispatch(i||"formeoUpdated",e);formeoCleared=e=>this.dispatch(_l,e);formeoOnRender=e=>this.dispatch(bo,e);formeoConditionUpdated=e=>this.dispatch(Ol,e);formeoAddedRow=e=>this.dispatch($n,e);formeoAddedColumn=e=>this.dispatch(Ln,e);formeoAddedField=e=>this.dispatch(Rn,e);formeoRemovedRow=e=>this.dispatch(_n,e);formeoRemovedColumn=e=>this.dispatch(On,e);formeoRemovedField=e=>this.dispatch(In,e);confirmClearAll=e=>{const i=new globalThis.CustomEvent("confirmClearAll",{detail:e});document.dispatchEvent(i),this.opts.confirmClearAll({timeStamp:i.timeStamp,type:i.type,...e})};formeoLoaded=e=>{document.dispatchEvent(new globalThis.CustomEvent("formeoLoaded",{detail:{formeo:e}})),this.opts.formeoLoaded(e)};columnResized=e=>document.dispatchEvent(new globalThis.CustomEvent("columnResized",{detail:e}));onResizeWindow=()=>{const{columns:e,controls:i}=this.components||{};!e||!i?.dom?.isConnected||this.resizeFrame||(this.resizeFrame=window.requestAnimationFrame(()=>{this.resizeFrame=null;for(const t of Object.values(e.data))t.dom.classList.add(Ht),i.dom.classList.add(Ht),i.panels.nav.refresh(),t.refreshFieldPanels(),tr(()=>{t.dom.classList.remove(Ht),i.dom.classList.remove(Ht)},333)}))}},Ho=new Bn;function Pc(e,i,t){return(i=jc(i))in e?Object.defineProperty(e,i,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[i]=t,e}function je(){return je=Object.assign?Object.assign.bind():function(e){for(var i=1;i<arguments.length;i++){var t=arguments[i];for(var n in t)({}).hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},je.apply(null,arguments)}function fr(e,i){var t=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);i&&(n=n.filter(function(m){return Object.getOwnPropertyDescriptor(e,m).enumerable})),t.push.apply(t,n)}return t}function Fe(e){for(var i=1;i<arguments.length;i++){var t=arguments[i]!=null?arguments[i]:{};i%2?fr(Object(t),!0).forEach(function(n){Pc(e,n,t[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(t)):fr(Object(t)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(t,n))})}return e}function Hc(e,i){if(e==null)return{};var t,n,m=Bc(e,i);if(Object.getOwnPropertySymbols){var f=Object.getOwnPropertySymbols(e);for(n=0;n<f.length;n++)t=f[n],i.indexOf(t)===-1&&{}.propertyIsEnumerable.call(e,t)&&(m[t]=e[t])}return m}function Bc(e,i){if(e==null)return{};var t={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(i.indexOf(n)!==-1)continue;t[n]=e[n]}return t}function Wc(e,i){if(typeof e!="object"||!e)return e;var t=e[Symbol.toPrimitive];if(t!==void 0){var n=t.call(e,i||"default");if(typeof n!="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(i==="string"?String:Number)(e)}function jc(e){var i=Wc(e,"string");return typeof i=="symbol"?i:i+""}function sn(e){"@babel/helpers - typeof";return sn=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(i){return typeof i}:function(i){return i&&typeof Symbol=="function"&&i.constructor===Symbol&&i!==Symbol.prototype?"symbol":typeof i},sn(e)}var Vc="1.15.7";function He(e){if(typeof window<"u"&&window.navigator)return!!navigator.userAgent.match(e)}var Ue=He(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),Nt=He(/Edge/i),gr=He(/firefox/i),$t=He(/safari/i)&&!He(/chrome/i)&&!He(/android/i),Wn=He(/iP(ad|od|hone)/i),Bo=He(/chrome/i)&&He(/android/i),Wo={capture:!1,passive:!1};function ne(e,i,t){e.addEventListener(i,t,!Ue&&Wo)}function ie(e,i,t){e.removeEventListener(i,t,!Ue&&Wo)}function ui(e,i){if(i){if(i[0]===">"&&(i=i.substring(1)),e)try{if(e.matches)return e.matches(i);if(e.msMatchesSelector)return e.msMatchesSelector(i);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(i)}catch{return!1}return!1}}function jo(e){return e.host&&e!==document&&e.host.nodeType&&e.host!==e?e.host:e.parentNode}function Le(e,i,t,n){if(e){t=t||document;do{if(i!=null&&(i[0]===">"?e.parentNode===t&&ui(e,i):ui(e,i))||n&&e===t)return e;if(e===t)break}while(e=jo(e))}return null}var mr=/\s+/g;function be(e,i,t){e&&i&&(e.classList?e.classList[t?"add":"remove"](i):e.className=((" "+e.className+" ").replace(mr," ").replace(" "+i+" "," ")+(t?" "+i:"")).replace(mr," "))}function J(e,i,t){var n=e&&e.style;if(n){if(t===void 0)return document.defaultView&&document.defaultView.getComputedStyle?t=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(t=e.currentStyle),i===void 0?t:t[i];!(i in n)&&i.indexOf("webkit")===-1&&(i="-webkit-"+i),n[i]=t+(typeof t=="string"?"":"px")}}function gt(e,i){var t="";if(typeof e=="string")t=e;else do{var n=J(e,"transform");n&&n!=="none"&&(t=n+" "+t)}while(!i&&(e=e.parentNode));var m=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return m&&new m(t)}function Vo(e,i,t){if(e){var n=e.getElementsByTagName(i),m=0,f=n.length;if(t)for(;m<f;m++)t(n[m],m);return n}return[]}function De(){var e=document.scrollingElement;return e||document.documentElement}function ce(e,i,t,n,m){if(!(!e.getBoundingClientRect&&e!==window)){var f,g,c,o,h,d,u;if(e!==window&&e.parentNode&&e!==De()?(f=e.getBoundingClientRect(),g=f.top,c=f.left,o=f.bottom,h=f.right,d=f.height,u=f.width):(g=0,c=0,o=window.innerHeight,h=window.innerWidth,d=window.innerHeight,u=window.innerWidth),(i||t)&&e!==window&&(m=m||e.parentNode,!Ue))do if(m&&m.getBoundingClientRect&&(J(m,"transform")!=="none"||t&&J(m,"position")!=="static")){var l=m.getBoundingClientRect();g-=l.top+parseInt(J(m,"border-top-width")),c-=l.left+parseInt(J(m,"border-left-width")),o=g+f.height,h=c+f.width;break}while(m=m.parentNode);if(n&&e!==window){var s=gt(m||e),r=s&&s.a,a=s&&s.d;s&&(g/=a,c/=r,u/=r,d/=a,o=g+d,h=c+u)}return{top:g,left:c,bottom:o,right:h,width:u,height:d}}}function vr(e,i,t){for(var n=qe(e,!0),m=ce(e)[i];n;){var f=ce(n)[t],g=void 0;if(t==="top"||t==="left"?g=m>=f:g=m<=f,!g)return n;if(n===De())break;n=qe(n,!1)}return!1}function vt(e,i,t,n){for(var m=0,f=0,g=e.children;f<g.length;){if(g[f].style.display!=="none"&&g[f]!==X.ghost&&(n||g[f]!==X.dragged)&&Le(g[f],t.draggable,e,!1)){if(m===i)return g[f];m++}f++}return null}function jn(e,i){for(var t=e.lastElementChild;t&&(t===X.ghost||J(t,"display")==="none"||i&&!ui(t,i));)t=t.previousElementSibling;return t||null}function xe(e,i){var t=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)e.nodeName.toUpperCase()!=="TEMPLATE"&&e!==X.clone&&(!i||ui(e,i))&&t++;return t}function yr(e){var i=0,t=0,n=De();if(e)do{var m=gt(e),f=m.a,g=m.d;i+=e.scrollLeft*f,t+=e.scrollTop*g}while(e!==n&&(e=e.parentNode));return[i,t]}function Uc(e,i){for(var t in e)if(e.hasOwnProperty(t)){for(var n in i)if(i.hasOwnProperty(n)&&i[n]===e[t][n])return Number(t)}return-1}function qe(e,i){if(!e||!e.getBoundingClientRect)return De();var t=e,n=!1;do if(t.clientWidth<t.scrollWidth||t.clientHeight<t.scrollHeight){var m=J(t);if(t.clientWidth<t.scrollWidth&&(m.overflowX=="auto"||m.overflowX=="scroll")||t.clientHeight<t.scrollHeight&&(m.overflowY=="auto"||m.overflowY=="scroll")){if(!t.getBoundingClientRect||t===document.body)return De();if(n||i)return t;n=!0}}while(t=t.parentNode);return De()}function Gc(e,i){if(e&&i)for(var t in i)i.hasOwnProperty(t)&&(e[t]=i[t]);return e}function Ni(e,i){return Math.round(e.top)===Math.round(i.top)&&Math.round(e.left)===Math.round(i.left)&&Math.round(e.height)===Math.round(i.height)&&Math.round(e.width)===Math.round(i.width)}var Lt;function Uo(e,i){return function(){if(!Lt){var t=arguments,n=this;t.length===1?e.call(n,t[0]):e.apply(n,t),Lt=setTimeout(function(){Lt=void 0},i)}}}function Kc(){clearTimeout(Lt),Lt=void 0}function Go(e,i,t){e.scrollLeft+=i,e.scrollTop+=t}function Ko(e){var i=window.Polymer,t=window.jQuery||window.Zepto;return i&&i.dom?i.dom(e).cloneNode(!0):t?t(e).clone(!0)[0]:e.cloneNode(!0)}function qo(e,i,t){var n={};return Array.from(e.children).forEach(function(m){var f,g,c,o;if(!(!Le(m,i.draggable,e,!1)||m.animated||m===t)){var h=ce(m);n.left=Math.min((f=n.left)!==null&&f!==void 0?f:1/0,h.left),n.top=Math.min((g=n.top)!==null&&g!==void 0?g:1/0,h.top),n.right=Math.max((c=n.right)!==null&&c!==void 0?c:-1/0,h.right),n.bottom=Math.max((o=n.bottom)!==null&&o!==void 0?o:-1/0,h.bottom)}}),n.width=n.right-n.left,n.height=n.bottom-n.top,n.x=n.left,n.y=n.top,n}var ye="Sortable"+new Date().getTime();function qc(){var e=[],i;return{captureAnimationState:function(){e=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(n){if(!(J(n,"display")==="none"||n===X.ghost)){e.push({target:n,rect:ce(n)});var m=Fe({},e[e.length-1].rect);if(n.thisAnimationDuration){var f=gt(n,!0);f&&(m.top-=f.f,m.left-=f.e)}n.fromRect=m}})},addAnimationState:function(n){e.push(n)},removeAnimationState:function(n){e.splice(Uc(e,{target:n}),1)},animateAll:function(n){var m=this;if(!this.options.animation){clearTimeout(i),typeof n=="function"&&n();return}var f=!1,g=0;e.forEach(function(c){var o=0,h=c.target,d=h.fromRect,u=ce(h),l=h.prevFromRect,s=h.prevToRect,r=c.rect,a=gt(h,!0);a&&(u.top-=a.f,u.left-=a.e),h.toRect=u,h.thisAnimationDuration&&Ni(l,u)&&!Ni(d,u)&&(r.top-u.top)/(r.left-u.left)===(d.top-u.top)/(d.left-u.left)&&(o=Zc(r,l,s,m.options)),Ni(u,d)||(h.prevFromRect=d,h.prevToRect=u,o||(o=m.options.animation),m.animate(h,r,u,o)),o&&(f=!0,g=Math.max(g,o),clearTimeout(h.animationResetTimer),h.animationResetTimer=setTimeout(function(){h.animationTime=0,h.prevFromRect=null,h.fromRect=null,h.prevToRect=null,h.thisAnimationDuration=null},o),h.thisAnimationDuration=o)}),clearTimeout(i),f?i=setTimeout(function(){typeof n=="function"&&n()},g):typeof n=="function"&&n(),e=[]},animate:function(n,m,f,g){if(g){J(n,"transition",""),J(n,"transform","");var c=gt(this.el),o=c&&c.a,h=c&&c.d,d=(m.left-f.left)/(o||1),u=(m.top-f.top)/(h||1);n.animatingX=!!d,n.animatingY=!!u,J(n,"transform","translate3d("+d+"px,"+u+"px,0)"),this.forRepaintDummy=Yc(n),J(n,"transition","transform "+g+"ms"+(this.options.easing?" "+this.options.easing:"")),J(n,"transform","translate3d(0,0,0)"),typeof n.animated=="number"&&clearTimeout(n.animated),n.animated=setTimeout(function(){J(n,"transition",""),J(n,"transform",""),n.animated=!1,n.animatingX=!1,n.animatingY=!1},g)}}}}function Yc(e){return e.offsetWidth}function Zc(e,i,t,n){return Math.sqrt(Math.pow(i.top-e.top,2)+Math.pow(i.left-e.left,2))/Math.sqrt(Math.pow(i.top-t.top,2)+Math.pow(i.left-t.left,2))*n.animation}var lt=[],Fi={initializeByDefault:!0},Ft={mount:function(i){for(var t in Fi)Fi.hasOwnProperty(t)&&!(t in i)&&(i[t]=Fi[t]);lt.forEach(function(n){if(n.pluginName===i.pluginName)throw"Sortable: Cannot mount plugin ".concat(i.pluginName," more than once")}),lt.push(i)},pluginEvent:function(i,t,n){var m=this;this.eventCanceled=!1,n.cancel=function(){m.eventCanceled=!0};var f=i+"Global";lt.forEach(function(g){t[g.pluginName]&&(t[g.pluginName][f]&&t[g.pluginName][f](Fe({sortable:t},n)),t.options[g.pluginName]&&t[g.pluginName][i]&&t[g.pluginName][i](Fe({sortable:t},n)))})},initializePlugins:function(i,t,n,m){lt.forEach(function(c){var o=c.pluginName;if(!(!i.options[o]&&!c.initializeByDefault)){var h=new c(i,t,i.options);h.sortable=i,h.options=i.options,i[o]=h,je(n,h.defaults)}});for(var f in i.options)if(i.options.hasOwnProperty(f)){var g=this.modifyOption(i,f,i.options[f]);typeof g<"u"&&(i.options[f]=g)}},getEventProperties:function(i,t){var n={};return lt.forEach(function(m){typeof m.eventProperties=="function"&&je(n,m.eventProperties.call(t[m.pluginName],i))}),n},modifyOption:function(i,t,n){var m;return lt.forEach(function(f){i[f.pluginName]&&f.optionListeners&&typeof f.optionListeners[t]=="function"&&(m=f.optionListeners[t].call(i[f.pluginName],n))}),m}};function Qc(e){var i=e.sortable,t=e.rootEl,n=e.name,m=e.targetEl,f=e.cloneEl,g=e.toEl,c=e.fromEl,o=e.oldIndex,h=e.newIndex,d=e.oldDraggableIndex,u=e.newDraggableIndex,l=e.originalEvent,s=e.putSortable,r=e.extraEventProperties;if(i=i||t&&t[ye],!!i){var a,p=i.options,v="on"+n.charAt(0).toUpperCase()+n.substr(1);window.CustomEvent&&!Ue&&!Nt?a=new CustomEvent(n,{bubbles:!0,cancelable:!0}):(a=document.createEvent("Event"),a.initEvent(n,!0,!0)),a.to=g||t,a.from=c||t,a.item=m||t,a.clone=f,a.oldIndex=o,a.newIndex=h,a.oldDraggableIndex=d,a.newDraggableIndex=u,a.originalEvent=l,a.pullMode=s?s.lastPutMode:void 0;var y=Fe(Fe({},r),Ft.getEventProperties(n,i));for(var k in y)a[k]=y[k];t&&t.dispatchEvent(a),p[v]&&p[v].call(i,a)}}var Xc=["evt"],ge=function(i,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},m=n.evt,f=Hc(n,Xc);Ft.pluginEvent.bind(X)(i,t,Fe({dragEl:K,parentEl:ae,ghostEl:te,rootEl:re,nextEl:et,lastDownEl:Xt,cloneEl:oe,cloneHidden:Ke,dragStarted:kt,putSortable:de,activeSortable:X.active,originalEvent:m,oldIndex:pt,oldDraggableIndex:Rt,newIndex:we,newDraggableIndex:Ge,hideGhostForTarget:Xo,unhideGhostForTarget:Jo,cloneNowHidden:function(){Ke=!0},cloneNowShown:function(){Ke=!1},dispatchSortableEvent:function(c){fe({sortable:t,name:c,originalEvent:m})}},f))};function fe(e){Qc(Fe({putSortable:de,cloneEl:oe,targetEl:K,rootEl:re,oldIndex:pt,oldDraggableIndex:Rt,newIndex:we,newDraggableIndex:Ge},e))}var K,ae,te,re,et,Xt,oe,Ke,pt,we,Rt,Ge,Bt,de,dt=!1,di=!1,hi=[],Xe,$e,zi,Pi,br,wr,kt,ct,_t,Ot=!1,Wt=!1,Jt,he,Hi=[],an=!1,pi=[],ki=typeof document<"u",jt=Wn,Cr=Nt||Ue?"cssFloat":"float",Jc=ki&&!Bo&&!Wn&&"draggable"in document.createElement("div"),Yo=(function(){if(ki){if(Ue)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto",e.style.pointerEvents==="auto"}})(),Zo=function(i,t){var n=J(i),m=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),f=vt(i,0,t),g=vt(i,1,t),c=f&&J(f),o=g&&J(g),h=c&&parseInt(c.marginLeft)+parseInt(c.marginRight)+ce(f).width,d=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+ce(g).width;if(n.display==="flex")return n.flexDirection==="column"||n.flexDirection==="column-reverse"?"vertical":"horizontal";if(n.display==="grid")return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(f&&c.float&&c.float!=="none"){var u=c.float==="left"?"left":"right";return g&&(o.clear==="both"||o.clear===u)?"vertical":"horizontal"}return f&&(c.display==="block"||c.display==="flex"||c.display==="table"||c.display==="grid"||h>=m&&n[Cr]==="none"||g&&n[Cr]==="none"&&h+d>m)?"vertical":"horizontal"},eu=function(i,t,n){var m=n?i.left:i.top,f=n?i.right:i.bottom,g=n?i.width:i.height,c=n?t.left:t.top,o=n?t.right:t.bottom,h=n?t.width:t.height;return m===c||f===o||m+g/2===c+h/2},tu=function(i,t){var n;return hi.some(function(m){var f=m[ye].options.emptyInsertThreshold;if(!(!f||jn(m))){var g=ce(m),c=i>=g.left-f&&i<=g.right+f,o=t>=g.top-f&&t<=g.bottom+f;if(c&&o)return n=m}}),n},Qo=function(i){function t(f,g){return function(c,o,h,d){var u=c.options.group.name&&o.options.group.name&&c.options.group.name===o.options.group.name;if(f==null&&(g||u))return!0;if(f==null||f===!1)return!1;if(g&&f==="clone")return f;if(typeof f=="function")return t(f(c,o,h,d),g)(c,o,h,d);var l=(g?c:o).options.group.name;return f===!0||typeof f=="string"&&f===l||f.join&&f.indexOf(l)>-1}}var n={},m=i.group;(!m||sn(m)!="object")&&(m={name:m}),n.name=m.name,n.checkPull=t(m.pull,!0),n.checkPut=t(m.put),n.revertClone=m.revertClone,i.group=n},Xo=function(){!Yo&&te&&J(te,"display","none")},Jo=function(){!Yo&&te&&J(te,"display","")};ki&&!Bo&&document.addEventListener("click",function(e){if(di)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),di=!1,!1},!0);var Je=function(i){if(K){i=i.touches?i.touches[0]:i;var t=tu(i.clientX,i.clientY);if(t){var n={};for(var m in i)i.hasOwnProperty(m)&&(n[m]=i[m]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[ye]._onDragOver(n)}}},iu=function(i){K&&K.parentNode[ye]._isOutsideThisEl(i.target)};function X(e,i){if(!(e&&e.nodeType&&e.nodeType===1))throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=i=je({},i),e[ye]=this;var t={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Zo(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(g,c){g.setData("Text",c.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:X.supportPointer!==!1&&"PointerEvent"in window&&(!$t||Wn),emptyInsertThreshold:5};Ft.initializePlugins(this,e,t);for(var n in t)!(n in i)&&(i[n]=t[n]);Qo(i);for(var m in this)m.charAt(0)==="_"&&typeof this[m]=="function"&&(this[m]=this[m].bind(this));this.nativeDraggable=i.forceFallback?!1:Jc,this.nativeDraggable&&(this.options.touchStartThreshold=1),i.supportPointer?ne(e,"pointerdown",this._onTapStart):(ne(e,"mousedown",this._onTapStart),ne(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(ne(e,"dragover",this),ne(e,"dragenter",this)),hi.push(this.el),i.store&&i.store.get&&this.sort(i.store.get(this)||[]),je(this,qc())}X.prototype={constructor:X,_isOutsideThisEl:function(i){!this.el.contains(i)&&i!==this.el&&(ct=null)},_getDirection:function(i,t){return typeof this.options.direction=="function"?this.options.direction.call(this,i,t,K):this.options.direction},_onTapStart:function(i){if(i.cancelable){var t=this,n=this.el,m=this.options,f=m.preventOnFilter,g=i.type,c=i.touches&&i.touches[0]||i.pointerType&&i.pointerType==="touch"&&i,o=(c||i).target,h=i.target.shadowRoot&&(i.path&&i.path[0]||i.composedPath&&i.composedPath()[0])||o,d=m.filter;if(uu(n),!K&&!(/mousedown|pointerdown/.test(g)&&i.button!==0||m.disabled)&&!h.isContentEditable&&!(!this.nativeDraggable&&$t&&o&&o.tagName.toUpperCase()==="SELECT")&&(o=Le(o,m.draggable,n,!1),!(o&&o.animated)&&Xt!==o)){if(pt=xe(o),Rt=xe(o,m.draggable),typeof d=="function"){if(d.call(this,i,o,this)){fe({sortable:t,rootEl:h,name:"filter",targetEl:o,toEl:n,fromEl:n}),ge("filter",t,{evt:i}),f&&i.preventDefault();return}}else if(d&&(d=d.split(",").some(function(u){if(u=Le(h,u.trim(),n,!1),u)return fe({sortable:t,rootEl:u,name:"filter",targetEl:o,fromEl:n,toEl:n}),ge("filter",t,{evt:i}),!0}),d)){f&&i.preventDefault();return}m.handle&&!Le(h,m.handle,n,!1)||this._prepareDragStart(i,c,o)}}},_prepareDragStart:function(i,t,n){var m=this,f=m.el,g=m.options,c=f.ownerDocument,o;if(n&&!K&&n.parentNode===f){var h=ce(n);if(re=f,K=n,ae=K.parentNode,et=K.nextSibling,Xt=n,Bt=g.group,X.dragged=K,Xe={target:K,clientX:(t||i).clientX,clientY:(t||i).clientY},br=Xe.clientX-h.left,wr=Xe.clientY-h.top,this._lastX=(t||i).clientX,this._lastY=(t||i).clientY,K.style["will-change"]="all",o=function(){if(ge("delayEnded",m,{evt:i}),X.eventCanceled){m._onDrop();return}m._disableDelayedDragEvents(),!gr&&m.nativeDraggable&&(K.draggable=!0),m._triggerDragStart(i,t),fe({sortable:m,name:"choose",originalEvent:i}),be(K,g.chosenClass,!0)},g.ignore.split(",").forEach(function(d){Vo(K,d.trim(),Bi)}),ne(c,"dragover",Je),ne(c,"mousemove",Je),ne(c,"touchmove",Je),g.supportPointer?(ne(c,"pointerup",m._onDrop),!this.nativeDraggable&&ne(c,"pointercancel",m._onDrop)):(ne(c,"mouseup",m._onDrop),ne(c,"touchend",m._onDrop),ne(c,"touchcancel",m._onDrop)),gr&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),ge("delayStart",this,{evt:i}),g.delay&&(!g.delayOnTouchOnly||t)&&(!this.nativeDraggable||!(Nt||Ue))){if(X.eventCanceled){this._onDrop();return}g.supportPointer?(ne(c,"pointerup",m._disableDelayedDrag),ne(c,"pointercancel",m._disableDelayedDrag)):(ne(c,"mouseup",m._disableDelayedDrag),ne(c,"touchend",m._disableDelayedDrag),ne(c,"touchcancel",m._disableDelayedDrag)),ne(c,"mousemove",m._delayedDragTouchMoveHandler),ne(c,"touchmove",m._delayedDragTouchMoveHandler),g.supportPointer&&ne(c,"pointermove",m._delayedDragTouchMoveHandler),m._dragStartTimer=setTimeout(o,g.delay)}else o()}},_delayedDragTouchMoveHandler:function(i){var t=i.touches?i.touches[0]:i;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){K&&Bi(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var i=this.el.ownerDocument;ie(i,"mouseup",this._disableDelayedDrag),ie(i,"touchend",this._disableDelayedDrag),ie(i,"touchcancel",this._disableDelayedDrag),ie(i,"pointerup",this._disableDelayedDrag),ie(i,"pointercancel",this._disableDelayedDrag),ie(i,"mousemove",this._delayedDragTouchMoveHandler),ie(i,"touchmove",this._delayedDragTouchMoveHandler),ie(i,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(i,t){t=t||i.pointerType=="touch"&&i,!this.nativeDraggable||t?this.options.supportPointer?ne(document,"pointermove",this._onTouchMove):t?ne(document,"touchmove",this._onTouchMove):ne(document,"mousemove",this._onTouchMove):(ne(K,"dragend",this),ne(re,"dragstart",this._onDragStart));try{document.selection?ei(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch{}},_dragStarted:function(i,t){if(dt=!1,re&&K){ge("dragStarted",this,{evt:t}),this.nativeDraggable&&ne(document,"dragover",iu);var n=this.options;!i&&be(K,n.dragClass,!1),be(K,n.ghostClass,!0),X.active=this,i&&this._appendGhost(),fe({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if($e){this._lastX=$e.clientX,this._lastY=$e.clientY,Xo();for(var i=document.elementFromPoint($e.clientX,$e.clientY),t=i;i&&i.shadowRoot&&(i=i.shadowRoot.elementFromPoint($e.clientX,$e.clientY),i!==t);)t=i;if(K.parentNode[ye]._isOutsideThisEl(i),t)do{if(t[ye]){var n=void 0;if(n=t[ye]._onDragOver({clientX:$e.clientX,clientY:$e.clientY,target:i,rootEl:t}),n&&!this.options.dragoverBubble)break}i=t}while(t=jo(t));Jo()}},_onTouchMove:function(i){if(Xe){var t=this.options,n=t.fallbackTolerance,m=t.fallbackOffset,f=i.touches?i.touches[0]:i,g=te&&gt(te,!0),c=te&&g&&g.a,o=te&&g&&g.d,h=jt&&he&&yr(he),d=(f.clientX-Xe.clientX+m.x)/(c||1)+(h?h[0]-Hi[0]:0)/(c||1),u=(f.clientY-Xe.clientY+m.y)/(o||1)+(h?h[1]-Hi[1]:0)/(o||1);if(!X.active&&!dt){if(n&&Math.max(Math.abs(f.clientX-this._lastX),Math.abs(f.clientY-this._lastY))<n)return;this._onDragStart(i,!0)}if(te){g?(g.e+=d-(zi||0),g.f+=u-(Pi||0)):g={a:1,b:0,c:0,d:1,e:d,f:u};var l="matrix(".concat(g.a,",").concat(g.b,",").concat(g.c,",").concat(g.d,",").concat(g.e,",").concat(g.f,")");J(te,"webkitTransform",l),J(te,"mozTransform",l),J(te,"msTransform",l),J(te,"transform",l),zi=d,Pi=u,$e=f}i.cancelable&&i.preventDefault()}},_appendGhost:function(){if(!te){var i=this.options.fallbackOnBody?document.body:re,t=ce(K,!0,jt,!0,i),n=this.options;if(jt){for(he=i;J(he,"position")==="static"&&J(he,"transform")==="none"&&he!==document;)he=he.parentNode;he!==document.body&&he!==document.documentElement?(he===document&&(he=De()),t.top+=he.scrollTop,t.left+=he.scrollLeft):he=De(),Hi=yr(he)}te=K.cloneNode(!0),be(te,n.ghostClass,!1),be(te,n.fallbackClass,!0),be(te,n.dragClass,!0),J(te,"transition",""),J(te,"transform",""),J(te,"box-sizing","border-box"),J(te,"margin",0),J(te,"top",t.top),J(te,"left",t.left),J(te,"width",t.width),J(te,"height",t.height),J(te,"opacity","0.8"),J(te,"position",jt?"absolute":"fixed"),J(te,"zIndex","100000"),J(te,"pointerEvents","none"),X.ghost=te,i.appendChild(te),J(te,"transform-origin",br/parseInt(te.style.width)*100+"% "+wr/parseInt(te.style.height)*100+"%")}},_onDragStart:function(i,t){var n=this,m=i.dataTransfer,f=n.options;if(ge("dragStart",this,{evt:i}),X.eventCanceled){this._onDrop();return}ge("setupClone",this),X.eventCanceled||(oe=Ko(K),oe.removeAttribute("id"),oe.draggable=!1,oe.style["will-change"]="",this._hideClone(),be(oe,this.options.chosenClass,!1),X.clone=oe),n.cloneId=ei(function(){ge("clone",n),!X.eventCanceled&&(n.options.removeCloneOnHide||re.insertBefore(oe,K),n._hideClone(),fe({sortable:n,name:"clone"}))}),!t&&be(K,f.dragClass,!0),t?(di=!0,n._loopId=setInterval(n._emulateDragOver,50)):(ie(document,"mouseup",n._onDrop),ie(document,"touchend",n._onDrop),ie(document,"touchcancel",n._onDrop),m&&(m.effectAllowed="move",f.setData&&f.setData.call(n,m,K)),ne(document,"drop",n),J(K,"transform","translateZ(0)")),dt=!0,n._dragStartId=ei(n._dragStarted.bind(n,t,i)),ne(document,"selectstart",n),kt=!0,window.getSelection().removeAllRanges(),$t&&J(document.body,"user-select","none")},_onDragOver:function(i){var t=this.el,n=i.target,m,f,g,c=this.options,o=c.group,h=X.active,d=Bt===o,u=c.sort,l=de||h,s,r=this,a=!1;if(an)return;function p(O,I){ge(O,r,Fe({evt:i,isOwner:d,axis:s?"vertical":"horizontal",revert:g,dragRect:m,targetRect:f,canSort:u,fromSortable:l,target:n,completed:y,onMove:function(F,z){return Vt(re,t,K,m,F,ce(F),i,z)},changed:k},I))}function v(){p("dragOverAnimationCapture"),r.captureAnimationState(),r!==l&&l.captureAnimationState()}function y(O){return p("dragOverCompleted",{insertion:O}),O&&(d?h._hideClone():h._showClone(r),r!==l&&(be(K,de?de.options.ghostClass:h.options.ghostClass,!1),be(K,c.ghostClass,!0)),de!==r&&r!==X.active?de=r:r===X.active&&de&&(de=null),l===r&&(r._ignoreWhileAnimating=n),r.animateAll(function(){p("dragOverAnimationComplete"),r._ignoreWhileAnimating=null}),r!==l&&(l.animateAll(),l._ignoreWhileAnimating=null)),(n===K&&!K.animated||n===t&&!n.animated)&&(ct=null),!c.dragoverBubble&&!i.rootEl&&n!==document&&(K.parentNode[ye]._isOutsideThisEl(i.target),!O&&Je(i)),!c.dragoverBubble&&i.stopPropagation&&i.stopPropagation(),a=!0}function k(){we=xe(K),Ge=xe(K,c.draggable),fe({sortable:r,name:"change",toEl:t,newIndex:we,newDraggableIndex:Ge,originalEvent:i})}if(i.preventDefault!==void 0&&i.cancelable&&i.preventDefault(),n=Le(n,c.draggable,t,!0),p("dragOver"),X.eventCanceled)return a;if(K.contains(i.target)||n.animated&&n.animatingX&&n.animatingY||r._ignoreWhileAnimating===n)return y(!1);if(di=!1,h&&!c.disabled&&(d?u||(g=ae!==re):de===this||(this.lastPutMode=Bt.checkPull(this,h,K,i))&&o.checkPut(this,h,K,i))){if(s=this._getDirection(i,n)==="vertical",m=ce(K),p("dragOverValid"),X.eventCanceled)return a;if(g)return ae=re,v(),this._hideClone(),p("revert"),X.eventCanceled||(et?re.insertBefore(K,et):re.appendChild(K)),y(!0);var x=jn(t,c.draggable);if(!x||su(i,s,this)&&!x.animated){if(x===K)return y(!1);if(x&&t===i.target&&(n=x),n&&(f=ce(n)),Vt(re,t,K,m,n,f,i,!!n)!==!1)return v(),x&&x.nextSibling?t.insertBefore(K,x.nextSibling):t.appendChild(K),ae=t,k(),y(!0)}else if(x&&ou(i,s,this)){var w=vt(t,0,c,!0);if(w===K)return y(!1);if(n=w,f=ce(n),Vt(re,t,K,m,n,f,i,!1)!==!1)return v(),t.insertBefore(K,w),ae=t,k(),y(!0)}else if(n.parentNode===t){f=ce(n);var S=0,M,L=K.parentNode!==t,R=!eu(K.animated&&K.toRect||m,n.animated&&n.toRect||f,s),$=s?"top":"left",D=vr(n,"top","top")||vr(K,"top","top"),T=D?D.scrollTop:void 0;ct!==n&&(M=f[$],Ot=!1,Wt=!R&&c.invertSwap||L),S=au(i,n,f,s,R?1:c.swapThreshold,c.invertedSwapThreshold==null?c.swapThreshold:c.invertedSwapThreshold,Wt,ct===n);var E;if(S!==0){var C=xe(K);do C-=S,E=ae.children[C];while(E&&(J(E,"display")==="none"||E===te))}if(S===0||E===n)return y(!1);ct=n,_t=S;var b=n.nextElementSibling,A=!1;A=S===1;var _=Vt(re,t,K,m,n,f,i,A);if(_!==!1)return(_===1||_===-1)&&(A=_===1),an=!0,setTimeout(ru,30),v(),A&&!b?t.appendChild(K):n.parentNode.insertBefore(K,A?b:n),D&&Go(D,0,T-D.scrollTop),ae=K.parentNode,M!==void 0&&!Wt&&(Jt=Math.abs(M-ce(n)[$])),k(),y(!0)}if(t.contains(K))return y(!1)}return!1},_ignoreWhileAnimating:null,_offMoveEvents:function(){ie(document,"mousemove",this._onTouchMove),ie(document,"touchmove",this._onTouchMove),ie(document,"pointermove",this._onTouchMove),ie(document,"dragover",Je),ie(document,"mousemove",Je),ie(document,"touchmove",Je)},_offUpEvents:function(){var i=this.el.ownerDocument;ie(i,"mouseup",this._onDrop),ie(i,"touchend",this._onDrop),ie(i,"pointerup",this._onDrop),ie(i,"pointercancel",this._onDrop),ie(i,"touchcancel",this._onDrop),ie(document,"selectstart",this)},_onDrop:function(i){var t=this.el,n=this.options;if(we=xe(K),Ge=xe(K,n.draggable),ge("drop",this,{evt:i}),ae=K&&K.parentNode,we=xe(K),Ge=xe(K,n.draggable),X.eventCanceled){this._nulling();return}dt=!1,Wt=!1,Ot=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),ln(this.cloneId),ln(this._dragStartId),this.nativeDraggable&&(ie(document,"drop",this),ie(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),$t&&J(document.body,"user-select",""),J(K,"transform",""),i&&(kt&&(i.cancelable&&i.preventDefault(),!n.dropBubble&&i.stopPropagation()),te&&te.parentNode&&te.parentNode.removeChild(te),(re===ae||de&&de.lastPutMode!=="clone")&&oe&&oe.parentNode&&oe.parentNode.removeChild(oe),K&&(this.nativeDraggable&&ie(K,"dragend",this),Bi(K),K.style["will-change"]="",kt&&!dt&&be(K,de?de.options.ghostClass:this.options.ghostClass,!1),be(K,this.options.chosenClass,!1),fe({sortable:this,name:"unchoose",toEl:ae,newIndex:null,newDraggableIndex:null,originalEvent:i}),re!==ae?(we>=0&&(fe({rootEl:ae,name:"add",toEl:ae,fromEl:re,originalEvent:i}),fe({sortable:this,name:"remove",toEl:ae,originalEvent:i}),fe({rootEl:ae,name:"sort",toEl:ae,fromEl:re,originalEvent:i}),fe({sortable:this,name:"sort",toEl:ae,originalEvent:i})),de&&de.save()):we!==pt&&we>=0&&(fe({sortable:this,name:"update",toEl:ae,originalEvent:i}),fe({sortable:this,name:"sort",toEl:ae,originalEvent:i})),X.active&&((we==null||we===-1)&&(we=pt,Ge=Rt),fe({sortable:this,name:"end",toEl:ae,originalEvent:i}),this.save()))),this._nulling()},_nulling:function(){ge("nulling",this),re=K=ae=te=et=oe=Xt=Ke=Xe=$e=kt=we=Ge=pt=Rt=ct=_t=de=Bt=X.dragged=X.ghost=X.clone=X.active=null;var i=this.el;pi.forEach(function(t){i.contains(t)&&(t.checked=!0)}),pi.length=zi=Pi=0},handleEvent:function(i){switch(i.type){case"drop":case"dragend":this._onDrop(i);break;case"dragenter":case"dragover":K&&(this._onDragOver(i),nu(i));break;case"selectstart":i.preventDefault();break}},toArray:function(){for(var i=[],t,n=this.el.children,m=0,f=n.length,g=this.options;m<f;m++)t=n[m],Le(t,g.draggable,this.el,!1)&&i.push(t.getAttribute(g.dataIdAttr)||cu(t));return i},sort:function(i,t){var n={},m=this.el;this.toArray().forEach(function(f,g){var c=m.children[g];Le(c,this.options.draggable,m,!1)&&(n[f]=c)},this),t&&this.captureAnimationState(),i.forEach(function(f){n[f]&&(m.removeChild(n[f]),m.appendChild(n[f]))}),t&&this.animateAll()},save:function(){var i=this.options.store;i&&i.set&&i.set(this)},closest:function(i,t){return Le(i,t||this.options.draggable,this.el,!1)},option:function(i,t){var n=this.options;if(t===void 0)return n[i];var m=Ft.modifyOption(this,i,t);typeof m<"u"?n[i]=m:n[i]=t,i==="group"&&Qo(n)},destroy:function(){ge("destroy",this);var i=this.el;i[ye]=null,ie(i,"mousedown",this._onTapStart),ie(i,"touchstart",this._onTapStart),ie(i,"pointerdown",this._onTapStart),this.nativeDraggable&&(ie(i,"dragover",this),ie(i,"dragenter",this)),Array.prototype.forEach.call(i.querySelectorAll("[draggable]"),function(t){t.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),hi.splice(hi.indexOf(this.el),1),this.el=i=null},_hideClone:function(){if(!Ke){if(ge("hideClone",this),X.eventCanceled)return;J(oe,"display","none"),this.options.removeCloneOnHide&&oe.parentNode&&oe.parentNode.removeChild(oe),Ke=!0}},_showClone:function(i){if(i.lastPutMode!=="clone"){this._hideClone();return}if(Ke){if(ge("showClone",this),X.eventCanceled)return;K.parentNode==re&&!this.options.group.revertClone?re.insertBefore(oe,K):et?re.insertBefore(oe,et):re.appendChild(oe),this.options.group.revertClone&&this.animate(K,oe),J(oe,"display",""),Ke=!1}}};function nu(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}function Vt(e,i,t,n,m,f,g,c){var o,h=e[ye],d=h.options.onMove,u;return window.CustomEvent&&!Ue&&!Nt?o=new CustomEvent("move",{bubbles:!0,cancelable:!0}):(o=document.createEvent("Event"),o.initEvent("move",!0,!0)),o.to=i,o.from=e,o.dragged=t,o.draggedRect=n,o.related=m||i,o.relatedRect=f||ce(i),o.willInsertAfter=c,o.originalEvent=g,e.dispatchEvent(o),d&&(u=d.call(h,o,g)),u}function Bi(e){e.draggable=!1}function ru(){an=!1}function ou(e,i,t){var n=ce(vt(t.el,0,t.options,!0)),m=qo(t.el,t.options,te),f=10;return i?e.clientX<m.left-f||e.clientY<n.top&&e.clientX<n.right:e.clientY<m.top-f||e.clientY<n.bottom&&e.clientX<n.left}function su(e,i,t){var n=ce(jn(t.el,t.options.draggable)),m=qo(t.el,t.options,te),f=10;return i?e.clientX>m.right+f||e.clientY>n.bottom&&e.clientX>n.left:e.clientY>m.bottom+f||e.clientX>n.right&&e.clientY>n.top}function au(e,i,t,n,m,f,g,c){var o=n?e.clientY:e.clientX,h=n?t.height:t.width,d=n?t.top:t.left,u=n?t.bottom:t.right,l=!1;if(!g){if(c&&Jt<h*m){if(!Ot&&(_t===1?o>d+h*f/2:o<u-h*f/2)&&(Ot=!0),Ot)l=!0;else if(_t===1?o<d+Jt:o>u-Jt)return-_t}else if(o>d+h*(1-m)/2&&o<u-h*(1-m)/2)return lu(i)}return l=l||g,l&&(o<d+h*f/2||o>u-h*f/2)?o>d+h/2?1:-1:0}function lu(e){return xe(K)<xe(e)?1:-1}function cu(e){for(var i=e.tagName+e.className+e.src+e.href+e.textContent,t=i.length,n=0;t--;)n+=i.charCodeAt(t);return n.toString(36)}function uu(e){pi.length=0;for(var i=e.getElementsByTagName("input"),t=i.length;t--;){var n=i[t];n.checked&&pi.push(n)}}function ei(e){return setTimeout(e,0)}function ln(e){return clearTimeout(e)}ki&&ne(document,"touchmove",function(e){(X.active||dt)&&e.cancelable&&e.preventDefault()});X.utils={on:ne,off:ie,css:J,find:Vo,is:function(i,t){return!!Le(i,t,i,!1)},extend:Gc,throttle:Uo,closest:Le,toggleClass:be,clone:Ko,index:xe,nextTick:ei,cancelNextTick:ln,detectDirection:Zo,getChild:vt,expando:ye};X.get=function(e){return e[ye]};X.mount=function(){for(var e=arguments.length,i=new Array(e),t=0;t<e;t++)i[t]=arguments[t];i[0].constructor===Array&&(i=i[0]),i.forEach(function(n){if(!n.prototype||!n.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(n));n.utils&&(X.utils=Fe(Fe({},X.utils),n.utils)),Ft.mount(n)})};X.create=function(e,i){return new X(e,i)};X.version=Vc;var le=[],Tt,cn,un=!1,Wi,ji,fi,Mt;function du(){function e(){this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0};for(var i in this)i.charAt(0)==="_"&&typeof this[i]=="function"&&(this[i]=this[i].bind(this))}return e.prototype={dragStarted:function(t){var n=t.originalEvent;this.sortable.nativeDraggable?ne(document,"dragover",this._handleAutoScroll):this.options.supportPointer?ne(document,"pointermove",this._handleFallbackAutoScroll):n.touches?ne(document,"touchmove",this._handleFallbackAutoScroll):ne(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(t){var n=t.originalEvent;!this.options.dragOverBubble&&!n.rootEl&&this._handleAutoScroll(n)},drop:function(){this.sortable.nativeDraggable?ie(document,"dragover",this._handleAutoScroll):(ie(document,"pointermove",this._handleFallbackAutoScroll),ie(document,"touchmove",this._handleFallbackAutoScroll),ie(document,"mousemove",this._handleFallbackAutoScroll)),Sr(),ti(),Kc()},nulling:function(){fi=cn=Tt=un=Mt=Wi=ji=null,le.length=0},_handleFallbackAutoScroll:function(t){this._handleAutoScroll(t,!0)},_handleAutoScroll:function(t,n){var m=this,f=(t.touches?t.touches[0]:t).clientX,g=(t.touches?t.touches[0]:t).clientY,c=document.elementFromPoint(f,g);if(fi=t,n||this.options.forceAutoScrollFallback||Nt||Ue||$t){Vi(t,this.options,c,n);var o=qe(c,!0);un&&(!Mt||f!==Wi||g!==ji)&&(Mt&&Sr(),Mt=setInterval(function(){var h=qe(document.elementFromPoint(f,g),!0);h!==o&&(o=h,ti()),Vi(t,m.options,h,n)},10),Wi=f,ji=g)}else{if(!this.options.bubbleScroll||qe(c,!0)===De()){ti();return}Vi(t,this.options,qe(c,!1),!1)}}},je(e,{pluginName:"scroll",initializeByDefault:!0})}function ti(){le.forEach(function(e){clearInterval(e.pid)}),le=[]}function Sr(){clearInterval(Mt)}var Vi=Uo(function(e,i,t,n){if(i.scroll){var m=(e.touches?e.touches[0]:e).clientX,f=(e.touches?e.touches[0]:e).clientY,g=i.scrollSensitivity,c=i.scrollSpeed,o=De(),h=!1,d;cn!==t&&(cn=t,ti(),Tt=i.scroll,d=i.scrollFn,Tt===!0&&(Tt=qe(t,!0)));var u=0,l=Tt;do{var s=l,r=ce(s),a=r.top,p=r.bottom,v=r.left,y=r.right,k=r.width,x=r.height,w=void 0,S=void 0,M=s.scrollWidth,L=s.scrollHeight,R=J(s),$=s.scrollLeft,D=s.scrollTop;s===o?(w=k<M&&(R.overflowX==="auto"||R.overflowX==="scroll"||R.overflowX==="visible"),S=x<L&&(R.overflowY==="auto"||R.overflowY==="scroll"||R.overflowY==="visible")):(w=k<M&&(R.overflowX==="auto"||R.overflowX==="scroll"),S=x<L&&(R.overflowY==="auto"||R.overflowY==="scroll"));var T=w&&(Math.abs(y-m)<=g&&$+k<M)-(Math.abs(v-m)<=g&&!!$),E=S&&(Math.abs(p-f)<=g&&D+x<L)-(Math.abs(a-f)<=g&&!!D);if(!le[u])for(var C=0;C<=u;C++)le[C]||(le[C]={});(le[u].vx!=T||le[u].vy!=E||le[u].el!==s)&&(le[u].el=s,le[u].vx=T,le[u].vy=E,clearInterval(le[u].pid),(T!=0||E!=0)&&(h=!0,le[u].pid=setInterval(function(){n&&this.layer===0&&X.active._onTouchMove(fi);var b=le[this.layer].vy?le[this.layer].vy*c:0,A=le[this.layer].vx?le[this.layer].vx*c:0;typeof d=="function"&&d.call(X.dragged.parentNode[ye],A,b,e,fi,le[this.layer].el)!=="continue"||Go(le[this.layer].el,A,b)}.bind({layer:u}),24))),u++}while(i.bubbleScroll&&l!==o&&(l=qe(l,!1)));un=h}},30),es=function(i){var t=i.originalEvent,n=i.putSortable,m=i.dragEl,f=i.activeSortable,g=i.dispatchSortableEvent,c=i.hideGhostForTarget,o=i.unhideGhostForTarget;if(t){var h=n||f;c();var d=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(d.clientX,d.clientY);o(),h&&!h.el.contains(u)&&(g("spill"),this.onSpill({dragEl:m,putSortable:n}))}};function Vn(){}Vn.prototype={startIndex:null,dragStart:function(i){var t=i.oldDraggableIndex;this.startIndex=t},onSpill:function(i){var t=i.dragEl,n=i.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var m=vt(this.sortable.el,this.startIndex,this.options);m?this.sortable.el.insertBefore(t,m):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:es};je(Vn,{pluginName:"revertOnSpill"});function Un(){}Un.prototype={onSpill:function(i){var t=i.dragEl,n=i.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:es};je(Un,{pluginName:"removeOnSpill"});X.mount(new du);X.mount(Un,Vn);var xr=Object.freeze({type:"field",displayType:"slider"}),Ut=e=>({transform:`translateX(${e?`${e}px`:0})`}),ts=class{constructor(e){this.opts=Re(xr,e),this.panelDisplay=this.opts.displayType,this.activePanelIndex=0,this.panelNav=this.createPanelNav();const i=this.createPanelsWrap();this.nav=this.navActions(),this.nav.groupChange(this.activePanelIndex);const t=new window.ResizeObserver(([{contentRect:{width:m}}])=>{this.currentWidth!==m&&(this.toggleTabbedLayout(),this.currentWidth=m,this.nav.setTranslateX(this.activePanelIndex,!1))}),n=window.setTimeout(()=>{t.observe(i),window.clearTimeout(n)},Mn)}getPanelDisplay(){const e=this.panelsWrap,i=Number.parseInt(V.getStyle(e,"width"),10)>390?"tabbed":"slider",t=this.opts.displayType==="auto";return this.panelDisplay=t?i:this.opts.displayType||xr.displayType,this.panelDisplay}toggleTabbedLayout=()=>{this.getPanelDisplay();const e=this.isTabbed;return this.panelsWrap.parentElement?.classList.toggle("tabbed-panels",e),e&&this.panelNav.removeAttribute("style"),e};resizePanels=()=>{this.toggleTabbedLayout()};createPanelsWrap(){const e=V.create({className:"panels",content:this.opts.panels.map(({config:i,...t})=>t)});return this.panelsWrap=e,this.panels=e.children,this.currentPanel=this.panels[this.activePanelIndex],e}createPanelNavLabels(){const e=this.opts.panels.map(n=>({tag:"h5",action:{click:m=>{const f=Ze(m.target);this.nav.setTranslateX(f,!1),this.nav.groupChange(f)}},content:n.config.label})),i={className:"panel-labels",content:{content:e}},[t]=e;return t.className="active-tab",V.create(i)}createPanelNav(){this.labels=this.createPanelNavLabels();const e={tag:"button",attrs:{className:"next-group",title:Z.get("controlGroups.nextGroup"),type:"button"},action:{click:t=>this.nav.nextGroup(t)},content:V.icon("triangle-right")},i={tag:"button",attrs:{className:"prev-group",title:Z.get("controlGroups.prevGroup"),type:"button"},action:{click:t=>this.nav.prevGroup(t)},content:V.icon("triangle-left")};return V.create({tag:"nav",attrs:{className:"panel-nav"},content:[i,this.labels,e]})}get isTabbed(){return this.panelDisplay==="tabbed"}navActions(){const e={},i=this.currentPanel.parentElement,t=this.labels.firstChild,n=t.children,m=this.currentPanel.parentElement.childNodes;this.activePanelIndex=Ze(this.currentPanel);let f={nav:0,panel:0},g={...f};e.groupChange=h=>(this.activePanelIndex=h,this.currentPanel=m[h],V.removeClasses(m,"active-panel"),V.removeClasses(n,"active-tab"),this.currentPanel.classList.add("active-panel"),n[h].classList.add("active-tab"),this.currentPanel);const c=h=>({nav:-t.offsetWidth*h,panel:-i.offsetWidth*h}),o=({offset:h,reset:d,duration:u=nt,animate:l=!this.isTabbed})=>{const s=[Ut(g.panel),Ut(h.panel)],r=[Ut(g.nav),Ut(this.isTabbed?0:h.nav)];if(d){const[y]=s,[k]=r;s.push(y),r.push(k)}const a={easing:"ease-in-out",duration:l?u:0,fill:"forwards"},p=i.animate(s,a);t.animate(r,a);const v=()=>{p.removeEventListener("finish",v),d||(g=h)};p.addEventListener("finish",v)};return e.setTranslateX=(h=this.activePanelIndex,d=!0)=>{f=c(h),o({offset:f,animate:d})},e.refresh=(h=this.activePanelIndex)=>{this.activePanelIndex!==h&&e.groupChange(h),e.setTranslateX(this.activePanelIndex,!1),this.resizePanels()},e.nextGroup=()=>{const h=this.activePanelIndex+1;if(h!==m.length){const d=m[h];f={nav:-t.offsetWidth*h,panel:-d.offsetLeft},o({offset:f}),e.groupChange(h)}else f={nav:g.nav-8,panel:g.panel-8},o({offset:f,reset:!0});return this.currentPanel},e.prevGroup=()=>{if(this.activePanelIndex!==0){const h=this.activePanelIndex-1,d=m[h];f={nav:-t.offsetWidth*h,panel:-d.offsetLeft},o({offset:f}),e.groupChange(h)}else f={nav:8,panel:8},o({offset:f,reset:!0})},e}},hu=class{controlCache=new Set;constructor({events:e={},dependencies:i={},controlAction:t,...n}){this.events=e,this.controlData=n,this.controlAction=t,this.dependencies=i,this.id=n.id||Ce()}get controlId(){return this.controlData.meta?.id||this.controlData.config?.controlId}get dom(){const{meta:e,config:i}=this.controlData,t=this.i18n(i.label)||i.label,n={tag:"button",attrs:{type:"button"},content:[{tag:"span",className:"control-icon",children:V.icon(e.icon)},{tag:"span",className:"control-label",content:t}],action:{focus:({target:m})=>{const f=m.closest(`.${it}`);return f&&this.controls.panels.nav.refresh(Ze(f))},click:({target:m})=>{const f=m.closest(".field-control")?.id;f&&this.controls.addElement(f)}}};return V.create({tag:"li",id:this.id,className:["field-control",`${e.group}-control`,`${e.id}-control`],content:n,meta:e,action:this.controlAction})}promise(){return Lo(this.dependencies)}i18n(e,i){const t=Z.locale,n=this.definition?.i18n?.[t]||{};return(n[e]?.()??n[e])||Z.get(e,i)}},pu=Object.freeze({sortable:!0,elementOrder:{},groupOrder:[],groups:[{id:"layout",label:"controls.groups.layout",elementOrder:["row","column"]},{id:"common",label:"controls.groups.form",elementOrder:["button","checkbox"]},{id:"html",label:"controls.groups.html",elementOrder:["header","block-text"]}],disable:{groups:[],elements:[],formActions:[]},elements:[],container:null,panels:{displayType:"slider"}}),fu="modulepreload",gu=function(e){return"/formeo/"+e},Er={},Gt=function(i,t,n){let m=Promise.resolve();if(t&&t.length>0){let h=function(d){return Promise.all(d.map(u=>Promise.resolve(u).then(l=>({status:"fulfilled",value:l}),l=>({status:"rejected",reason:l}))))};const g=document.getElementsByTagName("link"),c=document.querySelector("meta[property=csp-nonce]"),o=c?.nonce||c?.getAttribute("nonce");m=h(t.map(d=>{if(d=gu(d,n),d in Er)return;Er[d]=!0;const u=d.endsWith(".css"),l=u?'[rel="stylesheet"]':"";if(n)for(let r=g.length-1;r>=0;r--){const a=g[r];if(a.href===d&&(!u||a.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${d}"]${l}`))return;const s=document.createElement("link");if(s.rel=u?"stylesheet":fu,u||(s.as="script"),s.crossOrigin="",s.href=d,o&&s.setAttribute("nonce",o),document.head.appendChild(s),u)return new Promise((r,a)=>{s.addEventListener("load",r),s.addEventListener("error",()=>a(new Error(`Unable to preload CSS for ${d}`)))})}))}function f(g){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=g,window.dispatchEvent(c),!c.defaultPrevented)throw g}return m.then(g=>{for(const c of g||[])c.status==="rejected"&&f(c.reason);return i().catch(f)})},dn=class{constructor(e=null){this.components=e,this.data=new Map,this.buttonActions={focus:({target:i})=>{const t=i.closest(`.${it}`);return t&&this.panels.nav.refresh(Ze(t))},click:({target:i})=>{this.addElement(i.parentElement.id)}}}async init(e,i=!1){return await this.applyOptions(e),this.buildDOM(i),this}registerControls(e){return this.controls=[],e.map(i=>{const t=typeof i=="function"?new i:new hu(i);return this.add(t),t.controls=this,this.controls.push(t.dom),t.promise()})}groupLabel=e=>Z.get(e)||e||"";groupElements(){let e=this.options.groups.slice(),i=this.controls.slice(),t=[];const n=[];return e=si(e,this.groupOrder,"id"),e=e.filter(m=>er(m.id,this.options.disable.groups)),t=e.map(m=>{const f={tag:"ul",attrs:{className:[it,co],id:`${m.id}-${it}`},config:{label:this.groupLabel(m.label)}};if(this.options.elementOrder[m.id]){const g=this.options.elementOrder[m.id];m.elementOrder=Ye(g.concat(m.elementOrder))}return i=si(i,m.elementOrder,"meta.id"),f.content=i.filter(g=>{const{controlData:c}=this.get(g.id),o=c.meta.id||"",h=[er(o,this.options.disable.elements),c.meta.group===m.id,!n.includes(o)];let d=!0;return d=h.every(u=>u===!0),d&&n.push(o),d}),f}),t}add(e=Object.create(null)){const i=Ne(e);return this.data.set(i.id,i),i.controlData.meta.id&&this.data.set(i.controlData.meta.id,i.controlData),i}get(e){return Ne(this.data.get(e))}formActions(){if(this.options.disable.formActions===!0)return null;const e={...V.btnTemplate({content:[V.icon("bin"),Z.get("clear")],title:Z.get("clearAll")}),className:["clear-form"],action:{click:t=>{this.components.rows.size?this.components.events.confirmClearAll({confirmationMessage:Z.get("confirmClearAll"),clearAllAction:()=>{this.components.stages.clearAll().then(()=>{const n={src:t.target};this.components.events.formeoCleared(n)})},btnCoords:V.coords(t.target)}):window.alert(Z.get("cannotClearFields"))}}},i={...V.btnTemplate({content:[V.icon("floppy-disk"),Z.get("save")],title:Z.get("save")}),className:["save-form"],action:{click:({target:t})=>{const{formData:n}=this.components,m={action:()=>{},coords:V.coords(t),message:"",button:t};return this.components.actions.click.btn(m),this.components.actions.save.form(n)}}};return{className:"form-actions f-btn-group",content:Object.entries({clearBtn:e,saveBtn:i}).reduce((t,[n,m])=>(this.options.disable.formActions.includes(n)||t.push(m),t),[])}}buildDOM(e){const i=this.groupElements(),t=this.formActions(),{displayType:n}=this.options.panels;this.panels=new ts({panels:i,type:"controls",displayType:n});const m=["control-groups","formeo-panels-wrap",`panel-count-${i.length}`],f=V.create({className:m,content:[this.panels.panelNav,this.panels.panelsWrap]}),g=["formeo-controls"];e&&g.push("formeo-sticky");const c=V.create({className:g,content:[f,t]}),o=c.getElementsByClassName("control-group");this.dom=c,this.groups=o;const[h]=o;this.currentGroup=h,this.actions={filter:d=>{const u=d!=="",l=this.controls;let s=f.querySelector(".filtered-term");if(V.toggleElementsByStr(l,d),u){const r=Z.get("controls.filteringTerm",d);c.classList.add("filtered"),s?s.textContent=r:(s=V.create({tag:"h5",className:"filtered-term",content:r}),f.insertBefore(s,f.firstChild))}else s&&(c.classList.remove("filtered"),s.remove())},addElement:this.addElement,addGroup:d=>console.log(d)};for(let d=o.length-1;d>=0;d--){const u=`formeo-controls-${o[d]}`;this.options.sortable||globalThis.localStorage.removeItem(u),X.create(o[d],{animation:150,fallbackClass:"control-moving",fallbackOnBody:!0,forceFallback:!0,fallbackTolerance:5,group:{name:`controls-${this.components.instanceId}`,pull:"clone",put:!1,revertClone:!0},onClone:({clone:l,item:s})=>{if(l.id=s.id,this.options.ghostPreview){const{controlData:r}=this.get(s.id);Gt(async()=>{const{default:a}=await Promise.resolve().then(()=>dd);return{default:a}},void 0).then(({default:a})=>{l.innerHTML="",l.appendChild(new a(r,this.components).preview)})}},onStart:()=>{this.originalDocumentOverflow=document.documentElement.style.overflow,document.documentElement.style.overflow="hidden"},onEnd:()=>{document.documentElement.style.overflow=this.originalDocumentOverflow,this.originalDocumentOverflow=null},sort:this.options.sortable,store:{get:()=>{const l=globalThis.localStorage.getItem(u);return l?l.split("|"):[]},set:l=>{const s=l.toArray();globalThis.localStorage.setItem(u,s.join("|"))}}})}return c}layoutTypes={row:()=>this.components.stages.active.addChild(),column:()=>this.layoutTypes.row().addChild(),field:e=>this.layoutTypes.column().addChild(e)};addElement=e=>{const{meta:{group:i,id:t},...n}=ve(this.get(e),"controlData");return Ei(n,"config.controlId",t),i==="layout"?this.layoutTypes[t.replace("layout-","")]():this.layoutTypes.field(n)};applyOptions=async(e={})=>{const{container:i,elements:t,groupOrder:n,...m}=Re(pu,e);this.container=V.resolveContainer(i),this.groupOrder=Ye(n.concat(["common","html","layout"])),this.options=m;const[f,g,c]=await Promise.all([Gt(()=>import("./layout.min.js"),[]),Gt(()=>import("./form.min.js"),[]),Gt(()=>import("./html.min.js"),[])]),o=[f.default,g.default,c.default].flat();return Promise.all(this.registerControls([...o,...t]))}},mu=new dn,vu=j(((e,i)=>{var t="__lodash_hash_undefined__";function n(m){return this.__data__.set(m,t),this}i.exports=n})),yu=j(((e,i)=>{function t(n){return this.__data__.has(n)}i.exports=t})),bu=j(((e,i)=>{var t=mn(),n=vu(),m=yu();function f(g){var c=-1,o=g==null?0:g.length;for(this.__data__=new t;++c<o;)this.add(g[c])}f.prototype.add=f.prototype.push=n,f.prototype.has=m,i.exports=f})),wu=j(((e,i)=>{function t(n,m){for(var f=-1,g=n==null?0:n.length;++f<g;)if(m(n[f],f,n))return!0;return!1}i.exports=t})),Cu=j(((e,i)=>{function t(n,m){return n.has(m)}i.exports=t})),is=j(((e,i)=>{var t=bu(),n=wu(),m=Cu(),f=1,g=2;function c(o,h,d,u,l,s){var r=d&f,a=o.length,p=h.length;if(a!=p&&!(r&&p>a))return!1;var v=s.get(o),y=s.get(h);if(v&&y)return v==h&&y==o;var k=-1,x=!0,w=d&g?new t:void 0;for(s.set(o,h),s.set(h,o);++k<a;){var S=o[k],M=h[k];if(u)var L=r?u(M,S,k,h,o,s):u(S,M,k,o,h,s);if(L!==void 0){if(L)continue;x=!1;break}if(w){if(!n(h,function(R,$){if(!m(w,$)&&(S===R||l(S,R,d,u,s)))return w.push($)})){x=!1;break}}else if(!(S===M||l(S,M,d,u,s))){x=!1;break}}return s.delete(o),s.delete(h),x}i.exports=c})),Su=j(((e,i)=>{function t(n){var m=-1,f=Array(n.size);return n.forEach(function(g,c){f[++m]=[c,g]}),f}i.exports=t})),xu=j(((e,i)=>{function t(n){var m=-1,f=Array(n.size);return n.forEach(function(g){f[++m]=g}),f}i.exports=t})),Eu=j(((e,i)=>{var t=vi(),n=Xr(),m=Dt(),f=is(),g=Su(),c=xu(),o=1,h=2,d="[object Boolean]",u="[object Date]",l="[object Error]",s="[object Map]",r="[object Number]",a="[object RegExp]",p="[object Set]",v="[object String]",y="[object Symbol]",k="[object ArrayBuffer]",x="[object DataView]",w=t?t.prototype:void 0,S=w?w.valueOf:void 0;function M(L,R,$,D,T,E,C){switch($){case x:if(L.byteLength!=R.byteLength||L.byteOffset!=R.byteOffset)return!1;L=L.buffer,R=R.buffer;case k:return!(L.byteLength!=R.byteLength||!E(new n(L),new n(R)));case d:case u:case r:return m(+L,+R);case l:return L.name==R.name&&L.message==R.message;case a:case v:return L==R+"";case s:var b=g;case p:var A=D&o;if(b||(b=c),L.size!=R.size&&!A)return!1;var _=C.get(L);if(_)return _==R;D|=h,C.set(L,R);var O=f(b(L),b(R),D,T,E,C);return C.delete(L),O;case y:if(S)return S.call(L)==S.call(R)}return!1}i.exports=M})),Au=j(((e,i)=>{function t(n,m){for(var f=-1,g=m.length,c=n.length;++f<g;)n[c+f]=m[f];return n}i.exports=t})),ku=j(((e,i)=>{var t=Au(),n=at();function m(f,g,c){var o=g(f);return n(f)?o:t(o,c(f))}i.exports=m})),Tu=j(((e,i)=>{function t(n,m){for(var f=-1,g=n==null?0:n.length,c=0,o=[];++f<g;){var h=n[f];m(h,f,n)&&(o[c++]=h)}return o}i.exports=t})),Mu=j(((e,i)=>{function t(){return[]}i.exports=t})),$u=j(((e,i)=>{var t=Tu(),n=Mu(),m=Object.prototype.propertyIsEnumerable,f=Object.getOwnPropertySymbols,g=f?function(c){return c==null?[]:(c=Object(c),t(f(c),function(o){return m.call(c,o)}))}:n;i.exports=g})),Lu=j(((e,i)=>{var t=Jr()(Object.keys,Object);i.exports=t})),Ru=j(((e,i)=>{var t=yn(),n=Lu(),m=Object.prototype.hasOwnProperty;function f(g){if(!t(g))return n(g);var c=[];for(var o in Object(g))m.call(g,o)&&o!="constructor"&&c.push(o);return c}i.exports=f})),_u=j(((e,i)=>{var t=oo(),n=Ru(),m=wi();function f(g){return m(g)?t(g):n(g)}i.exports=f})),Ou=j(((e,i)=>{var t=ku(),n=$u(),m=_u();function f(g){return t(g,m,n)}i.exports=f})),Iu=j(((e,i)=>{var t=Ou(),n=1,m=Object.prototype.hasOwnProperty;function f(g,c,o,h,d,u){var l=o&n,s=t(g),r=s.length;if(r!=t(c).length&&!l)return!1;for(var a=r;a--;){var p=s[a];if(!(l?p in c:m.call(c,p)))return!1}var v=u.get(g),y=u.get(c);if(v&&y)return v==c&&y==g;var k=!0;u.set(g,c),u.set(c,g);for(var x=l;++a<r;){p=s[a];var w=g[p],S=c[p];if(h)var M=l?h(S,w,p,c,g,u):h(w,S,p,g,c,u);if(!(M===void 0?w===S||d(w,S,o,h,u):M)){k=!1;break}x||(x=p=="constructor")}if(k&&!x){var L=g.constructor,R=c.constructor;L!=R&&"constructor"in g&&"constructor"in c&&!(typeof L=="function"&&L instanceof L&&typeof R=="function"&&R instanceof R)&&(k=!1)}return u.delete(g),u.delete(c),k}i.exports=f})),Du=j(((e,i)=>{var t=ot()(ze(),"DataView");i.exports=t})),Nu=j(((e,i)=>{var t=ot()(ze(),"Promise");i.exports=t})),Fu=j(((e,i)=>{var t=ot()(ze(),"Set");i.exports=t})),zu=j(((e,i)=>{var t=ot()(ze(),"WeakMap");i.exports=t})),Pu=j(((e,i)=>{var t=Du(),n=gn(),m=Nu(),f=Fu(),g=zu(),c=bt(),o=qr(),h="[object Map]",d="[object Object]",u="[object Promise]",l="[object Set]",s="[object WeakMap]",r="[object DataView]",a=o(t),p=o(n),v=o(m),y=o(f),k=o(g),x=c;(t&&x(new t(new ArrayBuffer(1)))!=r||n&&x(new n)!=h||m&&x(m.resolve())!=u||f&&x(new f)!=l||g&&x(new g)!=s)&&(x=function(w){var S=c(w),M=S==d?w.constructor:void 0,L=M?o(M):"";if(L)switch(L){case a:return r;case p:return h;case v:return u;case y:return l;case k:return s}return S}),i.exports=x})),Hu=j(((e,i)=>{var t=Yr(),n=is(),m=Eu(),f=Iu(),g=Pu(),c=at(),o=bn(),h=wn(),d=1,u="[object Arguments]",l="[object Array]",s="[object Object]",r=Object.prototype.hasOwnProperty;function a(p,v,y,k,x,w){var S=c(p),M=c(v),L=S?l:g(p),R=M?l:g(v);L=L==u?s:L,R=R==u?s:R;var $=L==s,D=R==s,T=L==R;if(T&&o(p)){if(!o(v))return!1;S=!0,$=!1}if(T&&!$)return w||(w=new t),S||h(p)?n(p,v,y,k,x,w):m(p,v,L,y,k,x,w);if(!(y&d)){var E=$&&r.call(p,"__wrapped__"),C=D&&r.call(v,"__wrapped__");if(E||C){var b=E?p.value():p,A=C?v.value():v;return w||(w=new t),x(b,A,y,k,w)}}return T?(w||(w=new t),f(p,v,y,k,x,w)):!1}i.exports=a})),Bu=j(((e,i)=>{var t=Hu(),n=st();function m(f,g,c,o,h){return f===g?!0:f==null||g==null||!n(f)&&!n(g)?f!==f&&g!==g:t(f,g,c,o,m,h)}i.exports=m})),Wu=j(((e,i)=>{var t=Bu();function n(m,f){return t(m,f)}i.exports=n})),hn=yt(Wu(),1),ju=(e,i)=>e===void 0?"added":i===void 0?"removed":(0,hn.default)(e,i)?"unchanged":"changed",Gn=class{constructor(e,i=Object.create(null)){this.name=e,this.data=i,this.dataPath=""}get events(){return this.components?.events}get size(){return Object.keys(this.data).length}get js(){return this.data}get json(){return this.data}toJSON=(e,i)=>JSON.stringify(e,null,i);get=e=>ve(this.data,e);set(e,i){const t=ve(this.data,e),n=Ei(this.data,e,i),m=Array.isArray(e)?e.join("."):e,f=Object.keys(this.setCallbacks).filter(c=>new RegExp(c).test(m)),g={newVal:i,oldVal:t,path:e};for(const c of f)for(const o of this.setCallbacks[c])o(g);if(!this.disableEvents){const c={entity:this,dataPath:this.dataPath.replace(/\.+$/,""),changePath:this.dataPath+e,value:i,data:n,changeType:ju(t,i),src:this.dom};if(t&&(c.previousValue=t),this.events?.formeoUpdated(c),this.name){const o={stage:go,row:mo,column:vo,field:yo}[this.name];o&&this.events?.formeoUpdated(c,o)}}return n}addSetCallback(e,i){this.setCallbacks[e]?this.setCallbacks[e].push(i):this.setCallbacks[e]=[i]}removeSetCallback(e,i){this.setCallbacks[e]=this.setCallbacks[e].filter(t=>t!==i)}add=(e,i=Object.create(null))=>{const{id:t}=i,n=e||t||Ce();return this.set(n,i)};remove=e=>{const i=rt(e),t=i.pop(),n=this.get(i);return Array.isArray(n)?n.splice(Number(t),1):n&&delete n[t],n};empty(){this.data=Object.create(null)}getData=()=>Object.entries(this.data).reduce((e,[i,t])=>(e[i]=t?.data?t.getData():t,e),{});setCallbacks={};configVal=Object.create(null)},Ti=class extends Gn{components=null;load=e=>{const i=Ci(e);this.empty();for(const[t,n]of Object.entries(i))this.add(t,n,{silent:!0});return this.data};get=e=>e?ve(this.data,e):this.add();add=(e,i=Object.create(null),{silent:t=!1}={})=>{const n=e||Ce(),m=this.Component({...i,id:n});this.data[n]=m,this.active=m;const f={rows:$n,columns:Ln,fields:Rn}[this.name];return f&&!t&&this.events?.formeoUpdated({entity:m,componentId:n,componentType:m.name,data:m.data},f),m};remove=e=>{if(Array.isArray(e))for(const i of e)this.get(i).remove();else this.get(e).remove();return this.data};delete=e=>(delete this.data[e],e);clearAll=(e=!0)=>{const i=Object.values(this.data).map(t=>t.empty(e));return Promise.all(i)};set config(e){this.configVal=Re(this.configVal,Ne(e))}get config(){return this.configVal}conditionMap=new Map},ns="hidden-property",Vu="hidden-option",Ui=/\.options\[\d+\]$/,Uu={"if-sourceProperty":Zt(Yt,rr,or),"if-targetProperty":Zt(Yt),"then-targetProperty":Zt(Yt,rr,or),...Object.entries(Nl).reduce((e,[i,t])=>(e[`if-${i}`]=t,e[`then-${i}`]=t,e),{})},rs={assignment:Et,comparison:Et,logical:Et,source:({key:e,value:i,onChange:t,conditionType:n,components:m})=>mt.autocomplete({key:`${n}.condition.${e}`,value:i,onChange:t,className:`condition-${e}`,components:m}),sourceProperty:Et,targetProperty:Et,target:e=>rs.source(e),value:({key:e,value:i,onChange:t},n)=>{const m=mt.string({key:`condition.${e}`,value:i});return m.action={input:t},m}};function Gu({key:e,value:i,conditionType:t}){return Object.entries(Uu[`${t}-${e}`]||{}).map(([n,m])=>Ku({fieldName:e,fieldValue:i,key:n,optionValue:m}))}function Ku({fieldName:e,fieldValue:i,key:t,optionValue:n}){return{label:Z.get(`${e}.${t}`)||Pe(t).toLowerCase(),value:n,selected:n===i}}function Et({key:e,value:i,onChange:t,conditionType:n}){const m=Gu({key:e,value:i,conditionType:n}),f=mt.array({key:`condition.${e}`,value:m});return f.action={change:t},f}var qu=e=>!e?.classList.contains(ns),Yu={sourceProperty:e=>{const i=e.get("source"),t=e.get("sourceProperty"),n=!!i.value;return kr(!!i.value.match(Ui),t),!n},comparison:e=>{const i=e.get("source"),t=e.get("sourceProperty"),n=!!i.value,m=!!i.value.match(Ui);return!n||m||t.value!=="value"},assignment:e=>{const i=e.get("target"),t=e.get("targetProperty");return!i.value||t.value.startsWith("is")},targetProperty:e=>{const i=e.get("target"),t=e.get("targetProperty");return kr(!!i.value.match(Ui),t),!cl(i.value)},target:e=>{const i=e.get("source"),t=e.get("sourceProperty"),n=!!i?.value;return t&&!n?!0:t&&t?.value!=="value"},value:e=>{const i=e.get("target"),t=e.get("targetProperty");return t===void 0?!1:i&&!i.value||!qu(e.get("comparison"))||t.value===os?!0:t.value.startsWith("is")}},Ar=e=>{for(const[i,t]of e){const n=!!Yu[i]?.(e)||!1;t.classList.toggle(ns,n)}},os="isChecked",Gi=e=>e.value.endsWith("Checked"),kr=(e,i)=>{if(e&&Gi(i))return null;const t=Array.from(i.querySelectorAll("option")),n=[];for(const m of t){const f=Gi(m),g=e?!f:f;g&&n.push(m.value),m.classList.toggle(Vu,g)}n.includes(i.value)&&(i.value=e?os:t.find(m=>!Gi(m))?.value||i.value)};function Zu(e,i=Dl){return i.reduce((t,n)=>(e[n]!==void 0&&t.push([n,e[n]]),t),[])}var Qu=class{constructor({conditionValues:e,conditionType:i,conditionCount:t,index:n},m){this.values=new Map(Zu(e)),this.conditionType=i,this.parent=m,this.components=m.field.components,this.baseAddress=`${m.address}.${i}`,this.fields=new Map,this.conditionCount=t,this.index=n,this.dom=this.generateDom()}setConditionIndex(e){this.index=e}get address(){return`${this.baseAddress}[${this.index}]`}destroy(){const e=this.components.getAddress(this.baseAddress);e.splice(this.index,1),this.components.setAddress(this.baseAddress,e),pe.slideUp(this.dom,nt,()=>{this.dom.remove()})}label(){return this.index?null:{tag:"label",className:`condition-label ${this.conditionType}-condition-label`,content:Z.get(`condition.type.${this.conditionType}`)}}generateDom(){const e=[];for(const[t,n]of this.values){const m=o=>this.onChangeCondition({key:t,target:o.target}),f={key:t,value:n,conditionType:this.conditionType,onChange:m,components:this.components},g=rs[t](f,this.values),c=g.dom||V.create(g);this.fields.set(t,g.dom?g:c),e.push(c)}const i={children:[this.label(),...e,...this.generateConditionTypeActionButtons()],className:`f-condition-row ${this.conditionType}-condition-row display-none`,action:{onRender:t=>{this.processUiState()}}};return V.create(i)}generateConditionTypeActionButtons(){const e=[],i="manage-condition-type",t=f=>`${f}-condition-type`,n=V.btnTemplate({title:Z.get(`remove${this.conditionType}Condition`),className:[i,t("remove")],content:V.icon("minus"),action:{click:()=>this.destroy(),mouseover:f=>{this.dom.classList.add("to-remove")},mouseout:f=>{this.dom.classList.remove("to-remove")}}});e.push(n);const m=V.btnTemplate({title:Z.get(`add${this.conditionType}Condition`),className:[i,t("add")],content:V.icon("plus"),action:{click:()=>{const f=this.parent.addConditionType(this.conditionType),g={changedProperty:null,dataPath:f.address,value:f.value,src:f.dom};this.updateDataDebounced(g)}}});return e.push(m),e}get value(){return Array.from(this.fields).reduce((e,[i,t])=>(e[i]=t.value,e),{})}processUiState(){Ar(this.fields),this.dom.classList.remove("display-none")}updateDataDebounced=ri(e=>{this.components.events.formeoUpdated(e),this.components.setAddress(e.dataPath,e.value)});onChangeCondition=({key:e,target:i})=>{const t={changedProperty:e,dataPath:this.address,value:this.value,src:i};Ar(this.fields),this.updateDataDebounced(t)}},Xu=new Map([["attrs",({itemKey:e})=>e],["options",({itemKey:e,key:i})=>`${e}.${i}`]]),ss=(e,i)=>{if(i.controlId==="select"){const t=i.editPanels.get("options"),[n,m]=e?oi:Pl,f=t.data.map(({[n]:g,...c})=>({[m]:g,...c}));t.setData(f)}},Ju=new Map([["attrs-multiple",e=>({change:({target:i})=>{e.field.controlId==="select"&&ss(i.checked,e.field)}})]]),At=class{constructor({key:e,index:i,field:t,panel:n,data:m}){this.field=t,this.itemKey=e,this.itemIndex=i,this.panel=n,this.panelName=n.name,this.isDisabled=t.isDisabledProp(e,this.panelName),this.isHidden=this.isDisabled&&t.config.panels[this.panelName].hideDisabled,this.isLocked=t.isLockedProp(e,this.panelName),this.address=`${t.indexName}.${t.id}.${e}`,this.itemSlug=lr(e),this.conditionTypeWrap=new Map,m!==void 0&&this.field.get(this.itemKey)===void 0&&this.field.set(this.itemKey,m);const f=[`field-${this.itemSlug}`,"prop-wrap"];this.isHidden&&f.push("hidden-property"),this.dom=V.create({tag:"li",className:f,children:{className:"component-prop",children:[this.itemInputs(),this.itemControls]}})}get itemValues(){const e=this.field.get(this.itemKey);return e?.constructor===Object?si(Object.entries(e),oi,"0"):[[this.itemKey,e]]}findOrCreateConditionTypeWrap(e){let i=this.conditionTypeWrap.get(e);return i||(i=V.create({className:`type-conditions-wrap ${e}-conditions-wrap`}),this.conditionTypeWrap.set(e,i),i)}itemInputs(){const e=V.create({className:`${this.panelName}-prop-inputs prop-inputs f-input-group`,children:this.itemValues.map(([i,t])=>this.panelName==="conditions"?this.generateConditionFields(i,t):this.itemInput(i,t))});return this.inputs&&this.inputs.replaceWith(e),this.inputs=e,e}addConditionType=(e,i)=>{const t=this.findOrCreateConditionTypeWrap(e);let n=i;if(!n){const[f]=Dn()[e],g=t.children.length;e==="if"&&(f.logical="||"),n={conditionValues:f,conditionCount:g,index:g}}const m=new Qu({conditionType:e,...n},this);return t.appendChild(m.dom),m};removeConditionType=(e,i)=>{const t=this.conditionTypeWrap.get(e).children[i];t.destroy(),t.dom.remove()};generateConditionFields=(e,i)=>(this.conditions=new Map,i.forEach((t,n)=>{const m=this.addConditionType(e,{index:n,conditionCount:i.length,conditionValues:t});this.conditions.set(n,m)}),this.findOrCreateConditionTypeWrap(e));removeItem=()=>{this.field.remove(this.itemKey),this.dom.remove(),this.panel.updateProps(),this.field.debouncedUpdatePreview?.()};get itemControls(){if(this.isLocked)return{className:`${this.panelName}-prop-controls prop-controls`,content:[]};const e={tag:"button",attrs:{type:"button",className:"prop-remove prop-control"},action:{click:()=>{pe.slideUp(this.dom,333,this.removeItem)},mouseover:t=>{this.dom.classList.add("to-remove")},mouseout:t=>{this.dom.classList.remove("to-remove")}},content:V.icon("remove")},i=this.panelName==="options"&&{tag:"button",attrs:{type:"button",className:"prop-order prop-control",title:Z.get("reorderOption")||"Drag to reorder","aria-label":Z.get("reorderOption")||"Drag to reorder"},content:V.icon("move-vertical")};return{className:`${this.panelName}-prop-controls prop-controls`,content:[e,i].filter(Boolean)}}getConfigAttrOptions(e){const i=e.split(".").pop(),t=this.field.config?.attrs?.[i];return Array.isArray(t)?t:null}itemInput(e,i){if(this.isDisabled)return null;let t=V.childType(i)||"string",n=i;if(this.panelName==="attrs"){const s=this.getConfigAttrOptions(e);s&&(n=s.map(r=>({...r,selected:r.value===i})),t="array")}const m=Xu.get(this.panelName)?.({itemKey:this.itemKey,key:e})||this.itemKey,f=m.split(".").filter(Number.isNaN).join(".")||e,g=mt[t]({key:e,value:n}),c=`${this.field.shortId}-${lr(m).replaceAll(/-\d+-(selected)/g,"-$1")}`,o={label:this.panelName!=="options"&&Ie(f),labelAfter:!1,inputWrap:["f-input-wrap",this.isLocked&&"locked-prop",this.isDisabled&&"disabled-prop"].filter(Boolean).join(" ")},h={name:g.attrs.type==="checkbox"?`${c}[]`:c};h.disabled=this.isDisabled,h.readonly=this.isLocked;const d=Ju.get(this.itemSlug)?.(this),u=Jl(Oc[t](m,this.field),d||{}),l=Re(mt[t]({key:e,value:n}),{action:u,attrs:h,config:o});return oi.includes(e)?{className:"f-addon",children:l}:l}},ed={multiple:(e,i)=>{ss(!!e,i)}},td=[{label:Ie("config.label"),value:"label"},{label:Ie("config.hideLabel"),value:"hideLabel"},{label:Ie("config.helpText"),value:"helpText"},{label:Ie("config.labelAfter"),value:"labelAfter"},{label:Ie("config.disableHtmlLabel"),value:"disableHtmlLabel"},{label:Ie("config.tooltip"),value:"tooltip"}],id={label:"New Field",hideLabel:!1,helpText:"",labelAfter:!1,disableHtmlLabel:!1,tooltip:""},nd=class{constructor(e,i,t){this.type=V.childType(e),this.name=i,this.component=t,this.panelConfig=this.getPanelConfig(this.data)}get data(){const e=this.component.get(this.name);return this.type==="object"?Object.entries(e):e}getPanelConfig(e){return this.props=this.createProps(e),this.editButtons=this.createEditButtons(),{config:{label:Z.get(`panel.label.${this.name}`)},attrs:{className:`${co} ${this.name}-panel`},children:[this.props,this.editButtons]}}createProps(e=this.data){this.editPanelItems=Array.from(e).map((n,m)=>{const f=this.type==="array",g=n[0],c=f?`[${m}]`:`.${n[0]}`,o=f?n:{[n[0]]:n[1]},h=`${this.name}${c}`,d=this.component.isDisabledProp(h,this.name),u=Hl.get(this.name)?.has(g)??!0;return d||!u?null:new At({key:h,data:o,field:this.component,index:m,panel:this})}).filter(Boolean);const i={tag:"ul",attrs:{className:["edit-group",`${this.component.name}-edit-group`,`${this.component.name}-edit-${this.name}`]},content:this.editPanelItems},t=V.create(i);return this.name==="options"&&(this.sortable?.destroy(),this.sortable=X.create(t,{animation:150,handle:".prop-order",draggable:".prop-wrap",forceFallback:!0,onEnd:({oldIndex:n,newIndex:m})=>window.requestAnimationFrame(()=>this.moveOption(n,m))})),t}updateProps(){const e=this.createProps();this.props.replaceWith(e),this.props=e}moveOption=(e,i)=>{const t=this.component.get("options");if(!Array.isArray(t)||!Number.isInteger(e)||!Number.isInteger(i)||e===i||e<0||e>=t.length||i<0||i>=t.length)return;const n=[...t],[m]=n.splice(e,1);n.splice(i,0,m),this.component.set("options",n),this.updateProps(),this.component.debouncedUpdatePreview?.()};createEditButtons(){const e=this.name,i={attrs:this.addAttribute,options:this.addOption,conditions:this.addCondition,config:this.addConfiguration},t=[];if(e==="conditions"){Z.current&&!Z.current.clearAll&&Z.put("clearAll","Clear All");const f={...V.btnTemplate({content:[V.icon("bin"),Z.get("clearAll")],title:Z.get("clearAll")}),className:`clear-all-${e}`,action:{click:()=>{this.clearAllItems()}}};t.push(f)}const n=Z.get(`panelEditButtons.${e}`)||`+ Add ${Pe(e)}`,m={...V.btnTemplate({content:n,title:n}),className:`add-${e}`,action:{click:f=>{const g={btnCoords:V.coords(f.target),addAction:i[e]};e==="attrs"&&(g.isDisabled=this.component.isDisabledProp,g.isLocked=this.component.isLockedProp,g.message={attr:Z.get(`action.add.${e}.attr`),value:Z.get(`action.add.${e}.value`)});const c=Pe(e),o=new globalThis.CustomEvent(`onAdd${c}`,{detail:g});this.component.components.actions.add[e](g),document.dispatchEvent(o)}}};return t.push(m),{className:"panel-action-buttons",content:t}}addAttribute=(e,i)=>{let t=i;const n=ko(e),m=`attrs.${n}`;Z.current[m]||Z.put(m,To(e)),typeof t=="string"&&["true","false"].includes(t)&&(t=JSON.parse(t)),this.component.set(`attrs.${e}`,t),ed[n]?.(t,this.component);const f=`${this.component.name}-attrs-${n}`,g=Array.from(this.props.children).find(o=>o.classList.contains(f)),c=new At({key:m,data:{[n]:t},field:this.component,panel:this});g?g.replaceWith(c.dom):this.props.appendChild(c.dom),this.component.resizePanelWrap()};addOption=()=>{const e=this.component.data.config.controlId,i=this.component.get("options"),t=e==="select"?"option":e,n=Z.get("newOptionLabel",{type:t})||"New Option",m=`${this.name}[${this.data.length}]`,f=i[i.length-1],g={...i.length?f:{},label:n};e!=="button"&&(g.value=Ro(n));const c=new At({key:m,data:g,field:this.component,index:this.props.children.length,panel:this});this.editPanelItems.push(c),this.props.appendChild(c.dom),this.component.debouncedUpdatePreview(),this.component.resizePanelWrap()};addCondition=e=>{const i=`conditions[${this.component.get("conditions").length}]`,t=new At({key:i,data:e.template,field:this.component,panel:this});this.props.appendChild(t.dom),this.component.set(i,e.template),this.component.resizePanelWrap()};addConfiguration=()=>{const e=this.component.get("config");new zo({className:"config-item-dialog",content:[{tag:"select",config:{label:Z.get("selectConfigKey")||"Select Configuration Key"},attrs:{name:"selectConfigKey",required:!0,className:"config-key-select"},options:td.filter(i=>!(i.value in e))}],onConfirm:i=>{const t=i.get("selectConfigKey").trim(),n=`config.${t}`;if(t){const m=new At({key:n,data:id[t],field:this.component,panel:this});this.editPanelItems.push(m),this.props.appendChild(m.dom),this.component.debouncedUpdatePreview(),this.component.resizePanelWrap()}}}).open()};clearAllItems=()=>{const e=this.type==="array"?[]:{},i={type:this.name,removeAction:()=>{this.component.set(this.name,e),this.updateProps()}};this.component.components.actions.remove[this.name](i);const t=Pe(this.name),n=new globalThis.CustomEvent(`onRemove${t}`,{detail:i});document.dispatchEvent(n)};setData(e){this.component.set(this.name,e),this.updateProps()}},Ki=Zt(Yt),Mi=class extends Gn{constructor(e,i={},t){const n={...i,id:i.id||Ce()};super(e,n),this.components=t,this.id=n.id,this.shortId=this.id.slice(0,this.id.indexOf("-")),this.name=e,this.indexName=`${e}s`,this.config={...n.config,...t[`${this.name}s`].config},this.address=`${this.name}s.${this.id}`,this.dataPath=`${this.address}.`,this.editPanels=new Map,this.eventListeners=new Map,this.initEventHandlers()}get dom(){return this._dom}set dom(e){this._dom=e,e&&(e.formeoComponent=this)}sortableGroup(e){return`${e}-${this.components.instanceId}`}initEventHandlers(){this.config.events&&Object.entries(this.config.events).forEach(([e,i])=>{this.addEventListener(e,i)})}addEventListener(e,i){this.eventListeners.has(e)||this.eventListeners.set(e,[]),this.eventListeners.get(e).push(i)}removeEventListener(e,i){if(!this.eventListeners?.has(e))return;const t=this.eventListeners.get(e),n=t.indexOf(i);n>-1&&t.splice(n,1)}dispatchComponentEvent(e,i={}){const t={component:this,target:this,type:e,timestamp:Date.now(),...i};return this.eventListeners?.has(e)&&this.eventListeners.get(e).forEach(n=>{try{typeof n=="function"&&n(t)}catch(m){console.error(`Error in ${e} event handler for ${this.name} ${this.id}:`,m)}}),t}set(e,i){const t=this.get(e),n=super.set(e,i);return t!==i&&this.dom&&this.dispatchComponentEvent("onUpdate",{path:e,oldValue:t,newValue:i}),n}get js(){return this.data}get json(){return this.data}remove=e=>{if(e){const c=rt(e),o=c.pop(),h=this.get(c),d=h?.[o];return Array.isArray(h)?Ao(o)?(h.splice(Number(o),1),this.dispatchRemovedPath(e,d)):this.set(c,h.filter(u=>u!==o)):(delete h[o],this.dispatchRemovedPath(e,d)),h}if(this.name==="stage")return null;const i=this.parent,t=this.children,n=`${i.name}s.${i.id}.children`,m=[...this.components.getAddress(n)||[]];this.dispatchComponentEvent("onRemove",{path:e,parent:i,children:[...t]}),Ai(t,c=>c.remove()),this.dom.remove(),ll(this.components.getAddress(n),this.id),i.children.length||i.emptyClass(),i.name==="row"&&i.autoColumnWidths();const f={row:_n,column:On,field:In}[this.name];f&&this.components.events.formeoUpdated({componentId:this.id,componentType:this.name,parent:i},f);const g=this.components[`${this.name}s`].delete(this.id);return this.components.events.formeoUpdated({entity:this,componentId:this.id,componentType:this.name,dataPath:`${i.name}s.${i.id}`,changePath:n,value:[...this.components.getAddress(n)||[]],previousValue:m,changeType:"removed"}),g};dispatchRemovedPath=(e,i)=>{const t=Array.isArray(e)?e.join("."):e;this.components.events.formeoUpdated({entity:this,dataPath:this.address,changePath:`${this.address}.${t}`,value:void 0,previousValue:i,changeType:"removed",data:this.data})};empty(){const e=this.children.map(i=>(i.remove(),i));return this.dom.classList.add("empty"),e}emptyClass=()=>this.dom.classList.toggle("empty",!this.children.length);getActionButtons(){const e=[`hovering-${this.name}`,"hovering"];return{className:[`${this.name}-actions`,"group-actions"],action:{mouseenter:()=>{this.components.stages.active.dom.classList.add(`active-hover-${this.name}`),this.dom.classList.add(...e)},mouseleave:({target:i})=>{this.dom.classList.remove(...e),this.components.stages.active.dom.classList.remove(`active-hover-${this.name}`),i.removeAttribute("style")}},children:[{...V.btnTemplate({content:V.icon(`handle-${this.name}`)}),className:["component-handle",`${this.name}-handle`]},{className:["action-btn-wrap",`${this.name}-action-btn-wrap`],children:this.buttons}]}}getComponentTag=()=>V.create({tag:"span",className:["component-tag",`${this.name}-tag`],children:[V.icon(`handle-${this.name}`),Pe(this.name)].filter(Boolean)});toggleEdit(e=!this.isEditing){this.isEditing=e;const i=this.dom,t="editing",n=`${t}-${this.name}`,m=this.dom.querySelector(`.${this.name}-edit`);pe.slideToggle(m,333,e),this.name==="field"&&(pe.slideToggle(this.preview,333,!e),i.parentElement.classList.toggle(`column-${n}`,e)),i.classList.toggle(t,e),i.classList.toggle(n,e)}get buttons(){if(this.actionButtons)return this.actionButtons;const e={handle:(m=`handle-${this.name}`)=>({...V.btnTemplate({content:V.icon(m)}),className:["component-handle"]}),move:(m="move")=>({...V.btnTemplate({content:V.icon(m)}),className:["item-move"],meta:{id:"move"}}),edit:(m="edit")=>({...V.btnTemplate({content:V.icon(m)}),className:["edit-toggle"],meta:{id:"edit"},action:{click:()=>{this.toggleEdit()}}}),remove:(m="remove")=>({...V.btnTemplate({content:V.icon(m)}),className:["item-remove"],meta:{id:"remove"},action:{click:()=>{pe.slideUp(this.dom,333,()=>{this.name==="column"?(this.parent.autoColumnWidths(),this.remove()):this.remove()})}}}),clone:(m="copy")=>({...V.btnTemplate({content:V.icon(m)}),className:["item-clone"],meta:{id:"clone"},action:{click:()=>{this.clone(this.parent),this.name==="column"&&this.parent.autoColumnWidths()}}})},{buttons:i,disabled:t}=this.config.actionButtons,n=i.filter(m=>!t.includes(m)).map(m=>e[m]?.()||m);return this.actionButtons=n,this.actionButtons}get index(){return Ze(this.dom)}removeClasses=e=>{const i={string:()=>this.dom.classList.remove(e),array:()=>e.map(t=>this.dom.classList.remove(t))};return i.object=i.string,i[V.childType(e)](this.dom)};get parentType(){return Al.get(this.name)}get parent(){const e=this.parentType;if(!this.dom||!e)return null;const i=this.dom.closest(`.${Tn[e]}`);return i&&V.asComponent(i)}get children(){if(!this.dom)return[];const e=this.domChildren,i=ir.get(this.name);return Fn(e,t=>this.components.getAddress(`${i}s.${t.id}`)).filter(Boolean)}loadChildren=(e=this.data.children)=>e.map(i=>this.addChild({id:i}));get domChildren(){const e=this.dom.querySelector(".children");return e?e.children:[]}addChild(e={},i=this.domChildren.length){let t=e;typeof e!="object"&&(t={id:t});const n=this.dom.querySelector(".children"),{id:m=Ce()}=t,f=ir.get(this.name);if(!f)return null;const g=`${f}s`,c=this.components.getAddress(`${g}.${m}`)||this.components[g].add(m,t);i>=n.children.length?n.appendChild(c.dom):n.children[i].before(c.dom),this.dispatchComponentEvent("onAddChild",{parent:this,target:c,child:c,index:i}),c.dispatchComponentEvent("onAdd",{parent:this,target:c,index:i,addedVia:"addChild"}),this.config.events?.onAddChild?.({parent:this,child:c});const o=c.get("children");return o?.length&&c.loadChildren(o),this.removeClasses("empty"),this.saveChildOrder(),c}saveChildOrder=()=>{if(this.render)return;const e=this.children.map(({id:i})=>i);return this.set("children",e),e};onAdd({from:e,to:i,item:t,newIndex:n}){e.classList.contains("control-group")||(e=e.parentElement);const m=Ee(e),f=Ee(i.parentElement),g=()=>{this.saveChildOrder(),this.removeClasses("empty")},c=new Map([[-2,()=>{const h=this.addChild({},n).addChild();return h.addChild.bind(h)}],[-1,()=>{const h=this.addChild({},n);return h.addChild.bind(h)}],[0,()=>this.addChild.bind(this)],[1,h=>{const d=Ze(this.dom);return()=>this.parent.addChild(h,d+1)}],[2,h=>()=>this.parent.parent.addChild(h)]]),o={controls:()=>{const{controlData:{meta:{id:h},...d}}=this.components.controls.get(t.id);Ei(d,"config.controlId",h);const u=h.startsWith("layout-"),l=u?h.replace(/^layout-/,""):"field",s=u?{}:d,r=ve({stage:{row:0,column:-1,field:-2},row:{row:1,column:0,field:-1},column:{row:2,column:1,field:0},field:1},`${this.name}.${l}`),a=c.get(r)();return V.remove(t),a(s,n)},row:()=>(c.get({stage:-1,row:0,column:1}[f])||en)()?.({id:t.id},n),column:()=>(c.get({stage:-2,row:-1}[f])||en)()?.(t.id)}[m]?.(t,n);return this.dispatchComponentEvent("onAdd",{from:e,to:i,item:t,newIndex:n,fromType:m,toType:f,addedComponent:o,addedVia:"dragDrop"}),g(),o}onSort=()=>this.saveChildOrder();onRemove({from:{parentElement:e}}){return e.classList.contains(We)&&e.classList.remove("column-editing-field"),this.name!=="stage"&&!this.children.length?this.remove():(this.emptyClass(),this.saveChildOrder())}onEnd=({to:{parentElement:e},from:{parentElement:i}})=>{e?.classList.remove(`hovering-${Ee(e)}`),i?.classList.remove(`hovering-${Ee(i)}`)};onRender(){this.dispatchComponentEvent("onRender",{dom:this.dom});const{events:e}=this.config;if(!e)return null;e.onRender&&V.onRender(this.dom,e.onRender)}set config(e){const i=ve(e,"all"),t=ve(this.data,"config.controlId"),n=[i,t&&ve(e,t),ve(e,this.id)].reduce((m,f)=>f?Re(m,f):m,this.configVal);this.configVal=n}get config(){return this.configVal}runConditions=()=>{const e=this.get("conditions");return e?.length?e.map(i=>{const t=this.processConditions(i.if),n=this.processResults(i.then);return t.map(m=>this.evaluateConditions(m)&&this.execResults(n))}):null};getComponent(e){const[i,t]=e.split("."),n=this.components[i];return t===this.id?this:n?.get(t)}value=(e,i)=>{const t=e.split("."),n=this.getComponent(e),m=n&&t.slice(2,t.length).join(".");return[!n,!m,!Ki[m]].some(Boolean)?e:i?n.set(Ki[m],i):n.get(Ki[m])};getResult=e=>({"=":(i,t,n)=>i.set(t,n)})[e];processResults=e=>e.map(({operator:i,target:t,value:n})=>{const m=this.getComponent(t);return{target:m,propertyPath:m&&t.split(".").slice(2,t.length).join("."),action:this.getResult(i),value:this.value(n)}});execResults=e=>{const i=e.map(t=>this.execResult(t));return Promise.all(i)};execResult=({target:e,action:i,value:t,_propertyPath:n})=>new Promise((m,f)=>{try{return m(i(e,t))}catch(g){return f(g)}});cloneData=()=>{const e={...Ne(this.data),id:Ce()};return this.name!=="field"&&(e.children=[]),e};clone=(e=this.parent)=>{const i=e.addChild(this.cloneData(),this.index+1);return this.name!=="field"&&this.cloneChildren(i),this.dispatchComponentEvent("onClone",{original:this,clone:i,parent:e}),i};cloneChildren(e){for(const i of this.children)i?.clone(e)}createChildWrap=e=>V.create({tag:"ul",attrs:{className:"children"},children:e});get isRow(){return this.name===Ri.row}get isColumn(){return this.name===Ri.column}get isField(){return this.name===Ri.field}isDisabledProp=(e,i="attrs")=>{if(ve(this.config,e))return!1;if((this.config?.disabled||[]).includes(e))return!0;const t=ai(e);return(this.config?.panels[i]?.disabled||[]).includes(t)};isLockedProp=(e,i="attrs")=>{if((this.config?.locked||[]).includes(e))return!0;const t=ai(e);return!!(this.config?.panels[i]?.locked||[]).includes(t)};get editWindow(){const e={className:["component-edit",`${this.name}-edit`,"slide-toggle","formeo-panels-wrap"]},i=this.editPanels.size;return i&&(e.className.push(`panel-count-${i}`),e.content=[this.panels.panelNav,this.panels.panelsWrap],this.panelNav=this.panels.nav,this.resizePanelWrap=this.panels.nav.refresh),e.action={onRender:()=>{if(i===0){const t=this.dom.querySelector(".edit-toggle"),n=this.dom.querySelector(`.${this.name}-actions`),m=n.getElementsByTagName("button");n.style.maxWidth=`${m.length*m[0].clientWidth}px`,V.remove(t)}else this.resizePanelWrap()}},V.create(e)}updateEditPanels=()=>{if(!this.config)return null;const e=new Set(["object","array"]),i=Ye([...this.config.panels.order,...Object.keys(this.data)]),t=new Set(["children","meta","action","events",...this.config.panels.disabled]),n=i.filter(f=>!t.has(f));for(const f of n){const g=this.get(f),c=V.childType(g);if(e.has(c)){const o=new nd(g,f,this);this.editPanels.set(o.name,o)}}const m={panels:Array.from(this.editPanels.values()).map(({panelConfig:f})=>f),id:this.id,displayType:"auto"};this.panels=new ts(m),this.dom&&(this.dom.querySelector(".panel-nav").replaceWith(this.panels.panelNav),this.dom.querySelector(".panels").replaceWith(this.panels.panelsWrap))}},rd=class{constructor(e){this.components=e,this.onMove=this.onMove.bind(this),this.onStop=this.onStop.bind(this),this.cleanup=this.cleanup.bind(this)}getRowWidth(e){const i=e.querySelector(".children");if(!i)return 0;const t=i.children.length,n=V.getStyle(i,"gap")||"0px",m=parseFloat(n,10)||0;return this.totalGapWidth=m*(t-1),i.offsetWidth-this.totalGapWidth}validateResizeTarget(e,i){return e&&i&&e.offsetWidth&&i.offsetWidth}onStart(e){if(e.preventDefault(),this.resized=!1,e.button!==0)return;const i=e.target.parentElement,t=i.nextSibling||i.previousSibling,n=i.closest(`.${Be}`);if(!this.validateResizeTarget(i,t)){console.warn("Invalid resize targets"),this.cleanup();return}if(this.startX=e.type==="touchstart"?e.touches[0].clientX:e.clientX,n.classList.add(Li),this.columnPreset=n.querySelector(`.${uo}`),this.originalColumnClass=i.className,this.originalSiblingClass=t.className,i.className=i.className.replace(rn,""),t.className=t.className.replace(rn,""),this.colStartWidth=i.offsetWidth,this.sibStartWidth=t.offsetWidth,this.rowWidth=this.getRowWidth(n),this.rowWidth<=0){console.warn("Invalid row width calculated"),this.cleanup();return}this.column=i,this.sibling=t,this.row=n;try{window.addEventListener("pointermove",this.onMove,!1),window.addEventListener("pointerup",this.onStop,!1)}catch(m){console.error("Failed to initialize resize listeners:",m),this.cleanup()}}calculateNewWidths(e){const i=this.colStartWidth+e-this.startX,t=this.sibStartWidth-e+this.startX,n=parseFloat($i(i,this.rowWidth)),m=parseFloat($i(t,this.rowWidth));return n<10||m<10?null:{colWidth:Ji(n.toFixed(1)),siblingColWidth:Ji(m.toFixed(1))}}onMove(e){e.preventDefault();const{column:i,sibling:t}=this,n=e.type==="touchmove"?e.touches[0].clientX:e.clientX,m=this.calculateNewWidths(n);if(!m)return;const{colWidth:f,siblingColWidth:g}=m;i.dataset.colWidth=f,t.dataset.colWidth=g,i.style.width=f,t.style.width=g,this.resized=!0}onStop(){const{column:e,sibling:i}=this;window.removeEventListener("pointermove",this.onMove),window.removeEventListener("pointerup",this.onStop),this.resized&&(this.setCustomWidthValue(),this.components.setAddress(`columns.${e.id}.config.width`,e.dataset.colWidth),this.components.setAddress(`columns.${i.id}.config.width`,i.dataset.colWidth),this.row.classList.remove(Li),this.resized=!1,this.cleanup())}cleanup(){this.column&&this.originalColumnClass&&(this.column.className=this.originalColumnClass),this.sibling&&this.originalSiblingClass&&(this.sibling.className=this.originalSiblingClass),this.row&&this.row.classList.remove(Li),window.removeEventListener("pointermove",this.onMove),window.removeEventListener("pointerup",this.onStop)}setCustomWidthValue(){const e=this.columnPreset;let i=e.querySelector(`.${nn}`);const t=this.row.querySelector(".children").children,n=Fn(t,g=>$i(g.clientWidth,this.rowWidth).toFixed(1)),m=n.join(","),f=n.join(" | ");return i||(i=V.create({tag:"option",attrs:{className:nn,value:m,selected:!0},content:f}),e.append(i)),i.value=m,i.textContent=f,m}},od=()=>Object.freeze({config:{width:"100%"},children:[],className:[We]}),Tr={resizeHandle:e=>({className:"resize-x-handle",action:{pointerdown:e.onStart.bind(e)},content:[V.icon("triangle-down"),V.icon("triangle-up")]}),editWindow:()=>({className:"column-edit group-config"})},sd=class extends Mi{constructor(e,i){super("column",{...od(),...e},i);const t=this.createChildWrap();this.dom=V.create({tag:"li",className:[We,"empty"],dataset:{hoverTag:Z.get("column")},id:this.id,content:[this.getComponentTag(),this.getActionButtons(),Tr.editWindow(),Tr.resizeHandle(new rd(this.components)),t]}),this.processConfig(),this.sortable=X.create(t,{animation:150,fallbackClass:"field-moving",forceFallback:!0,group:{name:this.sortableGroup("column"),pull:!0,put:["column","controls"].map(n=>this.sortableGroup(n))},sort:!0,disabled:!1,onEnd:this.onEnd.bind(this),onAdd:this.onAdd.bind(this),onSort:this.onSort.bind(this),onRemove:this.onRemove.bind(this),onMove:n=>{n.from!==n.to&&n.from.classList.remove("hovering-column")},draggable:`.${Ct}`,handle:".item-move"})}processConfig(){const e=Se.get(this.data,"config.width");e&&this.setDomWidth(e)}refreshFieldPanels=()=>{for(const e of this.children)e.panels.nav.refresh()};setDomWidth=e=>{this.dom.dataset.colWidth=e,this.dom.style.width=e};setWidth=e=>(this.setDomWidth(e),this.set("config.width",e))},ad={actionButtons:{buttons:["clone","move","remove"],disabled:[]}},as=class extends Ti{constructor(e){super("columns",e),this.config={all:ad}}Component(e){return new sd(e,this.components)}},ld=new as,cd=e=>e?.controlData?.config??e?.config,ud=(...e)=>{const i=m=>Ye(e.flatMap(f=>Array.isArray(f?.[m])?f[m]:[])),t=i("disabledAttrs"),n=i("lockedAttrs");return!t.length&&!n.length?null:{panels:{attrs:{disabled:t,locked:n}}}},dd=As({default:()=>ls}),hd=new Set(["checkbox","radio"]),pd=new Set(["radio","checkbox","select-one","select-multiple"]),ls=class extends Mi{constructor(e=Object.create(null),i){super("field",e,i),this.controlId=this.get("config.controlId")||this.get("meta.id"),this.applyControlAttrConfig(),this.debouncedUpdateEditPanels=ri(this.updateEditPanels),this.debouncedUpdatePreview=ri(this.updatePreview),this.label=V.create(this.labelConfig),this.preview=this.fieldPreview();const t=this.getActionButtons(),n=this.actionButtons.some(f=>f.meta?.id==="edit");this.updateEditPanels();const m=V.create({tag:"li",attrs:{className:Ct},id:this.id,children:[this.label,this.getComponentTag(),t,n&&this.editWindow,this.preview].filter(Boolean),panelNav:this.panelNav,dataset:{hoverTag:Z.get("field")}});this.dom=m,this.isEditing=!1}applyControlAttrConfig(){const e=ud(cd(this.components.controls?.get(this.controlId)),this.get("config"));e&&(this.config={[this.id]:e})}get labelConfig(){if(this.get("config.hideLabel"))return null;const{label:e,editorLabel:i,disableHtmlLabel:t,helpText:n,tooltip:m}=this.get("config"),{required:f}=this.get("attrs")||{},g=i||e,c={tag:"label",attrs:{}};return t?(c.tag="input",c.attrs.value=g):(c.attrs.contenteditable=!0,c.children=g),{className:"prev-label",children:[{...c,action:{input:({target:{innerHTML:o,value:h}})=>{const d=t?h:o;super.set("config.label",d);const u=this.dom.querySelector(".config-label");u&&(u.value=d)}}},f&&V.requiredMark(),m&&V.tooltip(m),n&&V.helpText(n)]}}setData=(e,i)=>super.set(e,i);set(e,i){return this.setData(e,i)}updateLabel(){const e=V.create(this.labelConfig);(this.label||!e)&&this.label.remove(),e&&(this.data.config?.labelAfter?this.dom.append(e):this.dom.prepend(e)),this.label=e}updatePreview=()=>{this.updateLabel();const e=this.fieldPreview();this.preview.replaceWith(e),this.preview=e};get defaultPreviewActions(){return{change:e=>{const{target:i}=e,{type:t}=i;if(pd.has(t)){const n=this.preview.querySelectorAll(":checked"),m=this.get("options"),f=m?.[0]?.selected===void 0?"checked":"selected",g=m.reduce((c,o)=>(c[o.value]=o,c[o.value][f]=!1,c),{});for(const c of n)g[c.value][f]=c.value===g[c.value].value;return super.set("options",Object.values(g)),this.debouncedUpdateEditPanels()}},click:e=>{e.target.contentEditable==="true"&&e.preventDefault()},input:({target:e})=>{if(["input","meter","progress","button"].includes(e.tagName.toLowerCase()))return super.set("attrs.value",e.value),this.debouncedUpdateEditPanels();if(e.contentEditable&&!e.type?.startsWith("select-")){const i=e.parentElement.classList;if(i.contains("f-checkbox")||i.contains("f-radio")){const t=e.parentElement,n=Ze(t);return this.setData(`options[${n}].label`,e.innerHTML),this.debouncedUpdateEditPanels()}this.setData("content",e.innerHTML||e.value)}}}}fieldPreview(){const{action:e={},...i}=Ne(this.data);i.id=`prev-${this.id}`,i.action=Object.entries(e).reduce((n,[m,f])=>(n[m]=f.bind(this),n),{}),this.data?.config.editableContent&&(i.attrs={...i.attrs,contenteditable:!0});const t={attrs:{className:"field-preview",style:this.isEditing&&"display: none;"},content:V.create(i,!0),action:this.defaultPreviewActions};return V.create(t,!0)}get isCheckable(){return hd.has(this.get("config.controlId"))}},fd=()=>({actionButtons:{buttons:["move","edit","clone","remove"],disabled:[]},panels:{disabled:[],attrs:{disabled:["type"],hideDisabled:!0,locked:[]},order:["attrs","options","conditions"]},label:{disableHTML:!1}}),cs=class extends Ti{constructor(e){super("fields",e),this.config={all:fd()}}Component(e){return new ls(e,this.components)}get=e=>{let i=e&&ve(this.data,e);if(!i){const t=this.components.controls?.get(e);t&&(i=this.add(null,t.controlData))}return i};getData=()=>Object.entries(this.data).reduce((e,[i,t])=>{const{conditions:n,...m}=t?.getData()||t;if(n?.length){let f=!0;if(n.length===1){const[g]=n;f=!!g.if[0].source}f&&(m.conditions=n)}return e[i]=m,e},{});load=(e=Object.create(null))=>{const i=Ci(e);this.empty();for(const[t,n]of Object.entries(i)){const{meta:m,...f}=n;m?.id&&Ei(f,"config.controlId",m?.id),this.add(t,f,{silent:!0})}return this.data}},gd=new cs,md=()=>Object.freeze({config:{fieldset:!1,legend:"",inputGroup:!1},children:[],className:[Be]}),vd=class extends Mi{constructor(e,i){super("row",{...md(),...e},i);const t=this.createChildWrap();this.dom=V.create({tag:"li",className:[Be,"empty"],dataset:{hoverTag:Z.get("row"),editingHoverTag:Z.get("editing.row")},id:this.id,content:[this.getComponentTag(),this.getActionButtons(),this.editWindow,t]}),this.sortable=X.create(t,{animation:150,fallbackClass:"column-moving",forceFallback:!0,group:{name:this.sortableGroup("row"),pull:!0,put:["row","column","controls"].map(n=>this.sortableGroup(n))},sort:!0,disabled:!1,onRemove:this.onRemove.bind(this),onEnd:this.onEnd.bind(this),onAdd:this.onAdd.bind(this),onSort:this.onSort.bind(this),draggable:`.${We}`,handle:".item-move"})}get editWindow(){const e={tag:"input",id:`${this.id}-fieldset`,attrs:{type:"checkbox",checked:this.get("config.fieldset"),ariaLabel:Z.get("row.settings.fieldsetWrap.aria")},action:{click:({target:{checked:c}})=>{this.set("config.fieldset",!!c)}},config:{label:Z.get("row.settings.fieldsetWrap")}},i={tag:"input",id:`${this.id}-inputGroup`,attrs:{type:"checkbox",checked:this.get("config.inputGroup"),ariaLabel:Z.get("row.settings.inputGroup.aria")},action:{click:({target:{checked:c}})=>this.set("config.inputGroup",c)},config:{label:Z.get("row.makeInputGroup"),description:Z.get("row.makeInputGroupDesc")}},t={className:"input-group",content:{tag:"input",attrs:{type:"text",ariaLabel:"Legend for fieldset",value:this.get("config.legend"),placeholder:"Title"},config:{label:{children:["Row Title",{tag:"span",content:" ⓘ",dataset:{tooltip:"Row title will be used as the legend for the fieldset"}}]}},action:{input:({target:{value:c}})=>this.set("config.legend",c)},className:""}},n=V.formGroup([e,t]),m={tag:"label",content:Z.get("defineColumnWidths"),className:"col-sm-4 form-control-label"};this.columnPresetControl=V.create(this.columnPresetControlConfig);const f={className:"col-sm-8",content:this.columnPresetControl,action:{onRender:()=>{this.updateColumnPreset()}}},g=[i,"hr",n,"hr",V.formGroup([m,f],"row")];return V.create({className:`${this.name}-edit group-config`,action:{onRender:c=>{const o=g.map(h=>V.create(h));c.append(...o)}}})}onAdd(...e){super.onAdd(...e),this.autoColumnWidths()}onRemove(...e){super.onRemove(...e),this.autoColumnWidths()}autoColumnWidths=()=>{const e=this.children;if(!e.length)return;const i=Number.parseFloat((100/e.length).toFixed(1))/1;for(const t of e){t.removeClasses(rn);const n=t.dom,m=Ji(i);t.set("config.width",m),n.style.width=m,n.dataset.colWidth=m;const f=setTimeout(()=>{clearTimeout(f),t.refreshFieldPanels()},nt);this.components.events.columnResized({column:n,instance:t})}this.updateColumnPreset()};updateColumnPreset=()=>{this.columnPresetControl.innerHTML="";const e=this.getColumnPresetOptions.map(({label:i,...t})=>V.create({tag:"option",content:i,attrs:t}));this.columnPresetControl.append(...e)};setColumnWidths=e=>{typeof e=="string"&&(e=e.split(",")),this.children.forEach((i,t)=>{i.setWidth(`${e[t]}%`),i.refreshFieldPanels()})};get getColumnPresetOptions(){const e=this.children,i=Tl.get(e.length-1)||[],t=e.map(n=>{const m=n.get("config.width")||"";return Number(m.replace("%","")).toFixed(1)}).join(",");if(i.length){const n=i.slice();return n.find(m=>m.value===t)||n.push({value:t,label:t.replace(/,/g," | "),className:nn}),n.map(m=>{const f={...m};return f.selected=m.value===t,f})}return[]}get columnPresetControlConfig(){return{tag:"select",attrs:{ariaLabel:Z.get("defineColumnLayout"),className:uo},action:{change:({target:e})=>{const{value:i}=e;this.setColumnWidths(i)}},options:this.getColumnPresetOptions}}},yd={actionButtons:{buttons:["move","edit","clone","remove"],disabled:[]}},us=class extends Ti{constructor(e){super("rows",e),this.config={all:yd}}Component(e){return new vd(e,this.components)}},bd=new us,wd=()=>({conditions:[Dn()],children:[]}),Cd=class extends Mi{constructor(e,i){super("stage",{...wd(),...e},i),this.updateEditPanels(),this.debouncedUpdateEditPanels=ri(this.updateEditPanels),Z.get("Untitled Form"),Z.get("Untitled Form"),Z.get("Form Title"),Z.get("Form novalidate"),Z.get("Tags");const t=this.createChildWrap();this.dom=V.create({attrs:{className:[wt,"empty"],id:this.id},children:[this.getComponentTag(),this.getActionButtons(),this.editWindow,t]}),this.sortable=X.create(t,{animation:150,fallbackClass:"row-moving",group:{name:this.sortableGroup("stage"),pull:!0,put:["row","column","controls"].map(n=>this.sortableGroup(n))},sort:!0,disabled:!1,onAdd:this.onAdd.bind(this),onRemove:this.onRemove.bind(this),onStart:()=>{this.components.stages.active=this},onSort:this.onSort.bind(this),draggable:`.${Be}`,handle:".item-move"})}empty(e=!0){return new Promise(i=>{e?(this.dom.classList.add("removing-all-fields"),pe.slideUp(this.dom,333,()=>{i(super.empty(e)),this.dom.classList.remove("removing-all-fields"),pe.slideDown(this.dom,333)})):i(super.empty())})}onAdd(...e){const i=super.onAdd(...e);i?.name==="column"&&i.parent.autoColumnWidths()}},Sd=()=>({actionButtons:{buttons:["edit"],disabled:[]},panels:{disabled:[],order:["attrs","options","conditions"]}}),ds=class extends Ti{constructor(e){super("stages",e),this.config={all:Sd()}}Component(e){return new Cd(e,this.components)}},xd=new ds,Ed=(e,i=!1)=>{if(e!=null){const t=Ci(e);if(t&&typeof t=="object"){const n=Ne(t);return{id:n.id||ft().id,stages:n.stages||ft().stages,rows:n.rows||{},columns:n.columns||{},fields:n.fields||{}}}console.warn("Formeo: Invalid formData provided, using default")}if(i){const t=Sn.get(ni(i));if(t)return t}return ft()},hs=class extends Gn{events=null;constructor({events:e=new Bn,actions:i,stores:t={},controls:n=null}={}){super("components"),this.disableEvents=!0,this.instanceId=Ce(),this.events=e,this.events.components=this,this.actions=i||new Hn(e).init(),this.stages=t.stages||new ds,this.rows=t.rows||new us,this.columns=t.columns||new as,this.fields=t.fields||new cs;for(const m of[this.stages,this.rows,this.columns,this.fields])m.components=this;this.controls=n}get controls(){return this._controls}set controls(e){this._controls=e,e&&(e.components=this)}load=(e,i={})=>{this.empty();const t=Ed(e,i.sessionStorage);this.opts=i,this.set("id",t.id),this.add("stages",this.stages.load(t.stages)),this.add("rows",this.rows.load(t.rows)),this.add("columns",this.columns.load(t.columns)),this.add("fields",this.fields.load(t.fields));for(const n of Object.values(this.get("stages")))n.loadChildren();return this.data};flatList(){const e={};for(const i of Object.keys(this.data.stages))lo(this.data,i,"stages",e);return e}getChildData=({type:e,id:i})=>{const t=this.get(e,i);if(t)return t.getData()};get json(){return window.JSON.stringify({$schema:`https://cdn.jsdelivr.net/npm/formeo@${En}/dist/formData_schema.json`,...this.formData})}get formData(){return{id:this.get("id"),stages:this.stages.getData(),rows:this.rows.getData(),columns:this.columns.getData(),fields:this.fields.getData()}}set config(e){const{stages:i,rows:t,columns:n,fields:m}=e;this.stages.config=i,this.rows.config=t,this.columns.config=n,this.fields.config=m}getIndex(e){return this[e]||this[vl.get(e)]}setAddress(e,i){if(!Ae(e))return;const[t,n,...m]=Array.isArray(e)?e:rt(e),f=this.getIndex(t).get(n);return f?.set(m,i),f}getAddress(e){if(!Ae(e))return;const[i,t,...n]=Array.isArray(e)?e:rt(e),m=this.getIndex(i).get(t);if(!(n.length&&!m))return n.length?m.get(n):m}},yp=new hs({events:Ho,actions:Po,stores:{stages:xd,rows:bd,columns:ld,fields:gd},controls:mu});Po.events=Ho;var Ad={get editor(){return{stickyControls:!1,allowEdit:!0,dataType:"json",debug:!1,sessionStorage:!1,editorContainer:null,svgSprite:null,style:pl,iconFont:null,config:{},events:{},actions:{},controls:{container:null},i18n:{location:"https://draggable.github.io/formeo/assets/lang/"},onLoad:()=>{}}}},me={CREATED:"created",LOADING_RESOURCES:"loading",INITIALIZING:"initializing",READY:"ready",ERROR:"error"},Mr=new Map,kd=e=>e.initState===me.ERROR?!1:e.editor?!!(e.editorContainer?.isConnected&&e.editorContainer.contains(e.editor)):!e.editorContainer||e.editorContainer.isConnected,ps=class{#e=me.CREATED;#i=null;#t=null;#n=!1;constructor({formData:e,...i}={},t){const{actions:n,events:m,debug:f,config:g,editorContainer:c,...o}=Re(Ad.editor,i);c&&(this.editorContainer=V.resolveContainer(c)||null),this.editorContainerOption=c,this.opts=o,V.setOptions=o;const h=t||e;if(this.#t=h?tt(h):null,this.userFormData=this.#t,this.dom=V,this.events=new Bn().init({debug:f,...m}),this.actions=new Hn(this.events).init({debug:f,sessionStorage:o.sessionStorage,...n}),this.Components=new hs({events:this.events,actions:this.actions}),this.Components.config=g,o.sessionStorage){const d=ni(o.sessionStorage),u=Mr.get(d);u&&kd(u)&&console.warn(`formeo: another editor on this page already saves to sessionStorage key "${d}". Give each editor its own key, e.g. sessionStorage: 'orders-form'.`),Mr.set(d,this)}document.readyState==="loading"?document.addEventListener("DOMContentLoaded",this.loadResources.bind(this)):this.loadResources()}get formData(){return this.Components.formData}set formData(e={}){const i=tt(e);this.#t=i,this.userFormData=i,this.load(this.userFormData,this.opts)}loadData(e={}){this.formData=e}get json(){return this.Components.json}clear(){const e=ft();this.#t=e,this.userFormData=e,this.Components.load(this.userFormData,this.opts),this.render()}async loadResources(){document.removeEventListener("DOMContentLoaded",this.loadResources),this.#e=me.LOADING_RESOURCES;const e=[sc(this.opts.svgSprite),lc(this.opts.style),Z.init({preloaded:{"en-US":Ts},...this.opts.i18n,locale:globalThis.sessionStorage?.getItem(nr)})].filter(Boolean);try{await Promise.all(e),this.opts.allowEdit&&this.init()}catch(i){throw this.#e=me.ERROR,console.error("Failed to load resources:",i),i}}init(){return this.#e===me.INITIALIZING?this.#i:this.#e===me.READY?this.#r():(this.#e=me.INITIALIZING,this.#i=new dn(this.Components).init(this.opts.controls,this.opts.stickyControls).then(e=>(this.controls=e,this.Components.controls=e,this.#n||(this.#s(),this.#n=!0),this.formId=this.Components.get("id"),this.i18n={setLang:this.#o.bind(this)},this.render(),this.onResize=this.events.onResizeWindow,window.addEventListener("resize",this.onResize),this.#e=me.READY,this.opts.onLoad?.(this),this.tooltipInstance=new Ur,this)).catch(e=>{throw this.#e=me.ERROR,console.error("Failed to initialize editor:",e),e}),this.#i)}async#o(e){globalThis.sessionStorage?.setItem(nr,e),await Z.setCurrent(e),await this.#r()}async#r(){return this.controls=await new dn(this.Components).init(this.opts.controls,this.opts.stickyControls),this.Components.controls=this.controls,this.render(),this}#s(){const e=this.#a();this.Components.load(e,this.opts)}#a(){if(this.#t)return Ne(this.#t);if(this.opts.sessionStorage){const e=Sn.get(ni(this.opts.sessionStorage));if(e)return e}return ft()}load(e=this.userFormData,i=this.opts){this.Components.load(e,i),this.render()}get initState(){return this.#e}get isReady(){return this.#e===me.READY}async whenReady(){return this.#e===me.READY?this:this.#e===me.ERROR?Promise.reject(new Error("Editor initialization failed")):this.#i?this.#i:new Promise((e,i)=>{const t=()=>{this.#e===me.READY?e(this):this.#e===me.ERROR?i(new Error("Editor initialization failed")):globalThis.requestAnimationFrame(t)};t()})}render(){if(!this.controls)return globalThis.requestAnimationFrame(()=>this.render());if(this.stages=Object.values(this.Components.get("stages")),this.opts.controlOnLeft)for(const t of this.stages)t.dom.style.order=1;const e={attrs:{className:"formeo formeo-editor",id:this.formId},content:[this.stages.map(({dom:t})=>t)]};Z.current.dir&&(e.attrs.dir=Z.current.dir,V.dir=Z.current.dir),this.editor=V.create(e);const i=this.controls.container||this.editor;i&&(i!==this.editor&&V.empty(i),i.appendChild(this.controls.dom)),!this.editorContainer&&this.editorContainerOption&&(this.editorContainer=V.resolveContainer(this.editorContainerOption)||null,this.editorContainer||console.warn(`Formeo: editorContainer ${String(this.editorContainerOption)} was not found, so the editor was not added to the page.`)),this.editorContainer&&(V.empty(this.editorContainer),this.editorContainer.appendChild(this.editor)),this.events.formeoLoaded(this)}},$r=e=>V.resolveContainer(e),Td=({editorContainer:e,renderContainer:i,formData:t,...n}={})=>{const m={renderContainer:$r(i),editorContainer:$r(e),formData:tt(t)};return{elements:{},...n,...m}},Kt=e=>e.match(zl)?.[0]||e,Lr=e=>{if(!e||e.hasAttribute("hidden")||e.parentElement?.hasAttribute("hidden"))return!1;const i=window.getComputedStyle(e);return!(i.display==="none"||i.visibility==="hidden"||i.opacity==="0")},Md='input[type="checkbox"], input[type="radio"]',$d=new Set(["checkbox","radio"]),fs=e=>e?.tagName?.toLowerCase(),gs=e=>fs(e)==="input"&&$d.has(e.type),Kn=e=>{if(!e||gs(e)||typeof e.querySelectorAll!="function")return null;const i=e.querySelectorAll(Md);return i.length?Array.from(i):null},Ld=e=>!!Kn(e),Rr=e=>{if(!e)return;const i=Kn(e);if(i){const t=i.filter(n=>n.checked).map(n=>n.value);return i.every(n=>n.type==="radio")?t[0]??"":t}return fs(e)==="select"&&e.multiple?Array.from(e.selectedOptions,t=>t.value):gs(e)?e.checked?e.value:"":e.value},_r=e=>{const i=Kn(e);return i?i.some(t=>t.checked):!!e?.checked},Or={isChecked:e=>_r(e),isNotChecked:e=>!_r(e),value:Rr,checked:Rr,isVisible:e=>Lr(e),isNotVisible:e=>!Lr(e)},Rd=()=>V.btnTemplate({className:"remove-input-group",children:V.icon("remove"),action:{mouseover:({target:e})=>e.parentElement.classList.add("will-remove"),mouseleave:({target:e})=>e.parentElement.classList.remove("will-remove"),click:({target:e})=>e.parentElement.remove()}}),Ir=(e,i)=>Array.isArray(e)?e.some(t=>(0,hn.default)(t,i)):(0,hn.default)(e,i),Dr=(e,i)=>e==null?!1:Array.isArray(e)?e.includes(i):String(e).includes(i),Nr={equals:Ir,notEquals:(e,i)=>!Ir(e,i),contains:Dr,notContains:(e,i)=>!Dr(e,i)},_d=Object.entries(wo).reduce((e,[i,t])=>(e[t]=Nr[i],e[i]=Nr[i],e),{}),Fr={equals:(e,{targetProperty:i,value:t})=>{e[`_${i}`]=e[i],e[i]=t}},Od=Object.entries(Co).reduce((e,[i,t])=>(e[t]=Fr[i],e[i]=Fr[i],e),{}),zr=e=>{const i=e.closest?.(vs);i&&V.syncCheckboxGroupRequired(i)},Id={isChecked:e=>{e.checked=!0,zr(e)},isNotChecked:e=>{e.checked=!1,zr(e)},value:(e,{assignment:i,...t})=>{const n=Od[i]?.(e,t),m=new Event("input",{bubbles:!0});return e.dispatchEvent(m),n},isNotVisible:e=>{e.parentElement.setAttribute("hidden",!0),Dd(e)},isVisible:e=>{e.parentElement.removeAttribute("hidden"),Nd(e)}},ms="input, select, textarea",vs=`[data-${li}]`,pn=(e,i)=>[...e.matches(i)?[e]:[],...e.querySelectorAll(i)],Dd=e=>{for(const i of pn(e,ms))i._required===void 0&&(i._required=i.required),i.required=!1},Nd=e=>{for(const i of pn(e,ms))i._required!==void 0&&!i.closest("[hidden]")&&(i.required=i._required,delete i._required);for(const i of pn(e,vs))V.syncCheckboxGroupRequired(i)},Fd=new Set(["&&","and"]),zd=(e=[])=>e.reduce((i,t,n)=>(n>0&&Fd.has(t.logical)?i[i.length-1].push(t):i.push([t]),i),[]),ys=class{constructor(e={},i){const{renderContainer:t,elements:n,formData:m,config:f,events:g}=Td(e);this.container=t,this.form=tt(i||m),this.elements=n,this.config=f,this.events={...g},this.components=Object.create(null),this.dom=V}get formData(){return this.form}set formData(e){this.form=tt(e)}get userData(){return qi(this.container?.querySelector(".formeo-render")||this.renderedForm)}get userFormData(){const e=[];for(const[i,t]of Object.entries(this.userData)){const n={key:i,value:t,label:this.componentByName(i)?.config?.label||""};e.push(n)}return e}componentByName(e){return this.components[Kt(e)]||Object.values(this.components).find(i=>i.attrs?.name===e||i.attrs?.name===`${e}[]`)}set userData(e={}){const i=this.container.querySelector("form");for(const t of Object.keys(e)){const n=i.elements[t]??i.elements[`${t}[]`],m=Hd(n);if(m?.[0].type==="checkbox"){const f=Array.isArray(e[t])?e[t]:[e[t]];for(const c of m)c.checked=f.includes(c.value);const g=m[0].closest(`[data-${li}]`);g&&V.syncCheckboxGroupRequired(g)}else if(m?.[0].type==="radio")for(const f of m)f.checked=f.value===e[t];else n.type&&(n.value=e[t])}}render(e=this.form){if(!this.container)throw new Error("FormeoRenderer: renderContainer is required for render(); use getRenderedForm() or html without one");this.form=tt(e);const i=this.getRenderedForm(e),t=this.container.querySelector(".formeo-render");t?t.replaceWith(i):this.container.appendChild(i),this.events.onRender?.({form:i,renderer:this,formData:this.form})}getRenderedForm(e=this.form){this.form=tt(e);const i=document.getElementsByClassName("formeo-render").length,t={...this.config,tag:"form",id:this.form.id,className:`formeo-render formeo formeo-rendered-${i}`,children:this.processedData};return this.renderedForm=V.render(t),this.renderedForm.addEventListener("reset",this.syncRequiredGroupsAfterReset),this.applyConditions(),this.bindFormEvents(this.renderedForm),this.renderedForm}syncRequiredGroupsAfterReset=({currentTarget:e})=>{setTimeout(()=>{for(const i of e.querySelectorAll(`[data-${li}]`))V.syncCheckboxGroupRequired(i)},0)};bindFormEvents(e){const{onChange:i,onSubmit:t}=this.events;i&&e.addEventListener("input",n=>i({event:n,target:n.target,form:e,userData:qi(e)})),t&&e.addEventListener("submit",n=>t({event:n,form:e,userData:qi(e)}))}get html(){return(this.renderedForm||this.getRenderedForm()).outerHTML}orderChildren=(e,i)=>i.reduce((t,n)=>(t.push(this.form[e][n]),t),[]);prefixId=e=>"f-"+e;processColumn=({id:e,...i})=>({...i,id:this.prefixId(e),children:this.processFields(i.children),style:`width: ${i.config.width||"100%"}`});processRows=e=>this.orderChildren("rows",this.form.stages[e].children).reduce((i,t)=>(t&&i.push(this.processRow(t)),i),[]);cacheComponent=e=>(this.components[Kt(e.id)]=e,e);processRow=(e,i="row")=>{const{config:t,id:n}=e,m=[`formeo-${i}-wrap`],f={...e,children:this.processColumns(e.id),id:this.prefixId(n)};this.cacheComponent(f);const g=[{condition:t.legend,result:()=>({tag:t.fieldset?"legend":"h3",children:t.legend})},{condition:!0,result:()=>f},{condition:t.inputGroup,result:()=>this.addButton(n)}].reduce((c,{condition:o,result:h})=>(o&&c.push(h()),c),[]);return t.inputGroup&&m.push("f-input-group-wrap"),{tag:t.fieldset?"fieldset":"div",className:m,children:g}};cloneComponentData=e=>{const{children:i=[],id:t,attrs:n={},...m}=this.components[e],f={...n,"data-clone-of":t};return m.options&&["checkbox","radio"].includes(n.type)?delete f.name:m.tag==="input"&&(f.name=Oo(this.components[e])),{...m,id:"f-"+Ce(t),children:i?.length&&i.map(({id:g})=>this.cloneComponentData(Kt(g))),attrs:f}};addButton=e=>({tag:"button",attrs:{className:"add-input-group btn pull-right",type:"button"},children:"Add +",action:{click:i=>{const t=i.target.parentElement,n=V.create(this.cloneComponentData(e));t.insertBefore(n,t.lastChild);const m=V.create(Rd());n.appendChild(m)}}});processColumns=e=>this.orderChildren("columns",this.form.rows[e].children).map(i=>this.cacheComponent(this.processColumn(i)));processFields=e=>this.orderChildren("fields",e).map(({id:i,...t})=>{const n=t.config?.controlId||t.meta?.id,{action:m={},dependencies:f={}}=this.elements[n]||{};f&&Lo(f);const g=Re({action:m},t);return this.cacheComponent({...g,id:this.prefixId(i)})});get processedData(){return Object.values(this.form.stages).map(e=>(e.children=this.processRows(e.id),e.className=wt,this.components[Kt(e.id)]=e,e))}applyConditions=()=>{for(const{conditions:e}of Object.values(this.components))if(e)for(const i of e)try{this.applyCondition(i)}catch(t){console.error("formeo: condition skipped",i,t)}};applyCondition=({if:e=[],then:i=[]})=>{const t=zd(e);let n=!1;const m=g=>{if(!n){n=!0;try{if(this.evaluateClauseGroups(t))for(const c of i)this.execResult(c,g)}finally{n=!1}}},f=new Set(e.flatMap(({source:g,target:c})=>[g,c]).filter(Ae));for(const g of f){const{component:c,options:o}=this.getComponent(g);this.listenForChanges(o||c,m)}m({target:null})};evaluateClauseGroups=e=>e.some(i=>i.length&&i.every(t=>this.evaluateCondition(t)));listenForChanges=(e,i)=>{if(!e)return;if(Wd(e)){for(const n of e)this.listenForChanges(n,i);return}const t=Vd(e);t&&e.addEventListener(t,i,!1)};evaluateCondition=({source:e,sourceProperty:i,targetProperty:t,comparison:n,target:m})=>{if(!Ae(e)||!this.getComponent(e)?.component)return!1;const f=this.getComponentProperty(e,i);if(typeof f=="boolean")return f;const g=String(Ae(m)?this.getComponentProperty(m,t):m);return _d[n]?.(f,g)};execResult=({target:e,targetProperty:i,assignment:t,value:n})=>{if(Ae(e)){const{component:m,option:f}=this.getComponent(e),g=f||m;Id[i]?.(g,{targetProperty:i,assignment:t,value:n})}};getComponentProperty=(e,i)=>{const{component:t,option:n}=this.getComponent(e)||{},m=n||t;if(m)return Or[i]?Or[i](m):m[i]};getComponent=e=>{const i={component:null};if(!Ae(e))return null;const[,t,n,m]=rt(e);let f=null;try{f=this.renderedForm.querySelector(`#f-${t}`)}catch{}if(!f)return i;if(i.component=f,n){const g=f.querySelectorAll("input"),c=g[m];return i.options=g,i.option=c,i}return i};getComponents=e=>{const i=[],t=`f-${e.slice(e.indexOf(".")+1)}`;return i.push(...this.renderedForm.querySelectorAll(`[name="${t}"], [name="${t}[]"]`)),i}},Pd=e=>e.endsWith("[]")?e.slice(0,-2):e,qi=e=>{if(!e)return{};const i=new FormData(e),t={};for(const[n,m]of i.entries()){const f=Pd(n);Object.hasOwn(t,f)?Array.isArray(t[f])?t[f].push(m):t[f]=[t[f],m]:t[f]=m}return t},Pr=e=>["checkbox","radio"].includes(e?.type),Hd=e=>Pr(e)?[e]:e?.length&&Pr(e[0])?Array.from(e):null,Bd=e=>!!e&&typeof e.nodeType=="number",Wd=e=>!!e&&!Bd(e)&&typeof e.length=="number",Hr=e=>e.tagName?.toLowerCase(),jd=[["change",e=>Ld(e)],["change",e=>Hr(e)==="select"||["checkbox","radio"].includes(e.type)],["input",e=>["input","textarea"].includes(Hr(e))]],Vd=e=>{const[i]=jd.find(t=>t[1](e))||[!1];return i};window!==void 0&&(window.FormeoEditor=ps,window.FormeoRenderer=ys);var qn=ps,Yn=ys,Ud={rows:{all:{events:{onAdd:e=>{if(console.log(`You just added a new row with the id "${e.target.id}"`,e.index),e.index===2){const i=e.target.dom.querySelector(".action-btn-wrap"),t=document.createElement("button");t.type="button",t.className="btn btn-sm btn-secondary",t.textContent="Add Column",t.style.border="1px solid #ccc",t.style.width="auto",t.addEventListener("click",()=>{e.target.addChild()}),i.appendChild(t)}}}}},fields:{all:{panels:{attrs:{}},events:{onRemove:e=>{console.log(`You just removed the field with the id "${e.target.id}"`,e)}}},"text-input":{attrs:{type:[{label:"text",value:"text"},{label:"phone",value:"phone"},{label:"email",value:"email"}]},config:{helpText:"This is a custom help text for text input fields.",hideLabel:!1}},checkbox:{actionButtons:{},panels:{attrs:{hideDisabled:!0}}}}},Gd={sortable:!1,groupOrder:["common","html"],disable:{},elements:[{tag:"input",config:{label:"Email",disabledAttrs:["type"],lockedAttrs:["required","className"]},meta:{group:"common",id:"email",icon:"@"},attrs:{className:"custom-email",type:"email",required:!0}}],elementOrder:{common:["button","checkbox","date-input","hidden","upload","number","radio","select","text-input","textarea"]}},Kd=".build-form",qd=".render-form",It={editorContainer:Kd,actions:{},controls:Gd,config:Ud,events:{onSave:console.log,onChange:console.log},style:null,sessionStorage:!0,onLoad:()=>{console.log("demo loaded")}},Zn={renderContainer:qd,elements:{tinymce:{action:{onRender:e=>{if(e.id){const i=`#${e.id}`;globalThis.tinymce.remove(i),globalThis.tinymce.init({selector:i})}}}}}};async function Yd(e){e.innerHTML=`
13
13
  <div class="angular-demo">
14
14
  <h3>Angular Integration Demo</h3>
15
15
  <p>Demonstrating Formeo integration patterns for Angular applications</p>
@@ -17,7 +17,7 @@ var Ls=Object.create,pi=Object.defineProperty,Rs=Object.getOwnPropertyDescriptor
17
17
  <p>Initializing Angular-style Formeo integration demo...</p>
18
18
  </div>
19
19
  </div>
20
- `;try{await nh(),await rh()&&console.log("Highlight.js loaded successfully"),e.innerHTML=`
20
+ `;try{await Zd(),await Qd()&&console.log("Highlight.js loaded successfully"),e.innerHTML=`
21
21
  <div class="angular-demo">
22
22
  <h3>Angular Integration Demo</h3>
23
23
  <div class="demo-description">
@@ -53,17 +53,17 @@ npm install formeo</code></pre>
53
53
 
54
54
  <div class="guide-section">
55
55
  <h4>2. Angular Component Implementation</h4>
56
- <pre><code class="language-typescript">${cn(ah)}</code></pre>
56
+ <pre><code class="language-typescript">${Zi(eh)}</code></pre>
57
57
  </div>
58
58
 
59
59
  <div class="guide-section">
60
60
  <h4>3. Service for Formeo Management (Optional)</h4>
61
- <pre><code class="language-typescript">${cn(lh)}</code></pre>
61
+ <pre><code class="language-typescript">${Zi(th)}</code></pre>
62
62
  </div>
63
63
 
64
64
  <div class="guide-section">
65
65
  <h4>4. Module Configuration</h4>
66
- <pre><code class="language-typescript">${cn(ch)}</code></pre>
66
+ <pre><code class="language-typescript">${Zi(ih)}</code></pre>
67
67
  </div>
68
68
  </div>
69
69
 
@@ -72,7 +72,7 @@ npm install formeo</code></pre>
72
72
  <div id="angular-app-root"></div>
73
73
  </div>
74
74
  </div>
75
- `;const i=await sh();Xr();const t=e.querySelector("#toggle-instructions"),n=e.querySelector("#instructions-section"),m=t.querySelector(".toggle-text"),f=t.querySelector(".toggle-icon");return t&&n&&t.addEventListener("click",()=>{const g=n.style.display==="block";n.style.display=g?"none":"block",m.textContent=g?"Show Implementation Guide":"Hide Implementation Guide",f.textContent=g?"▼":"▲",g||setTimeout(()=>Xr(),50)}),{angularApp:i,cleanup:()=>{i?.destroy&&i.destroy();const g=document.getElementById("angular-app-root");g&&(g.innerHTML="")}}}catch(i){return console.error("Failed to load Angular demo:",i),e.innerHTML=`
75
+ `;const i=await Jd();Br();const t=e.querySelector("#toggle-instructions"),n=e.querySelector("#instructions-section"),m=t.querySelector(".toggle-text"),f=t.querySelector(".toggle-icon");return t&&n&&t.addEventListener("click",()=>{const g=n.style.display==="block";n.style.display=g?"none":"block",m.textContent=g?"Show Implementation Guide":"Hide Implementation Guide",f.textContent=g?"▼":"▲",g||setTimeout(()=>Br(),50)}),{angularApp:i,cleanup:()=>{i?.destroy&&i.destroy();const g=document.getElementById("angular-app-root");g&&(g.innerHTML="")}}}catch(i){return console.error("Failed to load Angular demo:",i),e.innerHTML=`
76
76
  <div class="angular-demo">
77
77
  <h3>Angular Integration Demo</h3>
78
78
  <div class="error-message">
@@ -82,7 +82,7 @@ npm install formeo</code></pre>
82
82
  <button class="retry-button" onclick="window.frameworkLoader?.switchFramework('angular')">Retry</button>
83
83
  </div>
84
84
  </div>
85
- `,{cleanup:()=>{}}}}async function nh(){await new Promise(e=>setTimeout(e,500)),console.log("Angular-style demo environment ready")}async function rh(){if(window.hljs)return window.hljs;try{const e=document.createElement("link");return e.rel="stylesheet",e.href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css",document.head.appendChild(e),oh(),await ln("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"),await ln("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/typescript.min.js"),await ln("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/bash.min.js"),window.hljs}catch(e){return console.warn("Failed to load Highlight.js:",e),null}}function oh(){const e=document.createElement("style");e.textContent=`
85
+ `,{cleanup:()=>{}}}}async function Zd(){await new Promise(e=>setTimeout(e,500)),console.log("Angular-style demo environment ready")}async function Qd(){if(window.hljs)return window.hljs;try{const e=document.createElement("link");return e.rel="stylesheet",e.href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css",document.head.appendChild(e),Xd(),await Yi("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"),await Yi("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/typescript.min.js"),await Yi("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/bash.min.js"),window.hljs}catch(e){return console.warn("Failed to load Highlight.js:",e),null}}function Xd(){const e=document.createElement("style");e.textContent=`
86
86
  .angular-demo .guide-section {
87
87
  margin-bottom: 24px;
88
88
  }
@@ -148,7 +148,7 @@ npm install formeo</code></pre>
148
148
  padding: 20px;
149
149
  margin-top: 16px;
150
150
  }
151
- `,document.head.appendChild(e)}function ln(e){return new Promise((i,t)=>{const n=document.createElement("script");n.src=e,n.onload=i,n.onerror=t,document.head.appendChild(n)})}function Xr(){window.hljs?document.querySelectorAll("pre code").forEach(e=>{try{window.hljs.highlightElement(e)}catch(i){console.warn("Failed to highlight code block:",i)}}):document.querySelectorAll("pre code").forEach(e=>{e.style.fontFamily="'Monaco', 'Menlo', 'Ubuntu Mono', monospace",e.style.fontSize="14px",e.style.lineHeight="1.5"})}async function sh(){const e=document.getElementById("angular-app-root");if(!e)return null;e.innerHTML=`
151
+ `,document.head.appendChild(e)}function Yi(e){return new Promise((i,t)=>{const n=document.createElement("script");n.src=e,n.onload=i,n.onerror=t,document.head.appendChild(n)})}function Br(){window.hljs?document.querySelectorAll("pre code").forEach(e=>{try{window.hljs.highlightElement(e)}catch(i){console.warn("Failed to highlight code block:",i)}}):document.querySelectorAll("pre code").forEach(e=>{e.style.fontFamily="'Monaco', 'Menlo', 'Ubuntu Mono', monospace",e.style.fontSize="14px",e.style.lineHeight="1.5"})}async function Jd(){const e=document.getElementById("angular-app-root");if(!e)return null;e.innerHTML=`
152
152
  <div class="angular-component">
153
153
  <div class="form-builder-container">
154
154
  <div class="editor-section">
@@ -166,7 +166,7 @@ npm install formeo</code></pre>
166
166
  </div>
167
167
  </div>
168
168
  </div>
169
- `;const i=e.querySelector(".angular-form-editor"),t=e.querySelector(".angular-form-renderer");if(i&&t){const n=document.createElement("form");n.className="build-form-angular-real";const m=document.createElement("div");m.className="render-form-angular-real",i.appendChild(n),t.appendChild(m);const f={...jt,editorContainer:".build-form-angular-real",events:{...jt.events,onSave:l=>{console.log("Angular Component - Form saved:",l)},onChange:l=>{console.log("Angular Component - Form changed:",l)}}},g={...cr,renderContainer:".render-form-angular-real"},c=new ar(f),o=new lr(g),h=e.querySelector("#angular-save-btn"),d=e.querySelector("#angular-render-btn"),u=e.querySelector("#angular-clear-btn");return h&&h.addEventListener("click",()=>{const l=c.formData;console.log("Angular Component - Save clicked:",l),alert("Form saved! Check console for form data.")}),d&&d.addEventListener("click",()=>{const l=c.formData;l&&Object.keys(l).length>0?(m.style.display="block",o.render(l),console.log("Angular Component - Render clicked:",l)):alert("Please create a form first before rendering")}),u&&u.addEventListener("click",()=>{c&&c.clear(),o&&m&&(m.innerHTML="",m.style.display="none"),console.log("Angular Component - Clear clicked")}),{editor:c,renderer:o,destroy:()=>{c?.destroy&&c.destroy(),o?.destroy&&o.destroy()}}}return null}function cn(e){const i=document.createElement("div");return i.textContent=e,i.innerHTML}var ah=`import { Component, OnInit, OnDestroy, ElementRef, ViewChild, inject } from '@angular/core';
169
+ `;const i=e.querySelector(".angular-form-editor"),t=e.querySelector(".angular-form-renderer");if(i&&t){const n=document.createElement("form");n.className="build-form-angular-real";const m=document.createElement("div");m.className="render-form-angular-real",i.appendChild(n),t.appendChild(m);const f={...It,editorContainer:".build-form-angular-real",events:{...It.events,onSave:l=>{console.log("Angular Component - Form saved:",l)},onChange:l=>{console.log("Angular Component - Form changed:",l)}}},g={...Zn,renderContainer:".render-form-angular-real"},c=new qn(f),o=new Yn(g),h=e.querySelector("#angular-save-btn"),d=e.querySelector("#angular-render-btn"),u=e.querySelector("#angular-clear-btn");return h&&h.addEventListener("click",()=>{const l=c.formData;console.log("Angular Component - Save clicked:",l),alert("Form saved! Check console for form data.")}),d&&d.addEventListener("click",()=>{const l=c.formData;l&&Object.keys(l).length>0?(m.style.display="block",o.render(l),console.log("Angular Component - Render clicked:",l)):alert("Please create a form first before rendering")}),u&&u.addEventListener("click",()=>{c&&c.clear(),o&&m&&(m.innerHTML="",m.style.display="none"),console.log("Angular Component - Clear clicked")}),{editor:c,renderer:o,destroy:()=>{c?.destroy&&c.destroy(),o?.destroy&&o.destroy()}}}return null}function Zi(e){const i=document.createElement("div");return i.textContent=e,i.innerHTML}var eh=`import { Component, OnInit, OnDestroy, ElementRef, ViewChild, inject } from '@angular/core';
170
170
  import { FormeoEditor, FormeoRenderer } from 'formeo';
171
171
 
172
172
  @Component({
@@ -352,7 +352,7 @@ export class FormBuilderComponent implements OnInit, OnDestroy {
352
352
  this.renderer.destroy();
353
353
  }
354
354
  }
355
- }`,lh=`import { Injectable, signal } from '@angular/core';
355
+ }`,th=`import { Injectable, signal } from '@angular/core';
356
356
  import { FormeoEditor, FormeoRenderer } from 'formeo';
357
357
 
358
358
  export interface FormeoConfig {
@@ -470,7 +470,7 @@ export class FormeoService {
470
470
  console.log('Form submitted via service:', formData);
471
471
  // Handle form submission logic here
472
472
  }
473
- }`,ch=`// app.config.ts (for standalone applications)
473
+ }`,ih=`// app.config.ts (for standalone applications)
474
474
  import { ApplicationConfig } from '@angular/core';
475
475
  import { provideRouter } from '@angular/router';
476
476
  import { routes } from './app.routes';
@@ -508,7 +508,7 @@ import { AppComponent } from './app/app.component';
508
508
  import { appConfig } from './app/app.config';
509
509
 
510
510
  bootstrapApplication(AppComponent, appConfig)
511
- .catch(err => console.error(err));`;async function uh(e){e.innerHTML=`
511
+ .catch(err => console.error(err));`;async function nh(e){e.innerHTML=`
512
512
  <div class="react-demo">
513
513
  <h3>React Integration Demo</h3>
514
514
  <p>Demonstrating Formeo integration patterns for React applications</p>
@@ -516,7 +516,7 @@ bootstrapApplication(AppComponent, appConfig)
516
516
  <p>Initializing React-style Formeo integration demo...</p>
517
517
  </div>
518
518
  </div>
519
- `;try{await dh(),await hh()&&console.log("Highlight.js loaded successfully for React demo"),e.innerHTML=`
519
+ `;try{await rh(),await oh()&&console.log("Highlight.js loaded successfully for React demo"),e.innerHTML=`
520
520
  <div class="react-demo">
521
521
  <h3>React Integration Demo</h3>
522
522
  <div class="demo-description">
@@ -550,17 +550,17 @@ npm install --save-dev @types/react @types/react-dom typescript</code></pre>
550
550
 
551
551
  <div class="guide-section">
552
552
  <h4>2. React Hook for Formeo</h4>
553
- <pre><code class="language-typescript">${dn(gh)}</code></pre>
553
+ <pre><code class="language-typescript">${Xi(lh)}</code></pre>
554
554
  </div>
555
555
 
556
556
  <div class="guide-section">
557
557
  <h4>3. React Component Implementation</h4>
558
- <pre><code class="language-typescript">${dn(mh)}</code></pre>
558
+ <pre><code class="language-typescript">${Xi(ch)}</code></pre>
559
559
  </div>
560
560
 
561
561
  <div class="guide-section">
562
562
  <h4>4. Context Provider (Advanced)</h4>
563
- <pre><code class="language-typescript">${dn(vh)}</code></pre>
563
+ <pre><code class="language-typescript">${Xi(uh)}</code></pre>
564
564
  </div>
565
565
  </div>
566
566
 
@@ -569,7 +569,7 @@ npm install --save-dev @types/react @types/react-dom typescript</code></pre>
569
569
  <div id="react-app-root"></div>
570
570
  </div>
571
571
  </div>
572
- `;const i=await fh();Jr();const t=e.querySelector("#toggle-instructions"),n=e.querySelector("#instructions-section"),m=t.querySelector(".toggle-text"),f=t.querySelector(".toggle-icon");return t&&n&&t.addEventListener("click",()=>{const g=n.style.display==="block";n.style.display=g?"none":"block",m.textContent=g?"Show Implementation Guide":"Hide Implementation Guide",f.textContent=g?"▼":"▲",g||setTimeout(()=>Jr(),50)}),{reactApp:i,cleanup:()=>{i?.cleanup&&i.cleanup();const g=document.getElementById("react-app-root");g&&(g.innerHTML="")}}}catch(i){return console.error("Failed to load React demo:",i),e.innerHTML=`
572
+ `;const i=await ah();Wr();const t=e.querySelector("#toggle-instructions"),n=e.querySelector("#instructions-section"),m=t.querySelector(".toggle-text"),f=t.querySelector(".toggle-icon");return t&&n&&t.addEventListener("click",()=>{const g=n.style.display==="block";n.style.display=g?"none":"block",m.textContent=g?"Show Implementation Guide":"Hide Implementation Guide",f.textContent=g?"▼":"▲",g||setTimeout(()=>Wr(),50)}),{reactApp:i,cleanup:()=>{i?.cleanup&&i.cleanup();const g=document.getElementById("react-app-root");g&&(g.innerHTML="")}}}catch(i){return console.error("Failed to load React demo:",i),e.innerHTML=`
573
573
  <div class="react-demo">
574
574
  <h3>React Integration Demo</h3>
575
575
  <div class="error-message">
@@ -579,7 +579,7 @@ npm install --save-dev @types/react @types/react-dom typescript</code></pre>
579
579
  <button class="retry-button" onclick="window.frameworkLoader?.switchFramework('react')">Retry</button>
580
580
  </div>
581
581
  </div>
582
- `,{cleanup:()=>{}}}}async function dh(){await new Promise(e=>setTimeout(e,500)),console.log("React-style demo environment ready")}async function hh(){if(window.hljs)return window.hljs;try{const e=document.createElement("link");return e.rel="stylesheet",e.href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css",document.head.appendChild(e),ph(),await un("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"),await un("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/typescript.min.js"),await un("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/bash.min.js"),window.hljs}catch(e){return console.warn("Failed to load Highlight.js:",e),null}}function ph(){const e=document.createElement("style");e.textContent=`
582
+ `,{cleanup:()=>{}}}}async function rh(){await new Promise(e=>setTimeout(e,500)),console.log("React-style demo environment ready")}async function oh(){if(window.hljs)return window.hljs;try{const e=document.createElement("link");return e.rel="stylesheet",e.href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github.min.css",document.head.appendChild(e),sh(),await Qi("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/highlight.min.js"),await Qi("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/typescript.min.js"),await Qi("https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/languages/bash.min.js"),window.hljs}catch(e){return console.warn("Failed to load Highlight.js:",e),null}}function sh(){const e=document.createElement("style");e.textContent=`
583
583
  .react-demo .guide-section {
584
584
  margin-bottom: 24px;
585
585
  }
@@ -653,7 +653,7 @@ npm install --save-dev @types/react @types/react-dom typescript</code></pre>
653
653
  padding: 12px;
654
654
  margin: 12px 0;
655
655
  }
656
- `,document.head.appendChild(e)}function un(e){return new Promise((i,t)=>{const n=document.createElement("script");n.src=e,n.onload=i,n.onerror=t,document.head.appendChild(n)})}function Jr(){window.hljs?document.querySelectorAll("pre code").forEach(e=>{try{window.hljs.highlightElement(e)}catch(i){console.warn("Failed to highlight code block:",i)}}):document.querySelectorAll("pre code").forEach(e=>{e.style.fontFamily="'Monaco', 'Menlo', 'Ubuntu Mono', monospace",e.style.fontSize="14px",e.style.lineHeight="1.5"})}async function fh(){const e=document.getElementById("react-app-root");if(!e)return null;e.innerHTML=`
656
+ `,document.head.appendChild(e)}function Qi(e){return new Promise((i,t)=>{const n=document.createElement("script");n.src=e,n.onload=i,n.onerror=t,document.head.appendChild(n)})}function Wr(){window.hljs?document.querySelectorAll("pre code").forEach(e=>{try{window.hljs.highlightElement(e)}catch(i){console.warn("Failed to highlight code block:",i)}}):document.querySelectorAll("pre code").forEach(e=>{e.style.fontFamily="'Monaco', 'Menlo', 'Ubuntu Mono', monospace",e.style.fontSize="14px",e.style.lineHeight="1.5"})}async function ah(){const e=document.getElementById("react-app-root");if(!e)return null;e.innerHTML=`
657
657
  <div class="react-component">
658
658
  <div class="form-builder-container">
659
659
  <div class="editor-section">
@@ -672,7 +672,7 @@ npm install --save-dev @types/react @types/react-dom typescript</code></pre>
672
672
  </div>
673
673
  </div>
674
674
  </div>
675
- `;const i=e.querySelector(".react-form-editor"),t=e.querySelector(".react-form-renderer");if(i&&t){const n=document.createElement("form");n.className="build-form-react-real";const m=document.createElement("div");m.className="render-form-react-real",i.appendChild(n),t.appendChild(m);const f={...jt,editorContainer:".build-form-react-real",events:{...jt.events,onSave:s=>{console.log("React Component - Form saved:",s)},onChange:s=>{console.log("React Component - Form changed:",s)}}},g={...cr,renderContainer:".render-form-react-real"},c=new ar(f),o=new lr(g),h=e.querySelector("#react-save-btn"),d=e.querySelector("#react-render-btn"),u=e.querySelector("#react-clear-btn"),l=e.querySelector("#react-export-btn");return h&&h.addEventListener("click",()=>{const s=c.formData;console.log("React Component - Save clicked:",s),localStorage.setItem("formeo-react-form",JSON.stringify(s)),alert("Form saved! Check console for form data.")}),d&&d.addEventListener("click",()=>{const s=c.formData;s&&Object.keys(s).length>0?(m.style.display="block",o.render(s),console.log("React Component - Render clicked:",s)):alert("Please create a form first before rendering")}),u&&u.addEventListener("click",()=>{c?.clear(),m.style.display="none",localStorage.removeItem("formeo-react-form"),console.log("React Component - Clear clicked")}),l&&l.addEventListener("click",()=>{const s=c.formData;if(s&&Object.keys(s).length>0){const r=new Blob([JSON.stringify(s,null,2)],{type:"application/json"}),a=URL.createObjectURL(r),p=document.createElement("a");p.href=a,p.download="formeo-react-form.json",p.click(),URL.revokeObjectURL(a),console.log("React Component - Export clicked")}else alert("Please create a form first before exporting")}),{editor:c,renderer:o,cleanup:()=>{c?.destroy&&c.destroy(),o?.destroy&&o.destroy()}}}return null}function dn(e){const i=document.createElement("div");return i.textContent=e,i.innerHTML}var gh=`import { useEffect, useRef, useCallback } from 'react';
675
+ `;const i=e.querySelector(".react-form-editor"),t=e.querySelector(".react-form-renderer");if(i&&t){const n=document.createElement("form");n.className="build-form-react-real";const m=document.createElement("div");m.className="render-form-react-real",i.appendChild(n),t.appendChild(m);const f={...It,editorContainer:".build-form-react-real",events:{...It.events,onSave:s=>{console.log("React Component - Form saved:",s)},onChange:s=>{console.log("React Component - Form changed:",s)}}},g={...Zn,renderContainer:".render-form-react-real"},c=new qn(f),o=new Yn(g),h=e.querySelector("#react-save-btn"),d=e.querySelector("#react-render-btn"),u=e.querySelector("#react-clear-btn"),l=e.querySelector("#react-export-btn");return h&&h.addEventListener("click",()=>{const s=c.formData;console.log("React Component - Save clicked:",s),localStorage.setItem("formeo-react-form",JSON.stringify(s)),alert("Form saved! Check console for form data.")}),d&&d.addEventListener("click",()=>{const s=c.formData;s&&Object.keys(s).length>0?(m.style.display="block",o.render(s),console.log("React Component - Render clicked:",s)):alert("Please create a form first before rendering")}),u&&u.addEventListener("click",()=>{c?.clear(),m.style.display="none",localStorage.removeItem("formeo-react-form"),console.log("React Component - Clear clicked")}),l&&l.addEventListener("click",()=>{const s=c.formData;if(s&&Object.keys(s).length>0){const r=new Blob([JSON.stringify(s,null,2)],{type:"application/json"}),a=URL.createObjectURL(r),p=document.createElement("a");p.href=a,p.download="formeo-react-form.json",p.click(),URL.revokeObjectURL(a),console.log("React Component - Export clicked")}else alert("Please create a form first before exporting")}),{editor:c,renderer:o,cleanup:()=>{c?.destroy&&c.destroy(),o?.destroy&&o.destroy()}}}return null}function Xi(e){const i=document.createElement("div");return i.textContent=e,i.innerHTML}var lh=`import { useEffect, useRef, useCallback } from 'react';
676
676
  import { FormeoEditor, FormeoRenderer } from 'formeo';
677
677
 
678
678
  // Custom hook for Formeo Editor
@@ -805,7 +805,7 @@ export function useFormeoRenderer(options = {}) {
805
805
  clearRenderer,
806
806
  renderer: rendererRef.current
807
807
  };
808
- }`,mh=`import React, { useState } from 'react';
808
+ }`,ch=`import React, { useState } from 'react';
809
809
  import { useFormeoEditor, useFormeoRenderer } from './hooks/useFormeo';
810
810
 
811
811
  interface FormBuilderProps {
@@ -977,7 +977,7 @@ export default function App() {
977
977
  )}
978
978
  </div>
979
979
  );
980
- }`,vh=`import React, { createContext, useContext, useReducer, useCallback } from 'react';
980
+ }`,uh=`import React, { createContext, useContext, useReducer, useCallback } from 'react';
981
981
  import { FormeoEditor, FormeoRenderer } from 'formeo';
982
982
 
983
983
  // Types
@@ -1164,7 +1164,7 @@ export const FormManager: React.FC = () => {
1164
1164
  <p>Active Renderers: {Object.keys(state.renderers).length}</p>
1165
1165
  </div>
1166
1166
  );
1167
- };`,yh=j(((e,i)=>{(function(){var t="ace",n=(function(){return this})();if(!n&&typeof window<"u"&&(n=window),!t&&typeof requirejs<"u")return;var m=function(d,u,l){if(typeof d!="string"){m.original?m.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(l=u),m.modules[d]||(m.payloads[d]=l,m.modules[d]=null)};m.modules={},m.payloads={};var f=function(d,u,l){if(typeof u=="string"){var s=o(d,u);if(s!=null)return l&&l(),s}else if(Object.prototype.toString.call(u)==="[object Array]"){for(var r=[],a=0,p=u.length;a<p;++a){var v=o(d,u[a]);if(v==null&&g.original)return;r.push(v)}return l&&l.apply(null,r)||!0}},g=function(d,u){var l=f("",d,u);return l==null&&g.original?g.original.apply(this,arguments):l},c=function(d,u){if(u.indexOf("!")!==-1){var l=u.split("!");return c(d,l[0])+"!"+c(d,l[1])}if(u.charAt(0)==".")for(u=d.split("/").slice(0,-1).join("/")+"/"+u;u.indexOf(".")!==-1&&s!=u;){var s=u;u=u.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}return u},o=function(d,u){u=c(d,u);var l=m.modules[u];if(!l){if(l=m.payloads[u],typeof l=="function"){var s={},r={id:u,uri:"",exports:s,packaged:!0},a=function(p,v){return f(u,p,v)};s=l(a,s,r)||r.exports,m.modules[u]=s,delete m.payloads[u]}l=m.modules[u]=s||l}return l};function h(d){var u=n;d&&(n[d]||(n[d]={}),u=n[d]),(!u.define||!u.define.packaged)&&(m.original=u.define,u.define=m,u.define.packaged=!0),(!u.require||!u.require.packaged)&&(g.original=u.require,u.require=g,u.require.packaged=!0)}h(t)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(t,n,m){function f(g,c,o){Object.defineProperty(g,c,{value:o,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||f(String.prototype,"startsWith",function(g,c){return c=c||0,this.lastIndexOf(g,c)===c}),String.prototype.endsWith||f(String.prototype,"endsWith",function(g,c){var o=this;(c===void 0||c>o.length)&&(c=o.length),c-=g.length;var h=o.indexOf(g,c);return h!==-1&&h===c}),String.prototype.repeat||f(String.prototype,"repeat",function(g){for(var c="",o=this;g>0;)g&1&&(c+=o),(g>>=1)&&(o+=o);return c}),String.prototype.includes||f(String.prototype,"includes",function(g,c){return this.indexOf(g,c)!=-1}),Object.assign||(Object.assign=function(g){if(g==null)throw new TypeError("Cannot convert undefined or null to object");for(var c=Object(g),o=1;o<arguments.length;o++){var h=arguments[o];h!=null&&Object.keys(h).forEach(function(d){c[d]=h[d]})}return c}),Object.values||(Object.values=function(g){return Object.keys(g).map(function(c){return g[c]})}),Array.prototype.find||f(Array.prototype,"find",function(g){for(var c=this.length,o=arguments[1],h=0;h<c;h++){var d=this[h];if(g.call(o,d,h,this))return d}}),Array.prototype.findIndex||f(Array.prototype,"findIndex",function(g){for(var c=this.length,o=arguments[1],h=0;h<c;h++){var d=this[h];if(g.call(o,d,h,this))return h}}),Array.prototype.includes||f(Array.prototype,"includes",function(g,c){return this.indexOf(g,c)!=-1}),Array.prototype.fill||f(Array.prototype,"fill",function(g){for(var c=this,o=c.length>>>0,h=arguments[1]>>0,d=h<0?Math.max(o+h,0):Math.min(h,o),u=arguments[2],l=u===void 0?o:u>>0,s=l<0?Math.max(o+l,0):Math.min(l,o);d<s;)c[d]=g,d++;return c}),Array.of||f(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(t,n,m){"use strict";t("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(t,n,m){n.deepCopy=function f(g){if(typeof g!="object"||!g)return g;var c;if(Array.isArray(g)){c=[];for(var o=0;o<g.length;o++)c[o]=f(g[o]);return c}if(Object.prototype.toString.call(g)!=="[object Object]")return g;c={};for(var o in g)c[o]=f(g[o]);return c}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(t,n,m){"use strict";n.last=function(c){return c[c.length-1]},n.stringReverse=function(c){return c.split("").reverse().join("")},n.stringRepeat=function(c,o){for(var h="";o>0;)o&1&&(h+=c),(o>>=1)&&(c+=c);return h};var f=/^\s\s*/,g=/\s\s*$/;n.stringTrimLeft=function(c){return c.replace(f,"")},n.stringTrimRight=function(c){return c.replace(g,"")},n.copyObject=function(c){var o={};for(var h in c)o[h]=c[h];return o},n.copyArray=function(c){for(var o=[],h=0,d=c.length;h<d;h++)c[h]&&typeof c[h]=="object"?o[h]=this.copyObject(c[h]):o[h]=c[h];return o},n.deepCopy=t("./deep_copy").deepCopy,n.arrayToMap=function(c){for(var o={},h=0;h<c.length;h++)o[c[h]]=1;return o},n.createMap=function(c){var o=Object.create(null);for(var h in c)o[h]=c[h];return o},n.arrayRemove=function(c,o){for(var h=0;h<=c.length;h++)o===c[h]&&c.splice(h,1)},n.escapeRegExp=function(c){return c.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},n.escapeHTML=function(c){return(""+c).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},n.getMatchOffsets=function(c,o){var h=[];return c.replace(o,function(d){h.push({offset:arguments[arguments.length-2],length:d.length})}),h},n.deferredCall=function(c){var o=null,h=function(){o=null,c()},d=function(u){return d.cancel(),o=setTimeout(h,u||0),d};return d.schedule=d,d.call=function(){return this.cancel(),c(),d},d.cancel=function(){return clearTimeout(o),o=null,d},d.isPending=function(){return o},d},n.delayedCall=function(c,o){var h=null,d=function(){h=null,c()},u=function(l){h==null&&(h=setTimeout(d,l||o))};return u.delay=function(l){h&&clearTimeout(h),h=setTimeout(d,l||o)},u.schedule=u,u.call=function(){this.cancel(),c()},u.cancel=function(){h&&clearTimeout(h),h=null},u.isPending=function(){return h},u},n.sleep=function(c){return new Promise(function(o){setTimeout(o,c)})},n.supportsLookbehind=function(){return!0},n.skipEmptyMatch=function(c,o,h){return h&&c.codePointAt(o)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(t,n,m){"use strict";n.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},n.getOS=function(){return n.isMac?n.OS.MAC:n.isLinux?n.OS.LINUX:n.OS.WINDOWS};var f=typeof navigator=="object"?navigator:{},g=(/mac|win|linux/i.exec(f.platform)||["other"])[0].toLowerCase(),c=f.userAgent||"",o=f.appName||"";n.isWin=g=="win",n.isMac=g=="mac",n.isLinux=g=="linux",n.isIE=o=="Microsoft Internet Explorer"||o.indexOf("MSAppHost")>=0?parseFloat((c.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((c.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),n.isOldIE=n.isIE&&n.isIE<9,n.isGecko=n.isMozilla=c.match(/ Gecko\/\d+/),n.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",n.isWebKit=parseFloat(c.split("WebKit/")[1])||void 0,n.isChrome=parseFloat(c.split(" Chrome/")[1])||void 0,n.isSafari=parseFloat(c.split(" Safari/")[1])&&!n.isChrome||void 0,n.isEdge=parseFloat(c.split(" Edge/")[1])||void 0,n.isAIR=c.indexOf("AdobeAIR")>=0,n.isAndroid=c.indexOf("Android")>=0,n.isChromeOS=c.indexOf(" CrOS ")>=0,n.isIOS=/iPad|iPhone|iPod/.test(c)&&!window.MSStream,n.isIOS&&(n.isMac=!0),n.isMobile=n.isIOS||n.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(t,n,m){"use strict";var f=t("./useragent"),g="http://www.w3.org/1999/xhtml";n.buildDom=function l(s,r,a){if(typeof s=="string"&&s){var p=document.createTextNode(s);return r&&r.appendChild(p),p}if(!Array.isArray(s))return s&&s.appendChild&&r&&r.appendChild(s),s;if(typeof s[0]!="string"||!s[0]){for(var v=[],y=0;y<s.length;y++){var k=l(s[y],r,a);k&&v.push(k)}return v}var x=document.createElement(s[0]),w=s[1],S=1;w&&typeof w=="object"&&!Array.isArray(w)&&(S=2);for(var y=S;y<s.length;y++)l(s[y],x,a);return S==2&&Object.keys(w).forEach(function(M){var L=w[M];M==="class"?x.className=Array.isArray(L)?L.join(" "):L:typeof L=="function"||M=="value"||M[0]=="$"?x[M]=L:M==="ref"?a&&(a[L]=x):M==="style"?typeof L=="string"&&(x.style.cssText=L):L!=null&&x.setAttribute(M,L)}),r&&r.appendChild(x),x},n.getDocumentHead=function(l){return l||(l=document),l.head||l.getElementsByTagName("head")[0]||l.documentElement},n.createElement=function(l,s){return document.createElementNS?document.createElementNS(s||g,l):document.createElement(l)},n.removeChildren=function(l){l.innerHTML=""},n.createTextNode=function(l,s){return(s?s.ownerDocument:document).createTextNode(l)},n.createFragment=function(l){return(l?l.ownerDocument:document).createDocumentFragment()},n.hasCssClass=function(l,s){return(l.className+"").split(/\s+/g).indexOf(s)!==-1},n.addCssClass=function(l,s){n.hasCssClass(l,s)||(l.className+=" "+s)},n.removeCssClass=function(l,s){for(var r=l.className.split(/\s+/g);;){var a=r.indexOf(s);if(a==-1)break;r.splice(a,1)}l.className=r.join(" ")},n.toggleCssClass=function(l,s){for(var r=l.className.split(/\s+/g),a=!0;;){var p=r.indexOf(s);if(p==-1)break;a=!1,r.splice(p,1)}return a&&r.push(s),l.className=r.join(" "),a},n.setCssClass=function(l,s,r){r?n.addCssClass(l,s):n.removeCssClass(l,s)},n.hasCssString=function(l,s){var r=0,a;if(s=s||document,a=s.querySelectorAll("style")){for(;r<a.length;)if(a[r++].id===l)return!0}},n.removeElementById=function(l,s){s=s||document,s.getElementById(l)&&s.getElementById(l).remove()};var c,o=[];n.useStrictCSP=function(l){c=l,l==!1?h():o||(o=[])};function h(){var l=o;o=null,l&&l.forEach(function(s){d(s[0],s[1])})}function d(l,s,r){if(!(typeof document>"u")){if(o){if(r)h();else if(r===!1)return o.push([l,s])}if(!c){var a=r;!r||!r.getRootNode?a=document:(a=r.getRootNode(),(!a||a==r)&&(a=document));var p=a.ownerDocument||a;if(s&&n.hasCssString(s,a))return null;s&&(l+=`
1167
+ };`,dh=j(((e,i)=>{(function(){var t="ace",n=(function(){return this})();if(!n&&typeof window<"u"&&(n=window),!t&&typeof requirejs<"u")return;var m=function(d,u,l){if(typeof d!="string"){m.original?m.original.apply(this,arguments):(console.error("dropping module because define wasn't a string."),console.trace());return}arguments.length==2&&(l=u),m.modules[d]||(m.payloads[d]=l,m.modules[d]=null)};m.modules={},m.payloads={};var f=function(d,u,l){if(typeof u=="string"){var s=o(d,u);if(s!=null)return l&&l(),s}else if(Object.prototype.toString.call(u)==="[object Array]"){for(var r=[],a=0,p=u.length;a<p;++a){var v=o(d,u[a]);if(v==null&&g.original)return;r.push(v)}return l&&l.apply(null,r)||!0}},g=function(d,u){var l=f("",d,u);return l==null&&g.original?g.original.apply(this,arguments):l},c=function(d,u){if(u.indexOf("!")!==-1){var l=u.split("!");return c(d,l[0])+"!"+c(d,l[1])}if(u.charAt(0)==".")for(u=d.split("/").slice(0,-1).join("/")+"/"+u;u.indexOf(".")!==-1&&s!=u;){var s=u;u=u.replace(/\/\.\//,"/").replace(/[^\/]+\/\.\.\//,"")}return u},o=function(d,u){u=c(d,u);var l=m.modules[u];if(!l){if(l=m.payloads[u],typeof l=="function"){var s={},r={id:u,uri:"",exports:s,packaged:!0},a=function(p,v){return f(u,p,v)};s=l(a,s,r)||r.exports,m.modules[u]=s,delete m.payloads[u]}l=m.modules[u]=s||l}return l};function h(d){var u=n;d&&(n[d]||(n[d]={}),u=n[d]),(!u.define||!u.define.packaged)&&(m.original=u.define,u.define=m,u.define.packaged=!0),(!u.require||!u.require.packaged)&&(g.original=u.require,u.require=g,u.require.packaged=!0)}h(t)})(),ace.define("ace/lib/es6-shim",["require","exports","module"],function(t,n,m){function f(g,c,o){Object.defineProperty(g,c,{value:o,enumerable:!1,writable:!0,configurable:!0})}String.prototype.startsWith||f(String.prototype,"startsWith",function(g,c){return c=c||0,this.lastIndexOf(g,c)===c}),String.prototype.endsWith||f(String.prototype,"endsWith",function(g,c){var o=this;(c===void 0||c>o.length)&&(c=o.length),c-=g.length;var h=o.indexOf(g,c);return h!==-1&&h===c}),String.prototype.repeat||f(String.prototype,"repeat",function(g){for(var c="",o=this;g>0;)g&1&&(c+=o),(g>>=1)&&(o+=o);return c}),String.prototype.includes||f(String.prototype,"includes",function(g,c){return this.indexOf(g,c)!=-1}),Object.assign||(Object.assign=function(g){if(g==null)throw new TypeError("Cannot convert undefined or null to object");for(var c=Object(g),o=1;o<arguments.length;o++){var h=arguments[o];h!=null&&Object.keys(h).forEach(function(d){c[d]=h[d]})}return c}),Object.values||(Object.values=function(g){return Object.keys(g).map(function(c){return g[c]})}),Array.prototype.find||f(Array.prototype,"find",function(g){for(var c=this.length,o=arguments[1],h=0;h<c;h++){var d=this[h];if(g.call(o,d,h,this))return d}}),Array.prototype.findIndex||f(Array.prototype,"findIndex",function(g){for(var c=this.length,o=arguments[1],h=0;h<c;h++){var d=this[h];if(g.call(o,d,h,this))return h}}),Array.prototype.includes||f(Array.prototype,"includes",function(g,c){return this.indexOf(g,c)!=-1}),Array.prototype.fill||f(Array.prototype,"fill",function(g){for(var c=this,o=c.length>>>0,h=arguments[1]>>0,d=h<0?Math.max(o+h,0):Math.min(h,o),u=arguments[2],l=u===void 0?o:u>>0,s=l<0?Math.max(o+l,0):Math.min(l,o);d<s;)c[d]=g,d++;return c}),Array.of||f(Array,"of",function(){return Array.prototype.slice.call(arguments)})}),ace.define("ace/lib/fixoldbrowsers",["require","exports","module","ace/lib/es6-shim"],function(t,n,m){"use strict";t("./es6-shim")}),ace.define("ace/lib/deep_copy",["require","exports","module"],function(t,n,m){n.deepCopy=function f(g){if(typeof g!="object"||!g)return g;var c;if(Array.isArray(g)){c=[];for(var o=0;o<g.length;o++)c[o]=f(g[o]);return c}if(Object.prototype.toString.call(g)!=="[object Object]")return g;c={};for(var o in g)c[o]=f(g[o]);return c}}),ace.define("ace/lib/lang",["require","exports","module","ace/lib/deep_copy"],function(t,n,m){"use strict";n.last=function(c){return c[c.length-1]},n.stringReverse=function(c){return c.split("").reverse().join("")},n.stringRepeat=function(c,o){for(var h="";o>0;)o&1&&(h+=c),(o>>=1)&&(c+=c);return h};var f=/^\s\s*/,g=/\s\s*$/;n.stringTrimLeft=function(c){return c.replace(f,"")},n.stringTrimRight=function(c){return c.replace(g,"")},n.copyObject=function(c){var o={};for(var h in c)o[h]=c[h];return o},n.copyArray=function(c){for(var o=[],h=0,d=c.length;h<d;h++)c[h]&&typeof c[h]=="object"?o[h]=this.copyObject(c[h]):o[h]=c[h];return o},n.deepCopy=t("./deep_copy").deepCopy,n.arrayToMap=function(c){for(var o={},h=0;h<c.length;h++)o[c[h]]=1;return o},n.createMap=function(c){var o=Object.create(null);for(var h in c)o[h]=c[h];return o},n.arrayRemove=function(c,o){for(var h=0;h<=c.length;h++)o===c[h]&&c.splice(h,1)},n.escapeRegExp=function(c){return c.replace(/([.*+?^${}()|[\]\/\\])/g,"\\$1")},n.escapeHTML=function(c){return(""+c).replace(/&/g,"&#38;").replace(/"/g,"&#34;").replace(/'/g,"&#39;").replace(/</g,"&#60;")},n.getMatchOffsets=function(c,o){var h=[];return c.replace(o,function(d){h.push({offset:arguments[arguments.length-2],length:d.length})}),h},n.deferredCall=function(c){var o=null,h=function(){o=null,c()},d=function(u){return d.cancel(),o=setTimeout(h,u||0),d};return d.schedule=d,d.call=function(){return this.cancel(),c(),d},d.cancel=function(){return clearTimeout(o),o=null,d},d.isPending=function(){return o},d},n.delayedCall=function(c,o){var h=null,d=function(){h=null,c()},u=function(l){h==null&&(h=setTimeout(d,l||o))};return u.delay=function(l){h&&clearTimeout(h),h=setTimeout(d,l||o)},u.schedule=u,u.call=function(){this.cancel(),c()},u.cancel=function(){h&&clearTimeout(h),h=null},u.isPending=function(){return h},u},n.sleep=function(c){return new Promise(function(o){setTimeout(o,c)})},n.supportsLookbehind=function(){return!0},n.skipEmptyMatch=function(c,o,h){return h&&c.codePointAt(o)>65535?2:1}}),ace.define("ace/lib/useragent",["require","exports","module"],function(t,n,m){"use strict";n.OS={LINUX:"LINUX",MAC:"MAC",WINDOWS:"WINDOWS"},n.getOS=function(){return n.isMac?n.OS.MAC:n.isLinux?n.OS.LINUX:n.OS.WINDOWS};var f=typeof navigator=="object"?navigator:{},g=(/mac|win|linux/i.exec(f.platform)||["other"])[0].toLowerCase(),c=f.userAgent||"",o=f.appName||"";n.isWin=g=="win",n.isMac=g=="mac",n.isLinux=g=="linux",n.isIE=o=="Microsoft Internet Explorer"||o.indexOf("MSAppHost")>=0?parseFloat((c.match(/(?:MSIE |Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]):parseFloat((c.match(/(?:Trident\/[0-9]+[\.0-9]+;.*rv:)([0-9]+[\.0-9]+)/)||[])[1]),n.isOldIE=n.isIE&&n.isIE<9,n.isGecko=n.isMozilla=c.match(/ Gecko\/\d+/),n.isOpera=typeof opera=="object"&&Object.prototype.toString.call(window.opera)=="[object Opera]",n.isWebKit=parseFloat(c.split("WebKit/")[1])||void 0,n.isChrome=parseFloat(c.split(" Chrome/")[1])||void 0,n.isSafari=parseFloat(c.split(" Safari/")[1])&&!n.isChrome||void 0,n.isEdge=parseFloat(c.split(" Edge/")[1])||void 0,n.isAIR=c.indexOf("AdobeAIR")>=0,n.isAndroid=c.indexOf("Android")>=0,n.isChromeOS=c.indexOf(" CrOS ")>=0,n.isIOS=/iPad|iPhone|iPod/.test(c)&&!window.MSStream,n.isIOS&&(n.isMac=!0),n.isMobile=n.isIOS||n.isAndroid}),ace.define("ace/lib/dom",["require","exports","module","ace/lib/useragent"],function(t,n,m){"use strict";var f=t("./useragent"),g="http://www.w3.org/1999/xhtml";n.buildDom=function l(s,r,a){if(typeof s=="string"&&s){var p=document.createTextNode(s);return r&&r.appendChild(p),p}if(!Array.isArray(s))return s&&s.appendChild&&r&&r.appendChild(s),s;if(typeof s[0]!="string"||!s[0]){for(var v=[],y=0;y<s.length;y++){var k=l(s[y],r,a);k&&v.push(k)}return v}var x=document.createElement(s[0]),w=s[1],S=1;w&&typeof w=="object"&&!Array.isArray(w)&&(S=2);for(var y=S;y<s.length;y++)l(s[y],x,a);return S==2&&Object.keys(w).forEach(function(M){var L=w[M];M==="class"?x.className=Array.isArray(L)?L.join(" "):L:typeof L=="function"||M=="value"||M[0]=="$"?x[M]=L:M==="ref"?a&&(a[L]=x):M==="style"?typeof L=="string"&&(x.style.cssText=L):L!=null&&x.setAttribute(M,L)}),r&&r.appendChild(x),x},n.getDocumentHead=function(l){return l||(l=document),l.head||l.getElementsByTagName("head")[0]||l.documentElement},n.createElement=function(l,s){return document.createElementNS?document.createElementNS(s||g,l):document.createElement(l)},n.removeChildren=function(l){l.innerHTML=""},n.createTextNode=function(l,s){return(s?s.ownerDocument:document).createTextNode(l)},n.createFragment=function(l){return(l?l.ownerDocument:document).createDocumentFragment()},n.hasCssClass=function(l,s){return(l.className+"").split(/\s+/g).indexOf(s)!==-1},n.addCssClass=function(l,s){n.hasCssClass(l,s)||(l.className+=" "+s)},n.removeCssClass=function(l,s){for(var r=l.className.split(/\s+/g);;){var a=r.indexOf(s);if(a==-1)break;r.splice(a,1)}l.className=r.join(" ")},n.toggleCssClass=function(l,s){for(var r=l.className.split(/\s+/g),a=!0;;){var p=r.indexOf(s);if(p==-1)break;a=!1,r.splice(p,1)}return a&&r.push(s),l.className=r.join(" "),a},n.setCssClass=function(l,s,r){r?n.addCssClass(l,s):n.removeCssClass(l,s)},n.hasCssString=function(l,s){var r=0,a;if(s=s||document,a=s.querySelectorAll("style")){for(;r<a.length;)if(a[r++].id===l)return!0}},n.removeElementById=function(l,s){s=s||document,s.getElementById(l)&&s.getElementById(l).remove()};var c,o=[];n.useStrictCSP=function(l){c=l,l==!1?h():o||(o=[])};function h(){var l=o;o=null,l&&l.forEach(function(s){d(s[0],s[1])})}function d(l,s,r){if(!(typeof document>"u")){if(o){if(r)h();else if(r===!1)return o.push([l,s])}if(!c){var a=r;!r||!r.getRootNode?a=document:(a=r.getRootNode(),(!a||a==r)&&(a=document));var p=a.ownerDocument||a;if(s&&n.hasCssString(s,a))return null;s&&(l+=`
1168
1168
  /*# sourceURL=ace/css/`+s+" */");var v=n.createElement("style");v.appendChild(p.createTextNode(l)),s&&(v.id=s),a==p&&(a=n.getDocumentHead(p)),a.insertBefore(v,a.firstChild)}}}if(n.importCssString=d,n.importCssStylsheet=function(l,s){n.buildDom(["link",{rel:"stylesheet",href:l}],n.getDocumentHead(s))},n.$fixPositionBug=function(l){var s=l.getBoundingClientRect();if(l.style.left){var r=parseFloat(l.style.left),a=+s.left;Math.abs(r-a)>1&&(l.style.left=2*r-a+"px")}if(l.style.right){var r=parseFloat(l.style.right),a=window.innerWidth-s.right;Math.abs(r-a)>1&&(l.style.right=2*r-a+"px")}if(l.style.top){var r=parseFloat(l.style.top),a=+s.top;Math.abs(r-a)>1&&(l.style.top=2*r-a+"px")}if(l.style.bottom){var r=parseFloat(l.style.bottom),a=window.innerHeight-s.bottom;Math.abs(r-a)>1&&(l.style.bottom=2*r-a+"px")}},n.scrollbarWidth=function(l){var s=n.createElement("ace_inner");s.style.width="100%",s.style.minWidth="0px",s.style.height="200px",s.style.display="block";var r=n.createElement("ace_outer"),a=r.style;a.position="absolute",a.left="-10000px",a.overflow="hidden",a.width="200px",a.minWidth="0px",a.height="150px",a.display="block",r.appendChild(s);var p=l&&l.documentElement||document&&document.documentElement;if(!p)return 0;p.appendChild(r);var v=s.offsetWidth;a.overflow="scroll";var y=s.offsetWidth;return v===y&&(y=r.clientWidth),p.removeChild(r),v-y},n.computedStyle=function(l,s){return window.getComputedStyle(l,"")||{}},n.setStyle=function(l,s,r){l[s]!==r&&(l[s]=r)},n.HAS_CSS_ANIMATION=!1,n.HAS_CSS_TRANSFORMS=!1,n.HI_DPI=f.isWin?typeof window<"u"&&window.devicePixelRatio>=1.5:!0,f.isChromeOS&&(n.HI_DPI=!1),typeof document<"u"){var u=document.createElement("div");n.HI_DPI&&u.style.transform!==void 0&&(n.HAS_CSS_TRANSFORMS=!0),!f.isEdge&&typeof u.style.animationName<"u"&&(n.HAS_CSS_ANIMATION=!0),u=null}n.HAS_CSS_TRANSFORMS?n.translate=function(l,s,r){l.style.transform="translate("+Math.round(s)+"px, "+Math.round(r)+"px)"}:n.translate=function(l,s,r){l.style.top=Math.round(r)+"px",l.style.left=Math.round(s)+"px"}}),ace.define("ace/lib/net",["require","exports","module","ace/lib/dom"],function(t,n,m){"use strict";var f=t("./dom");n.get=function(g,c){var o=new XMLHttpRequest;o.open("GET",g,!0),o.onreadystatechange=function(){o.readyState===4&&c(o.responseText)},o.send(null)},n.loadScript=function(g,c){var o=f.getDocumentHead(),h=document.createElement("script");h.src=g,o.appendChild(h),h.onload=h.onreadystatechange=function(d,u){(u||!h.readyState||h.readyState=="loaded"||h.readyState=="complete")&&(h=h.onload=h.onreadystatechange=null,u||c())}},n.qualifyURL=function(g){var c=document.createElement("a");return c.href=g,c.href}}),ace.define("ace/lib/oop",["require","exports","module"],function(t,n,m){"use strict";n.inherits=function(f,g){f.super_=g,f.prototype=Object.create(g.prototype,{constructor:{value:f,enumerable:!1,writable:!0,configurable:!0}})},n.mixin=function(f,g){for(var c in g)f[c]=g[c];return f},n.implement=function(f,g){n.mixin(f,g)}}),ace.define("ace/lib/event_emitter",["require","exports","module"],function(t,n,m){"use strict";var f={},g=function(){this.propagationStopped=!0},c=function(){this.defaultPrevented=!0};f._emit=f._dispatchEvent=function(o,h){this._eventRegistry||(this._eventRegistry={}),this._defaultHandlers||(this._defaultHandlers={});var d=this._eventRegistry[o]||[],u=this._defaultHandlers[o];if(!(!d.length&&!u)){(typeof h!="object"||!h)&&(h={}),h.type||(h.type=o),h.stopPropagation||(h.stopPropagation=g),h.preventDefault||(h.preventDefault=c),d=d.slice();for(var l=0;l<d.length&&(d[l](h,this),!h.propagationStopped);l++);if(u&&!h.defaultPrevented)return u(h,this)}},f._signal=function(o,h){var d=(this._eventRegistry||{})[o];if(d){d=d.slice();for(var u=0;u<d.length;u++)d[u](h,this)}},f.once=function(o,h){var d=this;if(this.on(o,function u(){d.off(o,u),h.apply(null,arguments)}),!h)return new Promise(function(u){h=u})},f.setDefaultHandler=function(o,h){var d=this._defaultHandlers;if(d||(d=this._defaultHandlers={_disabled_:{}}),d[o]){var u=d[o],l=d._disabled_[o];l||(d._disabled_[o]=l=[]),l.push(u);var s=l.indexOf(h);s!=-1&&l.splice(s,1)}d[o]=h},f.removeDefaultHandler=function(o,h){var d=this._defaultHandlers;if(d){var u=d._disabled_[o];if(d[o]==h)u&&this.setDefaultHandler(o,u.pop());else if(u){var l=u.indexOf(h);l!=-1&&u.splice(l,1)}}},f.on=f.addEventListener=function(o,h,d){this._eventRegistry=this._eventRegistry||{};var u=this._eventRegistry[o];return u||(u=this._eventRegistry[o]=[]),u.indexOf(h)==-1&&u[d?"unshift":"push"](h),h},f.off=f.removeListener=f.removeEventListener=function(o,h){this._eventRegistry=this._eventRegistry||{};var d=this._eventRegistry[o];if(d){var u=d.indexOf(h);u!==-1&&d.splice(u,1)}},f.removeAllListeners=function(o){o||(this._eventRegistry=this._defaultHandlers=void 0),this._eventRegistry&&(this._eventRegistry[o]=void 0),this._defaultHandlers&&(this._defaultHandlers[o]=void 0)},n.EventEmitter=f}),ace.define("ace/lib/report_error",["require","exports","module"],function(t,n,m){n.reportError=function(g,c){var o=new Error(g);o.data=c,typeof console=="object"&&console.error&&console.error(o),setTimeout(function(){throw o})}}),ace.define("ace/lib/default_english_messages",["require","exports","module"],function(t,n,m){n.defaultEnglishMessages={"autocomplete.popup.aria-roledescription":"Autocomplete suggestions","autocomplete.popup.aria-label":"Autocomplete suggestions","autocomplete.popup.item.aria-roledescription":"item","autocomplete.loading":"Loading...","editor.scroller.aria-roledescription":"editor","editor.scroller.aria-label":"Editor content, press Enter to start editing, press Escape to exit","editor.gutter.aria-roledescription":"editor gutter","editor.gutter.aria-label":"Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit","error-marker.good-state":"Looks good!","prompt.recently-used":"Recently used","prompt.other-commands":"Other commands","prompt.no-matching-commands":"No matching commands","search-box.find.placeholder":"Search for","search-box.find-all.text":"All","search-box.replace.placeholder":"Replace with","search-box.replace-next.text":"Replace","search-box.replace-all.text":"All","search-box.toggle-replace.title":"Toggle Replace mode","search-box.toggle-regexp.title":"RegExp Search","search-box.toggle-case.title":"CaseSensitive Search","search-box.toggle-whole-word.title":"Whole Word Search","search-box.toggle-in-selection.title":"Search In Selection","search-box.search-counter":"$0 of $1","text-input.aria-roledescription":"editor","text-input.aria-label":"Cursor at row $0","gutter.code-folding.range.aria-label":"Toggle code folding, rows $0 through $1","gutter.code-folding.closed.aria-label":"Toggle code folding, rows $0 through $1","gutter.code-folding.open.aria-label":"Toggle code folding, row $0","gutter.code-folding.closed.title":"Unfold code","gutter.code-folding.open.title":"Fold code","gutter.annotation.aria-label.error":"Error, read annotations row $0","gutter.annotation.aria-label.warning":"Warning, read annotations row $0","gutter.annotation.aria-label.info":"Info, read annotations row $0","inline-fold.closed.title":"Unfold code","gutter-tooltip.aria-label.error.singular":"error","gutter-tooltip.aria-label.error.plural":"errors","gutter-tooltip.aria-label.warning.singular":"warning","gutter-tooltip.aria-label.warning.plural":"warnings","gutter-tooltip.aria-label.info.singular":"information message","gutter-tooltip.aria-label.info.plural":"information messages","gutter.annotation.aria-label.security":"Security finding, read annotations row $0","gutter.annotation.aria-label.hint":"Suggestion, read annotations row $0","gutter-tooltip.aria-label.security.singular":"security finding","gutter-tooltip.aria-label.security.plural":"security findings","gutter-tooltip.aria-label.hint.singular":"suggestion","gutter-tooltip.aria-label.hint.plural":"suggestions","editor.tooltip.disable-editing":"Editing is disabled"}}),ace.define("ace/lib/app_config",["require","exports","module","ace/lib/oop","ace/lib/event_emitter","ace/lib/report_error","ace/lib/default_english_messages"],function(t,n,m){"no use strict";var f=t("./oop"),g=t("./event_emitter").EventEmitter,c=t("./report_error").reportError,o=t("./default_english_messages").defaultEnglishMessages,h={setOptions:function(r){Object.keys(r).forEach(function(a){this.setOption(a,r[a])},this)},getOptions:function(r){var a={};if(r)Array.isArray(r)||(r=Object.keys(r));else{var p=this.$options;r=Object.keys(p).filter(function(v){return!p[v].hidden})}return r.forEach(function(v){a[v]=this.getOption(v)},this),a},setOption:function(r,a){if(this["$"+r]!==a){var p=this.$options[r];if(!p)return d('misspelled option "'+r+'"');if(p.forwardTo)return this[p.forwardTo]&&this[p.forwardTo].setOption(r,a);p.handlesSet||(this["$"+r]=a),p&&p.set&&p.set.call(this,a)}},getOption:function(r){var a=this.$options[r];return a?a.forwardTo?this[a.forwardTo]&&this[a.forwardTo].getOption(r):a&&a.get?a.get.call(this):this["$"+r]:d('misspelled option "'+r+'"')}};function d(r){typeof console<"u"&&console.warn&&console.warn.apply(console,arguments)}var u,l,s=(function(){function r(){this.$defaultOptions={},u=o,l="dollarSigns"}return r.prototype.defineOptions=function(a,p,v){return a.$options||(this.$defaultOptions[p]=a.$options={}),Object.keys(v).forEach(function(y){var k=v[y];typeof k=="string"&&(k={forwardTo:k}),k.name||(k.name=y),a.$options[k.name]=k,"initialValue"in k&&(a["$"+k.name]=k.initialValue)}),f.implement(a,h),this},r.prototype.resetOptions=function(a){Object.keys(a.$options).forEach(function(p){var v=a.$options[p];"value"in v&&a.setOption(p,v.value)})},r.prototype.setDefaultValue=function(a,p,v){if(!a){for(a in this.$defaultOptions)if(this.$defaultOptions[a][p])break;if(!this.$defaultOptions[a][p])return!1}var y=this.$defaultOptions[a]||(this.$defaultOptions[a]={});y[p]&&(y.forwardTo?this.setDefaultValue(y.forwardTo,p,v):y[p].value=v)},r.prototype.setDefaultValues=function(a,p){Object.keys(p).forEach(function(v){this.setDefaultValue(a,v,p[v])},this)},r.prototype.setMessages=function(a,p){u=a,p&&p.placeholders&&(l=p.placeholders)},r.prototype.nls=function(a,p,v){u[a]||(d("No message found for the key '"+a+"' in messages with id "+u.$id+", trying to find a translation for the default string '"+p+"'."),u[p]||d("No message found for the default string '"+p+"' in the provided messages. Falling back to the default English message."));var y=u[a]||u[p]||p;return v&&(l==="dollarSigns"&&(y=y.replace(/\$(\$|[\d]+)/g,function(k,x){return x=="$"?"$":v[x]})),l==="curlyBrackets"&&(y=y.replace(/\{([^\}]+)\}/g,function(k,x){return v[x]}))),y},r})();s.prototype.warn=d,s.prototype.reportError=c,f.implement(s.prototype,g),n.AppConfig=s}),ace.define("ace/theme/textmate-css",["require","exports","module"],function(t,n,m){m.exports=`.ace-tm .ace_gutter {
1169
1169
  background: #f0f0f0;
1170
1170
  color: #333;
@@ -1335,7 +1335,7 @@ export const FormManager: React.FC = () => {
1335
1335
  `+L,M+=1,S+=1);L.length>r&&(S<r&&M<r?L=L.slice(0,r):(L=`
1336
1336
  `,S==M?S=M=0:(S=0,M=1)));var _=L+`
1337
1337
 
1338
- `;_!=this.lastValue&&(this.text.value=this.lastValue=_,this.lastSelectionStart=this.lastSelectionEnd=_.length)}if(this.afterContextMenu&&(this.lastSelectionStart=this.text.selectionStart,this.lastSelectionEnd=this.text.selectionEnd),this.lastSelectionEnd!=M||this.lastSelectionStart!=S||this.text.selectionEnd!=this.lastSelectionEnd)try{this.text.setSelectionRange(S,M),this.lastSelectionStart=S,this.lastSelectionEnd=M}catch{}this.inComposition=!1}},x.prototype.setHost=function(w){this.host=w},x.prototype.setNumberOfExtraLines=function(w){if(this.rowStart=Number.MAX_SAFE_INTEGER,this.rowEnd=Number.MIN_SAFE_INTEGER,w<0){this.numberOfExtraLines=0;return}this.numberOfExtraLines=w},x.prototype.setAriaLabel=function(){var w="";if(this.host.$textInputAriaLabel&&(w+="".concat(this.host.$textInputAriaLabel,", ")),this.host.session){var S=this.host.session.selection.cursor.row;w+=g("text-input.aria-label","Cursor at row $0",[S+1])}this.text.setAttribute("aria-label",w)},x.prototype.setAriaOptions=function(w){w.activeDescendant?(this.text.setAttribute("aria-haspopup","true"),this.text.setAttribute("aria-autocomplete",w.inline?"both":"list"),this.text.setAttribute("aria-activedescendant",w.activeDescendant)):(this.text.setAttribute("aria-haspopup","false"),this.text.setAttribute("aria-autocomplete","both"),this.text.removeAttribute("aria-activedescendant")),w.role&&this.text.setAttribute("role",w.role),w.setLabel&&(this.text.setAttribute("aria-roledescription",g("text-input.aria-roledescription","editor")),this.setAriaLabel())},x.prototype.focus=function(){var w=this;if(this.setAriaOptions({setLabel:this.host.renderer.enableKeyboardAccessibility}),this.tempStyle||s||this.$focusScroll=="browser")return this.text.focus({preventScroll:!0});var S=this.text.style.top;this.text.style.position="fixed",this.text.style.top="0px";try{var M=this.text.getBoundingClientRect().top!=0}catch{return}var L=[];if(M)for(var R=this.text.parentElement;R&&R.nodeType==1;)L.push(R),R.setAttribute("ace_nocontext","true"),!R.parentElement&&R.getRootNode?R=R.getRootNode().host:R=R.parentElement;this.text.focus({preventScroll:!0}),M&&L.forEach(function($){$.removeAttribute("ace_nocontext")}),setTimeout(function(){w.text.style.position="",w.text.style.top=="0px"&&(w.text.style.top=S)},0)},x.prototype.blur=function(){this.text.blur()},x.prototype.isFocused=function(){return this.$isFocused},x.prototype.setInputHandler=function(w){this.inputHandler=w},x.prototype.getInputHandler=function(){return this.inputHandler},x.prototype.getElement=function(){return this.text},x.prototype.setCommandMode=function(w){this.commandMode=w,this.text.readOnly=!1},x.prototype.setReadOnly=function(w){this.commandMode||(this.text.readOnly=w)},x.prototype.setCopyWithEmptySelection=function(w){},x.prototype.onContextMenu=function(w){this.afterContextMenu=!0,this.resetSelection(),this.host._emit("nativecontextmenu",{target:this.host,domEvent:w}),this.moveToMouse(w,!0)},x.prototype.moveToMouse=function(w,S){var M=this;this.tempStyle||(this.tempStyle=this.text.style.cssText),this.text.style.cssText=(S?"z-index:100000;":"")+(c.isIE?"opacity:0.1;":"")+"text-indent: -"+(this.lastSelectionStart+this.lastSelectionEnd)*this.host.renderer.characterWidth*.5+"px;";var L=this.host.container.getBoundingClientRect(),R=o.computedStyle(this.host.container),$=L.top+(parseInt(R.borderTopWidth)||0),D=L.left+(parseInt(R.borderLeftWidth)||0),T=L.bottom-$-this.text.clientHeight-2,E=function(C){o.translate(M.text,C.clientX-D-2,Math.min(C.clientY-$-2,T))};E(w),w.type=="mousedown"&&(this.host.renderer.$isMousePressed=!0,clearTimeout(this.closeTimeout),c.isWin&&f.capture(this.host.container,E,this.onContextMenuClose.bind(this)))},x.prototype.destroy=function(){this.text.parentElement&&this.text.parentElement.removeChild(this.text)},x})(),n.$setUserAgentForTests=function(x,w){k=x,v=w}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(t,n,m){"use strict";var f=t("../lib/useragent"),g=0,c=550,o=(function(){function u(l){l.$clickSelection=null;var s=l.editor;s.setDefaultHandler("mousedown",this.onMouseDown.bind(l)),s.setDefaultHandler("dblclick",this.onDoubleClick.bind(l)),s.setDefaultHandler("tripleclick",this.onTripleClick.bind(l)),s.setDefaultHandler("quadclick",this.onQuadClick.bind(l)),s.setDefaultHandler("mousewheel",this.onMouseWheel.bind(l)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(r){l[r]=this[r]},this),l.selectByLines=this.extendSelectionBy.bind(l,"getLineRange"),l.selectByWords=this.extendSelectionBy.bind(l,"getWordRange")}return u.prototype.onMouseDown=function(l){var s=l.inSelection(),r=l.getDocumentPosition();this.mousedownEvent=l;var a=this.editor,p=l.getButton();if(p!==0){(a.getSelectionRange().isEmpty()||p==1)&&a.selection.moveToPosition(r),p==2&&(a.textInput.onContextMenu(l.domEvent),f.isMozilla||l.preventDefault());return}if(this.mousedownEvent.time=Date.now(),s&&!a.isFocused()&&(a.focus(),this.$focusTimeout&&!this.$clickSelection&&!a.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(l);return}return this.captureMouse(l),this.startSelect(r,l.domEvent._clicks>1),l.preventDefault()},u.prototype.startSelect=function(l,s){l=l||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var r=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?r.selection.selectToPosition(l):s||r.selection.moveToPosition(l),s||this.select(),r.setStyle("ace_selecting"),this.setState("select"))},u.prototype.select=function(){var l,s=this.editor,r=s.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var a=this.$clickSelection.comparePoint(r);if(a==-1)l=this.$clickSelection.end;else if(a==1)l=this.$clickSelection.start;else{var p=d(this.$clickSelection,r,s.session);r=p.cursor,l=p.anchor}s.selection.setSelectionAnchor(l.row,l.column)}s.selection.selectToPosition(r),s.renderer.scrollCursorIntoView()},u.prototype.extendSelectionBy=function(l){var s,r=this.editor,a=r.renderer.screenToTextCoordinates(this.x,this.y),p=r.selection[l](a.row,a.column);if(this.$clickSelection){var v=this.$clickSelection.comparePoint(p.start),y=this.$clickSelection.comparePoint(p.end);if(v==-1&&y<=0)s=this.$clickSelection.end,(p.end.row!=a.row||p.end.column!=a.column)&&(a=p.start);else if(y==1&&v>=0)s=this.$clickSelection.start,(p.start.row!=a.row||p.start.column!=a.column)&&(a=p.end);else if(v==-1&&y==1)a=p.end,s=p.start;else{var k=d(this.$clickSelection,a,r.session);a=k.cursor,s=k.anchor}r.selection.setSelectionAnchor(s.row,s.column)}r.selection.selectToPosition(a),r.renderer.scrollCursorIntoView()},u.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},u.prototype.focusWait=function(){(h(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>g||Date.now()-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},u.prototype.onDoubleClick=function(l){var s=l.getDocumentPosition(),r=this.editor,a=r.session.getBracketRange(s);a?(a.isEmpty()&&(a.start.column--,a.end.column++),this.setState("select")):(a=r.selection.getWordRange(s.row,s.column),this.setState("selectByWords")),this.$clickSelection=a,this.select()},u.prototype.onTripleClick=function(l){var s=l.getDocumentPosition(),r=this.editor;this.setState("selectByLines");var a=r.getSelectionRange();a.isMultiLine()&&a.contains(s.row,s.column)?(this.$clickSelection=r.selection.getLineRange(a.start.row),this.$clickSelection.end=r.selection.getLineRange(a.end.row).end):this.$clickSelection=r.selection.getLineRange(s.row),this.select()},u.prototype.onQuadClick=function(l){var s=this.editor;s.selectAll(),this.$clickSelection=s.getSelectionRange(),this.setState("selectAll")},u.prototype.onMouseWheel=function(l){if(!l.getAccelKey()){l.getShiftKey()&&l.wheelY&&!l.wheelX&&(l.wheelX=l.wheelY,l.wheelY=0);var s=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var r=this.$lastScroll,a=l.domEvent.timeStamp,p=a-r.t,v=p?l.wheelX/p:r.vx,y=p?l.wheelY/p:r.vy;p<c&&(v=(v+r.vx)/2,y=(y+r.vy)/2);var k=Math.abs(v/y),x=!1;if(k>=1&&s.renderer.isScrollableBy(l.wheelX*l.speed,0)&&(x=!0),k<=1&&s.renderer.isScrollableBy(0,l.wheelY*l.speed)&&(x=!0),x?r.allowed=a:a-r.allowed<c&&(Math.abs(v)<=1.5*Math.abs(r.vx)&&Math.abs(y)<=1.5*Math.abs(r.vy)?(x=!0,r.allowed=a):r.allowed=0),r.t=a,r.vx=v,r.vy=y,x)return s.renderer.scrollBy(l.wheelX*l.speed,l.wheelY*l.speed),l.stop()}},u})();o.prototype.selectEnd=o.prototype.selectByLinesEnd,o.prototype.selectAllEnd=o.prototype.selectByLinesEnd,o.prototype.selectByWordsEnd=o.prototype.selectByLinesEnd,n.DefaultHandlers=o;function h(u,l,s,r){return Math.sqrt(Math.pow(s-u,2)+Math.pow(r-l,2))}function d(u,l,s){if(u.start.row==u.end.row)var r=2*l.column-u.start.column-u.end.column;else if(u.start.row==u.end.row-1&&!u.start.column&&!u.end.column)var r=3*l.column-2*s.getLine(u.start.row).length;else var r=2*l.row-u.start.row-u.end.row;return r<0?{cursor:u.start,anchor:u.end}:{cursor:u.end,anchor:u.start}}}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,n,m){"use strict";var f=t("../lib/event"),g=t("../lib/useragent");n.MouseEvent=(function(){function c(o,h){this.speed,this.wheelX,this.wheelY,this.domEvent=o,this.editor=h,this.x=this.clientX=o.clientX,this.y=this.clientY=o.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return c.prototype.stopPropagation=function(){f.stopPropagation(this.domEvent),this.propagationStopped=!0},c.prototype.preventDefault=function(){f.preventDefault(this.domEvent),this.defaultPrevented=!0},c.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},c.prototype.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},c.prototype.getGutterRow=function(){var o=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(o,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},c.prototype.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var o=this.editor.getSelectionRange();if(o.isEmpty())this.$inSelection=!1;else{var h=this.getDocumentPosition();this.$inSelection=o.contains(h.row,h.column)}return this.$inSelection},c.prototype.getButton=function(){return f.getButton(this.domEvent)},c.prototype.getShiftKey=function(){return this.domEvent.shiftKey},c.prototype.getAccelKey=function(){return g.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},c})()}),ace.define("ace/lib/scroll",["require","exports","module"],function(t,n,m){n.preventParentScroll=function(g){g.stopPropagation();var c=g.currentTarget;c.scrollHeight>c.clientHeight||g.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(t,n,m){"use strict";var f=this&&this.__extends||(function(){var s=function(r,a){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(p[y]=v[y])},s(r,a)};return function(r,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");s(r,a);function p(){this.constructor=r}r.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)}})(),g=this&&this.__values||function(s){var r=typeof Symbol=="function"&&Symbol.iterator,a=r&&s[r],p=0;if(a)return a.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&p>=s.length&&(s=void 0),{value:s&&s[p++],done:!s}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},c=t("./lib/dom");t("./lib/event");var o=t("./range").Range,h=t("./lib/scroll").preventParentScroll,d="ace_tooltip",u=(function(){function s(r){this.isOpen=!1,this.$element=null,this.$parentNode=r}return s.prototype.$init=function(){return this.$element=c.createElement("div"),this.$element.className=d,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},s.prototype.getElement=function(){return this.$element||this.$init()},s.prototype.setText=function(r){this.getElement().textContent=r},s.prototype.setHtml=function(r){this.getElement().innerHTML=r},s.prototype.setPosition=function(r,a){this.getElement().style.left=r+"px",this.getElement().style.top=a+"px"},s.prototype.setClassName=function(r){c.addCssClass(this.getElement(),r)},s.prototype.setTheme=function(r){this.theme&&(this.theme.isDark&&c.removeCssClass(this.getElement(),"ace_dark"),this.theme.cssClass&&c.removeCssClass(this.getElement(),this.theme.cssClass)),r.isDark&&c.addCssClass(this.getElement(),"ace_dark"),r.cssClass&&c.addCssClass(this.getElement(),r.cssClass),this.theme={isDark:r.isDark,cssClass:r.cssClass}},s.prototype.show=function(r,a,p){r!=null&&this.setText(r),a!=null&&p!=null&&this.setPosition(a,p),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},s.prototype.hide=function(r){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=d,this.isOpen=!1)},s.prototype.getHeight=function(){return this.getElement().offsetHeight},s.prototype.getWidth=function(){return this.getElement().offsetWidth},s.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},s})(),l=new((function(){function s(){this.popups=[]}return s.prototype.addPopup=function(r){this.popups.push(r),this.updatePopups()},s.prototype.removePopup=function(r){var a=this.popups.indexOf(r);a!==-1&&(this.popups.splice(a,1),this.updatePopups())},s.prototype.updatePopups=function(){var r,a,p,v;this.popups.sort(function($,D){return D.priority-$.priority});var y=[];try{for(var k=g(this.popups),x=k.next();!x.done;x=k.next()){var w=x.value,S=!0;try{for(var M=(p=void 0,g(y)),L=M.next();!L.done;L=M.next()){var R=L.value;if(this.doPopupsOverlap(R,w)){S=!1;break}}}catch($){p={error:$}}finally{try{L&&!L.done&&(v=M.return)&&v.call(M)}finally{if(p)throw p.error}}S?y.push(w):w.hide()}}catch($){r={error:$}}finally{try{x&&!x.done&&(a=k.return)&&a.call(k)}finally{if(r)throw r.error}}},s.prototype.doPopupsOverlap=function(r,a){var p=r.getElement().getBoundingClientRect(),v=a.getElement().getBoundingClientRect();return p.left<v.right&&p.right>v.left&&p.top<v.bottom&&p.bottom>v.top},s})());n.popupManager=l,n.Tooltip=u,n.HoverTooltip=(function(s){f(r,s);function r(a){a===void 0&&(a=document.body);var p=s.call(this,a)||this;p.timeout=void 0,p.lastT=0,p.idleTime=350,p.lastEvent=void 0,p.onMouseOut=p.onMouseOut.bind(p),p.onMouseMove=p.onMouseMove.bind(p),p.waitForHover=p.waitForHover.bind(p),p.hide=p.hide.bind(p);var v=p.getElement();return v.style.whiteSpace="pre-wrap",v.style.pointerEvents="auto",v.addEventListener("mouseout",p.onMouseOut),v.tabIndex=-1,v.addEventListener("blur",function(){v.contains(document.activeElement)||this.hide()}.bind(p)),v.addEventListener("wheel",h),p}return r.prototype.addToEditor=function(a){a.on("mousemove",this.onMouseMove),a.on("mousedown",this.hide);var p=a.renderer.getMouseEventTarget();p&&typeof p.removeEventListener=="function"&&p.addEventListener("mouseout",this.onMouseOut,!0)},r.prototype.removeFromEditor=function(a){a.off("mousemove",this.onMouseMove),a.off("mousedown",this.hide);var p=a.renderer.getMouseEventTarget();p&&typeof p.removeEventListener=="function"&&p.removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},r.prototype.onMouseMove=function(a,p){this.lastEvent=a,this.lastT=Date.now();var v=p.$mouseHandler.isMousePressed;if(this.isOpen){var y=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(y.row,y.column)||v||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||v||(this.lastEvent=a,this.timeout=setTimeout(this.waitForHover,this.idleTime))},r.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var a=Date.now()-this.lastT;if(this.idleTime-a>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-a);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},r.prototype.isOutsideOfText=function(a){var p=a.editor,v=a.getDocumentPosition(),y=p.session.getLine(v.row);if(v.column==y.length){var k=p.renderer.pixelToScreenCoordinates(a.clientX,a.clientY),x=p.session.documentToScreenPosition(v.row,v.column);if(x.column!=k.column||x.row!=k.row)return!0}return!1},r.prototype.setDataProvider=function(a){this.$gatherData=a},r.prototype.showForRange=function(a,p,v,y){if(!(y&&y!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var k=a.renderer;this.isOpen||(l.addPopup(this),this.$registerCloseEvents(),this.setTheme(k.theme)),this.isOpen=!0,this.range=o.fromPoints(p.start,p.end);var x=k.textToScreenCoordinates(p.start.row,p.start.column),w=k.scroller.getBoundingClientRect();x.pageX<w.left&&(x.pageX=w.left);var S=this.getElement();S.innerHTML="",S.appendChild(v),S.style.maxHeight="",S.style.display="block",this.$setPosition(a,x,!0,p),c.$fixPositionBug(S)}},r.prototype.$setPosition=function(a,p,v,y){var k=10;v&&this.addMarker(y,a.session);var x=a.renderer,w=this.getElement(),S=w.offsetHeight,M=w.offsetWidth,L=p.pageY,R=p.pageX,$=window.innerHeight-L-x.lineHeight,D=this.$shouldPlaceAbove(S,L,$-k);w.style.maxHeight=(D?L:$)-k+"px",w.style.top=D?"":L+x.lineHeight+"px",w.style.bottom=D?window.innerHeight-L+"px":"",w.style.left=Math.min(R,window.innerWidth-M-k)+"px"},r.prototype.$shouldPlaceAbove=function(a,p,v){return!(p-a<0&&p<v)},r.prototype.addMarker=function(a,p){this.marker&&this.$markerSession.removeMarker(this.marker),this.$markerSession=p,this.marker=p&&p.addMarker(a,"ace_highlight-marker","text")},r.prototype.hide=function(a){a&&this.$fromKeyboard&&a.type=="keydown"&&a.code=="Escape"||!a&&document.activeElement==this.getElement()||a&&a.target&&(a.type!="keydown"||a.ctrlKey||a.metaKey)&&this.$element.contains(a.target)||(this.lastEvent=null,this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.addMarker(null),this.isOpen&&(this.$fromKeyboard=!1,this.$removeCloseEvents(),this.getElement().style.display="none",this.isOpen=!1,l.removePopup(this)))},r.prototype.$registerCloseEvents=function(){window.addEventListener("keydown",this.hide,!0),window.addEventListener("wheel",this.hide,!0),window.addEventListener("mousedown",this.hide,!0)},r.prototype.$removeCloseEvents=function(){window.removeEventListener("keydown",this.hide,!0),window.removeEventListener("wheel",this.hide,!0),window.removeEventListener("mousedown",this.hide,!0)},r.prototype.onMouseOut=function(a){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.lastEvent=null,this.isOpen&&(!a.relatedTarget||this.getElement().contains(a.relatedTarget)||a&&a.currentTarget.contains(a.relatedTarget)||a.relatedTarget.classList.contains("ace_content")||this.hide())},r})(u)}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/mouse/mouse_event","ace/tooltip","ace/config","ace/range"],function(t,n,m){"use strict";var f=this&&this.__extends||(function(){var r=function(a,p){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(v[k]=y[k])},r(a,p)};return function(a,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");r(a,p);function v(){this.constructor=a}a.prototype=p===null?Object.create(p):(v.prototype=p.prototype,new v)}})(),g=this&&this.__values||function(r){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&r[a],v=0;if(p)return p.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&v>=r.length&&(r=void 0),{value:r&&r[v++],done:!r}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},c=t("../lib/dom"),o=t("./mouse_event").MouseEvent,h=t("../tooltip").HoverTooltip,d=t("../config").nls,u=t("../range").Range;function l(r){var a=r.editor,p=a.renderer.$gutterLayer;r.$tooltip=new s(a),r.$tooltip.addToEditor(a),r.$tooltip.setDataProvider(function(v,y){var k=v.getDocumentPosition().row;r.$tooltip.showTooltip(k)}),r.editor.setDefaultHandler("guttermousedown",function(v){if(!(!a.isFocused()||v.getButton()!=0)&&p.getRegion(v)!="foldWidgets"){var y=v.getDocumentPosition().row,k=a.session.selection;if(v.getShiftKey())k.selectTo(y,0);else{if(v.domEvent.detail==2)return a.selectAll(),v.preventDefault();r.$clickSelection=a.selection.getLineRange(y)}return r.setState("selectByLines"),r.captureMouse(v),v.preventDefault()}})}n.GutterHandler=l;var s=(function(r){f(a,r);function a(p){var v=r.call(this,p.container)||this;v.id="gt"+ ++a.$uid,v.editor=p,v.visibleTooltipRow;var y=v.getElement();return y.setAttribute("role","tooltip"),y.setAttribute("id",v.id),y.style.pointerEvents="auto",v.idleTime=50,v.onDomMouseMove=v.onDomMouseMove.bind(v),v.onDomMouseOut=v.onDomMouseOut.bind(v),v.setClassName("ace_gutter-tooltip"),v}return a.prototype.onDomMouseMove=function(p){var v=new o(p,this.editor);this.onMouseMove(v,this.editor)},a.prototype.onDomMouseOut=function(p){var v=new o(p,this.editor);this.onMouseOut(v)},a.prototype.addToEditor=function(p){var v=p.renderer.$gutter;v.addEventListener("mousemove",this.onDomMouseMove),v.addEventListener("mouseout",this.onDomMouseOut),r.prototype.addToEditor.call(this,p)},a.prototype.removeFromEditor=function(p){var v=p.renderer.$gutter;v.removeEventListener("mousemove",this.onDomMouseMove),v.removeEventListener("mouseout",this.onDomMouseOut),r.prototype.removeFromEditor.call(this,p)},a.prototype.destroy=function(){this.editor&&this.removeFromEditor(this.editor),r.prototype.destroy.call(this)},Object.defineProperty(a,"annotationLabels",{get:function(){return{error:{singular:d("gutter-tooltip.aria-label.error.singular","error"),plural:d("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:d("gutter-tooltip.aria-label.security.singular","security finding"),plural:d("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:d("gutter-tooltip.aria-label.warning.singular","warning"),plural:d("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:d("gutter-tooltip.aria-label.info.singular","information message"),plural:d("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:d("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:d("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),a.prototype.showTooltip=function(p){var v,y=this.editor.renderer.$gutterLayer,k=y.$annotations[p],x;k?x={displayText:Array.from(k.displayText),type:Array.from(k.type)}:x={displayText:[],type:[]};var w=y.session.getFoldLine(p);if(w&&y.$showFoldedAnnotations){for(var S={error:[],security:[],warning:[],info:[],hint:[]},M={error:1,security:2,warning:3,info:4,hint:5},L,R=p+1;R<=w.end.row;R++)if(y.$annotations[R])for(var $=0;$<y.$annotations[R].text.length;$++){var D=y.$annotations[R].type[$];S[D].push(y.$annotations[R].text[$]),(!L||M[D]<M[L])&&(L=D)}if(["error","security","warning"].includes(L)){var T="".concat(a.annotationsToSummaryString(S)," in folded code.");x.displayText.push(T),x.type.push(L+"_fold")}}if(x.displayText.length===0)return this.hide();for(var E={error:[],security:[],warning:[],info:[],hint:[]},C=y.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",R=0;R<x.displayText.length;R++){var b=c.createElement("span"),A=c.createElement("span");(v=A.classList).add.apply(v,["ace_".concat(x.type[R]),C]),A.setAttribute("aria-label","".concat(a.annotationLabels[x.type[R].replace("_fold","")].singular)),A.setAttribute("role","img"),A.appendChild(c.createTextNode(" ")),b.appendChild(A),b.appendChild(c.createTextNode(x.displayText[R])),b.appendChild(c.createElement("br")),E[x.type[R].replace("_fold","")].push(b)}var _=c.createElement("span");E.error.forEach(function(N){return _.appendChild(N)}),E.security.forEach(function(N){return _.appendChild(N)}),E.warning.forEach(function(N){return _.appendChild(N)}),E.info.forEach(function(N){return _.appendChild(N)}),E.hint.forEach(function(N){return _.appendChild(N)}),_.setAttribute("aria-live","polite");var O=this.$findLinkedAnnotationNode(p);O&&O.setAttribute("aria-describedby",this.id);var I=u.fromPoints({row:p,column:0},{row:p,column:0});this.showForRange(this.editor,I,_),this.visibleTooltipRow=p,this.editor._signal("showGutterTooltip",this)},a.prototype.$setPosition=function(p,v,y,k){var x=this.$findCellByRow(k.start.row);if(x){var w=x&&x.element,S=w&&w.querySelector(".ace_gutter_annotation");if(S){var M=S.getBoundingClientRect();if(M){var L={pageX:M.right,pageY:M.top};return r.prototype.$setPosition.call(this,p,L,!1,k)}}}},a.prototype.$shouldPlaceAbove=function(p,v,y){return y<p},a.prototype.$findLinkedAnnotationNode=function(p){var v=this.$findCellByRow(p);if(v){var y=v.element;if(y.childNodes.length>2)return y.childNodes[2]}},a.prototype.$findCellByRow=function(p){return this.editor.renderer.$gutterLayer.$lines.cells.find(function(v){return v.row===p})},a.prototype.hide=function(p){if(this.isOpen){if(this.$element.removeAttribute("aria-live"),this.visibleTooltipRow!=null){var v=this.$findLinkedAnnotationNode(this.visibleTooltipRow);v&&v.removeAttribute("aria-describedby")}this.visibleTooltipRow=void 0,this.editor._signal("hideGutterTooltip",this),r.prototype.hide.call(this,p)}},a.annotationsToSummaryString=function(p){var v,y,k=[],x=["error","security","warning","info","hint"];try{for(var w=g(x),S=w.next();!S.done;S=w.next()){var M=S.value;if(p[M].length){var L=p[M].length===1?a.annotationLabels[M].singular:a.annotationLabels[M].plural;k.push("".concat(p[M].length," ").concat(L))}}}catch(R){v={error:R}}finally{try{S&&!S.done&&(y=w.return)&&y.call(w)}finally{if(v)throw v.error}}return k.join(", ")},a.prototype.isOutsideOfText=function(p){var v=p.editor.renderer.$gutter.getBoundingClientRect();return!(p.clientX>=v.left&&p.clientX<=v.right&&p.clientY>=v.top&&p.clientY<=v.bottom)},a})(h);s.$uid=0,n.GutterTooltip=s}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(t,n,m){"use strict";var f=t("../lib/dom"),g=t("../lib/event"),c=t("../lib/useragent"),o=200,h=200,d=5;function u(s){var r=s.editor,a=f.createElement("div");a.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",a.textContent=" ",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(z){s[z]=this[z]},this),r.on("mousedown",this.onMouseDown.bind(s));var p=r.container,v,y,k,x,w,S,M=0,L,R,$,D,T;this.onDragStart=function(z){if(this.cancelDrag||!p.draggable){var P=this;return setTimeout(function(){P.startSelect(),P.captureMouse(z)},0),z.preventDefault()}w=r.getSelectionRange();var B=z.dataTransfer;B.effectAllowed=r.getReadOnly()?"copy":"copyMove",r.container.appendChild(a),B.setDragImage&&B.setDragImage(a,0,0),setTimeout(function(){r.container.removeChild(a)}),B.clearData(),B.setData("Text",r.session.getTextRange()),R=!0,this.setState("drag")},this.onDragEnd=function(z){if(p.draggable=!1,R=!1,this.setState(null),!r.getReadOnly()){var P=z.dataTransfer.dropEffect;!L&&P=="move"&&r.session.remove(r.getSelectionRange()),r.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(z){if(!(r.getReadOnly()||!N(z.dataTransfer)))return y=z.clientX,k=z.clientY,v||A(),M++,z.dataTransfer.dropEffect=L=F(z),g.preventDefault(z)},this.onDragOver=function(z){if(!(r.getReadOnly()||!N(z.dataTransfer)))return y=z.clientX,k=z.clientY,v||(A(),M++),O!==null&&(O=null),z.dataTransfer.dropEffect=L=F(z),g.preventDefault(z)},this.onDragLeave=function(z){if(M--,M<=0&&v)return _(),L=null,g.preventDefault(z)},this.onDrop=function(z){if(S){var P=z.dataTransfer;if(R)switch(L){case"move":w.contains(S.row,S.column)?w={start:S,end:S}:w=r.moveText(w,S);break;case"copy":w=r.moveText(w,S,!0);break}else{var B=P.getData("Text");w={start:S,end:r.session.insert(S,B)},r.focus(),L=null}return _(),g.preventDefault(z)}},g.addListener(p,"dragstart",this.onDragStart.bind(s),r),g.addListener(p,"dragend",this.onDragEnd.bind(s),r),g.addListener(p,"dragenter",this.onDragEnter.bind(s),r),g.addListener(p,"dragover",this.onDragOver.bind(s),r),g.addListener(p,"dragleave",this.onDragLeave.bind(s),r),g.addListener(p,"drop",this.onDrop.bind(s),r);function E(z,P){var B=Date.now(),W=!P||z.row!=P.row,H=!P||z.column!=P.column;!D||W||H?(r.moveCursorToPosition(z),D=B,T={x:y,y:k}):l(T.x,T.y,y,k)>d?D=null:B-D>=h&&(r.renderer.scrollCursorIntoView(),D=null)}function C(z,P){var B=Date.now(),W=r.renderer.layerConfig.lineHeight,H=r.renderer.layerConfig.characterWidth,U=r.renderer.scroller.getBoundingClientRect(),G={x:{left:y-U.left,right:U.right-y},y:{top:k-U.top,bottom:U.bottom-k}},Y=Math.min(G.x.left,G.x.right),q=Math.min(G.y.top,G.y.bottom),X={row:z.row,column:z.column};Y/H<=2&&(X.column+=G.x.left<G.x.right?-3:2),q/W<=1&&(X.row+=G.y.top<G.y.bottom?-1:1);var le=z.row!=X.row,Le=z.column!=X.column,Ne=!P||z.row!=P.row;le||Le&&!Ne?$?B-$>=o&&r.renderer.scrollCursorIntoView(X):$=B:$=null}function b(){var z=S;S=r.renderer.screenToTextCoordinates(y,k),E(S,z),C(S,z)}function A(){w=r.selection.toOrientedRange(),v=r.session.addMarker(w,"ace_selection",r.getSelectionStyle()),r.clearSelection(),r.isFocused()&&r.renderer.$cursorLayer.setBlinking(!1),clearInterval(x),b(),x=setInterval(b,20),M=0,g.addListener(document,"mousemove",I)}function _(){clearInterval(x),r.session.removeMarker(v),v=null,r.selection.fromOrientedRange(w),r.isFocused()&&!R&&r.$resetCursorStyle(),w=null,S=null,M=0,$=null,D=null,g.removeListener(document,"mousemove",I)}var O=null;function I(){O==null&&(O=setTimeout(function(){O!=null&&v&&_()},20))}function N(z){var P=z.types;return!P||Array.prototype.some.call(P,function(B){return B=="text/plain"||B=="Text"})}function F(z){var P=["copy","copymove","all","uninitialized"],B=["move","copymove","linkmove","all","uninitialized"],W=c.isMac?z.altKey:z.ctrlKey,H="uninitialized";try{H=z.dataTransfer.effectAllowed.toLowerCase()}catch{}var U="none";return W&&P.indexOf(H)>=0?U="copy":B.indexOf(H)>=0?U="move":P.indexOf(H)>=0&&(U="copy"),U}}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var s=this.editor.container;s.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(s){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var s=this.editor,r=s.container;r.draggable=!0,s.renderer.$cursorLayer.setBlinking(!1),s.setStyle("ace_dragging");var a=c.isWin?"default":"move";s.renderer.setCursorStyle(a),this.setState("dragReady")},this.onMouseDrag=function(s){var r=this.editor.container;if(c.isIE&&this.state=="dragReady"){var a=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);a>3&&r.dragDrop()}if(this.state==="dragWait"){var a=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);a>0&&(r.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(s){if(this.$dragEnabled){this.mousedownEvent=s;var r=this.editor,a=s.inSelection(),p=s.getButton();if((s.domEvent.detail||1)===1&&p===0&&a){if(s.editor.inMultiSelectMode&&(s.getAccelKey()||s.getShiftKey()))return;this.mousedownEvent.time=Date.now();var v=s.domEvent.target||s.domEvent.srcElement;if("unselectable"in v&&(v.unselectable="on"),r.getDragDelay()){if(c.isWebKit){this.cancelDrag=!0;var y=r.container;y.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(s,this.onMouseDrag.bind(this)),s.defaultPrevented=!0}}}}).call(u.prototype);function l(s,r,a,p){return Math.sqrt(Math.pow(a-s,2)+Math.pow(p-r,2))}n.DragdropHandler=u}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(t,n,m){"use strict";var f=t("./mouse_event").MouseEvent,g=t("../lib/event"),c=t("../lib/dom");n.addTouchListeners=function(o,h){var d="scroll",u,l,s,r,a,p,v=0,y,k=0,x=0,w=0,S,M;function L(){var C=window.navigator&&window.navigator.clipboard,b=!1,A=function(){var I=h.getCopyText(),N=h.session.getUndoManager().hasUndo();M.replaceChild(c.buildDom(b?["span",!I&&_("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],I&&_("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],I&&_("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],C&&_("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],N&&_("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],_("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],_("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),M.firstChild)},_=function(I){return h.commands.canExecute(I,h)},O=function(I){var N=I.target.getAttribute("action");if(N=="more"||!b)return b=!b,A();N=="paste"?C.readText().then(function(F){h.execCommand(N,F)}):N&&((N=="cut"||N=="copy")&&(C?C.writeText(h.getCopyText()):document.execCommand("copy")),h.execCommand(N)),M.firstChild.style.display="none",b=!1,N!="openCommandPalette"&&h.focus()};M=c.buildDom(["div",{class:"ace_mobile-menu",onclick:O},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],h.container),M.addEventListener("touchstart",function(I){d="menu",I.stopPropagation(),I.preventDefault(),h.textInput.focus()}),M.addEventListener("touchend",function(I){I.stopPropagation(),I.preventDefault(),O(I)})}function R(){if(!h.getOption("enableMobileMenu")){M&&$();return}M||L();var C=h.selection.cursor,b=h.renderer.textToScreenCoordinates(C.row,C.column),A=h.renderer.textToScreenCoordinates(0,0).pageX,_=h.renderer.scrollLeft,O=h.container.getBoundingClientRect();M.style.top=b.pageY-O.top-3+"px",b.pageX-O.left<O.width-70?(M.style.left="",M.style.right="10px"):(M.style.right="",M.style.left=A+_-O.left+"px"),M.style.display="",M.firstChild.style.display="none",h.on("input",$)}function $(C){M&&(M.style.display="none"),h.off("input",$)}function D(){a=null,clearTimeout(a);var C=h.selection.getRange(),b=C.contains(y.row,y.column);(C.isEmpty()||!b)&&(h.selection.moveToPosition(y),h.selection.selectWord()),d="wait",R()}function T(){a=null,clearTimeout(a),h.selection.moveToPosition(y);var C=k>=2?h.selection.getLineRange(y.row):h.session.getBracketRange(y);C&&!C.isEmpty()?h.selection.setRange(C):h.selection.selectWord(),d="wait"}g.addListener(o,"contextmenu",function(C){S&&h.textInput.getElement().focus()},h),g.addListener(o,"touchstart",function(C){var b=C.touches;if(a||b.length>1){clearTimeout(a),a=null,s=-1,d="zoom";return}S=h.$mouseHandler.isMousePressed=!0;var A=h.renderer.layerConfig.lineHeight,_=h.renderer.layerConfig.lineHeight,O=C.timeStamp;r=O;var I=b[0],N=I.clientX,F=I.clientY;if(Math.abs(u-N)+Math.abs(l-F)>A&&(s=-1),u=C.clientX=N,l=C.clientY=F,x=w=0,y=new f(C,h).getDocumentPosition(),O-s<500&&b.length==1&&!v)k++,C.preventDefault(),C.button=0,T();else{k=0;var z=h.selection.cursor,P=h.selection.isEmpty()?z:h.selection.anchor,B=h.renderer.$cursorLayer.getPixelPosition(z,!0),W=h.renderer.$cursorLayer.getPixelPosition(P,!0),H=h.renderer.scroller.getBoundingClientRect(),U=h.renderer.layerConfig.offset,G=h.renderer.scrollLeft,Y=function(le,Le){return le=le/_,Le=Le/A-.75,le*le+Le*Le};if(C.clientX<H.left){d="zoom";return}var q=Y(C.clientX-H.left-B.left+G,C.clientY-H.top-B.top+U),X=Y(C.clientX-H.left-W.left+G,C.clientY-H.top-W.top+U);q<3.5&&X<3.5&&(d=q>X?"cursor":"anchor"),X<3.5?d="anchor":q<3.5?d="cursor":d="scroll",a=setTimeout(D,450)}s=O},h),g.addListener(o,"touchend",function(C){S=h.$mouseHandler.isMousePressed=!1,p&&clearInterval(p),d=="zoom"?(d="",v=0):a?(h.selection.moveToPosition(y),v=0,R()):d=="scroll"?(E(),$()):R(),clearTimeout(a),a=null},h),g.addListener(o,"touchmove",function(C){a&&(clearTimeout(a),a=null);var b=C.touches;if(!(b.length>1||d=="zoom")){var A=b[0],_=u-A.clientX,O=l-A.clientY;if(d=="wait")if(_*_+O*O>4)d="cursor";else return C.preventDefault();u=A.clientX,l=A.clientY,C.clientX=A.clientX,C.clientY=A.clientY;var I=C.timeStamp,N=I-r;if(r=I,d=="scroll"){var F=new f(C,h);F.speed=1,F.wheelX=_,F.wheelY=O,10*Math.abs(_)<Math.abs(O)&&(_=0),10*Math.abs(O)<Math.abs(_)&&(O=0),N!=0&&(x=_/N,w=O/N),h._emit("mousewheel",F),F.propagationStopped||(x=w=0)}else{var z=new f(C,h).getDocumentPosition();d=="cursor"?h.selection.moveCursorToPosition(z):d=="anchor"&&h.selection.setSelectionAnchor(z.row,z.column),h.renderer.scrollCursorIntoView(z),C.preventDefault()}}},h);function E(){v+=60,p=setInterval(function(){v--<=0&&(clearInterval(p),p=null),Math.abs(x)<.01&&(x=0),Math.abs(w)<.01&&(w=0),v<20&&(x=.9*x),v<20&&(w=.9*w);var C=h.session.getScrollTop();h.renderer.scrollBy(10*x,10*w),C==h.session.getScrollTop()&&(v=0)},10)}}}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/mouse/touch_handler","ace/config"],function(t,n,m){"use strict";var f=t("../lib/event"),g=t("../lib/useragent"),c=t("./default_handlers").DefaultHandlers,o=t("./default_gutter_handler").GutterHandler,h=t("./mouse_event").MouseEvent,d=t("./dragdrop_handler").DragdropHandler,u=t("./touch_handler").addTouchListeners,l=t("../config"),s=(function(){function r(a){this.$dragDelay,this.$dragEnabled,this.$mouseMoved,this.mouseEvent,this.$focusTimeout;var p=this;this.editor=a,new c(this),new o(this),new d(this);var v=function(x){(!document.hasFocus||!document.hasFocus()||!a.isFocused()&&document.activeElement==(a.textInput&&a.textInput.getElement()))&&window.focus(),a.focus(),setTimeout(function(){a.isFocused()||a.focus()})},y=a.renderer.getMouseEventTarget();f.addListener(y,"click",this.onMouseEvent.bind(this,"click"),a),f.addListener(y,"mousemove",this.onMouseMove.bind(this,"mousemove"),a),f.addMultiMouseDownListener([y,a.renderer.scrollBarV&&a.renderer.scrollBarV.inner,a.renderer.scrollBarH&&a.renderer.scrollBarH.inner,a.textInput&&a.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent",a),f.addMouseWheelListener(a.container,this.onMouseWheel.bind(this,"mousewheel"),a),u(a.container,a);var k=a.renderer.$gutter;f.addListener(k,"mousedown",this.onMouseEvent.bind(this,"guttermousedown"),a),f.addListener(k,"click",this.onMouseEvent.bind(this,"gutterclick"),a),f.addListener(k,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick"),a),f.addListener(k,"mousemove",this.onMouseEvent.bind(this,"guttermousemove"),a),f.addListener(y,"mousedown",v,a),f.addListener(k,"mousedown",v,a),g.isIE&&a.renderer.scrollBarV&&(f.addListener(a.renderer.scrollBarV.element,"mousedown",v,a),f.addListener(a.renderer.scrollBarH.element,"mousedown",v,a)),a.on("mousemove",function(x){if(!(p.state||p.$dragDelay||!p.$dragEnabled)){var w=a.renderer.screenToTextCoordinates(x.x,x.y),S=a.session.selection.getRange(),M=a.renderer;!S.isEmpty()&&S.insideStart(w.row,w.column)?M.setCursorStyle("default"):M.setCursorStyle("")}},a)}return r.prototype.onMouseEvent=function(a,p){this.editor.session&&this.editor._emit(a,new h(p,this.editor))},r.prototype.onMouseMove=function(a,p){var v=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;!v||!v.length||this.editor._emit(a,new h(p,this.editor))},r.prototype.onMouseWheel=function(a,p){var v=new h(p,this.editor);v.speed=this.$scrollSpeed*2,v.wheelX=p.wheelX,v.wheelY=p.wheelY,this.editor._emit(a,v)},r.prototype.setState=function(a){this.state=a},r.prototype.captureMouse=function(a,p){this.x=a.x,this.y=a.y,this.isMousePressed=!0;var v=this.editor,y=this.editor.renderer;y.$isMousePressed=!0;var k=this,x=!0,w=function($){if($){if(g.isWebKit&&!$.which&&k.releaseMouse)return k.releaseMouse();k.x=$.clientX,k.y=$.clientY,p&&p($),k.mouseEvent=new h($,k.editor),k.$mouseMoved=!0}},S=function($){v.off("beforeEndOperation",R),x=!1,v.session&&M(),k[k.state+"End"]&&k[k.state+"End"]($),k.state="",k.isMousePressed=y.$isMousePressed=!1,y.$keepTextAreaAtCursor&&y.$moveTextAreaToCursor(),k.$onCaptureMouseMove=k.releaseMouse=null,$&&k.onMouseEvent("mouseup",$),v.endOperation()},M=function(){k[k.state]&&k[k.state](),k.$mouseMoved=!1},L=function(){x&&(M(),f.nextFrame(L))};if(g.isOldIE&&a.domEvent.type=="dblclick")return setTimeout(function(){S(a)});var R=function($){k.releaseMouse&&v.curOp.command.name&&v.curOp.selectionChanged&&(k[k.state+"End"]&&k[k.state+"End"](),k.state="",k.releaseMouse())};v.on("beforeEndOperation",R),v.startOperation({command:{name:"mouse"}}),k.$onCaptureMouseMove=w,k.releaseMouse=f.capture(this.editor.container,w,S),L()},r.prototype.cancelContextMenu=function(){var a=function(p){p&&p.domEvent&&p.domEvent.type!="contextmenu"||(this.editor.off("nativecontextmenu",a),p&&p.domEvent&&f.stopEvent(p.domEvent))}.bind(this);setTimeout(a,10),this.editor.on("nativecontextmenu",a)},r.prototype.destroy=function(){this.releaseMouse&&this.releaseMouse(),this.$tooltip&&this.$tooltip.destroy()},r})();s.prototype.releaseMouse=null,l.defineOptions(s.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:g.isMac?150:0},dragEnabled:{initialValue:!0},focusTimeout:{initialValue:0}}),n.MouseHandler=s}),ace.define("ace/mouse/fold_handler",["require","exports","module","ace/lib/dom"],function(t,n,m){"use strict";var f=t("../lib/dom");n.FoldHandler=(function(){function g(c){c.on("click",function(o){var h=o.getDocumentPosition(),d=c.session,u=d.getFoldAt(h.row,h.column,1);u&&(o.getAccelKey()?d.removeFold(u):d.expandFold(u),o.stop());var l=o.domEvent&&o.domEvent.target;l&&f.hasCssClass(l,"ace_inline_button")&&f.hasCssClass(l,"ace_toggle_wrap")&&(d.setOption("wrap",!d.getUseWrapMode()),c.renderer.scrollCursorIntoView())}),c.on("gutterclick",function(o){if(c.renderer.$gutterLayer.getRegion(o)=="foldWidgets"){var h=o.getDocumentPosition().row,d=c.session;d.foldWidgets&&d.foldWidgets[h]&&c.session.onFoldWidgetClick(h,o),c.isFocused()||c.focus(),o.stop()}}),c.on("gutterdblclick",function(o){if(c.renderer.$gutterLayer.getRegion(o)=="foldWidgets"){var h=o.getDocumentPosition().row,d=c.session,u=d.getParentFoldRangeData(h,!0),l=u.range||u.firstRange;if(l){h=l.start.row;var s=d.getFoldAt(h,d.getLine(h).length,1);s?d.removeFold(s):(d.addFold("...",l),c.renderer.scrollCursorIntoView({row:l.start.row,column:0}))}o.stop()}})}return g})()}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(t,n,m){"use strict";var f=t("../lib/keys"),g=t("../lib/event");n.KeyBinding=(function(){function c(o){this.$editor=o,this.$data={editor:o},this.$handlers=[],this.setDefaultHandler(o.commands)}return c.prototype.setDefaultHandler=function(o){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=o,this.addKeyboardHandler(o,0)},c.prototype.setKeyboardHandler=function(o){var h=this.$handlers;if(h[h.length-1]!=o){for(;h[h.length-1]&&h[h.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(h[h.length-1]);this.addKeyboardHandler(o,1)}},c.prototype.addKeyboardHandler=function(o,h){if(o){typeof o=="function"&&!o.handleKeyboard&&(o.handleKeyboard=o);var d=this.$handlers.indexOf(o);d!=-1&&this.$handlers.splice(d,1),h==null?this.$handlers.push(o):this.$handlers.splice(h,0,o),d==-1&&o.attach&&o.attach(this.$editor)}},c.prototype.removeKeyboardHandler=function(o){var h=this.$handlers.indexOf(o);return h==-1?!1:(this.$handlers.splice(h,1),o.detach&&o.detach(this.$editor),!0)},c.prototype.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},c.prototype.getStatusText=function(){var o=this.$data,h=o.editor;return this.$handlers.map(function(d){return d.getStatusText&&d.getStatusText(h,o)||""}).filter(Boolean).join(" ")},c.prototype.$callKeyboardHandlers=function(o,h,d,u){for(var l,s=!1,r=this.$editor.commands,a=this.$handlers.length;a--&&(l=this.$handlers[a].handleKeyboard(this.$data,o,h,d,u),!(!(!l||!l.command)&&(l.command=="null"?s=!0:s=r.exec(l.command,this.$editor,l.args,u),s&&u&&o!=-1&&l.passEvent!=!0&&l.command.passEvent!=!0&&g.stopEvent(u),s))););return!s&&o==-1&&(l={command:"insertstring"},s=r.exec("insertstring",this.$editor,h)),s&&this.$editor._signal&&this.$editor._signal("keyboardActivity",l),s},c.prototype.onCommandKey=function(o,h,d){var u=f.keyCodeToString(d);return this.$callKeyboardHandlers(h,u,d,o)},c.prototype.onTextInput=function(o){return this.$callKeyboardHandlers(-1,o)},c})()}),ace.define("ace/lib/bidiutil",["require","exports","module"],function(t,n,m){"use strict";var f=0,g=0,c=!1,o=!1,h=!1,d=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],l=0,s=1,r=0,a=1,p=2,v=3,y=4,k=5,x=6,w=7,S=8,M=9,L=10,R=11,$=12,D=13,T=14,E=15,C=16,b=17,A=18,_=[A,A,A,A,A,A,A,A,A,x,k,x,S,k,A,A,A,A,A,A,A,A,A,A,A,A,A,A,k,k,k,x,S,y,y,R,R,R,y,y,y,y,y,L,M,L,M,M,p,p,p,p,p,p,p,p,p,p,M,y,y,y,y,y,y,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,y,y,y,y,y,y,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,y,y,y,y,A,A,A,A,A,A,k,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,M,y,R,R,R,R,y,y,y,y,r,y,y,A,y,y,R,R,p,p,y,r,y,y,y,p,r,y,y,y,y,y],O=[S,S,S,S,S,S,S,S,S,S,S,A,A,A,r,a,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,S,k,D,T,E,C,b,M,R,R,R,R,R,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,M,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,S];function I(P,B,W,H){var U=f?u:d,G=null,Y=null,q=null,X=0,le=null,Le=null,Ne=-1,he=null,Re=null,dr=[];if(!H)for(he=0,H=[];he<W;he++)H[he]=z(P[he]);for(g=f,c=!1,o=!1,h=!1,Re=0;Re<W;Re++){if(G=X,dr[Re]=Y=F(P,H,dr,Re),X=U[G][Y],le=X&240,X&=15,B[Re]=q=U[X][5],le>0)if(le==16){for(he=Ne;he<Re;he++)B[he]=1;Ne=-1}else Ne=-1;if(Le=U[X][6],Le)Ne==-1&&(Ne=Re);else if(Ne>-1){for(he=Ne;he<Re;he++)B[he]=q;Ne=-1}H[Re]==k&&(B[Re]=0),g|=q}if(h){for(he=0;he<W;he++)if(H[he]==x){B[he]=f;for(var Kt=he-1;Kt>=0&&H[Kt]==S;Kt--)B[Kt]=f}}}function N(P,B,W){if(!(g<P)){if(P==1&&f==s&&!o){W.reverse();return}for(var H=W.length,U=0,G,Y,q,X;U<H;){if(B[U]>=P){for(G=U+1;G<H&&B[G]>=P;)G++;for(Y=U,q=G-1;Y<q;Y++,q--)X=W[Y],W[Y]=W[q],W[q]=X;U=G}U++}}}function F(P,B,W,H){var U=B[H],G,Y,q,X;switch(U){case r:case a:c=!1;case y:case v:return U;case p:return c?v:p;case w:return c=!0,a;case S:return y;case M:return H<1||H+1>=B.length||(G=W[H-1])!=p&&G!=v||(Y=B[H+1])!=p&&Y!=v?y:(c&&(Y=v),Y==G?Y:y);case L:return G=H>0?W[H-1]:k,G==p&&H+1<B.length&&B[H+1]==p?p:y;case R:if(H>0&&W[H-1]==p)return p;if(c)return y;for(X=H+1,q=B.length;X<q&&B[X]==R;)X++;return X<q&&B[X]==p?p:y;case $:for(q=B.length,X=H+1;X<q&&B[X]==$;)X++;if(X<q){var le=P[H],Le=le>=1425&&le<=2303||le==64286;if(G=B[X],Le&&(G==a||G==w))return a}return H<1||(G=B[H-1])==k?y:W[H-1];case k:return c=!1,o=!0,f;case x:return h=!0,y;case D:case T:case C:case b:case E:c=!1;case A:return y}}function z(P){var B=P.charCodeAt(0),W=B>>8;return W==0?B>191?r:_[B]:W==5?/[\u0591-\u05f4]/.test(P)?a:r:W==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(P)?$:/[\u0660-\u0669\u066b-\u066c]/.test(P)?v:B==1642?R:/[\u06f0-\u06f9]/.test(P)?p:w:W==32&&B<=8287?O[B&255]:W==254&&B>=65136?w:y}n.L=r,n.R=a,n.EN=p,n.ON_R=3,n.AN=4,n.R_H=5,n.B=6,n.RLE=7,n.DOT="·",n.doBidiReorder=function(P,B,W){if(P.length<2)return{};var H=P.split(""),U=new Array(H.length),G=new Array(H.length),Y=[];f=W?s:l,I(H,Y,H.length,B);for(var q=0;q<U.length;U[q]=q,q++);N(2,Y,U),N(1,Y,U);for(var q=0;q<U.length-1;q++)B[q]===v?Y[q]=n.AN:Y[q]===a&&(B[q]>w&&B[q]<D||B[q]===y||B[q]===A)?Y[q]=n.ON_R:q>0&&H[q-1]==="ل"&&/\u0622|\u0623|\u0625|\u0627/.test(H[q])&&(Y[q-1]=Y[q]=n.R_H,q++);H[H.length-1]===n.DOT&&(Y[H.length-1]=n.B),H[0]==="‫"&&(Y[0]=n.RLE);for(var q=0;q<U.length;q++)G[q]=Y[U[q]];return{logicalFromVisual:U,bidiLevels:G}},n.hasBidiCharacters=function(P,B){for(var W=!1,H=0;H<P.length;H++)B[H]=z(P.charAt(H)),!W&&(B[H]==a||B[H]==w||B[H]==v)&&(W=!0);return W},n.getVisualFromLogicalIdx=function(P,B){for(var W=0;W<B.logicalFromVisual.length;W++)if(B.logicalFromVisual[W]==P)return W;return 0}}),ace.define("ace/bidihandler",["require","exports","module","ace/lib/bidiutil","ace/lib/lang"],function(t,n,m){"use strict";var f=t("./lib/bidiutil"),g=t("./lib/lang"),c=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\u202B]/;n.BidiHandler=(function(){function o(h){this.session=h,this.bidiMap={},this.currentRow=null,this.bidiUtil=f,this.charWidths=[],this.EOL="¬",this.showInvisibles=!0,this.isRtlDir=!1,this.$isRtl=!1,this.line="",this.wrapIndent=0,this.EOF="¶",this.RLE="‫",this.contentWidth=0,this.fontMetrics=null,this.rtlLineOffset=0,this.wrapOffset=0,this.isMoveLeftOperation=!1,this.seenBidi=c.test(h.getValue())}return o.prototype.isBidiRow=function(h,d,u){return this.seenBidi?(h!==this.currentRow&&(this.currentRow=h,this.updateRowLine(d,u),this.updateBidiMap()),this.bidiMap.bidiLevels):!1},o.prototype.onChange=function(h){this.seenBidi?this.currentRow=null:h.action=="insert"&&c.test(h.lines.join(`
1338
+ `;_!=this.lastValue&&(this.text.value=this.lastValue=_,this.lastSelectionStart=this.lastSelectionEnd=_.length)}if(this.afterContextMenu&&(this.lastSelectionStart=this.text.selectionStart,this.lastSelectionEnd=this.text.selectionEnd),this.lastSelectionEnd!=M||this.lastSelectionStart!=S||this.text.selectionEnd!=this.lastSelectionEnd)try{this.text.setSelectionRange(S,M),this.lastSelectionStart=S,this.lastSelectionEnd=M}catch{}this.inComposition=!1}},x.prototype.setHost=function(w){this.host=w},x.prototype.setNumberOfExtraLines=function(w){if(this.rowStart=Number.MAX_SAFE_INTEGER,this.rowEnd=Number.MIN_SAFE_INTEGER,w<0){this.numberOfExtraLines=0;return}this.numberOfExtraLines=w},x.prototype.setAriaLabel=function(){var w="";if(this.host.$textInputAriaLabel&&(w+="".concat(this.host.$textInputAriaLabel,", ")),this.host.session){var S=this.host.session.selection.cursor.row;w+=g("text-input.aria-label","Cursor at row $0",[S+1])}this.text.setAttribute("aria-label",w)},x.prototype.setAriaOptions=function(w){w.activeDescendant?(this.text.setAttribute("aria-haspopup","true"),this.text.setAttribute("aria-autocomplete",w.inline?"both":"list"),this.text.setAttribute("aria-activedescendant",w.activeDescendant)):(this.text.setAttribute("aria-haspopup","false"),this.text.setAttribute("aria-autocomplete","both"),this.text.removeAttribute("aria-activedescendant")),w.role&&this.text.setAttribute("role",w.role),w.setLabel&&(this.text.setAttribute("aria-roledescription",g("text-input.aria-roledescription","editor")),this.setAriaLabel())},x.prototype.focus=function(){var w=this;if(this.setAriaOptions({setLabel:this.host.renderer.enableKeyboardAccessibility}),this.tempStyle||s||this.$focusScroll=="browser")return this.text.focus({preventScroll:!0});var S=this.text.style.top;this.text.style.position="fixed",this.text.style.top="0px";try{var M=this.text.getBoundingClientRect().top!=0}catch{return}var L=[];if(M)for(var R=this.text.parentElement;R&&R.nodeType==1;)L.push(R),R.setAttribute("ace_nocontext","true"),!R.parentElement&&R.getRootNode?R=R.getRootNode().host:R=R.parentElement;this.text.focus({preventScroll:!0}),M&&L.forEach(function($){$.removeAttribute("ace_nocontext")}),setTimeout(function(){w.text.style.position="",w.text.style.top=="0px"&&(w.text.style.top=S)},0)},x.prototype.blur=function(){this.text.blur()},x.prototype.isFocused=function(){return this.$isFocused},x.prototype.setInputHandler=function(w){this.inputHandler=w},x.prototype.getInputHandler=function(){return this.inputHandler},x.prototype.getElement=function(){return this.text},x.prototype.setCommandMode=function(w){this.commandMode=w,this.text.readOnly=!1},x.prototype.setReadOnly=function(w){this.commandMode||(this.text.readOnly=w)},x.prototype.setCopyWithEmptySelection=function(w){},x.prototype.onContextMenu=function(w){this.afterContextMenu=!0,this.resetSelection(),this.host._emit("nativecontextmenu",{target:this.host,domEvent:w}),this.moveToMouse(w,!0)},x.prototype.moveToMouse=function(w,S){var M=this;this.tempStyle||(this.tempStyle=this.text.style.cssText),this.text.style.cssText=(S?"z-index:100000;":"")+(c.isIE?"opacity:0.1;":"")+"text-indent: -"+(this.lastSelectionStart+this.lastSelectionEnd)*this.host.renderer.characterWidth*.5+"px;";var L=this.host.container.getBoundingClientRect(),R=o.computedStyle(this.host.container),$=L.top+(parseInt(R.borderTopWidth)||0),D=L.left+(parseInt(R.borderLeftWidth)||0),T=L.bottom-$-this.text.clientHeight-2,E=function(C){o.translate(M.text,C.clientX-D-2,Math.min(C.clientY-$-2,T))};E(w),w.type=="mousedown"&&(this.host.renderer.$isMousePressed=!0,clearTimeout(this.closeTimeout),c.isWin&&f.capture(this.host.container,E,this.onContextMenuClose.bind(this)))},x.prototype.destroy=function(){this.text.parentElement&&this.text.parentElement.removeChild(this.text)},x})(),n.$setUserAgentForTests=function(x,w){k=x,v=w}}),ace.define("ace/mouse/default_handlers",["require","exports","module","ace/lib/useragent"],function(t,n,m){"use strict";var f=t("../lib/useragent"),g=0,c=550,o=(function(){function u(l){l.$clickSelection=null;var s=l.editor;s.setDefaultHandler("mousedown",this.onMouseDown.bind(l)),s.setDefaultHandler("dblclick",this.onDoubleClick.bind(l)),s.setDefaultHandler("tripleclick",this.onTripleClick.bind(l)),s.setDefaultHandler("quadclick",this.onQuadClick.bind(l)),s.setDefaultHandler("mousewheel",this.onMouseWheel.bind(l)),["select","startSelect","selectEnd","selectAllEnd","selectByWordsEnd","selectByLinesEnd","dragWait","dragWaitEnd","focusWait"].forEach(function(r){l[r]=this[r]},this),l.selectByLines=this.extendSelectionBy.bind(l,"getLineRange"),l.selectByWords=this.extendSelectionBy.bind(l,"getWordRange")}return u.prototype.onMouseDown=function(l){var s=l.inSelection(),r=l.getDocumentPosition();this.mousedownEvent=l;var a=this.editor,p=l.getButton();if(p!==0){(a.getSelectionRange().isEmpty()||p==1)&&a.selection.moveToPosition(r),p==2&&(a.textInput.onContextMenu(l.domEvent),f.isMozilla||l.preventDefault());return}if(this.mousedownEvent.time=Date.now(),s&&!a.isFocused()&&(a.focus(),this.$focusTimeout&&!this.$clickSelection&&!a.inMultiSelectMode)){this.setState("focusWait"),this.captureMouse(l);return}return this.captureMouse(l),this.startSelect(r,l.domEvent._clicks>1),l.preventDefault()},u.prototype.startSelect=function(l,s){l=l||this.editor.renderer.screenToTextCoordinates(this.x,this.y);var r=this.editor;this.mousedownEvent&&(this.mousedownEvent.getShiftKey()?r.selection.selectToPosition(l):s||r.selection.moveToPosition(l),s||this.select(),r.setStyle("ace_selecting"),this.setState("select"))},u.prototype.select=function(){var l,s=this.editor,r=s.renderer.screenToTextCoordinates(this.x,this.y);if(this.$clickSelection){var a=this.$clickSelection.comparePoint(r);if(a==-1)l=this.$clickSelection.end;else if(a==1)l=this.$clickSelection.start;else{var p=d(this.$clickSelection,r,s.session);r=p.cursor,l=p.anchor}s.selection.setSelectionAnchor(l.row,l.column)}s.selection.selectToPosition(r),s.renderer.scrollCursorIntoView()},u.prototype.extendSelectionBy=function(l){var s,r=this.editor,a=r.renderer.screenToTextCoordinates(this.x,this.y),p=r.selection[l](a.row,a.column);if(this.$clickSelection){var v=this.$clickSelection.comparePoint(p.start),y=this.$clickSelection.comparePoint(p.end);if(v==-1&&y<=0)s=this.$clickSelection.end,(p.end.row!=a.row||p.end.column!=a.column)&&(a=p.start);else if(y==1&&v>=0)s=this.$clickSelection.start,(p.start.row!=a.row||p.start.column!=a.column)&&(a=p.end);else if(v==-1&&y==1)a=p.end,s=p.start;else{var k=d(this.$clickSelection,a,r.session);a=k.cursor,s=k.anchor}r.selection.setSelectionAnchor(s.row,s.column)}r.selection.selectToPosition(a),r.renderer.scrollCursorIntoView()},u.prototype.selectByLinesEnd=function(){this.$clickSelection=null,this.editor.unsetStyle("ace_selecting")},u.prototype.focusWait=function(){(h(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y)>g||Date.now()-this.mousedownEvent.time>this.$focusTimeout)&&this.startSelect(this.mousedownEvent.getDocumentPosition())},u.prototype.onDoubleClick=function(l){var s=l.getDocumentPosition(),r=this.editor,a=r.session.getBracketRange(s);a?(a.isEmpty()&&(a.start.column--,a.end.column++),this.setState("select")):(a=r.selection.getWordRange(s.row,s.column),this.setState("selectByWords")),this.$clickSelection=a,this.select()},u.prototype.onTripleClick=function(l){var s=l.getDocumentPosition(),r=this.editor;this.setState("selectByLines");var a=r.getSelectionRange();a.isMultiLine()&&a.contains(s.row,s.column)?(this.$clickSelection=r.selection.getLineRange(a.start.row),this.$clickSelection.end=r.selection.getLineRange(a.end.row).end):this.$clickSelection=r.selection.getLineRange(s.row),this.select()},u.prototype.onQuadClick=function(l){var s=this.editor;s.selectAll(),this.$clickSelection=s.getSelectionRange(),this.setState("selectAll")},u.prototype.onMouseWheel=function(l){if(!l.getAccelKey()){l.getShiftKey()&&l.wheelY&&!l.wheelX&&(l.wheelX=l.wheelY,l.wheelY=0);var s=this.editor;this.$lastScroll||(this.$lastScroll={t:0,vx:0,vy:0,allowed:0});var r=this.$lastScroll,a=l.domEvent.timeStamp,p=a-r.t,v=p?l.wheelX/p:r.vx,y=p?l.wheelY/p:r.vy;p<c&&(v=(v+r.vx)/2,y=(y+r.vy)/2);var k=Math.abs(v/y),x=!1;if(k>=1&&s.renderer.isScrollableBy(l.wheelX*l.speed,0)&&(x=!0),k<=1&&s.renderer.isScrollableBy(0,l.wheelY*l.speed)&&(x=!0),x?r.allowed=a:a-r.allowed<c&&(Math.abs(v)<=1.5*Math.abs(r.vx)&&Math.abs(y)<=1.5*Math.abs(r.vy)?(x=!0,r.allowed=a):r.allowed=0),r.t=a,r.vx=v,r.vy=y,x)return s.renderer.scrollBy(l.wheelX*l.speed,l.wheelY*l.speed),l.stop()}},u})();o.prototype.selectEnd=o.prototype.selectByLinesEnd,o.prototype.selectAllEnd=o.prototype.selectByLinesEnd,o.prototype.selectByWordsEnd=o.prototype.selectByLinesEnd,n.DefaultHandlers=o;function h(u,l,s,r){return Math.sqrt(Math.pow(s-u,2)+Math.pow(r-l,2))}function d(u,l,s){if(u.start.row==u.end.row)var r=2*l.column-u.start.column-u.end.column;else if(u.start.row==u.end.row-1&&!u.start.column&&!u.end.column)var r=3*l.column-2*s.getLine(u.start.row).length;else var r=2*l.row-u.start.row-u.end.row;return r<0?{cursor:u.start,anchor:u.end}:{cursor:u.end,anchor:u.start}}}),ace.define("ace/mouse/mouse_event",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,n,m){"use strict";var f=t("../lib/event"),g=t("../lib/useragent");n.MouseEvent=(function(){function c(o,h){this.speed,this.wheelX,this.wheelY,this.domEvent=o,this.editor=h,this.x=this.clientX=o.clientX,this.y=this.clientY=o.clientY,this.$pos=null,this.$inSelection=null,this.propagationStopped=!1,this.defaultPrevented=!1}return c.prototype.stopPropagation=function(){f.stopPropagation(this.domEvent),this.propagationStopped=!0},c.prototype.preventDefault=function(){f.preventDefault(this.domEvent),this.defaultPrevented=!0},c.prototype.stop=function(){this.stopPropagation(),this.preventDefault()},c.prototype.getDocumentPosition=function(){return this.$pos?this.$pos:(this.$pos=this.editor.renderer.screenToTextCoordinates(this.clientX,this.clientY),this.$pos)},c.prototype.getGutterRow=function(){var o=this.getDocumentPosition().row;return this.editor.session.documentToScreenRow(o,0)-this.editor.session.documentToScreenRow(this.editor.renderer.$gutterLayer.$lines.get(0).row,0)},c.prototype.inSelection=function(){if(this.$inSelection!==null)return this.$inSelection;var o=this.editor.getSelectionRange();if(o.isEmpty())this.$inSelection=!1;else{var h=this.getDocumentPosition();this.$inSelection=o.contains(h.row,h.column)}return this.$inSelection},c.prototype.getButton=function(){return f.getButton(this.domEvent)},c.prototype.getShiftKey=function(){return this.domEvent.shiftKey},c.prototype.getAccelKey=function(){return g.isMac?this.domEvent.metaKey:this.domEvent.ctrlKey},c})()}),ace.define("ace/lib/scroll",["require","exports","module"],function(t,n,m){n.preventParentScroll=function(g){g.stopPropagation();var c=g.currentTarget;c.scrollHeight>c.clientHeight||g.preventDefault()}}),ace.define("ace/tooltip",["require","exports","module","ace/lib/dom","ace/lib/event","ace/range","ace/lib/scroll"],function(t,n,m){"use strict";var f=this&&this.__extends||(function(){var s=function(r,a){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(p[y]=v[y])},s(r,a)};return function(r,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");s(r,a);function p(){this.constructor=r}r.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)}})(),g=this&&this.__values||function(s){var r=typeof Symbol=="function"&&Symbol.iterator,a=r&&s[r],p=0;if(a)return a.call(s);if(s&&typeof s.length=="number")return{next:function(){return s&&p>=s.length&&(s=void 0),{value:s&&s[p++],done:!s}}};throw new TypeError(r?"Object is not iterable.":"Symbol.iterator is not defined.")},c=t("./lib/dom");t("./lib/event");var o=t("./range").Range,h=t("./lib/scroll").preventParentScroll,d="ace_tooltip",u=(function(){function s(r){this.isOpen=!1,this.$element=null,this.$parentNode=r}return s.prototype.$init=function(){return this.$element=c.createElement("div"),this.$element.className=d,this.$element.style.display="none",this.$parentNode.appendChild(this.$element),this.$element},s.prototype.getElement=function(){return this.$element||this.$init()},s.prototype.setText=function(r){this.getElement().textContent=r},s.prototype.setHtml=function(r){this.getElement().innerHTML=r},s.prototype.setPosition=function(r,a){this.getElement().style.left=r+"px",this.getElement().style.top=a+"px"},s.prototype.setClassName=function(r){c.addCssClass(this.getElement(),r)},s.prototype.setTheme=function(r){this.theme&&(this.theme.isDark&&c.removeCssClass(this.getElement(),"ace_dark"),this.theme.cssClass&&c.removeCssClass(this.getElement(),this.theme.cssClass)),r.isDark&&c.addCssClass(this.getElement(),"ace_dark"),r.cssClass&&c.addCssClass(this.getElement(),r.cssClass),this.theme={isDark:r.isDark,cssClass:r.cssClass}},s.prototype.show=function(r,a,p){r!=null&&this.setText(r),a!=null&&p!=null&&this.setPosition(a,p),this.isOpen||(this.getElement().style.display="block",this.isOpen=!0)},s.prototype.hide=function(r){this.isOpen&&(this.getElement().style.display="none",this.getElement().className=d,this.isOpen=!1)},s.prototype.getHeight=function(){return this.getElement().offsetHeight},s.prototype.getWidth=function(){return this.getElement().offsetWidth},s.prototype.destroy=function(){this.isOpen=!1,this.$element&&this.$element.parentNode&&this.$element.parentNode.removeChild(this.$element)},s})(),l=new((function(){function s(){this.popups=[]}return s.prototype.addPopup=function(r){this.popups.push(r),this.updatePopups()},s.prototype.removePopup=function(r){var a=this.popups.indexOf(r);a!==-1&&(this.popups.splice(a,1),this.updatePopups())},s.prototype.updatePopups=function(){var r,a,p,v;this.popups.sort(function($,D){return D.priority-$.priority});var y=[];try{for(var k=g(this.popups),x=k.next();!x.done;x=k.next()){var w=x.value,S=!0;try{for(var M=(p=void 0,g(y)),L=M.next();!L.done;L=M.next()){var R=L.value;if(this.doPopupsOverlap(R,w)){S=!1;break}}}catch($){p={error:$}}finally{try{L&&!L.done&&(v=M.return)&&v.call(M)}finally{if(p)throw p.error}}S?y.push(w):w.hide()}}catch($){r={error:$}}finally{try{x&&!x.done&&(a=k.return)&&a.call(k)}finally{if(r)throw r.error}}},s.prototype.doPopupsOverlap=function(r,a){var p=r.getElement().getBoundingClientRect(),v=a.getElement().getBoundingClientRect();return p.left<v.right&&p.right>v.left&&p.top<v.bottom&&p.bottom>v.top},s})());n.popupManager=l,n.Tooltip=u,n.HoverTooltip=(function(s){f(r,s);function r(a){a===void 0&&(a=document.body);var p=s.call(this,a)||this;p.timeout=void 0,p.lastT=0,p.idleTime=350,p.lastEvent=void 0,p.onMouseOut=p.onMouseOut.bind(p),p.onMouseMove=p.onMouseMove.bind(p),p.waitForHover=p.waitForHover.bind(p),p.hide=p.hide.bind(p);var v=p.getElement();return v.style.whiteSpace="pre-wrap",v.style.pointerEvents="auto",v.addEventListener("mouseout",p.onMouseOut),v.tabIndex=-1,v.addEventListener("blur",function(){v.contains(document.activeElement)||this.hide()}.bind(p)),v.addEventListener("wheel",h),p}return r.prototype.addToEditor=function(a){a.on("mousemove",this.onMouseMove),a.on("mousedown",this.hide);var p=a.renderer.getMouseEventTarget();p&&typeof p.removeEventListener=="function"&&p.addEventListener("mouseout",this.onMouseOut,!0)},r.prototype.removeFromEditor=function(a){a.off("mousemove",this.onMouseMove),a.off("mousedown",this.hide);var p=a.renderer.getMouseEventTarget();p&&typeof p.removeEventListener=="function"&&p.removeEventListener("mouseout",this.onMouseOut,!0),this.timeout&&(clearTimeout(this.timeout),this.timeout=null)},r.prototype.onMouseMove=function(a,p){this.lastEvent=a,this.lastT=Date.now();var v=p.$mouseHandler.isMousePressed;if(this.isOpen){var y=this.lastEvent&&this.lastEvent.getDocumentPosition();(!this.range||!this.range.contains(y.row,y.column)||v||this.isOutsideOfText(this.lastEvent))&&this.hide()}this.timeout||v||(this.lastEvent=a,this.timeout=setTimeout(this.waitForHover,this.idleTime))},r.prototype.waitForHover=function(){this.timeout&&clearTimeout(this.timeout);var a=Date.now()-this.lastT;if(this.idleTime-a>10){this.timeout=setTimeout(this.waitForHover,this.idleTime-a);return}this.timeout=null,this.lastEvent&&!this.isOutsideOfText(this.lastEvent)&&this.$gatherData(this.lastEvent,this.lastEvent.editor)},r.prototype.isOutsideOfText=function(a){var p=a.editor,v=a.getDocumentPosition(),y=p.session.getLine(v.row);if(v.column==y.length){var k=p.renderer.pixelToScreenCoordinates(a.clientX,a.clientY),x=p.session.documentToScreenPosition(v.row,v.column);if(x.column!=k.column||x.row!=k.row)return!0}return!1},r.prototype.setDataProvider=function(a){this.$gatherData=a},r.prototype.showForRange=function(a,p,v,y){if(!(y&&y!=this.lastEvent)&&!(this.isOpen&&document.activeElement==this.getElement())){var k=a.renderer;this.isOpen||(l.addPopup(this),this.$registerCloseEvents(),this.setTheme(k.theme)),this.isOpen=!0,this.range=o.fromPoints(p.start,p.end);var x=k.textToScreenCoordinates(p.start.row,p.start.column),w=k.scroller.getBoundingClientRect();x.pageX<w.left&&(x.pageX=w.left);var S=this.getElement();S.innerHTML="",S.appendChild(v),S.style.maxHeight="",S.style.display="block",this.$setPosition(a,x,!0,p),c.$fixPositionBug(S)}},r.prototype.$setPosition=function(a,p,v,y){var k=10;v&&this.addMarker(y,a.session);var x=a.renderer,w=this.getElement(),S=w.offsetHeight,M=w.offsetWidth,L=p.pageY,R=p.pageX,$=window.innerHeight-L-x.lineHeight,D=this.$shouldPlaceAbove(S,L,$-k);w.style.maxHeight=(D?L:$)-k+"px",w.style.top=D?"":L+x.lineHeight+"px",w.style.bottom=D?window.innerHeight-L+"px":"",w.style.left=Math.min(R,window.innerWidth-M-k)+"px"},r.prototype.$shouldPlaceAbove=function(a,p,v){return!(p-a<0&&p<v)},r.prototype.addMarker=function(a,p){this.marker&&this.$markerSession.removeMarker(this.marker),this.$markerSession=p,this.marker=p&&p.addMarker(a,"ace_highlight-marker","text")},r.prototype.hide=function(a){a&&this.$fromKeyboard&&a.type=="keydown"&&a.code=="Escape"||!a&&document.activeElement==this.getElement()||a&&a.target&&(a.type!="keydown"||a.ctrlKey||a.metaKey)&&this.$element.contains(a.target)||(this.lastEvent=null,this.timeout&&clearTimeout(this.timeout),this.timeout=null,this.addMarker(null),this.isOpen&&(this.$fromKeyboard=!1,this.$removeCloseEvents(),this.getElement().style.display="none",this.isOpen=!1,l.removePopup(this)))},r.prototype.$registerCloseEvents=function(){window.addEventListener("keydown",this.hide,!0),window.addEventListener("wheel",this.hide,!0),window.addEventListener("mousedown",this.hide,!0)},r.prototype.$removeCloseEvents=function(){window.removeEventListener("keydown",this.hide,!0),window.removeEventListener("wheel",this.hide,!0),window.removeEventListener("mousedown",this.hide,!0)},r.prototype.onMouseOut=function(a){this.timeout&&(clearTimeout(this.timeout),this.timeout=null),this.lastEvent=null,this.isOpen&&(!a.relatedTarget||this.getElement().contains(a.relatedTarget)||a&&a.currentTarget.contains(a.relatedTarget)||a.relatedTarget.classList.contains("ace_content")||this.hide())},r})(u)}),ace.define("ace/mouse/default_gutter_handler",["require","exports","module","ace/lib/dom","ace/mouse/mouse_event","ace/tooltip","ace/config","ace/range"],function(t,n,m){"use strict";var f=this&&this.__extends||(function(){var r=function(a,p){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(v[k]=y[k])},r(a,p)};return function(a,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");r(a,p);function v(){this.constructor=a}a.prototype=p===null?Object.create(p):(v.prototype=p.prototype,new v)}})(),g=this&&this.__values||function(r){var a=typeof Symbol=="function"&&Symbol.iterator,p=a&&r[a],v=0;if(p)return p.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&v>=r.length&&(r=void 0),{value:r&&r[v++],done:!r}}};throw new TypeError(a?"Object is not iterable.":"Symbol.iterator is not defined.")},c=t("../lib/dom"),o=t("./mouse_event").MouseEvent,h=t("../tooltip").HoverTooltip,d=t("../config").nls,u=t("../range").Range;function l(r){var a=r.editor,p=a.renderer.$gutterLayer;r.$tooltip=new s(a),r.$tooltip.addToEditor(a),r.$tooltip.setDataProvider(function(v,y){var k=v.getDocumentPosition().row;r.$tooltip.showTooltip(k)}),r.editor.setDefaultHandler("guttermousedown",function(v){if(!(!a.isFocused()||v.getButton()!=0)&&p.getRegion(v)!="foldWidgets"){var y=v.getDocumentPosition().row,k=a.session.selection;if(v.getShiftKey())k.selectTo(y,0);else{if(v.domEvent.detail==2)return a.selectAll(),v.preventDefault();r.$clickSelection=a.selection.getLineRange(y)}return r.setState("selectByLines"),r.captureMouse(v),v.preventDefault()}})}n.GutterHandler=l;var s=(function(r){f(a,r);function a(p){var v=r.call(this,p.container)||this;v.id="gt"+ ++a.$uid,v.editor=p,v.visibleTooltipRow;var y=v.getElement();return y.setAttribute("role","tooltip"),y.setAttribute("id",v.id),y.style.pointerEvents="auto",v.idleTime=50,v.onDomMouseMove=v.onDomMouseMove.bind(v),v.onDomMouseOut=v.onDomMouseOut.bind(v),v.setClassName("ace_gutter-tooltip"),v}return a.prototype.onDomMouseMove=function(p){var v=new o(p,this.editor);this.onMouseMove(v,this.editor)},a.prototype.onDomMouseOut=function(p){var v=new o(p,this.editor);this.onMouseOut(v)},a.prototype.addToEditor=function(p){var v=p.renderer.$gutter;v.addEventListener("mousemove",this.onDomMouseMove),v.addEventListener("mouseout",this.onDomMouseOut),r.prototype.addToEditor.call(this,p)},a.prototype.removeFromEditor=function(p){var v=p.renderer.$gutter;v.removeEventListener("mousemove",this.onDomMouseMove),v.removeEventListener("mouseout",this.onDomMouseOut),r.prototype.removeFromEditor.call(this,p)},a.prototype.destroy=function(){this.editor&&this.removeFromEditor(this.editor),r.prototype.destroy.call(this)},Object.defineProperty(a,"annotationLabels",{get:function(){return{error:{singular:d("gutter-tooltip.aria-label.error.singular","error"),plural:d("gutter-tooltip.aria-label.error.plural","errors")},security:{singular:d("gutter-tooltip.aria-label.security.singular","security finding"),plural:d("gutter-tooltip.aria-label.security.plural","security findings")},warning:{singular:d("gutter-tooltip.aria-label.warning.singular","warning"),plural:d("gutter-tooltip.aria-label.warning.plural","warnings")},info:{singular:d("gutter-tooltip.aria-label.info.singular","information message"),plural:d("gutter-tooltip.aria-label.info.plural","information messages")},hint:{singular:d("gutter-tooltip.aria-label.hint.singular","suggestion"),plural:d("gutter-tooltip.aria-label.hint.plural","suggestions")}}},enumerable:!1,configurable:!0}),a.prototype.showTooltip=function(p){var v,y=this.editor.renderer.$gutterLayer,k=y.$annotations[p],x;k?x={displayText:Array.from(k.displayText),type:Array.from(k.type)}:x={displayText:[],type:[]};var w=y.session.getFoldLine(p);if(w&&y.$showFoldedAnnotations){for(var S={error:[],security:[],warning:[],info:[],hint:[]},M={error:1,security:2,warning:3,info:4,hint:5},L,R=p+1;R<=w.end.row;R++)if(y.$annotations[R])for(var $=0;$<y.$annotations[R].text.length;$++){var D=y.$annotations[R].type[$];S[D].push(y.$annotations[R].text[$]),(!L||M[D]<M[L])&&(L=D)}if(["error","security","warning"].includes(L)){var T="".concat(a.annotationsToSummaryString(S)," in folded code.");x.displayText.push(T),x.type.push(L+"_fold")}}if(x.displayText.length===0)return this.hide();for(var E={error:[],security:[],warning:[],info:[],hint:[]},C=y.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",R=0;R<x.displayText.length;R++){var b=c.createElement("span"),A=c.createElement("span");(v=A.classList).add.apply(v,["ace_".concat(x.type[R]),C]),A.setAttribute("aria-label","".concat(a.annotationLabels[x.type[R].replace("_fold","")].singular)),A.setAttribute("role","img"),A.appendChild(c.createTextNode(" ")),b.appendChild(A),b.appendChild(c.createTextNode(x.displayText[R])),b.appendChild(c.createElement("br")),E[x.type[R].replace("_fold","")].push(b)}var _=c.createElement("span");E.error.forEach(function(N){return _.appendChild(N)}),E.security.forEach(function(N){return _.appendChild(N)}),E.warning.forEach(function(N){return _.appendChild(N)}),E.info.forEach(function(N){return _.appendChild(N)}),E.hint.forEach(function(N){return _.appendChild(N)}),_.setAttribute("aria-live","polite");var O=this.$findLinkedAnnotationNode(p);O&&O.setAttribute("aria-describedby",this.id);var I=u.fromPoints({row:p,column:0},{row:p,column:0});this.showForRange(this.editor,I,_),this.visibleTooltipRow=p,this.editor._signal("showGutterTooltip",this)},a.prototype.$setPosition=function(p,v,y,k){var x=this.$findCellByRow(k.start.row);if(x){var w=x&&x.element,S=w&&w.querySelector(".ace_gutter_annotation");if(S){var M=S.getBoundingClientRect();if(M){var L={pageX:M.right,pageY:M.top};return r.prototype.$setPosition.call(this,p,L,!1,k)}}}},a.prototype.$shouldPlaceAbove=function(p,v,y){return y<p},a.prototype.$findLinkedAnnotationNode=function(p){var v=this.$findCellByRow(p);if(v){var y=v.element;if(y.childNodes.length>2)return y.childNodes[2]}},a.prototype.$findCellByRow=function(p){return this.editor.renderer.$gutterLayer.$lines.cells.find(function(v){return v.row===p})},a.prototype.hide=function(p){if(this.isOpen){if(this.$element.removeAttribute("aria-live"),this.visibleTooltipRow!=null){var v=this.$findLinkedAnnotationNode(this.visibleTooltipRow);v&&v.removeAttribute("aria-describedby")}this.visibleTooltipRow=void 0,this.editor._signal("hideGutterTooltip",this),r.prototype.hide.call(this,p)}},a.annotationsToSummaryString=function(p){var v,y,k=[],x=["error","security","warning","info","hint"];try{for(var w=g(x),S=w.next();!S.done;S=w.next()){var M=S.value;if(p[M].length){var L=p[M].length===1?a.annotationLabels[M].singular:a.annotationLabels[M].plural;k.push("".concat(p[M].length," ").concat(L))}}}catch(R){v={error:R}}finally{try{S&&!S.done&&(y=w.return)&&y.call(w)}finally{if(v)throw v.error}}return k.join(", ")},a.prototype.isOutsideOfText=function(p){var v=p.editor.renderer.$gutter.getBoundingClientRect();return!(p.clientX>=v.left&&p.clientX<=v.right&&p.clientY>=v.top&&p.clientY<=v.bottom)},a})(h);s.$uid=0,n.GutterTooltip=s}),ace.define("ace/mouse/dragdrop_handler",["require","exports","module","ace/lib/dom","ace/lib/event","ace/lib/useragent"],function(t,n,m){"use strict";var f=t("../lib/dom"),g=t("../lib/event"),c=t("../lib/useragent"),o=200,h=200,d=5;function u(s){var r=s.editor,a=f.createElement("div");a.style.cssText="top:-100px;position:absolute;z-index:2147483647;opacity:0.5",a.textContent=" ",["dragWait","dragWaitEnd","startDrag","dragReadyEnd","onMouseDrag"].forEach(function(z){s[z]=this[z]},this),r.on("mousedown",this.onMouseDown.bind(s));var p=r.container,v,y,k,x,w,S,M=0,L,R,$,D,T;this.onDragStart=function(z){if(this.cancelDrag||!p.draggable){var P=this;return setTimeout(function(){P.startSelect(),P.captureMouse(z)},0),z.preventDefault()}w=r.getSelectionRange();var B=z.dataTransfer;B.effectAllowed=r.getReadOnly()?"copy":"copyMove",r.container.appendChild(a),B.setDragImage&&B.setDragImage(a,0,0),setTimeout(function(){r.container.removeChild(a)}),B.clearData(),B.setData("Text",r.session.getTextRange()),R=!0,this.setState("drag")},this.onDragEnd=function(z){if(p.draggable=!1,R=!1,this.setState(null),!r.getReadOnly()){var P=z.dataTransfer.dropEffect;!L&&P=="move"&&r.session.remove(r.getSelectionRange()),r.$resetCursorStyle()}this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle("")},this.onDragEnter=function(z){if(!(r.getReadOnly()||!N(z.dataTransfer)))return y=z.clientX,k=z.clientY,v||A(),M++,z.dataTransfer.dropEffect=L=F(z),g.preventDefault(z)},this.onDragOver=function(z){if(!(r.getReadOnly()||!N(z.dataTransfer)))return y=z.clientX,k=z.clientY,v||(A(),M++),O!==null&&(O=null),z.dataTransfer.dropEffect=L=F(z),g.preventDefault(z)},this.onDragLeave=function(z){if(M--,M<=0&&v)return _(),L=null,g.preventDefault(z)},this.onDrop=function(z){if(S){var P=z.dataTransfer;if(R)switch(L){case"move":w.contains(S.row,S.column)?w={start:S,end:S}:w=r.moveText(w,S);break;case"copy":w=r.moveText(w,S,!0);break}else{var B=P.getData("Text");w={start:S,end:r.session.insert(S,B)},r.focus(),L=null}return _(),g.preventDefault(z)}},g.addListener(p,"dragstart",this.onDragStart.bind(s),r),g.addListener(p,"dragend",this.onDragEnd.bind(s),r),g.addListener(p,"dragenter",this.onDragEnter.bind(s),r),g.addListener(p,"dragover",this.onDragOver.bind(s),r),g.addListener(p,"dragleave",this.onDragLeave.bind(s),r),g.addListener(p,"drop",this.onDrop.bind(s),r);function E(z,P){var B=Date.now(),W=!P||z.row!=P.row,H=!P||z.column!=P.column;!D||W||H?(r.moveCursorToPosition(z),D=B,T={x:y,y:k}):l(T.x,T.y,y,k)>d?D=null:B-D>=h&&(r.renderer.scrollCursorIntoView(),D=null)}function C(z,P){var B=Date.now(),W=r.renderer.layerConfig.lineHeight,H=r.renderer.layerConfig.characterWidth,U=r.renderer.scroller.getBoundingClientRect(),G={x:{left:y-U.left,right:U.right-y},y:{top:k-U.top,bottom:U.bottom-k}},Y=Math.min(G.x.left,G.x.right),q=Math.min(G.y.top,G.y.bottom),Q={row:z.row,column:z.column};Y/H<=2&&(Q.column+=G.x.left<G.x.right?-3:2),q/W<=1&&(Q.row+=G.y.top<G.y.bottom?-1:1);var se=z.row!=Q.row,Te=z.column!=Q.column,_e=!P||z.row!=P.row;se||Te&&!_e?$?B-$>=o&&r.renderer.scrollCursorIntoView(Q):$=B:$=null}function b(){var z=S;S=r.renderer.screenToTextCoordinates(y,k),E(S,z),C(S,z)}function A(){w=r.selection.toOrientedRange(),v=r.session.addMarker(w,"ace_selection",r.getSelectionStyle()),r.clearSelection(),r.isFocused()&&r.renderer.$cursorLayer.setBlinking(!1),clearInterval(x),b(),x=setInterval(b,20),M=0,g.addListener(document,"mousemove",I)}function _(){clearInterval(x),r.session.removeMarker(v),v=null,r.selection.fromOrientedRange(w),r.isFocused()&&!R&&r.$resetCursorStyle(),w=null,S=null,M=0,$=null,D=null,g.removeListener(document,"mousemove",I)}var O=null;function I(){O==null&&(O=setTimeout(function(){O!=null&&v&&_()},20))}function N(z){var P=z.types;return!P||Array.prototype.some.call(P,function(B){return B=="text/plain"||B=="Text"})}function F(z){var P=["copy","copymove","all","uninitialized"],B=["move","copymove","linkmove","all","uninitialized"],W=c.isMac?z.altKey:z.ctrlKey,H="uninitialized";try{H=z.dataTransfer.effectAllowed.toLowerCase()}catch{}var U="none";return W&&P.indexOf(H)>=0?U="copy":B.indexOf(H)>=0?U="move":P.indexOf(H)>=0&&(U="copy"),U}}(function(){this.dragWait=function(){Date.now()-this.mousedownEvent.time>this.editor.getDragDelay()&&this.startDrag()},this.dragWaitEnd=function(){var s=this.editor.container;s.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()),this.selectEnd()},this.dragReadyEnd=function(s){this.editor.$resetCursorStyle(),this.editor.unsetStyle("ace_dragging"),this.editor.renderer.setCursorStyle(""),this.dragWaitEnd()},this.startDrag=function(){this.cancelDrag=!1;var s=this.editor,r=s.container;r.draggable=!0,s.renderer.$cursorLayer.setBlinking(!1),s.setStyle("ace_dragging");var a=c.isWin?"default":"move";s.renderer.setCursorStyle(a),this.setState("dragReady")},this.onMouseDrag=function(s){var r=this.editor.container;if(c.isIE&&this.state=="dragReady"){var a=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);a>3&&r.dragDrop()}if(this.state==="dragWait"){var a=l(this.mousedownEvent.x,this.mousedownEvent.y,this.x,this.y);a>0&&(r.draggable=!1,this.startSelect(this.mousedownEvent.getDocumentPosition()))}},this.onMouseDown=function(s){if(this.$dragEnabled){this.mousedownEvent=s;var r=this.editor,a=s.inSelection(),p=s.getButton();if((s.domEvent.detail||1)===1&&p===0&&a){if(s.editor.inMultiSelectMode&&(s.getAccelKey()||s.getShiftKey()))return;this.mousedownEvent.time=Date.now();var v=s.domEvent.target||s.domEvent.srcElement;if("unselectable"in v&&(v.unselectable="on"),r.getDragDelay()){if(c.isWebKit){this.cancelDrag=!0;var y=r.container;y.draggable=!0}this.setState("dragWait")}else this.startDrag();this.captureMouse(s,this.onMouseDrag.bind(this)),s.defaultPrevented=!0}}}}).call(u.prototype);function l(s,r,a,p){return Math.sqrt(Math.pow(a-s,2)+Math.pow(p-r,2))}n.DragdropHandler=u}),ace.define("ace/mouse/touch_handler",["require","exports","module","ace/mouse/mouse_event","ace/lib/event","ace/lib/dom"],function(t,n,m){"use strict";var f=t("./mouse_event").MouseEvent,g=t("../lib/event"),c=t("../lib/dom");n.addTouchListeners=function(o,h){var d="scroll",u,l,s,r,a,p,v=0,y,k=0,x=0,w=0,S,M;function L(){var C=window.navigator&&window.navigator.clipboard,b=!1,A=function(){var I=h.getCopyText(),N=h.session.getUndoManager().hasUndo();M.replaceChild(c.buildDom(b?["span",!I&&_("selectall")&&["span",{class:"ace_mobile-button",action:"selectall"},"Select All"],I&&_("copy")&&["span",{class:"ace_mobile-button",action:"copy"},"Copy"],I&&_("cut")&&["span",{class:"ace_mobile-button",action:"cut"},"Cut"],C&&_("paste")&&["span",{class:"ace_mobile-button",action:"paste"},"Paste"],N&&_("undo")&&["span",{class:"ace_mobile-button",action:"undo"},"Undo"],_("find")&&["span",{class:"ace_mobile-button",action:"find"},"Find"],_("openCommandPalette")&&["span",{class:"ace_mobile-button",action:"openCommandPalette"},"Palette"]]:["span"]),M.firstChild)},_=function(I){return h.commands.canExecute(I,h)},O=function(I){var N=I.target.getAttribute("action");if(N=="more"||!b)return b=!b,A();N=="paste"?C.readText().then(function(F){h.execCommand(N,F)}):N&&((N=="cut"||N=="copy")&&(C?C.writeText(h.getCopyText()):document.execCommand("copy")),h.execCommand(N)),M.firstChild.style.display="none",b=!1,N!="openCommandPalette"&&h.focus()};M=c.buildDom(["div",{class:"ace_mobile-menu",onclick:O},["span"],["span",{class:"ace_mobile-button",action:"more"},"..."]],h.container),M.addEventListener("touchstart",function(I){d="menu",I.stopPropagation(),I.preventDefault(),h.textInput.focus()}),M.addEventListener("touchend",function(I){I.stopPropagation(),I.preventDefault(),O(I)})}function R(){if(!h.getOption("enableMobileMenu")){M&&$();return}M||L();var C=h.selection.cursor,b=h.renderer.textToScreenCoordinates(C.row,C.column),A=h.renderer.textToScreenCoordinates(0,0).pageX,_=h.renderer.scrollLeft,O=h.container.getBoundingClientRect();M.style.top=b.pageY-O.top-3+"px",b.pageX-O.left<O.width-70?(M.style.left="",M.style.right="10px"):(M.style.right="",M.style.left=A+_-O.left+"px"),M.style.display="",M.firstChild.style.display="none",h.on("input",$)}function $(C){M&&(M.style.display="none"),h.off("input",$)}function D(){a=null,clearTimeout(a);var C=h.selection.getRange(),b=C.contains(y.row,y.column);(C.isEmpty()||!b)&&(h.selection.moveToPosition(y),h.selection.selectWord()),d="wait",R()}function T(){a=null,clearTimeout(a),h.selection.moveToPosition(y);var C=k>=2?h.selection.getLineRange(y.row):h.session.getBracketRange(y);C&&!C.isEmpty()?h.selection.setRange(C):h.selection.selectWord(),d="wait"}g.addListener(o,"contextmenu",function(C){S&&h.textInput.getElement().focus()},h),g.addListener(o,"touchstart",function(C){var b=C.touches;if(a||b.length>1){clearTimeout(a),a=null,s=-1,d="zoom";return}S=h.$mouseHandler.isMousePressed=!0;var A=h.renderer.layerConfig.lineHeight,_=h.renderer.layerConfig.lineHeight,O=C.timeStamp;r=O;var I=b[0],N=I.clientX,F=I.clientY;if(Math.abs(u-N)+Math.abs(l-F)>A&&(s=-1),u=C.clientX=N,l=C.clientY=F,x=w=0,y=new f(C,h).getDocumentPosition(),O-s<500&&b.length==1&&!v)k++,C.preventDefault(),C.button=0,T();else{k=0;var z=h.selection.cursor,P=h.selection.isEmpty()?z:h.selection.anchor,B=h.renderer.$cursorLayer.getPixelPosition(z,!0),W=h.renderer.$cursorLayer.getPixelPosition(P,!0),H=h.renderer.scroller.getBoundingClientRect(),U=h.renderer.layerConfig.offset,G=h.renderer.scrollLeft,Y=function(se,Te){return se=se/_,Te=Te/A-.75,se*se+Te*Te};if(C.clientX<H.left){d="zoom";return}var q=Y(C.clientX-H.left-B.left+G,C.clientY-H.top-B.top+U),Q=Y(C.clientX-H.left-W.left+G,C.clientY-H.top-W.top+U);q<3.5&&Q<3.5&&(d=q>Q?"cursor":"anchor"),Q<3.5?d="anchor":q<3.5?d="cursor":d="scroll",a=setTimeout(D,450)}s=O},h),g.addListener(o,"touchend",function(C){S=h.$mouseHandler.isMousePressed=!1,p&&clearInterval(p),d=="zoom"?(d="",v=0):a?(h.selection.moveToPosition(y),v=0,R()):d=="scroll"?(E(),$()):R(),clearTimeout(a),a=null},h),g.addListener(o,"touchmove",function(C){a&&(clearTimeout(a),a=null);var b=C.touches;if(!(b.length>1||d=="zoom")){var A=b[0],_=u-A.clientX,O=l-A.clientY;if(d=="wait")if(_*_+O*O>4)d="cursor";else return C.preventDefault();u=A.clientX,l=A.clientY,C.clientX=A.clientX,C.clientY=A.clientY;var I=C.timeStamp,N=I-r;if(r=I,d=="scroll"){var F=new f(C,h);F.speed=1,F.wheelX=_,F.wheelY=O,10*Math.abs(_)<Math.abs(O)&&(_=0),10*Math.abs(O)<Math.abs(_)&&(O=0),N!=0&&(x=_/N,w=O/N),h._emit("mousewheel",F),F.propagationStopped||(x=w=0)}else{var z=new f(C,h).getDocumentPosition();d=="cursor"?h.selection.moveCursorToPosition(z):d=="anchor"&&h.selection.setSelectionAnchor(z.row,z.column),h.renderer.scrollCursorIntoView(z),C.preventDefault()}}},h);function E(){v+=60,p=setInterval(function(){v--<=0&&(clearInterval(p),p=null),Math.abs(x)<.01&&(x=0),Math.abs(w)<.01&&(w=0),v<20&&(x=.9*x),v<20&&(w=.9*w);var C=h.session.getScrollTop();h.renderer.scrollBy(10*x,10*w),C==h.session.getScrollTop()&&(v=0)},10)}}}),ace.define("ace/mouse/mouse_handler",["require","exports","module","ace/lib/event","ace/lib/useragent","ace/mouse/default_handlers","ace/mouse/default_gutter_handler","ace/mouse/mouse_event","ace/mouse/dragdrop_handler","ace/mouse/touch_handler","ace/config"],function(t,n,m){"use strict";var f=t("../lib/event"),g=t("../lib/useragent"),c=t("./default_handlers").DefaultHandlers,o=t("./default_gutter_handler").GutterHandler,h=t("./mouse_event").MouseEvent,d=t("./dragdrop_handler").DragdropHandler,u=t("./touch_handler").addTouchListeners,l=t("../config"),s=(function(){function r(a){this.$dragDelay,this.$dragEnabled,this.$mouseMoved,this.mouseEvent,this.$focusTimeout;var p=this;this.editor=a,new c(this),new o(this),new d(this);var v=function(x){(!document.hasFocus||!document.hasFocus()||!a.isFocused()&&document.activeElement==(a.textInput&&a.textInput.getElement()))&&window.focus(),a.focus(),setTimeout(function(){a.isFocused()||a.focus()})},y=a.renderer.getMouseEventTarget();f.addListener(y,"click",this.onMouseEvent.bind(this,"click"),a),f.addListener(y,"mousemove",this.onMouseMove.bind(this,"mousemove"),a),f.addMultiMouseDownListener([y,a.renderer.scrollBarV&&a.renderer.scrollBarV.inner,a.renderer.scrollBarH&&a.renderer.scrollBarH.inner,a.textInput&&a.textInput.getElement()].filter(Boolean),[400,300,250],this,"onMouseEvent",a),f.addMouseWheelListener(a.container,this.onMouseWheel.bind(this,"mousewheel"),a),u(a.container,a);var k=a.renderer.$gutter;f.addListener(k,"mousedown",this.onMouseEvent.bind(this,"guttermousedown"),a),f.addListener(k,"click",this.onMouseEvent.bind(this,"gutterclick"),a),f.addListener(k,"dblclick",this.onMouseEvent.bind(this,"gutterdblclick"),a),f.addListener(k,"mousemove",this.onMouseEvent.bind(this,"guttermousemove"),a),f.addListener(y,"mousedown",v,a),f.addListener(k,"mousedown",v,a),g.isIE&&a.renderer.scrollBarV&&(f.addListener(a.renderer.scrollBarV.element,"mousedown",v,a),f.addListener(a.renderer.scrollBarH.element,"mousedown",v,a)),a.on("mousemove",function(x){if(!(p.state||p.$dragDelay||!p.$dragEnabled)){var w=a.renderer.screenToTextCoordinates(x.x,x.y),S=a.session.selection.getRange(),M=a.renderer;!S.isEmpty()&&S.insideStart(w.row,w.column)?M.setCursorStyle("default"):M.setCursorStyle("")}},a)}return r.prototype.onMouseEvent=function(a,p){this.editor.session&&this.editor._emit(a,new h(p,this.editor))},r.prototype.onMouseMove=function(a,p){var v=this.editor._eventRegistry&&this.editor._eventRegistry.mousemove;!v||!v.length||this.editor._emit(a,new h(p,this.editor))},r.prototype.onMouseWheel=function(a,p){var v=new h(p,this.editor);v.speed=this.$scrollSpeed*2,v.wheelX=p.wheelX,v.wheelY=p.wheelY,this.editor._emit(a,v)},r.prototype.setState=function(a){this.state=a},r.prototype.captureMouse=function(a,p){this.x=a.x,this.y=a.y,this.isMousePressed=!0;var v=this.editor,y=this.editor.renderer;y.$isMousePressed=!0;var k=this,x=!0,w=function($){if($){if(g.isWebKit&&!$.which&&k.releaseMouse)return k.releaseMouse();k.x=$.clientX,k.y=$.clientY,p&&p($),k.mouseEvent=new h($,k.editor),k.$mouseMoved=!0}},S=function($){v.off("beforeEndOperation",R),x=!1,v.session&&M(),k[k.state+"End"]&&k[k.state+"End"]($),k.state="",k.isMousePressed=y.$isMousePressed=!1,y.$keepTextAreaAtCursor&&y.$moveTextAreaToCursor(),k.$onCaptureMouseMove=k.releaseMouse=null,$&&k.onMouseEvent("mouseup",$),v.endOperation()},M=function(){k[k.state]&&k[k.state](),k.$mouseMoved=!1},L=function(){x&&(M(),f.nextFrame(L))};if(g.isOldIE&&a.domEvent.type=="dblclick")return setTimeout(function(){S(a)});var R=function($){k.releaseMouse&&v.curOp.command.name&&v.curOp.selectionChanged&&(k[k.state+"End"]&&k[k.state+"End"](),k.state="",k.releaseMouse())};v.on("beforeEndOperation",R),v.startOperation({command:{name:"mouse"}}),k.$onCaptureMouseMove=w,k.releaseMouse=f.capture(this.editor.container,w,S),L()},r.prototype.cancelContextMenu=function(){var a=function(p){p&&p.domEvent&&p.domEvent.type!="contextmenu"||(this.editor.off("nativecontextmenu",a),p&&p.domEvent&&f.stopEvent(p.domEvent))}.bind(this);setTimeout(a,10),this.editor.on("nativecontextmenu",a)},r.prototype.destroy=function(){this.releaseMouse&&this.releaseMouse(),this.$tooltip&&this.$tooltip.destroy()},r})();s.prototype.releaseMouse=null,l.defineOptions(s.prototype,"mouseHandler",{scrollSpeed:{initialValue:2},dragDelay:{initialValue:g.isMac?150:0},dragEnabled:{initialValue:!0},focusTimeout:{initialValue:0}}),n.MouseHandler=s}),ace.define("ace/mouse/fold_handler",["require","exports","module","ace/lib/dom"],function(t,n,m){"use strict";var f=t("../lib/dom");n.FoldHandler=(function(){function g(c){c.on("click",function(o){var h=o.getDocumentPosition(),d=c.session,u=d.getFoldAt(h.row,h.column,1);u&&(o.getAccelKey()?d.removeFold(u):d.expandFold(u),o.stop());var l=o.domEvent&&o.domEvent.target;l&&f.hasCssClass(l,"ace_inline_button")&&f.hasCssClass(l,"ace_toggle_wrap")&&(d.setOption("wrap",!d.getUseWrapMode()),c.renderer.scrollCursorIntoView())}),c.on("gutterclick",function(o){if(c.renderer.$gutterLayer.getRegion(o)=="foldWidgets"){var h=o.getDocumentPosition().row,d=c.session;d.foldWidgets&&d.foldWidgets[h]&&c.session.onFoldWidgetClick(h,o),c.isFocused()||c.focus(),o.stop()}}),c.on("gutterdblclick",function(o){if(c.renderer.$gutterLayer.getRegion(o)=="foldWidgets"){var h=o.getDocumentPosition().row,d=c.session,u=d.getParentFoldRangeData(h,!0),l=u.range||u.firstRange;if(l){h=l.start.row;var s=d.getFoldAt(h,d.getLine(h).length,1);s?d.removeFold(s):(d.addFold("...",l),c.renderer.scrollCursorIntoView({row:l.start.row,column:0}))}o.stop()}})}return g})()}),ace.define("ace/keyboard/keybinding",["require","exports","module","ace/lib/keys","ace/lib/event"],function(t,n,m){"use strict";var f=t("../lib/keys"),g=t("../lib/event");n.KeyBinding=(function(){function c(o){this.$editor=o,this.$data={editor:o},this.$handlers=[],this.setDefaultHandler(o.commands)}return c.prototype.setDefaultHandler=function(o){this.removeKeyboardHandler(this.$defaultHandler),this.$defaultHandler=o,this.addKeyboardHandler(o,0)},c.prototype.setKeyboardHandler=function(o){var h=this.$handlers;if(h[h.length-1]!=o){for(;h[h.length-1]&&h[h.length-1]!=this.$defaultHandler;)this.removeKeyboardHandler(h[h.length-1]);this.addKeyboardHandler(o,1)}},c.prototype.addKeyboardHandler=function(o,h){if(o){typeof o=="function"&&!o.handleKeyboard&&(o.handleKeyboard=o);var d=this.$handlers.indexOf(o);d!=-1&&this.$handlers.splice(d,1),h==null?this.$handlers.push(o):this.$handlers.splice(h,0,o),d==-1&&o.attach&&o.attach(this.$editor)}},c.prototype.removeKeyboardHandler=function(o){var h=this.$handlers.indexOf(o);return h==-1?!1:(this.$handlers.splice(h,1),o.detach&&o.detach(this.$editor),!0)},c.prototype.getKeyboardHandler=function(){return this.$handlers[this.$handlers.length-1]},c.prototype.getStatusText=function(){var o=this.$data,h=o.editor;return this.$handlers.map(function(d){return d.getStatusText&&d.getStatusText(h,o)||""}).filter(Boolean).join(" ")},c.prototype.$callKeyboardHandlers=function(o,h,d,u){for(var l,s=!1,r=this.$editor.commands,a=this.$handlers.length;a--&&(l=this.$handlers[a].handleKeyboard(this.$data,o,h,d,u),!(!(!l||!l.command)&&(l.command=="null"?s=!0:s=r.exec(l.command,this.$editor,l.args,u),s&&u&&o!=-1&&l.passEvent!=!0&&l.command.passEvent!=!0&&g.stopEvent(u),s))););return!s&&o==-1&&(l={command:"insertstring"},s=r.exec("insertstring",this.$editor,h)),s&&this.$editor._signal&&this.$editor._signal("keyboardActivity",l),s},c.prototype.onCommandKey=function(o,h,d){var u=f.keyCodeToString(d);return this.$callKeyboardHandlers(h,u,d,o)},c.prototype.onTextInput=function(o){return this.$callKeyboardHandlers(-1,o)},c})()}),ace.define("ace/lib/bidiutil",["require","exports","module"],function(t,n,m){"use strict";var f=0,g=0,c=!1,o=!1,h=!1,d=[[0,3,0,1,0,0,0],[0,3,0,1,2,2,0],[0,3,0,17,2,0,1],[0,3,5,5,4,1,0],[0,3,21,21,4,0,1],[0,3,5,5,4,2,0]],u=[[2,0,1,1,0,1,0],[2,0,1,1,0,2,0],[2,0,2,1,3,2,0],[2,0,2,33,3,1,1]],l=0,s=1,r=0,a=1,p=2,v=3,y=4,k=5,x=6,w=7,S=8,M=9,L=10,R=11,$=12,D=13,T=14,E=15,C=16,b=17,A=18,_=[A,A,A,A,A,A,A,A,A,x,k,x,S,k,A,A,A,A,A,A,A,A,A,A,A,A,A,A,k,k,k,x,S,y,y,R,R,R,y,y,y,y,y,L,M,L,M,M,p,p,p,p,p,p,p,p,p,p,M,y,y,y,y,y,y,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,y,y,y,y,y,y,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,r,y,y,y,y,A,A,A,A,A,A,k,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,A,M,y,R,R,R,R,y,y,y,y,r,y,y,A,y,y,R,R,p,p,y,r,y,y,y,p,r,y,y,y,y,y],O=[S,S,S,S,S,S,S,S,S,S,S,A,A,A,r,a,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,S,k,D,T,E,C,b,M,R,R,R,R,R,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,M,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,y,S];function I(P,B,W,H){var U=f?u:d,G=null,Y=null,q=null,Q=0,se=null,Te=null,_e=-1,ue=null,Me=null,Xn=[];if(!H)for(ue=0,H=[];ue<W;ue++)H[ue]=z(P[ue]);for(g=f,c=!1,o=!1,h=!1,Me=0;Me<W;Me++){if(G=Q,Xn[Me]=Y=F(P,H,Xn,Me),Q=U[G][Y],se=Q&240,Q&=15,B[Me]=q=U[Q][5],se>0)if(se==16){for(ue=_e;ue<Me;ue++)B[ue]=1;_e=-1}else _e=-1;if(Te=U[Q][6],Te)_e==-1&&(_e=Me);else if(_e>-1){for(ue=_e;ue<Me;ue++)B[ue]=q;_e=-1}H[Me]==k&&(B[Me]=0),g|=q}if(h){for(ue=0;ue<W;ue++)if(H[ue]==x){B[ue]=f;for(var zt=ue-1;zt>=0&&H[zt]==S;zt--)B[zt]=f}}}function N(P,B,W){if(!(g<P)){if(P==1&&f==s&&!o){W.reverse();return}for(var H=W.length,U=0,G,Y,q,Q;U<H;){if(B[U]>=P){for(G=U+1;G<H&&B[G]>=P;)G++;for(Y=U,q=G-1;Y<q;Y++,q--)Q=W[Y],W[Y]=W[q],W[q]=Q;U=G}U++}}}function F(P,B,W,H){var U=B[H],G,Y,q,Q;switch(U){case r:case a:c=!1;case y:case v:return U;case p:return c?v:p;case w:return c=!0,a;case S:return y;case M:return H<1||H+1>=B.length||(G=W[H-1])!=p&&G!=v||(Y=B[H+1])!=p&&Y!=v?y:(c&&(Y=v),Y==G?Y:y);case L:return G=H>0?W[H-1]:k,G==p&&H+1<B.length&&B[H+1]==p?p:y;case R:if(H>0&&W[H-1]==p)return p;if(c)return y;for(Q=H+1,q=B.length;Q<q&&B[Q]==R;)Q++;return Q<q&&B[Q]==p?p:y;case $:for(q=B.length,Q=H+1;Q<q&&B[Q]==$;)Q++;if(Q<q){var se=P[H],Te=se>=1425&&se<=2303||se==64286;if(G=B[Q],Te&&(G==a||G==w))return a}return H<1||(G=B[H-1])==k?y:W[H-1];case k:return c=!1,o=!0,f;case x:return h=!0,y;case D:case T:case C:case b:case E:c=!1;case A:return y}}function z(P){var B=P.charCodeAt(0),W=B>>8;return W==0?B>191?r:_[B]:W==5?/[\u0591-\u05f4]/.test(P)?a:r:W==6?/[\u0610-\u061a\u064b-\u065f\u06d6-\u06e4\u06e7-\u06ed]/.test(P)?$:/[\u0660-\u0669\u066b-\u066c]/.test(P)?v:B==1642?R:/[\u06f0-\u06f9]/.test(P)?p:w:W==32&&B<=8287?O[B&255]:W==254&&B>=65136?w:y}n.L=r,n.R=a,n.EN=p,n.ON_R=3,n.AN=4,n.R_H=5,n.B=6,n.RLE=7,n.DOT="·",n.doBidiReorder=function(P,B,W){if(P.length<2)return{};var H=P.split(""),U=new Array(H.length),G=new Array(H.length),Y=[];f=W?s:l,I(H,Y,H.length,B);for(var q=0;q<U.length;U[q]=q,q++);N(2,Y,U),N(1,Y,U);for(var q=0;q<U.length-1;q++)B[q]===v?Y[q]=n.AN:Y[q]===a&&(B[q]>w&&B[q]<D||B[q]===y||B[q]===A)?Y[q]=n.ON_R:q>0&&H[q-1]==="ل"&&/\u0622|\u0623|\u0625|\u0627/.test(H[q])&&(Y[q-1]=Y[q]=n.R_H,q++);H[H.length-1]===n.DOT&&(Y[H.length-1]=n.B),H[0]==="‫"&&(Y[0]=n.RLE);for(var q=0;q<U.length;q++)G[q]=Y[U[q]];return{logicalFromVisual:U,bidiLevels:G}},n.hasBidiCharacters=function(P,B){for(var W=!1,H=0;H<P.length;H++)B[H]=z(P.charAt(H)),!W&&(B[H]==a||B[H]==w||B[H]==v)&&(W=!0);return W},n.getVisualFromLogicalIdx=function(P,B){for(var W=0;W<B.logicalFromVisual.length;W++)if(B.logicalFromVisual[W]==P)return W;return 0}}),ace.define("ace/bidihandler",["require","exports","module","ace/lib/bidiutil","ace/lib/lang"],function(t,n,m){"use strict";var f=t("./lib/bidiutil"),g=t("./lib/lang"),c=/[\u0590-\u05f4\u0600-\u06ff\u0700-\u08ac\u202B]/;n.BidiHandler=(function(){function o(h){this.session=h,this.bidiMap={},this.currentRow=null,this.bidiUtil=f,this.charWidths=[],this.EOL="¬",this.showInvisibles=!0,this.isRtlDir=!1,this.$isRtl=!1,this.line="",this.wrapIndent=0,this.EOF="¶",this.RLE="‫",this.contentWidth=0,this.fontMetrics=null,this.rtlLineOffset=0,this.wrapOffset=0,this.isMoveLeftOperation=!1,this.seenBidi=c.test(h.getValue())}return o.prototype.isBidiRow=function(h,d,u){return this.seenBidi?(h!==this.currentRow&&(this.currentRow=h,this.updateRowLine(d,u),this.updateBidiMap()),this.bidiMap.bidiLevels):!1},o.prototype.onChange=function(h){this.seenBidi?this.currentRow=null:h.action=="insert"&&c.test(h.lines.join(`
1339
1339
  `))&&(this.seenBidi=!0,this.currentRow=null)},o.prototype.getDocumentRow=function(){var h=0,d=this.session.$screenRowCache;if(d.length){var u=this.session.$getRowCacheIndex(d,this.currentRow);u>=0&&(h=this.session.$docRowCache[u])}return h},o.prototype.getSplitIndex=function(){var h=0,d=this.session.$screenRowCache;if(d.length)for(var u,l=this.session.$getRowCacheIndex(d,this.currentRow);this.currentRow-h>0&&(u=this.session.$getRowCacheIndex(d,this.currentRow-h-1),u===l);)l=u,h++;else h=this.currentRow;return h},o.prototype.updateRowLine=function(h,d){h===void 0&&(h=this.getDocumentRow());var u=h===this.session.getLength()-1?this.EOF:this.EOL;if(this.wrapIndent=0,this.line=this.session.getLine(h),this.isRtlDir=this.$isRtl||this.line.charAt(0)===this.RLE,this.session.$useWrapMode){var l=this.session.$wrapData[h];l&&(d===void 0&&(d=this.getSplitIndex()),d>0&&l.length?(this.wrapIndent=l.indent,this.wrapOffset=this.wrapIndent*this.charWidths[f.L],this.line=d<l.length?this.line.substring(l[d-1],l[d]):this.line.substring(l[l.length-1])):this.line=this.line.substring(0,l[d]),d==l.length&&(this.line+=this.showInvisibles?u:f.DOT))}else this.line+=this.showInvisibles?u:f.DOT;var s=this.session,r=0,a;this.line=this.line.replace(/\t|[\u1100-\u2029, \u202F-\uFFE6]/g,function(p,v){return p===" "||s.isFullWidth(p.charCodeAt(0))?(a=p===" "?s.getScreenTabSize(v+r):2,r+=a-1,g.stringRepeat(f.DOT,a)):p}),this.isRtlDir&&(this.fontMetrics.$main.textContent=this.line.charAt(this.line.length-1)==f.DOT?this.line.substr(0,this.line.length-1):this.line,this.rtlLineOffset=this.contentWidth-this.fontMetrics.$main.getBoundingClientRect().width)},o.prototype.updateBidiMap=function(){var h=[];f.hasBidiCharacters(this.line,h)||this.isRtlDir?this.bidiMap=f.doBidiReorder(this.line,h,this.isRtlDir):this.bidiMap={}},o.prototype.markAsDirty=function(){this.currentRow=null},o.prototype.updateCharacterWidths=function(h){if(this.characterWidth!==h.$characterSize.width){this.fontMetrics=h;var d=this.characterWidth=h.$characterSize.width,u=h.$measureCharWidth("ה");this.charWidths[f.L]=this.charWidths[f.EN]=this.charWidths[f.ON_R]=d,this.charWidths[f.R]=this.charWidths[f.AN]=u,this.charWidths[f.R_H]=u*.45,this.charWidths[f.B]=this.charWidths[f.RLE]=0,this.currentRow=null}},o.prototype.setShowInvisibles=function(h){this.showInvisibles=h,this.currentRow=null},o.prototype.setEolChar=function(h){this.EOL=h},o.prototype.setContentWidth=function(h){this.contentWidth=h},o.prototype.isRtlLine=function(h){return this.$isRtl?!0:h!=null?this.session.getLine(h).charAt(0)==this.RLE:this.isRtlDir},o.prototype.setRtlDirection=function(h,d){for(var u=h.getCursorPosition(),l=h.selection.getSelectionAnchor().row;l<=u.row;l++)!d&&h.session.getLine(l).charAt(0)===h.session.$bidiHandler.RLE?h.session.doc.removeInLine(l,0,1):d&&h.session.getLine(l).charAt(0)!==h.session.$bidiHandler.RLE&&h.session.doc.insert({column:0,row:l},h.session.$bidiHandler.RLE)},o.prototype.getPosLeft=function(h){h-=this.wrapIndent;var d=this.line.charAt(0)===this.RLE?1:0,u=h>d?this.session.getOverwrite()?h:h-1:d,l=f.getVisualFromLogicalIdx(u,this.bidiMap),s=this.bidiMap.bidiLevels,r=0;!this.session.getOverwrite()&&h<=d&&s[l]%2!==0&&l++;for(var a=0;a<l;a++)r+=this.charWidths[s[a]];return!this.session.getOverwrite()&&h>d&&s[l]%2===0&&(r+=this.charWidths[s[l]]),this.wrapIndent&&(r+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset),this.isRtlDir&&(r+=this.rtlLineOffset),r},o.prototype.getSelections=function(h,d){var u=this.bidiMap,l=u.bidiLevels,s,r=[],a=0,p=Math.min(h,d)-this.wrapIndent,v=Math.max(h,d)-this.wrapIndent,y=!1,k=!1,x=0;this.wrapIndent&&(a+=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);for(var w,S=0;S<l.length;S++)w=u.logicalFromVisual[S],s=l[S],y=w>=p&&w<v,y&&!k?x=a:!y&&k&&r.push({left:x,width:a-x}),a+=this.charWidths[s],k=y;if(y&&S===l.length&&r.push({left:x,width:a-x}),this.isRtlDir)for(var M=0;M<r.length;M++)r[M].left+=this.rtlLineOffset;return r},o.prototype.offsetToCol=function(u){this.isRtlDir&&(u-=this.rtlLineOffset);var d=0,u=Math.max(u,0),l=0,s=0,r=this.bidiMap.bidiLevels,a=this.charWidths[r[s]];for(this.wrapIndent&&(u-=this.isRtlDir?-1*this.wrapOffset:this.wrapOffset);u>l+a/2;){if(l+=a,s===r.length-1){a=0;break}a=this.charWidths[r[++s]]}return s>0&&r[s-1]%2!==0&&r[s]%2===0?(u<l&&s--,d=this.bidiMap.logicalFromVisual[s]):s>0&&r[s-1]%2===0&&r[s]%2!==0?d=1+(u>l?this.bidiMap.logicalFromVisual[s]:this.bidiMap.logicalFromVisual[s-1]):this.isRtlDir&&s===r.length-1&&a===0&&r[s-1]%2===0||!this.isRtlDir&&s===0&&r[s]%2!==0?d=1+this.bidiMap.logicalFromVisual[s]:(s>0&&r[s-1]%2!==0&&a!==0&&s--,d=this.bidiMap.logicalFromVisual[s]),d===0&&this.isRtlDir&&d++,d+this.wrapIndent},o})()}),ace.define("ace/selection",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/range"],function(t,n,m){"use strict";var f=t("./lib/oop"),g=t("./lib/lang"),c=t("./lib/event_emitter").EventEmitter,o=t("./range").Range,h=(function(){function d(u){this.session=u,this.doc=u.getDocument(),this.clearSelection(),this.cursor=this.lead=this.doc.createAnchor(0,0),this.anchor=this.doc.createAnchor(0,0),this.$silent=!1;var l=this;this.cursor.on("change",function(s){l.$cursorChanged=!0,l.$silent||l._emit("changeCursor"),!l.$isEmpty&&!l.$silent&&l._emit("changeSelection"),!l.$keepDesiredColumnOnChange&&s.old.column!=s.value.column&&(l.$desiredColumn=null)}),this.anchor.on("change",function(){l.$anchorChanged=!0,!l.$isEmpty&&!l.$silent&&l._emit("changeSelection")})}return d.prototype.isEmpty=function(){return this.$isEmpty||this.anchor.row==this.lead.row&&this.anchor.column==this.lead.column},d.prototype.isMultiLine=function(){return!this.$isEmpty&&this.anchor.row!=this.cursor.row},d.prototype.getCursor=function(){return this.lead.getPosition()},d.prototype.setAnchor=function(u,l){this.$isEmpty=!1,this.anchor.setPosition(u,l)},d.prototype.getAnchor=function(){return this.$isEmpty?this.getSelectionLead():this.anchor.getPosition()},d.prototype.getSelectionLead=function(){return this.lead.getPosition()},d.prototype.isBackwards=function(){var u=this.anchor,l=this.lead;return u.row>l.row||u.row==l.row&&u.column>l.column},d.prototype.getRange=function(){var u=this.anchor,l=this.lead;return this.$isEmpty?o.fromPoints(l,l):this.isBackwards()?o.fromPoints(l,u):o.fromPoints(u,l)},d.prototype.clearSelection=function(){this.$isEmpty||(this.$isEmpty=!0,this._emit("changeSelection"))},d.prototype.selectAll=function(){this.$setSelection(0,0,Number.MAX_VALUE,Number.MAX_VALUE)},d.prototype.setRange=function(u,l){var s=l?u.end:u.start,r=l?u.start:u.end;this.$setSelection(s.row,s.column,r.row,r.column)},d.prototype.$setSelection=function(u,l,s,r){if(!this.$silent){var a=this.$isEmpty,p=this.inMultiSelectMode;this.$silent=!0,this.$cursorChanged=this.$anchorChanged=!1,this.anchor.setPosition(u,l),this.cursor.setPosition(s,r),this.$isEmpty=!o.comparePoints(this.anchor,this.cursor),this.$silent=!1,this.$cursorChanged&&this._emit("changeCursor"),(this.$cursorChanged||this.$anchorChanged||a!=this.$isEmpty||p)&&this._emit("changeSelection")}},d.prototype.$moveSelection=function(u){var l=this.lead;this.$isEmpty&&this.setSelectionAnchor(l.row,l.column),u.call(this)},d.prototype.selectTo=function(u,l){this.$moveSelection(function(){this.moveCursorTo(u,l)})},d.prototype.selectToPosition=function(u){this.$moveSelection(function(){this.moveCursorToPosition(u)})},d.prototype.moveTo=function(u,l){this.clearSelection(),this.moveCursorTo(u,l)},d.prototype.moveToPosition=function(u){this.clearSelection(),this.moveCursorToPosition(u)},d.prototype.selectUp=function(){this.$moveSelection(this.moveCursorUp)},d.prototype.selectDown=function(){this.$moveSelection(this.moveCursorDown)},d.prototype.selectRight=function(){this.$moveSelection(this.moveCursorRight)},d.prototype.selectLeft=function(){this.$moveSelection(this.moveCursorLeft)},d.prototype.selectLineStart=function(){this.$moveSelection(this.moveCursorLineStart)},d.prototype.selectLineEnd=function(){this.$moveSelection(this.moveCursorLineEnd)},d.prototype.selectFileEnd=function(){this.$moveSelection(this.moveCursorFileEnd)},d.prototype.selectFileStart=function(){this.$moveSelection(this.moveCursorFileStart)},d.prototype.selectWordRight=function(){this.$moveSelection(this.moveCursorWordRight)},d.prototype.selectWordLeft=function(){this.$moveSelection(this.moveCursorWordLeft)},d.prototype.getWordRange=function(u,l){if(typeof l>"u"){var s=u||this.lead;u=s.row,l=s.column}return this.session.getWordRange(u,l)},d.prototype.selectWord=function(){this.setSelectionRange(this.getWordRange())},d.prototype.selectAWord=function(){var u=this.getCursor(),l=this.session.getAWordRange(u.row,u.column);this.setSelectionRange(l)},d.prototype.getLineRange=function(u,l){var s=typeof u=="number"?u:this.lead.row,r,a=this.session.getFoldLine(s);return a?(s=a.start.row,r=a.end.row):r=s,l===!0?new o(s,0,r,this.session.getLine(r).length):new o(s,0,r+1,0)},d.prototype.selectLine=function(){this.setSelectionRange(this.getLineRange())},d.prototype.moveCursorUp=function(){this.moveCursorBy(-1,0)},d.prototype.moveCursorDown=function(){this.moveCursorBy(1,0)},d.prototype.wouldMoveIntoSoftTab=function(u,l,s){var r=u.column,a=u.column+l;return s<0&&(r=u.column-l,a=u.column),this.session.isTabStop(u)&&this.doc.getLine(u.row).slice(r,a).split(" ").length-1==l},d.prototype.moveCursorLeft=function(){var u=this.lead.getPosition(),l;if(l=this.session.getFoldAt(u.row,u.column,-1))this.moveCursorTo(l.start.row,l.start.column);else if(u.column===0)u.row>0&&this.moveCursorTo(u.row-1,this.doc.getLine(u.row-1).length);else{var s=this.session.getTabSize();this.wouldMoveIntoSoftTab(u,s,-1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,-s):this.moveCursorBy(0,-1)}},d.prototype.moveCursorRight=function(){var u=this.lead.getPosition(),l;if(l=this.session.getFoldAt(u.row,u.column,1))this.moveCursorTo(l.end.row,l.end.column);else if(this.lead.column==this.doc.getLine(this.lead.row).length)this.lead.row<this.doc.getLength()-1&&this.moveCursorTo(this.lead.row+1,0);else{var s=this.session.getTabSize(),u=this.lead;this.wouldMoveIntoSoftTab(u,s,1)&&!this.session.getNavigateWithinSoftTabs()?this.moveCursorBy(0,s):this.moveCursorBy(0,1)}},d.prototype.moveCursorLineStart=function(){var u=this.lead.row,l=this.lead.column,s=this.session.documentToScreenRow(u,l),r=this.session.screenToDocumentPosition(s,0),a=this.session.getDisplayLine(u,null,r.row,r.column).match(/^\s*/);a[0].length!=l&&!this.session.$useEmacsStyleLineStart&&(r.column+=a[0].length),this.moveCursorToPosition(r)},d.prototype.moveCursorLineEnd=function(){var u=this.lead,l=this.session.getDocumentLastRowColumnPosition(u.row,u.column);if(this.lead.column==l.column){var s=this.session.getLine(l.row);if(l.column==s.length){var r=s.search(/\s+$/);r>0&&(l.column=r)}}this.moveCursorTo(l.row,l.column)},d.prototype.moveCursorFileEnd=function(){var u=this.doc.getLength()-1,l=this.doc.getLine(u).length;this.moveCursorTo(u,l)},d.prototype.moveCursorFileStart=function(){this.moveCursorTo(0,0)},d.prototype.moveCursorLongWordRight=function(){var u=this.lead.row,l=this.lead.column,s=this.doc.getLine(u),r=s.substring(l);this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0;var a=this.session.getFoldAt(u,l,1);if(a){this.moveCursorTo(a.end.row,a.end.column);return}if(this.session.nonTokenRe.exec(r)&&(l+=this.session.nonTokenRe.lastIndex,this.session.nonTokenRe.lastIndex=0,r=s.substring(l)),l>=s.length){this.moveCursorTo(u,s.length),this.moveCursorRight(),u<this.doc.getLength()-1&&this.moveCursorWordRight();return}this.session.tokenRe.exec(r)&&(l+=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(u,l)},d.prototype.moveCursorLongWordLeft=function(){var u=this.lead.row,l=this.lead.column,s;if(s=this.session.getFoldAt(u,l,-1)){this.moveCursorTo(s.start.row,s.start.column);return}var r=this.session.getFoldStringAt(u,l,-1);r==null&&(r=this.doc.getLine(u).substring(0,l));var a=g.stringReverse(r);if(this.session.nonTokenRe.lastIndex=0,this.session.tokenRe.lastIndex=0,this.session.nonTokenRe.exec(a)&&(l-=this.session.nonTokenRe.lastIndex,a=a.slice(this.session.nonTokenRe.lastIndex),this.session.nonTokenRe.lastIndex=0),l<=0){this.moveCursorTo(u,0),this.moveCursorLeft(),u>0&&this.moveCursorWordLeft();return}this.session.tokenRe.exec(a)&&(l-=this.session.tokenRe.lastIndex,this.session.tokenRe.lastIndex=0),this.moveCursorTo(u,l)},d.prototype.$shortWordEndIndex=function(u){var l=0,s,r=/\s/,a=this.session.tokenRe;if(a.lastIndex=0,this.session.tokenRe.exec(u))l=this.session.tokenRe.lastIndex;else{for(;(s=u[l])&&r.test(s);)l++;if(l<1){for(a.lastIndex=0;(s=u[l])&&!a.test(s);)if(a.lastIndex=0,l++,r.test(s))if(l>2){l--;break}else{for(;(s=u[l])&&r.test(s);)l++;if(l>2)break}}}return a.lastIndex=0,l},d.prototype.moveCursorShortWordRight=function(){var u=this.lead.row,l=this.lead.column,s=this.doc.getLine(u),r=s.substring(l),a=this.session.getFoldAt(u,l,1);if(a)return this.moveCursorTo(a.end.row,a.end.column);if(l==s.length){var p=this.doc.getLength();do u++,r=this.doc.getLine(u);while(u<p&&/^\s*$/.test(r));/^\s+/.test(r)||(r=""),l=0}var v=this.$shortWordEndIndex(r);this.moveCursorTo(u,l+v)},d.prototype.moveCursorShortWordLeft=function(){var u=this.lead.row,l=this.lead.column,s;if(s=this.session.getFoldAt(u,l,-1))return this.moveCursorTo(s.start.row,s.start.column);var r=this.session.getLine(u).substring(0,l);if(l===0){do u--,r=this.doc.getLine(u);while(u>0&&/^\s*$/.test(r));l=r.length,/\s+$/.test(r)||(r="")}var a=g.stringReverse(r),p=this.$shortWordEndIndex(a);return this.moveCursorTo(u,l-p)},d.prototype.moveCursorWordRight=function(){this.session.$selectLongWords?this.moveCursorLongWordRight():this.moveCursorShortWordRight()},d.prototype.moveCursorWordLeft=function(){this.session.$selectLongWords?this.moveCursorLongWordLeft():this.moveCursorShortWordLeft()},d.prototype.moveCursorBy=function(u,l){var s=this.session.documentToScreenPosition(this.lead.row,this.lead.column),r;if(l===0&&(u!==0&&(this.session.$bidiHandler.isBidiRow(s.row,this.lead.row)?(r=this.session.$bidiHandler.getPosLeft(s.column),s.column=Math.round(r/this.session.$bidiHandler.charWidths[0])):r=s.column*this.session.$bidiHandler.charWidths[0]),this.$desiredColumn?s.column=this.$desiredColumn:this.$desiredColumn=s.column),u!=0&&this.session.lineWidgets&&this.session.lineWidgets[this.lead.row]){var a=this.session.lineWidgets[this.lead.row];u<0?u-=a.rowsAbove||0:u>0&&(u+=a.rowCount-(a.rowsAbove||0))}var p=this.session.screenToDocumentPosition(s.row+u,s.column,r);u!==0&&l===0&&p.row===this.lead.row&&(p.column,this.lead.column),this.moveCursorTo(p.row,p.column+l,l===0)},d.prototype.moveCursorToPosition=function(u){this.moveCursorTo(u.row,u.column)},d.prototype.moveCursorTo=function(u,l,s){var r=this.session.getFoldAt(u,l,1);r&&(u=r.start.row,l=r.start.column),this.$keepDesiredColumnOnChange=!0;var a=this.session.getLine(u);/[\uDC00-\uDFFF]/.test(a.charAt(l))&&a.charAt(l-1)&&(this.lead.row==u&&this.lead.column==l+1?l=l-1:l=l+1),this.lead.setPosition(u,l),this.$keepDesiredColumnOnChange=!1,s||(this.$desiredColumn=null)},d.prototype.moveCursorToScreen=function(u,l,s){var r=this.session.screenToDocumentPosition(u,l);this.moveCursorTo(r.row,r.column,s)},d.prototype.detach=function(){this.lead.detach(),this.anchor.detach()},d.prototype.fromOrientedRange=function(u){this.setSelectionRange(u,u.cursor==u.start),this.$desiredColumn=u.desiredColumn||this.$desiredColumn},d.prototype.toOrientedRange=function(u){var l=this.getRange();return u?(u.start.column=l.start.column,u.start.row=l.start.row,u.end.column=l.end.column,u.end.row=l.end.row):u=l,u.cursor=this.isBackwards()?u.start:u.end,u.desiredColumn=this.$desiredColumn,u},d.prototype.getRangeOfMovements=function(u){var l=this.getCursor();try{u(this);var s=this.getCursor();return o.fromPoints(l,s)}catch{return o.fromPoints(l,l)}finally{this.moveCursorToPosition(l)}},d.prototype.toJSON=function(){if(this.rangeCount)var u=this.ranges.map(function(l){var s=l.clone();return s.isBackwards=l.cursor==l.start,s});else{var u=this.getRange();u.isBackwards=this.isBackwards()}return u},d.prototype.fromJSON=function(u){if(u.start==null)if(this.rangeList&&u.length>1){this.toSingleRange(u[0]);for(var l=u.length;l--;){var s=o.fromPoints(u[l].start,u[l].end);u[l].isBackwards&&(s.cursor=s.start),this.addRange(s,!0)}return}else u=u[0];this.rangeList&&this.toSingleRange(u),this.setSelectionRange(u,u.isBackwards)},d.prototype.isEqual=function(u){if((u.length||this.rangeCount)&&u.length!=this.rangeCount)return!1;if(!u.length||!this.ranges)return this.getRange().isEqual(u);for(var l=this.ranges.length;l--;)if(!this.ranges[l].isEqual(u[l]))return!1;return!0},d})();h.prototype.setSelectionAnchor=h.prototype.setAnchor,h.prototype.getSelectionAnchor=h.prototype.getAnchor,h.prototype.setSelectionRange=h.prototype.setRange,f.implement(h.prototype,c),n.Selection=h}),ace.define("ace/tokenizer",["require","exports","module","ace/lib/report_error"],function(t,n,m){"use strict";var f=t("./lib/report_error").reportError,g=2e3,c=(function(){function o(h){this.splitRegex,this.states=h,this.regExps={},this.matchMappings={};for(var d in this.states){for(var u=this.states[d],l=[],s=0,r=this.matchMappings[d]={defaultToken:"text"},a="g",p=[],v=0;v<u.length;v++){var y=u[v];if(y.defaultToken&&(r.defaultToken=y.defaultToken),y.caseInsensitive&&a.indexOf("i")===-1&&(a+="i"),y.unicode&&a.indexOf("u")===-1&&(a+="u"),y.regex!=null){y.regex instanceof RegExp&&(y.regex=y.regex.toString().slice(1,-1));var k=y.regex,x=new RegExp("(?:("+k+")|(.))").exec("a").length-2;Array.isArray(y.token)?y.token.length==1||x==1?y.token=y.token[0]:x-1!=y.token.length?(this.reportError("number of classes and regexp groups doesn't match",{rule:y,groupCount:x-1}),y.token=y.token[0]):(y.tokenArray=y.token,y.token=null,y.onMatch=this.$arrayTokens):typeof y.token=="function"&&!y.onMatch&&(x>1?y.onMatch=this.$applyToken:y.onMatch=y.token),x>1&&(/\\\d/.test(y.regex)?k=y.regex.replace(/\\([0-9]+)/g,function(w,S){return"\\"+(parseInt(S,10)+s+1)}):(x=1,k=this.removeCapturingGroups(y.regex)),!y.splitRegex&&typeof y.token!="string"&&p.push(y)),r[s]=v,s+=x,l.push(k),y.onMatch||(y.onMatch=null)}}l.length||(r[0]=0,l.push("$")),p.forEach(function(w){w.splitRegex=this.createSplitterRegexp(w.regex,a)},this),this.regExps[d]=new RegExp("("+l.join(")|(")+")|($)",a)}}return o.prototype.$setMaxTokenCount=function(h){g=h|0},o.prototype.$applyToken=function(h){var d=this.splitRegex.exec(h).slice(1),u=this.token.apply(this,d);if(typeof u=="string")return[{type:u,value:h}];for(var l=[],s=0,r=u.length;s<r;s++)d[s]&&(l[l.length]={type:u[s],value:d[s]});return l},o.prototype.$arrayTokens=function(h){if(!h)return[];var d=this.splitRegex.exec(h);if(!d)return"text";for(var u=[],l=this.tokenArray,s=0,r=l.length;s<r;s++)d[s+1]&&(u[u.length]={type:l[s],value:d[s+1]});return u},o.prototype.removeCapturingGroups=function(h){return h.replace(/\\.|\[(?:\\.|[^\\\]])*|\(\?[:=!<]|(\()/g,function(d,u){return u?"(?:":d})},o.prototype.createSplitterRegexp=function(h,d){if(h.indexOf("(?=")!=-1){var u=0,l=!1,s={};h.replace(/(\\.)|(\((?:\?[=!])?)|(\))|([\[\]])/g,function(r,a,p,v,y,k){return l?l=y!="]":y?l=!0:v?(u==s.stack&&(s.end=k+1,s.stack=-1),u--):p&&(u++,p.length!=1&&(s.stack=u,s.start=k)),r}),s.end!=null&&/^\)*$/.test(h.substr(s.end))&&(h=h.substring(0,s.start)+h.substr(s.end))}return h.charAt(0)!="^"&&(h="^"+h),h.charAt(h.length-1)!="$"&&(h+="$"),new RegExp(h,(d||"").replace("g",""))},o.prototype.getLineTokens=function(h,d){if(d&&typeof d!="string"){var u=d.slice(0);d=u[0],d==="#tmp"&&(u.shift(),d=u.shift())}else var u=[];var l=d||"start",s=this.states[l];s||(l="start",s=this.states[l]);var r=this.matchMappings[l],a=this.regExps[l];a.lastIndex=0;for(var p,v=[],y=0,k=0,x={type:null,value:""};p=a.exec(h);){var w=r.defaultToken,S=null,M=p[0],L=a.lastIndex;if(L-M.length>y){var R=h.substring(y,L-M.length);x.type==w?x.value+=R:(x.type&&v.push(x),x={type:w,value:R})}for(var $=0;$<p.length-2;$++)if(p[$+1]!==void 0){S=s[r[$]],S.onMatch?w=S.onMatch(M,l,u,h):w=S.token,S.next&&(typeof S.next=="string"?l=S.next:l=S.next(l,u),s=this.states[l],s||(this.reportError("state doesn't exist",l),l="start",s=this.states[l]),r=this.matchMappings[l],y=L,a=this.regExps[l],a.lastIndex=L),S.consumeLineEnd&&(y=L);break}if(M){if(typeof w=="string")(!S||S.merge!==!1)&&x.type===w?x.value+=M:(x.type&&v.push(x),x={type:w,value:M});else if(w){x.type&&v.push(x),x={type:null,value:""};for(var $=0;$<w.length;$++)v.push(w[$])}}if(y==h.length)break;if(y=L,k++>g){for(k>2*h.length&&this.reportError("infinite loop with in ace tokenizer",{startState:d,line:h});y<h.length;)x.type&&v.push(x),x={value:h.substring(y,y+=500),type:"overflow"};l="start",u=[];break}}return x.type&&v.push(x),u.length>1&&u[0]!==l&&u.unshift("#tmp",l),{tokens:v,state:u.length?u:l}},o})();c.prototype.reportError=f,n.Tokenizer=c}),ace.define("ace/mode/text_highlight_rules",["require","exports","module","ace/lib/deep_copy"],function(t,n,m){"use strict";var f=t("../lib/deep_copy").deepCopy,g=function(){this.$rules={start:[{token:"empty_line",regex:"^$"},{defaultToken:"text"}]}};(function(){this.addRules=function(h,d){if(!d){for(var u in h)this.$rules[u]=h[u];return}for(var u in h){for(var l=h[u],s=0;s<l.length;s++){var r=l[s];(r.next||r.onMatch)&&(typeof r.next=="string"&&r.next.indexOf(d)!==0&&(r.next=d+r.next),r.nextState&&r.nextState.indexOf(d)!==0&&(r.nextState=d+r.nextState))}this.$rules[d+u]=l}},this.getRules=function(){return this.$rules},this.embedRules=function(h,d,u,l,s){var r=typeof h=="function"?new h().getRules():h;if(l)for(var a=0;a<l.length;a++)l[a]=d+l[a];else{l=[];for(var p in r)l.push(d+p)}if(this.addRules(r,d),u)for(var v=Array.prototype[s?"push":"unshift"],a=0;a<l.length;a++)v.apply(this.$rules[l[a]],f(u));this.$embeds||(this.$embeds=[]),this.$embeds.push(d)},this.getEmbeds=function(){return this.$embeds};var c=function(h,d){return(h!="start"||d.length)&&d.unshift(this.nextState,h),this.nextState},o=function(h,d){return d.shift(),d.shift()||"start"};this.normalizeRules=function(){var h=0,d=this.$rules;function u(l){var s=d[l];s.processed=!0;for(var r=0;r<s.length;r++){var a=s[r],p=null;Array.isArray(a)&&(p=a,a={}),!a.regex&&a.start&&(a.regex=a.start,a.next||(a.next=[]),a.next.push({defaultToken:a.token},{token:a.token+".end",regex:a.end||a.start,next:"pop"}),a.token=a.token+".start",a.push=!0);var v=a.next||a.push;if(v&&Array.isArray(v)){var y=a.stateName;y||(y=a.token,typeof y!="string"&&(y=y[0]||""),d[y]&&(y+=h++)),d[y]=v,a.next=y,u(y)}else v=="pop"&&(a.next=o);if(a.push&&(a.nextState=a.next||a.push,a.next=c,delete a.push),a.rules)for(var k in a.rules)d[k]?d[k].push&&d[k].push.apply(d[k],a.rules[k]):d[k]=a.rules[k];var x=typeof a=="string"?a:a.include;if(x&&(x==="$self"&&(x="start"),Array.isArray(x)?p=x.map(function(S){return d[S]}):p=d[x]),p){var w=[r,1].concat(p);a.noEscape&&(w=w.filter(function(S){return!S.next})),s.splice.apply(s,w),r--}a.keywordMap&&(a.token=this.createKeywordMapper(a.keywordMap,a.defaultToken||"text",a.caseInsensitive),delete a.defaultToken)}}Object.keys(d).forEach(u,this)},this.createKeywordMapper=function(h,d,u,l){var s=Object.create(null);return this.$keywordList=[],Object.keys(h).forEach(function(r){for(var a=h[r].split(l||"|"),p=a.length;p--;){var v=a[p];this.$keywordList.push(v),u&&(v=v.toLowerCase()),s[v]=r}},this),h=null,u?function(r){return s[r.toLowerCase()]||d}:function(r){return s[r]||d}},this.getKeywords=function(){return this.$keywords}}).call(g.prototype),n.TextHighlightRules=g}),ace.define("ace/mode/behaviour",["require","exports","module"],function(t,n,m){"use strict";var f=function(){this.$behaviours={}};(function(){this.add=function(g,c,o){switch(void 0){case this.$behaviours:this.$behaviours={};case this.$behaviours[g]:this.$behaviours[g]={}}this.$behaviours[g][c]=o},this.addBehaviours=function(g){for(var c in g)for(var o in g[c])this.add(c,o,g[c][o])},this.remove=function(g){this.$behaviours&&this.$behaviours[g]&&delete this.$behaviours[g]},this.inherit=function(g,c){if(typeof g=="function")var o=new g().getBehaviours(c);else var o=g.getBehaviours(c);this.addBehaviours(o)},this.getBehaviours=function(g){if(g){for(var c={},o=0;o<g.length;o++)this.$behaviours[g[o]]&&(c[g[o]]=this.$behaviours[g[o]]);return c}else return this.$behaviours}}).call(f.prototype),n.Behaviour=f}),ace.define("ace/token_iterator",["require","exports","module","ace/range"],function(t,n,m){"use strict";var f=t("./range").Range;n.TokenIterator=(function(){function g(c,o,h){this.$session=c,this.$row=o,this.$rowTokens=c.getTokens(o);var d=c.getTokenAt(o,h);this.$tokenIndex=d?d.index:-1}return g.prototype.stepBackward=function(){for(this.$tokenIndex-=1;this.$tokenIndex<0;){if(this.$row-=1,this.$row<0)return this.$row=0,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=this.$rowTokens.length-1}return this.$rowTokens[this.$tokenIndex]},g.prototype.stepForward=function(){this.$tokenIndex+=1;for(var c;this.$tokenIndex>=this.$rowTokens.length;){if(this.$row+=1,c||(c=this.$session.getLength()),this.$row>=c)return this.$row=c-1,null;this.$rowTokens=this.$session.getTokens(this.$row),this.$tokenIndex=0}return this.$rowTokens[this.$tokenIndex]},g.prototype.getCurrentToken=function(){return this.$rowTokens[this.$tokenIndex]},g.prototype.getCurrentTokenRow=function(){return this.$row},g.prototype.getCurrentTokenColumn=function(){var c=this.$rowTokens,o=this.$tokenIndex,h=c[o].start;if(h!==void 0)return h;for(h=0;o>0;)o-=1,h+=c[o].value.length;return h},g.prototype.getCurrentTokenPosition=function(){return{row:this.$row,column:this.getCurrentTokenColumn()}},g.prototype.getCurrentTokenRange=function(){var c=this.$rowTokens[this.$tokenIndex],o=this.getCurrentTokenColumn();return new f(this.$row,o,this.$row,o+c.value.length)},g})()}),ace.define("ace/mode/behaviour/cstyle",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(t,n,m){"use strict";var f=t("../../lib/oop"),g=t("../behaviour").Behaviour,c=t("../../token_iterator").TokenIterator,o=t("../../lib/lang"),h=["text","paren.rparen","rparen","paren","punctuation.operator"],d=["text","paren.rparen","rparen","paren","punctuation.operator","comment"],u,l={},s={'"':'"',"'":"'"},r=function(v){var y=-1;if(v.multiSelect&&(y=v.selection.index,l.rangeCount!=v.multiSelect.rangeCount&&(l={rangeCount:v.multiSelect.rangeCount})),l[y])return u=l[y];u=l[y]={autoInsertedBrackets:0,autoInsertedRow:-1,autoInsertedLineEnd:"",maybeInsertedBrackets:0,maybeInsertedRow:-1,maybeInsertedLineStart:"",maybeInsertedLineEnd:""}},a=function(v,y,k,x){var w=v.end.row-v.start.row;return{text:k+y+x,selection:[0,v.start.column+1,w,v.end.column+(w?0:1)]}},p=function(v){v=v||{},this.add("braces","insertion",function(y,k,x,w,S){var M=x.getCursorPosition(),L=w.doc.getLine(M.row);if(S=="{"){r(x);var R=x.getSelectionRange(),$=w.doc.getTextRange(R),D=w.getTokenAt(M.row,M.column);if($!==""&&$!=="{"&&x.getWrapBehavioursEnabled())return a(R,$,"{","}");if(D&&/(?:string)\.quasi|\.xml/.test(D.type))return[/tag\-(?:open|name)/,/attribute\-name/].some(function(_){return _.test(D.type)})||/(string)\.quasi/.test(D.type)&&D.value[M.column-D.start-1]!=="$"?void 0:(p.recordAutoInsert(x,w,"}"),{text:"{}",selection:[1,1]});if(p.isSaneInsertion(x,w))return/[\]\}\)]/.test(L[M.column])||x.inMultiSelectMode||v.braces?(p.recordAutoInsert(x,w,"}"),{text:"{}",selection:[1,1]}):(p.recordMaybeInsert(x,w,"{"),{text:"{",selection:[1,1]})}else if(S=="}"){r(x);var T=L.substring(M.column,M.column+1);if(T=="}"&&w.$findOpeningBracket("}",{column:M.column+1,row:M.row})!==null&&p.isAutoInsertedClosing(M,L,S))return p.popAutoInsertedClosing(),{text:"",selection:[1,1]}}else if(S==`
1340
1340
  `||S==`\r
1341
1341
  `){r(x);var E="";p.isMaybeInsertedClosing(M,L)&&(E=o.stringRepeat("}",u.maybeInsertedBrackets),p.clearMaybeInsertedClosing());var T=L.substring(M.column,M.column+1);if(T==="}"){var C=w.findMatchingBracket({row:M.row,column:M.column+1},"}");if(!C)return null;var b=this.$getIndent(w.getLine(C.row))}else if(E)var b=this.$getIndent(L);else{p.clearMaybeInsertedClosing();return}var A=b+w.getTabString();return{text:`
@@ -1355,7 +1355,7 @@ export const FormManager: React.FC = () => {
1355
1355
  `):S=l(w.value)),w.start&&(S+=l(w)),(w.id||w.rev)&&(S+=" ("+(w.id||w.rev)+")"),S}function l(w){return w.start.row+":"+w.start.column+"=>"+w.end.row+":"+w.end.column}function s(w,S){var M=w.action=="insert",L=S.action=="insert";if(M&&L)if(o(S.start,w.end)>=0)p(S,w,-1);else if(o(S.start,w.start)<=0)p(w,S,1);else return null;else if(M&&!L)if(o(S.start,w.end)>=0)p(S,w,-1);else if(o(S.end,w.start)<=0)p(w,S,-1);else return null;else if(!M&&L)if(o(S.start,w.start)>=0)p(S,w,1);else if(o(S.start,w.start)<=0)p(w,S,1);else return null;else if(!M&&!L)if(o(S.start,w.start)>=0)p(S,w,1);else if(o(S.end,w.start)<=0)p(w,S,-1);else return null;return[S,w]}function r(w,S){for(var M=w.length;M--;)for(var L=0;L<S.length;L++)if(!s(w[M],S[L])){for(;M<w.length;){for(;L--;)s(S[L],w[M]);L=S.length,M++}return[w,S]}return w.selectionBefore=S.selectionBefore=w.selectionAfter=S.selectionAfter=null,[S,w]}function a(w,S){var M=w.action=="insert",L=S.action=="insert";if(M&&L)o(w.start,S.start)<0?p(S,w,1):p(w,S,1);else if(M&&!L)o(w.start,S.end)>=0?p(w,S,-1):(o(w.start,S.start)<=0||p(w,c.fromPoints(S.start,w.start),-1),p(S,w,1));else if(!M&&L)o(S.start,w.end)>=0?p(S,w,-1):(o(S.start,w.start)<=0||p(S,c.fromPoints(w.start,S.start),-1),p(w,S,1));else if(!M&&!L)if(o(S.start,w.end)>=0)p(S,w,-1);else if(o(S.end,w.start)<=0)p(w,S,-1);else{var R,$;return o(w.start,S.start)<0&&(R=w,w=y(w,S.start)),o(w.end,S.end)>0&&($=y(w,S.end)),v(S.end,w.start,w.end,-1),$&&!R&&(w.lines=$.lines,w.start=$.start,w.end=$.end,$=w),[S,R,$].filter(Boolean)}return[S,w]}function p(w,S,M){v(w.start,S.start,S.end,M),v(w.end,S.start,S.end,M)}function v(w,S,M,L){w.row==(L==1?S:M).row&&(w.column+=L*(M.column-S.column)),w.row+=L*(M.row-S.row)}function y(w,S){var M=w.lines,L=w.end;w.end=h(S);var R=w.end.row-w.start.row,$=M.splice(R,M.length),D=R?S.column:S.column-w.start.column;return M.push($[0].substring(0,D)),$[0]=$[0].substr(D),{start:h(S),end:L,lines:$,action:w.action}}function k(w,S){S=d(S);for(var M=w.length;M--;){for(var L=w[M],R=0;R<L.length;R++){var $=L[R],D=a($,S);S=D[0],D.length!=2&&(D[2]?(L.splice(R+1,1,D[1],D[2]),R++):D[1]||(L.splice(R,1),R--))}L.length||w.splice(M,1)}return w}function x(w,S){for(var M=0;M<S.length;M++)for(var L=S[M],R=0;R<L.length;R++)k(w,L[R])}n.UndoManager=f}),ace.define("ace/edit_session/fold_line",["require","exports","module","ace/range"],function(t,n,m){"use strict";var f=t("../range").Range;n.FoldLine=(function(){function g(c,o){this.foldData=c,Array.isArray(o)?this.folds=o:o=this.folds=[o];var h=o[o.length-1];this.range=new f(o[0].start.row,o[0].start.column,h.end.row,h.end.column),this.start=this.range.start,this.end=this.range.end,this.folds.forEach(function(d){d.setFoldLine(this)},this)}return g.prototype.shiftRow=function(c){this.start.row+=c,this.end.row+=c,this.folds.forEach(function(o){o.start.row+=c,o.end.row+=c})},g.prototype.addFold=function(c){if(c.sameRow){if(c.start.row<this.startRow||c.endRow>this.endRow)throw new Error("Can't add a fold to this FoldLine as it has no connection");this.folds.push(c),this.folds.sort(function(o,h){return-o.range.compareEnd(h.start.row,h.start.column)}),this.range.compareEnd(c.start.row,c.start.column)>0?(this.end.row=c.end.row,this.end.column=c.end.column):this.range.compareStart(c.end.row,c.end.column)<0&&(this.start.row=c.start.row,this.start.column=c.start.column)}else if(c.start.row==this.end.row)this.folds.push(c),this.end.row=c.end.row,this.end.column=c.end.column;else if(c.end.row==this.start.row)this.folds.unshift(c),this.start.row=c.start.row,this.start.column=c.start.column;else throw new Error("Trying to add fold to FoldRow that doesn't have a matching row");c.foldLine=this},g.prototype.containsRow=function(c){return c>=this.start.row&&c<=this.end.row},g.prototype.walk=function(c,o,h){var d=0,u=this.folds,l,s,r,a=!0;o==null&&(o=this.end.row,h=this.end.column);for(var p=0;p<u.length;p++){if(l=u[p],s=l.range.compareStart(o,h),s==-1){c(null,o,h,d,a);return}if(r=c(null,l.start.row,l.start.column,d,a),r=!r&&c(l.placeholder,l.start.row,l.start.column,d),r||s===0)return;a=!l.sameRow,d=l.end.column}c(null,o,h,d,a)},g.prototype.getNextFoldTo=function(c,o){for(var h,d,u=0;u<this.folds.length;u++){if(h=this.folds[u],d=h.range.compareEnd(c,o),d==-1)return{fold:h,kind:"after"};if(d===0)return{fold:h,kind:"inside"}}return null},g.prototype.addRemoveChars=function(c,o,h){var d=this.getNextFoldTo(c,o),u,l;if(d){if(u=d.fold,d.kind=="inside"&&u.start.column!=o&&u.start.row!=c)window.console&&window.console.log(c,o,u);else if(u.start.row==c){l=this.folds;var s=l.indexOf(u);for(s===0&&(this.start.column+=h);s<l.length;s++){if(u=l[s],u.start.column+=h,!u.sameRow)return;u.end.column+=h}this.end.column+=h}}},g.prototype.split=function(c,o){var h=this.getNextFoldTo(c,o);if(!h||h.kind=="inside")return null;var d=h.fold,u=this.folds,l=this.foldData,s=u.indexOf(d),r=u[s-1];this.end.row=r.end.row,this.end.column=r.end.column,u=u.splice(s,u.length-s);var a=new g(l,u);return l.splice(l.indexOf(this)+1,0,a),a},g.prototype.merge=function(c){for(var o=c.folds,h=0;h<o.length;h++)this.addFold(o[h]);var d=this.foldData;d.splice(d.indexOf(c),1)},g.prototype.toString=function(){var c=[this.range.toString()+": ["];return this.folds.forEach(function(o){c.push(" "+o.toString())}),c.push("]"),c.join(`
1356
1356
  `)},g.prototype.idxToPosition=function(c){for(var o=0,h=0;h<this.folds.length;h++){var d=this.folds[h];if(c-=d.start.column-o,c<0)return{row:d.start.row,column:d.start.column+c};if(c-=d.placeholder.length,c<0)return d.start;o=d.end.column}return{row:this.end.row,column:this.end.column+c}},g})()}),ace.define("ace/range_list",["require","exports","module","ace/range"],function(t,n,m){"use strict";var f=t("./range").Range.comparePoints,g=(function(){function c(){this.ranges=[],this.$bias=1}return c.prototype.pointIndex=function(o,h,d){for(var u=this.ranges,l=d||0;l<u.length;l++){var s=u[l],r=f(o,s.end);if(!(r>0)){var a=f(o,s.start);return r===0?h&&a!==0?-l-2:l:a>0||a===0&&!h?l:-l-1}}return-l-1},c.prototype.add=function(o){var h=!o.isEmpty(),d=this.pointIndex(o.start,h);d<0&&(d=-d-1);var u=this.pointIndex(o.end,h,d);return u<0?u=-u-1:u++,this.ranges.splice(d,u-d,o)},c.prototype.addList=function(o){for(var h=[],d=o.length;d--;)h.push.apply(h,this.add(o[d]));return h},c.prototype.substractPoint=function(o){var h=this.pointIndex(o);if(h>=0)return this.ranges.splice(h,1)},c.prototype.merge=function(){var o=[],h=this.ranges;h=h.sort(function(r,a){return f(r.start,a.start)});for(var d=h[0],u,l=1;l<h.length;l++){u=d,d=h[l];var s=f(u.end,d.start);s<0||s==0&&!u.isEmpty()&&!d.isEmpty()||(f(u.end,d.end)<0&&(u.end.row=d.end.row,u.end.column=d.end.column),h.splice(l,1),o.push(d),d=u,l--)}return this.ranges=h,o},c.prototype.contains=function(o,h){return this.pointIndex({row:o,column:h})>=0},c.prototype.containsPoint=function(o){return this.pointIndex(o)>=0},c.prototype.rangeAtPoint=function(o){var h=this.pointIndex(o);if(h>=0)return this.ranges[h]},c.prototype.clipRows=function(o,h){var d=this.ranges;if(d[0].start.row>h||d[d.length-1].start.row<o)return[];var u=this.pointIndex({row:o,column:0});u<0&&(u=-u-1);var l=this.pointIndex({row:h,column:0},u);l<0&&(l=-l-1);for(var s=[],r=u;r<l;r++)s.push(d[r]);return s},c.prototype.removeAll=function(){return this.ranges.splice(0,this.ranges.length)},c.prototype.attach=function(o){this.session&&this.detach(),this.session=o,this.onChange=this.$onChange.bind(this),this.session.on("change",this.onChange)},c.prototype.detach=function(){this.session&&(this.session.removeListener("change",this.onChange),this.session=null)},c.prototype.$onChange=function(o){for(var h=o.start,d=o.end,u=h.row,l=d.row,s=this.ranges,r=0,a=s.length;r<a;r++){var p=s[r];if(p.end.row>=u)break}if(o.action=="insert")for(var v=l-u,y=-h.column+d.column;r<a;r++){var p=s[r];if(p.start.row>u)break;if(p.start.row==u&&p.start.column>=h.column&&(p.start.column==h.column&&this.$bias<=0||(p.start.column+=y,p.start.row+=v)),p.end.row==u&&p.end.column>=h.column){if(p.end.column==h.column&&this.$bias<0)continue;p.end.column==h.column&&y>0&&r<a-1&&p.end.column>p.start.column&&p.end.column==s[r+1].start.column&&(p.end.column-=y),p.end.column+=y,p.end.row+=v}}else for(var v=u-l,y=h.column-d.column;r<a;r++){var p=s[r];if(p.start.row>l)break;p.end.row<l&&(u<p.end.row||u==p.end.row&&h.column<p.end.column)?(p.end.row=u,p.end.column=h.column):p.end.row==l?p.end.column<=d.column?(v||p.end.column>h.column)&&(p.end.column=h.column,p.end.row=h.row):(p.end.column+=y,p.end.row+=v):p.end.row>l&&(p.end.row+=v),p.start.row<l&&(u<p.start.row||u==p.start.row&&h.column<p.start.column)?(p.start.row=u,p.start.column=h.column):p.start.row==l?p.start.column<=d.column?(v||p.start.column>h.column)&&(p.start.column=h.column,p.start.row=h.row):(p.start.column+=y,p.start.row+=v):p.start.row>l&&(p.start.row+=v)}if(v!=0&&r<a)for(;r<a;r++){var p=s[r];p.start.row+=v,p.end.row+=v}},c})();g.prototype.comparePoints=f,n.RangeList=g}),ace.define("ace/edit_session/fold",["require","exports","module","ace/range_list"],function(t,n,m){"use strict";var f=this&&this.__extends||(function(){var u=function(l,s){return u=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,a){r.__proto__=a}||function(r,a){for(var p in a)Object.prototype.hasOwnProperty.call(a,p)&&(r[p]=a[p])},u(l,s)};return function(l,s){if(typeof s!="function"&&s!==null)throw new TypeError("Class extends value "+String(s)+" is not a constructor or null");u(l,s);function r(){this.constructor=l}l.prototype=s===null?Object.create(s):(r.prototype=s.prototype,new r)}})(),g=(function(u){f(l,u);function l(s,r){var a=u.call(this)||this;return a.foldLine=null,a.placeholder=r,a.range=s,a.start=s.start,a.end=s.end,a.sameRow=s.start.row==s.end.row,a.subFolds=a.ranges=[],a}return l.prototype.toString=function(){return'"'+this.placeholder+'" '+this.range.toString()},l.prototype.setFoldLine=function(s){this.foldLine=s,this.subFolds.forEach(function(r){r.setFoldLine(s)})},l.prototype.clone=function(){var s=new l(this.range.clone(),this.placeholder);return this.subFolds.forEach(function(r){s.subFolds.push(r.clone())}),s.collapseChildren=this.collapseChildren,s},l.prototype.addSubFold=function(s){if(!this.range.isEqual(s)){o(s,this.start);for(var y=s.start.row,k=s.start.column,r=0,a=-1;r<this.subFolds.length&&(a=this.subFolds[r].range.compare(y,k),a==1);r++);var p=this.subFolds[r],v=0;if(a==0){if(p.range.containsRange(s))return p.addSubFold(s);v=1}for(var y=s.range.end.row,k=s.range.end.column,x=r,a=-1;x<this.subFolds.length&&(a=this.subFolds[x].range.compare(y,k),a==1);x++);a==0&&x++;for(var w=this.subFolds.splice(r,x-r,s),S=a==0?w.length-1:w.length,M=v;M<S;M++)s.addSubFold(w[M]);return s.setFoldLine(this.foldLine),s}},l.prototype.restoreRange=function(s){return d(s,this.start)},l})(t("../range_list").RangeList);function c(u,l){u.row-=l.row,u.row==0&&(u.column-=l.column)}function o(u,l){c(u.start,l),c(u.end,l)}function h(u,l){u.row==0&&(u.column+=l.column),u.row+=l.row}function d(u,l){h(u.start,l),h(u.end,l)}n.Fold=g}),ace.define("ace/edit_session/folding",["require","exports","module","ace/range","ace/edit_session/fold_line","ace/edit_session/fold","ace/token_iterator","ace/mouse/mouse_event"],function(t,n,m){"use strict";var f=t("../range").Range,g=t("./fold_line").FoldLine,c=t("./fold").Fold,o=t("../token_iterator").TokenIterator,h=t("../mouse/mouse_event").MouseEvent;function d(){this.getFoldAt=function(u,l,s){var r=this.getFoldLine(u);if(!r)return null;for(var a=r.folds,p=0;p<a.length;p++){var v=a[p].range;if(v.contains(u,l)){if(s==1&&v.isEnd(u,l)&&!v.isEmpty())continue;if(s==-1&&v.isStart(u,l)&&!v.isEmpty())continue;return a[p]}}},this.getFoldsInRange=function(u){var l=u.start,s=u.end,r=this.$foldData,a=[];l.column+=1,s.column-=1;for(var p=0;p<r.length;p++){var v=r[p].range.compareRange(u);if(v!=2){if(v==-2)break;for(var y=r[p].folds,k=0;k<y.length;k++){var x=y[k];if(v=x.range.compareRange(u),v==-2)break;if(v==2)continue;if(v==42)break;a.push(x)}}}return l.column-=1,s.column+=1,a},this.getFoldsInRangeList=function(u){if(Array.isArray(u)){var l=[];u.forEach(function(r){l=l.concat(this.getFoldsInRange(r))},this)}else var l=this.getFoldsInRange(u);return l},this.getAllFolds=function(){for(var u=[],l=this.$foldData,s=0;s<l.length;s++)for(var r=0;r<l[s].folds.length;r++)u.push(l[s].folds[r]);return u},this.getFoldStringAt=function(u,l,s,r){if(r=r||this.getFoldLine(u),!r)return null;for(var a={end:{column:0}},p,v,y=0;y<r.folds.length;y++){v=r.folds[y];var k=v.range.compareEnd(u,l);if(k==-1){p=this.getLine(v.start.row).substring(a.end.column,v.start.column);break}else if(k===0)return null;a=v}return p||(p=this.getLine(v.start.row).substring(a.end.column)),s==-1?p.substring(0,l-a.end.column):s==1?p.substring(l-a.end.column):p},this.getFoldLine=function(u,l){var s=this.$foldData,r=0;for(l&&(r=s.indexOf(l)),r==-1&&(r=0);r<s.length;r++){var a=s[r];if(a.start.row<=u&&a.end.row>=u)return a;if(a.end.row>u)return null}return null},this.getNextFoldLine=function(u,l){var s=this.$foldData,r=0;for(l&&(r=s.indexOf(l)),r==-1&&(r=0);r<s.length;r++){var a=s[r];if(a.end.row>=u)return a}return null},this.getFoldedRowCount=function(u,l){for(var s=this.$foldData,r=l-u+1,a=0;a<s.length;a++){var p=s[a],v=p.end.row,y=p.start.row;if(v>=l){y<l&&(y>=u?r-=l-y:r=0);break}else v>=u&&(y>=u?r-=v-y:r-=v-u+1)}return r},this.$addFoldLine=function(u){return this.$foldData.push(u),this.$foldData.sort(function(l,s){return l.start.row-s.start.row}),u},this.addFold=function(u,l){var s=this.$foldData,r=!1,a;u instanceof c?a=u:(a=new c(l,u),a.collapseChildren=l.collapseChildren),this.$clipRangeToDocument(a.range);var p=a.start.row,v=a.start.column,y=a.end.row,k=a.end.column,x=this.getFoldAt(p,v,1),w=this.getFoldAt(y,k,-1);if(x&&w==x)return x.addSubFold(a);x&&!x.range.isStart(p,v)&&this.removeFold(x),w&&!w.range.isEnd(y,k)&&this.removeFold(w);var S=this.getFoldsInRange(a.range);S.length>0&&(this.removeFolds(S),a.collapseChildren||S.forEach(function($){a.addSubFold($)}));for(var M=0;M<s.length;M++){var L=s[M];if(y==L.start.row){L.addFold(a),r=!0;break}else if(p==L.end.row){if(L.addFold(a),r=!0,!a.sameRow){var R=s[M+1];if(R&&R.start.row==y){L.merge(R);break}}break}else if(y<=L.start.row)break}return r||(L=this.$addFoldLine(new g(this.$foldData,a))),this.$useWrapMode?this.$updateWrapData(L.start.row,L.start.row):this.$updateRowLengthCache(L.start.row,L.start.row),this.$modified=!0,this._signal("changeFold",{data:a,action:"add"}),a},this.addFolds=function(u){u.forEach(function(l){this.addFold(l)},this)},this.removeFold=function(u){var l=u.foldLine,s=l.start.row,r=l.end.row,a=this.$foldData,p=l.folds;if(p.length==1)a.splice(a.indexOf(l),1);else if(l.range.isEnd(u.end.row,u.end.column))p.pop(),l.end.row=p[p.length-1].end.row,l.end.column=p[p.length-1].end.column;else if(l.range.isStart(u.start.row,u.start.column))p.shift(),l.start.row=p[0].start.row,l.start.column=p[0].start.column;else if(u.sameRow)p.splice(p.indexOf(u),1);else{var v=l.split(u.start.row,u.start.column);p=v.folds,p.shift(),v.start.row=p[0].start.row,v.start.column=p[0].start.column}this.$updating||(this.$useWrapMode?this.$updateWrapData(s,r):this.$updateRowLengthCache(s,r)),this.$modified=!0,this._signal("changeFold",{data:u,action:"remove"})},this.removeFolds=function(u){for(var l=[],s=0;s<u.length;s++)l.push(u[s]);l.forEach(function(r){this.removeFold(r)},this),this.$modified=!0},this.expandFold=function(u){this.removeFold(u),u.subFolds.forEach(function(l){u.restoreRange(l),this.addFold(l)},this),u.collapseChildren>0&&this.foldAll(u.start.row+1,u.end.row,u.collapseChildren-1),u.subFolds=[]},this.expandFolds=function(u){u.forEach(function(l){this.expandFold(l)},this)},this.unfold=function(u,l){var s,r;if(u==null)s=new f(0,0,this.getLength(),0),l==null&&(l=!0);else if(typeof u=="number")s=new f(u,0,u,this.getLine(u).length);else if("row"in u)s=f.fromPoints(u,u);else{if(Array.isArray(u))return r=[],u.forEach(function(p){r=r.concat(this.unfold(p))},this),r;s=u}r=this.getFoldsInRangeList(s);for(var a=r;r.length==1&&f.comparePoints(r[0].start,s.start)<0&&f.comparePoints(r[0].end,s.end)>0;)this.expandFolds(r),r=this.getFoldsInRangeList(s);if(l!=!1?this.removeFolds(r):this.expandFolds(r),a.length)return a},this.isRowFolded=function(u,l){return!!this.getFoldLine(u,l)},this.getRowFoldEnd=function(u,l){var s=this.getFoldLine(u,l);return s?s.end.row:u},this.getRowFoldStart=function(u,l){var s=this.getFoldLine(u,l);return s?s.start.row:u},this.getFoldDisplayLine=function(u,l,s,r,a){r==null&&(r=u.start.row),a==null&&(a=0),l==null&&(l=u.end.row),s==null&&(s=this.getLine(l).length);var p=this.doc,v="";return u.walk(function(y,k,x,w){if(!(k<r)){if(k==r){if(x<a)return;w=Math.max(a,w)}y!=null?v+=y:v+=p.getLine(k).substring(w,x)}},l,s),v},this.getDisplayLine=function(u,l,s,r){var a=this.getFoldLine(u);if(a)return this.getFoldDisplayLine(a,u,l,s,r);var p=this.doc.getLine(u);return p.substring(r||0,l||p.length)},this.$cloneFoldData=function(){var u=[];return u=this.$foldData.map(function(l){var s=l.folds.map(function(r){return r.clone()});return new g(u,s)}),u},this.toggleFold=function(u){var l=this.selection.getRange(),s,r;if(l.isEmpty()){var a=l.start;if(s=this.getFoldAt(a.row,a.column),s){this.expandFold(s);return}else if(u){var p=this.getFoldLine(a.row);p&&this.expandFolds(p.folds);return}else(r=this.findMatchingBracket(a))?l.comparePoint(r)==1?l.end=r:(l.start=r,l.start.column++,l.end.column--):(r=this.findMatchingBracket({row:a.row,column:a.column+1}))?(l.comparePoint(r)==1?l.end=r:l.start=r,l.start.column++):l=this.getCommentFoldRange(a.row,a.column)||l}else{var v=this.getFoldsInRange(l);if(u&&v.length){this.expandFolds(v);return}else v.length==1&&(s=v[0])}if(s||(s=this.getFoldAt(l.start.row,l.start.column)),s&&s.range.toString()==l.toString()){this.expandFold(s);return}var y="...";if(!l.isMultiLine()){if(y=this.getTextRange(l),y.length<4)return;y=y.trim().substring(0,2)+".."}this.addFold(y,l)},this.getCommentFoldRange=function(u,l,s){var r=new o(this,u,l),a=r.getCurrentToken(),p=a&&a.type;if(a&&/^comment|string/.test(p)){p=p.match(/comment|string/)[0],p=="comment"&&(p+="|doc-start|\\.doc");var v=new RegExp(p),y=new f;if(s!=1){do a=r.stepBackward();while(a&&v.test(a.type));a=r.stepForward()}y.start.row=r.getCurrentTokenRow(),y.start.column=r.getCurrentTokenColumn()+a.value.length,r=new o(this,u,l);var k=this.getState(r.$row);if(s!=-1){var x=-1;do if(a=r.stepForward(),x==-1){var w=this.getState(r.$row);k.toString()!==w.toString()&&(x=r.$row)}else if(r.$row>x)break;while(a&&v.test(a.type));a=r.stepBackward()}else a=r.getCurrentToken();return y.end.row=r.getCurrentTokenRow(),y.end.column=r.getCurrentTokenColumn(),y.start.row==y.end.row&&y.start.column>y.end.column?void 0:y}},this.foldAll=function(u,l,s,r){s==null&&(s=1e5);var a=this.foldWidgets;if(a){l=l||this.getLength(),u=u||0;for(var p=u;p<l;p++)if(a[p]==null&&(a[p]=this.getFoldWidget(p)),a[p]=="start"&&!(r&&!r(p))){var v=this.getFoldWidgetRange(p);v&&v.isMultiLine()&&v.end.row<=l&&v.start.row>=u&&(p=v.end.row,v.collapseChildren=s,this.addFold("...",v))}}},this.foldToLevel=function(u){for(this.foldAll();u-- >0;)this.unfold(null,!1)},this.foldAllComments=function(){var u=this;this.foldAll(null,null,null,function(l){for(var s=u.getTokens(l),r=0;r<s.length;r++){var a=s[r];if(!(a.type=="text"&&/^\s+$/.test(a.value)))return!!/comment/.test(a.type)}})},this.$foldStyles={manual:1,markbegin:1,markbeginend:1},this.$foldStyle="markbegin",this.setFoldStyle=function(u){if(!this.$foldStyles[u])throw new Error("invalid fold style: "+u+"["+Object.keys(this.$foldStyles).join(", ")+"]");if(this.$foldStyle!=u){this.$foldStyle=u,u=="manual"&&this.unfold();var l=this.$foldMode;this.$setFolding(null),this.$setFolding(l)}},this.$setFolding=function(u){if(this.$foldMode!=u){if(this.$foldMode=u,this.off("change",this.$updateFoldWidgets),this.off("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets),this._signal("changeAnnotation"),!u||this.$foldStyle=="manual"){this.foldWidgets=null;return}this.foldWidgets=[],this.getFoldWidget=u.getFoldWidget.bind(u,this,this.$foldStyle),this.getFoldWidgetRange=u.getFoldWidgetRange.bind(u,this,this.$foldStyle),this.$updateFoldWidgets=this.updateFoldWidgets.bind(this),this.$tokenizerUpdateFoldWidgets=this.tokenizerUpdateFoldWidgets.bind(this),this.on("change",this.$updateFoldWidgets),this.on("tokenizerUpdate",this.$tokenizerUpdateFoldWidgets)}},this.getParentFoldRangeData=function(u,l){var s=this.foldWidgets;if(!s||l&&s[u])return{};for(var r=u-1,a;r>=0;){var p=s[r];if(p==null&&(p=s[r]=this.getFoldWidget(r)),p=="start"){var v=this.getFoldWidgetRange(r);if(a||(a=v),v&&v.end.row>=u)break}r--}return{range:r!==-1&&v,firstRange:a}},this.onFoldWidgetClick=function(u,l){l instanceof h&&(l=l.domEvent);var s={children:l.shiftKey,all:l.ctrlKey||l.metaKey,siblings:l.altKey};if(!this.$toggleFoldWidget(u,s)){var r=l.target||l.srcElement;r&&/ace_fold-widget/.test(r.className)&&(r.className+=" ace_invalid")}},this.$toggleFoldWidget=function(u,l){if(this.getFoldWidget){var s=this.getFoldWidget(u),r=this.getLine(u),a=s==="end"?-1:1,p=this.getFoldAt(u,a===-1?0:r.length,a);if(p)return l.children||l.all?this.removeFold(p):this.expandFold(p),p;var v=this.getFoldWidgetRange(u,!0);if(v&&!v.isMultiLine()&&(p=this.getFoldAt(v.start.row,v.start.column,1),p&&v.isEqual(p.range)))return this.removeFold(p),p;if(l.siblings){var y=this.getParentFoldRangeData(u);if(y.range)var k=y.range.start.row+1,x=y.range.end.row;this.foldAll(k,x,l.all?1e4:0)}else l.children?(x=v?v.end.row:this.getLength(),this.foldAll(u+1,x,l.all?1e4:0)):v&&(l.all&&(v.collapseChildren=1e4),this.addFold("...",v));return v}},this.toggleFoldWidget=function(u){var l=this.selection.getCursor().row;l=this.getRowFoldStart(l);var s=this.$toggleFoldWidget(l,{});if(!s){var r=this.getParentFoldRangeData(l,!0);if(s=r.range||r.firstRange,s){l=s.start.row;var a=this.getFoldAt(l,this.getLine(l).length,1);a?this.removeFold(a):this.addFold("...",s)}}},this.updateFoldWidgets=function(u){var l=u.start.row,s=u.end.row-l;if(s===0)this.foldWidgets[l]=null;else if(u.action=="remove")this.foldWidgets.splice(l,s+1,null);else{var r=Array(s+1);r.unshift(l,1),this.foldWidgets.splice.apply(this.foldWidgets,r)}},this.tokenizerUpdateFoldWidgets=function(u){var l=u.data;l.first!=l.last&&this.foldWidgets.length>l.first&&this.foldWidgets.splice(l.first,this.foldWidgets.length)}}n.Folding=d}),ace.define("ace/edit_session/bracket_match",["require","exports","module","ace/token_iterator","ace/range"],function(t,n,m){"use strict";var f=t("../token_iterator").TokenIterator,g=t("../range").Range;function c(){this.findMatchingBracket=function(o,h){if(o.column==0)return null;var d=h||this.getLine(o.row).charAt(o.column-1);if(d=="")return null;var u=d.match(/([\(\[\{])|([\)\]\}])/);return u?u[1]?this.$findClosingBracket(u[1],o):this.$findOpeningBracket(u[2],o):null},this.getBracketRange=function(o){var h=this.getLine(o.row),d=!0,u,l=h.charAt(o.column-1),s=l&&l.match(/([\(\[\{])|([\)\]\}])/);if(s||(l=h.charAt(o.column),o={row:o.row,column:o.column+1},s=l&&l.match(/([\(\[\{])|([\)\]\}])/),d=!1),!s)return null;if(s[1]){var r=this.$findClosingBracket(s[1],o);if(!r)return null;u=g.fromPoints(o,r),d||(u.end.column++,u.start.column--),u.cursor=u.end}else{var r=this.$findOpeningBracket(s[2],o);if(!r)return null;u=g.fromPoints(r,o),d||(u.start.column++,u.end.column--),u.cursor=u.start}return u},this.getMatchingBracketRanges=function(o,h){var d=this.getLine(o.row),u=/([\(\[\{])|([\)\]\}])/,l=!h&&d.charAt(o.column-1),s=l&&l.match(u);if(s||(l=(h===void 0||h)&&d.charAt(o.column),o={row:o.row,column:o.column+1},s=l&&l.match(u)),!s)return null;var r=new g(o.row,o.column-1,o.row,o.column),a=s[1]?this.$findClosingBracket(s[1],o):this.$findOpeningBracket(s[2],o);return a?[r,new g(a.row,a.column,a.row,a.column+1)]:[r]},this.$brackets={")":"(","(":")","]":"[","[":"]","{":"}","}":"{","<":">",">":"<"},this.$findOpeningBracket=function(o,h,d){var u=this.$brackets[o],l=1,s=new f(this,h.row,h.column),r=s.getCurrentToken();if(r||(r=s.stepForward()),!!r){d||(d=new RegExp("(\\.?"+r.type.replace(".","\\.").replace("rparen",".paren").replace(/\b(?:end)\b/,"(?:start|begin|end)").replace(/-close\b/,"-(close|open)")+")+"));for(var a=h.column-s.getCurrentTokenColumn()-2,p=r.value;;){for(;a>=0;){var v=p.charAt(a);if(v==u){if(l-=1,l==0)return{row:s.getCurrentTokenRow(),column:a+s.getCurrentTokenColumn()}}else v==o&&(l+=1);a-=1}do r=s.stepBackward();while(r&&!d.test(r.type));if(r==null)break;p=r.value,a=p.length-1}return null}},this.$findClosingBracket=function(o,h,d){var u=this.$brackets[o],l=1,s=new f(this,h.row,h.column),r=s.getCurrentToken();if(r||(r=s.stepForward()),!!r){d||(d=new RegExp("(\\.?"+r.type.replace(".","\\.").replace("lparen",".paren").replace(/\b(?:start|begin)\b/,"(?:start|begin|end)").replace(/-open\b/,"-(close|open)")+")+"));for(var a=h.column-s.getCurrentTokenColumn();;){for(var p=r.value,v=p.length;a<v;){var y=p.charAt(a);if(y==u){if(l-=1,l==0)return{row:s.getCurrentTokenRow(),column:a+s.getCurrentTokenColumn()}}else y==o&&(l+=1);a+=1}do r=s.stepForward();while(r&&!d.test(r.type));if(r==null)break;a=0}return null}},this.getMatchingTags=function(o){var h=new f(this,o.row,o.column),d=this.$findTagName(h);if(d)return h.stepBackward().value==="<"?this.$findClosingTag(h,d):this.$findOpeningTag(h,d)},this.$findTagName=function(o){var h=o.getCurrentToken(),d=!1,u=!1;if(h&&h.type.indexOf("tag-name")===-1)do u?h=o.stepBackward():h=o.stepForward(),h&&(h.value==="/>"?u=!0:h.type.indexOf("tag-name")!==-1&&(d=!0));while(h&&!d);return h},this.$findClosingTag=function(o,h){var d,u=h.value,l=h.value,s=0,r=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+1);h=o.stepForward();var a=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+h.value.length),p=!1;do{if(d=h,d.type.indexOf("tag-close")!==-1&&!p){var v=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+1);p=!0}if(h=o.stepForward(),h){if(h.value===">"&&!p){var v=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+1);p=!0}if(h.type.indexOf("tag-name")!==-1){if(u=h.value,l===u){if(d.value==="<")s++;else if(d.value==="</"&&(s--,s<0)){o.stepBackward();var y=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+2);h=o.stepForward();var k=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+h.value.length);if(h.type.indexOf("tag-close")===-1&&(h=o.stepForward()),h&&h.value===">")var x=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+1);else return}}}else if(l===u&&h.value==="/>"&&(s--,s<0))var y=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+2),k=y,x=k,v=new g(a.end.row,a.end.column,a.end.row,a.end.column+1)}}while(h&&s>=0);if(r&&v&&y&&x&&a&&k)return{openTag:new g(r.start.row,r.start.column,v.end.row,v.end.column),closeTag:new g(y.start.row,y.start.column,x.end.row,x.end.column),openTagName:a,closeTagName:k}},this.$findOpeningTag=function(o,h){var d=o.getCurrentToken(),u=h.value,l=0,s=o.getCurrentTokenRow(),r=o.getCurrentTokenColumn(),a=r+2,p=new g(s,r,s,a);o.stepForward();var v=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+h.value.length);if(h.type.indexOf("tag-close")===-1&&(h=o.stepForward()),!(!h||h.value!==">")){var y=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+1);o.stepBackward(),o.stepBackward();do if(h=d,s=o.getCurrentTokenRow(),r=o.getCurrentTokenColumn(),a=r+h.value.length,d=o.stepBackward(),h){if(h.type.indexOf("tag-name")!==-1){if(u===h.value)if(d.value==="<"){if(l++,l>0){var k=new g(s,r,s,a),x=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+1);do h=o.stepForward();while(h&&h.value!==">");var w=new g(o.getCurrentTokenRow(),o.getCurrentTokenColumn(),o.getCurrentTokenRow(),o.getCurrentTokenColumn()+1)}}else d.value==="</"&&l--}else if(h.value==="/>"){for(var S=0,M=d;M;){if(M.type.indexOf("tag-name")!==-1&&M.value===u){l--;break}else if(M.value==="<")break;M=o.stepBackward(),S++}for(var L=0;L<S;L++)o.stepForward()}}while(d&&l<=0);if(x&&w&&p&&y&&k&&v)return{openTag:new g(x.start.row,x.start.column,w.end.row,w.end.column),closeTag:new g(p.start.row,p.start.column,y.end.row,y.end.column),openTagName:k,closeTagName:v}}}}n.BracketMatch=c}),ace.define("ace/edit_session",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/bidihandler","ace/config","ace/lib/event_emitter","ace/selection","ace/mode/text","ace/range","ace/line_widgets","ace/document","ace/background_tokenizer","ace/search_highlight","ace/undomanager","ace/edit_session/folding","ace/edit_session/bracket_match"],function(t,n,m){"use strict";var f=t("./lib/oop"),g=t("./lib/lang"),c=t("./bidihandler").BidiHandler,o=t("./config"),h=t("./lib/event_emitter").EventEmitter,d=t("./selection").Selection,u=t("./mode/text").Mode,l=t("./range").Range,s=t("./line_widgets").LineWidgets,r=t("./document").Document,a=t("./background_tokenizer").BackgroundTokenizer,p=t("./search_highlight").SearchHighlight,v=t("./undomanager").UndoManager,y=(function(){function T(E,C){this.doc,this.$breakpoints=[],this.$decorations=[],this.$frontMarkers={},this.$backMarkers={},this.$markerId=1,this.$undoSelect=!0,this.$editor=null,this.prevOp={},this.$foldData=[],this.id="session"+ ++T.$uid,this.$foldData.toString=function(){return this.join(`
1357
1357
  `)},this.$gutterCustomWidgets={},this.bgTokenizer=new a(new u().getTokenizer(),this);var b=this;this.bgTokenizer.on("update",function(A){b._signal("tokenizerUpdate",A)}),this.on("changeFold",this.onChangeFold.bind(this)),this.$onChange=this.onChange.bind(this),(typeof E!="object"||!E.getLine)&&(E=new r(E)),this.setDocument(E),this.selection=new d(this),this.$onSelectionChange=this.onSelectionChange.bind(this),this.selection.on("changeSelection",this.$onSelectionChange),this.selection.on("changeCursor",this.$onSelectionChange),this.$bidiHandler=new c(this),o.resetOptions(this),this.setMode(C),o._signal("session",this),this.destroyed=!1,this.$initOperationListeners()}return T.prototype.$initOperationListeners=function(){var E=this;this.curOp=null,this.on("change",function(){E.curOp||(E.startOperation(),E.curOp.selectionBefore=E.$lastSel),E.curOp.docChanged=!0},!0),this.on("changeSelection",function(){E.curOp||(E.startOperation(),E.curOp.selectionBefore=E.$lastSel),E.curOp.selectionChanged=!0},!0),this.$operationResetTimer=g.delayedCall(this.endOperation.bind(this,!0))},T.prototype.startOperation=function(E){if(this.curOp){if(!E||this.curOp.command)return;this.prevOp=this.curOp}E||(E={}),this.$operationResetTimer.schedule(),this.curOp={command:E.command||{},args:E.args},this.curOp.selectionBefore=this.selection.toJSON(),this._signal("startOperation",E)},T.prototype.endOperation=function(E){if(this.curOp){if(E&&E.returnValue===!1){this.curOp=null,this._signal("endOperation",E);return}if(E==!0&&this.curOp.command&&this.curOp.command.name=="mouse")return;var C=this.selection.toJSON();this.curOp.selectionAfter=C,this.$lastSel=this.selection.toJSON(),this.getUndoManager().addSelection(C),this._signal("beforeEndOperation"),this.prevOp=this.curOp,this.curOp=null,this._signal("endOperation",E)}},T.prototype.setDocument=function(E){this.doc&&this.doc.off("change",this.$onChange),this.doc=E,E.on("change",this.$onChange,!0),this.bgTokenizer.setDocument(this.getDocument()),this.resetCaches()},T.prototype.getDocument=function(){return this.doc},Object.defineProperty(T.prototype,"widgetManager",{get:function(){var E=new s(this);return this.widgetManager=E,this.$editor&&E.attach(this.$editor),E},set:function(E){Object.defineProperty(this,"widgetManager",{writable:!0,enumerable:!0,configurable:!0,value:E})},enumerable:!1,configurable:!0}),T.prototype.$resetRowCache=function(E){if(!E){this.$docRowCache=[],this.$screenRowCache=[];return}var C=this.$docRowCache.length,b=this.$getRowCacheIndex(this.$docRowCache,E)+1;C>b&&(this.$docRowCache.splice(b,C),this.$screenRowCache.splice(b,C))},T.prototype.$getRowCacheIndex=function(E,C){for(var b=0,A=E.length-1;b<=A;){var _=b+A>>1,O=E[_];if(C>O)b=_+1;else if(C<O)A=_-1;else return _}return b-1},T.prototype.resetCaches=function(){this.$modified=!0,this.$wrapData=[],this.$rowLengthCache=[],this.$resetRowCache(0),this.destroyed||this.bgTokenizer.start(0)},T.prototype.onChangeFold=function(E){var C=E.data;this.$resetRowCache(C.start.row)},T.prototype.onChange=function(E){this.$modified=!0,this.$bidiHandler.onChange(E),this.$resetRowCache(E.start.row);var C=this.$updateInternalDataOnChange(E);!this.$fromUndo&&this.$undoManager&&(C&&C.length&&(this.$undoManager.add({action:"removeFolds",folds:C},this.mergeUndoDeltas),this.mergeUndoDeltas=!0),this.$undoManager.add(E,this.mergeUndoDeltas),this.mergeUndoDeltas=!0,this.$informUndoManager.schedule()),this.bgTokenizer.$updateOnChange(E),this._signal("change",E)},T.prototype.onSelectionChange=function(){this._signal("changeSelection")},T.prototype.setValue=function(E){this.doc.setValue(E),this.selection.moveTo(0,0),this.$resetRowCache(0),this.setUndoManager(this.$undoManager),this.getUndoManager().reset()},T.fromJSON=function(E){typeof E=="string"&&(E=JSON.parse(E));var C=new v;C.$undoStack=E.history.$undoStack,C.$redoStack=E.history.$redoStack,C.mark=E.history.mark,C.$rev=E.history.rev;var b=new T(E.value);return E.folds.forEach(function(A){b.addFold("...",l.fromPoints(A.start,A.end))}),b.setAnnotations(E.annotations),b.setBreakpoints(E.breakpoints),b.setMode(E.mode),b.setScrollLeft(E.scrollLeft),b.setScrollTop(E.scrollTop),b.setUndoManager(C),b.selection.fromJSON(E.selection),b},T.prototype.toJSON=function(){return{annotations:this.$annotations,breakpoints:this.$breakpoints,folds:this.getAllFolds().map(function(E){return E.range}),history:this.getUndoManager(),mode:this.$mode.$id,scrollLeft:this.$scrollLeft,scrollTop:this.$scrollTop,selection:this.selection.toJSON(),value:this.doc.getValue()}},T.prototype.toString=function(){return this.doc.getValue()},T.prototype.getSelection=function(){return this.selection},T.prototype.getState=function(E){return this.bgTokenizer.getState(E)},T.prototype.getTokens=function(E){return this.bgTokenizer.getTokens(E)},T.prototype.getTokenAt=function(E,C){var b=this.bgTokenizer.getTokens(E),A,_=0;if(C==null){var O=b.length-1;_=this.getLine(E).length}else for(var O=0;O<b.length&&(_+=b[O].value.length,!(_>=C));O++);return A=b[O],A?(A.index=O,A.start=_-A.value.length,A):null},T.prototype.setUndoManager=function(E){if(this.$undoManager=E,this.$informUndoManager&&this.$informUndoManager.cancel(),E){var C=this;E.addSession(this),this.$syncInformUndoManager=function(){C.$informUndoManager.cancel(),C.mergeUndoDeltas=!1},this.$informUndoManager=g.delayedCall(this.$syncInformUndoManager)}else this.$syncInformUndoManager=function(){}},T.prototype.markUndoGroup=function(){this.$syncInformUndoManager&&this.$syncInformUndoManager()},T.prototype.getUndoManager=function(){return this.$undoManager||this.$defaultUndoManager},T.prototype.getTabString=function(){return this.getUseSoftTabs()?g.stringRepeat(" ",this.getTabSize()):" "},T.prototype.setUseSoftTabs=function(E){this.setOption("useSoftTabs",E)},T.prototype.getUseSoftTabs=function(){return this.$useSoftTabs&&!this.$mode.$indentWithTabs},T.prototype.setTabSize=function(E){this.setOption("tabSize",E)},T.prototype.getTabSize=function(){return this.$tabSize},T.prototype.isTabStop=function(E){return this.$useSoftTabs&&E.column%this.$tabSize===0},T.prototype.setNavigateWithinSoftTabs=function(E){this.setOption("navigateWithinSoftTabs",E)},T.prototype.getNavigateWithinSoftTabs=function(){return this.$navigateWithinSoftTabs},T.prototype.setOverwrite=function(E){this.setOption("overwrite",E)},T.prototype.getOverwrite=function(){return this.$overwrite},T.prototype.toggleOverwrite=function(){this.setOverwrite(!this.$overwrite)},T.prototype.addGutterDecoration=function(E,C){this.$decorations[E]||(this.$decorations[E]=""),this.$decorations[E]+=" "+C,this._signal("changeBreakpoint",{})},T.prototype.removeGutterCustomWidget=function(E){this.$editor&&this.$editor.renderer.$gutterLayer.$removeCustomWidget(E)},T.prototype.addGutterCustomWidget=function(E,C){this.$editor&&this.$editor.renderer.$gutterLayer.$addCustomWidget(E,C)},T.prototype.removeGutterDecoration=function(E,C){this.$decorations[E]=(this.$decorations[E]||"").replace(" "+C,""),this._signal("changeBreakpoint",{})},T.prototype.getBreakpoints=function(){return this.$breakpoints},T.prototype.setBreakpoints=function(E){this.$breakpoints=[];for(var C=0;C<E.length;C++)this.$breakpoints[E[C]]="ace_breakpoint";this._signal("changeBreakpoint",{})},T.prototype.clearBreakpoints=function(){this.$breakpoints=[],this._signal("changeBreakpoint",{})},T.prototype.setBreakpoint=function(E,C){C===void 0&&(C="ace_breakpoint"),C?this.$breakpoints[E]=C:delete this.$breakpoints[E],this._signal("changeBreakpoint",{})},T.prototype.clearBreakpoint=function(E){delete this.$breakpoints[E],this._signal("changeBreakpoint",{})},T.prototype.addMarker=function(E,C,b,A){var _=this.$markerId++,O={range:E,type:b||"line",renderer:typeof b=="function"?b:null,clazz:C,inFront:!!A,id:_};return A?(this.$frontMarkers[_]=O,this._signal("changeFrontMarker")):(this.$backMarkers[_]=O,this._signal("changeBackMarker")),_},T.prototype.addDynamicMarker=function(E,C){if(E.update){var b=this.$markerId++;return E.id=b,E.inFront=!!C,C?(this.$frontMarkers[b]=E,this._signal("changeFrontMarker")):(this.$backMarkers[b]=E,this._signal("changeBackMarker")),E}},T.prototype.removeMarker=function(E){var C=this.$frontMarkers[E]||this.$backMarkers[E];if(C){var b=C.inFront?this.$frontMarkers:this.$backMarkers;delete b[E],this._signal(C.inFront?"changeFrontMarker":"changeBackMarker")}},T.prototype.getMarkers=function(E){return E?this.$frontMarkers:this.$backMarkers},T.prototype.highlight=function(E){if(!this.$searchHighlight){var C=new p(null,"ace_selected-word","text");this.$searchHighlight=this.addDynamicMarker(C)}this.$searchHighlight.setRegexp(E)},T.prototype.highlightLines=function(E,C,b,A){typeof C!="number"&&(b=C,C=E),b||(b="ace_step");var _=new l(E,0,C,1/0);return _.id=this.addMarker(_,b,"fullLine",A),_},T.prototype.setAnnotations=function(E){this.$annotations=E,this._signal("changeAnnotation",{})},T.prototype.getAnnotations=function(){return this.$annotations||[]},T.prototype.clearAnnotations=function(){this.setAnnotations([])},T.prototype.$detectNewLine=function(E){var C=E.match(/^.*?(\r?\n)/m);C?this.$autoNewLine=C[1]:this.$autoNewLine=`
1358
- `},T.prototype.getWordRange=function(E,C){var b=this.getLine(E),A=!1;if(C>0&&(A=!!b.charAt(C-1).match(this.tokenRe)),A||(A=!!b.charAt(C).match(this.tokenRe)),A)var _=this.tokenRe;else if(/^\s+$/.test(b.slice(C-1,C+1)))var _=/\s/;else var _=this.nonTokenRe;var O=C;if(O>0){do O--;while(O>=0&&b.charAt(O).match(_));O++}for(var I=C;I<b.length&&b.charAt(I).match(_);)I++;return new l(E,O,E,I)},T.prototype.getAWordRange=function(E,C){for(var b=this.getWordRange(E,C),A=this.getLine(b.end.row);A.charAt(b.end.column).match(/[ \t]/);)b.end.column+=1;return b},T.prototype.setNewLineMode=function(E){this.doc.setNewLineMode(E)},T.prototype.getNewLineMode=function(){return this.doc.getNewLineMode()},T.prototype.setUseWorker=function(E){this.setOption("useWorker",E)},T.prototype.getUseWorker=function(){return this.$useWorker},T.prototype.onReloadTokenizer=function(E){var C=E.data;this.bgTokenizer.start(C.first),this._signal("tokenizerUpdate",E)},T.prototype.setMode=function(E,C){if(E&&typeof E=="object"){if(E.getTokenizer)return this.$onChangeMode(E);var b=E,A=b.path}else A=E||"ace/mode/text";if(this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new u),this.$modes[A]&&!b){this.$onChangeMode(this.$modes[A]),C&&C();return}this.$modeId=A,o.loadModule(["mode",A],function(_){if(!this.destroyed){if(this.$modeId!==A)return C&&C();this.$modes[A]&&!b?this.$onChangeMode(this.$modes[A]):_&&_.Mode&&(_=new _.Mode(b),b||(this.$modes[A]=_,_.$id=A),this.$onChangeMode(_)),C&&C()}}.bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},T.prototype.$onChangeMode=function(E,C){if(C||(this.$modeId=E.$id),this.$mode!==E){var b=this.$mode;this.$mode=E,this.$stopWorker(),this.$useWorker&&this.$startWorker();var A=E.getTokenizer();if(A.on!==void 0){var _=this.onReloadTokenizer.bind(this);A.on("update",_)}this.bgTokenizer.setTokenizer(A),this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=E.tokenRe,this.nonTokenRe=E.nonTokenRe,C||(E.attachToSession&&E.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(E.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode",{oldMode:b,mode:E}))}},T.prototype.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},T.prototype.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(E){o.warn("Could not load worker",E),this.$worker=null}},T.prototype.getMode=function(){return this.$mode},T.prototype.setScrollTop=function(E){this.$scrollTop===E||isNaN(E)||(this.$scrollTop=E,this._signal("changeScrollTop",E))},T.prototype.getScrollTop=function(){return this.$scrollTop},T.prototype.setScrollLeft=function(E){this.$scrollLeft===E||isNaN(E)||(this.$scrollLeft=E,this._signal("changeScrollLeft",E))},T.prototype.getScrollLeft=function(){return this.$scrollLeft},T.prototype.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},T.prototype.getLineWidgetMaxWidth=function(){if(this.lineWidgetsWidth!=null)return this.lineWidgetsWidth;var E=0;return this.lineWidgets.forEach(function(C){C&&C.screenWidth>E&&(E=C.screenWidth)}),this.lineWidgetWidth=E},T.prototype.$computeWidth=function(E){if(this.$modified||E){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var C=this.doc.getAllLines(),b=this.$rowLengthCache,A=0,_=0,O=this.$foldData[_],I=O?O.start.row:1/0,N=C.length,F=0;F<N;F++){if(F>I){if(F=O.end.row+1,F>=N)break;O=this.$foldData[_++],I=O?O.start.row:1/0}b[F]==null&&(b[F]=this.$getStringScreenWidth(C[F])[0]),b[F]>A&&(A=b[F])}this.screenWidth=A}},T.prototype.getLine=function(E){return this.doc.getLine(E)},T.prototype.getLines=function(E,C){return this.doc.getLines(E,C)},T.prototype.getLength=function(){return this.doc.getLength()},T.prototype.getTextRange=function(E){return this.doc.getTextRange(E||this.selection.getRange())},T.prototype.insert=function(E,C){return this.doc.insert(E,C)},T.prototype.remove=function(E){return this.doc.remove(E)},T.prototype.removeFullLines=function(E,C){return this.doc.removeFullLines(E,C)},T.prototype.undoChanges=function(E,C){if(E.length){this.$fromUndo=!0;for(var b=E.length-1;b!=-1;b--){var A=E[b];A.action=="insert"||A.action=="remove"?this.doc.revertDelta(A):A.folds&&this.addFolds(A.folds)}!C&&this.$undoSelect&&(E.selectionBefore?this.selection.fromJSON(E.selectionBefore):this.selection.setRange(this.$getUndoSelection(E,!0))),this.$fromUndo=!1}},T.prototype.redoChanges=function(E,C){if(E.length){this.$fromUndo=!0;for(var b=0;b<E.length;b++){var A=E[b];(A.action=="insert"||A.action=="remove")&&this.doc.$safeApplyDelta(A)}!C&&this.$undoSelect&&(E.selectionAfter?this.selection.fromJSON(E.selectionAfter):this.selection.setRange(this.$getUndoSelection(E,!1))),this.$fromUndo=!1}},T.prototype.setUndoSelect=function(E){this.$undoSelect=E},T.prototype.$getUndoSelection=function(E,C){function b(N){return C?N.action!=="insert":N.action==="insert"}for(var A,_,O=0;O<E.length;O++){var I=E[O];if(I.start){if(!A){b(I)?A=l.fromPoints(I.start,I.end):A=l.fromPoints(I.start,I.start);continue}b(I)?(_=I.start,A.compare(_.row,_.column)==-1&&A.setStart(_),_=I.end,A.compare(_.row,_.column)==1&&A.setEnd(_)):(_=I.start,A.compare(_.row,_.column)==-1&&(A=l.fromPoints(I.start,I.start)))}}return A},T.prototype.replace=function(E,C){return this.doc.replace(E,C)},T.prototype.moveText=function(E,C,b){var A=this.getTextRange(E),_=this.getFoldsInRange(E),O=l.fromPoints(C,C);if(!b){this.remove(E);var I=E.start.row-E.end.row,N=I?-E.end.column:E.start.column-E.end.column;N&&(O.start.row==E.end.row&&O.start.column>E.end.column&&(O.start.column+=N),O.end.row==E.end.row&&O.end.column>E.end.column&&(O.end.column+=N)),I&&O.start.row>=E.end.row&&(O.start.row+=I,O.end.row+=I)}if(O.end=this.insert(O.start,A),_.length){var F=E.start,z=O.start,I=z.row-F.row,N=z.column-F.column;this.addFolds(_.map(function(W){return W=W.clone(),W.start.row==F.row&&(W.start.column+=N),W.end.row==F.row&&(W.end.column+=N),W.start.row+=I,W.end.row+=I,W}))}return O},T.prototype.indentRows=function(E,C,b){b=b.replace(/\t/g,this.getTabString());for(var A=E;A<=C;A++)this.doc.insertInLine({row:A,column:0},b)},T.prototype.outdentRows=function(E){for(var C=E.collapseRows(),b=new l(0,0,0,0),A=this.getTabSize(),_=C.start.row;_<=C.end.row;++_){var O=this.getLine(_);b.start.row=_,b.end.row=_;for(var I=0;I<A&&O.charAt(I)==" ";++I);I<A&&O.charAt(I)==" "?(b.start.column=I,b.end.column=I+1):(b.start.column=0,b.end.column=I),this.remove(b)}},T.prototype.$moveLines=function(E,C,b){if(E=this.getRowFoldStart(E),C=this.getRowFoldEnd(C),b<0){var A=this.getRowFoldStart(E+b);if(A<0)return 0;var _=A-E}else if(b>0){var A=this.getRowFoldEnd(C+b);if(A>this.doc.getLength()-1)return 0;var _=A-C}else{E=this.$clipRowToDocument(E),C=this.$clipRowToDocument(C);var _=C-E+1}var O=new l(E,0,C,Number.MAX_VALUE),I=this.getFoldsInRange(O).map(function(F){return F=F.clone(),F.start.row+=_,F.end.row+=_,F}),N=b==0?this.doc.getLines(E,C):this.doc.removeFullLines(E,C);return this.doc.insertFullLines(E+_,N),I.length&&this.addFolds(I),_},T.prototype.moveLinesUp=function(E,C){return this.$moveLines(E,C,-1)},T.prototype.moveLinesDown=function(E,C){return this.$moveLines(E,C,1)},T.prototype.duplicateLines=function(E,C){return this.$moveLines(E,C,0)},T.prototype.$clipRowToDocument=function(E){return Math.max(0,Math.min(E,this.doc.getLength()-1))},T.prototype.$clipColumnToRow=function(E,C){return C<0?0:Math.min(this.doc.getLine(E).length,C)},T.prototype.$clipPositionToDocument=function(E,C){if(C=Math.max(0,C),E<0)E=0,C=0;else{var b=this.doc.getLength();E>=b?(E=b-1,C=this.doc.getLine(b-1).length):C=Math.min(this.doc.getLine(E).length,C)}return{row:E,column:C}},T.prototype.$clipRangeToDocument=function(E){E.start.row<0?(E.start.row=0,E.start.column=0):E.start.column=this.$clipColumnToRow(E.start.row,E.start.column);var C=this.doc.getLength()-1;return E.end.row>C?(E.end.row=C,E.end.column=this.doc.getLine(C).length):E.end.column=this.$clipColumnToRow(E.end.row,E.end.column),E},T.prototype.setUseWrapMode=function(E){if(E!=this.$useWrapMode){if(this.$useWrapMode=E,this.$modified=!0,this.$resetRowCache(0),E){var C=this.getLength();this.$wrapData=Array(C),this.$updateWrapData(0,C-1)}this._signal("changeWrapMode")}},T.prototype.getUseWrapMode=function(){return this.$useWrapMode},T.prototype.setWrapLimitRange=function(E,C){(this.$wrapLimitRange.min!==E||this.$wrapLimitRange.max!==C)&&(this.$wrapLimitRange={min:E,max:C},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},T.prototype.adjustWrapLimit=function(E,C){var b=this.$wrapLimitRange;b.max<0&&(b={min:C,max:C});var A=this.$constrainWrapLimit(E,b.min,b.max);return A!=this.$wrapLimit&&A>1?(this.$wrapLimit=A,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},T.prototype.$constrainWrapLimit=function(E,C,b){return C&&(E=Math.max(C,E)),b&&(E=Math.min(b,E)),E},T.prototype.getWrapLimit=function(){return this.$wrapLimit},T.prototype.setWrapLimit=function(E){this.setWrapLimitRange(E,E)},T.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},T.prototype.$updateInternalDataOnChange=function(E){var C=this.$useWrapMode,b=E.action,A=E.start,_=E.end,O=A.row,I=_.row,N=I-O,F=null;if(this.$updating=!0,N!=0)if(b==="remove"){this[C?"$wrapData":"$rowLengthCache"].splice(O,N);var z=this.$foldData;F=this.getFoldsInRange(E),this.removeFolds(F);var P=this.getFoldLine(_.row),B=0;if(P){P.addRemoveChars(_.row,_.column,A.column-_.column),P.shiftRow(-N);var W=this.getFoldLine(O);W&&W!==P&&(W.merge(P),P=W),B=z.indexOf(P)+1}for(;B<z.length;B++){var P=z[B];P.start.row>=_.row&&P.shiftRow(-N)}I=O}else{var H=Array(N);H.unshift(O,0);var U=C?this.$wrapData:this.$rowLengthCache;U.splice.apply(U,H);var z=this.$foldData,P=this.getFoldLine(O),B=0;if(P){var G=P.range.compareInside(A.row,A.column);G==0?(P=P.split(A.row,A.column),P&&(P.shiftRow(N),P.addRemoveChars(I,0,_.column-A.column))):G==-1&&(P.addRemoveChars(O,0,_.column-A.column),P.shiftRow(N)),B=z.indexOf(P)+1}for(;B<z.length;B++){var P=z[B];P.start.row>=O&&P.shiftRow(N)}}else{N=Math.abs(E.start.column-E.end.column),b==="remove"&&(F=this.getFoldsInRange(E),this.removeFolds(F),N=-N);var P=this.getFoldLine(O);P&&P.addRemoveChars(O,A.column,N)}return C&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,C?this.$updateWrapData(O,I):this.$updateRowLengthCache(O,I),F},T.prototype.$updateRowLengthCache=function(E,C){this.$rowLengthCache[E]=null,this.$rowLengthCache[C]=null},T.prototype.$updateWrapData=function(E,C){var b=this.doc.getAllLines(),A=this.getTabSize(),_=this.$wrapData,O=this.$wrapLimit,I,N,F=E;for(C=Math.min(C,b.length-1);F<=C;)N=this.getFoldLine(F,N),N?(I=[],N.walk(function(z,P,B,W){var H;if(z!=null){H=this.$getDisplayTokens(z,I.length),H[0]=w;for(var U=1;U<H.length;U++)H[U]=S}else H=this.$getDisplayTokens(b[P].substring(W,B),I.length);I=I.concat(H)}.bind(this),N.end.row,b[N.end.row].length+1),_[N.start.row]=this.$computeWrapSplits(I,O,A),F=N.end.row+1):(I=this.$getDisplayTokens(b[F]),_[F]=this.$computeWrapSplits(I,O,A),F++)},T.prototype.$computeWrapSplits=function(E,C,b){if(E.length==0)return[];var A=[],_=E.length,O=0,I=0,N=this.$wrapAsCode,F=this.$indentedSoftWrap,z=C<=Math.max(2*b,8)||F===!1?0:Math.floor(C/2);function P(){var G=0;if(z===0)return G;if(F)for(var Y=0;Y<E.length;Y++){var q=E[Y];if(q==L)G+=1;else if(q==R)G+=b;else{if(q==$)continue;break}}return N&&F!==!1&&(G+=b),Math.min(G,z)}function B(G){for(var Y=G-O,q=O;q<G;q++){var X=E[q];(X===12||X===2)&&(Y-=1)}A.length||(W=P(),A.indent=W),I+=Y,A.push(I),O=G}for(var W=0;_-O>C-W;){var H=O+C-W;if(E[H-1]>=L&&E[H]>=L){B(H);continue}if(E[H]==w||E[H]==S){for(;H!=O-1&&E[H]!=w;H--);if(H>O){B(H);continue}for(H=O+C;H<E.length&&E[H]==S;H++);if(H==E.length)break;B(H);continue}for(var U=Math.max(H-(C-(C>>2)),O-1);H>U&&E[H]<w;)H--;if(N){for(;H>U&&E[H]<w;)H--;for(;H>U&&E[H]==M;)H--}else for(;H>U&&E[H]<L;)H--;if(H>U){B(++H);continue}H=O+C,E[H]==x&&H--,B(H-W)}return A},T.prototype.$getDisplayTokens=function(E,C){var b=[],A;C=C||0;for(var _=0;_<E.length;_++){var O=E.charCodeAt(_);if(O==9){A=this.getScreenTabSize(b.length+C),b.push(R);for(var I=1;I<A;I++)b.push($)}else O==32?b.push(L):O>39&&O<48||O>57&&O<64?b.push(M):O>=4352&&D(O)?b.push(k,x):b.push(k)}return b},T.prototype.$getStringScreenWidth=function(E,C,b){if(C==0)return[0,0];C==null&&(C=1/0),b=b||0;var A,_;for(_=0;_<E.length&&(A=E.charCodeAt(_),A==9?b+=this.getScreenTabSize(b):A>=4352&&D(A)?b+=2:b+=1,!(b>C));_++);return[b,_]},T.prototype.getRowLength=function(E){var C=1;return this.lineWidgets&&(C+=this.lineWidgets[E]&&this.lineWidgets[E].rowCount||0),!this.$useWrapMode||!this.$wrapData[E]?C:this.$wrapData[E].length+C},T.prototype.getRowLineCount=function(E){return!this.$useWrapMode||!this.$wrapData[E]?1:this.$wrapData[E].length+1},T.prototype.getRowWrapIndent=function(E){if(this.$useWrapMode){var C=this.screenToDocumentPosition(E,Number.MAX_VALUE),b=this.$wrapData[C.row];return b.length&&b[0]<C.column?b.indent:0}else return 0},T.prototype.getScreenLastRowColumn=function(E){var C=this.screenToDocumentPosition(E,Number.MAX_VALUE);return this.documentToScreenColumn(C.row,C.column)},T.prototype.getDocumentLastRowColumn=function(E,C){var b=this.documentToScreenRow(E,C);return this.getScreenLastRowColumn(b)},T.prototype.getDocumentLastRowColumnPosition=function(E,C){var b=this.documentToScreenRow(E,C);return this.screenToDocumentPosition(b,Number.MAX_VALUE/10)},T.prototype.getRowSplitData=function(E){if(this.$useWrapMode)return this.$wrapData[E]},T.prototype.getScreenTabSize=function(E){return this.$tabSize-(E%this.$tabSize|0)},T.prototype.screenToDocumentRow=function(E,C){return this.screenToDocumentPosition(E,C).row},T.prototype.screenToDocumentColumn=function(E,C){return this.screenToDocumentPosition(E,C).column},T.prototype.screenToDocumentPosition=function(E,C,b){if(E<0)return{row:0,column:0};var A,_=0,O=0,I,N=0,F=0,z=this.$screenRowCache,P=this.$getRowCacheIndex(z,E),B=z.length;if(B&&P>=0)var N=z[P],_=this.$docRowCache[P],W=E>z[B-1];else var W=!B;for(var H=this.getLength()-1,U=this.getNextFoldLine(_),G=U?U.start.row:1/0;N<=E&&(F=this.getRowLength(_),!(N+F>E||_>=H));)N+=F,_++,_>G&&(_=U.end.row+1,U=this.getNextFoldLine(_,U),G=U?U.start.row:1/0),W&&(this.$docRowCache.push(_),this.$screenRowCache.push(N));if(U&&U.start.row<=_)A=this.getFoldDisplayLine(U),_=U.start.row;else{if(N+F<=E||_>H)return{row:H,column:this.getLine(H).length};A=this.getLine(_),U=null}var Y=0,q=Math.floor(E-N);if(this.$useWrapMode){var X=this.$wrapData[_];X&&(I=X[q],q>0&&X.length&&(Y=X.indent,O=X[q-1]||X[X.length-1],A=A.substring(O)))}return b!==void 0&&this.$bidiHandler.isBidiRow(N+q,_,q)&&(C=this.$bidiHandler.offsetToCol(b)),O+=this.$getStringScreenWidth(A,C-Y)[1],this.$useWrapMode&&O>=I&&(O=I-1),U?U.idxToPosition(O):{row:_,column:O}},T.prototype.documentToScreenPosition=function(E,C){if(typeof C>"u")var b=this.$clipPositionToDocument(E.row,E.column);else b=this.$clipPositionToDocument(E,C);E=b.row,C=b.column;var A=0,_=null,O=null;O=this.getFoldAt(E,C,1),O&&(E=O.start.row,C=O.start.column);var I,N=0,F=this.$docRowCache,z=this.$getRowCacheIndex(F,E),P=F.length;if(P&&z>=0)var N=F[z],A=this.$screenRowCache[z],B=E>F[P-1];else var B=!P;for(var W=this.getNextFoldLine(N),H=W?W.start.row:1/0;N<E;){if(N>=H){if(I=W.end.row+1,I>E)break;W=this.getNextFoldLine(I,W),H=W?W.start.row:1/0}else I=N+1;A+=this.getRowLength(N),N=I,B&&(this.$docRowCache.push(N),this.$screenRowCache.push(A))}var U="";W&&N>=H?(U=this.getFoldDisplayLine(W,E,C),_=W.start.row):(U=this.getLine(E).substring(0,C),_=E);var G=0;if(this.$useWrapMode){var Y=this.$wrapData[_];if(Y){for(var q=0;U.length>=Y[q];)A++,q++;U=U.substring(Y[q-1]||0,U.length),G=q>0?Y.indent:0}}return this.lineWidgets&&this.lineWidgets[N]&&this.lineWidgets[N].rowsAbove&&(A+=this.lineWidgets[N].rowsAbove),{row:A,column:G+this.$getStringScreenWidth(U)[0]}},T.prototype.documentToScreenColumn=function(E,C){return this.documentToScreenPosition(E,C).column},T.prototype.documentToScreenRow=function(E,C){return this.documentToScreenPosition(E,C).row},T.prototype.getScreenLength=function(){var E=0,C=null;if(this.$useWrapMode)for(var _=this.$wrapData.length,O=0,A=0,C=this.$foldData[A++],I=C?C.start.row:1/0;O<_;){var N=this.$wrapData[O];E+=N?N.length+1:1,O++,O>I&&(O=C.end.row+1,C=this.$foldData[A++],I=C?C.start.row:1/0)}else{E=this.getLength();for(var b=this.$foldData,A=0;A<b.length;A++)C=b[A],E-=C.end.row-C.start.row}return this.lineWidgets&&(E+=this.$getWidgetScreenLength()),E},T.prototype.$setFontMetrics=function(E){this.$enableVarChar&&(this.$getStringScreenWidth=function(C,b,A){if(b===0)return[0,0];b||(b=1/0),A=A||0;var _,O;for(O=0;O<C.length&&(_=C.charAt(O),_===" "?A+=this.getScreenTabSize(A):A+=E.getCharacterWidth(_),!(A>b));O++);return[A,O]})},T.prototype.getPrecedingCharacter=function(){var E=this.selection.getCursor();return E.column===0?E.row===0?"":this.doc.getNewLineCharacter():this.getLine(E.row)[E.column-1]},T.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.endOperation(),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection&&(this.selection.off("changeCursor",this.$onSelectionChange),this.selection.off("changeSelection",this.$onSelectionChange)),this.selection.detach()},T})();y.$uid=0,y.prototype.$modes=o.$modes,y.prototype.getValue=y.prototype.toString,y.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},y.prototype.$overwrite=!1,y.prototype.$mode=null,y.prototype.$modeId=null,y.prototype.$scrollTop=0,y.prototype.$scrollLeft=0,y.prototype.$wrapLimit=80,y.prototype.$useWrapMode=!1,y.prototype.$wrapLimitRange={min:null,max:null},y.prototype.lineWidgets=null,y.prototype.isFullWidth=D,f.implement(y.prototype,h);var k=1,x=2,w=3,S=4,M=9,L=10,R=11,$=12;function D(T){return T<4352?!1:T>=4352&&T<=4447||T>=4515&&T<=4519||T>=4602&&T<=4607||T>=9001&&T<=9002||T>=11904&&T<=11929||T>=11931&&T<=12019||T>=12032&&T<=12245||T>=12272&&T<=12283||T>=12288&&T<=12350||T>=12353&&T<=12438||T>=12441&&T<=12543||T>=12549&&T<=12589||T>=12593&&T<=12686||T>=12688&&T<=12730||T>=12736&&T<=12771||T>=12784&&T<=12830||T>=12832&&T<=12871||T>=12880&&T<=13054||T>=13056&&T<=19903||T>=19968&&T<=42124||T>=42128&&T<=42182||T>=43360&&T<=43388||T>=44032&&T<=55203||T>=55216&&T<=55238||T>=55243&&T<=55291||T>=63744&&T<=64255||T>=65040&&T<=65049||T>=65072&&T<=65106||T>=65108&&T<=65126||T>=65128&&T<=65131||T>=65281&&T<=65376||T>=65504&&T<=65510}t("./edit_session/folding").Folding.call(y.prototype),t("./edit_session/bracket_match").BracketMatch.call(y.prototype),o.defineOptions(y.prototype,"session",{wrap:{set:function(T){if(!T||T=="off"?T=!1:T=="free"?T=!0:T=="printMargin"?T=-1:typeof T=="string"&&(T=parseInt(T,10)||!1),this.$wrap!=T)if(this.$wrap=T,!T)this.setUseWrapMode(!1);else{var E=typeof T=="number"?T:null;this.setWrapLimitRange(E,E),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(T){T=T=="auto"?this.$mode.type!="text":T!="text",T!=this.$wrapAsCode&&(this.$wrapAsCode=T,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(T){this.$useWorker=T,this.$stopWorker(),T&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(T){T=parseInt(T),T>0&&this.$tabSize!==T&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=T,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(T){this.setFoldStyle(T)},handlesSet:!0},overwrite:{set:function(T){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(T){this.doc.setNewLineMode(T)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(T){this.setMode(T)},get:function(){return this.$modeId},handlesSet:!0}}),n.EditSession=y}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(t,n,m){"use strict";var f=t("./lib/lang"),g=t("./lib/oop"),c=t("./range").Range,o=(function(){function l(){this.$options={}}return l.prototype.set=function(s){return g.mixin(this.$options,s),this},l.prototype.getOptions=function(){return f.copyObject(this.$options)},l.prototype.setOptions=function(s){this.$options=s},l.prototype.find=function(s){var r=this.$options,a=this.$matchIterator(s,r);if(!a)return!1;var p=null;return a.forEach(function(v,y,k,x){return p=new c(v,y,k,x),y==x&&r.start&&r.start.start&&r.skipCurrent!=!1&&p.isEqual(r.start)?(p=null,!1):!0}),p},l.prototype.findAll=function(s){var r=this.$options;if(!r.needle)return[];this.$assembleRegExp(r);var a=r.range,p=a?s.getLines(a.start.row,a.end.row):s.doc.getAllLines(),v=[],y=r.re;if(r.$isMultiLine){var k=y.length,x=p.length-k,w;e:for(var S=y.offset||0;S<=x;S++){for(var M=0;M<k;M++)if(p[S+M].search(y[M])==-1)continue e;var L=p[S],R=p[S+k-1],$=L.length-L.match(y[0])[0].length,D=R.match(y[k-1])[0].length;w&&w.end.row===S&&w.end.column>$||(v.push(w=new c(S,$,S+k-1,D)),k>2&&(S=S+k-2))}}else for(var T,E=0;E<p.length;E++)if(this.$isMultilineSearch(r)){var C=p.length-1;if(T=this.$multiLineForward(s,y,E,C),T){var b=T.endRow<=C?T.endRow-1:C;b>E&&(E=b),v.push(new c(T.startRow,T.startCol,T.endRow,T.endCol))}}else{T=f.getMatchOffsets(p[E],y);for(var M=0;M<T.length;M++){var A=T[M];v.push(new c(E,A.offset,E,A.offset+A.length))}}if(a){for(var _=a.start.column,O=a.end.column,E=0,M=v.length-1;E<M&&v[E].start.column<_&&v[E].start.row==0;)E++;for(var I=a.end.row-a.start.row;E<M&&v[M].end.column>O&&v[M].end.row==I;)M--;for(v=v.slice(E,M+1),E=0,M=v.length;E<M;E++)v[E].start.row+=a.start.row,v[E].end.row+=a.start.row}return v},l.prototype.parseReplaceString=function(s){for(var r={DollarSign:36,Ampersand:38,Digit0:48,Digit1:49,Digit9:57,Backslash:92,n:110,t:116},a="",p=0,v=s.length;p<v;p++){var y=s.charCodeAt(p);if(y===r.Backslash){if(p++,p>=v){a+="\\";break}switch(s.charCodeAt(p)){case r.Backslash:a+="\\";break;case r.n:a+=`
1358
+ `},T.prototype.getWordRange=function(E,C){var b=this.getLine(E),A=!1;if(C>0&&(A=!!b.charAt(C-1).match(this.tokenRe)),A||(A=!!b.charAt(C).match(this.tokenRe)),A)var _=this.tokenRe;else if(/^\s+$/.test(b.slice(C-1,C+1)))var _=/\s/;else var _=this.nonTokenRe;var O=C;if(O>0){do O--;while(O>=0&&b.charAt(O).match(_));O++}for(var I=C;I<b.length&&b.charAt(I).match(_);)I++;return new l(E,O,E,I)},T.prototype.getAWordRange=function(E,C){for(var b=this.getWordRange(E,C),A=this.getLine(b.end.row);A.charAt(b.end.column).match(/[ \t]/);)b.end.column+=1;return b},T.prototype.setNewLineMode=function(E){this.doc.setNewLineMode(E)},T.prototype.getNewLineMode=function(){return this.doc.getNewLineMode()},T.prototype.setUseWorker=function(E){this.setOption("useWorker",E)},T.prototype.getUseWorker=function(){return this.$useWorker},T.prototype.onReloadTokenizer=function(E){var C=E.data;this.bgTokenizer.start(C.first),this._signal("tokenizerUpdate",E)},T.prototype.setMode=function(E,C){if(E&&typeof E=="object"){if(E.getTokenizer)return this.$onChangeMode(E);var b=E,A=b.path}else A=E||"ace/mode/text";if(this.$modes["ace/mode/text"]||(this.$modes["ace/mode/text"]=new u),this.$modes[A]&&!b){this.$onChangeMode(this.$modes[A]),C&&C();return}this.$modeId=A,o.loadModule(["mode",A],function(_){if(!this.destroyed){if(this.$modeId!==A)return C&&C();this.$modes[A]&&!b?this.$onChangeMode(this.$modes[A]):_&&_.Mode&&(_=new _.Mode(b),b||(this.$modes[A]=_,_.$id=A),this.$onChangeMode(_)),C&&C()}}.bind(this)),this.$mode||this.$onChangeMode(this.$modes["ace/mode/text"],!0)},T.prototype.$onChangeMode=function(E,C){if(C||(this.$modeId=E.$id),this.$mode!==E){var b=this.$mode;this.$mode=E,this.$stopWorker(),this.$useWorker&&this.$startWorker();var A=E.getTokenizer();if(A.on!==void 0){var _=this.onReloadTokenizer.bind(this);A.on("update",_)}this.bgTokenizer.setTokenizer(A),this.bgTokenizer.setDocument(this.getDocument()),this.tokenRe=E.tokenRe,this.nonTokenRe=E.nonTokenRe,C||(E.attachToSession&&E.attachToSession(this),this.$options.wrapMethod.set.call(this,this.$wrapMethod),this.$setFolding(E.foldingRules),this.bgTokenizer.start(0),this._emit("changeMode",{oldMode:b,mode:E}))}},T.prototype.$stopWorker=function(){this.$worker&&(this.$worker.terminate(),this.$worker=null)},T.prototype.$startWorker=function(){try{this.$worker=this.$mode.createWorker(this)}catch(E){o.warn("Could not load worker",E),this.$worker=null}},T.prototype.getMode=function(){return this.$mode},T.prototype.setScrollTop=function(E){this.$scrollTop===E||isNaN(E)||(this.$scrollTop=E,this._signal("changeScrollTop",E))},T.prototype.getScrollTop=function(){return this.$scrollTop},T.prototype.setScrollLeft=function(E){this.$scrollLeft===E||isNaN(E)||(this.$scrollLeft=E,this._signal("changeScrollLeft",E))},T.prototype.getScrollLeft=function(){return this.$scrollLeft},T.prototype.getScreenWidth=function(){return this.$computeWidth(),this.lineWidgets?Math.max(this.getLineWidgetMaxWidth(),this.screenWidth):this.screenWidth},T.prototype.getLineWidgetMaxWidth=function(){if(this.lineWidgetsWidth!=null)return this.lineWidgetsWidth;var E=0;return this.lineWidgets.forEach(function(C){C&&C.screenWidth>E&&(E=C.screenWidth)}),this.lineWidgetWidth=E},T.prototype.$computeWidth=function(E){if(this.$modified||E){if(this.$modified=!1,this.$useWrapMode)return this.screenWidth=this.$wrapLimit;for(var C=this.doc.getAllLines(),b=this.$rowLengthCache,A=0,_=0,O=this.$foldData[_],I=O?O.start.row:1/0,N=C.length,F=0;F<N;F++){if(F>I){if(F=O.end.row+1,F>=N)break;O=this.$foldData[_++],I=O?O.start.row:1/0}b[F]==null&&(b[F]=this.$getStringScreenWidth(C[F])[0]),b[F]>A&&(A=b[F])}this.screenWidth=A}},T.prototype.getLine=function(E){return this.doc.getLine(E)},T.prototype.getLines=function(E,C){return this.doc.getLines(E,C)},T.prototype.getLength=function(){return this.doc.getLength()},T.prototype.getTextRange=function(E){return this.doc.getTextRange(E||this.selection.getRange())},T.prototype.insert=function(E,C){return this.doc.insert(E,C)},T.prototype.remove=function(E){return this.doc.remove(E)},T.prototype.removeFullLines=function(E,C){return this.doc.removeFullLines(E,C)},T.prototype.undoChanges=function(E,C){if(E.length){this.$fromUndo=!0;for(var b=E.length-1;b!=-1;b--){var A=E[b];A.action=="insert"||A.action=="remove"?this.doc.revertDelta(A):A.folds&&this.addFolds(A.folds)}!C&&this.$undoSelect&&(E.selectionBefore?this.selection.fromJSON(E.selectionBefore):this.selection.setRange(this.$getUndoSelection(E,!0))),this.$fromUndo=!1}},T.prototype.redoChanges=function(E,C){if(E.length){this.$fromUndo=!0;for(var b=0;b<E.length;b++){var A=E[b];(A.action=="insert"||A.action=="remove")&&this.doc.$safeApplyDelta(A)}!C&&this.$undoSelect&&(E.selectionAfter?this.selection.fromJSON(E.selectionAfter):this.selection.setRange(this.$getUndoSelection(E,!1))),this.$fromUndo=!1}},T.prototype.setUndoSelect=function(E){this.$undoSelect=E},T.prototype.$getUndoSelection=function(E,C){function b(N){return C?N.action!=="insert":N.action==="insert"}for(var A,_,O=0;O<E.length;O++){var I=E[O];if(I.start){if(!A){b(I)?A=l.fromPoints(I.start,I.end):A=l.fromPoints(I.start,I.start);continue}b(I)?(_=I.start,A.compare(_.row,_.column)==-1&&A.setStart(_),_=I.end,A.compare(_.row,_.column)==1&&A.setEnd(_)):(_=I.start,A.compare(_.row,_.column)==-1&&(A=l.fromPoints(I.start,I.start)))}}return A},T.prototype.replace=function(E,C){return this.doc.replace(E,C)},T.prototype.moveText=function(E,C,b){var A=this.getTextRange(E),_=this.getFoldsInRange(E),O=l.fromPoints(C,C);if(!b){this.remove(E);var I=E.start.row-E.end.row,N=I?-E.end.column:E.start.column-E.end.column;N&&(O.start.row==E.end.row&&O.start.column>E.end.column&&(O.start.column+=N),O.end.row==E.end.row&&O.end.column>E.end.column&&(O.end.column+=N)),I&&O.start.row>=E.end.row&&(O.start.row+=I,O.end.row+=I)}if(O.end=this.insert(O.start,A),_.length){var F=E.start,z=O.start,I=z.row-F.row,N=z.column-F.column;this.addFolds(_.map(function(W){return W=W.clone(),W.start.row==F.row&&(W.start.column+=N),W.end.row==F.row&&(W.end.column+=N),W.start.row+=I,W.end.row+=I,W}))}return O},T.prototype.indentRows=function(E,C,b){b=b.replace(/\t/g,this.getTabString());for(var A=E;A<=C;A++)this.doc.insertInLine({row:A,column:0},b)},T.prototype.outdentRows=function(E){for(var C=E.collapseRows(),b=new l(0,0,0,0),A=this.getTabSize(),_=C.start.row;_<=C.end.row;++_){var O=this.getLine(_);b.start.row=_,b.end.row=_;for(var I=0;I<A&&O.charAt(I)==" ";++I);I<A&&O.charAt(I)==" "?(b.start.column=I,b.end.column=I+1):(b.start.column=0,b.end.column=I),this.remove(b)}},T.prototype.$moveLines=function(E,C,b){if(E=this.getRowFoldStart(E),C=this.getRowFoldEnd(C),b<0){var A=this.getRowFoldStart(E+b);if(A<0)return 0;var _=A-E}else if(b>0){var A=this.getRowFoldEnd(C+b);if(A>this.doc.getLength()-1)return 0;var _=A-C}else{E=this.$clipRowToDocument(E),C=this.$clipRowToDocument(C);var _=C-E+1}var O=new l(E,0,C,Number.MAX_VALUE),I=this.getFoldsInRange(O).map(function(F){return F=F.clone(),F.start.row+=_,F.end.row+=_,F}),N=b==0?this.doc.getLines(E,C):this.doc.removeFullLines(E,C);return this.doc.insertFullLines(E+_,N),I.length&&this.addFolds(I),_},T.prototype.moveLinesUp=function(E,C){return this.$moveLines(E,C,-1)},T.prototype.moveLinesDown=function(E,C){return this.$moveLines(E,C,1)},T.prototype.duplicateLines=function(E,C){return this.$moveLines(E,C,0)},T.prototype.$clipRowToDocument=function(E){return Math.max(0,Math.min(E,this.doc.getLength()-1))},T.prototype.$clipColumnToRow=function(E,C){return C<0?0:Math.min(this.doc.getLine(E).length,C)},T.prototype.$clipPositionToDocument=function(E,C){if(C=Math.max(0,C),E<0)E=0,C=0;else{var b=this.doc.getLength();E>=b?(E=b-1,C=this.doc.getLine(b-1).length):C=Math.min(this.doc.getLine(E).length,C)}return{row:E,column:C}},T.prototype.$clipRangeToDocument=function(E){E.start.row<0?(E.start.row=0,E.start.column=0):E.start.column=this.$clipColumnToRow(E.start.row,E.start.column);var C=this.doc.getLength()-1;return E.end.row>C?(E.end.row=C,E.end.column=this.doc.getLine(C).length):E.end.column=this.$clipColumnToRow(E.end.row,E.end.column),E},T.prototype.setUseWrapMode=function(E){if(E!=this.$useWrapMode){if(this.$useWrapMode=E,this.$modified=!0,this.$resetRowCache(0),E){var C=this.getLength();this.$wrapData=Array(C),this.$updateWrapData(0,C-1)}this._signal("changeWrapMode")}},T.prototype.getUseWrapMode=function(){return this.$useWrapMode},T.prototype.setWrapLimitRange=function(E,C){(this.$wrapLimitRange.min!==E||this.$wrapLimitRange.max!==C)&&(this.$wrapLimitRange={min:E,max:C},this.$modified=!0,this.$bidiHandler.markAsDirty(),this.$useWrapMode&&this._signal("changeWrapMode"))},T.prototype.adjustWrapLimit=function(E,C){var b=this.$wrapLimitRange;b.max<0&&(b={min:C,max:C});var A=this.$constrainWrapLimit(E,b.min,b.max);return A!=this.$wrapLimit&&A>1?(this.$wrapLimit=A,this.$modified=!0,this.$useWrapMode&&(this.$updateWrapData(0,this.getLength()-1),this.$resetRowCache(0),this._signal("changeWrapLimit")),!0):!1},T.prototype.$constrainWrapLimit=function(E,C,b){return C&&(E=Math.max(C,E)),b&&(E=Math.min(b,E)),E},T.prototype.getWrapLimit=function(){return this.$wrapLimit},T.prototype.setWrapLimit=function(E){this.setWrapLimitRange(E,E)},T.prototype.getWrapLimitRange=function(){return{min:this.$wrapLimitRange.min,max:this.$wrapLimitRange.max}},T.prototype.$updateInternalDataOnChange=function(E){var C=this.$useWrapMode,b=E.action,A=E.start,_=E.end,O=A.row,I=_.row,N=I-O,F=null;if(this.$updating=!0,N!=0)if(b==="remove"){this[C?"$wrapData":"$rowLengthCache"].splice(O,N);var z=this.$foldData;F=this.getFoldsInRange(E),this.removeFolds(F);var P=this.getFoldLine(_.row),B=0;if(P){P.addRemoveChars(_.row,_.column,A.column-_.column),P.shiftRow(-N);var W=this.getFoldLine(O);W&&W!==P&&(W.merge(P),P=W),B=z.indexOf(P)+1}for(;B<z.length;B++){var P=z[B];P.start.row>=_.row&&P.shiftRow(-N)}I=O}else{var H=Array(N);H.unshift(O,0);var U=C?this.$wrapData:this.$rowLengthCache;U.splice.apply(U,H);var z=this.$foldData,P=this.getFoldLine(O),B=0;if(P){var G=P.range.compareInside(A.row,A.column);G==0?(P=P.split(A.row,A.column),P&&(P.shiftRow(N),P.addRemoveChars(I,0,_.column-A.column))):G==-1&&(P.addRemoveChars(O,0,_.column-A.column),P.shiftRow(N)),B=z.indexOf(P)+1}for(;B<z.length;B++){var P=z[B];P.start.row>=O&&P.shiftRow(N)}}else{N=Math.abs(E.start.column-E.end.column),b==="remove"&&(F=this.getFoldsInRange(E),this.removeFolds(F),N=-N);var P=this.getFoldLine(O);P&&P.addRemoveChars(O,A.column,N)}return C&&this.$wrapData.length!=this.doc.getLength()&&console.error("doc.getLength() and $wrapData.length have to be the same!"),this.$updating=!1,C?this.$updateWrapData(O,I):this.$updateRowLengthCache(O,I),F},T.prototype.$updateRowLengthCache=function(E,C){this.$rowLengthCache[E]=null,this.$rowLengthCache[C]=null},T.prototype.$updateWrapData=function(E,C){var b=this.doc.getAllLines(),A=this.getTabSize(),_=this.$wrapData,O=this.$wrapLimit,I,N,F=E;for(C=Math.min(C,b.length-1);F<=C;)N=this.getFoldLine(F,N),N?(I=[],N.walk(function(z,P,B,W){var H;if(z!=null){H=this.$getDisplayTokens(z,I.length),H[0]=w;for(var U=1;U<H.length;U++)H[U]=S}else H=this.$getDisplayTokens(b[P].substring(W,B),I.length);I=I.concat(H)}.bind(this),N.end.row,b[N.end.row].length+1),_[N.start.row]=this.$computeWrapSplits(I,O,A),F=N.end.row+1):(I=this.$getDisplayTokens(b[F]),_[F]=this.$computeWrapSplits(I,O,A),F++)},T.prototype.$computeWrapSplits=function(E,C,b){if(E.length==0)return[];var A=[],_=E.length,O=0,I=0,N=this.$wrapAsCode,F=this.$indentedSoftWrap,z=C<=Math.max(2*b,8)||F===!1?0:Math.floor(C/2);function P(){var G=0;if(z===0)return G;if(F)for(var Y=0;Y<E.length;Y++){var q=E[Y];if(q==L)G+=1;else if(q==R)G+=b;else{if(q==$)continue;break}}return N&&F!==!1&&(G+=b),Math.min(G,z)}function B(G){for(var Y=G-O,q=O;q<G;q++){var Q=E[q];(Q===12||Q===2)&&(Y-=1)}A.length||(W=P(),A.indent=W),I+=Y,A.push(I),O=G}for(var W=0;_-O>C-W;){var H=O+C-W;if(E[H-1]>=L&&E[H]>=L){B(H);continue}if(E[H]==w||E[H]==S){for(;H!=O-1&&E[H]!=w;H--);if(H>O){B(H);continue}for(H=O+C;H<E.length&&E[H]==S;H++);if(H==E.length)break;B(H);continue}for(var U=Math.max(H-(C-(C>>2)),O-1);H>U&&E[H]<w;)H--;if(N){for(;H>U&&E[H]<w;)H--;for(;H>U&&E[H]==M;)H--}else for(;H>U&&E[H]<L;)H--;if(H>U){B(++H);continue}H=O+C,E[H]==x&&H--,B(H-W)}return A},T.prototype.$getDisplayTokens=function(E,C){var b=[],A;C=C||0;for(var _=0;_<E.length;_++){var O=E.charCodeAt(_);if(O==9){A=this.getScreenTabSize(b.length+C),b.push(R);for(var I=1;I<A;I++)b.push($)}else O==32?b.push(L):O>39&&O<48||O>57&&O<64?b.push(M):O>=4352&&D(O)?b.push(k,x):b.push(k)}return b},T.prototype.$getStringScreenWidth=function(E,C,b){if(C==0)return[0,0];C==null&&(C=1/0),b=b||0;var A,_;for(_=0;_<E.length&&(A=E.charCodeAt(_),A==9?b+=this.getScreenTabSize(b):A>=4352&&D(A)?b+=2:b+=1,!(b>C));_++);return[b,_]},T.prototype.getRowLength=function(E){var C=1;return this.lineWidgets&&(C+=this.lineWidgets[E]&&this.lineWidgets[E].rowCount||0),!this.$useWrapMode||!this.$wrapData[E]?C:this.$wrapData[E].length+C},T.prototype.getRowLineCount=function(E){return!this.$useWrapMode||!this.$wrapData[E]?1:this.$wrapData[E].length+1},T.prototype.getRowWrapIndent=function(E){if(this.$useWrapMode){var C=this.screenToDocumentPosition(E,Number.MAX_VALUE),b=this.$wrapData[C.row];return b.length&&b[0]<C.column?b.indent:0}else return 0},T.prototype.getScreenLastRowColumn=function(E){var C=this.screenToDocumentPosition(E,Number.MAX_VALUE);return this.documentToScreenColumn(C.row,C.column)},T.prototype.getDocumentLastRowColumn=function(E,C){var b=this.documentToScreenRow(E,C);return this.getScreenLastRowColumn(b)},T.prototype.getDocumentLastRowColumnPosition=function(E,C){var b=this.documentToScreenRow(E,C);return this.screenToDocumentPosition(b,Number.MAX_VALUE/10)},T.prototype.getRowSplitData=function(E){if(this.$useWrapMode)return this.$wrapData[E]},T.prototype.getScreenTabSize=function(E){return this.$tabSize-(E%this.$tabSize|0)},T.prototype.screenToDocumentRow=function(E,C){return this.screenToDocumentPosition(E,C).row},T.prototype.screenToDocumentColumn=function(E,C){return this.screenToDocumentPosition(E,C).column},T.prototype.screenToDocumentPosition=function(E,C,b){if(E<0)return{row:0,column:0};var A,_=0,O=0,I,N=0,F=0,z=this.$screenRowCache,P=this.$getRowCacheIndex(z,E),B=z.length;if(B&&P>=0)var N=z[P],_=this.$docRowCache[P],W=E>z[B-1];else var W=!B;for(var H=this.getLength()-1,U=this.getNextFoldLine(_),G=U?U.start.row:1/0;N<=E&&(F=this.getRowLength(_),!(N+F>E||_>=H));)N+=F,_++,_>G&&(_=U.end.row+1,U=this.getNextFoldLine(_,U),G=U?U.start.row:1/0),W&&(this.$docRowCache.push(_),this.$screenRowCache.push(N));if(U&&U.start.row<=_)A=this.getFoldDisplayLine(U),_=U.start.row;else{if(N+F<=E||_>H)return{row:H,column:this.getLine(H).length};A=this.getLine(_),U=null}var Y=0,q=Math.floor(E-N);if(this.$useWrapMode){var Q=this.$wrapData[_];Q&&(I=Q[q],q>0&&Q.length&&(Y=Q.indent,O=Q[q-1]||Q[Q.length-1],A=A.substring(O)))}return b!==void 0&&this.$bidiHandler.isBidiRow(N+q,_,q)&&(C=this.$bidiHandler.offsetToCol(b)),O+=this.$getStringScreenWidth(A,C-Y)[1],this.$useWrapMode&&O>=I&&(O=I-1),U?U.idxToPosition(O):{row:_,column:O}},T.prototype.documentToScreenPosition=function(E,C){if(typeof C>"u")var b=this.$clipPositionToDocument(E.row,E.column);else b=this.$clipPositionToDocument(E,C);E=b.row,C=b.column;var A=0,_=null,O=null;O=this.getFoldAt(E,C,1),O&&(E=O.start.row,C=O.start.column);var I,N=0,F=this.$docRowCache,z=this.$getRowCacheIndex(F,E),P=F.length;if(P&&z>=0)var N=F[z],A=this.$screenRowCache[z],B=E>F[P-1];else var B=!P;for(var W=this.getNextFoldLine(N),H=W?W.start.row:1/0;N<E;){if(N>=H){if(I=W.end.row+1,I>E)break;W=this.getNextFoldLine(I,W),H=W?W.start.row:1/0}else I=N+1;A+=this.getRowLength(N),N=I,B&&(this.$docRowCache.push(N),this.$screenRowCache.push(A))}var U="";W&&N>=H?(U=this.getFoldDisplayLine(W,E,C),_=W.start.row):(U=this.getLine(E).substring(0,C),_=E);var G=0;if(this.$useWrapMode){var Y=this.$wrapData[_];if(Y){for(var q=0;U.length>=Y[q];)A++,q++;U=U.substring(Y[q-1]||0,U.length),G=q>0?Y.indent:0}}return this.lineWidgets&&this.lineWidgets[N]&&this.lineWidgets[N].rowsAbove&&(A+=this.lineWidgets[N].rowsAbove),{row:A,column:G+this.$getStringScreenWidth(U)[0]}},T.prototype.documentToScreenColumn=function(E,C){return this.documentToScreenPosition(E,C).column},T.prototype.documentToScreenRow=function(E,C){return this.documentToScreenPosition(E,C).row},T.prototype.getScreenLength=function(){var E=0,C=null;if(this.$useWrapMode)for(var _=this.$wrapData.length,O=0,A=0,C=this.$foldData[A++],I=C?C.start.row:1/0;O<_;){var N=this.$wrapData[O];E+=N?N.length+1:1,O++,O>I&&(O=C.end.row+1,C=this.$foldData[A++],I=C?C.start.row:1/0)}else{E=this.getLength();for(var b=this.$foldData,A=0;A<b.length;A++)C=b[A],E-=C.end.row-C.start.row}return this.lineWidgets&&(E+=this.$getWidgetScreenLength()),E},T.prototype.$setFontMetrics=function(E){this.$enableVarChar&&(this.$getStringScreenWidth=function(C,b,A){if(b===0)return[0,0];b||(b=1/0),A=A||0;var _,O;for(O=0;O<C.length&&(_=C.charAt(O),_===" "?A+=this.getScreenTabSize(A):A+=E.getCharacterWidth(_),!(A>b));O++);return[A,O]})},T.prototype.getPrecedingCharacter=function(){var E=this.selection.getCursor();return E.column===0?E.row===0?"":this.doc.getNewLineCharacter():this.getLine(E.row)[E.column-1]},T.prototype.destroy=function(){this.destroyed||(this.bgTokenizer.setDocument(null),this.bgTokenizer.cleanup(),this.destroyed=!0),this.endOperation(),this.$stopWorker(),this.removeAllListeners(),this.doc&&this.doc.off("change",this.$onChange),this.selection&&(this.selection.off("changeCursor",this.$onSelectionChange),this.selection.off("changeSelection",this.$onSelectionChange)),this.selection.detach()},T})();y.$uid=0,y.prototype.$modes=o.$modes,y.prototype.getValue=y.prototype.toString,y.prototype.$defaultUndoManager={undo:function(){},redo:function(){},hasUndo:function(){},hasRedo:function(){},reset:function(){},add:function(){},addSelection:function(){},startNewGroup:function(){},addSession:function(){}},y.prototype.$overwrite=!1,y.prototype.$mode=null,y.prototype.$modeId=null,y.prototype.$scrollTop=0,y.prototype.$scrollLeft=0,y.prototype.$wrapLimit=80,y.prototype.$useWrapMode=!1,y.prototype.$wrapLimitRange={min:null,max:null},y.prototype.lineWidgets=null,y.prototype.isFullWidth=D,f.implement(y.prototype,h);var k=1,x=2,w=3,S=4,M=9,L=10,R=11,$=12;function D(T){return T<4352?!1:T>=4352&&T<=4447||T>=4515&&T<=4519||T>=4602&&T<=4607||T>=9001&&T<=9002||T>=11904&&T<=11929||T>=11931&&T<=12019||T>=12032&&T<=12245||T>=12272&&T<=12283||T>=12288&&T<=12350||T>=12353&&T<=12438||T>=12441&&T<=12543||T>=12549&&T<=12589||T>=12593&&T<=12686||T>=12688&&T<=12730||T>=12736&&T<=12771||T>=12784&&T<=12830||T>=12832&&T<=12871||T>=12880&&T<=13054||T>=13056&&T<=19903||T>=19968&&T<=42124||T>=42128&&T<=42182||T>=43360&&T<=43388||T>=44032&&T<=55203||T>=55216&&T<=55238||T>=55243&&T<=55291||T>=63744&&T<=64255||T>=65040&&T<=65049||T>=65072&&T<=65106||T>=65108&&T<=65126||T>=65128&&T<=65131||T>=65281&&T<=65376||T>=65504&&T<=65510}t("./edit_session/folding").Folding.call(y.prototype),t("./edit_session/bracket_match").BracketMatch.call(y.prototype),o.defineOptions(y.prototype,"session",{wrap:{set:function(T){if(!T||T=="off"?T=!1:T=="free"?T=!0:T=="printMargin"?T=-1:typeof T=="string"&&(T=parseInt(T,10)||!1),this.$wrap!=T)if(this.$wrap=T,!T)this.setUseWrapMode(!1);else{var E=typeof T=="number"?T:null;this.setWrapLimitRange(E,E),this.setUseWrapMode(!0)}},get:function(){return this.getUseWrapMode()?this.$wrap==-1?"printMargin":this.getWrapLimitRange().min?this.$wrap:"free":"off"},handlesSet:!0},wrapMethod:{set:function(T){T=T=="auto"?this.$mode.type!="text":T!="text",T!=this.$wrapAsCode&&(this.$wrapAsCode=T,this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0)))},initialValue:"auto"},indentedSoftWrap:{set:function(){this.$useWrapMode&&(this.$useWrapMode=!1,this.setUseWrapMode(!0))},initialValue:!0},firstLineNumber:{set:function(){this._signal("changeBreakpoint")},initialValue:1},useWorker:{set:function(T){this.$useWorker=T,this.$stopWorker(),T&&this.$startWorker()},initialValue:!0},useSoftTabs:{initialValue:!0},tabSize:{set:function(T){T=parseInt(T),T>0&&this.$tabSize!==T&&(this.$modified=!0,this.$rowLengthCache=[],this.$tabSize=T,this._signal("changeTabSize"))},initialValue:4,handlesSet:!0},navigateWithinSoftTabs:{initialValue:!1},foldStyle:{set:function(T){this.setFoldStyle(T)},handlesSet:!0},overwrite:{set:function(T){this._signal("changeOverwrite")},initialValue:!1},newLineMode:{set:function(T){this.doc.setNewLineMode(T)},get:function(){return this.doc.getNewLineMode()},handlesSet:!0},mode:{set:function(T){this.setMode(T)},get:function(){return this.$modeId},handlesSet:!0}}),n.EditSession=y}),ace.define("ace/search",["require","exports","module","ace/lib/lang","ace/lib/oop","ace/range"],function(t,n,m){"use strict";var f=t("./lib/lang"),g=t("./lib/oop"),c=t("./range").Range,o=(function(){function l(){this.$options={}}return l.prototype.set=function(s){return g.mixin(this.$options,s),this},l.prototype.getOptions=function(){return f.copyObject(this.$options)},l.prototype.setOptions=function(s){this.$options=s},l.prototype.find=function(s){var r=this.$options,a=this.$matchIterator(s,r);if(!a)return!1;var p=null;return a.forEach(function(v,y,k,x){return p=new c(v,y,k,x),y==x&&r.start&&r.start.start&&r.skipCurrent!=!1&&p.isEqual(r.start)?(p=null,!1):!0}),p},l.prototype.findAll=function(s){var r=this.$options;if(!r.needle)return[];this.$assembleRegExp(r);var a=r.range,p=a?s.getLines(a.start.row,a.end.row):s.doc.getAllLines(),v=[],y=r.re;if(r.$isMultiLine){var k=y.length,x=p.length-k,w;e:for(var S=y.offset||0;S<=x;S++){for(var M=0;M<k;M++)if(p[S+M].search(y[M])==-1)continue e;var L=p[S],R=p[S+k-1],$=L.length-L.match(y[0])[0].length,D=R.match(y[k-1])[0].length;w&&w.end.row===S&&w.end.column>$||(v.push(w=new c(S,$,S+k-1,D)),k>2&&(S=S+k-2))}}else for(var T,E=0;E<p.length;E++)if(this.$isMultilineSearch(r)){var C=p.length-1;if(T=this.$multiLineForward(s,y,E,C),T){var b=T.endRow<=C?T.endRow-1:C;b>E&&(E=b),v.push(new c(T.startRow,T.startCol,T.endRow,T.endCol))}}else{T=f.getMatchOffsets(p[E],y);for(var M=0;M<T.length;M++){var A=T[M];v.push(new c(E,A.offset,E,A.offset+A.length))}}if(a){for(var _=a.start.column,O=a.end.column,E=0,M=v.length-1;E<M&&v[E].start.column<_&&v[E].start.row==0;)E++;for(var I=a.end.row-a.start.row;E<M&&v[M].end.column>O&&v[M].end.row==I;)M--;for(v=v.slice(E,M+1),E=0,M=v.length;E<M;E++)v[E].start.row+=a.start.row,v[E].end.row+=a.start.row}return v},l.prototype.parseReplaceString=function(s){for(var r={DollarSign:36,Ampersand:38,Digit0:48,Digit1:49,Digit9:57,Backslash:92,n:110,t:116},a="",p=0,v=s.length;p<v;p++){var y=s.charCodeAt(p);if(y===r.Backslash){if(p++,p>=v){a+="\\";break}switch(s.charCodeAt(p)){case r.Backslash:a+="\\";break;case r.n:a+=`
1359
1359
  `;break;case r.t:a+=" ";break}continue}if(y===r.DollarSign){if(p++,p>=v){a+="$";break}var k=s.charCodeAt(p);if(k===r.DollarSign){a+="$$";continue}if(k===r.Digit0||k===r.Ampersand){a+="$&";continue}if(r.Digit1<=k&&k<=r.Digit9){a+="$"+s[p];continue}}a+=s[p]}return a||s},l.prototype.replace=function(s,r){var a=this.$options,p=this.$assembleRegExp(a);if(a.$isMultiLine)return r;if(p){var v=this.$isMultilineSearch(a);v&&(s=s.replace(/\r\n|\r|\n/g,`
1360
1360
  `));var y=p.exec(s);if(!y||!v&&y[0].length!=s.length)return null;if(r=a.regExp?this.parseReplaceString(r):r.replace(/\$/g,"$$$$"),r=s.replace(p,r),a.preserveCase){r=r.split("");for(var k=Math.min(s.length,s.length);k--;){var x=s[k];x&&x.toLowerCase()!=x?r[k]=r[k].toUpperCase():r[k]=r[k].toLowerCase()}r=r.join("")}return r}},l.prototype.$assembleRegExp=function(s,r){if(s.needle instanceof RegExp)return s.re=s.needle;var a=s.needle;if(!s.needle)return s.re=!1;s.regExp||(a=f.escapeRegExp(a));var p=s.caseSensitive?"gm":"gmi";try{new RegExp(a,"u"),s.$supportsUnicodeFlag=!0,p+="u"}catch{s.$supportsUnicodeFlag=!1}if(s.wholeWord&&(a=h(a,s)),s.$isMultiLine=!r&&/[\n\r]/.test(a),s.$isMultiLine)return s.re=this.$assembleMultilineRegExp(a,p);try{var v=new RegExp(a,p)}catch{v=!1}return s.re=v},l.prototype.$assembleMultilineRegExp=function(s,r){for(var a=s.replace(/\r\n|\r|\n/g,`$
1361
1361
  ^`).split(`
@@ -1372,7 +1372,7 @@ export const FormManager: React.FC = () => {
1372
1372
  `||b==`\r
1373
1373
  `){var W=_.getLine(I.row);if(I.column>W.search(/\S|$/)){var z=W.substr(I.column).search(/\S|$/);_.doc.removeInLine(I.row,I.column,I.column+z)}}this.clearSelection();var P=I.column,B=_.getState(I.row),W=_.getLine(I.row),H=O.checkOutdent(B,W,b);if(_.insert(I,b),N&&N.selection&&(N.selection.length==2?this.selection.setSelectionRange(new p(I.row,P+N.selection[0],I.row,P+N.selection[1])):this.selection.setSelectionRange(new p(I.row+N.selection[0],N.selection[1],I.row+N.selection[2],N.selection[3]))),this.$enableAutoIndent){if(_.getDocument().isNewLine(b)){var U=O.getNextLineIndent(B,W.slice(0,I.column),_.getTabString());_.insert({row:I.row+1,column:0},U)}H&&O.autoOutdent(B,_,I.row)}},C.prototype.autoIndent=function(){for(var b=this.session,A=b.getMode(),_=this.selection.isEmpty()?[new p(0,0,b.doc.getLength()-1,0)]:this.selection.getAllRanges(),O="",I="",N="",F=b.getTabString(),z=0;z<_.length;z++)for(var P=_[z].start.row,B=_[z].end.row,W=P;W<=B;W++){W>0&&(O=b.getState(W-1),I=b.getLine(W-1),N=A.getNextLineIndent(O,I,F));var H=b.getLine(W),U=A.$getIndent(H);if(N!==U){if(U.length>0){var G=new p(W,0,W,U.length);b.remove(G)}N.length>0&&b.insert({row:W,column:0},N)}A.autoOutdent(O,b,W)}},C.prototype.onTextInput=function(b,A){if(!A)return this.keyBinding.onTextInput(b);this.startOperation({command:{name:"insertstring"}});var _=this.applyComposition.bind(this,b,A);this.selection.rangeCount?this.forEachSelection(_):_(),this.endOperation()},C.prototype.applyComposition=function(b,A){if(A.extendLeft||A.extendRight){var _=this.selection.getRange();_.start.column-=A.extendLeft,_.end.column+=A.extendRight,_.start.column<0&&(_.start.row--,_.start.column+=this.session.getLine(_.start.row).length+1),this.selection.setRange(_),!b&&!_.isEmpty()&&this.remove()}if((b||!this.selection.isEmpty())&&this.insert(b,!0),A.restoreStart||A.restoreEnd){var _=this.selection.getRange();_.start.column-=A.restoreStart,_.end.column-=A.restoreEnd,this.selection.setRange(_)}},C.prototype.onCommandKey=function(b,A,_){return this.keyBinding.onCommandKey(b,A,_)},C.prototype.setOverwrite=function(b){this.session.setOverwrite(b)},C.prototype.getOverwrite=function(){return this.session.getOverwrite()},C.prototype.toggleOverwrite=function(){this.session.toggleOverwrite()},C.prototype.setScrollSpeed=function(b){this.setOption("scrollSpeed",b)},C.prototype.getScrollSpeed=function(){return this.getOption("scrollSpeed")},C.prototype.setDragDelay=function(b){this.setOption("dragDelay",b)},C.prototype.getDragDelay=function(){return this.getOption("dragDelay")},C.prototype.setSelectionStyle=function(b){this.setOption("selectionStyle",b)},C.prototype.getSelectionStyle=function(){return this.getOption("selectionStyle")},C.prototype.setHighlightActiveLine=function(b){this.setOption("highlightActiveLine",b)},C.prototype.getHighlightActiveLine=function(){return this.getOption("highlightActiveLine")},C.prototype.setHighlightGutterLine=function(b){this.setOption("highlightGutterLine",b)},C.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},C.prototype.setHighlightSelectedWord=function(b){this.setOption("highlightSelectedWord",b)},C.prototype.getHighlightSelectedWord=function(){return this.$highlightSelectedWord},C.prototype.setAnimatedScroll=function(b){this.renderer.setAnimatedScroll(b)},C.prototype.getAnimatedScroll=function(){return this.renderer.getAnimatedScroll()},C.prototype.setShowInvisibles=function(b){this.renderer.setShowInvisibles(b)},C.prototype.getShowInvisibles=function(){return this.renderer.getShowInvisibles()},C.prototype.setDisplayIndentGuides=function(b){this.renderer.setDisplayIndentGuides(b)},C.prototype.getDisplayIndentGuides=function(){return this.renderer.getDisplayIndentGuides()},C.prototype.setHighlightIndentGuides=function(b){this.renderer.setHighlightIndentGuides(b)},C.prototype.getHighlightIndentGuides=function(){return this.renderer.getHighlightIndentGuides()},C.prototype.setShowPrintMargin=function(b){this.renderer.setShowPrintMargin(b)},C.prototype.getShowPrintMargin=function(){return this.renderer.getShowPrintMargin()},C.prototype.setPrintMarginColumn=function(b){this.renderer.setPrintMarginColumn(b)},C.prototype.getPrintMarginColumn=function(){return this.renderer.getPrintMarginColumn()},C.prototype.setReadOnly=function(b){this.setOption("readOnly",b)},C.prototype.getReadOnly=function(){return this.getOption("readOnly")},C.prototype.setBehavioursEnabled=function(b){this.setOption("behavioursEnabled",b)},C.prototype.getBehavioursEnabled=function(){return this.getOption("behavioursEnabled")},C.prototype.setWrapBehavioursEnabled=function(b){this.setOption("wrapBehavioursEnabled",b)},C.prototype.getWrapBehavioursEnabled=function(){return this.getOption("wrapBehavioursEnabled")},C.prototype.setShowFoldWidgets=function(b){this.setOption("showFoldWidgets",b)},C.prototype.getShowFoldWidgets=function(){return this.getOption("showFoldWidgets")},C.prototype.setFadeFoldWidgets=function(b){this.setOption("fadeFoldWidgets",b)},C.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},C.prototype.remove=function(b){this.selection.isEmpty()&&(b=="left"?this.selection.selectLeft():this.selection.selectRight());var A=this.getSelectionRange();if(this.getBehavioursEnabled()){var _=this.session,O=_.getState(A.start.row),I=_.getMode().transformAction(O,"deletion",this,_,A);if(A.end.column===0){var N=_.getTextRange(A);if(N[N.length-1]==`
1374
1374
  `){var F=_.getLine(A.end.row);/^\s+$/.test(F)&&(A.end.column=F.length)}}I&&(A=I)}this.session.remove(A),this.clearSelection()},C.prototype.removeWordRight=function(){this.selection.isEmpty()&&this.selection.selectWordRight(),this.session.remove(this.getSelectionRange()),this.clearSelection()},C.prototype.removeWordLeft=function(){this.selection.isEmpty()&&this.selection.selectWordLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},C.prototype.removeToLineStart=function(){this.selection.isEmpty()&&this.selection.selectLineStart(),this.selection.isEmpty()&&this.selection.selectLeft(),this.session.remove(this.getSelectionRange()),this.clearSelection()},C.prototype.removeToLineEnd=function(){this.selection.isEmpty()&&this.selection.selectLineEnd();var b=this.getSelectionRange();b.start.column==b.end.column&&b.start.row==b.end.row&&(b.end.column=0,b.end.row++),this.session.remove(b),this.clearSelection()},C.prototype.splitLine=function(){this.selection.isEmpty()||(this.session.remove(this.getSelectionRange()),this.clearSelection());var b=this.getCursorPosition();this.insert(`
1375
- `),this.moveCursorToPosition(b)},C.prototype.setGhostText=function(b,A){this.renderer.setGhostText(b,A)},C.prototype.removeGhostText=function(){this.renderer.removeGhostText()},C.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var b=this.getCursorPosition(),A=b.column;if(A!==0){var _=this.session.getLine(b.row),O,I;A<_.length?(O=_.charAt(A)+_.charAt(A-1),I=new p(b.row,A-1,b.row,A+1)):(O=_.charAt(A-1)+_.charAt(A-2),I=new p(b.row,A-2,b.row,A)),this.session.replace(I,O),this.session.selection.moveToPosition(I.end)}}},C.prototype.toLowerCase=function(){var b=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var A=this.getSelectionRange(),_=this.session.getTextRange(A);this.session.replace(A,_.toLowerCase()),this.selection.setSelectionRange(b)},C.prototype.toUpperCase=function(){var b=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var A=this.getSelectionRange(),_=this.session.getTextRange(A);this.session.replace(A,_.toUpperCase()),this.selection.setSelectionRange(b)},C.prototype.indent=function(){var b=this.session,A=this.getSelectionRange();if(A.start.row<A.end.row){var _=this.$getSelectedRows();b.indentRows(_.first,_.last," ");return}else if(A.start.column<A.end.column){var O=b.getTextRange(A);if(!/^\s+$/.test(O)){var _=this.$getSelectedRows();b.indentRows(_.first,_.last," ");return}}var I=b.getLine(A.start.row),N=A.start,F=b.getTabSize(),z=b.documentToScreenColumn(N.row,N.column);if(this.session.getUseSoftTabs())var P=F-z%F,B=o.stringRepeat(" ",P);else{for(var P=z%F;I[A.start.column-1]==" "&&P;)A.start.column--,P--;this.selection.setSelectionRange(A),B=" "}return this.insert(B)},C.prototype.blockIndent=function(){var b=this.$getSelectedRows();this.session.indentRows(b.first,b.last," ")},C.prototype.blockOutdent=function(){var b=this.session.getSelection();this.session.outdentRows(b.getRange())},C.prototype.sortLines=function(){for(var b=this.$getSelectedRows(),A=this.session,_=[],O=b.first;O<=b.last;O++)_.push(A.getLine(O));_.sort(function(F,z){return F.toLowerCase()<z.toLowerCase()?-1:F.toLowerCase()>z.toLowerCase()?1:0});for(var I=new p(0,0,0,0),O=b.first;O<=b.last;O++){var N=A.getLine(O);I.start.row=O,I.end.row=O,I.end.column=N.length,A.replace(I,_[O-b.first])}},C.prototype.toggleCommentLines=function(){var b=this.session.getState(this.getCursorPosition().row),A=this.$getSelectedRows();this.session.getMode().toggleCommentLines(b,this.session,A.first,A.last)},C.prototype.toggleBlockComment=function(){var b=this.getCursorPosition(),A=this.session.getState(b.row),_=this.getSelectionRange();this.session.getMode().toggleBlockComment(A,this.session,_,b)},C.prototype.getNumberAt=function(b,A){var _=/[\-]?[0-9]+(?:\.[0-9]+)?/g;_.lastIndex=0;for(var O=this.session.getLine(b);_.lastIndex<A;){var I=_.exec(O);if(I.index<=A&&I.index+I[0].length>=A)return{value:I[0],start:I.index,end:I.index+I[0].length}}return null},C.prototype.modifyNumber=function(b){var A=this.selection.getCursor().row,_=this.selection.getCursor().column,O=new p(A,_-1,A,_),I=this.session.getTextRange(O);if(!isNaN(parseFloat(I))&&isFinite(I)){var N=this.getNumberAt(A,_);if(N){var F=N.value.indexOf(".")>=0?N.start+N.value.indexOf(".")+1:N.end,z=N.start+N.value.length-F,P=parseFloat(N.value);P*=Math.pow(10,z),F!==N.end&&_<F?b*=Math.pow(10,N.end-_-1):b*=Math.pow(10,N.end-_),P+=b,P/=Math.pow(10,z);var B=P.toFixed(z),W=new p(A,N.start,A,N.end);this.session.replace(W,B),this.moveCursorTo(A,Math.max(N.start+1,_+B.length-N.value.length))}}else this.toggleWord()},C.prototype.toggleWord=function(){var b=this.selection.getCursor().row,A=this.selection.getCursor().column;this.selection.selectWord();var _=this.getSelectedText(),O=this.selection.getWordRange().start.column,I=_.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,"$1 ").split(/\s/),N=A-O-1;N<0&&(N=0);var F=0,z=0,P=this;_.match(/[A-Za-z0-9_]+/)&&I.forEach(function(X,le){z=F+X.length,N>=F&&N<=z&&(_=X,P.selection.clearSelection(),P.moveCursorTo(b,F+O),P.selection.selectTo(b,z+O)),F=z});for(var B=this.$toggleWordPairs,W,H=0;H<B.length;H++)for(var U=B[H],G=0;G<=1;G++){var Y=+!G,q=_.match(new RegExp("^\\s?_?("+o.escapeRegExp(U[G])+")\\s?$","i"));q&&_.match(new RegExp("([_]|^|\\s)("+o.escapeRegExp(q[1])+")($|\\s)","g"))&&(W=_.replace(new RegExp(o.escapeRegExp(U[G]),"i"),function(X){var le=U[Y];return X.toUpperCase()==X?le=le.toUpperCase():X.charAt(0).toUpperCase()==X.charAt(0)&&(le=le.substr(0,0)+U[Y].charAt(0).toUpperCase()+le.substr(1)),le}),this.insert(W),W="")}},C.prototype.findLinkAt=function(b,A){var _,O,I=this.session.getLine(b).split(/((?:https?|ftp):\/\/[\S]+)/),N=A;N<0&&(N=0);var F=0,z=0,P;try{for(var B=f(I),W=B.next();!W.done;W=B.next()){var H=W.value;if(z=F+H.length,N>=F&&N<=z&&H.match(/((?:https?|ftp):\/\/[\S]+)/)){P=H.replace(/[\s:.,'";}\]]+$/,"");break}F=z}}catch(U){_={error:U}}finally{try{W&&!W.done&&(O=B.return)&&O.call(B)}finally{if(_)throw _.error}}return P},C.prototype.openLink=function(){var b=this.selection.getCursor(),A=this.findLinkAt(b.row,b.column);return A&&window.open(A,"_blank"),A!=null},C.prototype.removeLines=function(){var b=this.$getSelectedRows();this.session.removeFullLines(b.first,b.last),this.clearSelection()},C.prototype.duplicateSelection=function(){var b=this.selection,A=this.session,_=b.getRange(),O=b.isBackwards();if(_.isEmpty()){var I=_.start.row;A.duplicateLines(I,I)}else{var N=O?_.start:_.end,F=A.insert(N,A.getTextRange(_));_.start=N,_.end=F,b.setSelectionRange(_,O)}},C.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},C.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},C.prototype.moveText=function(b,A,_){return this.session.moveText(b,A,_)},C.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},C.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},C.prototype.$moveLines=function(b,A){var _,O,I=this.selection;if(!I.inMultiSelectMode||this.inVirtualSelectionMode){var N=I.toOrientedRange();_=this.$getSelectedRows(N),O=this.session.$moveLines(_.first,_.last,A?0:b),A&&b==-1&&(O=0),N.moveBy(O,0),I.fromOrientedRange(N)}else{var F=I.rangeList.ranges;I.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var z=0,P=0,B=F.length,W=0;W<B;W++){var H=W;F[W].moveBy(z,0),_=this.$getSelectedRows(F[W]);for(var U=_.first,G=_.last;++W<B;){P&&F[W].moveBy(P,0);var Y=this.$getSelectedRows(F[W]);if(A&&Y.first!=G)break;if(!A&&Y.first>G+1)break;G=Y.last}for(W--,z=this.session.$moveLines(U,G,A?0:b),A&&b==-1&&(H=W+1);H<=W;)F[H].moveBy(z,0),H++;A||(z=0),P+=z}I.fromOrientedRange(I.ranges[0]),I.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},C.prototype.$getSelectedRows=function(b){return b=(b||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(b.start.row),last:this.session.getRowFoldEnd(b.end.row)}},C.prototype.onCompositionStart=function(b){this.renderer.showComposition(b)},C.prototype.onCompositionUpdate=function(b){this.renderer.setCompositionText(b)},C.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},C.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},C.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},C.prototype.isRowVisible=function(b){return b>=this.getFirstVisibleRow()&&b<=this.getLastVisibleRow()},C.prototype.isRowFullyVisible=function(b){return b>=this.renderer.getFirstFullyVisibleRow()&&b<=this.renderer.getLastFullyVisibleRow()},C.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},C.prototype.$moveByPage=function(b,A){var _=this.renderer,O=this.renderer.layerConfig,I=b*Math.floor(O.height/O.lineHeight);A===!0?this.selection.$moveSelection(function(){this.moveCursorBy(I,0)}):A===!1&&(this.selection.moveCursorBy(I,0),this.selection.clearSelection());var N=_.scrollTop;_.scrollBy(0,I*O.lineHeight),A!=null&&_.scrollCursorIntoView(null,.5),_.animateScrolling(N)},C.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},C.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},C.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},C.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},C.prototype.scrollPageDown=function(){this.$moveByPage(1)},C.prototype.scrollPageUp=function(){this.$moveByPage(-1)},C.prototype.scrollToRow=function(b){this.renderer.scrollToRow(b)},C.prototype.scrollToLine=function(b,A,_,O){this.renderer.scrollToLine(b,A,_,O)},C.prototype.centerSelection=function(){var b=this.getSelectionRange(),A={row:Math.floor(b.start.row+(b.end.row-b.start.row)/2),column:Math.floor(b.start.column+(b.end.column-b.start.column)/2)};this.renderer.alignCursor(A,.5)},C.prototype.getCursorPosition=function(){return this.selection.getCursor()},C.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},C.prototype.getSelectionRange=function(){return this.selection.getRange()},C.prototype.selectAll=function(){this.selection.selectAll()},C.prototype.clearSelection=function(){this.selection.clearSelection()},C.prototype.moveCursorTo=function(b,A){this.selection.moveCursorTo(b,A)},C.prototype.moveCursorToPosition=function(b){this.selection.moveCursorToPosition(b)},C.prototype.jumpToMatching=function(b,A){var _=this.getCursorPosition(),O=new w(this.session,_.row,_.column),I=O.getCurrentToken(),N=0;I&&I.type.indexOf("tag-name")!==-1&&(I=O.stepBackward());var F=I||O.stepForward();if(F){var z,P=!1,B={},W=_.column-F.start,H,U={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(F.value.match(/[{}()\[\]]/g)){for(;W<F.value.length&&!P;W++)if(U[F.value[W]])switch(H=U[F.value[W]]+"."+F.type.replace("rparen","lparen"),isNaN(B[H])&&(B[H]=0),F.value[W]){case"(":case"[":case"{":B[H]++;break;case")":case"]":case"}":B[H]--,B[H]===-1&&(z="bracket",P=!0);break}}else F.type.indexOf("tag-name")!==-1&&(isNaN(B[F.value])&&(B[F.value]=0),I.value==="<"&&N>1?B[F.value]++:I.value==="</"&&B[F.value]--,B[F.value]===-1&&(z="tag",P=!0));P||(I=F,N++,F=O.stepForward(),W=0)}while(F&&!P);if(z){var G,Y;if(z==="bracket")G=this.session.getBracketRange(_),G||(G=new p(O.getCurrentTokenRow(),O.getCurrentTokenColumn()+W-1,O.getCurrentTokenRow(),O.getCurrentTokenColumn()+W-1),Y=G.start,(A||Y.row===_.row&&Math.abs(Y.column-_.column)<2)&&(G=this.session.getBracketRange(Y)));else if(z==="tag"){if(!F||F.type.indexOf("tag-name")===-1)return;if(G=new p(O.getCurrentTokenRow(),O.getCurrentTokenColumn()-2,O.getCurrentTokenRow(),O.getCurrentTokenColumn()-2),G.compare(_.row,_.column)===0){var q=this.session.getMatchingTags(_);q&&(q.openTag.contains(_.row,_.column)?(G=q.closeTag,Y=G.start):(G=q.openTag,q.closeTag.start.row===_.row&&q.closeTag.start.column===_.column?Y=G.end:Y=G.start))}Y=Y||G.start}Y=G&&G.cursor||Y,Y&&(b?G&&A?this.selection.setRange(G):G&&G.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(Y.row,Y.column):this.selection.moveTo(Y.row,Y.column))}}},C.prototype.gotoLine=function(b,A,_){this.selection.clearSelection(),this.session.unfold({row:b-1,column:A||0}),this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(b-1,A||0),this.isRowFullyVisible(b-1)||this.scrollToLine(b-1,!0,_)},C.prototype.navigateTo=function(b,A){this.selection.moveTo(b,A)},C.prototype.navigateUp=function(b){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var A=this.selection.anchor.getPosition();return this.moveCursorToPosition(A)}this.selection.clearSelection(),this.selection.moveCursorBy(-b||-1,0)},C.prototype.navigateDown=function(b){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var A=this.selection.anchor.getPosition();return this.moveCursorToPosition(A)}this.selection.clearSelection(),this.selection.moveCursorBy(b||1,0)},C.prototype.navigateLeft=function(b){if(this.selection.isEmpty())for(b=b||1;b--;)this.selection.moveCursorLeft();else{var A=this.getSelectionRange().start;this.moveCursorToPosition(A)}this.clearSelection()},C.prototype.navigateRight=function(b){if(this.selection.isEmpty())for(b=b||1;b--;)this.selection.moveCursorRight();else{var A=this.getSelectionRange().end;this.moveCursorToPosition(A)}this.clearSelection()},C.prototype.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},C.prototype.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},C.prototype.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},C.prototype.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},C.prototype.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},C.prototype.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},C.prototype.replace=function(b,A){A&&this.$search.set(A);var _=this.$search.find(this.session),O=0;return _&&(this.$tryReplace(_,b)&&(O=1),this.selection.setSelectionRange(_),this.renderer.scrollSelectionIntoView(_.start,_.end)),O},C.prototype.replaceAll=function(b,A){A&&this.$search.set(A);var _=this.$search.findAll(this.session),O=0;if(!_.length)return O;var I=this.getSelectionRange();this.selection.moveTo(0,0);for(var N=_.length-1;N>=0;--N)this.$tryReplace(_[N],b)&&O++;return this.selection.setSelectionRange(I),O},C.prototype.$tryReplace=function(b,A){var _=this.session.getTextRange(b);return A=this.$search.replace(_,A),A!==null?(b.end=this.session.replace(b,A),b):null},C.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},C.prototype.find=function(b,A,_){A||(A={}),typeof b=="string"||b instanceof RegExp?A.needle=b:typeof b=="object"&&g.mixin(A,b);var O=this.selection.getRange();A.needle==null&&(b=this.session.getTextRange(O)||this.$search.$options.needle,b||(O=this.session.getWordRange(O.start.row,O.start.column),b=this.session.getTextRange(O)),this.$search.set({needle:b})),this.$search.set(A),A.start||this.$search.set({start:O});var I=this.$search.find(this.session);if(A.preventScroll)return I;if(I)return this.revealRange(I,_),I;A.backwards?O.start=O.end:O.end=O.start,this.selection.setRange(O)},C.prototype.findNext=function(b,A){this.find({skipCurrent:!0,backwards:!1},b,A)},C.prototype.findPrevious=function(b,A){this.find(b,{skipCurrent:!0,backwards:!0},A)},C.prototype.revealRange=function(b,A){this.session.unfold(b),this.selection.setSelectionRange(b);var _=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(b.start,b.end,.5),A!==!1&&this.renderer.animateScrolling(_)},C.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},C.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},C.prototype.destroy=function(){this.destroyed=!0,this.$toDestroy&&(this.$toDestroy.forEach(function(b){b.destroy()}),this.$toDestroy=[]),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},C.prototype.setAutoScrollEditorIntoView=function(b){if(b){var A,_=this,O=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var I=this.$scrollAnchor;I.style.cssText="position:absolute",this.container.insertBefore(I,this.container.firstChild);var N=this.on("changeSelection",function(){O=!0}),F=this.renderer.on("beforeRender",function(){O&&(A=_.renderer.container.getBoundingClientRect())}),z=this.renderer.on("afterRender",function(){if(O&&A&&(_.isFocused()||_.searchBox&&_.searchBox.isFocused())){var P=_.renderer,B=P.$cursorLayer.$pixelPos,W=P.layerConfig,H=B.top-W.offset;B.top>=0&&H+A.top<0?O=!0:B.top<W.height&&B.top+A.top+W.lineHeight>window.innerHeight?O=!1:O=null,O!=null&&(I.style.top=H+"px",I.style.left=B.left+"px",I.style.height=W.lineHeight+"px",I.scrollIntoView(O)),O=A=null}});this.setAutoScrollEditorIntoView=function(P){P||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",N),this.renderer.off("afterRender",z),this.renderer.off("beforeRender",F))}}},C.prototype.$resetCursorStyle=function(){var b=this.$cursorStyle||"ace",A=this.renderer.$cursorLayer;A&&(A.setSmoothBlinking(/smooth/.test(b)),A.isBlinking=!this.$readOnly&&b!="wide",c.setCssClass(A.element,"ace_slim-cursors",/slim/.test(b)))},C.prototype.prompt=function(b,A,_){var O=this;x.loadModule("ace/ext/prompt",function(I){I.prompt(O,b,A,_)})},Object.defineProperty(C.prototype,"hoverTooltip",{get:function(){return this.$hoverTooltip||(this.$hoverTooltip=new D(this.container))},set:function(b){this.$hoverTooltip&&this.$hoverTooltip.destroy(),this.$hoverTooltip=b},enumerable:!1,configurable:!0}),C})();T.$uid=0,T.prototype.curOp=null,T.prototype.prevOp={},T.prototype.$mergeableCommands=["backspace","del","insertstring"],T.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],g.implement(T.prototype,v),x.defineOptions(T.prototype,"editor",{selectionStyle:{set:function(C){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:C})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(C){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(C){var b=this;if(this.textInput.setReadOnly(C),!this.destroyed){this.$resetCursorStyle(),this.$readOnlyCallback||(this.$readOnlyCallback=function(_){var O=!1;if(_&&_.type=="keydown"){if(_&&_.key&&!_.ctrlKey&&!_.metaKey&&(_.key==" "&&_.preventDefault(),O=_.key.length==1),!O)return}else _&&_.type!=="exec"&&(O=!0);if(O){var I=c.createElement("div");I.textContent=M("editor.tooltip.disable-editing","Editing is disabled"),b.hoverTooltip.isOpen||b.hoverTooltip.showForRange(b,b.getSelectionRange(),I)}else b.hoverTooltip&&b.hoverTooltip.isOpen&&b.hoverTooltip.hide()});var A=this.textInput.getElement();C?($.addListener(A,"keydown",this.$readOnlyCallback,this),this.commands.on("exec",this.$readOnlyCallback),this.commands.on("commandUnavailable",this.$readOnlyCallback)):($.removeListener(A,"keydown",this.$readOnlyCallback),this.commands.off("exec",this.$readOnlyCallback),this.commands.off("commandUnavailable",this.$readOnlyCallback))}},initialValue:!1},copyWithEmptySelection:{set:function(C){this.textInput.setCopyWithEmptySelection(C)},initialValue:!1},cursorStyle:{set:function(C){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(C){this.setAutoScrollEditorIntoView(C)}},keyboardHandler:{set:function(C){this.setKeyboardHandler(C)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(C){this.session.setValue(C)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(C){this.setSession(C)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(C){this.renderer.$gutterLayer.setShowLineNumbers(C),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),C&&this.$relativeLineNumbers?E.attach(this):E.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(C){this.$showLineNumbers&&C?E.attach(this):E.detach(this)}},placeholder:{set:function(C){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var b=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(b&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),c.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!b&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),c.addCssClass(this.container,"ace_hasPlaceholder");var A=c.createElement("div");A.className="ace_placeholder",A.textContent=this.$placeholder||"",this.renderer.placeholderNode=A,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!b&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(C){var b={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(O){O.blur(),O.renderer.scroller.focus()},readOnly:!0},A=function(O){if(O.target==this.renderer.scroller&&O.keyCode===R.enter){O.preventDefault();var I=this.getCursorPosition().row;this.isRowVisible(I)||this.scrollToLine(I,!0,!0),this.focus()}},_;C?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(h.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",M("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",M("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",A.bind(this)),this.commands.addCommand(b),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",M("editor.gutter.aria-roledescription","editor gutter")),this.renderer.$gutter.setAttribute("aria-label",M("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),_||(_=new S(this)),_.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",A.bind(this)),this.commands.removeCommand(b),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),_&&_.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(C){this.$textInputAriaLabel=C},initialValue:""},enableMobileMenu:{set:function(C){this.$enableMobileMenu=C},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var E={getText:function(C,b){return(Math.abs(C.selection.lead.row-b)||b+1+(b<9?"·":""))+""},getWidth:function(C,b,A){return Math.max(b.toString().length,(A.lastRow+1).toString().length,2)*A.characterWidth},update:function(C,b){b.renderer.$loop.schedule(b.renderer.CHANGE_GUTTER)},attach:function(C){C.renderer.$gutterLayer.$renderer=this,C.on("changeSelection",this.update),this.update(null,C)},detach:function(C){C.renderer.$gutterLayer.$renderer==this&&(C.renderer.$gutterLayer.$renderer=null),C.off("changeSelection",this.update),this.update(null,C)}};n.Editor=T}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(t,n,m){"use strict";var f=t("../lib/dom");n.Lines=(function(){function g(c,o){this.element=c,this.canvasHeight=o||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return g.prototype.moveContainer=function(c){f.translate(this.element,0,-(c.firstRowScreen*c.lineHeight%this.canvasHeight)-c.offset*this.$offsetCoefficient)},g.prototype.pageChanged=function(c,o){return Math.floor(c.firstRowScreen*c.lineHeight/this.canvasHeight)!==Math.floor(o.firstRowScreen*o.lineHeight/this.canvasHeight)},g.prototype.computeLineTop=function(c,o,h){var d=o.firstRowScreen*o.lineHeight,u=Math.floor(d/this.canvasHeight);return h.documentToScreenRow(c,0)*o.lineHeight-u*this.canvasHeight},g.prototype.computeLineHeight=function(c,o,h){return o.lineHeight*h.getRowLineCount(c)},g.prototype.getLength=function(){return this.cells.length},g.prototype.get=function(c){return this.cells[c]},g.prototype.shift=function(){this.$cacheCell(this.cells.shift())},g.prototype.pop=function(){this.$cacheCell(this.cells.pop())},g.prototype.push=function(c){if(Array.isArray(c)){this.cells.push.apply(this.cells,c);for(var o=f.createFragment(this.element),h=0;h<c.length;h++)o.appendChild(c[h].element);this.element.appendChild(o)}else this.cells.push(c),this.element.appendChild(c.element)},g.prototype.unshift=function(c){if(Array.isArray(c)){this.cells.unshift.apply(this.cells,c);for(var o=f.createFragment(this.element),h=0;h<c.length;h++)o.appendChild(c[h].element);this.element.firstChild?this.element.insertBefore(o,this.element.firstChild):this.element.appendChild(o)}else this.cells.unshift(c),this.element.insertAdjacentElement("afterbegin",c.element)},g.prototype.last=function(){return this.cells.length?this.cells[this.cells.length-1]:null},g.prototype.$cacheCell=function(c){c&&(c.element.remove(),this.cellCache.push(c))},g.prototype.createCell=function(c,o,h,d){var u=this.cellCache.pop();if(!u){var l=f.createElement("div");d&&d(l),this.element.appendChild(l),u={element:l,text:"",row:c}}return u.row=c,u},g})()}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/layer/lines","ace/config"],function(t,n,m){"use strict";var f=t("../lib/dom"),g=t("../lib/oop"),c=t("../lib/lang"),o=t("../lib/event_emitter").EventEmitter,h=t("./lines").Lines,d=t("../config").nls,u=(function(){function s(r){this.$showCursorMarker=null,this.element=f.createElement("div"),this.element.className="ace_layer ace_gutter-layer",r.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$lines=new h(this.element),this.$lines.$offsetCoefficient=1}return s.prototype.setSession=function(r){this.session&&this.session.off("change",this.$updateAnnotations),this.session=r,r&&r.on("change",this.$updateAnnotations)},s.prototype.addGutterDecoration=function(r,a){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(r,a)},s.prototype.removeGutterDecoration=function(r,a){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(r,a)},s.prototype.setAnnotations=function(r){this.$annotations=[];for(var a=0;a<r.length;a++){var p=r[a],v=p.row,y=this.$annotations[v];y||(y=this.$annotations[v]={text:[],type:[],displayText:[]});var k=p.text,x=p.text,w=p.type;k=k?c.escapeHTML(k):p.html||"",x=x||p.html||"",y.text.indexOf(k)===-1&&(y.text.push(k),y.type.push(w),y.displayText.push(x));var S=p.className;S?y.className=S:w==="error"?y.className=" ace_error":w==="security"&&!/\bace_error\b/.test(y.className)?y.className=" ace_security":w==="warning"&&!/\bace_(error|security)\b/.test(y.className)?y.className=" ace_warning":w==="info"&&!y.className?y.className=" ace_info":w==="hint"&&!y.className&&(y.className=" ace_hint")}},s.prototype.$updateAnnotations=function(r){if(this.$annotations.length){var a=r.start.row,p=r.end.row-a;if(p!==0)if(r.action=="remove")this.$annotations.splice(a,p+1,null);else{var v=new Array(p+1);v.unshift(a,1),this.$annotations.splice.apply(this.$annotations,v)}}},s.prototype.update=function(r){this.config=r;var a=this.session,p=r.firstRow,v=Math.min(r.lastRow+r.gutterOffset,a.getLength()-1);this.oldLastRow=v,this.config=r,this.$lines.moveContainer(r),this.$updateCursorRow();for(var y=a.getNextFoldLine(p),k=y?y.start.row:1/0,x=null,w=-1,S=p;;){if(S>k&&(S=y.end.row+1,y=a.getNextFoldLine(S,y),k=y?y.start.row:1/0),S>v){for(;this.$lines.getLength()>w+1;)this.$lines.pop();break}x=this.$lines.get(++w),x?x.row=S:(x=this.$lines.createCell(S,r,this.session,l),this.$lines.push(x)),this.$renderCell(x,r,y,S),S++}this._signal("afterRender"),this.$updateGutterWidth(r),this.$showCursorMarker&&this.$highlightGutterLine&&this.$updateCursorMarker()},s.prototype.$updateGutterWidth=function(r){var a=this.session,p=a.gutterRenderer||this.$renderer,v=a.$firstLineNumber,y=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||a.$useWrapMode)&&(y=a.getLength()+v-1);var k=p?p.getWidth(a,y,r):y.toString().length*r.characterWidth,x=this.$padding||this.$computePadding();k+=x.left+x.right,k!==this.gutterWidth&&!isNaN(k)&&(this.gutterWidth=k,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",k))},s.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var r=this.session.selection.getCursor();this.$cursorRow!==r.row&&(this.$cursorRow=r.row)}},s.prototype.updateLineHighlight=function(){if(this.$showCursorMarker&&this.$updateCursorMarker(),!!this.$highlightGutterLine){var r=this.session.selection.cursor.row;if(this.$cursorRow=r,!(this.$cursorCell&&this.$cursorCell.row==r)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var a=this.$lines.cells;this.$cursorCell=null;for(var p=0;p<a.length;p++){var v=a[p];if(v.row>=this.$cursorRow){if(v.row>this.$cursorRow){var y=this.session.getFoldLine(this.$cursorRow);if(p>0&&y&&y.start.row==a[p-1].row)v=a[p-1];else break}v.element.className="ace_gutter-active-line "+v.element.className,this.$cursorCell=v;break}}}}},s.prototype.$updateCursorMarker=function(){if(this.session){var r=this.session;this.$highlightElement||(this.$highlightElement=f.createElement("div"),this.$highlightElement.className="ace_gutter-cursor",this.$highlightElement.style.pointerEvents="none",this.element.appendChild(this.$highlightElement));var a=r.selection.cursor,p=this.config,v=this.$lines,y=p.firstRowScreen*p.lineHeight,k=Math.floor(y/v.canvasHeight),x=r.documentToScreenRow(a)*p.lineHeight-k*v.canvasHeight;f.setStyle(this.$highlightElement.style,"height",p.lineHeight+"px"),f.setStyle(this.$highlightElement.style,"top",x+"px")}},s.prototype.scrollLines=function(r){var a=this.config;if(this.config=r,this.$updateCursorRow(),this.$lines.pageChanged(a,r))return this.update(r);this.$lines.moveContainer(r);var p=Math.min(r.lastRow+r.gutterOffset,this.session.getLength()-1),v=this.oldLastRow;if(this.oldLastRow=p,!a||v<r.firstRow)return this.update(r);if(p<a.firstRow)return this.update(r);if(a.firstRow<r.firstRow)for(var y=this.session.getFoldedRowCount(a.firstRow,r.firstRow-1);y>0;y--)this.$lines.shift();if(v>p)for(var y=this.session.getFoldedRowCount(p+1,v);y>0;y--)this.$lines.pop();r.firstRow<a.firstRow&&this.$lines.unshift(this.$renderLines(r,r.firstRow,a.firstRow-1)),p>v&&this.$lines.push(this.$renderLines(r,v+1,p)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(r)},s.prototype.$renderLines=function(r,a,p){for(var v=[],y=a,k=this.session.getNextFoldLine(y),x=k?k.start.row:1/0;y>x&&(y=k.end.row+1,k=this.session.getNextFoldLine(y,k),x=k?k.start.row:1/0),!(y>p);){var w=this.$lines.createCell(y,r,this.session,l);this.$renderCell(w,r,k,y),v.push(w),y++}return v},s.prototype.$renderCell=function(r,a,p,v){var y=r.element,k=this.session,x=y.childNodes[0],w=y.childNodes[1],S=y.childNodes[2],M=y.childNodes[3],L=S.firstChild,R=k.$firstLineNumber,$=k.$breakpoints,D=k.$decorations,T=k.gutterRenderer||this.$renderer,E=this.$showFoldWidgets&&k.foldWidgets,C=p?p.start.row:Number.MAX_VALUE,b=a.lineHeight+"px",A=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",_=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",O=(T?T.getText(k,v):v+R).toString();if(this.$highlightGutterLine&&(v==this.$cursorRow||p&&v<this.$cursorRow&&v>=C&&this.$cursorRow<=p.end.row)&&(A+="ace_gutter-active-line ",this.$cursorCell!=r&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=r)),$[v]&&(A+=$[v]),D[v]&&(A+=D[v]),this.$annotations[v]&&v!==C&&(A+=this.$annotations[v].className),E){var I=E[v];I==null&&(I=E[v]=k.getFoldWidget(v))}if(I){var N="ace_fold-widget ace_"+I,F=I=="start"&&v==C&&v<p.end.row;if(F){N+=" ace_closed";for(var z="",P=!1,B=v+1;B<=p.end.row;B++)if(this.$annotations[B]){if(this.$annotations[B].className===" ace_error"){P=!0,z=" ace_error_fold";break}this.$annotations[B].className===" ace_security"?(P=!0,z=" ace_security_fold"):this.$annotations[B].className===" ace_warning"&&z!==" ace_security_fold"&&(P=!0,z=" ace_warning_fold")}A+=z}else N+=" ace_open";w.className!=N&&(w.className=N),f.setStyle(w.style,"height",b),f.setStyle(w.style,"display","inline-block"),w.setAttribute("role","button"),w.setAttribute("tabindex","-1");var W=k.getFoldWidgetRange(v);W?w.setAttribute("aria-label",d("gutter.code-folding.range.aria-label","Toggle code folding, rows $0 through $1",[W.start.row+1,W.end.row+1])):p?w.setAttribute("aria-label",d("gutter.code-folding.closed.aria-label","Toggle code folding, rows $0 through $1",[p.start.row+1,p.end.row+1])):w.setAttribute("aria-label",d("gutter.code-folding.open.aria-label","Toggle code folding, row $0",[v+1])),F?(w.setAttribute("aria-expanded","false"),w.setAttribute("title",d("gutter.code-folding.closed.title","Unfold code"))):(w.setAttribute("aria-expanded","true"),w.setAttribute("title",d("gutter.code-folding.open.title","Fold code")))}else w&&(f.setStyle(w.style,"display","none"),w.setAttribute("tabindex","0"),w.removeAttribute("role"),w.removeAttribute("aria-label"));var H=this.session.$gutterCustomWidgets[v];if(H?this.$addCustomWidget(v,H,r):M&&this.$removeCustomWidget(v,r),P&&this.$showFoldedAnnotations){S.className="ace_gutter_annotation",L.className=_,L.className+=z,f.setStyle(L.style,"height",b),f.setStyle(S.style,"display","block"),f.setStyle(S.style,"height",b);var U;switch(z){case" ace_error_fold":U=d("gutter.annotation.aria-label.error","Error, read annotations row $0",[O]);break;case" ace_security_fold":U=d("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[O]);break;case" ace_warning_fold":U=d("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[O]);break}S.setAttribute("aria-label",U),S.setAttribute("tabindex","-1"),S.setAttribute("role","button")}else if(this.$annotations[v]){S.className="ace_gutter_annotation",L.className=_,this.$useSvgGutterIcons?L.className+=this.$annotations[v].className:y.classList.add(this.$annotations[v].className.replace(" ","")),f.setStyle(L.style,"height",b),f.setStyle(S.style,"display","block"),f.setStyle(S.style,"height",b);var U;switch(this.$annotations[v].className){case" ace_error":U=d("gutter.annotation.aria-label.error","Error, read annotations row $0",[O]);break;case" ace_security":U=d("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[O]);break;case" ace_warning":U=d("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[O]);break;case" ace_info":U=d("gutter.annotation.aria-label.info","Info, read annotations row $0",[O]);break;case" ace_hint":U=d("gutter.annotation.aria-label.hint","Suggestion, read annotations row $0",[O]);break}S.setAttribute("aria-label",U),S.setAttribute("tabindex","-1"),S.setAttribute("role","button")}else f.setStyle(S.style,"display","none"),S.removeAttribute("aria-label"),S.removeAttribute("role"),S.setAttribute("tabindex","0");return O!==x.data&&(x.data=O),y.className!=A&&(y.className=A),f.setStyle(r.element.style,"height",this.$lines.computeLineHeight(v,a,k)+"px"),f.setStyle(r.element.style,"top",this.$lines.computeLineTop(v,a,k)+"px"),r.text=O,S.style.display==="none"&&w.style.display==="none"&&!H?r.element.setAttribute("aria-hidden",!0):r.element.setAttribute("aria-hidden",!1),r},s.prototype.setHighlightGutterLine=function(r){this.$highlightGutterLine=r,!r&&this.$highlightElement&&(this.$highlightElement.remove(),this.$highlightElement=null)},s.prototype.setShowLineNumbers=function(r){this.$renderer=!r&&{getWidth:function(){return 0},getText:function(){return""}}},s.prototype.getShowLineNumbers=function(){return this.$showLineNumbers},s.prototype.setShowFoldWidgets=function(r){r?f.addCssClass(this.element,"ace_folding-enabled"):f.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=r,this.$padding=null},s.prototype.getShowFoldWidgets=function(){return this.$showFoldWidgets},s.prototype.$hideFoldWidget=function(r,a){var p=a||this.$getGutterCell(r);if(p&&p.element){var v=p.element.childNodes[1];v&&f.setStyle(v.style,"display","none")}},s.prototype.$showFoldWidget=function(r,a){var p=a||this.$getGutterCell(r);if(p&&p.element){var v=p.element.childNodes[1];v&&this.session.foldWidgets&&this.session.foldWidgets[p.row]&&f.setStyle(v.style,"display","inline-block")}},s.prototype.$getGutterCell=function(r){var a=this.$lines.cells,p=0,v=a.length-1;if(!(r<a[0].row||r>a[v].row)){for(;p<=v;){var y=Math.floor((p+v)/2),k=a[y];if(k.row>r)v=y-1;else if(k.row<r)p=y+1;else return k}return k}},s.prototype.$addCustomWidget=function(r,a,p){var v=a.className,y=a.label,k=a.title,x=a.callbacks;this.session.$gutterCustomWidgets[r]={className:v,label:y,title:k,callbacks:x},this.$hideFoldWidget(r,p);var w=p||this.$getGutterCell(r);if(w&&w.element){var S=w.element.querySelector(".ace_custom-widget");S&&S.remove(),S=f.createElement("span"),S.className="ace_custom-widget ".concat(v),S.setAttribute("tabindex","-1"),S.setAttribute("role","button"),S.setAttribute("aria-label",y),S.setAttribute("title",k),f.setStyle(S.style,"display","inline-block"),f.setStyle(S.style,"height","inherit"),x&&x.onClick&&S.addEventListener("click",function(M){x.onClick(M,r),M.stopPropagation()}),w.element.appendChild(S)}},s.prototype.$removeCustomWidget=function(r,a){delete this.session.$gutterCustomWidgets[r],this.$showFoldWidget(r,a);var p=a||this.$getGutterCell(r);if(p&&p.element){var v=p.element.querySelector(".ace_custom-widget");v&&p.element.removeChild(v)}},s.prototype.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var r=f.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=(parseInt(r.borderLeftWidth)||0)+(parseInt(r.paddingLeft)||0)+1,this.$padding.right=(parseInt(r.borderRightWidth)||0)+(parseInt(r.paddingRight)||0),this.$padding},s.prototype.getRegion=function(r){var a=this.$padding||this.$computePadding(),p=this.element.getBoundingClientRect();if(r.x<a.left+p.left)return"markers";if(this.$showFoldWidgets&&r.x>p.right-a.right)return"foldWidgets"},s})();u.prototype.$fixedWidth=!1,u.prototype.$highlightGutterLine=!0,u.prototype.$renderer=void 0,u.prototype.$showLineNumbers=!0,u.prototype.$showFoldWidgets=!0,g.implement(u.prototype,o);function l(s){var r=document.createTextNode("");s.appendChild(r);var a=f.createElement("span");s.appendChild(a);var p=f.createElement("span");s.appendChild(p);var v=f.createElement("span");return p.appendChild(v),s}n.Gutter=u}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(t,n,m){"use strict";var f=t("../range").Range,g=t("../lib/dom"),c=(function(){function h(d){this.element=g.createElement("div"),this.element.className="ace_layer ace_marker-layer",d.appendChild(this.element)}return h.prototype.setPadding=function(d){this.$padding=d},h.prototype.setSession=function(d){this.session=d},h.prototype.setMarkers=function(d){this.markers=d},h.prototype.elt=function(d,u){var l=this.i!=-1&&this.element.childNodes[this.i];l?this.i++:(l=document.createElement("div"),this.element.appendChild(l),this.i=-1),l.style.cssText=u,l.className=d},h.prototype.update=function(d){if(d){this.config=d,this.i=0;var u;for(var l in this.markers){var s=this.markers[l];if(!s.range){s.update(u,this,this.session,d);continue}var r=s.range.clipRows(d.firstRow,d.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),s.renderer){var a=this.$getTop(r.start.row,d),p=this.$padding+r.start.column*d.characterWidth;s.renderer(u,r,p,a,d)}else s.type=="fullLine"?this.drawFullLineMarker(u,r,s.clazz,d):s.type=="screenLine"?this.drawScreenLineMarker(u,r,s.clazz,d):r.isMultiLine()?s.type=="text"?this.drawTextMarker(u,r,s.clazz,d):this.drawMultiLineMarker(u,r,s.clazz,d):this.drawSingleLineMarker(u,r,s.clazz+" ace_start ace_br15",d)}if(this.i!=-1)for(;this.i<this.element.childElementCount;)this.element.removeChild(this.element.lastChild)}},h.prototype.$getTop=function(d,u){return(d-u.firstRowScreen)*u.lineHeight},h.prototype.drawTextMarker=function(d,u,l,s,r){for(var a=this.session,p=u.start.row,v=u.end.row,y=p,k=0,x=0,w=a.getScreenLastRowColumn(y),S=new f(y,u.start.column,y,x);y<=v;y++)S.start.row=S.end.row=y,S.start.column=y==p?u.start.column:a.getRowWrapIndent(y),S.end.column=w,k=x,x=w,w=y+1<v?a.getScreenLastRowColumn(y+1):y==v?0:u.end.column,this.drawSingleLineMarker(d,S,l+(y==p?" ace_start":"")+" ace_br"+o(y==p||y==p+1&&u.start.column,k<x,x>w,y==v),s,y==v?0:1,r)},h.prototype.drawMultiLineMarker=function(d,u,l,s,r){var a=this.$padding,p=s.lineHeight,v=this.$getTop(u.start.row,s),y=a+u.start.column*s.characterWidth;if(r=r||"",this.session.$bidiHandler.isBidiRow(u.start.row)){var k=u.clone();k.end.row=k.start.row,k.end.column=this.session.getLine(k.start.row).length,this.drawBidiSingleLineMarker(d,k,l+" ace_br1 ace_start",s,null,r)}else this.elt(l+" ace_br1 ace_start","height:"+p+"px;right:"+a+"px;top:"+v+"px;left:"+y+"px;"+(r||""));if(this.session.$bidiHandler.isBidiRow(u.end.row)){var k=u.clone();k.start.row=k.end.row,k.start.column=0,this.drawBidiSingleLineMarker(d,k,l+" ace_br12",s,null,r)}else{v=this.$getTop(u.end.row,s);var x=u.end.column*s.characterWidth;this.elt(l+" ace_br12","height:"+p+"px;width:"+x+"px;top:"+v+"px;left:"+a+"px;"+(r||""))}if(p=(u.end.row-u.start.row-1)*s.lineHeight,!(p<=0)){v=this.$getTop(u.start.row+1,s);var w=(u.start.column?1:0)|(u.end.column?0:8);this.elt(l+(w?" ace_br"+w:""),"height:"+p+"px;right:"+a+"px;top:"+v+"px;left:"+a+"px;"+(r||""))}},h.prototype.drawSingleLineMarker=function(d,u,l,s,r,a){if(this.session.$bidiHandler.isBidiRow(u.start.row))return this.drawBidiSingleLineMarker(d,u,l,s,r,a);var p=s.lineHeight,v=(u.end.column+(r||0)-u.start.column)*s.characterWidth,y=this.$getTop(u.start.row,s),k=this.$padding+u.start.column*s.characterWidth;this.elt(l,"height:"+p+"px;width:"+v+"px;top:"+y+"px;left:"+k+"px;"+(a||""))},h.prototype.drawBidiSingleLineMarker=function(d,u,l,s,r,a){var p=s.lineHeight,v=this.$getTop(u.start.row,s),y=this.$padding;this.session.$bidiHandler.getSelections(u.start.column,u.end.column).forEach(function(k){this.elt(l,"height:"+p+"px;width:"+(k.width+(r||0))+"px;top:"+v+"px;left:"+(y+k.left)+"px;"+(a||""))},this)},h.prototype.drawFullLineMarker=function(d,u,l,s,r){var a=this.$getTop(u.start.row,s),p=s.lineHeight;u.start.row!=u.end.row&&(p+=this.$getTop(u.end.row,s)-a),this.elt(l,"height:"+p+"px;top:"+a+"px;left:0;right:0;"+(r||""))},h.prototype.drawScreenLineMarker=function(d,u,l,s,r){var a=this.$getTop(u.start.row,s),p=s.lineHeight;this.elt(l,"height:"+p+"px;top:"+a+"px;left:0;right:0;"+(r||""))},h})();c.prototype.$padding=0;function o(h,d,u,l){return(h?1:0)|(d?2:0)|(u?4:0)|(l?8:0)}n.Marker=c}),ace.define("ace/layer/text_util",["require","exports","module"],function(t,n,m){var f=new Set(["text","rparen","lparen"]);n.isTextToken=function(g){return f.has(g)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(t,n,m){"use strict";var f=t("../lib/oop"),g=t("../lib/dom"),c=t("../lib/lang"),o=t("./lines").Lines,h=t("../lib/event_emitter").EventEmitter,d=t("../config").nls,u=t("./text_util").isTextToken,l=(function(){function s(r){this.dom=g,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",r.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new o(this.element)}return s.prototype.$updateEolChar=function(){var r=this.session.doc,a=r.getNewLineCharacter()==`
1375
+ `),this.moveCursorToPosition(b)},C.prototype.setGhostText=function(b,A){this.renderer.setGhostText(b,A)},C.prototype.removeGhostText=function(){this.renderer.removeGhostText()},C.prototype.transposeLetters=function(){if(this.selection.isEmpty()){var b=this.getCursorPosition(),A=b.column;if(A!==0){var _=this.session.getLine(b.row),O,I;A<_.length?(O=_.charAt(A)+_.charAt(A-1),I=new p(b.row,A-1,b.row,A+1)):(O=_.charAt(A-1)+_.charAt(A-2),I=new p(b.row,A-2,b.row,A)),this.session.replace(I,O),this.session.selection.moveToPosition(I.end)}}},C.prototype.toLowerCase=function(){var b=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var A=this.getSelectionRange(),_=this.session.getTextRange(A);this.session.replace(A,_.toLowerCase()),this.selection.setSelectionRange(b)},C.prototype.toUpperCase=function(){var b=this.getSelectionRange();this.selection.isEmpty()&&this.selection.selectWord();var A=this.getSelectionRange(),_=this.session.getTextRange(A);this.session.replace(A,_.toUpperCase()),this.selection.setSelectionRange(b)},C.prototype.indent=function(){var b=this.session,A=this.getSelectionRange();if(A.start.row<A.end.row){var _=this.$getSelectedRows();b.indentRows(_.first,_.last," ");return}else if(A.start.column<A.end.column){var O=b.getTextRange(A);if(!/^\s+$/.test(O)){var _=this.$getSelectedRows();b.indentRows(_.first,_.last," ");return}}var I=b.getLine(A.start.row),N=A.start,F=b.getTabSize(),z=b.documentToScreenColumn(N.row,N.column);if(this.session.getUseSoftTabs())var P=F-z%F,B=o.stringRepeat(" ",P);else{for(var P=z%F;I[A.start.column-1]==" "&&P;)A.start.column--,P--;this.selection.setSelectionRange(A),B=" "}return this.insert(B)},C.prototype.blockIndent=function(){var b=this.$getSelectedRows();this.session.indentRows(b.first,b.last," ")},C.prototype.blockOutdent=function(){var b=this.session.getSelection();this.session.outdentRows(b.getRange())},C.prototype.sortLines=function(){for(var b=this.$getSelectedRows(),A=this.session,_=[],O=b.first;O<=b.last;O++)_.push(A.getLine(O));_.sort(function(F,z){return F.toLowerCase()<z.toLowerCase()?-1:F.toLowerCase()>z.toLowerCase()?1:0});for(var I=new p(0,0,0,0),O=b.first;O<=b.last;O++){var N=A.getLine(O);I.start.row=O,I.end.row=O,I.end.column=N.length,A.replace(I,_[O-b.first])}},C.prototype.toggleCommentLines=function(){var b=this.session.getState(this.getCursorPosition().row),A=this.$getSelectedRows();this.session.getMode().toggleCommentLines(b,this.session,A.first,A.last)},C.prototype.toggleBlockComment=function(){var b=this.getCursorPosition(),A=this.session.getState(b.row),_=this.getSelectionRange();this.session.getMode().toggleBlockComment(A,this.session,_,b)},C.prototype.getNumberAt=function(b,A){var _=/[\-]?[0-9]+(?:\.[0-9]+)?/g;_.lastIndex=0;for(var O=this.session.getLine(b);_.lastIndex<A;){var I=_.exec(O);if(I.index<=A&&I.index+I[0].length>=A)return{value:I[0],start:I.index,end:I.index+I[0].length}}return null},C.prototype.modifyNumber=function(b){var A=this.selection.getCursor().row,_=this.selection.getCursor().column,O=new p(A,_-1,A,_),I=this.session.getTextRange(O);if(!isNaN(parseFloat(I))&&isFinite(I)){var N=this.getNumberAt(A,_);if(N){var F=N.value.indexOf(".")>=0?N.start+N.value.indexOf(".")+1:N.end,z=N.start+N.value.length-F,P=parseFloat(N.value);P*=Math.pow(10,z),F!==N.end&&_<F?b*=Math.pow(10,N.end-_-1):b*=Math.pow(10,N.end-_),P+=b,P/=Math.pow(10,z);var B=P.toFixed(z),W=new p(A,N.start,A,N.end);this.session.replace(W,B),this.moveCursorTo(A,Math.max(N.start+1,_+B.length-N.value.length))}}else this.toggleWord()},C.prototype.toggleWord=function(){var b=this.selection.getCursor().row,A=this.selection.getCursor().column;this.selection.selectWord();var _=this.getSelectedText(),O=this.selection.getWordRange().start.column,I=_.replace(/([a-z]+|[A-Z]+)(?=[A-Z_]|$)/g,"$1 ").split(/\s/),N=A-O-1;N<0&&(N=0);var F=0,z=0,P=this;_.match(/[A-Za-z0-9_]+/)&&I.forEach(function(Q,se){z=F+Q.length,N>=F&&N<=z&&(_=Q,P.selection.clearSelection(),P.moveCursorTo(b,F+O),P.selection.selectTo(b,z+O)),F=z});for(var B=this.$toggleWordPairs,W,H=0;H<B.length;H++)for(var U=B[H],G=0;G<=1;G++){var Y=+!G,q=_.match(new RegExp("^\\s?_?("+o.escapeRegExp(U[G])+")\\s?$","i"));q&&_.match(new RegExp("([_]|^|\\s)("+o.escapeRegExp(q[1])+")($|\\s)","g"))&&(W=_.replace(new RegExp(o.escapeRegExp(U[G]),"i"),function(Q){var se=U[Y];return Q.toUpperCase()==Q?se=se.toUpperCase():Q.charAt(0).toUpperCase()==Q.charAt(0)&&(se=se.substr(0,0)+U[Y].charAt(0).toUpperCase()+se.substr(1)),se}),this.insert(W),W="")}},C.prototype.findLinkAt=function(b,A){var _,O,I=this.session.getLine(b).split(/((?:https?|ftp):\/\/[\S]+)/),N=A;N<0&&(N=0);var F=0,z=0,P;try{for(var B=f(I),W=B.next();!W.done;W=B.next()){var H=W.value;if(z=F+H.length,N>=F&&N<=z&&H.match(/((?:https?|ftp):\/\/[\S]+)/)){P=H.replace(/[\s:.,'";}\]]+$/,"");break}F=z}}catch(U){_={error:U}}finally{try{W&&!W.done&&(O=B.return)&&O.call(B)}finally{if(_)throw _.error}}return P},C.prototype.openLink=function(){var b=this.selection.getCursor(),A=this.findLinkAt(b.row,b.column);return A&&window.open(A,"_blank"),A!=null},C.prototype.removeLines=function(){var b=this.$getSelectedRows();this.session.removeFullLines(b.first,b.last),this.clearSelection()},C.prototype.duplicateSelection=function(){var b=this.selection,A=this.session,_=b.getRange(),O=b.isBackwards();if(_.isEmpty()){var I=_.start.row;A.duplicateLines(I,I)}else{var N=O?_.start:_.end,F=A.insert(N,A.getTextRange(_));_.start=N,_.end=F,b.setSelectionRange(_,O)}},C.prototype.moveLinesDown=function(){this.$moveLines(1,!1)},C.prototype.moveLinesUp=function(){this.$moveLines(-1,!1)},C.prototype.moveText=function(b,A,_){return this.session.moveText(b,A,_)},C.prototype.copyLinesUp=function(){this.$moveLines(-1,!0)},C.prototype.copyLinesDown=function(){this.$moveLines(1,!0)},C.prototype.$moveLines=function(b,A){var _,O,I=this.selection;if(!I.inMultiSelectMode||this.inVirtualSelectionMode){var N=I.toOrientedRange();_=this.$getSelectedRows(N),O=this.session.$moveLines(_.first,_.last,A?0:b),A&&b==-1&&(O=0),N.moveBy(O,0),I.fromOrientedRange(N)}else{var F=I.rangeList.ranges;I.rangeList.detach(this.session),this.inVirtualSelectionMode=!0;for(var z=0,P=0,B=F.length,W=0;W<B;W++){var H=W;F[W].moveBy(z,0),_=this.$getSelectedRows(F[W]);for(var U=_.first,G=_.last;++W<B;){P&&F[W].moveBy(P,0);var Y=this.$getSelectedRows(F[W]);if(A&&Y.first!=G)break;if(!A&&Y.first>G+1)break;G=Y.last}for(W--,z=this.session.$moveLines(U,G,A?0:b),A&&b==-1&&(H=W+1);H<=W;)F[H].moveBy(z,0),H++;A||(z=0),P+=z}I.fromOrientedRange(I.ranges[0]),I.rangeList.attach(this.session),this.inVirtualSelectionMode=!1}},C.prototype.$getSelectedRows=function(b){return b=(b||this.getSelectionRange()).collapseRows(),{first:this.session.getRowFoldStart(b.start.row),last:this.session.getRowFoldEnd(b.end.row)}},C.prototype.onCompositionStart=function(b){this.renderer.showComposition(b)},C.prototype.onCompositionUpdate=function(b){this.renderer.setCompositionText(b)},C.prototype.onCompositionEnd=function(){this.renderer.hideComposition()},C.prototype.getFirstVisibleRow=function(){return this.renderer.getFirstVisibleRow()},C.prototype.getLastVisibleRow=function(){return this.renderer.getLastVisibleRow()},C.prototype.isRowVisible=function(b){return b>=this.getFirstVisibleRow()&&b<=this.getLastVisibleRow()},C.prototype.isRowFullyVisible=function(b){return b>=this.renderer.getFirstFullyVisibleRow()&&b<=this.renderer.getLastFullyVisibleRow()},C.prototype.$getVisibleRowCount=function(){return this.renderer.getScrollBottomRow()-this.renderer.getScrollTopRow()+1},C.prototype.$moveByPage=function(b,A){var _=this.renderer,O=this.renderer.layerConfig,I=b*Math.floor(O.height/O.lineHeight);A===!0?this.selection.$moveSelection(function(){this.moveCursorBy(I,0)}):A===!1&&(this.selection.moveCursorBy(I,0),this.selection.clearSelection());var N=_.scrollTop;_.scrollBy(0,I*O.lineHeight),A!=null&&_.scrollCursorIntoView(null,.5),_.animateScrolling(N)},C.prototype.selectPageDown=function(){this.$moveByPage(1,!0)},C.prototype.selectPageUp=function(){this.$moveByPage(-1,!0)},C.prototype.gotoPageDown=function(){this.$moveByPage(1,!1)},C.prototype.gotoPageUp=function(){this.$moveByPage(-1,!1)},C.prototype.scrollPageDown=function(){this.$moveByPage(1)},C.prototype.scrollPageUp=function(){this.$moveByPage(-1)},C.prototype.scrollToRow=function(b){this.renderer.scrollToRow(b)},C.prototype.scrollToLine=function(b,A,_,O){this.renderer.scrollToLine(b,A,_,O)},C.prototype.centerSelection=function(){var b=this.getSelectionRange(),A={row:Math.floor(b.start.row+(b.end.row-b.start.row)/2),column:Math.floor(b.start.column+(b.end.column-b.start.column)/2)};this.renderer.alignCursor(A,.5)},C.prototype.getCursorPosition=function(){return this.selection.getCursor()},C.prototype.getCursorPositionScreen=function(){return this.session.documentToScreenPosition(this.getCursorPosition())},C.prototype.getSelectionRange=function(){return this.selection.getRange()},C.prototype.selectAll=function(){this.selection.selectAll()},C.prototype.clearSelection=function(){this.selection.clearSelection()},C.prototype.moveCursorTo=function(b,A){this.selection.moveCursorTo(b,A)},C.prototype.moveCursorToPosition=function(b){this.selection.moveCursorToPosition(b)},C.prototype.jumpToMatching=function(b,A){var _=this.getCursorPosition(),O=new w(this.session,_.row,_.column),I=O.getCurrentToken(),N=0;I&&I.type.indexOf("tag-name")!==-1&&(I=O.stepBackward());var F=I||O.stepForward();if(F){var z,P=!1,B={},W=_.column-F.start,H,U={")":"(","(":"(","]":"[","[":"[","{":"{","}":"{"};do{if(F.value.match(/[{}()\[\]]/g)){for(;W<F.value.length&&!P;W++)if(U[F.value[W]])switch(H=U[F.value[W]]+"."+F.type.replace("rparen","lparen"),isNaN(B[H])&&(B[H]=0),F.value[W]){case"(":case"[":case"{":B[H]++;break;case")":case"]":case"}":B[H]--,B[H]===-1&&(z="bracket",P=!0);break}}else F.type.indexOf("tag-name")!==-1&&(isNaN(B[F.value])&&(B[F.value]=0),I.value==="<"&&N>1?B[F.value]++:I.value==="</"&&B[F.value]--,B[F.value]===-1&&(z="tag",P=!0));P||(I=F,N++,F=O.stepForward(),W=0)}while(F&&!P);if(z){var G,Y;if(z==="bracket")G=this.session.getBracketRange(_),G||(G=new p(O.getCurrentTokenRow(),O.getCurrentTokenColumn()+W-1,O.getCurrentTokenRow(),O.getCurrentTokenColumn()+W-1),Y=G.start,(A||Y.row===_.row&&Math.abs(Y.column-_.column)<2)&&(G=this.session.getBracketRange(Y)));else if(z==="tag"){if(!F||F.type.indexOf("tag-name")===-1)return;if(G=new p(O.getCurrentTokenRow(),O.getCurrentTokenColumn()-2,O.getCurrentTokenRow(),O.getCurrentTokenColumn()-2),G.compare(_.row,_.column)===0){var q=this.session.getMatchingTags(_);q&&(q.openTag.contains(_.row,_.column)?(G=q.closeTag,Y=G.start):(G=q.openTag,q.closeTag.start.row===_.row&&q.closeTag.start.column===_.column?Y=G.end:Y=G.start))}Y=Y||G.start}Y=G&&G.cursor||Y,Y&&(b?G&&A?this.selection.setRange(G):G&&G.isEqual(this.getSelectionRange())?this.clearSelection():this.selection.selectTo(Y.row,Y.column):this.selection.moveTo(Y.row,Y.column))}}},C.prototype.gotoLine=function(b,A,_){this.selection.clearSelection(),this.session.unfold({row:b-1,column:A||0}),this.exitMultiSelectMode&&this.exitMultiSelectMode(),this.moveCursorTo(b-1,A||0),this.isRowFullyVisible(b-1)||this.scrollToLine(b-1,!0,_)},C.prototype.navigateTo=function(b,A){this.selection.moveTo(b,A)},C.prototype.navigateUp=function(b){if(this.selection.isMultiLine()&&!this.selection.isBackwards()){var A=this.selection.anchor.getPosition();return this.moveCursorToPosition(A)}this.selection.clearSelection(),this.selection.moveCursorBy(-b||-1,0)},C.prototype.navigateDown=function(b){if(this.selection.isMultiLine()&&this.selection.isBackwards()){var A=this.selection.anchor.getPosition();return this.moveCursorToPosition(A)}this.selection.clearSelection(),this.selection.moveCursorBy(b||1,0)},C.prototype.navigateLeft=function(b){if(this.selection.isEmpty())for(b=b||1;b--;)this.selection.moveCursorLeft();else{var A=this.getSelectionRange().start;this.moveCursorToPosition(A)}this.clearSelection()},C.prototype.navigateRight=function(b){if(this.selection.isEmpty())for(b=b||1;b--;)this.selection.moveCursorRight();else{var A=this.getSelectionRange().end;this.moveCursorToPosition(A)}this.clearSelection()},C.prototype.navigateLineStart=function(){this.selection.moveCursorLineStart(),this.clearSelection()},C.prototype.navigateLineEnd=function(){this.selection.moveCursorLineEnd(),this.clearSelection()},C.prototype.navigateFileEnd=function(){this.selection.moveCursorFileEnd(),this.clearSelection()},C.prototype.navigateFileStart=function(){this.selection.moveCursorFileStart(),this.clearSelection()},C.prototype.navigateWordRight=function(){this.selection.moveCursorWordRight(),this.clearSelection()},C.prototype.navigateWordLeft=function(){this.selection.moveCursorWordLeft(),this.clearSelection()},C.prototype.replace=function(b,A){A&&this.$search.set(A);var _=this.$search.find(this.session),O=0;return _&&(this.$tryReplace(_,b)&&(O=1),this.selection.setSelectionRange(_),this.renderer.scrollSelectionIntoView(_.start,_.end)),O},C.prototype.replaceAll=function(b,A){A&&this.$search.set(A);var _=this.$search.findAll(this.session),O=0;if(!_.length)return O;var I=this.getSelectionRange();this.selection.moveTo(0,0);for(var N=_.length-1;N>=0;--N)this.$tryReplace(_[N],b)&&O++;return this.selection.setSelectionRange(I),O},C.prototype.$tryReplace=function(b,A){var _=this.session.getTextRange(b);return A=this.$search.replace(_,A),A!==null?(b.end=this.session.replace(b,A),b):null},C.prototype.getLastSearchOptions=function(){return this.$search.getOptions()},C.prototype.find=function(b,A,_){A||(A={}),typeof b=="string"||b instanceof RegExp?A.needle=b:typeof b=="object"&&g.mixin(A,b);var O=this.selection.getRange();A.needle==null&&(b=this.session.getTextRange(O)||this.$search.$options.needle,b||(O=this.session.getWordRange(O.start.row,O.start.column),b=this.session.getTextRange(O)),this.$search.set({needle:b})),this.$search.set(A),A.start||this.$search.set({start:O});var I=this.$search.find(this.session);if(A.preventScroll)return I;if(I)return this.revealRange(I,_),I;A.backwards?O.start=O.end:O.end=O.start,this.selection.setRange(O)},C.prototype.findNext=function(b,A){this.find({skipCurrent:!0,backwards:!1},b,A)},C.prototype.findPrevious=function(b,A){this.find(b,{skipCurrent:!0,backwards:!0},A)},C.prototype.revealRange=function(b,A){this.session.unfold(b),this.selection.setSelectionRange(b);var _=this.renderer.scrollTop;this.renderer.scrollSelectionIntoView(b.start,b.end,.5),A!==!1&&this.renderer.animateScrolling(_)},C.prototype.undo=function(){this.session.getUndoManager().undo(this.session),this.renderer.scrollCursorIntoView(null,.5)},C.prototype.redo=function(){this.session.getUndoManager().redo(this.session),this.renderer.scrollCursorIntoView(null,.5)},C.prototype.destroy=function(){this.destroyed=!0,this.$toDestroy&&(this.$toDestroy.forEach(function(b){b.destroy()}),this.$toDestroy=[]),this.$mouseHandler&&this.$mouseHandler.destroy(),this.renderer.destroy(),this._signal("destroy",this),this.session&&this.session.destroy(),this._$emitInputEvent&&this._$emitInputEvent.cancel(),this.removeAllListeners()},C.prototype.setAutoScrollEditorIntoView=function(b){if(b){var A,_=this,O=!1;this.$scrollAnchor||(this.$scrollAnchor=document.createElement("div"));var I=this.$scrollAnchor;I.style.cssText="position:absolute",this.container.insertBefore(I,this.container.firstChild);var N=this.on("changeSelection",function(){O=!0}),F=this.renderer.on("beforeRender",function(){O&&(A=_.renderer.container.getBoundingClientRect())}),z=this.renderer.on("afterRender",function(){if(O&&A&&(_.isFocused()||_.searchBox&&_.searchBox.isFocused())){var P=_.renderer,B=P.$cursorLayer.$pixelPos,W=P.layerConfig,H=B.top-W.offset;B.top>=0&&H+A.top<0?O=!0:B.top<W.height&&B.top+A.top+W.lineHeight>window.innerHeight?O=!1:O=null,O!=null&&(I.style.top=H+"px",I.style.left=B.left+"px",I.style.height=W.lineHeight+"px",I.scrollIntoView(O)),O=A=null}});this.setAutoScrollEditorIntoView=function(P){P||(delete this.setAutoScrollEditorIntoView,this.off("changeSelection",N),this.renderer.off("afterRender",z),this.renderer.off("beforeRender",F))}}},C.prototype.$resetCursorStyle=function(){var b=this.$cursorStyle||"ace",A=this.renderer.$cursorLayer;A&&(A.setSmoothBlinking(/smooth/.test(b)),A.isBlinking=!this.$readOnly&&b!="wide",c.setCssClass(A.element,"ace_slim-cursors",/slim/.test(b)))},C.prototype.prompt=function(b,A,_){var O=this;x.loadModule("ace/ext/prompt",function(I){I.prompt(O,b,A,_)})},Object.defineProperty(C.prototype,"hoverTooltip",{get:function(){return this.$hoverTooltip||(this.$hoverTooltip=new D(this.container))},set:function(b){this.$hoverTooltip&&this.$hoverTooltip.destroy(),this.$hoverTooltip=b},enumerable:!1,configurable:!0}),C})();T.$uid=0,T.prototype.curOp=null,T.prototype.prevOp={},T.prototype.$mergeableCommands=["backspace","del","insertstring"],T.prototype.$toggleWordPairs=[["first","last"],["true","false"],["yes","no"],["width","height"],["top","bottom"],["right","left"],["on","off"],["x","y"],["get","set"],["max","min"],["horizontal","vertical"],["show","hide"],["add","remove"],["up","down"],["before","after"],["even","odd"],["in","out"],["inside","outside"],["next","previous"],["increase","decrease"],["attach","detach"],["&&","||"],["==","!="]],g.implement(T.prototype,v),x.defineOptions(T.prototype,"editor",{selectionStyle:{set:function(C){this.onSelectionChange(),this._signal("changeSelectionStyle",{data:C})},initialValue:"line"},highlightActiveLine:{set:function(){this.$updateHighlightActiveLine()},initialValue:!0},highlightSelectedWord:{set:function(C){this.$onSelectionChange()},initialValue:!0},readOnly:{set:function(C){var b=this;if(this.textInput.setReadOnly(C),!this.destroyed){this.$resetCursorStyle(),this.$readOnlyCallback||(this.$readOnlyCallback=function(_){var O=!1;if(_&&_.type=="keydown"){if(_&&_.key&&!_.ctrlKey&&!_.metaKey&&(_.key==" "&&_.preventDefault(),O=_.key.length==1),!O)return}else _&&_.type!=="exec"&&(O=!0);if(O){var I=c.createElement("div");I.textContent=M("editor.tooltip.disable-editing","Editing is disabled"),b.hoverTooltip.isOpen||b.hoverTooltip.showForRange(b,b.getSelectionRange(),I)}else b.hoverTooltip&&b.hoverTooltip.isOpen&&b.hoverTooltip.hide()});var A=this.textInput.getElement();C?($.addListener(A,"keydown",this.$readOnlyCallback,this),this.commands.on("exec",this.$readOnlyCallback),this.commands.on("commandUnavailable",this.$readOnlyCallback)):($.removeListener(A,"keydown",this.$readOnlyCallback),this.commands.off("exec",this.$readOnlyCallback),this.commands.off("commandUnavailable",this.$readOnlyCallback))}},initialValue:!1},copyWithEmptySelection:{set:function(C){this.textInput.setCopyWithEmptySelection(C)},initialValue:!1},cursorStyle:{set:function(C){this.$resetCursorStyle()},values:["ace","slim","smooth","wide"],initialValue:"ace"},mergeUndoDeltas:{values:[!1,!0,"always"],initialValue:!0},behavioursEnabled:{initialValue:!0},wrapBehavioursEnabled:{initialValue:!0},enableAutoIndent:{initialValue:!0},autoScrollEditorIntoView:{set:function(C){this.setAutoScrollEditorIntoView(C)}},keyboardHandler:{set:function(C){this.setKeyboardHandler(C)},get:function(){return this.$keybindingId},handlesSet:!0},value:{set:function(C){this.session.setValue(C)},get:function(){return this.getValue()},handlesSet:!0,hidden:!0},session:{set:function(C){this.setSession(C)},get:function(){return this.session},handlesSet:!0,hidden:!0},showLineNumbers:{set:function(C){this.renderer.$gutterLayer.setShowLineNumbers(C),this.renderer.$loop.schedule(this.renderer.CHANGE_GUTTER),C&&this.$relativeLineNumbers?E.attach(this):E.detach(this)},initialValue:!0},relativeLineNumbers:{set:function(C){this.$showLineNumbers&&C?E.attach(this):E.detach(this)}},placeholder:{set:function(C){this.$updatePlaceholder||(this.$updatePlaceholder=function(){var b=this.session&&(this.renderer.$composition||this.session.getLength()>1||this.session.getLine(0).length>0);if(b&&this.renderer.placeholderNode)this.renderer.off("afterRender",this.$updatePlaceholder),c.removeCssClass(this.container,"ace_hasPlaceholder"),this.renderer.placeholderNode.remove(),this.renderer.placeholderNode=null;else if(!b&&!this.renderer.placeholderNode){this.renderer.on("afterRender",this.$updatePlaceholder),c.addCssClass(this.container,"ace_hasPlaceholder");var A=c.createElement("div");A.className="ace_placeholder",A.textContent=this.$placeholder||"",this.renderer.placeholderNode=A,this.renderer.content.appendChild(this.renderer.placeholderNode)}else!b&&this.renderer.placeholderNode&&(this.renderer.placeholderNode.textContent=this.$placeholder||"")}.bind(this),this.on("input",this.$updatePlaceholder)),this.$updatePlaceholder()}},enableKeyboardAccessibility:{set:function(C){var b={name:"blurTextInput",description:"Set focus to the editor content div to allow tabbing through the page",bindKey:"Esc",exec:function(O){O.blur(),O.renderer.scroller.focus()},readOnly:!0},A=function(O){if(O.target==this.renderer.scroller&&O.keyCode===R.enter){O.preventDefault();var I=this.getCursorPosition().row;this.isRowVisible(I)||this.scrollToLine(I,!0,!0),this.focus()}},_;C?(this.renderer.enableKeyboardAccessibility=!0,this.renderer.keyboardFocusClassName="ace_keyboard-focus",this.textInput.getElement().setAttribute("tabindex",-1),this.textInput.setNumberOfExtraLines(h.isWin?3:0),this.renderer.scroller.setAttribute("tabindex",0),this.renderer.scroller.setAttribute("role","group"),this.renderer.scroller.setAttribute("aria-roledescription",M("editor.scroller.aria-roledescription","editor")),this.renderer.scroller.classList.add(this.renderer.keyboardFocusClassName),this.renderer.scroller.setAttribute("aria-label",M("editor.scroller.aria-label","Editor content, press Enter to start editing, press Escape to exit")),this.renderer.scroller.addEventListener("keyup",A.bind(this)),this.commands.addCommand(b),this.renderer.$gutter.setAttribute("tabindex",0),this.renderer.$gutter.setAttribute("aria-hidden",!1),this.renderer.$gutter.setAttribute("role","group"),this.renderer.$gutter.setAttribute("aria-roledescription",M("editor.gutter.aria-roledescription","editor gutter")),this.renderer.$gutter.setAttribute("aria-label",M("editor.gutter.aria-label","Editor gutter, press Enter to interact with controls using arrow keys, press Escape to exit")),this.renderer.$gutter.classList.add(this.renderer.keyboardFocusClassName),this.renderer.content.setAttribute("aria-hidden",!0),_||(_=new S(this)),_.addListener(),this.textInput.setAriaOptions({setLabel:!0})):(this.renderer.enableKeyboardAccessibility=!1,this.textInput.getElement().setAttribute("tabindex",0),this.textInput.setNumberOfExtraLines(0),this.renderer.scroller.setAttribute("tabindex",-1),this.renderer.scroller.removeAttribute("role"),this.renderer.scroller.removeAttribute("aria-roledescription"),this.renderer.scroller.classList.remove(this.renderer.keyboardFocusClassName),this.renderer.scroller.removeAttribute("aria-label"),this.renderer.scroller.removeEventListener("keyup",A.bind(this)),this.commands.removeCommand(b),this.renderer.content.removeAttribute("aria-hidden"),this.renderer.$gutter.setAttribute("tabindex",-1),this.renderer.$gutter.setAttribute("aria-hidden",!0),this.renderer.$gutter.removeAttribute("role"),this.renderer.$gutter.removeAttribute("aria-roledescription"),this.renderer.$gutter.removeAttribute("aria-label"),this.renderer.$gutter.classList.remove(this.renderer.keyboardFocusClassName),_&&_.removeListener())},initialValue:!1},textInputAriaLabel:{set:function(C){this.$textInputAriaLabel=C},initialValue:""},enableMobileMenu:{set:function(C){this.$enableMobileMenu=C},initialValue:!0},customScrollbar:"renderer",hScrollBarAlwaysVisible:"renderer",vScrollBarAlwaysVisible:"renderer",highlightGutterLine:"renderer",animatedScroll:"renderer",showInvisibles:"renderer",showPrintMargin:"renderer",printMarginColumn:"renderer",printMargin:"renderer",fadeFoldWidgets:"renderer",showFoldWidgets:"renderer",displayIndentGuides:"renderer",highlightIndentGuides:"renderer",showGutter:"renderer",fontSize:"renderer",fontFamily:"renderer",maxLines:"renderer",minLines:"renderer",scrollPastEnd:"renderer",fixedWidthGutter:"renderer",theme:"renderer",hasCssTransforms:"renderer",maxPixelHeight:"renderer",useTextareaForIME:"renderer",useResizeObserver:"renderer",useSvgGutterIcons:"renderer",showFoldedAnnotations:"renderer",scrollSpeed:"$mouseHandler",dragDelay:"$mouseHandler",dragEnabled:"$mouseHandler",focusTimeout:"$mouseHandler",firstLineNumber:"session",overwrite:"session",newLineMode:"session",useWorker:"session",useSoftTabs:"session",navigateWithinSoftTabs:"session",tabSize:"session",wrap:"session",indentedSoftWrap:"session",foldStyle:"session",mode:"session"});var E={getText:function(C,b){return(Math.abs(C.selection.lead.row-b)||b+1+(b<9?"·":""))+""},getWidth:function(C,b,A){return Math.max(b.toString().length,(A.lastRow+1).toString().length,2)*A.characterWidth},update:function(C,b){b.renderer.$loop.schedule(b.renderer.CHANGE_GUTTER)},attach:function(C){C.renderer.$gutterLayer.$renderer=this,C.on("changeSelection",this.update),this.update(null,C)},detach:function(C){C.renderer.$gutterLayer.$renderer==this&&(C.renderer.$gutterLayer.$renderer=null),C.off("changeSelection",this.update),this.update(null,C)}};n.Editor=T}),ace.define("ace/layer/lines",["require","exports","module","ace/lib/dom"],function(t,n,m){"use strict";var f=t("../lib/dom");n.Lines=(function(){function g(c,o){this.element=c,this.canvasHeight=o||5e5,this.element.style.height=this.canvasHeight*2+"px",this.cells=[],this.cellCache=[],this.$offsetCoefficient=0}return g.prototype.moveContainer=function(c){f.translate(this.element,0,-(c.firstRowScreen*c.lineHeight%this.canvasHeight)-c.offset*this.$offsetCoefficient)},g.prototype.pageChanged=function(c,o){return Math.floor(c.firstRowScreen*c.lineHeight/this.canvasHeight)!==Math.floor(o.firstRowScreen*o.lineHeight/this.canvasHeight)},g.prototype.computeLineTop=function(c,o,h){var d=o.firstRowScreen*o.lineHeight,u=Math.floor(d/this.canvasHeight);return h.documentToScreenRow(c,0)*o.lineHeight-u*this.canvasHeight},g.prototype.computeLineHeight=function(c,o,h){return o.lineHeight*h.getRowLineCount(c)},g.prototype.getLength=function(){return this.cells.length},g.prototype.get=function(c){return this.cells[c]},g.prototype.shift=function(){this.$cacheCell(this.cells.shift())},g.prototype.pop=function(){this.$cacheCell(this.cells.pop())},g.prototype.push=function(c){if(Array.isArray(c)){this.cells.push.apply(this.cells,c);for(var o=f.createFragment(this.element),h=0;h<c.length;h++)o.appendChild(c[h].element);this.element.appendChild(o)}else this.cells.push(c),this.element.appendChild(c.element)},g.prototype.unshift=function(c){if(Array.isArray(c)){this.cells.unshift.apply(this.cells,c);for(var o=f.createFragment(this.element),h=0;h<c.length;h++)o.appendChild(c[h].element);this.element.firstChild?this.element.insertBefore(o,this.element.firstChild):this.element.appendChild(o)}else this.cells.unshift(c),this.element.insertAdjacentElement("afterbegin",c.element)},g.prototype.last=function(){return this.cells.length?this.cells[this.cells.length-1]:null},g.prototype.$cacheCell=function(c){c&&(c.element.remove(),this.cellCache.push(c))},g.prototype.createCell=function(c,o,h,d){var u=this.cellCache.pop();if(!u){var l=f.createElement("div");d&&d(l),this.element.appendChild(l),u={element:l,text:"",row:c}}return u.row=c,u},g})()}),ace.define("ace/layer/gutter",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/lang","ace/lib/event_emitter","ace/layer/lines","ace/config"],function(t,n,m){"use strict";var f=t("../lib/dom"),g=t("../lib/oop"),c=t("../lib/lang"),o=t("../lib/event_emitter").EventEmitter,h=t("./lines").Lines,d=t("../config").nls,u=(function(){function s(r){this.$showCursorMarker=null,this.element=f.createElement("div"),this.element.className="ace_layer ace_gutter-layer",r.appendChild(this.element),this.setShowFoldWidgets(this.$showFoldWidgets),this.gutterWidth=0,this.$annotations=[],this.$updateAnnotations=this.$updateAnnotations.bind(this),this.$lines=new h(this.element),this.$lines.$offsetCoefficient=1}return s.prototype.setSession=function(r){this.session&&this.session.off("change",this.$updateAnnotations),this.session=r,r&&r.on("change",this.$updateAnnotations)},s.prototype.addGutterDecoration=function(r,a){window.console&&console.warn&&console.warn("deprecated use session.addGutterDecoration"),this.session.addGutterDecoration(r,a)},s.prototype.removeGutterDecoration=function(r,a){window.console&&console.warn&&console.warn("deprecated use session.removeGutterDecoration"),this.session.removeGutterDecoration(r,a)},s.prototype.setAnnotations=function(r){this.$annotations=[];for(var a=0;a<r.length;a++){var p=r[a],v=p.row,y=this.$annotations[v];y||(y=this.$annotations[v]={text:[],type:[],displayText:[]});var k=p.text,x=p.text,w=p.type;k=k?c.escapeHTML(k):p.html||"",x=x||p.html||"",y.text.indexOf(k)===-1&&(y.text.push(k),y.type.push(w),y.displayText.push(x));var S=p.className;S?y.className=S:w==="error"?y.className=" ace_error":w==="security"&&!/\bace_error\b/.test(y.className)?y.className=" ace_security":w==="warning"&&!/\bace_(error|security)\b/.test(y.className)?y.className=" ace_warning":w==="info"&&!y.className?y.className=" ace_info":w==="hint"&&!y.className&&(y.className=" ace_hint")}},s.prototype.$updateAnnotations=function(r){if(this.$annotations.length){var a=r.start.row,p=r.end.row-a;if(p!==0)if(r.action=="remove")this.$annotations.splice(a,p+1,null);else{var v=new Array(p+1);v.unshift(a,1),this.$annotations.splice.apply(this.$annotations,v)}}},s.prototype.update=function(r){this.config=r;var a=this.session,p=r.firstRow,v=Math.min(r.lastRow+r.gutterOffset,a.getLength()-1);this.oldLastRow=v,this.config=r,this.$lines.moveContainer(r),this.$updateCursorRow();for(var y=a.getNextFoldLine(p),k=y?y.start.row:1/0,x=null,w=-1,S=p;;){if(S>k&&(S=y.end.row+1,y=a.getNextFoldLine(S,y),k=y?y.start.row:1/0),S>v){for(;this.$lines.getLength()>w+1;)this.$lines.pop();break}x=this.$lines.get(++w),x?x.row=S:(x=this.$lines.createCell(S,r,this.session,l),this.$lines.push(x)),this.$renderCell(x,r,y,S),S++}this._signal("afterRender"),this.$updateGutterWidth(r),this.$showCursorMarker&&this.$highlightGutterLine&&this.$updateCursorMarker()},s.prototype.$updateGutterWidth=function(r){var a=this.session,p=a.gutterRenderer||this.$renderer,v=a.$firstLineNumber,y=this.$lines.last()?this.$lines.last().text:"";(this.$fixedWidth||a.$useWrapMode)&&(y=a.getLength()+v-1);var k=p?p.getWidth(a,y,r):y.toString().length*r.characterWidth,x=this.$padding||this.$computePadding();k+=x.left+x.right,k!==this.gutterWidth&&!isNaN(k)&&(this.gutterWidth=k,this.element.parentNode.style.width=this.element.style.width=Math.ceil(this.gutterWidth)+"px",this._signal("changeGutterWidth",k))},s.prototype.$updateCursorRow=function(){if(this.$highlightGutterLine){var r=this.session.selection.getCursor();this.$cursorRow!==r.row&&(this.$cursorRow=r.row)}},s.prototype.updateLineHighlight=function(){if(this.$showCursorMarker&&this.$updateCursorMarker(),!!this.$highlightGutterLine){var r=this.session.selection.cursor.row;if(this.$cursorRow=r,!(this.$cursorCell&&this.$cursorCell.row==r)){this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ",""));var a=this.$lines.cells;this.$cursorCell=null;for(var p=0;p<a.length;p++){var v=a[p];if(v.row>=this.$cursorRow){if(v.row>this.$cursorRow){var y=this.session.getFoldLine(this.$cursorRow);if(p>0&&y&&y.start.row==a[p-1].row)v=a[p-1];else break}v.element.className="ace_gutter-active-line "+v.element.className,this.$cursorCell=v;break}}}}},s.prototype.$updateCursorMarker=function(){if(this.session){var r=this.session;this.$highlightElement||(this.$highlightElement=f.createElement("div"),this.$highlightElement.className="ace_gutter-cursor",this.$highlightElement.style.pointerEvents="none",this.element.appendChild(this.$highlightElement));var a=r.selection.cursor,p=this.config,v=this.$lines,y=p.firstRowScreen*p.lineHeight,k=Math.floor(y/v.canvasHeight),x=r.documentToScreenRow(a)*p.lineHeight-k*v.canvasHeight;f.setStyle(this.$highlightElement.style,"height",p.lineHeight+"px"),f.setStyle(this.$highlightElement.style,"top",x+"px")}},s.prototype.scrollLines=function(r){var a=this.config;if(this.config=r,this.$updateCursorRow(),this.$lines.pageChanged(a,r))return this.update(r);this.$lines.moveContainer(r);var p=Math.min(r.lastRow+r.gutterOffset,this.session.getLength()-1),v=this.oldLastRow;if(this.oldLastRow=p,!a||v<r.firstRow)return this.update(r);if(p<a.firstRow)return this.update(r);if(a.firstRow<r.firstRow)for(var y=this.session.getFoldedRowCount(a.firstRow,r.firstRow-1);y>0;y--)this.$lines.shift();if(v>p)for(var y=this.session.getFoldedRowCount(p+1,v);y>0;y--)this.$lines.pop();r.firstRow<a.firstRow&&this.$lines.unshift(this.$renderLines(r,r.firstRow,a.firstRow-1)),p>v&&this.$lines.push(this.$renderLines(r,v+1,p)),this.updateLineHighlight(),this._signal("afterRender"),this.$updateGutterWidth(r)},s.prototype.$renderLines=function(r,a,p){for(var v=[],y=a,k=this.session.getNextFoldLine(y),x=k?k.start.row:1/0;y>x&&(y=k.end.row+1,k=this.session.getNextFoldLine(y,k),x=k?k.start.row:1/0),!(y>p);){var w=this.$lines.createCell(y,r,this.session,l);this.$renderCell(w,r,k,y),v.push(w),y++}return v},s.prototype.$renderCell=function(r,a,p,v){var y=r.element,k=this.session,x=y.childNodes[0],w=y.childNodes[1],S=y.childNodes[2],M=y.childNodes[3],L=S.firstChild,R=k.$firstLineNumber,$=k.$breakpoints,D=k.$decorations,T=k.gutterRenderer||this.$renderer,E=this.$showFoldWidgets&&k.foldWidgets,C=p?p.start.row:Number.MAX_VALUE,b=a.lineHeight+"px",A=this.$useSvgGutterIcons?"ace_gutter-cell_svg-icons ":"ace_gutter-cell ",_=this.$useSvgGutterIcons?"ace_icon_svg":"ace_icon",O=(T?T.getText(k,v):v+R).toString();if(this.$highlightGutterLine&&(v==this.$cursorRow||p&&v<this.$cursorRow&&v>=C&&this.$cursorRow<=p.end.row)&&(A+="ace_gutter-active-line ",this.$cursorCell!=r&&(this.$cursorCell&&(this.$cursorCell.element.className=this.$cursorCell.element.className.replace("ace_gutter-active-line ","")),this.$cursorCell=r)),$[v]&&(A+=$[v]),D[v]&&(A+=D[v]),this.$annotations[v]&&v!==C&&(A+=this.$annotations[v].className),E){var I=E[v];I==null&&(I=E[v]=k.getFoldWidget(v))}if(I){var N="ace_fold-widget ace_"+I,F=I=="start"&&v==C&&v<p.end.row;if(F){N+=" ace_closed";for(var z="",P=!1,B=v+1;B<=p.end.row;B++)if(this.$annotations[B]){if(this.$annotations[B].className===" ace_error"){P=!0,z=" ace_error_fold";break}this.$annotations[B].className===" ace_security"?(P=!0,z=" ace_security_fold"):this.$annotations[B].className===" ace_warning"&&z!==" ace_security_fold"&&(P=!0,z=" ace_warning_fold")}A+=z}else N+=" ace_open";w.className!=N&&(w.className=N),f.setStyle(w.style,"height",b),f.setStyle(w.style,"display","inline-block"),w.setAttribute("role","button"),w.setAttribute("tabindex","-1");var W=k.getFoldWidgetRange(v);W?w.setAttribute("aria-label",d("gutter.code-folding.range.aria-label","Toggle code folding, rows $0 through $1",[W.start.row+1,W.end.row+1])):p?w.setAttribute("aria-label",d("gutter.code-folding.closed.aria-label","Toggle code folding, rows $0 through $1",[p.start.row+1,p.end.row+1])):w.setAttribute("aria-label",d("gutter.code-folding.open.aria-label","Toggle code folding, row $0",[v+1])),F?(w.setAttribute("aria-expanded","false"),w.setAttribute("title",d("gutter.code-folding.closed.title","Unfold code"))):(w.setAttribute("aria-expanded","true"),w.setAttribute("title",d("gutter.code-folding.open.title","Fold code")))}else w&&(f.setStyle(w.style,"display","none"),w.setAttribute("tabindex","0"),w.removeAttribute("role"),w.removeAttribute("aria-label"));var H=this.session.$gutterCustomWidgets[v];if(H?this.$addCustomWidget(v,H,r):M&&this.$removeCustomWidget(v,r),P&&this.$showFoldedAnnotations){S.className="ace_gutter_annotation",L.className=_,L.className+=z,f.setStyle(L.style,"height",b),f.setStyle(S.style,"display","block"),f.setStyle(S.style,"height",b);var U;switch(z){case" ace_error_fold":U=d("gutter.annotation.aria-label.error","Error, read annotations row $0",[O]);break;case" ace_security_fold":U=d("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[O]);break;case" ace_warning_fold":U=d("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[O]);break}S.setAttribute("aria-label",U),S.setAttribute("tabindex","-1"),S.setAttribute("role","button")}else if(this.$annotations[v]){S.className="ace_gutter_annotation",L.className=_,this.$useSvgGutterIcons?L.className+=this.$annotations[v].className:y.classList.add(this.$annotations[v].className.replace(" ","")),f.setStyle(L.style,"height",b),f.setStyle(S.style,"display","block"),f.setStyle(S.style,"height",b);var U;switch(this.$annotations[v].className){case" ace_error":U=d("gutter.annotation.aria-label.error","Error, read annotations row $0",[O]);break;case" ace_security":U=d("gutter.annotation.aria-label.security","Security finding, read annotations row $0",[O]);break;case" ace_warning":U=d("gutter.annotation.aria-label.warning","Warning, read annotations row $0",[O]);break;case" ace_info":U=d("gutter.annotation.aria-label.info","Info, read annotations row $0",[O]);break;case" ace_hint":U=d("gutter.annotation.aria-label.hint","Suggestion, read annotations row $0",[O]);break}S.setAttribute("aria-label",U),S.setAttribute("tabindex","-1"),S.setAttribute("role","button")}else f.setStyle(S.style,"display","none"),S.removeAttribute("aria-label"),S.removeAttribute("role"),S.setAttribute("tabindex","0");return O!==x.data&&(x.data=O),y.className!=A&&(y.className=A),f.setStyle(r.element.style,"height",this.$lines.computeLineHeight(v,a,k)+"px"),f.setStyle(r.element.style,"top",this.$lines.computeLineTop(v,a,k)+"px"),r.text=O,S.style.display==="none"&&w.style.display==="none"&&!H?r.element.setAttribute("aria-hidden",!0):r.element.setAttribute("aria-hidden",!1),r},s.prototype.setHighlightGutterLine=function(r){this.$highlightGutterLine=r,!r&&this.$highlightElement&&(this.$highlightElement.remove(),this.$highlightElement=null)},s.prototype.setShowLineNumbers=function(r){this.$renderer=!r&&{getWidth:function(){return 0},getText:function(){return""}}},s.prototype.getShowLineNumbers=function(){return this.$showLineNumbers},s.prototype.setShowFoldWidgets=function(r){r?f.addCssClass(this.element,"ace_folding-enabled"):f.removeCssClass(this.element,"ace_folding-enabled"),this.$showFoldWidgets=r,this.$padding=null},s.prototype.getShowFoldWidgets=function(){return this.$showFoldWidgets},s.prototype.$hideFoldWidget=function(r,a){var p=a||this.$getGutterCell(r);if(p&&p.element){var v=p.element.childNodes[1];v&&f.setStyle(v.style,"display","none")}},s.prototype.$showFoldWidget=function(r,a){var p=a||this.$getGutterCell(r);if(p&&p.element){var v=p.element.childNodes[1];v&&this.session.foldWidgets&&this.session.foldWidgets[p.row]&&f.setStyle(v.style,"display","inline-block")}},s.prototype.$getGutterCell=function(r){var a=this.$lines.cells,p=0,v=a.length-1;if(!(r<a[0].row||r>a[v].row)){for(;p<=v;){var y=Math.floor((p+v)/2),k=a[y];if(k.row>r)v=y-1;else if(k.row<r)p=y+1;else return k}return k}},s.prototype.$addCustomWidget=function(r,a,p){var v=a.className,y=a.label,k=a.title,x=a.callbacks;this.session.$gutterCustomWidgets[r]={className:v,label:y,title:k,callbacks:x},this.$hideFoldWidget(r,p);var w=p||this.$getGutterCell(r);if(w&&w.element){var S=w.element.querySelector(".ace_custom-widget");S&&S.remove(),S=f.createElement("span"),S.className="ace_custom-widget ".concat(v),S.setAttribute("tabindex","-1"),S.setAttribute("role","button"),S.setAttribute("aria-label",y),S.setAttribute("title",k),f.setStyle(S.style,"display","inline-block"),f.setStyle(S.style,"height","inherit"),x&&x.onClick&&S.addEventListener("click",function(M){x.onClick(M,r),M.stopPropagation()}),w.element.appendChild(S)}},s.prototype.$removeCustomWidget=function(r,a){delete this.session.$gutterCustomWidgets[r],this.$showFoldWidget(r,a);var p=a||this.$getGutterCell(r);if(p&&p.element){var v=p.element.querySelector(".ace_custom-widget");v&&p.element.removeChild(v)}},s.prototype.$computePadding=function(){if(!this.element.firstChild)return{left:0,right:0};var r=f.computedStyle(this.element.firstChild);return this.$padding={},this.$padding.left=(parseInt(r.borderLeftWidth)||0)+(parseInt(r.paddingLeft)||0)+1,this.$padding.right=(parseInt(r.borderRightWidth)||0)+(parseInt(r.paddingRight)||0),this.$padding},s.prototype.getRegion=function(r){var a=this.$padding||this.$computePadding(),p=this.element.getBoundingClientRect();if(r.x<a.left+p.left)return"markers";if(this.$showFoldWidgets&&r.x>p.right-a.right)return"foldWidgets"},s})();u.prototype.$fixedWidth=!1,u.prototype.$highlightGutterLine=!0,u.prototype.$renderer=void 0,u.prototype.$showLineNumbers=!0,u.prototype.$showFoldWidgets=!0,g.implement(u.prototype,o);function l(s){var r=document.createTextNode("");s.appendChild(r);var a=f.createElement("span");s.appendChild(a);var p=f.createElement("span");s.appendChild(p);var v=f.createElement("span");return p.appendChild(v),s}n.Gutter=u}),ace.define("ace/layer/marker",["require","exports","module","ace/range","ace/lib/dom"],function(t,n,m){"use strict";var f=t("../range").Range,g=t("../lib/dom"),c=(function(){function h(d){this.element=g.createElement("div"),this.element.className="ace_layer ace_marker-layer",d.appendChild(this.element)}return h.prototype.setPadding=function(d){this.$padding=d},h.prototype.setSession=function(d){this.session=d},h.prototype.setMarkers=function(d){this.markers=d},h.prototype.elt=function(d,u){var l=this.i!=-1&&this.element.childNodes[this.i];l?this.i++:(l=document.createElement("div"),this.element.appendChild(l),this.i=-1),l.style.cssText=u,l.className=d},h.prototype.update=function(d){if(d){this.config=d,this.i=0;var u;for(var l in this.markers){var s=this.markers[l];if(!s.range){s.update(u,this,this.session,d);continue}var r=s.range.clipRows(d.firstRow,d.lastRow);if(!r.isEmpty())if(r=r.toScreenRange(this.session),s.renderer){var a=this.$getTop(r.start.row,d),p=this.$padding+r.start.column*d.characterWidth;s.renderer(u,r,p,a,d)}else s.type=="fullLine"?this.drawFullLineMarker(u,r,s.clazz,d):s.type=="screenLine"?this.drawScreenLineMarker(u,r,s.clazz,d):r.isMultiLine()?s.type=="text"?this.drawTextMarker(u,r,s.clazz,d):this.drawMultiLineMarker(u,r,s.clazz,d):this.drawSingleLineMarker(u,r,s.clazz+" ace_start ace_br15",d)}if(this.i!=-1)for(;this.i<this.element.childElementCount;)this.element.removeChild(this.element.lastChild)}},h.prototype.$getTop=function(d,u){return(d-u.firstRowScreen)*u.lineHeight},h.prototype.drawTextMarker=function(d,u,l,s,r){for(var a=this.session,p=u.start.row,v=u.end.row,y=p,k=0,x=0,w=a.getScreenLastRowColumn(y),S=new f(y,u.start.column,y,x);y<=v;y++)S.start.row=S.end.row=y,S.start.column=y==p?u.start.column:a.getRowWrapIndent(y),S.end.column=w,k=x,x=w,w=y+1<v?a.getScreenLastRowColumn(y+1):y==v?0:u.end.column,this.drawSingleLineMarker(d,S,l+(y==p?" ace_start":"")+" ace_br"+o(y==p||y==p+1&&u.start.column,k<x,x>w,y==v),s,y==v?0:1,r)},h.prototype.drawMultiLineMarker=function(d,u,l,s,r){var a=this.$padding,p=s.lineHeight,v=this.$getTop(u.start.row,s),y=a+u.start.column*s.characterWidth;if(r=r||"",this.session.$bidiHandler.isBidiRow(u.start.row)){var k=u.clone();k.end.row=k.start.row,k.end.column=this.session.getLine(k.start.row).length,this.drawBidiSingleLineMarker(d,k,l+" ace_br1 ace_start",s,null,r)}else this.elt(l+" ace_br1 ace_start","height:"+p+"px;right:"+a+"px;top:"+v+"px;left:"+y+"px;"+(r||""));if(this.session.$bidiHandler.isBidiRow(u.end.row)){var k=u.clone();k.start.row=k.end.row,k.start.column=0,this.drawBidiSingleLineMarker(d,k,l+" ace_br12",s,null,r)}else{v=this.$getTop(u.end.row,s);var x=u.end.column*s.characterWidth;this.elt(l+" ace_br12","height:"+p+"px;width:"+x+"px;top:"+v+"px;left:"+a+"px;"+(r||""))}if(p=(u.end.row-u.start.row-1)*s.lineHeight,!(p<=0)){v=this.$getTop(u.start.row+1,s);var w=(u.start.column?1:0)|(u.end.column?0:8);this.elt(l+(w?" ace_br"+w:""),"height:"+p+"px;right:"+a+"px;top:"+v+"px;left:"+a+"px;"+(r||""))}},h.prototype.drawSingleLineMarker=function(d,u,l,s,r,a){if(this.session.$bidiHandler.isBidiRow(u.start.row))return this.drawBidiSingleLineMarker(d,u,l,s,r,a);var p=s.lineHeight,v=(u.end.column+(r||0)-u.start.column)*s.characterWidth,y=this.$getTop(u.start.row,s),k=this.$padding+u.start.column*s.characterWidth;this.elt(l,"height:"+p+"px;width:"+v+"px;top:"+y+"px;left:"+k+"px;"+(a||""))},h.prototype.drawBidiSingleLineMarker=function(d,u,l,s,r,a){var p=s.lineHeight,v=this.$getTop(u.start.row,s),y=this.$padding;this.session.$bidiHandler.getSelections(u.start.column,u.end.column).forEach(function(k){this.elt(l,"height:"+p+"px;width:"+(k.width+(r||0))+"px;top:"+v+"px;left:"+(y+k.left)+"px;"+(a||""))},this)},h.prototype.drawFullLineMarker=function(d,u,l,s,r){var a=this.$getTop(u.start.row,s),p=s.lineHeight;u.start.row!=u.end.row&&(p+=this.$getTop(u.end.row,s)-a),this.elt(l,"height:"+p+"px;top:"+a+"px;left:0;right:0;"+(r||""))},h.prototype.drawScreenLineMarker=function(d,u,l,s,r){var a=this.$getTop(u.start.row,s),p=s.lineHeight;this.elt(l,"height:"+p+"px;top:"+a+"px;left:0;right:0;"+(r||""))},h})();c.prototype.$padding=0;function o(h,d,u,l){return(h?1:0)|(d?2:0)|(u?4:0)|(l?8:0)}n.Marker=c}),ace.define("ace/layer/text_util",["require","exports","module"],function(t,n,m){var f=new Set(["text","rparen","lparen"]);n.isTextToken=function(g){return f.has(g)}}),ace.define("ace/layer/text",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/layer/lines","ace/lib/event_emitter","ace/config","ace/layer/text_util"],function(t,n,m){"use strict";var f=t("../lib/oop"),g=t("../lib/dom"),c=t("../lib/lang"),o=t("./lines").Lines,h=t("../lib/event_emitter").EventEmitter,d=t("../config").nls,u=t("./text_util").isTextToken,l=(function(){function s(r){this.dom=g,this.element=this.dom.createElement("div"),this.element.className="ace_layer ace_text-layer",r.appendChild(this.element),this.$updateEolChar=this.$updateEolChar.bind(this),this.$lines=new o(this.element)}return s.prototype.$updateEolChar=function(){var r=this.session.doc,a=r.getNewLineCharacter()==`
1376
1376
  `&&r.getNewLineMode()!="windows"?this.EOL_CHAR_LF:this.EOL_CHAR_CRLF;if(this.EOL_CHAR!=a)return this.EOL_CHAR=a,!0},s.prototype.setPadding=function(r){this.$padding=r,this.element.style.margin="0 "+r+"px"},s.prototype.getLineHeight=function(){return this.$fontMetrics.$characterSize.height||0},s.prototype.getCharacterWidth=function(){return this.$fontMetrics.$characterSize.width||0},s.prototype.$setFontMetrics=function(r){this.$fontMetrics=r,this.$fontMetrics.on("changeCharacterSize",function(a){this._signal("changeCharacterSize",a)}.bind(this)),this.$pollSizeChanges()},s.prototype.checkForSizeChanges=function(){this.$fontMetrics.checkForSizeChanges()},s.prototype.$pollSizeChanges=function(){return this.$pollSizeChangesTimer=this.$fontMetrics.$pollSizeChanges()},s.prototype.setSession=function(r){this.session=r,r&&this.$computeTabString()},s.prototype.setShowInvisibles=function(r){return this.showInvisibles==r?!1:(this.showInvisibles=r,typeof r=="string"?(this.showSpaces=/tab/i.test(r),this.showTabs=/space/i.test(r),this.showEOL=/eol/i.test(r)):this.showSpaces=this.showTabs=this.showEOL=r,this.$computeTabString(),!0)},s.prototype.setDisplayIndentGuides=function(r){return this.displayIndentGuides==r?!1:(this.displayIndentGuides=r,this.$computeTabString(),!0)},s.prototype.setHighlightIndentGuides=function(r){return this.$highlightIndentGuides===r?!1:(this.$highlightIndentGuides=r,r)},s.prototype.$computeTabString=function(){var r=this.session.getTabSize();this.tabSize=r;for(var a=this.$tabStrings=[0],p=1;p<r+1;p++)if(this.showTabs){var v=this.dom.createElement("span");v.className="ace_invisible ace_invisible_tab",v.textContent=c.stringRepeat(this.TAB_CHAR,p),a.push(v)}else a.push(this.dom.createTextNode(c.stringRepeat(" ",p),this.element));if(this.displayIndentGuides){this.$indentGuideRe=/\s\S| \t|\t |\s$/;var y="ace_indent-guide",k=this.showSpaces?" ace_invisible ace_invisible_space":"",x=this.showSpaces?c.stringRepeat(this.SPACE_CHAR,this.tabSize):c.stringRepeat(" ",this.tabSize),w=this.showTabs?" ace_invisible ace_invisible_tab":"",S=this.showTabs?c.stringRepeat(this.TAB_CHAR,this.tabSize):x,v=this.dom.createElement("span");v.className=y+k,v.textContent=x,this.$tabStrings[" "]=v;var v=this.dom.createElement("span");v.className=y+w,v.textContent=S,this.$tabStrings[" "]=v}},s.prototype.updateLines=function(r,a,p){if(this.config.lastRow!=r.lastRow||this.config.firstRow!=r.firstRow)return this.update(r);this.config=r;for(var v=Math.max(a,r.firstRow),y=Math.min(p,r.lastRow),k=this.element.childNodes,x=0,S=r.firstRow;S<v;S++){var M=this.session.getFoldLine(S);if(M)if(M.containsRow(v)){v=M.start.row;break}else S=M.end.row;x++}for(var w=!1,S=v,M=this.session.getNextFoldLine(S),L=M?M.start.row:1/0;S>L&&(S=M.end.row+1,M=this.session.getNextFoldLine(S,M),L=M?M.start.row:1/0),!(S>y);){var R=k[x++];if(R){this.dom.removeChildren(R),this.$renderLine(R,S,S==L?M:!1),w&&(R.style.top=this.$lines.computeLineTop(S,r,this.session)+"px");var $=r.lineHeight*this.session.getRowLength(S)+"px";R.style.height!=$&&(w=!0,R.style.height=$)}S++}if(w)for(;x<this.$lines.cells.length;){var D=this.$lines.cells[x++];D.element.style.top=this.$lines.computeLineTop(D.row,r,this.session)+"px"}},s.prototype.scrollLines=function(r){var a=this.config;if(this.config=r,this.$lines.pageChanged(a,r))return this.update(r);this.$lines.moveContainer(r);var p=r.lastRow,v=a?a.lastRow:-1;if(!a||v<r.firstRow)return this.update(r);if(p<a.firstRow)return this.update(r);if(!a||a.lastRow<r.firstRow)return this.update(r);if(r.lastRow<a.firstRow)return this.update(r);if(a.firstRow<r.firstRow)for(var y=this.session.getFoldedRowCount(a.firstRow,r.firstRow-1);y>0;y--)this.$lines.shift();if(a.lastRow>r.lastRow)for(var y=this.session.getFoldedRowCount(r.lastRow+1,a.lastRow);y>0;y--)this.$lines.pop();r.firstRow<a.firstRow&&this.$lines.unshift(this.$renderLinesFragment(r,r.firstRow,a.firstRow-1)),r.lastRow>a.lastRow&&this.$lines.push(this.$renderLinesFragment(r,a.lastRow+1,r.lastRow)),this.$highlightIndentGuide()},s.prototype.$renderLinesFragment=function(r,a,p){for(var v=[],y=a,k=this.session.getNextFoldLine(y),x=k?k.start.row:1/0;y>x&&(y=k.end.row+1,k=this.session.getNextFoldLine(y,k),x=k?k.start.row:1/0),!(y>p);){var w=this.$lines.createCell(y,r,this.session),S=w.element;this.dom.removeChildren(S),g.setStyle(S.style,"height",this.$lines.computeLineHeight(y,r,this.session)+"px"),g.setStyle(S.style,"top",this.$lines.computeLineTop(y,r,this.session)+"px"),this.$renderLine(S,y,y==x?k:!1),this.$useLineGroups()?S.className="ace_line_group":S.className="ace_line",v.push(w),y++}return v},s.prototype.update=function(r){this.$lines.moveContainer(r),this.config=r;for(var a=r.firstRow,p=r.lastRow,v=this.$lines;v.getLength();)v.pop();v.push(this.$renderLinesFragment(r,a,p))},s.prototype.$renderToken=function(r,a,p,v){for(var y=this,k=/(\t)|( +)|([\x00-\x1f\x80-\xa0\xad\u1680\u180E\u2000-\u200f\u2028\u2029\u202F\u205F\uFEFF\uFFF9-\uFFFC\u2066\u2067\u2068\u202A\u202B\u202D\u202E\u202C\u2069\u2060\u2061\u2062\u2063\u2064\u206A\u206B\u206B\u206C\u206D\u206E\u206F]+)|(\u3000)|([\u1100-\u115F\u11A3-\u11A7\u11FA-\u11FF\u2329-\u232A\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFB\u3001-\u303E\u3041-\u3096\u3099-\u30FF\u3105-\u312D\u3131-\u318E\u3190-\u31BA\u31C0-\u31E3\u31F0-\u321E\u3220-\u3247\u3250-\u32FE\u3300-\u4DBF\u4E00-\uA48C\uA490-\uA4C6\uA960-\uA97C\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFAFF\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE66\uFE68-\uFE6B\uFF01-\uFF60\uFFE0-\uFFE6]|[\uD800-\uDBFF][\uDC00-\uDFFF])/g,x=this.dom.createFragment(this.element),w,S=0;w=k.exec(v);){var M=w[1],L=w[2],R=w[3],$=w[4],D=w[5];if(!(!y.showSpaces&&L)){var T=S!=w.index?v.slice(S,w.index):"";if(S=w.index+w[0].length,T&&x.appendChild(this.dom.createTextNode(T,this.element)),M){var E=y.session.getScreenTabSize(a+w.index),C=y.$tabStrings[E].cloneNode(!0);C.charCount=1,x.appendChild(C),a+=E-1}else if(L)if(y.showSpaces){var b=this.dom.createElement("span");b.className="ace_invisible ace_invisible_space",b.textContent=c.stringRepeat(y.SPACE_CHAR,L.length),x.appendChild(b)}else x.appendChild(this.dom.createTextNode(L,this.element));else if(R){var b=this.dom.createElement("span");b.className="ace_invisible ace_invisible_space ace_invalid",b.textContent=c.stringRepeat(y.SPACE_CHAR,R.length),x.appendChild(b)}else if($){a+=1;var b=this.dom.createElement("span");b.style.width=y.config.characterWidth*2+"px",b.className=y.showSpaces?"ace_cjk ace_invisible ace_invisible_space":"ace_cjk",b.textContent=y.showSpaces?y.SPACE_CHAR:$,x.appendChild(b)}else if(D){a+=1;var b=this.dom.createElement("span");b.style.width=y.config.characterWidth*2+"px",b.className="ace_cjk",b.textContent=D,x.appendChild(b)}}}if(x.appendChild(this.dom.createTextNode(S?v.slice(S):v,this.element)),u(p.type))r.appendChild(x);else{var A="ace_"+p.type.replace(/\./g," ace_"),b=this.dom.createElement("span");p.type=="fold"&&(b.style.width=p.value.length*this.config.characterWidth+"px",b.setAttribute("title",d("inline-fold.closed.title","Unfold code"))),b.className=A,b.appendChild(x),r.appendChild(b)}return a+v.length},s.prototype.renderIndentGuide=function(r,a,p){var v=a.search(this.$indentGuideRe);if(v<=0||v>=p)return a;if(a[0]==" "){v-=v%this.tabSize;for(var y=v/this.tabSize,k=0;k<y;k++)r.appendChild(this.$tabStrings[" "].cloneNode(!0));return this.$highlightIndentGuide(),a.substr(v)}else if(a[0]==" "){for(var k=0;k<v;k++){var x=this.$tabStrings[" "].cloneNode(!0);x.charCount=1,r.appendChild(x)}return this.$highlightIndentGuide(),a.substr(v)}return this.$highlightIndentGuide(),a},s.prototype.$highlightIndentGuide=function(){if(!(!this.$highlightIndentGuides||!this.displayIndentGuides)){this.$highlightIndentGuideMarker={indentLevel:void 0,start:void 0,end:void 0,dir:void 0};var r=this.session.doc.$lines;if(r){var a=this.session.selection.getCursor(),p=/^\s*/.exec(this.session.doc.getLine(a.row))[0].length,v=Math.floor(p/this.tabSize);if(this.$highlightIndentGuideMarker={indentLevel:v,start:a.row},this.session.$bracketHighlight){for(var y=this.session.$bracketHighlight.ranges,k=0;k<y.length;k++)if(a.row!==y[k].start.row){this.$highlightIndentGuideMarker.end=y[k].start.row+1,a.row>y[k].start.row?this.$highlightIndentGuideMarker.dir=-1:this.$highlightIndentGuideMarker.dir=1;break}}if(!this.$highlightIndentGuideMarker.end&&r[a.row]!==""&&a.column===r[a.row].length){this.$highlightIndentGuideMarker.dir=1;for(var k=a.row+1;k<r.length;k++){var x=r[k],w=/^\s*/.exec(x)[0].length;if(x!==""&&(this.$highlightIndentGuideMarker.end=k,w<=p))break}}this.$renderHighlightIndentGuide()}}},s.prototype.$clearActiveIndentGuide=function(){for(var r=this.element.querySelectorAll(".ace_indent-guide-active"),a=0;a<r.length;a++)r[a].classList.remove("ace_indent-guide-active")},s.prototype.$setIndentGuideActive=function(r,a){if(this.session.doc.getLine(r.row)!==""){var p=r.element;if(r.element.classList&&r.element.classList.contains("ace_line_group"))if(r.element.childNodes.length>0)p=r.element.childNodes[0];else return;var v=p.childNodes;if(v){var y=v[a-1];y&&y.classList&&y.classList.contains("ace_indent-guide")&&y.classList.add("ace_indent-guide-active")}}},s.prototype.$renderHighlightIndentGuide=function(){if(this.$lines){var r=this.$lines.cells;this.$clearActiveIndentGuide();var a=this.$highlightIndentGuideMarker.indentLevel;if(a!==0)if(this.$highlightIndentGuideMarker.dir===1)for(var p=0;p<r.length;p++){var v=r[p];if(this.$highlightIndentGuideMarker.end&&v.row>=this.$highlightIndentGuideMarker.start+1){if(v.row>=this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(v,a)}}else for(var p=r.length-1;p>=0;p--){var v=r[p];if(this.$highlightIndentGuideMarker.end&&v.row<this.$highlightIndentGuideMarker.start){if(v.row<this.$highlightIndentGuideMarker.end)break;this.$setIndentGuideActive(v,a)}}}},s.prototype.$createLineElement=function(r){var a=this.dom.createElement("div");return a.className="ace_line",a.style.height=this.config.lineHeight+"px",a},s.prototype.$renderWrappedLine=function(r,a,p){var v=0,y=0,k=p[0],x=0,w=this.$createLineElement();r.appendChild(w);for(var S=0;S<a.length;S++){var M=a[S],L=M.value;if(S==0&&this.displayIndentGuides){if(v=L.length,L=this.renderIndentGuide(w,L,k),!L)continue;v-=L.length}if(v+L.length<k)x=this.$renderToken(w,x,M,L),v+=L.length;else{for(;v+L.length>=k;){x=this.$renderToken(w,x,M,L.substring(0,k-v)),L=L.substring(k-v),v=k,w=this.$createLineElement(),r.appendChild(w);var R=this.dom.createTextNode(c.stringRepeat(" ",p.indent),this.element);R.charCount=0,w.appendChild(R),y++,x=0,k=p[y]||Number.MAX_VALUE}L.length!=0&&(v+=L.length,x=this.$renderToken(w,x,M,L))}}p[p.length-1]>this.MAX_LINE_LENGTH&&this.$renderOverflowMessage(w,x,null,"",!0)},s.prototype.$renderSimpleLine=function(r,a){for(var p=0,v=0;v<a.length;v++){var y=a[v],k=y.value;if(!(v==0&&this.displayIndentGuides&&(k=this.renderIndentGuide(r,k),!k))){if(p+k.length>this.MAX_LINE_LENGTH)return this.$renderOverflowMessage(r,p,y,k);p=this.$renderToken(r,p,y,k)}}},s.prototype.$renderOverflowMessage=function(r,a,p,v,y){p&&this.$renderToken(r,a,p,v.slice(0,this.MAX_LINE_LENGTH-a));var k=this.dom.createElement("span");k.className="ace_inline_button ace_keyword ace_toggle_wrap",k.textContent=y?"<hide>":"<click to see more...>",r.appendChild(k)},s.prototype.$renderLine=function(r,a,p){if(!p&&p!=!1&&(p=this.session.getFoldLine(a)),p)var v=this.$getFoldLineTokens(a,p);else var v=this.session.getTokens(a);var y=r;if(v.length){var k=this.session.getRowSplitData(a);if(k&&k.length){this.$renderWrappedLine(r,v,k);var y=r.lastChild}else{var y=r;this.$useLineGroups()&&(y=this.$createLineElement(),r.appendChild(y)),this.$renderSimpleLine(y,v)}}else this.$useLineGroups()&&(y=this.$createLineElement(),r.appendChild(y));if(this.showEOL&&y){p&&(a=p.end.row);var x=this.dom.createElement("span");x.className="ace_invisible ace_invisible_eol",x.textContent=a==this.session.getLength()-1?this.EOF_CHAR:this.EOL_CHAR,y.appendChild(x)}},s.prototype.$getFoldLineTokens=function(r,a){var p=this.session,v=[];function y(x,w,S){for(var M=0,L=0;L+x[M].value.length<w;)if(L+=x[M].value.length,M++,M==x.length)return;if(L!=w){var R=x[M].value.substring(w-L);R.length>S-w&&(R=R.substring(0,S-w)),v.push({type:x[M].type,value:R}),L=w+R.length,M+=1}for(;L<S&&M<x.length;){var R=x[M].value;R.length+L>S?v.push({type:x[M].type,value:R.substring(0,S-L)}):v.push(x[M]),L+=R.length,M+=1}}var k=p.getTokens(r);return a.walk(function(x,w,S,M,L){x!=null?v.push({type:"fold",value:x}):(L&&(k=p.getTokens(w)),k.length&&y(k,M,S))},a.end.row,this.session.getLine(a.end.row).length),v},s.prototype.$useLineGroups=function(){return this.session.getUseWrapMode()},s})();l.prototype.EOF_CHAR="¶",l.prototype.EOL_CHAR_LF="¬",l.prototype.EOL_CHAR_CRLF="¤",l.prototype.EOL_CHAR=l.prototype.EOL_CHAR_LF,l.prototype.TAB_CHAR="—",l.prototype.SPACE_CHAR="·",l.prototype.$padding=0,l.prototype.MAX_LINE_LENGTH=1e4,l.prototype.showInvisibles=!1,l.prototype.showSpaces=!1,l.prototype.showTabs=!1,l.prototype.showEOL=!1,l.prototype.displayIndentGuides=!0,l.prototype.$highlightIndentGuides=!0,l.prototype.$tabStrings=[],l.prototype.destroy={},l.prototype.onChangeTabSize=l.prototype.$computeTabString,f.implement(l.prototype,h),n.Text=l}),ace.define("ace/layer/cursor",["require","exports","module","ace/lib/dom"],function(t,n,m){"use strict";var f=t("../lib/dom"),g=(function(){function c(o){this.element=f.createElement("div"),this.element.className="ace_layer ace_cursor-layer",o.appendChild(this.element),this.isVisible=!1,this.isBlinking=!0,this.blinkInterval=1e3,this.smoothBlinking=!1,this.cursors=[],this.cursor=this.addCursor(),f.addCssClass(this.element,"ace_hidden-cursors"),this.$updateCursors=this.$updateOpacity.bind(this)}return c.prototype.$updateOpacity=function(o){for(var h=this.cursors,d=h.length;d--;)f.setStyle(h[d].style,"opacity",o?"":"0")},c.prototype.$startCssAnimation=function(){for(var o=this.cursors,h=o.length;h--;)o[h].style.animationDuration=this.blinkInterval+"ms";this.$isAnimating=!0,setTimeout(function(){this.$isAnimating&&f.addCssClass(this.element,"ace_animate-blinking")}.bind(this))},c.prototype.$stopCssAnimation=function(){this.$isAnimating=!1,f.removeCssClass(this.element,"ace_animate-blinking")},c.prototype.setPadding=function(o){this.$padding=o},c.prototype.setSession=function(o){this.session=o},c.prototype.setBlinking=function(o){o!=this.isBlinking&&(this.isBlinking=o,this.restartTimer())},c.prototype.setBlinkInterval=function(o){o!=this.blinkInterval&&(this.blinkInterval=o,this.restartTimer())},c.prototype.setSmoothBlinking=function(o){o!=this.smoothBlinking&&(this.smoothBlinking=o,f.setCssClass(this.element,"ace_smooth-blinking",o),this.$updateCursors(!0),this.restartTimer())},c.prototype.addCursor=function(){var o=f.createElement("div");return o.className="ace_cursor",this.element.appendChild(o),this.cursors.push(o),o},c.prototype.removeCursor=function(){if(this.cursors.length>1){var o=this.cursors.pop();return o.parentNode.removeChild(o),o}},c.prototype.hideCursor=function(){this.isVisible=!1,f.addCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},c.prototype.showCursor=function(){this.isVisible=!0,f.removeCssClass(this.element,"ace_hidden-cursors"),this.restartTimer()},c.prototype.restartTimer=function(){var o=this.$updateCursors;if(clearInterval(this.intervalId),clearTimeout(this.timeoutId),this.$stopCssAnimation(),this.smoothBlinking&&(this.$isSmoothBlinking=!1,f.removeCssClass(this.element,"ace_smooth-blinking")),o(!0),!this.isBlinking||!this.blinkInterval||!this.isVisible){this.$stopCssAnimation();return}if(this.smoothBlinking&&(this.$isSmoothBlinking=!0,setTimeout(function(){this.$isSmoothBlinking&&f.addCssClass(this.element,"ace_smooth-blinking")}.bind(this))),f.HAS_CSS_ANIMATION)this.$startCssAnimation();else{var h=function(){this.timeoutId=setTimeout(function(){o(!1)},.6*this.blinkInterval)}.bind(this);this.intervalId=setInterval(function(){o(!0),h()},this.blinkInterval),h()}},c.prototype.getPixelPosition=function(o,h){if(!this.config||!this.session)return{left:0,top:0};o||(o=this.session.selection.getCursor());var d=this.session.documentToScreenPosition(o);return{left:this.$padding+(this.session.$bidiHandler.isBidiRow(d.row,o.row)?this.session.$bidiHandler.getPosLeft(d.column):d.column*this.config.characterWidth),top:(d.row-(h?this.config.firstRowScreen:0))*this.config.lineHeight}},c.prototype.isCursorInView=function(o,h){return o.top>=0&&o.top<h.maxHeight},c.prototype.update=function(o){this.config=o;var h=this.session.$selectionMarkers,d=0,u=0;(h===void 0||h.length===0)&&(h=[{cursor:null}]);for(var d=0,l=h.length;d<l;d++){var s=this.getPixelPosition(h[d].cursor,!0);if(!((s.top>o.height+o.offset||s.top<0)&&d>1)){var r=this.cursors[u++]||this.addCursor(),a=r.style;this.drawCursor?this.drawCursor(r,s,o,h[d],this.session):this.isCursorInView(s,o)?(f.setStyle(a,"display","block"),f.translate(r,s.left,s.top),f.setStyle(a,"width",Math.round(o.characterWidth)+"px"),f.setStyle(a,"height",o.lineHeight+"px")):f.setStyle(a,"display","none")}}for(;this.cursors.length>u;)this.removeCursor();var p=this.session.getOverwrite();this.$setOverwrite(p),this.$pixelPos=s,this.restartTimer()},c.prototype.$setOverwrite=function(o){o!=this.overwrite&&(this.overwrite=o,o?f.addCssClass(this.element,"ace_overwrite-cursors"):f.removeCssClass(this.element,"ace_overwrite-cursors"))},c.prototype.destroy=function(){clearInterval(this.intervalId),clearTimeout(this.timeoutId)},c})();g.prototype.$padding=0,g.prototype.drawCursor=null,n.Cursor=g}),ace.define("ace/scrollbar",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(t,n,m){"use strict";var f=this&&this.__extends||(function(){var r=function(a,p){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,y){v.__proto__=y}||function(v,y){for(var k in y)Object.prototype.hasOwnProperty.call(y,k)&&(v[k]=y[k])},r(a,p)};return function(a,p){if(typeof p!="function"&&p!==null)throw new TypeError("Class extends value "+String(p)+" is not a constructor or null");r(a,p);function v(){this.constructor=a}a.prototype=p===null?Object.create(p):(v.prototype=p.prototype,new v)}})(),g=t("./lib/oop"),c=t("./lib/dom"),o=t("./lib/event"),h=t("./lib/event_emitter").EventEmitter,d=32768,u=(function(){function r(a,p){this.element=c.createElement("div"),this.element.className="ace_scrollbar ace_scrollbar"+p,this.element.tabIndex=-1,this.inner=c.createElement("div"),this.inner.className="ace_scrollbar-inner",this.inner.textContent=" ",this.element.appendChild(this.inner),a.appendChild(this.element),this.setVisible(!1),this.skipEvent=!1,o.addListener(this.element,"scroll",this.onScroll.bind(this)),o.addListener(this.element,"mousedown",o.preventDefault)}return r.prototype.setVisible=function(a){this.element.style.display=a?"":"none",this.isVisible=a,this.coeff=1},r})();g.implement(u.prototype,h);var l=(function(r){f(a,r);function a(p,v){var y=r.call(this,p,"-v")||this;return y.scrollTop=0,y.scrollHeight=0,v.$scrollbarWidth=y.width=c.scrollbarWidth(p.ownerDocument),y.inner.style.width=y.element.style.width=(y.width||15)+5+"px",y.$minWidth=0,y}return a.prototype.onScroll=function(){if(!this.skipEvent){if(this.scrollTop=this.element.scrollTop,this.coeff!=1){var p=this.element.clientHeight/this.scrollHeight;this.scrollTop=this.scrollTop*(1-p)/(this.coeff-p)}this._emit("scroll",{data:this.scrollTop})}this.skipEvent=!1},a.prototype.getWidth=function(){return Math.max(this.isVisible?this.width:0,this.$minWidth||0)},a.prototype.setHeight=function(p){this.element.style.height=p+"px"},a.prototype.setScrollHeight=function(p){this.scrollHeight=p,p>d?(this.coeff=d/p,p=d):this.coeff!=1&&(this.coeff=1),this.inner.style.height=p+"px"},a.prototype.setScrollTop=function(p){this.scrollTop!=p&&(this.skipEvent=!0,this.scrollTop=p,this.element.scrollTop=p*this.coeff)},a})(u);l.prototype.setInnerHeight=l.prototype.setScrollHeight;var s=(function(r){f(a,r);function a(p,v){var y=r.call(this,p,"-h")||this;return y.scrollLeft=0,y.height=v.$scrollbarWidth,y.inner.style.height=y.element.style.height=(y.height||15)+5+"px",y}return a.prototype.onScroll=function(){this.skipEvent||(this.scrollLeft=this.element.scrollLeft,this._emit("scroll",{data:this.scrollLeft})),this.skipEvent=!1},a.prototype.getHeight=function(){return this.isVisible?this.height:0},a.prototype.setWidth=function(p){this.element.style.width=p+"px"},a.prototype.setInnerWidth=function(p){this.inner.style.width=p+"px"},a.prototype.setScrollWidth=function(p){this.inner.style.width=p+"px"},a.prototype.setScrollLeft=function(p){this.scrollLeft!=p&&(this.skipEvent=!0,this.scrollLeft=this.element.scrollLeft=p)},a})(u);n.ScrollBar=l,n.ScrollBarV=l,n.ScrollBarH=s,n.VScrollBar=l,n.HScrollBar=s}),ace.define("ace/scrollbar_custom",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/event","ace/lib/event_emitter"],function(t,n,m){"use strict";var f=this&&this.__extends||(function(){var s=function(r,a){return s=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,v){p.__proto__=v}||function(p,v){for(var y in v)Object.prototype.hasOwnProperty.call(v,y)&&(p[y]=v[y])},s(r,a)};return function(r,a){if(typeof a!="function"&&a!==null)throw new TypeError("Class extends value "+String(a)+" is not a constructor or null");s(r,a);function p(){this.constructor=r}r.prototype=a===null?Object.create(a):(p.prototype=a.prototype,new p)}})(),g=t("./lib/oop"),c=t("./lib/dom"),o=t("./lib/event"),h=t("./lib/event_emitter").EventEmitter;c.importCssString(`.ace_editor>.ace_sb-v div, .ace_editor>.ace_sb-h div{
1377
1377
  position: absolute;
1378
1378
  background: rgba(128, 128, 128, 0.6);
@@ -2107,7 +2107,7 @@ export const FormManager: React.FC = () => {
2107
2107
 
2108
2108
  .ace_hidden_token {
2109
2109
  display: none;
2110
- }`}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(t,n,m){"use strict";var f=t("../lib/dom"),g=t("../lib/oop"),c=t("../lib/event_emitter").EventEmitter,o=(function(){function h(d,u){this.renderer=u,this.pixelRatio=1,this.maxHeight=u.layerConfig.maxHeight,this.lineHeight=u.layerConfig.lineHeight,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},this.setScrollBarV(d)}return h.prototype.$createCanvas=function(){this.canvas=f.createElement("canvas"),this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7",this.canvas.style.position="absolute"},h.prototype.setScrollBarV=function(d){this.$createCanvas(),this.scrollbarV=d,d.element.appendChild(this.canvas),this.setDimensions()},h.prototype.$updateDecorators=function(d){if(typeof this.canvas.getContext!="function")return;var u=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;this.setDimensions(d);var l=this.canvas.getContext("2d");function s(T,E){return T.priority<E.priority?-1:T.priority>E.priority?1:0}var r=this.renderer.session.$annotations;if(l.clearRect(0,0,this.canvas.width,this.canvas.height),r){var a={info:1,warning:2,error:3};r.forEach(function(T){T.priority=a[T.type]||null}),r=r.sort(s);for(var p=0;p<r.length;p++){var v=r[p].row,y=this.getVerticalOffsetForRow(v),k=y+this.lineHeight,x=Math.round(this.heightRatio*y),w=Math.round(this.heightRatio*k),S=Math.round((x+w)/2),M=w-S;M<this.halfMinDecorationHeight&&(M=this.halfMinDecorationHeight),S-M<0&&(S=M),S+M>this.canvasHeight&&(S=this.canvasHeight-M);var L=S-M,R=S+M-L;l.fillStyle=u[r[p].type]||null,l.fillRect(0,L,Math.round(this.oneZoneWidth-1),R)}}var $=this.renderer.session.selection.getCursor();if($){var D=Math.round(this.getVerticalOffsetForRow($.row)*this.heightRatio);l.fillStyle="rgba(0, 0, 0, 0.5)",l.fillRect(0,D,this.canvasWidth,2)}},h.prototype.getVerticalOffsetForRow=function(d){return d=d|0,this.renderer.session.documentToScreenRow(d,0)*this.lineHeight},h.prototype.setDimensions=function(d){d=d||this.renderer.layerConfig,this.maxHeight=d.maxHeight,this.lineHeight=d.lineHeight,this.canvasHeight=d.height,this.canvasWidth=this.scrollbarV.width||this.canvasWidth,this.setZoneWidth(),this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.maxHeight<this.canvasHeight?this.heightRatio=1:this.heightRatio=this.canvasHeight/this.maxHeight},h.prototype.setZoneWidth=function(){this.oneZoneWidth=this.canvasWidth},h.prototype.destroy=function(){this.canvas.parentNode.removeChild(this.canvas)},h})();g.implement(o.prototype,c),n.Decorator=o}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent","ace/layer/text_util"],function(t,n,m){"use strict";var f=t("./lib/oop"),g=t("./lib/dom"),c=t("./lib/lang"),o=t("./config"),h=t("./layer/gutter").Gutter,d=t("./layer/marker").Marker,u=t("./layer/text").Text,l=t("./layer/cursor").Cursor,s=t("./scrollbar").HScrollBar,r=t("./scrollbar").VScrollBar,a=t("./scrollbar_custom").HScrollBar,p=t("./scrollbar_custom").VScrollBar,v=t("./renderloop").RenderLoop,y=t("./layer/font_metrics").FontMetrics,k=t("./lib/event_emitter").EventEmitter,x=t("./css/editor-css"),w=t("./layer/decorators").Decorator,S=t("./lib/useragent"),M=t("./layer/text_util").isTextToken;g.importCssString(x,"ace_editor.css",!1);var L=(function(){function R($,D){var T=this;this.container=$||g.createElement("div"),g.addCssClass(this.container,"ace_editor"),g.HI_DPI&&g.addCssClass(this.container,"ace_hidpi"),this.setTheme(D),o.get("useStrictCSP")==null&&o.set("useStrictCSP",!1),this.$gutter=g.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=g.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=g.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new h(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new d(this.content);var E=this.$textLayer=new u(this.content);this.canvas=E.element,this.$markerFront=new d(this.content),this.$cursorLayer=new l(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new r(this.container,this),this.scrollBarH=new s(this.container,this),this.scrollBarV.on("scroll",function(C){T.$scrollAnimation||T.session.setScrollTop(C.data-T.scrollMargin.top)}),this.scrollBarH.on("scroll",function(C){T.$scrollAnimation||T.session.setScrollLeft(C.data-T.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new y(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(C){T.updateCharacterSize(),T.onResize(!0,T.gutterWidth,T.$size.width,T.$size.height),T._signal("changeCharacterSize",C)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!S.isIOS,this.$loop=new v(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),o.resetOptions(this),o._signal("renderer",this)}return R.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),g.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},R.prototype.setSession=function($){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=$,$&&this.scrollMargin.top&&$.getScrollTop()<=0&&$.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession($),this.$markerBack.setSession($),this.$markerFront.setSession($),this.$gutterLayer.setSession($),this.$textLayer.setSession($),$&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},R.prototype.updateLines=function($,D,T){if(D===void 0&&(D=1/0),this.$changedLines?(this.$changedLines.firstRow>$&&(this.$changedLines.firstRow=$),this.$changedLines.lastRow<D&&(this.$changedLines.lastRow=D)):this.$changedLines={firstRow:$,lastRow:D},this.$changedLines.lastRow<this.layerConfig.firstRow)if(T)this.$changedLines.lastRow=this.layerConfig.lastRow;else return;this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},R.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},R.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},R.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},R.prototype.updateFull=function($){$?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},R.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},R.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},R.prototype.onResize=function($,D,T,E){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=$?1:0;var C=this.container;E||(E=C.clientHeight||C.scrollHeight),!E&&this.$maxLines&&this.lineHeight>1&&(!C.style.height||C.style.height=="0px")&&(C.style.height="1px",E=C.clientHeight||C.scrollHeight),T||(T=C.clientWidth||C.scrollWidth);var b=this.$updateCachedSize($,D,T,E);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!T&&!E)return this.resizing=0;$&&(this.$gutterLayer.$padding=null),$?this.$renderChanges(b|this.$changes,!0):this.$loop.schedule(b|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},R.prototype.$updateCachedSize=function($,D,T,E){E-=this.$extraHeight||0;var C=0,b=this.$size,A={width:b.width,height:b.height,scrollerHeight:b.scrollerHeight,scrollerWidth:b.scrollerWidth};if(E&&($||b.height!=E)&&(b.height=E,C|=this.CHANGE_SIZE,b.scrollerHeight=b.height,this.$horizScroll&&(b.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(b.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",C=C|this.CHANGE_SCROLL),T&&($||b.width!=T)){C|=this.CHANGE_SIZE,b.width=T,D==null&&(D=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=D,g.setStyle(this.scrollBarH.element.style,"left",D+"px"),g.setStyle(this.scroller.style,"left",D+this.margin.left+"px"),b.scrollerWidth=Math.max(0,T-D-this.scrollBarV.getWidth()-this.margin.h),g.setStyle(this.$gutter.style,"left",this.margin.left+"px");var _=this.scrollBarV.getWidth()+"px";g.setStyle(this.scrollBarH.element.style,"right",_),g.setStyle(this.scroller.style,"right",_),g.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(b.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||$)&&(C|=this.CHANGE_FULL)}return b.$dirty=!T||!E,C&&this._signal("resize",A),C},R.prototype.onGutterResize=function($){var D=this.$showGutter?$:0;D!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,D,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},R.prototype.adjustWrapLimit=function(){var $=this.$size.scrollerWidth-this.$padding*2,D=Math.floor($/this.characterWidth);return this.session.adjustWrapLimit(D,this.$showPrintMargin&&this.$printMarginColumn)},R.prototype.setAnimatedScroll=function($){this.setOption("animatedScroll",$)},R.prototype.getAnimatedScroll=function(){return this.$animatedScroll},R.prototype.setShowInvisibles=function($){this.setOption("showInvisibles",$),this.session.$bidiHandler.setShowInvisibles($)},R.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},R.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},R.prototype.setDisplayIndentGuides=function($){this.setOption("displayIndentGuides",$)},R.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},R.prototype.setHighlightIndentGuides=function($){this.setOption("highlightIndentGuides",$)},R.prototype.setShowPrintMargin=function($){this.setOption("showPrintMargin",$)},R.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},R.prototype.setPrintMarginColumn=function($){this.setOption("printMarginColumn",$)},R.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},R.prototype.getShowGutter=function(){return this.getOption("showGutter")},R.prototype.setShowGutter=function($){return this.setOption("showGutter",$)},R.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},R.prototype.setFadeFoldWidgets=function($){this.setOption("fadeFoldWidgets",$)},R.prototype.setHighlightGutterLine=function($){this.setOption("highlightGutterLine",$)},R.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},R.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var $=g.createElement("div");$.className="ace_layer ace_print-margin-layer",this.$printMarginEl=g.createElement("div"),this.$printMarginEl.className="ace_print-margin",$.appendChild(this.$printMarginEl),this.content.insertBefore($,this.content.firstChild)}var D=this.$printMarginEl.style;D.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",D.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},R.prototype.getContainerElement=function(){return this.container},R.prototype.getMouseEventTarget=function(){return this.scroller},R.prototype.getTextAreaContainer=function(){return this.container},R.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var $=this.textarea.style,D=this.$composition;if(!this.$keepTextAreaAtCursor&&!D){g.translate(this.textarea,-100,0);return}var T=this.$cursorLayer.$pixelPos;if(T){D&&D.markerRange&&(T=this.$cursorLayer.getPixelPosition(D.markerRange.start,!0));var E=this.layerConfig,C=T.top,b=T.left;C-=E.offset;var A=D&&D.useTextareaForIME||S.isMobile?this.lineHeight:1;if(C<0||C>E.height-A){g.translate(this.textarea,0,0);return}var _=1,O=this.$size.height-A;if(!D)C+=this.lineHeight;else if(D.useTextareaForIME){var I=this.textarea.value;_=this.characterWidth*this.session.$getStringScreenWidth(I)[0]}else C+=this.lineHeight+2;b-=this.scrollLeft,b>this.$size.scrollerWidth-_&&(b=this.$size.scrollerWidth-_),b+=this.gutterWidth+this.margin.left,g.setStyle($,"height",A+"px"),g.setStyle($,"width",_+"px"),g.translate(this.textarea,Math.min(b,this.$size.scrollerWidth-_),Math.min(C,O))}}},R.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},R.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},R.prototype.getLastFullyVisibleRow=function(){var $=this.layerConfig,D=$.lastRow;return this.session.documentToScreenRow(D,0)*$.lineHeight-this.session.getScrollTop()>$.height-$.lineHeight?D-1:D},R.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},R.prototype.setPadding=function($){this.$padding=$,this.$textLayer.setPadding($),this.$cursorLayer.setPadding($),this.$markerFront.setPadding($),this.$markerBack.setPadding($),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},R.prototype.setScrollMargin=function($,D,T,E){var C=this.scrollMargin;C.top=$|0,C.bottom=D|0,C.right=E|0,C.left=T|0,C.v=C.top+C.bottom,C.h=C.left+C.right,C.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-C.top),this.updateFull()},R.prototype.setMargin=function($,D,T,E){var C=this.margin;C.top=$|0,C.bottom=D|0,C.right=E|0,C.left=T|0,C.v=C.top+C.bottom,C.h=C.left+C.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},R.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},R.prototype.setHScrollBarAlwaysVisible=function($){this.setOption("hScrollBarAlwaysVisible",$)},R.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},R.prototype.setVScrollBarAlwaysVisible=function($){this.setOption("vScrollBarAlwaysVisible",$)},R.prototype.$updateScrollBarV=function(){var $=this.layerConfig.maxHeight,D=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&($-=(D-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>$-D&&($=this.scrollTop+D,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight($+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},R.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},R.prototype.freeze=function(){this.$frozen=!0},R.prototype.unfreeze=function(){this.$frozen=!1},R.prototype.$renderChanges=function($,D){if(this.$changes&&($|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!$&&!D){this.$changes|=$;return}if(this.$size.$dirty)return this.$changes|=$,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",$),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var T=this.layerConfig;if($&this.CHANGE_FULL||$&this.CHANGE_SIZE||$&this.CHANGE_TEXT||$&this.CHANGE_LINES||$&this.CHANGE_SCROLL||$&this.CHANGE_H_SCROLL){if($|=this.$computeLayerConfig()|this.$loop.clear(),T.firstRow!=this.layerConfig.firstRow&&T.firstRowScreen==this.layerConfig.firstRowScreen){var E=this.scrollTop+(T.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;E>0&&(this.scrollTop=E,$=$|this.CHANGE_SCROLL,$|=this.$computeLayerConfig()|this.$loop.clear())}T=this.layerConfig,this.$updateScrollBarV(),$&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),g.translate(this.content,-this.scrollLeft,-T.offset);var C=T.width+2*this.$padding+"px",b=T.minHeight+"px";g.setStyle(this.content.style,"width",C),g.setStyle(this.content.style,"height",b)}if($&this.CHANGE_H_SCROLL&&(g.translate(this.content,-this.scrollLeft,-T.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),$&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(T),this.$showGutter&&this.$gutterLayer.update(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T),this.$markerBack.update(T),this.$markerFront.update(T),this.$cursorLayer.update(T),this.$moveTextAreaToCursor(),this._signal("afterRender",$);return}if($&this.CHANGE_SCROLL){this.$changedLines=null,$&this.CHANGE_TEXT||$&this.CHANGE_LINES?this.$textLayer.update(T):this.$textLayer.scrollLines(T),this.$showGutter&&($&this.CHANGE_GUTTER||$&this.CHANGE_LINES?this.$gutterLayer.update(T):this.$gutterLayer.scrollLines(T)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T),this.$markerBack.update(T),this.$markerFront.update(T),this.$cursorLayer.update(T),this.$moveTextAreaToCursor(),this._signal("afterRender",$);return}$&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(T),this.$showGutter&&this.$gutterLayer.update(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T)):$&this.CHANGE_LINES?((this.$updateLines()||$&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T)):$&this.CHANGE_TEXT||$&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T)):$&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T)),$&this.CHANGE_CURSOR&&(this.$cursorLayer.update(T),this.$moveTextAreaToCursor()),$&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(T),$&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(T),this._signal("afterRender",$)},R.prototype.$autosize=function(){var $=this.session.getScreenLength()*this.lineHeight,D=this.$maxLines*this.lineHeight,T=Math.min(D,Math.max((this.$minLines||1)*this.lineHeight,$))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(T+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&T>this.$maxPixelHeight&&(T=this.$maxPixelHeight);var E=!(T<=2*this.lineHeight)&&$>D;if(T!=this.desiredHeight||this.$size.height!=this.desiredHeight||E!=this.$vScroll){E!=this.$vScroll&&(this.$vScroll=E,this.scrollBarV.setVisible(E));var C=this.container.clientWidth;this.container.style.height=T+"px",this.$updateCachedSize(!0,this.$gutterWidth,C,T),this.desiredHeight=T,this._signal("autosize")}},R.prototype.$computeLayerConfig=function(){var $=this.session,D=this.$size,T=D.height<=2*this.lineHeight,E=this.session.getScreenLength()*this.lineHeight,C=this.$getLongestLine(),b=!T&&(this.$hScrollBarAlwaysVisible||D.scrollerWidth-C-2*this.$padding<0),A=this.$horizScroll!==b;A&&(this.$horizScroll=b,this.scrollBarH.setVisible(b));var _=this.$vScroll;this.$maxLines&&this.lineHeight>1&&(this.$autosize(),T=D.height<=2*this.lineHeight);var O=D.scrollerHeight+this.lineHeight,I=!this.$maxLines&&this.$scrollPastEnd?(D.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;E+=I;var N=this.scrollMargin;this.session.setScrollTop(Math.max(-N.top,Math.min(this.scrollTop,E-D.scrollerHeight+N.bottom))),this.session.setScrollLeft(Math.max(-N.left,Math.min(this.scrollLeft,C+2*this.$padding-D.scrollerWidth+N.right)));var F=!T&&(this.$vScrollBarAlwaysVisible||D.scrollerHeight-E+I<0||this.scrollTop>N.top),z=_!==F;z&&(this.$vScroll=F,this.scrollBarV.setVisible(F));var P=this.scrollTop%this.lineHeight,B=Math.ceil(O/this.lineHeight)-1,W=Math.max(0,Math.round((this.scrollTop-P)/this.lineHeight)),H=W+B,U,G,Y=this.lineHeight;W=$.screenToDocumentRow(W,0);var q=$.getFoldLine(W);q&&(W=q.start.row),U=$.documentToScreenRow(W,0),G=$.getRowLength(W)*Y,H=Math.min($.screenToDocumentRow(H,0),$.getLength()-1),O=D.scrollerHeight+$.getRowLength(H)*Y+G,P=this.scrollTop-U*Y,P<0&&U>0&&(U=Math.max(0,U+Math.floor(P/Y)),P=this.scrollTop-U*Y);var X=0;return(this.layerConfig.width!=C||A)&&(X=this.CHANGE_H_SCROLL),(A||z)&&(X|=this.$updateCachedSize(!0,this.gutterWidth,D.width,D.height),this._signal("scrollbarVisibilityChanged"),z&&(C=this.$getLongestLine())),this.layerConfig={width:C,padding:this.$padding,firstRow:W,firstRowScreen:U,lastRow:H,lineHeight:Y,characterWidth:this.characterWidth,minHeight:O,maxHeight:E,offset:P,gutterOffset:Y?Math.max(0,Math.ceil((P+D.height-D.scrollerHeight)/Y)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(C-this.$padding),X},R.prototype.$updateLines=function(){if(this.$changedLines){var $=this.$changedLines.firstRow,D=this.$changedLines.lastRow;this.$changedLines=null;var T=this.layerConfig;if(!($>T.lastRow+1)&&!(D<T.firstRow)){if(D===1/0){this.$showGutter&&this.$gutterLayer.update(T),this.$textLayer.update(T);return}return this.$textLayer.updateLines(T,$,D),!0}}},R.prototype.$getLongestLine=function(){var $=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&($+=1),this.$textLayer&&$>this.$textLayer.MAX_LINE_LENGTH&&($=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round($*this.characterWidth))},R.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},R.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},R.prototype.addGutterDecoration=function($,D){this.$gutterLayer.addGutterDecoration($,D)},R.prototype.removeGutterDecoration=function($,D){this.$gutterLayer.removeGutterDecoration($,D)},R.prototype.updateBreakpoints=function($){this._rows=$,this.$loop.schedule(this.CHANGE_GUTTER)},R.prototype.setAnnotations=function($){this.$gutterLayer.setAnnotations($),this.$loop.schedule(this.CHANGE_GUTTER)},R.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},R.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},R.prototype.showCursor=function(){this.$cursorLayer.showCursor()},R.prototype.scrollSelectionIntoView=function($,D,T){this.scrollCursorIntoView($,T),this.scrollCursorIntoView(D,T)},R.prototype.scrollCursorIntoView=function($,D,T){if(this.$size.scrollerHeight!==0){var E=this.$cursorLayer.getPixelPosition($),C=E.left,b=E.top,A=T&&T.top||0,_=T&&T.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var O=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;O+A>b?(D&&O+A>b+this.lineHeight&&(b-=D*this.$size.scrollerHeight),b===0&&(b=-this.scrollMargin.top),this.session.setScrollTop(b)):O+this.$size.scrollerHeight-_<b+this.lineHeight&&(D&&O+this.$size.scrollerHeight-_<b-this.lineHeight&&(b+=D*this.$size.scrollerHeight),this.session.setScrollTop(b+this.lineHeight+_-this.$size.scrollerHeight));var I=this.scrollLeft,N=2*this.layerConfig.characterWidth;C-N<I?(C-=N,C<this.$padding+N&&(C=-this.scrollMargin.left),this.session.setScrollLeft(C)):(C+=N,I+this.$size.scrollerWidth<C+this.characterWidth?this.session.setScrollLeft(Math.round(C+this.characterWidth-this.$size.scrollerWidth)):I<=this.$padding&&C-I<this.characterWidth&&this.session.setScrollLeft(0))}},R.prototype.getScrollTop=function(){return this.session.getScrollTop()},R.prototype.getScrollLeft=function(){return this.session.getScrollLeft()},R.prototype.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},R.prototype.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},R.prototype.scrollToRow=function($){this.session.setScrollTop($*this.lineHeight)},R.prototype.alignCursor=function($,D){typeof $=="number"&&($={row:$,column:0});var T=this.$cursorLayer.getPixelPosition($),E=this.$size.scrollerHeight-this.lineHeight,C=T.top-E*(D||0);return this.session.setScrollTop(C),C},R.prototype.$calcSteps=function($,D){var T=0,E=this.STEPS,C=[],b=function(A,_,O){return O*(Math.pow(A-1,3)+1)+_};for(T=0;T<E;++T)C.push(b(T/this.STEPS,$,D-$));return C},R.prototype.scrollToLine=function($,D,T,E){var C=this.$cursorLayer.getPixelPosition({row:$,column:0}).top;D&&(C-=this.$size.scrollerHeight/2);var b=this.scrollTop;this.session.setScrollTop(C),T!==!1&&this.animateScrolling(b,E)},R.prototype.animateScrolling=function($,D){var T=this.scrollTop;if(!this.$animatedScroll)return;var E=this;if($==T)return;if(this.$scrollAnimation){var C=this.$scrollAnimation.steps;if(C.length&&($=C[0],$==T))return}var b=E.$calcSteps($,T);this.$scrollAnimation={from:$,to:T,steps:b},clearInterval(this.$timer),E.session.setScrollTop(b.shift()),E.session.$scrollTop=T;function A(){E.$timer=clearInterval(E.$timer),E.$scrollAnimation=null,E.$stopAnimation=!1,D&&D()}this.$timer=setInterval(function(){if(E.$stopAnimation){A();return}if(!E.session)return clearInterval(E.$timer);b.length?(E.session.setScrollTop(b.shift()),E.session.$scrollTop=T):T!=null?(E.session.$scrollTop=-1,E.session.setScrollTop(T),T=null):A()},10)},R.prototype.scrollToY=function($){this.scrollTop!==$&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=$)},R.prototype.scrollToX=function($){this.scrollLeft!==$&&(this.scrollLeft=$),this.$loop.schedule(this.CHANGE_H_SCROLL)},R.prototype.scrollTo=function($,D){this.session.setScrollTop(D),this.session.setScrollLeft($)},R.prototype.scrollBy=function($,D){D&&this.session.setScrollTop(this.session.getScrollTop()+D),$&&this.session.setScrollLeft(this.session.getScrollLeft()+$)},R.prototype.isScrollableBy=function($,D){if(D<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||D>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||$<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||$>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},R.prototype.pixelToScreenCoordinates=function($,D){var T;if(this.$hasCssTransforms){T={top:0,left:0};var E=this.$fontMetrics.transformCoordinates([$,D]);$=E[1]-this.gutterWidth-this.margin.left,D=E[0]}else T=this.scroller.getBoundingClientRect();var C=$+this.scrollLeft-T.left-this.$padding,b=C/this.characterWidth,A=Math.floor((D+this.scrollTop-T.top)/this.lineHeight),_=this.$blockCursor?Math.floor(b):Math.round(b);return{row:A,column:_,side:b-_>0?1:-1,offsetX:C}},R.prototype.screenToTextCoordinates=function($,D){var T;if(this.$hasCssTransforms){T={top:0,left:0};var E=this.$fontMetrics.transformCoordinates([$,D]);$=E[1]-this.gutterWidth-this.margin.left,D=E[0]}else T=this.scroller.getBoundingClientRect();var C=$+this.scrollLeft-T.left-this.$padding,b=C/this.characterWidth,A=this.$blockCursor?Math.floor(b):Math.round(b),_=(D+this.scrollTop-T.top)/this.lineHeight;return this.session.screenToDocumentPosition(_,Math.max(A,0),C)},R.prototype.textToScreenCoordinates=function($,D){var T=this.scroller.getBoundingClientRect(),E=this.session.documentToScreenPosition($,D),C=this.$padding+(this.session.$bidiHandler.isBidiRow(E.row,$)?this.session.$bidiHandler.getPosLeft(E.column):Math.round(E.column*this.characterWidth)),b=E.row*this.lineHeight;return{pageX:T.left+C-this.scrollLeft,pageY:T.top+b-this.scrollTop}},R.prototype.visualizeFocus=function(){g.addCssClass(this.container,"ace_focus")},R.prototype.visualizeBlur=function(){g.removeCssClass(this.container,"ace_focus")},R.prototype.showComposition=function($){this.$composition=$,$.cssText||($.cssText=this.textarea.style.cssText),$.useTextareaForIME==null&&($.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(g.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):$.markerId=this.session.addMarker($.markerRange,"ace_composition_marker","text")},R.prototype.setCompositionText=function($){var D=this.session.selection.cursor;this.addToken($,"composition_placeholder",D.row,D.column),this.$moveTextAreaToCursor()},R.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),g.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var $=this.session.selection.cursor;this.removeExtraToken($.row,$.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},R.prototype.setGhostText=function($,D){var T=this.session.selection.cursor,E=D||{row:T.row,column:T.column};this.removeGhostText();var C=this.$calculateWrappedTextChunks($,E);this.addToken(C[0].text,"ghost_text",E.row,E.column),this.$ghostText={text:$,position:{row:E.row,column:E.column}};var b=g.createElement("div");if(C.length>1){var A=this.hideTokensAfterPosition(E.row,E.column),_;C.slice(1).forEach(function(F){var z=g.createElement("div"),P=g.createElement("span");P.className="ace_ghost_text",F.wrapped&&(z.className="ghost_text_line_wrapped"),F.text.length===0&&(F.text=" "),P.appendChild(g.createTextNode(F.text)),z.appendChild(P),b.appendChild(z),_=z}),A.forEach(function(F){var z=g.createElement("span");M(F.type)||(z.className="ace_"+F.type.replace(/\./g," ace_")),z.appendChild(g.createTextNode(F.value)),_.appendChild(z)}),this.$ghostTextWidget={el:b,row:E.row,column:E.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var O=this.$cursorLayer.getPixelPosition(E,!0),I=this.container.getBoundingClientRect().height,N=C.length*this.lineHeight;if(N<I-O.top)return;N<I?this.scrollBy(0,(C.length-1)*this.lineHeight):this.scrollToRow(E.row)}},R.prototype.$calculateWrappedTextChunks=function($,D){var T=this.$size.scrollerWidth-this.$padding*2,E=Math.floor(T/this.characterWidth)-2;E=E<=0?60:E;for(var C=$.split(/\r?\n/),b=[],A=0;A<C.length;A++){var _=this.session.$getDisplayTokens(C[A],D.column),O=this.session.$computeWrapSplits(_,E,this.session.$tabSize);if(O.length>0){var I=0;O.push(C[A].length);for(var N=0;N<O.length;N++){var F=C[A].slice(I,O[N]);b.push({text:F,wrapped:!0}),I=O[N]}}else b.push({text:C[A],wrapped:!1})}return b},R.prototype.removeGhostText=function(){if(this.$ghostText){var $=this.$ghostText.position;this.removeExtraToken($.row,$.column),this.$ghostTextWidget&&(this.session.widgetManager.removeLineWidget(this.$ghostTextWidget),this.$ghostTextWidget=null),this.$ghostText=null}},R.prototype.addToken=function($,D,T,E){var C=this.session;C.bgTokenizer.lines[T]=null;var b={type:D,value:$},A=C.getTokens(T);if(E==null||!A.length)A.push(b);else for(var _=0,O=0;O<A.length;O++){var I=A[O];if(_+=I.value.length,E<=_){var N=I.value.length-(_-E),F=I.value.slice(0,N),z=I.value.slice(N);A.splice(O,1,{type:I.type,value:F},b,{type:I.type,value:z});break}}this.updateLines(T,T)},R.prototype.hideTokensAfterPosition=function($,D){for(var T=this.session.getTokens($),E=0,C=!1,b=[],A=0;A<T.length;A++){var _=T[A];if(E+=_.value.length,_.type!=="ghost_text"){if(C){b.push({type:_.type,value:_.value}),_.type="hidden_token";continue}E===D&&(C=!0)}}return this.updateLines($,$),b},R.prototype.removeExtraToken=function($,D){this.session.bgTokenizer.lines[$]=null,this.updateLines($,$)},R.prototype.setTheme=function($,D){var T=this;if(this.$themeId=$,T._dispatchEvent("themeChange",{theme:$}),!$||typeof $=="string"){var E=$||this.$options.theme.initialValue;o.loadModule(["theme",E],C)}else C($);function C(b){if(T.$themeId!=$)return D&&D();if(!b||!b.cssClass)throw new Error("couldn't load module "+$+" or it didn't call define");b.$id&&(T.$themeId=b.$id),g.importCssString(b.cssText,b.cssClass,T.container),T.theme&&g.removeCssClass(T.container,T.theme.cssClass);var A="padding"in b?b.padding:"padding"in(T.theme||{})?4:T.$padding;if(T.$padding&&A!=T.$padding&&T.setPadding(A),T.$gutterLayer){var _=b.$showGutterCursorMarker;_&&!T.$gutterLayer.$showCursorMarker?T.$gutterLayer.$showCursorMarker="theme":!_&&T.$gutterLayer.$showCursorMarker=="theme"&&(T.$gutterLayer.$showCursorMarker=null)}T.$theme=b.cssClass,T.theme=b,g.addCssClass(T.container,b.cssClass),g.setCssClass(T.container,"ace_dark",b.isDark),T.$size&&(T.$size.width=0,T.$updateSizeAsync()),T._dispatchEvent("themeLoaded",{theme:b}),D&&D(),S.isSafari&&T.scroller&&(T.scroller.style.background="red",T.scroller.style.background="")}},R.prototype.getTheme=function(){return this.$themeId},R.prototype.setStyle=function($,D){g.setCssClass(this.container,$,D!==!1)},R.prototype.unsetStyle=function($){g.removeCssClass(this.container,$)},R.prototype.setCursorStyle=function($){g.setStyle(this.scroller.style,"cursor",$)},R.prototype.setMouseCursor=function($){g.setStyle(this.scroller.style,"cursor",$)},R.prototype.attachToShadowRoot=function(){g.importCssString(x,"ace_editor.css",this.container)},R.prototype.destroy=function(){this.freeze(),this.$fontMetrics.destroy(),this.$cursorLayer.destroy(),this.removeAllListeners(),this.container.textContent="",this.setOption("useResizeObserver",!1)},R.prototype.$updateCustomScrollbar=function($){var D=this;this.$horizScroll=this.$vScroll=null,this.scrollBarV.element.remove(),this.scrollBarH.element.remove(),$===!0?(this.scrollBarV=new p(this.container,this),this.scrollBarH=new a(this.container,this),this.scrollBarV.setHeight(this.$size.scrollerHeight),this.scrollBarH.setWidth(this.$size.scrollerWidth),this.scrollBarV.addEventListener("scroll",function(T){D.$scrollAnimation||D.session.setScrollTop(T.data-D.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(T){D.$scrollAnimation||D.session.setScrollLeft(T.data-D.scrollMargin.left)}),this.$scrollDecorator?(this.$scrollDecorator.setScrollBarV(this.scrollBarV),this.$scrollDecorator.$updateDecorators()):(this.$scrollDecorator=new w(this.scrollBarV,this),this.$scrollDecorator.$updateDecorators())):(this.scrollBarV=new r(this.container,this),this.scrollBarH=new s(this.container,this),this.scrollBarV.addEventListener("scroll",function(T){D.$scrollAnimation||D.session.setScrollTop(T.data-D.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(T){D.$scrollAnimation||D.session.setScrollLeft(T.data-D.scrollMargin.left)}))},R.prototype.$addResizeObserver=function(){if(!(!window.ResizeObserver||this.$resizeObserver)){var $=this;this.$resizeTimer=c.delayedCall(function(){$.destroyed||$.onResize()},50),this.$resizeObserver=new window.ResizeObserver(function(D){var T=D[0].contentRect.width,E=D[0].contentRect.height;Math.abs($.$size.width-T)>1||Math.abs($.$size.height-E)>1?$.$resizeTimer.delay():$.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},R})();L.prototype.CHANGE_CURSOR=1,L.prototype.CHANGE_MARKER=2,L.prototype.CHANGE_GUTTER=4,L.prototype.CHANGE_SCROLL=8,L.prototype.CHANGE_LINES=16,L.prototype.CHANGE_TEXT=32,L.prototype.CHANGE_SIZE=64,L.prototype.CHANGE_MARKER_BACK=128,L.prototype.CHANGE_MARKER_FRONT=256,L.prototype.CHANGE_FULL=512,L.prototype.CHANGE_H_SCROLL=1024,L.prototype.$changes=0,L.prototype.$padding=null,L.prototype.$frozen=!1,L.prototype.STEPS=8,f.implement(L.prototype,k),o.defineOptions(L.prototype,"renderer",{useResizeObserver:{set:function(R){!R&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):R&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(R){this.$textLayer.setShowInvisibles(R)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(R){typeof R=="number"&&(this.$printMarginColumn=R),this.$showPrintMargin=!!R,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(R){this.$gutter.style.display=R?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(R){this.$gutterLayer.$useSvgGutterIcons=R},initialValue:!1},showFoldedAnnotations:{set:function(R){this.$gutterLayer.$showFoldedAnnotations=R},initialValue:!1},fadeFoldWidgets:{set:function(R){g.setCssClass(this.$gutter,"ace_fade-fold-widgets",R)},initialValue:!1},showFoldWidgets:{set:function(R){this.$gutterLayer.setShowFoldWidgets(R),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(R){this.$textLayer.setDisplayIndentGuides(R)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(R){this.$textLayer.setHighlightIndentGuides(R)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(R){this.$gutterLayer.setHighlightGutterLine(R),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(R){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(R){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(R){typeof R=="number"&&(R=R+"px"),this.container.style.fontSize=R,this.updateFontSize()},initialValue:12},fontFamily:{set:function(R){this.container.style.fontFamily=R,this.updateFontSize()}},maxLines:{set:function(R){this.updateFull()}},minLines:{set:function(R){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(R){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(R){R=+R||0,this.$scrollPastEnd!=R&&(this.$scrollPastEnd=R,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(R){this.$gutterLayer.$fixedWidth=!!R,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(R){this.$updateCustomScrollbar(R)},initialValue:!1},theme:{set:function(R){this.setTheme(R)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!S.isMobile&&!S.isIE}}),n.VirtualRenderer=L}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(t,n,m){"use strict";var f=t("../lib/oop"),g=t("../lib/net"),c=t("../lib/event_emitter").EventEmitter,o=t("../config");function h(s){var r="importScripts('"+g.qualifyURL(s)+"');";try{return new Blob([r],{type:"application/javascript"})}catch{var a=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return a.append(r),a.getBlob("application/javascript")}}function d(s){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(o.get("loadWorkerFromBlob")){var r=h(s),a=(window.URL||window.webkitURL).createObjectURL(r);return new Worker(a)}return new Worker(s)}var u=function(s){s.postMessage||(s=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=s,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){f.implement(this,c),this.$createWorkerFromOldConfig=function(s,r,a,p,v){if(t.nameToUrl&&!t.toUrl&&(t.toUrl=t.nameToUrl),o.get("packaged")||!t.toUrl)p=p||o.moduleUrl(r,"worker");else{var y=this.$normalizePath;p=p||y(t.toUrl("ace/worker/worker.js",null,"_"));var k={};s.forEach(function(x){k[x]=y(t.toUrl(x,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=d(p),v&&this.send("importScripts",v),this.$worker.postMessage({init:!0,tlns:k,module:r,classname:a}),this.$worker},this.onMessage=function(s){var r=s.data;switch(r.type){case"event":this._signal(r.name,{data:r.data});break;case"call":var a=this.callbacks[r.id];a&&(a(r.data),delete this.callbacks[r.id]);break;case"error":this.reportError(r.data);break;case"log":window.console&&console.log&&console.log.apply(console,r.data);break}},this.reportError=function(s){window.console&&console.error&&console.error(s)},this.$normalizePath=function(s){return g.qualifyURL(s)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(s){s.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(s,r){this.$worker.postMessage({command:s,args:r})},this.call=function(s,r,a){if(a){var p=this.callbackId++;this.callbacks[p]=a,r.push(p)}this.send(s,r)},this.emit=function(s,r){try{r.data&&r.data.err&&(r.data.err={message:r.data.err.message,stack:r.data.err.stack,code:r.data.err.code}),this.$worker&&this.$worker.postMessage({event:s,data:{data:r.data}})}catch(a){console.error(a.stack)}},this.attachToDocument=function(s){this.$doc&&this.terminate(),this.$doc=s,this.call("setValue",[s.getValue()]),s.on("change",this.changeListener,!0)},this.changeListener=function(s){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),s.action=="insert"?this.deltaQueue.push(s.start,s.lines):this.deltaQueue.push(s.start,s.end)},this.$sendDeltaQueue=function(){var s=this.deltaQueue;s&&(this.deltaQueue=null,s.length>50&&s.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:s}))}}).call(u.prototype);var l=function(s,r,a){var p=null,v=!1,y=Object.create(c),k=[],x=new u({messageBuffer:k,terminate:function(){},postMessage:function(S){k.push(S),p&&(v?setTimeout(w):w())}});x.setEmitSync=function(S){v=S};var w=function(){var S=k.shift();S.command?p[S.command].apply(p,S.args):S.event&&y._signal(S.event,S.data)};return y.postMessage=function(S){x.onMessage({data:S})},y.callback=function(S,M){this.postMessage({type:"call",id:M,data:S})},y.emit=function(S,M){this.postMessage({type:"event",name:S,data:M})},o.loadModule(["worker",r],function(S){for(p=new S[a](y);k.length;)w()}),x};n.UIWorkerClient=l,n.WorkerClient=u,n.createWorker=d}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(t,n,m){"use strict";var f=t("./range").Range,g=t("./lib/event_emitter").EventEmitter,c=t("./lib/oop"),o=(function(){function h(d,u,l,s,r,a){var p=this;this.length=u,this.session=d,this.doc=d.getDocument(),this.mainClass=r,this.othersClass=a,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=s,this.$onCursorChange=function(){setTimeout(function(){p.onCursorChange()})},this.$pos=l;var v=d.getUndoManager().$undoStack||d.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=v.length,this.setup(),d.selection.on("changeCursor",this.$onCursorChange)}return h.prototype.setup=function(){var d=this,u=this.doc,l=this.session;this.selectionBefore=l.selection.toJSON(),l.selection.inMultiSelectMode&&l.selection.toSingleRange(),this.pos=u.createAnchor(this.$pos.row,this.$pos.column);var s=this.pos;s.$insertRight=!0,s.detach(),s.markerId=l.addMarker(new f(s.row,s.column,s.row,s.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(r){var a=u.createAnchor(r.row,r.column);a.$insertRight=!0,a.detach(),d.others.push(a)}),l.setUndoSelect(!1)},h.prototype.showOtherMarkers=function(){if(!this.othersActive){var d=this.session,u=this;this.othersActive=!0,this.others.forEach(function(l){l.markerId=d.addMarker(new f(l.row,l.column,l.row,l.column+u.length),u.othersClass,null,!1)})}},h.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var d=0;d<this.others.length;d++)this.session.removeMarker(this.others[d].markerId)}},h.prototype.onUpdate=function(d){if(this.$updating)return this.updateAnchors(d);var u=d;if(u.start.row===u.end.row&&u.start.row===this.pos.row){this.$updating=!0;var l=d.action==="insert"?u.end.column-u.start.column:u.start.column-u.end.column,s=u.start.column>=this.pos.column&&u.start.column<=this.pos.column+this.length+1,r=u.start.column-this.pos.column;if(this.updateAnchors(d),s&&(this.length+=l),s&&!this.session.$fromUndo){if(d.action==="insert")for(var a=this.others.length-1;a>=0;a--){var p=this.others[a],v={row:p.row,column:p.column+r};this.doc.insertMergedLines(v,d.lines)}else if(d.action==="remove")for(var a=this.others.length-1;a>=0;a--){var p=this.others[a],v={row:p.row,column:p.column+r};this.doc.remove(new f(v.row,v.column,v.row,v.column-l))}}this.$updating=!1,this.updateMarkers()}},h.prototype.updateAnchors=function(d){this.pos.onChange(d);for(var u=this.others.length;u--;)this.others[u].onChange(d);this.updateMarkers()},h.prototype.updateMarkers=function(){if(!this.$updating){var d=this,u=this.session,l=function(r,a){u.removeMarker(r.markerId),r.markerId=u.addMarker(new f(r.row,r.column,r.row,r.column+d.length),a,null,!1)};l(this.pos,this.mainClass);for(var s=this.others.length;s--;)l(this.others[s],this.othersClass)}},h.prototype.onCursorChange=function(d){if(!(this.$updating||!this.session)){var u=this.session.selection.getCursor();u.row===this.pos.row&&u.column>=this.pos.column&&u.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",d)):(this.hideOtherMarkers(),this._emit("cursorLeave",d))}},h.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},h.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var d=this.session.getUndoManager(),u=(d.$undoStack||d.$undostack).length-this.$undoStackDepth,l=0;l<u;l++)d.undo(this.session,!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}},h})();c.implement(o.prototype,g),n.PlaceHolder=o}),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,n,m){var f=t("../lib/event"),g=t("../lib/useragent");function c(h,d){return h.row==d.row&&h.column==d.column}function o(h){var d=h.domEvent,u=d.altKey,l=d.shiftKey,s=d.ctrlKey,r=h.getAccelKey(),a=h.getButton();if(s&&g.isMac&&(a=d.button),h.editor.inMultiSelectMode&&a==2){h.editor.textInput.onContextMenu(h.domEvent);return}if(!s&&!u&&!r){a===0&&h.editor.inMultiSelectMode&&h.editor.exitMultiSelectMode();return}if(a===0){var p=h.editor,v=p.selection,y=p.inMultiSelectMode,k=h.getDocumentPosition(),x=v.getCursor(),w=h.inSelection()||v.isEmpty()&&c(k,x),S=h.x,M=h.y,L=function(F){S=F.clientX,M=F.clientY},R=p.session,$=p.renderer.pixelToScreenCoordinates(S,M),D=$,T;if(p.$mouseHandler.$enableJumpToDef)s&&u||r&&u?T=l?"block":"add":u&&p.$blockSelectEnabled&&(T="block");else if(r&&!u){if(T="add",!y&&l)return}else u&&p.$blockSelectEnabled&&(T="block");if(T&&g.isMac&&d.ctrlKey&&p.$mouseHandler.cancelContextMenu(),T=="add"){if(!y&&w)return;if(!y){var E=v.toOrientedRange();p.addSelectionMarker(E)}var C=v.rangeList.rangeAtPoint(k);p.inVirtualSelectionMode=!0,l&&(C=null,E=v.ranges[0]||E,p.removeSelectionMarker(E)),p.once("mouseup",function(){var F=v.toOrientedRange();C&&F.isEmpty()&&c(C.cursor,F.cursor)?v.substractPoint(F.cursor):(l?v.substractPoint(E.cursor):E&&(p.removeSelectionMarker(E),v.addRange(E)),v.addRange(F)),p.inVirtualSelectionMode=!1})}else if(T=="block"){h.stop(),p.inVirtualSelectionMode=!0;var b,A=[],_=function(){var F=p.renderer.pixelToScreenCoordinates(S,M),z=R.screenToDocumentPosition(F.row,F.column,F.offsetX);c(D,F)&&c(z,v.lead)||(D=F,p.selection.moveToPosition(z),p.renderer.scrollCursorIntoView(),p.removeSelectionMarkers(A),A=v.rectangularRangeBlock(D,$),p.$mouseHandler.$clickSelection&&A.length==1&&A[0].isEmpty()&&(A[0]=p.$mouseHandler.$clickSelection.clone()),A.forEach(p.addSelectionMarker,p),p.updateSelectionMarkers())};y&&!r?v.toSingleRange():!y&&r&&(b=v.toOrientedRange(),p.addSelectionMarker(b)),l?$=R.documentToScreenPosition(v.lead):v.moveToPosition(k),D={row:-1,column:-1};var O=function(F){_(),clearInterval(N),p.removeSelectionMarkers(A),A.length||(A=[v.toOrientedRange()]),b&&(p.removeSelectionMarker(b),v.toSingleRange(b));for(var z=0;z<A.length;z++)v.addRange(A[z]);p.inVirtualSelectionMode=!1,p.$mouseHandler.$clickSelection=null},I=_;f.capture(p.container,L,O);var N=setInterval(function(){I()},20);return h.preventDefault()}}}n.onMouseDown=o}),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(t,n,m){n.defaultCommands=[{name:"addCursorAbove",description:"Add cursor above",exec:function(g){g.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",description:"Add cursor below",exec:function(g){g.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",description:"Add cursor above (skip current)",exec:function(g){g.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",description:"Add cursor below (skip current)",exec:function(g){g.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",description:"Select more before",exec:function(g){g.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",description:"Select more after",exec:function(g){g.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",description:"Select next before",exec:function(g){g.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",description:"Select next after",exec:function(g){g.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"toggleSplitSelectionIntoLines",description:"Split selection into lines",exec:function(g){g.multiSelect.rangeCount>1?g.multiSelect.joinSelections():g.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(g){g.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(g){g.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(g){g.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],n.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(g){g.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(g){return g&&g.inMultiSelectMode}}];var f=t("../keyboard/hash_handler").HashHandler;n.keyboardHandler=new f(n.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(t,n,m){var f=t("./range_list").RangeList,g=t("./range").Range,c=t("./selection").Selection,o=t("./mouse/multi_select_handler").onMouseDown,h=t("./lib/event"),d=t("./lib/lang"),u=t("./commands/multi_select_commands");n.commands=u.defaultCommands.concat(u.multiSelectCommands);var l=t("./search").Search,s=new l;function r(x,w,S){return s.$options.wrap=!0,s.$options.needle=w,s.$options.backwards=S==-1,s.find(x)}var a=t("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(a.prototype),(function(){this.ranges=null,this.rangeList=null,this.addRange=function(x,w){if(x){if(!this.inMultiSelectMode&&this.rangeCount===0){var S=this.toOrientedRange();if(this.rangeList.add(S),this.rangeList.add(x),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),w||this.fromOrientedRange(x);this.rangeList.removeAll(),this.rangeList.add(S),this.$onAddRange(S)}x.cursor||(x.cursor=x.end);var M=this.rangeList.add(x);return this.$onAddRange(x),M.length&&this.$onRemoveRange(M),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),w||this.fromOrientedRange(x)}},this.toSingleRange=function(x){x=x||this.ranges[0];var w=this.rangeList.removeAll();w.length&&this.$onRemoveRange(w),x&&this.fromOrientedRange(x)},this.substractPoint=function(x){var w=this.rangeList.substractPoint(x);if(w)return this.$onRemoveRange(w),w[0]},this.mergeOverlappingRanges=function(){var x=this.rangeList.merge();x.length&&this.$onRemoveRange(x)},this.$onAddRange=function(x){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(x),this._signal("addRange",{range:x})},this.$onRemoveRange=function(x){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var w=this.rangeList.ranges.pop();x.push(w),this.rangeCount=0}for(var S=x.length;S--;){var M=this.ranges.indexOf(x[S]);this.ranges.splice(M,1)}this._signal("removeRange",{ranges:x}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),w=w||this.ranges[0],w&&!w.isEqual(this.getRange())&&this.fromOrientedRange(w)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new f,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var x=this.ranges.length?this.ranges:[this.getRange()],w=[],S=0;S<x.length;S++){var M=x[S],L=M.start.row,R=M.end.row;if(L===R)w.push(M.clone());else{for(w.push(new g(L,M.start.column,L,this.session.getLine(L).length));++L<R;)w.push(this.getLineRange(L,!0));w.push(new g(R,0,R,M.end.column))}S==0&&!this.isBackwards()&&(w=w.reverse())}this.toSingleRange();for(var S=w.length;S--;)this.addRange(w[S])},this.joinSelections=function(){var x=this.rangeList.ranges,w=x[x.length-1],S=g.fromPoints(x[0].start,w.end);this.toSingleRange(),this.setSelectionRange(S,w.cursor==w.start)},this.toggleBlockSelection=function(){if(this.rangeCount>1){var x=this.rangeList.ranges,w=x[x.length-1],S=g.fromPoints(x[0].start,w.end);this.toSingleRange(),this.setSelectionRange(S,w.cursor==w.start)}else{var M=this.session.documentToScreenPosition(this.cursor),L=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(M,L).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(x,w,S){var M=[],L=x.column<w.column;if(L)var R=x.column,$=w.column,D=x.offsetX,T=w.offsetX;else var R=w.column,$=x.column,D=w.offsetX,T=x.offsetX;var E=x.row<w.row;if(E)var C=x.row,b=w.row;else var C=w.row,b=x.row;R<0&&(R=0),C<0&&(C=0),C==b&&(S=!0);for(var A,_=C;_<=b;_++){var O=g.fromPoints(this.session.screenToDocumentPosition(_,R,D),this.session.screenToDocumentPosition(_,$,T));if(O.isEmpty()){if(A&&v(O.end,A))break;A=O.end}O.cursor=L?O.start:O.end,M.push(O)}if(E&&M.reverse(),!S){for(var I=M.length-1;M[I].isEmpty()&&I>0;)I--;if(I>0)for(var N=0;M[N].isEmpty();)N++;for(var F=I;F>=N;F--)M[F].isEmpty()&&M.splice(F,1)}return M}}).call(c.prototype);var p=t("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(x){x.cursor||(x.cursor=x.end);var w=this.getSelectionStyle();return x.marker=this.session.addMarker(x,"ace_selection",w),this.session.$selectionMarkers.push(x),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,x},this.removeSelectionMarker=function(x){if(x.marker){this.session.removeMarker(x.marker);var w=this.session.$selectionMarkers.indexOf(x);w!=-1&&this.session.$selectionMarkers.splice(w,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(x){for(var w=this.session.$selectionMarkers,S=x.length;S--;){var M=x[S];if(M.marker){this.session.removeMarker(M.marker);var L=w.indexOf(M);L!=-1&&w.splice(L,1)}}this.session.selectionMarkerCount=w.length},this.$onAddRange=function(x){this.addSelectionMarker(x.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(x){this.removeSelectionMarkers(x.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(x){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(u.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(x){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(u.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(x){var w=x.command,S=x.editor;if(S.multiSelect){if(w.multiSelectAction)w.multiSelectAction=="forEach"?M=S.forEachSelection(w,x.args):w.multiSelectAction=="forEachLine"?M=S.forEachSelection(w,x.args,!0):w.multiSelectAction=="single"?(S.exitMultiSelectMode(),M=w.exec(S,x.args||{})):M=w.multiSelectAction(S,x.args||{});else{var M=w.exec(S,x.args||{});S.multiSelect.addRange(S.multiSelect.toOrientedRange()),S.multiSelect.mergeOverlappingRanges()}return M}},this.forEachSelection=function(x,w,S){if(!this.inVirtualSelectionMode){var M=S&&S.keepOrder,L=S==!0||S&&S.$byLines,R=this.session,$=this.selection,D=$.rangeList,T=(M?$:D).ranges,E;if(!T.length)return x.exec?x.exec(this,w||{}):x(this,w||{});var C=$._eventRegistry;$._eventRegistry={};var b=new c(R);this.inVirtualSelectionMode=!0;for(var A=T.length;A--;){if(L)for(;A>0&&T[A].start.row==T[A-1].end.row;)A--;b.fromOrientedRange(T[A]),b.index=A,this.selection=R.selection=b;var _=x.exec?x.exec(this,w||{}):x(this,w||{});!E&&_!==void 0&&(E=_),b.toOrientedRange(T[A])}b.detach(),this.selection=R.selection=$,this.inVirtualSelectionMode=!1,$._eventRegistry=C,$.mergeOverlappingRanges(),$.ranges[0]&&$.fromOrientedRange($.ranges[0]);var O=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),O&&O.from==O.to&&this.renderer.animateScrolling(O.from),E}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var x="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var w=this.multiSelect.rangeList.ranges,S=[],M=0;M<w.length;M++)S.push(this.session.getTextRange(w[M]));var L=this.session.getDocument().getNewLineCharacter();x=S.join(L),x.length==(S.length-1)*L.length&&(x="")}else this.selection.isEmpty()||(x=this.session.getTextRange(this.getSelectionRange()));return x},this.$checkMultiselectChange=function(x,w){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var S=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&w==this.multiSelect.anchor)return;var M=w==this.multiSelect.anchor?S.cursor==S.start?S.end:S.start:S.cursor;M.row!=w.row||this.session.$clipPositionToDocument(M.row,M.column).column!=w.column?this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange()):this.multiSelect.mergeOverlappingRanges()}},this.findAll=function(x,w,S){if(w=w||{},w.needle=x||w.needle,w.needle==null){var M=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();w.needle=this.session.getTextRange(M)}this.$search.set(w);var L=this.$search.findAll(this.session);if(!L.length)return 0;var R=this.multiSelect;S||R.toSingleRange(L[0]);for(var $=L.length;$--;)R.addRange(L[$],!0);return M&&R.rangeList.rangeAtPoint(M.start)&&R.addRange(M,!0),L.length},this.selectMoreLines=function(x,w){var S=this.selection.toOrientedRange(),M=S.cursor==S.end,L=this.session.documentToScreenPosition(S.cursor);this.selection.$desiredColumn&&(L.column=this.selection.$desiredColumn);var R=this.session.screenToDocumentPosition(L.row+x,L.column);if(S.isEmpty())var D=R;else var $=this.session.documentToScreenPosition(M?S.end:S.start),D=this.session.screenToDocumentPosition($.row+x,$.column);if(M){var T=g.fromPoints(R,D);T.cursor=T.start}else{var T=g.fromPoints(D,R);T.cursor=T.end}if(T.desiredColumn=L.column,!this.selection.inMultiSelectMode)this.selection.addRange(S);else if(w)var E=S.cursor;this.selection.addRange(T),E&&this.selection.substractPoint(E)},this.transposeSelections=function(x){for(var w=this.session,S=w.multiSelect,M=S.ranges,L=M.length;L--;){var R=M[L];if(R.isEmpty()){var $=w.getWordRange(R.start.row,R.start.column);R.start.row=$.start.row,R.start.column=$.start.column,R.end.row=$.end.row,R.end.column=$.end.column}}S.mergeOverlappingRanges();for(var D=[],L=M.length;L--;){var R=M[L];D.unshift(w.getTextRange(R))}x<0?D.unshift(D.pop()):D.push(D.shift());for(var L=M.length;L--;){var R=M[L],T=R.clone();w.replace(R,D[L]),R.start.row=T.start.row,R.start.column=T.start.column}S.fromOrientedRange(S.ranges[0])},this.selectMore=function(x,w,S){var M=this.session,L=M.multiSelect.toOrientedRange();if(!(L.isEmpty()&&(L=M.getWordRange(L.start.row,L.start.column),L.cursor=x==-1?L.start:L.end,this.multiSelect.addRange(L),S))){var R=r(M,M.getTextRange(L),x);R&&(R.cursor=x==-1?R.start:R.end,this.session.unfold(R),this.multiSelect.addRange(R),this.renderer.scrollCursorIntoView(null,.5)),w&&this.multiSelect.substractPoint(L.cursor)}},this.alignCursors=function(){var x=this.session,w=x.multiSelect,S=w.ranges,M=-1,L=S.filter(function(I){if(I.cursor.row==M)return!0;M=I.cursor.row});if(!S.length||L.length==S.length-1){var R=this.selection.getRange(),$=R.start.row,D=R.end.row,T=$==D;if(T){var E=this.session.getLength(),C;do C=this.session.getLine(D);while(/[=:]/.test(C)&&++D<E);do C=this.session.getLine($);while(/[=:]/.test(C)&&--$>0);$<0&&($=0),D>=E&&(D=E-1)}var b=this.session.removeFullLines($,D);b=this.$reAlignText(b,T),this.session.insert({row:$,column:0},b.join(`
2110
+ }`}),ace.define("ace/layer/decorators",["require","exports","module","ace/lib/dom","ace/lib/oop","ace/lib/event_emitter"],function(t,n,m){"use strict";var f=t("../lib/dom"),g=t("../lib/oop"),c=t("../lib/event_emitter").EventEmitter,o=(function(){function h(d,u){this.renderer=u,this.pixelRatio=1,this.maxHeight=u.layerConfig.maxHeight,this.lineHeight=u.layerConfig.lineHeight,this.minDecorationHeight=2*this.pixelRatio|0,this.halfMinDecorationHeight=this.minDecorationHeight/2|0,this.colors={},this.colors.dark={error:"rgba(255, 18, 18, 1)",warning:"rgba(18, 136, 18, 1)",info:"rgba(18, 18, 136, 1)"},this.colors.light={error:"rgb(255,51,51)",warning:"rgb(32,133,72)",info:"rgb(35,68,138)"},this.setScrollBarV(d)}return h.prototype.$createCanvas=function(){this.canvas=f.createElement("canvas"),this.canvas.style.top="0px",this.canvas.style.right="0px",this.canvas.style.zIndex="7",this.canvas.style.position="absolute"},h.prototype.setScrollBarV=function(d){this.$createCanvas(),this.scrollbarV=d,d.element.appendChild(this.canvas),this.setDimensions()},h.prototype.$updateDecorators=function(d){if(typeof this.canvas.getContext!="function")return;var u=this.renderer.theme.isDark===!0?this.colors.dark:this.colors.light;this.setDimensions(d);var l=this.canvas.getContext("2d");function s(T,E){return T.priority<E.priority?-1:T.priority>E.priority?1:0}var r=this.renderer.session.$annotations;if(l.clearRect(0,0,this.canvas.width,this.canvas.height),r){var a={info:1,warning:2,error:3};r.forEach(function(T){T.priority=a[T.type]||null}),r=r.sort(s);for(var p=0;p<r.length;p++){var v=r[p].row,y=this.getVerticalOffsetForRow(v),k=y+this.lineHeight,x=Math.round(this.heightRatio*y),w=Math.round(this.heightRatio*k),S=Math.round((x+w)/2),M=w-S;M<this.halfMinDecorationHeight&&(M=this.halfMinDecorationHeight),S-M<0&&(S=M),S+M>this.canvasHeight&&(S=this.canvasHeight-M);var L=S-M,R=S+M-L;l.fillStyle=u[r[p].type]||null,l.fillRect(0,L,Math.round(this.oneZoneWidth-1),R)}}var $=this.renderer.session.selection.getCursor();if($){var D=Math.round(this.getVerticalOffsetForRow($.row)*this.heightRatio);l.fillStyle="rgba(0, 0, 0, 0.5)",l.fillRect(0,D,this.canvasWidth,2)}},h.prototype.getVerticalOffsetForRow=function(d){return d=d|0,this.renderer.session.documentToScreenRow(d,0)*this.lineHeight},h.prototype.setDimensions=function(d){d=d||this.renderer.layerConfig,this.maxHeight=d.maxHeight,this.lineHeight=d.lineHeight,this.canvasHeight=d.height,this.canvasWidth=this.scrollbarV.width||this.canvasWidth,this.setZoneWidth(),this.canvas.width=this.canvasWidth,this.canvas.height=this.canvasHeight,this.maxHeight<this.canvasHeight?this.heightRatio=1:this.heightRatio=this.canvasHeight/this.maxHeight},h.prototype.setZoneWidth=function(){this.oneZoneWidth=this.canvasWidth},h.prototype.destroy=function(){this.canvas.parentNode.removeChild(this.canvas)},h})();g.implement(o.prototype,c),n.Decorator=o}),ace.define("ace/virtual_renderer",["require","exports","module","ace/lib/oop","ace/lib/dom","ace/lib/lang","ace/config","ace/layer/gutter","ace/layer/marker","ace/layer/text","ace/layer/cursor","ace/scrollbar","ace/scrollbar","ace/scrollbar_custom","ace/scrollbar_custom","ace/renderloop","ace/layer/font_metrics","ace/lib/event_emitter","ace/css/editor-css","ace/layer/decorators","ace/lib/useragent","ace/layer/text_util"],function(t,n,m){"use strict";var f=t("./lib/oop"),g=t("./lib/dom"),c=t("./lib/lang"),o=t("./config"),h=t("./layer/gutter").Gutter,d=t("./layer/marker").Marker,u=t("./layer/text").Text,l=t("./layer/cursor").Cursor,s=t("./scrollbar").HScrollBar,r=t("./scrollbar").VScrollBar,a=t("./scrollbar_custom").HScrollBar,p=t("./scrollbar_custom").VScrollBar,v=t("./renderloop").RenderLoop,y=t("./layer/font_metrics").FontMetrics,k=t("./lib/event_emitter").EventEmitter,x=t("./css/editor-css"),w=t("./layer/decorators").Decorator,S=t("./lib/useragent"),M=t("./layer/text_util").isTextToken;g.importCssString(x,"ace_editor.css",!1);var L=(function(){function R($,D){var T=this;this.container=$||g.createElement("div"),g.addCssClass(this.container,"ace_editor"),g.HI_DPI&&g.addCssClass(this.container,"ace_hidpi"),this.setTheme(D),o.get("useStrictCSP")==null&&o.set("useStrictCSP",!1),this.$gutter=g.createElement("div"),this.$gutter.className="ace_gutter",this.container.appendChild(this.$gutter),this.$gutter.setAttribute("aria-hidden","true"),this.scroller=g.createElement("div"),this.scroller.className="ace_scroller",this.container.appendChild(this.scroller),this.content=g.createElement("div"),this.content.className="ace_content",this.scroller.appendChild(this.content),this.$gutterLayer=new h(this.$gutter),this.$gutterLayer.on("changeGutterWidth",this.onGutterResize.bind(this)),this.$markerBack=new d(this.content);var E=this.$textLayer=new u(this.content);this.canvas=E.element,this.$markerFront=new d(this.content),this.$cursorLayer=new l(this.content),this.$horizScroll=!1,this.$vScroll=!1,this.scrollBar=this.scrollBarV=new r(this.container,this),this.scrollBarH=new s(this.container,this),this.scrollBarV.on("scroll",function(C){T.$scrollAnimation||T.session.setScrollTop(C.data-T.scrollMargin.top)}),this.scrollBarH.on("scroll",function(C){T.$scrollAnimation||T.session.setScrollLeft(C.data-T.scrollMargin.left)}),this.scrollTop=0,this.scrollLeft=0,this.cursorPos={row:0,column:0},this.$fontMetrics=new y(this.container),this.$textLayer.$setFontMetrics(this.$fontMetrics),this.$textLayer.on("changeCharacterSize",function(C){T.updateCharacterSize(),T.onResize(!0,T.gutterWidth,T.$size.width,T.$size.height),T._signal("changeCharacterSize",C)}),this.$size={width:0,height:0,scrollerHeight:0,scrollerWidth:0,$dirty:!0},this.layerConfig={width:1,padding:0,firstRow:0,firstRowScreen:0,lastRow:0,lineHeight:0,characterWidth:0,minHeight:1,maxHeight:1,offset:0,height:1,gutterOffset:1},this.scrollMargin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.margin={left:0,right:0,top:0,bottom:0,v:0,h:0},this.$keepTextAreaAtCursor=!S.isIOS,this.$loop=new v(this.$renderChanges.bind(this),this.container.ownerDocument.defaultView),this.$loop.schedule(this.CHANGE_FULL),this.updateCharacterSize(),this.setPadding(4),this.$addResizeObserver(),o.resetOptions(this),o._signal("renderer",this)}return R.prototype.updateCharacterSize=function(){this.$textLayer.allowBoldFonts!=this.$allowBoldFonts&&(this.$allowBoldFonts=this.$textLayer.allowBoldFonts,this.setStyle("ace_nobold",!this.$allowBoldFonts)),this.layerConfig.characterWidth=this.characterWidth=this.$textLayer.getCharacterWidth(),this.layerConfig.lineHeight=this.lineHeight=this.$textLayer.getLineHeight(),this.$updatePrintMargin(),g.setStyle(this.scroller.style,"line-height",this.lineHeight+"px")},R.prototype.setSession=function($){this.session&&this.session.doc.off("changeNewLineMode",this.onChangeNewLineMode),this.session=$,$&&this.scrollMargin.top&&$.getScrollTop()<=0&&$.setScrollTop(-this.scrollMargin.top),this.$cursorLayer.setSession($),this.$markerBack.setSession($),this.$markerFront.setSession($),this.$gutterLayer.setSession($),this.$textLayer.setSession($),$&&(this.$loop.schedule(this.CHANGE_FULL),this.session.$setFontMetrics(this.$fontMetrics),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.onChangeNewLineMode=this.onChangeNewLineMode.bind(this),this.onChangeNewLineMode(),this.session.doc.on("changeNewLineMode",this.onChangeNewLineMode))},R.prototype.updateLines=function($,D,T){if(D===void 0&&(D=1/0),this.$changedLines?(this.$changedLines.firstRow>$&&(this.$changedLines.firstRow=$),this.$changedLines.lastRow<D&&(this.$changedLines.lastRow=D)):this.$changedLines={firstRow:$,lastRow:D},this.$changedLines.lastRow<this.layerConfig.firstRow)if(T)this.$changedLines.lastRow=this.layerConfig.lastRow;else return;this.$changedLines.firstRow>this.layerConfig.lastRow||this.$loop.schedule(this.CHANGE_LINES)},R.prototype.onChangeNewLineMode=function(){this.$loop.schedule(this.CHANGE_TEXT),this.$textLayer.$updateEolChar(),this.session.$bidiHandler.setEolChar(this.$textLayer.EOL_CHAR)},R.prototype.onChangeTabSize=function(){this.$loop.schedule(this.CHANGE_TEXT|this.CHANGE_MARKER),this.$textLayer.onChangeTabSize()},R.prototype.updateText=function(){this.$loop.schedule(this.CHANGE_TEXT)},R.prototype.updateFull=function($){$?this.$renderChanges(this.CHANGE_FULL,!0):this.$loop.schedule(this.CHANGE_FULL)},R.prototype.updateFontSize=function(){this.$textLayer.checkForSizeChanges()},R.prototype.$updateSizeAsync=function(){this.$loop.pending?this.$size.$dirty=!0:this.onResize()},R.prototype.onResize=function($,D,T,E){if(!(this.resizing>2)){this.resizing>0?this.resizing++:this.resizing=$?1:0;var C=this.container;E||(E=C.clientHeight||C.scrollHeight),!E&&this.$maxLines&&this.lineHeight>1&&(!C.style.height||C.style.height=="0px")&&(C.style.height="1px",E=C.clientHeight||C.scrollHeight),T||(T=C.clientWidth||C.scrollWidth);var b=this.$updateCachedSize($,D,T,E);if(this.$resizeTimer&&this.$resizeTimer.cancel(),!this.$size.scrollerHeight||!T&&!E)return this.resizing=0;$&&(this.$gutterLayer.$padding=null),$?this.$renderChanges(b|this.$changes,!0):this.$loop.schedule(b|this.$changes),this.resizing&&(this.resizing=0),this.scrollBarH.scrollLeft=this.scrollBarV.scrollTop=null,this.$customScrollbar&&this.$updateCustomScrollbar(!0)}},R.prototype.$updateCachedSize=function($,D,T,E){E-=this.$extraHeight||0;var C=0,b=this.$size,A={width:b.width,height:b.height,scrollerHeight:b.scrollerHeight,scrollerWidth:b.scrollerWidth};if(E&&($||b.height!=E)&&(b.height=E,C|=this.CHANGE_SIZE,b.scrollerHeight=b.height,this.$horizScroll&&(b.scrollerHeight-=this.scrollBarH.getHeight()),this.scrollBarV.setHeight(b.scrollerHeight),this.scrollBarV.element.style.bottom=this.scrollBarH.getHeight()+"px",C=C|this.CHANGE_SCROLL),T&&($||b.width!=T)){C|=this.CHANGE_SIZE,b.width=T,D==null&&(D=this.$showGutter?this.$gutter.offsetWidth:0),this.gutterWidth=D,g.setStyle(this.scrollBarH.element.style,"left",D+"px"),g.setStyle(this.scroller.style,"left",D+this.margin.left+"px"),b.scrollerWidth=Math.max(0,T-D-this.scrollBarV.getWidth()-this.margin.h),g.setStyle(this.$gutter.style,"left",this.margin.left+"px");var _=this.scrollBarV.getWidth()+"px";g.setStyle(this.scrollBarH.element.style,"right",_),g.setStyle(this.scroller.style,"right",_),g.setStyle(this.scroller.style,"bottom",this.scrollBarH.getHeight()),this.scrollBarH.setWidth(b.scrollerWidth),(this.session&&this.session.getUseWrapMode()&&this.adjustWrapLimit()||$)&&(C|=this.CHANGE_FULL)}return b.$dirty=!T||!E,C&&this._signal("resize",A),C},R.prototype.onGutterResize=function($){var D=this.$showGutter?$:0;D!=this.gutterWidth&&(this.$changes|=this.$updateCachedSize(!0,D,this.$size.width,this.$size.height)),this.session.getUseWrapMode()&&this.adjustWrapLimit()?this.$loop.schedule(this.CHANGE_FULL):this.$size.$dirty?this.$loop.schedule(this.CHANGE_FULL):this.$computeLayerConfig()},R.prototype.adjustWrapLimit=function(){var $=this.$size.scrollerWidth-this.$padding*2,D=Math.floor($/this.characterWidth);return this.session.adjustWrapLimit(D,this.$showPrintMargin&&this.$printMarginColumn)},R.prototype.setAnimatedScroll=function($){this.setOption("animatedScroll",$)},R.prototype.getAnimatedScroll=function(){return this.$animatedScroll},R.prototype.setShowInvisibles=function($){this.setOption("showInvisibles",$),this.session.$bidiHandler.setShowInvisibles($)},R.prototype.getShowInvisibles=function(){return this.getOption("showInvisibles")},R.prototype.getDisplayIndentGuides=function(){return this.getOption("displayIndentGuides")},R.prototype.setDisplayIndentGuides=function($){this.setOption("displayIndentGuides",$)},R.prototype.getHighlightIndentGuides=function(){return this.getOption("highlightIndentGuides")},R.prototype.setHighlightIndentGuides=function($){this.setOption("highlightIndentGuides",$)},R.prototype.setShowPrintMargin=function($){this.setOption("showPrintMargin",$)},R.prototype.getShowPrintMargin=function(){return this.getOption("showPrintMargin")},R.prototype.setPrintMarginColumn=function($){this.setOption("printMarginColumn",$)},R.prototype.getPrintMarginColumn=function(){return this.getOption("printMarginColumn")},R.prototype.getShowGutter=function(){return this.getOption("showGutter")},R.prototype.setShowGutter=function($){return this.setOption("showGutter",$)},R.prototype.getFadeFoldWidgets=function(){return this.getOption("fadeFoldWidgets")},R.prototype.setFadeFoldWidgets=function($){this.setOption("fadeFoldWidgets",$)},R.prototype.setHighlightGutterLine=function($){this.setOption("highlightGutterLine",$)},R.prototype.getHighlightGutterLine=function(){return this.getOption("highlightGutterLine")},R.prototype.$updatePrintMargin=function(){if(!(!this.$showPrintMargin&&!this.$printMarginEl)){if(!this.$printMarginEl){var $=g.createElement("div");$.className="ace_layer ace_print-margin-layer",this.$printMarginEl=g.createElement("div"),this.$printMarginEl.className="ace_print-margin",$.appendChild(this.$printMarginEl),this.content.insertBefore($,this.content.firstChild)}var D=this.$printMarginEl.style;D.left=Math.round(this.characterWidth*this.$printMarginColumn+this.$padding)+"px",D.visibility=this.$showPrintMargin?"visible":"hidden",this.session&&this.session.$wrap==-1&&this.adjustWrapLimit()}},R.prototype.getContainerElement=function(){return this.container},R.prototype.getMouseEventTarget=function(){return this.scroller},R.prototype.getTextAreaContainer=function(){return this.container},R.prototype.$moveTextAreaToCursor=function(){if(!this.$isMousePressed){var $=this.textarea.style,D=this.$composition;if(!this.$keepTextAreaAtCursor&&!D){g.translate(this.textarea,-100,0);return}var T=this.$cursorLayer.$pixelPos;if(T){D&&D.markerRange&&(T=this.$cursorLayer.getPixelPosition(D.markerRange.start,!0));var E=this.layerConfig,C=T.top,b=T.left;C-=E.offset;var A=D&&D.useTextareaForIME||S.isMobile?this.lineHeight:1;if(C<0||C>E.height-A){g.translate(this.textarea,0,0);return}var _=1,O=this.$size.height-A;if(!D)C+=this.lineHeight;else if(D.useTextareaForIME){var I=this.textarea.value;_=this.characterWidth*this.session.$getStringScreenWidth(I)[0]}else C+=this.lineHeight+2;b-=this.scrollLeft,b>this.$size.scrollerWidth-_&&(b=this.$size.scrollerWidth-_),b+=this.gutterWidth+this.margin.left,g.setStyle($,"height",A+"px"),g.setStyle($,"width",_+"px"),g.translate(this.textarea,Math.min(b,this.$size.scrollerWidth-_),Math.min(C,O))}}},R.prototype.getFirstVisibleRow=function(){return this.layerConfig.firstRow},R.prototype.getFirstFullyVisibleRow=function(){return this.layerConfig.firstRow+(this.layerConfig.offset===0?0:1)},R.prototype.getLastFullyVisibleRow=function(){var $=this.layerConfig,D=$.lastRow;return this.session.documentToScreenRow(D,0)*$.lineHeight-this.session.getScrollTop()>$.height-$.lineHeight?D-1:D},R.prototype.getLastVisibleRow=function(){return this.layerConfig.lastRow},R.prototype.setPadding=function($){this.$padding=$,this.$textLayer.setPadding($),this.$cursorLayer.setPadding($),this.$markerFront.setPadding($),this.$markerBack.setPadding($),this.$loop.schedule(this.CHANGE_FULL),this.$updatePrintMargin()},R.prototype.setScrollMargin=function($,D,T,E){var C=this.scrollMargin;C.top=$|0,C.bottom=D|0,C.right=E|0,C.left=T|0,C.v=C.top+C.bottom,C.h=C.left+C.right,C.top&&this.scrollTop<=0&&this.session&&this.session.setScrollTop(-C.top),this.updateFull()},R.prototype.setMargin=function($,D,T,E){var C=this.margin;C.top=$|0,C.bottom=D|0,C.right=E|0,C.left=T|0,C.v=C.top+C.bottom,C.h=C.left+C.right,this.$updateCachedSize(!0,this.gutterWidth,this.$size.width,this.$size.height),this.updateFull()},R.prototype.getHScrollBarAlwaysVisible=function(){return this.$hScrollBarAlwaysVisible},R.prototype.setHScrollBarAlwaysVisible=function($){this.setOption("hScrollBarAlwaysVisible",$)},R.prototype.getVScrollBarAlwaysVisible=function(){return this.$vScrollBarAlwaysVisible},R.prototype.setVScrollBarAlwaysVisible=function($){this.setOption("vScrollBarAlwaysVisible",$)},R.prototype.$updateScrollBarV=function(){var $=this.layerConfig.maxHeight,D=this.$size.scrollerHeight;!this.$maxLines&&this.$scrollPastEnd&&($-=(D-this.lineHeight)*this.$scrollPastEnd,this.scrollTop>$-D&&($=this.scrollTop+D,this.scrollBarV.scrollTop=null)),this.scrollBarV.setScrollHeight($+this.scrollMargin.v),this.scrollBarV.setScrollTop(this.scrollTop+this.scrollMargin.top)},R.prototype.$updateScrollBarH=function(){this.scrollBarH.setScrollWidth(this.layerConfig.width+2*this.$padding+this.scrollMargin.h),this.scrollBarH.setScrollLeft(this.scrollLeft+this.scrollMargin.left)},R.prototype.freeze=function(){this.$frozen=!0},R.prototype.unfreeze=function(){this.$frozen=!1},R.prototype.$renderChanges=function($,D){if(this.$changes&&($|=this.$changes,this.$changes=0),!this.session||!this.container.offsetWidth||this.$frozen||!$&&!D){this.$changes|=$;return}if(this.$size.$dirty)return this.$changes|=$,this.onResize(!0);this.lineHeight||this.$textLayer.checkForSizeChanges(),this._signal("beforeRender",$),this.session&&this.session.$bidiHandler&&this.session.$bidiHandler.updateCharacterWidths(this.$fontMetrics);var T=this.layerConfig;if($&this.CHANGE_FULL||$&this.CHANGE_SIZE||$&this.CHANGE_TEXT||$&this.CHANGE_LINES||$&this.CHANGE_SCROLL||$&this.CHANGE_H_SCROLL){if($|=this.$computeLayerConfig()|this.$loop.clear(),T.firstRow!=this.layerConfig.firstRow&&T.firstRowScreen==this.layerConfig.firstRowScreen){var E=this.scrollTop+(T.firstRow-Math.max(this.layerConfig.firstRow,0))*this.lineHeight;E>0&&(this.scrollTop=E,$=$|this.CHANGE_SCROLL,$|=this.$computeLayerConfig()|this.$loop.clear())}T=this.layerConfig,this.$updateScrollBarV(),$&this.CHANGE_H_SCROLL&&this.$updateScrollBarH(),g.translate(this.content,-this.scrollLeft,-T.offset);var C=T.width+2*this.$padding+"px",b=T.minHeight+"px";g.setStyle(this.content.style,"width",C),g.setStyle(this.content.style,"height",b)}if($&this.CHANGE_H_SCROLL&&(g.translate(this.content,-this.scrollLeft,-T.offset),this.scroller.className=this.scrollLeft<=0?"ace_scroller ":"ace_scroller ace_scroll-left ",this.enableKeyboardAccessibility&&(this.scroller.className+=this.keyboardFocusClassName)),$&this.CHANGE_FULL){this.$changedLines=null,this.$textLayer.update(T),this.$showGutter&&this.$gutterLayer.update(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T),this.$markerBack.update(T),this.$markerFront.update(T),this.$cursorLayer.update(T),this.$moveTextAreaToCursor(),this._signal("afterRender",$);return}if($&this.CHANGE_SCROLL){this.$changedLines=null,$&this.CHANGE_TEXT||$&this.CHANGE_LINES?this.$textLayer.update(T):this.$textLayer.scrollLines(T),this.$showGutter&&($&this.CHANGE_GUTTER||$&this.CHANGE_LINES?this.$gutterLayer.update(T):this.$gutterLayer.scrollLines(T)),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T),this.$markerBack.update(T),this.$markerFront.update(T),this.$cursorLayer.update(T),this.$moveTextAreaToCursor(),this._signal("afterRender",$);return}$&this.CHANGE_TEXT?(this.$changedLines=null,this.$textLayer.update(T),this.$showGutter&&this.$gutterLayer.update(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T)):$&this.CHANGE_LINES?((this.$updateLines()||$&this.CHANGE_GUTTER&&this.$showGutter)&&this.$gutterLayer.update(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T)):$&this.CHANGE_TEXT||$&this.CHANGE_GUTTER?(this.$showGutter&&this.$gutterLayer.update(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T)):$&this.CHANGE_CURSOR&&(this.$highlightGutterLine&&this.$gutterLayer.updateLineHighlight(T),this.$customScrollbar&&this.$scrollDecorator.$updateDecorators(T)),$&this.CHANGE_CURSOR&&(this.$cursorLayer.update(T),this.$moveTextAreaToCursor()),$&(this.CHANGE_MARKER|this.CHANGE_MARKER_FRONT)&&this.$markerFront.update(T),$&(this.CHANGE_MARKER|this.CHANGE_MARKER_BACK)&&this.$markerBack.update(T),this._signal("afterRender",$)},R.prototype.$autosize=function(){var $=this.session.getScreenLength()*this.lineHeight,D=this.$maxLines*this.lineHeight,T=Math.min(D,Math.max((this.$minLines||1)*this.lineHeight,$))+this.scrollMargin.v+(this.$extraHeight||0);this.$horizScroll&&(T+=this.scrollBarH.getHeight()),this.$maxPixelHeight&&T>this.$maxPixelHeight&&(T=this.$maxPixelHeight);var E=!(T<=2*this.lineHeight)&&$>D;if(T!=this.desiredHeight||this.$size.height!=this.desiredHeight||E!=this.$vScroll){E!=this.$vScroll&&(this.$vScroll=E,this.scrollBarV.setVisible(E));var C=this.container.clientWidth;this.container.style.height=T+"px",this.$updateCachedSize(!0,this.$gutterWidth,C,T),this.desiredHeight=T,this._signal("autosize")}},R.prototype.$computeLayerConfig=function(){var $=this.session,D=this.$size,T=D.height<=2*this.lineHeight,E=this.session.getScreenLength()*this.lineHeight,C=this.$getLongestLine(),b=!T&&(this.$hScrollBarAlwaysVisible||D.scrollerWidth-C-2*this.$padding<0),A=this.$horizScroll!==b;A&&(this.$horizScroll=b,this.scrollBarH.setVisible(b));var _=this.$vScroll;this.$maxLines&&this.lineHeight>1&&(this.$autosize(),T=D.height<=2*this.lineHeight);var O=D.scrollerHeight+this.lineHeight,I=!this.$maxLines&&this.$scrollPastEnd?(D.scrollerHeight-this.lineHeight)*this.$scrollPastEnd:0;E+=I;var N=this.scrollMargin;this.session.setScrollTop(Math.max(-N.top,Math.min(this.scrollTop,E-D.scrollerHeight+N.bottom))),this.session.setScrollLeft(Math.max(-N.left,Math.min(this.scrollLeft,C+2*this.$padding-D.scrollerWidth+N.right)));var F=!T&&(this.$vScrollBarAlwaysVisible||D.scrollerHeight-E+I<0||this.scrollTop>N.top),z=_!==F;z&&(this.$vScroll=F,this.scrollBarV.setVisible(F));var P=this.scrollTop%this.lineHeight,B=Math.ceil(O/this.lineHeight)-1,W=Math.max(0,Math.round((this.scrollTop-P)/this.lineHeight)),H=W+B,U,G,Y=this.lineHeight;W=$.screenToDocumentRow(W,0);var q=$.getFoldLine(W);q&&(W=q.start.row),U=$.documentToScreenRow(W,0),G=$.getRowLength(W)*Y,H=Math.min($.screenToDocumentRow(H,0),$.getLength()-1),O=D.scrollerHeight+$.getRowLength(H)*Y+G,P=this.scrollTop-U*Y,P<0&&U>0&&(U=Math.max(0,U+Math.floor(P/Y)),P=this.scrollTop-U*Y);var Q=0;return(this.layerConfig.width!=C||A)&&(Q=this.CHANGE_H_SCROLL),(A||z)&&(Q|=this.$updateCachedSize(!0,this.gutterWidth,D.width,D.height),this._signal("scrollbarVisibilityChanged"),z&&(C=this.$getLongestLine())),this.layerConfig={width:C,padding:this.$padding,firstRow:W,firstRowScreen:U,lastRow:H,lineHeight:Y,characterWidth:this.characterWidth,minHeight:O,maxHeight:E,offset:P,gutterOffset:Y?Math.max(0,Math.ceil((P+D.height-D.scrollerHeight)/Y)):0,height:this.$size.scrollerHeight},this.session.$bidiHandler&&this.session.$bidiHandler.setContentWidth(C-this.$padding),Q},R.prototype.$updateLines=function(){if(this.$changedLines){var $=this.$changedLines.firstRow,D=this.$changedLines.lastRow;this.$changedLines=null;var T=this.layerConfig;if(!($>T.lastRow+1)&&!(D<T.firstRow)){if(D===1/0){this.$showGutter&&this.$gutterLayer.update(T),this.$textLayer.update(T);return}return this.$textLayer.updateLines(T,$,D),!0}}},R.prototype.$getLongestLine=function(){var $=this.session.getScreenWidth();return this.showInvisibles&&!this.session.$useWrapMode&&($+=1),this.$textLayer&&$>this.$textLayer.MAX_LINE_LENGTH&&($=this.$textLayer.MAX_LINE_LENGTH+30),Math.max(this.$size.scrollerWidth-2*this.$padding,Math.round($*this.characterWidth))},R.prototype.updateFrontMarkers=function(){this.$markerFront.setMarkers(this.session.getMarkers(!0)),this.$loop.schedule(this.CHANGE_MARKER_FRONT)},R.prototype.updateBackMarkers=function(){this.$markerBack.setMarkers(this.session.getMarkers()),this.$loop.schedule(this.CHANGE_MARKER_BACK)},R.prototype.addGutterDecoration=function($,D){this.$gutterLayer.addGutterDecoration($,D)},R.prototype.removeGutterDecoration=function($,D){this.$gutterLayer.removeGutterDecoration($,D)},R.prototype.updateBreakpoints=function($){this._rows=$,this.$loop.schedule(this.CHANGE_GUTTER)},R.prototype.setAnnotations=function($){this.$gutterLayer.setAnnotations($),this.$loop.schedule(this.CHANGE_GUTTER)},R.prototype.updateCursor=function(){this.$loop.schedule(this.CHANGE_CURSOR)},R.prototype.hideCursor=function(){this.$cursorLayer.hideCursor()},R.prototype.showCursor=function(){this.$cursorLayer.showCursor()},R.prototype.scrollSelectionIntoView=function($,D,T){this.scrollCursorIntoView($,T),this.scrollCursorIntoView(D,T)},R.prototype.scrollCursorIntoView=function($,D,T){if(this.$size.scrollerHeight!==0){var E=this.$cursorLayer.getPixelPosition($),C=E.left,b=E.top,A=T&&T.top||0,_=T&&T.bottom||0;this.$scrollAnimation&&(this.$stopAnimation=!0);var O=this.$scrollAnimation?this.session.getScrollTop():this.scrollTop;O+A>b?(D&&O+A>b+this.lineHeight&&(b-=D*this.$size.scrollerHeight),b===0&&(b=-this.scrollMargin.top),this.session.setScrollTop(b)):O+this.$size.scrollerHeight-_<b+this.lineHeight&&(D&&O+this.$size.scrollerHeight-_<b-this.lineHeight&&(b+=D*this.$size.scrollerHeight),this.session.setScrollTop(b+this.lineHeight+_-this.$size.scrollerHeight));var I=this.scrollLeft,N=2*this.layerConfig.characterWidth;C-N<I?(C-=N,C<this.$padding+N&&(C=-this.scrollMargin.left),this.session.setScrollLeft(C)):(C+=N,I+this.$size.scrollerWidth<C+this.characterWidth?this.session.setScrollLeft(Math.round(C+this.characterWidth-this.$size.scrollerWidth)):I<=this.$padding&&C-I<this.characterWidth&&this.session.setScrollLeft(0))}},R.prototype.getScrollTop=function(){return this.session.getScrollTop()},R.prototype.getScrollLeft=function(){return this.session.getScrollLeft()},R.prototype.getScrollTopRow=function(){return this.scrollTop/this.lineHeight},R.prototype.getScrollBottomRow=function(){return Math.max(0,Math.floor((this.scrollTop+this.$size.scrollerHeight)/this.lineHeight)-1)},R.prototype.scrollToRow=function($){this.session.setScrollTop($*this.lineHeight)},R.prototype.alignCursor=function($,D){typeof $=="number"&&($={row:$,column:0});var T=this.$cursorLayer.getPixelPosition($),E=this.$size.scrollerHeight-this.lineHeight,C=T.top-E*(D||0);return this.session.setScrollTop(C),C},R.prototype.$calcSteps=function($,D){var T=0,E=this.STEPS,C=[],b=function(A,_,O){return O*(Math.pow(A-1,3)+1)+_};for(T=0;T<E;++T)C.push(b(T/this.STEPS,$,D-$));return C},R.prototype.scrollToLine=function($,D,T,E){var C=this.$cursorLayer.getPixelPosition({row:$,column:0}).top;D&&(C-=this.$size.scrollerHeight/2);var b=this.scrollTop;this.session.setScrollTop(C),T!==!1&&this.animateScrolling(b,E)},R.prototype.animateScrolling=function($,D){var T=this.scrollTop;if(!this.$animatedScroll)return;var E=this;if($==T)return;if(this.$scrollAnimation){var C=this.$scrollAnimation.steps;if(C.length&&($=C[0],$==T))return}var b=E.$calcSteps($,T);this.$scrollAnimation={from:$,to:T,steps:b},clearInterval(this.$timer),E.session.setScrollTop(b.shift()),E.session.$scrollTop=T;function A(){E.$timer=clearInterval(E.$timer),E.$scrollAnimation=null,E.$stopAnimation=!1,D&&D()}this.$timer=setInterval(function(){if(E.$stopAnimation){A();return}if(!E.session)return clearInterval(E.$timer);b.length?(E.session.setScrollTop(b.shift()),E.session.$scrollTop=T):T!=null?(E.session.$scrollTop=-1,E.session.setScrollTop(T),T=null):A()},10)},R.prototype.scrollToY=function($){this.scrollTop!==$&&(this.$loop.schedule(this.CHANGE_SCROLL),this.scrollTop=$)},R.prototype.scrollToX=function($){this.scrollLeft!==$&&(this.scrollLeft=$),this.$loop.schedule(this.CHANGE_H_SCROLL)},R.prototype.scrollTo=function($,D){this.session.setScrollTop(D),this.session.setScrollLeft($)},R.prototype.scrollBy=function($,D){D&&this.session.setScrollTop(this.session.getScrollTop()+D),$&&this.session.setScrollLeft(this.session.getScrollLeft()+$)},R.prototype.isScrollableBy=function($,D){if(D<0&&this.session.getScrollTop()>=1-this.scrollMargin.top||D>0&&this.session.getScrollTop()+this.$size.scrollerHeight-this.layerConfig.maxHeight<-1+this.scrollMargin.bottom||$<0&&this.session.getScrollLeft()>=1-this.scrollMargin.left||$>0&&this.session.getScrollLeft()+this.$size.scrollerWidth-this.layerConfig.width<-1+this.scrollMargin.right)return!0},R.prototype.pixelToScreenCoordinates=function($,D){var T;if(this.$hasCssTransforms){T={top:0,left:0};var E=this.$fontMetrics.transformCoordinates([$,D]);$=E[1]-this.gutterWidth-this.margin.left,D=E[0]}else T=this.scroller.getBoundingClientRect();var C=$+this.scrollLeft-T.left-this.$padding,b=C/this.characterWidth,A=Math.floor((D+this.scrollTop-T.top)/this.lineHeight),_=this.$blockCursor?Math.floor(b):Math.round(b);return{row:A,column:_,side:b-_>0?1:-1,offsetX:C}},R.prototype.screenToTextCoordinates=function($,D){var T;if(this.$hasCssTransforms){T={top:0,left:0};var E=this.$fontMetrics.transformCoordinates([$,D]);$=E[1]-this.gutterWidth-this.margin.left,D=E[0]}else T=this.scroller.getBoundingClientRect();var C=$+this.scrollLeft-T.left-this.$padding,b=C/this.characterWidth,A=this.$blockCursor?Math.floor(b):Math.round(b),_=(D+this.scrollTop-T.top)/this.lineHeight;return this.session.screenToDocumentPosition(_,Math.max(A,0),C)},R.prototype.textToScreenCoordinates=function($,D){var T=this.scroller.getBoundingClientRect(),E=this.session.documentToScreenPosition($,D),C=this.$padding+(this.session.$bidiHandler.isBidiRow(E.row,$)?this.session.$bidiHandler.getPosLeft(E.column):Math.round(E.column*this.characterWidth)),b=E.row*this.lineHeight;return{pageX:T.left+C-this.scrollLeft,pageY:T.top+b-this.scrollTop}},R.prototype.visualizeFocus=function(){g.addCssClass(this.container,"ace_focus")},R.prototype.visualizeBlur=function(){g.removeCssClass(this.container,"ace_focus")},R.prototype.showComposition=function($){this.$composition=$,$.cssText||($.cssText=this.textarea.style.cssText),$.useTextareaForIME==null&&($.useTextareaForIME=this.$useTextareaForIME),this.$useTextareaForIME?(g.addCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText="",this.$moveTextAreaToCursor(),this.$cursorLayer.element.style.display="none"):$.markerId=this.session.addMarker($.markerRange,"ace_composition_marker","text")},R.prototype.setCompositionText=function($){var D=this.session.selection.cursor;this.addToken($,"composition_placeholder",D.row,D.column),this.$moveTextAreaToCursor()},R.prototype.hideComposition=function(){if(this.$composition){this.$composition.markerId&&this.session.removeMarker(this.$composition.markerId),g.removeCssClass(this.textarea,"ace_composition"),this.textarea.style.cssText=this.$composition.cssText;var $=this.session.selection.cursor;this.removeExtraToken($.row,$.column),this.$composition=null,this.$cursorLayer.element.style.display=""}},R.prototype.setGhostText=function($,D){var T=this.session.selection.cursor,E=D||{row:T.row,column:T.column};this.removeGhostText();var C=this.$calculateWrappedTextChunks($,E);this.addToken(C[0].text,"ghost_text",E.row,E.column),this.$ghostText={text:$,position:{row:E.row,column:E.column}};var b=g.createElement("div");if(C.length>1){var A=this.hideTokensAfterPosition(E.row,E.column),_;C.slice(1).forEach(function(F){var z=g.createElement("div"),P=g.createElement("span");P.className="ace_ghost_text",F.wrapped&&(z.className="ghost_text_line_wrapped"),F.text.length===0&&(F.text=" "),P.appendChild(g.createTextNode(F.text)),z.appendChild(P),b.appendChild(z),_=z}),A.forEach(function(F){var z=g.createElement("span");M(F.type)||(z.className="ace_"+F.type.replace(/\./g," ace_")),z.appendChild(g.createTextNode(F.value)),_.appendChild(z)}),this.$ghostTextWidget={el:b,row:E.row,column:E.column,className:"ace_ghost_text_container"},this.session.widgetManager.addLineWidget(this.$ghostTextWidget);var O=this.$cursorLayer.getPixelPosition(E,!0),I=this.container.getBoundingClientRect().height,N=C.length*this.lineHeight;if(N<I-O.top)return;N<I?this.scrollBy(0,(C.length-1)*this.lineHeight):this.scrollToRow(E.row)}},R.prototype.$calculateWrappedTextChunks=function($,D){var T=this.$size.scrollerWidth-this.$padding*2,E=Math.floor(T/this.characterWidth)-2;E=E<=0?60:E;for(var C=$.split(/\r?\n/),b=[],A=0;A<C.length;A++){var _=this.session.$getDisplayTokens(C[A],D.column),O=this.session.$computeWrapSplits(_,E,this.session.$tabSize);if(O.length>0){var I=0;O.push(C[A].length);for(var N=0;N<O.length;N++){var F=C[A].slice(I,O[N]);b.push({text:F,wrapped:!0}),I=O[N]}}else b.push({text:C[A],wrapped:!1})}return b},R.prototype.removeGhostText=function(){if(this.$ghostText){var $=this.$ghostText.position;this.removeExtraToken($.row,$.column),this.$ghostTextWidget&&(this.session.widgetManager.removeLineWidget(this.$ghostTextWidget),this.$ghostTextWidget=null),this.$ghostText=null}},R.prototype.addToken=function($,D,T,E){var C=this.session;C.bgTokenizer.lines[T]=null;var b={type:D,value:$},A=C.getTokens(T);if(E==null||!A.length)A.push(b);else for(var _=0,O=0;O<A.length;O++){var I=A[O];if(_+=I.value.length,E<=_){var N=I.value.length-(_-E),F=I.value.slice(0,N),z=I.value.slice(N);A.splice(O,1,{type:I.type,value:F},b,{type:I.type,value:z});break}}this.updateLines(T,T)},R.prototype.hideTokensAfterPosition=function($,D){for(var T=this.session.getTokens($),E=0,C=!1,b=[],A=0;A<T.length;A++){var _=T[A];if(E+=_.value.length,_.type!=="ghost_text"){if(C){b.push({type:_.type,value:_.value}),_.type="hidden_token";continue}E===D&&(C=!0)}}return this.updateLines($,$),b},R.prototype.removeExtraToken=function($,D){this.session.bgTokenizer.lines[$]=null,this.updateLines($,$)},R.prototype.setTheme=function($,D){var T=this;if(this.$themeId=$,T._dispatchEvent("themeChange",{theme:$}),!$||typeof $=="string"){var E=$||this.$options.theme.initialValue;o.loadModule(["theme",E],C)}else C($);function C(b){if(T.$themeId!=$)return D&&D();if(!b||!b.cssClass)throw new Error("couldn't load module "+$+" or it didn't call define");b.$id&&(T.$themeId=b.$id),g.importCssString(b.cssText,b.cssClass,T.container),T.theme&&g.removeCssClass(T.container,T.theme.cssClass);var A="padding"in b?b.padding:"padding"in(T.theme||{})?4:T.$padding;if(T.$padding&&A!=T.$padding&&T.setPadding(A),T.$gutterLayer){var _=b.$showGutterCursorMarker;_&&!T.$gutterLayer.$showCursorMarker?T.$gutterLayer.$showCursorMarker="theme":!_&&T.$gutterLayer.$showCursorMarker=="theme"&&(T.$gutterLayer.$showCursorMarker=null)}T.$theme=b.cssClass,T.theme=b,g.addCssClass(T.container,b.cssClass),g.setCssClass(T.container,"ace_dark",b.isDark),T.$size&&(T.$size.width=0,T.$updateSizeAsync()),T._dispatchEvent("themeLoaded",{theme:b}),D&&D(),S.isSafari&&T.scroller&&(T.scroller.style.background="red",T.scroller.style.background="")}},R.prototype.getTheme=function(){return this.$themeId},R.prototype.setStyle=function($,D){g.setCssClass(this.container,$,D!==!1)},R.prototype.unsetStyle=function($){g.removeCssClass(this.container,$)},R.prototype.setCursorStyle=function($){g.setStyle(this.scroller.style,"cursor",$)},R.prototype.setMouseCursor=function($){g.setStyle(this.scroller.style,"cursor",$)},R.prototype.attachToShadowRoot=function(){g.importCssString(x,"ace_editor.css",this.container)},R.prototype.destroy=function(){this.freeze(),this.$fontMetrics.destroy(),this.$cursorLayer.destroy(),this.removeAllListeners(),this.container.textContent="",this.setOption("useResizeObserver",!1)},R.prototype.$updateCustomScrollbar=function($){var D=this;this.$horizScroll=this.$vScroll=null,this.scrollBarV.element.remove(),this.scrollBarH.element.remove(),$===!0?(this.scrollBarV=new p(this.container,this),this.scrollBarH=new a(this.container,this),this.scrollBarV.setHeight(this.$size.scrollerHeight),this.scrollBarH.setWidth(this.$size.scrollerWidth),this.scrollBarV.addEventListener("scroll",function(T){D.$scrollAnimation||D.session.setScrollTop(T.data-D.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(T){D.$scrollAnimation||D.session.setScrollLeft(T.data-D.scrollMargin.left)}),this.$scrollDecorator?(this.$scrollDecorator.setScrollBarV(this.scrollBarV),this.$scrollDecorator.$updateDecorators()):(this.$scrollDecorator=new w(this.scrollBarV,this),this.$scrollDecorator.$updateDecorators())):(this.scrollBarV=new r(this.container,this),this.scrollBarH=new s(this.container,this),this.scrollBarV.addEventListener("scroll",function(T){D.$scrollAnimation||D.session.setScrollTop(T.data-D.scrollMargin.top)}),this.scrollBarH.addEventListener("scroll",function(T){D.$scrollAnimation||D.session.setScrollLeft(T.data-D.scrollMargin.left)}))},R.prototype.$addResizeObserver=function(){if(!(!window.ResizeObserver||this.$resizeObserver)){var $=this;this.$resizeTimer=c.delayedCall(function(){$.destroyed||$.onResize()},50),this.$resizeObserver=new window.ResizeObserver(function(D){var T=D[0].contentRect.width,E=D[0].contentRect.height;Math.abs($.$size.width-T)>1||Math.abs($.$size.height-E)>1?$.$resizeTimer.delay():$.$resizeTimer.cancel()}),this.$resizeObserver.observe(this.container)}},R})();L.prototype.CHANGE_CURSOR=1,L.prototype.CHANGE_MARKER=2,L.prototype.CHANGE_GUTTER=4,L.prototype.CHANGE_SCROLL=8,L.prototype.CHANGE_LINES=16,L.prototype.CHANGE_TEXT=32,L.prototype.CHANGE_SIZE=64,L.prototype.CHANGE_MARKER_BACK=128,L.prototype.CHANGE_MARKER_FRONT=256,L.prototype.CHANGE_FULL=512,L.prototype.CHANGE_H_SCROLL=1024,L.prototype.$changes=0,L.prototype.$padding=null,L.prototype.$frozen=!1,L.prototype.STEPS=8,f.implement(L.prototype,k),o.defineOptions(L.prototype,"renderer",{useResizeObserver:{set:function(R){!R&&this.$resizeObserver?(this.$resizeObserver.disconnect(),this.$resizeTimer.cancel(),this.$resizeTimer=this.$resizeObserver=null):R&&!this.$resizeObserver&&this.$addResizeObserver()}},animatedScroll:{initialValue:!1},showInvisibles:{set:function(R){this.$textLayer.setShowInvisibles(R)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!1},showPrintMargin:{set:function(){this.$updatePrintMargin()},initialValue:!0},printMarginColumn:{set:function(){this.$updatePrintMargin()},initialValue:80},printMargin:{set:function(R){typeof R=="number"&&(this.$printMarginColumn=R),this.$showPrintMargin=!!R,this.$updatePrintMargin()},get:function(){return this.$showPrintMargin&&this.$printMarginColumn}},showGutter:{set:function(R){this.$gutter.style.display=R?"block":"none",this.$loop.schedule(this.CHANGE_FULL),this.onGutterResize()},initialValue:!0},useSvgGutterIcons:{set:function(R){this.$gutterLayer.$useSvgGutterIcons=R},initialValue:!1},showFoldedAnnotations:{set:function(R){this.$gutterLayer.$showFoldedAnnotations=R},initialValue:!1},fadeFoldWidgets:{set:function(R){g.setCssClass(this.$gutter,"ace_fade-fold-widgets",R)},initialValue:!1},showFoldWidgets:{set:function(R){this.$gutterLayer.setShowFoldWidgets(R),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},displayIndentGuides:{set:function(R){this.$textLayer.setDisplayIndentGuides(R)&&this.$loop.schedule(this.CHANGE_TEXT)},initialValue:!0},highlightIndentGuides:{set:function(R){this.$textLayer.setHighlightIndentGuides(R)==!0?this.$textLayer.$highlightIndentGuide():this.$textLayer.$clearActiveIndentGuide(this.$textLayer.$lines.cells)},initialValue:!0},highlightGutterLine:{set:function(R){this.$gutterLayer.setHighlightGutterLine(R),this.$loop.schedule(this.CHANGE_GUTTER)},initialValue:!0},hScrollBarAlwaysVisible:{set:function(R){(!this.$hScrollBarAlwaysVisible||!this.$horizScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},vScrollBarAlwaysVisible:{set:function(R){(!this.$vScrollBarAlwaysVisible||!this.$vScroll)&&this.$loop.schedule(this.CHANGE_SCROLL)},initialValue:!1},fontSize:{set:function(R){typeof R=="number"&&(R=R+"px"),this.container.style.fontSize=R,this.updateFontSize()},initialValue:12},fontFamily:{set:function(R){this.container.style.fontFamily=R,this.updateFontSize()}},maxLines:{set:function(R){this.updateFull()}},minLines:{set:function(R){this.$minLines<562949953421311||(this.$minLines=0),this.updateFull()}},maxPixelHeight:{set:function(R){this.updateFull()},initialValue:0},scrollPastEnd:{set:function(R){R=+R||0,this.$scrollPastEnd!=R&&(this.$scrollPastEnd=R,this.$loop.schedule(this.CHANGE_SCROLL))},initialValue:0,handlesSet:!0},fixedWidthGutter:{set:function(R){this.$gutterLayer.$fixedWidth=!!R,this.$loop.schedule(this.CHANGE_GUTTER)}},customScrollbar:{set:function(R){this.$updateCustomScrollbar(R)},initialValue:!1},theme:{set:function(R){this.setTheme(R)},get:function(){return this.$themeId||this.theme},initialValue:"./theme/textmate",handlesSet:!0},hasCssTransforms:{},useTextareaForIME:{initialValue:!S.isMobile&&!S.isIE}}),n.VirtualRenderer=L}),ace.define("ace/worker/worker_client",["require","exports","module","ace/lib/oop","ace/lib/net","ace/lib/event_emitter","ace/config"],function(t,n,m){"use strict";var f=t("../lib/oop"),g=t("../lib/net"),c=t("../lib/event_emitter").EventEmitter,o=t("../config");function h(s){var r="importScripts('"+g.qualifyURL(s)+"');";try{return new Blob([r],{type:"application/javascript"})}catch{var a=new(window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder);return a.append(r),a.getBlob("application/javascript")}}function d(s){if(typeof Worker>"u")return{postMessage:function(){},terminate:function(){}};if(o.get("loadWorkerFromBlob")){var r=h(s),a=(window.URL||window.webkitURL).createObjectURL(r);return new Worker(a)}return new Worker(s)}var u=function(s){s.postMessage||(s=this.$createWorkerFromOldConfig.apply(this,arguments)),this.$worker=s,this.$sendDeltaQueue=this.$sendDeltaQueue.bind(this),this.changeListener=this.changeListener.bind(this),this.onMessage=this.onMessage.bind(this),this.callbackId=1,this.callbacks={},this.$worker.onmessage=this.onMessage};(function(){f.implement(this,c),this.$createWorkerFromOldConfig=function(s,r,a,p,v){if(t.nameToUrl&&!t.toUrl&&(t.toUrl=t.nameToUrl),o.get("packaged")||!t.toUrl)p=p||o.moduleUrl(r,"worker");else{var y=this.$normalizePath;p=p||y(t.toUrl("ace/worker/worker.js",null,"_"));var k={};s.forEach(function(x){k[x]=y(t.toUrl(x,null,"_").replace(/(\.js)?(\?.*)?$/,""))})}return this.$worker=d(p),v&&this.send("importScripts",v),this.$worker.postMessage({init:!0,tlns:k,module:r,classname:a}),this.$worker},this.onMessage=function(s){var r=s.data;switch(r.type){case"event":this._signal(r.name,{data:r.data});break;case"call":var a=this.callbacks[r.id];a&&(a(r.data),delete this.callbacks[r.id]);break;case"error":this.reportError(r.data);break;case"log":window.console&&console.log&&console.log.apply(console,r.data);break}},this.reportError=function(s){window.console&&console.error&&console.error(s)},this.$normalizePath=function(s){return g.qualifyURL(s)},this.terminate=function(){this._signal("terminate",{}),this.deltaQueue=null,this.$worker.terminate(),this.$worker.onerror=function(s){s.preventDefault()},this.$worker=null,this.$doc&&this.$doc.off("change",this.changeListener),this.$doc=null},this.send=function(s,r){this.$worker.postMessage({command:s,args:r})},this.call=function(s,r,a){if(a){var p=this.callbackId++;this.callbacks[p]=a,r.push(p)}this.send(s,r)},this.emit=function(s,r){try{r.data&&r.data.err&&(r.data.err={message:r.data.err.message,stack:r.data.err.stack,code:r.data.err.code}),this.$worker&&this.$worker.postMessage({event:s,data:{data:r.data}})}catch(a){console.error(a.stack)}},this.attachToDocument=function(s){this.$doc&&this.terminate(),this.$doc=s,this.call("setValue",[s.getValue()]),s.on("change",this.changeListener,!0)},this.changeListener=function(s){this.deltaQueue||(this.deltaQueue=[],setTimeout(this.$sendDeltaQueue,0)),s.action=="insert"?this.deltaQueue.push(s.start,s.lines):this.deltaQueue.push(s.start,s.end)},this.$sendDeltaQueue=function(){var s=this.deltaQueue;s&&(this.deltaQueue=null,s.length>50&&s.length>this.$doc.getLength()>>1?this.call("setValue",[this.$doc.getValue()]):this.emit("change",{data:s}))}}).call(u.prototype);var l=function(s,r,a){var p=null,v=!1,y=Object.create(c),k=[],x=new u({messageBuffer:k,terminate:function(){},postMessage:function(S){k.push(S),p&&(v?setTimeout(w):w())}});x.setEmitSync=function(S){v=S};var w=function(){var S=k.shift();S.command?p[S.command].apply(p,S.args):S.event&&y._signal(S.event,S.data)};return y.postMessage=function(S){x.onMessage({data:S})},y.callback=function(S,M){this.postMessage({type:"call",id:M,data:S})},y.emit=function(S,M){this.postMessage({type:"event",name:S,data:M})},o.loadModule(["worker",r],function(S){for(p=new S[a](y);k.length;)w()}),x};n.UIWorkerClient=l,n.WorkerClient=u,n.createWorker=d}),ace.define("ace/placeholder",["require","exports","module","ace/range","ace/lib/event_emitter","ace/lib/oop"],function(t,n,m){"use strict";var f=t("./range").Range,g=t("./lib/event_emitter").EventEmitter,c=t("./lib/oop"),o=(function(){function h(d,u,l,s,r,a){var p=this;this.length=u,this.session=d,this.doc=d.getDocument(),this.mainClass=r,this.othersClass=a,this.$onUpdate=this.onUpdate.bind(this),this.doc.on("change",this.$onUpdate,!0),this.$others=s,this.$onCursorChange=function(){setTimeout(function(){p.onCursorChange()})},this.$pos=l;var v=d.getUndoManager().$undoStack||d.getUndoManager().$undostack||{length:-1};this.$undoStackDepth=v.length,this.setup(),d.selection.on("changeCursor",this.$onCursorChange)}return h.prototype.setup=function(){var d=this,u=this.doc,l=this.session;this.selectionBefore=l.selection.toJSON(),l.selection.inMultiSelectMode&&l.selection.toSingleRange(),this.pos=u.createAnchor(this.$pos.row,this.$pos.column);var s=this.pos;s.$insertRight=!0,s.detach(),s.markerId=l.addMarker(new f(s.row,s.column,s.row,s.column+this.length),this.mainClass,null,!1),this.others=[],this.$others.forEach(function(r){var a=u.createAnchor(r.row,r.column);a.$insertRight=!0,a.detach(),d.others.push(a)}),l.setUndoSelect(!1)},h.prototype.showOtherMarkers=function(){if(!this.othersActive){var d=this.session,u=this;this.othersActive=!0,this.others.forEach(function(l){l.markerId=d.addMarker(new f(l.row,l.column,l.row,l.column+u.length),u.othersClass,null,!1)})}},h.prototype.hideOtherMarkers=function(){if(this.othersActive){this.othersActive=!1;for(var d=0;d<this.others.length;d++)this.session.removeMarker(this.others[d].markerId)}},h.prototype.onUpdate=function(d){if(this.$updating)return this.updateAnchors(d);var u=d;if(u.start.row===u.end.row&&u.start.row===this.pos.row){this.$updating=!0;var l=d.action==="insert"?u.end.column-u.start.column:u.start.column-u.end.column,s=u.start.column>=this.pos.column&&u.start.column<=this.pos.column+this.length+1,r=u.start.column-this.pos.column;if(this.updateAnchors(d),s&&(this.length+=l),s&&!this.session.$fromUndo){if(d.action==="insert")for(var a=this.others.length-1;a>=0;a--){var p=this.others[a],v={row:p.row,column:p.column+r};this.doc.insertMergedLines(v,d.lines)}else if(d.action==="remove")for(var a=this.others.length-1;a>=0;a--){var p=this.others[a],v={row:p.row,column:p.column+r};this.doc.remove(new f(v.row,v.column,v.row,v.column-l))}}this.$updating=!1,this.updateMarkers()}},h.prototype.updateAnchors=function(d){this.pos.onChange(d);for(var u=this.others.length;u--;)this.others[u].onChange(d);this.updateMarkers()},h.prototype.updateMarkers=function(){if(!this.$updating){var d=this,u=this.session,l=function(r,a){u.removeMarker(r.markerId),r.markerId=u.addMarker(new f(r.row,r.column,r.row,r.column+d.length),a,null,!1)};l(this.pos,this.mainClass);for(var s=this.others.length;s--;)l(this.others[s],this.othersClass)}},h.prototype.onCursorChange=function(d){if(!(this.$updating||!this.session)){var u=this.session.selection.getCursor();u.row===this.pos.row&&u.column>=this.pos.column&&u.column<=this.pos.column+this.length?(this.showOtherMarkers(),this._emit("cursorEnter",d)):(this.hideOtherMarkers(),this._emit("cursorLeave",d))}},h.prototype.detach=function(){this.session.removeMarker(this.pos&&this.pos.markerId),this.hideOtherMarkers(),this.doc.off("change",this.$onUpdate),this.session.selection.off("changeCursor",this.$onCursorChange),this.session.setUndoSelect(!0),this.session=null},h.prototype.cancel=function(){if(this.$undoStackDepth!==-1){for(var d=this.session.getUndoManager(),u=(d.$undoStack||d.$undostack).length-this.$undoStackDepth,l=0;l<u;l++)d.undo(this.session,!0);this.selectionBefore&&this.session.selection.fromJSON(this.selectionBefore)}},h})();c.implement(o.prototype,g),n.PlaceHolder=o}),ace.define("ace/mouse/multi_select_handler",["require","exports","module","ace/lib/event","ace/lib/useragent"],function(t,n,m){var f=t("../lib/event"),g=t("../lib/useragent");function c(h,d){return h.row==d.row&&h.column==d.column}function o(h){var d=h.domEvent,u=d.altKey,l=d.shiftKey,s=d.ctrlKey,r=h.getAccelKey(),a=h.getButton();if(s&&g.isMac&&(a=d.button),h.editor.inMultiSelectMode&&a==2){h.editor.textInput.onContextMenu(h.domEvent);return}if(!s&&!u&&!r){a===0&&h.editor.inMultiSelectMode&&h.editor.exitMultiSelectMode();return}if(a===0){var p=h.editor,v=p.selection,y=p.inMultiSelectMode,k=h.getDocumentPosition(),x=v.getCursor(),w=h.inSelection()||v.isEmpty()&&c(k,x),S=h.x,M=h.y,L=function(F){S=F.clientX,M=F.clientY},R=p.session,$=p.renderer.pixelToScreenCoordinates(S,M),D=$,T;if(p.$mouseHandler.$enableJumpToDef)s&&u||r&&u?T=l?"block":"add":u&&p.$blockSelectEnabled&&(T="block");else if(r&&!u){if(T="add",!y&&l)return}else u&&p.$blockSelectEnabled&&(T="block");if(T&&g.isMac&&d.ctrlKey&&p.$mouseHandler.cancelContextMenu(),T=="add"){if(!y&&w)return;if(!y){var E=v.toOrientedRange();p.addSelectionMarker(E)}var C=v.rangeList.rangeAtPoint(k);p.inVirtualSelectionMode=!0,l&&(C=null,E=v.ranges[0]||E,p.removeSelectionMarker(E)),p.once("mouseup",function(){var F=v.toOrientedRange();C&&F.isEmpty()&&c(C.cursor,F.cursor)?v.substractPoint(F.cursor):(l?v.substractPoint(E.cursor):E&&(p.removeSelectionMarker(E),v.addRange(E)),v.addRange(F)),p.inVirtualSelectionMode=!1})}else if(T=="block"){h.stop(),p.inVirtualSelectionMode=!0;var b,A=[],_=function(){var F=p.renderer.pixelToScreenCoordinates(S,M),z=R.screenToDocumentPosition(F.row,F.column,F.offsetX);c(D,F)&&c(z,v.lead)||(D=F,p.selection.moveToPosition(z),p.renderer.scrollCursorIntoView(),p.removeSelectionMarkers(A),A=v.rectangularRangeBlock(D,$),p.$mouseHandler.$clickSelection&&A.length==1&&A[0].isEmpty()&&(A[0]=p.$mouseHandler.$clickSelection.clone()),A.forEach(p.addSelectionMarker,p),p.updateSelectionMarkers())};y&&!r?v.toSingleRange():!y&&r&&(b=v.toOrientedRange(),p.addSelectionMarker(b)),l?$=R.documentToScreenPosition(v.lead):v.moveToPosition(k),D={row:-1,column:-1};var O=function(F){_(),clearInterval(N),p.removeSelectionMarkers(A),A.length||(A=[v.toOrientedRange()]),b&&(p.removeSelectionMarker(b),v.toSingleRange(b));for(var z=0;z<A.length;z++)v.addRange(A[z]);p.inVirtualSelectionMode=!1,p.$mouseHandler.$clickSelection=null},I=_;f.capture(p.container,L,O);var N=setInterval(function(){I()},20);return h.preventDefault()}}}n.onMouseDown=o}),ace.define("ace/commands/multi_select_commands",["require","exports","module","ace/keyboard/hash_handler"],function(t,n,m){n.defaultCommands=[{name:"addCursorAbove",description:"Add cursor above",exec:function(g){g.selectMoreLines(-1)},bindKey:{win:"Ctrl-Alt-Up",mac:"Ctrl-Alt-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelow",description:"Add cursor below",exec:function(g){g.selectMoreLines(1)},bindKey:{win:"Ctrl-Alt-Down",mac:"Ctrl-Alt-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorAboveSkipCurrent",description:"Add cursor above (skip current)",exec:function(g){g.selectMoreLines(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Up",mac:"Ctrl-Alt-Shift-Up"},scrollIntoView:"cursor",readOnly:!0},{name:"addCursorBelowSkipCurrent",description:"Add cursor below (skip current)",exec:function(g){g.selectMoreLines(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Down",mac:"Ctrl-Alt-Shift-Down"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreBefore",description:"Select more before",exec:function(g){g.selectMore(-1)},bindKey:{win:"Ctrl-Alt-Left",mac:"Ctrl-Alt-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectMoreAfter",description:"Select more after",exec:function(g){g.selectMore(1)},bindKey:{win:"Ctrl-Alt-Right",mac:"Ctrl-Alt-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextBefore",description:"Select next before",exec:function(g){g.selectMore(-1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Left",mac:"Ctrl-Alt-Shift-Left"},scrollIntoView:"cursor",readOnly:!0},{name:"selectNextAfter",description:"Select next after",exec:function(g){g.selectMore(1,!0)},bindKey:{win:"Ctrl-Alt-Shift-Right",mac:"Ctrl-Alt-Shift-Right"},scrollIntoView:"cursor",readOnly:!0},{name:"toggleSplitSelectionIntoLines",description:"Split selection into lines",exec:function(g){g.multiSelect.rangeCount>1?g.multiSelect.joinSelections():g.multiSelect.splitIntoLines()},bindKey:{win:"Ctrl-Alt-L",mac:"Ctrl-Alt-L"},readOnly:!0},{name:"splitSelectionIntoLines",description:"Split into lines",exec:function(g){g.multiSelect.splitIntoLines()},readOnly:!0},{name:"alignCursors",description:"Align cursors",exec:function(g){g.alignCursors()},bindKey:{win:"Ctrl-Alt-A",mac:"Ctrl-Alt-A"},scrollIntoView:"cursor"},{name:"findAll",description:"Find all",exec:function(g){g.findAll()},bindKey:{win:"Ctrl-Alt-K",mac:"Ctrl-Alt-G"},scrollIntoView:"cursor",readOnly:!0}],n.multiSelectCommands=[{name:"singleSelection",description:"Single selection",bindKey:"esc",exec:function(g){g.exitMultiSelectMode()},scrollIntoView:"cursor",readOnly:!0,isAvailable:function(g){return g&&g.inMultiSelectMode}}];var f=t("../keyboard/hash_handler").HashHandler;n.keyboardHandler=new f(n.multiSelectCommands)}),ace.define("ace/multi_select",["require","exports","module","ace/range_list","ace/range","ace/selection","ace/mouse/multi_select_handler","ace/lib/event","ace/lib/lang","ace/commands/multi_select_commands","ace/search","ace/edit_session","ace/editor","ace/config"],function(t,n,m){var f=t("./range_list").RangeList,g=t("./range").Range,c=t("./selection").Selection,o=t("./mouse/multi_select_handler").onMouseDown,h=t("./lib/event"),d=t("./lib/lang"),u=t("./commands/multi_select_commands");n.commands=u.defaultCommands.concat(u.multiSelectCommands);var l=t("./search").Search,s=new l;function r(x,w,S){return s.$options.wrap=!0,s.$options.needle=w,s.$options.backwards=S==-1,s.find(x)}var a=t("./edit_session").EditSession;(function(){this.getSelectionMarkers=function(){return this.$selectionMarkers}}).call(a.prototype),(function(){this.ranges=null,this.rangeList=null,this.addRange=function(x,w){if(x){if(!this.inMultiSelectMode&&this.rangeCount===0){var S=this.toOrientedRange();if(this.rangeList.add(S),this.rangeList.add(x),this.rangeList.ranges.length!=2)return this.rangeList.removeAll(),w||this.fromOrientedRange(x);this.rangeList.removeAll(),this.rangeList.add(S),this.$onAddRange(S)}x.cursor||(x.cursor=x.end);var M=this.rangeList.add(x);return this.$onAddRange(x),M.length&&this.$onRemoveRange(M),this.rangeCount>1&&!this.inMultiSelectMode&&(this._signal("multiSelect"),this.inMultiSelectMode=!0,this.session.$undoSelect=!1,this.rangeList.attach(this.session)),w||this.fromOrientedRange(x)}},this.toSingleRange=function(x){x=x||this.ranges[0];var w=this.rangeList.removeAll();w.length&&this.$onRemoveRange(w),x&&this.fromOrientedRange(x)},this.substractPoint=function(x){var w=this.rangeList.substractPoint(x);if(w)return this.$onRemoveRange(w),w[0]},this.mergeOverlappingRanges=function(){var x=this.rangeList.merge();x.length&&this.$onRemoveRange(x)},this.$onAddRange=function(x){this.rangeCount=this.rangeList.ranges.length,this.ranges.unshift(x),this._signal("addRange",{range:x})},this.$onRemoveRange=function(x){if(this.rangeCount=this.rangeList.ranges.length,this.rangeCount==1&&this.inMultiSelectMode){var w=this.rangeList.ranges.pop();x.push(w),this.rangeCount=0}for(var S=x.length;S--;){var M=this.ranges.indexOf(x[S]);this.ranges.splice(M,1)}this._signal("removeRange",{ranges:x}),this.rangeCount===0&&this.inMultiSelectMode&&(this.inMultiSelectMode=!1,this._signal("singleSelect"),this.session.$undoSelect=!0,this.rangeList.detach(this.session)),w=w||this.ranges[0],w&&!w.isEqual(this.getRange())&&this.fromOrientedRange(w)},this.$initRangeList=function(){this.rangeList||(this.rangeList=new f,this.ranges=[],this.rangeCount=0)},this.getAllRanges=function(){return this.rangeCount?this.rangeList.ranges.concat():[this.getRange()]},this.splitIntoLines=function(){for(var x=this.ranges.length?this.ranges:[this.getRange()],w=[],S=0;S<x.length;S++){var M=x[S],L=M.start.row,R=M.end.row;if(L===R)w.push(M.clone());else{for(w.push(new g(L,M.start.column,L,this.session.getLine(L).length));++L<R;)w.push(this.getLineRange(L,!0));w.push(new g(R,0,R,M.end.column))}S==0&&!this.isBackwards()&&(w=w.reverse())}this.toSingleRange();for(var S=w.length;S--;)this.addRange(w[S])},this.joinSelections=function(){var x=this.rangeList.ranges,w=x[x.length-1],S=g.fromPoints(x[0].start,w.end);this.toSingleRange(),this.setSelectionRange(S,w.cursor==w.start)},this.toggleBlockSelection=function(){if(this.rangeCount>1){var x=this.rangeList.ranges,w=x[x.length-1],S=g.fromPoints(x[0].start,w.end);this.toSingleRange(),this.setSelectionRange(S,w.cursor==w.start)}else{var M=this.session.documentToScreenPosition(this.cursor),L=this.session.documentToScreenPosition(this.anchor);this.rectangularRangeBlock(M,L).forEach(this.addRange,this)}},this.rectangularRangeBlock=function(x,w,S){var M=[],L=x.column<w.column;if(L)var R=x.column,$=w.column,D=x.offsetX,T=w.offsetX;else var R=w.column,$=x.column,D=w.offsetX,T=x.offsetX;var E=x.row<w.row;if(E)var C=x.row,b=w.row;else var C=w.row,b=x.row;R<0&&(R=0),C<0&&(C=0),C==b&&(S=!0);for(var A,_=C;_<=b;_++){var O=g.fromPoints(this.session.screenToDocumentPosition(_,R,D),this.session.screenToDocumentPosition(_,$,T));if(O.isEmpty()){if(A&&v(O.end,A))break;A=O.end}O.cursor=L?O.start:O.end,M.push(O)}if(E&&M.reverse(),!S){for(var I=M.length-1;M[I].isEmpty()&&I>0;)I--;if(I>0)for(var N=0;M[N].isEmpty();)N++;for(var F=I;F>=N;F--)M[F].isEmpty()&&M.splice(F,1)}return M}}).call(c.prototype);var p=t("./editor").Editor;(function(){this.updateSelectionMarkers=function(){this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.addSelectionMarker=function(x){x.cursor||(x.cursor=x.end);var w=this.getSelectionStyle();return x.marker=this.session.addMarker(x,"ace_selection",w),this.session.$selectionMarkers.push(x),this.session.selectionMarkerCount=this.session.$selectionMarkers.length,x},this.removeSelectionMarker=function(x){if(x.marker){this.session.removeMarker(x.marker);var w=this.session.$selectionMarkers.indexOf(x);w!=-1&&this.session.$selectionMarkers.splice(w,1),this.session.selectionMarkerCount=this.session.$selectionMarkers.length}},this.removeSelectionMarkers=function(x){for(var w=this.session.$selectionMarkers,S=x.length;S--;){var M=x[S];if(M.marker){this.session.removeMarker(M.marker);var L=w.indexOf(M);L!=-1&&w.splice(L,1)}}this.session.selectionMarkerCount=w.length},this.$onAddRange=function(x){this.addSelectionMarker(x.range),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onRemoveRange=function(x){this.removeSelectionMarkers(x.ranges),this.renderer.updateCursor(),this.renderer.updateBackMarkers()},this.$onMultiSelect=function(x){this.inMultiSelectMode||(this.inMultiSelectMode=!0,this.setStyle("ace_multiselect"),this.keyBinding.addKeyboardHandler(u.keyboardHandler),this.commands.setDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers())},this.$onSingleSelect=function(x){this.session.multiSelect.inVirtualMode||(this.inMultiSelectMode=!1,this.unsetStyle("ace_multiselect"),this.keyBinding.removeKeyboardHandler(u.keyboardHandler),this.commands.removeDefaultHandler("exec",this.$onMultiSelectExec),this.renderer.updateCursor(),this.renderer.updateBackMarkers(),this._emit("changeSelection"))},this.$onMultiSelectExec=function(x){var w=x.command,S=x.editor;if(S.multiSelect){if(w.multiSelectAction)w.multiSelectAction=="forEach"?M=S.forEachSelection(w,x.args):w.multiSelectAction=="forEachLine"?M=S.forEachSelection(w,x.args,!0):w.multiSelectAction=="single"?(S.exitMultiSelectMode(),M=w.exec(S,x.args||{})):M=w.multiSelectAction(S,x.args||{});else{var M=w.exec(S,x.args||{});S.multiSelect.addRange(S.multiSelect.toOrientedRange()),S.multiSelect.mergeOverlappingRanges()}return M}},this.forEachSelection=function(x,w,S){if(!this.inVirtualSelectionMode){var M=S&&S.keepOrder,L=S==!0||S&&S.$byLines,R=this.session,$=this.selection,D=$.rangeList,T=(M?$:D).ranges,E;if(!T.length)return x.exec?x.exec(this,w||{}):x(this,w||{});var C=$._eventRegistry;$._eventRegistry={};var b=new c(R);this.inVirtualSelectionMode=!0;for(var A=T.length;A--;){if(L)for(;A>0&&T[A].start.row==T[A-1].end.row;)A--;b.fromOrientedRange(T[A]),b.index=A,this.selection=R.selection=b;var _=x.exec?x.exec(this,w||{}):x(this,w||{});!E&&_!==void 0&&(E=_),b.toOrientedRange(T[A])}b.detach(),this.selection=R.selection=$,this.inVirtualSelectionMode=!1,$._eventRegistry=C,$.mergeOverlappingRanges(),$.ranges[0]&&$.fromOrientedRange($.ranges[0]);var O=this.renderer.$scrollAnimation;return this.onCursorChange(),this.onSelectionChange(),O&&O.from==O.to&&this.renderer.animateScrolling(O.from),E}},this.exitMultiSelectMode=function(){!this.inMultiSelectMode||this.inVirtualSelectionMode||this.multiSelect.toSingleRange()},this.getSelectedText=function(){var x="";if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){for(var w=this.multiSelect.rangeList.ranges,S=[],M=0;M<w.length;M++)S.push(this.session.getTextRange(w[M]));var L=this.session.getDocument().getNewLineCharacter();x=S.join(L),x.length==(S.length-1)*L.length&&(x="")}else this.selection.isEmpty()||(x=this.session.getTextRange(this.getSelectionRange()));return x},this.$checkMultiselectChange=function(x,w){if(this.inMultiSelectMode&&!this.inVirtualSelectionMode){var S=this.multiSelect.ranges[0];if(this.multiSelect.isEmpty()&&w==this.multiSelect.anchor)return;var M=w==this.multiSelect.anchor?S.cursor==S.start?S.end:S.start:S.cursor;M.row!=w.row||this.session.$clipPositionToDocument(M.row,M.column).column!=w.column?this.multiSelect.toSingleRange(this.multiSelect.toOrientedRange()):this.multiSelect.mergeOverlappingRanges()}},this.findAll=function(x,w,S){if(w=w||{},w.needle=x||w.needle,w.needle==null){var M=this.selection.isEmpty()?this.selection.getWordRange():this.selection.getRange();w.needle=this.session.getTextRange(M)}this.$search.set(w);var L=this.$search.findAll(this.session);if(!L.length)return 0;var R=this.multiSelect;S||R.toSingleRange(L[0]);for(var $=L.length;$--;)R.addRange(L[$],!0);return M&&R.rangeList.rangeAtPoint(M.start)&&R.addRange(M,!0),L.length},this.selectMoreLines=function(x,w){var S=this.selection.toOrientedRange(),M=S.cursor==S.end,L=this.session.documentToScreenPosition(S.cursor);this.selection.$desiredColumn&&(L.column=this.selection.$desiredColumn);var R=this.session.screenToDocumentPosition(L.row+x,L.column);if(S.isEmpty())var D=R;else var $=this.session.documentToScreenPosition(M?S.end:S.start),D=this.session.screenToDocumentPosition($.row+x,$.column);if(M){var T=g.fromPoints(R,D);T.cursor=T.start}else{var T=g.fromPoints(D,R);T.cursor=T.end}if(T.desiredColumn=L.column,!this.selection.inMultiSelectMode)this.selection.addRange(S);else if(w)var E=S.cursor;this.selection.addRange(T),E&&this.selection.substractPoint(E)},this.transposeSelections=function(x){for(var w=this.session,S=w.multiSelect,M=S.ranges,L=M.length;L--;){var R=M[L];if(R.isEmpty()){var $=w.getWordRange(R.start.row,R.start.column);R.start.row=$.start.row,R.start.column=$.start.column,R.end.row=$.end.row,R.end.column=$.end.column}}S.mergeOverlappingRanges();for(var D=[],L=M.length;L--;){var R=M[L];D.unshift(w.getTextRange(R))}x<0?D.unshift(D.pop()):D.push(D.shift());for(var L=M.length;L--;){var R=M[L],T=R.clone();w.replace(R,D[L]),R.start.row=T.start.row,R.start.column=T.start.column}S.fromOrientedRange(S.ranges[0])},this.selectMore=function(x,w,S){var M=this.session,L=M.multiSelect.toOrientedRange();if(!(L.isEmpty()&&(L=M.getWordRange(L.start.row,L.start.column),L.cursor=x==-1?L.start:L.end,this.multiSelect.addRange(L),S))){var R=r(M,M.getTextRange(L),x);R&&(R.cursor=x==-1?R.start:R.end,this.session.unfold(R),this.multiSelect.addRange(R),this.renderer.scrollCursorIntoView(null,.5)),w&&this.multiSelect.substractPoint(L.cursor)}},this.alignCursors=function(){var x=this.session,w=x.multiSelect,S=w.ranges,M=-1,L=S.filter(function(I){if(I.cursor.row==M)return!0;M=I.cursor.row});if(!S.length||L.length==S.length-1){var R=this.selection.getRange(),$=R.start.row,D=R.end.row,T=$==D;if(T){var E=this.session.getLength(),C;do C=this.session.getLine(D);while(/[=:]/.test(C)&&++D<E);do C=this.session.getLine($);while(/[=:]/.test(C)&&--$>0);$<0&&($=0),D>=E&&(D=E-1)}var b=this.session.removeFullLines($,D);b=this.$reAlignText(b,T),this.session.insert({row:$,column:0},b.join(`
2111
2111
  `)+`
2112
2112
  `),T||(R.start.column=0,R.end.column=b[b.length-1].length),this.selection.setRange(R)}else{L.forEach(function(I){w.substractPoint(I.cursor)});var A=0,_=1/0,O=S.map(function(I){var N=I.cursor,F=x.getLine(N.row).substr(N.column).search(/\S/g);return F==-1&&(F=0),N.column>A&&(A=N.column),F<_&&(_=F),F});S.forEach(function(I,N){var F=I.cursor,z=A-F.column,P=O[N]-_;z>P?x.insert(F,d.stringRepeat(" ",z-P)):x.remove(new g(F.row,F.column,F.row,F.column-z+P)),I.start.column=I.end.column=A,I.start.row=I.end.row=F.row,I.cursor=I.end}),w.fromOrientedRange(S[0]),this.renderer.updateCursor(),this.renderer.updateBackMarkers()}},this.$reAlignText=function(x,w){var S=!0,M=!0,L,R,$;return x.map(function(b){var A=b.match(/(\s*)(.*?)(\s*)([=:].*)/);return A?L==null?(L=A[1].length,R=A[2].length,$=A[3].length,A):(L+R+$!=A[1].length+A[2].length+A[3].length&&(M=!1),L!=A[1].length&&(S=!1),L>A[1].length&&(L=A[1].length),R<A[2].length&&(R=A[2].length),$>A[3].length&&($=A[3].length),A):[b]}).map(w?T:S?M?E:T:C);function D(b){return d.stringRepeat(" ",b)}function T(b){return b[2]?D(L)+b[2]+D(R-b[2].length+$)+b[4].replace(/^([=:])\s+/,"$1 "):b[0]}function E(b){return b[2]?D(L+R-b[2].length)+b[2]+D($)+b[4].replace(/^([=:])\s+/,"$1 "):b[0]}function C(b){return b[2]?D(L)+b[2]+D($)+b[4].replace(/^([=:])\s+/,"$1 "):b[0]}}}).call(p.prototype);function v(x,w){return x.row==w.row&&x.column==w.column}n.onSessionChange=function(x){var w=x.session;w&&!w.multiSelect&&(w.$selectionMarkers=[],w.selection.$initRangeList(),w.multiSelect=w.selection),this.multiSelect=w&&w.multiSelect;var S=x.oldSession;S&&(S.multiSelect.off("addRange",this.$onAddRange),S.multiSelect.off("removeRange",this.$onRemoveRange),S.multiSelect.off("multiSelect",this.$onMultiSelect),S.multiSelect.off("singleSelect",this.$onSingleSelect),S.multiSelect.lead.off("change",this.$checkMultiselectChange),S.multiSelect.anchor.off("change",this.$checkMultiselectChange)),w&&(w.multiSelect.on("addRange",this.$onAddRange),w.multiSelect.on("removeRange",this.$onRemoveRange),w.multiSelect.on("multiSelect",this.$onMultiSelect),w.multiSelect.on("singleSelect",this.$onSingleSelect),w.multiSelect.lead.on("change",this.$checkMultiselectChange),w.multiSelect.anchor.on("change",this.$checkMultiselectChange)),w&&this.inMultiSelectMode!=w.selection.inMultiSelectMode&&(w.selection.inMultiSelectMode?this.$onMultiSelect():this.$onSingleSelect())};function y(x){x.$multiselectOnSessionChange||(x.$onAddRange=x.$onAddRange.bind(x),x.$onRemoveRange=x.$onRemoveRange.bind(x),x.$onMultiSelect=x.$onMultiSelect.bind(x),x.$onSingleSelect=x.$onSingleSelect.bind(x),x.$multiselectOnSessionChange=n.onSessionChange.bind(x),x.$checkMultiselectChange=x.$checkMultiselectChange.bind(x),x.$multiselectOnSessionChange(x),x.on("changeSession",x.$multiselectOnSessionChange),x.on("mousedown",o),x.commands.addCommands(u.defaultCommands),k(x))}function k(x){if(!x.textInput)return;var w=x.textInput.getElement(),S=!1;h.addListener(w,"keydown",function(L){var R=L.keyCode==18&&!(L.ctrlKey||L.shiftKey||L.metaKey);x.$blockSelectEnabled&&R?S||(x.renderer.setMouseCursor("crosshair"),S=!0):S&&M()},x),h.addListener(w,"keyup",M,x),h.addListener(w,"blur",M,x);function M(L){S&&(x.renderer.setMouseCursor(""),S=!1)}}n.MultiSelect=y,t("./config").defineOptions(p.prototype,"editor",{enableMultiselect:{set:function(x){y(this),x?this.on("mousedown",o):this.off("mousedown",o)},value:!0},enableBlockSelect:{set:function(x){this.$blockSelectEnabled=x},value:!0}})}),ace.define("ace/mode/folding/fold_mode",["require","exports","module","ace/range"],function(t,n,m){"use strict";var f=t("../../range").Range,g=n.FoldMode=function(){};(function(){this.foldingStartMarker=null,this.foldingStopMarker=null,this.getFoldWidget=function(c,o,h){var d=c.getLine(h);return this.foldingStartMarker.test(d)?"start":o=="markbeginend"&&this.foldingStopMarker&&this.foldingStopMarker.test(d)?"end":""},this.getFoldWidgetRange=function(c,o,h){return null},this.indentationBlock=function(c,o,h){var d=/\S/,u=c.getLine(o),l=u.search(d);if(l!=-1){for(var s=h||u.length,r=c.getLength(),a=o,p=o;++o<r;){var v=c.getLine(o).search(d);if(v!=-1){if(v<=l){var y=c.getTokenAt(o,0);if(!y||y.type!=="string")break}p=o}}if(p>a){var k=c.getLine(p).length;return new f(a,s,p,k)}}},this.openingBracketBlock=function(c,o,h,d,u){var l={row:h,column:d+1},s=c.$findClosingBracket(o,l,u);if(s){var r=c.foldWidgets[s.row];return r==null&&(r=c.getFoldWidget(s.row)),r=="start"&&s.row>l.row&&(s.row--,s.column=c.getLine(s.row).length),f.fromPoints(l,s)}},this.closingBracketBlock=function(c,o,h,d,u){var l={row:h,column:d},s=c.$findOpeningBracket(o,l);if(s)return s.column++,l.column--,f.fromPoints(s,l)}}).call(g.prototype)}),ace.define("ace/ext/error_marker",["require","exports","module","ace/lib/dom","ace/range","ace/config"],function(t,n,m){"use strict";var f=t("../lib/dom"),g=t("../range").Range,c=t("../config").nls;function o(d,u,l){for(var s=0,r=d.length-1;s<=r;){var a=s+r>>1,p=l(u,d[a]);if(p>0)s=a+1;else if(p<0)r=a-1;else return a}return-(s+1)}function h(d,u,l){var s=d.getAnnotations().sort(g.comparePoints);if(s.length){var r=o(s,{row:u,column:-1},g.comparePoints);r<0&&(r=-r-1),r>=s.length?r=l>0?0:s.length-1:r===0&&l<0&&(r=s.length-1);var a=s[r];if(!(!a||!l)){if(a.row===u){do a=s[r+=l];while(a&&a.row===u);if(!a)return s.slice()}var p=[];u=a.row;do p[l<0?"unshift":"push"](a),a=s[r+=l];while(a&&a.row==u);return p.length&&p}}}n.showErrorMarker=function(d,u){var l=d.session,s=d.getCursorPosition(),r=s.row,a=l.widgetManager.getWidgetsAtRow(r).filter(function(L){return L.type=="errorMarker"})[0];a?a.destroy():r-=u;var p=h(l,r,u),v;if(p){var y=p[0];s.column=(y.pos&&typeof y.column!="number"?y.pos.sc:y.column)||0,s.row=y.row,v=d.renderer.$gutterLayer.$annotations[s.row]}else{if(a)return;v={displayText:[c("error-marker.good-state","Looks good!")],className:"ace_ok"}}d.session.unfold(s.row),d.selection.moveToPosition(s);var k={row:s.row,fixedWidth:!0,coverGutter:!0,el:f.createElement("div"),type:"errorMarker"},x=k.el.appendChild(f.createElement("div")),w=k.el.appendChild(f.createElement("div"));w.className="error_widget_arrow "+v.className;var S=d.renderer.$cursorLayer.getPixelPosition(s).left;w.style.left=S+d.renderer.gutterWidth-5+"px",k.el.className="error_widget_wrapper",x.className="error_widget "+v.className,v.displayText.forEach(function(L,R){x.appendChild(f.createTextNode(L)),R<v.displayText.length-1&&x.appendChild(f.createElement("br"))}),x.appendChild(f.createElement("div"));var M=function(L,R,$){if(R===0&&($==="esc"||$==="return"))return k.destroy(),{command:"null"}};k.destroy=function(){d.$mouseHandler.isMousePressed||(d.keyBinding.removeKeyboardHandler(M),l.widgetManager.removeLineWidget(k),d.off("changeSelection",k.destroy),d.off("changeSession",k.destroy),d.off("mouseup",k.destroy),d.off("change",k.destroy))},d.keyBinding.addKeyboardHandler(M),d.on("changeSelection",k.destroy),d.on("changeSession",k.destroy),d.on("mouseup",k.destroy),d.on("change",k.destroy),d.session.widgetManager.addLineWidget(k),k.el.onmousedown=d.focus.bind(d),d.renderer.scrollCursorIntoView(null,.5,{bottom:k.el.offsetHeight})},f.importCssString(`
2113
2113
  .error_widget_wrapper {
@@ -2142,10 +2142,10 @@ export const FormManager: React.FC = () => {
2142
2142
  border-left-color: transparent!important;
2143
2143
  top: -5px;
2144
2144
  }
2145
- `,"error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(t,n,m){"use strict";t("./loader_build")(n);var f=t("./lib/dom"),g=t("./range").Range,c=t("./editor").Editor,o=t("./edit_session").EditSession,h=t("./undomanager").UndoManager,d=t("./virtual_renderer").VirtualRenderer;t("./worker/worker_client"),t("./keyboard/hash_handler"),t("./placeholder"),t("./multi_select"),t("./mode/folding/fold_mode"),t("./theme/textmate"),t("./ext/error_marker"),n.config=t("./config"),n.edit=function(u,l){if(typeof u=="string"){var s=u;if(u=document.getElementById(s),!u)throw new Error("ace.edit can't find div #"+s)}if(u&&u.env&&u.env.editor instanceof c)return u.env.editor;var r="";if(u&&/input|textarea/i.test(u.tagName)){var a=u;r=a.value,u=f.createElement("pre"),a.parentNode.replaceChild(u,a)}else u&&(r=u.textContent,u.innerHTML="");var p=n.createEditSession(r),v=new c(new d(u),p,l),y={document:p,editor:v,onResize:v.resize.bind(v,null)};return a&&(y.textarea=a),v.on("destroy",function(){y.editor.container.env=null}),v.container.env=v.env=y,v},n.createEditSession=function(u,l){var s=new o(u,l);return s.setUndoManager(new h),s},n.Range=g,n.Editor=c,n.EditSession=o,n.UndoManager=h,n.VirtualRenderer=d,n.version=n.config.version}),(function(){ace.require(["ace/ace"],function(t){t&&(t.config.init(!0),t.define=ace.define);var n=(function(){return this})();!n&&typeof window<"u"&&(n=window),!n&&typeof self<"u"&&(n=self),n.ace||(n.ace=t);for(var m in t)t.hasOwnProperty(m)&&(n.ace[m]=t[m]);n.ace.default=n.ace,typeof i=="object"&&typeof e=="object"&&i&&(i.exports=n.ace)})})()})),ur=Et(yh(),1),bh="/formeo/assets/js/mode-json.min.js",wh="/formeo/assets/js/theme-github_light_default.min.js",Ch=j(((e,i)=>{function t(n,m,f,g){var c=-1,o=n==null?0:n.length;for(g&&o&&(f=n[++c]);++c<o;)f=m(f,n[c],c,n);return f}i.exports=t})),Sh=j(((e,i)=>{function t(n){return function(m){return n?.[m]}}i.exports=t})),xh=j(((e,i)=>{var t=Sh()({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});i.exports=t})),Eh=j(((e,i)=>{var t=xh(),n=Oi(),m=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,f=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function g(c){return c=n(c),c&&c.replace(m,t).replace(f,"")}i.exports=g})),Ah=j(((e,i)=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function n(m){return m.match(t)||[]}i.exports=n})),kh=j(((e,i)=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function n(m){return t.test(m)}i.exports=n})),Th=j(((e,i)=>{var t="\\ud800-\\udfff",n="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",m="\\u2700-\\u27bf",f="a-z\\xdf-\\xf6\\xf8-\\xff",g="\\xac\\xb1\\xd7\\xf7",c="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",o="\\u2000-\\u206f",h=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",d="A-Z\\xc0-\\xd6\\xd8-\\xde",u="\\ufe0e\\ufe0f",l=g+c+o+h,s="['’]",r="["+l+"]",a="["+n+"]",p="\\d+",v="["+m+"]",y="["+f+"]",k="[^"+t+l+p+m+f+d+"]",x="(?:"+a+"|\\ud83c[\\udffb-\\udfff])",w="[^"+t+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",M="[\\ud800-\\udbff][\\udc00-\\udfff]",L="["+d+"]",R="\\u200d",$="(?:"+y+"|"+k+")",D="(?:"+L+"|"+k+")",T="(?:"+s+"(?:d|ll|m|re|s|t|ve))?",E="(?:"+s+"(?:D|LL|M|RE|S|T|VE))?",C=x+"?",b="["+u+"]?",A="(?:"+R+"(?:"+[w,S,M].join("|")+")"+b+C+")*",_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",O="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",I=b+C+A,N="(?:"+[v,S,M].join("|")+")"+I,F=RegExp([L+"?"+y+"+"+T+"(?="+[r,L,"$"].join("|")+")",D+"+"+E+"(?="+[r,L+$,"$"].join("|")+")",L+"?"+$+"+"+T,L+"+"+E,O,_,p,N].join("|"),"g");function z(P){return P.match(F)||[]}i.exports=z})),Mh=j(((e,i)=>{var t=Ah(),n=kh(),m=Oi(),f=Th();function g(c,o,h){return c=m(c),o=h?void 0:o,o===void 0?n(c)?f(c):t(c):c.match(o)||[]}i.exports=g})),$h=j(((e,i)=>{var t=Ch(),n=Eh(),m=Mh(),f=RegExp("['’]","g");function g(c){return function(o){return t(m(n(o).replace(f,"")),c,"")}}i.exports=g})),Lh=j(((e,i)=>{function t(n,m,f){var g=-1,c=n.length;m<0&&(m=-m>c?0:c+m),f=f>c?c:f,f<0&&(f+=c),c=m>f?0:f-m>>>0,m>>>=0;for(var o=Array(c);++g<c;)o[g]=n[g+m];return o}i.exports=t})),Rh=j(((e,i)=>{var t=Lh();function n(m,f,g){var c=m.length;return g=g===void 0?c:g,!f&&g>=c?m:t(m,f,g)}i.exports=n})),$s=j(((e,i)=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function n(m){return t.test(m)}i.exports=n})),_h=j(((e,i)=>{function t(n){return n.split("")}i.exports=t})),Oh=j(((e,i)=>{var t="\\ud800-\\udfff",n="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",m="\\ufe0e\\ufe0f",f="["+t+"]",g="["+n+"]",c="\\ud83c[\\udffb-\\udfff]",o="(?:"+g+"|"+c+")",h="[^"+t+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="\\u200d",s=o+"?",r="["+m+"]?",a="(?:"+l+"(?:"+[h,d,u].join("|")+")"+r+s+")*",p=r+s+a,v="(?:"+[h+g+"?",g,d,u,f].join("|")+")",y=RegExp(c+"(?="+c+")|"+v+p,"g");function k(x){return x.match(y)||[]}i.exports=k})),Ih=j(((e,i)=>{var t=_h(),n=$s(),m=Oh();function f(g){return n(g)?m(g):t(g)}i.exports=f})),Dh=j(((e,i)=>{var t=Rh(),n=$s(),m=Ih(),f=Oi();function g(c){return function(o){o=f(o);var h=n(o)?m(o):void 0,d=h?h[0]:o.charAt(0),u=h?t(h,1).join(""):o.slice(1);return d[c]()+u}}i.exports=g})),Nh=j(((e,i)=>{var t=Dh()("toUpperCase");i.exports=t})),Fh=j(((e,i)=>{var t=$h(),n=Nh(),m=t(function(f,g,c){return f+(c?" ":"")+n(g)});i.exports=m})),zh=Et(Fh(),1);ur.config.setModuleUrl("ace/mode/json",bh);ur.config.setModuleUrl("ace/theme/github_light_default",wh);var qe=ur.default.edit("formData-editor");qe.session.setOption("useWorker",!1);qe.setOptions({theme:"ace/theme/github_light_default",mode:"ace/mode/json"});var Ph=document.getElementById("submit-formData"),Hh=document.getElementById("formData-popover"),Bh=document.getElementById("editor-action-buttons"),Wh=(e,i)=>({renderForm:()=>{const t=document.querySelector(".render-form");t.style.display="block",i.render(e.formData)},getHtml:()=>{i.formData=e.formData;const t=i.html,n=window.open("","_blank");n.document.body.innerHTML=t},getUserData:()=>{console.log(i.userData),console.log("User Form Data:",i.userFormData)},resetEditor:()=>{window.sessionStorage.removeItem("formeo-formData"),window.location.reload()},editData:()=>{qe.setValue(JSON.stringify(e.formData,null,2),1)},toggleDark:()=>document.body.classList.toggle("formeo-dark")}),jh={editData:{popovertarget:"formData-popover"}},Vh=e=>({id:e,type:"button",...jh[e]||{}}),Uh=(e,i)=>{Ph.addEventListener("click",()=>{e.formData=qe.session.getValue(),Hh.hidePopover()});const t=Wh(e,i);return Object.entries(t).map(([n,m])=>{const f=Vh(n),g=Object.assign(document.createElement("button"),f);for(const[o,h]of Object.entries(f))g.setAttribute(o,h);const c=document.createTextNode((0,zh.default)(n));return g.appendChild(c),g.addEventListener("click",m,!1),Bh.appendChild(g),g})};document.getElementById("format-json").addEventListener("click",Gh);document.getElementById("collapse-json").addEventListener("click",Kh);document.getElementById("copy-json").addEventListener("click",qh);function Gh(){const e=qe.session.getValue(),i=JSON.parse(e);qe.setValue(JSON.stringify(i,null,2),1)}function Kh(){const e=qe.session.getValue(),i=JSON.parse(e);qe.setValue(JSON.stringify(i,null,0),1)}async function qh({target:e}){const i=e.textContent;e.textContent="Copied!";const t=setTimeout(()=>{e.textContent=i,clearTimeout(t)},3e3);try{await navigator.clipboard.writeText(qe.session.getValue()),console.log("Text copied to clipboard")}catch(n){console.error("Failed to copy: ",n)}}var Yh=e=>{const i=document.getElementById("control-filter"),t=document.getElementById("locale"),n=globalThis.sessionStorage.getItem("formeo-locale"),m=({target:{value:g}})=>e.controls.actions.filter(g),f=({target:{value:g}})=>{globalThis.sessionStorage.setItem("formeo-locale",g),e.i18n.setLang(g)};i.addEventListener("input",m),t.value=n||"en-US",t.addEventListener("change",f,!1)};async function Zh(e){e.innerHTML=`
2145
+ `,"error_marker.css",!1)}),ace.define("ace/ace",["require","exports","module","ace/lib/dom","ace/range","ace/editor","ace/edit_session","ace/undomanager","ace/virtual_renderer","ace/worker/worker_client","ace/keyboard/hash_handler","ace/placeholder","ace/multi_select","ace/mode/folding/fold_mode","ace/theme/textmate","ace/ext/error_marker","ace/config","ace/loader_build"],function(t,n,m){"use strict";t("./loader_build")(n);var f=t("./lib/dom"),g=t("./range").Range,c=t("./editor").Editor,o=t("./edit_session").EditSession,h=t("./undomanager").UndoManager,d=t("./virtual_renderer").VirtualRenderer;t("./worker/worker_client"),t("./keyboard/hash_handler"),t("./placeholder"),t("./multi_select"),t("./mode/folding/fold_mode"),t("./theme/textmate"),t("./ext/error_marker"),n.config=t("./config"),n.edit=function(u,l){if(typeof u=="string"){var s=u;if(u=document.getElementById(s),!u)throw new Error("ace.edit can't find div #"+s)}if(u&&u.env&&u.env.editor instanceof c)return u.env.editor;var r="";if(u&&/input|textarea/i.test(u.tagName)){var a=u;r=a.value,u=f.createElement("pre"),a.parentNode.replaceChild(u,a)}else u&&(r=u.textContent,u.innerHTML="");var p=n.createEditSession(r),v=new c(new d(u),p,l),y={document:p,editor:v,onResize:v.resize.bind(v,null)};return a&&(y.textarea=a),v.on("destroy",function(){y.editor.container.env=null}),v.container.env=v.env=y,v},n.createEditSession=function(u,l){var s=new o(u,l);return s.setUndoManager(new h),s},n.Range=g,n.Editor=c,n.EditSession=o,n.UndoManager=h,n.VirtualRenderer=d,n.version=n.config.version}),(function(){ace.require(["ace/ace"],function(t){t&&(t.config.init(!0),t.define=ace.define);var n=(function(){return this})();!n&&typeof window<"u"&&(n=window),!n&&typeof self<"u"&&(n=self),n.ace||(n.ace=t);for(var m in t)t.hasOwnProperty(m)&&(n.ace[m]=t[m]);n.ace.default=n.ace,typeof i=="object"&&typeof e=="object"&&i&&(i.exports=n.ace)})})()})),Qn=yt(dh(),1),hh="/formeo/assets/js/mode-json.min.js",ph="/formeo/assets/js/theme-github_light_default.min.js",fh=j(((e,i)=>{function t(n,m,f,g){var c=-1,o=n==null?0:n.length;for(g&&o&&(f=n[++c]);++c<o;)f=m(f,n[c],c,n);return f}i.exports=t})),gh=j(((e,i)=>{function t(n){return function(m){return n?.[m]}}i.exports=t})),mh=j(((e,i)=>{var t=gh()({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"});i.exports=t})),vh=j(((e,i)=>{var t=mh(),n=xi(),m=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,f=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");function g(c){return c=n(c),c&&c.replace(m,t).replace(f,"")}i.exports=g})),yh=j(((e,i)=>{var t=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;function n(m){return m.match(t)||[]}i.exports=n})),bh=j(((e,i)=>{var t=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;function n(m){return t.test(m)}i.exports=n})),wh=j(((e,i)=>{var t="\\ud800-\\udfff",n="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",m="\\u2700-\\u27bf",f="a-z\\xdf-\\xf6\\xf8-\\xff",g="\\xac\\xb1\\xd7\\xf7",c="\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf",o="\\u2000-\\u206f",h=" \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",d="A-Z\\xc0-\\xd6\\xd8-\\xde",u="\\ufe0e\\ufe0f",l=g+c+o+h,s="['’]",r="["+l+"]",a="["+n+"]",p="\\d+",v="["+m+"]",y="["+f+"]",k="[^"+t+l+p+m+f+d+"]",x="(?:"+a+"|\\ud83c[\\udffb-\\udfff])",w="[^"+t+"]",S="(?:\\ud83c[\\udde6-\\uddff]){2}",M="[\\ud800-\\udbff][\\udc00-\\udfff]",L="["+d+"]",R="\\u200d",$="(?:"+y+"|"+k+")",D="(?:"+L+"|"+k+")",T="(?:"+s+"(?:d|ll|m|re|s|t|ve))?",E="(?:"+s+"(?:D|LL|M|RE|S|T|VE))?",C=x+"?",b="["+u+"]?",A="(?:"+R+"(?:"+[w,S,M].join("|")+")"+b+C+")*",_="\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",O="\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])",I=b+C+A,N="(?:"+[v,S,M].join("|")+")"+I,F=RegExp([L+"?"+y+"+"+T+"(?="+[r,L,"$"].join("|")+")",D+"+"+E+"(?="+[r,L+$,"$"].join("|")+")",L+"?"+$+"+"+T,L+"+"+E,O,_,p,N].join("|"),"g");function z(P){return P.match(F)||[]}i.exports=z})),Ch=j(((e,i)=>{var t=yh(),n=bh(),m=xi(),f=wh();function g(c,o,h){return c=m(c),o=h?void 0:o,o===void 0?n(c)?f(c):t(c):c.match(o)||[]}i.exports=g})),Sh=j(((e,i)=>{var t=fh(),n=vh(),m=Ch(),f=RegExp("['’]","g");function g(c){return function(o){return t(m(n(o).replace(f,"")),c,"")}}i.exports=g})),xh=j(((e,i)=>{function t(n,m,f){var g=-1,c=n.length;m<0&&(m=-m>c?0:c+m),f=f>c?c:f,f<0&&(f+=c),c=m>f?0:f-m>>>0,m>>>=0;for(var o=Array(c);++g<c;)o[g]=n[g+m];return o}i.exports=t})),Eh=j(((e,i)=>{var t=xh();function n(m,f,g){var c=m.length;return g=g===void 0?c:g,!f&&g>=c?m:t(m,f,g)}i.exports=n})),bs=j(((e,i)=>{var t=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");function n(m){return t.test(m)}i.exports=n})),Ah=j(((e,i)=>{function t(n){return n.split("")}i.exports=t})),kh=j(((e,i)=>{var t="\\ud800-\\udfff",n="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",m="\\ufe0e\\ufe0f",f="["+t+"]",g="["+n+"]",c="\\ud83c[\\udffb-\\udfff]",o="(?:"+g+"|"+c+")",h="[^"+t+"]",d="(?:\\ud83c[\\udde6-\\uddff]){2}",u="[\\ud800-\\udbff][\\udc00-\\udfff]",l="\\u200d",s=o+"?",r="["+m+"]?",a="(?:"+l+"(?:"+[h,d,u].join("|")+")"+r+s+")*",p=r+s+a,v="(?:"+[h+g+"?",g,d,u,f].join("|")+")",y=RegExp(c+"(?="+c+")|"+v+p,"g");function k(x){return x.match(y)||[]}i.exports=k})),Th=j(((e,i)=>{var t=Ah(),n=bs(),m=kh();function f(g){return n(g)?m(g):t(g)}i.exports=f})),Mh=j(((e,i)=>{var t=Eh(),n=bs(),m=Th(),f=xi();function g(c){return function(o){o=f(o);var h=n(o)?m(o):void 0,d=h?h[0]:o.charAt(0),u=h?t(h,1).join(""):o.slice(1);return d[c]()+u}}i.exports=g})),$h=j(((e,i)=>{var t=Mh()("toUpperCase");i.exports=t})),Lh=j(((e,i)=>{var t=Sh(),n=$h(),m=t(function(f,g,c){return f+(c?" ":"")+n(g)});i.exports=m})),Rh=yt(Lh(),1);Qn.config.setModuleUrl("ace/mode/json",hh);Qn.config.setModuleUrl("ace/theme/github_light_default",ph);var Ve=Qn.default.edit("formData-editor");Ve.session.setOption("useWorker",!1);Ve.setOptions({theme:"ace/theme/github_light_default",mode:"ace/mode/json"});var _h=document.getElementById("submit-formData"),Oh=document.getElementById("formData-popover"),Ih=document.getElementById("editor-action-buttons"),Dh=(e,i)=>({renderForm:()=>{const t=document.querySelector(".render-form");t.style.display="block",i.render(e.formData)},getHtml:()=>{i.formData=e.formData;const t=i.html,n=window.open("","_blank");n.document.body.innerHTML=t},getUserData:()=>{console.log(i.userData),console.log("User Form Data:",i.userFormData)},resetEditor:()=>{window.sessionStorage.removeItem("formeo-formData"),window.location.reload()},editData:()=>{Ve.setValue(JSON.stringify(e.formData,null,2),1)},toggleDark:()=>document.body.classList.toggle("formeo-dark")}),Nh={editData:{popovertarget:"formData-popover"}},Fh=e=>({id:e,type:"button",...Nh[e]||{}}),zh=(e,i)=>{_h.addEventListener("click",()=>{e.formData=Ve.session.getValue(),Oh.hidePopover()});const t=Dh(e,i);return Object.entries(t).map(([n,m])=>{const f=Fh(n),g=Object.assign(document.createElement("button"),f);for(const[o,h]of Object.entries(f))g.setAttribute(o,h);const c=document.createTextNode((0,Rh.default)(n));return g.appendChild(c),g.addEventListener("click",m,!1),Ih.appendChild(g),g})};document.getElementById("format-json").addEventListener("click",Ph);document.getElementById("collapse-json").addEventListener("click",Hh);document.getElementById("copy-json").addEventListener("click",Bh);function Ph(){const e=Ve.session.getValue(),i=JSON.parse(e);Ve.setValue(JSON.stringify(i,null,2),1)}function Hh(){const e=Ve.session.getValue(),i=JSON.parse(e);Ve.setValue(JSON.stringify(i,null,0),1)}async function Bh({target:e}){const i=e.textContent;e.textContent="Copied!";const t=setTimeout(()=>{e.textContent=i,clearTimeout(t)},3e3);try{await navigator.clipboard.writeText(Ve.session.getValue()),console.log("Text copied to clipboard")}catch(n){console.error("Failed to copy: ",n)}}var Wh=e=>{const i=document.getElementById("control-filter"),t=document.getElementById("locale"),n=globalThis.sessionStorage.getItem("formeo-locale"),m=({target:{value:g}})=>e.controls.actions.filter(g),f=({target:{value:g}})=>{globalThis.sessionStorage.setItem("formeo-locale",g),e.i18n.setLang(g)};i.addEventListener("input",m),t.value=n||"en-US",t.addEventListener("change",f,!1)};async function jh(e){e.innerHTML=`
2146
2146
  <form class="build-form"></form>
2147
2147
  <div class="render-form"></div>
2148
- `;const i=new ar(jt),t=new lr(cr);return Uh(i,t),Yh(i),{editor:i,renderer:t,cleanup:()=>{i?.destroy&&i.destroy(),t?.destroy&&t.destroy();const n=document.getElementById("editor-action-buttons");n&&(n.innerHTML="")}}}var Qh=class{constructor(){if(this.currentFramework=null,this.frameworkContainer=document.getElementById("framework-container"),this.frameworkSelect=document.getElementById("framework-select"),this.currentDemo=null,this.isLoading=!1,this.validFrameworks=["vanilla","angular","react"],!this.frameworkContainer){console.error("Framework container not found");return}if(!this.frameworkSelect){console.error("Framework selector not found");return}this.init()}init(){this.frameworkSelect.addEventListener("change",i=>{this.switchFramework(i.target.value)}),window.addEventListener("popstate",()=>{const i=this.getFrameworkFromURL();this.switchFramework(i,{updateURL:!1})});const e=this.getFrameworkFromURL();this.switchFramework(e)}async switchFramework(e,i={}){const{updateURL:t=!0}=i;if(this.isLoading){console.warn("Framework switch already in progress");return}if(!(this.currentFramework===e&&this.currentDemo!==null)){this.isLoading=!0,this.showLoadingState();try{switch(await this.cleanupCurrentDemo(),this.frameworkContainer.innerHTML="",e){case"vanilla":this.currentDemo=await Zh(this.frameworkContainer);break;case"angular":this.currentDemo=await ih(this.frameworkContainer);break;case"react":this.currentDemo=await uh(this.frameworkContainer);break;default:throw new Error(`Unknown framework: ${e}`)}this.currentFramework=e,this.syncFrameworkSelector(e),t&&this.updateURL(e),console.log(`Loaded ${e} demo successfully`)}catch(n){console.error(`Failed to load ${e} demo:`,n),this.showErrorState(e,n)}finally{this.isLoading=!1}}}async cleanupCurrentDemo(){if(this.currentDemo?.cleanup)try{await Promise.resolve(this.currentDemo.cleanup())}catch(e){console.warn("Error during demo cleanup:",e)}this.currentDemo=null}syncFrameworkSelector(e){this.frameworkSelect.value!==e&&(this.frameworkSelect.value=e)}getFrameworkFromURL(){const e=new URLSearchParams(window.location.search).get("framework");return e&&this.validFrameworks.includes(e)?e:"vanilla"}updateURL(e){const i=new URL(window.location);e==="vanilla"?i.searchParams.delete("framework"):i.searchParams.set("framework",e),window.history.pushState({framework:e},"",i.toString())}showLoadingState(){this.frameworkContainer.innerHTML=`
2148
+ `;const i=new qn(It),t=new Yn(Zn);return zh(i,t),Wh(i),{editor:i,renderer:t,cleanup:()=>{i?.destroy&&i.destroy(),t?.destroy&&t.destroy();const n=document.getElementById("editor-action-buttons");n&&(n.innerHTML="")}}}var Vh=class{constructor(){if(this.currentFramework=null,this.frameworkContainer=document.getElementById("framework-container"),this.frameworkSelect=document.getElementById("framework-select"),this.currentDemo=null,this.isLoading=!1,this.validFrameworks=["vanilla","angular","react"],!this.frameworkContainer){console.error("Framework container not found");return}if(!this.frameworkSelect){console.error("Framework selector not found");return}this.init()}init(){this.frameworkSelect.addEventListener("change",i=>{this.switchFramework(i.target.value)}),window.addEventListener("popstate",()=>{const i=this.getFrameworkFromURL();this.switchFramework(i,{updateURL:!1})});const e=this.getFrameworkFromURL();this.switchFramework(e)}async switchFramework(e,i={}){const{updateURL:t=!0}=i;if(this.isLoading){console.warn("Framework switch already in progress");return}if(!(this.currentFramework===e&&this.currentDemo!==null)){this.isLoading=!0,this.showLoadingState();try{switch(await this.cleanupCurrentDemo(),this.frameworkContainer.innerHTML="",e){case"vanilla":this.currentDemo=await jh(this.frameworkContainer);break;case"angular":this.currentDemo=await Yd(this.frameworkContainer);break;case"react":this.currentDemo=await nh(this.frameworkContainer);break;default:throw new Error(`Unknown framework: ${e}`)}this.currentFramework=e,this.syncFrameworkSelector(e),t&&this.updateURL(e),console.log(`Loaded ${e} demo successfully`)}catch(n){console.error(`Failed to load ${e} demo:`,n),this.showErrorState(e,n)}finally{this.isLoading=!1}}}async cleanupCurrentDemo(){if(this.currentDemo?.cleanup)try{await Promise.resolve(this.currentDemo.cleanup())}catch(e){console.warn("Error during demo cleanup:",e)}this.currentDemo=null}syncFrameworkSelector(e){this.frameworkSelect.value!==e&&(this.frameworkSelect.value=e)}getFrameworkFromURL(){const e=new URLSearchParams(window.location.search).get("framework");return e&&this.validFrameworks.includes(e)?e:"vanilla"}updateURL(e){const i=new URL(window.location);e==="vanilla"?i.searchParams.delete("framework"):i.searchParams.set("framework",e),window.history.pushState({framework:e},"",i.toString())}showLoadingState(){this.frameworkContainer.innerHTML=`
2149
2149
  <div class="loading-message">
2150
2150
  <p>Loading ${this.frameworkSelect.options[this.frameworkSelect.selectedIndex]?.text||"framework"} demo...</p>
2151
2151
  </div>
@@ -2155,4 +2155,4 @@ export const FormManager: React.FC = () => {
2155
2155
  <p>${i.message}</p>
2156
2156
  <button class="retry-button" onclick="window.frameworkLoader?.switchFramework('${e}')">Retry</button>
2157
2157
  </div>
2158
- `}};document.addEventListener("DOMContentLoaded",()=>{window.frameworkLoader=new Qh});export{Z as i,je as n,De as r,ud as t};
2158
+ `}};document.addEventListener("DOMContentLoaded",()=>{window.frameworkLoader=new Vh});export{Z as i,Pe as n,Re as r,hu as t};