@formio/uswds
Version:
US Web Design System templates for form.io
1 lines • 89.5 kB
JavaScript
!function(n,e){"object"==typeof exports&&"object"==typeof module?module.exports=e(require("Formio")):"function"==typeof define&&define.amd?define(["Formio"],e):"object"==typeof exports?exports.uswds=e(require("Formio")):n.uswds=e(n.Formio)}(self,function(n){return function(){var e={193:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098).Components.components.select;e.default=class extends l{choicesOptions(){const n=super.choicesOptions();return n.classNames.containerInner=[...n.classNames.containerInner,"usa-select","maxw-full"],n}}},8110:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098).Components.components.button.editForm,o=t(6620);e.default=function(...n){return l([{key:"display",components:o.default}],...n)}},3696:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098),o=t(8110),a=l.Components.components.button,s=l.Components.components.field;class r extends a{getInputInfo(){const n=this.inputInfo;switch(n.attr.class="usa-button",this.component.theme){case"secondary":n.attr.class+=" usa-button--secondary";break;case"info":case"accent-cool":n.attr.class+=" usa-button--accent-cool";break;case"success":n.attr.class+=" bg-green";break;case"danger":n.attr.class+=" bg-secondary-vivid";break;case"warning":n.attr.class+=" usa-button--accent-warm";break;case"base":n.attr.class+=" usa-button--base";break;case"outline":n.attr.class+=" usa-button--outline"}return this.component.customClass&&(n.attr.class+=` ${this.component.customClass}`),n}render(){return(this.viewOnly||this.options.hideButtons)&&(this._visible=!1),s.prototype.render.call(this,this.renderTemplate("button",{component:this.component,input:this.getInputInfo()}))}}e.default=r,r.editForm=o.default},6620:function(n,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=[{type:"select",key:"theme",overrideEditForm:!0,label:"Theme",input:!0,tooltip:"The color theme of this button.",dataSrc:"values",weight:140,data:{values:[{label:"Default",value:"primary"},{label:"Secondary",value:"secondary"},{label:"Accent Cool",value:"accent-cool"},{label:"Base",value:"base"},{label:"Outline",value:"outline"}]}}]},7533:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098).Components.components.checkbox.editForm;e.default=function(...n){return l([{key:"display",components:[{type:"checkbox",input:!0,weight:1e3,label:"Tile view",tooltip:"Tile view for this component",key:"tileView"}]}],...n)}},7784:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098),o=t(7533),a=l.Components.components.checkbox;class s extends a{render(n){return this.noField=!0,super.render(n)}}e.default=s,s.editForm=o.default},5178:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(193),o=t(4311),a=t(3696),s=t(7784),r=t(4224);e.default={select:l.default,radio:o.default,button:a.default,checkbox:s.default,selectboxes:r.default}},481:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098).Components.components.radio.editForm;e.default=function(...n){return l([{key:"display",components:[{type:"checkbox",input:!0,weight:1e3,label:"Tile view",tooltip:"Tile view for this component",key:"tileView"}]}],...n)}},4311:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098),o=t(481),a=l.Components.components.radio;a.editForm=o.default;const s=a.prototype.render;a.prototype.render=function(){return this.noField=!0,s.call(this)},e.default=a},9966:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098).Components.components.selectboxes.editForm;e.default=function(...n){return l([{key:"display",components:[{type:"checkbox",input:!0,weight:1e3,label:"Tile view",tooltip:"Tile view for this component",key:"tileView"}]}],...n)}},4224:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5098),o=t(9966),a=l.Components.components.selectboxes;class s extends a{}e.default=s,s.editForm=o.default},5146:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(603);e.default={uswds:l.default}},7471:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";if(Array.prototype.join,n.mode.autocomplete){for(var l in t+='\n <div class="address-autocomplete-container">\n <input\n ref="'+(null==(e=n.ref.searchInput)?"":e)+'"\n class="usa-input maxw-full",\n ',n.inputAttributes)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.inputAttributes[l])?"":e)+'"\n ';t+='\n value="'+(null==(e=n.displayValue)?"":e)+'"\n autocomplete="off"\n >\n ',n.component.disableClearIcon||(t+='\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 '),t+="\n </div>\n"}return t+="\n",n.self.manualModeEnabled&&(t+='\n <div class="usa-checkbox">\n <input\n id="cb-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ref="'+(null==(e=n.ref.modeSwitcher)?"":e)+'"\n type="checkbox"\n class="usa-checkbox__input"\n ',n.mode.manual&&(t+="checked=true"),t+="\n ",n.disabled&&(t+="disabled=true"),t+='\n ></input>\n <label\n class="usa-checkbox__label padding-left-0 text-indent-0"\n for="cb-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n >\n '+(null==(e=n.component.switchToManualModeLabel)?"":e)+"\n </label>\n </div>\n"),t+="\n",n.self.manualMode&&(t+='\n <div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n"),t+"\n"}},1860:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(7471);e.default={form:l.default}},5150:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";for(var l in Array.prototype.join,t+='<div id="'+(null==(e=n.attrs.id)?"":e)+'" class="usa-alert usa-alert--'+(null==(e="danger"===n.type?"error":n.type)?"":e)+' usa-alert--no-icon"\n ',"success"!==n.type||n.attrs["aria-live"]||(t+='\n aria-live="polite"\n aria-atomic="true"\n '),t+="\n ",n.attrs)t+="\n ","id"!==l&&"class"!==l&&(t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.attrs[l])?"":e)+'"\n '),t+="\n ";return t+"\n>\n "+(null==(e=n.message)?"":e)+'\n <span class="usa-sr-only" id="hotkey-i-'+(null==(e=n.form._id)?"":e)+'">'+(null==(e=n.t("errorListHotkey"))?"":e)+"</span>\n</div>\n"}},38:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5150);e.default={form:l.default}},3890:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e;return""+'<div class="formio builder grid-row grid-gap formbuilder">\n <div class="grid-col-4 mobile-lg:grid-col-3 tablet:grid-col-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="grid-col-8 mobile-lg:grid-col-9 tablet:grid-col-10 formarea" ref="form">\n '+(null==(e=n.form)?"":e)+"\n </div>\n</div>\n"}},232:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(3890);e.default={form:l.default}},5642:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div aria-label="'+(null==(e=n.childComponent.label)?"":e)+" "+(null==(e=n.childComponent.type)?"":e)+' container" class="builder-component" ref="dragComponent" tabindex="0">\n ',n.disableBuilderActions||(t+='\n <div role="application" tabindex="0" aria-label="Action buttons. Use up and down arrows to navigate through action buttons" class="component-btn-group" id="buttons-'+(null==(e=n.childComponent.id)?"":e)+'" data-noattach="true" ref="buttonGroup">\n <div\n role="button"\n aria-label="Remove button. Click to remove component from the form"\n tabindex="-1"\n class="usa-button usa-button--secondary 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="usa-button usa-button--outline 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="usa-button usa-button--outline 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="Move button"\n tabindex="-1"\n class="usa-button usa-button--outline component-settings-button component-settings-button-move"\n ref="moveComponent"\n >\n <i class="'+(null==(e=n.iconClass("move"))?"":e)+'"></i>\n </div>\n <div\n role="button"\n aria-label="Edit button. Click to open component settings modal window"\n tabindex="-1"\n class="usa-button usa-button--accent-cool component-settings-button component-settings-button-edit"\n ref="editComponent"\n >\n <i class="'+(null==(e=n.iconClass("cog"))?"":e)+'"></i>\n </div>\n </div>\n '),t+"\n "+(null==(e=n.html)?"":e)+"\n</div>\n"}},7485:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5642);e.default={form:l.default}},8401:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=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"}},545:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(8401);e.default={form:l.default}},2615:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div class="grid-row grid-gap">\n <div class="grid-col mobile:grid-col-6">\n <p class="font-body-md">'+(null==(e=n.t(n.componentInfo.title))?"":e)+" "+(null==(e=n.t("Component"))?"":e)+'</p>\n </div>\n <div class="grid-col mobile:grid-col-6">\n <div class="float-right" style="margin-right: 20px; margin-top: 10px">\n <a href="'+(null==(e=n.t(n.componentInfo.documentation))?"":e)+'" target="_blank">\n <i class="'+(null==(e=n.iconClass("new-window"))?"":e)+'"> '+(null==(e=n.t("Help"))?"":e)+'</i>\n </a>\n </div>\n </div>\n</div>\n<div class="grid-row grid-gap">\n <div class="grid-col ',n.preview?t+="mobile:grid-col-6":t+="mobile:grid-col-12",t+='">\n <div ref="editForm">\n '+(null==(e=n.editForm)?"":e)+"\n </div>\n ",n.preview||(t+='\n <div style="margin-top: 10px;">\n <button class="usa-button usa-button--accent-cool" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="usa-button usa-button--base" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="usa-button usa-button--secondary" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+"</button>\n </div>\n "),t+="\n </div>\n ",n.preview&&(t+='\n <div class="grid-col mobile:grid-col-6">\n <div class="formio-usa-card preview-panel">\n <div class="formio-usa-card-header">\n <h4 class="formio-usa-card-title margin-bottom-0">'+(null==(e=n.t("Preview"))?"":e)+'</h4>\n </div>\n <div class="formio-usa-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&&(t+='\n <div class="formio-usa-card formio-usa-card-body bg-base-lightest formio-settings-help">\n '+(null==(e=n.t(n.componentInfo.help))?"":e)+"\n </div>\n "),t+='\n <div style="margin-top: 10px;">\n <button class="usa-button usa-button--accent-cool" style="margin-right: 10px;" ref="saveButton">'+(null==(e=n.t("Save"))?"":e)+'</button>\n <button class="usa-button usa-button--base" style="margin-right: 10px;" ref="cancelButton">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="usa-button usa-button--secondary" ref="removeButton">'+(null==(e=n.t("Remove"))?"":e)+"</button>\n </div>\n </div>\n "),t+"\n</div>\n"}},8778:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(2615);e.default={form:l.default}},8637:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e;return""+'<div\n class="usa-alert usa-alert--info usa-alert--no-icon no-drag"\n style="text-align:center;"\n role="alert"\n data-noattach="true"\n data-position="'+(null==(e=n.position)?"":e)+'"\n>\n <div clas="usa-alert__body">\n '+(null==(e=n.t("Drag and Drop a form component"))?"":e)+"\n </div>\n</div>\n"}},654:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(8637);e.default={form:l.default}},9969:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div id="'+(null==(e=n.groupId)?"":e)+'" class="usa-accordion usa-accordion--bordered builder-sidebar'+(null==(e=n.scrollEnabled?" builder-sidebar_scroll":"")?"":e)+'" ref="sidebar">\n ',n.groups.forEach(function(n){t+="\n "+(null==(e=n)?"":e)+"\n "}),t+="\n</div>\n"}},6277:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(9969);e.default={form:l.default}},3944:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div class="form-builder-panel" ref="group-panel-'+(null==(e=n.groupKey)?"":e)+'">\n <div class="usa-accordion__heading form-builder-group-header" id="heading-'+(null==(e=n.groupKey)?"":e)+'">\n <h5 class="mb-0 mt-0 form-builder-group-heading">\n <button\n class="usa-accordion__button builder-group-button"\n type="button"\n data-toggle="collapse"\n data-target="#group-'+(null==(e=n.groupKey)?"":e)+'"\n data-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))?"":e)+'\n </button>\n </h5>\n </div>\n <div\n id="group-'+(null==(e=n.groupKey)?"":e)+'"\n class="collapse '+(null==(e=n.group.default?" show":"")?"":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\n id="group-container-'+(null==(e=n.groupKey)?"":e)+'"\n class="usa-accordion__content display-flex flex-column flex-align-stretch no-drop padding-1"\n ref="sidebar-container"\n >\n ',!n.group.componentOrder||n.group.componentOrder.forEach(function(l){t+='\n <span\n data-group="'+(null==(e=n.groupKey)?"":e)+'"\n data-key="'+(null==(e=n.group.components[l].key)?"":e)+'"\n data-type="'+(null==(e=n.group.components[l].schema.type)?"":e)+'"\n class="usa-button usa-button--default formcomponent drag-copy"\n >\n ',n.group.components[l].icon&&(t+='\n <i class="'+(null==(e=n.iconClass(n.group.components[l].icon))?"":e)+'" style="margin-right: 5px;"></i>\n '),t+="\n "+(null==(e=n.t(n.group.components[l].title))?"":e)+"\n </span>\n "}),t+="\n "+(null==(e=n.subgroups.join(""))?"":e)+"\n </div>\n </div>\n</div>\n"}},7688:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(3944);e.default={form:l.default}},1277:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div class="formio builder grid-row grid-gap formbuilder">\n <div class="grid-col-4 mobile:grid-col-3 tablet:grid-col-2 formcomponents">\n '+(null==(e=n.sidebar)?"":e)+'\n </div>\n <div class="grid-col-8 mobile:grid-col-9 tablet:grid-col-10 formarea">\n <ol class="display-flex padding-105 bg-base-lightest usa-list--unstyled margin-bottom-2">\n ',n.pages.forEach(function(l,o){t+='\n <li class="margin-right-1">\n <span title="'+(null==(e=l.title)?"":e)+'" class="usa-tag ',o===n.self.page?t+="bg-primary":t+="bg-violet",t+=' wizard-page-label" ref="gotoPage">'+(null==(e=l.title)?"":e)+"</span>\n </li>\n "}),t+='\n <li class="margin-right-1">\n <span title="'+(null==(e=n.t("Create Page"))?"":e)+'" class="usa-tag bg-green 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"}},3598:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(1277);e.default={form:l.default}},8853:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";for(var l in Array.prototype.join,t+="<"+(null==(e=n.input.type)?"":e)+'\n ref="button"\n ',n.input.attr)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.input.attr[l])?"":e)+'"\n ';return t+='\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ',n.component.description&&(t+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),t+"\n>\n "+(null==(e=n.input.content)?"":e)+"\n</"+(null==(e=n.input.type)?"":e)+'>\n<div ref="buttonMessageContainer">\n <span class="display-block margin-top-1 margin-bottom-105 help-block" ref="buttonMessage"></span>\n</div>\n'}},3392:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(8853);e.default={form:l.default}},6427:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";for(var l in Array.prototype.join,t+='<div\n ref="messageContainer"\n class="text-secondary-dark width-full margin-top-05 formio-errors"\n></div>\n\n<div class="usa-checkbox">\n <'+(null==(e=n.input.type)?"":e)+'\n id="'+(null==(e=n.id)?"":e)+"-"+(null==(e=n.input.attr.name)?"":e)+'"\n ref="input"\n class="usa-checkbox__input '+(null==(e=n.component.tileView?"usa-checkbox__input--tile":"")?"":e)+'"\n ',n.input.attr)t+="\n "+(null==(e=l)?"":e)+'="'+(null==(e=n.input.attr[l])?"":e)+'"\n ';return t+="\n ",n.checked&&(t+="checked=true"),t+='\n aria-required="'+(null==(e=n.component.validate.required)?"":e)+'"\n ',n.component.description&&(t+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),t+="\n ></"+(null==(e=n.input.type)?"":e)+'>\n <label\n ref="label"\n class="'+(null==(e=n.input.labelClass)?"":e)+' usa-checkbox__label"\n for="'+(null==(e=n.id)?"":e)+"-"+(null==(e=n.input.attr.name)?"":e)+'"\n >\n '+(null==(e=n.input.label)?"":e)+"\n "+(null==(e=n.input.content)?"":e)+"\n ",n.component.tooltip&&(t+='\n <span ref="tooltip" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-base" tabindex="0"></span>\n '),t+="\n </label>\n</div>\n\n",n.component.description&&(t+='\n <div class="text-base-dark">\n <span id="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.t(n.component.description))?"":e)+"</span>\n </div>\n"),t+"\n"}},8417:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<label class="'+(null==(e=n.input.labelClass)?"":e)+'">\n '+(null==(e=n.input.content)?"":e)+"\n ",n.self.labelIsHidden()||(t+="<span>"+(null==(e=n.input.label)?"":e)+"</span>"),t+='\n</label>\n<div ref="value">',n.checked?t+="True":t+="False",t+"</div>\n"}},2847:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(6427),o=t(8417);e.default={form:l.default,html:o.default}},9427:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div class="grid-row grid-gap">\n',n.component.columns.forEach(function(l,o){t+='\n <div class="',""!==n.size(l.size)&&(t+=(null==(e=n.size(l.size))?"":e)+":"),t+="grid-col-"+(null==(e=l.width)?"":e)+" grid-offset-"+(null==(e=l.offset)?"":e)+'" ref="'+(null==(e=n.columnKey)?"":e)+'">\n '+(null==(e=n.columnComponents[o])?"":e)+"\n </div>\n"}),t+="\n</div>\n"}},8422:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(9427);e.default={form:l.default}},9679:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div\n id="'+(null==(e=n.id)?"":e)+'"\n class="'+(null==(e="button"!==n.component.type?n.component.customClass:"")?"":e)+"\n formio-component-"+(null==(e=n.component.type)?"":e)+"\n "+(null==(e=n.self.hasInput?"formio-form-group":"usa-prose")?"":e)+"\n "+(null==(e=n.visible?"":"formio-hidden")?"":e)+'"\n ',n.styles&&(t+=' style="'+(null==(e=n.styles)?"":e)+'"'),t+='\n ref="component"\n>\n ',n.visible&&(t+="\n "+(null==(e=n.children)?"":e)+"\n "),t+"\n</div>\n"}},9792:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(9679);e.default={form:l.default}},4931:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<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()||(t+=' role="dialog" '),t+=' ref="modalContents">\n <label class="usa-sr-only" 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 <button class="formio-dialog-close float-right" title="Close" aria-label="Close button. Click to get back to the form" ref="modalCloseButton"></button>\n <div ref="modalContents">\n ',n.visible&&(t+="\n "+(null==(e=n.children)?"":e)+"\n "),t+'\n <div class="formio-dialog-buttons">\n <button class="usa-button usa-button--secondary" ref="modalClose" aria-label="Cancel button. Click to cancel the changes and get back to the form.">'+(null==(e=n.t("Cancel"))?"":e)+'</button>\n <button class="usa-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 <span class="usa-sr-only" ref="modalLiveRegion" aria-live="assertive"></span>\n </div>\n </div>\n</div>\n'}},3443:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(4931);e.default={form:l.default}},1421:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e;return""+'<div ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n</div>\n"}},5750:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(1421);e.default={form:l.default}},1835:function(n,e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default={"formio-tab-panel-active":"usa-current","formio-tab-link-active":"usa-current","formio-tab-link-container-active":"usa-current","sr-only":"usa-sr-only","formio-form-error":"usa-form-group--error","formio-label-error":"usa-label--error","formio-input-success":"usa-input--success","formio-input-error":"usa-input--error","formio-modal-save":"usa-error","formio-alert-danger":"usa-alert usa-alert--error usa-alert--no-icon","formio-alert-success":"usa-alert usa-alert--success usa-alert--no-icon","formio-modal-cancel-button":"usa-button usa-button--secondary","formio-modal-confirm-button":"usa-button","form-control ui fluid selection dropdown":"usa-select maxw-full"}},6863:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<table\n class="usa-table datagrid-table"\n ',n.component.layoutFixed&&(t+='style="table-layout: fixed;"'),t+="\n>\n ",n.hasHeader&&(t+="\n <thead>\n <tr>\n ",n.columns.forEach(function(l){t+='\n <th scope="col" class="'+(null==(e=l.validate&&l.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=l.hideLabel?"":n.t(l.label||l.title))?"":e)+"\n ",l.tooltip&&(t+=' <i ref="tooltip" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-base"></i>'),t+="\n </th>\n "}),t+="\n ",n.hasExtraColumn&&(t+='\n <th scope="col">\n ',!n.builder&&n.hasAddButton&&n.hasTopSubmit&&(t+='\n <button class="usa-button 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("Add Another"))?"":e)+"\n </button>\n "),t+="\n </th>\n "),t+="\n </tr>\n </thead>\n "),t+='\n <tbody ref="'+(null==(e=n.datagridKey)?"":e)+'-tbody">\n ',n.rows.forEach(function(l,o){t+="\n ",n.hasGroups&&n.groups[o]&&(t+='\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 "),t+='\n <tr ref="'+(null==(e=n.datagridKey)?"":e)+'-row">\n ',n.columns.forEach(function(o){t+='\n <td ref="'+(null==(e=n.datagridKey)?"":e)+'">\n '+(null==(e=l[o.key])?"":e)+"\n </td>\n "}),t+="\n ",n.hasExtraColumn&&(t+="\n ",!n.builder&&n.hasRemoveButtons&&(t+='\n <td>\n <button type="button" class="usa-button usa-button--secondary formio-button-remove-row" ref="'+(null==(e=n.datagridKey)?"":e)+'-removeRow" tabindex="'+(null==(e=n.tabIndex)?"":e)+'" aria-label="Remove row from data grid">\n <i class="'+(null==(e=n.iconClass("remove-circle"))?"":e)+'"></i>\n </button>\n </td>\n '),t+="\n ",n.builder&&(t+='\n <td ref="'+(null==(e=n.key)?"":e)+'-container">\n '+(null==(e=n.placeholder)?"":e)+"\n </td>\n "),t+="\n "),t+="\n </tr>\n "}),t+="\n </tbody>\n ",!n.builder&&n.hasAddButton&&n.hasBottomSubmit&&(t+='\n <tfoot>\n <tr>\n <td colspan="'+(null==(e=n.numColumns+1)?"":e)+'">\n <button class="usa-button 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"))?"":e)+"\n </button>\n </td>\n </tr>\n </tfoot>\n "),t+="\n</table>\n"}},6624:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<table class="usa-table datagrid-table">\n ',n.hasHeader&&(t+="\n <thead>\n <tr>\n ",n.columns.forEach(function(l){t+='\n <th scope="col" class="'+(null==(e=l.validate&&l.validate.required?"field-required":"")?"":e)+'">\n '+(null==(e=l.hideLabel?"":n.t(l.label||l.title))?"":e)+"\n ",l.tooltip&&(t+=' <i ref="tooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-base"></i>'),t+="\n </th>\n "}),t+="\n </tr>\n </thead>\n "),t+="\n <tbody>\n ",n.rows.forEach(function(l){t+="\n <tr>\n ",n.columns.forEach(function(o){t+='\n <td ref="'+(null==(e=n.datagridKey)?"":e)+'">\n '+(null==(e=l[o.key])?"":e)+"\n </td>\n "}),t+="\n </tr>\n "}),t+="\n </tbody>\n</table>\n"}},2491:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(6863),o=t(6624);e.default={form:l.default,html:o.default}},7136:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div ref="tableContainer"></div>\n<div class="formio-component-modal-wrapper formio-component-modal-wrapper-'+(null==(e=n.component.type)?"":e)+'" ref="componentModalWrapper">\n <div class="formio-dialog formio-dialog-theme-default component-rendering-hidden" ref="dataTableModalWrapper">\n <div class="formio-dialog-overlay" ref="dataTableModalOverlay"></div>\n <div class="formio-dialog-content" ref="dataTableModalContents">\n <div ref="dataTableModalContents">\n <div class="editgrid-listgroup">\n ',n.header&&(t+="\n <div>\n "+(null==(e=n.header)?"":e)+"\n </div>\n "),t+="\n ",n.rows.forEach(function(l,o){t+='\n <div class="margin-bottom-1" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n <div class="editgrid-actions">\n <button class="usa-button usa-button--accent-cool" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save"))?"":e)+"</button>\n ",n.component.removeRow&&(t+='\n <button class="usa-button usa-button--secondary" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel"))?"":e)+"</button>\n "),t+="\n </div>\n "),t+='\n <div class="usa-has-error">\n <div class="editgrid-row-error text-base">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </div>\n "}),t+='\n </div>\n </div>\n <button class="formio-dialog-close float-right" aria-label="close" ref="dataTableModalClose"></button>\n </div>\n </div>\n</div>\n'}},6202:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<ul class="editgrid-listgroup usa-list usa-list--unstyled">\n ',n.header&&(t+='\n <li class="position-relative display-block padding-105 border">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),t+="\n ",n.rows.forEach(function(l,o){t+='\n <li class="position-relative display-block padding-105 border" ref="'+(null==(e=n.editgridKey)?"":e)+'">\n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n <div class="editgrid-actions">\n <button class="usa-button usa-button--accent-cool" ref="'+(null==(e=n.editgridKey)?"":e)+'-saveRow">'+(null==(e=n.t(n.component.saveRow||"Save"))?"":e)+"</button>\n ",n.component.removeRow&&(t+='\n <button class="usa-button usa-button--secondary" ref="'+(null==(e=n.editgridKey)?"":e)+'-cancelRow">'+(null==(e=n.t(n.component.removeRow||"Cancel"))?"":e)+"</button>\n "),t+="\n </div>\n "),t+='\n <div class="usa-has-error">\n <div class="editgrid-row-error text-base">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "}),t+="\n ",n.footer&&(t+='\n <li class="position-relative display-block padding-105 border">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),t+="\n</ul>\n"}},69:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(7136),o=t(6202);e.default={form:l.default,html:o.default}},9742:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<fieldset class="usa-fieldset">\n <legend class="usa-legend usa-sr-only">'+(null==(e=n.component.label)?"":e)+'</legend>\n <div class="usa-memorable-date display-flex"\n role="group"\n ',n.component.hideLabel?t+='\n aria-label="'+(null==(e=n.component.label)?"":e)+'"\n ':t+='\n aria-labelledby="l-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n ',t+="\n ",n.component.description&&(t+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),t+="\n >\n ",n.dayFirst&&n.showDay&&(t+='\n <div class="formio-form-group usa-form-group--day flex-1">\n <label for="'+(null==(e=n.component.key)?"":e)+'-day"\n class="usa-label ',n.component.hideInputLabels&&(t+="usa-sr-only"),t+=" ",n.component.fields.day.required&&(t+="field-required"),t+='"\n >'+(null==(e=n.t("Day"))?"":e)+'</label>\n\n <input class="usa-input usa-input--inline"\n ref="day"\n name="day"\n id="'+(null==(e=n.component.key)?"":e)+'-day"\n ',n.component.fields.day.placeholder&&(t+='placeholder="'+(null==(e=n.component.fields.day.placeholder)?"":e)+'"'),t+="\n ",n.component.description&&(t+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),t+='\n type="number" min="1" max="31" step="1" value="">\n </div>\n '),t+="\n\n ",n.showMonth&&(t+='\n <div class="formio-form-group usa-form-group--month flex-1">\n <label for="'+(null==(e=n.component.key)?"":e)+'-month"\n class="usa-label ',n.component.hideInputLabels&&(t+="usa-sr-only"),t+=" ",n.component.fields.month.required&&(t+="field-required"),t+='"\n >'+(null==(e=n.t("Month"))?"":e)+"</label>\n <div>"+(null==(e=n.month)?"":e)+"</div>\n </div>\n "),t+="\n\n ",!n.dayFirst&&n.showDay&&(t+='\n <div class="formio-form-group usa-form-group--day flex-1">\n <label for="'+(null==(e=n.component.key)?"":e)+'-day"\n class="usa-label ',n.component.hideInputLabels&&(t+="usa-sr-only"),t+=" ",n.component.fields.day.required&&(t+="field-required"),t+='"\n >'+(null==(e=n.t("Day"))?"":e)+'</label>\n\n <input class="usa-input usa-input--inline"\n ref="day"\n name="day"\n id="'+(null==(e=n.component.key)?"":e)+'-day"\n ',n.component.fields.day.placeholder&&(t+='placeholder="'+(null==(e=n.component.fields.day.placeholder)?"":e)+'"'),t+="\n ",n.component.description&&(t+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),t+='\n type="number" min="1" max="31" step="1" value="">\n </div>\n '),t+="\n\n ",n.showYear&&(t+='\n <div class="formio-form-group usa-form-group--year flex-1">\n <label for="'+(null==(e=n.component.key)?"":e)+'-year"\n class="usa-label ',n.component.hideInputLabels&&(t+="usa-sr-only"),t+=" ",n.component.fields.year.required&&(t+="field-required"),t+='"\n >'+(null==(e=n.t("Year"))?"":e)+'</label>\n\n <input class="usa-input usa-input--inline"\n ref="year"\n name="year"\n id="'+(null==(e=n.component.key)?"":e)+'-year"\n ',n.component.fields.year.placeholder&&(t+='placeholder="'+(null==(e=n.component.fields.year.placeholder)?"":e)+'"'),t+="\n ",n.component.description&&(t+='\n aria-describedby="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"\n '),t+='\n type="number"\n min="'+(null==(e=n.component.fields.year.minYear?n.component.fields.year.minYear:1900)?"":e)+'"\n max="'+(null==(e=n.component.fields.year.maxYear?n.component.fields.year.maxYear:2019)?"":e)+'" value="">\n </div>\n '),t+'\n </div>\n <input name="ctx.data[day]" type="hidden" class="form-control" lang="en" value="" ref="input">\n</fieldset>\n'}},250:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(9742);e.default={form:l.default}},6342:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e;return""+'<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" role="dialog" ref="dialogContents" aria-labelledby="dl-'+(null==(e=n.instance.id)?"":e)+'">\n <button class="formio-dialog-close float-right" title="Close" aria-label="Close modal window." ref="dialogClose"></button>\n </div>\n</div>\n'}},9096:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(6342);e.default={form:l.default}},4710:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<ul class="editgrid-listgroup usa-list usa-list--unstyled margin-bottom-105">\n ',n.header&&(t+='\n <li class="position-relative display-block padding-105 border-1px">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),t+="\n ",n.rows.forEach(function(l,o){t+='\n <li class="position-relative display-block padding-105 border-1px margin-top-neg-1px" ref="'+(null==(e=n.ref.row)?"":e)+'">\n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n <div class="editgrid-actions">\n <button class="usa-button usa-button--accent-cool" ref="'+(null==(e=n.ref.saveRow)?"":e)+'">'+(null==(e=n.t(n.component.saveRow||"Save"))?"":e)+"</button>\n ",n.component.removeRow&&(t+='\n <button class="usa-button usa-button--secondary" ref="'+(null==(e=n.ref.cancelRow)?"":e)+'">'+(null==(e=n.t(n.component.removeRow||"Cancel"))?"":e)+"</button>\n "),t+="\n </div>\n "),t+='\n <div class="usa-has-error">\n <div class="editgrid-row-error text-base">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "}),t+="\n ",n.footer&&(t+='\n <li class="position-relative display-block padding-105 border-1px margin-top-neg-1px">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),t+="\n</ul>\n",!n.readOnly&&n.hasAddButton&&(t+='\n<button class="usa-button" 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"))?"":e)+"\n</button>\n"),t+="\n"}},2156:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<ul class="editgrid-listgroup usa-list usa-list--unstyled">\n ',n.header&&(t+='\n <li class="position-relative display-block padding-105 border">\n '+(null==(e=n.header)?"":e)+"\n </li>\n "),t+="\n ",n.rows.forEach(function(l,o){t+='\n <li class="position-relative display-block padding-105 border" ref="'+(null==(e=n.editgridKey)?"":e)+'">\n '+(null==(e=l)?"":e)+"\n ",n.openRows[o]&&!n.readOnly&&(t+='\n <div class="editgrid-actions">\n <button class="usa-button usa-button--accent-cool" ref="'+(null==(e=n.editgridKey)?"":e)+'-saveRow">'+(null==(e=n.t(n.component.saveRow||"Save"))?"":e)+"</button>\n ",n.component.removeRow&&(t+='\n <button class="usa-button usa-button--secondary" ref="'+(null==(e=n.editgridKey)?"":e)+'-cancelRow">'+(null==(e=n.t(n.component.removeRow||"Cancel"))?"":e)+"</button>\n "),t+="\n </div>\n "),t+='\n <div class="usa-has-error">\n <div class="editgrid-row-error text-base">\n '+(null==(e=n.errors[o])?"":e)+"\n </div>\n </div>\n </li>\n "}),t+="\n ",n.footer&&(t+='\n <li class="position-relative display-block padding-105 border">\n '+(null==(e=n.footer)?"":e)+"\n </li>\n "),t+="\n</ul>\n"}},5727:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(4710),o=t(2156);e.default={form:l.default,html:o.default}},9264:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+="<p>\n "+(null==(e=n.t("error"))?"":e)+'\n <span ref="errorTooltip" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+'" tabindex="0"></span>\n</p>\n<ul>\n ',n.errors.forEach(function(l){t+='\n <li>\n <span\n data-component-key = "'+(null==(e=l.keyOrPath)?"":e)+'"\n ref = "errorRef"\n tabIndex = "0"\n role="link"\n >\n '+(null==(e=l.message)?"":e)+'\n </span>\n <span class="usa-sr-only">'+(null==(e=n.t("errorsListNavigationMessage"))?"":e)+"</span>\n </li>\n "}),t+="\n</ul>\n<p></p>\n"}},2017:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(9264);e.default={form:l.default}},4120:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<div class="field-wrapper\n '+(null==(e=n.isRightPosition?"field-wrapper--reverse":"")?"":e)+'">\n ',n.label.hidden||(t+='\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 "),t+="\n\n ",n.label.hidden&&n.label.className&&n.component.validate.required&&(t+='\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 '),t+='\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&&(t+='\n <div class="form-text text-muted">'+(null==(e=n.t(n.component.description,{_userInput:!0}))?"":e)+"</div>\n"),t+"\n"}},5701:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,n.labelMarkup&&n.component.label&&(t+="\n "+(null==(e=n.labelMarkup)?"":e)+"\n"),t+='\n\n<div\n ref="messageContainer"\n class="text-secondary-dark width-full formio-errors"\n></div>\n\n'+(null==(e=n.element)?"":e)+"\n\n",n.component.description&&(t+='\n <div class="text-base-dark">\n <span id="d-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'">'+(null==(e=n.t(n.component.description))?"":e)+"</span>\n </div>\n"),t+"\n"}},1522:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5701),o=t(4120);e.default={form:l.default,align:o.default}},5883:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<fieldset class="usa-fieldset">\n ',n.component.legend&&(t+='\n <legend ref="header" id="l-'+(null==(e=n.instance.id)?"":e)+'-legend" class="usa-sr-only">\n '+(null==(e=n.t(n.component.legend))?"":e)+'\n </legend>\n <span class="legend-wrapper usa-legend">\n <span class="position-relative '+(null==(e=n.component.collapsible?"formio-clickable":"")?"":e)+'">\n '+(null==(e=n.t(n.component.legend))?"":e)+"\n </span>\n ",n.component.tooltip&&(t+='\n <span ref="tooltip" data-tooltip="'+(null==(e=n.component.tooltip)?"":e)+'" class="'+(null==(e=n.iconClass("question-sign"))?"":e)+' text-base" tabindex="0"></span>\n '),t+="\n </span>\n "),t+="\n ",n.collapsed||(t+='\n <div class="fieldset-body" ref="'+(null==(e=n.nestedKey)?"":e)+'">\n '+(null==(e=n.children)?"":e)+"\n </div>\n "),t+"\n</fieldset>\n"}},7226:function(n,e,t){"use strict";Object.defineProperty(e,"__esModule",{value:!0});const l=t(5883);e.default={form:l.default}},5658:function(n,e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(n){var e,t="";return Array.prototype.join,t+='<span tabindex="-1" class="usa-sr-only" id="invisible-'+(null==(e=n.instance.id)?"":e)+"-"+(null==(e=n.component.key)?"":e)+'"></span>\n',n.self.imageUpload?(t+="\n <div>\n ",n.files.forEach(function(l){t+='\n <div>\n <span>\n <img ref="fileImage" src="" alt="'+(null==(e=l.originalName||l.name)?"":e)+'" style="width:'+(null==(e=n.component.imageSize)?"":e)+'px">\n ',n.disabled||(t+='\n <i class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink"></i>\n '),t+="\n </span>\n </div>\n "}),t+="\n </div>\n"):(t+="\n <div class='filePattern'>"+(null==(e=n.component.filePattern&&"*"!==n.component.filePattern?n.t("Allowed file types: ")+n.component.filePattern:"Any file types are allowed")?"":e)+'</div>\n <ul class="usa-list--unstyled">\n <li class="position-relative display-block padding-105 border-1px">\n <div class="grid-row">\n <div class="tablet:grid-col-'+(null==(e=n.columns.name)?"":e)+'"><strong>'+(null==(e=n.t("File Name"))?"":e)+'</strong></div>\n <div class="tablet:grid-col-'+(null==(e=n.columns.size)?"":e)+'"><strong>'+(null==(e=n.t("Size"))?"":e)+"</strong></div>\n ",n.self.hasTypes&&(t+='\n <div class="tablet:grid-col-'+(null==(e=n.columns.type)?"":e)+'"><strong>'+(null==(e=n.t("Type"))?"":e)+"</strong></div>\n "),t+='\n <div class="tablet:grid-col-'+(null==(e=n.columns.actions)?"":e)+' flex-justify-center">\n ',n.showSyncButton&&(t+='\n <button\n class="usa-button usa-button--accent-cool"\n ref="syncNow"\n ',(n.disabled||n.isSyncing)&&(t+="disabled=true"),t+="\n >"+(null==(e=n.isSyncing?n.t("Syncing..."):n.t("Sync Now"))?"":e)+"</button>\n "),t+="\n </div>\n </div>\n </li>\n ",n.files.forEach(function(l){t+='\n <li class="position-relative display-block padding-105 border-1px margin-top-neg-1px">\n <div class="grid-row flex-align-center">\n <div class="tablet:grid-col-'+(null==(e=n.columns.name)?"":e)+' word-wrap">\n ',n.component.uploadOnly?t+="\n "+(null==(e=l.originalName||l.name)?"":e)+"\n ":t+='\n <a href="'+(null==(e=l.url||"#")?"":e)+'" target="_blank" ref="fileLink" tabindex="0">\n <span class="usa-sr-only">'+(null==(e=n.t("Press to open "))?"":e)+"</span>"+(null==(e=l.originalName||l.name)?"":e)+"\n </a>\n ",t+='\n </div>\n <div class="tablet:grid-col-'+(null==(e=n.columns.size)?"":e)+'">'+(null==(e=n.fileSize(l.size))?"":e)+"</div>\n ",n.self.hasTypes&&!n.disabled&&(t+='\n <div class="tablet:grid-col-'+(null==(e=n.columns.type)?"":e)+'">\n <select class="file-type">\n ',n.component.fileTypes.map(function(n){t+='\n <option class="test" value="'+(null==(e=n.value)?"":e)+'" ',n.value===l.fileType&&(t+='selected="selected"'),t+=">"+(null==(e=n.label)?"":e)+"</option>\n "}),t+="\n </select>\n </div>\n "),t+="\n ",n.self.hasTypes&&n.disabled&&(t+='\n <div class="tablet:grid-col-'+(null==(e=n.columns.type)?"":e)+'">'+(null==(e=l.fileType)?"":e)+"</div>\n "),t+="\n ",n.disabled||(t+='\n <div class="tablet:grid-col-'+(null==(e=n.columns.actions)?"":e)+' flex-justify-center"><i class="'+(null==(e=n.iconClass("remove"))?"":e)+'" ref="removeLink" tabindex="0" aria-label="Remove button. Press to remove '+(null==(e=l.originalName||l.name)?"":e)+' file"></i></div>\n '),t+="\n </div>\n </li>\n "}),t+="\n ",n.filesToDelete.forEach(function(l){t+='\n <li class="position-relative display-block padding-105 border-1px margin-top-neg-1px">\n <div class="grid-row flex-align-center">\n <div class="tablet:grid-col-'+(null==(e=n.columns.name)?"":e)+' word-wrap">\n <div>'+(null==(e=l.originalName||l.name)?"":e)+'</div>\n <div class="\n ',"success"===l.status&&(t+=" text-green "),t+="\n ","info"===l.status&&(t+=" text-cyan "),t+="\n ","warning"===l.status&&(t+=" text-gold "),t+="\n ","danger"===l.status&&(t+=" text-red "),t+='\n ">\n '+(null==(e=n.t(l.message))?"":e)+'\n </div>\n </div>\n <div class="tablet:grid-col-'+(null==(e=n.columns.size)?"":e)+'">'+(null==(e=n.fileSize(l.size))?"":e)+"</div>\n ",n.self.hasTypes&&(t+='\n <div class="tablet:grid-col-'+(null==(e=n.columns.type)?"":e)+'">\n <select class="file-type" ref="fileType">\n ',n.component.fileTypes.map(function(o){t+='\n <option class="test" value="'+(null==(e=o.value)?"":e)+'" ',o.label===l.fileType&&(t+='selected="selected"'),t+=">"+(null==(e=n.t(o.label))?"":e)+"</option>\n "}),t+="\n </select>\n </div>\n "),t+="\n ",n.isSyncing||"success"===l.status||(t+='\n <div class="tablet:grid-col-'+(null==(e=n.columns.actions)?"":e)+' flex-justify-center"><i tabindex="0" class="'+(null==(e=n.iconClass("arrow-counterclockwise"))?"":e)+'" ref="restoreFile"></i></div>\n '),t+="\n </div>\n </li>\n "}),t+="\n ",n.filesToUpload.forEach(function(l){t+='\n <li class="position-relative display-block padding-105 border-1px margin-top-neg-1px">\n <div class="grid-row flex-align-center">\n