@opencitylabs/bootstrap-italia 0.4.21 → 0.5.1
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.
- package/dist/bootstrapItalia.js +1 -1
- package/lib/cjs/templates/bootstrapItalia/builderComponent/form.ejs.js +4 -12
- package/lib/cjs/templates/bootstrapItalia/input/form.ejs.js +6 -2
- package/lib/mjs/templates/bootstrapItalia/builderComponent/form.ejs.js +4 -12
- package/lib/mjs/templates/bootstrapItalia/input/form.ejs.js +6 -2
- package/package.json +1 -1
package/dist/bootstrapItalia.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrapItalia=e():n.bootstrapItalia=e()}(self,(()=>(()=>{"use strict";var n={d:(e,l)=>{for(var t in l)n.o(l,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>V});const l={form:function(n){var e,l="";if(Array.prototype.join,n.mode.autocomplete){for(var t in l+='\n <div class="address-autocomplete-container">\n <input\n ref="'+(null==(e=n.ref.searchInput)?"":e)+'"\n ',n.inputAttributes)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.inputAttributes[t])?"":e)+'"\n ';l+='\n value="'+(null==(e=n.displayValue)?"":e)+'"\n autocomplete="off"\n aria-label="'+(null==(e=n.t("autocomplete"))?"":e)+'"\n >\n ',n.component.disableClearIcon||(l+='\n <i\n class="address-autocomplete-remove-value-icon fa fa-times"\n tabindex="'+(null==(e=n.inputAttributes.tabindex)?"":e)+'"\n ref="'+(null==(e=n.ref.removeValueIcon)?"":e)+'"\n ></i>\n '),l+="\n </div>\n"}return l+="\n",n.self.manualModeEnabled&&(l+='\n <div class="form-check checkbox">\n <label class="form-check-label">\n <input\n ref="'+(null==(e=n.ref.modeSwitcher)?"":e)+'"\n type="checkbox"\n class="form-check-input"\n tabindex="'+(null==(e=n.inputAttributes.tabindex)?"":e)+'"\n ',n.mode.manual&&(l+="checked=true"),l+="\n ",n.disabled&&(l+="disabled=true"),l+="\n >\n <span>"+(null==(e=n.component.switchToManualModeLabel)?"":e)+"</span>\n </label>\n </div>\n"),l+="\n",n.self.manualMode&&(l+='\n <div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<div ref="value">',n.displayValue?l+=null==(e=n.displayValue)?"":e:l+="-",l+"</div>\n"}},t={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="builder-component" ref="dragComponent" tabindex="-1">\n ',n.disableBuilderActions||(l+='\n <div class="component-btn-group" data-noattach="true">\n <div\n role="button"\n aria-label="Remove button. Click to remove component from the form"\n tabindex="-1"\n class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove"\n ref="removeComponent"\n >\n <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'"></i>\n </div>\n ',n.design||(l+='\n <div\n role="button"\n aria-label="Copy button. Click to copy component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-copy"\n ref="copyComponent"\n >\n <i class="'+(null==(e=n.iconClass("copy"))?"":e)+'"></i>\n </div>\n <div\n role="button"\n aria-label="Paste below button. Click to paste component below the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-paste"\n ref="pasteComponent"\n >\n <i class="'+(null==(e=n.iconClass("save"))?"":e)+'"></i>\n </div>\n <div\n role="button"\n aria-label="Edit json button. Click to edit json of the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-edit-json"\n ref="editJson"\n >\n <i class="'+(null==(e=n.iconClass("wrench"))?"":e)+'"></i>\n </div>\n '),l+='\n <div\n role="button"\n aria-label="Move button"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-move"\n ref="moveComponent"\n >\n <i class="'+(null==(e=n.iconClass("move"))?"":e)+'"></i>\n </div>\n ',n.design&&"reviewpage"===n.childComponent.type||(l+='\n <div\n role="button"\n aria-label="Edit button. Click to open component settings modal window"\n tabindex="-1"\n class="btn btn-xxs btn-secondary component-settings-button component-settings-button-edit"\n ref="editComponent"\n >\n <i class="'+(null==(e=n.iconClass("cog"))?"":e)+'"></i>\n </div>\n '),l+="\n </div>\n "),l+"\n "+(null==(e=n.html)?"":e)+"\n</div>\n"}},o={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="row">\n <div class="col col-sm-6">\n <p class="lead">'+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"</p>\n </div>\n ",n.helplinks&&(l+='\n <div class="col col-sm-6">\n <div class="float-end" style="margin-right: 20px; margin-top: 10px">\n <a href="'+(null==(e=n.t(n.helplinks+n.componentInfo.documentation))?"":e)+'" target="_blank" rel="noopener noreferrer">\n <i class="'+(null==(e=n.iconClass("new-window"))?"":e)+'"></i> '+(null==(e=n.t("Help"))?"":e)+"\n </a>\n </div>\n </div>\n "),l+='\n</div>\n<div class="row">\n <div class="col component-edit-tabs '+(null==(e=n.preview&&n.showPreview?"col-sm-6":"col-sm-12")?"":e)+'">\n <div ref="editForm">\n '+(null==(e=n.editForm)?"":e)+"\n </div>\n ",n.showPreview||(l+='\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="btn btn-secondary" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="btn btn-danger" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+"</button>\n ",n.preview&&(l+='\n <button class="btn btn-primary float-right" ref="previewButton">'+(null==(e=n.t("Show preview"))?"":e)+"</button>\n "),l+="\n </div>\n "),l+="\n </div>\n ",n.showPreview&&n.preview&&(l+='\n <div class="col col-sm-6">\n <div class="card panel preview-panel">\n <div class="card-header">\n <h4 class="card-title mb-0">'+(null==(e=n.t("Preview"))?"":e)+'</h4>\n </div>\n <div class="card-body">\n <div class="component-preview" ref="preview">\n '+(null==(e=n.preview)?"":e)+"\n </div>\n </div>\n </div>\n ",n.componentInfo.help&&(l+='\n <div class="card card-body bg-light formio-settings-help">\n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n </div>\n "),l+='\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="btn btn-secondary" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="btn btn-danger" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+'</button>\n <button class="btn btn-primary float-right" ref="previewButton">'+(null==(e=n.t("Hide preview"))?"":e)+"</button>\n </div>\n </div>\n "),l+"\n</div>\n"}},a={form:function(n){var e,l="";return Array.prototype.join,l+='<div id="'+(null==(e=n.groupId)?"":e)+'" class="accordion builder-sidebar'+(null==(e=n.scrollEnabled?" builder-sidebar_scroll":"")?"":e)+'" ref="sidebar" role="tablist">\n <input class="form-control builder-sidebar_search" type="search" ref="sidebar-search" placeholder="'+(null==(e=n.t("Search field(s)"))?"":e)+'" />\n <div ref="sidebar-groups">\n ',n.groups.forEach((function(n){l+="\n "+(null==(e=n)?"":e)+"\n "})),l+="\n </div>\n</div>\n"}},r={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="card form-builder-panel accordion-item" ref="group-panel-'+(null==(e=n.groupKey)?"":e)+'">\n <div class="card-header form-builder-group-header p-0" id="heading-'+(null==(e=n.groupKey)?"":e)+'">\n <h5 class="mb-0 mt-0 d-grid accordion-header">\n <button\n class="btn builder-group-button"\n type="button"\n data-bs-toggle="collapse"\n data-toggle="collapse"\n data-bs-target="#group-'+(null==(e=n.groupKey)?"":e)+'"\n data-target="#group-'+(null==(e=n.groupKey)?"":e)+'"\n data-parent="#'+(null==(e=n.groupId)?"":e)+'"\n data-bs-parent="#'+(null==(e=n.groupId)?"":e)+'"\n aria-expanded="'+(null==(e=n.group.default)?"":e)+'"\n aria-controls="group-'+(null==(e=n.groupKey)?"":e)+'"\n ref="sidebar-anchor"\n >\n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n </button>\n </h5>\n </div>\n <div\n id="group-'+(null==(e=n.groupKey)?"":e)+'"\n class="accordion-collapse collapse '+(null==(e=n.group.default?" show":"")?"":e)+'"\n data-bs-parent="#'+(null==(e=n.groupId)?"":e)+'"\n data-parent="#'+(null==(e=n.groupId)?"":e)+'"\n data-default="'+(null==(e=n.group.default)?"":e)+'"\n aria-labelledby="heading-'+(null==(e=n.groupKey)?"":e)+'"\n ref="sidebar-group"\n >\n <div id="group-container-'+(null==(e=n.groupKey)?"":e)+'" class="d-grid gap-1 no-drop p-2 w-100" ref="sidebar-container">\n ',n.group.componentOrder.length||n.subgroups.length?(l+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(t){l+='\n <span\n ref="sidebar-component"\n data-group="'+(null==(e=n.groupKey)?"":e)+'"\n data-key="'+(null==(e=n.group.components[t].key)?"":e)+'"\n data-type="'+(null==(e=n.group.components[t].schema.type)?"":e)+'"\n class="btn btn-outline-primary btn-sm formcomponent drag-copy m-0"\n tabindex="'+(null==(e=n.keyboardActionsEnabled?-1:0)?"":e)+'"\n >\n ',n.group.components[t].icon&&(l+='\n <i class="'+(null==(e=n.iconClass(n.group.components[t].icon))?"":e)+'" style="margin-right: 5px;"></i>\n '),l+="\n "+(null==(e=n.t(n.group.components[t].title,{_userInput:!0}))?"":e)+"\n </span>\n "})),l+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):l+="\n <div>"+(null==(e=n.t("No Matches Found"))?"":e)+"</div>\n ",l+="\n </div>\n </div>\n</div>\n"}},i={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="formio builder row formbuilder">\n <div class="col-xs-4 col-sm-3 col-md-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="col-xs-8 col-sm-9 col-md-10 formarea">\n <ol class="breadcrumb wizard-pages">\n ',n.pages.forEach((function(t,o){l+='\n <li>\n <span title="'+(null==(e=t.title)?"":e)+'" class="me-2 badge ',o===n.self.page?l+="bg-primary":l+="bg-info",l+=' wizard-page-label" ref="gotoPage">'+(null==(e=t.title)?"":e)+"</span>\n </li>\n "})),l+='\n <li class="wizard-add-page">\n <span title="'+(null==(e=n.t("Create Page"))?"":e)+'" class="me-2 badge bg-success wizard-page-label" ref="addPage">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t("Page"))?"":e)+'\n </span>\n </li>\n </ol>\n <div ref="form">\n '+(null==(e=n.form)?"":e)+"\n </div>\n </div>\n</div>\n"}},s={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n>\n",n.component.leftIcon&&(l+='<span class="'+(null==(e=n.component.leftIcon)?"":e)+'"></span> '),l+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(l+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n'),l+="\n",n.component.rightIcon&&(l+=' <span class="'+(null==(e=n.component.rightIcon)?"":e)+'"></span>'),l+"\n</"+(null==(e=n.input.type)?"":e)+'>\n<div ref="buttonMessageContainer">\n <span class="help-block" ref="buttonMessage"></span>\n</div>\n'},html:function(n){return"\n"}},u={form:function(n){var e,l="";for(var t in Array.prototype.join,l+='<div class="form-check">\n <'+(null==(e=n.input.type)?"":e)+'\n ref="input"\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+"\n ",n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.checked&&(l+="checked=true"),l+='\n aria-required="'+(null==(e=n.component.validate.required)?"":e)+'"\n ',n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n >\n ",n.self.labelIsHidden()||(l+='\n <label for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'" class="'+(null==(e=n.input.labelClass)?"":e)+' form-check-label" id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.input.label)?"":e)+"</label>\n "),l+="\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+"\n</div>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<label class="'+(null==(e=n.input.labelClass)?"":e)+'">\n '+(null==(e=n.input.content)?"":e)+"\n ",n.self.labelIsHidden()||(l+="<span>"+(null==(e=n.input.label)?"":e)+"</span>"),l+='\n</label>\n<div ref="value">',n.checked?l+="True":l+="False",l+"</div>\n"}},d={form:function(n){var e,l="";return Array.prototype.join,n.component.columns.forEach((function(t,o){l+='\n<div class="col-'+(null==(e=t.size)?"":e)+"-"+(null==(e=t.currentWidth)?"":e)+"\n offset-"+(null==(e=t.size)?"":e)+"-"+(null==(e=t.offset)?"":e)+'"\n ref="'+(null==(e=n.columnKey)?"":e)+'">\n '+(null==(e=n.columnComponents[o])?"":e)+"\n</div>\n"})),l}},c={form:function(n){var e,l="";return Array.prototype.join,l+='<div id="'+(null==(e=n.id)?"":e)+'" class="'+(null==(e=n.classes)?"":e)+" "+(null==(e="select"===n.component.type?"select-wrapper":"")?"":e)+'"',n.styles&&(l+=' style="'+(null==(e=n.styles)?"":e)+'"'),l+=' ref="component">\n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+'\n <div ref="messageContainer" class="formio-errors invalid-feedback"></div>\n '),l+"\n</div>\n"}},p={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="formio-component-modal-wrapper formio-component-modal-wrapper-'+(null==(e=n.component.type)?"":e)+'" ref="componentModalWrapper">\n <div ref="openModalWrapper"></div>\n <div class="formio-dialog formio-dialog-theme-default component-rendering-hidden" ref="modalWrapper">\n <div class="formio-dialog-overlay" ref="modalOverlay"></div>\n <div class="formio-dialog-content" aria-labelledby="ml-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'" ',n.self.isIE()||(l+=' role="dialog" '),l+=' ref="modalContents">\n <label class="visually-hidden" id="ml-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.t(n.component.label))?"":e)+(null==(e=n.self.isIE()?", dialog":"")?"":e)+"</label>\n ",n.options.vpat?l+='\n <button class="formio-dialog-close float-end" title="Close" aria-label="Close button. Click to get back to the form" ref="modalCloseButton"></button>\n ':l+='\n <button class="formio-dialog-close float-end btn btn-secondary btn-sm" aria-label="Close button. Click to get back to the form" ref="modalClose"></button>\n ',l+='\n <div ref="modalContents">\n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+"\n "),l+='\n <div class="formio-dialog-buttons">\n ',n.options.vpat&&(l+='\n <button class="btn btn-secondary formio-dialog-button" aria-label="Cancel button. Click to cancel the changes and get back to the form." ref="modalClose">'+(null==(e=n.t("Cancel"))?"":e)+"</button>\n "),l+'\n <button class="btn btn-success formio-dialog-button" ref="modalSave" aria-label="Save button. Click to save the changes and get back to the form.">'+(null==(e=n.t("Save"))?"":e)+'</button>\n </div>\n </div>\n </div>\n <span class="visually-hidden" ref="modalLiveRegion" aria-live="assertive"></span>\n </div>\n</div>\n'}},m={form:function(n){var e,l="";return Array.prototype.join,n.children.forEach((function(n){l+='\n <td class="editgrid-table-column">\n '+(null==(e=n)?"":e)+"\n </td>\n"})),l+="\n"}},b={form:function(n){var e,l="";return Array.prototype.join,l+='<table class="table datagrid-table table-bordered\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n " ',(n.component.layoutFixed||n.readOnly)&&(l+='style="table-layout: fixed;"'),l+=">\n ",n.hasHeader&&(l+="\n <thead>\n <tr>\n ",n.component.reorder&&(l+="<th></th>"),l+="\n ",n.columns.forEach((function(t){l+='\n <th class="'+(null==(e=t.validate&&t.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' <i ref="tooltip" tabindex="0" data-title="'+(null==(e=t.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>'),l+="\n </th>\n "})),l+="\n ",n.hasExtraColumn&&(l+='\n <th>\n <span class="visually-hidden">'+(null==(e=n.t("Add/Remove"))?"":e)+"</span>\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(l+='\n <button class="btn btn-primary formio-button-add-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-addRow" tabindex="'+(null==(e=n.tabIndex)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i>'+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n </button>\n "),l+="\n </th>\n "),l+="\n </tr>\n </thead>\n "),l+='\n <tbody ref="'+(null==(e=n.datagridKey)?"":e)+'-tbody" data-key="'+(null==(e=n.datagridKey)?"":e)+'">\n ',n.rows.forEach((function(t,o){l+="\n ",n.hasGroups&&n.groups[o]&&(l+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-group-header" class="datagrid-group-header'+(null==(e=n.hasToggle?" clickable":"")?"":e)+'">\n <td\n ref="'+(null==(e=n.datagridKey)?"":e)+'-group-label"\n colspan="'+(null==(e=n.numColumns)?"":e)+'"\n class="datagrid-group-label">'+(null==(e=n.groups[o].label)?"":e)+"</td>\n </tr>\n "),l+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-row">\n ',n.component.reorder&&(l+='\n <td class="col-1">\n <button type="button" class="formio-drag-button btn btn-default bi bi-list" data-key="'+(null==(e=n.datagridKey)?"":e)+'"></button>\n </td>\n '),l+="\n ",n.columns.forEach((function(o){l+='\n <td ref="'+(null==(e=n.datagridKey)?"":e)+'" ',o.key&&o.overlay&&o.overlay.width&&(l+=' style="width: '+(null==(e=o.overlay.width+"px")?"":e)+'"'),l+=" >\n "+(null==(e=t[o.key])?"":e)+"\n </td>\n "})),l+="\n ",n.hasExtraColumn&&(l+="\n ",n.hasRemoveButtons&&(l+='\n <td class="col-1">\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-removeRow" tabindex="'+(null==(e=n.tabIndex)?"":e)+'" aria-label="'+(null==(e=n.t("remove"))?"":e)+'">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),l+="\n ",n.canAddColumn&&(l+='\n <td ref="'+(null==(e=n.key)?"":e)+'-container" class="col-md-3">\n '+(null==(e=n.placeholder)?"":e)+"\n </td>\n "),l+="\n "),l+="\n </tr>\n "})),l+="\n </tbody>\n ",!n.builder&&n.hasAddButton&&n.hasBottomSubmit&&(l+='\n <tfoot>\n <tr>\n <td colspan="'+(null==(e=n.component.layoutFixed?n.numColumns:n.numColumns+1)?"":e)+'">\n <button class="btn btn-primary formio-button-add-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-addRow" tabindex="'+(null==(e=n.tabIndex)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n </button>\n </td>\n </tr>\n </tfoot>\n "),l+="\n</table>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<table class="table datagrid-table table-bordered\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.hasHeader&&(l+="\n <thead>\n <tr>\n ",n.columns.forEach((function(t){l+='\n <th class="'+(null==(e=t.validate&&t.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' <i ref="tooltip" tabindex="0" data-title="'+(null==(e=t.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>'),l+="\n </th>\n "})),l+="\n </tr>\n </thead>\n "),l+="\n <tbody>\n ",n.rows.forEach((function(t){l+="\n <tr>\n ",n.columns.forEach((function(o){l+='\n <td ref="'+(null==(e=n.datagridKey)?"":e)+'">\n '+(null==(e=t[o.key])?"":e)+"\n </td>\n "})),l+="\n </tr>\n "})),l+="\n </tbody>\n</table>\n"}},f={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="row" role="group"\n ',n.component.hideLabel?l+='\n aria-label="'+(null==(e=n.component.label)?"":e)+'"\n ':l+='\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ',l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n >\n ",n.dayFirst&&n.showDay&&(l+='\n <div class="col col-xs-3">\n ',n.component.hideInputLabels||(l+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-day" class="',n.component.fields.day.required&&(l+="field-required"),l+='">'+(null==(e=n.t("Day"))?"":e)+"</label>\n "),l+="\n <div>"+(null==(e=n.day)?"":e)+"</div>\n </div>\n "),l+="\n ",n.showMonth&&(l+='\n <div class="col col-xs-4">\n ',n.component.hideInputLabels||(l+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-month" class="',n.component.fields.month.required&&(l+="field-required"),l+='">'+(null==(e=n.t("Month"))?"":e)+"</label>\n "),l+="\n <div>"+(null==(e=n.month)?"":e)+"</div>\n </div>\n "),l+="\n ",!n.dayFirst&&n.showDay&&(l+='\n <div class="col col-xs-3">\n ',n.component.hideInputLabels||(l+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-day" class="',n.component.fields.day.required&&(l+="field-required"),l+='">'+(null==(e=n.t("Day"))?"":e)+"</label>\n "),l+="\n <div>"+(null==(e=n.day)?"":e)+"</div>\n </div>\n "),l+="\n ",n.showYear&&(l+='\n <div class="col col-xs-5">\n ',n.component.hideInputLabels||(l+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-year" class="',n.component.fields.year.required&&(l+="field-required"),l+='">'+(null==(e=n.t("Year"))?"":e)+"</label>\n "),l+="\n <div>"+(null==(e=n.year)?"":e)+"</div>\n </div>\n "),l+'\n</div>\n<input name="ctx.data[day]" type="hidden" class="form-control" lang="en" value="" ref="input">\n'}},v={form:function(n){var e,l="";return Array.prototype.join,l+='<ul class="editgrid-listgroup list-group\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(l+='\n <li class="list-group-item list-group-header">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n <li class="list-group-item" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(l+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),l+="\n </div>\n "),l+='\n <div class="has-error">\n <div class="editgrid-row-error">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "})),l+="\n ",n.footer&&(l+='\n <li class="list-group-item list-group-footer">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),l+="\n</ul>\n",!n.readOnly&&n.hasAddButton&&(l+='\n<button class="btn btn-primary" ref="'+(null==(e=n.ref.addRow)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n</button>\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<ul class="editgrid-listgroup list-group\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(l+='\n <li class="list-group-item list-group-header">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n <li class="list-group-item" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(l+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),l+="\n </div>\n "),l+='\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "})),l+="\n ",n.footer&&(l+='\n <li class="list-group-item list-group-footer">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),l+="\n</ul>\n"}},y={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(l+='\n <thead class="editgrid-table-head">\n '+(null==(e=n.header)?"":e)+"\n </thead>\n "),l+='\n <tbody class="editgrid-table-body">\n ',n.rows.forEach((function(t,o){l+='\n <tr ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(l+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),l+="\n </div>\n </td>\n "),l+="\n ",n.errors[o]&&(l+='\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </td>\n "),l+="\n </tr>\n "})),l+="\n </tbody>\n ",n.footer&&(l+="\n <tfoot>\n <tr>\n "+(null==(e=n.footer)?"":e)+"\n </tr>\n <tfoot>\n "),l+="\n </table>\n </div>\n</div>\n",!n.readOnly&&n.hasAddButton&&(l+='\n<button class="btn btn-primary" ref="'+(null==(e=n.ref.addRow)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i>\n '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n</button>\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<div class="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(l+='\n <thead class="editgrid-table-head">\n '+(null==(e=n.header)?"":e)+"\n </thead>\n "),l+='\n <tbody class="editgrid-table-body">\n ',n.rows.forEach((function(t,o){l+='\n <tr ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(l+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),l+="\n </div>\n </td>\n "),l+="\n ",n.errors[o]&&(l+='\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </td>\n "),l+="\n </tr>\n "})),l+="\n </tbody>\n ",n.footer&&(l+="\n <tfoot>\n <tr>\n "+(null==(e=n.footer)?"":e)+"\n </tr>\n <tfoot>\n "),l+="\n </table>\n </div>\n</div>\n"}},g={form:function(n){var e,l="";return Array.prototype.join,n.label.hidden||"bottom"===n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n\n",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n <label class="'+(null==(e=n.label.className)?"":e)+'"></label>\n'),l+="\n\n"+(null==(e=n.element)?"":e)+"\n\n",n.label.hidden||"bottom"!==n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n",n.component.description&&(l+='\n <div id="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'" class="form-text text-muted">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\n"),l+"\n"},align:function(n){var e,l="";return Array.prototype.join,l+='<div class="field-wrapper flex-fill\n '+(null==(e=n.isRightPosition?"field-wrapper--reverse":"")?"":e)+'">\n ',n.label.hidden||(l+='\n <div class="field-label\n '+(null==(e=n.isRightAlign?"field-label--right":"")?"":e)+'"\n style="'+(null==(e=n.labelStyles)?"":e)+'">\n '+(null==(e=n.labelMarkup)?"":e)+"\n </div>\n "),l+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n <div class="field-label\n '+(null==(e=n.isRightAlign?"field-label--right":"")?"":e)+'"\n style="'+(null==(e=n.labelStyles)?"":e)+'">\n <label class="'+(null==(e=n.label.className)?"":e)+'"></label>\n </div>\n '),l+='\n\n <div class="field-content" style="'+(null==(e=n.contentStyles)?"":e)+'">\n '+(null==(e=n.element)?"":e)+"\n </div>\n</div>\n\n",n.component.description&&(l+='\n <div class="form-text text-muted">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\n"),l+"\n"}},h={form:function(n){var e,l="";return Array.prototype.join,l+='<fieldset class="it-page-section" id="section-'+(null==(e=n.key)?"":e)+'">\n <div class="cmp-card mt-2">\n <div class="card has-bkg-grey shadow-sm p-big">\n ',n.component.legend&&(l+='\n <div ref="header" class="'+(null==(e=n.component.collapsible?"formio-clickable card-header border-0 p-0 mb-lg-30":"card-header border-0 p-0 mb-lg-30")?"":e)+'">\n <div class="d-flex">\n <h2 class="title-xxlarge mb-1">\n '+(null==(e=n.t(n.component.legend,{_userInput:!0}))?"":e)+"\n </h2>\n </div>\n ",n.component.tooltip&&(l+='\n <p class="subtitle-small mb-0">'+(null==(e=n.component.tooltip)?"":e)+"</p>\n "),l+="\n </div>\n "),l+="\n ",n.collapsed||(l+='\n <div class="card p-3 p-lg-4 fieldset-body" ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n "),l+"\n </div>\n </div>\n</fieldset>\n"}},w={form:function(n){var e,l="";return Array.prototype.join,n.options.vpat&&(l+='\n <span tabindex="-1" class="visually-hidden" id="invisible-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"></span>\n'),l+="\n",n.self.imageUpload?(l+="\n <div>\n ",n.files.forEach((function(t){l+='\n <div>\n <span>\n <img ref="fileImage" src="" alt="'+(null==(e=t.originalName||t.name)?"":e)+'" style="width:'+(null==(e=n.component.imageSize)?"":e)+'px">\n ',n.disabled||(l+='\n <i tabindex="0" class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i>\n '),l+="\n </span>\n </div>\n "})),l+="\n </div>\n"):(l+="\n ",n.options.vpat&&(l+="\n <div>"+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+"</div>\n "),l+='\n <ul class="list-group list-group-striped">\n <li class="list-group-item list-group-header hidden-xs hidden-sm">\n <div class="row">\n <div class="col-md-'+(null==(e=n.columns.name)?"":e)+'"><strong>'+(null==(e=n.t("File Name"))?"":e)+'</strong></div>\n <div class="col-md-'+(null==(e=n.columns.size)?"":e)+'"><strong>'+(null==(e=n.t("Size"))?"":e)+"</strong></div>\n ",n.self.hasTypes&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'"><strong>'+(null==(e=n.t("Type"))?"":e)+"</strong></div>\n "),l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center">\n ',n.showSyncButton&&(l+='\n <button\n class="btn btn-primary btn-sm"\n ref="syncNow"\n ',(n.disabled||n.isSyncing)&&(l+="disabled=true"),l+="\n >"+(null==(e=n.isSyncing?n.t("Syncing..."):n.t("Sync Now"))?"":e)+"</button>\n "),l+="\n </div>\n </div>\n </li>\n ",n.files.forEach((function(t){l+='\n <li class="list-group-item">\n <div class="row">\n <div class="col-md-'+(null==(e=n.columns.name)?"":e)+'">\n ',n.component.uploadOnly?l+="\n "+(null==(e=t.originalName||t.name)?"":e)+"\n ":l+='\n <a href="'+(null==(e=t.url||"#")?"":e)+'" target="_blank" ref="fileLink">\n <span class="visually-hidden">'+(null==(e=n.t("Press to open "))?"":e)+"</span>"+(null==(e=t.originalName||t.name)?"":e)+"\n </a>\n ",l+='\n </div>\n <div class="col-md-'+(null==(e=n.columns.size)?"":e)+'">'+(null==(e=n.fileSize(t.size))?"":e)+"</div>\n ",n.self.hasTypes&&!n.disabled&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'">\n <select class="file-type" ref="fileType">\n ',n.component.fileTypes.map((function(o){l+='\n <option class="test" value="'+(null==(e=o.value)?"":e)+'" ',o.label===t.fileType&&(l+='selected="selected"'),l+=">"+(null==(e=n.t(o.label))?"":e)+"</option>\n "})),l+="\n </select>\n </div>\n "),l+="\n ",n.self.hasTypes&&n.disabled&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'">'+(null==(e=t.fileType)?"":e)+"</div>\n "),l+="\n ",n.disabled||(l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center"><i tabindex="0" class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i></div>\n '),l+="\n </div>\n </li>\n "})),l+="\n ",n.filesToDelete.forEach((function(t){l+='\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-'+(null==(e=n.columns.name)?"":e)+'">\n <div>'+(null==(e=t.originalName||t.name)?"":e)+'</div>\n <div class="status text-'+(null==(e="error"===t.status?"danger":t.status)?"":e)+'">'+(null==(e=n.t(t.message))?"":e)+'</div>\n </div>\n <div class="col-md-'+(null==(e=n.columns.size)?"":e)+'">'+(null==(e=n.fileSize(t.size))?"":e)+"</div>\n ",n.self.hasTypes&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'">\n <select class="file-type" ref="fileType">\n ',n.component.fileTypes.map((function(o){l+='\n <option class="test" value="'+(null==(e=o.value)?"":e)+'" ',o.label===t.fileType&&(l+='selected="selected"'),l+=">"+(null==(e=n.t(o.label))?"":e)+"</option>\n "})),l+="\n </select>\n </div>\n "),l+="\n ",n.isSyncing||"success"===t.status||(l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center"><i tabindex="0" class="'+(null==(e=n.iconClass("arrow-counterclockwise"))?"":e)+'" ref="restoreFile"></i></div>\n '),l+="\n </div>\n </li>\n "})),l+="\n ",n.filesToUpload.forEach((function(t){l+='\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-'+(null==(e=n.columns.name)?"":e)+'">\n <div>'+(null==(e=t.originalName||t.name)?"":e)+"</div>\n ","progress"===t.status?l+='\n <div class="status progress">\n <div id="'+(null==(e=t.id)?"":e)+'" class="progress-bar" role="progressbar" aria-valuenow="'+(null==(e=t.progress)?"":e)+'" aria-valuemin="0" aria-valuemax="100" style="width: '+(null==(e=t.progress)?"":e)+'%" ref="progress">\n <span class="visually-hidden">'+(null==(e=t.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"</span>\n </div>\n </div>\n ":l+='\n <div class="status text-'+(null==(e="error"===t.status?"danger":t.status)?"":e)+'">'+(null==(e=n.t(t.message))?"":e)+"</div>\n ",l+='\n </div>\n <div class="col-md-'+(null==(e=n.columns.size)?"":e)+'">'+(null==(e=n.fileSize(t.size))?"":e)+"</div>\n ",n.self.hasTypes&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'">\n <select class="file-type" ref="fileType">\n ',n.component.fileTypes.map((function(o){l+='\n <option class="test" value="'+(null==(e=o.value)?"":e)+'" ',o.label===t.fileType&&(l+='selected="selected"'),l+=">"+(null==(e=n.t(o.label))?"":e)+"</option>\n "})),l+="\n </select>\n </div>\n "),l+="\n ","progress"===t.status?l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center"><i id="abort-'+(null==(e=t.id)?"":e)+'" tabindex="0" class="'+(null==(e=n.iconClass("ban"))?"":e)+'"></i></div>\n ':n.isSyncing||"success"===t.status||(l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center"><i tabindex="0" class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="fileToSyncRemove"></i></div>\n '),l+="\n </div>\n </li>\n "})),l+="\n </ul>\n"),l+="\n",n.disabled||!n.component.multiple&&n.files.length||(l+="\n ",n.self.useWebViewCamera?l+='\n <div class="fileSelector">\n <button class="btn btn-primary" ref="galleryButton"><i class="'+(null==(e=n.iconClass("book"))?"":e)+'"></i> '+(null==(e=n.t("Gallery"))?"":e)+'</button>\n <button class="btn btn-primary" ref="cameraButton"><i class="'+(null==(e=n.iconClass("camera"))?"":e)+'"></i> '+(null==(e=n.t("Camera"))?"":e)+"</button>\n </div>\n ":n.self.cameraMode?l+='\n <div class="video-container">\n <video class="video" autoplay="true" ref="videoPlayer" tabindex="-1"></video>\n </div>\n <button class="btn btn-primary" ref="takePictureButton"><i class="'+(null==(e=n.iconClass("camera"))?"":e)+'"></i> '+(null==(e=n.t("Take Picture"))?"":e)+'</button>\n <button class="btn btn-primary" ref="toggleCameraMode">'+(null==(e=n.t("Switch to file upload"))?"":e)+"</button>\n ":(l+='\n <div class="fileSelector" ref="fileDrop" '+(null==(e=n.fileDropHidden?"hidden":"")?"":e)+">\n ",n.self.isMobile.any||(l+='\n <i class="'+(null==(e=n.iconClass("cloud-upload"))?"":e)+'"></i> '+(null==(e=n.t("Drop files to attach,"))?"":e)+"\n "),l+="\n ",n.self.imageUpload&&n.component.webcam&&(l+='\n <a href="#" ref="toggleCameraMode"><i class="'+(null==(e=n.iconClass("camera"))?"":e)+'"></i>'+(null==(e=n.t("Use Camera"))?"":e)+"</a>\n "+(null==(e=n.t("or"))?"":e)+"\n "),l+='\n <a href="#" ref="fileBrowse" class="browse">\n ',n.self.isMobile.any&&n.component.capture?(l+="\n ",n.component.filePattern&&n.component.filePattern.includes("video")?l+='\n <i class="'+(null==(e=n.iconClass("video"))?"":e)+'"></i>'+(null==(e=n.t("Capture Video"))?"":e)+"\n ":n.component.filePattern&&n.component.filePattern.includes("audio")?l+='\n <i class="'+(null==(e=n.iconClass("microphone"))?"":e)+'"></i>'+(null==(e=n.t("Capture Audio"))?"":e)+"\n ":l+='\n <i class="'+(null==(e=n.iconClass("camera"))?"":e)+'"></i>'+(null==(e=n.t("Capture Image"))?"":e)+"\n ",l+="\n "):l+='\n <i class="'+(null==(e=n.iconClass("folder-open"))?"":e)+'"></i>'+(null==(e=n.t("Browse Files"))?"":e)+"\n ",l+='\n <span class="visually-hidden">\n '+(null==(e=n.t("Browse to attach file for "+n.component.label+". "+(n.component.description?n.component.description+". ":"")+(n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")))?"":e)+'\n </span>\n </a>\n <div ref="fileProcessingLoader" class="loader-wrapper">\n <div class="loader text-center"></div>\n </div>\n </div>\n '),l+="\n"),l+="\n",n.component.storage&&!n.support.hasWarning||(l+='\n <div class="alert alert-warning">\n ',n.component.storage||(l+="\n <p>"+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"</p>\n "),l+="\n ",n.support.filereader||(l+="\n <p>"+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"</p>\n "),l+="\n ",n.support.formdata||(l+="\n <p>"+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"</p>\n "),l+="\n ",n.support.progress||(l+="\n <p>"+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"</p>\n "),l+="\n </div>\n"),l+="\n"}},x={form:function(n){var e,l="";return Array.prototype.join,l+="<"+(null==(e=n.tag)?"":e)+' class="formio-component-htmlelement '+(null==(e=n.component.className)?"":e)+'" ref="html"\n ',n.attrs.forEach((function(n){l+="\n "+(null==(e=n.attr)?"":e)+'="'+(null==(e=n.value)?"":e)+'"\n '})),l+="\n>"+(null==(e=n.t(n.content))?"":e),n.singleTags&&-1!==n.singleTags.indexOf(n.tag)||(l+="</"+(null==(e=n.tag)?"":e)+">"),l+="\n"}},k={form:function(n){var e,l="";if(Array.prototype.join,l+='<div class="field">\n',(n.prefix||n.suffix)&&(l+='\n<div class="input-group">\n '),l+="\n ",n.prefix&&(l+='\n <div class="input-group-text" ref="prefix">\n ',n.prefix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.prefix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.prefix,{_userInput:!0}))?"":e)+"\n ",l+="\n </div>\n "),l+="\n ",n.options.floatingLabels&&(l+='\n <div class="form-floating">\n '),l+="\n ",!n.component.editor&&!n.component.wysiwyg){for(var t in l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';l+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'" placeholder="'+(null==(e=n.input.attr.placeholder)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+" ",n.component.description&&(l+="d-"+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)),l+='"\n aria-required="'+(null==(e="input"!==n.input.ref&&n.input.ref?n.component.fields&&n.component.fields[n.input.ref]&&n.component.fields[n.input.ref].required||!1:n.component.validate.required)?"":e)+'"\n >'+(null==(e=n.input.content)?"":e)+"</"+(null==(e=n.input.type)?"":e)+'>\n <label class="floating-label" for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+="</label>\n ",n.options.floatingLabels&&(l+='\n <label ref="label" class="col-form-label '+(null==(e=n.label.className)?"":e)+'"\n for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n >'+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"</label>\n "),l+="\n ",n.hasValueMaskInput&&(l+='\n <input ref="valueMaskInput" />\n '),l+="\n"}return l+="\n",(n.component.editor||n.component.wysiwyg)&&(l+='\n <div ref="input"></div>\n <label class="floating-label" for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+="</label>\n"),l+="\n","datetime"===n.component.type&&(l+='\n<span aria-live="assertive" id="'+(null==(e=n.instance.id)?"":e)+'-liveRegion" class="visually-hidden" ref="liveRegion"></span>\n'),l+="\n",n.suffix&&(l+='\n <div class="input-group-text" ref="suffix">\n ',n.suffix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.suffix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.suffix,{_userInput:!0}))?"":e)+"\n ",l+="\n </div>\n"),l+="\n",(n.prefix||n.suffix||n.options.floatingLabels)&&(l+="\n </div>\n"),l+="\n",(n.component.showCharCount||n.component.showWordCount)&&(l+='\n<div class="form-text {{ctx.component.description ? float-end : text-end">\n ',n.component.showCharCount&&(l+='\n <span class="text-muted" ref="charcount" aria-live="polite"></span>\n '),l+="\n ",n.component.showWordCount&&(l+='\n <span class="text-muted" ref="wordcount" aria-live="polite"></span>\n '),l+="\n</div>\n"),l+"\n</div>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<div ref="value">',n.value?l+=null==(e=n.value)?"":e:l+="-",l+"</div>\n"}},C={form:function(n){var e,l="";return Array.prototype.join,"email"===n.component.type||"textfield"===n.component.type||"number"===n.component.type||"phoneNumber"===n.component.type||"currency"===n.component.type||"textarea"===n.component.type||"dynamic_calendar"===n.component.type||"password"===n.component.type||"time"===n.component.type||"calendar"===n.component.type||"pagebreak"===n.component.type?l+="\n\n":(l+='\n\n<label\n ref="label"\n class="col-form-label '+(null==(e=n.label.className)?"":e)+'"\n for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n>\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ","number"!==n.component.type&&"phoneNumber"!==n.component.type&&"currency"!==n.component.type||(l+='\n <span class="visually-hidden">, '+(null==(e=n.t("numeric only"))?"":e)+",</span>\n "),l+="\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+="\n</label>\n"),l+"\n"}},A={form:function(n){var e,l="";for(var t in Array.prototype.join,l+='<div\n class="input-group formio-multiple-mask-container"\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n>\n <select\n class="form-control formio-multiple-mask-select"\n id="'+(null==(e=n.key)?"":e)+'-mask"\n ref="select"\n ',n.input.attr.disabled&&(l+="disabled"),l+=">\n ",n.selectOptions.forEach((function(n){l+='\n <option value="'+(null==(e=n.value)?"":e)+'">'+(null==(e=n.label)?"":e)+"</option>\n "})),l+='\n </select>\n <input\n ref="mask"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n >\n</div>\n"}},I={form:function(n){var e,l="";return Array.prototype.join,l+='<tr ref="row">\n <td>\n '+(null==(e=n.element)?"":e)+"\n </td>\n ",n.disabled||(l+='\n <td>\n <button type="button" class="btn btn-secondary" ref="removeRow">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),l+"\n</tr>\n"}},j={form:function(n){var e,l="";return Array.prototype.join,l+='<table class="table table-bordered">\n <tbody>\n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(l+='\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-another" ref="addButton"><i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.addAnother,{_userInput:!0}))?"":e)+"</button>\n </td>\n </tr>\n "),l+"\n </tbody>\n</table>\n"}},z={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="mb-2 card border" id="panel-'+(null==(e=n.key)?"":e)+'">\n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(l+='\n <div class="card-header '+(null==(e=n.transform("class","bg-"+n.component.theme))?"":e)+'"\n ',n.component.collapsible&&(l+='\n tabindex="0"\n '),l+='\n role="button"\n aria-expanded="'+(null==(e=!n.component.collapsible||!n.collapsed)?"":e)+'"\n aria-controls="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ref="header"\n >\n ',!0===n.readOnly&&!0===n.options.flatten?(l+='\n <h3 class="mb-0 card-title ',n.component.theme&&"default"!==n.component.theme&&(l+="text-light"),l+='">\n '):(l+='\n <span class="mb-0 card-title ',n.component.theme&&"default"!==n.component.theme&&(l+="text-light"),l+='">\n '),l+="\n ",n.component.collapsible&&(l+='\n <i class="formio-collapse-icon '+(null==(e=n.iconClass(n.collapsed?"plus-square-o":"minus-square-o"))?"":e)+' text-muted" data-title="Collapse Panel"></i>\n '),l+="\n ",n.component.hideLabel&&!n.builder||(l+="\n "+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"\n "),l+="\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+="\n ",!0===n.readOnly&&!0===n.options.flatten?l+="\n </h3>\n ":l+="\n </span>\n ",l+="\n </div>\n "),l+="\n ",n.collapsed&&!n.builder||(l+='\n <div class="card-body" ref="'+(null==(e=n.nestedKey)?"":e)+'" id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n "),l+"\n</div>\n"}},_={form:function(n){var e,l="";return Array.prototype.join,l+='<div\n class="form-radio radio"\n ref="radioGroup"\n role="'+(null==(e="selectboxes"===n.component.type?"group":"radiogroup")?"":e)+'"\n aria-required="'+(null==(e=n.input.component.validate.required)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ',n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n>\n ",n.values.forEach((function(t,o){for(var a in l+='\n <div class="form-check '+(null==(e=n.input.attr.type)?"":e)+" "+(null==(e=n.component.optionsLabelPosition&&"right"!==n.component.optionsLabelPosition?"ps-0":"")?"":e)+" form-check"+(null==(e=n.inline?"-inline":"")?"":e)+'" ref="wrapper">\n ',["left","top"].includes(n.component.optionsLabelPosition)&&(l+='\n <label class="form-check-label label-position-'+(null==(e=n.component.optionsLabelPosition)?"":e)+'" for="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof t.value?t.value+"-"+o:t.value)?"":e)+'"><span>'+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"</span></label>\n "),l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="input"\n ',n.input.attr)l+="\n "+(null==(e=a)?"":e)+'="'+(null==(e=n.input.attr[a])?"":e)+'"\n ';l+='\n value="'+(null==(e=t.value)?"":e)+'"\n ',n.value&&(n.value===t.value||"object"==typeof n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value])&&(l+="\n checked=true\n "),l+="\n ",t.disabled&&(l+="\n disabled=true\n "),l+='\n id="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof t.value?t.value+"-"+o:t.value)?"":e)+'"\n role="'+(null==(e="selectboxes"===n.component.type?"checkbox":"radio")?"":e)+'"\n >\n ',n.component.optionsLabelPosition&&!["right","bottom"].includes(n.component.optionsLabelPosition)||(l+='\n <label class="form-check-label label-position-'+(null==(e=n.component.optionsLabelPosition)?"":e)+'" for="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof t.value?t.value+"-"+o:t.value)?"":e)+'"><span>'+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"</span></label>\n "),l+="\n </div>\n "})),l+="\n</div>\n"},html:function(n){var e,l="";return Array.prototype.join,(l+='<div ref="value">\n ')+"\n "+(null==(e=n.values.filter((function(e){return n.value===e.value||"object"==typeof n.value&&n.value.hasOwnProperty(e.value)&&n.value[e.value]})).map((function(e){return n.t(e.label,{_userInput:!0})})).join(", "))?"":e)+"\n </div>\n"}},E={form:function(n){var e,l="";for(var t in Array.prototype.join,l+='<select\n ref="'+(null==(e=n.input.ref?n.input.ref:"selectContainer")?"":e)+'"\n '+(null==(e=n.input.multiple?"multiple":"")?"":e)+"\n ",n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.input.attr.id||(l+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+='\n aria-required="'+(null==(e="selectContainer"!==n.input.ref&&n.input.ref?n.component.fields[n.input.ref].required:n.input.component.validate.required)?"":e)+'"\n>'+(null==(e=n.selectOptions)?"":e)+'</select>\n\x3c!--<input type="text"\n class="formio-select-autocomplete-input"\n ref="autocompleteInput"\n ',n.input.attr.autocomplete&&(l+='\n autocomplete="'+(null==(e=n.input.attr.autocomplete)?"":e)+'"\n '),l+'\n tabindex="-1"\n aria-label="'+(null==(e=n.t("autocomplete"))?"":e)+'"\n/>--\x3e\n'},html:function(n){var e,l="";return Array.prototype.join,l+='<div ref="value">',n.value?l+=null==(e=n.self.itemValueForHTMLMode(n.value))?"":e:l+="-",l+"</div>\n"}},P={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<option "+(null==(e=n.selected?'selected="selected"':"")?"":e)+"\n value='"+(null==(e=n.useId?n.id:n.option.value)?"":e)+"'\n ",n.attrs)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.attrs[t])?"":e)+'"\n ';return l+"\n >\n "+(null==(e=n.t(n.option.label,{_userInput:!0}))?"":e)+"\n</option>\n"},html:function(n){var e,l="";return Array.prototype.join,n.selected&&(l+=null==(e=n.t(n.option.label,{_userInput:!0}))?"":e),l+"\n"}},q={form:function(n){var e,l="";return Array.prototype.join,l+=(null==(e=n.element)?"":e)+'\n<div\n class="signature-pad-body"\n style="width: '+(null==(e=n.component.width)?"":e)+";height: "+(null==(e=n.component.height)?"":e)+';padding:0;margin:0;"\n tabindex="'+(null==(e=n.component.tabindex||0)?"":e)+'"\n ref="padBody"\n>\n <a class="btn btn-sm btn-light signature-pad-refresh" ref="refresh">\n <i class="'+(null==(e=n.iconClass("refresh"))?"":e)+'"></i>\n </a>\n <canvas class="signature-pad-canvas" style="display: none;" height="'+(null==(e=n.component.height)?"":e)+'" ref="canvas"></canvas>\n ',n.required&&(l+='\n <span class="form-control-feedback text-danger">\n <i class="'+(null==(e=n.iconClass("asterisk"))?"":e)+'"></i>\n </span>\n '),l+='\n <img style="width: 100%;display: inherit;" ref="signatureImage">\n</div>\n',n.component.footer&&(l+='\n <div class="signature-pad-footer">\n '+(null==(e=n.t(n.component.footer,{_userInput:!0}))?"":e)+"\n </div>\n"),l+"\n"},html:function(n){return'<img style="width: 100%;" ref="signatureImage">\n'}},R={form:function(n){var e,l="";return Array.prototype.join,l+='<table class="table table-striped table-bordered" aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">\n <thead>\n <tr>\n <th></th>\n ',n.component.values.forEach((function(t){l+='\n <th style="text-align: center;">\n '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>\n '),l+="\n </th>\n "})),l+="\n </tr>\n </thead>\n <tbody>\n ",n.component.questions.forEach((function(t){l+="\n <tr>\n <td>\n "+(null==(e=n.t(t.label))?"":e)+"\n ",t.tooltip&&(l+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>\n '),l+="\n </td>\n ",n.component.values.forEach((function(o){l+='\n <td style="text-align: center;">\n <input type="radio" name="'+(null==(e=n.self.getInputName(t))?"":e)+'" value="'+(null==(e=o.value)?"":e)+'" id="'+(null==(e=n.key)?"":e)+"-"+(null==(e=t.value)?"":e)+"-"+(null==(e=o.value)?"":e)+'" ref="input">\n </td>\n '})),l+="\n </tr>\n "})),l+="\n </tbody>\n</table>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<table class="table table-striped table-bordered">\n <tbody>\n ',n.component.questions.forEach((function(t){l+="\n <tr>\n <th>"+(null==(e=n.t(t.label))?"":e)+"</th>\n <td>\n ",n.component.values.forEach((function(o){l+="\n ",n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value]===o.value&&(l+="\n "+(null==(e=n.t(o.label))?"":e)+"\n "),l+="\n "})),l+="\n </td>\n </tr>\n "})),l+="\n </tbody>\n</table>\n"}},L={flat:function(n){var e,l="";return Array.prototype.join,n.component.components.forEach((function(t,o){l+='\n <div class="mb-2 card border">\n <div class="card-header bg-default">\n <h4 class="mb-0 card-title">'+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+'</h4>\n </div>\n <div\n class="card-body"\n ref="'+(null==(e=n.tabKey)?"":e)+'"\n >\n '+(null==(e=n.tabComponents[o])?"":e)+"\n </div>\n </div>\n"})),l+="\n"},form:function(n){var e,l="";return Array.prototype.join,l+='<div class="card'+(null==(e=n.component.verticalLayout?" card-vertical":"")?"":e)+'">\n <div class="card-header">\n <ul class="tab-component-tabs nav nav-tabs card-header-tabs'+(null==(e=n.component.verticalLayout?" nav-tabs-vertical":"")?"":e)+'" role="tablist">\n ',n.component.components.forEach((function(t,o){l+='\n <li class="nav-item'+(null==(e=n.currentTab===o?" active":"")?"":e)+'" role="tab" ref="'+(null==(e=n.tabLikey)?"":e)+'">\n <a\n class="nav-link'+(null==(e=n.currentTab===o?" active":"")?"":e)+(null==(e=n.component.verticalLayout?" nav-link-vertical":"")?"":e)+'"\n href="#'+(null==(e=t.key)?"":e)+'"\n ref="'+(null==(e=n.tabLinkKey)?"":e)+'"\n >\n '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"\n </a>\n </li>\n "})),l+="\n </ul>\n </div>\n ",n.component.components.forEach((function(t,o){l+='\n <div\n role="tabpanel"\n class="card-body tab-pane"\n style="display: '+(null==(e=n.currentTab===o?"block":"none")?"":e)+'"\n ref="'+(null==(e=n.tabKey)?"":e)+'"\n >\n '+(null==(e=n.tabComponents[o])?"":e)+"\n </div>\n "})),l+="\n</div>\n"}},K={form:function(n){var e,l="";return Array.prototype.join,l+='<table class="table\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n <caption class="visually-hidden">'+(null==(e=n.t(n.component.label))?"":e)+"</caption>\n ",n.component.header&&n.component.header.length>0&&(l+="\n <thead>\n <tr>\n ",n.component.header.forEach((function(t){l+="\n <th>"+(null==(e=n.t(t))?"":e)+"</th>\n "})),l+="\n </tr>\n </thead>\n "),l+="\n <tbody>\n ",n.tableComponents.forEach((function(t,o){l+='\n <tr ref="row-'+(null==(e=n.id)?"":e)+'">\n ',t.forEach((function(t,a){l+='\n <td ref="'+(null==(e=n.tableKey)?"":e)+"-"+(null==(e=o)?"":e)+'"',n.cellClassName&&(l+=' class="'+(null==(e=n.cellClassName)?"":e)+'"'),l+=">"+(null==(e=t)?"":e)+"</td>\n "})),l+="\n </tr>\n "})),l+="\n </tbody>\n</table>\n"}},N={form:function(n){var e,l="";return Array.prototype.join,n.node.isRoot?l+='\n <div ref="root" class="list-group-item">\n':l+='\n <li ref="node" class="list-group-item col-sm-12 tree__level tree__level_'+(null==(e=n.odd?"odd":"even")?"":e)+'">\n',l+="\n ",n.content&&(l+='\n <div ref="content" class="tree__node-content">\n '+(null==(e=n.content)?"":e)+"\n </div>\n "),l+="\n ",n.childNodes&&n.childNodes.length&&(l+='\n <ul ref="childNodes" class="tree__node-children list-group row">\n '+(null==(e=n.childNodes.join(""))?"":e)+"\n </ul>\n "),l+="\n",n.node.isRoot?l+="\n </div>\n":l+="\n </li>\n",l+"\n"}},T={treeView:{form:function(n){var e,l="";return Array.prototype.join,l+='<div class="row">\n ',n.values.forEach((function(n){l+='\n <div class="col-sm-2">\n '+(null==(e=n)?"":e)+"\n </div>\n "})),l+='\n <div class="col-sm-3">\n <div class="btn-group pull-right">\n ',n.node.hasChildren&&(l+='\n <button ref="toggleNode" class="btn btn-default btn-sm toggleNode">'+(null==(e=n.t(n.node.collapsed?"Expand":"Collapse"))?"":e)+"</button>\n "),l+="\n ",n.readOnly||(l+='\n <button ref="addChild" class="btn btn-default btn-sm addChild">'+(null==(e=n.t("Add"))?"":e)+'</button>\n <button ref="editNode" class="btn btn-default btn-sm editNode">'+(null==(e=n.t("Edit"))?"":e)+'</button>\n <button ref="removeNode" class="btn btn-danger btn-sm removeNode">'+(null==(e=n.t("Delete"))?"":e)+"</button>\n ",n.node.revertAvailable&&(l+='\n <button ref="revertNode" class="btn btn-danger btn-sm revertNode">'+(null==(e=n.t("Revert"))?"":e)+"</button>\n "),l+="\n "),l+="\n </div>\n </div>\n</div>\n"}},treeEdit:{form:function(n){var e,l="";return Array.prototype.join,l+='<div class="node-edit">\n <div ref="nodeEdit">'+(null==(e=n.children)?"":e)+"</div>\n ",n.readOnly||(l+='\n <div class="node-actions">\n <button ref="saveNode" class="btn btn-primary saveNode">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button ref="cancelNode" class="btn btn-danger cancelNode">'+(null==(e=n.t("Cancel"))?"":e)+"</button>\n </div>\n "),l+"\n</div>\n"}}},S={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="'+(null==(e=n.className)?"":e)+'">\n <div style="position: relative;">\n ',"wizardHeaderVertical"===n.wizardHeaderType?(l+='\n <div class="row">\n ',"right"!==n.wizardHeaderLocation&&(l+='\n <div class="col-sm-2">\n '+(null==(e=n.wizardHeader)?"":e)+"\n </div>\n "),l+='\n <div class="wizard-page col-sm-10" ref="'+(null==(e=n.wizardKey)?"":e)+'">\n '+(null==(e=n.components)?"":e)+"\n </div>\n ","right"===n.wizardHeaderLocation&&(l+='\n <div class="col-sm-2">\n '+(null==(e=n.wizardHeader)?"":e)+"\n </div>\n "),l+='\n </div>\n <div class="col-sm-offset-2 col-sm-10 '+(null==(e="right"===n.wizardHeaderLocation?"col-sm-offset-0 col-md-offset-0":"")?"":e)+'">\n '+(null==(e=n.wizardNav)?"":e)+"\n </div>\n "):(l+="\n ",n.options.hideBreadCrumb||(l+="\n "+(null==(e=n.wizardHeader)?"":e)+"\n "),l+='\n <div class="wizard-page" ref="'+(null==(e=n.wizardKey)?"":e)+'">\n '+(null==(e=n.components)?"":e)+"\n </div>\n ",n.options.hideWizardNav||(l+="\n "+(null==(e=n.wizardNav)?"":e)+"\n "),l+="\n "),l+"\n </div>\n</div>\n"},builder:function(n){var e;return""+'<div class="text-muted text-center p-2">'+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"</div>\n"}},B={form:function(n){var e,l="";return Array.prototype.join,l+='<nav aria-label="Wizard navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header" ref="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <ul class="pagination" role="tablist">\n ',n.panels.forEach((function(t,o){l+='\n <li class="page-item'+(null==(e=n.currentPage===o?" active":"")?"":e)+'" style="cursor: pointer;">\n <button tabindex="0" data-index="'+(null==(e=o)?"":e)+'" role="tab" class="page-link" ref="'+(null==(e=n.wizardKey)?"":e)+'-link">\n '+(null==(e=n.t(t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&n.currentPage===o&&(l+='\n <i ref="'+(null==(e=n.wizardKey)?"":e)+'-tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>\n '),l+="\n </button>\n </li>\n "})),l+="\n </ul>\n</nav>\n"}},M={form:function(n){var e,l="";return Array.prototype.join,l+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <div class="classic-pagination row justify-content-center" style="border-bottom:0;">\n ',n.panels.forEach((function(t,o){l+='\n <div class="classic-pagination-page col-xs-12 col-sm-6 col-md-3\n '+(null==(e=n.currentPage<o?" disabled":"")?"":e)+"\n "+(null==(e=n.currentPage===o?" active":"")?"":e)+"\n "+(null==(e=n.currentPage>o?" complete":"")?"":e)+'">\n <div class="text-center classic-pagination-title">'+(null==(e=n.t(t.title,{_userInput:!0}))?"":e)+"</div>\n ",n.panels.length>1&&(l+='\n <div class="progress"><div class="progress-bar"></div></div>\n '),l+=' \n <span ref="'+(null==(e=n.wizardKey)?"":e)+'-link" class="classic-pagination-dot"></span>\n </div>\n '})),l+="\n </div>\n</nav>\n"}},O={form:function(n){var e,l="";return Array.prototype.join,l+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <ul class="pagination flex-column">\n ',n.panels.forEach((function(t,o){l+='\n <li class="col-xs-12 page-item'+(null==(e=n.currentPage===o?" active":"")?"":e)+'" style="cursor: pointer;">\n <span class="page-link" ref="'+(null==(e=n.wizardKey)?"":e)+'-link" style="margin-left: 0px;">\n '+(null==(e=n.t(t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&n.currentPage===o&&(l+='\n <i ref="'+(null==(e=n.wizardKey)?"":e)+'-tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>\n '),l+="\n </span>\n </li>\n "})),l+="\n </ul>\n</nav>\n"}},H={form:function(n){var e,l="";return Array.prototype.join,l+='<ul class="formio-wizard-nav-container list-inline" id="'+(null==(e=n.wizardKey)?"":e)+'-nav">\n ',n.buttonOrder.forEach((function(t){l+="\n ","cancel"===t&&n.buttons.cancel&&(l+='\n <li>\n <button class="btn btn-secondary btn-wizard-nav-cancel" ref="'+(null==(e=n.wizardKey)?"":e)+'-cancel" aria-label="'+(null==(e=n.t("cancelButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("cancel"))?"":e)+"</button>\n </li>\n "),l+="\n ","previous"===t&&n.buttons.previous&&(l+='\n <li>\n <button class="btn btn-primary btn-wizard-nav-previous" ref="'+(null==(e=n.wizardKey)?"":e)+'-previous" aria-label="'+(null==(e=n.t("previousButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("previous"))?"":e)+"</button>\n </li>\n "),l+="\n ","next"===t&&n.buttons.next&&(l+='\n <li>\n <button class="btn btn-primary btn-wizard-nav-next" ref="'+(null==(e=n.wizardKey)?"":e)+'-next" aria-label="'+(null==(e=n.t("nextButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("next"))?"":e)+"</button>\n </li>\n "),l+="\n ","submit"===t&&n.buttons.submit&&(l+="\n <li>\n ",n.disableWizardSubmit?l+='\n <button disabled class="btn btn-primary btn-wizard-nav-submit" ref="'+(null==(e=n.wizardKey)?"":e)+'-submit" aria-label="'+(null==(e=n.t("submitButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("submit"))?"":e)+"</button>\n ":l+='\n <button class="btn btn-primary btn-wizard-nav-submit" ref="'+(null==(e=n.wizardKey)?"":e)+'-submit" aria-label="'+(null==(e=n.t("submitButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("submit"))?"":e)+"</button>\n ",l+="\n </li>\n "),l+="\n "})),l+="\n</ul>\n"}},F={form:function(n){var e,l="";return Array.prototype.join,l+='<p role="alert">'+(null==(e=n.t("error"))?"":e)+"\n ",n.options.vpat&&(l+='\n <span ref="errorTooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+'" tabindex="0"></span>\n '),l+="\n</p>\n<ul>\n ",n.errors.forEach((function(t){l+='\n <li>\n <span\n data-component-key = "'+(null==(e=t.keyOrPath)?"":e)+'"\n ref = "errorRef"\n tabIndex = "0"\n role="link"\n id="'+(null==(e=n.id)?"":e)+'"\n >\n '+(null==(e=t.message)?"":e)+"\n </span>\n </li>\n "})),l+="\n</ul>\n"}},D={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<div\n ",n.attrs)"class"==t&&(n.attrs[t]+=" oc-alert"),l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.attrs[t])?"":e)+'"\n ';return l+="\n>\n "+(null==(e=n.message)?"":e)+"\n",n.options.vpat&&(l+='\n<span class="visually-hidden" id="hotkey-i-'+(null==(e=n.form._id)?"":e)+'">'+(null==(e=n.t("errorListHotkey"))?"":e)+"</span>\n"),l+"\n</div>\n\n"}},V={framework:"bootstrapItalia",templates:{bootstrapItalia:{transform(n,e,l){if(!e)return e;if("class"===n){let n="";return"form-group"===e&&l&&"hidden"!==l.type&&(n="mb-2 ",l&&l.component.block&&(n+="d-grid ")),`${n}${this.cssClasses.hasOwnProperty(e.toString())?this.cssClasses[e.toString()]:e}`}return e},defaultIconset:"bi",iconClass:(n,e,l)=>{let t=e;switch(e){case"cog":t="gear";break;case"copy":t="back";break;case"bars":t="list";break;case"remove":t="trash";break;case"font":t="type";break;case"hashtag":t="hash";break;case"th-list":t="menu-button-wide";break;case"dot-circle-o":t="ui-radios";break;case"plus-square-o":t="plus-square";break;case"minus-square-o":t="dash-square";break;case"plus-square":t="ui-checks";break;case"phone-square":t="phone";break;case"home":t="house";break;case"clock-o":case"time":t="clock";break;case"usd":t="currency-dollar";break;case"html5":t="file-richtext";break;case"pencil-square-o":t="pencil-square";break;case"columns":t="layout-three-columns";break;case"list-alt":t="window";break;case"th-large":t="grid-fill";break;case"folder-o":t="folder";break;case"square-o":t="square";break;case"user-secret":t="person-fill-slash";break;case"folder-open":t="folder2-open";break;case"th":t="grid-3x3-gap-fill";break;case"tasks":t="view-stacked";break;case"indent":t="text-indent-left";break;case"refresh":t="arrow-repeat";break;case"files-o":t="files";break;case"wpforms":t="window-stack";break;case"cube":t="box";break;case"cubes":t="boxes";break;case"check-square-o":t="check-square";break;case"plus":t="plus-lg";break;case"question-sign":t="question-circle";break;case"remove-circle":t="x-circle";break;case"new-window":t="window-plus";break;case"move":t="arrows-move";break;case"edit":t="pencil";break;case"video":t="camera-video";break;case"microphone":t="mic";break;case"calendar":t="calendar";break;case"check-circle":t="check-circle-fill";break;case"times-circle":t="x-circle-fill"}return l?"spinner-border spinner-border-sm":`fa fa-${e} bi bi-${t}`},cssClasses:{"border-default":"","formio-tab-panel-active":"active","formio-tab-link-active":"active","formio-tab-link-container-active":"active","formio-form-error":"formio-error-wrapper has-message","formio-form-alert":"alert alert-danger","formio-label-error":"","formio-input-error":"","formio-alert-danger":"alert alert-danger","formio-alert-success":"alert alert-success","formio-alert-warning":"alert alert-warning","formio-modal-cancel-button":"btn btn-danger formio-dialog-button","formio-modal-confirm-button":"btn btn-primary formio-dialog-button","form-group":"formio-form-group"},address:l,builder:{form:function(n){var e;return""+'<div class="formio builder row formbuilder">\n <div class="col-xs-4 col-sm-3 col-md-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="col-xs-8 col-sm-9 col-md-10 formarea" ref="form">\n '+(null==(e=n.form)?"":e)+"\n </div>\n</div>\n"}},builderComponent:t,builderComponents:{form:function(n){var e;return""+'<div class="builder-components drag-container formio-builder-'+(null==(e=n.type)?"":e)+'" ref="'+(null==(e=n.key)?"":e)+'-container">\n '+(null==(e=n.html)?"":e)+"\n</div>\n"}},builderEditForm:o,builderPlaceholder:{form:function(n){var e;return""+'<div\n class="drag-and-drop-alert alert alert-info no-drag"\n style="text-align:center;"\n role="alert"\n data-noattach="true"\n data-position="'+(null==(e=n.position)?"":e)+'"\n>\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n</div>\n"}},builderSidebar:a,builderSidebarGroup:r,builderWizard:i,button:s,checkbox:u,columns:d,component:c,componentModal:p,components:{form:function(n){var e;return""+((null==(e=n.children.join(""))?"":e)+"\n")}},tableComponents:m,container:{form:function(n){var e;return""+'<div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n</div>\n"}},datagrid:b,day:f,dialog:{form:function(n){return'<div class="ocl">\n<div class="formio-dialog formio-dialog-theme-default component-settings">\n <div class="formio-dialog-overlay" ref="dialogOverlay"></div>\n <div class="formio-dialog-content" ref="dialogContents" role="dialog">\n <div ref="dialogContents"></div>\n <button class="formio-dialog-close float-end btn-sm" aria-label="Close modal window." ref="dialogClose"></button>\n </div>\n</div>\n</div>\n'}},editgrid:v,editgridTable:y,field:g,fieldset:h,file:w,html:x,icon:{form:function(n){var e;return""+'<i ref="'+(null==(e=n.ref)?"":e)+'" class="'+(null==(e=n.className)?"":e)+'" style="'+(null==(e=n.styles)?"":e)+'">'+(null==(e=n.content)?"":e)+"</i>\n"}},input:k,label:C,loader:{form:function(n){return'<div class="formio-loader">\n <div class="loader-wrapper">\n <div class="loader text-center"></div>\n </div> \n</div>\n'}},loading:{form:function(n){return"Loading...\n"}},map:{form:function(n){var e;return""+'<div id="'+(null==(e=n.mapId)?"":e)+'" style="min-height: 300px; height: calc(100vh - 600px);" ref="gmapElement"></div>\n'}},message:{form:function(n){var e;return""+'<div id="e-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.key)?"":e)+'" class="form-text '+(null==(e=n.level||"error")?"":e)+'">'+(null==(e=n.self.itemValueForHTMLMode(n.message))?"":e)+"</div>\n"}},modaledit:{form:function(n){var e;return""+'<div ref="container" class="formio-modaledit-view-container">\n <button\n ref="edit"\n type="button"\n role="button"\n class="btn btn-xxs btn-warning formio-modaledit-edit">\n <i class="'+(null==(e=n.iconClass("edit"))?"":e)+'"></i>\n </button>\n <div ref="input" class="modaledit-view-inner reset-margins">'+(null==(e=n.content)?"":e)+"</div>\n</div>\n"}},modaldialog:{form:function(n){var e;return""+'<div class="formio-dialog formio-dialog-theme-default formio-modaledit-dialog">\n <div ref="overlay" class="formio-dialog-overlay"></div>\n <div ref="content" class="formio-modaledit-content">\n <button\n ref="close"\n type="button"\n role="button"\n class="btn btn-primary btn-xs formio-modaledit-close">\n '+(null==(e=n.t("Close"))?"":e)+'\n </button>\n <div ref="inner" class="reset-margins"></div>\n </div>\n</div>\n'}},modalPreview:{form:function(n){var e;return""+'<label id="l-'+(null==(e=n.component.key)?"":e)+'" class="control-label '+(null==(e=n.label.className)?"":e)+'">\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+'<span ref="modalLabelValue" class="visually-hidden">. '+(null==(e="signature"===n.component.type?n.self.getValueAsString(n.previewText):n.previewText)?"":e)+'</span>\n</label><br>\n<span class="visually-hidden" ref="modalPreviewLiveRegion" aria-live="assertive"></span>\n<button\n lang="en"\n class="btn btn-light btn-md open-modal-button form-control '+(null==(e=n.openModalBtnClasses||"")?"":e)+'"\n ref="openModal"\n aria-labelledby="l-'+(null==(e=n.component.key)?"":e)+'"\n>\n '+(null==(e=n.previewText)?"":e)+'\n</button>\n<div class="formio-errors invalid-feedback">\n '+(null==(e=n.messages)?"":e)+"\n</div>\n"}},multipleMasksInput:A,multiValueRow:I,multiValueTable:j,panel:z,pdf:{form:function(n){var e;return""+'<div class="'+(null==(e=n.classes)?"":e)+'" ref="webform">\n\t<span data-noattach="true" ref="zoomIn" style="position:absolute;right:10px;top:10px;cursor:pointer;" class="btn btn-default btn-secondary no-disable">\n\t\t<i class="'+(null==(e=n.iconClass("zoom-in"))?"":e)+'"></i>\n\t</span>\n\t<span data-noattach="true" ref="zoomOut" style="position:absolute;right:10px;top:60px;cursor:pointer;" class="btn btn-default btn-secondary no-disable">\n\t\t<i class="'+(null==(e=n.iconClass("zoom-out"))?"":e)+'"></i>\n\t</span>\n <div data-noattach="true" ref="iframeContainer"></div>\n '+(null==(e=n.submitButton)?"":e)+"\n</div>\n"}},pdfBuilder:{form:function(n){var e;return""+'<div class="formio builder row formbuilder">\n <div class="col-xs-4 col-sm-3 col-md-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="col-xs-8 col-sm-9 col-md-10 formarea" ref="form">\n\t <div class="formio-drop-zone" ref="iframeDropzone"></div>\n '+(null==(e=n.form)?"":e)+"\n </div>\n</div>\n"}},pdfBuilderUpload:{form:function(n){var e;return""+'<div class="pdf-upload formio-component-file">\n <h3 class="label">'+(null==(e=n.t("Upload a PDF File"))?"":e)+'</h3>\n <input type="file" style="opacity: 0; position: absolute;" tabindex="-1" accept=".pdf" ref="hiddenFileInputElement">\n <div class="fileSelector" ref="fileDrop">\n <span ref="dragDropText">\n <i class="'+(null==(e=n.iconClass("cloud-upload"))?"":e)+'"></i>'+(null==(e=n.t("Drop pdf to start, or"))?"":e)+' <a href="#" ref="fileBrowse" class="browse">'+(null==(e=n.t("browse"))?"":e)+'</a>\n </span>\n <div class="progress pdf-progress" ref="uploadProgressWrapper" style="display:none;">\n <div class="progress-bar" ref="uploadProgress" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>\n </div>\n </div>\n <div class="alert alert-danger" ref="uploadError">\n\n </div>\n</div>\n\n'}},radio:_,resourceAdd:{form:function(n){var e;return""+'<table class="table table-bordered">\n <tbody>\n <tr>\n <td>\n '+(null==(e=n.element)?"":e)+'\n </td>\n </tr>\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-resource" ref="addResource">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i>\n '+(null==(e=n.t(n.component.addResourceLabel||"Add Resource",{_userInput:!0}))?"":e)+"\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n"}},select:E,selectOption:P,signature:q,survey:R,tab:L,table:K,tree:N,...T,webform:{form:function(n){var e;return""+'<div class="'+(null==(e=n.classes)?"":e)+'" ref="webform" novalidate>'+(null==(e=n.children)?"":e)+"</div>\n"},builder:function(n){var e;return""+'<div class="text-muted text-center p-2">'+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"</div>\n"}},well:{form:function(n){var e;return""+'<div class="card card-body bg-light mb-3">\n <div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n</div>\n"}},wizard:S,wizardHeader:B,wizardHeaderClassic:M,wizardHeaderVertical:O,wizardNav:H,errorsList:F,alert:D}}};return e.default})()));
|
|
1
|
+
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.bootstrapItalia=e():n.bootstrapItalia=e()}(self,(()=>(()=>{"use strict";var n={d:(e,l)=>{for(var t in l)n.o(l,t)&&!n.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:l[t]})},o:(n,e)=>Object.prototype.hasOwnProperty.call(n,e)},e={};n.d(e,{default:()=>V});const l={form:function(n){var e,l="";if(Array.prototype.join,n.mode.autocomplete){for(var t in l+='\n <div class="address-autocomplete-container">\n <input\n ref="'+(null==(e=n.ref.searchInput)?"":e)+'"\n ',n.inputAttributes)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.inputAttributes[t])?"":e)+'"\n ';l+='\n value="'+(null==(e=n.displayValue)?"":e)+'"\n autocomplete="off"\n aria-label="'+(null==(e=n.t("autocomplete"))?"":e)+'"\n >\n ',n.component.disableClearIcon||(l+='\n <i\n class="address-autocomplete-remove-value-icon fa fa-times"\n tabindex="'+(null==(e=n.inputAttributes.tabindex)?"":e)+'"\n ref="'+(null==(e=n.ref.removeValueIcon)?"":e)+'"\n ></i>\n '),l+="\n </div>\n"}return l+="\n",n.self.manualModeEnabled&&(l+='\n <div class="form-check checkbox">\n <label class="form-check-label">\n <input\n ref="'+(null==(e=n.ref.modeSwitcher)?"":e)+'"\n type="checkbox"\n class="form-check-input"\n tabindex="'+(null==(e=n.inputAttributes.tabindex)?"":e)+'"\n ',n.mode.manual&&(l+="checked=true"),l+="\n ",n.disabled&&(l+="disabled=true"),l+="\n >\n <span>"+(null==(e=n.component.switchToManualModeLabel)?"":e)+"</span>\n </label>\n </div>\n"),l+="\n",n.self.manualMode&&(l+='\n <div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n"),l+"\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<div ref="value">',n.displayValue?l+=null==(e=n.displayValue)?"":e:l+="-",l+"</div>\n"}},t={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="builder-component" ref="dragComponent" tabindex="-1">\n <div class="component-btn-group" data-noattach="true">\n <div\n role="button"\n aria-label="Remove button. Click to remove component from the form"\n tabindex="-1"\n class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove"\n ref="removeComponent"\n >\n <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'"></i>\n </div>\n <div\n role="button"\n aria-label="Copy button. Click to copy component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-copy"\n ref="copyComponent"\n >\n <i class="'+(null==(e=n.iconClass("copy"))?"":e)+'"></i>\n </div>\n <div\n role="button"\n aria-label="Paste below button. Click to paste component below the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-paste"\n ref="pasteComponent"\n >\n <i class="'+(null==(e=n.iconClass("save"))?"":e)+'"></i>\n </div>\n <div\n role="button"\n aria-label="Edit json button. Click to edit json of the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-edit-json"\n ref="editJson"\n >\n <i class="'+(null==(e=n.iconClass("wrench"))?"":e)+'"></i>\n </div>\n <div\n role="button"\n aria-label="Move button"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-move"\n ref="moveComponent"\n >\n <i class="'+(null==(e=n.iconClass("move"))?"":e)+'"></i>\n </div>\n ',n.design&&"reviewpage"===n.childComponent.type||(l+='\n <div\n role="button"\n aria-label="Edit button. Click to open component settings modal window"\n tabindex="-1"\n class="btn btn-xxs btn-secondary component-settings-button component-settings-button-edit"\n ref="editComponent"\n >\n <i class="'+(null==(e=n.iconClass("cog"))?"":e)+'"></i>\n </div>\n '),l+"\n </div>\n "+(null==(e=n.html)?"":e)+"\n</div>\n"}},o={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="row">\n <div class="col col-sm-6">\n <p class="lead">'+(null==(e=n.t(n.componentInfo.title,{_userInput:!0}))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+"</p>\n </div>\n ",n.helplinks&&(l+='\n <div class="col col-sm-6">\n <div class="float-end" style="margin-right: 20px; margin-top: 10px">\n <a href="'+(null==(e=n.t(n.helplinks+n.componentInfo.documentation))?"":e)+'" target="_blank" rel="noopener noreferrer">\n <i class="'+(null==(e=n.iconClass("new-window"))?"":e)+'"></i> '+(null==(e=n.t("Help"))?"":e)+"\n </a>\n </div>\n </div>\n "),l+='\n</div>\n<div class="row">\n <div class="col component-edit-tabs '+(null==(e=n.preview&&n.showPreview?"col-sm-6":"col-sm-12")?"":e)+'">\n <div ref="editForm">\n '+(null==(e=n.editForm)?"":e)+"\n </div>\n ",n.showPreview||(l+='\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="btn btn-secondary" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="btn btn-danger" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+"</button>\n ",n.preview&&(l+='\n <button class="btn btn-primary float-right" ref="previewButton">'+(null==(e=n.t("Show preview"))?"":e)+"</button>\n "),l+="\n </div>\n "),l+="\n </div>\n ",n.showPreview&&n.preview&&(l+='\n <div class="col col-sm-6">\n <div class="card panel preview-panel">\n <div class="card-header">\n <h4 class="card-title mb-0">'+(null==(e=n.t("Preview"))?"":e)+'</h4>\n </div>\n <div class="card-body">\n <div class="component-preview" ref="preview">\n '+(null==(e=n.preview)?"":e)+"\n </div>\n </div>\n </div>\n ",n.componentInfo.help&&(l+='\n <div class="card card-body bg-light formio-settings-help">\n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n </div>\n "),l+='\n <div style="margin-top: 10px;">\n <button class="btn btn-success" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="btn btn-secondary" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="btn btn-danger" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+'</button>\n <button class="btn btn-primary float-right" ref="previewButton">'+(null==(e=n.t("Hide preview"))?"":e)+"</button>\n </div>\n </div>\n "),l+"\n</div>\n"}},a={form:function(n){var e,l="";return Array.prototype.join,l+='<div id="'+(null==(e=n.groupId)?"":e)+'" class="accordion builder-sidebar'+(null==(e=n.scrollEnabled?" builder-sidebar_scroll":"")?"":e)+'" ref="sidebar" role="tablist">\n <input class="form-control builder-sidebar_search" type="search" ref="sidebar-search" placeholder="'+(null==(e=n.t("Search field(s)"))?"":e)+'" />\n <div ref="sidebar-groups">\n ',n.groups.forEach((function(n){l+="\n "+(null==(e=n)?"":e)+"\n "})),l+="\n </div>\n</div>\n"}},r={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="card form-builder-panel accordion-item" ref="group-panel-'+(null==(e=n.groupKey)?"":e)+'">\n <div class="card-header form-builder-group-header p-0" id="heading-'+(null==(e=n.groupKey)?"":e)+'">\n <h5 class="mb-0 mt-0 d-grid accordion-header">\n <button\n class="btn builder-group-button"\n type="button"\n data-bs-toggle="collapse"\n data-toggle="collapse"\n data-bs-target="#group-'+(null==(e=n.groupKey)?"":e)+'"\n data-target="#group-'+(null==(e=n.groupKey)?"":e)+'"\n data-parent="#'+(null==(e=n.groupId)?"":e)+'"\n data-bs-parent="#'+(null==(e=n.groupId)?"":e)+'"\n aria-expanded="'+(null==(e=n.group.default)?"":e)+'"\n aria-controls="group-'+(null==(e=n.groupKey)?"":e)+'"\n ref="sidebar-anchor"\n >\n '+(null==(e=n.t(n.group.title,{_userInput:!0}))?"":e)+'\n </button>\n </h5>\n </div>\n <div\n id="group-'+(null==(e=n.groupKey)?"":e)+'"\n class="accordion-collapse collapse '+(null==(e=n.group.default?" show":"")?"":e)+'"\n data-bs-parent="#'+(null==(e=n.groupId)?"":e)+'"\n data-parent="#'+(null==(e=n.groupId)?"":e)+'"\n data-default="'+(null==(e=n.group.default)?"":e)+'"\n aria-labelledby="heading-'+(null==(e=n.groupKey)?"":e)+'"\n ref="sidebar-group"\n >\n <div id="group-container-'+(null==(e=n.groupKey)?"":e)+'" class="d-grid gap-1 no-drop p-2 w-100" ref="sidebar-container">\n ',n.group.componentOrder.length||n.subgroups.length?(l+="\n ",!n.group.componentOrder||n.group.componentOrder.forEach((function(t){l+='\n <span\n ref="sidebar-component"\n data-group="'+(null==(e=n.groupKey)?"":e)+'"\n data-key="'+(null==(e=n.group.components[t].key)?"":e)+'"\n data-type="'+(null==(e=n.group.components[t].schema.type)?"":e)+'"\n class="btn btn-outline-primary btn-sm formcomponent drag-copy m-0"\n tabindex="'+(null==(e=n.keyboardActionsEnabled?-1:0)?"":e)+'"\n >\n ',n.group.components[t].icon&&(l+='\n <i class="'+(null==(e=n.iconClass(n.group.components[t].icon))?"":e)+'" style="margin-right: 5px;"></i>\n '),l+="\n "+(null==(e=n.t(n.group.components[t].title,{_userInput:!0}))?"":e)+"\n </span>\n "})),l+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n "):l+="\n <div>"+(null==(e=n.t("No Matches Found"))?"":e)+"</div>\n ",l+="\n </div>\n </div>\n</div>\n"}},i={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="formio builder row formbuilder">\n <div class="col-xs-4 col-sm-3 col-md-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="col-xs-8 col-sm-9 col-md-10 formarea">\n <ol class="breadcrumb wizard-pages">\n ',n.pages.forEach((function(t,o){l+='\n <li>\n <span title="'+(null==(e=t.title)?"":e)+'" class="me-2 badge ',o===n.self.page?l+="bg-primary":l+="bg-info",l+=' wizard-page-label" ref="gotoPage">'+(null==(e=t.title)?"":e)+"</span>\n </li>\n "})),l+='\n <li class="wizard-add-page">\n <span title="'+(null==(e=n.t("Create Page"))?"":e)+'" class="me-2 badge bg-success wizard-page-label" ref="addPage">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t("Page"))?"":e)+'\n </span>\n </li>\n </ol>\n <div ref="form">\n '+(null==(e=n.form)?"":e)+"\n </div>\n </div>\n</div>\n"}},s={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n>\n",n.component.leftIcon&&(l+='<span class="'+(null==(e=n.component.leftIcon)?"":e)+'"></span> '),l+="\n"+(null==(e=n.input.content)?"":e)+"\n",n.component.tooltip&&(l+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n'),l+="\n",n.component.rightIcon&&(l+=' <span class="'+(null==(e=n.component.rightIcon)?"":e)+'"></span>'),l+"\n</"+(null==(e=n.input.type)?"":e)+'>\n<div ref="buttonMessageContainer">\n <span class="help-block" ref="buttonMessage"></span>\n</div>\n'},html:function(n){return"\n"}},u={form:function(n){var e,l="";for(var t in Array.prototype.join,l+='<div class="form-check">\n <'+(null==(e=n.input.type)?"":e)+'\n ref="input"\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+"\n ",n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.checked&&(l+="checked=true"),l+='\n aria-required="'+(null==(e=n.component.validate.required)?"":e)+'"\n ',n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n >\n ",n.self.labelIsHidden()||(l+='\n <label for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'" class="'+(null==(e=n.input.labelClass)?"":e)+' form-check-label" id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.input.label)?"":e)+"</label>\n "),l+="\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+"\n</div>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<label class="'+(null==(e=n.input.labelClass)?"":e)+'">\n '+(null==(e=n.input.content)?"":e)+"\n ",n.self.labelIsHidden()||(l+="<span>"+(null==(e=n.input.label)?"":e)+"</span>"),l+='\n</label>\n<div ref="value">',n.checked?l+="True":l+="False",l+"</div>\n"}},d={form:function(n){var e,l="";return Array.prototype.join,n.component.columns.forEach((function(t,o){l+='\n<div class="col-'+(null==(e=t.size)?"":e)+"-"+(null==(e=t.currentWidth)?"":e)+"\n offset-"+(null==(e=t.size)?"":e)+"-"+(null==(e=t.offset)?"":e)+'"\n ref="'+(null==(e=n.columnKey)?"":e)+'">\n '+(null==(e=n.columnComponents[o])?"":e)+"\n</div>\n"})),l}},c={form:function(n){var e,l="";return Array.prototype.join,l+='<div id="'+(null==(e=n.id)?"":e)+'" class="'+(null==(e=n.classes)?"":e)+" "+(null==(e="select"===n.component.type?"select-wrapper":"")?"":e)+'"',n.styles&&(l+=' style="'+(null==(e=n.styles)?"":e)+'"'),l+=' ref="component">\n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+'\n <div ref="messageContainer" class="formio-errors invalid-feedback"></div>\n '),l+"\n</div>\n"}},p={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="formio-component-modal-wrapper formio-component-modal-wrapper-'+(null==(e=n.component.type)?"":e)+'" ref="componentModalWrapper">\n <div ref="openModalWrapper"></div>\n <div class="formio-dialog formio-dialog-theme-default component-rendering-hidden" ref="modalWrapper">\n <div class="formio-dialog-overlay" ref="modalOverlay"></div>\n <div class="formio-dialog-content" aria-labelledby="ml-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'" ',n.self.isIE()||(l+=' role="dialog" '),l+=' ref="modalContents">\n <label class="visually-hidden" id="ml-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.t(n.component.label))?"":e)+(null==(e=n.self.isIE()?", dialog":"")?"":e)+"</label>\n ",n.options.vpat?l+='\n <button class="formio-dialog-close float-end" title="Close" aria-label="Close button. Click to get back to the form" ref="modalCloseButton"></button>\n ':l+='\n <button class="formio-dialog-close float-end btn btn-secondary btn-sm" aria-label="Close button. Click to get back to the form" ref="modalClose"></button>\n ',l+='\n <div ref="modalContents">\n ',n.visible&&(l+="\n "+(null==(e=n.children)?"":e)+"\n "),l+='\n <div class="formio-dialog-buttons">\n ',n.options.vpat&&(l+='\n <button class="btn btn-secondary formio-dialog-button" aria-label="Cancel button. Click to cancel the changes and get back to the form." ref="modalClose">'+(null==(e=n.t("Cancel"))?"":e)+"</button>\n "),l+'\n <button class="btn btn-success formio-dialog-button" ref="modalSave" aria-label="Save button. Click to save the changes and get back to the form.">'+(null==(e=n.t("Save"))?"":e)+'</button>\n </div>\n </div>\n </div>\n <span class="visually-hidden" ref="modalLiveRegion" aria-live="assertive"></span>\n </div>\n</div>\n'}},m={form:function(n){var e,l="";return Array.prototype.join,n.children.forEach((function(n){l+='\n <td class="editgrid-table-column">\n '+(null==(e=n)?"":e)+"\n </td>\n"})),l+="\n"}},b={form:function(n){var e,l="";return Array.prototype.join,l+='<table class="table datagrid-table table-bordered\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n " ',(n.component.layoutFixed||n.readOnly)&&(l+='style="table-layout: fixed;"'),l+=">\n ",n.hasHeader&&(l+="\n <thead>\n <tr>\n ",n.component.reorder&&(l+="<th></th>"),l+="\n ",n.columns.forEach((function(t){l+='\n <th class="'+(null==(e=t.validate&&t.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' <i ref="tooltip" tabindex="0" data-title="'+(null==(e=t.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>'),l+="\n </th>\n "})),l+="\n ",n.hasExtraColumn&&(l+='\n <th>\n <span class="visually-hidden">'+(null==(e=n.t("Add/Remove"))?"":e)+"</span>\n ",!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(l+='\n <button class="btn btn-primary formio-button-add-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-addRow" tabindex="'+(null==(e=n.tabIndex)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i>'+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n </button>\n "),l+="\n </th>\n "),l+="\n </tr>\n </thead>\n "),l+='\n <tbody ref="'+(null==(e=n.datagridKey)?"":e)+'-tbody" data-key="'+(null==(e=n.datagridKey)?"":e)+'">\n ',n.rows.forEach((function(t,o){l+="\n ",n.hasGroups&&n.groups[o]&&(l+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-group-header" class="datagrid-group-header'+(null==(e=n.hasToggle?" clickable":"")?"":e)+'">\n <td\n ref="'+(null==(e=n.datagridKey)?"":e)+'-group-label"\n colspan="'+(null==(e=n.numColumns)?"":e)+'"\n class="datagrid-group-label">'+(null==(e=n.groups[o].label)?"":e)+"</td>\n </tr>\n "),l+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-row">\n ',n.component.reorder&&(l+='\n <td class="col-1">\n <button type="button" class="formio-drag-button btn btn-default bi bi-list" data-key="'+(null==(e=n.datagridKey)?"":e)+'"></button>\n </td>\n '),l+="\n ",n.columns.forEach((function(o){l+='\n <td ref="'+(null==(e=n.datagridKey)?"":e)+'" ',o.key&&o.overlay&&o.overlay.width&&(l+=' style="width: '+(null==(e=o.overlay.width+"px")?"":e)+'"'),l+=" >\n "+(null==(e=t[o.key])?"":e)+"\n </td>\n "})),l+="\n ",n.hasExtraColumn&&(l+="\n ",n.hasRemoveButtons&&(l+='\n <td class="col-1">\n <button type="button" class="btn btn-secondary formio-button-remove-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-removeRow" tabindex="'+(null==(e=n.tabIndex)?"":e)+'" aria-label="'+(null==(e=n.t("remove"))?"":e)+'">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),l+="\n ",n.canAddColumn&&(l+='\n <td ref="'+(null==(e=n.key)?"":e)+'-container" class="col-md-3">\n '+(null==(e=n.placeholder)?"":e)+"\n </td>\n "),l+="\n "),l+="\n </tr>\n "})),l+="\n </tbody>\n ",!n.builder&&n.hasAddButton&&n.hasBottomSubmit&&(l+='\n <tfoot>\n <tr>\n <td colspan="'+(null==(e=n.component.layoutFixed?n.numColumns:n.numColumns+1)?"":e)+'">\n <button class="btn btn-primary formio-button-add-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-addRow" tabindex="'+(null==(e=n.tabIndex)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n </button>\n </td>\n </tr>\n </tfoot>\n "),l+="\n</table>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<table class="table datagrid-table table-bordered\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.hasHeader&&(l+="\n <thead>\n <tr>\n ",n.columns.forEach((function(t){l+='\n <th class="'+(null==(e=t.validate&&t.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=t.hideLabel?"":n.t(t.label||t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+=' <i ref="tooltip" tabindex="0" data-title="'+(null==(e=t.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>'),l+="\n </th>\n "})),l+="\n </tr>\n </thead>\n "),l+="\n <tbody>\n ",n.rows.forEach((function(t){l+="\n <tr>\n ",n.columns.forEach((function(o){l+='\n <td ref="'+(null==(e=n.datagridKey)?"":e)+'">\n '+(null==(e=t[o.key])?"":e)+"\n </td>\n "})),l+="\n </tr>\n "})),l+="\n </tbody>\n</table>\n"}},f={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="row" role="group"\n ',n.component.hideLabel?l+='\n aria-label="'+(null==(e=n.component.label)?"":e)+'"\n ':l+='\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ',l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n >\n ",n.dayFirst&&n.showDay&&(l+='\n <div class="col col-xs-3">\n ',n.component.hideInputLabels||(l+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-day" class="',n.component.fields.day.required&&(l+="field-required"),l+='">'+(null==(e=n.t("Day"))?"":e)+"</label>\n "),l+="\n <div>"+(null==(e=n.day)?"":e)+"</div>\n </div>\n "),l+="\n ",n.showMonth&&(l+='\n <div class="col col-xs-4">\n ',n.component.hideInputLabels||(l+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-month" class="',n.component.fields.month.required&&(l+="field-required"),l+='">'+(null==(e=n.t("Month"))?"":e)+"</label>\n "),l+="\n <div>"+(null==(e=n.month)?"":e)+"</div>\n </div>\n "),l+="\n ",!n.dayFirst&&n.showDay&&(l+='\n <div class="col col-xs-3">\n ',n.component.hideInputLabels||(l+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-day" class="',n.component.fields.day.required&&(l+="field-required"),l+='">'+(null==(e=n.t("Day"))?"":e)+"</label>\n "),l+="\n <div>"+(null==(e=n.day)?"":e)+"</div>\n </div>\n "),l+="\n ",n.showYear&&(l+='\n <div class="col col-xs-5">\n ',n.component.hideInputLabels||(l+='\n <label for="'+(null==(e=n.component.key)?"":e)+'-year" class="',n.component.fields.year.required&&(l+="field-required"),l+='">'+(null==(e=n.t("Year"))?"":e)+"</label>\n "),l+="\n <div>"+(null==(e=n.year)?"":e)+"</div>\n </div>\n "),l+'\n</div>\n<input name="ctx.data[day]" type="hidden" class="form-control" lang="en" value="" ref="input">\n'}},v={form:function(n){var e,l="";return Array.prototype.join,l+='<ul class="editgrid-listgroup list-group\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(l+='\n <li class="list-group-item list-group-header">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n <li class="list-group-item" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(l+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),l+="\n </div>\n "),l+='\n <div class="has-error">\n <div class="editgrid-row-error">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "})),l+="\n ",n.footer&&(l+='\n <li class="list-group-item list-group-footer">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),l+="\n</ul>\n",!n.readOnly&&n.hasAddButton&&(l+='\n<button class="btn btn-primary" ref="'+(null==(e=n.ref.addRow)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n</button>\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<ul class="editgrid-listgroup list-group\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(l+='\n <li class="list-group-item list-group-header">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),l+="\n ",n.rows.forEach((function(t,o){l+='\n <li class="list-group-item" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(l+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),l+="\n </div>\n "),l+='\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "})),l+="\n ",n.footer&&(l+='\n <li class="list-group-item list-group-footer">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),l+="\n</ul>\n"}},y={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(l+='\n <thead class="editgrid-table-head">\n '+(null==(e=n.header)?"":e)+"\n </thead>\n "),l+='\n <tbody class="editgrid-table-body">\n ',n.rows.forEach((function(t,o){l+='\n <tr ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(l+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),l+="\n </div>\n </td>\n "),l+="\n ",n.errors[o]&&(l+='\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </td>\n "),l+="\n </tr>\n "})),l+="\n </tbody>\n ",n.footer&&(l+="\n <tfoot>\n <tr>\n "+(null==(e=n.footer)?"":e)+"\n </tr>\n <tfoot>\n "),l+="\n </table>\n </div>\n</div>\n",!n.readOnly&&n.hasAddButton&&(l+='\n<button class="btn btn-primary" ref="'+(null==(e=n.ref.addRow)?"":e)+'">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i>\n '+(null==(e=n.t(n.component.addAnother||"Add Another",{_userInput:!0}))?"":e)+"\n</button>\n"),l+="\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<div class="editgrid-table-container">\n <div class="table-responsive">\n <table class="table\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n ',n.header&&(l+='\n <thead class="editgrid-table-head">\n '+(null==(e=n.header)?"":e)+"\n </thead>\n "),l+='\n <tbody class="editgrid-table-body">\n ',n.rows.forEach((function(t,o){l+='\n <tr ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=t)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(l+='\n <td class="editgrid-table-column">\n <div class="editgrid-actions">\n <button class="btn btn-primary" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save",{_userInput:!0}))?"":e)+"</button>\n ",n.component.removeRow&&(l+='\n <button class="btn btn-danger" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel",{_userInput:!0}))?"":e)+"</button>\n "),l+="\n </div>\n </td>\n "),l+="\n ",n.errors[o]&&(l+='\n <td class="editgrid-table-column">\n <div class="has-error">\n <div class="editgrid-row-error help-block">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </td>\n "),l+="\n </tr>\n "})),l+="\n </tbody>\n ",n.footer&&(l+="\n <tfoot>\n <tr>\n "+(null==(e=n.footer)?"":e)+"\n </tr>\n <tfoot>\n "),l+="\n </table>\n </div>\n</div>\n"}},g={form:function(n){var e,l="";return Array.prototype.join,n.label.hidden||"bottom"===n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n\n",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n <label class="'+(null==(e=n.label.className)?"":e)+'"></label>\n'),l+="\n\n"+(null==(e=n.element)?"":e)+"\n\n",n.label.hidden||"bottom"!==n.label.labelPosition||(l+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),l+="\n",n.component.description&&(l+='\n <div id="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'" class="form-text text-muted">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\n"),l+"\n"},align:function(n){var e,l="";return Array.prototype.join,l+='<div class="field-wrapper flex-fill\n '+(null==(e=n.isRightPosition?"field-wrapper--reverse":"")?"":e)+'">\n ',n.label.hidden||(l+='\n <div class="field-label\n '+(null==(e=n.isRightAlign?"field-label--right":"")?"":e)+'"\n style="'+(null==(e=n.labelStyles)?"":e)+'">\n '+(null==(e=n.labelMarkup)?"":e)+"\n </div>\n "),l+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(l+='\n <div class="field-label\n '+(null==(e=n.isRightAlign?"field-label--right":"")?"":e)+'"\n style="'+(null==(e=n.labelStyles)?"":e)+'">\n <label class="'+(null==(e=n.label.className)?"":e)+'"></label>\n </div>\n '),l+='\n\n <div class="field-content" style="'+(null==(e=n.contentStyles)?"":e)+'">\n '+(null==(e=n.element)?"":e)+"\n </div>\n</div>\n\n",n.component.description&&(l+='\n <div class="form-text text-muted">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\n"),l+"\n"}},h={form:function(n){var e,l="";return Array.prototype.join,l+='<fieldset class="it-page-section" id="section-'+(null==(e=n.key)?"":e)+'">\n <div class="cmp-card mt-2">\n <div class="card has-bkg-grey shadow-sm p-big">\n ',n.component.legend&&(l+='\n <div ref="header" class="'+(null==(e=n.component.collapsible?"formio-clickable card-header border-0 p-0 mb-lg-30":"card-header border-0 p-0 mb-lg-30")?"":e)+'">\n <div class="d-flex">\n <h2 class="title-xxlarge mb-1">\n '+(null==(e=n.t(n.component.legend,{_userInput:!0}))?"":e)+"\n </h2>\n </div>\n ",n.component.tooltip&&(l+='\n <p class="subtitle-small mb-0">'+(null==(e=n.component.tooltip)?"":e)+"</p>\n "),l+="\n </div>\n "),l+="\n ",n.collapsed||(l+='\n <div class="card p-3 p-lg-4 fieldset-body" ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n "),l+"\n </div>\n </div>\n</fieldset>\n"}},w={form:function(n){var e,l="";return Array.prototype.join,n.options.vpat&&(l+='\n <span tabindex="-1" class="visually-hidden" id="invisible-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"></span>\n'),l+="\n",n.self.imageUpload?(l+="\n <div>\n ",n.files.forEach((function(t){l+='\n <div>\n <span>\n <img ref="fileImage" src="" alt="'+(null==(e=t.originalName||t.name)?"":e)+'" style="width:'+(null==(e=n.component.imageSize)?"":e)+'px">\n ',n.disabled||(l+='\n <i tabindex="0" class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i>\n '),l+="\n </span>\n </div>\n "})),l+="\n </div>\n"):(l+="\n ",n.options.vpat&&(l+="\n <div>"+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+"</div>\n "),l+='\n <ul class="list-group list-group-striped">\n <li class="list-group-item list-group-header hidden-xs hidden-sm">\n <div class="row">\n <div class="col-md-'+(null==(e=n.columns.name)?"":e)+'"><strong>'+(null==(e=n.t("File Name"))?"":e)+'</strong></div>\n <div class="col-md-'+(null==(e=n.columns.size)?"":e)+'"><strong>'+(null==(e=n.t("Size"))?"":e)+"</strong></div>\n ",n.self.hasTypes&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'"><strong>'+(null==(e=n.t("Type"))?"":e)+"</strong></div>\n "),l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center">\n ',n.showSyncButton&&(l+='\n <button\n class="btn btn-primary btn-sm"\n ref="syncNow"\n ',(n.disabled||n.isSyncing)&&(l+="disabled=true"),l+="\n >"+(null==(e=n.isSyncing?n.t("Syncing..."):n.t("Sync Now"))?"":e)+"</button>\n "),l+="\n </div>\n </div>\n </li>\n ",n.files.forEach((function(t){l+='\n <li class="list-group-item">\n <div class="row">\n <div class="col-md-'+(null==(e=n.columns.name)?"":e)+'">\n ',n.component.uploadOnly?l+="\n "+(null==(e=t.originalName||t.name)?"":e)+"\n ":l+='\n <a href="'+(null==(e=t.url||"#")?"":e)+'" target="_blank" ref="fileLink">\n <span class="visually-hidden">'+(null==(e=n.t("Press to open "))?"":e)+"</span>"+(null==(e=t.originalName||t.name)?"":e)+"\n </a>\n ",l+='\n </div>\n <div class="col-md-'+(null==(e=n.columns.size)?"":e)+'">'+(null==(e=n.fileSize(t.size))?"":e)+"</div>\n ",n.self.hasTypes&&!n.disabled&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'">\n <select class="file-type" ref="fileType">\n ',n.component.fileTypes.map((function(o){l+='\n <option class="test" value="'+(null==(e=o.value)?"":e)+'" ',o.label===t.fileType&&(l+='selected="selected"'),l+=">"+(null==(e=n.t(o.label))?"":e)+"</option>\n "})),l+="\n </select>\n </div>\n "),l+="\n ",n.self.hasTypes&&n.disabled&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'">'+(null==(e=t.fileType)?"":e)+"</div>\n "),l+="\n ",n.disabled||(l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center"><i tabindex="0" class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i></div>\n '),l+="\n </div>\n </li>\n "})),l+="\n ",n.filesToDelete.forEach((function(t){l+='\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-'+(null==(e=n.columns.name)?"":e)+'">\n <div>'+(null==(e=t.originalName||t.name)?"":e)+'</div>\n <div class="status text-'+(null==(e="error"===t.status?"danger":t.status)?"":e)+'">'+(null==(e=n.t(t.message))?"":e)+'</div>\n </div>\n <div class="col-md-'+(null==(e=n.columns.size)?"":e)+'">'+(null==(e=n.fileSize(t.size))?"":e)+"</div>\n ",n.self.hasTypes&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'">\n <select class="file-type" ref="fileType">\n ',n.component.fileTypes.map((function(o){l+='\n <option class="test" value="'+(null==(e=o.value)?"":e)+'" ',o.label===t.fileType&&(l+='selected="selected"'),l+=">"+(null==(e=n.t(o.label))?"":e)+"</option>\n "})),l+="\n </select>\n </div>\n "),l+="\n ",n.isSyncing||"success"===t.status||(l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center"><i tabindex="0" class="'+(null==(e=n.iconClass("arrow-counterclockwise"))?"":e)+'" ref="restoreFile"></i></div>\n '),l+="\n </div>\n </li>\n "})),l+="\n ",n.filesToUpload.forEach((function(t){l+='\n <li class="list-group-item">\n <div class="row align-center">\n <div class="col-md-'+(null==(e=n.columns.name)?"":e)+'">\n <div>'+(null==(e=t.originalName||t.name)?"":e)+"</div>\n ","progress"===t.status?l+='\n <div class="status progress">\n <div id="'+(null==(e=t.id)?"":e)+'" class="progress-bar" role="progressbar" aria-valuenow="'+(null==(e=t.progress)?"":e)+'" aria-valuemin="0" aria-valuemax="100" style="width: '+(null==(e=t.progress)?"":e)+'%" ref="progress">\n <span class="visually-hidden">'+(null==(e=t.progress)?"":e)+"% "+(null==(e=n.t("Complete"))?"":e)+"</span>\n </div>\n </div>\n ":l+='\n <div class="status text-'+(null==(e="error"===t.status?"danger":t.status)?"":e)+'">'+(null==(e=n.t(t.message))?"":e)+"</div>\n ",l+='\n </div>\n <div class="col-md-'+(null==(e=n.columns.size)?"":e)+'">'+(null==(e=n.fileSize(t.size))?"":e)+"</div>\n ",n.self.hasTypes&&(l+='\n <div class="col-md-'+(null==(e=n.columns.type)?"":e)+'">\n <select class="file-type" ref="fileType">\n ',n.component.fileTypes.map((function(o){l+='\n <option class="test" value="'+(null==(e=o.value)?"":e)+'" ',o.label===t.fileType&&(l+='selected="selected"'),l+=">"+(null==(e=n.t(o.label))?"":e)+"</option>\n "})),l+="\n </select>\n </div>\n "),l+="\n ","progress"===t.status?l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center"><i id="abort-'+(null==(e=t.id)?"":e)+'" tabindex="0" class="'+(null==(e=n.iconClass("ban"))?"":e)+'"></i></div>\n ':n.isSyncing||"success"===t.status||(l+='\n <div class="col-md-'+(null==(e=n.columns.actions)?"":e)+' justify-center"><i tabindex="0" class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="fileToSyncRemove"></i></div>\n '),l+="\n </div>\n </li>\n "})),l+="\n </ul>\n"),l+="\n",n.disabled||!n.component.multiple&&n.files.length||(l+="\n ",n.self.useWebViewCamera?l+='\n <div class="fileSelector">\n <button class="btn btn-primary" ref="galleryButton"><i class="'+(null==(e=n.iconClass("book"))?"":e)+'"></i> '+(null==(e=n.t("Gallery"))?"":e)+'</button>\n <button class="btn btn-primary" ref="cameraButton"><i class="'+(null==(e=n.iconClass("camera"))?"":e)+'"></i> '+(null==(e=n.t("Camera"))?"":e)+"</button>\n </div>\n ":n.self.cameraMode?l+='\n <div class="video-container">\n <video class="video" autoplay="true" ref="videoPlayer" tabindex="-1"></video>\n </div>\n <button class="btn btn-primary" ref="takePictureButton"><i class="'+(null==(e=n.iconClass("camera"))?"":e)+'"></i> '+(null==(e=n.t("Take Picture"))?"":e)+'</button>\n <button class="btn btn-primary" ref="toggleCameraMode">'+(null==(e=n.t("Switch to file upload"))?"":e)+"</button>\n ":(l+='\n <div class="fileSelector" ref="fileDrop" '+(null==(e=n.fileDropHidden?"hidden":"")?"":e)+">\n ",n.self.isMobile.any||(l+='\n <i class="'+(null==(e=n.iconClass("cloud-upload"))?"":e)+'"></i> '+(null==(e=n.t("Drop files to attach,"))?"":e)+"\n "),l+="\n ",n.self.imageUpload&&n.component.webcam&&(l+='\n <a href="#" ref="toggleCameraMode"><i class="'+(null==(e=n.iconClass("camera"))?"":e)+'"></i>'+(null==(e=n.t("Use Camera"))?"":e)+"</a>\n "+(null==(e=n.t("or"))?"":e)+"\n "),l+='\n <a href="#" ref="fileBrowse" class="browse">\n ',n.self.isMobile.any&&n.component.capture?(l+="\n ",n.component.filePattern&&n.component.filePattern.includes("video")?l+='\n <i class="'+(null==(e=n.iconClass("video"))?"":e)+'"></i>'+(null==(e=n.t("Capture Video"))?"":e)+"\n ":n.component.filePattern&&n.component.filePattern.includes("audio")?l+='\n <i class="'+(null==(e=n.iconClass("microphone"))?"":e)+'"></i>'+(null==(e=n.t("Capture Audio"))?"":e)+"\n ":l+='\n <i class="'+(null==(e=n.iconClass("camera"))?"":e)+'"></i>'+(null==(e=n.t("Capture Image"))?"":e)+"\n ",l+="\n "):l+='\n <i class="'+(null==(e=n.iconClass("folder-open"))?"":e)+'"></i>'+(null==(e=n.t("Browse Files"))?"":e)+"\n ",l+='\n <span class="visually-hidden">\n '+(null==(e=n.t("Browse to attach file for "+n.component.label+". "+(n.component.description?n.component.description+". ":"")+(n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")))?"":e)+'\n </span>\n </a>\n <div ref="fileProcessingLoader" class="loader-wrapper">\n <div class="loader text-center"></div>\n </div>\n </div>\n '),l+="\n"),l+="\n",n.component.storage&&!n.support.hasWarning||(l+='\n <div class="alert alert-warning">\n ',n.component.storage||(l+="\n <p>"+(null==(e=n.t("No storage has been set for this field. File uploads are disabled until storage is set up."))?"":e)+"</p>\n "),l+="\n ",n.support.filereader||(l+="\n <p>"+(null==(e=n.t("File API & FileReader API not supported."))?"":e)+"</p>\n "),l+="\n ",n.support.formdata||(l+="\n <p>"+(null==(e=n.t("XHR2's FormData is not supported."))?"":e)+"</p>\n "),l+="\n ",n.support.progress||(l+="\n <p>"+(null==(e=n.t("XHR2's upload progress isn't supported."))?"":e)+"</p>\n "),l+="\n </div>\n"),l+="\n"}},x={form:function(n){var e,l="";return Array.prototype.join,l+="<"+(null==(e=n.tag)?"":e)+' class="formio-component-htmlelement '+(null==(e=n.component.className)?"":e)+'" ref="html"\n ',n.attrs.forEach((function(n){l+="\n "+(null==(e=n.attr)?"":e)+'="'+(null==(e=n.value)?"":e)+'"\n '})),l+="\n>"+(null==(e=n.t(n.content))?"":e),n.singleTags&&-1!==n.singleTags.indexOf(n.tag)||(l+="</"+(null==(e=n.tag)?"":e)+">"),l+="\n"}},k={form:function(n){var e,l="";if(Array.prototype.join,l+='<div class="field">\n',(n.prefix||n.suffix)&&(l+='\n<div class="input-group">\n '),l+="\n ",n.prefix&&(l+='\n <div class="input-group-text" ref="prefix">\n ',n.prefix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.prefix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.prefix,{_userInput:!0}))?"":e)+"\n ",l+="\n </div>\n "),l+="\n ",n.options.floatingLabels&&(l+='\n <div class="form-floating">\n '),l+="\n ",!n.component.editor&&!n.component.wysiwyg){for(var t in l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';l+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'" placeholder="'+(null==(e=n.input.attr.placeholder)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+" ",n.component.description&&(l+="d-"+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)),l+='"\n aria-required="'+(null==(e="input"!==n.input.ref&&n.input.ref?n.component.fields&&n.component.fields[n.input.ref]&&n.component.fields[n.input.ref].required||!1:n.component.validate.required)?"":e)+'"\n >'+(null==(e=n.input.content)?"":e)+"</"+(null==(e=n.input.type)?"":e)+">\n ",n.component.hideLabel||(l+='\n <label class="floating-label" for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+="</label> \n "),l+="\n ",n.options.floatingLabels&&(l+='\n <label ref="label" class="col-form-label '+(null==(e=n.label.className)?"":e)+'"\n for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n >'+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"</label>\n "),l+="\n ",n.hasValueMaskInput&&(l+='\n <input ref="valueMaskInput" />\n '),l+="\n"}return l+="\n",(n.component.editor||n.component.wysiwyg)&&(l+='\n <div ref="input"></div>\n <label class="floating-label" for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+="</label>\n"),l+="\n","datetime"===n.component.type&&(l+='\n<span aria-live="assertive" id="'+(null==(e=n.instance.id)?"":e)+'-liveRegion" class="visually-hidden" ref="liveRegion"></span>\n'),l+="\n",n.suffix&&(l+='\n <div class="input-group-text" ref="suffix">\n ',n.suffix instanceof HTMLElement?l+="\n "+(null==(e=n.t(n.suffix.outerHTML,{_userInput:!0}))?"":e)+"\n ":l+="\n "+(null==(e=n.t(n.suffix,{_userInput:!0}))?"":e)+"\n ",l+="\n </div>\n"),l+="\n",(n.prefix||n.suffix||n.options.floatingLabels)&&(l+="\n </div>\n"),l+="\n",(n.component.showCharCount||n.component.showWordCount)&&(l+='\n<div class="form-text {{ctx.component.description ? float-end : text-end">\n ',n.component.showCharCount&&(l+='\n <span class="text-muted" ref="charcount" aria-live="polite"></span>\n '),l+="\n ",n.component.showWordCount&&(l+='\n <span class="text-muted" ref="wordcount" aria-live="polite"></span>\n '),l+="\n</div>\n"),l+"\n</div>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<div ref="value">',n.value?l+=null==(e=n.value)?"":e:l+="-",l+"</div>\n"}},C={form:function(n){var e,l="";return Array.prototype.join,"email"===n.component.type||"textfield"===n.component.type||"number"===n.component.type||"phoneNumber"===n.component.type||"currency"===n.component.type||"textarea"===n.component.type||"dynamic_calendar"===n.component.type||"password"===n.component.type||"time"===n.component.type||"calendar"===n.component.type||"pagebreak"===n.component.type?l+="\n\n":(l+='\n\n<label\n ref="label"\n class="col-form-label '+(null==(e=n.label.className)?"":e)+'"\n for="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n id="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n>\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+"\n ","number"!==n.component.type&&"phoneNumber"!==n.component.type&&"currency"!==n.component.type||(l+='\n <span class="visually-hidden">, '+(null==(e=n.t("numeric only"))?"":e)+",</span>\n "),l+="\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+="\n</label>\n"),l+"\n"}},A={form:function(n){var e,l="";for(var t in Array.prototype.join,l+='<div\n class="input-group formio-multiple-mask-container"\n ref="'+(null==(e=n.input.ref?n.input.ref:"input")?"":e)+'"\n>\n <select\n class="form-control formio-multiple-mask-select"\n id="'+(null==(e=n.key)?"":e)+'-mask"\n ref="select"\n ',n.input.attr.disabled&&(l+="disabled"),l+=">\n ",n.selectOptions.forEach((function(n){l+='\n <option value="'+(null==(e=n.value)?"":e)+'">'+(null==(e=n.label)?"":e)+"</option>\n "})),l+='\n </select>\n <input\n ref="mask"\n ',n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n >\n</div>\n"}},I={form:function(n){var e,l="";return Array.prototype.join,l+='<tr ref="row">\n <td>\n '+(null==(e=n.element)?"":e)+"\n </td>\n ",n.disabled||(l+='\n <td>\n <button type="button" class="btn btn-secondary" ref="removeRow">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),l+"\n</tr>\n"}},j={form:function(n){var e,l="";return Array.prototype.join,l+='<table class="table table-bordered">\n <tbody>\n '+(null==(e=n.rows)?"":e)+"\n ",n.disabled||(l+='\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-another" ref="addButton"><i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i> '+(null==(e=n.t(n.addAnother,{_userInput:!0}))?"":e)+"</button>\n </td>\n </tr>\n "),l+"\n </tbody>\n</table>\n"}},z={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="mb-2 card border" id="panel-'+(null==(e=n.key)?"":e)+'">\n ',(!n.component.hideLabel||n.builder||n.component.collapsible||n.component.tooltip)&&(l+='\n <div class="card-header '+(null==(e=n.transform("class","bg-"+n.component.theme))?"":e)+'"\n ',n.component.collapsible&&(l+='\n tabindex="0"\n '),l+='\n role="button"\n aria-expanded="'+(null==(e=!n.component.collapsible||!n.collapsed)?"":e)+'"\n aria-controls="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ref="header"\n >\n ',!0===n.readOnly&&!0===n.options.flatten?(l+='\n <h3 class="mb-0 card-title ',n.component.theme&&"default"!==n.component.theme&&(l+="text-light"),l+='">\n '):(l+='\n <span class="mb-0 card-title ',n.component.theme&&"default"!==n.component.theme&&(l+="text-light"),l+='">\n '),l+="\n ",n.component.collapsible&&(l+='\n <i class="formio-collapse-icon '+(null==(e=n.iconClass(n.collapsed?"plus-square-o":"minus-square-o"))?"":e)+' text-muted" data-title="Collapse Panel"></i>\n '),l+="\n ",n.component.hideLabel&&!n.builder||(l+="\n "+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"\n "),l+="\n ",n.component.tooltip&&(l+='\n <i ref="tooltip" tabindex="0" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'"></i>\n '),l+="\n ",!0===n.readOnly&&!0===n.options.flatten?l+="\n </h3>\n ":l+="\n </span>\n ",l+="\n </div>\n "),l+="\n ",n.collapsed&&!n.builder||(l+='\n <div class="card-body" ref="'+(null==(e=n.nestedKey)?"":e)+'" id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n "),l+"\n</div>\n"}},_={form:function(n){var e,l="";return Array.prototype.join,l+='<div\n class="form-radio radio"\n ref="radioGroup"\n role="'+(null==(e="selectboxes"===n.component.type?"group":"radiogroup")?"":e)+'"\n aria-required="'+(null==(e=n.input.component.validate.required)?"":e)+'"\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ',n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n>\n ",n.values.forEach((function(t,o){for(var a in l+='\n <div class="form-check '+(null==(e=n.input.attr.type)?"":e)+" "+(null==(e=n.component.optionsLabelPosition&&"right"!==n.component.optionsLabelPosition?"ps-0":"")?"":e)+" form-check"+(null==(e=n.inline?"-inline":"")?"":e)+'" ref="wrapper">\n ',["left","top"].includes(n.component.optionsLabelPosition)&&(l+='\n <label class="form-check-label label-position-'+(null==(e=n.component.optionsLabelPosition)?"":e)+'" for="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof t.value?t.value+"-"+o:t.value)?"":e)+'"><span>'+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"</span></label>\n "),l+="\n <"+(null==(e=n.input.type)?"":e)+'\n ref="input"\n ',n.input.attr)l+="\n "+(null==(e=a)?"":e)+'="'+(null==(e=n.input.attr[a])?"":e)+'"\n ';l+='\n value="'+(null==(e=t.value)?"":e)+'"\n ',n.value&&(n.value===t.value||"object"==typeof n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value])&&(l+="\n checked=true\n "),l+="\n ",t.disabled&&(l+="\n disabled=true\n "),l+='\n id="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof t.value?t.value+"-"+o:t.value)?"":e)+'"\n role="'+(null==(e="selectboxes"===n.component.type?"checkbox":"radio")?"":e)+'"\n >\n ',n.component.optionsLabelPosition&&!["right","bottom"].includes(n.component.optionsLabelPosition)||(l+='\n <label class="form-check-label label-position-'+(null==(e=n.component.optionsLabelPosition)?"":e)+'" for="'+(null==(e=n.instance.root&&n.instance.root.id)?"":e)+"-"+(null==(e=n.id)?"":e)+"-"+(null==(e=n.row)?"":e)+"-"+(null==(e="object"==typeof t.value?t.value+"-"+o:t.value)?"":e)+'"><span>'+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"</span></label>\n "),l+="\n </div>\n "})),l+="\n</div>\n"},html:function(n){var e,l="";return Array.prototype.join,(l+='<div ref="value">\n ')+"\n "+(null==(e=n.values.filter((function(e){return n.value===e.value||"object"==typeof n.value&&n.value.hasOwnProperty(e.value)&&n.value[e.value]})).map((function(e){return n.t(e.label,{_userInput:!0})})).join(", "))?"":e)+"\n </div>\n"}},E={form:function(n){var e,l="";for(var t in Array.prototype.join,l+='<select\n ref="'+(null==(e=n.input.ref?n.input.ref:"selectContainer")?"":e)+'"\n '+(null==(e=n.input.multiple?"multiple":"")?"":e)+"\n ",n.input.attr)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.input.attr[t])?"":e)+'"\n ';return l+="\n ",n.input.attr.id||(l+='\n id="'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+="\n ",n.component.description&&(l+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),l+='\n aria-required="'+(null==(e="selectContainer"!==n.input.ref&&n.input.ref?n.component.fields[n.input.ref].required:n.input.component.validate.required)?"":e)+'"\n>'+(null==(e=n.selectOptions)?"":e)+'</select>\n\x3c!--<input type="text"\n class="formio-select-autocomplete-input"\n ref="autocompleteInput"\n ',n.input.attr.autocomplete&&(l+='\n autocomplete="'+(null==(e=n.input.attr.autocomplete)?"":e)+'"\n '),l+'\n tabindex="-1"\n aria-label="'+(null==(e=n.t("autocomplete"))?"":e)+'"\n/>--\x3e\n'},html:function(n){var e,l="";return Array.prototype.join,l+='<div ref="value">',n.value?l+=null==(e=n.self.itemValueForHTMLMode(n.value))?"":e:l+="-",l+"</div>\n"}},P={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<option "+(null==(e=n.selected?'selected="selected"':"")?"":e)+"\n value='"+(null==(e=n.useId?n.id:n.option.value)?"":e)+"'\n ",n.attrs)l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.attrs[t])?"":e)+'"\n ';return l+"\n >\n "+(null==(e=n.t(n.option.label,{_userInput:!0}))?"":e)+"\n</option>\n"},html:function(n){var e,l="";return Array.prototype.join,n.selected&&(l+=null==(e=n.t(n.option.label,{_userInput:!0}))?"":e),l+"\n"}},q={form:function(n){var e,l="";return Array.prototype.join,l+=(null==(e=n.element)?"":e)+'\n<div\n class="signature-pad-body"\n style="width: '+(null==(e=n.component.width)?"":e)+";height: "+(null==(e=n.component.height)?"":e)+';padding:0;margin:0;"\n tabindex="'+(null==(e=n.component.tabindex||0)?"":e)+'"\n ref="padBody"\n>\n <a class="btn btn-sm btn-light signature-pad-refresh" ref="refresh">\n <i class="'+(null==(e=n.iconClass("refresh"))?"":e)+'"></i>\n </a>\n <canvas class="signature-pad-canvas" style="display: none;" height="'+(null==(e=n.component.height)?"":e)+'" ref="canvas"></canvas>\n ',n.required&&(l+='\n <span class="form-control-feedback text-danger">\n <i class="'+(null==(e=n.iconClass("asterisk"))?"":e)+'"></i>\n </span>\n '),l+='\n <img style="width: 100%;display: inherit;" ref="signatureImage">\n</div>\n',n.component.footer&&(l+='\n <div class="signature-pad-footer">\n '+(null==(e=n.t(n.component.footer,{_userInput:!0}))?"":e)+"\n </div>\n"),l+"\n"},html:function(n){return'<img style="width: 100%;" ref="signatureImage">\n'}},R={form:function(n){var e,l="";return Array.prototype.join,l+='<table class="table table-striped table-bordered" aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">\n <thead>\n <tr>\n <th></th>\n ',n.component.values.forEach((function(t){l+='\n <th style="text-align: center;">\n '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&(l+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>\n '),l+="\n </th>\n "})),l+="\n </tr>\n </thead>\n <tbody>\n ",n.component.questions.forEach((function(t){l+="\n <tr>\n <td>\n "+(null==(e=n.t(t.label))?"":e)+"\n ",t.tooltip&&(l+='\n <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>\n '),l+="\n </td>\n ",n.component.values.forEach((function(o){l+='\n <td style="text-align: center;">\n <input type="radio" name="'+(null==(e=n.self.getInputName(t))?"":e)+'" value="'+(null==(e=o.value)?"":e)+'" id="'+(null==(e=n.key)?"":e)+"-"+(null==(e=t.value)?"":e)+"-"+(null==(e=o.value)?"":e)+'" ref="input">\n </td>\n '})),l+="\n </tr>\n "})),l+="\n </tbody>\n</table>\n"},html:function(n){var e,l="";return Array.prototype.join,l+='<table class="table table-striped table-bordered">\n <tbody>\n ',n.component.questions.forEach((function(t){l+="\n <tr>\n <th>"+(null==(e=n.t(t.label))?"":e)+"</th>\n <td>\n ",n.component.values.forEach((function(o){l+="\n ",n.value&&n.value.hasOwnProperty(t.value)&&n.value[t.value]===o.value&&(l+="\n "+(null==(e=n.t(o.label))?"":e)+"\n "),l+="\n "})),l+="\n </td>\n </tr>\n "})),l+="\n </tbody>\n</table>\n"}},L={flat:function(n){var e,l="";return Array.prototype.join,n.component.components.forEach((function(t,o){l+='\n <div class="mb-2 card border">\n <div class="card-header bg-default">\n <h4 class="mb-0 card-title">'+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+'</h4>\n </div>\n <div\n class="card-body"\n ref="'+(null==(e=n.tabKey)?"":e)+'"\n >\n '+(null==(e=n.tabComponents[o])?"":e)+"\n </div>\n </div>\n"})),l+="\n"},form:function(n){var e,l="";return Array.prototype.join,l+='<div class="card'+(null==(e=n.component.verticalLayout?" card-vertical":"")?"":e)+'">\n <div class="card-header">\n <ul class="tab-component-tabs nav nav-tabs card-header-tabs'+(null==(e=n.component.verticalLayout?" nav-tabs-vertical":"")?"":e)+'" role="tablist">\n ',n.component.components.forEach((function(t,o){l+='\n <li class="nav-item'+(null==(e=n.currentTab===o?" active":"")?"":e)+'" role="tab" ref="'+(null==(e=n.tabLikey)?"":e)+'">\n <a\n class="nav-link'+(null==(e=n.currentTab===o?" active":"")?"":e)+(null==(e=n.component.verticalLayout?" nav-link-vertical":"")?"":e)+'"\n href="#'+(null==(e=t.key)?"":e)+'"\n ref="'+(null==(e=n.tabLinkKey)?"":e)+'"\n >\n '+(null==(e=n.t(t.label,{_userInput:!0}))?"":e)+"\n </a>\n </li>\n "})),l+="\n </ul>\n </div>\n ",n.component.components.forEach((function(t,o){l+='\n <div\n role="tabpanel"\n class="card-body tab-pane"\n style="display: '+(null==(e=n.currentTab===o?"block":"none")?"":e)+'"\n ref="'+(null==(e=n.tabKey)?"":e)+'"\n >\n '+(null==(e=n.tabComponents[o])?"":e)+"\n </div>\n "})),l+="\n</div>\n"}},K={form:function(n){var e,l="";return Array.prototype.join,l+='<table class="table\n '+(null==(e=n.component.striped?"table-striped":"")?"":e)+"\n "+(null==(e=n.component.bordered?"table-bordered":"")?"":e)+"\n "+(null==(e=n.component.hover?"table-hover":"")?"":e)+"\n "+(null==(e=n.component.condensed?"table-sm":"")?"":e)+'\n ">\n <caption class="visually-hidden">'+(null==(e=n.t(n.component.label))?"":e)+"</caption>\n ",n.component.header&&n.component.header.length>0&&(l+="\n <thead>\n <tr>\n ",n.component.header.forEach((function(t){l+="\n <th>"+(null==(e=n.t(t))?"":e)+"</th>\n "})),l+="\n </tr>\n </thead>\n "),l+="\n <tbody>\n ",n.tableComponents.forEach((function(t,o){l+='\n <tr ref="row-'+(null==(e=n.id)?"":e)+'">\n ',t.forEach((function(t,a){l+='\n <td ref="'+(null==(e=n.tableKey)?"":e)+"-"+(null==(e=o)?"":e)+'"',n.cellClassName&&(l+=' class="'+(null==(e=n.cellClassName)?"":e)+'"'),l+=">"+(null==(e=t)?"":e)+"</td>\n "})),l+="\n </tr>\n "})),l+="\n </tbody>\n</table>\n"}},N={form:function(n){var e,l="";return Array.prototype.join,n.node.isRoot?l+='\n <div ref="root" class="list-group-item">\n':l+='\n <li ref="node" class="list-group-item col-sm-12 tree__level tree__level_'+(null==(e=n.odd?"odd":"even")?"":e)+'">\n',l+="\n ",n.content&&(l+='\n <div ref="content" class="tree__node-content">\n '+(null==(e=n.content)?"":e)+"\n </div>\n "),l+="\n ",n.childNodes&&n.childNodes.length&&(l+='\n <ul ref="childNodes" class="tree__node-children list-group row">\n '+(null==(e=n.childNodes.join(""))?"":e)+"\n </ul>\n "),l+="\n",n.node.isRoot?l+="\n </div>\n":l+="\n </li>\n",l+"\n"}},T={treeView:{form:function(n){var e,l="";return Array.prototype.join,l+='<div class="row">\n ',n.values.forEach((function(n){l+='\n <div class="col-sm-2">\n '+(null==(e=n)?"":e)+"\n </div>\n "})),l+='\n <div class="col-sm-3">\n <div class="btn-group pull-right">\n ',n.node.hasChildren&&(l+='\n <button ref="toggleNode" class="btn btn-default btn-sm toggleNode">'+(null==(e=n.t(n.node.collapsed?"Expand":"Collapse"))?"":e)+"</button>\n "),l+="\n ",n.readOnly||(l+='\n <button ref="addChild" class="btn btn-default btn-sm addChild">'+(null==(e=n.t("Add"))?"":e)+'</button>\n <button ref="editNode" class="btn btn-default btn-sm editNode">'+(null==(e=n.t("Edit"))?"":e)+'</button>\n <button ref="removeNode" class="btn btn-danger btn-sm removeNode">'+(null==(e=n.t("Delete"))?"":e)+"</button>\n ",n.node.revertAvailable&&(l+='\n <button ref="revertNode" class="btn btn-danger btn-sm revertNode">'+(null==(e=n.t("Revert"))?"":e)+"</button>\n "),l+="\n "),l+="\n </div>\n </div>\n</div>\n"}},treeEdit:{form:function(n){var e,l="";return Array.prototype.join,l+='<div class="node-edit">\n <div ref="nodeEdit">'+(null==(e=n.children)?"":e)+"</div>\n ",n.readOnly||(l+='\n <div class="node-actions">\n <button ref="saveNode" class="btn btn-primary saveNode">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button ref="cancelNode" class="btn btn-danger cancelNode">'+(null==(e=n.t("Cancel"))?"":e)+"</button>\n </div>\n "),l+"\n</div>\n"}}},S={form:function(n){var e,l="";return Array.prototype.join,l+='<div class="'+(null==(e=n.className)?"":e)+'">\n <div style="position: relative;">\n ',"wizardHeaderVertical"===n.wizardHeaderType?(l+='\n <div class="row">\n ',"right"!==n.wizardHeaderLocation&&(l+='\n <div class="col-sm-2">\n '+(null==(e=n.wizardHeader)?"":e)+"\n </div>\n "),l+='\n <div class="wizard-page col-sm-10" ref="'+(null==(e=n.wizardKey)?"":e)+'">\n '+(null==(e=n.components)?"":e)+"\n </div>\n ","right"===n.wizardHeaderLocation&&(l+='\n <div class="col-sm-2">\n '+(null==(e=n.wizardHeader)?"":e)+"\n </div>\n "),l+='\n </div>\n <div class="col-sm-offset-2 col-sm-10 '+(null==(e="right"===n.wizardHeaderLocation?"col-sm-offset-0 col-md-offset-0":"")?"":e)+'">\n '+(null==(e=n.wizardNav)?"":e)+"\n </div>\n "):(l+="\n ",n.options.hideBreadCrumb||(l+="\n "+(null==(e=n.wizardHeader)?"":e)+"\n "),l+='\n <div class="wizard-page" ref="'+(null==(e=n.wizardKey)?"":e)+'">\n '+(null==(e=n.components)?"":e)+"\n </div>\n ",n.options.hideWizardNav||(l+="\n "+(null==(e=n.wizardNav)?"":e)+"\n "),l+="\n "),l+"\n </div>\n</div>\n"},builder:function(n){var e;return""+'<div class="text-muted text-center p-2">'+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"</div>\n"}},B={form:function(n){var e,l="";return Array.prototype.join,l+='<nav aria-label="Wizard navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header" ref="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <ul class="pagination" role="tablist">\n ',n.panels.forEach((function(t,o){l+='\n <li class="page-item'+(null==(e=n.currentPage===o?" active":"")?"":e)+'" style="cursor: pointer;">\n <button tabindex="0" data-index="'+(null==(e=o)?"":e)+'" role="tab" class="page-link" ref="'+(null==(e=n.wizardKey)?"":e)+'-link">\n '+(null==(e=n.t(t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&n.currentPage===o&&(l+='\n <i ref="'+(null==(e=n.wizardKey)?"":e)+'-tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>\n '),l+="\n </button>\n </li>\n "})),l+="\n </ul>\n</nav>\n"}},M={form:function(n){var e,l="";return Array.prototype.join,l+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <div class="classic-pagination row justify-content-center" style="border-bottom:0;">\n ',n.panels.forEach((function(t,o){l+='\n <div class="classic-pagination-page col-xs-12 col-sm-6 col-md-3\n '+(null==(e=n.currentPage<o?" disabled":"")?"":e)+"\n "+(null==(e=n.currentPage===o?" active":"")?"":e)+"\n "+(null==(e=n.currentPage>o?" complete":"")?"":e)+'">\n <div class="text-center classic-pagination-title">'+(null==(e=n.t(t.title,{_userInput:!0}))?"":e)+"</div>\n ",n.panels.length>1&&(l+='\n <div class="progress"><div class="progress-bar"></div></div>\n '),l+=' \n <span ref="'+(null==(e=n.wizardKey)?"":e)+'-link" class="classic-pagination-dot"></span>\n </div>\n '})),l+="\n </div>\n</nav>\n"}},O={form:function(n){var e,l="";return Array.prototype.join,l+='<nav aria-label="navigation" id="'+(null==(e=n.wizardKey)?"":e)+'-header">\n <ul class="pagination flex-column">\n ',n.panels.forEach((function(t,o){l+='\n <li class="col-xs-12 page-item'+(null==(e=n.currentPage===o?" active":"")?"":e)+'" style="cursor: pointer;">\n <span class="page-link" ref="'+(null==(e=n.wizardKey)?"":e)+'-link" style="margin-left: 0px;">\n '+(null==(e=n.t(t.title,{_userInput:!0}))?"":e)+"\n ",t.tooltip&&n.currentPage===o&&(l+='\n <i ref="'+(null==(e=n.wizardKey)?"":e)+'-tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-muted" data-tooltip="'+(null==(e=t.tooltip)?"":e)+'"></i>\n '),l+="\n </span>\n </li>\n "})),l+="\n </ul>\n</nav>\n"}},H={form:function(n){var e,l="";return Array.prototype.join,l+='<ul class="formio-wizard-nav-container list-inline" id="'+(null==(e=n.wizardKey)?"":e)+'-nav">\n ',n.buttonOrder.forEach((function(t){l+="\n ","cancel"===t&&n.buttons.cancel&&(l+='\n <li>\n <button class="btn btn-secondary btn-wizard-nav-cancel" ref="'+(null==(e=n.wizardKey)?"":e)+'-cancel" aria-label="'+(null==(e=n.t("cancelButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("cancel"))?"":e)+"</button>\n </li>\n "),l+="\n ","previous"===t&&n.buttons.previous&&(l+='\n <li>\n <button class="btn btn-primary btn-wizard-nav-previous" ref="'+(null==(e=n.wizardKey)?"":e)+'-previous" aria-label="'+(null==(e=n.t("previousButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("previous"))?"":e)+"</button>\n </li>\n "),l+="\n ","next"===t&&n.buttons.next&&(l+='\n <li>\n <button class="btn btn-primary btn-wizard-nav-next" ref="'+(null==(e=n.wizardKey)?"":e)+'-next" aria-label="'+(null==(e=n.t("nextButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("next"))?"":e)+"</button>\n </li>\n "),l+="\n ","submit"===t&&n.buttons.submit&&(l+="\n <li>\n ",n.disableWizardSubmit?l+='\n <button disabled class="btn btn-primary btn-wizard-nav-submit" ref="'+(null==(e=n.wizardKey)?"":e)+'-submit" aria-label="'+(null==(e=n.t("submitButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("submit"))?"":e)+"</button>\n ":l+='\n <button class="btn btn-primary btn-wizard-nav-submit" ref="'+(null==(e=n.wizardKey)?"":e)+'-submit" aria-label="'+(null==(e=n.t("submitButtonAriaLabel"))?"":e)+'">'+(null==(e=n.t("submit"))?"":e)+"</button>\n ",l+="\n </li>\n "),l+="\n "})),l+="\n</ul>\n"}},F={form:function(n){var e,l="";return Array.prototype.join,l+='<p role="alert">'+(null==(e=n.t("error"))?"":e)+"\n ",n.options.vpat&&(l+='\n <span ref="errorTooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+'" tabindex="0"></span>\n '),l+="\n</p>\n<ul>\n ",n.errors.forEach((function(t){l+='\n <li>\n <span\n data-component-key = "'+(null==(e=t.keyOrPath)?"":e)+'"\n ref = "errorRef"\n tabIndex = "0"\n role="link"\n id="'+(null==(e=n.id)?"":e)+'"\n >\n '+(null==(e=t.message)?"":e)+"\n </span>\n </li>\n "})),l+="\n</ul>\n"}},D={form:function(n){var e,l="";for(var t in Array.prototype.join,l+="<div\n ",n.attrs)"class"==t&&(n.attrs[t]+=" oc-alert"),l+="\n "+(null==(e=t)?"":e)+'="'+(null==(e=n.attrs[t])?"":e)+'"\n ';return l+="\n>\n "+(null==(e=n.message)?"":e)+"\n",n.options.vpat&&(l+='\n<span class="visually-hidden" id="hotkey-i-'+(null==(e=n.form._id)?"":e)+'">'+(null==(e=n.t("errorListHotkey"))?"":e)+"</span>\n"),l+"\n</div>\n\n"}},V={framework:"bootstrapItalia",templates:{bootstrapItalia:{transform(n,e,l){if(!e)return e;if("class"===n){let n="";return"form-group"===e&&l&&"hidden"!==l.type&&(n="mb-2 ",l&&l.component.block&&(n+="d-grid ")),`${n}${this.cssClasses.hasOwnProperty(e.toString())?this.cssClasses[e.toString()]:e}`}return e},defaultIconset:"bi",iconClass:(n,e,l)=>{let t=e;switch(e){case"cog":t="gear";break;case"copy":t="back";break;case"bars":t="list";break;case"remove":t="trash";break;case"font":t="type";break;case"hashtag":t="hash";break;case"th-list":t="menu-button-wide";break;case"dot-circle-o":t="ui-radios";break;case"plus-square-o":t="plus-square";break;case"minus-square-o":t="dash-square";break;case"plus-square":t="ui-checks";break;case"phone-square":t="phone";break;case"home":t="house";break;case"clock-o":case"time":t="clock";break;case"usd":t="currency-dollar";break;case"html5":t="file-richtext";break;case"pencil-square-o":t="pencil-square";break;case"columns":t="layout-three-columns";break;case"list-alt":t="window";break;case"th-large":t="grid-fill";break;case"folder-o":t="folder";break;case"square-o":t="square";break;case"user-secret":t="person-fill-slash";break;case"folder-open":t="folder2-open";break;case"th":t="grid-3x3-gap-fill";break;case"tasks":t="view-stacked";break;case"indent":t="text-indent-left";break;case"refresh":t="arrow-repeat";break;case"files-o":t="files";break;case"wpforms":t="window-stack";break;case"cube":t="box";break;case"cubes":t="boxes";break;case"check-square-o":t="check-square";break;case"plus":t="plus-lg";break;case"question-sign":t="question-circle";break;case"remove-circle":t="x-circle";break;case"new-window":t="window-plus";break;case"move":t="arrows-move";break;case"edit":t="pencil";break;case"video":t="camera-video";break;case"microphone":t="mic";break;case"calendar":t="calendar";break;case"check-circle":t="check-circle-fill";break;case"times-circle":t="x-circle-fill"}return l?"spinner-border spinner-border-sm":`fa fa-${e} bi bi-${t}`},cssClasses:{"border-default":"","formio-tab-panel-active":"active","formio-tab-link-active":"active","formio-tab-link-container-active":"active","formio-form-error":"formio-error-wrapper has-message","formio-form-alert":"alert alert-danger","formio-label-error":"","formio-input-error":"","formio-alert-danger":"alert alert-danger","formio-alert-success":"alert alert-success","formio-alert-warning":"alert alert-warning","formio-modal-cancel-button":"btn btn-danger formio-dialog-button","formio-modal-confirm-button":"btn btn-primary formio-dialog-button","form-group":"formio-form-group"},address:l,builder:{form:function(n){var e;return""+'<div class="formio builder row formbuilder">\n <div class="col-xs-4 col-sm-3 col-md-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="col-xs-8 col-sm-9 col-md-10 formarea" ref="form">\n '+(null==(e=n.form)?"":e)+"\n </div>\n</div>\n"}},builderComponent:t,builderComponents:{form:function(n){var e;return""+'<div class="builder-components drag-container formio-builder-'+(null==(e=n.type)?"":e)+'" ref="'+(null==(e=n.key)?"":e)+'-container">\n '+(null==(e=n.html)?"":e)+"\n</div>\n"}},builderEditForm:o,builderPlaceholder:{form:function(n){var e;return""+'<div\n class="drag-and-drop-alert alert alert-info no-drag"\n style="text-align:center;"\n role="alert"\n data-noattach="true"\n data-position="'+(null==(e=n.position)?"":e)+'"\n>\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n</div>\n"}},builderSidebar:a,builderSidebarGroup:r,builderWizard:i,button:s,checkbox:u,columns:d,component:c,componentModal:p,components:{form:function(n){var e;return""+((null==(e=n.children.join(""))?"":e)+"\n")}},tableComponents:m,container:{form:function(n){var e;return""+'<div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n</div>\n"}},datagrid:b,day:f,dialog:{form:function(n){return'<div class="ocl">\n<div class="formio-dialog formio-dialog-theme-default component-settings">\n <div class="formio-dialog-overlay" ref="dialogOverlay"></div>\n <div class="formio-dialog-content" ref="dialogContents" role="dialog">\n <div ref="dialogContents"></div>\n <button class="formio-dialog-close float-end btn-sm" aria-label="Close modal window." ref="dialogClose"></button>\n </div>\n</div>\n</div>\n'}},editgrid:v,editgridTable:y,field:g,fieldset:h,file:w,html:x,icon:{form:function(n){var e;return""+'<i ref="'+(null==(e=n.ref)?"":e)+'" class="'+(null==(e=n.className)?"":e)+'" style="'+(null==(e=n.styles)?"":e)+'">'+(null==(e=n.content)?"":e)+"</i>\n"}},input:k,label:C,loader:{form:function(n){return'<div class="formio-loader">\n <div class="loader-wrapper">\n <div class="loader text-center"></div>\n </div> \n</div>\n'}},loading:{form:function(n){return"Loading...\n"}},map:{form:function(n){var e;return""+'<div id="'+(null==(e=n.mapId)?"":e)+'" style="min-height: 300px; height: calc(100vh - 600px);" ref="gmapElement"></div>\n'}},message:{form:function(n){var e;return""+'<div id="e-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.key)?"":e)+'" class="form-text '+(null==(e=n.level||"error")?"":e)+'">'+(null==(e=n.self.itemValueForHTMLMode(n.message))?"":e)+"</div>\n"}},modaledit:{form:function(n){var e;return""+'<div ref="container" class="formio-modaledit-view-container">\n <button\n ref="edit"\n type="button"\n role="button"\n class="btn btn-xxs btn-warning formio-modaledit-edit">\n <i class="'+(null==(e=n.iconClass("edit"))?"":e)+'"></i>\n </button>\n <div ref="input" class="modaledit-view-inner reset-margins">'+(null==(e=n.content)?"":e)+"</div>\n</div>\n"}},modaldialog:{form:function(n){var e;return""+'<div class="formio-dialog formio-dialog-theme-default formio-modaledit-dialog">\n <div ref="overlay" class="formio-dialog-overlay"></div>\n <div ref="content" class="formio-modaledit-content">\n <button\n ref="close"\n type="button"\n role="button"\n class="btn btn-primary btn-xs formio-modaledit-close">\n '+(null==(e=n.t("Close"))?"":e)+'\n </button>\n <div ref="inner" class="reset-margins"></div>\n </div>\n</div>\n'}},modalPreview:{form:function(n){var e;return""+'<label id="l-'+(null==(e=n.component.key)?"":e)+'" class="control-label '+(null==(e=n.label.className)?"":e)+'">\n '+(null==(e=n.t(n.component.label,{_userInput:!0}))?"":e)+'<span ref="modalLabelValue" class="visually-hidden">. '+(null==(e="signature"===n.component.type?n.self.getValueAsString(n.previewText):n.previewText)?"":e)+'</span>\n</label><br>\n<span class="visually-hidden" ref="modalPreviewLiveRegion" aria-live="assertive"></span>\n<button\n lang="en"\n class="btn btn-light btn-md open-modal-button form-control '+(null==(e=n.openModalBtnClasses||"")?"":e)+'"\n ref="openModal"\n aria-labelledby="l-'+(null==(e=n.component.key)?"":e)+'"\n>\n '+(null==(e=n.previewText)?"":e)+'\n</button>\n<div class="formio-errors invalid-feedback">\n '+(null==(e=n.messages)?"":e)+"\n</div>\n"}},multipleMasksInput:A,multiValueRow:I,multiValueTable:j,panel:z,pdf:{form:function(n){var e;return""+'<div class="'+(null==(e=n.classes)?"":e)+'" ref="webform">\n\t<span data-noattach="true" ref="zoomIn" style="position:absolute;right:10px;top:10px;cursor:pointer;" class="btn btn-default btn-secondary no-disable">\n\t\t<i class="'+(null==(e=n.iconClass("zoom-in"))?"":e)+'"></i>\n\t</span>\n\t<span data-noattach="true" ref="zoomOut" style="position:absolute;right:10px;top:60px;cursor:pointer;" class="btn btn-default btn-secondary no-disable">\n\t\t<i class="'+(null==(e=n.iconClass("zoom-out"))?"":e)+'"></i>\n\t</span>\n <div data-noattach="true" ref="iframeContainer"></div>\n '+(null==(e=n.submitButton)?"":e)+"\n</div>\n"}},pdfBuilder:{form:function(n){var e;return""+'<div class="formio builder row formbuilder">\n <div class="col-xs-4 col-sm-3 col-md-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="col-xs-8 col-sm-9 col-md-10 formarea" ref="form">\n\t <div class="formio-drop-zone" ref="iframeDropzone"></div>\n '+(null==(e=n.form)?"":e)+"\n </div>\n</div>\n"}},pdfBuilderUpload:{form:function(n){var e;return""+'<div class="pdf-upload formio-component-file">\n <h3 class="label">'+(null==(e=n.t("Upload a PDF File"))?"":e)+'</h3>\n <input type="file" style="opacity: 0; position: absolute;" tabindex="-1" accept=".pdf" ref="hiddenFileInputElement">\n <div class="fileSelector" ref="fileDrop">\n <span ref="dragDropText">\n <i class="'+(null==(e=n.iconClass("cloud-upload"))?"":e)+'"></i>'+(null==(e=n.t("Drop pdf to start, or"))?"":e)+' <a href="#" ref="fileBrowse" class="browse">'+(null==(e=n.t("browse"))?"":e)+'</a>\n </span>\n <div class="progress pdf-progress" ref="uploadProgressWrapper" style="display:none;">\n <div class="progress-bar" ref="uploadProgress" role="progressbar" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"></div>\n </div>\n </div>\n <div class="alert alert-danger" ref="uploadError">\n\n </div>\n</div>\n\n'}},radio:_,resourceAdd:{form:function(n){var e;return""+'<table class="table table-bordered">\n <tbody>\n <tr>\n <td>\n '+(null==(e=n.element)?"":e)+'\n </td>\n </tr>\n <tr>\n <td colspan="2">\n <button class="btn btn-primary formio-button-add-resource" ref="addResource">\n <i class="'+(null==(e=n.iconClass("plus"))?"":e)+'"></i>\n '+(null==(e=n.t(n.component.addResourceLabel||"Add Resource",{_userInput:!0}))?"":e)+"\n </button>\n </td>\n </tr>\n </tbody>\n</table>\n"}},select:E,selectOption:P,signature:q,survey:R,tab:L,table:K,tree:N,...T,webform:{form:function(n){var e;return""+'<div class="'+(null==(e=n.classes)?"":e)+'" ref="webform" novalidate>'+(null==(e=n.children)?"":e)+"</div>\n"},builder:function(n){var e;return""+'<div class="text-muted text-center p-2">'+(null==(e=n.t(n.component.title,{_userInput:!0}))?"":e)+"</div>\n"}},well:{form:function(n){var e;return""+'<div class="card card-body bg-light mb-3">\n <div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n</div>\n"}},wizard:S,wizardHeader:B,wizardHeaderClassic:M,wizardHeaderVertical:O,wizardNav:H,errorsList:F,alert:D}}};return e.default})()));
|
|
@@ -4,21 +4,15 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
4
4
|
exports.default=function(ctx) {
|
|
5
5
|
var __t, __p = '', __j = Array.prototype.join;
|
|
6
6
|
function print() { __p += __j.call(arguments, '') }
|
|
7
|
-
__p += '<div class="builder-component" ref="dragComponent" tabindex="-1">\n '
|
|
8
|
-
if (!ctx.disableBuilderActions) { ;
|
|
9
|
-
__p += '\n <div class="component-btn-group" data-noattach="true">\n <div\n role="button"\n aria-label="Remove button. Click to remove component from the form"\n tabindex="-1"\n class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove"\n ref="removeComponent"\n >\n <i class="' +
|
|
7
|
+
__p += '<div class="builder-component" ref="dragComponent" tabindex="-1">\n <div class="component-btn-group" data-noattach="true">\n <div\n role="button"\n aria-label="Remove button. Click to remove component from the form"\n tabindex="-1"\n class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove"\n ref="removeComponent"\n >\n <i class="' +
|
|
10
8
|
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
11
|
-
'"></i>\n </div>\n '
|
|
12
|
-
if (!ctx.design) { ;
|
|
13
|
-
__p += '\n <div\n role="button"\n aria-label="Copy button. Click to copy component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-copy"\n ref="copyComponent"\n >\n <i class="' +
|
|
9
|
+
'"></i>\n </div>\n <div\n role="button"\n aria-label="Copy button. Click to copy component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-copy"\n ref="copyComponent"\n >\n <i class="' +
|
|
14
10
|
((__t = (ctx.iconClass('copy'))) == null ? '' : __t) +
|
|
15
11
|
'"></i>\n </div>\n <div\n role="button"\n aria-label="Paste below button. Click to paste component below the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-paste"\n ref="pasteComponent"\n >\n <i class="' +
|
|
16
12
|
((__t = (ctx.iconClass('save'))) == null ? '' : __t) +
|
|
17
13
|
'"></i>\n </div>\n <div\n role="button"\n aria-label="Edit json button. Click to edit json of the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-edit-json"\n ref="editJson"\n >\n <i class="' +
|
|
18
14
|
((__t = (ctx.iconClass('wrench'))) == null ? '' : __t) +
|
|
19
|
-
'"></i>\n </div>\n '
|
|
20
|
-
} ;
|
|
21
|
-
__p += '\n <div\n role="button"\n aria-label="Move button"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-move"\n ref="moveComponent"\n >\n <i class="' +
|
|
15
|
+
'"></i>\n </div>\n <div\n role="button"\n aria-label="Move button"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-move"\n ref="moveComponent"\n >\n <i class="' +
|
|
22
16
|
((__t = (ctx.iconClass('move'))) == null ? '' : __t) +
|
|
23
17
|
'"></i>\n </div>\n ';
|
|
24
18
|
if (!(ctx.design && ctx.childComponent.type === 'reviewpage')) { ;
|
|
@@ -26,9 +20,7 @@ __p += '\n <div\n role="button"\n aria-label="Edit butt
|
|
|
26
20
|
((__t = (ctx.iconClass('cog'))) == null ? '' : __t) +
|
|
27
21
|
'"></i>\n </div>\n ';
|
|
28
22
|
} ;
|
|
29
|
-
__p += '\n </div>\n '
|
|
30
|
-
} ;
|
|
31
|
-
__p += '\n ' +
|
|
23
|
+
__p += '\n </div>\n ' +
|
|
32
24
|
((__t = (ctx.html)) == null ? '' : __t) +
|
|
33
25
|
'\n</div>\n';
|
|
34
26
|
return __p
|
|
@@ -64,7 +64,9 @@ __p += '"\n aria-required="' +
|
|
|
64
64
|
((__t = (ctx.input.content)) == null ? '' : __t) +
|
|
65
65
|
'</' +
|
|
66
66
|
((__t = (ctx.input.type)) == null ? '' : __t) +
|
|
67
|
-
'>\n
|
|
67
|
+
'>\n ';
|
|
68
|
+
if (!ctx.component.hideLabel) { ;
|
|
69
|
+
__p += '\n <label class="floating-label" for="' +
|
|
68
70
|
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
69
71
|
'-' +
|
|
70
72
|
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
@@ -82,7 +84,9 @@ __p += '\n <i ref="tooltip" tabindex="0" class="' +
|
|
|
82
84
|
((__t = (ctx.component.tooltip)) == null ? '' : __t) +
|
|
83
85
|
'"></i>\n ';
|
|
84
86
|
} ;
|
|
85
|
-
__p += '</label
|
|
87
|
+
__p += '</label> \n ';
|
|
88
|
+
} ;
|
|
89
|
+
__p += '\n ';
|
|
86
90
|
if (ctx.options.floatingLabels) { ;
|
|
87
91
|
__p += '\n <label ref="label" class="col-form-label ' +
|
|
88
92
|
((__t = (ctx.label.className)) == null ? '' : __t) +
|
|
@@ -1,21 +1,15 @@
|
|
|
1
1
|
export default function(ctx) {
|
|
2
2
|
var __t, __p = '', __j = Array.prototype.join;
|
|
3
3
|
function print() { __p += __j.call(arguments, '') }
|
|
4
|
-
__p += '<div class="builder-component" ref="dragComponent" tabindex="-1">\n '
|
|
5
|
-
if (!ctx.disableBuilderActions) { ;
|
|
6
|
-
__p += '\n <div class="component-btn-group" data-noattach="true">\n <div\n role="button"\n aria-label="Remove button. Click to remove component from the form"\n tabindex="-1"\n class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove"\n ref="removeComponent"\n >\n <i class="' +
|
|
4
|
+
__p += '<div class="builder-component" ref="dragComponent" tabindex="-1">\n <div class="component-btn-group" data-noattach="true">\n <div\n role="button"\n aria-label="Remove button. Click to remove component from the form"\n tabindex="-1"\n class="btn btn-xxs btn-danger component-settings-button component-settings-button-remove"\n ref="removeComponent"\n >\n <i class="' +
|
|
7
5
|
((__t = (ctx.iconClass('remove'))) == null ? '' : __t) +
|
|
8
|
-
'"></i>\n </div>\n '
|
|
9
|
-
if (!ctx.design) { ;
|
|
10
|
-
__p += '\n <div\n role="button"\n aria-label="Copy button. Click to copy component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-copy"\n ref="copyComponent"\n >\n <i class="' +
|
|
6
|
+
'"></i>\n </div>\n <div\n role="button"\n aria-label="Copy button. Click to copy component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-copy"\n ref="copyComponent"\n >\n <i class="' +
|
|
11
7
|
((__t = (ctx.iconClass('copy'))) == null ? '' : __t) +
|
|
12
8
|
'"></i>\n </div>\n <div\n role="button"\n aria-label="Paste below button. Click to paste component below the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-paste"\n ref="pasteComponent"\n >\n <i class="' +
|
|
13
9
|
((__t = (ctx.iconClass('save'))) == null ? '' : __t) +
|
|
14
10
|
'"></i>\n </div>\n <div\n role="button"\n aria-label="Edit json button. Click to edit json of the current component"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-edit-json"\n ref="editJson"\n >\n <i class="' +
|
|
15
11
|
((__t = (ctx.iconClass('wrench'))) == null ? '' : __t) +
|
|
16
|
-
'"></i>\n </div>\n '
|
|
17
|
-
} ;
|
|
18
|
-
__p += '\n <div\n role="button"\n aria-label="Move button"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-move"\n ref="moveComponent"\n >\n <i class="' +
|
|
12
|
+
'"></i>\n </div>\n <div\n role="button"\n aria-label="Move button"\n tabindex="-1"\n class="btn btn-xxs btn-default component-settings-button component-settings-button-move"\n ref="moveComponent"\n >\n <i class="' +
|
|
19
13
|
((__t = (ctx.iconClass('move'))) == null ? '' : __t) +
|
|
20
14
|
'"></i>\n </div>\n ';
|
|
21
15
|
if (!(ctx.design && ctx.childComponent.type === 'reviewpage')) { ;
|
|
@@ -23,9 +17,7 @@ __p += '\n <div\n role="button"\n aria-label="Edit butt
|
|
|
23
17
|
((__t = (ctx.iconClass('cog'))) == null ? '' : __t) +
|
|
24
18
|
'"></i>\n </div>\n ';
|
|
25
19
|
} ;
|
|
26
|
-
__p += '\n </div>\n '
|
|
27
|
-
} ;
|
|
28
|
-
__p += '\n ' +
|
|
20
|
+
__p += '\n </div>\n ' +
|
|
29
21
|
((__t = (ctx.html)) == null ? '' : __t) +
|
|
30
22
|
'\n</div>\n';
|
|
31
23
|
return __p
|
|
@@ -61,7 +61,9 @@ __p += '"\n aria-required="' +
|
|
|
61
61
|
((__t = (ctx.input.content)) == null ? '' : __t) +
|
|
62
62
|
'</' +
|
|
63
63
|
((__t = (ctx.input.type)) == null ? '' : __t) +
|
|
64
|
-
'>\n
|
|
64
|
+
'>\n ';
|
|
65
|
+
if (!ctx.component.hideLabel) { ;
|
|
66
|
+
__p += '\n <label class="floating-label" for="' +
|
|
65
67
|
((__t = (ctx.instance.id)) == null ? '' : __t) +
|
|
66
68
|
'-' +
|
|
67
69
|
((__t = (ctx.component.key)) == null ? '' : __t) +
|
|
@@ -79,7 +81,9 @@ __p += '\n <i ref="tooltip" tabindex="0" class="' +
|
|
|
79
81
|
((__t = (ctx.component.tooltip)) == null ? '' : __t) +
|
|
80
82
|
'"></i>\n ';
|
|
81
83
|
} ;
|
|
82
|
-
__p += '</label
|
|
84
|
+
__p += '</label> \n ';
|
|
85
|
+
} ;
|
|
86
|
+
__p += '\n ';
|
|
83
87
|
if (ctx.options.floatingLabels) { ;
|
|
84
88
|
__p += '\n <label ref="label" class="col-form-label ' +
|
|
85
89
|
((__t = (ctx.label.className)) == null ? '' : __t) +
|