wjec-one 4.0.21 → 4.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -1 +1,44 @@
1
- import*as e from"react";import t,{forwardRef as n,useMemo as r,useState as o,useRef as i,useEffect as c,useLayoutEffect as a,useImperativeHandle as l,useContext as s}from"react";import{css as d,jsx as g,keyframes as u,Global as b}from"@emotion/core";import{renderToStaticMarkup as p}from"react-dom/server";import{createSimpleAction as I,createContext as h}from"wjec-one/store";import{isCallableFunction as f}from"wjec-one/utils";import{useId as C,useButton as m}from"react-aria";import{useSwipeable as v}from"react-swipeable";import y from"react-dom";import{useAnimation as A}from"wjec-one";import{DragDropContext as x,Droppable as G,Draggable as X}from"react-beautiful-dnd";import{disableBodyScroll as Z,clearAllBodyScrollLocks as w,enableBodyScroll as W}from"body-scroll-lock";function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function B(e,t,n){return(t=function(e){var t=function(e,t){if("object"!=typeof e||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var r=n.call(e,t||"default");if("object"!=typeof r)return r;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function J(){return J=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},J.apply(null,arguments)}function k(e){if(null==e)throw new TypeError("Cannot destructure "+e)}function V(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function N(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?V(Object(n),!0).forEach((function(t){B(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):V(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function R(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function Y(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,c,a=[],l=!0,s=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(a.push(r.value),a.length!==t);l=!0);}catch(e){s=!0,o=e}finally{try{if(!l&&null!=n.return&&(c=n.return(),Object(c)!==c))return}finally{if(s)throw o}}return a}}(e,t)||j(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}function z(e){return function(e){if(Array.isArray(e))return H(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||j(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e){return L="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},L(e)}function j(e,t){if(e){if("string"==typeof e)return H(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?H(e,t):void 0}}var S,O=Object.freeze({border:"#BCCBD1",entryLevel:"#6B994D",error:"#D32F2F",errorBackground:"#FBEBEB",errorDark:"#A82424",errorDarker:"#661616",font:"#2E3638",fontLight:"#606A6C",gceALevel:"#516FA2",gceASLevel:"#4D9995",gcse:"#81994D",highlight:"#FFEDC1",neutral:"#F1F3F4",neutralDark:"#2D3538",neutralLight:"#56666C",offBlack:"#001B26",offWhite:"#FAFCFC",otherQualifications:"#A55395",secondary:"#47BAD1",secondaryDark:"#1F6B7A",secondaryDarkActive:"#103840",secondaryLight:"#C0E8F0",secondaryLightActive:"#96CBD6",success:"#43A047",successBackground:"#EDF6ED",successDark:"#3C9040",successDarker:"#2A662D",tertiary:"#FFEDC1",vQAward:"#D86C8B",warning:"#F57C00",warningBackground:"#FEF2E6",warningDark:"#EF6C00",welshBaccAdvanced:"#6E81DC",welshBaccFoundation:"#BF8660",welshBaccNational:"#B4C160",welshBaccKS4:"#B25A6C"}),P=Object.freeze(N(N({},O),{},{primary:"#007DB2",primaryDark:"#00628C",primaryDarkActive:"#004766",primaryLight:"#E5F8FF",primaryLightActive:"#CCF1FF",primaryLightest:"#E5F7FF"})),M=Object.freeze(N(N({},O),{},{primary:"#F1511B",primaryDark:"#BF3608",primaryDarkActive:"#BF3608",primaryLight:"#FDB8A1",primaryLightActive:"#FDB8A1"})),E=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"development"===process.env.NODE_ENV&&t&&function(e){console.error(e)}(e)},D=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];"development"===process.env.NODE_ENV&&t&&function(e){console.warn(e)}(e)},T=["a[href]","button","details","input",'[tabIndex]:not([tabIndex="-1"])',"textArea","select","summary"].map((function(e){return"".concat(e,":not([disabled])")})),Q=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document.documentElement;return Array.from(e.querySelectorAll(T.join(","))).filter((function(e){return!e.hasAttribute("disabled")&&!e.getAttribute("aria-hidden")}))},U=["date","format"],K=["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],q=["January","February","March","April","May","June","July","August","September","October","November","December"],_="dd/MM/yyyy",$="HH:mm",ee=function(e){var t,n=e.date,r=e.format,o=void 0===r?_:r,i=e.days,c=void 0===i?K:i,a=e.months,l=void 0===a?q:a,s=n.getDate(),d=n.getDay(),g=n.getMonth()+1,u=n.getFullYear().toString(),b=/(dddd)|(ddd)|(dd)|(d)|(MMMM)|(MMM)|(MM)|(M)|(yyyy)|(yy)/g;return(b.test(o)?o:_).replace(b,(function(e){switch(e){case"dddd":t=c[d];break;case"ddd":t=c[d].slice(0,3);break;case"dd":t=s.toString().padStart(2,"0");break;case"d":t=s.toString();break;case"MMMM":t=l[g-1];break;case"MMM":t=l[g-1].slice(0,3);break;case"MM":t=g.toString().padStart(2,"0");break;case"M":t=g.toString();break;case"yyyy":t=u;break;case"yy":t=u.slice(2)}return t}))},te=function(e){var t=e.date,n=e.format,r=void 0===n?"".concat(_," ").concat($):n,o=R(e,U),i=function(e){var t=e.date,n=e.format,r=void 0===n?$:n,o=e.meridianStrings,i=void 0===o?{am:"am",pm:"pm"}:o,c=/h{1,2}/.test(r),a=c?t.getHours()%12||12:t.getHours();return r.replace(/HH/i,a.toString().padStart(2,"0")).replace(/H/i,a.toString()).replace(/mm/,t.getMinutes().toString().padStart(2,"0")).replace(/SS/,t.getSeconds().toString().padStart(2,"0")).replace(/AM/,c?t.getHours()<12?i.am:i.pm:"")}(N(N({},o),{},{date:t,format:r}));return ee(N(N({},o),{},{date:t,format:i}))},ne=function(e,t,n){var r=e&&e.toString();if(t)if("function"==typeof t)r=t(e,n);else if("string"==typeof t&&"object"===L(e)&&Object.hasOwn(e,t)){var o=e[t];r="number"==typeof o?o:o.toString()}return r},re=function(e,t,n){var r=e;return t&&("function"==typeof t?r=t(e,n):"string"==typeof t&&"object"===L(e)&&Object.hasOwn(e,t)&&(r=e[t])),r},oe=function(e,t){var n=getComputedStyle(e),r=t?/(auto|scroll|hidden)/:/(auto|scroll)/,o="absolute"===n.position,i=function(e){var t=getComputedStyle(e);return(!(o=o&&"static"===t.position)||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX)||"fixed"===t.position?e:e.parentElement===document.documentElement?document.documentElement:i(e.parentElement)};return"fixed"===n.position||e.parentElement===document.documentElement?document.documentElement:i(e.parentElement)},ie=function(e){var n=[],r=function(e){var o;o=e,t.isValidElement(o)?t.Children.forEach(e.props.children,r):n.push(null==e?void 0:e.toString())};return r(e),n.join("")},ce=function(e,t){return e&&t.includes(e)?e:t.length?t[0]:void 0},ae=function(e){return"function"==typeof e},le=function(e){return"object"===L(e)&&2===Object.keys(e).length&&Object.hasOwn(e,"key")&&Object.hasOwn(e,"label")},se=function(e){return Array.isArray(e)&&e.every(le)},de=function(e){return["boolean","number","string"].includes(L(e))},ge=function(e){return Array.isArray(e)&&e.every(de)},ue=function(e){var t=p(e);return/^<svg(.*)<\/svg>$/i.test(t)},be=function(e){return e.preventDefault(),e.stopPropagation(),!1},pe=function(e){if(!ue(e))throw new Error("Only a component that returns SVG markup can be converted to a dataURL");return"url('data:image/svg+xml,".concat(encodeURIComponent(p(e)),"')")},Ie=function(e){var t,n,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{limit:500},o=r.beforeDelay,i=r.limit,c=void 0===i?500:i;return function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];n?(self.clearTimeout(t),ae(o)&&o.apply(void 0,i),t=self.setTimeout((function(){Date.now()-n>=c&&(e.apply(void 0,i),n=Date.now())}),c-(Date.now()-n))):(e.apply(void 0,i),n=Date.now())}},he=function(e){return"[object Object]"===Object.prototype.toString.call(e)},fe=function(e){return Object.hasOwn(e,"current")},Ce=function(e,t){var n="#"===(null==e?void 0:e.charAt(0)),r="rgb"===(null==e?void 0:e.substring(0,3));if(!n&&!r||!("number"==typeof t&&t>=0&&t<=1))return E("\n StyleUtils.transparentize only supports colors in hexadecimal or rgb(a) format.\n The desired transparency must be a value between 0 and 1\n "),e;var o,i=t;n?o=(e.length>6?e.substring(1).match(/.{1,2}/g):e.substring(1).match(/./g)).map((function(e){return parseInt("".concat(e).concat(1===e.length?e:""),16)})):o=e.match(/\d+(\.?\d+)?/g).map(parseFloat);if(void 0!==o[3]){var c=r?o[3]:o[3]/255;i=c-c*t}return"rgba(".concat(o.slice(0,3).join(","),",").concat(Math.round(100*i)/100,")")};function me(){return me=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},me.apply(null,arguments)}var ve,ye=n((function(t,n){return e.createElement("svg",me({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),S||(S=e.createElement("path",{d:"M6.767 7.742 10 10.975l3.233-3.233a.83.83 0 1 1 1.175 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0L5.583 8.917a.83.83 0 0 1 0-1.175.848.848 0 0 1 1.184 0Z",fill:"currentColor"})))}));function Ae(){return Ae=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ae.apply(null,arguments)}var xe,Ge=n((function(t,n){return e.createElement("svg",Ae({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ve||(ve=e.createElement("path",{d:"M12.258 13.233 9.025 10l3.233-3.233a.83.83 0 1 0-1.175-1.175L7.258 9.417a.83.83 0 0 0 0 1.175l3.825 3.825a.83.83 0 0 0 1.175 0 .848.848 0 0 0 0-1.184Z",fill:"currentColor"})))}));function Xe(){return Xe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xe.apply(null,arguments)}var Ze,we=n((function(t,n){return e.createElement("svg",Xe({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),xe||(xe=e.createElement("path",{d:"M7.742 13.233 10.975 10 7.742 6.767a.83.83 0 1 1 1.175-1.175l3.825 3.825a.83.83 0 0 1 0 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0 .848.848 0 0 1 0-1.184Z",fill:"currentColor"})))}));function We(){return We=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},We.apply(null,arguments)}var He=n((function(t,n){return e.createElement("svg",We({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ze||(Ze=e.createElement("path",{d:"M6.767 12.258 10 9.025l3.233 3.233a.83.83 0 1 0 1.175-1.175l-3.825-3.825a.83.83 0 0 0-1.175 0l-3.825 3.825a.83.83 0 0 0 0 1.175.848.848 0 0 0 1.184 0Z",fill:"currentColor"})))})),Be=Object.freeze({borderRadius:"4px",borderRadiusMedium:"8px",dropShadow:"0px 2px 10px ".concat(P.border),scrollbar:d("&::-webkit-scrollbar{height:14px;width:",14,"px;}&::-webkit-scrollbar-button:single-button{display:block;height:16px;&:horizontal{&:decrement{background:",pe(t.createElement(Ge,{color:P.fontLight}))," 0 -3px / 20px no-repeat;&:hover{background-image:",pe(t.createElement(Ge,{color:P.font})),";}}&:increment{background:",pe(t.createElement(we,{color:P.fontLight}))," center -3px / 20px no-repeat;&:hover{background-image:",pe(t.createElement(we,{color:P.font})),";}}}&:vertical{&:decrement{background:",pe(t.createElement(He,{color:P.fontLight}))," center 0 / 20px no-repeat;&:hover{background-image:",pe(t.createElement(He,{color:P.font})),";}}&:increment{background:",pe(t.createElement(ye,{color:P.fontLight}))," center -3px / 20px no-repeat;&:hover{background-image:",pe(t.createElement(ye,{color:P.font})),";}}}}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",P.border,";border:3px solid transparent;border-radius:7px;&:hover{background-color:",P.fontLight,";}}&::-webkit-scrollbar-track{background-clip:padding-box;background-color:",P.neutral,";border:3px solid transparent;border-radius:7px;}"),visiblyHidden:{name:"1dw21dg",styles:"border-width:0;flex:0;height:0;margin:0;max-height:0;max-width:0;min-height:0;min-width:0;opacity:0;overflow:hidden;padding:0;position:absolute;width:0;"}}),Je={name:"1bhjuxx",styles:"box-sizing:border-box;&::after,&::before,& *,& *::after,& *::before{box-sizing:inherit;}"},ke=d("&::selection{background-color:",P.highlight,";}"),Ve=d("color:",P.neutralDark,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:16px;"),Ne={name:"8uhtka",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},Re=I("SELECT_BRAND"),Ye=function(e,t){var n=t.payload;return"SELECT_BRAND"===t.type?e.merge({brand:n,colorPalette:"wjec"===n?P:M}):e},Fe={brand:"wjec",colorPalette:P},ze=function(){var e=h(Ye,Fe,(function(e,t){var n=e.brand,r=t.colorPalette;return{colorPalette:"eduqas"===n?M:r}})),t=e.context,n=e.hook,o=e.provider;return{selectBrand:Re,themeContext:t,WjecOneThemeProvider:o,useWjecOneTheme:n,useWjecOneThemeStyles:function(e){var t=Y(n(),1)[0];return r((function(){return f(e)?e(t):e}),[t.brand])}}}(),Le=ze.useWjecOneTheme,je=ze.useWjecOneThemeStyles,Se=function(e){var t=e.children,n=e.expanded,l=void 0!==n&&n,s=e.id,u=e.onClick,b=e.spacing,p=void 0===b?"normal":b,I=e.title,h=Y(o(l),2),f=h[0],m=h[1],v=i(),y=i(),A=C(s),x=r((function(){return"small"===p?16:20}),[p]);c((function(){l!==f&&(l?X():G())}),[l]),a((function(){y.current.style.height=f?"".concat(y.current.scrollHeight,"px"):"0",f&&v.current.setAttribute("open","open")}),[f]);var G=function(){m(!1),ae(u)&&u(!1)},X=function(){m(!0),ae(u)&&u(!0)},Z=je(De),w=r((function(){return{"--opacity":f?1:0,"--padding-top":f?"".concat(x,"px"):0,"--padding-bottom":f?"".concat(x,"px"):0}}),[f]);return g("details",{css:d([Z.container,f&&Z.containerExpanded],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlEcUIiLCJmaWxlIjoiQWNjb3JkaW9uQ29udGVudC5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgdXNlRWZmZWN0LCB1c2VMYXlvdXRFZmZlY3QsIHVzZU1lbW8sIHVzZVJlZiwgdXNlU3RhdGUgfSBmcm9tICdyZWFjdCc7XHJcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xyXG5pbXBvcnQgeyBpc0NhbGxhYmxlRnVuY3Rpb24sIHN2Z0NvbXBvbmVudFRvRGF0YVVSTCB9IGZyb20gXCIuLi8uLi91dGlsc1wiO1xyXG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vYXNzZXRzL2ljb25zL2NhcmV0X2Rvd24uc3ZnXHJcbmltcG9ydCBDYXJldERvd24gZnJvbSBcIi4uL2Fzc2V0cy9pY29ucy9jYXJldF9kb3duLnN2Z1wiO1xyXG5pbXBvcnQgeyBib3JkZXJCb3ggfSBmcm9tIFwiLi4vc3R5bGVzL2NvbW1vbi1zdHlsZXNcIjtcclxuaW1wb3J0IHsgdXNlV2plY09uZVRoZW1lU3R5bGVzIH0gZnJvbSBcIi4uLy4uL3RoZW1lXCI7XHJcbmltcG9ydCB7IHVzZUlkIH0gZnJvbSAncmVhY3QtYXJpY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GFkZGluZzogMTJweCAxNnB4O1xyXG4gIGBcclxufSk7XHJcbiJdfQ== */"),"data-accordion-container":!0,id:A,ref:v},g("summary",{css:d([Z.summary,"small"===p&&Z.summarySpacingSmall,f&&Z.summaryExpanded],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFEZSIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmltcG9ydCB7IGlzQ2FsbGFibGVGdW5jdGlvbiwgc3ZnQ29tcG9uZW50VG9EYXRhVVJMIH0gZnJvbSBcIi4uLy4uL3V0aWxzXCI7XHJcbi8vIEB0cmFuc2Zvcm0tcGF0aCAuLi9hc3NldHMvaWNvbnMvY2FyZXRfZG93bi5zdmdcclxuaW1wb3J0IENhcmV0RG93biBmcm9tIFwiLi4vYXNzZXRzL2ljb25zL2NhcmV0X2Rvd24uc3ZnXCI7XHJcbmltcG9ydCB7IGJvcmRlckJveCB9IGZyb20gXCIuLi9zdHlsZXMvY29tbW9uLXN0eWxlc1wiO1xyXG5pbXBvcnQgeyB1c2VXamVjT25lVGhlbWVTdHlsZXMgfSBmcm9tIFwiLi4vLi4vdGhlbWVcIjtcclxuaW1wb3J0IHsgdXNlSWQgfSBmcm9tICdyZWFjdC1hcmlhJztcclxuY29uc3QgQ09OVEVOVF9QQURESU5HX05PUk1BTCA9IDIwO1xyXG5jb25zdCBDT05URU5UX1BBRERJTkdfU01BTEwgPS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Il19 */"),onClick:function(e){e.preventDefault(),!f?X():G()}},I),g("div",{css:d([Z.contentContainer,Z.content,!f&&Z.contentDelays],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZEVyIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcclxuaW1wb3J0IHsgY3NzIH0gZnJvbSAnQGVtb3Rpb24vY29yZSc7XHJcbmltcG9ydCB7IGlzQ2FsbGFibGVGdW5jdGlvbiwgc3ZnQ29tcG9uZW50VG9EYXRhVVJMIH0gZnJvbSBcIi4uLy4uL3V0aWxzXCI7XHJcbi8vIEB0cmFuc2Zvcm0tcGF0aCAuLi9hc3NldHMvaWNvbnMvY2FyZXRfZG93bi5zdmdcclxuaW1wb3J0IENhcmV0RG93biBmcm9tIFwiLi4vYXNzZXRzL2ljb25zL2NhcmV0X2Rvd24uc3ZnXCI7XHJcbmltcG9ydCB7IGJvcmRlckJveCB9IGZyb20gXCIuLi9zdHlsZXMvY29tbW9uLXN0eWxlc1wiO1xyXG5pbXBvcnQgeyB1c2VXamVjT25lVGhlbWVTdHlsZXMgfSBmcm9tIFwiLi4vLi4vdGhlbWVcIjtcclxuaW1wb3J0IHsgdXNlSWQgfSBmcm9tICdyZWFjdC1hcmlhJztcclxuY29uc3QgQ09OVEVOVF9QQURESU5HX05PUk1BTCA9IDIwO1xyXG5jb25zdCBDT05URU5UX1BBRERJTkdfU01BTEwgPSAxNjtcclxuZXhwb3J0IGNvbnN0IEFjY29yZGlvbkNvbnRlbnQgPSAoe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b20gMC4wNXMgbGluZWFyIDAuMnM7XHJcblxyXG4gICAgJjo6YWZ0ZXIge1xyXG4gICAgICBiYWNrZ3JvdW5kOiAke3N2Z0NvbXBvbmVudFRvRGF0YVVSTCg8Q2FyZXREb3duIC8+KX1cclxuICAgICAgICAgICAgICAgICAgY2VudGVyIGNlbnRlciAvIDI0cHhcclxuICAgICAgICAgICAgICAgICAgbm8tcmVwZWF0O1xyXG4gICAgICBjb250ZW50OiAnJztcclxuICAgICAgaGVpZ2h0OiAyNHB4O1xyXG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgIHJpZ2h0OiAxMHB4O1xyXG4gICAgICB0b3A6IDUwJTtcclxuICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpIHNjYWxlWSgxKTtcclxuICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5U3BhY2luZ1NtYWxsOiBjc3MgYFxyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiAxMnB4IDE2cHg7XHJcbiAgYFxyXG59KTtcclxuIl19 */"),style:w},g("div",{css:d([Z.content,!f&&Z.contentDelays],"production"===process.env.NODE_ENV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2Z0NvbXBvbmVudFRvRGF0YVVSTCg8Q2FyZXREb3duIC8+KX1cclxuICAgICAgICAgICAgICAgICAgY2VudGVyIGNlbnRlciAvIDI0cHhcclxuICAgICAgICAgICAgICAgICAgbm8tcmVwZWF0O1xyXG4gICAgICBjb250ZW50OiAnJztcclxuICAgICAgaGVpZ2h0OiAyNHB4O1xyXG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgIHJpZ2h0OiAxMHB4O1xyXG4gICAgICB0b3A6IDUwJTtcclxuICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpIHNjYWxlWSgxKTtcclxuICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXHJcbiAgICBzdW1tYXJ5U3BhY2luZ1NtYWxsOiBjc3MgYFxyXG4gICAgZm9udC1zaXplOiAxNHB4O1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiAxMnB4IDE2cHg7XHJcbiAgYFxyXG59KTtcclxuIl19 */"),"data-accordion-content":!0,ref:y},t)))};Se.displayName="AccordionContent";var Oe={name:"w2zbrk",styles:"opacity:var(--opacity);overflow:hidden;padding:var(--padding-top) 16px var(--padding-bottom) 16px;"},Pe={name:"8194xo",styles:"overflow:hidden;transition:height 0.2s linear,opacity 0.1s linear 0.15s,padding-top 0.2s linear,padding-bottom 0.2s linear;"},Me={name:"114c0jv",styles:"transition-delay:0.05s,0s,0.05s,0.05s;"},Ee={name:"1o9q230",styles:"font-size:14px;line-height:16px;padding:12px 16px;"},De=function(e){var t=e.colorPalette;return{container:d(Je,";border-bottom:2px solid ",t.border,";font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;position:relative;color:",t.font,";transition:border-bottom 0.3s ease-in-out;&:hover{border-bottom:2px solid ",t.primary,";}"),contentContainer:Oe,containerExpanded:d("border-bottom:2px solid ",t.secondary,";&:hover > summary{border-bottom:2px solid ",t.primary,";transition:border-bottom-color 0.3s ease-in-out;}"),content:Pe,contentDelays:Me,summary:d("align-items:flex-start;background-color:transparent;border:none;border-bottom:0 solid transparent;color:",t.font,";cursor:pointer;display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;outline:none;padding:16px;position:relative;text-align:left;transition:border-bottom 0.05s linear 0.2s;&::after{background:",pe(g(ye,null))," center center / 24px no-repeat;content:'';height:24px;position:absolute;right:10px;top:50%;transform:translateY(-50%) scaleY(1);transition:transform 0.3s ease-in-out;width:24px;}"),summaryExpanded:d("border-bottom:2px solid ",t.border,";transition:border-bottom 0.3s ease-in-out;&::after{transform:translateY(-50%) scaleY(-1);}"),summarySpacingSmall:Ee}},Te=function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return t.Children.toArray(e).map((function(e,t){return t<n.length?n[t]:e.props.expanded}))},Qe=function(e){var n=e.children,r=e.exclusive,i=e.id,a=e.spacing,l=void 0===a?"normal":a,s=Y(o(Te(n)),2),d=s[0],u=s[1];c((function(){!function(e){var n=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=0,o=!1;if(t.Children.forEach(e,(function(e){e.props.expanded&&r++,("object"!==L(e)||"AccordionContent"!==e.type.name&&"AccordionContent"!==e.type.displayName)&&(o=!0)})),n&&r>1)throw new Error('Accordion with "exclusive" flag can only have one expanded content section');if(o)throw new Error("Accordion content must be wrapped in an Accordion.Content component")}(n,r),u((function(e){return Te(n,e)}))}),[n,r]);var b=function(e,t){return function(n){u((function(t){var o=r&&n?Array(t.length).fill(!1):z(t);return o[e]=n,o})),ae(t)&&t(n)}};return g("div",{id:i,css:Ke},t.Children.map(n,(function(e,n){return t.cloneElement(e,{expanded:d[n],onClick:b(n,e.props.onClick),spacing:e.props.spacing||l})})))};Qe.Content=Se;var Ue,Ke=d(Je,";width:100%;");function qe(){return qe=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qe.apply(null,arguments)}var _e,$e,et=n((function(t,n){return e.createElement("svg",qe({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",ref:n},t),Ue||(Ue=e.createElement("path",{d:"M13.333 2.667V3.6c0 2.24 0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748C10.294 10 9.174 10 6.933 10H2.667m0 0L6 6.667M2.667 10 6 13.333",stroke:"#004766",strokeWidth:1.333,strokeLinecap:"round",strokeLinejoin:"round"})))})),tt=function(e){var n=e.breadcrumbs,r=e.id,o=e.keyExtractor,i=e.labelExtractor,c=e.onClick,a=e.showCurrent,l=void 0===a||a,s=je(rt);return g("ul",{css:s.list,id:r},n.map((function(e,r){var a,u=function(e,t){return le(e)?e.key:ne(e,o,t)}(e,r),b=r===n.length-1;return g(t.Fragment,{key:u},(l||!b)&&g("li",{css:s.listItem},g("a",{"aria-current":!!b&&"page",css:d([s.breadCrumb,!b&&s.hoverEffect],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJyZWFkY3J1bWIuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFCNkQiLCJmaWxlIjoiQnJlYWRjcnVtYi5qc3giLCJzb3V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ICAgICY6bm90KDpsYXN0LW9mLXR5cGUpOjphZnRlciB7XHJcbiAgICAgIGJhY2tncm91bmQtaW1hZ2U6ICR7c3ZnQ29tcG9uZW50VG9EYXRhVVJMKDxDYXJldFJpZ2h0IGNvbG9yPXtjb2xvclBhbGV0dGUucHJpbWFyeURhcmtBY3RpdmV9Lz4pfTtcclxuICAgICAgY29udGVudDogJyc7XHJcbiAgICB9XHJcbiAgYFxyXG59KTtcclxuIl19 */"),"data-current-crumb":le(e)?e.label:re(e,i,r),href:"#",onClick:b?void 0:(a=u,function(){return ae(c)&&c(a)})},le(e)?e.label:re(e,i,r))))})))},nt={name:"1c386kp",styles:"display:flex;font-family:'Montserrat',sans-serif;font-size:12px;list-style:none;margin:0;padding:0;"},rt=function(e){var t=e.colorPalette;return{breadCrumb:d("color:",t.neutralDark,";display:inline-block;font-size:16px;line-height:16px;padding:4px 12px;text-decoration:none;text-decoration-color:transparent;&::before{content:attr(data-current-crumb);display:block;font-weight:700;height:0;overflow:hidden;visibility:hidden;}"),hoverEffect:d("&:hover{cursor:pointer;font-weight:700;text-decoration:underline;text-decoration-color:",t.neutralDark,";}"),list:nt,listItem:d("align-items:center;display:flex;&::before,&::after{background-repeat:no-repeat;background-size:contain;height:16px;width:16px;}&:first-of-type:not(:last-of-type)::before{background-image:",pe(g(et,{color:t.primaryDarkActive})),";content:'';}&:not(:last-of-type)::after{background-image:",pe(g(we,{color:t.primaryDarkActive})),";content:'';}")}},ot=function(e,t){c((function(){if(t())throw new Error(e)}),arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])},it=126,ct=function(e){var t=e.ariaLabel,n=e.color,o=e.id,i=e.progress,c=e.size,a=void 0===i,l=r((function(){return i&&it-Math.min(Math.max(i,0),100)/100*it}),[i]),s=r((function(){switch(c){case"extraSmall":return 2;case"large":return 8;default:return 4}}),[c]),u=je(gt);return g("div",{css:d([u.container,a?u.containerIndeterminate:u.containerStatic]),id:o,"data-size":c},g("svg",{"aria-label":t,css:d([u.svgContainer,{"--color":n}]),viewBox:"20 20 48 48"},g("circle",{css:d([u.circle,a?u.circleIndeterminate:u.circleStatic,{"--dashoffset":l}]),cx:"44",cy:"44",fill:"none",r:"20",strokeWidth:s})))},at=u(_e||(_e=F(["\n 100% { transform: rotate(360deg); }\n"]))),lt=u($e||($e=F(["\n 0% {\n stroke-dasharray: 1px, 200px;\n stroke-dashoffset: 0;\n }\n 50% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -15px;\n }\n 100% {\n stroke-dasharray: 100px, 200px;\n stroke-dashoffset: -125px;\n }\n"]))),st={name:"7bv8j5",styles:'display:flex;height:20px;width:20px;&[data-size="extraSmall"]{height:12px;width:12px;}&[data-size="small"]{height:16px;width:16px;}&[data-size="large"]{height:24px;width:24px;}'},dt={name:"4dsd3s",styles:"transform:rotate(-90deg);"},gt=function(e){var t=e.colorPalette;return{circle:d("--dashoffset:",it,";stroke:currentColor;stroke-dasharray:80px,200px;stroke-dashoffset:var(--dashoffset);"),circleIndeterminate:d("animation:",lt," 1.4s ease-in-out infinite;"),circleStatic:d("stroke-dasharray:",it,"px;transition:stroke-dashoffset 0.3s ease-out;"),container:st,containerIndeterminate:d("animation:",at," 1.4s linear infinite;"),containerStatic:dt,svgContainer:d("--color:",t.secondary,";color:var(--color);")}},ut=function(e){var n=e.activeColor,r=e.ariaLabel,o=e.borderColor,c=e.buttonType,a=void 0===c?"button":c,l=e.color,s=e.children,u=e.disabled,b=e.focusColor,p=e.hoverColor,I=e.icon,h=e.iconColor,f=e.iconColorActive,C=e.iconPosition,v=void 0===C?"left":C,y=e.id,A=e.label,x=e.labelColor,G=e.labelColorActive,X=e.loading,Z=e.loadingProgress,w=e.onPress,W=e.outlineColor,H=e.size,B=void 0===H?"normal":H;ot("WJEC One Button: Icon must be a valid SVGComponent",(function(){return I&&!ue(t.createElement(I))}),[I]),ot("WJEC One Button: A Button must have a label and/or icon",(function(){return!s&&!I&&!A}),[s,I,A]);var k=i(),V=Y(Le(),1)[0].colorPalette,N={"--active-background-color":n,"--background-color":l,"--border-color":o,"--focus-background-color":b,"--hover-background-color":p,"--icon-color":h,"--icon-color-active":f,"--label-color":x,"--label-color-active":G,"--outline-color":W,"--padding":"large"===B?"8px 24px":"small"===B?"2px 8px":void 0},R=je(ft),F=function(){return g(I,{"aria-hidden":!0,css:d([R.icon,(A||s)&&I&&("left"===v?R.iconLeft:R.iconRight)])})},z=m({id:y,isDisabled:u,onPress:w,type:a},k).buttonProps;return g("button",J({"aria-label":r},z,{ref:k,css:R.button,style:N,"data-loading":X||void 0}),I&&"left"===v&&F(),A||s,I&&"right"===v&&F(),X&&g("div",{css:R.loading},g(ct,{color:x||V.neutralDark,progress:Z})))},bt={name:"18kopw8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;opacity:0.6;transition:inherit;width:24px;"},pt={name:"15ro776",styles:"margin-right:4px;"},It={name:"15fzge",styles:"margin-left:4px;"},ht={name:"c524f5",styles:"left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"},ft=function(e){var t=e.colorPalette;return{button:d("--active-background-color:",t.neutralLight,";--background-color:",t.neutral,";--border-color:transparent;--focus-background-color:var(--background-color);--hover-background-color:",t.border,";--label-color:",t.neutralDark,";--label-color-active:#FFFFFF;--outline-color:",t.primary,";--padding:8px;--icon-color:var(--label-color);--icon-color-active:var(--label-color-active);",Je,";align-items:center;background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",Be.borderRadius,";color:var(--label-color);cursor:pointer;display:flex;font-family:'Montserrat',sans-serif;font-size:16px;font-weight:600;height:40px;justify-content:center;letter-spacing:0.5px;line-height:24px;padding:var(--padding);position:relative;transition:background-color 0.05s linear,color 0.05s linear;white-space:pre-wrap;&:disabled{background-color:",t.neutral,";color:",t.border,";cursor:not-allowed;& > svg{color:",t.border,';}}&:focus{background-color:var(--focus-background-color);outline:1px solid var(--outline-color);outline-offset:-3px;}&:not(:disabled,[data-loading="true"]):hover{background-color:var(--hover-background-color);}&:not(:disabled,[data-loading="true"]):active{background-color:var(--active-background-color);color:var(--label-color-active);& > svg{color:var(--icon-color-active);}}&[data-loading="true"]{color:transparent;& > svg{color:transparent;}}'),icon:bt,iconLeft:pt,iconRight:It,loading:ht}},Ct=function(e){var t=Object.assign({},(k(e),e)),n=Y(Le(),1)[0].colorPalette;return g(ut,J({},t,{activeColor:n.errorDarker,color:n.error,hoverColor:n.errorDark,iconColor:"#FFFFFF",labelColor:"#FFFFFF",outlineColor:"#FFFFFF"}))},mt=["icon","iconColor","loading"],vt=function(e){var t=e.icon,n=e.iconColor,r=e.loading,o=R(e,mt),i=Y(Le(),1)[0].colorPalette;return g(ut,J({},o,{color:r?i.neutral:"transparent",loading:r}),g(t,{css:yt.icon,style:{"--icon-color":n},"aria-hidden":!0}))},yt={icon:{name:"1s88svv",styles:"color:var(--icon-color);flex-shrink:0;height:24px;transition:inherit;width:24px;"}},At=["loading"],xt=function(e){var t=e.loading,n=R(e,At),r=Y(Le(),1)[0].colorPalette;return ot("WJEC One LinkButton: A LinkButton cannot have an unaccompanied icon",(function(){return n.icon&&!(n.children||n.label)}),[n]),g(ut,J({},n,{loading:t,color:t?r.neutral:"transparent",iconColor:r.fontLight,labelColor:r.primaryDark}))},Gt=function(e){var t=Object.assign({},(k(e),e)),n=Y(Le(),1)[0].colorPalette;return g(ut,J({},t,{activeColor:n.primaryDarkActive,color:n.primary,hoverColor:n.primaryDark,iconColor:"#FFFFFF",labelColor:"#FFFFFF",outlineColor:"#FFFFFF"}))},Xt=function(e){var t=Object.assign({},(k(e),e)),n=Y(Le(),1)[0].colorPalette;return g(ut,J({},t,{activeColor:n.secondary,borderColor:t.disabled?"none":n.secondaryDark,color:"#FFFFFF",focusColor:n.secondaryLight,hoverColor:n.secondaryLight,labelColor:n.secondaryDark,labelColorActive:n.secondaryDark,outlineColor:"#FFFFFF"}))},Zt=function(e,t,n){a((function(){var r,o,i,c,a,l;(null==n||null===(r=n.current)||void 0===r||null===(o=r.style)||void 0===o?void 0:o.getPropertyValue(e))!==t&&(null==t?null==n||null===(i=n.current)||void 0===i||null===(c=i.style)||void 0===c||c.removeProperty(e):null==n||null===(a=n.current)||void 0===a||null===(l=a.style)||void 0===l||l.setProperty(e,t.toString()))}))};const wt="undefined"!=typeof document?t.useLayoutEffect:()=>{};let Wt=0;const Ht=new Map;function Bt(e){let[t,n]=o();return wt((()=>{if(!e)return;let t=Ht.get(e);if(t)n(t.element.id);else{let r="react-aria-description-"+Wt++;n(r);let o=document.createElement("div");o.id=r,o.style.display="none",o.textContent=e,document.body.appendChild(o),t={refCount:0,element:o},Ht.set(e,t)}return t.refCount++,()=>{t&&0==--t.refCount&&(t.element.remove(),Ht.delete(e))}}),[e]),{"aria-describedby":e?t:void 0}}var Jt,kt=function(e){var t=e.ariaDescription,n=e.borderColor,r=e.children,o=e.id,c=e.padding,a=i(),l=Bt(t);return Zt("--padding",c,a),Zt("--border-color",n,a),g("div",J({css:Vt.cardMain,id:o,ref:a},l),r)},Vt={cardMain:d("--border-color:none;--padding:30px 30px;background-color:#ffffff;border:1px solid var(--border-color);border-radius:",Be.borderRadius,";box-shadow:",Be.dropShadow,";padding:var(--padding);position:relative;")},Nt={name:"fup5xt",styles:"align-items:center;display:flex;justify-content:space-between;margin:30px 30px 0;"},Rt={name:"hv8m74",styles:"display:flex;justify-content:center;list-style:none;margin:0;padding:0;width:100%;"},Yt={name:"1fyoaf7",styles:"display:inline-block;flex-shrink:0;height:100%;width:100%;"},Ft={name:"103tnj5",styles:"--transition-duration:200ms;--translate-x:unset;display:flex;height:100%;position:relative;transform:translateX(var(--translate-x));width:100%;&[data-animating]{transition:transform ease-out var(--transition-duration);}&[data-swiping]{user-select:none;}& > *{flex-shrink:0;}"},zt=function(e){var t=e.colorPalette;return{container:d(Je,";display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%;"),controls:Nt,dot:d("cursor:pointer;padding:5px;&::before{background-color:",t.border,";border:1px solid transparent;border-radius:3px;content:'';display:block;height:5px;transition:background-color 150ms linear,border-color 150ms linear;width:20px;}"),dotActive:d("&::before{background-color:",t.secondary,";border-color:",t.secondary,";}"),dots:Rt,navigationButton:d("align-items:center;background-color:",t.neutral,";border:none;border-radius:10px;cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;outline:none;transition:opacity 100ms linear;width:40px;&:disabled{cursor:default;opacity:0;}"),navigationIcon:d("color:",t.fontLight,";height:15px;"),slide:Yt,slides:Ft}};function Lt(){return Lt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lt.apply(null,arguments)}var jt,St=n((function(t,n){return e.createElement("svg",Lt({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Jt||(Jt=e.createElement("path",{d:"M9.412 3.921a.831.831 0 0 1 1.176 1.175l-4.063 4.07h9.308a.833.833 0 1 1 0 1.667H6.525l4.063 4.07a.831.831 0 0 1-1.176 1.176L4.04 10.707a1 1 0 0 1 0-1.414L9.412 3.92Z",fill:"currentColor"})))}));function Ot(){return Ot=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ot.apply(null,arguments)}var Pt,Mt,Et,Dt=n((function(t,n){return e.createElement("svg",Ot({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),jt||(jt=e.createElement("path",{d:"M10.588 3.921a.831.831 0 0 0-1.176 1.175l4.063 4.07H4.167a.833.833 0 1 0 0 1.667h9.308l-4.063 4.07a.831.831 0 0 0 1.176 1.176l5.372-5.372a1 1 0 0 0 0-1.414L10.588 3.92Z",fill:"currentColor"})))})),Tt=function(e){var t=e.direction,n=e.disabled,r=e.onClick,o=je(zt);return g("button",{css:o.navigationButton,disabled:n,onClick:r,type:"button"},g("next"===t?Dt:St,{css:o.navigationIcon}))},Qt=function(e){var t=e.active,n=e.onClick,r=je(zt);return g("li",{css:d([r.dot,t&&r.dotActive]),onClick:n})},Ut=function(e,t){return(e+1)%t},Kt=function(e,t){return(e+t-1)%t},qt=function(e,t,n){var r=n-t+Math.floor((n-1)/2)+e;return r>n-1?r%n:r},_t=function(e,t,n){var r=function(e,t){var n=t.children[e];return Math.round(t.offsetWidth/2-n.offsetLeft-n.offsetWidth/2)}(e+t,n);n.style.setProperty("--translate-x","".concat(r,"px"))},$t=n((function(e,n){var s=e.buffer,d=void 0===s?1:s,u=e.children,b=e.id,p=e.infinite,I=e.onChange,h=e.showNavigationButtons,f=void 0===h||h,C=e.showNavigationDots,m=void 0===C||C,y=e.simulateMouseSwipe,A=e.slideIndex,x=void 0===A?0:A,G=e.slideTransitionDuration,X=void 0===G?200:G,Z=i(),w=i(),W=Y(o(x),2),H=W[0],B=W[1],k=r((function(){return p?d:0}),[d,p]),V=r((function(){return t.Children.toArray(u)}),[u]),N=r((function(){return V.length}),[V]),R=r((function(){return N>0&&(f||m)}),[f,m,N]),F=r((function(){var e=Object.keys(V).map((function(e){return parseInt(e)}));return p&&e.sort((function(e,t){return qt(e,H,N)-qt(t,H,N)})),e}),[H,V,p,N]);a((function(){N>0&&_t(F.indexOf(H),k,null==w?void 0:w.current)}),[H,k,N,F]),c((function(){var e,t=Math.max(0,Math.min(N-1,x));null!=w&&null!==(e=w.current)&&void 0!==e&&e.hasAttribute("data-animating")||t===H||j(t)}),[x]),c((function(){var e=Z.current.offsetHeight,t=Z.current.offsetWidth,n=new ResizeObserver((function(n){var r=Y(n,1)[0].contentRect,o=r.height,i=r.width;o===e&&i===t||(e=o,t=i,_t(F.indexOf(H),k,null==w?void 0:w.current))}));return n.observe(Z.current),function(){n.disconnect()}}),[H,k,F]);var z=Ie((function(){if(p||H<N-1){var e=Ut(H,N);j(e)}}),{limit:X+1}),L=Ie((function(){if(p||H>0){var e=Kt(H,N);j(e)}}),{limit:X+1}),j=function(e){if(e!==H){var t=function(){w.current.removeAttribute("data-animating"),w.current.removeAttribute("data-swiping"),B(e),ae(I)&&I(e)};X>0?(w.current.setAttribute("data-animating","true"),w.current.addEventListener("transitionend",t,{once:!0}),_t(F.indexOf(e),k,null==w?void 0:w.current)):t()}};l(n,(function(){return{goToNextSlide:z,goToPreviousSlide:L,goToSlide:j}}));var S=function(e){for(var n=[],r="before"===e?F[0]:F[N-1],o=0;o<k;o++)"before"===e&&(r=Kt(r,N),n.unshift(r)),"after"===e&&(r=Ut(r,N),n.push(r));return n.map((function(n){return t.cloneElement(V[n],{key:"buffer_".concat(e,"_").concat(n)})}))},O=v({onSwiped:function(e){var t,n=e.deltaX,r=e.dir;if(w.current.hasAttribute("data-swiping")){var o=(t=F.indexOf(H)+k,(null==w?void 0:w.current).children[t].offsetWidth/3);Math.abs(n)>=o?"Left"===r?z():L():w.current.removeAttribute("data-swiping")}},onSwiping:function(e){var t=e.velocity;!w.current.hasAttribute("data-swiping")&&t>.33&&w.current.setAttribute("data-swiping","true")},trackMouse:y}),P=je(zt);return Zt("--transition-duration","".concat(X,"ms"),w),g("div",{ref:Z,css:P.container,id:b,"data-carousel-container":!0},g("div",J({},O,{ref:function(e){w.current=e,O.ref(e)},css:P.slides,"data-carousel-slides-container":!0}),S("before"),F.map((function(e){return V[e]})),S("after")),R&&g("div",{css:P.controls},f&&g(Tt,{direction:"previous",disabled:0===H&&!p,onClick:L}),m&&g("ol",{css:P.dots},V.map((function(e,t){return g(Qt,{key:"slide_".concat(t),active:t===H,onClick:function(){return j(t)}})}))),f&&g(Tt,{direction:"next",disabled:H===N-1&&!p,onClick:z})))}));function en(){return en=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},en.apply(null,arguments)}var tn,nn=n((function(t,n){return e.createElement("svg",en({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Pt||(Pt=e.createElement("path",{d:"M9.167 15h1.666v-1.667H9.167V15Z",fill:"currentColor"})),Mt||(Mt=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.667 10C1.667 5.4 5.4 1.667 10 1.667S18.333 5.4 18.333 10 14.6 18.333 10 18.333A8.336 8.336 0 0 1 1.667 10Zm1.666 0A6.675 6.675 0 0 0 10 16.667 6.675 6.675 0 0 0 16.667 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z",fill:"currentColor"})),Et||(Et=e.createElement("path",{d:"M10 5a3.332 3.332 0 0 0-3.333 3.333h1.666c0-.916.75-1.666 1.667-1.666s1.667.75 1.667 1.666c0 1.667-2.5 1.459-2.5 4.167h1.666c0-1.875 2.5-2.083 2.5-4.167A3.332 3.332 0 0 0 10 5Z",fill:"currentColor"})))})),rn={name:"115actz",styles:"display:inline-flex;position:relative;"},on={name:"1ixbp0l",styles:"pointer-events:none;"},cn={name:"13v3rg8",styles:"overflow-y:auto;"},an={name:"17ju33v",styles:"--cursor:pointer;cursor:var(--cursor);display:inline-flex;"},ln=function(e){var t=e.colorPalette;return{container:rn,popup:d("--background-color:#fff;--color:",t.font,";--margin:4px;--max-height:300px;--max-width:300px;--padding:8px;--position-x:0;--position-y:0;font-family:'Montserrat',sans-serif;font-size:12px;left:var(--position-x);line-height:16px;margin:var(--margin);max-height:var(--max-height);max-width:var(--max-width);min-width:160px;opacity:0;outline:none;pointer-events:none;position:absolute;text-align:left;top:var(--position-y);width:max-content;z-index:1;"),popupContent:d("--translate-x:0;--translate-y:0;",Be.scrollbar,";background-color:var(--background-color);border:var(--border);border-radius:",Be.borderRadius,";box-shadow:",Be.dropShadow,";color:var(--color);padding:var(--padding);pointer-events:auto;overflow-x:hidden;overflow-y:hidden;transform:translate(var(--translate-x),var(--translate-y));"),popupOnHover:on,popupContentScrollable:cn,toggle:an,toggleString:d("border-bottom:2px dotted ",t.secondary,";")}},sn=function(e,t){c((function(){t()&&D(e)}),arguments.length>2&&void 0!==arguments[2]?arguments[2]:[])},dn=function(e,t,n,r,o){var i;if("bottom"===e){var c=r.clientHeight-(n.top+t.offsetHeight);i="floating"===o?c:c+(r.scrollTop+r.offsetTop)}if("left"===e&&(i="floating"===o?n.left:n.left-r.scrollLeft-r.offsetLeft),"right"===e){var a=r.clientWidth-(n.left+t.offsetWidth);i="floating"===o?a:a+(r.scrollLeft+r.offsetLeft)}return"top"===e&&(i="floating"===o?n.top:n.top-r.scrollTop-r.offsetTop),i},gn=function(e){var t=window.getComputedStyle(e);return{bottom:parseInt(t.marginBottom),left:parseInt(t.marginLeft),right:parseInt(t.marginRight),top:parseInt(t.marginTop)}},un=function(e,t){var n;if("sibling"===t)n={left:e.offsetLeft,top:e.offsetTop};else{var r=e.getBoundingClientRect();n={left:Math.floor(r.left),top:Math.floor(r.top)}}return n},bn=function(e,t,n,r){if(e&&t){var o=0,i=0,c=r.startsWith("bottom")||r.startsWith("top")?"vertical":"horizontal",a={height:e.offsetHeight,width:e.offsetWidth},l=oe(e),s={height:t.offsetHeight,width:t.offsetWidth},d=un(t,n),g=gn(e),u=g.bottom,b=g.left,p=g.right,I=g.top;"horizontal"===c&&(i=d.top+s.height/2-a.height/2-I,r.startsWith("left")&&(o=d.left-a.width-b-p),r.startsWith("right")&&(o=d.left+s.width),r.endsWith("-end")&&(i=d.top+s.height-a.height-I),r.endsWith("-start")&&(i=d.top-I)),"vertical"===c&&(o=d.left+s.width/2-a.width/2-b,r.startsWith("bottom")&&(i=d.top+s.height),r.startsWith("top")&&(i=d.top-a.height-u-I),r.endsWith("-end")&&(o=d.left+s.width-a.width-b),r.endsWith("-start")&&(o=d.left-b)),"floating"===n&&(o+=l.scrollLeft,i+=l.scrollTop),e.style.setProperty("--position-x","".concat(o,"px")),e.style.setProperty("--position-y","".concat(i,"px"))}},pn=function(e,t,n,o,i,a){var l=r((function(){return"sibling"===n&&null!=t&&t.current?oe(t.current):null}),[n,null==t?void 0:t.current]);c((function(){var r,c;i&&(r=new IntersectionObserver((function(r){r.forEach((function(r){var i,c=r.isIntersecting,l=r.target;l===(null==e?void 0:e.current)&&c&&function(e,t,n,r){var o=r.startsWith("bottom")||r.startsWith("top")?"vertical":"horizontal",i=oe(e),c=un(t.parentElement,n),a=0,l=0,s=gn(e),d=s.bottom,g=s.left,u=s.right,b=s.top;if("horizontal"===o){var p=dn("left",t,c,i,n),I=dn("right",t,c,i,n),h=p<e.offsetWidth+u,f=I<e.offsetWidth+g;(r.startsWith("left")&&h&&!f||r.startsWith("right")&&f&&!h)&&(a=(t.offsetWidth+e.offsetWidth+g+u)*(r.startsWith("left")?1:-1)),e.firstElementChild.style.setProperty("--translate-x","".concat(a,"px"))}if("vertical"===o){var C=dn("top",t,c,i,n),m=dn("bottom",t,c,i,n),v=C<e.offsetHeight+d,y=m<e.offsetHeight+b;(r.startsWith("bottom")&&y&&!v||r.startsWith("top")&&v&&!y)&&(l=(t.offsetHeight+e.offsetHeight+b+d)*(r.startsWith("top")?1:-1)),e.firstElementChild.style.setProperty("--translate-y","".concat(l,"px"))}}(null==e?void 0:e.current,null==t?void 0:t.current,n,o),l!==(null==e||null===(i=e.current)||void 0===i?void 0:i.firstElementChild)||c||a()}))}),{root:l,threshold:[0,1]}),r.observe(e.current),r.observe(null==e||null===(c=e.current)||void 0===c?void 0:c.firstElementChild));return function(){r&&r.disconnect()}}),[n,i,o,l])},In=function(e){var t=e.attachment,n=e.backgroundColor,r=e.border,l=e.children,s=e.closeDelay,u=e.margin,b=e.maxHeight,p=e.maxWidth,I=e.onHide,h=e.onOutOfView,f=e.onShow,C=e.open,m=e.openDelay,v=e.padding,x=e.placement,G=e.scrollable,X=e.setPopupRef,Z=e.textColor,w=e.toggleRef,W=e.trigger,H=i(),B=Y(o(C),2),J=B[0],k=B[1];!function(e,t,n,r,o){a((function(){o&&bn(null==e?void 0:e.current,null==t?void 0:t.current,n,r)}),[n,o,r,null==e?void 0:e.current])}(H,w,t,x,C),pn(H,w,t,x,C,h),function(e,t,n,r,o){var a=i(!1);c((function(){var i,c,l,s,d,g=function(){bn(null==e?void 0:e.current,null==t?void 0:t.current,n,r)};if(o){if(!a.current){var u=t.current.getBoundingClientRect(),b=u.height,p=u.left,I=u.top,h=u.width;c=b,l=p,s=I,d=h,a.current=!0}"floating"===n&&window.addEventListener("resize",g),i=new ResizeObserver((function(o){var i=Y(o,1)[0].contentRect,a=i.height,g=i.left,u=i.top,b=i.width;a===c&&g===l&&u===s&&b===d||(bn(null==e?void 0:e.current,null==t?void 0:t.current,n,r),c=a,l=g,s=u,d=b)})),i.observe(null==t?void 0:t.current)}return function(){window.removeEventListener("resize",g),i&&i.disconnect()}}),[n,o,r])}(H,w,t,x,C),function(e,t,n,r){c((function(){var o,i,c,a=0,l=0,s=function(t){var n,r,o,i,c,s,d,g,u=t.target,b=u.scrollLeft,p=u.scrollTop,I=a-b,h=l-p,f=parseInt(null==e||null===(n=e.current)||void 0===n||null===(r=n.style)||void 0===r?void 0:r.getPropertyValue("--position-x")),C=parseInt(null==e||null===(o=e.current)||void 0===o||null===(i=o.style)||void 0===i?void 0:i.getPropertyValue("--position-y"));null==e||null===(c=e.current)||void 0===c||null===(s=c.style)||void 0===s||s.setProperty("--position-x","".concat(f+I,"px")),null==e||null===(d=e.current)||void 0===d||null===(g=d.style)||void 0===g||g.setProperty("--position-y","".concat(C+h,"px")),a=b,l=p};return r&&"floating"===n&&(o=oe(null==t?void 0:t.current),a=null===(i=o)||void 0===i?void 0:i.scrollLeft,l=null===(c=o)||void 0===c?void 0:c.scrollTop,o!==document.documentElement&&o.addEventListener("scroll",s)),function(){o&&o.removeEventListener("scroll",s)}}),[n,r])}(H,w,t,C);var V=A(H,[{opacity:0}],{delay:s,duration:100,fill:"forwards",onFinished:function(){k(!1),null==I||I()}}),N=A(H,[{opacity:1}],{delay:m,duration:100,fill:"forwards",onFinished:function(){return null==f?void 0:f()},onStarted:function(){return k(!0)}});c((function(){return C?(V.pause(),N.play()):(N.pause(),V.play()),function(){V.cancel(),N.cancel()}}),[C]);var R=je(ln),F=g("div",{ref:function(e){H.current=e,X(e)},css:R.popup,style:{"--background-color":n,"--border":r,"--color":Z,"--margin":u,"--max-height":b,"--max-width":p,"--padding":v}},g("div",{css:d([R.popupContent,G&&R.popupContentScrollable,"hover"===W&&R.popupOnHover])},l));return(C||J)&&("sibling"===t?F:y.createPortal(F,document.body))},hn=function(e){var t=e.ariaDescription,n=e.ariaLabel,a=e.attachment,l=void 0===a?"sibling":a,s=e.backgroundColor,u=e.border,b=e.children,p=e.closeDelay,I=void 0===p?0:p,h=e.closeOnClickOutside,f=void 0===h||h,C=e.closeOnOutOfView,m=void 0!==C&&C,v=e.gapSize,y=e.id,A=e.margin,x=void 0===A?v:A,G=e.maxHeight,X=e.maxWidth,Z=e.onHide,w=e.onShow,W=e.open,H=void 0!==W&&W,B=e.openDelay,k=void 0===B?0:B,V=e.padding,N=e.placement,R=void 0===N?"bottom":N,F=e.popupPositionX,z=void 0===F?"right":F,L=e.popupPositionY,j=void 0===L?"below":L,S=e.position,O=void 0===S?{left:"auto",top:"auto"}:S,P=e.positionType,M=void 0===P?"relative":P,E=e.scrollable,D=void 0===E||E,T=e.setRef,Q=e.textColor,U=e.toggle,K=e.toggleCursor,q=e.trigger,_=void 0===q?"press":q,$=e.width;!function(e,t,n,r,o,i,c,a){sn('WJEC One Popup: The "gapSize" prop has been deprecated in favor of the more standard "margin" prop, and will be removed in a future version of the library',(function(){return void 0!==e}),[e]),sn('WJEC One Popup: The "popupPositionX" and "popupPositionY" props have been deprecated in favor of the new placement prop, which encompasses both. Please switch to using "placement" to avoid unexpected behavior in future versions of the library',(function(){return"right"!==t}),[t]),sn('WJEC One Popup: The "popupPositionX" and "popupPositionY" props have been deprecated in favor of the new placement prop, which encompasses both. Please switch to using "placement" to avoid unexpected behavior in future versions of the library',(function(){return"below"!==n}),[n]),sn('WJEC One Popup: The "position" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return'{"left":"auto","top":"auto"}'!==JSON.stringify(r)}),[r]),sn('WJEC One Popup: The "positionType" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return"relative"!==o}),[o]),sn('WJEC One Popup: The "setRef" prop has been deprecated as it is no longer required internally',(function(){return void 0!==i}),[i]),sn('WJEC One Popup: The "click" value for the "trigger" prop has been deprecated in favor of "press", which maintains the same functionality. The "click" option will be removed in a future version of the library, so switch to using "press" to avoid unexpected behavior',(function(){return"click"===c}),[c]),sn('WJEC One Popup: The "width" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',(function(){return"auto"!==a}),[a])}(v,z,j,O,M,T,_,void 0===$?"auto":$);var ee=i(),te=i(),ne=i(),re=Y(o(H),2),oe=re[0],ie=re[1],ce=Bt(t),ae=r((function(){return"right"!==z||"below"!==j?function(e,t){switch("".concat(e,"-").concat(t)){case"after-bottom":return"right-end";case"after-top":return"right-start";case"before-bottom":return"left-end";case"before-top":return"left-start";case"left-above":return"top-start";case"left-below":return"bottom-start";case"right-above":return"top-end";default:return"bottom"}}(z,j):R}),[R,z,j]);c((function(){H&&!oe&&de(),!H&&oe&&se()}),[H]),c((function(){return"hover"!==_&&f&&oe&&f&&window.addEventListener("click",le,{capture:!0}),function(){window.removeEventListener("click",le)}}),[f,oe,_]);var le=function(e){var t,n,r=e.target;r===ee.current||null!==(t=ee.current)&&void 0!==t&&t.contains(r)||null!==(n=te.current)&&void 0!==n&&n.contains(r)||se()},se=function(){ie(!1)},de=function(){ie(!0)},ge=je(ln);return Zt("--cursor",K,ee),Zt("--border",u,ee),g("div",J({"aria-label":n,ref:ee,css:ge.container,id:y},ce),g("span",{ref:ne,css:d([ge.toggle,"string"==typeof U&&ge.toggleString]),onClickCapture:"click"===_||"press"===_?function(){oe?se():de()}:null,onMouseEnter:"hover"===_?de:null,onMouseLeave:"hover"===_?se:null},U),g(In,{attachment:l,backgroundColor:s,border:u,closeDelay:I,margin:x,maxHeight:G,maxWidth:X,onHide:Z,onOutOfView:function(){return m&&ie(!1)},onShow:w,open:oe,openDelay:k,padding:V,placement:ae,scrollable:D,setPopupRef:function(e){return te.current=e},textColor:Q,toggleRef:ne,trigger:_},b))},fn=["ariaDescription","ariaLabel","border","children","id","maxWidth","placement","toggle","trigger"],Cn=function(e){var t=e.ariaDescription,n=e.ariaLabel,r=e.border,o=void 0===r?"0.5px solid #b9c2c6":r,i=e.children,c=e.id,a=e.maxWidth,l=e.placement,s=void 0===l?"bottom-start":l,d=e.toggle,u=void 0===d?g(nn,{css:mn.defaultToggle}):d,b=e.trigger,p=void 0===b?"hover":b,I=R(e,fn);return g(hn,J({ariaDescription:t,ariaLabel:n,border:o},I,{id:c,maxWidth:a,openDelay:"hover"===p?500:0,padding:"16px",placement:s,scrollable:!1,toggle:u,toggleCursor:"help",trigger:p}),i)},mn={defaultToggle:{name:"1pg8bi",styles:"height:20px;"}};function vn(){return vn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},vn.apply(null,arguments)}var yn,An=n((function(t,n){return e.createElement("svg",vn({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),tn||(tn=e.createElement("path",{d:"M10 6.667c.917 0 1.667-.75 1.667-1.667S10.917 3.333 10 3.333 8.333 4.083 8.333 5 9.083 6.667 10 6.667Zm0 1.666c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667 1.667-.75 1.667-1.667-.75-1.667-1.667-1.667Zm0 5c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667 1.667-.75 1.667-1.667-.75-1.667-1.667-1.667Z",fill:"currentColor"})))})),xn=function(e){var t=e.children,n=e.color,r=e.id,o=i(),c=je(Gn);return Zt("--color",n,o),g("span",{css:c.emphasis,id:r,ref:o},t)},Gn=function(e){var t=e.colorPalette;return{emphasis:d("--color:",t.neutralDark,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:16px;font-weight:700;line-height:24px;")}},Xn=function(e){var t=e.children,n=e.color,r=e.id,o=i(),c=je(Zn);return Zt("--color",n,o),g("p",{css:c.paragraph,id:r,ref:o},t)},Zn=function(e){var t=e.colorPalette;return{paragraph:d("--color:",t.font,';color:var(--color);font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;line-height:20px;margin:0 0 20px 0;white-space:pre-line;')}},wn=["ariaLabel","description","options","title","toggle"],Wn=function(e){return e&&e.length&&Object.hasOwn(e[0],"label")},Hn=function(e){var n=e.ariaLabel,r=e.description,o=e.options,i=e.title,a=e.toggle,l=void 0===a?g(vt,{icon:An,ariaLabel:n}):a,s=R(e,wn),u=Y(Le(),1)[0].colorPalette;c((function(){return function(e){var n=Wn(e)?e:e.reduce((function(e,t){var n=t.sectionOptions;return[].concat(z(e),z(n))}),[]);n.some((function(e){var n=e.icon,r=e.label;if(n&&!ue(t.createElement(n)))throw new Error('Icon for option "'.concat(r,'" must be a valid SVGComponent'))}))}(o)}),[o]);var b=function(e){return function(){ae(e.onClick)&&e.onClick()}},p=je(Vn),I=function(e){var t=e.additionalInfo,n=e.label,r=e.icon;return g("li",{key:n.toString(),css:p.menuItem,onClick:b(e)},r&&g(r,{css:p.menuItemIcon}),g("span",{css:p.menuItemLabel},n),t&&g("span",{css:"string"==typeof t?p.menuItemInfo:p.menuItemAction},t))};return g(hn,J({},s,{padding:0,popupPositionX:"right",popupPositionY:"below",toggle:l,ariaLabel:n}),(i||r)&&g("header",{css:p.header},i&&g(xn,null,i),r&&g(Xn,{color:u.fontLight},r)),g("ul",{css:d([Je,Be.scrollbar,p.menu])},o&&o.length&&(Wn(o)?o.map(I):o.map((function(e,t){var n=e.sectionTitle,r=e.sectionOptions;return g("li",{key:"section_".concat(n&&n.replace(/\s/g,"_")||t),css:p.section},n&&g("h4",{css:p.sectionTitle},n),g("ul",{css:d([p.subMenu,!n&&p.subMenuWithoutTitle])},r.map(I)))})))))},Bn=10,Jn={name:"jvw5bw",styles:"margin-right:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},kn={name:"1dacand",styles:"padding-top:0;"},Vn=function(e){var t=e.colorPalette;return{header:d("border-bottom:1px solid ",t.border,";margin:",Bn,"px;margin-bottom:0;min-width:250px;"),menu:d("font-family:'Montserrat',sans-serif;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:",Bn,"px;"),menuItem:d("align-items:center;border-radius:",Be.borderRadius,";color:",t.font,";cursor:pointer;display:flex;font-size:14px;line-height:20px;padding:",5,"px ",Bn,"px;&:hover{background-color:",t.neutral,";& > svg{color:",t.secondary,";}}&:not(:last-child){margin-bottom:",5,"px;}"),menuItemAction:d("display:inline-flex;margin-left:",20,"px;pointer-events:none;"),menuItemIcon:d("color:",t.fontLight,";flex-shrink:0;height:20px;margin-right:",Bn,"px;"),menuItemInfo:d("color:",t.fontLight,";font-size:11px;line-height:20px;margin-left:",20,"px;"),menuItemLabel:Jn,section:d("margin:0 -",Bn,"px;&:last-child{margin-bottom:-",Bn,"px;}&:not(:last-child){border-bottom:1px solid ",t.border,";margin-bottom:",Bn,"px;}"),sectionTitle:d("color:",t.fontLight,";font-size:11px;font-weight:600;letter-spacing:1px;line-height:20px;margin:0;padding:0 ",20,"px;text-transform:uppercase;"),subMenu:d("list-style:none;padding:",Bn,"px;"),subMenuWithoutTitle:kn}},Nn=function(e){var t=e.gap,n=void 0===t?0:t,r=e.id,i=e.items,a=e.onDrop,l=e.template,s=void 0===l?function(e){var t=e.Handle,n=e.item;return g(t,null,n.toString())}:l,u=Y(o(),2),b=u[0],p=u[1],I=Y(o(z(i)),2),h=I[0],f=I[1];c((function(){f(z(i))}),[i]);var C=function(e,t,n){var r=document.querySelector("[data-rbd-draggable-id='".concat(n,"']"));if(r){var o=r.clientHeight,i=r.clientWidth,c=r.parentElement,a=parseFloat(window.getComputedStyle(c).paddingTop),l=Array.from(c.children),s=[].concat(l);s.splice(e,1);var d=[].concat(z(s.slice(0,t)),[r],z(s.slice(t+1)));p({height:o,left:parseFloat(window.getComputedStyle(c).paddingLeft),top:a+d.slice(0,t).reduce((function(e,t){var n=window.getComputedStyle(t),r=parseFloat(n.marginBottom);return e+t.clientHeight+r}),0),width:i})}},m=je(Ln),v=function(e,t){return g(X,{key:i.indexOf(e),draggableId:i.indexOf(e).toString(),index:t},(function(r,o){var i=r.dragHandleProps,c=r.draggableProps,a=r.innerRef;return g("li",J({ref:a},c,{css:d([m.item,t<h.length-1&&{marginBottom:n}])}),s({item:e,Handle:function(e){var t=e.children,n=e.positionType,r=void 0===n?"relative":n,c=e.position,a=void 0===c?{}:c;return g("div",J({},i,{css:d([m.handle,N({position:r},a),o.isDragging&&m.handleGrabbing])}),t)},index:t,sortedItems:z(h)}))}))};return g(x,{onDragEnd:function(e){var t=e.destination,n=e.source;if(p(void 0),t){var r=z(h),o=r[n.index];r.splice(n.index,1),r.splice(t.index,0,o),ae(a)&&a(r),f(r)}},onDragStart:function(e){var t=e.draggableId,n=e.source;C(n.index,n.index,t)},onDragUpdate:function(e){var t=e.destination,n=e.draggableId,r=e.source;t&&C(r.index,t.index,n)}},g(G,{droppableId:"DragAndDropListDropZone"},(function(e,t){var n=e.droppableProps,o=e.innerRef,i=e.placeholder;return g("ul",J({ref:o},n,{css:d([m.list,t.isDraggingOver&&m.listDragging]),id:r}),h.map(v),i,b&&t.isDraggingOver&&g("div",{css:d([m.placeholder,b])}))})))},Rn={name:"ehba41",styles:"cursor:grab;"},Yn={name:"m2aufq",styles:"cursor:grabbing;"},Fn={name:"79elbk",styles:"position:relative;"},zn={name:"9y6172",styles:"user-select:none;"},Ln=function(e){var t=e.colorPalette;return{handle:Rn,handleGrabbing:Yn,item:Fn,list:d(Je,";list-style:none;margin:0;padding:0;position:relative;"),listDragging:zn,placeholder:d("border:2px dashed ",t.secondary,";border-radius:",Be.borderRadius,";position:absolute;")}},jn={dependencies:[],eventTarget:document.documentElement,shouldAddListener:!0},Sn=function(e,t,n){var r=N(N({},jn),n),o=r.dependencies,i=r.eventOptions,a=r.eventTarget,l=r.shouldAddListener,s="function"==typeof l?l():l,d=fe(a)?a.current:a;c((function(){return s&&d&&d.addEventListener(e,t,i),function(){d.removeEventListener(e,t)}}),[s,e,d].concat(z(o)))},On={description:d("color:",P.neutralDark,";display:block;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:16px;margin-top:4px;")},Pn=function(e){var t=e.children,n=e.id;return t?g("span",{css:On.description,id:n},t):null};function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Mn.apply(null,arguments)}var En,Dn=n((function(t,n){return e.createElement("svg",Mn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),yn||(yn=e.createElement("path",{d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Tn(){return Tn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Tn.apply(null,arguments)}var Qn,Un=n((function(t,n){return e.createElement("svg",Tn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),En||(En=e.createElement("path",{d:"m7.5 12 3 3 6-6m5.5 3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Kn(){return Kn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kn.apply(null,arguments)}var qn,_n,$n=n((function(t,n){return e.createElement("svg",Kn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Qn||(Qn=e.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),er={name:"13tmt62",styles:"display:block;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:600;line-height:16px;margin-top:4px;padding-left:24px;position:relative;white-space:pre-line;"},tr={name:"196io73",styles:"left:0;position:absolute;top:0;width:16px;"},nr=function(e){var t=e.colorPalette;return{status:er,statusError:d("color:",t.error,";"),statusIcon:tr,statusSuccess:d("color:",t.success,";"),statusWarning:d("color:",t.warning,";")}},rr=function(e){var t=e.children,n=e.id,o=e.status,i=je(nr),c=r((function(){var e;switch(o){case"error":e=Dn;break;case"success":e=Un;break;case"warning":e=$n}return e}),[o]),a=r((function(){var e;switch(o){case"error":e=i.statusError;break;case"success":e=i.statusSuccess;break;case"warning":e=i.statusWarning}return e}),[o]);return o&&t?g("span",{"aria-live":"polite",css:d([i.status,a],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkZpZWxkU3RhdHVzLmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUEwQ29DIiwiZmlsZSI6IkZpZWxkU3RhdHVzLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VNZW1vIH0gZnJvbSAncmVhY3QnO1xyXG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcclxuaW1wb3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1Y2Nlc3NJY29uO1xyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgIGNhc2UgJ3dhcm5pbmcnOlxyXG4gICAgICAgICAgICAgICAgaWNvbiA9IFdhcm5pbmdJY29uO1xyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgfVxyXG4gICAgICAgIHJldHVybiBpY29uO1xyXG4gICAgfSwgW3N0YXR1c10pO1xyXG4gICAgY29uc3Qgc3RhdHVzU3R5bGUgPSB1c2VNZW1vKCgpID0+IHtcclxuICAgICAgICBsZXQgc3R5bGU7XHJcbiAgICAgICAgc3dpdGNoIChzdGF0dXMpIHtcclxuICAgICAgICAgICAgY2FzZSAnZXJyb3InOlxyXG4gICAgICAgICAgICAgICAgc3R5bGUgPSBzdHlsZXMuc3RhdHVzRXJyb3I7XHJcbiAgICAgICAgICAgICAgICBicmVhaztcclxuICAgICAgICAgICAgY2FzZSAnc3VjY2Vzcyc6XHJcbiAgICAgICAgICAgICAgICBzdHlsZSA9IHN0eWxlcy5zdGF0dXNTdWNjZXNzO1xyXG4gICAgICAgICAgICAgICAgYnJlYWs7XHJcbiAgICAgICAgICAgIGNhc2UgJ3dhcm5pbmcnOlxyXG4gICAgICAgICAgICAgICAgc3R5bGUgPSBzdHlsZXMuc3RhdHVzV2FybmluZztcclxuICAgICAgICAgICAgICAgIGJyZWFrO1xyXG4gICAgICAgIH1cclxuICAgICAgICByZXR1cm4gc3R5bGU7XHJcbiAgICB9LCBbc3RhdHVzXSk7XHJcbiAgICByZXR1cm4gKHN0YXR1cyAmJiBjaGlsZHJlblxyXG4gICAgICAgID8gKDxzcGFuIGFyaWEtbGl2ZT0ncG9saXRlJyBjc3M9e1tzdHlsZXMuc3RhdHVzLCBzdGF0dXNTdHlsZV19IGlkPXtpZH0+XHJcbiAgICAgICAgICA8U3RhdHVzSWNvbiBjc3M9e3N0eWxlcy5zdGF0dXNJY29ufS8+XHJcbiAgICAgICAgICB7Y2hpbGRyZW59XHJcbiAgICAgICAgPC9zcGFuPilcclxuICAgICAgICA6IG51bGwpO1xyXG59O1xyXG5jb25zdCBnZXRTdHlsZXMgPSAoeyBjb2xvclBhbGV0dGUgfSkgPT4gKHtcclxuICAgIHN0YXR1czogY3NzIGBcclxuICAgIGRpc3BsYXk6IGJsb2NrO1xyXG4gICAgZm9udC1mYW1pbHk6ICdNb250c2VycmF0Jywgc2Fucy1zZXJpZjtcclxuICAgIGZvbnQtc2l6ZTogMTJweDtcclxuICAgIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbiAgICBsaW5lLWhlaWdodDogMTZweDtcclxuICAgIG1hcmdpbi10b3A6IDRweDtcclxuICAgIHBhZGRpbmctbGVmdDogMjRweDtcclxuICAgIHBvc2l0aW9uOiByZWxhdGl2ZTtcclxuICAgIHdoaXRlLXNwYWNlOiBwcmUtbGluZTtcclxuICBgLFxyXG4gICAgc3RhdHVzRXJyb3I6IGNzcyBgXHJcbiAgICBjb2xvcjogJHtjb2xvclBhbGV0dGUuZXJyb3J9O1xyXG4gIGAsXHJcbiAgICBzdGF0dXNJY29uOiBjc3MgYFxyXG4gICAgbGVmdDogMDtcclxuICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgIHRvcDogMDtcclxuICAgIHdpZHRoOiAxNnB4O1xyXG4gIGAsXHJcbiAgICBzdGF0dXNTdWNjZXNzOiBjc3MgYFxyXG4gICAgY29sb3I6ICR7Y29sb3JQYWxldHRlLnN1Y2Nlc3N9O1xyXG4gIGAsXHJcbiAgICBzdGF0dXNXYXJuaW5nOiBjc3MgYFxyXG4gICAgY29sb3I6ICR7Y29sb3JQYWxldHRlLndhcm5pbmd9O1xyXG4gIGBcclxufSk7XHJcbmV4cG9ydCBkZWZhdWx0IEZpZWxkU3RhdHVzO1xyXG4iXX0= */"),id:n},g(c,{css:i.statusIcon}),t):null};function or(){return or=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},or.apply(null,arguments)}var ir,cr,ar=n((function(t,n){return e.createElement("svg",or({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),qn||(qn=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),_n||(_n=e.createElement("path",{d:"M12 8v4m0 4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},lr.apply(null,arguments)}var sr,dr,gr=n((function(t,n){return e.createElement("svg",lr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ir||(ir=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),cr||(cr=e.createElement("path",{d:"m7.5 12 3 3 6-6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function ur(){return ur=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ur.apply(null,arguments)}var br,pr=n((function(t,n){return e.createElement("svg",ur({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),sr||(sr=e.createElement("path",{opacity:.4,d:"m2.39 18.098 8.225-14.206c.455-.785.682-1.178.979-1.31a1 1 0 0 1 .812 0c.297.132.524.525.979 1.31l8.225 14.206c.456.788.684 1.182.65 1.506a1 1 0 0 1-.406.705c-.263.191-.719.191-1.63.191H3.776c-.91 0-1.366 0-1.629-.191a1 1 0 0 1-.406-.705c-.034-.324.194-.718.65-1.506Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),dr||(dr=e.createElement("path",{d:"M12 9v4m0 4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Ir=function(e){var n=e.ariaLabel,o=e.autoComplete,c=e.description,l=e.disabled,s=e.icon,u=e.id,b=e.inputMode,p=e.label,I=e.maxCharacters,h=e.name,f=e.onBlur,m=e.onChange,v=e.onFocus,y=e.placeholder,A=e.readonly,x=e.required,G=e.restrictedCharacters,X=e.status,Z=e.statusIcon,w=void 0===Z?"error"===X?ar:"success"===X?gr:"warning"===X?pr:void 0:Z,W=e.statusIconBehavior,H=void 0===W?"status":W,B=e.statusMessage,J=e.suggestions,k=e.value,V=void 0===k?"":k,N=e.width;ot("WJEC-One Input: Icon must be a valid SVGComponent",(function(){return s&&!ue(t.createElement(s))}),[s]),ot("WJEC-One Input: Status icon must be a valid SVGComponent",(function(){return w&&!ue(t.createElement(w))}),[w]);var R=C(u),F=i(),z="".concat(R,"_description"),L="".concat(R,"_status"),j=i(),S=i(0),O=i(V),P=i(),M=r((function(){return"wjecOneInputSuggestions_".concat(R)}),[R]),E=r((function(){var e;return void 0!==G&&(e=new RegExp(G,"g")),e}),[G]),D=Y(Le(),1)[0],T=D.brand,Q=D.colorPalette,U=je(hr);a((function(){var e,t,n,r;null===(e=F.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(j.current.offsetTop,"px")),null===(n=P.current)||void 0===n||null===(r=n.style)||void 0===r||r.setProperty("--offset-top","".concat(j.current.offsetTop,"px"))})),a((function(){j.current.value=V,O.current=V}),[V]),Sn("selectionchange",(function(){document.activeElement===j.current&&(S.current=j.current.selectionEnd)}),{shouldAddListener:void 0!==G});var K=r((function(){switch(X){case"error":return{background:Q.errorBackground,border:Q.error};case"success":return{background:Q.successBackground,border:Q.success};case"warning":return{background:Q.warningBackground,border:Q.warning};default:return{background:"#FFFFFF",border:Q.border}}}),[T,X]),q=r((function(){return void 0!==w&&("custom"===H||void 0!==X)?w:void 0}),[X,w,H]),_="error"!==X&&"warning"!==X||!B?z:L,$=r((function(){return{"--background-color":K.background,"--border-color":K.border,"--margin-top":p&&"4px","--padding-left":s&&(A&&!l?"32px":"40px"),"--padding-right":w&&"40px"}}),[l,s,p,A,K,w]);return g("label",{"aria-label":n,css:U.label,htmlFor:R,style:{width:N},"data-disabled":l},p,g("input",{"aria-describedby":_,autoComplete:o,css:U.input,defaultValue:V,disabled:l,id:R,inputMode:b,list:J&&M,maxLength:I,name:h,onBlur:function(e){var t=e.relatedTarget;null==f||f(t)},onChange:function(e){var t=e.target.value;if(E){if(E.test(t)){var n=t.replace(E,""),r=n.length-O.current.length,o=S.current+r;j.current.value=n,j.current.setSelectionRange(o,o)}j.current.value!==O.current&&(null==m||m(j.current.value)),S.current=j.current.selectionEnd,O.current=j.current.value}else null==m||m(t)},onFocus:function(){null==v||v()},placeholder:y,readOnly:A,ref:j,required:x,style:$,type:"text"}),s&&g(s,{"aria-hidden":!0,css:d([U.icon,A&&!l&&{paddingLeft:"0"}]),"data-disabled":l,ref:F}),q&&g(q,{"aria-hidden":!0,css:d([U.icon,U.statusIcon]),"data-disabled":l,"data-status":"status"===H?X:void 0,ref:P}),g(Pn,{id:z},c),g(rr,{id:L,status:X},B),J&&g("datalist",{id:M},J.map((function(e,t){return g("option",{key:"".concat(e,"_").concat(t),value:e})}))))},hr=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;box-sizing:content-box;color:",t.neutralLight,';height:24px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:24px;&[data-disabled="true"]{color:',t.border,";}"),input:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;--padding-left:8px;--padding-right:8px;",ke,";background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",Be.borderRadius,";font-family:inherit;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);max-width:100%;outline:none;padding:4px var(--padding-right) 4px var(--padding-left);width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:read-only:not(:disabled){--padding-left:0;--padding-right:0;background-image:none;background-color:transparent;border-color:transparent;overflow:hidden;padding-left:var(--padding-left);text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",t.neutralLight,";}&::-webkit-calendar-picker-indicator{opacity:0;}"),label:d(Je,";",Ve,';display:inline-flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),statusIcon:d('left:unset;right:0;&[data-disabled="true"]{opacity:0.5;}&[data-status="error"]{color:',t.error,';}&[data-status="success"]{color:',t.success,';}&[data-status="warning"]{color:',t.warning,";}")}};function fr(){return fr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},fr.apply(null,arguments)}var Cr,mr,vr,yr=n((function(t,n){return e.createElement("svg",fr({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),br||(br=e.createElement("path",{d:"M15.25 4.758a.83.83 0 0 0-1.175 0L10 8.825 5.925 4.75A.83.83 0 1 0 4.75 5.925L8.825 10 4.75 14.075a.83.83 0 1 0 1.175 1.175L10 11.175l4.075 4.075a.83.83 0 1 0 1.175-1.175L11.175 10l4.075-4.075a.835.835 0 0 0 0-1.167Z",fill:"currentColor"})))}));function Ar(){return Ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ar.apply(null,arguments)}var xr,Gr=n((function(t,n){return e.createElement("svg",Ar({viewBox:"0 0 91 83",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Cr||(Cr=e.createElement("path",{opacity:.4,d:"M50.74 68.314 8.455 56.983c-3.017-.809-4.562-4.155-3.222-6.976l21.62-45.491a5 5 0 0 1 6.662-2.37l45.998 21.86c2.824 1.343 3.737 4.918 1.903 7.45L56.081 66.418a5 5 0 0 1-5.343 1.896Z",fill:"#B0C600"})),mr||(mr=e.createElement("path",{opacity:.4,d:"M0 38.726V26.507a5 5 0 0 1 4.079-4.914l53.991-10.12a5 5 0 0 1 4.381 1.305l26.221 25.134a5 5 0 0 1 1.256 5.272l-3.187 9.044a5 5 0 0 1-3.312 3.137l-50.593 14.8a5 5 0 0 1-4.953-1.278L1.45 42.247A5 5 0 0 1 0 38.728Z",fill:"#47BAD1"})),vr||(vr=e.createElement("path",{opacity:.8,d:"M53.75 46h-1.975l-.7-.675A16.178 16.178 0 0 0 55 34.75c0-8.975-7.275-16.25-16.25-16.25S22.5 25.775 22.5 34.75 29.775 51 38.75 51c4.025 0 7.725-1.475 10.575-3.925l.675.7v1.975l12.288 12.263a.3.3 0 0 0 .424 0l3.301-3.301a.3.3 0 0 0 0-.424L53.75 46Zm-15 0A11.235 11.235 0 0 1 27.5 34.75c0-6.225 5.025-11.25 11.25-11.25S50 28.525 50 34.75 44.975 46 38.75 46Z",fill:"#fff"})))})),Xr=function(e){var n=e.ariaLabel,a=e.ariaCloseLabel,l=e.ariaMultiselectable,s=e.ariaPosInSet,u=e.ariaSetSize,b=e.clearButtonBehaviour,p=void 0===b?"clear":b,I=e.expanded,h=e.filter,f=void 0===h||h,C=e.floatingList,m=e.floatingListPosition,v=void 0===m?{top:10}:m,y=e.icon,A=e.id,x=e.label,G=e.loading,X=e.maxHeight,Z=void 0===X?150:X,w=e.noMatchesMessage,W=void 0===w?"No matches were found":w,H=e.onChange,B=e.onFilter,J=e.optionKeyExtractor,k=e.optionTemplate,V=void 0===k?function(e){var n=e.option;return g(t.Fragment,null,n)}:k,R=e.options,F=e.placeholder,L=e.value,j=void 0===L?"":L,S=Y(Le(),1)[0].colorPalette;ot("WJEC-One FilterList: You must specify a keyExtractor if the options array contains non-primitive entry types",(function(){return!ge(R)&&!se(R)&&!J}),[J,R]);var O=i(),P=i(),M=i(),E=Y(o(j),2),D=E[0],T=E[1],Q=Y(o(0),2),U=Q[0],K=Q[1],q=Y(o(0),2),_=q[0],$=q[1],ee=Y(o("below"),2),te=ee[0],re=ee[1],oe=Y(o(0),2),ie=oe[0],ce=oe[1],de=Y(o(z(R)),2),ue=de[0],be=de[1],he=Y(o(),2),fe=he[0],Ce=he[1],me=Y(o([]),2),ve=me[0],ye=me[1],Ae=Y(o(1),2),xe=Ae[0],Ge=Ae[1],Xe=r((function(){return y&&pe(t.createElement(y,{color:S.fontLight}))}),[y]);c((function(){var e;(function(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return e.length===t.length&&e.every((function(e,r){return n?t[r]===e:t.includes(e)}))})(e=f&&D?R.filter((function(e,t){return Be(e,t).toString().toLowerCase().includes(D.toLowerCase())})):z(R),ue)||(ae(B)&&B(e),be(e))}),[D,f,R]),c((function(){!fe||R.length||D||We(),O.current.querySelector('input[type="text"]')===document.activeElement&&He()}),[D,R]),c((function(){I!==fe&&(I?He():We())}),[I]),c((function(){j!==D&&T(j)}),[j]),c((function(){return fe?(document.addEventListener("scroll",We,!0),window.addEventListener("click",Ze),window.addEventListener("resize",we)):(document.removeEventListener("scroll",We,!0),window.removeEventListener("click",Ze),window.removeEventListener("resize",we)),function(){document.removeEventListener("scroll",We,!0),window.removeEventListener("click",Ze),window.removeEventListener("resize",we)}}),[fe]),c((function(){Ge(1),P.current&&P.current.scrollTo({top:0})}),[ue]),c((function(){ye((function(e){var t=xe>1?z(e):[],n=50*xe-50,r=n+50;return t.length=50*(xe-1),[].concat(z(t),z(ue.slice(n,r).map(Re)))}))}),[ue,xe]);var Ze=function(e){var t=e.target;t===O.current||O.current.contains(t)||We()},we=Ie((function(){return He()}),{limit:250}),We=function(){M.current===document.activeElement&&O.current.querySelector('input[type="text"]').focus(),Ce(!1),Ge(1)},He=function(){if(R.length>0||!!D){var e=O.current.getBoundingClientRect(),t=e.top+e.height,n=window.innerHeight-t,r="below";if(!C){if(n<Z){var o=e.top;(o>Z||o>n)&&(r="above")}"below"===r?(K(Math.min(Z,window.innerHeight-t-10)),$(e.top+O.current.querySelector('input[type="text"]').offsetTop)):(K(Math.min(Z,e.top-10)),$(window.innerHeight-t-1))}re(r),ce(e.width),Ce(!0)}},Be=function(e,t){return le(e)?e.key:ne(e,J,t)},Je=function(e){var t="string"==typeof e?e:e.currentTarget.value;ae(H)&&H(t),T(t)},ke=Ie((function(e){var t=e.target;e.nativeEvent.stopImmediatePropagation(),t.scrollTop+2*t.clientHeight>t.scrollHeight&&50*xe<ue.length&&Ge((function(e){return e+1}))}),{beforeDelay:function(e){e.nativeEvent.stopImmediatePropagation(),e.persist()},limit:250}),Ve=je(zr),Ne=function(){return g("input",{ref:M,css:d([Ve.listInput,Xe&&[Ve.listInputWithIcon,{backgroundImage:Xe}]]),autoFocus:!0,onChange:Je,placeholder:F,value:D})},Re=function(e){var t=R.indexOf(e);return g("li",{"aria-posinset":s,"aria-setsize":u,key:Be(e,t)},V({option:e,index:t,filteredOptions:z(ue)}))};return g("div",{ref:O,css:Ve.container,id:A,onClick:function(e){var t=e.target;fe||t!==O.current.querySelector('input[type="text"]')||t!==document.activeElement||He()}},g(Ir,{"aria-label":n,"aria-multiselectable":l,icon:y,label:x,onChange:Je,onFocus:He,placeholder:F,value:D}),fe&&g("div",{"aria-expanded":!0,css:d([Ve.expandedContainer,"above"===te?[Ve.expandedContainerAbove,{bottom:_}]:{top:_},{width:ie},C&&[Ve.expandedContainerFloating,N(N({},v),{},{maxHeight:"calc(100% - ".concat(2*v.top,"px)")})]])},"below"===te&&Ne(),g(yr,{"aria-label":a,css:d([Ve.clearIcon,"above"===te&&Ve.clearIconAbove]),onClick:function(){"clear"!==p&&"clearAndClose"!==p||T(""),"clear"===p&&M.current.focus(),"clearAndClose"!==p&&"close"!==p||We()}}),g("div",{css:d([Ve.listContainer,"above"===te&&Ve.listContainerAbove]),onScroll:ke},g("ul",{ref:P,css:d([Ve.list,C&&Ve.listFloating,!C&&{maxHeight:U}])},ue.length?ve:g("li",{css:Ve.noResults},g(Gr,{css:Ve.noResultsIcon,"aria-hidden":!0}),W)),G&&g("div",{css:d([Ve.loading,"above"===te&&Ve.loadingAbove,!C&&{maxHeight:U}])},g(ct,null))),"above"===te&&Ne()))},Zr={name:"10eevtr",styles:"bottom:0;top:auto;"},wr={name:"oxdg22",styles:"&::before{bottom:30px;top:auto;}"},Wr={name:"j7qwjs",styles:"display:flex;flex-direction:column;"},Hr={name:"yp8oic",styles:"display:flex;margin:2px 0 1px;min-height:0px;position:relative;"},Br={name:"p49ge0",styles:"margin:1px 0 2px;"},Jr={name:"11cgomd",styles:"max-height:initial;"},kr={name:"1ireg3o",styles:"background:center left 6px / 20px no-repeat;border:none;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;margin-top:-1px;outline:none;padding:5px 35px 5px 10px;width:100%;"},Vr={name:"267yq8",styles:"padding-left:35px;"},Nr={name:"1fk9trn",styles:"align-items:center;background-color:rgba(255,255,255,0.75);bottom:0;display:flex;height:100%;justify-content:center;left:0;position:absolute;right:0;"},Rr={name:"9cuppe",styles:"bottom:auto;top:0;"},Yr={name:"m2y6eh",styles:"align-items:center;display:flex;flex-direction:column;justify-content:center;padding:10px 0;"},Fr={name:"1bkzip4",styles:"width:91px;"},zr=function(e){var t=e.colorPalette;return{clearIcon:d("color:",t.fontLight,";cursor:pointer;height:30px;padding:5px;position:absolute;right:0;top:0;&:hover{color:",t.font,";}"),clearIconAbove:Zr,container:d(Je,";display:inline-block;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;position:relative;& > label{width:100%;}"),expandedContainer:d("background-color:#fff;border:1px solid ",t.border,";border-radius:",Be.borderRadius,";box-shadow:",Be.dropShadow,";position:fixed;z-index:1;&::before{border-bottom:1px solid ",t.border,";content:'';left:8px;position:absolute;right:8px;top:30px;}"),expandedContainerAbove:wr,expandedContainerFloating:Wr,list:d(Be.scrollbar,";list-style:none;margin:0;overflow:auto;padding:8px 10px 9px;width:100%;"),listContainer:Hr,listContainerAbove:Br,listFloating:Jr,listInput:kr,listInputWithIcon:Vr,loading:Nr,loadingAbove:Rr,noResults:Yr,noResultsIcon:Fr}},Lr=function(e){var t=e.ariaDescription,n=e.ariaLabel,r=e.children,o=e.clearButton,i=void 0===o?"Clear":o,c=e.clearId,a=e.id,l=e.onClear,s=e.onSubmit,u=e.otherActions,b=e.submitButton,p=void 0===b?"Submit":b,I=e.submitId,h=e.width,f=Bt(t);return g("form",J({"aria-label":n,css:d({width:h}),id:a,onReset:function(e){e.preventDefault(),ae(l)&&l()},onSubmit:function(e){e.preventDefault(),ae(s)&&s()}},f),r,g("section",{css:jr.controls},i&&g(ut,{buttonType:"reset",id:c,label:i}),g("div",{css:jr.submit},p&&g(Gt,{buttonType:"submit",id:I,label:p})),u&&g(Hn,{options:u})))},jr={controls:{name:"7zpthm",styles:"display:flex;justify-content:space-between;margin-top:30px;"},submit:{name:"5prljc",styles:"margin-left:auto;&:not(:last-of-type){margin-right:5px;}"}};function Sr(){return Sr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Sr.apply(null,arguments)}var Or,Pr,Mr=n((function(t,n){return e.createElement("svg",Sr({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),xr||(xr=e.createElement("path",{d:"m7.5 13.475-2.892-2.892a.83.83 0 1 0-1.175 1.175l3.484 3.484a.83.83 0 0 0 1.175 0l8.816-8.817a.83.83 0 1 0-1.175-1.175L7.5 13.475Z",fill:"currentColor"})))})),Er=function(e){var t=e.ariaLabel,n=e.checked,o=void 0!==n&&n,c=e.children,l=e.description,s=e.disabled,u=e.id,b=e.label,p=e.labelOverflow,I=void 0===p?"wrap":p,h=e.loading,f=e.onChange,m=e.size,v=void 0===m?"default":m,y=e.status,A=e.statusMessage,x=C(u),G=Y(Le(),1)[0],X=G.brand,Z=G.colorPalette,w=je(Ur),W=i();a((function(){W.current.checked=o}),[o]);var H=r((function(){switch(y){case"error":return{background:Z.errorBackground,border:Z.error};case"success":return{background:Z.successBackground,border:Z.success};case"warning":return{background:Z.warningBackground,border:Z.warning};default:return{}}}),[X,y]),B=r((function(){return{"--background-color":H.background,"--border-color":H.border}}),[b,H]);return g("div",{css:w.container},g("input",{css:w.checkbox,defaultChecked:o,disabled:s,id:x,onChange:function(e){var t=e.target.checked;ae(f)&&f(t)},ref:W,type:"checkbox","data-loading":h}),g("label",{"aria-label":t,css:d([w.label,"small"===v&&w.labelSmall]),htmlFor:x,onClick:function(e){return e.stopPropagation()},style:B},h&&g("div",{css:w.loadingIcon},g(ct,{color:Z.primary,size:"small"===v?"extraSmall":"default"})),(b||c)&&g("span",{css:w.labelContent,"data-overflow":I},b||c)),g(Pn,null,l),g(rr,{status:y},A))},Dr={name:"7n37re",styles:"display:inline-flex;flex-direction:column;min-width:0;"},Tr={name:"kynfrz",styles:'display:inline-block;font-family:inherit;&[data-overflow="ellipsis"]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}'},Qr={name:"qxnk73",styles:"--dimensions:16px;font-size:10px;gap:4px;"},Ur=function(e){var t=e.colorPalette;return{checkbox:d(Be.visiblyHidden," &:checked + label::before{background-image:",pe(g(Mr,{color:t.primary})),";background-size:cover;}&:checked:disabled + label::before{background-image:",pe(g(Mr,{color:t.border})),";}&:disabled + label{color:",t.border,";cursor:not-allowed;&::before{background-color:",t.neutral,";border-color:",t.border,";}}&:focus + label::before{border-color:",t.primary,";}"),container:Dr,label:d("--background-color:#FFFFFF;--border-color:",t.border,";--dimensions:40px;",Je,";align-items:center;color:",t.font,";cursor:pointer;display:inline-flex;font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;gap:8px;line-height:16px;position:relative;&:active::before,&:focus-within::before{border-color:",t.primary,"}&::before{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",Be.borderRadius,";content:'';display:inline-block;flex-shrink:0;height:var(--dimensions);width:var(--dimensions);}"),labelContent:Tr,labelSmall:Qr,loadingIcon:d("align-items:center;background-color:var(--background-color);border-radius:",Be.borderRadius,";display:flex;height:calc(var(--dimensions) - 2px);justify-content:center;left:1px;position:absolute;top:1px;width:calc(var(--dimensions) - 2px);")}};function Kr(){return Kr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Kr.apply(null,arguments)}var qr,_r,$r=n((function(t,n){return e.createElement("svg",Kr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Or||(Or=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Pr||(Pr=e.createElement("path",{d:"M12 6v6l4 2",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function eo(){return eo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},eo.apply(null,arguments)}var to,no=n((function(t,n){return e.createElement("svg",eo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),qr||(qr=e.createElement("path",{opacity:.4,d:"M21 10H3",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),_r||(_r=e.createElement("path",{d:"M16 2v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 19.72 21 18.88 21 17.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 4 17.88 4 16.2 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 22 6.12 22 7.8 22Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),ro=function(e){var t=e.date,n=e.disabled,l=e.id,s=e.label,u=e.maxDate,b=e.maxTime,p=void 0===b?"":b,I=e.minDate,h=e.minTime,f=void 0===h?"":h,C=e.onChangeDate,m=e.onChangeTime,v=e.placeholder,y=e.readonly,A=e.required,x=e.time,G=e.type,X=void 0===G?"dateTime":G,Z=e.validationMessage,w=e.width,W=Y(o(""),2),H=W[0],B=W[1],J=je(oo),k=i(),V=i();c((function(){B("dateTime"===X?t?te({date:t,format:"yyyy-MM-ddT".concat(x||"HH:mm")}):"":"date"===X?t?ee({date:t,format:"yyyy-MM-dd"}):"":x||"")}),[t,x,X]),a((function(){var e,t;null===(e=k.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(V.current.offsetTop,"px"))}));var N=r((function(){return"time"===X?$r:no}),[X]),R=r((function(){return"dateTime"===X?"datetime-local":X}),[X]),F=r((function(){return!(!u||!I)&&("00:00:00"===u.toTimeString().substring(0,8)&&"00:00:00"===I.toTimeString().substring(0,8))}),[u,I]),z=r((function(){if("date"===X||"dateTime"===X){var e=u||("dateTime"===X&&p?new Date:void 0),t="dateTime"===X?"yyyy-MM-ddT".concat(p||(F?"23:59":"HH:mm")):"yyyy-MM-dd";return e?te({date:e,format:t}):p}return p}),[u,p,X]),L=r((function(){if("date"===X||"dateTime"===X){var e=I||("dateTime"===X&&f?new Date:void 0),t="dateTime"===X?"yyyy-MM-ddT".concat(f||(F?"00:00":"HH:mm")):"yyyy-MM-dd";return e?te({date:e,format:t}):f}return f}),[I,f,X]);return g("label",{css:d([J.label,w&&{width:w}])},s,g("input",{css:J.input,disabled:n,id:l,max:z,min:L,onChange:function(e){var t=e.target,n=t.value,r=t.valueAsNumber,o=new Date(r),i=n.substring(n.indexOf("T")+1);Z&&t.setCustomValidity(""),B(n),Z&&!t.checkValidity()&&(t.setCustomValidity(Z),t.reportValidity()),"date"!==X&&"dateTime"!==X||!ae(C)||C(o),"dateTime"!==X&&"time"!==X||!ae(m)||m(i)},placeholder:v,readOnly:y,ref:V,required:A,type:R,value:H}),!n&&g(N,{"aria-hidden":!0,css:J.icon,"data-disabled":n,ref:k}))},oo=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;color:",t.neutralLight,";cursor:pointer;height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&:hover{color:",t.neutralDark,';}&[data-disabled="true"]{color:',t.border,";}"),input:d("background-color:#fff;border:1px solid ",t.border,";border-radius:",Be.borderRadius,";font-family:'Montserrat',sans-serif;font-size:16px;height:40px;max-width:100%;outline:none;padding:4px 8px 4px 40px;position:relative;transition:border-color 0.05s linear,padding 0.05s linear;width:100%;&:disabled{background-color:",t.neutral,";color:",t.fontLight,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:invalid{border-color:",t.error,";}&:read-only{background-color:transparent;background-image:none;border-color:transparent;overflow:hidden;padding-left:0;padding-right:0;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",t.fontLight,";}&::-webkit-calendar-picker-indicator{background-color:pink;cursor:pointer;height:40px;left:0;opacity:0;padding:0;position:absolute;top:0;width:40px;}"),label:d(Je,";",Ve,";display:inline-flex;flex-direction:column;position:relative;width:100%;")}},io=function(e){var t=e.ariaLabel,n=e.breadcrumb,r=e.children,o=e.href,i=e.id,c=e.target,a=je(co),l=N({},"newTab"===c?{target:"_blank",rel:"noopener noreferrer"}:{});return g("a",J({"aria-label":t,href:o,css:d([a.link,n&&a.withBreadcrumb]),id:i},l),r||o)},co=function(e){var t=e.colorPalette;return{link:d("color:",t.primaryDark,";font-family:'Montserrat',sans-serif;font-size:16px;font-weight:500;line-height:24px;"),withBreadcrumb:d("color:",t.fontLight,";margin-right:40px;text-decoration:none;position:relative;&:not(:last-of-type)::after{background-image:",pe(g(we,{color:t.fontLight})),";background-repeat:no-repeat;background-size:contain;bottom:5px;content:'';height:20px;margin-bottom:-6px;margin-left:10px;position:absolute;right:-30px;width:20px;}&:hover{border-bottom:1px solid ",t.fontLight,";}")}},ao=["id","label","readonly","value"],lo=function(e){var t=e.id,n=e.label,r=e.readonly,o=e.value,i=R(e,ao),c=je(go);return r?g("label",{css:c.label,id:t},g("span",{css:c.labelText},n),g(io,{href:"mailto:".concat(o)},o)):g(Ir,J({label:n,value:o},i))},so={name:"r7q7qr",styles:"margin-bottom:5px;"},go=function(e){var t=e.colorPalette;return{label:d(Je,";color:",t.font,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;"),labelText:so}};function uo(){return uo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},uo.apply(null,arguments)}var bo,po=n((function(t,n){return e.createElement("svg",uo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),to||(to=e.createElement("path",{d:"M12 5v14m-7-7h14",stroke:"#FAFCFC",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",opacity:.6})))}));function Io(){return Io=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Io.apply(null,arguments)}var ho,fo=n((function(t,n){return e.createElement("svg",Io({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),bo||(bo=e.createElement("path",{d:"M5.333 21.656a6 6 0 0 1 2.773-10.964 8.002 8.002 0 0 1 15.788 0 6 6 0 0 1 2.773 10.964m-16-.323L16 16m0 0 5.333 5.333M16 16v12",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Co=function(e){var t=e.files,n=e.height,r=e.placeholderTitle,o=e.width,c=e.ariaLabel,a=e.browseLabel,l=void 0===a?"Browse":a,s=e.description,d=e.displaySize,u=void 0===d?"medium":d,b=e.id,p=e.label,I=void 0===p?r:p,h=e.max,f=e.maxFileSize,m=e.multiple,v=e.onError,y=e.onSelect,A=e.placeholderDescription,x=void 0===A?"large"===u?"Drag & drop ".concat(m?"files":"a file"):"Drag & drop ".concat(m?"files":"a file"," or click to upload"):A,G=e.status,X=e.statusMessage,Z=e.validExtensions,w=e.validTypes;sn('WJEC One FileInput: The "files" prop has been deprecated because this component no longer persists/displays a list of selected files',(function(){return void 0!==t}),[t]),sn('WJEC One FileInput: The "height" prop has been deprecated because the component now has preset sizes as determined by the "displaySize" prop',(function(){return void 0!==n}),[n]),sn('WJEC One FileInput: The "placeholderTitle" prop has been deprecated in favor of the new "label" prop',(function(){return void 0!==r}),[r]),sn('WJEC One FileInput: The "width" prop has been deprecated because the component now has preset sizes as determined by the "displaySize" prop',(function(){return void 0!==o}),[o]);var W=i(),H=i(),B=C(b),J=function(e){return m?void 0===h||e<=h:e<=1},k=function(e){var t=e.length,n=[],r=[],o=[],i=[];J(t)?(e.forEach((function(e){var t=function(e){var t=e.name,n=t.substring(t.lastIndexOf("."));return void 0===Z||Z.includes(n)}(e),c=function(e){var t=e.size;return void 0===f||t<=f}(e),a=function(e){var t=e.type;return void 0===w||w.includes(t)}(e);t&&c&&a&&i.push(e),t||n.push(e),c||r.push(e),a||o.push(e)})),i.length>0&&ae(y)&&y(i)):ae(v)&&v([{code:"MAX_FILES_EXCEEDED",details:{maxCount:h||1,selectedCount:t}}]),(n.length||r.length||o.length)&&ae(v)&&v([n.length&&{code:"INVALID_FILE_EXTENSION",details:{files:n}},r.length&&{code:"INVALID_FILE_SIZE",details:{files:r}},o.length&&{code:"INVALID_FILE_TYPE",details:{files:o}}].filter((function(e){return e})))},V=je(vo);return g("label",{css:V.label,htmlFor:B},I,g("div",{css:V.container,onDragEnter:function(e){var t=e.dataTransfer.items.length,n=J(t);be(e.nativeEvent),W.current.setAttribute("data-drag-state",n?"valid":"invalid")},onDragLeave:function(e){be(e.nativeEvent),W.current.removeAttribute("data-drag-state")},onDragOver:function(e){be(e.nativeEvent)},onDrop:function(e){be(e);var t=Array.from(e.dataTransfer.files);k(t),W.current.removeAttribute("data-drag-state")},ref:W,"data-display-size":u,"data-status":G},g("input",{"aria-label":c,css:Be.visiblyHidden,id:B,multiple:m,onChange:function(e){var t=Array.from(e.currentTarget.files);k(t)},ref:H,type:"file",value:""}),g(fo,{css:V.uploadIcon,"aria-hidden":!0}),x&&g("p",{css:V.description},x),"large"===u&&g(Gt,{icon:po,label:l,onPress:function(){H.current.click()}})),g(Pn,null,s),g(rr,{status:G},X))},mo={name:"o1srjj",styles:"display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:14px;gap:4px;line-height:16px;& > span{margin-top:0;}"},vo=function(e){var t=e.colorPalette;return{container:d("--icon-size:32px;",Je,";align-items:center;border:2px dashed ",t.border,";border-radius:",Be.borderRadius,";cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:600;gap:8px;justify-content:center;line-height:24px;max-height:var(--max-height);max-width:var(--max-width);padding:16px;position:relative;transition:border-color 0.1s linear;&:focus-within{outline:2px solid ",t.primary,";outline-offset:-2px;}&:hover{background-color:",t.neutral,";border-color:",t.secondary,';}&[data-display-size="small"]{--icon-size:24px;display:inline-flex;flex-direction:row;font-weight:400;height:40px;padding:8px;}&[data-status="error"]{background-color:',t.errorBackground,";border-color:",t.error,';}&[data-status="success"]{background-color:',t.successBackground,";border-color:",t.success,';}&[data-status="warning"]{background-color:',t.warningBackground,";border-color:",t.warning,';}&[data-drag-state="valid"]{border-color:',t.secondary,';}&[data-drag-state="invalid"]{border-color:',t.error,";}"),description:d("color:",t.neutralLight,";margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"),label:mo,uploadIcon:d("color:",t.neutralLight,";flex-shrink:0;width:var(--icon-size);")}};function yo(){return yo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},yo.apply(null,arguments)}var Ao,xo,Go=n((function(t,n){return e.createElement("svg",yo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ho||(ho=e.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Xo(){return Xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Xo.apply(null,arguments)}var Zo,wo,Wo,Ho=n((function(t,n){return e.createElement("svg",Xo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ao||(Ao=e.createElement("path",{opacity:.12,d:"M9 12a3 3 0 0 0 5.121 2.121L9.88 9.88A2.99 2.99 0 0 0 9 12Z",fill:"currentColor"})),xo||(xo=e.createElement("path",{d:"M10.742 5.092C11.15 5.032 11.569 5 12 5c5.105 0 8.455 4.505 9.58 6.287.137.215.205.323.243.49.028.125.028.322 0 .447-.038.166-.107.274-.244.492-.3.474-.757 1.141-1.363 1.865M6.724 6.715c-2.162 1.467-3.63 3.504-4.303 4.57-.137.217-.206.325-.244.492a1.173 1.173 0 0 0 0 .446c.038.167.107.274.243.49C3.545 14.495 6.895 19 12 19c2.058 0 3.832-.732 5.288-1.723M3 3l18 18M9.879 9.879a3 3 0 1 0 4.243 4.243",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}));function Bo(){return Bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bo.apply(null,arguments)}var Jo,ko=n((function(t,n){return e.createElement("svg",Bo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Zo||(Zo=e.createElement("path",{opacity:.12,d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",fill:"currentColor"})),wo||(wo=e.createElement("path",{d:"M2.42 12.713c-.136-.215-.205-.323-.243-.49a1.173 1.173 0 0 1 0-.446c.038-.167.107-.274.243-.49C3.545 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.028.125.028.322 0 .446-.038.167-.107.274-.243.49C20.455 14.495 17.105 19 12 19s-8.455-4.505-9.58-6.287Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Wo||(Wo=e.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Vo=function(e){var t=e.gridArea,n=e.highlightColor,o=e.highlighted,c=e.show,l=e.ariaLabel,s=e.autoComplete,d=void 0===s?"current-password":s,u=e.description,b=e.disabled,p=e.id,I=e.label,h=e.name,f=e.onChange,v=e.onToggleRevealPassword,y=e.placeholder,A=e.revealPassword,x=void 0===A?void 0!==c&&c:A,G=e.showIcon,X=void 0===G||G,Z=e.status,w=e.statusMessage,W=e.value,H=void 0===W?"":W;!function(e){var t=e.gridArea,n=e.highlighted,r=e.highlightColor,o=e.show;sn('WJEC One Password: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==t}),[t]),sn('WJEC One Password: The "highlighted" prop has been deprecated because highlighting an input component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override',(function(){return void 0!==n}),[n]),sn('WJEC One Password: The "highlightColor" prop has been deprecated due to its association with the deprecated `highlighted` prop',(function(){return void 0!==r}),[r]),sn('WJEC One Password: The "show" prop has been replaced with the new "revealPassword" prop, which has identical functionality but more clearly represents its intent',(function(){return void 0!==o}),[o])}({gridArea:t,highlightColor:n,highlighted:o,show:c});var B=i(),k=i(),V=i(),N=Y(Le(),1)[0],R=N.brand,F=N.colorPalette,z=C(),L=r((function(){return p||z}),[z,p]);a((function(){var e=!b&&x;V.current.setAttribute("aria-pressed",e.toString()),k.current.setAttribute("type",e?"text":"password")}),[b,x]),a((function(){k.current.value=H}),[H]),a((function(){var e,t;null===(e=B.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(k.current.offsetTop,"px")),V.current.style.setProperty("--offset-top","".concat(k.current.offsetTop,"px"))}));var j=r((function(){switch(Z){case"error":return{background:F.errorBackground,border:F.error};case"success":return{background:F.successBackground,border:F.success};case"warning":return{background:F.warningBackground,border:F.warning};default:return{}}}),[R,Z]),S=je(Ro),O=r((function(){return{"--background-color":j.background,"--border-color":j.border,"--margin-top":I&&"4px","--padding-left":!X&&"8px"}}),[I,X,j]),P=m({"aria-label":l,"aria-pressed":!b&&x,isDisabled:b,onPress:function(){var e=!b&&"true"!==V.current.getAttribute("aria-pressed");V.current.setAttribute("aria-pressed",e.toString()),k.current.setAttribute("type",e?"text":"password"),ae(v)&&v(e)},type:"button"},V).buttonProps;return g("label",{"aria-label":l,css:S.label,htmlFor:L,"data-disabled":b},I,g("input",{ref:k,autoComplete:d,css:S.input,defaultValue:H,disabled:b,id:L,name:h,onChange:function(e){var t=e.target.value;ae(f)&&f(t)},placeholder:y,style:O,type:!b&&x?"text":"password"}),X&&g(Go,{"aria-hidden":!0,css:S.icon,"data-disabled":b,ref:B}),g("button",J({},P,{css:S.revealPassword,name:"Reveal password",ref:V})),g(Pn,null,u),g(rr,{status:Z},w))},No={name:"1ynvfur",styles:"font-size:12px;margin-top:4px;"},Ro=function(e){var t=e.colorPalette;return{description:No,icon:d("--offset-top:0;color:",t.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',t.border,";}"),input:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;--padding-left:40px;",ke,";background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",Be.borderRadius,";font-family:inherit;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);max-width:100%;outline:none;padding:4px 40px 4px var(--padding-left);width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;+ button{background-image:",pe(g(Ho,{color:t.border})),';&[aria-pressed="true"]{background-image:',pe(g(ko,{color:t.border})),";}}}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,";}"),label:d(Je,";",Ve,';display:inline-flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),revealPassword:d("--offset-top:0;background:transparent ",pe(g(Ho,{color:t.neutralLight}))," center / 24px no-repeat;border:none;color:",t.neutralLight,";cursor:pointer;position:absolute;height:40px;padding:4px 8px;right:0;top:var(--offset-top);width:40px;&:disabled{background-image:",pe(g(Ho,{color:t.border})),";pointer-events:none;}&:focus{outline-color:",t.primary,';outline-width:1px;}&[aria-pressed="true"]{background-image:',pe(g(ko,{color:t.primary})),";color:",t.primary,";}")}},Yo=function(e){var n=e.ariaLabel,o=e.description,c=e.disabled,l=e.gridArea,s=e.keyExtractor,d=e.highlightedOption,u=e.id,b=e.label,p=e.labelExtractor,I=e.name,h=e.onSelect,f=e.options,m=e.orientation,v=void 0===m?"horizontal":m,y=e.selectedOption,A=e.status,x=e.statusMessage;sn('WJEC One RadioGroup: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==l}),[l]),ot("WJEC-One RadioGroup: You must specify a keyExtractor if the options array contains non-primitive entry type",(function(){return!ge(f)&&!se(f)&&!s}),[s]),sn("WJEC One CheckBox: This prop has been deprecated because highlighting options within a RadioGroup component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override",(function(){return void 0!==d}),[d]);var G=C(u),X=i();a((function(){if(y){var e=X.current.querySelectorAll('input[type="radio"]'),t=f.indexOf(y),n=B(y,t),r=Array.from(e).find((function(e){return e.value===n}));r&&(r.checked=!0)}}),[f,y]);var Z=Y(Le(),1)[0],w=Z.brand,W=Z.colorPalette,H=r((function(){switch(A){case"error":return{background:W.errorBackground,border:W.error};case"success":return{background:W.successBackground,border:W.success};case"warning":return{background:W.warningBackground,border:W.warning};default:return{}}}),[w,A]),B=function(e,t){return le(e)?e.key:ne(e,s,t)},J=function(e){return function(){ae(h)&&h(e)}},k=je(zo),V=r((function(){return{"--background-color":H.background,"--border-color":H.border,"--flex-direction":"vertical"===v&&"column","--flex-gap":"vertical"===v&&"16px 8px","--margin-top":b&&"4px"}}),[b,v,H]);return g("label",{css:k.label,id:G,"data-disabled":c||void 0},b,g("fieldset",{css:k.container,ref:X,style:V},f.map((function(e,r){var o=B(e,r),i=r===f.indexOf(y);return g(t.Fragment,{key:o},g("input",{css:k.radioButton,defaultChecked:i,disabled:c,id:"".concat(G,"_").concat(r),name:I||G,onChange:J(e),type:"radio",value:o}),g("label",{"aria-label":n,css:k.radioButtonContainer,htmlFor:"".concat(G,"_").concat(r)},le(e)?e.label:re(e,p,r)))}))),g(Pn,null,o),g(rr,{status:A},x))},Fo={name:"14uy2ws",styles:"align-items:center;cursor:pointer;display:flex;&::before{background-clip:content-box;border:1px solid var(--border-color);border-radius:50%;box-shadow:0 0 0 var(--shadow-size) var(--shadow-color) inset;content:'';display:inline-block;height:40px;margin-right:8px;padding:8px;width:40px;}"},zo=function(e){var t=e.colorPalette;return{container:d("--background-color:#FFFFFF;--border-color:",t.border,";--flex-direction:row;--flex-gap:8px 16px;--margin-top:0;--shadow-color:var(--background-color);--shadow-size:16px;",Je,";align-items:flex-start;border:none;display:flex;flex-direction:var(--flex-direction);flex-wrap:wrap;gap:var(--flex-gap);margin:var(--margin-top) 0 0;padding:0;"),label:d(Ve,';&[data-disabled="true"]{color:',t.border,";}"),radioButton:d(Be.visiblyHidden," position:absolute;&:checked + label::before{--shadow-size:8px;background-color:",t.primary,";padding:6px;}&:disabled + label{--border-color:",t.border,";--shadow-color:",t.neutral,";color:",t.border,";cursor:not-allowed;&::before{background-color:",t.border,";}}&:focus + label::before{--border-color:",t.primary,";}"),radioButtonContainer:Fo}};function Lo(){return Lo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Lo.apply(null,arguments)}var jo,So=n((function(t,n){return e.createElement("svg",Lo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Jo||(Jo=e.createElement("path",{d:"m6 9 6 6 6-6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Oo={name:"1ynvfur",styles:"font-size:12px;margin-top:4px;"},Po={name:"801txx",styles:"font-size:12px;font-weight:600;margin-top:4px;padding-left:24px;position:relative;"},Mo={name:"ezpkst",styles:"left:0;position:absolute;top:50%;transform:translateY(-50%);width:16px;"},Eo=function(e){var t=e.colorPalette;return{description:Oo,icon:d("--offset-top:0;box-sizing:content-box;color:",t.neutralLight,';height:24px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:24px;&[data-disabled="true"]{color:',t.border,";}"),label:d(Je,";",Ve,';display:flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',t.border,";}"),select:d("--background-color:#FFFFFF;--border-color:",t.border,";--margin-top:0;--padding-left:8px;appearance:none;background:var(--background-color) ",pe(g(So,{color:t.neutralLight}))," calc(100% - 8px) center / 24px no-repeat;border:1px solid var(--border-color);border-radius:",Be.borderRadius,";color:",t.neutralDark,";font-family:'Montserrat',sans-serif;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);outline:none;padding:4px 40px 4px var(--padding-left);width:100%;&:disabled{background-color:",t.neutral,";background-image:",pe(g(So,{color:t.border})),";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,";}& > option{&:disabled{color:",t.border,";}}"),status:Po,statusError:d("color:",t.error,";"),statusIcon:Mo,statusSuccess:d("color:",t.success,";"),statusWarning:d("color:",t.warning,";")}},Do=function(e,t,n){var r;return le(e)?e.key:null===(r=ne(e,t,function(e,t){return t.findIndex((function(t){return t===e||To(t)&&t.options.includes(e)}))}(e,n)))||void 0===r?void 0:r.toString()},To=function(e){return he(e)&&Object.hasOwn(e,"options")&&Object.hasOwn(e,"label")&&"string"==typeof e.label},Qo=function(e){var t=e.blankOption,n=e.description,o=e.disabled,c=e.disabledOptions,l=e.icon,s=e.id,d=e.label,u=e.name,b=e.onSelect,p=e.optionKeyExtractor,I=e.optionLabelExtractor,h=e.options,f=e.placeholder,m=e.selectedOption,v=e.status,y=e.statusMessage;sn("WJEC One Select: You have provided a list of options that contains duplicate primitive values. This is not recommended and may lead to unexpected behavior, but if you really want to do this then you need to supply a keyExtractor so that it is possible to differentiate between the duplicate options (doing so will also suppress this warning)",(function(){var e=new Set;return h.some((function(t){return!(!To(t)||!ge(t.options)||(n=t.options,new Set(n).size===n.length))||(!!e.has(t)||(e.add(t),!1));var n}))&&!p}),[p,h]),ot("WJEC One Select: You must specify a keyExtractor if the options array contains non-primitive entry types",(function(){return h.some((function(e){if(To(e)){var t=e.options,n=ge(t),r=se(t);return!(n||r||p)}return!(de(e)||le(e)||p)}))}),[p,h]);var A=i(),x=Y(Le(),1)[0],G=x.brand,X=x.colorPalette,Z=i(),w=C(s),W="".concat(w,"_description"),H="".concat(w,"_status"),B=r((function(){return m?Do(m,p,h):""}),[p,h,m]);a((function(){Z.current&&(Z.current.value=B)}),[B]),a((function(){var e,t;null===(e=A.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(Z.current.offsetTop,"px"))}));var J=r((function(){switch(v){case"error":return{background:X.errorBackground,border:X.error};case"success":return{background:X.successBackground,border:X.success};case"warning":return{background:X.warningBackground,border:X.warning};default:return{}}}),[G,v]),k=function(e,t){var n=Do(e,p,h);return g("option",{disabled:null==c?void 0:c.includes(e),key:n,value:n},le(e)?e.label:re(e,I,t))},V="error"!==v&&"warning"!==v||!y?W:H,N=je(Eo),R=r((function(){return{"--background-color":J.background,"--border-color":J.border,"--margin-top":d&&"4px","--padding-left":l&&"40px"}}),[l,d,J]);return g("label",{css:N.label,htmlFor:w,"data-disabled":o},d,g("select",{"aria-describedby":V,css:N.select,defaultValue:B,disabled:o,id:w,name:u,onChange:function(e){var t=function(e,t,n){var r;return n.find((function(o){if(To(o))r=o.options.find((function(r){return Do(r,t,n)===e}));else{var i=Do(o,t,n);r=i===e?o:void 0}return void 0!==r})),r}(e.target.value,p,h);ae(b)&&b(t)},ref:Z,style:R},f&&g("option",{disabled:!0,hidden:!0,value:""},f),t&&g("option",{value:""}),h.map((function(e,t){return To(e)?g("optgroup",{key:e.label,label:e.label},e.options.map((function(e){return k(e,t)}))):k(e,t)}))),l&&g(l,{"aria-hidden":!0,css:N.icon,"data-testid":"icon","data-disabled":o,ref:A}),g(Pn,{id:W},n),g(rr,{id:H,status:v},y))},Uo=function(e){var t=e.ariaDescription,n=e.ariaLabel,i=e.disabled,a=e.gridArea,l=e.height,s=void 0===l?"auto":l,u=e.id,b=e.label,p=e.maxCharacters,I=e.maxHeight,h=void 0===I?"100%":I,f=e.maxWidth,C=void 0===f?"100%":f,m=e.onChange,v=e.placeholder,y=e.readonly,A=e.resizable,x=void 0!==A&&A,G=e.showCount,X=void 0===G||G,Z=e.value,w=void 0===Z?"":Z,W=e.width,H=void 0===W?"100%":W;sn('WJEC One TextArea: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',(function(){return void 0!==a}),[a]);var k=Y(o(w),2),V=k[0],R=k[1],F=Bt(t);c((function(){w!==V&&R(w)}),[w]);var z=je(Ko),L=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.excludeIfFalse,o=t.excludeIfFalsy,i=t.excludeIfNull,c=void 0===i||i,a=t.excludeIfUndefined,l=void 0===a||a,s=r((function(){return Object.entries(e).reduce((function(e,t){var r=Y(t,2),i=r[0],a=r[1];return n&&!1===a||o&&!a||c&&null===a||l&&void 0===a?e:N(N({},e),{},B({},function(e){var t=e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase();return t.startsWith("data-")||(t="data-".concat(t)),t}(i),String(a)))}),{})}),[e]);return s}({"data-current-value-length":null==V?void 0:V.length},{excludeIfFalse:!0});return g("label",J({"aria-label":n},L,{css:d([z.label,a&&{gridArea:a},X&&d("&::after{content:attr(data-current-value-length) '",void 0!==p&&"/".concat(p),"';}"),{maxWidth:C,width:H}]),"data-max-count":p}),b,g("textarea",J({id:u,css:d([Be.scrollbar,z.textarea,{height:s,maxHeight:h,resize:x?"both":"none"}]),value:V,placeholder:v,onChange:function(e){var t=e.target.value;R(t),ae(m)&&m(t)},readOnly:y,disabled:i,maxLength:p},y?{tabIndex:-1}:{},F)))},Ko=function(e){var t=e.colorPalette;return{label:d(Je,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:11px;line-height:20px;&::after{color:",t.fontLight,";display:inline-block;font-size:12px;font-family:'Montserrat',sans-serif;margin:5px 5px 0 0;text-align:right;}"),textarea:d("border:1px solid ",t.border,";border-radius:",Be.borderRadius,";color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:20px;outline:none;padding:10px;text-overflow:ellipsis;white-space:nowrap;&:disabled{background-color:",t.neutral,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&:not(:read-only){transition:border-color 0.05s linear;}")}};function qo(){return qo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qo.apply(null,arguments)}var _o,$o=n((function(t,n){return e.createElement("svg",qo({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),jo||(jo=e.createElement("path",{d:"m7.5 13.475-2.892-2.892a.83.83 0 1 0-1.175 1.175l3.484 3.484a.83.83 0 0 0 1.175 0l8.816-8.817a.83.83 0 1 0-1.175-1.175L7.5 13.475Z",fill:"currentColor"})))})),ei=["onCancelled","onFinished","onStarted","playImmediately"],ti=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.onCancelled,o=n.onFinished,c=n.onStarted,l=n.playImmediately,s=R(n,ei),d=i(),g=function(){var n,i,a,l=null===(n=e.current)||void 0===n?void 0:n.animate(t,s);return null==c||c(),null==l||null===(i=l.finished)||void 0===i||null===(a=i.catch((function(){return null==r?void 0:r()})))||void 0===a||a.finally((function(){return null==o?void 0:o()})),d.current=l,l};return a((function(){l&&g()}),[]),{cancel:function(){var e;null===(e=d.current)||void 0===e||e.cancel()},pause:function(){var e;null===(e=d.current)||void 0===e||e.pause()},play:g,get playState(){var e;return null===(e=d.current)||void 0===e?void 0:e.playState}}},ni=function(e){var t=r((function(){return window.matchMedia(e)}),[e]),n=Y(o((function(){return null==t?void 0:t.matches})),2),i=n[0],a=n[1];return c((function(){var e=function(e){return a(e.matches)};return null==t||t.addEventListener("change",e),function(){null==t||t.removeEventListener("change",e)}}),[t]),i},ri=function(e){c((function(){return e}),[])},oi=function(e){var t,n,r,o,c=e.ariaLabel,l=e.disabled,s=e.id,d=e.label,u=e.on,b=void 0!==u&&u,p=e.onChange,I=e.size,h=void 0===I?"default":I,f=e.value,v=i(),y=C(s),A="true"===(null===(t=v.current)||void 0===t?void 0:t.getAttribute("aria-pressed")),x=ni("(prefers-reduced-motion)");n=function(){b!==A&&(A=b,v.current.setAttribute("aria-pressed",b.toString()),x||G.play())},r=[b,x],o=i(!0),a((function(){var e;return o.current?o.current=!1:e=n(),e}),r),ri((function(){o.current=!0}));var G=ti(v,[{height:"calc(var(--toggle-dimensions) - 2px)",left:0,margin:"calc(var(--toggle-margin) + 1px)",width:"calc(var(--toggle-dimensions) - 2px)"},{height:"var(--toggle-dimensions)",margin:"var(--toggle-margin)",marginLeft:"calc(var(--toggle-margin) + 1px)",width:"calc(var(--track-width) - calc(var(--toggle-margin) * 2))"},{left:"unset",height:"var(--toggle-dimensions)",margin:"var(--toggle-margin)",right:"calc(100% - var(--track-width))",width:"var(--toggle-dimensions)"}],{direction:A?"reverse":"normal",duration:200,easing:"ease-in-out",iterations:1,pseudoElement:"::after"}),X=je(ii),Z=m({"aria-label":c,"aria-pressed":b,id:y,isDisabled:l,onPress:function(){A=!A,v.current.setAttribute("aria-pressed",A.toString()),x||G.play(),ae(p)&&p(A)}},v).buttonProps;return g("label",{css:X.label,htmlFor:y},d,g("button",J({},Z,{css:X.toggleButton,ref:v,"data-size":h}),f))},ii=function(e){var t=e.colorPalette;return{label:d(Je,";",Ve,";cursor:pointer;display:inline-flex;flex-direction:column;font-size:16px;gap:4px 8px;&:has(:disabled){color:",t.border,';cursor:not-allowed;}&:has([data-size="small"]){font-size:10px;gap:4px;}'),toggleButton:d("--highlight-size:30px;--toggle-offset:0;--toggle-dimensions:18px;--track-height:24px;--track-width:48px;--toggle-margin:calc(calc(var(--track-height) - var(--toggle-dimensions)) / 2);align-items:center;background-color:transparent;border:0;border-radius:calc(var(--track-height) / 2);color:",t.neutralDark,";cursor:inherit;display:flex;font-family:'Montserrat',sans-serif;font-size:inherit;font-weight:400;gap:inherit;line-height:var(--track-height);outline-color:",t.primary,';outline-offset:3px;padding:0;position:relative;text-align:left;width:max-content;&[data-size="small"]{--highlight-size:20px;--toggle-dimensions:12px;--track-height:16px;--track-width:32px;}&:not(:disabled):active{--shadow-color:',Ce(t.neutralLight,.3),';&[aria-pressed="true"]{--shadow-color:',Ce(t.primary,.3),";}&::after{box-shadow:0 0 0 calc(calc(var(--highlight-size) - var(--toggle-dimensions)) / 2) var(--shadow-color);}}&:disabled{color:",t.border,";&::after{background-color:",t.border,';}}&:not(:disabled):hover{&::after{background-color:#9DAAAF;}&[aria-pressed="true"]::after{background-color:',t.primaryDark,";}}&:after{background-color:",t.neutralLight,";border-radius:12px;content:'';display:block;height:calc(var(--toggle-dimensions) - 2px);left:0;margin:calc(var(--toggle-margin) + 1px);position:absolute;width:calc(var(--toggle-dimensions) - 2px);}&:before{background-color:#FFFFFF;border:1px solid ",t.border,";border-radius:calc(var(--track-height) / 2);content:'';display:block;flex-shrink:0;height:var(--track-height);position:relative;width:var(--track-width);}&[aria-pressed=\"true\"]{--icon-size:calc(var(--toggle-dimensions) - 2px);--toggle-offset:calc(var(--track-width) / 2);&::after{background-color:",t.primary,";background-image:",pe(g($o,{color:"#fff"})),";background-position:center right calc(calc(var(--toggle-dimensions) - var(--icon-size)) / 2);background-repeat:no-repeat;background-size:var(--icon-size);height:var(--toggle-dimensions);left:unset;margin:var(--toggle-margin);right:calc(100% - var(--track-width));width:var(--toggle-dimensions);}&::before{background-color:",t.primaryLightest,";border-color:",t.primary,";}&:disabled{&::after{background-color:",t.border,";}&::before{background-color:",t.offWhite,";border-color:",t.border,";}}}")}};function ci(){return ci=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ci.apply(null,arguments)}var ai,li=n((function(t,n){return e.createElement("svg",ci({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),_o||(_o=e.createElement("path",{d:"M12 12h.005M17 12h.005M7 12h.005M5.2 7h13.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C22 8.52 22 9.08 22 10.2v3.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C20.48 17 19.92 17 18.8 17H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 15.48 2 14.92 2 13.8v-3.6c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 7 4.08 7 5.2 7Zm7.05 5a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Zm5 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Zm-10 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),si=function(e){var t=e.description,n=e.disabled,r=e.id,o=e.label,l=e.maxLength,s=void 0===l?6:l,d=e.onChange,u=e.placeholder,b=void 0===u?"e.g. 123456":u,p=e.showIcon,I=void 0===p||p,h=e.status,f=e.statusMessage,m=i(),v=i(),y=i(0),A=i(""),x=C(r),G="".concat(x,"_description"),X="".concat(x,"_status");c((function(){var e=function(){document.activeElement===v.current&&(y.current=v.current.selectionEnd)};return document.addEventListener("selectionchange",e),function(){document.removeEventListener("selectionchange",e)}}),[]),a((function(){var e,t;null===(e=m.current)||void 0===e||null===(t=e.style)||void 0===t||t.setProperty("--offset-top","".concat(v.current.offsetTop,"px"))}));var Z=je(di),w="error"!==h&&"warning"!==h||!f?G:X;return g("label",{css:Z.label,"data-disabled":n},o,I&&g(li,{"aria-hidden":!0,css:Z.icon,"data-disabled":n,ref:m}),g("input",{"aria-describedby":w,autoComplete:"one-time-code",css:Z.input,disabled:n,id:x,inputMode:"numeric",maxLength:s,onChange:function(e){var t=e.target.value;ae(d)&&d(t)},onInput:function(){if(/[^0-9]/g.test(v.current.value)){var e=v.current.value.replace(/[^0-9]/g,""),t=e.length-A.current.length,n=y.current+t;v.current.value=e,v.current.setSelectionRange(n,n)}y.current=v.current.selectionEnd,A.current=v.current.value},placeholder:b,ref:v,type:"text","data-status":h}),g(Pn,{id:G},t),g(rr,{id:X,status:h},f))},di=function(e){var t=e.colorPalette;return{icon:d("--offset-top:0;color:",t.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',t.border,";}& + input{padding-left:40px;}"),input:d(ke,";background-color:#FFFFFF;border:1px solid ",t.border,";border-radius:",Be.borderRadius,";font-family:inherit;font-feature-settings:'tnum';font-size:16px;height:40px;line-height:24px;max-width:100%;outline:none;padding:4px 8px;width:100%;&:disabled{background-color:",t.neutral,";border-color:",t.border,";color:",t.border,";cursor:not-allowed;}&:focus{border-color:",t.primary,";}&::placeholder{color:",t.neutralLight,';}&:not(:placeholder-shown){letter-spacing:8px;}&[data-status="error"]{background-color:',t.errorBackground,";border-color:",t.error,';}&[data-status="success"]{background-color:',t.successBackground,";border-color:",t.success,';}&[data-status="warning"]{background-color:',t.warningBackground,";border-color:",t.warning,";}"),label:d(Je,";",Ve,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;gap:4px;position:relative;&[data-disabled=\"true\"]{color:",t.border,";}")}};function gi(){return gi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},gi.apply(null,arguments)}var ui,bi,pi,Ii,hi,fi=n((function(t,n){return e.createElement("svg",gi({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ai||(ai=e.createElement("path",{d:"M15.25 4.758a.83.83 0 0 0-1.175 0L10 8.825 5.925 4.75A.83.83 0 1 0 4.75 5.925L8.825 10 4.75 14.075a.83.83 0 1 0 1.175 1.175L10 11.175l4.075 4.075a.83.83 0 1 0 1.175-1.175L11.175 10l4.075-4.075a.835.835 0 0 0 0-1.167Z",fill:"currentColor"})))})),Ci=function(e){var t=e.ariaDescription,n=e.ariaCloseLabel,a=e.borderColor,l=e.children,s=e.icon,d=void 0===s?ar:s,u=e.iconColor,b=e.id,p=e.onClose,I=void 0===p?null:p,h=e.open,f=void 0===h?null:h,C=e.showCloseIcon,m=void 0!==C&&C,v=e.title,y=e.titleColor,A=Y(Le(),1)[0],x=A.brand,G=A.colorPalette,X=i(),Z=Bt(t),w=Y(o(!0),2),W=w[0],H=w[1],B=je(xi);c((function(){null!=f&&H(f)}),[f]);var k=r((function(){return a||G.secondary}),[x,a]),V=r((function(){return u||G.secondaryDark}),[x,u]),N=r((function(){return y||G.secondaryDark}),[x,y]);return Zt("--border-color",k,X),Zt("--icon-color",V,X),Zt("--title-color",N,X),W?g("div",J({css:B.infoCardMain,style:{padding:m||I?"16px 36px 16px 16px":"16px"},id:b,ref:X},Z),g(d,{css:B.icon,"aria-hidden":!0}),g("div",null,v&&g("h3",{css:B.title},v),g("p",{css:B.message},l)),(m||I)&&g(fi,{"aria-label":n,css:B.close,id:"close",onClick:function(){H(!1),null==I||I()}})):null},mi={name:"oofjv5",styles:"cursor:pointer;height:36px;outline:none;padding:10px;position:absolute;right:0;top:0;width:36px;"},vi={name:"1i9s3a8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;width:24px;"},yi={name:"1uk1gs8",styles:"margin:0;"},Ai={name:"172fn9d",styles:"color:var(--title-color);font-weight:600;margin:0 0 4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},xi=function(e){var t=e.colorPalette;return{close:mi,icon:vi,infoCardMain:d("--border-color:",t.secondary,";--icon-color:",t.secondaryDark,";--title-color:",t.secondaryDark,";background-color:#ffffff;border:1px solid var(--border-color);border-radius:",Be.borderRadius,";box-shadow:",Be.dropShadow,";display:flex;font-family:'Montserrat',sans-serif;font-size:16px;gap:16px;line-height:24px;padding:16px;position:relative;"),message:yi,title:Ai}},Gi=function(e){var t=Y(Le(),1)[0].colorPalette;return g(Ci,J({},e,{borderColor:t.error,icon:pr,iconColor:t.error,titleColor:t.errorDark}))},Xi=function(e){var t=Y(Le(),1)[0].colorPalette;return g(Ci,J({},e,{borderColor:t.success,icon:gr,iconColor:t.success,titleColor:t.successDark}))},Zi=function(e){var t=Y(Le(),1)[0].colorPalette;return g(Ci,J({},e,{borderColor:t.warning,icon:pr,iconColor:t.warning,titleColor:t.warningDark}))};function wi(){return wi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wi.apply(null,arguments)}var Wi,Hi,Bi,Ji,ki,Vi=n((function(t,n){return e.createElement("svg",wi({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ui||(ui=e.createElement("path",{d:"M27.565 14.13c-.134-10.058-10.33-8.59-11.991-8.283a.203.203 0 0 0-.156.262l2.16 6.588c.1.303.417.479.726.4 5.147-1.298 8.369.613 9.102 1.118a.101.101 0 0 0 .16-.085",fill:"#BDBCBC"})),bi||(bi=e.createElement("path",{d:"M27.858 14.13C27.992 4.072 38.19 5.54 39.85 5.848c.121.022.194.145.123.363l-2.22 6.77c-.033.102-.248.218-.456.163-5.25-1.388-8.537.562-9.279 1.072a.101.101 0 0 1-.159-.085",fill:"#E65000"})),pi||(pi=e.createElement("path",{d:"M28.851 8.37c2.36-6.255 9.127-6.033 10.522-5.918.13.01.216.14.175.265l-.692 2.11a.101.101 0 0 1-.107.069c-6.007-.667-8.716 2.088-9.72 3.566-.067.1-.22.02-.178-.092",fill:"#69B3E6"})),Ii||(Ii=e.createElement("path",{d:"m38.78.266-.415 1.267a.102.102 0 0 1-.096.07c-4.79.048-7.351 2.563-8.428 4.005-.074.099-.227.005-.172-.105.923-1.859 3.414-5.44 8.915-5.503a.203.203 0 0 1 .196.266Z",fill:"#FABD34"})),hi||(hi=e.createElement("path",{d:"M4.325 40C1.485 40 0 37.687 0 35.4c0-2.27 1.486-4.57 4.325-4.57 2.15 0 3.383 1.331 3.435 1.388a.716.716 0 0 1-1.057.966c-.042-.045-.888-.922-2.378-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.494 0 2.36-.93 2.369-.94a.716.716 0 0 1 1.071.95C7.714 38.636 6.48 40 4.325 40ZM32.96 40c-2.84 0-4.325-2.313-4.325-4.6 0-2.27 1.485-4.57 4.324-4.57 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 0 1-1.056.966c-.042-.045-.888-.922-2.379-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.495 0 2.361-.93 2.37-.94a.716.716 0 0 1 1.07.95c-.05.058-1.284 1.422-3.44 1.422ZM14.142 28.887a.715.715 0 0 1-.409-1.304c1.24-.86 1.345-2.47 1.332-3.122v-7.402a.716.716 0 0 1 1.432 0v7.354c.016.904-.14 3.093-1.948 4.346a.71.71 0 0 1-.407.128ZM33.002 25.513c-2.839 0-4.325-2.313-4.325-4.599 0-2.271 1.486-4.571 4.325-4.571 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 0 1-1.056.966c-.043-.046-.89-.922-2.379-.922-1.987 0-2.893 1.627-2.893 3.14 0 1.525.906 3.167 2.893 3.167 1.492 0 2.338-.906 2.373-.945a.718.718 0 0 1 1.01-.05c.291.263.319.71.058 1.004-.052.058-1.286 1.422-3.44 1.422M11.539 16.34a.716.716 0 0 0-.716.716v5.207c0 1.007-.82 1.826-1.826 1.826h-.053a1.828 1.828 0 0 1-1.826-1.826v-5.207a.716.716 0 1 0-1.432 0v5.207c0 1.007-.819 1.826-1.825 1.826h-.054a1.828 1.828 0 0 1-1.825-1.826v-5.207a.716.716 0 0 0-1.432 0v5.207a3.261 3.261 0 0 0 3.257 3.257h.054c1.027 0 1.944-.48 2.541-1.225a3.251 3.251 0 0 0 2.542 1.225h.053a3.261 3.261 0 0 0 3.258-3.257v-5.207a.716.716 0 0 0-.716-.716ZM13.314 30.822c-.891 0-1.605.262-2.154.663v-3.314a.715.715 0 1 0-1.43 0v9.72a.71.71 0 0 0 .082.33c.038.072.95 1.76 3.502 1.76 1.32 0 2.44-.508 3.238-1.466.696-.835 1.08-1.946 1.08-3.126 0-1.064-.35-2.14-.957-2.953-.55-.736-1.581-1.614-3.361-1.614Zm0 7.729c-.905 0-1.49-.301-1.817-.551a.866.866 0 0 1-.337-.693v-3.038c0-.659.526-2.017 2.154-2.017 2.284 0 2.888 2.052 2.888 3.137 0 1.523-.904 3.162-2.888 3.162M22.885 16.347c-1.774 0-2.773.87-3.297 1.598-.78 1.082-.896 2.325-.896 2.97 0 1.18.384 2.29 1.08 3.126.799.958 1.918 1.465 3.238 1.465 2.152 0 3.384-1.362 3.435-1.42a.714.714 0 0 0-1.07-.948c-.008.01-.873.938-2.365.938-1.669 0-2.574-1.159-2.82-2.434h5.98c.396 0 .716-.32.716-.714 0-2.28-1.238-4.58-4-4.58Zm-2.716 3.866c.33-2.31 2.294-2.436 2.716-2.436 1.835 0 2.364 1.476 2.514 2.436h-5.23ZM26.877 32.586c-.038-.072-.95-1.759-3.502-1.759-2.834 0-4.318 2.297-4.318 4.567 0 1.18.384 2.29 1.08 3.126.799.959 1.918 1.465 3.238 1.465l.034-.001c.876-.007 1.58-.268 2.122-.666a.715.715 0 0 0 1.427-.047v-6.353a.719.719 0 0 0-.081-.332Zm-1.348 3.953c0 .658-.527 2.017-2.154 2.017-2.285 0-2.888-2.052-2.888-3.137 0-1.523.904-3.162 2.888-3.162.905 0 1.489.3 1.817.55a.868.868 0 0 1 .337.694v3.038Z",fill:"#009FE3"})))}));function Ni(){return Ni=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ni.apply(null,arguments)}var Ri,Yi=n((function(t,n){return e.createElement("svg",Ni({viewBox:"0 0 298 154",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Wi||(Wi=e.createElement("path",{d:"M235.171 71.957c-.671-50.518-51.708-43.14-60.018-41.605a1.02 1.02 0 0 0-.781 1.318l10.817 33.09a3.034 3.034 0 0 0 3.629 2.007c25.761-6.52 41.889 3.08 45.557 5.613.339.234.8-.01.796-.423Z",fill:"#BDBCBC"})),Hi||(Hi=e.createElement("path",{d:"M236.637 71.957c.671-50.518 51.709-43.14 60.019-41.605.603.112.971.732.613 1.826l-11.109 34c-.17.515-1.242 1.095-2.283.818-26.278-6.969-42.732 2.822-46.443 5.384a.508.508 0 0 1-.797-.423Z",fill:"#F1511B"})),Bi||(Bi=e.createElement("path",{d:"M241.607 43.024C253.419 11.61 287.286 12.723 294.27 13.3c.654.055 1.082.708.879 1.332l-3.463 10.597a.507.507 0 0 1-.54.346c-30.062-3.348-43.624 10.49-48.645 17.914-.336.497-1.106.097-.894-.466Z",fill:"#69B3E6"})),Ji||(Ji=e.createElement("path",{d:"m291.304 2.325-2.08 6.363a.51.51 0 0 1-.477.35c-23.975.245-36.795 12.875-42.185 20.115-.369.496-1.134.025-.859-.527 4.619-9.335 17.083-27.32 44.621-27.637.696-.01 1.197.671.98 1.336Z",fill:"#FABD34"})),ki||(ki=e.createElement("path",{d:"M223.864 112.447c0 3.308-2.635 10.135-10.779 10.135-11.435 0-14.454-10.307-14.454-15.757 0-7.65 4.522-15.883 14.454-15.883 4.528 0 7.452 1.514 9.095 2.766 1.078.821 1.684 2.124 1.684 3.481v15.258Zm-10.779-28.685c-14.186 0-21.61 11.54-21.61 22.937 0 5.93 1.919 11.507 5.401 15.701 3.999 4.814 9.602 7.36 16.209 7.36.058 0 .113-.007.173-.01 4.383-.033 7.905-1.343 10.618-3.343a3.581 3.581 0 0 0 3.565 3.353 3.583 3.583 0 0 0 3.577-3.589V94.262c0-.579-.142-1.151-.408-1.665-.187-.359-4.753-8.835-17.525-8.835ZM7.8 103.21c1.655-11.596 11.482-12.232 13.596-12.232 9.184 0 11.83 7.41 12.582 12.232H7.8Zm13.596-19.412c-8.88 0-13.878 4.365-16.504 8.023C.992 97.256.41 103.5.41 106.736c0 5.929 1.919 11.505 5.4 15.699 4.001 4.815 9.604 7.361 16.21 7.361 10.77 0 16.938-6.842 17.195-7.131a3.597 3.597 0 0 0-.306-5.066 3.565 3.565 0 0 0-5.046.306c-.043.048-4.376 4.713-11.843 4.713-8.353 0-12.883-5.825-14.11-12.227h29.932a3.58 3.58 0 0 0 3.577-3.589c0-11.449-6.192-23.004-20.022-23.004Zm237.237 19.499a48.905 48.905 0 0 1-1.565-.412c-7.068-2.034-9.221-3.672-9.221-7.011 0-3.09 3.077-4.933 8.237-4.933 4.615 0 9.241 2.6 9.294 2.633a3.574 3.574 0 0 0 4.877-1.33 3.596 3.596 0 0 0-1.319-4.9c-.255-.146-6.29-3.583-12.852-3.583-7.664 0-15.392 3.747-15.392 12.113 0 9.765 9.368 12.463 14.404 13.911.539.156 1.14.307 1.778.471 5.852 1.488 8.462 2.819 8.462 6.78 0 1.513-.447 2.623-1.411 3.483-2.062 1.846-6.037 2.321-9.065 1.977-5.52-.634-9.229-3.095-9.918-3.582-1.506-1.07-3.628-.844-4.828.563a3.598 3.598 0 0 0 .757 5.34c1.391.977 6.202 4.012 13.178 4.812.834.093 1.726.149 2.653.149 4.054 0 8.759-1.013 11.985-3.902 2.487-2.226 3.804-5.284 3.804-8.84 0-10.216-9.362-12.595-13.858-13.739ZM131.276 83.762a3.585 3.585 0 0 0-3.577 3.591v24.193c0 6.084-4.934 11.036-10.998 11.036-6.067 0-11.001-4.952-11.001-11.036V87.353a3.585 3.585 0 0 0-3.576-3.591 3.585 3.585 0 0 0-3.578 3.591v24.193c0 10.042 8.144 18.214 18.155 18.214 10.01 0 18.152-8.172 18.152-18.214V87.353a3.584 3.584 0 0 0-3.577-3.591Zm44.481 28.699c0 3.306-2.635 10.136-10.777 10.136-11.438 0-14.46-10.31-14.46-15.759 0-7.652 4.526-15.881 14.46-15.881 4.528 0 7.452 1.512 9.092 2.765 1.079.82 1.685 2.123 1.685 3.48v15.259ZM164.98 83.776c-6.607 0-12.211 2.546-16.21 7.362-3.484 4.192-5.403 9.771-5.403 15.7 0 5.344 1.744 10.75 4.787 14.829 2.758 3.695 7.916 8.107 16.826 8.107 4.456 0 8.031-1.315 10.777-3.334v16.65a3.583 3.583 0 0 0 3.578 3.589 3.583 3.583 0 0 0 3.576-3.589V94.275c0-.58-.139-1.15-.407-1.665-.188-.358-4.754-8.834-17.524-8.834Zm-83.114 32.558c0 1.358-.606 2.659-1.687 3.48-1.641 1.254-4.563 2.768-9.093 2.768-9.932 0-14.457-8.232-14.457-15.883 0-5.448 3.022-15.757 14.458-15.757 8.144 0 10.779 6.826 10.779 10.133v15.259Zm3.576-49.477a3.586 3.586 0 0 0-3.576 3.59v16.65c-2.75-2.02-6.321-3.335-10.78-3.335-8.909 0-14.068 4.411-16.826 8.11-3.04 4.079-4.784 9.483-4.784 14.827 0 5.93 1.917 11.507 5.401 15.701 3.997 4.814 9.604 7.36 16.21 7.36 12.772 0 17.338-8.473 17.525-8.833a3.6 3.6 0 0 0 .407-1.664V70.448a3.585 3.585 0 0 0-3.577-3.591ZM9.443 147.001c1.86 0 3.02-1.045 3.02-2.511v-.039c0-1.648-1.179-2.509-3.02-2.509H6.582v5.059h2.86Zm-5.323-6.063c0-.704.54-1.248 1.24-1.248h4.283c3.282 0 5.323 1.87 5.323 4.7v.041c0 3.151-2.522 4.797-5.604 4.797h-2.78v3.396c0 .681-.54 1.224-1.221 1.224a1.22 1.22 0 0 1-1.241-1.224v-11.686ZM23.553 149.933v-.723a6.715 6.715 0 0 0-2.4-.421c-1.563 0-2.483.661-2.483 1.767v.04c0 1.024.9 1.605 2.06 1.605 1.601 0 2.823-.923 2.823-2.268Zm-7.244.764v-.043c0-2.288 1.78-3.412 4.363-3.412 1.18 0 2.021.179 2.842.441v-.262c0-1.504-.921-2.307-2.622-2.307-.921 0-1.68.158-2.343.42a1.28 1.28 0 0 1-.38.06 1.01 1.01 0 0 1-1.021-1.004c0-.441.3-.823.661-.961.999-.383 2.02-.622 3.402-.622 1.58 0 2.762.417 3.504 1.183.779.763 1.138 1.886 1.138 3.273v5.221c0 .661-.521 1.163-1.18 1.163-.7 0-1.181-.483-1.181-1.023v-.402c-.719.863-1.82 1.546-3.441 1.546-1.983 0-3.742-1.144-3.742-3.271ZM28.758 144.25c0-.683.52-1.225 1.198-1.225.681 0 1.223.542 1.223 1.225v1.083c.56-1.325 1.6-2.328 2.661-2.328.76 0 1.2.502 1.2 1.206 0 .64-.42 1.063-.96 1.163-1.721.302-2.9 1.627-2.9 4.136v3.134c0 .661-.543 1.205-1.224 1.205-.66 0-1.198-.525-1.198-1.205v-8.394ZM37.524 150.816v-5.583h-.401c-.58 0-1.04-.46-1.04-1.044 0-.583.46-1.043 1.04-1.043h.4v-1.809a1.21 1.21 0 0 1 2.423 0v1.809h1.9c.58 0 1.06.46 1.06 1.043 0 .584-.48 1.044-1.06 1.044h-1.9v5.201c0 .946.478 1.326 1.3 1.326.279 0 .519-.06.6-.06.539 0 1.02.44 1.02 1.003 0 .439-.3.802-.64.945-.52.179-1.02.28-1.66.28-1.78 0-3.042-.786-3.042-3.112ZM59.518 148.507v-.039c0-1.87-1.341-3.416-3.243-3.416-1.94 0-3.181 1.527-3.181 3.374v.042c0 1.847 1.34 3.39 3.223 3.39 1.96 0 3.2-1.523 3.2-3.351Zm-8.843 0v-.039c0-3.034 2.4-5.544 5.642-5.544 3.24 0 5.623 2.471 5.623 5.502v.042c0 3.01-2.402 5.52-5.665 5.52-3.22 0-5.6-2.47-5.6-5.481ZM64.942 145.233h-.42c-.56 0-1.02-.44-1.02-1.004 0-.561.46-1.024 1.02-1.024h.42v-.782c0-1.165.3-2.048.86-2.611.562-.56 1.342-.845 2.383-.845.481 0 .882.041 1.22.103.44.058.84.459.84 1.002a.996.996 0 0 1-1.02 1.004 4.279 4.279 0 0 0-.5-.039c-.921 0-1.401.502-1.401 1.604v.587h1.882c.579 0 1.02.44 1.02 1.001 0 .564-.46 1.004-1.02 1.004h-1.841v7.409c0 .664-.542 1.205-1.221 1.205a1.205 1.205 0 0 1-1.202-1.205v-7.409ZM77.352 141.278a1.3 1.3 0 0 1-.1-.483c0-.683.58-1.205 1.26-1.205.6 0 1.06.382 1.22.905l3.223 9.656 3.162-9.615c.2-.583.62-.984 1.24-.984h.18c.62 0 1.061.401 1.241.984l3.162 9.615 3.223-9.676c.178-.503.599-.885 1.199-.885.66 0 1.22.522 1.22 1.186 0 .162-.058.36-.119.502l-4.143 11.645c-.22.622-.679 1.026-1.28 1.026H91.8c-.599 0-1.04-.382-1.26-1.026l-3.124-9.176-3.12 9.176c-.22.644-.68 1.026-1.28 1.026h-.24c-.601 0-1.04-.382-1.28-1.026l-4.144-11.645ZM97.526 152.402a1.297 1.297 0 0 1-.42-.923c0-.664.52-1.185 1.18-1.185.322 0 .542.099.761.281.681.703 1.34 1.085 2.281 1.085 1.362 0 2.261-.884 2.261-2.773v-8.069a1.23 1.23 0 0 1 1.24-1.225c.682 0 1.243.54 1.243 1.225v8.15c0 1.669-.501 2.912-1.322 3.736-.819.823-2.001 1.244-3.403 1.244-1.7 0-2.939-.661-3.82-1.546ZM109.455 152.503v-11.567c0-.702.54-1.245 1.24-1.245h8.145c.602 0 1.102.503 1.102 1.104a1.1 1.1 0 0 1-1.102 1.107h-6.924v3.653h6.024c.6 0 1.1.502 1.1 1.124 0 .602-.5 1.085-1.1 1.085h-6.024v3.776h7.025c.6 0 1.101.5 1.101 1.103 0 .625-.501 1.105-1.101 1.105h-8.246c-.7 0-1.24-.542-1.24-1.245ZM122.244 146.759v-.039c0-3.996 2.982-7.271 7.224-7.271 2.161 0 3.581.644 4.803 1.587.261.201.481.542.481.985 0 .683-.542 1.205-1.222 1.205-.34 0-.579-.121-.742-.242-.959-.784-1.998-1.264-3.339-1.264-2.662 0-4.624 2.207-4.624 4.958v.042c0 2.751 1.941 4.978 4.624 4.978 1.48 0 2.481-.48 3.502-1.344.18-.16.439-.279.74-.279.62 0 1.161.518 1.161 1.143 0 .382-.18.681-.399.884-1.322 1.166-2.824 1.887-5.084 1.887-4.082 0-7.125-3.195-7.125-7.23Z",fill:"#706D6E"})))})),Fi=function(e){var t=e.copyrightMessage,n=void 0===t?"Copyright WJEC CBAC Ltd ".concat((new Date).getFullYear()):t,r=e.logos,o=void 0===r?[Vi,Yi]:r,i=e.maxWidth,c=void 0===i?1280:i,a=je(ji);return g("footer",{css:a.footer},g("div",{css:d([a.container,{maxWidth:"".concat(c,"px")}])},o.map((function(e,t){return g(e,{key:"logo_".concat(t),css:a.logo})})),g("span",{css:a.copyright},n)))},zi={name:"8zn5ov",styles:"align-items:center;display:flex;margin:0 auto;width:100%;"},Li={name:"eeoqsk",styles:"height:25px;margin-right:10px;"},ji=function(e){var t=e.colorPalette;return{container:zi,copyright:d("border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:12px;padding-left:10px;"),footer:d(Je,";align-items:center;display:flex;justify-content:flex-start;padding:24px 30px 22px;width:100%;"),logo:Li}};function Si(){return Si=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Si.apply(null,arguments)}var Oi,Pi,Mi,Ei=n((function(t,n){return e.createElement("svg",Si({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Ri||(Ri=e.createElement("path",{d:"m10 4.742 4.167 3.75V15H12.5v-5h-5v5H5.833V8.492L10 4.742ZM10 2.5 1.667 10h2.5v6.667h5v-5h1.666v5h5V10h2.5L10 2.5Z",fill:"currentColor"})))})),Di={height:"40px",padding:"0"},Ti=function(e){var n=e.logo,o=void 0===n?{eduqas:Yi,wjec:Vi}:n,i=e.logoId,c=e.logoStyles,a=e.maxWidth,l=void 0===a?1280:a,s=e.menus,u=e.onClickPageIcon,b=e.pageIcon,p=void 0===b?Ei:b,I=e.pageIconHref,h=e.pageTitle,f=e.showPageTitle,C=void 0===f||f,m=Y(Le(),1)[0].brand,v=je(qi),y=r((function(){return he(e=o)&&Object.hasOwn(e,"eduqas")&&Object.hasOwn(e,"wjec")?o[m]:o;var e}),[m,o]);return g("header",{css:v.header},g("div",{css:d([v.container,{maxWidth:"".concat(l,"px")}])},g("div",{css:v.titleContainer},C&&g(t.Fragment,null,g("a",{css:v.pageLink,href:I,onClick:u},g(p,{css:v.pageIcon})),g("h1",{css:v.title},h))),g(y,{css:d(N(N({},Di),c)),id:i}),g("section",{css:v.menuContainer},s)))},Qi={name:"f7hwxs",styles:"align-items:center;display:grid;grid-gap:30px;grid-template-columns:1fr 100px 1fr;justify-items:center;margin:0 auto;"},Ui={name:"euyatf",styles:"align-items:center;display:flex;flex:1;justify-content:flex-end;justify-self:end;min-width:175px;"},Ki={name:"6o7adr",styles:"align-items:center;display:flex;justify-self:flex-start;"},qi=function(e){var t=e.colorPalette;return{container:Qi,header:d(Je,";background-color:#fff;border-bottom:1px solid ",t.border,";padding:15px 30px;position:sticky;top:0;width:100%;z-index:1;"),menuContainer:Ui,pageIcon:d("color:",t.fontLight,";height:20px;margin-right:10px;"),pageLink:d("cursor:pointer;:hover > svg{color:",t.font,";}"),title:d(Ne,";border-left:1px solid ",t.border,";color:",t.fontLight,";font-size:14px;font-weight:500;margin:0;max-width:100%;padding:5px 0 5px 10px;"),titleContainer:Ki}},_i=function(e){var t=e.children,n=e.footerProps,r=e.headerProps,o=e.maxWidth,i=void 0===o?1280:o;return g("div",{css:$i.pageWrapper},g(Ti,J({},r,{maxWidth:i})),g("main",{css:d([$i.content,{maxWidth:"".concat(i+60,"px")}])},t),g(Fi,J({},n,{maxWidth:i})))},$i={content:d("flex:1;margin:0 auto;min-height:100%;padding:40px ",30,"px 0;width:100%;"),pageWrapper:d(Je,";display:flex;flex-direction:column;min-height:100vh;")},ec=function(e){var n=e.backgroundColor,r=e.color,o=e.id,c=e.progress,a=e.size,l=void 0===a?"default":a,s=i(),u=i(),b=void 0===c,p=je(oc);return Zt("--background-color",n,s),Zt("--color",r,s),Zt("--background-color",n,u),Zt("--color",r,u),g(t.Fragment,null,!b&&g("progress",{"aria-label":"loading",css:d([p.progress,"large"===l&&p.largeProgress]),id:o,max:100,ref:s,value:c}),b&&g("div",{"aria-label":"loading",css:p.progressIndeterminate,ref:u}))},tc=u(Oi||(Oi=F(["\n 0% {\n left: -35%;\n right: 100%;\n }\n 60% {\n left: 100%;\n right: -90%;\n }\n 100% {\n left: 100%;\n right: -90%;\n }\n"]))),nc=u(Pi||(Pi=F(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"]))),rc={name:"327rn5",styles:"border-radius:4px;height:24px;"},oc=function(e){var t=e.colorPalette;return{largeProgress:rc,progress:d("--background-color:",t.neutral,";--color:",t.primary,";appearance:none;border-radius:2px;height:4px;overflow:hidden;position:relative;width:100%;&::-webkit-progress-bar{background-color:var(--background-color);border-radius:4px;opacity:1;}&::-moz-progress-bar{background-color:var(--color);border-radius:4px;transition:width 0.3s ease-out;}&::-webkit-progress-value{background-color:var(--color);border-radius:4px;transition:width 0.3s ease-out;}"),progressIndeterminate:d("--background-color:",t.neutral,";--color:",t.secondary,";background-color:var(--background-color);border-radius:2px;color:var(--color);height:4px;overflow:hidden;position:relative;width:100%;&::before,&::after{background-color:var(--color);border-radius:2px;bottom:0;content:'';left:0;position:absolute;top:0;}&::after{animation:",tc," 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite;}&::before{animation:",nc," 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite 1.15s;}")}},ic=function(e){var t=e.ariaLabel,n=e.context,r=e.icons,i=e.id,a=e.keySuffix,l=void 0===a?"":a,d=e.open,u=void 0!==d&&d,b=e.selectLocaleAction,p=e.showLocaleNameInList,I=void 0===p||p,h=e.showSelectedLocaleName,f=Y(Le(),1)[0].colorPalette,C=Y(s(n),2),m=C[0],v=m.availableLocales,y=m.locale,A=m.strings,x=C[1],G=Y(o(u),2),X=G[0],Z=G[1],w=Y(o(y),2),W=w[0],H=w[1];c((function(){u!==X&&Z(u)}),[u]),c((function(){y!==W&&H(y)}),[y]),c((function(){x(b(W))}),[W]);var B=function(e){return function(){return Z(e)}};return g(Hn,{"aria-label":t,id:i,open:X,options:null==v?void 0:v.map((function(e){return{icon:r&&r[e],label:I&&(A["".concat(String(e)).concat(l)]||"".concat(String(e)).concat(l)),onClick:(t=e,function(){H(t),Z(!1)})};var t})),onHide:B(!1),onShow:B(!0),toggle:g(ut,{color:"transparent",icon:r&&r[y],labelColor:f.fontLight},h&&(A["".concat(String(y)).concat(l)]||"".concat(String(y)).concat(l)),g(ye,{css:cc.icon}))})},cc={icon:{name:"198hkja",styles:"display:flex;height:20px;width:20px;"}},ac=function(e,t,n){Sn("keydown",(function(n){var r;(null===(r=void 0===n.code?n.key:n.code)||void 0===r?void 0:r.toLowerCase())===(null==e?void 0:e.toLowerCase())&&t(n)}),n)},lc={name:"175zf7p",styles:"height:24px;position:absolute;width:24px;"},sc={name:"1jnbkft",styles:"flex-shrink:0;height:16px;width:16px;& > path{stroke-width:5;}"},dc={name:"1i9s3a8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;width:24px;"},gc={name:"ib6ufm",styles:"color:var(--color);font-size:16px;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:pre-line;"},uc=function(e){var t=e.colorPalette;return{autoClose:lc,autoCloseCircle:d("--auto-close-offset:0;fill:transparent;stroke:",t.neutralLight,";stroke-dasharray:100;stroke-dashoffset:var(--auto-close-offset);stroke-width:2;transform:rotate(-90deg);transform-origin:50%;"),closeButton:d("align-items:center;background-color:transparent;border:none;color:",t.neutralLight,";cursor:pointer;display:flex;flex-shrink:0;height:24px;justify-content:center;margin:-8px -8px 0 0;padding:0;width:24px;"),closeIcon:sc,container:d("--border-color:",t.border,";--icon-color:",t.border,";--max-width:375px;--position:relative;--title-color:",t.font,";",Je,";background-color:#ffffff;border:1px solid var(--border-color);border-radius:",Be.borderRadius,";box-shadow:",Be.dropShadow,";display:flex;font-family:'Montserrat',sans-serif;font-size:16px;gap:16px;line-height:24px;max-width:var(--max-width);padding:16px;position:var(--position);z-index:999;&[data-open=\"false\"]{display:none;}"),content:d("color:",t.neutralDark,";display:flex;flex-direction:column;flex-grow:1;margin:0;white-space:pre-line;word-break:break-word;"),icon:dc,title:gc}};function bc(){return bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bc.apply(null,arguments)}var pc,Ic,hc=n((function(t,n){return e.createElement("svg",bc({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Mi||(Mi=e.createElement("path",{d:"M30 10 10 30m0-20 20 20",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),fc=function(e){var n=e.message,o=e.position,c=e.positionType,l=e.ariaDescription,s=e.ariaCloseLabel,u=e.autoClose,b=e.borderColor,p=e.children,I=e.icon,h=e.iconColor,f=e.id,C=e.maxWidth,v=e.onClose,y=e.onOpen,A=e.open,x=void 0===A||A,G=e.openedTimestamp,X=e.showImmediately,Z=e.title,w=e.titleColor;sn('WJEC One Notification: The "message" prop has been deprecated. Provide notification content via component children instead',(function(){return void 0!==n}),[n]),sn('WJEC One Notification: The "position" prop has been deprecated. Positioning should be determined by parent container',(function(){return void 0!==o}),[o]),sn('WJEC One Notification: The "positionType" prop has been deprecated. Positioning should be determined by parent container',(function(){return void 0!==c}),[c]),ot("WJEC-One Notification: Icon must be a valid SVGComponent",(function(){return I&&!ue(t.createElement(I))}),[I]);var W=i(),H=i(),B=i(),k=i(!1),V=r((function(){return void 0!==G?u-(Date.now()-G):u}),[u,G]),N=r((function(){return-1*(100-V/u*100)}),[u,V]),R=function(){F.pause(),L.cancel(),z.play()},Y=ni("(prefers-reduced-motion)"),F=ti(W,[{strokeDashoffset:"-100"}],{duration:V,fill:"forwards",iterations:1,onFinished:R,playImmediately:x&&u>0}),z=ti(B,[{opacity:0,transform:Y?void 0:"translateY(-60px)"}],{duration:500,easing:"ease-in",fill:"forwards",iterations:1,onFinished:function(){var e;null===(e=B.current)||void 0===e||e.setAttribute("data-open","false"),null==v||v()}}),L=ti(B,[{opacity:0,transform:Y?void 0:"translateY(-60px)"},{opacity:1,transform:Y?void 0:"translateY(0)"}],{duration:500,easing:"ease-out",fill:"forwards",iterations:1,onFinished:y,onStarted:function(){var e;return null===(e=B.current)||void 0===e?void 0:e.setAttribute("data-open","true")}});a((function(){var e;x?(z.cancel(),X?null===(e=B.current)||void 0===e||e.setAttribute("data-open","true"):L.play()):k.current&&R(),k.current=!0}),[x]);var j=m({onPress:R},H).buttonProps,S=Bt(l),O=je(uc);return g("div",J({css:d([O.container,o,{"--border-color":b,"--icon-color":h,"--max-width":C,"--position":c,"--title-color":w}]),id:f,ref:B},S),I&&g(I,{css:O.icon,"aria-hidden":!0}),g("div",{css:O.content},Z&&g("h3",{css:d([O.title,{"--color":w}])},Z),n||p),g("button",J({"aria-label":s,css:O.closeButton,ref:H},j),x&&u>0&&g("svg",{css:O.autoClose,viewBox:"0 0 20 20","aria-hidden":!0},g("circle",{css:d([O.autoCloseCircle,{"--auto-close-offset":N}]),cx:"10",cy:"10",r:"9",ref:W,pathLength:"100"})),g(hc,{css:O.closeIcon,"aria-hidden":!0})))};function Cc(){return Cc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Cc.apply(null,arguments)}var mc,vc,yc=n((function(t,n){return e.createElement("svg",Cc({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),pc||(pc=e.createElement("path",{opacity:.12,d:"m2.39 18.098 8.225-14.206c.455-.785.682-1.178.979-1.31a1 1 0 0 1 .812 0c.297.132.524.525.979 1.31l8.225 14.206c.456.788.684 1.182.65 1.506a1 1 0 0 1-.406.705c-.263.191-.719.191-1.63.191H3.776c-.91 0-1.366 0-1.629-.191a1 1 0 0 1-.406-.705c-.034-.324.194-.718.65-1.506Z",fill:"currentColor"})),Ic||(Ic=e.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.719.191 1.63.191h16.449c.91 0 1.366 0 1.629-.191a1 1 0 0 0 .406-.705c.034-.324-.194-.718-.65-1.506L13.385 3.892c-.455-.785-.682-1.178-.979-1.31a1 1 0 0 0-.812 0c-.297.132-.524.525-.979 1.31Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Ac=["title"],xc=function(e){var t=e.title,n=void 0===t?"Error":t,r=R(e,Ac),o=Y(Le(),1)[0].colorPalette;return g(fc,J({},r,{borderColor:P.error,icon:yc,iconColor:o.error,title:n,titleColor:P.error}))};function Gc(){return Gc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Gc.apply(null,arguments)}var Xc,Zc,wc=n((function(t,n){return e.createElement("svg",Gc({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),mc||(mc=e.createElement("path",{opacity:.12,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",fill:"currentColor"})),vc||(vc=e.createElement("path",{d:"M12 16v-4m0-4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Wc=["title"],Hc=function(e){var t=e.title,n=void 0===t?"Information":t,r=R(e,Wc),o=Y(Le(),1)[0].colorPalette;return g(fc,J({},r,{borderColor:o.primary,icon:wc,iconColor:o.primary,title:n,titleColor:o.primary}))};function Bc(){return Bc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Bc.apply(null,arguments)}var Jc,kc=n((function(t,n){return e.createElement("svg",Bc({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Xc||(Xc=e.createElement("path",{opacity:.12,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",fill:"currentColor"})),Zc||(Zc=e.createElement("path",{d:"m7.5 12 3 3 6-6m5.5 3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Vc=["title"],Nc=function(e){var t=e.title,n=void 0===t?"Success":t,r=R(e,Vc),o=Y(Le(),1)[0].colorPalette;return g(fc,J({},r,{borderColor:P.success,icon:kc,iconColor:o.success,title:n,titleColor:P.success}))},Rc={name:"14loat4",styles:"align-items:flex-end;display:flex;gap:16px;justify-content:space-between;&:not(:first-child){margin-top:40px;}"},Yc={name:"14u07wc",styles:"align-items:flex-start;display:flex;gap:16px;"},Fc={name:"1vap7rn",styles:"&:has([open]){margin-bottom:40px;}"},zc={name:"11hv2i6",styles:"align-items:center;display:flex;margin-left:auto;"},Lc=function(e){var t=e.colorPalette;return{closeButton:d("background-color:transparent;border:none;cursor:pointer;display:inline-flex;margin-left:auto;outline-color:",t.primary,";padding:0;"),closeIcon:d("color:",t.neutralDark,";width:40px;"),content:d(Be.scrollbar,";flex-grow:1;overflow:auto;&:not(:first-child){margin-top:40px;}"),description:d("color:",t.neutralLight,";margin:0;&:not(:first-child){margin-top:8px;}"),footer:Rc,header:Yc,modal:d("--max-height:90vh;--max-width:60vw;--min-height:200px;--min-width:200px;--padding:32px;",Je,";border:none;border-radius:",Be.borderRadiusMedium,";box-shadow:",Be.dropShadow,";display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:16px;max-height:var(--max-height);max-width:var(--max-width);min-height:var(--min-height);min-width:var(--min-width);outline:none;padding:var(--padding);&:not([open]){display:none;}&::backdrop{backdrop-filter:blur(5px);background-color:rgba(241,243,244,0.80);}"),notification:Fc,otherActions:zc,title:d("color:",t.neutralDark,";font-size:28px;font-weight:400;line-height:40px;margin:0;"),titleIcon:d("color:",t.secondaryDark,";flex-shrink:0;width:40px;& > path{stroke-width:1;}")}};function jc(){return jc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},jc.apply(null,arguments)}var Sc,Oc=n((function(t,n){return e.createElement("svg",jc({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Jc||(Jc=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.293 5.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414L13.586 12 8.293 6.707a1 1 0 0 1 0-1.414Z",fill:"currentColor"})))}));function Pc(){return Pc=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Pc.apply(null,arguments)}var Mc=n((function(t,n){return e.createElement("svg",Pc({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Sc||(Sc=e.createElement("path",{d:"M8 12h8m6 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),Ec=function(e){var n=e.actionType,o=void 0===n?"positive":n,l=e.actionButton,s=void 0===l?"Confirm":l,d=e.actionButtonIcon,u=void 0===d?"negative"===o?Mc:Oc:d,b=e.actionButtonId,p=e.actionDisabled,I=e.actionLoading,h=e.actionLoadingProgress,f=e.blockScroll,C=void 0===f||f,m=e.cancelButton,v=void 0===m?"Cancel":m,y=e.cancelButtonIcon,A=void 0===y?hc:y,x=e.cancelButtonId,G=e.children,X=e.closeOnCancel,H=void 0===X||X,B=e.closeOnClickOutside,k=void 0===B||B,V=e.closeOnEscape,N=void 0===V||V,R=e.description,Y=e.id,F=e.maxHeight,z=e.maxWidth,L=e.minHeight,j=e.minWidth,S=e.notification,O=e.onAction,P=e.onCancel,M=e.onClose,E=e.onOpen,D=e.open,T=e.otherActions,U=e.padding,K=e.showCloseIcon,q=void 0===K||K,_=e.title,$=e.titleIcon,ee=e.ariaCloseLabel,te=void 0===ee?"close":ee,ne=e.ariaDescription,re=void 0===ne?R:ne,oe=e.ariaLabel,ce=i(),le=i(),se=r((function(){return ie(re)}),[re]),de=Bt(ie(se));ac("escape",(function(e){return e.preventDefault()}),{shouldAddListener:D&&!N}),c((function(){C&&D&&Z(le.current,{reserveScrollBarGap:!0,allowTouchMove:function(e){return le.current.contains(e)}})}),[C,D]),a((function(){D?be():ge()}),[D]),ri((function(){w()}));var ge=function(){le.current.close()},ue=!1,be=function(){var e,t=Q(ce.current);null==t||null===(e=t[0])||void 0===e||e.setAttribute("autofocus","true"),le.current.showModal(),ae(E)&&E()},pe=je(Lc),Ie=r((function(){return{"--max-height":F,"--max-width":z,"--min-height":L,"--min-width":j,"--padding":U}}),[F,F,L,j,U]),he=r((function(){return"negative"===o?Ct:Gt}),[o]),fe=s||v||T,Ce=q||_||$;return g("dialog",J({"aria-label":oe,css:pe.modal,id:Y,onClickCapture:function(e){var t,n=e.target,r=null==n||null===(t=n.tagName)||void 0===t?void 0:t.toLowerCase();k&&"dialog"===r&&!ue&&ge()},onClose:function(){W(le.current),ae(M)&&M()},onMouseDown:function(e){var t=e.nativeEvent.pointerType,n=le.current.getBoundingClientRect();t||(ue=e.clientX>=n.left&&e.clientX<=n.right&&e.clientY>=n.top&&e.clientY<=n.bottom)},ref:le,style:Ie},de),D&&g(t.Fragment,null,S&&g("div",{css:pe.notification},S&&function(){var e="error"===(null==S?void 0:S.type)?xc:"success"===(null==S?void 0:S.type)?Nc:Hc;return g(e,J({maxWidth:"100%"},S))}()),Ce&&g("header",{css:pe.header},$&&g($,{css:pe.titleIcon}),_&&g("h3",{css:pe.title},_),q&&g("button",{"aria-label":te,css:pe.closeButton,onClick:ge},g(hc,{"aria-hidden":!0,css:pe.closeIcon}))),R&&g("p",{css:pe.description},R),g("div",{css:pe.content,ref:ce},G),fe&&g("footer",{css:pe.footer},v&&(t.isValidElement(v)?v:g(ut,{icon:A,id:x,label:v,onPress:function(){ae(P)&&P(),H&&ge()}})),g("section",{css:pe.otherActions},T&&(t.isValidElement(T)?T:g(Hn,{options:T}))),s&&(t.isValidElement(s)?s:g(he,{disabled:p,icon:u,iconPosition:"right",id:b,label:s,loading:I,loadingProgress:h,onPress:O})))))},Dc=function(e){var t=e.children,n=e.color,r=e.id,o=i(),c=je(Tc);return Zt("--color",n,o),g("h1",{css:c.heading,id:r,ref:o},t)},Tc=function(e){var t=e.colorPalette;return{heading:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:28px;font-weight:400;line-height:40px;margin:0 0 30px 0;")}},Qc=function(e){var n=e.ariaCurrent,o=e.ariaLabel,i=e.compact,c=void 0!==i&&i,a=e.current,l=void 0===a?1:a,s=e.id,u=e.onSelect,b=e.total,p=function(e){return function(){e>0&&e<b+1&&ae(u)&&u(e)}},I=r((function(){return b>5?l<4?[2,3,4,"..."]:l>b-3?["...",b-3,b-2,b-1]:["...",l-1,l,l+1,"..."]:z(Array(Math.max(0,b-2)).keys()).map((function(e){return e+2}))}),[l,b]),h=je(_c);return g("ol",{"aria-label":o,css:h.container,id:s},g("li",{"aria-current":n,css:d([h.option,h.optionNextPrevious,1===l&&h.optionDisabled]),onClick:p(l-1)},g(Ge,{height:"100%",width:"100%"})),c?g("li",{css:h.compact},l," of ",b):g(t.Fragment,null,g("li",{css:d([h.option,1===l&&h.optionSelected]),onClick:p(1)},"1"),I.map((function(e,t){return g("li",{key:t,css:d([h.option,e===l&&h.optionSelected,"string"==typeof e&&h.optionSeparator]),onClick:"number"==typeof e?p(e):null},e)})),b>1&&g("li",{css:d([h.option,l===b&&h.optionSelected]),onClick:p(b)},b)),g("li",{css:d([h.option,h.optionNextPrevious,l===b&&h.optionDisabled]),onClick:p(l+1)},g(we,{height:"100%",width:"100%"})))},Uc={name:"1qje5jb",styles:"margin:0 15px;text-align:center;user-select:none;width:50px;"},Kc={name:"1x05hl3",styles:"opacity:0.33;pointer-events:none;"},qc={name:"1ixbp0l",styles:"pointer-events:none;"},_c=function(e){var t=e.colorPalette;return{compact:Uc,container:d(Je,";display:flex;font-family:'Montserrat',sans-serif;font-size:14px;justify-content:center;line-height:20px;list-style:none;margin:0;padding:0;width:100%;"),option:d("align-items:center;border-radius:",Be.borderRadius,";color:",t.fontLight,";cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 5px;user-select:none;width:20px;&:first-of-type{margin-left:0;}&:last-of-type{margin-right:0;}"),optionDisabled:Kc,optionNextPrevious:d("border:1px solid ",t.border,";"),optionSelected:d("background-color:",t.primary,";color:#FFFFFF;pointer-events:none;"),optionSeparator:qc}},$c=function(e){var t=e.ariaLabel,n=e.backgroundColor,r=e.children,o=e.color,i=e.id,c=e.size,a=void 0===c?"default":c,l=je(ta);return g("span",{"aria-label":t,css:d([l.pill,{backgroundColor:n,color:o},"small"===a&&l.smallPill],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlBpbGwuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUt5QyIsImZpbGUiOiJQaWxsLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XHJcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xyXG5pbXBvcnQgeyB1c2VXamVjT25l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uICAgIGJvcmRlci1yYWRpdXM6IDRweDtcclxuICAgIGZvbnQtd2VpZ2h0OiA2MDA7XHJcbiAgICBwYWRkaW5nOiAycHggOHB4O1xyXG4gIGBcclxufSk7XHJcbiJdfQ== */"),id:i},r)},ea={name:"gp3k44",styles:"border-radius:4px;font-weight:600;padding:2px 8px;"},ta=function(e){var t=e.colorPalette;return{pill:d("align-items:center;background-color:",t.neutral,";border-radius:12px;color:",t.neutralDark,";display:inline-flex;font-size:12px;justify-content:center;line-height:16px;padding:4px 20px;vertical-align:middle;white-space:nowrap;"),smallPill:ea}},na=function(e){var n=e.ariaLabel,r=e.children,i=e.isLoadingStyles,a=e.onOpen,l=e.popupWindow,s=Y(o(!1),2),d=s[0],u=s[1];return c((function(){d||i||(ae(a)&&a(l),u(!0))}),[i]),g(t.Fragment,null,r,i&&g("div",{"aria-label":n,css:oa.wrapper},g(ec,null)))},ra=function(e){var t=e.children,n=e.height,r=void 0===n?500:n,a=e.id,l=void 0===a?"":a,s=e.onClose,d=e.onOpen,u=e.open,b=e.position,p=void 0===b?{x:50,y:200}:b,I=e.title,h=void 0===I?"":I,f=e.width,C=void 0===f?500:f,m=Y(o(),2),v=m[0],A=m[1],x=i(),G=i(document.querySelectorAll("[data-emotion]")),X=Y(o(!1),2),Z=X[0],w=X[1],W=Y(o(u),2),H=W[0],B=W[1],J=Y(o(!1),2),k=J[0],V=J[1];c((function(){var e=document.querySelectorAll("[data-emotion]");H&&x.current&&Array.from(e).some((function(e,t){return e!==G.current[t]}))&&(G.current=e,R())})),c((function(){return function(){return x.current&&x.current.close()}}),[]),c((function(){H&&F(),!x.current||x.current.closed||H||x.current.close()}),[t,H]),c((function(){x.current&&(x.current.document.title=h)}),[h]),c((function(){return B(u)}),[u]);var N=function(){w(!1),B(!1),V(!1),ae(s)&&s()},R=function(){var e=x.current.document,t=e.head,n=t.querySelectorAll("style");Array.from(n).forEach((function(e){return t.removeChild(e)})),G.current.forEach((function(n){var r=n.textContent,o=n.sheet,i=e.createElement("style");if(i.appendChild(e.createTextNode("")),t.appendChild(i),r)i.appendChild(e.createTextNode(r));else{var c=i.sheet;[].forEach.call(o.cssRules,(function(e){c.insertRule(e.cssText)}))}})),requestAnimationFrame((function(){w(!0)}))},F=function(){if(!H||!x.current||x.current.closed)if(w(!1),x.current=window.open("",l,"left=".concat(p.x,",height=").concat(r,",top=").concat(p.y,",width=").concat(C)),x.current){var e=x.current.document.createElement("main");e.setAttribute("id",l),A(e),x.current.onbeforeunload=N,x.current.document.body.appendChild(e),x.current.document.title=h,requestAnimationFrame((function(){R(),B(!0),V(!0)}))}else E("A PopupWindow failed to open")};return H&&k&&x.current&&v?y.createPortal(g(na,{isLoadingStyles:!Z,onOpen:d,popupWindow:x.current},t),v):null},oa={wrapper:{name:"z2hlcz",styles:"background-color:#fff;bottom:0;left:0;padding:30px 10px;position:absolute;right:0;top:0;"}},ia=function(e){var n=e.ariaLabel,a=e.children,l=e.footer,s=void 0===l?t.Fragment:l,u=e.header,p=void 0===u?t.Fragment:u,I=e.id,h=e.isNested,f=e.margin,C=void 0===f?"auto":f,m=e.onLayout,v=e.orientation,y=void 0===v?"portrait":v,A=e.parentFooterHeight,x=void 0===A?0:A,G=e.parentHeaderHeight,X=void 0===G?0:G,Z=e.verticalAlign,w=void 0===Z?"top":Z,W=Y(o("auto"),2),H=W[0],B=W[1],J=Y(o("auto"),2),k=J[0],V=J[1],R=i(),F=i(),z=r((function(){return("auto"===H?0:H)+("auto"===k?0:k)+x+X}),[H,k,x,X]);return c((function(){R.current&&B(R.current.offsetHeight),F.current&&V(F.current.offsetHeight)}),[p,s,F.current,R.current]),c((function(){"auto"!==H&&"auto"!==k&&ae(m)&&m()}),[H,k]),g(t.Fragment,null,!h&&g(b,{styles:d("@media print{*{-webkit-print-color-adjust:exact;}@page{margin:",C,";size:",y,";}}")}),g("table",{"aria-label":n,cellPadding:0,cellSpacing:0,css:la.printLayoutTable,id:I},g("thead",null,g("tr",null,g("td",{css:la.printLayoutTableCell,style:{height:k}},g("header",{ref:F,css:d([la.header,!h&&la.printHeader])},g(p,null))))),g("tbody",null,g("tr",null,g("td",{css:d([la.printLayoutTableCell,la.content]),style:{height:h?"calc(100vh - ".concat(z,"px)"):"auto",verticalAlign:w}},t.Children.map(a,(function(e){return e&&e.type&&("PrintLayout"===e.type.displayName||"PrintLayout"===e.type.name)?t.cloneElement(e,N(N({},e.props),{},{isNested:!0,parentFooterHeight:H,parentHeaderHeight:k})):e}))))),g("tfoot",null,g("tr",null,g("td",{css:la.printLayoutTableCell,style:{height:H}},g("footer",{ref:R,css:d([la.footer,!h&&la.printFooter])},g(s,null)))))))};ia.displayName="PrintLayout";var ca,aa,la={content:{name:"10klw3m",styles:"height:100%;"},footer:{name:"1tqge2o",styles:"background-color:#fff;overflow:hidden;"},header:{name:"1tqge2o",styles:"background-color:#fff;overflow:hidden;"},printFooter:{name:"oo54uf",styles:"@media print{bottom:0;left:0;position:fixed;width:100%;}"},printHeader:{name:"134o4pi",styles:"@media print{left:0;position:fixed;top:0;width:100%;}"},printLayoutTable:d(Je,";width:100%;/* Margin will be provided by @page rule in global when printing */ @media print{padding:0;page-break-after:always;page-break-before:always;page-break-inside:avoid;}"),printLayoutTableCell:{name:"y8aj3r",styles:"padding:0;"}},sa=["ariaLabel","autoPrint","children","closeOnPrint","id","onClose","onOpen"],da=function(e){var t=e.ariaLabel,n=e.autoPrint,r=e.children,a=e.closeOnPrint,l=e.id,s=e.onClose,d=e.onOpen,u=R(e,sa),b=Y(o(!1),2),p=b[0],I=b[1],h=Y(o(!1),2),f=h[0],C=h[1],m=i();c((function(){p&&f&&v()}),[p,f]);var v=function(){ae(d)&&d(m.current),n&&m.current.print()},y=function(){a&&m.current.close()};return g(ra,J({},u,{id:l,onClose:function(){I(!1),C(!1),ae(s)&&s()},onOpen:function(e){(m.current=e,m.current.document.body.style.margin="0",m.current.document.body.style.padding="0","onafterprint"in m.current)?m.current.onafterprint=y:window.matchMedia("print").addListener((function(e){return e.matches&&y()}));C(!0)}}),g(ia,J({ariaLabel:t},u,{onLayout:function(){I(!0)}}),r))},ga=function(e){var t=e.children,n=e.element,r=void 0===n?"div":n,o=e.horizontal,i=void 0!==o&&o,c=e.styles,a=e.vertical,l=void 0===a||a;return g(r,{css:[c,Be.scrollbar,{overflowX:i?"auto":"hidden",overflowY:l?"auto":"hidden"}]},t)},ua=function(e){var t=e.children,n=e.color,r=e.id,o=i(),c=je(ba);return Zt("--border-left-color",n,o),g("h3",{css:c.sectionHeading,id:r},t)},ba=function(e){var t=e.colorPalette;return{sectionHeading:d("--border-left-color:",t.secondary,";border-left:2px solid var(--border-left-color);color:",t.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;line-height:20px;margin:0;padding-left:7px;")}},pa=function(e){var t=e.children,n=e.color,r=e.id,o=i(),c=je(Ia);return Zt("--color",n,o),g("h3",{css:c.title,id:r,ref:o},t)},Ia=function(e){var t=e.colorPalette;return{title:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:18px;font-weight:400;line-height:30px;margin-top:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;")}};function ha(){return ha=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ha.apply(null,arguments)}var fa,Ca=n((function(t,n){return e.createElement("svg",ha({viewBox:"0 0 1440 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),ca||(ca=e.createElement("mask",{id:"a","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:1440,height:150},e.createElement("path",{fill:"#fff",d:"M0 0h1440v150H0z"}))),aa||(aa=e.createElement("g",{mask:"url(#a)"},e.createElement("path",{opacity:.4,d:"M4.093 21.192 1.725-50.176a5 5 0 0 1 3.923-5.05l249.66-54.934a4.999 4.999 0 0 1 4.394 1.144L388.786 5.551a5.002 5.002 0 0 1 1.444 5.26L372.279 67.06a5 5 0 0 1-3.215 3.233L138.73 145.341a5 5 0 0 1-4.961-1.098L5.679 24.681a5 5 0 0 1-1.586-3.49ZM1438.64 11.165l5.18-83.581a5 5 0 0 0-3.78-5.16l-286.09-71.608a4.986 4.986 0 0 0-4.42 1.017L995.649-19.287a4.998 4.998 0 0 0-1.719 2.995L970.938 118.98a5 5 0 0 0 4.653 5.83l370.079 20.533a5.005 5.005 0 0 0 4.42-2.188l87.7-129.495c.5-.74.8-1.602.85-2.495Z",fill:"#47BAD1"}),e.createElement("path",{opacity:.4,d:"m341.147 35.262 214.851 26.282a5.003 5.003 0 0 0 4.313-1.605l92.293-101.841c3.011-3.322.465-8.622-4.01-8.349L337.991-31.26a5 5 0 0 0-4.686 5.296l3.459 56.569a5 5 0 0 0 4.383 4.657Z",fill:"#A55896"}),e.createElement("path",{opacity:.4,d:"m636.066 94.071-192.7-231.608c-1.998-2.401-1.329-6.026 1.393-7.556l302.76-170.202a5 5 0 0 1 6.809 1.908L926.159-7.729c1.532 2.725.215 6.173-2.744 7.182L641.524 95.605a5 5 0 0 1-5.458-1.534Z",fill:"#2855A2"}),e.createElement("path",{opacity:.4,d:"M983.494 89.93 703.798 14.977c-3.017-.808-4.562-4.154-3.221-6.975l143.28-301.486a5 5 0 0 1 6.662-2.37l304.371 144.653c2.83 1.342 3.74 4.918 1.91 7.45L988.837 88.035a5 5 0 0 1-5.343 1.895Z",fill:"#B0C600"}))))})),ma={cancel:"Cancel",code:"Code",forgotPassword:"Forgot your password?",newPassword:"New password",password:"Password",repeatNewPassword:"Re-enter new password",username:"Username",changePasswordPrompt:"Enter a new password below",changePasswordSubmit:"Change password",changePasswordTitle:"Change your password",changePasswordWarning:"Passwords do not match",forceChangePasswordPrompt:"You must enter a new password",forceChangePasswordTitle:"Change your password",mfaPrompt:"A code has been sent to the email address associated with your account. Enter the code below to continue",mfaSubmit:"Submit code",mfaTitle:"Verify signin",confirmResetPasswordPrompt:"Enter the provided code along with your new password below",requestResetPasswordPrompt:"Enter your email address below and we will send a code to reset your password",resetPasswordHaveCode:"Already have a reset code?",resetPasswordSubmit:"Request reset",resetPasswordTitle:"Reset your password",signin:"Sign in",signinPrompt:"Please sign in to access your account",signout:"Sign out",signup:"Sign up now",signupPrompt:"Don't have an account?",welcomeMessage:"Hello, {username}",welcomeMessageNotSignedIn:"Welcome",welcomeMessagePunctuation:"."},va=function(e){var n=e.ariaDescription,i=e.ariaLabel,a=e.allowForgotPassword,l=void 0===a||a,s=e.allowSignup,u=void 0===s||s,b=e.autocomplete,p=void 0===b||b,I=e.enforceFormCompletion,h=e.id,f=e.padding,C=void 0===f?"50px 30px 30px":f,m=e.passwordValidator,v=void 0===m?function(e,t){return e===t}:m,y=e.profileActions,A=e.repeatNewPassword,x=e.type,G=void 0===x?"external":x,X=e.onCancel,Z=e.onChangePassword,w=e.onConfirmResetPassword,W=e.onForceChangePassword,H=e.onForgotPassword,B=e.onHaveResetCode,k=e.onRequestResetPassword,V=e.onSignin,R=e.onSignout,F=e.onSignup,z=e.onSubmitMfa,L=e.loading,j=e.isSignedIn,S=void 0!==j&&j,O=e.username,P=e.i18n,M=Y(Le(),1)[0].colorPalette,E=je(Ja),D=N(N({},ma),P),T=Y(o(!0),2),Q=T[0],U=T[1],K=Y(o("confirmResetPassword"===G),2),q=K[0],_=K[1],$=Y(o(""),2),ee=$[0],te=$[1],ne=Y(o(""),2),re=ne[0],oe=ne[1],ie=Y(o(""),2),ce=ie[0],le=ie[1],se=Y(o(""),2),de=se[0],ge=se[1],ue=Y(o(""),2),be=ue[0],pe=ue[1],Ie=Y(o(""),2),he=Ie[0],fe=Ie[1],Ce=Bt(n);c((function(){te(""),oe(""),le(""),ge(""),pe(""),fe("")}),[S]),c((function(){"confirmResetPassword"===G?_(!0):q&&(_(!1),pe(""))}),[G]),c((function(){A||Q||U(!0)}),[A]);var me=function(){ae(W)&&W(re)},ve=function(){ae(Z)&&Z(be,re)},ye=function(){ae(w)&&w(he,re,de)},Ae=function(){ae(k)&&k(he)},xe=function(){ae(V)&&V(he,be)},Ge=function(){ae(z)&&z(ee)},Xe=r((function(){switch(G){case"changePassword":return D.changePasswordPrompt;case"confirmResetPassword":return D.confirmResetPasswordPrompt;case"forceChangePassword":return D.forceChangePasswordPrompt;case"mfa":return D.mfaPrompt;case"requestResetPassword":return D.requestResetPasswordPrompt;default:return D.signinPrompt}}),[P,G]),Ze=r((function(){return"changePassword"!==G&&"confirmResetPassword"!==G&&"requestResetPassword"!==G&&(S||l||u)}),[l,u,S,G]),we=r((function(){if(!I)return!1;switch(G){case"changePassword":case"forceChangePassword":return""===re||!Q;case"confirmResetPassword":return""===de||""===re||!Q;case"mfa":return""===ee;case"requestResetPassword":return""===he;default:return""===be||""===he}}),[Q,ee,re,de,ce,be,he,G]),We=r((function(){switch(G){case"changePassword":case"forceChangePassword":return D.changePasswordSubmit;case"mfa":return D.mfaSubmit;case"confirmResetPassword":case"requestResetPassword":return D.resetPasswordSubmit;default:return D.signin}}),[P,G]),He=r((function(){switch(G){case"changePassword":return D.changePasswordTitle;case"confirmResetPassword":case"requestResetPassword":return D.resetPasswordTitle;case"forceChangePassword":return D.forceChangePasswordTitle;case"mfa":return D.mfaTitle;default:return g(t.Fragment,null,S?"string"==typeof D.welcomeMessage?D.welcomeMessage.replace(/\{username\}/g,O):D.welcomeMessage:D.welcomeMessageNotSignedIn,D.welcomeMessagePunctuation&&g("span",{css:E.welcomeMessagePunctuation},D.welcomeMessagePunctuation))}}),[P,S,G]);return g("div",J({"aria-label":i,id:h,css:d([E.container,{padding:C}])},Ce),g(Ca,{css:E.headerShapes,"aria-hidden":!0}),g("h1",{css:E.welcomeMessage},He),g("section",{css:E.formContainer},S?g("ul",{css:E.actionsList},y&&y.map((function(e,t){var n=e.icon,r=e.label,o=e.onClick;return g("li",{key:t,css:E.action,onClick:o},n&&g(n,{css:E.actionIcon}),r)}))):g(t.Fragment,null,g("h2",{css:E.prompt},Xe),g("form",{autoComplete:p?"on":"off",css:E.form,onSubmit:function(e){e.preventDefault()}},("internal"===G||"requestResetPassword"===G||"confirmResetPassword"===G)&&g(Ir,{label:D.username,name:"username",onChange:fe,value:he,width:"100%"}),("changePassword"===G||"forceChangePassword"===G||"confirmResetPassword"===G)&&g(t.Fragment,null,"changePassword"===G&&g(Vo,{label:D.password,name:"password",onChange:pe,value:be}),"confirmResetPassword"===G&&g(Ir,{label:D.code,name:"code",onChange:ge,value:de,width:"100%"}),g(Vo,{label:D.newPassword,name:"password",onChange:function(e){oe(e),A&&U(v(e,ce))},value:re}),A&&g(Vo,{highlightColor:M.error,highlighted:!Q,label:D.repeatNewPassword,name:"confirmPassword",onChange:function(e){le(e),U(v(re,e))},value:ce}),!Q&&g("span",{css:E.changePasswordWarning},D.changePasswordWarning)),"internal"===G&&g(Vo,{label:D.password,name:"password",onChange:pe,value:be}),"mfa"===G&&g(Ir,{name:"code",onChange:te,value:ee}),g("div",{css:E.formActions},g(Gt,{buttonType:"submit",disabled:we,icon:Dt,label:We,onPress:function(){switch(G){case"changePassword":return ve;case"confirmResetPassword":return ye;case"forceChangePassword":return me;case"mfa":return Ge;case"requestResetPassword":return Ae;default:return xe}}()}),("changePassword"===G||"confirmResetPassword"===G||"mfa"===G||"requestResetPassword"===G)&&g("a",{css:E.cancel,onClick:function(){ae(X)&&X()}},D.cancel),"requestResetPassword"===G&&g("a",{css:d([E.actionLink,E.haveResetCode]),onClick:function(){ae(B)&&B()}},D.resetPasswordHaveCode))))),Ze&&g("footer",{css:E.userDetails},S?g(ut,{color:"transparent",icon:St,iconColor:M.fontLight,label:D.signout,labelColor:M.font,onPress:function(){ae(R)&&R()}}):g(t.Fragment,null,l&&g("a",{css:E.actionLink,onClick:function(){ae(H)&&H()}},g("h2",{css:E.prompt},D.forgotPassword)),u&&g("div",null,g("h2",{css:E.prompt},D.signupPrompt),g("a",{css:E.actionLink,onClick:function(){ae(F)&&F()}},D.signup)))),L&&g("div",{css:E.loading},g(ct,null)))},ya={name:"yh3jvl",styles:"height:20px;margin-right:5px;width:20px;"},Aa={name:"10w3nmc",styles:"list-style:none;margin:20px 0;padding:0;"},xa={name:"vl8ak5",styles:"font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;position:relative;"},Ga={name:"1ajcev4",styles:"& >:not(:last-child){margin-top:10px;}"},Xa={name:"79elbk",styles:"position:relative;"},Za={name:"w5in9r",styles:"align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:20px;"},wa={name:"1xxqlwe",styles:"display:inline-block;flex:0 1 100%;margin-top:10px;"},Wa={name:"19hbn8x",styles:"left:0;position:absolute;top:0;width:100%;"},Ha={name:"zhwjfn",styles:"align-items:center;background-color:rgba(255,255,255,0.85);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;"},Ba={name:"1vnyfz6",styles:"font-size:18px;font-weight:normal;line-height:40px;margin:0;"},Ja=function(e){var t=e.colorPalette;return{action:d("border-radius:",Be.borderRadius,";cursor:pointer;display:flex;padding:10px;&:hover{background-color:",t.neutral,";}&:not(:last-child){margin-bottom:10px;}"),actionIcon:ya,actionLink:d("color:",t.primaryDark,";cursor:pointer;text-decoration:none;&:hover{text-decoration:underline;}"),actionsList:Aa,cancel:d("color:",t.secondaryDark,";cursor:pointer;font-size:12px;margin-left:10px;:hover{text-decoration:underline;}"),changePasswordWarning:d("color:",t.errorDark,";font-size:12px;"),container:xa,form:Ga,formContainer:Xa,formActions:Za,haveResetCode:wa,headerShapes:Wa,loading:Ha,prompt:d("color:",t.fontLight,";font-size:14px;font-weight:normal;margin:0;"),userDetails:d("border-top:1px solid ",t.border,";display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:30px;padding-top:20px;& > *{white-space:nowrap;:not(:last-child){margin:0 15px 15px 0;}}"),welcomeMessage:Ba,welcomeMessagePunctuation:d("color:",t.secondary,";")}};function ka(){return ka=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ka.apply(null,arguments)}var Va,Na=n((function(t,n){return e.createElement("svg",ka({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),fa||(fa=e.createElement("g",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor"},e.createElement("path",{d:"M6.667 6.667A3.332 3.332 0 1 1 10 10a3.332 3.332 0 0 1-3.333-3.333Zm5 0C11.667 5.75 10.917 5 10 5s-1.667.75-1.667 1.667c0 .916.75 1.666 1.667 1.666s1.667-.75 1.667-1.666ZM3.333 15c0-2.217 4.442-3.333 6.667-3.333 2.225 0 6.667 1.116 6.667 3.333v1.667H3.333V15ZM15 15c-.167-.592-2.75-1.667-5-1.667-2.242 0-4.808 1.067-5 1.667h10Z"}))))})),Ra=["ariaLabel","id","onClose","onOpen","open"],Ya=function(e){var t=e.ariaLabel,n=e.id,r=e.onClose,i=e.onOpen,a=e.open,l=void 0!==a&&a,s=R(e,Ra),d=Y(Le(),1)[0].colorPalette,u=Y(o(l),2),b=u[0],p=u[1];c((function(){l!==b&&p(l)}),[l]);var I=je(za);return g(hn,{"aria-label":t,id:n,maxHeight:"425px",onHide:r,onShow:i,open:b,padding:"0",toggle:g(ut,{color:"transparent",icon:function(e){return g(Na,J({css:I.avatar},e))},id:"signinMenu",labelColor:d.fontLight},g(ye,{css:I.arrow})),width:"276px"},g(va,s))},Fa={name:"198hkja",styles:"display:flex;height:20px;width:20px;"},za=function(e){var t=e.colorPalette;return{arrow:Fa,avatar:d("background-color:",t.neutral,";border-radius:50%;padding:1px;")}},La=function(e){var t=e.children,n=e.color,r=e.id,o=i(),c=je(ja);return Zt("--color",n,o),g("p",{css:c.subParagraph,id:r,ref:o},t)},ja=function(e){var t=e.colorPalette;return{subParagraph:d("--color:",t.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:20px;margin:0;")}},Sa=function(e){var t=e.children,n=e.id,r=je(Oa);return g("h2",{css:r.heading,id:n},t)},Oa=function(e){var t=e.colorPalette;return{heading:d("color:",t.font,";font-family:'Montserrat',sans-serif;font-size:24px;font-weight:400;line-height:40px;margin:0 0 30px 0;")}},Pa={name:"1vuy4hm",styles:"padding:0 calc(var(--column-gap,16px) / 2);text-align:var(--align,left);vertical-align:middle;width:var(--width,auto);&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;}"},Ma={name:"k008qs",styles:"display:flex;"},Ea={name:"5xt1kf",styles:"align-items:center;display:flex;flex-wrap:nowrap;gap:8px;&:not(:empty){min-height:32px;}"},Da={name:"5h0m38",styles:"display:inline-flex;flex-direction:column;"},Ta=function(e){var t=e.colorPalette;return{cell:Pa,container:Ma,header:d("color:",t.neutralDark,';font-weight:500;padding-top:0;&[data-sortable="true"]{cursor:pointer;}'),headerContainer:Ea,row:d("--highlight-color:",t.highlight,";border-radius:calc(",Be.borderRadius,' / 2);&[data-interactive="true"][data-highlight="hover"]:hover,&[data-highlight="hover"][data-selected="true"],&[data-highlight="selected"][data-selected="true"]{background-color:var(--highlight-color);box-shadow:0 0 0 8px var(--highlight-color);}&[data-interactive="true"]{cursor:pointer;}'),sortableIcon:d("color:",t.border,';width:20px;& > path{stroke-width:2.5;}&[data-active="true"]{color:',t.neutralDark,";}"),sortableIndicators:Da,table:d("border-spacing:0 var(--row-gap,8px);color:",t.font,";flex-basis:100%;font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;margin:calc(var(--row-gap,8px) * -1) 0;")}},Qa=function(e,t){var n=e.displayValue;return"function"==typeof n?n(t):n};function Ua(){return Ua=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ua.apply(null,arguments)}var Ka=n((function(t,n){return e.createElement("svg",Ua({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:n},t),Va||(Va=e.createElement("path",{d:"m18 15-6-6-6 6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))})),qa=t.memo((function(e){var t=e.columnOptions,n=e.column,r=e.row,o=e.styles,i="max"===n.width?"100%":"min"===n.width?"1px":n.width;return g("td",{css:d([o.cell,{"--align":n.align||(null==t?void 0:t.align),"--width":i}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQVlnQiIsImZpbGUiOiJzdWJDb21wb25lbnRzLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XHJcbmltcG9ydCB7IGdldERpc3BsYXlWYWx1ZSB9IGZyb20gJy4vdXRpbHMnO1xyXG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vLi4vYXNzZXRzL2ljb25zL2xpbmVfY2hldnJvbi1kb3duLnN2Z1xyXG5pbXBvcnQgQ2hldnJvbkRvd24gZnJvbSBcIi4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2NoZXZyb24tZG93bi5zdmdcIjtcclxuLy8gQHRyYW5zZm9ybS1wYXRoIC4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2NoZXZyb24tdXAuc3ZnXHJcbmltcG9ydCBDaGV2cm9uVXAgZnJvbSBcIi4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2NoZXZyb24tdXAuc3ZnXCI7XHJcbmV4cG9ydCBjb25zdCBUYWJsZUNlbGwgPSBSZWFjdC5tZW1vKCh7IGNvbHVtbk9wdGlvbnMsIGNvbHVtbiwgcm93LCBzdHlsZXMgfSkgPT4ge1xyXG4gICAgY29uc3Qgd2lkdGggPSBjb2x1bW4ud2lkdGggPT09ICdtYXgnXHJcbiAgICAgICAgPyAnMTAwJSdcclxuICAgICAgICA6IGNvbHVtbi53aWR0aCA9PT0gJ21pbidcclxuICAgICAgICAgICAgPyAnMXB4J1xyXG4g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X1cclxuXHJcbiAgICAgICAge2NvbHVtbi50aXRsZX1cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L3RoPik7XHJcbmV4cG9ydCBjb25zdCBUYWJsZVJvdyA9ICh7IGNoaWxkcmVuLCBpc0ludGVyYWN0aXZlLCBpc1NlbGVjdGVkLCBvblByZXNzLCByb3dPcHRpb25zLCBzdHlsZXMgfSkgPT4ge1xyXG4gICAgY29uc3QgaGFuZGxlQ2xpY2sgPSAoKSA9PiB7XHJcbiAgICAgICAgaWYgKGlzSW50ZXJhY3RpdmUpIHtcclxuICAgICAgICAgICAgb25QcmVzcz8uKCk7XHJcbiAgICAgICAgfVxyXG4gICAgfTtcclxuICAgIHJldHVybiAoPHRyIGNzcz17W3N0eWxlcy5yb3csIHsgJy0taGlnaGxpZ2h0LWNvbG9yJzogcm93T3B0aW9ucz8uaGlnaGxpZ2h0Q29sb3IgfV19IG9uQ2xpY2s9e2hhbmRsZUNsaWNrfSBkYXRhLWhpZ2hsaWdodD17cm93T3B0aW9ucz8uaGlnaGxpZ2h0fSBkYXRhLWludGVyYWN0aXZlPXtpc0ludGVyYWN0aXZlfSBkYXRhLXNlbGVjdGVkPXtpc1NlbGVjdGVkfT5cclxuICAgICAge2NoaWxkcmVufVxyXG4gICAgPC90cj4pO1xyXG59O1xyXG4iXX0= */")},Qa(n,r))})),_a=function(e){var t=e.column,n=e.isSortable,r=e.isSorted,o=e.onPress,i=e.sortedDirection,c=e.styles;return g("th",{"aria-sort":r?i:void 0,css:d([c.cell,c.header],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdCMkoiLCJmaWxlIjoic3ViQ29tcG9uZW50cy5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xy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XR1cm4gKDx0ciBjc3M9e1tzdHlsZXMucm93LCB7ICctLWhpZ2hsaWdodC1jb2xvcic6IHJvd09wdGlvbnM/LmhpZ2hsaWdodENvbG9yIH1dfSBvbkNsaWNrPXtoYW5kbGVDbGlja30gZGF0YS1oaWdobGlnaHQ9e3Jvd09wdGlvbnM/LmhpZ2hsaWdodH0gZGF0YS1pbnRlcmFjdGl2ZT17aXNJbnRlcmFjdGl2ZX0gZGF0YS1zZWxlY3RlZD17aXNTZWxlY3RlZH0+XHJcbiAgICAgIHtjaGlsZHJlbn1cclxuICAgIDwvdHI+KTtcclxufTtcclxuIl19 */"),onClick:o,scope:"col","data-sortable":n},g("div",{css:c.headerContainer},(n||r)&&g("span",{css:c.sortableIndicators},g(Ka,{css:c.sortableIcon,"data-active":r&&"ascending"===i}),g(So,{css:c.sortableIcon,"data-active":r&&"descending"===i})),t.title))},$a=function(e){var t=e.children,n=e.isInteractive,r=e.isSelected,o=e.onPress,i=e.rowOptions,c=e.styles;return g("tr",{css:d([c.row,{"--highlight-color":null==i?void 0:i.highlightColor}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdDZ0IiLCJmaWxlIjoic3ViQ29tcG9uZW50cy5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xyXG5pbXBvcnQgeyBnZXREaXNwbGF5VmFsdWUgfSBmcm9tICcuL3V0aWxzJztcclxuLy8gQHRyYW5zZm9ybS1wYXRoIC4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2NoZXZyb24tZG93bi5zdmdcclxuaW1wb3J0IENoZXZyb25Eb3duIGZyb20gXCIuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9jaGV2cm9uLWRvd24uc3ZnXCI7XHJ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F0YS1zZWxlY3RlZD17aXNTZWxlY3RlZH0+XHJcbiAgICAgIHtjaGlsZHJlbn1cclxuICAgIDwvdHI+KTtcclxufTtcclxuIl19 */"),onClick:function(){n&&(null==o||o())},"data-highlight":null==i?void 0:i.highlight,"data-interactive":n,"data-selected":r},t)},el=function(e){var t=i(e),n=Y(o(e),2);n[0];var r=n[1],c=i(e);e!==t.current&&(t.current=e,c.current=e);return[c.current,function(e){var t="function"==typeof e?e(c.current):e;c.current=t,r(t)}]},tl=function(e){var t=e.columnOptions,n=e.columns,o=e.data,i=e.id,a=e.keyExtractor,l=void 0===a?function(e){return o.indexOf(e)}:a,s=e.onPressRow,u=e.onSort,b=e.rowOptions,p=e.selectedRow,I=e.sortable,h=e.sorted,f=e.sortedColumn,C=e.sortedDirection,m=void 0===C?"ascending":C,v=r((function(){return n.filter((function(e){return e})).filter((function(e){return I&&!1!==(null==e?void 0:e.sortable)||!1!==I&&(null==e?void 0:e.sortable)}))}),[n,I]),y=v.length>0,A=Y(el(f||n.indexOf(v[0])),2),x=A[0],G=A[1],X=Y(el(m),2),Z=X[0],w=X[1],W=r((function(){return"string"==typeof x?n.findIndex((function(e){return(null==e?void 0:e.name)===x})):x}),[n,x]),H=r((function(){return y&&!h?function(e,t,n){var r=t.sortableValue,o=z(e);return o.sort((function(e,o){var i,c=r?r(e):Qa(t,e),a=r?r(o):Qa(t,o);return void 0===c?1:void 0===a?-1:("number"==typeof c&&"number"==typeof a?c-a:null==c||null===(i=c.toString())||void 0===i?void 0:i.localeCompare(null==a?void 0:a.toString()))*("ascending"===n?1:-1)})),o}(o,n[W],Z):o}),[n,o,y,h,W,Z]),B=r((function(){return y||h&&W>-1||n.some((function(e){return e.title}))}),[n,y,h,W]);c((function(){var e;h||(null==u||u(null===(e=n[W])||void 0===e?void 0:e.name,W,Z))}),[h,W,Z]);var J=je(Ta);return g("div",{css:J.container},g("table",{css:d([J.table,{"--column-gap":null==t?void 0:t.gap,"--row-gap":null==b?void 0:b.gap}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2Q2EiLCJmaWxlIjoiaW5kZXguanN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IHVzZUVmZmVjdCwgdXNlTWVtbyB9IGZyb20gJ3JlYWN0JztcclxuaW1wb3J0IHsgdXNlV2plY09uZVRoZW1lU3R5bGVzIH0gZnJvbSBcIi4uLy4uLy4uL3RoZW1lXCI7XHJcbmltcG9ydCB7IGdldFN0eWxlcyB9IGZyb20gJy4vc3R5bGVzJztcclxuaW1wb3J0IHsgVGFibGVDZWxsLCBUYWJsZUhlYWRlciwgVGFibGVSb3cgfSBmcm9tICcuL3N1YkNvbXBvbmVudHMnO1xyXG5pbXBvcnQgeyBnZXRTb3J0ZWREYXRhIH0gZnJvbSAnLi91dGlscyc7XHJcbmltcG9ydCB7IHVzZVN0YXRlV2l0aFByb3AgfSBmcm9tIFwiLi4vLi4vaG9va3MvdXNlU3RhdGVXaXRoUHJvcFwiO1xyXG5leHBvcnQgY29uc3QgVGFibGUgPSAoeyBjb2x1bW5PcHRpb25zLCBjb2x1bW5zLCBkYXRhLCBpZCwga2V5RXh0cmFjdG9yID0gKHJvdykgPT4gZGF0YS5pbmRleE9mKHJvdyksIG9uUHJlc3NSb3csIG9uU29ydCwgcm93T3B0aW9ucywgc2VsZWN0ZWRSb3csIHNvcnRhYmxlLCBzb3J0ZWQsIHNvcnRlZENvbHVtbjogZGVmYXVsdFNvcnRlZENvbHVtbiwgc29ydGVkRGlyZWN0aW9uOiBkZWZhdWx0U29ydGVkRGlyZWN0aW9uID0gJ2FzY2VuZGluZycgfSkgPT4ge1xyXG4gICAgY29uc3Qgc29ydGFibGVDb2x1bW5zID0gdXNlTWVtbygoKSA9PiB7XHJcbiAgICAgICAgY29uc3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W1lIHx8IGNvbHVtbkluZGV4fWB9IHJvdz17cm93fSBzdHlsZXM9e3N0eWxlc30vPikpKX1cclxuICAgICAgICAgICAgICA8L1RhYmxlUm93Pik7XHJcbiAgICAgICAgfSl9XHJcbiAgICAgICAgPC90Ym9keT5cclxuICAgICAgPC90YWJsZT5cclxuICAgIDwvZGl2Pik7XHJcbn07XHJcbiJdfQ== */"),id:i},g("colgroup",null,n.map((function(e,t){return e&&g("col",{key:"column_definition_".concat(e.name||t)})}))),B&&g("thead",null,g("tr",null,n.map((function(e,t){return e&&g(_a,{column:e,isSortable:v.includes(e),isSorted:t===W,key:"column_".concat(e.name||t,"_header"),onPress:function(){return function(e){var t,r=n.indexOf(e);v.includes(e)&&!h&&(G(r),w((function(e){return r===W&&"ascending"===e?"descending":"ascending"}))),null===(t=e.onPressHeader)||void 0===t||t.call(e)}(e)},sortedDirection:Z,styles:J})})))),g("tbody",null,H.map((function(e){var r,o,i=l(e);return g($a,{isInteractive:null!==(r=null==b||null===(o=b.isInteractive)||void 0===o?void 0:o.call(b,e))&&void 0!==r?r:"function"==typeof s,isSelected:e===p,key:"row_".concat(i),onPress:function(){return null==s?void 0:s(e)},rowOptions:b,styles:J},n.map((function(n,r){return n&&g(qa,{columnOptions:t,column:n,key:"row_".concat(i,"_column_").concat(n.name||r),row:e,styles:J})})))})))))},nl=function(e){var t=e.ariaLabel,n=e.backgroundStyle,a=void 0===n?"filled":n,l=e.disabledTabs,s=void 0===l?[]:l,u=e.id,b=e.keyExtractor,p=e.labelExtractor,I=e.onSelect,h=e.scrollable,f=e.selectedTab,C=e.selectedTabColor,m=e.tabs,v=Y(o(ce(f,m)),2),y=v[0],A=v[1],x=i(),G=je(rl),X=r((function(){return s.map((function(e){return le(e)?e.key:ne(e,b,m.indexOf(e))}))}),[s]),Z=r((function(){return le(y)?y.key:ne(y,b,m.indexOf(y))}),[y]);ot("WJEC-One Tabs: You must specify a keyExtractor if the tabs array contains non-primitive entry types",(function(){return!ge(m)&&!se(m)&&!b}),[b,m]),c((function(){void 0!==h&&D('WJEC One Tabs: The "scrollable" prop has been deprecated and will be removed in a future version of the library. The Tabs component will now behave as though "scrollable={true}" in all cases')}),[h]),c((function(){A(ce(f,m))}),[f,m]),c((function(){if(x.current){var e=x.current.querySelector("[data-selected]");e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}}),[x.current,y]);return g("div",{"aria-label":t,ref:x,css:d([G.container,"filled"===a&&G.containerFilled,"transparent"===a&&G.containerTransparent,C&&{"--highlight-color":C}]),id:u},g("div",{css:G.innerContainer},m.map((function(e,t){var n=(le(e)?e.key:ne(e,b,t)).toString(),r=n===Z,o=X.includes(n);return g("button",J({key:n,css:d([G.tab,"filled"===a&&G.tabFilled,"transparent"===a&&G.tabTransparent]),disabled:o,onClick:function(t){var n=t.target;return function(e,t){var n=x.current.querySelector("[data-selected]");ae(I)&&I(e),x.current.style.setProperty("--anim-height","".concat(n.offsetHeight,"px")),x.current.style.setProperty("--anim-left","".concat(n.offsetLeft,"px")),x.current.style.setProperty("--anim-width","".concat(n.offsetWidth,"px")),t.setAttribute("data-animating","true"),n.removeAttribute("data-selected"),t.setAttribute("data-selected","true"),requestAnimationFrame((function(){x.current.style.setProperty("--anim-duration","".concat(150,"ms")),x.current.style.setProperty("--anim-height","".concat(t.offsetHeight,"px")),x.current.style.setProperty("--anim-left","".concat(t.offsetLeft,"px")),x.current.style.setProperty("--anim-width","".concat(t.offsetWidth,"px")),t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}),window.setTimeout((function(){t.removeAttribute("data-animating"),x.current.style.removeProperty("--anim-duration"),x.current.style.removeProperty("--anim-height"),x.current.style.removeProperty("--anim-left"),x.current.style.removeProperty("--anim-width"),A(e)}),150)}))}(e,n)},type:"button"},r?{"data-selected":!0}:null),le(e)?e.label:re(e,p,t))}))))},rl=function(e){var t=e.colorPalette;return{container:d("--anim-duration:0ms;--anim-height:0;--anim-left:0;--anim-width:0;--highlight-color:",t.secondary,";flex-shrink:0;max-width:100%;position:relative;"),containerFilled:d("--anim-left:10px;--highlight-color:",t.primary,";border-radius:",Be.borderRadius,";background-color:",t.neutral,";& > div{padding:10px;&::before{border-radius:",Be.borderRadius,";height:var(--anim-height);top:10px;}}"),containerTransparent:d("& > div{padding-bottom:1px;}&::before{border-bottom:1px solid ",t.border,";content:'';left:0;position:absolute;top:28px;width:100%;}"),innerContainer:d(Be.scrollbar,";display:flex;overflow-x:auto;position:relative;&::before{background-color:var(--highlight-color);content:'';height:2px;left:var(--anim-left);position:absolute;top:27px;transition:height var(--anim-duration) linear,left var(--anim-duration) ease-in-out,top var(--anim-duration) ease-in-out,width var(--anim-duration) linear;width:var(--anim-width);}"),tab:d("align-items:center;background-color:transparent;border:none;color:",t.font,';cursor:pointer;display:flex;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;justify-content:center;line-height:20px;margin:0;outline:none;padding:0;position:relative;scroll-margin:10px;transition:color 100ms linear;white-space:pre;&:not(:last-child){margin-right:20px;}&:disabled{opacity:0.5;}&[data-selected]{font-weight:500;}'),tabFilled:d("border-radius:",Be.borderRadius,";padding:5px 10px;&[data-selected]:not([data-animating]){background-color:var(--highlight-color);color:#fff;}&:hover:not([data-animating]):not([data-selected]){background-color:",t.border,";}"),tabTransparent:d("padding:4px 0;&[data-selected]:not([data-animating]){&::after{background-color:var(--highlight-color);border-radius:",Be.borderRadius,";content:'';height:2px;left:0;position:absolute;top:calc(100% - 1px);width:100%;}}")}},ol={dependencies:[],focusElement:0,shouldTrapFocus:!0},il=function(e,t){var n=N(N({},ol),t),r=n.dependencies,o=n.focusElement,a=n.shouldTrapFocus,l=i([]),s="function"==typeof a?a():a;c((function(){var t,n,r=fe(e)?e.current:e;if(s&&r){var i,c;if(l.current=Q(r),(n=new MutationObserver((function(e){var t,n=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=j(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,o=function(){};return{s:o,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,c=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return c=e.done,e},e:function(e){a=!0,i=e},f:function(){try{c||null==n.return||n.return()}finally{if(a)throw i}}}}(e);try{for(n.s();!(t=n.n()).done;){var o=t.value;("childList"===o.type||"attributes"===o.type&&["aria-hidden","disabled"].includes(o.attributeName))&&(l.current=Q(r))}}catch(e){n.e(e)}finally{n.f()}}))).observe(r,{attributes:!0,childList:!0,subtree:!0}),t=function(e){var t=void 0===e.code?e.key:e.code,n=l.current[0],r=l.current[l.current.length-1];"Tab"===t&&(e.shiftKey||document.activeElement!==r||(n.focus(),e.preventDefault()),e.shiftKey&&document.activeElement===n&&(r.focus(),e.preventDefault()))},"number"==typeof o)null===(i=l.current[o])||void 0===i||i.focus();if("string"==typeof o)null===(c=l.current.find((function(e){return e.matches(o)})))||void 0===c||c.focus();o instanceof HTMLElement&&l.current.includes(o)&&o.focus(),document.documentElement.addEventListener("keydown",t)}return function(){document.documentElement.removeEventListener("keydown",t),n&&n.disconnect()}}),[e,s].concat(z(r)))},cl=function(e){var t=i();return a((function(){var n=document.getElementById(e);n&&(t.current=n)}),[e]),t};export{Qe as Accordion,tt as Breadcrumb,ut as Button,kt as Card,$t as Carousel,Er as CheckBox,ct as CircularProgress,P as ColorPalette,M as ColorPaletteEduqas,Cn as ContextHelp,Hn as ContextMenu,ro as DateTimePicker,Ct as DestructiveButton,Nn as DragAndDropList,lo as Email,xn as Emphasis,Gi as ErrorCard,xc as ErrorNotification,Co as FileInput,Xr as FilterList,Fi as Footer,Lr as Form,Ti as Header,vt as IconButton,Hc as InfoNotification,Ci as InformationCard,Ir as Input,ec as LinearProgress,io as Link,xt as LinkButton,ic as LocalizationMenu,Ec as Modal,fc as Notification,_i as Page,Dc as PageTitle,Qc as Pagination,Xn as Paragraph,Vo as Password,$c as Pill,hn as Popup,ra as PopupWindow,Gt as PrimaryButton,ia as PrintLayout,da as PrintWindow,Yo as RadioGroup,ga as ScrollableContainer,Xt as SecondaryButton,ua as SectionHeading,pa as SectionTitle,Qo as Select,va as SigninForm,Ya as SigninMenu,Be as StylePalette,La as SubParagraph,Sa as SubTitle,Xi as SuccessCard,Nc as SuccessNotification,tl as Table,nl as Tabs,Uo as TextArea,oi as Toggle,si as VerificationCodeInput,Zi as WarningCard,ti as useAnimation,Sn as useEventListener,il as useFocusTrap,ac as useKeydownEvent,ni as useMediaQuery,cl as useRefById};
1
+ import*as e from"react";import t,{forwardRef as o,useState as r,useRef as n,useMemo as a,useEffect as i,useLayoutEffect as l,useImperativeHandle as c,useContext as s}from"react";import{css as g,jsx as d,keyframes as b,Global as u}from"@emotion/core";import{svgComponentToDataURL as p,isCallableFunction as I,isKeyLabelPair as C,extractContent as h,extractKey as m,isSvgComponent as v,throttle as A,developerWarning as f,findScrollableParent as x,isRefObject as y,isArrayEqual as G,isPrimitiveArray as Z,isKeyLabelPairArray as W,formatDateTime as w,formatDate as X,preventDefaultBehavior as k,isPlainObject as B,containsDuplicates as V,isPrimitive as R,transparentize as Y,formattedStringToPlainText as H,getKeyboardFocusableElements as N,developerError as J,getSelected as F}from"wjec-one/utils";import{useWjecOneThemeStyles as z,useWjecOneTheme as L,useThemeColor as j}from"wjec-one/theme";import{useId as P,useButton as S}from"react-aria";import{useSwipeable as O}from"react-swipeable";import E from"react-dom";import{disableBodyScroll as D,clearAllBodyScrollLocks as M,enableBodyScroll as T}from"body-scroll-lock";var Q,U=Object.freeze({border:"#BCCBD1",entryLevel:"#6B994D",error:"#D32F2F",errorBackground:"#FBEBEB",errorDark:"#A82424",errorDarker:"#661616",font:"#2E3638",fontLight:"#606A6C",gceALevel:"#516FA2",gceASLevel:"#4D9995",gcse:"#81994D",highlight:"#FFEDC1",neutral:"#F1F3F4",neutralDark:"#2D3538",neutralLight:"#56666C",offBlack:"#001B26",offWhite:"#FAFCFC",otherQualifications:"#A55395",primary:"#007DB2",primaryDark:"#00628C",primaryDarkActive:"#004766",primaryLight:"#E5F8FF",primaryLightActive:"#CCF1FF",primaryLightest:"#E5F7FF",secondary:"#47BAD1",secondaryDark:"#1F6B7A",secondaryDarkActive:"#103840",secondaryLight:"#C0E8F0",secondaryLightActive:"#96CBD6",success:"#43A047",successBackground:"#EDF6ED",successDark:"#3C9040",successDarker:"#2A662D",tertiary:"#FFEDC1",vQAward:"#D86C8B",warning:"#F57C00",warningBackground:"#FEF2E6",warningDark:"#EF6C00",welshBaccAdvanced:"#6E81DC",welshBaccFoundation:"#BF8660",welshBaccNational:"#B4C160",welshBaccKS4:"#B25A6C"}),K=Object.freeze({...U,primary:"#F1511B",primaryDark:"#BF3608",primaryDarkActive:"#BF3608",primaryLight:"#FDB8A1",primaryLightActive:"#FDB8A1"});function $(){return $=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},$.apply(null,arguments)}var q,_=o(function(t,o){return e.createElement("svg",$({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Q||(Q=e.createElement("path",{d:"M6.767 7.742 10 10.975l3.233-3.233a.83.83 0 1 1 1.175 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0L5.583 8.917a.83.83 0 0 1 0-1.175.848.848 0 0 1 1.184 0Z",fill:"currentColor"})))});function ee(){return ee=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ee.apply(null,arguments)}var te,oe=o(function(t,o){return e.createElement("svg",ee({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),q||(q=e.createElement("path",{d:"M12.258 13.233 9.025 10l3.233-3.233a.83.83 0 1 0-1.175-1.175L7.258 9.417a.83.83 0 0 0 0 1.175l3.825 3.825a.83.83 0 0 0 1.175 0 .848.848 0 0 0 0-1.184Z",fill:"currentColor"})))});function re(){return re=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},re.apply(null,arguments)}var ne,ae=o(function(t,o){return e.createElement("svg",re({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),te||(te=e.createElement("path",{d:"M7.742 13.233 10.975 10 7.742 6.767a.83.83 0 1 1 1.175-1.175l3.825 3.825a.83.83 0 0 1 0 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0 .848.848 0 0 1 0-1.184Z",fill:"currentColor"})))});function ie(){return ie=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ie.apply(null,arguments)}var le=o(function(t,o){return e.createElement("svg",ie({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),ne||(ne=e.createElement("path",{d:"M6.767 12.258 10 9.025l3.233 3.233a.83.83 0 1 0 1.175-1.175l-3.825-3.825a.83.83 0 0 0-1.175 0l-3.825 3.825a.83.83 0 0 0 0 1.175.848.848 0 0 0 1.184 0Z",fill:"currentColor"})))});var ce,se=Object.freeze({borderRadius:"4px",borderRadiusMedium:"8px",dropShadow:`0px 2px 10px ${U.border}`,scrollbar:g("&::-webkit-scrollbar{height:14px;width:",14,"px;}&::-webkit-scrollbar-button:single-button{display:block;height:16px;&:horizontal{&:decrement{background:",p(t.createElement(oe,{color:U.fontLight}))," 0 -3px / 20px no-repeat;&:hover{background-image:",p(t.createElement(oe,{color:U.font})),";}}&:increment{background:",p(t.createElement(ae,{color:U.fontLight}))," center -3px / 20px no-repeat;&:hover{background-image:",p(t.createElement(ae,{color:U.font})),";}}}&:vertical{&:decrement{background:",p(t.createElement(le,{color:U.fontLight}))," center 0 / 20px no-repeat;&:hover{background-image:",p(t.createElement(le,{color:U.font})),";}}&:increment{background:",p(t.createElement(_,{color:U.fontLight}))," center -3px / 20px no-repeat;&:hover{background-image:",p(t.createElement(_,{color:U.font})),";}}}}&::-webkit-scrollbar-thumb{background-clip:padding-box;background-color:",U.border,";border:3px solid transparent;border-radius:7px;&:hover{background-color:",U.fontLight,";}}&::-webkit-scrollbar-track{background-clip:padding-box;background-color:",U.neutral,";border:3px solid transparent;border-radius:7px;}"),visiblyHidden:{name:"1dw21dg",styles:"border-width:0;flex:0;height:0;margin:0;max-height:0;max-width:0;min-height:0;min-width:0;opacity:0;overflow:hidden;padding:0;position:absolute;width:0;"}});function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ge.apply(null,arguments)}var de=o(function(t,o){return e.createElement("svg",ge({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),ce||(ce=e.createElement("path",{d:"M6.767 7.742 10 10.975l3.233-3.233a.83.83 0 1 1 1.175 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0L5.583 8.917a.83.83 0 0 1 0-1.175.848.848 0 0 1 1.184 0Z",fill:"currentColor"})))});const be={name:"1bhjuxx",styles:"box-sizing:border-box;&::after,&::before,& *,& *::after,& *::before{box-sizing:inherit;}"},ue=g("&::selection{background-color:",U.highlight,";}"),pe=g("color:",U.neutralDark,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:16px;"),Ie={name:"8uhtka",styles:"overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},Ce=({children:e,expanded:t=!1,id:o,onClick:c,spacing:s="normal",title:b})=>{const[u,p]=r(t),C=n(void 0),h=n(void 0),m=P(o),v=a(()=>"small"===s?16:20,[s]);i(()=>{t!==u&&(t?f():A())},[t]),l(()=>{h.current.style.height=u?`${h.current.scrollHeight}px`:"0",u&&C.current.setAttribute("open","open")},[u]);const A=()=>{p(!1),I(c)&&c(!1)},f=()=>{p(!0),I(c)&&c(!0)},x=z(fe),y=a(()=>({"--opacity":u?1:0,"--padding-top":u?`${v}px`:0,"--padding-bottom":u?`${v}px`:0}),[u]);return d("details",{css:g([x.container,u&&x.containerExpanded],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWlEcUIiLCJmaWxlIjoiQWNjb3JkaW9uQ29udGVudC5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QsIHsgdXNlRWZmZWN0LCB1c2VMYXlvdXRFZmZlY3QsIHVzZU1lbW8sIHVzZVJlZiwgdXNlU3RhdGUgfSBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCB7IGlzQ2FsbGFibGVGdW5jdGlvbiwgc3ZnQ29tcG9uZW50VG9EYXRhVVJMIH0gZnJvbSAnd2plYy1vbmUvdXRpbHMnO1xuLy8gQHRyYW5zZm9ybS1wYXRoIC4uL2Fzc2V0cy9pY29ucy9jYXJldF9kb3duLnN2Z1xuaW1wb3J0IENhcmV0RG93biBmcm9tIFwiLi4vYXNzZXRzL2ljb25zL2NhcmV0X2Rvd24uc3ZnXCI7XG5pbXBvcnQgeyBib3JkZXJCb3ggfSBmcm9tIFwiLi4vc3R5bGVzL2NvbW1vbi1zdHlsZXNcIjtcbmltcG9ydCB7IHVzZVdqZWNPbmVUaGVtZVN0eWxlcyB9IGZyb20gJ3dqZWMtb25lL3RoZW1lJztcbmltcG9ydCB7IHVzZUlkIH0gZnJvbSAncmVhY3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mRlci1ib3R0b20gMC4wNXMgbGluZWFyIDAuMnM7XHJcblxyXG4gICAgJjo6YWZ0ZXIge1xyXG4gICAgICBiYWNrZ3JvdW5kOiAke3N2Z0NvbXBvbmVudFRvRGF0YVVSTCg8Q2FyZXREb3duIC8+KX1cclxuICAgICAgICAgICAgICAgICAgY2VudGVyIGNlbnRlciAvIDI0cHhcclxuICAgICAgICAgICAgICAgICAgbm8tcmVwZWF0O1xyXG4gICAgICBjb250ZW50OiAnJztcclxuICAgICAgaGVpZ2h0OiAyNHB4O1xyXG4gICAgICBwb3NpdGlvbjogYWJzb2x1dGU7XHJcbiAgICAgIHJpZ2h0OiAxMHB4O1xyXG4gICAgICB0b3A6IDUwJTtcclxuICAgICAgdHJhbnNmb3JtOiB0cmFuc2xhdGVZKC01MCUpIHNjYWxlWSgxKTtcclxuICAgICAgdHJhbnNpdGlvbjogdHJhbnNmb3JtIDAuM3MgZWFzZS1pbi1vdXQ7XHJcbiAgICAgIHdpZHRoOiAyNHB4O1xyXG4gICAgfVxyXG4gIGAsXG4gICAgc3VtbWFyeUV4cGFuZGVkOiBjc3MgYFxyXG4gICAgYm9yZGVyLWJvdHRvbTogMnB4IHNvbGlkICR7Y29sb3JQYWxldHRlLmJvcmRlcn07XHJcbiAgICB0cmFuc2l0aW9uOiBib3JkZXItYm90dG9tIDAuM3MgZWFzZS1pbi1vdXQ7XHJcblxyXG4gICAgJjo6YWZ0ZXIge1xyXG4gICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoLTUwJSkgc2NhbGVZKC0xKTtcclxuICAgIH1cclxuICBgLFxuICAgIHN1bW1hcnlTcGFjaW5nU21hbGw6IGNzcyBgXHJcbiAgICBmb250LXNpemU6IDE0cHg7XHJcbiAgICBsaW5lLWhlaWdodDogMTZweDtcclxuICAgIHBhZGRpbmc6IDEycHggMTZweDtcclxuICBgXG59KTtcbiJdfQ== */"),"data-accordion-container":!0,id:m,ref:C},d("summary",{css:g([x.summary,"small"===s&&x.summarySpacingSmall,u&&x.summaryExpanded],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFEZSIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuaW1wb3J0IHsgaXNDYWxsYWJsZUZ1bmN0aW9uLCBzdmdDb21wb25lbnRUb0RhdGFVUkwgfSBmcm9tICd3amVjLW9uZS91dGlscyc7XG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vYXNzZXRzL2ljb25zL2NhcmV0X2Rvd24uc3ZnXG5pbXBvcnQgQ2FyZXREb3duIGZyb20gXCIuLi9hc3NldHMvaWNvbnMvY2FyZXRfZG93bi5zdmdcIjtcbmltcG9ydCB7IGJvcmRlckJveCB9IGZyb20gXCIuLi9zdHlsZXMvY29tbW9uLXN0eWxlc1wiO1xuaW1wb3J0IHsgdXNlV2plY09uZVRoZW1lU3R5bGVzIH0gZnJvbSAnd2plYy1vbmUvdGhlbWUnO1xuaW1wb3J0IHsgdXNlSWQgfSBmcm9tICdyZWFjdC1hcmlhJztcbmNvbnN0IENPTlRFTlRfUEFERElOR19OT1JNQUwgPSAyMDtcbmNvbnN0IENPTlRFTlRfUEFERElOR19TTUFMTCA9IDE2O1xuZXhwb3J0IGNvbnN0IEFjY29yZGlvbkNvbnRlbnQgPSAoeyBjaGlsZHJlbiwgZXhwYW5kZWQgPSBmYWxzZSwgaWQ6IGlkUHJvcCwgb25DbGljaywgc3BhY2luZyA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0+XHJcbiAgICAgIDxzdW1tYXJ5IGNzcz17W1xuICAgICAgICAgICAgc3R5bGVzLnN1bW1hcnksXG4gICAgICAgICAgICBzcGFjaW5nID09PSAnc21hbGwnICYmIHN0eWxlcy5zdW1tYXJ5U3BhY2luZ1NtYWxsLFxuICAgICAgICAgICAgaXNFeHBhbmRlZCAmJiBzdHlsZXMuc3VtbWFyeUV4cGFuZGVkXG4gICAgICAgIF19IG9uQ2xpY2s9e2hhbmRsZVN1bW1hcnlDbGlja30+XHJcbiAgICAgICAge3RpdGxlfVxyXG4gICAgICA8L3N1bW1hcnk+XHJcblxyXG4gICAgICA8ZGl2IGNzcz17W1xuICAgICAgICAgICAgc3R5bGVzLmNvbnRlbnRDb250YWluZXIsXG4gICAgICAgICAgICBzdHlsZXMuY29udGVudCxcbiAgICAgICAgICAgICFpc0V4cGFuZGVkICYmIHN0eWxlcy5jb250ZW50RGVsYXlzXG4gICAgICAgIF19IHN0eWxlPXtkeW5hbWljU3R5bGVzfT5cclxuICAgICAgICA8ZGl2IGNzcz17W3N0eWxlcy5jb250ZW50LCAhaXNFeHBhbmRlZCAmJiBzdHlsZXMuY29udGVudERlbGF5c119IGRhdGEtYWNjb3JkaW9uLWNvbnRlbnQgcmVmPXtjb250ZW50fT5cclxuICAgICAgICAgIHtjaGlsZHJlbn1cclxuICAgICAgICA8L2Rpdj5cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L2RldGFpbHM+KTtcbn07XG5BY2NvcmRpb25Db250ZW50LmRpc3BsYXlOYW1lID0gJ0FjY29yZGlvbkNvbnRlbnQnO1xuY29uc3QgZ2V0U3R5bGVzID0gKHsgY29sb3JQYWxldHRlIH0pID0+ICh7XG4gICAgY29udGFpbmVyOiBjc3MgYFxyXG4gICAgJHtib3JkZXJCb3h9O1xyXG4gICAgYm9yZGVyLWJvdHRvbTogMnB4IHNvbGlkICR7Y29sb3JQYWxldHRlLmJvcmRlcn07XHJcbiAgICBmb250LWZhbWlseTogJ01vbnRzZX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JcbiAgICAgIGNvbnRlbnQ6ICcnO1xyXG4gICAgICBoZWlnaHQ6IDI0cHg7XHJcbiAgICAgIHBvc2l0aW9uOiBhYnNvbHV0ZTtcclxuICAgICAgcmlnaHQ6IDEwcHg7XHJcbiAgICAgIHRvcDogNTAlO1xyXG4gICAgICB0cmFuc2Zvcm06IHRyYW5zbGF0ZVkoLTUwJSkgc2NhbGVZKDEpO1xyXG4gICAgICB0cmFuc2l0aW9uOiB0cmFuc2Zvcm0gMC4zcyBlYXNlLWluLW91dDtcclxuICAgICAgd2lkdGg6IDI0cHg7XHJcbiAgICB9XHJcbiAgYCxcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXG4gICAgc3VtbWFyeVNwYWNpbmdTbWFsbDogY3NzIGBcclxuICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgIGxpbmUtaGVpZ2h0OiAxNnB4O1xyXG4gICAgcGFkZGluZzogMTJweCAxNnB4O1xyXG4gIGBcbn0pO1xuIl19 */"),onClick:e=>{e.preventDefault();!u?f():A()}},b),d("div",{css:g([x.contentContainer,x.content,!u&&x.contentDelays],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQTZEVyIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImlt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aW9uOiB0cmFuc2Zvcm0gMC4zcyBlYXNlLWluLW91dDtcclxuICAgICAgd2lkdGg6IDI0cHg7XHJcbiAgICB9XHJcbiAgYCxcbiAgICBzdW1tYXJ5RXhwYW5kZWQ6IGNzcyBgXHJcbiAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUuYm9yZGVyfTtcclxuICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20gMC4zcyBlYXNlLWluLW91dDtcclxuXHJcbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXG4gICAgc3VtbWFyeVNwYWNpbmdTbWFsbDogY3NzIGBcclxuICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgIGxpbmUtaGVpZ2h0OiAxNnB4O1xyXG4gICAgcGFkZGluZzogMTJweCAxNnB4O1xyXG4gIGBcbn0pO1xuIl19 */"),style:y},d("div",{css:g([x.content,!u&&x.contentDelays],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkFjY29yZGlvbkNvbnRlbnQuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWtFYSIsImZpbGUiOiJBY2NvcmRpb25Db250ZW50LmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCwgeyB1c2VFZmZlY3QsIHVzZUxheW91dEVmZmVjdCwgdXNlTWVtbywgdXNlUmVmLCB1c2VTdGF0ZSB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuaW1wb3J0IHsgaXNDYWxsYWJsZUZ1bmN0aW9uLCBzdmdDb21wb25lbnRUb0RhdGFVUkwgfSBmcm9tICd3amVjLW9uZS91dGlscyc7XG4vLyB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XRvcCkgMTZweCB2YXIoLS1wYWRkaW5nLWJvdHRvbSkgMTZweDtcclxuICBgLFxuICAgIGNvbnRhaW5lckV4cGFuZGVkOiBjc3MgYFxyXG4gICAgYm9yZGVyLWJvdHRvbTogMnB4IHNvbGlkICR7Y29sb3JQYWxldHRlLnNlY29uZGFyeX07XHJcblxyXG4gICAgJjpob3ZlciA+IHN1bW1hcnkge1xyXG4gICAgICBib3JkZXItYm90dG9tOiAycHggc29saWQgJHtjb2xvclBhbGV0dGUucHJpbWFyeX07XHJcbiAgICAgIHRyYW5zaXRpb246IGJvcmRlci1ib3R0b20tY29sb3IgMC4zcyBlYXNlLWluLW91dDtcclxuICAgIH1cclxuICBgLFxuICAgIGNvbnRlbnQ6IGNzcyBgXHJcbiAgICBvdmVyZmxvdzogaGlkZGVuO1xyXG4gICAgdHJhbnNpdGlvbjogaGVpZ2h0IDAuMnMgbGluZWFyLFxyXG4gICAgICAgICAgICAgICAgb3BhY2l0eSAwLjFzIGxpbmVhciAwLjE1cyxcclxuICAgICAgICAgICAgICAgIHBhZGRpbmctdG9wIDAuMnMgbGluZWFyLFxyXG4gICAgICAgICAgICAgICAgcGFkZGluZy1ib3R0b20gMC4ycyBsaW5lYXI7XHJcbmAsXG4gICAgY29udGVudERlbGF5czogY3NzIGBcclxuICAgIHRyYW5zaXRpb24tZGVsYXk6IDAuMDVzLCAwcywgMC4wNXMsIDAuMDVzO1xyXG5gLFxuICAgIHN1bW1hcnk6IGNzcyBgXHJcbiAgICBhbGlnbi1pdGVtczogZmxleC1zdGFydDtcclxuICAgIGJhY2tncm91bmQtY29sb3I6IHRyYW5zcGFyZW50O1xyXG4gICAgYm9yZGVyOiBub25lO1xyXG4gICAgYm9yZGVyLWJvdHRvbTogMCBzb2xpZCB0cmFuc3BhcmVudDtcclxuICAgIGNvbG9yOiAke2NvbG9yUGFsZXR0ZS5mb250fTtcclxuICAgIGN1cnNvcjogcG9pbnRlcjtcclxuICAgIGRpc3BsYXk6IGZsZXg7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cbiAgICAmOjphZnRlciB7XHJcbiAgICAgIHRyYW5zZm9ybTogdHJhbnNsYXRlWSgtNTAlKSBzY2FsZVkoLTEpO1xyXG4gICAgfVxyXG4gIGAsXG4gICAgc3VtbWFyeVNwYWNpbmdTbWFsbDogY3NzIGBcclxuICAgIGZvbnQtc2l6ZTogMTRweDtcclxuICAgIGxpbmUtaGVpZ2h0OiAxNnB4O1xyXG4gICAgcGFkZGluZzogMTJweCAxNnB4O1xyXG4gIGBcbn0pO1xuIl19 */"),"data-accordion-content":!0,ref:h},e)))};Ce.displayName="AccordionContent";var he={name:"w2zbrk",styles:"opacity:var(--opacity);overflow:hidden;padding:var(--padding-top) 16px var(--padding-bottom) 16px;"},me={name:"8194xo",styles:"overflow:hidden;transition:height 0.2s linear,opacity 0.1s linear 0.15s,padding-top 0.2s linear,padding-bottom 0.2s linear;"},ve={name:"114c0jv",styles:"transition-delay:0.05s,0s,0.05s,0.05s;"},Ae={name:"1o9q230",styles:"font-size:14px;line-height:16px;padding:12px 16px;"};const fe=({colorPalette:e})=>({container:g(be,";border-bottom:2px solid ",e.border,";font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;position:relative;color:",e.font,";transition:border-bottom 0.3s ease-in-out;&:hover{border-bottom:2px solid ",e.primary,";}"),contentContainer:he,containerExpanded:g("border-bottom:2px solid ",e.secondary,";&:hover > summary{border-bottom:2px solid ",e.primary,";transition:border-bottom-color 0.3s ease-in-out;}"),content:me,contentDelays:ve,summary:g("align-items:flex-start;background-color:transparent;border:none;border-bottom:0 solid transparent;color:",e.font,";cursor:pointer;display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;outline:none;padding:16px;position:relative;text-align:left;transition:border-bottom 0.05s linear 0.2s;&::after{background:",p(d(de,null))," center center / 24px no-repeat;content:'';height:24px;position:absolute;right:10px;top:50%;transform:translateY(-50%) scaleY(1);transition:transform 0.3s ease-in-out;width:24px;}"),summaryExpanded:g("border-bottom:2px solid ",e.border,";transition:border-bottom 0.3s ease-in-out;&::after{transform:translateY(-50%) scaleY(-1);}"),summarySpacingSmall:Ae}),xe=(e,o=[])=>t.Children.toArray(e).map((e,t)=>t<o.length?o[t]:e.props.expanded),ye=({children:e,exclusive:o,id:n,spacing:a="normal"})=>{const[l,c]=r(xe(e));i(()=>{((e,o=!1)=>{let r=0,n=!1;if(t.Children.forEach(e,e=>{e.props.expanded&&r++,("object"!=typeof e||"AccordionContent"!==e.type.name&&"AccordionContent"!==e.type.displayName)&&(n=!0)}),o&&r>1)throw new Error('Accordion with "exclusive" flag can only have one expanded content section');if(n)throw new Error("Accordion content must be wrapped in an Accordion.Content component")})(e,o),c(t=>xe(e,t))},[e,o]);const s=(e,t)=>r=>{c(t=>{const n=o&&r?Array(t.length).fill(!1):[...t];return n[e]=r,n}),I(t)&&t(r)};return d("div",{id:n,css:Ge},t.Children.map(e,(e,o)=>t.cloneElement(e,{expanded:l[o],onClick:s(o,e.props.onClick),spacing:e.props.spacing||a})))};ye.Content=Ce;const Ge=g(be,";width:100%;");var Ze;function We(){return We=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},We.apply(null,arguments)}var we,Xe=o(function(t,o){return e.createElement("svg",We({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Ze||(Ze=e.createElement("path",{d:"M7.742 13.233 10.975 10 7.742 6.767a.83.83 0 1 1 1.175-1.175l3.825 3.825a.83.83 0 0 1 0 1.175l-3.825 3.825a.83.83 0 0 1-1.175 0 .848.848 0 0 1 0-1.184Z",fill:"currentColor"})))});function ke(){return ke=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ke.apply(null,arguments)}var Be=o(function(t,o){return e.createElement("svg",ke({xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"none",ref:o},t),we||(we=e.createElement("path",{d:"M13.333 2.667V3.6c0 2.24 0 3.36-.436 4.216a4 4 0 0 1-1.748 1.748C10.294 10 9.174 10 6.933 10H2.667m0 0L6 6.667M2.667 10 6 13.333",stroke:"#004766",strokeWidth:1.333,strokeLinecap:"round",strokeLinejoin:"round"})))});const Ve=({breadcrumbs:e,id:o,keyExtractor:r,labelExtractor:n,onClick:a,showCurrent:i=!0})=>{const l=z(Ye);return d("ul",{css:l.list,id:o},e.map((o,c)=>{const s=((e,t)=>C(e)?e.key:m(e,r,t))(o,c),b=c===e.length-1;return d(t.Fragment,{key:s},(i||!b)&&d("li",{css:l.listItem},d("a",{"aria-current":!!b&&"page",css:g([l.breadCrumb,!b&&l.hoverEffect],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIkJyZWFkY3J1bWIuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQXFCNkQiLCJmaWxlIjoiQnJlYWRjcnVtYi5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgaXNLZXlMYWJlbFBhaXIsIGV4dHJhY3RDb250ZW50LCBleHRyYWN0S2V5LCBzdmdDb21wb25lbnRUb0RhdGFVUkwsIGlzQ2FsbGFibGVGdW5jdGlvbiB9IGZyb20gJ3dqZWMtb25lL3V0aWxzJztcbmltcG9ydCB7IGNzcyB9IGZyb20gJ0BlbW90aW9uL2NvcmUnO1xuLy8gQHRyYW5zZm9ybS1wYXRoIC4uL2Fzc2V0cy9pY29ucy9jYXJldF9yaWdodC5zdmdcbmltcG9ydCBDYXJldFJpZ2h0IGZyb20gXCIuLi9hc3NldHMvaWNvbnMvY2FyZXRfcmlnaHQuc3ZnXCI7XG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vYXNzZXRzL2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taXRlbXM6IGNlbnRlcjtcclxuICAgIGRpc3BsYXk6IGZsZXg7XHJcblxyXG4gICAgJjo6YmVmb3JlLCAmOjphZnRlciB7XHJcbiAgICAgIGJhY2tncm91bmQtcmVwZWF0OiBuby1yZXBlYXQ7XHJcbiAgICAgIGJhY2tncm91bmQtc2l6ZTogY29udGFpbjtcclxuICAgICAgaGVpZ2h0OiAxNnB4O1xyXG4gICAgICB3aWR0aDogMTZweDtcclxuICAgIH1cclxuXHJcbiAgICAmOmZpcnN0LW9mLXR5cGU6bm90KDpsYXN0LW9mLXR5cGUpOjpiZWZvcmUge1xyXG4gICAgICBiYWNrZ3JvdW5kLWltYWdlOiAke3N2Z0NvbXBvbmVudFRvRGF0YVVSTCg8TGluZUNvcm5lckRvd25MZWZ0IGNvbG9yPXtjb2xvclBhbGV0dGUucHJpbWFyeURhcmtBY3RpdmV9Lz4pfTtcclxuICAgICAgY29udGVudDogJyc7XHJcbiAgICB9XHJcblxyXG4gICAgJjpub3QoOmxhc3Qtb2YtdHlwZSk6OmFmdGVyIHtcclxuICAgICAgYmFja2dyb3VuZC1pbWFnZTogJHtzdmdDb21wb25lbnRUb0RhdGFVUkwoPENhcmV0UmlnaHQgY29sb3I9e2NvbG9yUGFsZXR0ZS5wcmltYXJ5RGFya0FjdGl2ZX0vPil9O1xyXG4gICAgICBjb250ZW50OiAnJztcclxuICAgIH1cclxuICBgXG59KTtcbiJdfQ== */"),"data-current-crumb":C(o)?o.label:h(o,n,c),href:"#",onClick:b?void 0:(u=s,()=>I(a)&&a(u))},C(o)?o.label:h(o,n,c))));var u}))};var Re={name:"1c386kp",styles:"display:flex;font-family:'Montserrat',sans-serif;font-size:12px;list-style:none;margin:0;padding:0;"};const Ye=({colorPalette:e})=>({breadCrumb:g("color:",e.neutralDark,";display:inline-block;font-size:16px;line-height:16px;padding:4px 12px;text-decoration:none;text-decoration-color:transparent;&::before{content:attr(data-current-crumb);display:block;font-weight:700;height:0;overflow:hidden;visibility:hidden;}"),hoverEffect:g("&:hover{cursor:pointer;font-weight:700;text-decoration:underline;text-decoration-color:",e.neutralDark,";}"),list:Re,listItem:g("align-items:center;display:flex;&::before,&::after{background-repeat:no-repeat;background-size:contain;height:16px;width:16px;}&:first-of-type:not(:last-of-type)::before{background-image:",p(d(Be,{color:e.primaryDarkActive})),";content:'';}&:not(:last-of-type)::after{background-image:",p(d(Xe,{color:e.primaryDarkActive})),";content:'';}")});function He(){return He=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},He.apply(null,arguments)}const Ne=(e,t,o=[])=>{i(()=>{if(t())throw new Error(e)},o)},Je=126,Fe=({ariaLabel:e,color:t,id:o,progress:r,size:n})=>{const i=void 0===r,l=a(()=>r&&Je-Math.min(Math.max(r,0),100)/100*Je,[r]),c=a(()=>{switch(n){case"extraSmall":return 2;case"large":return 8;default:return 4}},[n]),s=z(Se);return d("div",{css:g([s.container,i?s.containerIndeterminate:s.containerStatic]),id:o,"data-size":n},d("svg",{"aria-label":e,css:g([s.svgContainer,{"--color":t}]),viewBox:"20 20 48 48"},d("circle",{css:g([s.circle,i?s.circleIndeterminate:s.circleStatic,{"--dashoffset":l}]),cx:"44",cy:"44",fill:"none",r:"20",strokeWidth:c})))},ze=b`
2
+ 100% { transform: rotate(360deg); }
3
+ `,Le=b`
4
+ 0% {
5
+ stroke-dasharray: 1px, 200px;
6
+ stroke-dashoffset: 0;
7
+ }
8
+ 50% {
9
+ stroke-dasharray: 100px, 200px;
10
+ stroke-dashoffset: -15px;
11
+ }
12
+ 100% {
13
+ stroke-dasharray: 100px, 200px;
14
+ stroke-dashoffset: -125px;
15
+ }
16
+ `;var je={name:"7bv8j5",styles:'display:flex;height:20px;width:20px;&[data-size="extraSmall"]{height:12px;width:12px;}&[data-size="small"]{height:16px;width:16px;}&[data-size="large"]{height:24px;width:24px;}'},Pe={name:"4dsd3s",styles:"transform:rotate(-90deg);"};const Se=({colorPalette:e})=>({circle:g("--dashoffset:",Je,";stroke:currentColor;stroke-dasharray:80px,200px;stroke-dashoffset:var(--dashoffset);"),circleIndeterminate:g("animation:",Le," 1.4s ease-in-out infinite;"),circleStatic:g("stroke-dasharray:",Je,"px;transition:stroke-dashoffset 0.3s ease-out;"),container:je,containerIndeterminate:g("animation:",ze," 1.4s linear infinite;"),containerStatic:Pe,svgContainer:g("--color:",e.secondary,";color:var(--color);")}),Oe=({activeColor:e,ariaLabel:o,borderColor:r,buttonType:a="button",color:i,children:l,disabled:c,focusColor:s,hoverColor:b,icon:u,iconColor:p,iconColorActive:I,iconPosition:C="left",id:h,label:m,labelColor:A,labelColorActive:f,loading:x,loadingProgress:y,onPress:G,outlineColor:Z,size:W="normal"})=>{Ne("WJEC One Button: Icon must be a valid SVGComponent",()=>u&&!v(t.createElement(u)),[u]),Ne("WJEC One Button: A Button must have a label and/or icon",()=>!l&&!u&&!m,[l,u,m]);const w=n(void 0),[{colorPalette:X}]=L(),k={"--active-background-color":e,"--background-color":i,"--border-color":r,"--focus-background-color":s,"--hover-background-color":b,"--icon-color":p,"--icon-color-active":I,"--label-color":A,"--label-color-active":f,"--outline-color":Z,"--padding":"large"===W?"8px 24px":"small"===W?"2px 8px":void 0},B=z(Qe),V=()=>d(u,{"aria-hidden":!0,css:g([B.icon,(m||l)&&u&&("left"===C?B.iconLeft:B.iconRight)])}),{buttonProps:R}=S({id:h,isDisabled:c,onPress:G,type:a},w);return d("button",He({"aria-label":o},R,{ref:w,css:B.button,style:k,"data-loading":x||void 0}),u&&"left"===C&&V(),m||l,u&&"right"===C&&V(),x&&d("div",{css:B.loading},d(Fe,{color:A||X.neutralDark,progress:y})))};var Ee={name:"18kopw8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;opacity:0.6;transition:inherit;width:24px;"},De={name:"15ro776",styles:"margin-right:4px;"},Me={name:"15fzge",styles:"margin-left:4px;"},Te={name:"c524f5",styles:"left:50%;position:absolute;top:50%;transform:translate(-50%,-50%);"};const Qe=({colorPalette:e})=>({button:g("--active-background-color:",e.neutralLight,";--background-color:",e.neutral,";--border-color:transparent;--focus-background-color:var(--background-color);--hover-background-color:",e.border,";--label-color:",e.neutralDark,";--label-color-active:#FFFFFF;--outline-color:",e.primary,";--padding:8px;--icon-color:var(--label-color);--icon-color-active:var(--label-color-active);",be,";align-items:center;background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",se.borderRadius,";color:var(--label-color);cursor:pointer;display:flex;font-family:'Montserrat',sans-serif;font-size:16px;font-weight:600;height:40px;justify-content:center;letter-spacing:0.5px;line-height:24px;padding:var(--padding);position:relative;transition:background-color 0.05s linear,color 0.05s linear;white-space:pre-wrap;&:disabled{background-color:",e.neutral,";color:",e.border,";cursor:not-allowed;& > svg{color:",e.border,';}}&:focus{background-color:var(--focus-background-color);outline:1px solid var(--outline-color);outline-offset:-3px;}&:not(:disabled,[data-loading="true"]):hover{background-color:var(--hover-background-color);}&:not(:disabled,[data-loading="true"]):active{background-color:var(--active-background-color);color:var(--label-color-active);& > svg{color:var(--icon-color-active);}}&[data-loading="true"]{color:transparent;& > svg{color:transparent;}}'),icon:Ee,iconLeft:De,iconRight:Me,loading:Te}),Ue=({...e})=>{const[{colorPalette:t}]=L();return d(Oe,He({},e,{activeColor:t.errorDarker,color:t.error,hoverColor:t.errorDark,iconColor:"#FFFFFF",labelColor:"#FFFFFF",outlineColor:"#FFFFFF"}))},Ke=({icon:e,iconColor:t,loading:o,...r})=>{const[{colorPalette:n}]=L();return d(Oe,He({},r,{color:o?n.neutral:"transparent",loading:o}),d(e,{css:$e.icon,style:{"--icon-color":t},"aria-hidden":!0}))},$e={icon:{name:"1s88svv",styles:"color:var(--icon-color);flex-shrink:0;height:24px;transition:inherit;width:24px;"}},qe=({loading:e,...t})=>{const[{colorPalette:o}]=L();return Ne("WJEC One LinkButton: A LinkButton cannot have an unaccompanied icon",()=>t.icon&&!(t.children||t.label),[t]),d(Oe,He({},t,{loading:e,color:e?o.neutral:"transparent",iconColor:o.fontLight,labelColor:o.primaryDark}))},_e=({...e})=>{const[{colorPalette:t}]=L();return d(Oe,He({},e,{activeColor:t.primaryDarkActive,color:t.primary,hoverColor:t.primaryDark,iconColor:"#FFFFFF",labelColor:"#FFFFFF",outlineColor:"#FFFFFF"}))},et=({...e})=>{const[{colorPalette:t}]=L();return d(Oe,He({},e,{activeColor:t.secondary,borderColor:e.disabled?"none":t.secondaryDark,color:"#FFFFFF",focusColor:t.secondaryLight,hoverColor:t.secondaryLight,labelColor:t.secondaryDark,labelColorActive:t.secondaryDark,outlineColor:"#FFFFFF"}))},tt=(e,t,o)=>{l(()=>{const r=o?.current?.style?.getPropertyValue(e);r!==t&&(null==t?o?.current?.style?.removeProperty(e):o?.current?.style?.setProperty(e,t.toString()))})},ot="undefined"!=typeof document?t.useLayoutEffect:()=>{};let rt=0;const nt=new Map;function at(e){let[t,o]=r();return ot(()=>{if(!e)return;let t=nt.get(e);if(t)o(t.element.id);else{let r="react-aria-description-"+rt++;o(r);let n=document.createElement("div");n.id=r,n.style.display="none",n.textContent=e,document.body.appendChild(n),t={refCount:0,element:n},nt.set(e,t)}return t.refCount++,()=>{t&&0===--t.refCount&&(t.element.remove(),nt.delete(e))}},[e]),{"aria-describedby":e?t:void 0}}const it=({ariaDescription:e,borderColor:t,children:o,id:r,padding:a})=>{const i=n(void 0),l=at(e);return tt("--padding",a,i),tt("--border-color",t,i),d("div",He({css:lt.cardMain,id:r,ref:i},l),o)},lt={cardMain:g("--border-color:none;--padding:30px 30px;background-color:#ffffff;border:1px solid var(--border-color);border-radius:",se.borderRadius,";box-shadow:",se.dropShadow,";padding:var(--padding);position:relative;")};var ct={name:"fup5xt",styles:"align-items:center;display:flex;justify-content:space-between;margin:30px 30px 0;"},st={name:"hv8m74",styles:"display:flex;justify-content:center;list-style:none;margin:0;padding:0;width:100%;"},gt={name:"1fyoaf7",styles:"display:inline-block;flex-shrink:0;height:100%;width:100%;"},dt={name:"103tnj5",styles:"--transition-duration:200ms;--translate-x:unset;display:flex;height:100%;position:relative;transform:translateX(var(--translate-x));width:100%;&[data-animating]{transition:transform ease-out var(--transition-duration);}&[data-swiping]{user-select:none;}& > *{flex-shrink:0;}"};const bt=({colorPalette:e})=>({container:g(be,";display:flex;flex-direction:column;height:100%;overflow:hidden;width:100%;"),controls:ct,dot:g("cursor:pointer;padding:5px;&::before{background-color:",e.border,";border:1px solid transparent;border-radius:3px;content:'';display:block;height:5px;transition:background-color 150ms linear,border-color 150ms linear;width:20px;}"),dotActive:g("&::before{background-color:",e.secondary,";border-color:",e.secondary,";}"),dots:st,navigationButton:g("align-items:center;background-color:",e.neutral,";border:none;border-radius:10px;cursor:pointer;display:flex;flex-shrink:0;height:20px;justify-content:center;outline:none;transition:opacity 100ms linear;width:40px;&:disabled{cursor:default;opacity:0;}"),navigationIcon:g("color:",e.fontLight,";height:15px;"),slide:gt,slides:dt});var ut;function pt(){return pt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},pt.apply(null,arguments)}var It,Ct=o(function(t,o){return e.createElement("svg",pt({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),ut||(ut=e.createElement("path",{d:"M9.412 3.921a.831.831 0 0 1 1.176 1.175l-4.063 4.07h9.308a.833.833 0 1 1 0 1.667H6.525l4.063 4.07a.831.831 0 0 1-1.176 1.176L4.04 10.707a1 1 0 0 1 0-1.414L9.412 3.92Z",fill:"currentColor"})))});function ht(){return ht=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ht.apply(null,arguments)}var mt=o(function(t,o){return e.createElement("svg",ht({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),It||(It=e.createElement("path",{d:"M10.588 3.921a.831.831 0 0 0-1.176 1.175l4.063 4.07H4.167a.833.833 0 1 0 0 1.667h9.308l-4.063 4.07a.831.831 0 0 0 1.176 1.176l5.372-5.372a1 1 0 0 0 0-1.414L10.588 3.92Z",fill:"currentColor"})))});const vt=({direction:e,disabled:t,onClick:o})=>{const r=z(bt);return d("button",{css:r.navigationButton,disabled:t,onClick:o,type:"button"},d("next"===e?mt:Ct,{css:r.navigationIcon}))},At=({active:e,onClick:t})=>{const o=z(bt);return d("li",{css:g([o.dot,e&&o.dotActive]),onClick:t})},ft=(e,t)=>(e+1)%t,xt=(e,t)=>(e+t-1)%t,yt=(e,t,o)=>{const r=o-t+Math.floor((o-1)/2)+e;return r>o-1?r%o:r},Gt=(e,t,o)=>{const r=((e,t)=>{const o=t.children[e];return Math.round(t.offsetWidth/2-o.offsetLeft-o.offsetWidth/2)})(e+t,o);o.style.setProperty("--translate-x",`${r}px`)},Zt=o(({buffer:e=1,children:o,id:s,infinite:g,onChange:b,showNavigationButtons:u=!0,showNavigationDots:p=!0,simulateMouseSwipe:C,slideIndex:h=0,slideTransitionDuration:m=200},v)=>{const f=n(),x=n(),[y,G]=r(h),Z=a(()=>g?e:0,[e,g]),W=a(()=>t.Children.toArray(o),[o]),w=a(()=>W.length,[W]),X=a(()=>w>0&&(u||p),[u,p,w]),k=a(()=>{const e=Object.keys(W).map(e=>parseInt(e));return g&&e.sort((e,t)=>yt(e,y,w)-yt(t,y,w)),e},[y,W,g,w]);l(()=>{w>0&&Gt(k.indexOf(y),Z,x?.current)},[y,Z,w,k]),i(()=>{const e=Math.max(0,Math.min(w-1,h));x?.current?.hasAttribute("data-animating")||e===y||R(e)},[h]),i(()=>{let e=f.current.offsetHeight,t=f.current.offsetWidth;const o=new ResizeObserver(([{contentRect:{height:o,width:r}}])=>{o===e&&r===t||(e=o,t=r,Gt(k.indexOf(y),Z,x?.current))});return o.observe(f.current),()=>{o.disconnect()}},[y,Z,k]);const B=A(()=>{if(g||y<w-1){const e=ft(y,w);R(e)}},{limit:m+1}),V=A(()=>{if(g||y>0){const e=xt(y,w);R(e)}},{limit:m+1}),R=e=>{if(e!==y){const t=()=>{x.current.removeAttribute("data-animating"),x.current.removeAttribute("data-swiping"),G(e),I(b)&&b(e)};m>0?(x.current.setAttribute("data-animating","true"),x.current.addEventListener("transitionend",t,{once:!0}),Gt(k.indexOf(e),Z,x?.current)):t()}};c(v,()=>({goToNextSlide:B,goToPreviousSlide:V,goToSlide:R}));const Y=e=>{const o=[];let r="before"===e?k[0]:k[w-1];for(let t=0;t<Z;t++)"before"===e&&(r=xt(r,w),o.unshift(r)),"after"===e&&(r=ft(r,w),o.push(r));return o.map(o=>t.cloneElement(W[o],{key:`buffer_${e}_${o}`}))},H=O({onSwiped:({deltaX:e,dir:t})=>{if(x.current.hasAttribute("data-swiping")){const n=(o=k.indexOf(y)+Z,r=x?.current,r.children[o].offsetWidth/3);Math.abs(e)>=n?"Left"===t?B():V():x.current.removeAttribute("data-swiping")}var o,r},onSwiping:({velocity:e})=>{!x.current.hasAttribute("data-swiping")&&e>.33&&x.current.setAttribute("data-swiping","true")},trackMouse:C}),N=z(bt);return tt("--transition-duration",`${m}ms`,x),d("div",{ref:f,css:N.container,id:s,"data-carousel-container":!0},d("div",He({},H,{ref:e=>{x.current=e,H.ref(e)},css:N.slides,"data-carousel-slides-container":!0}),Y("before"),k.map(e=>W[e]),Y("after")),X&&d("div",{css:N.controls},u&&d(vt,{direction:"previous",disabled:0===y&&!g,onClick:V}),p&&d("ol",{css:N.dots},W.map((e,t)=>d(At,{key:`slide_${t}`,active:t===y,onClick:()=>R(t)}))),u&&d(vt,{direction:"next",disabled:y===w-1&&!g,onClick:B})))});var Wt,wt,Xt;function kt(){return kt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},kt.apply(null,arguments)}var Bt=o(function(t,o){return e.createElement("svg",kt({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Wt||(Wt=e.createElement("path",{d:"M9.167 15h1.666v-1.667H9.167V15Z",fill:"currentColor"})),wt||(wt=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M1.667 10C1.667 5.4 5.4 1.667 10 1.667S18.333 5.4 18.333 10 14.6 18.333 10 18.333A8.336 8.336 0 0 1 1.667 10Zm1.666 0A6.675 6.675 0 0 0 10 16.667 6.675 6.675 0 0 0 16.667 10 6.676 6.676 0 0 0 10 3.333 6.676 6.676 0 0 0 3.333 10Z",fill:"currentColor"})),Xt||(Xt=e.createElement("path",{d:"M10 5a3.332 3.332 0 0 0-3.333 3.333h1.666c0-.916.75-1.666 1.667-1.666s1.667.75 1.667 1.666c0 1.667-2.5 1.459-2.5 4.167h1.666c0-1.875 2.5-2.083 2.5-4.167A3.332 3.332 0 0 0 10 5Z",fill:"currentColor"})))}),Vt={name:"115actz",styles:"display:inline-flex;position:relative;"},Rt={name:"1ixbp0l",styles:"pointer-events:none;"},Yt={name:"13v3rg8",styles:"overflow-y:auto;"},Ht={name:"17ju33v",styles:"--cursor:pointer;cursor:var(--cursor);display:inline-flex;"};const Nt=({colorPalette:e})=>({container:Vt,popup:g("--background-color:#fff;--color:",e.font,";--margin:4px;--max-height:300px;--max-width:300px;--padding:8px;--position-x:0;--position-y:0;font-family:'Montserrat',sans-serif;font-size:12px;left:var(--position-x);line-height:16px;margin:var(--margin);max-height:var(--max-height);max-width:var(--max-width);min-width:160px;opacity:0;outline:none;pointer-events:none;position:absolute;text-align:left;top:var(--position-y);width:max-content;z-index:1;"),popupContent:g("--translate-x:0;--translate-y:0;",se.scrollbar,";background-color:var(--background-color);border:var(--border);border-radius:",se.borderRadius,";box-shadow:",se.dropShadow,";color:var(--color);padding:var(--padding);pointer-events:auto;overflow-x:hidden;overflow-y:hidden;transform:translate(var(--translate-x),var(--translate-y));"),popupOnHover:Rt,popupContentScrollable:Yt,toggle:Ht,toggleString:g("border-bottom:2px dotted ",e.secondary,";")}),Jt=(e,t,o=[])=>{i(()=>{t()&&f(e)},o)},Ft=(e,t,o,r,n)=>{let a;if("bottom"===e){const e=r.clientHeight-(o.top+t.offsetHeight);a="floating"===n?e:e+(r.scrollTop+r.offsetTop)}if("left"===e&&(a="floating"===n?o.left:o.left-r.scrollLeft-r.offsetLeft),"right"===e){const e=r.clientWidth-(o.left+t.offsetWidth);a="floating"===n?e:e+(r.scrollLeft+r.offsetLeft)}return"top"===e&&(a="floating"===n?o.top:o.top-r.scrollTop-r.offsetTop),a},zt=e=>{const t=window.getComputedStyle(e);return{bottom:parseInt(t.marginBottom),left:parseInt(t.marginLeft),right:parseInt(t.marginRight),top:parseInt(t.marginTop)}},Lt=(e,t)=>{let o;if("sibling"===t)o={left:e.offsetLeft,top:e.offsetTop};else{const t=e.getBoundingClientRect();o={left:Math.floor(t.left),top:Math.floor(t.top)}}return o},jt=(e,t,o,r)=>{if(e&&t){let n=0,a=0;const i=r.startsWith("bottom")||r.startsWith("top")?"vertical":"horizontal",l={height:e.offsetHeight,width:e.offsetWidth},c=x(e),s={height:t.offsetHeight,width:t.offsetWidth},g=Lt(t,o),{bottom:d,left:b,right:u,top:p}=zt(e);"horizontal"===i&&(a=g.top+s.height/2-l.height/2-p,r.startsWith("left")&&(n=g.left-l.width-b-u),r.startsWith("right")&&(n=g.left+s.width),r.endsWith("-end")&&(a=g.top+s.height-l.height-p),r.endsWith("-start")&&(a=g.top-p)),"vertical"===i&&(n=g.left+s.width/2-l.width/2-b,r.startsWith("bottom")&&(a=g.top+s.height),r.startsWith("top")&&(a=g.top-l.height-d-p),r.endsWith("-end")&&(n=g.left+s.width-l.width-b),r.endsWith("-start")&&(n=g.left-b)),"floating"===o&&(n+=c.scrollLeft,a+=c.scrollTop),e.style.setProperty("--position-x",`${n}px`),e.style.setProperty("--position-y",`${a}px`)}},Pt=(e,t,o,r,n,l)=>{const c=a(()=>"sibling"===o&&t?.current?x(t.current):null,[o,t?.current]);i(()=>{let a;return n&&(a=new IntersectionObserver(n=>{n.forEach(({isIntersecting:n,target:a})=>{a===e?.current&&n&&((e,t,o,r)=>{const n=r.startsWith("bottom")||r.startsWith("top")?"vertical":"horizontal",a=x(e),i=Lt(t.parentElement,o);let l=0,c=0;const{bottom:s,left:g,right:d,top:b}=zt(e);if("horizontal"===n){const n=Ft("left",t,i,a,o),c=Ft("right",t,i,a,o),s=n<e.offsetWidth+d,b=c<e.offsetWidth+g;(r.startsWith("left")&&s&&!b||r.startsWith("right")&&b&&!s)&&(l=(t.offsetWidth+e.offsetWidth+g+d)*(r.startsWith("left")?1:-1)),e.firstElementChild.style.setProperty("--translate-x",`${l}px`)}if("vertical"===n){const n=Ft("top",t,i,a,o),l=Ft("bottom",t,i,a,o),g=n<e.offsetHeight+s,d=l<e.offsetHeight+b;(r.startsWith("bottom")&&d&&!g||r.startsWith("top")&&g&&!d)&&(c=(t.offsetHeight+e.offsetHeight+b+s)*(r.startsWith("top")?1:-1)),e.firstElementChild.style.setProperty("--translate-y",`${c}px`)}})(e?.current,t?.current,o,r),a!==e?.current?.firstElementChild||n||l()})},{root:c,threshold:[0,1]}),a.observe(e.current),a.observe(e?.current?.firstElementChild)),()=>{a&&a.disconnect()}},[o,n,r,c])},St=(e,t,{onCancelled:o,onFinished:r,onStarted:a,playImmediately:i,...c}={})=>{const s=n(void 0),g=()=>{const n=e.current?.animate(t,c);return a?.(),n?.finished?.catch(()=>o?.())?.finally(()=>r?.()),s.current=n,n};return l(()=>{i&&g()},[]),{cancel:()=>{s.current?.cancel()},pause:()=>{s.current?.pause()},play:g,get playState(){return s.current?.playState}}},Ot=({attachment:e,backgroundColor:t,border:o,children:a,closeDelay:c,id:s,margin:b,maxHeight:u,maxWidth:p,onHide:I,onOutOfView:C,onShow:h,open:m,openDelay:v,padding:A,placement:f,scrollable:y,setPopupRef:G,textColor:Z,toggleRef:W,trigger:w})=>{const X=n(void 0),[k,B]=r(m);((e,t,o,r,n)=>{l(()=>{n&&jt(e?.current,t?.current,o,r)},[o,n,r,e?.current])})(X,W,e,f,m),Pt(X,W,e,f,m,C),((e,t,o,r,a)=>{const l=n(!1);i(()=>{let n,i,c,s,g;const d=()=>{jt(e?.current,t?.current,o,r)};if(a){if(!l.current){const{height:e,left:o,top:r,width:n}=t.current.getBoundingClientRect();i=e,c=o,s=r,g=n,l.current=!0}"floating"===o&&window.addEventListener("resize",d),n=new ResizeObserver(([{contentRect:{height:n,left:a,top:l,width:d}}])=>{n===i&&a===c&&l===s&&d===g||(jt(e?.current,t?.current,o,r),i=n,c=a,s=l,g=d)}),n.observe(t?.current)}return()=>{window.removeEventListener("resize",d),n&&n.disconnect()}},[o,a,r])})(X,W,e,f,m),((e,t,o,r)=>{i(()=>{let n,a=0,i=0;const l=({target:t})=>{const o=t.scrollLeft,r=t.scrollTop,n=a-o,l=i-r,c=parseInt(e?.current?.style?.getPropertyValue("--position-x")),s=parseInt(e?.current?.style?.getPropertyValue("--position-y"));e?.current?.style?.setProperty("--position-x",`${c+n}px`),e?.current?.style?.setProperty("--position-y",`${s+l}px`),a=o,i=r};return r&&"floating"===o&&(n=x(t?.current),a=n?.scrollLeft,i=n?.scrollTop,n!==document.documentElement&&n.addEventListener("scroll",l)),()=>{n&&n.removeEventListener("scroll",l)}},[o,r])})(X,W,e,m);const V=St(X,[{opacity:0}],{delay:c,duration:100,fill:"forwards",onFinished:()=>{B(!1),I?.()}}),R=St(X,[{opacity:1}],{delay:v,duration:100,fill:"forwards",onFinished:()=>h?.(),onStarted:()=>B(!0)});i(()=>(m?(V.pause(),R.play()):(R.pause(),V.play()),()=>{V.cancel(),R.cancel()}),[m]);const Y=z(Nt),H=d("div",{ref:e=>{X.current=e,G(e)},css:Y.popup,id:s,style:{"--background-color":t,"--border":o,"--color":Z,"--margin":b,"--max-height":u,"--max-width":p,"--padding":A}},d("div",{css:g([Y.popupContent,y&&Y.popupContentScrollable,"hover"===w&&Y.popupOnHover])},a));return(m||k)&&("sibling"===e?H:E.createPortal(H,document.body))},Et=({ariaDescription:e,ariaLabel:t,attachment:o="sibling",backgroundColor:l,border:c,children:s,closeDelay:b=0,closeOnClickOutside:u=!0,closeOnOutOfView:p=!1,gapSize:I,id:C,margin:h=I,maxHeight:m,maxWidth:v,onHide:A,onShow:f,open:x=!1,openDelay:y=0,padding:G,placement:Z="bottom",popupPositionX:W="right",popupPositionY:w="below",position:X={left:"auto",top:"auto"},positionType:k="relative",scrollable:B=!0,setRef:V,textColor:R,toggle:Y,toggleCursor:H,trigger:N="press",width:J="auto"})=>{((e,t,o,r,n,a,i,l)=>{Jt('WJEC One Popup: The "gapSize" prop has been deprecated in favor of the more standard "margin" prop, and will be removed in a future version of the library',()=>void 0!==e,[e]),Jt('WJEC One Popup: The "popupPositionX" and "popupPositionY" props have been deprecated in favor of the new placement prop, which encompasses both. Please switch to using "placement" to avoid unexpected behavior in future versions of the library',()=>"right"!==t,[t]),Jt('WJEC One Popup: The "popupPositionX" and "popupPositionY" props have been deprecated in favor of the new placement prop, which encompasses both. Please switch to using "placement" to avoid unexpected behavior in future versions of the library',()=>"below"!==o,[o]),Jt('WJEC One Popup: The "position" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',()=>'{"left":"auto","top":"auto"}'!==JSON.stringify(r),[r]),Jt('WJEC One Popup: The "positionType" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',()=>"relative"!==n,[n]),Jt('WJEC One Popup: The "setRef" prop has been deprecated as it is no longer required internally',()=>void 0!==a,[a]),Jt('WJEC One Popup: The "click" value for the "trigger" prop has been deprecated in favor of "press", which maintains the same functionality. The "click" option will be removed in a future version of the library, so switch to using "press" to avoid unexpected behavior',()=>"click"===i,[i]),Jt('WJEC One Popup: The "width" prop has been deprecated because WJEC One components are intended to be layout agnostic; it will be removed in a future version of the library',()=>"auto"!==l,[l])})(I,W,w,X,k,V,N,J);const F=n(void 0),L=n(void 0),j=n(void 0),[P,S]=r(x),O=at(e),E=a(()=>"right"!==W||"below"!==w?((e,t)=>{switch(`${e}-${t}`){case"after-bottom":return"right-end";case"after-top":return"right-start";case"before-bottom":return"left-end";case"before-top":return"left-start";case"left-above":return"top-start";case"left-below":return"bottom-start";case"right-above":return"top-end";default:return"bottom"}})(W,w):Z,[Z,W,w]);i(()=>{x&&!P&&T(),!x&&P&&M()},[x]),i(()=>("hover"!==N&&u&&P&&u&&window.addEventListener("click",D,{capture:!0}),()=>{window.removeEventListener("click",D)}),[u,P,N]);const D=({target:e})=>{const t=e;t===F.current||F.current?.contains(t)||L.current?.contains(t)||M()},M=()=>{S(!1)},T=()=>{S(!0)},Q=z(Nt);return tt("--cursor",H,F),tt("--border",c,F),d("div",He({"aria-label":t,ref:F,css:Q.container,id:C,"data-testid":"popup-container"},O),d("span",{ref:j,css:g([Q.toggle,"string"==typeof Y&&Q.toggleString]),onClickCapture:"click"===N||"press"===N?()=>{P?M():T()}:null,onMouseEnter:"hover"===N?T:null,onMouseLeave:"hover"===N?M:null},Y),d(Ot,{attachment:o,backgroundColor:l,border:c,closeDelay:b,id:C?`${C}_popup`:void 0,margin:h,maxHeight:m,maxWidth:v,onHide:A,onOutOfView:()=>p&&S(!1),onShow:f,open:P,openDelay:y,padding:G,placement:E,scrollable:B,setPopupRef:e=>L.current=e,textColor:R,toggleRef:j,trigger:N},s))},Dt=({ariaDescription:e,ariaLabel:t,border:o="0.5px solid #b9c2c6",children:r,id:n,maxWidth:a,placement:i="bottom-start",toggle:l=d(Bt,{css:Mt.defaultToggle}),trigger:c="hover",...s})=>d(Et,He({ariaDescription:e,ariaLabel:t,border:o},s,{id:n,maxWidth:a,openDelay:"hover"===c?500:0,padding:"16px",placement:i,scrollable:!1,toggle:l,toggleCursor:"help",trigger:c}),r),Mt={defaultToggle:{name:"1pg8bi",styles:"height:20px;"}};var Tt;function Qt(){return Qt=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Qt.apply(null,arguments)}var Ut=o(function(t,o){return e.createElement("svg",Qt({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Tt||(Tt=e.createElement("path",{d:"M10 6.667c.917 0 1.667-.75 1.667-1.667S10.917 3.333 10 3.333 8.333 4.083 8.333 5 9.083 6.667 10 6.667Zm0 1.666c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667 1.667-.75 1.667-1.667-.75-1.667-1.667-1.667Zm0 5c-.917 0-1.667.75-1.667 1.667s.75 1.667 1.667 1.667 1.667-.75 1.667-1.667-.75-1.667-1.667-1.667Z",fill:"currentColor"})))});const Kt=({children:e,color:t,id:o})=>{const r=z($t);return d("span",{css:g([r.emphasis,{"--color":t}]),id:o},e)},$t=({colorPalette:e})=>({emphasis:g("--color:",e.neutralDark,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:16px;font-weight:700;line-height:24px;")}),qt=({children:e,color:t,id:o})=>{const r=z(_t);return d("p",{css:g([r.paragraph,{"--color":t}]),id:o},e)},_t=({colorPalette:e})=>({paragraph:g("--color:",e.font,';color:var(--color);font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;line-height:20px;margin:0 0 20px 0;white-space:pre-line;')}),eo=e=>e&&e.length&&Object.hasOwn(e[0],"label"),to=({ariaLabel:e,description:o,options:r,title:n,toggle:a=d(Ke,{icon:Ut,ariaLabel:e}),...l})=>{const[{colorPalette:c}]=L();i(()=>(e=>{(eo(e)?e:e.reduce((e,{sectionOptions:t})=>[...e,...t],[])).some(({icon:e,label:o})=>{if(e&&!v(t.createElement(e)))throw new Error(`Icon for option "${o}" must be a valid SVGComponent`)})})(r),[r]);const s=e=>()=>{I(e.onClick)&&e.onClick()},b=z(ao),u=e=>{const{additionalInfo:t,label:o,icon:r}=e;return d("li",{key:o.toString(),css:b.menuItem,onClick:s(e)},r&&d(r,{css:b.menuItemIcon}),d("span",{css:b.menuItemLabel},o),t&&d("span",{css:"string"==typeof t?b.menuItemInfo:b.menuItemAction},t))};return d(Et,He({},l,{padding:0,popupPositionX:"right",popupPositionY:"below",toggle:a,ariaLabel:e}),(n||o)&&d("header",{css:b.header},n&&d(Kt,null,n),o&&d(qt,{color:c.fontLight},o)),d("ul",{css:g([be,se.scrollbar,b.menu])},r&&r.length&&(eo(r)?r.map(u):r.map(({sectionTitle:e,sectionOptions:t},o)=>d("li",{key:`section_${e&&e.replace(/\s/g,"_")||o}`,css:b.section},e&&d("h4",{css:b.sectionTitle},e),d("ul",{css:g([b.subMenu,!e&&b.subMenuWithoutTitle])},t.map(u)))))))},oo=10;var ro={name:"jvw5bw",styles:"margin-right:auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"},no={name:"1dacand",styles:"padding-top:0;"};const ao=({colorPalette:e})=>({header:g("border-bottom:1px solid ",e.border,";margin:",oo,"px;margin-bottom:0;min-width:250px;"),menu:g("font-family:'Montserrat',sans-serif;list-style:none;margin:0;overflow-x:hidden;overflow-y:auto;padding:",oo,"px;"),menuItem:g("align-items:center;border-radius:",se.borderRadius,";color:",e.font,";cursor:pointer;display:flex;font-size:14px;line-height:20px;padding:",5,"px ",oo,"px;&:hover{background-color:",e.neutral,";& > svg{color:",e.secondary,";}}&:not(:last-child){margin-bottom:",5,"px;}"),menuItemAction:g("display:inline-flex;margin-left:",20,"px;pointer-events:none;"),menuItemIcon:g("color:",e.fontLight,";flex-shrink:0;height:20px;margin-right:",oo,"px;"),menuItemInfo:g("color:",e.fontLight,";font-size:11px;line-height:20px;margin-left:",20,"px;"),menuItemLabel:ro,section:g("margin:0 -",oo,"px;&:last-child{margin-bottom:-",oo,"px;}&:not(:last-child){border-bottom:1px solid ",e.border,";margin-bottom:",oo,"px;}"),sectionTitle:g("color:",e.fontLight,";font-size:11px;font-weight:600;letter-spacing:1px;line-height:20px;margin:0;padding:0 ",20,"px;text-transform:uppercase;"),subMenu:g("list-style:none;padding:",oo,"px;"),subMenuWithoutTitle:no}),io={dependencies:[],eventTarget:document.documentElement,shouldAddListener:!0},lo=(e,t,o)=>{const{dependencies:r,eventOptions:n,eventTarget:a,shouldAddListener:l}={...io,...o},c="function"==typeof l?l():l;i(()=>{const o=y(a)?a.current:a;return c&&o?.addEventListener(e,t,n),()=>{o?.removeEventListener(e,t,n)}},[c,e,a,...r])},co={description:g("color:",U.neutralDark,";display:block;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:16px;margin-top:4px;")};var so,go=({children:e,id:t})=>e?d("span",{css:co.description,id:t},e):null;function bo(){return bo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},bo.apply(null,arguments)}var uo,po=o(function(t,o){return e.createElement("svg",bo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),so||(so=e.createElement("path",{d:"M12 8v4m0 4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});function Io(){return Io=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Io.apply(null,arguments)}var Co,ho=o(function(t,o){return e.createElement("svg",Io({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),uo||(uo=e.createElement("path",{d:"m7.5 12 3 3 6-6m5.5 3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});function mo(){return mo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},mo.apply(null,arguments)}var vo=o(function(t,o){return e.createElement("svg",mo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Co||(Co=e.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.718.191 1.629.191h16.45c.91 0 1.365 0 1.628-.191a1 1 0 0 0 .407-.705c.034-.324-.195-.718-.65-1.506L13.383 3.892c-.454-.785-.681-1.178-.978-1.31a1 1 0 0 0-.813 0c-.296.132-.523.525-.978 1.31Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const Ao={status:{name:"13tmt62",styles:"display:block;font-family:'Montserrat',sans-serif;font-size:12px;font-weight:600;line-height:16px;margin-top:4px;padding-left:24px;position:relative;white-space:pre-line;"},statusIcon:{name:"196io73",styles:"left:0;position:absolute;top:0;width:16px;"}};var fo,xo,yo=({children:e,id:t,status:o})=>{const[{colorPalette:r}]=L(),n=a(()=>{let e;switch(o){case"error":e=po;break;case"success":e=ho;break;case"warning":e=vo}return e},[o]),i=a(()=>{let e;switch(o){case"error":e=r.error;break;case"success":e=r.success;break;case"warning":e=r.warning}return e},[o]);return o&&e?d("span",{"aria-live":"polite",css:g([Ao.status,{color:i}]),id:t},d(n,{css:Ao.statusIcon}),e):null};function Go(){return Go=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Go.apply(null,arguments)}var Zo,Wo,wo=o(function(t,o){return e.createElement("svg",Go({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),fo||(fo=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),xo||(xo=e.createElement("path",{d:"M12 8v4m0 4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});function Xo(){return Xo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Xo.apply(null,arguments)}var ko,Bo,Vo=o(function(t,o){return e.createElement("svg",Xo({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Zo||(Zo=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Wo||(Wo=e.createElement("path",{d:"m7.5 12 3 3 6-6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});function Ro(){return Ro=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ro.apply(null,arguments)}var Yo=o(function(t,o){return e.createElement("svg",Ro({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),ko||(ko=e.createElement("path",{opacity:.4,d:"m2.39 18.098 8.225-14.206c.455-.785.682-1.178.979-1.31a1 1 0 0 1 .812 0c.297.132.524.525.979 1.31l8.225 14.206c.456.788.684 1.182.65 1.506a1 1 0 0 1-.406.705c-.263.191-.719.191-1.63.191H3.776c-.91 0-1.366 0-1.629-.191a1 1 0 0 1-.406-.705c-.034-.324.194-.718.65-1.506Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Bo||(Bo=e.createElement("path",{d:"M12 9v4m0 4h.01",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const Ho=({ariaLabel:e,autoComplete:o,description:r,disabled:i,icon:c,id:s,inputMode:b,label:u,maxCharacters:p,name:I,onBlur:C,onChange:h,onFocus:m,placeholder:A,readonly:f,required:x,restrictedCharacters:y,status:G,statusIcon:Z=("error"===G?wo:"success"===G?Vo:"warning"===G?Yo:void 0),statusIconBehavior:W="status",statusMessage:w,suggestions:X,value:k="",width:B})=>{Ne("WJEC-One Input: Icon must be a valid SVGComponent",()=>c&&!v(t.createElement(c)),[c]),Ne("WJEC-One Input: Status icon must be a valid SVGComponent",()=>Z&&!v(t.createElement(Z)),[Z]);const V=P(s),R=n(void 0),Y=`${V}_description`,H=`${V}_status`,N=n(void 0),J=n(0),F=n(k),j=n(void 0),S=a(()=>`wjecOneInputSuggestions_${V}`,[V]),O=a(()=>{let e;return void 0!==y&&(e=new RegExp(y,"g")),e},[y]),[{brand:E,colorPalette:D}]=L(),M=z(No);l(()=>{R.current?.style?.setProperty("--offset-top",`${N.current.offsetTop}px`),j.current?.style?.setProperty("--offset-top",`${N.current.offsetTop}px`)}),l(()=>{N.current.value=k,F.current=k},[k]),lo("selectionchange",()=>{document.activeElement===N.current&&(J.current=N.current.selectionEnd)},{shouldAddListener:void 0!==y});const T=a(()=>{switch(G){case"error":return{background:D.errorBackground,border:D.error};case"success":return{background:D.successBackground,border:D.success};case"warning":return{background:D.warningBackground,border:D.warning};default:return{background:"#FFFFFF",border:D.border}}},[E,G]),Q=a(()=>void 0!==Z&&("custom"===W||void 0!==G)?Z:void 0,[G,Z,W]),U="error"!==G&&"warning"!==G||!w?Y:H,K=a(()=>({"--background-color":T.background,"--border-color":T.border,"--margin-top":u&&"4px","--padding-left":c&&(f&&!i?"32px":"40px"),"--padding-right":Z&&"40px"}),[i,c,u,f,T,Z]);return d("label",{"aria-label":e,css:M.label,htmlFor:V,style:{width:B},"data-disabled":i},u,d("input",{"aria-describedby":U,autoComplete:o,css:M.input,defaultValue:k,disabled:i,id:V,inputMode:b,list:X&&S,maxLength:p,name:I,onBlur:({relatedTarget:e})=>{C?.(e)},onChange:({target:e})=>{const{value:t}=e;if(O){if(O.test(t)){const e=t.replace(O,""),o=e.length-F.current.length,r=J.current+o;N.current.value=e,N.current.setSelectionRange(r,r)}N.current.value!==F.current&&h?.(N.current.value),J.current=N.current.selectionEnd,F.current=N.current.value}else h?.(t)},onFocus:()=>{m?.()},placeholder:A,readOnly:f,ref:N,required:x,style:K,type:"text"}),c&&d(c,{"aria-hidden":!0,css:g([M.icon,f&&!i&&{paddingLeft:"0"}]),"data-disabled":i,ref:R}),Q&&d(Q,{"aria-hidden":!0,css:g([M.icon,M.statusIcon]),"data-disabled":i,"data-status":"status"===W?G:void 0,ref:j}),d(go,{id:Y},r),d(yo,{id:H,status:G},w),X&&d("datalist",{id:S},X.map((e,t)=>d("option",{key:`${e}_${t}`,value:e}))))},No=({colorPalette:e})=>({icon:g("--offset-top:0;box-sizing:content-box;color:",e.neutralLight,';height:24px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:24px;&[data-disabled="true"]{color:',e.border,";}"),input:g("--background-color:#FFFFFF;--border-color:",e.border,";--margin-top:0;--padding-left:8px;--padding-right:8px;",ue,";background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",se.borderRadius,";font-family:inherit;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);max-width:100%;outline:none;padding:4px var(--padding-right) 4px var(--padding-left);width:100%;&:disabled{background-color:",e.neutral,";border-color:",e.border,";color:",e.border,";cursor:not-allowed;}&:focus{border-color:",e.primary,";}&:read-only:not(:disabled){--padding-left:0;--padding-right:0;background-image:none;background-color:transparent;border-color:transparent;overflow:hidden;padding-left:var(--padding-left);text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",e.neutralLight,";}&::-webkit-calendar-picker-indicator{opacity:0;}"),label:g(be,";",pe,';display:inline-flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',e.border,";}"),statusIcon:g('left:unset;right:0;&[data-disabled="true"]{opacity:0.5;}&[data-status="error"]{color:',e.error,';}&[data-status="success"]{color:',e.success,';}&[data-status="warning"]{color:',e.warning,";}")});var Jo;function Fo(){return Fo=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Fo.apply(null,arguments)}var zo,Lo,jo,Po=o(function(t,o){return e.createElement("svg",Fo({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Jo||(Jo=e.createElement("path",{d:"M15.25 4.758a.83.83 0 0 0-1.175 0L10 8.825 5.925 4.75A.83.83 0 1 0 4.75 5.925L8.825 10 4.75 14.075a.83.83 0 1 0 1.175 1.175L10 11.175l4.075 4.075a.83.83 0 1 0 1.175-1.175L11.175 10l4.075-4.075a.835.835 0 0 0 0-1.167Z",fill:"currentColor"})))});function So(){return So=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},So.apply(null,arguments)}var Oo=o(function(t,o){return e.createElement("svg",So({viewBox:"0 0 91 83",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),zo||(zo=e.createElement("path",{opacity:.4,d:"M50.74 68.314 8.455 56.983c-3.017-.809-4.562-4.155-3.222-6.976l21.62-45.491a5 5 0 0 1 6.662-2.37l45.998 21.86c2.824 1.343 3.737 4.918 1.903 7.45L56.081 66.418a5 5 0 0 1-5.343 1.896Z",fill:"#B0C600"})),Lo||(Lo=e.createElement("path",{opacity:.4,d:"M0 38.726V26.507a5 5 0 0 1 4.079-4.914l53.991-10.12a5 5 0 0 1 4.381 1.305l26.221 25.134a5 5 0 0 1 1.256 5.272l-3.187 9.044a5 5 0 0 1-3.312 3.137l-50.593 14.8a5 5 0 0 1-4.953-1.278L1.45 42.247A5 5 0 0 1 0 38.728Z",fill:"#47BAD1"})),jo||(jo=e.createElement("path",{opacity:.8,d:"M53.75 46h-1.975l-.7-.675A16.178 16.178 0 0 0 55 34.75c0-8.975-7.275-16.25-16.25-16.25S22.5 25.775 22.5 34.75 29.775 51 38.75 51c4.025 0 7.725-1.475 10.575-3.925l.675.7v1.975l12.288 12.263a.3.3 0 0 0 .424 0l3.301-3.301a.3.3 0 0 0 0-.424L53.75 46Zm-15 0A11.235 11.235 0 0 1 27.5 34.75c0-6.225 5.025-11.25 11.25-11.25S50 28.525 50 34.75 44.975 46 38.75 46Z",fill:"#fff"})))});const Eo=({ariaLabel:e,ariaCloseLabel:o,ariaMultiselectable:l,ariaPosInSet:c,ariaSetSize:s,clearButtonBehaviour:b="clear",expanded:u,filter:h=!0,floatingList:v,floatingListPosition:f={top:10},icon:x,id:y,label:w,loading:X,maxHeight:k=150,noMatchesMessage:B="No matches were found",onChange:V,onFilter:R,optionKeyExtractor:Y,optionTemplate:H=({option:e})=>d(t.Fragment,null,e),options:N,placeholder:J,value:F=""})=>{const[{colorPalette:j}]=L();Ne("WJEC-One FilterList: You must specify a keyExtractor if the options array contains non-primitive entry types",()=>!Z(N)&&!W(N)&&!Y,[Y,N]);const P=n(void 0),S=n(void 0),O=n(void 0),[E,D]=r(F),[M,T]=r(0),[Q,U]=r(0),[K,$]=r("below"),[q,_]=r(0),[ee,te]=r([...N]),[oe,re]=r(),[ne,ae]=r([]),[ie,le]=r(1),ce=a(()=>x&&p(t.createElement(x,{color:j.fontLight})),[x]);i(()=>{let e;e=h&&E?N.filter((e,t)=>ue(e,t).toString().toLowerCase().includes(E.toLowerCase())):[...N],G(e,ee)||(I(R)&&R(e),te(e))},[E,h,N]),i(()=>{!oe||N.length||E||de(),P.current.querySelector('input[type="text"]')===document.activeElement&&be()},[E,N]),i(()=>{u!==oe&&(u?be():de())},[u]),i(()=>{F!==E&&D(F)},[F]),i(()=>(oe?(document.addEventListener("scroll",de,!0),window.addEventListener("click",se),window.addEventListener("resize",ge)):(document.removeEventListener("scroll",de,!0),window.removeEventListener("click",se),window.removeEventListener("resize",ge)),()=>{document.removeEventListener("scroll",de,!0),window.removeEventListener("click",se),window.removeEventListener("resize",ge)}),[oe]),i(()=>{le(1),S.current&&S.current.scrollTo({top:0})},[ee]),i(()=>{ae(e=>{const t=ie>1?[...e]:[],o=50*ie-50,r=o+50;return t.length=50*(ie-1),[...t,...ee.slice(o,r).map(me)]})},[ee,ie]);const se=({target:e})=>{const t=e;t===P.current||P.current.contains(t)||de()},ge=A(()=>be(),{limit:250}),de=()=>{O.current===document.activeElement&&P.current.querySelector('input[type="text"]').focus(),re(!1),le(1)},be=()=>{if(N.length>0||!!E){const e=P.current.getBoundingClientRect(),t=e.top+e.height,o=window.innerHeight-t;let r="below";if(!v){if(o<k){const t=e.top;(t>k||t>o)&&(r="above")}"below"===r?(T(Math.min(k,window.innerHeight-t-10)),U(e.top+P.current.querySelector('input[type="text"]').offsetTop)):(T(Math.min(k,e.top-10)),U(window.innerHeight-t-1))}$(r),_(e.width),re(!0)}},ue=(e,t)=>C(e)?e.key:m(e,Y,t),pe=e=>{const t="string"==typeof e?e:e.currentTarget.value;I(V)&&V(t),D(t)},Ie=A(e=>{const t=e.target;e.nativeEvent.stopImmediatePropagation(),t.scrollTop+2*t.clientHeight>t.scrollHeight&&50*ie<ee.length&&le(e=>e+1)},{beforeDelay:e=>{e.nativeEvent.stopImmediatePropagation(),e.persist()},limit:250}),Ce=z(rr),he=()=>d("input",{ref:O,css:g([Ce.listInput,ce&&[Ce.listInputWithIcon,{backgroundImage:ce}]]),autoFocus:!0,onChange:pe,placeholder:J,value:E}),me=e=>{const t=N.indexOf(e);return d("li",{"aria-posinset":c,"aria-setsize":s,key:ue(e,t)},H({option:e,index:t,filteredOptions:[...ee]}))};return d("div",{ref:P,css:Ce.container,id:y,onClick:({target:e})=>{oe||e!==P.current.querySelector('input[type="text"]')||e!==document.activeElement||be()}},d(Ho,{"aria-label":e,"aria-multiselectable":l,icon:x,label:w,onChange:pe,onFocus:be,placeholder:J,value:E}),oe&&d("div",{"aria-expanded":!0,css:g([Ce.expandedContainer,"above"===K?[Ce.expandedContainerAbove,{bottom:Q}]:{top:Q},{width:q},v&&[Ce.expandedContainerFloating,{...f,maxHeight:`calc(100% - ${2*f.top}px)`}]])},"below"===K&&he(),d(Po,{"aria-label":o,css:g([Ce.clearIcon,"above"===K&&Ce.clearIconAbove]),onClick:()=>{"clear"!==b&&"clearAndClose"!==b||D(""),"clear"===b&&O.current.focus(),"clearAndClose"!==b&&"close"!==b||de()}}),d("div",{css:g([Ce.listContainer,"above"===K&&Ce.listContainerAbove]),onScroll:Ie},d("ul",{ref:S,css:g([Ce.list,v&&Ce.listFloating,!v&&{maxHeight:M}])},ee.length?ne:d("li",{css:Ce.noResults},d(Oo,{css:Ce.noResultsIcon,"aria-hidden":!0}),B)),X&&d("div",{css:g([Ce.loading,"above"===K&&Ce.loadingAbove,!v&&{maxHeight:M}])},d(Fe,null))),"above"===K&&he()))};var Do={name:"10eevtr",styles:"bottom:0;top:auto;"},Mo={name:"oxdg22",styles:"&::before{bottom:30px;top:auto;}"},To={name:"j7qwjs",styles:"display:flex;flex-direction:column;"},Qo={name:"yp8oic",styles:"display:flex;margin:2px 0 1px;min-height:0px;position:relative;"},Uo={name:"p49ge0",styles:"margin:1px 0 2px;"},Ko={name:"11cgomd",styles:"max-height:initial;"},$o={name:"1ireg3o",styles:"background:center left 6px / 20px no-repeat;border:none;font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;margin-top:-1px;outline:none;padding:5px 35px 5px 10px;width:100%;"},qo={name:"267yq8",styles:"padding-left:35px;"},_o={name:"1fk9trn",styles:"align-items:center;background-color:rgba(255,255,255,0.75);bottom:0;display:flex;height:100%;justify-content:center;left:0;position:absolute;right:0;"},er={name:"9cuppe",styles:"bottom:auto;top:0;"},tr={name:"m2y6eh",styles:"align-items:center;display:flex;flex-direction:column;justify-content:center;padding:10px 0;"},or={name:"1bkzip4",styles:"width:91px;"};const rr=({colorPalette:e})=>({clearIcon:g("color:",e.fontLight,";cursor:pointer;height:30px;padding:5px;position:absolute;right:0;top:0;&:hover{color:",e.font,";}"),clearIconAbove:Do,container:g(be,";display:inline-block;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;position:relative;& > label{width:100%;}"),expandedContainer:g("background-color:#fff;border:1px solid ",e.border,";border-radius:",se.borderRadius,";box-shadow:",se.dropShadow,";position:fixed;z-index:1;&::before{border-bottom:1px solid ",e.border,";content:'';left:8px;position:absolute;right:8px;top:30px;}"),expandedContainerAbove:Mo,expandedContainerFloating:To,list:g(se.scrollbar,";list-style:none;margin:0;overflow:auto;padding:8px 10px 9px;width:100%;"),listContainer:Qo,listContainerAbove:Uo,listFloating:Ko,listInput:$o,listInputWithIcon:qo,loading:_o,loadingAbove:er,noResults:tr,noResultsIcon:or}),nr=({ariaDescription:e,ariaLabel:t,children:o,clearButton:r="Clear",clearId:n,id:a,onClear:i,onSubmit:l,otherActions:c,submitButton:s="Submit",submitId:b,width:u})=>{const p=at(e);return d("form",He({"aria-label":t,css:g({width:u}),id:a,onReset:e=>{e.preventDefault(),I(i)&&i()},onSubmit:e=>{e.preventDefault(),I(l)&&l()}},p),o,d("section",{css:ar.controls},r&&d(Oe,{buttonType:"reset",id:n,label:r}),d("div",{css:ar.submit},s&&d(_e,{buttonType:"submit",id:b,label:s})),c&&d(to,{options:c})))},ar={controls:{name:"7zpthm",styles:"display:flex;justify-content:space-between;margin-top:30px;"},submit:{name:"5prljc",styles:"margin-left:auto;&:not(:last-of-type){margin-right:5px;}"}};var ir;function lr(){return lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},lr.apply(null,arguments)}var cr=o(function(t,o){return e.createElement("svg",lr({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),ir||(ir=e.createElement("path",{d:"m7.5 13.475-2.892-2.892a.83.83 0 1 0-1.175 1.175l3.484 3.484a.83.83 0 0 0 1.175 0l8.816-8.817a.83.83 0 1 0-1.175-1.175L7.5 13.475Z",fill:"currentColor"})))});const sr=({ariaLabel:e,checked:t=!1,children:o,description:r,disabled:i,id:c,label:s,labelOverflow:b="wrap",loading:u,onChange:p,size:C="default",status:h,statusMessage:m})=>{const v=P(c),[{brand:A,colorPalette:f}]=L(),x=z(ur),y=n(void 0);l(()=>{y.current.checked=t},[t]);const G=a(()=>{switch(h){case"error":return{background:f.errorBackground,border:f.error};case"success":return{background:f.successBackground,border:f.success};case"warning":return{background:f.warningBackground,border:f.warning};default:return{}}},[A,h]),Z=a(()=>({"--background-color":G.background,"--border-color":G.border}),[s,G]);return d("div",{css:x.container},d("input",{css:x.checkbox,defaultChecked:t,disabled:i,id:v,onChange:({target:{checked:e}})=>{I(p)&&p(e)},ref:y,type:"checkbox","data-loading":u}),d("label",{"aria-label":e,css:g([x.label,"small"===C&&x.labelSmall]),htmlFor:v,onClick:e=>e.stopPropagation(),style:Z},u&&d("div",{css:x.loadingIcon},d(Fe,{color:f.primary,size:"small"===C?"extraSmall":"default"})),(s||o)&&d("span",{css:x.labelContent,"data-overflow":b},s||o)),d(go,null,r),d(yo,{status:h},m))};var gr={name:"7n37re",styles:"display:inline-flex;flex-direction:column;min-width:0;"},dr={name:"kynfrz",styles:'display:inline-block;font-family:inherit;&[data-overflow="ellipsis"]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}'},br={name:"qxnk73",styles:"--dimensions:16px;font-size:10px;gap:4px;"};const ur=({colorPalette:e})=>({checkbox:g(se.visiblyHidden," &:checked + label::before{background-image:",p(d(cr,{color:e.primary})),";background-size:cover;}&:checked:disabled + label::before{background-image:",p(d(cr,{color:e.border})),";}&:disabled + label{color:",e.border,";cursor:not-allowed;&::before{background-color:",e.neutral,";border-color:",e.border,";}}&:focus + label::before{border-color:",e.primary,";}"),container:gr,label:g("--background-color:#FFFFFF;--border-color:",e.border,";--dimensions:40px;",be,";align-items:center;color:",e.font,";cursor:pointer;display:inline-flex;font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;gap:8px;line-height:16px;position:relative;&:active::before,&:focus-within::before{border-color:",e.primary,"}&::before{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",se.borderRadius,";content:'';display:inline-block;flex-shrink:0;height:var(--dimensions);width:var(--dimensions);}"),labelContent:dr,labelSmall:br,loadingIcon:g("align-items:center;background-color:var(--background-color);border-radius:",se.borderRadius,";display:flex;height:calc(var(--dimensions) - 2px);justify-content:center;left:1px;position:absolute;top:1px;width:calc(var(--dimensions) - 2px);")});var pr,Ir;function Cr(){return Cr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Cr.apply(null,arguments)}var hr,mr,vr=o(function(t,o){return e.createElement("svg",Cr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),pr||(pr=e.createElement("path",{opacity:.4,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Ir||(Ir=e.createElement("path",{d:"M12 6v6l4 2",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});function Ar(){return Ar=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ar.apply(null,arguments)}var fr=o(function(t,o){return e.createElement("svg",Ar({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),hr||(hr=e.createElement("path",{opacity:.4,d:"M21 10H3",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),mr||(mr=e.createElement("path",{d:"M16 2v4M8 2v4m-.2 16h8.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C21 19.72 21 18.88 21 17.2V8.8c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C18.72 4 17.88 4 16.2 4H7.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C3 6.28 3 7.12 3 8.8v8.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C5.28 22 6.12 22 7.8 22Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const xr=({date:e,disabled:t,id:o,label:c,maxDate:s,maxTime:b="",minDate:u,minTime:p="",onChangeDate:C,onChangeTime:h,placeholder:m,readonly:v,required:A,time:f,type:x="dateTime",validationMessage:y,width:G})=>{const[Z,W]=r(""),k=z(yr),B=n(void 0),V=n(void 0);i(()=>{W("dateTime"===x?e?w({date:e,format:`yyyy-MM-ddT${f||"HH:mm"}`}):"":"date"===x?e?X({date:e,format:"yyyy-MM-dd"}):"":f||"")},[e,f,x]),l(()=>{B.current?.style?.setProperty("--offset-top",`${V.current.offsetTop}px`)});const R=a(()=>"time"===x?vr:fr,[x]),Y=a(()=>"dateTime"===x?"datetime-local":x,[x]),H=a(()=>!(!s||!u)&&("00:00:00"===s.toTimeString().substring(0,8)&&"00:00:00"===u.toTimeString().substring(0,8)),[s,u]),N=a(()=>{if("date"===x||"dateTime"===x){const e=s||("dateTime"===x&&b?new Date:void 0);return e?w({date:e,format:"dateTime"===x?`yyyy-MM-ddT${b||(H?"23:59":"HH:mm")}`:"yyyy-MM-dd"}):b}return b},[s,b,x]),J=a(()=>{if("date"===x||"dateTime"===x){const e=u||("dateTime"===x&&p?new Date:void 0);return e?w({date:e,format:"dateTime"===x?`yyyy-MM-ddT${p||(H?"00:00":"HH:mm")}`:"yyyy-MM-dd"}):p}return p},[u,p,x]);return d("label",{css:g([k.label,G&&{width:G}])},c,d("input",{css:k.input,disabled:t,id:o,max:N,min:J,onChange:({target:e})=>{const{value:t,valueAsNumber:o}=e,r=new Date(o),n=t.substring(t.indexOf("T")+1);y&&e.setCustomValidity(""),W(t),y&&!e.checkValidity()&&(e.setCustomValidity(y),e.reportValidity()),"date"!==x&&"dateTime"!==x||!I(C)||C(r),"dateTime"!==x&&"time"!==x||!I(h)||h(n)},placeholder:m,readOnly:v,ref:V,required:A,type:Y,value:Z}),!t&&d(R,{"aria-hidden":!0,css:k.icon,"data-disabled":t,ref:B}))},yr=({colorPalette:e})=>({icon:g("--offset-top:0;color:",e.neutralLight,";cursor:pointer;height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&:hover{color:",e.neutralDark,';}&[data-disabled="true"]{color:',e.border,";}"),input:g("background-color:#fff;border:1px solid ",e.border,";border-radius:",se.borderRadius,";font-family:'Montserrat',sans-serif;font-size:16px;height:40px;max-width:100%;outline:none;padding:4px 8px 4px 40px;position:relative;transition:border-color 0.05s linear,padding 0.05s linear;width:100%;&:disabled{background-color:",e.neutral,";color:",e.fontLight,";cursor:not-allowed;}&:focus{border-color:",e.primary,";}&:invalid{border-color:",e.error,";}&:read-only{background-color:transparent;background-image:none;border-color:transparent;overflow:hidden;padding-left:0;padding-right:0;pointer-events:none;text-overflow:ellipsis;white-space:nowrap;}&::placeholder{color:",e.fontLight,";}&::-webkit-calendar-picker-indicator{background-color:pink;cursor:pointer;height:40px;left:0;opacity:0;padding:0;position:absolute;top:0;width:40px;}"),label:g(be,";",pe,";display:inline-flex;flex-direction:column;position:relative;width:100%;")}),Gr=({ariaLabel:e,breadcrumb:t,children:o,href:r,id:n,target:a})=>{const i=z(Zr),l={..."newTab"===a?{target:"_blank",rel:"noopener noreferrer"}:{}};return d("a",He({"aria-label":e,href:r,css:g([i.link,t&&i.withBreadcrumb]),id:n},l),o||r)},Zr=({colorPalette:e})=>({link:g("color:",e.primaryDark,";font-family:'Montserrat',sans-serif;font-size:16px;font-weight:500;line-height:24px;"),withBreadcrumb:g("color:",e.fontLight,";margin-right:40px;text-decoration:none;position:relative;&:not(:last-of-type)::after{background-image:",p(d(Xe,{color:e.fontLight})),";background-repeat:no-repeat;background-size:contain;bottom:5px;content:'';height:20px;margin-bottom:-6px;margin-left:10px;position:absolute;right:-30px;width:20px;}&:hover{border-bottom:1px solid ",e.fontLight,";}")}),Wr=({id:e,label:t,readonly:o,value:r,...n})=>{const a=z(Xr);return o?d("label",{css:a.label,id:e},d("span",{css:a.labelText},t),d(Gr,{href:`mailto:${r}`},r)):d(Ho,He({label:t,value:r},n))};var wr={name:"r7q7qr",styles:"margin-bottom:5px;"};const Xr=({colorPalette:e})=>({label:g(be,";color:",e.font,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:12px;line-height:20px;"),labelText:wr});var kr;function Br(){return Br=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Br.apply(null,arguments)}var Vr,Rr=o(function(t,o){return e.createElement("svg",Br({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),kr||(kr=e.createElement("path",{d:"M12 5v14m-7-7h14",stroke:"#FAFCFC",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round",opacity:.6})))});function Yr(){return Yr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Yr.apply(null,arguments)}var Hr=o(function(t,o){return e.createElement("svg",Yr({viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Vr||(Vr=e.createElement("path",{d:"M5.333 21.656a6 6 0 0 1 2.773-10.964 8.002 8.002 0 0 1 15.788 0 6 6 0 0 1 2.773 10.964m-16-.323L16 16m0 0 5.333 5.333M16 16v12",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const Nr=({files:e,height:t,placeholderTitle:o,width:r,ariaLabel:a,browseLabel:i="Browse",description:l,displaySize:c="medium",id:s,label:g=o,max:b,maxFileSize:u,multiple:p,onError:C,onSelect:h,placeholderDescription:m=("large"===c?"Drag & drop "+(p?"files":"a file"):`Drag & drop ${p?"files":"a file"} or click to upload`),status:v,statusMessage:A,validExtensions:f,validTypes:x})=>{Jt('WJEC One FileInput: The "files" prop has been deprecated because this component no longer persists/displays a list of selected files',()=>void 0!==e,[e]),Jt('WJEC One FileInput: The "height" prop has been deprecated because the component now has preset sizes as determined by the "displaySize" prop',()=>void 0!==t,[t]),Jt('WJEC One FileInput: The "placeholderTitle" prop has been deprecated in favor of the new "label" prop',()=>void 0!==o,[o]),Jt('WJEC One FileInput: The "width" prop has been deprecated because the component now has preset sizes as determined by the "displaySize" prop',()=>void 0!==r,[r]);const y=n(void 0),G=n(void 0),Z=P(s),W=e=>p?void 0===b||e<=b:e<=1,w=e=>{const t=e.length,o=[],r=[],n=[],a=[];W(t)?(e.forEach(e=>{const t=(({name:e})=>{const t=e.substring(e.lastIndexOf("."));return void 0===f||f.includes(t)})(e),i=(({size:e})=>void 0===u||e<=u)(e),l=(({type:e})=>void 0===x||x.includes(e))(e);t&&i&&l&&a.push(e),t||o.push(e),i||r.push(e),l||n.push(e)}),a.length>0&&I(h)&&h(a)):I(C)&&C([{code:"MAX_FILES_EXCEEDED",details:{maxCount:b||1,selectedCount:t}}]),(o.length||r.length||n.length)&&I(C)&&C([o.length&&{code:"INVALID_FILE_EXTENSION",details:{files:o}},r.length&&{code:"INVALID_FILE_SIZE",details:{files:r}},n.length&&{code:"INVALID_FILE_TYPE",details:{files:n}}].filter(e=>e))},X=z(Fr);return d("label",{css:X.label,htmlFor:Z},g,d("div",{css:X.container,onDragEnter:e=>{const t=e.dataTransfer.items.length,o=W(t);k(e.nativeEvent),y.current.setAttribute("data-drag-state",o?"valid":"invalid")},onDragLeave:e=>{k(e.nativeEvent),y.current.removeAttribute("data-drag-state")},onDragOver:e=>{k(e.nativeEvent)},onDrop:e=>{k(e);const t=Array.from(e.dataTransfer.files);w(t),y.current.removeAttribute("data-drag-state")},ref:y,"data-display-size":c,"data-status":v},d("input",{"aria-label":a,css:se.visiblyHidden,id:Z,multiple:p,onChange:e=>{const t=Array.from(e.currentTarget.files);w(t)},ref:G,type:"file",value:""}),d(Hr,{css:X.uploadIcon,"aria-hidden":!0}),m&&d("p",{css:X.description},m),"large"===c&&d(_e,{icon:Rr,label:i,onPress:()=>{G.current.click()}})),d(go,null,l),d(yo,{status:v},A))};var Jr={name:"o1srjj",styles:"display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:14px;gap:4px;line-height:16px;& > span{margin-top:0;}"};const Fr=({colorPalette:e})=>({container:g("--icon-size:32px;",be,";align-items:center;border:2px dashed ",e.border,";border-radius:",se.borderRadius,";cursor:pointer;display:flex;flex-direction:column;font-size:16px;font-weight:600;gap:8px;justify-content:center;line-height:24px;max-height:var(--max-height);max-width:var(--max-width);padding:16px;position:relative;transition:border-color 0.1s linear;&:focus-within{outline:2px solid ",e.primary,";outline-offset:-2px;}&:hover{background-color:",e.neutral,";border-color:",e.secondary,';}&[data-display-size="small"]{--icon-size:24px;display:inline-flex;flex-direction:row;font-weight:400;height:40px;padding:8px;}&[data-status="error"]{background-color:',e.errorBackground,";border-color:",e.error,';}&[data-status="success"]{background-color:',e.successBackground,";border-color:",e.success,';}&[data-status="warning"]{background-color:',e.warningBackground,";border-color:",e.warning,';}&[data-drag-state="valid"]{border-color:',e.secondary,';}&[data-drag-state="invalid"]{border-color:',e.error,";}"),description:g("color:",e.neutralLight,";margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"),label:Jr,uploadIcon:g("color:",e.neutralLight,";flex-shrink:0;width:var(--icon-size);")});var zr;function Lr(){return Lr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Lr.apply(null,arguments)}var jr,Pr,Sr=o(function(t,o){return e.createElement("svg",Lr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),zr||(zr=e.createElement("path",{d:"M17 10V8A5 5 0 0 0 7 8v2m5 4.5v2M8.8 21h6.4c1.68 0 2.52 0 3.162-.327a3 3 0 0 0 1.311-1.311C20 18.72 20 17.88 20 16.2v-1.4c0-1.68 0-2.52-.327-3.162a3 3 0 0 0-1.311-1.311C17.72 10 16.88 10 15.2 10H8.8c-1.68 0-2.52 0-3.162.327a3 3 0 0 0-1.311 1.311C4 12.28 4 13.12 4 14.8v1.4c0 1.68 0 2.52.327 3.162a3 3 0 0 0 1.311 1.311C6.28 21 7.12 21 8.8 21Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});function Or(){return Or=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Or.apply(null,arguments)}var Er,Dr,Mr,Tr=o(function(t,o){return e.createElement("svg",Or({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),jr||(jr=e.createElement("path",{opacity:.12,d:"M9 12a3 3 0 0 0 5.121 2.121L9.88 9.88A2.99 2.99 0 0 0 9 12Z",fill:"currentColor"})),Pr||(Pr=e.createElement("path",{d:"M10.742 5.092C11.15 5.032 11.569 5 12 5c5.105 0 8.455 4.505 9.58 6.287.137.215.205.323.243.49.028.125.028.322 0 .447-.038.166-.107.274-.244.492-.3.474-.757 1.141-1.363 1.865M6.724 6.715c-2.162 1.467-3.63 3.504-4.303 4.57-.137.217-.206.325-.244.492a1.173 1.173 0 0 0 0 .446c.038.167.107.274.243.49C3.545 14.495 6.895 19 12 19c2.058 0 3.832-.732 5.288-1.723M3 3l18 18M9.879 9.879a3 3 0 1 0 4.243 4.243",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});function Qr(){return Qr=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Qr.apply(null,arguments)}var Ur=o(function(t,o){return e.createElement("svg",Qr({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Er||(Er=e.createElement("path",{opacity:.12,d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",fill:"currentColor"})),Dr||(Dr=e.createElement("path",{d:"M2.42 12.713c-.136-.215-.205-.323-.243-.49a1.173 1.173 0 0 1 0-.446c.038-.167.107-.274.243-.49C3.545 9.505 6.895 5 12 5s8.455 4.505 9.58 6.287c.137.215.205.323.243.49.028.125.028.322 0 .446-.038.167-.107.274-.243.49C20.455 14.495 17.105 19 12 19s-8.455-4.505-9.58-6.287Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),Mr||(Mr=e.createElement("path",{d:"M12 15a3 3 0 1 0 0-6 3 3 0 0 0 0 6Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const Kr=({ariaLabel:e,autoComplete:t="current-password",description:o,disabled:r,id:i,label:c,name:s,onChange:b,onToggleRevealPassword:u,placeholder:p,revealPassword:I,showIcon:C=!0,status:h,statusMessage:m,value:v=""})=>{const A=n(void 0),f=n(void 0),x=n(void 0),[{brand:y,colorPalette:G}]=L(),Z=P(),W=a(()=>i||Z,[Z,i]);l(()=>{const e=Boolean(!r&&I);x.current.setAttribute("aria-pressed",e.toString()),f.current.setAttribute("type",e?"text":"password")},[r,I]),l(()=>{f.current.value=v},[v]);const w=a(()=>{switch(h){case"error":return{background:G.errorBackground,border:G.error};case"success":return{background:G.successBackground,border:G.success};case"warning":return{background:G.warningBackground,border:G.warning};default:return{}}},[y,h]),X=z(_r),{buttonProps:k}=S({"aria-label":e,"aria-pressed":!r&&I,isDisabled:r,onPress:()=>{const e=!r&&"true"!==x.current.getAttribute("aria-pressed");x.current.setAttribute("aria-pressed",e.toString()),f.current.setAttribute("type",e?"text":"password"),u?.(e)},type:"button"},x);return d("label",{css:X.label,htmlFor:W},c,d("span",{css:g([X.container,{"--margin-top":c&&"4px"}])},d("input",{"aria-label":e,autoComplete:t,css:g([X.input,{"--background-color":w.background,"--border-color":w.border,"--padding-left":!C&&"8px"}]),defaultValue:v,disabled:r,id:W,name:s,onChange:({target:{value:e}})=>{b?.(e)},placeholder:p,ref:f,type:!r&&I?"text":"password"}),C&&d(Sr,{"aria-hidden":!0,css:X.icon,ref:A}),d("button",He({},k,{css:X.revealPassword,name:"Reveal password",ref:x}))),d(go,null,o),d(yo,{status:h},m))};var $r={name:"1y6rkrv",styles:"--margin-top:0;margin-top:var(--margin-top);position:relative;"},qr={name:"1ynvfur",styles:"font-size:12px;margin-top:4px;"};const _r=({colorPalette:e})=>({container:$r,description:qr,icon:g("color:",e.neutralLight,";height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:0;width:40px;"),input:g("--background-color:#FFFFFF;--border-color:",e.border,";--padding-left:40px;",ue,";background-color:var(--background-color);border:1px solid var(--border-color);border-radius:",se.borderRadius,";font-family:inherit;font-size:16px;height:40px;line-height:24px;max-width:100%;outline:none;padding:4px 40px 4px var(--padding-left);width:100%;&:disabled{background-color:",e.neutral,";border-color:",e.border,";color:",e.border,";cursor:not-allowed;+ button{background-image:",p(d(Tr,{color:e.border})),';&[aria-pressed="true"]{background-image:',p(d(Ur,{color:e.border})),";}}+ svg{color:",e.border,";}}&:focus{border-color:",e.primary,";}&::placeholder{color:",e.neutralLight,";}"),label:g(be,";",pe,";display:inline-flex;flex-direction:column;position:relative;&:has(:disabled){color:",e.border,";}"),revealPassword:g("background:transparent ",p(d(Tr,{color:e.neutralLight}))," center / 24px no-repeat;border:none;color:",e.neutralLight,";cursor:pointer;position:absolute;height:40px;padding:4px 8px;right:0;top:0;width:40px;&:disabled{background-image:",p(d(Tr,{color:e.border})),";pointer-events:none;}&:focus{outline-color:",e.primary,';outline-width:1px;}&[aria-pressed="true"]{background-image:',p(d(Ur,{color:e.primary})),";color:",e.primary,";}")}),en=({ariaLabel:e,description:o,disabled:r,gridArea:i,keyExtractor:c,highlightedOption:s,id:g,label:b,labelExtractor:u,name:p,onSelect:v,options:A,orientation:f="horizontal",selectedOption:x,status:y,statusMessage:G})=>{Jt('WJEC One RadioGroup: The "gridArea" prop has been deprecated because WJEC One components are intended to be layout agnostic',()=>void 0!==i,[i]),Ne("WJEC-One RadioGroup: You must specify a keyExtractor if the options array contains non-primitive entry type",()=>!Z(A)&&!W(A)&&!c,[c]),Jt("WJEC One CheckBox: This prop has been deprecated because highlighting options within a RadioGroup component with a border color does not fit with the latest WJEC One design. Please use an alternative approach or CSS override",()=>void 0!==s,[s]);const w=P(g),X=n(void 0);l(()=>{if(x){const e=X.current.querySelectorAll('input[type="radio"]'),t=A.indexOf(x),o=R(x,t),r=Array.from(e).find(e=>e.value===o);r&&(r.checked=!0)}},[A,x]);const[{brand:k,colorPalette:B}]=L(),V=a(()=>{switch(y){case"error":return{background:B.errorBackground,border:B.error};case"success":return{background:B.successBackground,border:B.success};case"warning":return{background:B.warningBackground,border:B.warning};default:return{}}},[k,y]),R=(e,t)=>C(e)?e.key:m(e,c,t),Y=e=>()=>{I(v)&&v(e)},H=z(on),N=a(()=>({"--background-color":V.background,"--border-color":V.border,"--flex-direction":"vertical"===f&&"column","--flex-gap":"vertical"===f&&"16px 8px","--margin-top":b&&"4px"}),[b,f,V]);return d("label",{css:H.label,id:w,"data-disabled":r||void 0},b,d("fieldset",{css:H.container,ref:X,style:N},A.map((o,n)=>{const a=R(o,n),i=n===A.indexOf(x);return d(t.Fragment,{key:a},d("input",{css:H.radioButton,defaultChecked:i,disabled:r,id:`${w}_${n}`,name:p||w,onChange:Y(o),type:"radio",value:a}),d("label",{"aria-label":e,css:H.radioButtonContainer,htmlFor:`${w}_${n}`},C(o)?o.label:h(o,u,n)))})),d(go,null,o),d(yo,{status:y},G))};var tn={name:"14uy2ws",styles:"align-items:center;cursor:pointer;display:flex;&::before{background-clip:content-box;border:1px solid var(--border-color);border-radius:50%;box-shadow:0 0 0 var(--shadow-size) var(--shadow-color) inset;content:'';display:inline-block;height:40px;margin-right:8px;padding:8px;width:40px;}"};const on=({colorPalette:e})=>({container:g("--background-color:#FFFFFF;--border-color:",e.border,";--flex-direction:row;--flex-gap:8px 16px;--margin-top:0;--shadow-color:var(--background-color);--shadow-size:16px;",be,";align-items:flex-start;border:none;display:flex;flex-direction:var(--flex-direction);flex-wrap:wrap;gap:var(--flex-gap);margin:var(--margin-top) 0 0;padding:0;"),label:g(pe,';&[data-disabled="true"]{color:',e.border,";}"),radioButton:g(se.visiblyHidden," position:absolute;&:checked + label::before{--shadow-size:8px;background-color:",e.primary,";padding:6px;}&:disabled + label{--border-color:",e.border,";--shadow-color:",e.neutral,";color:",e.border,";cursor:not-allowed;&::before{background-color:",e.border,";}}&:focus + label::before{--border-color:",e.primary,";}"),radioButtonContainer:tn});var rn;function nn(){return nn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},nn.apply(null,arguments)}var an=o(function(t,o){return e.createElement("svg",nn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),rn||(rn=e.createElement("path",{d:"m6 9 6 6 6-6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))}),ln={name:"1ynvfur",styles:"font-size:12px;margin-top:4px;"},cn={name:"801txx",styles:"font-size:12px;font-weight:600;margin-top:4px;padding-left:24px;position:relative;"},sn={name:"ezpkst",styles:"left:0;position:absolute;top:50%;transform:translateY(-50%);width:16px;"};const gn=({colorPalette:e})=>({description:ln,icon:g("--offset-top:0;box-sizing:content-box;color:",e.neutralLight,';height:24px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:24px;&[data-disabled="true"]{color:',e.border,";}"),label:g(be,";",pe,';display:flex;flex-direction:column;position:relative;&[data-disabled="true"]{color:',e.border,";}"),select:g("--background-color:#FFFFFF;--border-color:",e.border,";--margin-top:0;--padding-left:8px;appearance:none;background:var(--background-color) ",p(d(an,{color:e.neutralLight}))," calc(100% - 8px) center / 24px no-repeat;border:1px solid var(--border-color);border-radius:",se.borderRadius,";color:",e.neutralDark,";font-family:'Montserrat',sans-serif;font-size:16px;height:40px;line-height:24px;margin-top:var(--margin-top);outline:none;padding:4px 40px 4px var(--padding-left);width:100%;&:disabled{background-color:",e.neutral,";background-image:",p(d(an,{color:e.border})),";border-color:",e.border,";color:",e.border,";cursor:not-allowed;}&:focus{border-color:",e.primary,";}&::placeholder{color:",e.neutralLight,";}& > option{&:disabled{color:",e.border,";}}"),status:cn,statusError:g("color:",e.error,";"),statusIcon:sn,statusSuccess:g("color:",e.success,";"),statusWarning:g("color:",e.warning,";")}),dn=(e,t,o)=>C(e)?e.key:m(e,t,((e,t)=>t.findIndex(t=>t===e||bn(t)&&t.options.includes(e)))(e,o))?.toString(),bn=e=>B(e)&&Object.hasOwn(e,"options")&&Object.hasOwn(e,"label")&&"string"==typeof e.label,un=e=>{const{blankOption:t,description:o,disabled:r,disabledOptions:i,icon:c,id:s,label:g,name:b,onSelect:u,optionKeyExtractor:p,optionLabelExtractor:m,options:v,placeholder:A,selectedOption:f,status:x,statusMessage:y}=e;Jt("WJEC One Select: You have provided a list of options that contains duplicate primitive values. This is not recommended and may lead to unexpected behavior, but if you really want to do this then you need to supply a keyExtractor so that it is possible to differentiate between the duplicate options (doing so will also suppress this warning)",()=>{const e=new Set;return v.some(t=>!!(bn(t)&&Z(t.options)&&V(t.options))||(!!e.has(t)||(e.add(t),!1)))&&!p},[p,v]),Ne("WJEC One Select: You must specify a keyExtractor if the options array contains non-primitive entry types",()=>v.some(e=>{if(bn(e)){const t=e.options,o=Z(t),r=W(t);return!(o||r||p)}return!(R(e)||C(e)||p)}),[p,v]);const G=n(void 0),[{brand:w,colorPalette:X}]=L(),k=n(void 0),B=P(s),Y=`${B}_description`,H=`${B}_status`,N=a(()=>f?dn(f,p,v):"",[p,v,f]);l(()=>{k.current&&(k.current.value=N)},[N]),l(()=>{G.current?.style?.setProperty("--offset-top",`${k.current.offsetTop}px`)});const J=a(()=>{switch(x){case"error":return{background:X.errorBackground,border:X.error};case"success":return{background:X.successBackground,border:X.success};case"warning":return{background:X.warningBackground,border:X.warning};default:return{}}},[w,x]),F=(e,t)=>{const o=dn(e,p,v);return d("option",{disabled:i?.includes(e),key:o,value:o},C(e)?e.label:h(e,m,t))},j="error"!==x&&"warning"!==x||!y?Y:H,S=z(gn),O=a(()=>({"--background-color":J.background,"--border-color":J.border,"--margin-top":g&&"4px","--padding-left":c&&"40px"}),[c,g,J]);return d("label",{css:S.label,htmlFor:B,"data-disabled":r},g,d("select",{"aria-describedby":j,css:S.select,defaultValue:N,disabled:r,id:B,name:b,onChange:({target:{value:e}})=>{const t=((e,t,o)=>{let r;return o.find(n=>{if(bn(n))r=n.options.find(r=>dn(r,t,o)===e);else{const a=dn(n,t,o);r=a===e?n:void 0}return void 0!==r}),r})(e,p,v);I(u)&&u(t)},ref:k,style:O},A&&d("option",{disabled:!0,hidden:!0,value:""},A),t&&d("option",{value:""}),v.map((e,t)=>bn(e)?d("optgroup",{key:e.label,label:e.label},e.options.map(e=>F(e,t))):F(e,t))),c&&d(c,{"aria-hidden":!0,css:S.icon,"data-testid":"icon","data-disabled":r,ref:G}),d(go,{id:Y},o),d(yo,{id:H,status:x},y))},pn=e=>{let t=e.replace(/([a-z])([A-Z])/g,"$1-$2").replace(/[\s_]+/g,"-").toLowerCase();return t.startsWith("data-")||(t=`data-${t}`),t},In=({ariaDescription:e,ariaLabel:t,disabled:o,height:n="auto",id:l,label:c,maxCharacters:s,maxHeight:b="100%",maxWidth:u="100%",onChange:p,placeholder:C,readonly:h,resizable:m=!1,showCount:v=!0,value:A="",width:f="100%"})=>{const[x,y]=r(A),G=at(e);i(()=>{A!==x&&y(A)},[A]);const Z=z(Cn),W=((e,{excludeIfFalse:t,excludeIfFalsy:o,excludeIfNull:r=!0,excludeIfUndefined:n=!0}={})=>a(()=>Object.entries(e).reduce((e,[a,i])=>t&&!1===i||o&&!i||r&&null===i||n&&void 0===i?e:{...e,[pn(a)]:String(i)},{}),[e]))({"data-current-value-length":x?.length},{excludeIfFalse:!0});return d("label",He({"aria-label":t},W,{css:g([Z.label,v&&g("&::after{content:attr(data-current-value-length) '",void 0!==s&&`/${s}`,"';}"),{maxWidth:u,width:f}]),"data-max-count":s}),c,d("textarea",He({id:l,css:g([se.scrollbar,Z.textarea,{height:n,maxHeight:b,resize:m?"both":"none"}]),value:x,placeholder:C,onChange:({target:{value:e}})=>{y(e),I(p)&&p(e)},readOnly:h,disabled:o,maxLength:s},h?{tabIndex:-1}:{},G)))},Cn=({colorPalette:e})=>({label:g(be,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:11px;line-height:20px;&::after{color:",e.fontLight,";display:inline-block;font-size:12px;font-family:'Montserrat',sans-serif;margin:5px 5px 0 0;text-align:right;}"),textarea:g("border:1px solid ",e.border,";border-radius:",se.borderRadius,";color:",e.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:400;line-height:20px;outline:none;padding:10px;text-overflow:ellipsis;white-space:nowrap;&:disabled{background-color:",e.neutral,";cursor:not-allowed;}&:focus{border-color:",e.primary,";}&:not(:read-only){transition:border-color 0.05s linear;}")});var hn;function mn(){return mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},mn.apply(null,arguments)}var vn=o(function(t,o){return e.createElement("svg",mn({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),hn||(hn=e.createElement("path",{d:"m7.5 13.475-2.892-2.892a.83.83 0 1 0-1.175 1.175l3.484 3.484a.83.83 0 0 0 1.175 0l8.816-8.817a.83.83 0 1 0-1.175-1.175L7.5 13.475Z",fill:"currentColor"})))});const An=e=>{const t=a(()=>window.matchMedia(e),[e]),[o,n]=r(()=>t?.matches);return i(()=>{const e=e=>n(e.matches);return t?.addEventListener("change",e),()=>{t?.removeEventListener("change",e)}},[t]),o},fn=e=>{i(()=>e,[])},xn=({ariaLabel:e,disabled:t,id:o,label:r,on:a=!1,onChange:i,size:c="default",value:s})=>{const g=n(void 0),b=P(o);let u="true"===g.current?.getAttribute("aria-pressed");const p=An("(prefers-reduced-motion)");((e,t)=>{const o=n(!0);l(()=>{let t;return o.current?o.current=!1:t=e(),t},t),fn(()=>{o.current=!0})})(()=>{a!==u&&(u=a,g.current.setAttribute("aria-pressed",a.toString()),p||C.play())},[a,p]);const C=St(g,[{height:"calc(var(--toggle-dimensions) - 2px)",left:0,margin:"calc(var(--toggle-margin) + 1px)",width:"calc(var(--toggle-dimensions) - 2px)"},{height:"var(--toggle-dimensions)",margin:"var(--toggle-margin)",marginLeft:"calc(var(--toggle-margin) + 1px)",width:"calc(var(--track-width) - calc(var(--toggle-margin) * 2))"},{left:"unset",height:"var(--toggle-dimensions)",margin:"var(--toggle-margin)",right:"calc(100% - var(--track-width))",width:"var(--toggle-dimensions)"}],{direction:u?"reverse":"normal",duration:200,easing:"ease-in-out",iterations:1,pseudoElement:"::after"}),h=z(yn),{buttonProps:m}=S({"aria-label":e,"aria-pressed":a,id:b,isDisabled:t,onPress:()=>{u=!u,g.current.setAttribute("aria-pressed",u.toString()),p||C.play(),I(i)&&i(u)}},g);return d("label",{css:h.label,htmlFor:b},r,d("button",He({},m,{css:h.toggleButton,ref:g,"data-size":c}),s))},yn=({colorPalette:e})=>({label:g(be,";",pe,";cursor:pointer;display:inline-flex;flex-direction:column;font-size:16px;gap:4px 8px;&:has(:disabled){color:",e.border,';cursor:not-allowed;}&:has([data-size="small"]){font-size:10px;gap:4px;}'),toggleButton:g("--highlight-size:30px;--toggle-offset:0;--toggle-dimensions:18px;--track-height:24px;--track-width:48px;--toggle-margin:calc(calc(var(--track-height) - var(--toggle-dimensions)) / 2);align-items:center;background-color:transparent;border:0;border-radius:calc(var(--track-height) / 2);color:",e.neutralDark,";cursor:inherit;display:flex;font-family:'Montserrat',sans-serif;font-size:inherit;font-weight:400;gap:inherit;line-height:var(--track-height);outline-color:",e.primary,';outline-offset:3px;padding:0;position:relative;text-align:left;width:max-content;&[data-size="small"]{--highlight-size:20px;--toggle-dimensions:12px;--track-height:16px;--track-width:32px;}&:not(:disabled):active{--shadow-color:',Y(e.neutralLight,.3),';&[aria-pressed="true"]{--shadow-color:',Y(e.primary,.3),";}&::after{box-shadow:0 0 0 calc(calc(var(--highlight-size) - var(--toggle-dimensions)) / 2) var(--shadow-color);}}&:disabled{color:",e.border,";&::after{background-color:",e.border,';}}&:not(:disabled):hover{&::after{background-color:#9DAAAF;}&[aria-pressed="true"]::after{background-color:',e.primaryDark,";}}&:after{background-color:",e.neutralLight,";border-radius:12px;content:'';display:block;height:calc(var(--toggle-dimensions) - 2px);left:0;margin:calc(var(--toggle-margin) + 1px);position:absolute;width:calc(var(--toggle-dimensions) - 2px);}&:before{background-color:#FFFFFF;border:1px solid ",e.border,";border-radius:calc(var(--track-height) / 2);content:'';display:block;flex-shrink:0;height:var(--track-height);position:relative;width:var(--track-width);}&[aria-pressed=\"true\"]{--icon-size:calc(var(--toggle-dimensions) - 2px);--toggle-offset:calc(var(--track-width) / 2);&::after{background-color:",e.primary,";background-image:",p(d(vn,{color:"#fff"})),";background-position:center right calc(calc(var(--toggle-dimensions) - var(--icon-size)) / 2);background-repeat:no-repeat;background-size:var(--icon-size);height:var(--toggle-dimensions);left:unset;margin:var(--toggle-margin);right:calc(100% - var(--track-width));width:var(--toggle-dimensions);}&::before{background-color:",e.primaryLightest,";border-color:",e.primary,";}&:disabled{&::after{background-color:",e.border,";}&::before{background-color:",e.offWhite,";border-color:",e.border,";}}}")});var Gn;function Zn(){return Zn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Zn.apply(null,arguments)}var Wn=o(function(t,o){return e.createElement("svg",Zn({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Gn||(Gn=e.createElement("path",{d:"M12 12h.005M17 12h.005M7 12h.005M5.2 7h13.6c1.12 0 1.68 0 2.108.218a2 2 0 0 1 .874.874C22 8.52 22 9.08 22 10.2v3.6c0 1.12 0 1.68-.218 2.108a2 2 0 0 1-.874.874C20.48 17 19.92 17 18.8 17H5.2c-1.12 0-1.68 0-2.108-.218a2 2 0 0 1-.874-.874C2 15.48 2 14.92 2 13.8v-3.6c0-1.12 0-1.68.218-2.108a2 2 0 0 1 .874-.874C3.52 7 4.08 7 5.2 7Zm7.05 5a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Zm5 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Zm-10 0a.25.25 0 1 1-.5 0 .25.25 0 0 1 .5 0Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const wn=({description:e,disabled:t,id:o,label:r,maxLength:a=6,onChange:c,placeholder:s="e.g. 123456",showIcon:g=!0,status:b,statusMessage:u})=>{const p=n(void 0),C=n(void 0),h=n(0),m=n(""),v=P(o),A=`${v}_description`,f=`${v}_status`;i(()=>{const e=()=>{document.activeElement===C.current&&(h.current=C.current.selectionEnd)};return document.addEventListener("selectionchange",e),()=>{document.removeEventListener("selectionchange",e)}},[]),l(()=>{p.current?.style?.setProperty("--offset-top",`${C.current.offsetTop}px`)});const x=z(Xn),y="error"!==b&&"warning"!==b||!u?A:f;return d("label",{css:x.label,"data-disabled":t},r,g&&d(Wn,{"aria-hidden":!0,css:x.icon,"data-disabled":t,ref:p}),d("input",{"aria-describedby":y,autoComplete:"one-time-code",css:x.input,disabled:t,id:v,inputMode:"numeric",maxLength:a,onChange:({target:e})=>{const{value:t}=e;I(c)&&c(t)},onInput:()=>{if(/[^0-9]/g.test(C.current.value)){const e=C.current.value.replace(/[^0-9]/g,""),t=e.length-m.current.length,o=h.current+t;C.current.value=e,C.current.setSelectionRange(o,o)}h.current=C.current.selectionEnd,m.current=C.current.value},placeholder:s,ref:C,type:"text","data-status":b}),d(go,{id:A},e),d(yo,{id:f,status:b},u))},Xn=({colorPalette:e})=>({icon:g("--offset-top:0;color:",e.neutralLight,';height:40px;left:0;padding:8px;pointer-events:none;position:absolute;top:var(--offset-top);width:40px;&[data-disabled="true"]{color:',e.border,";}& + input{padding-left:40px;}"),input:g(ue,";background-color:#FFFFFF;border:1px solid ",e.border,";border-radius:",se.borderRadius,";font-family:inherit;font-feature-settings:'tnum';font-size:16px;height:40px;line-height:24px;max-width:100%;outline:none;padding:4px 8px;width:100%;&:disabled{background-color:",e.neutral,";border-color:",e.border,";color:",e.border,";cursor:not-allowed;}&:focus{border-color:",e.primary,";}&::placeholder{color:",e.neutralLight,';}&:not(:placeholder-shown){letter-spacing:8px;}&[data-status="error"]{background-color:',e.errorBackground,";border-color:",e.error,';}&[data-status="success"]{background-color:',e.successBackground,";border-color:",e.success,';}&[data-status="warning"]{background-color:',e.warningBackground,";border-color:",e.warning,";}"),label:g(be,";",pe,";display:inline-flex;flex-direction:column;font-family:'Montserrat',sans-serif;gap:4px;position:relative;&[data-disabled=\"true\"]{color:",e.border,";}")});var kn;function Bn(){return Bn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Bn.apply(null,arguments)}var Vn=o(function(t,o){return e.createElement("svg",Bn({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),kn||(kn=e.createElement("path",{d:"M15.25 4.758a.83.83 0 0 0-1.175 0L10 8.825 5.925 4.75A.83.83 0 1 0 4.75 5.925L8.825 10 4.75 14.075a.83.83 0 1 0 1.175 1.175L10 11.175l4.075 4.075a.83.83 0 1 0 1.175-1.175L11.175 10l4.075-4.075a.835.835 0 0 0 0-1.167Z",fill:"currentColor"})))});const Rn=({ariaDescription:e,ariaCloseLabel:t,borderColor:o,children:l,icon:c=wo,iconColor:s,id:g,onClose:b=null,open:u=null,showCloseIcon:p=!1,title:I,titleColor:C})=>{const[{brand:h,colorPalette:m}]=L(),v=n(void 0),A=at(e),[f,x]=r(!0),y=z(Fn);i(()=>{null!=u&&x(u)},[u]);const G=a(()=>o||m.secondary,[h,o]),Z=a(()=>s||m.secondaryDark,[h,s]),W=a(()=>C||m.secondaryDark,[h,C]);return tt("--border-color",G,v),tt("--icon-color",Z,v),tt("--title-color",W,v),f?d("div",He({css:y.infoCardMain,style:{padding:p||b?"16px 36px 16px 16px":"16px"},id:g,ref:v},A),d(c,{css:y.icon,"aria-hidden":!0}),d("div",null,I&&d("h3",{css:y.title},I),d("p",{css:y.message},l)),(p||b)&&d(Vn,{"aria-label":t,css:y.close,id:"close",onClick:()=>{x(!1),b?.()}})):null};var Yn={name:"oofjv5",styles:"cursor:pointer;height:36px;outline:none;padding:10px;position:absolute;right:0;top:0;width:36px;"},Hn={name:"1i9s3a8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;width:24px;"},Nn={name:"1uk1gs8",styles:"margin:0;"},Jn={name:"172fn9d",styles:"color:var(--title-color);font-weight:600;margin:0 0 4px 0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;"};const Fn=({colorPalette:e})=>({close:Yn,icon:Hn,infoCardMain:g("--border-color:",e.secondary,";--icon-color:",e.secondaryDark,";--title-color:",e.secondaryDark,";background-color:#ffffff;border:1px solid var(--border-color);border-radius:",se.borderRadius,";box-shadow:",se.dropShadow,";display:flex;font-family:'Montserrat',sans-serif;font-size:16px;gap:16px;line-height:24px;padding:16px;position:relative;"),message:Nn,title:Jn}),zn=e=>{const[{colorPalette:t}]=L();return d(Rn,He({},e,{borderColor:t.error,icon:Yo,iconColor:t.error,titleColor:t.errorDark}))},Ln=e=>{const[{colorPalette:t}]=L();return d(Rn,He({},e,{borderColor:t.success,icon:Vo,iconColor:t.success,titleColor:t.successDark}))},jn=e=>{const[{colorPalette:t}]=L();return d(Rn,He({},e,{borderColor:t.warning,icon:Yo,iconColor:t.warning,titleColor:t.warningDark}))};var Pn,Sn,On,En,Dn;function Mn(){return Mn=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Mn.apply(null,arguments)}var Tn,Qn,Un,Kn,$n,qn=o(function(t,o){return e.createElement("svg",Mn({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Pn||(Pn=e.createElement("path",{d:"M27.565 14.13c-.134-10.058-10.33-8.59-11.991-8.283a.203.203 0 0 0-.156.262l2.16 6.588c.1.303.417.479.726.4 5.147-1.298 8.369.613 9.102 1.118a.101.101 0 0 0 .16-.085",fill:"#BDBCBC"})),Sn||(Sn=e.createElement("path",{d:"M27.858 14.13C27.992 4.072 38.19 5.54 39.85 5.848c.121.022.194.145.123.363l-2.22 6.77c-.033.102-.248.218-.456.163-5.25-1.388-8.537.562-9.279 1.072a.101.101 0 0 1-.159-.085",fill:"#E65000"})),On||(On=e.createElement("path",{d:"M28.851 8.37c2.36-6.255 9.127-6.033 10.522-5.918.13.01.216.14.175.265l-.692 2.11a.101.101 0 0 1-.107.069c-6.007-.667-8.716 2.088-9.72 3.566-.067.1-.22.02-.178-.092",fill:"#69B3E6"})),En||(En=e.createElement("path",{d:"m38.78.266-.415 1.267a.102.102 0 0 1-.096.07c-4.79.048-7.351 2.563-8.428 4.005-.074.099-.227.005-.172-.105.923-1.859 3.414-5.44 8.915-5.503a.203.203 0 0 1 .196.266Z",fill:"#FABD34"})),Dn||(Dn=e.createElement("path",{d:"M4.325 40C1.485 40 0 37.687 0 35.4c0-2.27 1.486-4.57 4.325-4.57 2.15 0 3.383 1.331 3.435 1.388a.716.716 0 0 1-1.057.966c-.042-.045-.888-.922-2.378-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.494 0 2.36-.93 2.369-.94a.716.716 0 0 1 1.071.95C7.714 38.636 6.48 40 4.325 40ZM32.96 40c-2.84 0-4.325-2.313-4.325-4.6 0-2.27 1.485-4.57 4.324-4.57 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 0 1-1.056.966c-.042-.045-.888-.922-2.379-.922-1.988 0-2.893 1.627-2.893 3.139 0 1.526.905 3.167 2.893 3.167 1.495 0 2.361-.93 2.37-.94a.716.716 0 0 1 1.07.95c-.05.058-1.284 1.422-3.44 1.422ZM14.142 28.887a.715.715 0 0 1-.409-1.304c1.24-.86 1.345-2.47 1.332-3.122v-7.402a.716.716 0 0 1 1.432 0v7.354c.016.904-.14 3.093-1.948 4.346a.71.71 0 0 1-.407.128ZM33.002 25.513c-2.839 0-4.325-2.313-4.325-4.599 0-2.271 1.486-4.571 4.325-4.571 2.15 0 3.384 1.331 3.435 1.388a.716.716 0 0 1-1.056.966c-.043-.046-.89-.922-2.379-.922-1.987 0-2.893 1.627-2.893 3.14 0 1.525.906 3.167 2.893 3.167 1.492 0 2.338-.906 2.373-.945a.718.718 0 0 1 1.01-.05c.291.263.319.71.058 1.004-.052.058-1.286 1.422-3.44 1.422M11.539 16.34a.716.716 0 0 0-.716.716v5.207c0 1.007-.82 1.826-1.826 1.826h-.053a1.828 1.828 0 0 1-1.826-1.826v-5.207a.716.716 0 1 0-1.432 0v5.207c0 1.007-.819 1.826-1.825 1.826h-.054a1.828 1.828 0 0 1-1.825-1.826v-5.207a.716.716 0 0 0-1.432 0v5.207a3.261 3.261 0 0 0 3.257 3.257h.054c1.027 0 1.944-.48 2.541-1.225a3.251 3.251 0 0 0 2.542 1.225h.053a3.261 3.261 0 0 0 3.258-3.257v-5.207a.716.716 0 0 0-.716-.716ZM13.314 30.822c-.891 0-1.605.262-2.154.663v-3.314a.715.715 0 1 0-1.43 0v9.72a.71.71 0 0 0 .082.33c.038.072.95 1.76 3.502 1.76 1.32 0 2.44-.508 3.238-1.466.696-.835 1.08-1.946 1.08-3.126 0-1.064-.35-2.14-.957-2.953-.55-.736-1.581-1.614-3.361-1.614Zm0 7.729c-.905 0-1.49-.301-1.817-.551a.866.866 0 0 1-.337-.693v-3.038c0-.659.526-2.017 2.154-2.017 2.284 0 2.888 2.052 2.888 3.137 0 1.523-.904 3.162-2.888 3.162M22.885 16.347c-1.774 0-2.773.87-3.297 1.598-.78 1.082-.896 2.325-.896 2.97 0 1.18.384 2.29 1.08 3.126.799.958 1.918 1.465 3.238 1.465 2.152 0 3.384-1.362 3.435-1.42a.714.714 0 0 0-1.07-.948c-.008.01-.873.938-2.365.938-1.669 0-2.574-1.159-2.82-2.434h5.98c.396 0 .716-.32.716-.714 0-2.28-1.238-4.58-4-4.58Zm-2.716 3.866c.33-2.31 2.294-2.436 2.716-2.436 1.835 0 2.364 1.476 2.514 2.436h-5.23ZM26.877 32.586c-.038-.072-.95-1.759-3.502-1.759-2.834 0-4.318 2.297-4.318 4.567 0 1.18.384 2.29 1.08 3.126.799.959 1.918 1.465 3.238 1.465l.034-.001c.876-.007 1.58-.268 2.122-.666a.715.715 0 0 0 1.427-.047v-6.353a.719.719 0 0 0-.081-.332Zm-1.348 3.953c0 .658-.527 2.017-2.154 2.017-2.285 0-2.888-2.052-2.888-3.137 0-1.523.904-3.162 2.888-3.162.905 0 1.489.3 1.817.55a.868.868 0 0 1 .337.694v3.038Z",fill:"#009FE3"})))});function _n(){return _n=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},_n.apply(null,arguments)}var ea=o(function(t,o){return e.createElement("svg",_n({viewBox:"0 0 298 154",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Tn||(Tn=e.createElement("path",{d:"M235.171 71.957c-.671-50.518-51.708-43.14-60.018-41.605a1.02 1.02 0 0 0-.781 1.318l10.817 33.09a3.034 3.034 0 0 0 3.629 2.007c25.761-6.52 41.889 3.08 45.557 5.613.339.234.8-.01.796-.423Z",fill:"#BDBCBC"})),Qn||(Qn=e.createElement("path",{d:"M236.637 71.957c.671-50.518 51.709-43.14 60.019-41.605.603.112.971.732.613 1.826l-11.109 34c-.17.515-1.242 1.095-2.283.818-26.278-6.969-42.732 2.822-46.443 5.384a.508.508 0 0 1-.797-.423Z",fill:"#F1511B"})),Un||(Un=e.createElement("path",{d:"M241.607 43.024C253.419 11.61 287.286 12.723 294.27 13.3c.654.055 1.082.708.879 1.332l-3.463 10.597a.507.507 0 0 1-.54.346c-30.062-3.348-43.624 10.49-48.645 17.914-.336.497-1.106.097-.894-.466Z",fill:"#69B3E6"})),Kn||(Kn=e.createElement("path",{d:"m291.304 2.325-2.08 6.363a.51.51 0 0 1-.477.35c-23.975.245-36.795 12.875-42.185 20.115-.369.496-1.134.025-.859-.527 4.619-9.335 17.083-27.32 44.621-27.637.696-.01 1.197.671.98 1.336Z",fill:"#FABD34"})),$n||($n=e.createElement("path",{d:"M223.864 112.447c0 3.308-2.635 10.135-10.779 10.135-11.435 0-14.454-10.307-14.454-15.757 0-7.65 4.522-15.883 14.454-15.883 4.528 0 7.452 1.514 9.095 2.766 1.078.821 1.684 2.124 1.684 3.481v15.258Zm-10.779-28.685c-14.186 0-21.61 11.54-21.61 22.937 0 5.93 1.919 11.507 5.401 15.701 3.999 4.814 9.602 7.36 16.209 7.36.058 0 .113-.007.173-.01 4.383-.033 7.905-1.343 10.618-3.343a3.581 3.581 0 0 0 3.565 3.353 3.583 3.583 0 0 0 3.577-3.589V94.262c0-.579-.142-1.151-.408-1.665-.187-.359-4.753-8.835-17.525-8.835ZM7.8 103.21c1.655-11.596 11.482-12.232 13.596-12.232 9.184 0 11.83 7.41 12.582 12.232H7.8Zm13.596-19.412c-8.88 0-13.878 4.365-16.504 8.023C.992 97.256.41 103.5.41 106.736c0 5.929 1.919 11.505 5.4 15.699 4.001 4.815 9.604 7.361 16.21 7.361 10.77 0 16.938-6.842 17.195-7.131a3.597 3.597 0 0 0-.306-5.066 3.565 3.565 0 0 0-5.046.306c-.043.048-4.376 4.713-11.843 4.713-8.353 0-12.883-5.825-14.11-12.227h29.932a3.58 3.58 0 0 0 3.577-3.589c0-11.449-6.192-23.004-20.022-23.004Zm237.237 19.499a48.905 48.905 0 0 1-1.565-.412c-7.068-2.034-9.221-3.672-9.221-7.011 0-3.09 3.077-4.933 8.237-4.933 4.615 0 9.241 2.6 9.294 2.633a3.574 3.574 0 0 0 4.877-1.33 3.596 3.596 0 0 0-1.319-4.9c-.255-.146-6.29-3.583-12.852-3.583-7.664 0-15.392 3.747-15.392 12.113 0 9.765 9.368 12.463 14.404 13.911.539.156 1.14.307 1.778.471 5.852 1.488 8.462 2.819 8.462 6.78 0 1.513-.447 2.623-1.411 3.483-2.062 1.846-6.037 2.321-9.065 1.977-5.52-.634-9.229-3.095-9.918-3.582-1.506-1.07-3.628-.844-4.828.563a3.598 3.598 0 0 0 .757 5.34c1.391.977 6.202 4.012 13.178 4.812.834.093 1.726.149 2.653.149 4.054 0 8.759-1.013 11.985-3.902 2.487-2.226 3.804-5.284 3.804-8.84 0-10.216-9.362-12.595-13.858-13.739ZM131.276 83.762a3.585 3.585 0 0 0-3.577 3.591v24.193c0 6.084-4.934 11.036-10.998 11.036-6.067 0-11.001-4.952-11.001-11.036V87.353a3.585 3.585 0 0 0-3.576-3.591 3.585 3.585 0 0 0-3.578 3.591v24.193c0 10.042 8.144 18.214 18.155 18.214 10.01 0 18.152-8.172 18.152-18.214V87.353a3.584 3.584 0 0 0-3.577-3.591Zm44.481 28.699c0 3.306-2.635 10.136-10.777 10.136-11.438 0-14.46-10.31-14.46-15.759 0-7.652 4.526-15.881 14.46-15.881 4.528 0 7.452 1.512 9.092 2.765 1.079.82 1.685 2.123 1.685 3.48v15.259ZM164.98 83.776c-6.607 0-12.211 2.546-16.21 7.362-3.484 4.192-5.403 9.771-5.403 15.7 0 5.344 1.744 10.75 4.787 14.829 2.758 3.695 7.916 8.107 16.826 8.107 4.456 0 8.031-1.315 10.777-3.334v16.65a3.583 3.583 0 0 0 3.578 3.589 3.583 3.583 0 0 0 3.576-3.589V94.275c0-.58-.139-1.15-.407-1.665-.188-.358-4.754-8.834-17.524-8.834Zm-83.114 32.558c0 1.358-.606 2.659-1.687 3.48-1.641 1.254-4.563 2.768-9.093 2.768-9.932 0-14.457-8.232-14.457-15.883 0-5.448 3.022-15.757 14.458-15.757 8.144 0 10.779 6.826 10.779 10.133v15.259Zm3.576-49.477a3.586 3.586 0 0 0-3.576 3.59v16.65c-2.75-2.02-6.321-3.335-10.78-3.335-8.909 0-14.068 4.411-16.826 8.11-3.04 4.079-4.784 9.483-4.784 14.827 0 5.93 1.917 11.507 5.401 15.701 3.997 4.814 9.604 7.36 16.21 7.36 12.772 0 17.338-8.473 17.525-8.833a3.6 3.6 0 0 0 .407-1.664V70.448a3.585 3.585 0 0 0-3.577-3.591ZM9.443 147.001c1.86 0 3.02-1.045 3.02-2.511v-.039c0-1.648-1.179-2.509-3.02-2.509H6.582v5.059h2.86Zm-5.323-6.063c0-.704.54-1.248 1.24-1.248h4.283c3.282 0 5.323 1.87 5.323 4.7v.041c0 3.151-2.522 4.797-5.604 4.797h-2.78v3.396c0 .681-.54 1.224-1.221 1.224a1.22 1.22 0 0 1-1.241-1.224v-11.686ZM23.553 149.933v-.723a6.715 6.715 0 0 0-2.4-.421c-1.563 0-2.483.661-2.483 1.767v.04c0 1.024.9 1.605 2.06 1.605 1.601 0 2.823-.923 2.823-2.268Zm-7.244.764v-.043c0-2.288 1.78-3.412 4.363-3.412 1.18 0 2.021.179 2.842.441v-.262c0-1.504-.921-2.307-2.622-2.307-.921 0-1.68.158-2.343.42a1.28 1.28 0 0 1-.38.06 1.01 1.01 0 0 1-1.021-1.004c0-.441.3-.823.661-.961.999-.383 2.02-.622 3.402-.622 1.58 0 2.762.417 3.504 1.183.779.763 1.138 1.886 1.138 3.273v5.221c0 .661-.521 1.163-1.18 1.163-.7 0-1.181-.483-1.181-1.023v-.402c-.719.863-1.82 1.546-3.441 1.546-1.983 0-3.742-1.144-3.742-3.271ZM28.758 144.25c0-.683.52-1.225 1.198-1.225.681 0 1.223.542 1.223 1.225v1.083c.56-1.325 1.6-2.328 2.661-2.328.76 0 1.2.502 1.2 1.206 0 .64-.42 1.063-.96 1.163-1.721.302-2.9 1.627-2.9 4.136v3.134c0 .661-.543 1.205-1.224 1.205-.66 0-1.198-.525-1.198-1.205v-8.394ZM37.524 150.816v-5.583h-.401c-.58 0-1.04-.46-1.04-1.044 0-.583.46-1.043 1.04-1.043h.4v-1.809a1.21 1.21 0 0 1 2.423 0v1.809h1.9c.58 0 1.06.46 1.06 1.043 0 .584-.48 1.044-1.06 1.044h-1.9v5.201c0 .946.478 1.326 1.3 1.326.279 0 .519-.06.6-.06.539 0 1.02.44 1.02 1.003 0 .439-.3.802-.64.945-.52.179-1.02.28-1.66.28-1.78 0-3.042-.786-3.042-3.112ZM59.518 148.507v-.039c0-1.87-1.341-3.416-3.243-3.416-1.94 0-3.181 1.527-3.181 3.374v.042c0 1.847 1.34 3.39 3.223 3.39 1.96 0 3.2-1.523 3.2-3.351Zm-8.843 0v-.039c0-3.034 2.4-5.544 5.642-5.544 3.24 0 5.623 2.471 5.623 5.502v.042c0 3.01-2.402 5.52-5.665 5.52-3.22 0-5.6-2.47-5.6-5.481ZM64.942 145.233h-.42c-.56 0-1.02-.44-1.02-1.004 0-.561.46-1.024 1.02-1.024h.42v-.782c0-1.165.3-2.048.86-2.611.562-.56 1.342-.845 2.383-.845.481 0 .882.041 1.22.103.44.058.84.459.84 1.002a.996.996 0 0 1-1.02 1.004 4.279 4.279 0 0 0-.5-.039c-.921 0-1.401.502-1.401 1.604v.587h1.882c.579 0 1.02.44 1.02 1.001 0 .564-.46 1.004-1.02 1.004h-1.841v7.409c0 .664-.542 1.205-1.221 1.205a1.205 1.205 0 0 1-1.202-1.205v-7.409ZM77.352 141.278a1.3 1.3 0 0 1-.1-.483c0-.683.58-1.205 1.26-1.205.6 0 1.06.382 1.22.905l3.223 9.656 3.162-9.615c.2-.583.62-.984 1.24-.984h.18c.62 0 1.061.401 1.241.984l3.162 9.615 3.223-9.676c.178-.503.599-.885 1.199-.885.66 0 1.22.522 1.22 1.186 0 .162-.058.36-.119.502l-4.143 11.645c-.22.622-.679 1.026-1.28 1.026H91.8c-.599 0-1.04-.382-1.26-1.026l-3.124-9.176-3.12 9.176c-.22.644-.68 1.026-1.28 1.026h-.24c-.601 0-1.04-.382-1.28-1.026l-4.144-11.645ZM97.526 152.402a1.297 1.297 0 0 1-.42-.923c0-.664.52-1.185 1.18-1.185.322 0 .542.099.761.281.681.703 1.34 1.085 2.281 1.085 1.362 0 2.261-.884 2.261-2.773v-8.069a1.23 1.23 0 0 1 1.24-1.225c.682 0 1.243.54 1.243 1.225v8.15c0 1.669-.501 2.912-1.322 3.736-.819.823-2.001 1.244-3.403 1.244-1.7 0-2.939-.661-3.82-1.546ZM109.455 152.503v-11.567c0-.702.54-1.245 1.24-1.245h8.145c.602 0 1.102.503 1.102 1.104a1.1 1.1 0 0 1-1.102 1.107h-6.924v3.653h6.024c.6 0 1.1.502 1.1 1.124 0 .602-.5 1.085-1.1 1.085h-6.024v3.776h7.025c.6 0 1.101.5 1.101 1.103 0 .625-.501 1.105-1.101 1.105h-8.246c-.7 0-1.24-.542-1.24-1.245ZM122.244 146.759v-.039c0-3.996 2.982-7.271 7.224-7.271 2.161 0 3.581.644 4.803 1.587.261.201.481.542.481.985 0 .683-.542 1.205-1.222 1.205-.34 0-.579-.121-.742-.242-.959-.784-1.998-1.264-3.339-1.264-2.662 0-4.624 2.207-4.624 4.958v.042c0 2.751 1.941 4.978 4.624 4.978 1.48 0 2.481-.48 3.502-1.344.18-.16.439-.279.74-.279.62 0 1.161.518 1.161 1.143 0 .382-.18.681-.399.884-1.322 1.166-2.824 1.887-5.084 1.887-4.082 0-7.125-3.195-7.125-7.23Z",fill:"#706D6E"})))});const ta=({copyrightMessage:e=`Copyright WJEC CBAC Ltd ${(new Date).getFullYear()}`,logos:t=[qn,ea],maxWidth:o=1280})=>{const r=z(na);return d("footer",{css:r.footer},d("div",{css:g([r.container,{maxWidth:`${o}px`}])},t.map((e,t)=>d(e,{key:`logo_${t}`,css:r.logo})),d("span",{css:r.copyright},e)))};var oa={name:"8zn5ov",styles:"align-items:center;display:flex;margin:0 auto;width:100%;"},ra={name:"eeoqsk",styles:"height:25px;margin-right:10px;"};const na=({colorPalette:e})=>({container:oa,copyright:g("border-left:1px solid ",e.border,";color:",e.fontLight,";font-size:12px;padding-left:10px;"),footer:g(be,";align-items:center;display:flex;justify-content:flex-start;padding:24px 30px 22px;width:100%;"),logo:ra});var aa;function ia(){return ia=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ia.apply(null,arguments)}var la=o(function(t,o){return e.createElement("svg",ia({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),aa||(aa=e.createElement("path",{d:"m10 4.742 4.167 3.75V15H12.5v-5h-5v5H5.833V8.492L10 4.742ZM10 2.5 1.667 10h2.5v6.667h5v-5h1.666v5h5V10h2.5L10 2.5Z",fill:"currentColor"})))});const ca={height:"40px",padding:"0"},sa=({logo:e={eduqas:ea,wjec:qn},logoId:o,logoStyles:r,maxWidth:n=1280,menus:i,onClickPageIcon:l,pageIcon:c=la,pageIconHref:s,pageTitle:b,showPageTitle:u=!0})=>{const[{brand:p}]=L(),I=z(ua),C=a(()=>{return B(t=e)&&Object.hasOwn(t,"eduqas")&&Object.hasOwn(t,"wjec")?e[p]:e;var t},[p,e]);return d("header",{css:I.header},d("div",{css:g([I.container,{maxWidth:`${n}px`}])},d("div",{css:I.titleContainer},u&&d(t.Fragment,null,d("a",{css:I.pageLink,href:s,onClick:l},d(c,{css:I.pageIcon})),d("h1",{css:I.title},b))),d(C,{css:g({...ca,...r}),id:o}),d("section",{css:I.menuContainer},i)))};var ga={name:"f7hwxs",styles:"align-items:center;display:grid;grid-gap:30px;grid-template-columns:1fr 100px 1fr;justify-items:center;margin:0 auto;"},da={name:"euyatf",styles:"align-items:center;display:flex;flex:1;justify-content:flex-end;justify-self:end;min-width:175px;"},ba={name:"6o7adr",styles:"align-items:center;display:flex;justify-self:flex-start;"};const ua=({colorPalette:e})=>({container:ga,header:g(be,";background-color:#fff;border-bottom:1px solid ",e.border,";padding:15px 30px;position:sticky;top:0;width:100%;z-index:1;"),menuContainer:da,pageIcon:g("color:",e.fontLight,";height:20px;margin-right:10px;"),pageLink:g("cursor:pointer;:hover > svg{color:",e.font,";}"),title:g(Ie,";border-left:1px solid ",e.border,";color:",e.fontLight,";font-size:14px;font-weight:500;margin:0;max-width:100%;padding:5px 0 5px 10px;"),titleContainer:ba}),pa=({children:e,footerProps:t,headerProps:o,maxWidth:r=1280})=>d("div",{css:Ia.pageWrapper},d(sa,He({},o,{maxWidth:r})),d("main",{css:g([Ia.content,{maxWidth:`${r+60}px`}])},e),d(ta,He({},t,{maxWidth:r}))),Ia={content:g("flex:1;margin:0 auto;min-height:100%;padding:40px ",30,"px 0;width:100%;"),pageWrapper:g(be,";display:flex;flex-direction:column;min-height:100vh;")},Ca=({backgroundColor:e,color:o,id:r,progress:a,size:i="default"})=>{const l=n(void 0),c=n(void 0),s=void 0===a,b=z(Aa);return tt("--background-color",e,l),tt("--color",o,l),tt("--background-color",e,c),tt("--color",o,c),d(t.Fragment,null,!s&&d("progress",{"aria-label":"loading",css:g([b.progress,"large"===i&&b.largeProgress]),id:r,max:100,ref:l,value:a}),s&&d("div",{"aria-label":"loading",css:b.progressIndeterminate,ref:c}))},ha=b`
17
+ 0% {
18
+ left: -35%;
19
+ right: 100%;
20
+ }
21
+ 60% {
22
+ left: 100%;
23
+ right: -90%;
24
+ }
25
+ 100% {
26
+ left: 100%;
27
+ right: -90%;
28
+ }
29
+ `,ma=b`
30
+ 0% {
31
+ left: -200%;
32
+ right: 100%;
33
+ }
34
+
35
+ 60% {
36
+ left: 107%;
37
+ right: -8%;
38
+ }
39
+
40
+ 100% {
41
+ left: 107%;
42
+ right: -8%;
43
+ }
44
+ `;var va={name:"327rn5",styles:"border-radius:4px;height:24px;"};const Aa=({colorPalette:e})=>({largeProgress:va,progress:g("--background-color:",e.neutral,";--color:",e.primary,";appearance:none;border-radius:2px;height:4px;overflow:hidden;position:relative;width:100%;&::-webkit-progress-bar{background-color:var(--background-color);border-radius:4px;opacity:1;}&::-moz-progress-bar{background-color:var(--color);border-radius:4px;transition:width 0.3s ease-out;}&::-webkit-progress-value{background-color:var(--color);border-radius:4px;transition:width 0.3s ease-out;}"),progressIndeterminate:g("--background-color:",e.neutral,";--color:",e.secondary,";background-color:var(--background-color);border-radius:2px;color:var(--color);height:4px;overflow:hidden;position:relative;width:100%;&::before,&::after{background-color:var(--color);border-radius:2px;bottom:0;content:'';left:0;position:absolute;top:0;}&::after{animation:",ha," 2.1s cubic-bezier(0.65,0.815,0.735,0.395) infinite;}&::before{animation:",ma," 2.1s cubic-bezier(0.165,0.84,0.44,1) infinite 1.15s;}")}),fa=({ariaLabel:e,context:t,icons:o,id:n,keySuffix:a="",open:l=!1,selectLocaleAction:c,showLocaleNameInList:g=!0,showSelectedLocaleName:b})=>{const[{colorPalette:u}]=L(),[{availableLocales:p,locale:I,strings:C},h]=s(t),[m,v]=r(l),[A,f]=r(I);i(()=>{l!==m&&v(l)},[l]),i(()=>{I!==A&&f(I)},[I]),i(()=>{h(c(A))},[A]);const x=e=>()=>v(e);return d(to,{"aria-label":e,id:n,open:m,options:p?.map(e=>{return{icon:o&&o[e],label:g&&(C[`${String(e)}${a}`]||`${String(e)}${a}`),onClick:(t=e,()=>{f(t),v(!1)})};var t}),onHide:x(!1),onShow:x(!0),toggle:d(Oe,{color:"transparent",icon:o&&o[I],labelColor:u.fontLight},b&&(C[`${String(I)}${a}`]||`${String(I)}${a}`),d(de,{css:xa.icon}))})},xa={icon:{name:"198hkja",styles:"display:flex;height:20px;width:20px;"}},ya=(e,t,o)=>{lo("keydown",o=>{const r=(void 0===o.code?o.key:o.code)?.toLowerCase();r===e?.toLowerCase()&&t(o)},o)};var Ga={name:"175zf7p",styles:"height:24px;position:absolute;width:24px;"},Za={name:"1jnbkft",styles:"flex-shrink:0;height:16px;width:16px;& > path{stroke-width:5;}"},Wa={name:"1i9s3a8",styles:"color:var(--icon-color);flex-shrink:0;height:24px;width:24px;"},wa={name:"ib6ufm",styles:"color:var(--color);font-size:16px;font-weight:600;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:pre-line;"};const Xa=({colorPalette:e})=>({autoClose:Ga,autoCloseCircle:g("--auto-close-offset:0;fill:transparent;stroke:",e.neutralLight,";stroke-dasharray:100;stroke-dashoffset:var(--auto-close-offset);stroke-width:2;transform:rotate(-90deg);transform-origin:50%;"),closeButton:g("align-items:center;background-color:transparent;border:none;color:",e.neutralLight,";cursor:pointer;display:flex;flex-shrink:0;height:24px;justify-content:center;margin:-8px -8px 0 0;padding:0;width:24px;"),closeIcon:Za,container:g("--border-color:",e.border,";--icon-color:",e.border,";--max-width:375px;--position:relative;--title-color:",e.font,";",be,";background-color:#ffffff;border:1px solid var(--border-color);border-radius:",se.borderRadius,";box-shadow:",se.dropShadow,";display:flex;font-family:'Montserrat',sans-serif;font-size:16px;gap:16px;line-height:24px;max-width:var(--max-width);padding:16px;position:var(--position);z-index:999;&[data-open=\"false\"]{display:none;}"),content:g("color:",e.neutralDark,";display:flex;flex-direction:column;flex-grow:1;margin:0;white-space:pre-line;word-break:break-word;"),icon:Wa,title:wa});var ka;function Ba(){return Ba=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ba.apply(null,arguments)}var Va=o(function(t,o){return e.createElement("svg",Ba({viewBox:"0 0 40 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),ka||(ka=e.createElement("path",{d:"M30 10 10 30m0-20 20 20",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const Ra=({message:e,position:o,positionType:r,ariaDescription:i,ariaCloseLabel:c="close",autoClose:s,borderColor:b,children:u,icon:p,iconColor:I,id:C,maxWidth:h,onClose:m,onOpen:A,open:f=!0,openedTimestamp:x,showImmediately:y,title:G,titleColor:Z,variant:W})=>{Jt('WJEC One Notification: The "message" prop has been deprecated. Provide notification content via component children instead',()=>void 0!==e,[e]),Jt('WJEC One Notification: The "position" prop has been deprecated. Positioning should be determined by parent container',()=>void 0!==o,[o]),Jt('WJEC One Notification: The "positionType" prop has been deprecated. Positioning should be determined by parent container',()=>void 0!==r,[r]),Ne("WJEC-One Notification: Icon must be a valid SVGComponent",()=>p&&!v(t.createElement(p)),[p]);const w=n(void 0),X=n(void 0),k=n(void 0),B=n(!1),V=a(()=>void 0!==x?s-(Date.now()-x):s,[s,x]),R=a(()=>-1*(100-V/s*100),[s,V]),Y=()=>{N.pause(),F.cancel(),J.play()},H=An("(prefers-reduced-motion)"),N=St(w,[{strokeDashoffset:"-100"}],{duration:V,fill:"forwards",iterations:1,onFinished:Y,playImmediately:f&&s>0}),J=St(k,[{opacity:0,transform:H?void 0:"translateY(-60px)"}],{duration:500,easing:"ease-in",fill:"forwards",iterations:1,onFinished:()=>{k.current?.setAttribute("data-open","false"),m?.()}}),F=St(k,[{opacity:0,transform:H?void 0:"translateY(-60px)"},{opacity:1,transform:H?void 0:"translateY(0)"}],{duration:500,easing:"ease-out",fill:"forwards",iterations:1,onFinished:A,onStarted:()=>k.current?.setAttribute("data-open","true")});l(()=>{f?(J.cancel(),y?k.current?.setAttribute("data-open","true"):F.play()):B.current&&Y(),B.current=!0},[f]);const{buttonProps:L}=S({onPress:Y},X),j=at(i),P=z(Xa);return d("div",He({css:g([P.container,o,{"--border-color":b,"--icon-color":I,"--max-width":h,"--position":r,"--title-color":Z}]),id:C,ref:k,"data-notification-type":W},j),p&&d(p,{css:P.icon,"aria-hidden":!0}),d("div",{css:P.content},G&&d("h3",{css:g([P.title,{"--color":Z}])},G),e||u),d("button",He({"aria-label":c,css:P.closeButton,ref:X},L),f&&s>0&&d("svg",{css:P.autoClose,viewBox:"0 0 20 20","aria-hidden":!0},d("circle",{css:g([P.autoCloseCircle,{"--auto-close-offset":R}]),cx:"10",cy:"10",r:"9",ref:w,pathLength:"100"})),d(Va,{css:P.closeIcon,"aria-hidden":!0})))};var Ya,Ha;function Na(){return Na=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Na.apply(null,arguments)}var Ja=o(function(t,o){return e.createElement("svg",Na({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Ya||(Ya=e.createElement("path",{opacity:.12,d:"m2.39 18.098 8.225-14.206c.455-.785.682-1.178.979-1.31a1 1 0 0 1 .812 0c.297.132.524.525.979 1.31l8.225 14.206c.456.788.684 1.182.65 1.506a1 1 0 0 1-.406.705c-.263.191-.719.191-1.63.191H3.776c-.91 0-1.366 0-1.629-.191a1 1 0 0 1-.406-.705c-.034-.324.194-.718.65-1.506Z",fill:"currentColor"})),Ha||(Ha=e.createElement("path",{d:"M12 9v4m0 4h.01M10.615 3.892 2.39 18.098c-.456.788-.684 1.182-.65 1.506a1 1 0 0 0 .406.705c.263.191.719.191 1.63.191h16.449c.91 0 1.366 0 1.629-.191a1 1 0 0 0 .406-.705c.034-.324-.194-.718-.65-1.506L13.385 3.892c-.455-.785-.682-1.178-.979-1.31a1 1 0 0 0-.812 0c-.297.132-.524.525-.979 1.31Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const Fa=({title:e="Error",...t})=>{const[{colorPalette:o}]=L();return d(Ra,He({},t,{borderColor:U.error,icon:Ja,iconColor:o.error,title:e,titleColor:U.error,variant:"error"}))};var za,La;function ja(){return ja=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ja.apply(null,arguments)}var Pa=o(function(t,o){return e.createElement("svg",ja({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),za||(za=e.createElement("path",{opacity:.12,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",fill:"currentColor"})),La||(La=e.createElement("path",{d:"M12 16v-4m0-4h.01M22 12c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const Sa=({title:e="Information",...t})=>{const[{colorPalette:o}]=L();return d(Ra,He({},t,{borderColor:o.primary,icon:Pa,iconColor:o.primary,title:e,titleColor:o.primary,variant:"info"}))};var Oa,Ea;function Da(){return Da=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Da.apply(null,arguments)}var Ma=o(function(t,o){return e.createElement("svg",Da({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Oa||(Oa=e.createElement("path",{opacity:.12,d:"M12 22c5.523 0 10-4.477 10-10S17.523 2 12 2 2 6.477 2 12s4.477 10 10 10Z",fill:"currentColor"})),Ea||(Ea=e.createElement("path",{d:"m7.5 12 3 3 6-6m5.5 3c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const Ta=({title:e="Success",...t})=>{const[{colorPalette:o}]=L();return d(Ra,He({},t,{borderColor:U.success,icon:Ma,iconColor:o.success,title:e,titleColor:U.success,variant:"success"}))};var Qa={name:"14loat4",styles:"align-items:flex-end;display:flex;gap:16px;justify-content:space-between;&:not(:first-child){margin-top:40px;}"},Ua={name:"14de89l",styles:"align-items:flex-start;display:flex;gap:16px;&:not(:first-child){margin-top:40px;}"},Ka={name:"11hv2i6",styles:"align-items:center;display:flex;margin-left:auto;"};const $a=({colorPalette:e})=>({closeButton:g("background-color:transparent;border:none;cursor:pointer;display:inline-flex;margin-left:auto;outline-color:",e.primary,";padding:0;"),closeIcon:g("color:",e.neutralDark,";width:40px;"),content:g(se.scrollbar,";flex-grow:1;overflow:auto;&:not(:first-child){margin-top:40px;}"),description:g("color:",e.neutralLight,";margin:0;&:not(:first-child){margin-top:8px;}"),footer:Qa,header:Ua,modal:g("--max-height:90vh;--max-width:60vw;--min-height:200px;--min-width:200px;--padding:32px;",be,";border:none;border-radius:",se.borderRadiusMedium,";box-shadow:",se.dropShadow,";display:flex;flex-direction:column;font-family:'Montserrat',sans-serif;font-size:16px;max-height:var(--max-height);max-width:var(--max-width);min-height:var(--min-height);min-width:var(--min-width);outline:none;padding:var(--padding);&:not([open]){display:none;}&::backdrop{backdrop-filter:blur(5px);background-color:rgba(241,243,244,0.80);}"),otherActions:Ka,title:g("color:",e.neutralDark,";font-size:28px;font-weight:400;line-height:40px;margin:0;"),titleIcon:g("color:",e.secondaryDark,";flex-shrink:0;width:40px;& > path{stroke-width:1;}")});var qa;function _a(){return _a=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},_a.apply(null,arguments)}var ei,ti=o(function(t,o){return e.createElement("svg",_a({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),qa||(qa=e.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M8.293 5.293a1 1 0 0 1 1.414 0l6 6a1 1 0 0 1 0 1.414l-6 6a1 1 0 0 1-1.414-1.414L13.586 12 8.293 6.707a1 1 0 0 1 0-1.414Z",fill:"currentColor"})))});function oi(){return oi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},oi.apply(null,arguments)}var ri=o(function(t,o){return e.createElement("svg",oi({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),ei||(ei=e.createElement("path",{d:"M8 12h8m6 0c0 5.523-4.477 10-10 10S2 17.523 2 12 6.477 2 12 2s10 4.477 10 10Z",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const ni=({actionType:e="positive",actionButton:o="Confirm",actionButtonIcon:r=("negative"===e?ri:ti),actionButtonId:c,actionDisabled:s,actionLoading:g,actionLoadingProgress:b,blockScroll:u=!0,cancelButton:p="Cancel",cancelButtonIcon:C=Va,cancelButtonId:h,children:m,closeOnCancel:v=!0,closeOnClickOutside:A=!0,closeOnEscape:f=!0,description:x,id:y,maxHeight:G,maxWidth:Z,minHeight:W,minWidth:w,notification:X,onAction:k,onCancel:B,onClose:V,onOpen:R,open:Y,otherActions:J,padding:F,showCloseIcon:L=!0,title:j,titleIcon:P,ariaCloseLabel:S="close",ariaDescription:O=x,ariaLabel:E})=>{const Q=n(void 0),U=n(void 0),K=a(()=>H(O),[O]),$=at(H(K)),q=c??(y?`${y}:confirmButton`:void 0),_=h??(y?`${y}:cancelButton`:void 0);ya("escape",e=>e.preventDefault(),{shouldAddListener:Y&&!f}),i(()=>{u&&Y&&D(U.current,{reserveScrollBarGap:!0,allowTouchMove:e=>U.current.contains(e)})},[u,Y]),l(()=>{Y?oe():ee()},[Y]),fn(()=>{M()});const ee=()=>{U.current.close()};let te=!1;const oe=()=>{const e=N(Q.current);e?.[0]?.setAttribute("autofocus","true"),U.current.showModal(),I(R)&&R()},re=z($a),ne=a(()=>({"--max-height":G,"--max-width":Z,"--min-height":W,"--min-width":w,"--padding":F}),[G,G,W,w,F]),ae=a(()=>"negative"===e?Ue:_e,[e]),ie=o||p||J,le=L||j||P;return d("dialog",He({"aria-label":E,css:re.modal,id:y,onClickCapture:e=>{const t=e.target,o=t?.tagName?.toLowerCase();A&&"dialog"===o&&!te&&ee()},onClose:()=>{T(U.current),I(V)&&V()},onMouseDown:e=>{const t=e.nativeEvent.pointerType,o=U.current.getBoundingClientRect();t||(te=e.clientX>=o.left&&e.clientX<=o.right&&e.clientY>=o.top&&e.clientY<=o.bottom)},ref:U,style:ne},$),Y&&d(t.Fragment,null,X&&d("div",null,X&&(()=>{if(t.isValidElement(X))return X;return d("error"===X?.type?Fa:"success"===X?.type?Ta:Sa,He({maxWidth:"100%"},X))})()),le&&d("header",{css:re.header},P&&d(P,{css:re.titleIcon}),j&&d("h3",{css:re.title},j),L&&d("button",{"aria-label":S,css:re.closeButton,onClick:ee},d(Va,{"aria-hidden":!0,css:re.closeIcon}))),x&&d("p",{css:re.description},x),d("div",{css:re.content,ref:Q},m),ie&&d("footer",{css:re.footer},p&&(t.isValidElement(p)?p:d(Oe,{icon:C,id:_,label:p,onPress:()=>{I(B)&&B(),v&&ee()}})),d("section",{css:re.otherActions},J&&(t.isValidElement(J)?J:d(to,{options:J}))),o&&(t.isValidElement(o)?o:d(ae,{disabled:s,icon:r,iconPosition:"right",id:q,label:o,loading:g,loadingProgress:b,onPress:k})))))},ai=({children:e,color:t,id:o})=>{const r=n(void 0),a=z(ii);return d("h1",{css:g([a.heading,{"--color":t}]),id:o,ref:r},e)},ii=({colorPalette:e})=>({heading:g("--color:",e.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:28px;font-weight:400;line-height:40px;margin:0 0 30px 0;")});var li;function ci(){return ci=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},ci.apply(null,arguments)}var si=o(function(t,o){return e.createElement("svg",ci({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),li||(li=e.createElement("path",{d:"M12.258 13.233 9.025 10l3.233-3.233a.83.83 0 1 0-1.175-1.175L7.258 9.417a.83.83 0 0 0 0 1.175l3.825 3.825a.83.83 0 0 0 1.175 0 .848.848 0 0 0 0-1.184Z",fill:"currentColor"})))});const gi=({ariaCurrent:e,ariaLabel:o,compact:r=!1,current:n=1,id:i,onSelect:l,total:c})=>{const s=e=>()=>{e>0&&e<c+1&&I(l)&&l(e)},b=a(()=>{let e;return e=c>5?n<4?[2,3,4,"..."]:n>c-3?["...",c-3,c-2,c-1]:["...",n-1,n,n+1,"..."]:[...Array(Math.max(0,c-2)).keys()].map(e=>e+2),e},[n,c]),u=z(pi);return d("ol",{"aria-label":o,css:u.container,id:i},d("li",{"aria-current":e,css:g([u.option,u.optionNextPrevious,1===n&&u.optionDisabled]),onClick:s(n-1)},d(si,{height:"100%",width:"100%"})),r?d("li",{css:u.compact},n," of ",c):d(t.Fragment,null,d("li",{css:g([u.option,1===n&&u.optionSelected]),onClick:s(1)},"1"),b.map((e,t)=>d("li",{key:t,css:g([u.option,e===n&&u.optionSelected,"string"==typeof e&&u.optionSeparator]),onClick:"number"==typeof e?s(e):null},e)),c>1&&d("li",{css:g([u.option,n===c&&u.optionSelected]),onClick:s(c)},c)),d("li",{css:g([u.option,u.optionNextPrevious,n===c&&u.optionDisabled]),onClick:s(n+1)},d(Xe,{height:"100%",width:"100%"})))};var di={name:"1qje5jb",styles:"margin:0 15px;text-align:center;user-select:none;width:50px;"},bi={name:"1x05hl3",styles:"opacity:0.33;pointer-events:none;"},ui={name:"1ixbp0l",styles:"pointer-events:none;"};const pi=({colorPalette:e})=>({compact:di,container:g(be,";display:flex;font-family:'Montserrat',sans-serif;font-size:14px;justify-content:center;line-height:20px;list-style:none;margin:0;padding:0;width:100%;"),option:g("align-items:center;border-radius:",se.borderRadius,";color:",e.fontLight,";cursor:pointer;display:flex;height:20px;justify-content:center;margin:0 5px;user-select:none;width:20px;&:first-of-type{margin-left:0;}&:last-of-type{margin-right:0;}"),optionDisabled:bi,optionNextPrevious:g("border:1px solid ",e.border,";"),optionSelected:g("background-color:",e.primary,";color:#FFFFFF;pointer-events:none;"),optionSeparator:ui}),Ii=({ariaLabel:e,backgroundColor:t,children:o,color:r,id:n,size:a="default"})=>{const i=j(t),l=j(r),c=z(hi);return d("span",{"aria-label":e,css:g([c.pill,{backgroundColor:i,color:l},"small"===a&&c.smallPill],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIlBpbGwuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQU95QyIsImZpbGUiOiJQaWxsLmpzeCIsInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBSZWFjdCBmcm9tICdyZWFjdCc7XG5pbXBvcnQgeyBjc3MgfSBmcm9tICdAZW1vdGlvbi9jb3JlJztcbmltcG9ydCB7IHVzZVRoZW1lQ29sb3IsIHVzZVdqZWNPbmVUaGVtZVN0eWxlcyB9IGZyb20gJ3dqZWMtb25lL3RoZW1lJztcbmV4cG9ydCBjb25zdCBQaWxsID0gKHsgYXJpYUxhYmVsLCBiYWNrZ3JvdW5kQ29sb3I6IGJhY2tncm91bmRDb2xvclByb3AsIGNoaWxkcmVuLCBjb2xvcjogY29sb3JQcm9wLCBpZCwgc2l6ZSA9ICdkZWZhdWx0JyB9KSA9PiB7XG4gICAgY29uc3QgYmFja2dyb3VuZENvbG9yID0gdXNlVGhlbWVDb2xvcihiYWNrZ3JvdW5kQ29sb3JQcm9wKTtcbiAgICBjb25zdCBjb2xvciA9IHVzZVRoZW1lQ29sb3IoY29sb3JQcm9wKTtcbiAgICBjb25zdCBzdHlsZXMgPSB1c2VXamVjT25lVGhlbWVTdHlsZXMoZ2V0U3R5bGVzKTtcbiAgICByZXR1cm4gKDxzcGFuIGFyaWEtbGFiZWw9e2FyaWFMYWJlbH0gY3NzPXtbc3R5bGVzLnBpbGwsIHsgYmFja2dyb3VuZENvbG9yLCBjb2xvciB9LCBzaXplID09PSAnc21hbGwnICYmIHN0eWxlcy5zbWFsbFBpbGxdfSBpZD17aWR9PlxyXG4gICAgICB7Y2hpbGRyZW59XHJcbiAgICA8L3NwYW4+KTtcbn07XG5jb25zdCBnZXRTdHlsZXMgPSAoeyBjb2xvclBhbGV0dGUgfSkgPT4gKHtcbiAgICBwaWxsOiBjc3MgYFxyXG4gICAgYWxpZ24taXRlbXM6IGNlbnRlcjtcclxuICAgIGJhY2tncm91bmQtY29sb3I6ICR7Y29sb3JQYWxldHRlLm5ldXRyYWx9O1xyXG4gICAgYm9yZGVyLXJhZGl1czogMTJweDtcclxuICAgIGNvbG9yOiAke2NvbG9yUGFsZXR0ZS5uZXV0cmFsRGFya307XHJcbiAgICBkaXNwbGF5OiBpbmxpbmUtZmxleDtcclxuICAgIGZvbnQtc2l6ZTogMTJweDtcclxuICAgIGp1c3RpZnktY29udGVudDogY2VudGVyO1xyXG4gICAgbGluZS1oZWlnaHQ6IDE2cHg7XHJcbiAgICBwYWRkaW5nOiA0cHggMjBweDtcclxuICAgIHZlcnRpY2FsLWFsaWduOiBtaWRkbGU7XHJcbiAgICB3aGl0ZS1zcGFjZTogbm93cmFwO1xyXG4gIGAsXG4gICAgc21hbGxQaWxsOiBjc3MgYFxyXG4gICAgYm9yZGVyLXJhZGl1czogNHB4O1xyXG4gICAgZm9udC13ZWlnaHQ6IDYwMDtcclxuICAgIHBhZGRpbmc6IDJweCA4cHg7XHJcbiAgYFxufSk7XG4iXX0= */"),id:n},o)};var Ci={name:"gp3k44",styles:"border-radius:4px;font-weight:600;padding:2px 8px;"};const hi=({colorPalette:e})=>({pill:g("align-items:center;background-color:",e.neutral,";border-radius:12px;color:",e.neutralDark,";display:inline-flex;font-size:12px;justify-content:center;line-height:16px;padding:4px 20px;vertical-align:middle;white-space:nowrap;"),smallPill:Ci}),mi=({ariaLabel:e,children:o,isLoadingStyles:n,onOpen:a,popupWindow:l})=>{const[c,s]=r(!1);return i(()=>{c||n||(I(a)&&a(l),s(!0))},[n]),d(t.Fragment,null,o,n&&d("div",{"aria-label":e,css:Ai.wrapper},d(Ca,null)))},vi=({children:e,height:t=500,id:o="",onClose:a,onOpen:l,open:c,position:s={x:50,y:200},title:g="",width:b=500})=>{const[u,p]=r(),C=n(void 0),h=n(document.querySelectorAll("[data-emotion]")),[m,v]=r(!1),[A,f]=r(c),[x,y]=r(!1);i(()=>{const e=document.querySelectorAll("[data-emotion]");A&&C.current&&Array.from(e).some((e,t)=>e!==h.current[t])&&(h.current=e,Z())}),i(()=>()=>C.current&&C.current.close(),[]),i(()=>{A&&W(),!C.current||C.current.closed||A||C.current.close()},[e,A]),i(()=>{C.current&&(C.current.document.title=g)},[g]),i(()=>f(c),[c]);const G=()=>{v(!1),f(!1),y(!1),I(a)&&a()},Z=()=>{const e=C.current.document,t=e.head,o=t.querySelectorAll("style");Array.from(o).forEach(e=>t.removeChild(e)),h.current.forEach(({textContent:o,sheet:r})=>{const n=e.createElement("style");if(n.appendChild(e.createTextNode("")),t.appendChild(n),o)n.appendChild(e.createTextNode(o));else{const e=n.sheet;[].forEach.call(r.cssRules,t=>{e.insertRule(t.cssText)})}}),requestAnimationFrame(()=>{v(!0)})},W=()=>{if(!A||!C.current||C.current.closed)if(v(!1),C.current=window.open("",o,`left=${s.x},height=${t},top=${s.y},width=${b}`),C.current){const e=C.current.document.createElement("main");e.setAttribute("id",o),p(e),C.current.onbeforeunload=G,C.current.document.body.appendChild(e),C.current.document.title=g,requestAnimationFrame(()=>{Z(),f(!0),y(!0)})}else J("A PopupWindow failed to open")};return A&&x&&C.current&&u?E.createPortal(d(mi,{isLoadingStyles:!m,onOpen:l,popupWindow:C.current},e),u):null},Ai={wrapper:{name:"z2hlcz",styles:"background-color:#fff;bottom:0;left:0;padding:30px 10px;position:absolute;right:0;top:0;"}},fi=({ariaLabel:e,children:o,footer:l=t.Fragment,header:c=t.Fragment,id:s,isNested:b,margin:p="auto",onLayout:C,orientation:h="portrait",parentFooterHeight:m=0,parentHeaderHeight:v=0,verticalAlign:A="top"})=>{const[f,x]=r("auto"),[y,G]=r("auto"),Z=n(void 0),W=n(void 0),w=a(()=>("auto"===f?0:f)+("auto"===y?0:y)+m+v,[f,y,m,v]);return i(()=>{Z.current&&x(Z.current.offsetHeight),W.current&&G(W.current.offsetHeight)},[c,l,W.current,Z.current]),i(()=>{"auto"!==f&&"auto"!==y&&I(C)&&C()},[f,y]),d(t.Fragment,null,!b&&d(u,{styles:g("@media print{*{-webkit-print-color-adjust:exact;}@page{margin:",p,";size:",h,";}}")}),d("table",{"aria-label":e,cellPadding:0,cellSpacing:0,css:xi.printLayoutTable,id:s},d("thead",null,d("tr",null,d("td",{css:xi.printLayoutTableCell,style:{height:y}},d("header",{ref:W,css:g([xi.header,!b&&xi.printHeader])},d(c,null))))),d("tbody",null,d("tr",null,d("td",{css:g([xi.printLayoutTableCell,xi.content]),style:{height:b?`calc(100vh - ${w}px)`:"auto",verticalAlign:A}},t.Children.map(o,e=>e&&e.type&&("PrintLayout"===e.type.displayName||"PrintLayout"===e.type.name)?t.cloneElement(e,{...e.props,isNested:!0,parentFooterHeight:f,parentHeaderHeight:y}):e)))),d("tfoot",null,d("tr",null,d("td",{css:xi.printLayoutTableCell,style:{height:f}},d("footer",{ref:Z,css:g([xi.footer,!b&&xi.printFooter])},d(l,null)))))))};fi.displayName="PrintLayout";const xi={content:{name:"10klw3m",styles:"height:100%;"},footer:{name:"1tqge2o",styles:"background-color:#fff;overflow:hidden;"},header:{name:"1tqge2o",styles:"background-color:#fff;overflow:hidden;"},printFooter:{name:"oo54uf",styles:"@media print{bottom:0;left:0;position:fixed;width:100%;}"},printHeader:{name:"134o4pi",styles:"@media print{left:0;position:fixed;top:0;width:100%;}"},printLayoutTable:g(be,";width:100%;/* Margin will be provided by @page rule in global when printing */ @media print{padding:0;page-break-after:always;page-break-before:always;page-break-inside:avoid;}"),printLayoutTableCell:{name:"y8aj3r",styles:"padding:0;"}},yi=({ariaLabel:e,autoPrint:t,children:o,closeOnPrint:a,id:l,onClose:c,onOpen:s,...g})=>{const[b,u]=r(!1),[p,C]=r(!1),h=n(void 0);i(()=>{b&&p&&m()},[b,p]);const m=()=>{I(s)&&s(h.current),t&&h.current.print()},v=()=>{a&&h.current.close()};return d(vi,He({},g,{id:l,onClose:()=>{u(!1),C(!1),I(c)&&c()},onOpen:e=>{if(h.current=e,h.current.document.body.style.margin="0",h.current.document.body.style.padding="0","onafterprint"in h.current)h.current.onafterprint=v;else{window.matchMedia("print").addListener(({matches:e})=>e&&v())}C(!0)}}),d(fi,He({ariaLabel:e},g,{onLayout:()=>{u(!0)}}),o))},Gi=({children:e,element:t="div",horizontal:o=!1,styles:r,vertical:n=!0})=>d(t,{css:[r,se.scrollbar,{overflowX:o?"auto":"hidden",overflowY:n?"auto":"hidden"}]},e),Zi=({children:e,color:t,id:o})=>{const r=z(Wi);return d("h3",{css:g([r.sectionHeading,{"--border-left-color":t||""}]),id:o},e)},Wi=({colorPalette:e})=>({sectionHeading:g("--border-left-color:",e.secondary,";border-left:2px solid var(--border-left-color);color:",e.font,";font-family:'Montserrat',sans-serif;font-size:14px;font-weight:500;line-height:20px;margin:0;padding-left:7px;")}),wi=({children:e,color:t,id:o})=>{const r=z(Xi);return d("h3",{css:g([r.title,{"--color":t}]),id:o},e)},Xi=({colorPalette:e})=>({title:g("--color:",e.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:18px;font-weight:400;line-height:30px;margin-top:0;margin:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;")});var ki,Bi;function Vi(){return Vi=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Vi.apply(null,arguments)}var Ri=o(function(t,o){return e.createElement("svg",Vi({viewBox:"0 0 1440 150",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),ki||(ki=e.createElement("mask",{id:"a","mask-type":"alpha",maskUnits:"userSpaceOnUse",x:0,y:0,width:1440,height:150},e.createElement("path",{fill:"#fff",d:"M0 0h1440v150H0z"}))),Bi||(Bi=e.createElement("g",{mask:"url(#a)"},e.createElement("path",{opacity:.4,d:"M4.093 21.192 1.725-50.176a5 5 0 0 1 3.923-5.05l249.66-54.934a4.999 4.999 0 0 1 4.394 1.144L388.786 5.551a5.002 5.002 0 0 1 1.444 5.26L372.279 67.06a5 5 0 0 1-3.215 3.233L138.73 145.341a5 5 0 0 1-4.961-1.098L5.679 24.681a5 5 0 0 1-1.586-3.49ZM1438.64 11.165l5.18-83.581a5 5 0 0 0-3.78-5.16l-286.09-71.608a4.986 4.986 0 0 0-4.42 1.017L995.649-19.287a4.998 4.998 0 0 0-1.719 2.995L970.938 118.98a5 5 0 0 0 4.653 5.83l370.079 20.533a5.005 5.005 0 0 0 4.42-2.188l87.7-129.495c.5-.74.8-1.602.85-2.495Z",fill:"#47BAD1"}),e.createElement("path",{opacity:.4,d:"m341.147 35.262 214.851 26.282a5.003 5.003 0 0 0 4.313-1.605l92.293-101.841c3.011-3.322.465-8.622-4.01-8.349L337.991-31.26a5 5 0 0 0-4.686 5.296l3.459 56.569a5 5 0 0 0 4.383 4.657Z",fill:"#A55896"}),e.createElement("path",{opacity:.4,d:"m636.066 94.071-192.7-231.608c-1.998-2.401-1.329-6.026 1.393-7.556l302.76-170.202a5 5 0 0 1 6.809 1.908L926.159-7.729c1.532 2.725.215 6.173-2.744 7.182L641.524 95.605a5 5 0 0 1-5.458-1.534Z",fill:"#2855A2"}),e.createElement("path",{opacity:.4,d:"M983.494 89.93 703.798 14.977c-3.017-.808-4.562-4.154-3.221-6.975l143.28-301.486a5 5 0 0 1 6.662-2.37l304.371 144.653c2.83 1.342 3.74 4.918 1.91 7.45L988.837 88.035a5 5 0 0 1-5.343 1.895Z",fill:"#B0C600"}))))});const Yi={cancel:"Cancel",code:"Code",forgotPassword:"Forgot your password?",newPassword:"New password",password:"Password",repeatNewPassword:"Re-enter new password",username:"Username",changePasswordPrompt:"Enter a new password below",changePasswordSubmit:"Change password",changePasswordTitle:"Change your password",changePasswordWarning:"Passwords do not match",forceChangePasswordPrompt:"You must enter a new password",forceChangePasswordTitle:"Change your password",mfaPrompt:"A code has been sent to the email address associated with your account. Enter the code below to continue",mfaSubmit:"Submit code",mfaTitle:"Verify signin",confirmResetPasswordPrompt:"Enter the provided code along with your new password below",requestResetPasswordPrompt:"Enter your email address below and we will send a code to reset your password",resetPasswordHaveCode:"Already have a reset code?",resetPasswordSubmit:"Request reset",resetPasswordTitle:"Reset your password",signin:"Sign in",signinPrompt:"Please sign in to access your account",signout:"Sign out",signup:"Sign up now",signupPrompt:"Don't have an account?",welcomeMessage:"Hello, {username}",welcomeMessageNotSignedIn:"Welcome",welcomeMessagePunctuation:"."},Hi=({ariaDescription:e,ariaLabel:o,allowForgotPassword:n=!0,allowSignup:l=!0,autocomplete:c=!0,enforceFormCompletion:s,id:b,padding:u="50px 30px 30px",passwordValidator:p=(e,t)=>e===t,profileActions:C,repeatNewPassword:h,type:m="external",onCancel:v,onChangePassword:A,onConfirmResetPassword:f,onForceChangePassword:x,onForgotPassword:y,onHaveResetCode:G,onRequestResetPassword:Z,onSignin:W,onSignout:w,onSignup:X,onSubmitMfa:k,loading:B,isSignedIn:V=!1,username:R,i18n:Y})=>{const[{colorPalette:H}]=L(),N=z(Di),J={...Yi,...Y},[F,j]=r(!0),[P,S]=r("confirmResetPassword"===m),[O,E]=r(""),[D,M]=r(""),[T,Q]=r(""),[U,K]=r(""),[$,q]=r(""),[_,ee]=r(""),te=at(e);i(()=>{E(""),M(""),Q(""),K(""),q(""),ee("")},[V]),i(()=>{"confirmResetPassword"===m?S(!0):P&&(S(!1),q(""))},[m]),i(()=>{h||F||j(!0)},[h]);const oe=()=>{I(x)&&x(D)},re=()=>{I(A)&&A($,D)},ne=()=>{I(f)&&f(_,D,U)},ae=()=>{I(Z)&&Z(_)},ie=()=>{I(W)&&W(_,$)},le=()=>{I(k)&&k(O)},ce=a(()=>{switch(m){case"changePassword":return J.changePasswordPrompt;case"confirmResetPassword":return J.confirmResetPasswordPrompt;case"forceChangePassword":return J.forceChangePasswordPrompt;case"mfa":return J.mfaPrompt;case"requestResetPassword":return J.requestResetPasswordPrompt;default:return J.signinPrompt}},[Y,m]),se=a(()=>"changePassword"!==m&&"confirmResetPassword"!==m&&"requestResetPassword"!==m&&(V||n||l),[n,l,V,m]),ge=a(()=>{if(!s)return!1;switch(m){case"changePassword":case"forceChangePassword":return""===D||!F;case"confirmResetPassword":return""===U||""===D||!F;case"mfa":return""===O;case"requestResetPassword":return""===_;default:return""===$||""===_}},[F,O,D,U,T,$,_,m]),de=a(()=>{switch(m){case"changePassword":case"forceChangePassword":return J.changePasswordSubmit;case"mfa":return J.mfaSubmit;case"confirmResetPassword":case"requestResetPassword":return J.resetPasswordSubmit;default:return J.signin}},[Y,m]),be=a(()=>{switch(m){case"changePassword":return J.changePasswordTitle;case"confirmResetPassword":case"requestResetPassword":return J.resetPasswordTitle;case"forceChangePassword":return J.forceChangePasswordTitle;case"mfa":return J.mfaTitle;default:return d(t.Fragment,null,V?"string"==typeof J.welcomeMessage?J.welcomeMessage.replace(/\{username\}/g,R):J.welcomeMessage:J.welcomeMessageNotSignedIn,J.welcomeMessagePunctuation&&d("span",{css:N.welcomeMessagePunctuation},J.welcomeMessagePunctuation))}},[Y,V,m]);return d("div",He({"aria-label":o,id:b,css:g([N.container,{padding:u}])},te),d(Ri,{css:N.headerShapes,"aria-hidden":!0}),d("h1",{css:N.welcomeMessage},be),d("section",{css:N.formContainer},V?d("ul",{css:N.actionsList},C&&C.map(({icon:e,label:t,onClick:o},r)=>d("li",{key:r,css:N.action,onClick:o},e&&d(e,{css:N.actionIcon}),t))):d(t.Fragment,null,d("h2",{css:N.prompt},ce),d("form",{autoComplete:c?"on":"off",css:N.form,onSubmit:e=>{e.preventDefault()}},("internal"===m||"requestResetPassword"===m||"confirmResetPassword"===m)&&d(Ho,{label:J.username,name:"username",onChange:ee,value:_,width:"100%"}),("changePassword"===m||"forceChangePassword"===m||"confirmResetPassword"===m)&&d(t.Fragment,null,"changePassword"===m&&d(Kr,{label:J.password,name:"password",onChange:q,value:$}),"confirmResetPassword"===m&&d(Ho,{label:J.code,name:"code",onChange:K,value:U,width:"100%"}),d(Kr,{label:J.newPassword,name:"password",onChange:e=>{M(e),h&&j(p(e,T))},value:D}),h&&d(Kr,{highlightColor:H.error,highlighted:!F,label:J.repeatNewPassword,name:"confirmPassword",onChange:e=>{Q(e),j(p(D,e))},value:T}),!F&&d("span",{css:N.changePasswordWarning},J.changePasswordWarning)),"internal"===m&&d(Kr,{label:J.password,name:"password",onChange:q,value:$}),"mfa"===m&&d(Ho,{name:"code",onChange:E,value:O}),d("div",{css:N.formActions},d(_e,{buttonType:"submit",disabled:ge,icon:mt,label:de,onPress:(()=>{switch(m){case"changePassword":return re;case"confirmResetPassword":return ne;case"forceChangePassword":return oe;case"mfa":return le;case"requestResetPassword":return ae;default:return ie}})()}),("changePassword"===m||"confirmResetPassword"===m||"mfa"===m||"requestResetPassword"===m)&&d("a",{css:N.cancel,onClick:()=>{I(v)&&v()}},J.cancel),"requestResetPassword"===m&&d("a",{css:g([N.actionLink,N.haveResetCode]),onClick:()=>{I(G)&&G()}},J.resetPasswordHaveCode))))),se&&d("footer",{css:N.userDetails},V?d(Oe,{color:"transparent",icon:Ct,iconColor:H.fontLight,label:J.signout,labelColor:H.font,onPress:()=>{I(w)&&w()}}):d(t.Fragment,null,n&&d("a",{css:N.actionLink,onClick:()=>{I(y)&&y()}},d("h2",{css:N.prompt},J.forgotPassword)),l&&d("div",null,d("h2",{css:N.prompt},J.signupPrompt),d("a",{css:N.actionLink,onClick:()=>{I(X)&&X()}},J.signup)))),B&&d("div",{css:N.loading},d(Fe,null)))};var Ni={name:"yh3jvl",styles:"height:20px;margin-right:5px;width:20px;"},Ji={name:"10w3nmc",styles:"list-style:none;margin:20px 0;padding:0;"},Fi={name:"vl8ak5",styles:"font-family:'Montserrat',sans-serif;font-size:14px;line-height:20px;position:relative;"},zi={name:"1ajcev4",styles:"& >:not(:last-child){margin-top:10px;}"},Li={name:"79elbk",styles:"position:relative;"},ji={name:"w5in9r",styles:"align-items:center;display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:20px;"},Pi={name:"1xxqlwe",styles:"display:inline-block;flex:0 1 100%;margin-top:10px;"},Si={name:"19hbn8x",styles:"left:0;position:absolute;top:0;width:100%;"},Oi={name:"zhwjfn",styles:"align-items:center;background-color:rgba(255,255,255,0.85);bottom:0;display:flex;justify-content:center;left:0;position:absolute;right:0;top:0;"},Ei={name:"1vnyfz6",styles:"font-size:18px;font-weight:normal;line-height:40px;margin:0;"};const Di=({colorPalette:e})=>({action:g("border-radius:",se.borderRadius,";cursor:pointer;display:flex;padding:10px;&:hover{background-color:",e.neutral,";}&:not(:last-child){margin-bottom:10px;}"),actionIcon:Ni,actionLink:g("color:",e.primaryDark,";cursor:pointer;text-decoration:none;&:hover{text-decoration:underline;}"),actionsList:Ji,cancel:g("color:",e.secondaryDark,";cursor:pointer;font-size:12px;margin-left:10px;:hover{text-decoration:underline;}"),changePasswordWarning:g("color:",e.errorDark,";font-size:12px;"),container:Fi,form:zi,formContainer:Li,formActions:ji,haveResetCode:Pi,headerShapes:Si,loading:Oi,prompt:g("color:",e.fontLight,";font-size:14px;font-weight:normal;margin:0;"),userDetails:g("border-top:1px solid ",e.border,";display:flex;flex-wrap:wrap;justify-content:space-between;margin-top:30px;padding-top:20px;& > *{white-space:nowrap;:not(:last-child){margin:0 15px 15px 0;}}"),welcomeMessage:Ei,welcomeMessagePunctuation:g("color:",e.secondary,";")});var Mi;function Ti(){return Ti=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},Ti.apply(null,arguments)}var Qi=o(function(t,o){return e.createElement("svg",Ti({viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),Mi||(Mi=e.createElement("g",{fillRule:"evenodd",clipRule:"evenodd",fill:"currentColor"},e.createElement("path",{d:"M6.667 6.667A3.332 3.332 0 1 1 10 10a3.332 3.332 0 0 1-3.333-3.333Zm5 0C11.667 5.75 10.917 5 10 5s-1.667.75-1.667 1.667c0 .916.75 1.666 1.667 1.666s1.667-.75 1.667-1.666ZM3.333 15c0-2.217 4.442-3.333 6.667-3.333 2.225 0 6.667 1.116 6.667 3.333v1.667H3.333V15ZM15 15c-.167-.592-2.75-1.667-5-1.667-2.242 0-4.808 1.067-5 1.667h10Z"}))))});const Ui=({ariaLabel:e,id:t,onClose:o,onOpen:n,open:a=!1,...l})=>{const[{colorPalette:c}]=L(),[s,g]=r(a);i(()=>{a!==s&&g(a)},[a]);const b=z($i);return d(Et,{"aria-label":e,id:t,maxHeight:"425px",onHide:o,onShow:n,open:s,padding:"0",toggle:d(Oe,{color:"transparent",icon:e=>d(Qi,He({css:b.avatar},e)),id:"signinMenu",labelColor:c.fontLight},d(de,{css:b.arrow})),width:"276px"},d(Hi,l))};var Ki={name:"198hkja",styles:"display:flex;height:20px;width:20px;"};const $i=({colorPalette:e})=>({arrow:Ki,avatar:g("background-color:",e.neutral,";border-radius:50%;padding:1px;")}),qi=({children:e,color:t,id:o})=>{const r=z(_i);return d("p",{css:g([r.subParagraph,{"--color":t}]),id:o},e)},_i=({colorPalette:e})=>({subParagraph:g("--color:",e.font,";color:var(--color);font-family:'Montserrat',sans-serif;font-size:12px;font-weight:400;line-height:20px;margin:0;")}),el=({children:e,id:t})=>{const o=z(tl);return d("h2",{css:o.heading,id:t},e)},tl=({colorPalette:e})=>({heading:g("color:",e.font,";font-family:'Montserrat',sans-serif;font-size:24px;font-weight:400;line-height:40px;margin:0 0 30px 0;")});var ol={name:"1vuy4hm",styles:"padding:0 calc(var(--column-gap,16px) / 2);text-align:var(--align,left);vertical-align:middle;width:var(--width,auto);&:first-of-type{padding-left:0;}&:last-of-type{padding-right:0;}"},rl={name:"k008qs",styles:"display:flex;"},nl={name:"5xt1kf",styles:"align-items:center;display:flex;flex-wrap:nowrap;gap:8px;&:not(:empty){min-height:32px;}"},al={name:"5h0m38",styles:"display:inline-flex;flex-direction:column;"};const il=({colorPalette:e})=>({cell:ol,container:rl,header:g("color:",e.neutralDark,';font-weight:500;padding-top:0;&[data-sortable="true"]{cursor:pointer;}'),headerContainer:nl,row:g("--highlight-color:",e.highlight,";border-radius:calc(",se.borderRadius,' / 2);&[data-interactive="true"][data-highlight="hover"]:hover,&[data-highlight="hover"][data-selected="true"],&[data-highlight="selected"][data-selected="true"]{background-color:var(--highlight-color);box-shadow:0 0 0 8px var(--highlight-color);}&[data-interactive="true"]{cursor:pointer;}'),sortableIcon:g("color:",e.border,';width:20px;& > path{stroke-width:2.5;}&[data-active="true"]{color:',e.neutralDark,";}"),sortableIndicators:al,table:g("border-spacing:0 var(--row-gap,8px);color:",e.font,";flex-basis:100%;font-family:'Montserrat',sans-serif;font-size:16px;line-height:24px;margin:calc(var(--row-gap,8px) * -1) 0;")}),ll=(e,t)=>{const{displayValue:o}=e;return"function"==typeof o?o(t):o};var cl;function sl(){return sl=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var o=arguments[t];for(var r in o)({}).hasOwnProperty.call(o,r)&&(e[r]=o[r])}return e},sl.apply(null,arguments)}var gl=o(function(t,o){return e.createElement("svg",sl({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",ref:o},t),cl||(cl=e.createElement("path",{d:"m18 15-6-6-6 6",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})))});const dl=t.memo(({columnOptions:e,column:t,row:o,styles:r})=>{const n="max"===t.width?"100%":"min"===t.width?"1px":t.width;return d("td",{css:g([r.cell,{"--align":t.align||e?.align,"--width":n}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64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lsZXMgfSkgPT4ge1xuICAgIGNvbnN0IGhhbmRsZUNsaWNrID0gKCkgPT4ge1xuICAgICAgICBpZiAoaXNJbnRlcmFjdGl2ZSkge1xuICAgICAgICAgICAgb25QcmVzcz8uKCk7XG4gICAgICAgIH1cbiAgICB9O1xuICAgIHJldHVybiAoPHRyIGNzcz17W3N0eWxlcy5yb3csIHsgJy0taGlnaGxpZ2h0LWNvbG9yJzogcm93T3B0aW9ucz8uaGlnaGxpZ2h0Q29sb3IgfV19IG9uQ2xpY2s9e2hhbmRsZUNsaWNrfSBkYXRhLWhpZ2hsaWdodD17cm93T3B0aW9ucz8uaGlnaGxpZ2h0fSBkYXRhLWludGVyYWN0aXZlPXtpc0ludGVyYWN0aXZlfSBkYXRhLXNlbGVjdGVkPXtpc1NlbGVjdGVkfT5cclxuICAgICAge2NoaWxkcmVufVxyXG4gICAgPC90cj4pO1xufTtcbiJdfQ== */")},ll(t,o))}),bl=({column:e,id:t,isSortable:o,isSorted:r,onPress:n,sortedDirection:a,styles:i})=>d("th",{"aria-sort":r?a:void 0,css:g([i.cell,i.header],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdCK0oiLCJmaWxlIjoic3ViQ29tcG9uZW50cy5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgZ2V0RGlzcGxheVZhbHVlIH0gZnJvbSAnLi91dGlscyc7XG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vLi4vYXNzZXRzL2ljb25zL2xpbmVfY2hldnJvbi1kb3duLnN2Z1xuaW1wb3J0IENoZXZyb25Eb3duIGZyb20gXCIuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9jaGV2cm9uLWRvd24uc3ZnXCI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ZH0+XHJcbiAgICAgIHtjaGlsZHJlbn1cclxuICAgIDwvdHI+KTtcbn07XG4iXX0= */"),id:t,onClick:n,scope:"col","data-sortable":o},d("div",{css:i.headerContainer},(o||r)&&d("span",{css:i.sortableIndicators},d(gl,{css:i.sortableIcon,"data-active":r&&"ascending"===a}),d(an,{css:i.sortableIcon,"data-active":r&&"descending"===a})),e.title)),ul=({children:e,isInteractive:t,isSelected:o,onPress:r,rowOptions:n,styles:a})=>d("tr",{css:g([a.row,{"--highlight-color":n?.highlightColor}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbInN1YkNvbXBvbmVudHMuanN4Il0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQWdDZ0IiLCJmaWxlIjoic3ViQ29tcG9uZW50cy5qc3giLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgUmVhY3QgZnJvbSAncmVhY3QnO1xuaW1wb3J0IHsgZ2V0RGlzcGxheVZhbHVlIH0gZnJvbSAnLi91dGlscyc7XG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vLi4vYXNzZXRzL2ljb25zL2xpbmVfY2hldnJvbi1kb3duLnN2Z1xuaW1wb3J0IENoZXZyb25Eb3duIGZyb20gXCIuLi8uLi9hc3NldHMvaWNvbnMvbGluZV9jaGV2cm9uLWRvd24uc3ZnXCI7XG4vLyBAdHJhbnNmb3JtLXBhdGggLi4vLi4vYXNzZXRzL2ljb25zL2xpbmVfY2hldnJvbi11cC5zdmdcbmltcG9ydCBDaGV2cm9uVXAgZnJvbSBcIi4uLy4uL2Fzc2V0cy9pY29ucy9saW5lX2NoZXZyb24tdXAuc3ZnXCI7XG5leHBvcnQgY29uc3QgVGFibGVDZWxsID0gUmVhY3QubWVtbygoeyBjb2x1bW5PcHRpb25zLCBjb2x1bW4sIHJvdywgc3R5bGVzIH0pID0+IHtcbiAgICBjb25zdCB3aWR0aCA9I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Nzcz17c3R5bGVzLnNvcnRhYmxlSWNvbn0gZGF0YS1hY3RpdmU9e2lzU29ydGVkICYmIHNvcnRlZERpcmVjdGlvbiA9PT0gJ2Rlc2NlbmRpbmcnfS8+XHJcbiAgICAgICAgICA8L3NwYW4+KX1cclxuXHJcbiAgICAgICAge2NvbHVtbi50aXRsZX1cclxuICAgICAgPC9kaXY+XHJcbiAgICA8L3RoPik7XG5leHBvcnQgY29uc3QgVGFibGVSb3cgPSAoeyBjaGlsZHJlbiwgaXNJbnRlcmFjdGl2ZSwgaXNTZWxlY3RlZCwgb25QcmVzcywgcm93T3B0aW9ucywgc3R5bGVzIH0pID0+IHtcbiAgICBjb25zdCBoYW5kbGVDbGljayA9ICgpID0+IHtcbiAgICAgICAgaWYgKGlzSW50ZXJhY3RpdmUpIHtcbiAgICAgICAgICAgIG9uUHJlc3M/LigpO1xuICAgICAgICB9XG4gICAgfTtcbiAgICByZXR1cm4gKDx0ciBjc3M9e1tzdHlsZXMucm93LCB7ICctLWhpZ2hsaWdodC1jb2xvcic6IHJvd09wdGlvbnM/LmhpZ2hsaWdodENvbG9yIH1dfSBvbkNsaWNrPXtoYW5kbGVDbGlja30gZGF0YS1oaWdobGlnaHQ9e3Jvd09wdGlvbnM/LmhpZ2hsaWdodH0gZGF0YS1pbnRlcmFjdGl2ZT17aXNJbnRlcmFjdGl2ZX0gZGF0YS1zZWxlY3RlZD17aXNTZWxlY3RlZH0+XHJcbiAgICAgIHtjaGlsZHJlbn1cclxuICAgIDwvdHI+KTtcbn07XG4iXX0= */"),onClick:()=>{t&&r?.()},"data-highlight":n?.highlight,"data-interactive":t,"data-selected":o},e),pl=e=>{const t=n(e),[o,a]=r(e),i=n(e);e!==t.current&&(t.current=e,i.current=e);return[i.current,e=>{const t="function"==typeof e?e(i.current):e;i.current=t,a(t)}]},Il=({columnOptions:e,columns:t,data:o,id:r,keyExtractor:n=e=>o.indexOf(e),onPressRow:l,onSort:c,rowOptions:s,selectedRow:b,sortable:u,sorted:p,sortedColumn:I,sortedDirection:C="ascending"})=>{const h=a(()=>t.filter(e=>e).filter(e=>u&&!1!==e?.sortable||!1!==u&&e?.sortable),[t,u]),m=h.length>0,[v,A]=pl(I||t.indexOf(h[0])),[f,x]=pl(C),y=a(()=>"string"==typeof v?t.findIndex(e=>e?.name===v):v,[t,v]),G=a(()=>m&&!p?((e,t,o)=>{const{sortableValue:r}=t,n=[...e];return n.sort((e,n)=>{const a=r?r(e):ll(t,e),i=r?r(n):ll(t,n);return void 0===a?1:void 0===i?-1:("number"==typeof a&&"number"==typeof i?a-i:a?.toString()?.localeCompare(i?.toString()))*("ascending"===o?1:-1)}),n})(o,t[y],f):o,[t,o,m,p,y,f]),Z=a(()=>m||p&&y>-1||t.some(({title:e})=>e),[t,m,p,y]);i(()=>{p||c?.(t[y]?.name,y,f)},[p,y,f]);const W=z(il);return d("div",{css:W.container},d("table",{css:g([W.table,{"--column-gap":e?.gap,"--row-gap":s?.gap}],"production"===process.env.NODE_ENV?"":"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImluZGV4LmpzeCJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUE2Q2EiLCJmaWxlIjoiaW5kZXguanN4Iiwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IFJlYWN0LCB7IHVzZUVmZmVjdCwgdXNlTWVtbyB9IGZyb20gJ3JlYWN0JztcbmltcG9ydCB7IHVzZVdqZWNPbmVUaGVtZVN0eWxlcyB9IGZyb20gJ3dqZWMtb25lL3RoZW1lJztcbmltcG9ydCB7IGdldFN0eWxlcyB9IGZyb20gJy4vc3R5bGVzJztcbmltcG9ydCB7IFRhYmxlQ2VsbCwgVGFibGVIZWFkZXIsIFRhYmxlUm93IH0gZnJvbSAnLi9zdWJDb21wb25lbnRzJztcbmltcG9ydCB7IGdldFNvcnRlZERhdGEgfSBmcm9tICcuL3V0aWxzJztcbmltcG9ydCB7IHVzZVN0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WJsZVJvdyBpc0ludGVyYWN0aXZlPXtyb3dPcHRpb25zPy5pc0ludGVyYWN0aXZlPy4ocm93KSA/PyB0eXBlb2Ygb25QcmVzc1JvdyA9PT0gJ2Z1bmN0aW9uJ30gaXNTZWxlY3RlZD17cm93ID09PSBzZWxlY3RlZFJvd30ga2V5PXtgcm93XyR7cm93S2V5fWB9IG9uUHJlc3M9eygpID0+IG9uUHJlc3NSb3c/Lihyb3cpfSByb3dPcHRpb25zPXtyb3dPcHRpb25zfSBzdHlsZXM9e3N0eWxlc30+XHJcbiAgICAgICAgICAgICAgICB7Y29sdW1ucy5tYXAoKGNvbHVtbiwgY29sdW1uSW5kZXgpID0+IChjb2x1bW4gJiYgKDxUYWJsZUNlbGwgY29sdW1uT3B0aW9ucz17Y29sdW1uT3B0aW9uc30gY29sdW1uPXtjb2x1bW59IGtleT17YHJvd18ke3Jvd0tleX1fY29sdW1uXyR7Y29sdW1uLm5hbWUgfHwgY29sdW1uSW5kZXh9YH0gcm93PXtyb3d9IHN0eWxlcz17c3R5bGVzfS8+KSkpfVxyXG4gICAgICAgICAgICAgIDwvVGFibGVSb3c+KTtcbiAgICAgICAgfSl9XHJcbiAgICAgICAgPC90Ym9keT5cclxuICAgICAgPC90YWJsZT5cclxuICAgIDwvZGl2Pik7XG59O1xuIl19 */"),id:r},d("colgroup",null,t.map((e,t)=>e&&d("col",{key:`column_definition_${e.name||t}`}))),Z&&d("thead",null,d("tr",null,t.map((e,o)=>e&&d(bl,{column:e,id:r?[r,"column",e.name||o+1].join("_"):void 0,isSortable:h.includes(e),isSorted:o===y,key:`column_${e.name||o}_header`,onPress:()=>(e=>{const o=t.indexOf(e);h.includes(e)&&!p&&(A(o),x(e=>o===y&&"ascending"===e?"descending":"ascending")),e.onPressHeader?.()})(e),sortedDirection:f,styles:W})))),d("tbody",null,G.map(o=>{const r=n(o);return d(ul,{isInteractive:s?.isInteractive?.(o)??"function"==typeof l,isSelected:o===b,key:`row_${r}`,onPress:()=>l?.(o),rowOptions:s,styles:W},t.map((t,n)=>t&&d(dl,{columnOptions:e,column:t,key:`row_${r}_column_${t.name||n}`,row:o,styles:W})))}))))},Cl=({ariaLabel:e,backgroundStyle:t="filled",disabledTabs:o=[],id:l,keyExtractor:c,labelExtractor:s,onSelect:b,scrollable:u,selectedTab:p,selectedTabColor:v,tabs:A})=>{const[x,y]=r(F(p,A)),G=n(void 0),w=z(hl),X=a(()=>o.map(e=>C(e)?e.key:m(e,c,A.indexOf(e))),[o]),k=a(()=>C(x)?x.key:m(x,c,A.indexOf(x)),[x]);Ne("WJEC-One Tabs: You must specify a keyExtractor if the tabs array contains non-primitive entry types",()=>!Z(A)&&!W(A)&&!c,[c,A]),i(()=>{void 0!==u&&f('WJEC One Tabs: The "scrollable" prop has been deprecated and will be removed in a future version of the library. The Tabs component will now behave as though "scrollable={true}" in all cases')},[u]),i(()=>{y(F(p,A))},[p,A]),i(()=>{if(G.current){const e=G.current.querySelector("[data-selected]");e&&e.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"})}},[G.current,x]);return d("div",{"aria-label":e,ref:G,css:g([w.container,"filled"===t&&w.containerFilled,"transparent"===t&&w.containerTransparent,v&&{"--highlight-color":v}]),id:l},d("div",{css:w.innerContainer},A.map((e,o)=>{const r=(C(e)?e.key:m(e,c,o)).toString(),n=r===k,a=X.includes(r);return d("button",He({key:r,css:g([w.tab,"filled"===t&&w.tabFilled,"transparent"===t&&w.tabTransparent]),disabled:a,onClick:({target:t})=>((e,t)=>{const o=G.current.querySelector("[data-selected]");I(b)&&b(e),G.current.style.setProperty("--anim-height",`${o.offsetHeight}px`),G.current.style.setProperty("--anim-left",`${o.offsetLeft}px`),G.current.style.setProperty("--anim-width",`${o.offsetWidth}px`),t.setAttribute("data-animating","true"),o.removeAttribute("data-selected"),t.setAttribute("data-selected","true"),requestAnimationFrame(()=>{G.current.style.setProperty("--anim-duration","150ms"),G.current.style.setProperty("--anim-height",`${t.offsetHeight}px`),G.current.style.setProperty("--anim-left",`${t.offsetLeft}px`),G.current.style.setProperty("--anim-width",`${t.offsetWidth}px`),t.scrollIntoView({behavior:"smooth",block:"nearest",inline:"nearest"}),window.setTimeout(()=>{t.removeAttribute("data-animating"),G.current.style.removeProperty("--anim-duration"),G.current.style.removeProperty("--anim-height"),G.current.style.removeProperty("--anim-left"),G.current.style.removeProperty("--anim-width"),y(e)},150)})})(e,t),type:"button"},n?{"data-selected":!0}:null),C(e)?e.label:h(e,s,o))})))},hl=({colorPalette:e})=>({container:g("--anim-duration:0ms;--anim-height:0;--anim-left:0;--anim-width:0;--highlight-color:",e.secondary,";flex-shrink:0;max-width:100%;position:relative;"),containerFilled:g("--anim-left:10px;--highlight-color:",e.primary,";border-radius:",se.borderRadius,";background-color:",e.neutral,";& > div{padding:10px;&::before{border-radius:",se.borderRadius,";height:var(--anim-height);top:10px;}}"),containerTransparent:g("& > div{padding-bottom:1px;}&::before{border-bottom:1px solid ",e.border,";content:'';left:0;position:absolute;top:28px;width:100%;}"),innerContainer:g(se.scrollbar,";display:flex;overflow-x:auto;position:relative;&::before{background-color:var(--highlight-color);content:'';height:2px;left:var(--anim-left);position:absolute;top:27px;transition:height var(--anim-duration) linear,left var(--anim-duration) ease-in-out,top var(--anim-duration) ease-in-out,width var(--anim-duration) linear;width:var(--anim-width);}"),tab:g("align-items:center;background-color:transparent;border:none;color:",e.font,';cursor:pointer;display:flex;font-family:"Montserrat",sans-serif;font-size:14px;font-weight:400;justify-content:center;line-height:20px;margin:0;outline:none;padding:0;position:relative;scroll-margin:10px;transition:color 100ms linear;white-space:pre;&:not(:last-child){margin-right:20px;}&:disabled{opacity:0.5;}&[data-selected]{font-weight:500;}'),tabFilled:g("border-radius:",se.borderRadius,";padding:5px 10px;&[data-selected]:not([data-animating]){background-color:var(--highlight-color);color:#fff;}&:hover:not([data-animating]):not([data-selected]){background-color:",e.border,";}"),tabTransparent:g("padding:4px 0;&[data-selected]:not([data-animating]){&::after{background-color:var(--highlight-color);border-radius:",se.borderRadius,";content:'';height:2px;left:0;position:absolute;top:calc(100% - 1px);width:100%;}}")}),ml={dependencies:[],focusElement:0,shouldTrapFocus:!0},vl=(e,t)=>{const{dependencies:o,focusElement:r,shouldTrapFocus:a}={...ml,...t},l=n([]),c="function"==typeof a?a():a;i(()=>{let t,o;const n=y(e)?e.current:e;return c&&n&&(l.current=N(n),o=new MutationObserver(e=>{for(const t of e)("childList"===t.type||"attributes"===t.type&&["aria-hidden","disabled"].includes(t.attributeName))&&(l.current=N(n))}),o.observe(n,{attributes:!0,childList:!0,subtree:!0}),t=e=>{const t=void 0===e.code?e.key:e.code,o=l.current[0],r=l.current[l.current.length-1];"Tab"===t&&(e.shiftKey||document.activeElement!==r||(o.focus(),e.preventDefault()),e.shiftKey&&document.activeElement===o&&(r.focus(),e.preventDefault()))},"number"==typeof r&&l.current[r]?.focus(),"string"==typeof r&&l.current.find(e=>e.matches(r))?.focus(),r instanceof HTMLElement&&l.current.includes(r)&&r.focus(),document.documentElement.addEventListener("keydown",t)),()=>{document.documentElement.removeEventListener("keydown",t),o&&o.disconnect()}},[e,c,...o])},Al=()=>{const e=n(!1);return i(()=>(e.current=!0,()=>{e.current=!1})),e},fl=e=>{const t=n();return l(()=>{const o=document.getElementById(e);t.current=o??void 0},[e]),t};export{ye as Accordion,Ve as Breadcrumb,Oe as Button,it as Card,Zt as Carousel,sr as CheckBox,Fe as CircularProgress,U as ColorPalette,K as ColorPaletteEduqas,Dt as ContextHelp,to as ContextMenu,xr as DateTimePicker,Ue as DestructiveButton,Wr as Email,Kt as Emphasis,zn as ErrorCard,Fa as ErrorNotification,Nr as FileInput,Eo as FilterList,ta as Footer,nr as Form,sa as Header,Ke as IconButton,Sa as InfoNotification,Rn as InformationCard,Ho as Input,Ca as LinearProgress,Gr as Link,qe as LinkButton,fa as LocalizationMenu,ni as Modal,Ra as Notification,pa as Page,ai as PageTitle,gi as Pagination,qt as Paragraph,Kr as Password,Ii as Pill,Et as Popup,vi as PopupWindow,_e as PrimaryButton,fi as PrintLayout,yi as PrintWindow,en as RadioGroup,Gi as ScrollableContainer,et as SecondaryButton,Zi as SectionHeading,wi as SectionTitle,un as Select,Hi as SigninForm,Ui as SigninMenu,se as StylePalette,qi as SubParagraph,el as SubTitle,Ln as SuccessCard,Ta as SuccessNotification,Il as Table,Cl as Tabs,In as TextArea,xn as Toggle,wn as VerificationCodeInput,jn as WarningCard,St as useAnimation,lo as useEventListener,vl as useFocusTrap,Al as useIsMounted,ya as useKeydownEvent,An as useMediaQuery,fl as useRefById};