{"version":3,"sources":["webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/focusable-elements.ts","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/utilities/confirm.js","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/components/dialogs/Dialog.vue?ed0e","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/components/dialogs/Dialog.vue?8fe6","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/components/dialogs/Dialog.vue?25e0","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/components/dialogs/Dialog.vue","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/components/dialogs/Dialog.vue?ccaf","webpack:///../../libs/shared-components/src/components/dialogs/Dialog.vue","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/mixins/trap-focus.js","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/components/dialogs/dialog-util.js","webpack:///C:/a/1/s/Cognito.Web.Client/libs/shared-components/src/components/dialogs/Dialog.vue?4c25"],"names":["confirmOptions","_confirmOptions$title","_confirmOptions$showC","_confirmOptions$confi","_confirmOptions$cance","_confirmOptions$cance2","_confirmOptions$confi2","_confirmOptions$custo","_messageBox","default","title","showClose","message","showConfirmButton","showCancelButton","confirmButtonText","cancelButtonText","cancelButtonClass","isLegacy","confirmButtonClass","customClass","obj","__esModule","require","exports","___CSS_LOADER_API_IMPORT___","push","module","i","render","_vm","this","_c","_self","staticClass","class","internalVisible","attrs","_g","ref","confirmVisible","isLoading","headerIsSticky","maxWidth","customWrapperClass","style","width","destroyOnClose","handleClose","closeOnClickModal","on","handleOpened","scopedSlots","_u","key","fn","$event","_e","_v","$slots","_t","_s","proxy","$listeners","directives","name","rawName","value","expression","staticRenderFns","component","_vue","_interopRequireDefault","_trapFocus","_confirm","_dialogUtil","_clickOutside","Vue","directive","clickOutside","use","_dialog","mixins","trapFocus","props","type","String","visible","Boolean","showConfirm","Object","emits","data","lastFocusedEl","watch","val","immediate","handler","handleDialogVisibility","$emit","mounted","_this","window","addEventListener","$refs","dialog","$el","handleKeydown","setupChromeOverlayClickHandler","$nextTick","beforeDestroy","removeEventListener","methods","event","_event$target","className","target","includes","e","document","activeElement","contains","closeButton","focus","_this2","confirm","then","catch","_focusableElements","_toConsumableArray","arr","Array","isArray","_arrayLikeToArray","_arrayWithoutHoles","iter","Symbol","iterator","from","_iterableToArray","o","minLen","n","prototype","toString","call","slice","constructor","test","_unsupportedIterableToArray","TypeError","_nonIterableSpread","len","length","arr2","el","which","els","querySelectorAll","focusableEls","shiftKey","preventDefault","isVisible","console","warn","_unused","Cognito","Messaging","body","trigger","_unused2","addHandler","content","locals","add"],"mappings":"wKAAe,uJ,6FCGA,SAASA,GAAgB,IAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EAAAC,EACvC,OAAO,EAAAC,EAAAC,SAAW,CACjBC,MAA2B,QAAtBT,EAAED,EAAeU,aAAK,IAAAT,IAAI,KAC/BU,UAAmC,QAA1BT,EAAEF,EAAeW,iBAAS,IAAAT,KACnCU,QAASZ,EAAeY,QACxBC,mBAAmB,EACnBC,kBAAkB,EAClBC,kBAAmD,QAAlCZ,EAAEH,EAAee,yBAAiB,IAAAZ,IAAI,MACvDa,iBAAiD,QAAjCZ,EAAEJ,EAAegB,wBAAgB,IAAAZ,IAAI,KACrDa,kBAAmD,QAAlCZ,EAAEL,EAAeiB,yBAAiB,IAAAZ,IAAKL,EAAekB,SAAW,uCAAyC,gCAC3HC,mBAAqD,QAAnCb,EAAEN,EAAemB,0BAAkB,IAAAb,IAAKN,EAAekB,SAAW,iBAAmB,uDACvGE,YAAuC,QAA5Bb,EAAEP,EAAeoB,mBAAW,IAAAb,IAAI,wC,IAdWc,E,GAAAA,E,UAAAA,EAAAC,WAAAD,EAAA,CAAAZ,QAAAY,GAAxDE,EAAA,M,kCCAA,Q,sBCEAC,EADkC,EAAQ,IAChCC,EAA4B,IAE9BC,KAAK,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EAAAH,EAAAsB,IAAA,MAAAA,KAAAtB,EAAAuB,UAAAD,EAAAtB,EAAAuB,QAAA,QAAA7H,EAAA,EAAA8H,EAAA,IAAAvB,MAAAqB,GAAA5H,EAAA4H,EAAA5H,IAAA8H,EAAA9H,GAAAsG,EAAAtG,GAAA,OAAA8H,EAAAlI,EAAAf,QAElC,CACduG,QAAS,CACR7B,UAAS,SAACmC,EAAGqC,GACZ,GAAgB,IAAZrC,EAAEsC,MAAa,CAClB,IAAMC,EAAG5B,EAAO0B,EAAGG,iBAAiBC,YAGhCzC,EAAE0C,UAAYH,EAAI,KAAOtC,SAASC,eACrCF,EAAE2C,iBACFJ,EAAIA,EAAIJ,OAAS,GAAG9B,SAEXL,EAAE0C,UAAYH,EAAIA,EAAIJ,OAAS,KAAOlC,SAASC,gBACxDF,EAAE2C,iBACFJ,EAAI,GAAGlC,c,2GCbL,SAAgCuC,GACtC,IACM5D,QACJ6D,QAAQC,KAAK,sBAEf,MAAAC,GACC,OAIG/D,OAAOgE,SAAWhE,OAAOgE,QAAQC,YAAcL,IAAc3C,SAASiD,KAAKrD,UAAUE,SAAS,oBAEjGiD,QAAQC,UAAUE,QAAQP,EAAY,cAAgB,gB,iCAIjD,SAAwCjE,GAC9C,IACMK,QACJ6D,QAAQC,KAAK,sBAEf,MAAAM,GACC,OAGGpE,OAAOgE,SAAWhE,OAAOgE,QAAQC,WAEpCD,QAAQC,UAAUI,WAAW,iBAAkB1E,K,oBC1BjD,IAAI2E,EAAU,EAAQ,MACnBA,EAAQtJ,aAAYsJ,EAAUA,EAAQnK,SACnB,iBAAZmK,IAAsBA,EAAU,CAAC,CAACjJ,EAAOC,EAAIgJ,EAAS,MAC7DA,EAAQC,SAAQlJ,EAAOH,QAAUoJ,EAAQC,SAG/BC,EADH,EAAQ,KAAkHrK,SACnH,WAAYmK,GAAS,EAAM","file":"17.d46214a3c6291b486eca.js","sourcesContent":["export default 'a[href]:not([disabled]), select:not([disabled]), input:not([disabled]), textarea:not([disabled]), button:not([disabled]), .el-radio:not([disabled])';","import '@cognitoforms/styles/global/notifications.scss';\r\nimport { MessageBox } from '@cognitoforms/element-ui';\r\n\r\nexport default function(confirmOptions) {\r\n\treturn MessageBox({\r\n\t\ttitle: confirmOptions.title ?? null,\r\n\t\tshowClose: confirmOptions.showClose ?? false,\r\n\t\tmessage: confirmOptions.message,\r\n\t\tshowConfirmButton: true,\r\n\t\tshowCancelButton: true,\r\n\t\tconfirmButtonText: confirmOptions.confirmButtonText ?? 'Yes',\r\n\t\tcancelButtonText: confirmOptions.cancelButtonText ?? 'No',\r\n\t\tcancelButtonClass: confirmOptions.cancelButtonClass ?? (confirmOptions.isLegacy ? 'c-modal-button c-modal-button-cancel' : 'button button--secondary sz-2'),\r\n\t\tconfirmButtonClass: confirmOptions.confirmButtonClass ?? (confirmOptions.isLegacy ? 'c-modal-button' : 'button button--no-style bg-deep white sz-2 px-2 py-1'),\r\n\t\tcustomClass: confirmOptions.customClass ?? 'notification notification--message'\r\n\t});\r\n}","export * from \"-!../../../../../node_modules/.pnpm/vue-style-loader@4.1.3/node_modules/vue-style-loader/index.js!../../../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/cjs.js??ref--7-1!../../../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@3.6.0_prettier@1.18.2_react-dom@16.14.0_react@16.14.0_vue-templ_dssrug5utsuiubrw6t4rzekrjy/node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/.pnpm/postcss-loader@4.3.0_postcss@8.4.31_webpack@4.46.0/node_modules/postcss-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-loader@10.1.1_sass@1.44.0_webpack@4.46.0/node_modules/sass-loader/dist/cjs.js!../../../../../node_modules/.pnpm/sass-resources-loader@2.0.1/node_modules/sass-resources-loader/lib/loader.js??ref--7-4!../../../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@3.6.0_prettier@1.18.2_react-dom@16.14.0_react@16.14.0_vue-templ_dssrug5utsuiubrw6t4rzekrjy/node_modules/vue-loader/lib/index.js??vue-loader-options!./Dialog.vue?vue&type=style&index=1&id=188527e0&prod&lang=scss\"","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../../../node_modules/.pnpm/css-loader@3.6.0_webpack@4.46.0/node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".dialog--wide,.dialog--12{max-width:1200px}.dialog--medium,.dialog--8{max-width:800px}.dialog--6{max-width:650px}.dialog--narrow,.dialog--5{max-width:500px}.dialog--tiny,.dialog--4{max-width:450px}.dialog--custom-width .el-dialog{max-width:var(--max-width)}.dialog__header-image{flex-shrink:0}.dialog__header-image .icon,.dialog__header-image img{width:27px;height:27px}.dialog__header-image .i-simple{color:#234652}.dialog--confirm .el-dialog__body{pointer-events:none}.dialog--confirm .el-dialog__body::before{position:absolute;left:0;top:0;z-index:20;width:100%;height:100%;background-color:rgba(35,70,82,.5);content:\\\"\\\"}html:not(.website) .dialog__title{margin-right:0 !important;font-size:22.525px}.dialog__loading-indicator{opacity:0;animation:fade-in 1s 200ms forwards}:root .dialog__loading-indicator .i-loading{width:40px;height:auto}.dialog__buttons-left{display:flex;position:absolute;flex-wrap:wrap;margin-top:10px;margin-right:55px}.dialog__footer{display:flex;align-items:flex-start;flex-wrap:wrap;justify-content:flex-end;width:calc(100% + 32px);margin-top:2rem;margin-left:-32px;padding-left:2rem;gap:16px;page-break-inside:avoid}.dialog__footer .button{font-size:15.825px}.el-dialog__wrapper{display:flex;position:fixed;bottom:0;left:0;right:0;top:0;z-index:1040 !important;background-color:rgba(35,70,82,.9);margin:0;overflow:auto;padding-top:16px;padding-bottom:16px;animation:fade-in .5s}html:not(.is-android) .el-dialog__wrapper::-webkit-scrollbar-track{background:#edf4f4}html:not(.is-android) .el-dialog__wrapper::-webkit-scrollbar{width:12px;height:12px}html:not(.is-android) .el-dialog__wrapper::-webkit-scrollbar-thumb{background-color:#dfeaea;border:1px solid #fff}html:not(.is-android) .el-dialog__wrapper:hover::-webkit-scrollbar-thumb{background-color:#bdcccc}.el-dialog__wrapper:not(.is-loading,.dialog-fade-leave-active) .el-dialog{animation:dialog-fade .3s 1ms forwards}.el-dialog__wrapper:not(.is-loading) .el-dialog{background:#fff;box-shadow:0 0 6px #172d35}.el-dialog__wrapper.is-loading .el-dialog{box-shadow:unset;pointer-events:none;opacity:1}.el-dialog__wrapper.is-loading .el-dialog__header{display:none}.el-dialog__wrapper.is-loading .el-dialog__body{background-color:transparent}.el-dialog__wrapper:not(.dialog--sticky-header) .el-dialog{width:calc(100% - 16px) !important}.el-dialog__wrapper.dialog--sticky-header{padding-top:0}.el-dialog__wrapper.dialog--sticky-header .el-dialog{width:calc(100% - 16px) !important}.el-dialog__wrapper.dialog--sticky-header .el-dialog__header{position:sticky;top:0;background-color:#fff;padding-bottom:16px}@media all and (-ms-high-contrast: none),(-ms-high-contrast: active){.el-dialog__wrapper{display:block}}.el-dialog{position:relative;box-sizing:border-box;margin:auto !important;opacity:0}.el-dialog .i-ex{color:#798f8f;transition:color .3s}.website .el-dialog h1{font-size:modular-scale(5)}.website .el-dialog h2{color:#55727b;font-size:modular-scale(4)}.website .el-dialog h3,.website .el-dialog h4,.website .el-dialog h5,.website .el-dialog h6{font-size:modular-scale(3)}.el-dialog__header{display:flex;z-index:10;align-items:flex-start;padding:32px;padding-bottom:16px;gap:8px}.el-dialog__body{padding:32px;padding-top:0}.dialog__close-button{position:absolute;right:16px;top:16px;background:transparent;border:0;padding:0;cursor:pointer}html:not(.website) .dialog__close-button{right:8px;top:8px}html:not(.website) .dialog__close-button:hover .i-ex{color:#234652}:root:root [data-el-popup-parent--hidden]{overflow:hidden}.dialog-fade-leave-active{opacity:0;transition:opacity .5s}\", \"\"]);\n// Exports\nmodule.exports = exports;\n","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticClass:\"dialog\",class:{ 'is-active' : _vm.internalVisible },attrs:{\"tabindex\":_vm.internalVisible ? '0' : '-1'}},[_c('el-dialog',_vm._g({ref:\"dialog\",class:[\n\t\t\t{\n\t\t\t\t'dialog--confirm' : _vm.confirmVisible,\n\t\t\t\t'is-loading' : _vm.isLoading,\n\t\t\t\t'dialog--sticky-header' : _vm.headerIsSticky,\n\t\t\t\t'dialog--custom-width' : _vm.maxWidth\n\t\t\t},\n\t\t\t_vm.customWrapperClass\n\t\t],style:({ '--max-width': _vm.maxWidth }),attrs:{\"visible\":_vm.internalVisible,\"width\":_vm.width,\"custom-class\":_vm.customClass,\"destroy-on-close\":_vm.destroyOnClose,\"before-close\":_vm.handleClose,\"close-on-click-modal\":_vm.closeOnClickModal,\"append-to-body\":true,\"show-close\":false},on:{\"opened\":_vm.handleOpened},scopedSlots:_vm._u([{key:\"title\",fn:function(){return [(_vm.showClose)?_c('button',{ref:\"closeButton\",staticClass:\"dialog__close-button button--no-style\",attrs:{\"aria-label\":\"Close\"},on:{\"click\":function($event){return _vm.handleClose()}}},[_c('inline',{attrs:{\"svg\":\"ex\"}})],1):_vm._e(),_vm._v(\" \"),(_vm.$slots.headerImage)?_c('div',{staticClass:\"dialog__header-image flex flex--align\"},[_vm._t(\"headerImage\")],2):_vm._e(),_vm._v(\" \"),_c('div',{staticClass:\"flex flex-col\"},[(_vm.title)?_c('h1',{staticClass:\"dialog__title mt-0 mr-2 mb-0\"},[_vm._v(\"\\n\\t\\t\\t\\t\\t\"+_vm._s(_vm.title)+\"\\n\\t\\t\\t\\t\")]):_vm._e(),_vm._v(\" \"),_vm._t(\"title-helptext\")],2)]},proxy:true}],null,true)},_vm.$listeners),[(_vm.isLoading)?_c('div',{staticClass:\"dialog__loading-indicator flex flex--center\"},[_c('inline',{staticClass:\"spin white\",attrs:{\"svg\":\"loading\"}})],1):_vm._e(),_vm._v(\" \"),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}],staticClass:\"dialog__content-container\"},[_vm._t(\"default\")],2),_vm._v(\" \"),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(!_vm.isLoading),expression:\"!isLoading\"}],staticClass:\"mt dialog__button-bar\"},[_c('div',{staticClass:\"dialog__buttons-left\"},[_vm._t(\"buttons-left\")],2),_vm._v(\" \"),(_vm.$slots.footer)?_c('div',{staticClass:\"dialog__footer\"},[_vm._t(\"footer\")],2):_vm._e()])])],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","import { render, staticRenderFns } from \"./Dialog.vue?vue&type=template&id=188527e0\"\nimport script from \"./Dialog.vue?vue&type=script&lang=js\"\nexport * from \"./Dialog.vue?vue&type=script&lang=js\"\nimport style0 from \"@cognitoforms/styles/global/_motion.scss?vue&type=style&index=0&prod&lang=scss&external\"\nimport style1 from \"./Dialog.vue?vue&type=style&index=1&id=188527e0&prod&lang=scss\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@3.6.0_prettier@1.18.2_react-dom@16.14.0_react@16.14.0_vue-templ_dssrug5utsuiubrw6t4rzekrjy/node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","import mod from \"-!../../../../../node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.22.6_webpack@4.46.0/node_modules/babel-loader/lib/index.js??ref--2!../../../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@3.6.0_prettier@1.18.2_react-dom@16.14.0_react@16.14.0_vue-templ_dssrug5utsuiubrw6t4rzekrjy/node_modules/vue-loader/lib/index.js??vue-loader-options!./Dialog.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/.pnpm/babel-loader@8.3.0_@babel+core@7.22.6_webpack@4.46.0/node_modules/babel-loader/lib/index.js??ref--2!../../../../../node_modules/.pnpm/vue-loader@15.11.1_css-loader@3.6.0_prettier@1.18.2_react-dom@16.14.0_react@16.14.0_vue-templ_dssrug5utsuiubrw6t4rzekrjy/node_modules/vue-loader/lib/index.js??vue-loader-options!./Dialog.vue?vue&type=script&lang=js\"","\r\n\r\n\r\n\r\n\r\n\r\n","import focusableEls from '../focusable-elements';\r\n\r\nexport default {\r\n\tmethods: {\r\n\t\ttrapFocus(e, el) {\r\n\t\t\tif (e.which === 9) {\r\n\t\t\t\tconst els = [...el.querySelectorAll(focusableEls)];\r\n\t\t\t\t// Handle shift-tabbing when on first element of the dialog,\r\n\t\t\t\t// then handle forward tabbing when on last element\r\n\t\t\t\tif (e.shiftKey && els[0] === document.activeElement) {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tels[els.length - 1].focus();\r\n\t\t\t\t}\r\n\t\t\t\telse if (!e.shiftKey && els[els.length - 1] === document.activeElement) {\r\n\t\t\t\t\te.preventDefault();\r\n\t\t\t\t\tels[0].focus();\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\r\n","\r\n// Called when vue dialogs are shown/hidden for compatibility with admin modal overlays\r\nexport function handleDialogVisibility(isVisible) {\r\n\ttry {\r\n\t\tif (!window)\r\n\t\t\tconsole.warn('Window not defined');\r\n\t}\r\n\tcatch {\r\n\t\treturn;\r\n\t}\r\n\r\n\t// do not hide the overlay if a legacy modal is open underneath a vue dialog\r\n\tif (window.Cognito && window.Cognito.Messaging && (isVisible || !document.body.className.includes('c-modal-active'))) {\r\n\t\t// eslint-disable-next-line no-undef\r\n\t\tCognito.Messaging.trigger(isVisible ? 'showOverlay' : 'hideOverlay');\r\n\t}\r\n}\r\n\r\nexport function setupChromeOverlayClickHandler(handler) {\r\n\ttry {\r\n\t\tif (!window)\r\n\t\t\tconsole.warn('Window not defined');\r\n\t}\r\n\tcatch {\r\n\t\treturn;\r\n\t}\r\n\r\n\tif (window.Cognito && window.Cognito.Messaging) {\r\n\t\t// eslint-disable-next-line no-undef\r\n\t\tCognito.Messaging.addHandler('overlayClicked', handler);\r\n\t}\r\n}","// style-loader: Adds some css to the DOM by adding a