@openmrs/esm-patient-programs-app 3.2.0 → 3.2.1-pre.85
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/.turbo/turbo-build.log +282 -129
- package/dist/163.js +3 -0
- package/dist/{796.js.LICENSE.txt → 163.js.LICENSE.txt} +0 -0
- package/dist/163.js.map +1 -0
- package/dist/186.js +3 -0
- package/dist/{921.js.LICENSE.txt → 186.js.LICENSE.txt} +0 -0
- package/dist/186.js.map +1 -0
- package/dist/206.js +3 -0
- package/dist/206.js.LICENSE.txt +14 -0
- package/dist/206.js.map +1 -0
- package/dist/252.js +3 -0
- package/dist/{60.js.LICENSE.txt → 252.js.LICENSE.txt} +0 -0
- package/dist/252.js.map +1 -0
- package/dist/344.js +1 -1
- package/dist/357.js +2 -0
- package/dist/357.js.map +1 -0
- package/dist/511.js +1 -1
- package/dist/593.js +1 -1
- package/dist/593.js.map +1 -1
- package/dist/701.js +2 -0
- package/dist/701.js.map +1 -0
- package/dist/707.js +3 -0
- package/dist/707.js.LICENSE.txt +14 -0
- package/dist/707.js.map +1 -0
- package/dist/76.js +1 -1
- package/dist/76.js.map +1 -1
- package/dist/openmrs-esm-patient-programs-app.js +1 -1
- package/dist/openmrs-esm-patient-programs-app.js.buildmanifest.json +177 -78
- package/dist/openmrs-esm-patient-programs-app.js.map +1 -1
- package/dist/openmrs-esm-patient-programs-app.old +1 -1
- package/package.json +3 -3
- package/dist/60.js +0 -3
- package/dist/60.js.map +0 -1
- package/dist/716.js +0 -2
- package/dist/716.js.map +0 -1
- package/dist/796.js +0 -3
- package/dist/796.js.map +0 -1
- package/dist/921.js +0 -3
- package/dist/921.js.map +0 -1
package/dist/707.js
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
/*! For license information please see 707.js.LICENSE.txt */
|
|
2
|
+
(self.webpackChunk_openmrs_esm_patient_programs_app=self.webpackChunk_openmrs_esm_patient_programs_app||[]).push([[707],{3884:(e,t,n)=>{"use strict";n.d(t,{ZP:()=>m});var a=n(7896),r=n(6666),i=n(2159),o=n(2779),l=n.n(o),c=n(330),s=n(3980),d=n.n(s),u=n(9902),p=n.n(u),h=n(145),f=["align","children","className","disabled","size"];function g(e){var t,n=e.align,o=void 0===n?"end":n,s=e.children,d=e.className,u=e.disabled,h=void 0!==u&&u,g=e.size,m=void 0===g?"md":g,v=(0,i.Z)(e,f),b=(0,c.A)(),y=l()("".concat(b,"--accordion"),d,(t={},(0,r.Z)(t,"".concat(b,"--accordion--").concat(o),o),(0,r.Z)(t,"".concat(b,"--accordion--").concat(m),m),t));return p().createElement("ul",(0,a.Z)({className:y},v),h?p().Children.toArray(s).map((function(e){return p().cloneElement(e,{disabled:h})})):s)}g.propTypes={align:d().oneOf(["start","end"]),children:d().node,className:d().string,disabled:d().bool,size:h.am("enable-v11-release")?d().oneOf(["sm","md","lg"]):d().oneOf(["sm","md","lg","xl"])};const m=g},1975:(e,t,n)=>{"use strict";n.d(t,{Z:()=>T});var a=n(6666),r=n(2867),i=n(2159),o=n(7896),l=n(8358),c=n(2779),s=n.n(c),d=n(3980),u=n.n(d),p=n(9902),h=n.n(p),f=n(3467),g=n(4509),m=n(4817),v=n(7304),b=n(3597),y=n(330),x=["children","className","iconDescription","open","onHeadingClick","renderExpando","renderToggle","title","disabled"],Z=function(e){return h().createElement("button",(0,o.Z)({type:"button"},e))};function w(e){var t,n=e.children,c=e.className,d=(e.iconDescription,e.open),u=void 0!==d&&d,b=e.onHeadingClick,w=e.renderExpando,T=void 0===w?Z:w,k=e.renderToggle,C=e.title,E=void 0===C?"title":C,N=e.disabled,_=(0,i.Z)(e,x),S=(0,p.useState)(u),I=(0,r.Z)(S,2),P=I[0],D=I[1],z=(0,p.useState)(u),O=(0,r.Z)(z,2),R=O[0],L=O[1],K=(0,p.useState)(""),j=(0,r.Z)(K,2),M=j[0],A=j[1],U=(0,v.M)("accordion-item"),B=(0,y.A)(),H=s()((t={},(0,a.Z)(t,"".concat(B,"--accordion__item"),!0),(0,a.Z)(t,"".concat(B,"--accordion__item--active"),P),(0,a.Z)(t,"".concat(B,"--accordion__item--").concat(M),M),(0,a.Z)(t,"".concat(B,"--accordion__item--disabled"),N),(0,a.Z)(t,c,!!c),t)),F=k||T;return u!==R&&(A(P?"collapsing":"expanding"),D(u),L(u)),h().createElement("li",(0,o.Z)({className:H},_,{onAnimationEnd:function(e){_.handleAnimationEnd&&_.handleAnimationEnd(e),A("")}}),h().createElement(F,{disabled:N,"aria-controls":U,"aria-expanded":P,className:"".concat(B,"--accordion__heading"),onClick:function(e){var t=!P;A(P?"collapsing":"expanding"),D(t),b&&b({isOpen:t,event:e})},onKeyDown:function(e){P&&(0,g.EQ)(e,m.L1)&&D(!1)},type:"button"},h().createElement(l.F3j,{className:"".concat(B,"--accordion__arrow")}),h().createElement(f.x,{as:"div",className:"".concat(B,"--accordion__title")},E)),h().createElement("div",{id:U,className:"".concat(B,"--accordion__content")},n))}w.propTypes={children:u().node,className:u().string,disabled:u().bool,iconDescription:(0,b.Z)(u().string,"The `iconDescription` prop has been deprecated as it is no longer required. Feel free to remove this prop from <AccordionItem>. This prop will be removed in the next major release of `carbon-components-react`"),onClick:u().func,onHeadingClick:u().func,open:u().bool,renderExpando:(0,b.Z)(u().func,"The `renderExpando` prop has been deprecated and will be removed in the next major release of Carbon. Use the `renderToggle` prop instead."),renderToggle:u().func,title:u().node};const T=w},3277:(e,t,n)=>{"use strict";n.d(t,{Z:()=>g});var a=n(7896),r=n(6666),i=n(2159),o=n(2779),l=n.n(o),c=n(3980),s=n.n(c),d=n(9902),u=n.n(d),p=n(330),h=["children","className","href","disabled","inline","visited","renderIcon","size"],f=u().forwardRef((function(e,t){var n,o=e.children,c=e.className,s=e.href,d=e.disabled,f=e.inline,g=e.visited,m=e.renderIcon,v=e.size,b=(0,i.Z)(e,h),y=(0,p.A)(),x={className:l()("".concat(y,"--link"),c,(n={},(0,r.Z)(n,"".concat(y,"--link--disabled"),d),(0,r.Z)(n,"".concat(y,"--link--inline"),f),(0,r.Z)(n,"".concat(y,"--link--visited"),g),(0,r.Z)(n,"".concat(y,"--link--").concat(v),v),n)),rel:"_blank"===b.target?"noopener":null};return d?(x.role="link",x["aria-disabled"]=!0):x.href=s,u().createElement("a",(0,a.Z)({ref:t},x,b),o,!f&&m&&u().createElement("div",{className:"".concat(y,"--link__icon")},u().createElement(m,null)))}));f.displayName="Link",f.propTypes={children:s().node,className:s().string,disabled:s().bool,href:s().string,inline:s().bool,renderIcon:s().oneOfType([s().func,s().object]),size:s().oneOf(["sm","md","lg"]),visited:s().bool};const g=f},2255:(e,t,n)=>{"use strict";n.d(t,{Z:()=>K});var a=n(145),r=n(7896),i=n(2159),o=n(9249),l=n(7371),c=n(753),s=n(8106),d=n(1987),u=n(5058),p=n(6666),h=n(6522),f=n(3980),g=n.n(f),m=n(9902),v=n.n(m),b=n(2779),y=n.n(b),x=n(5214),Z=n(2810),w=n(5067);function T(e,t){if(!Array.isArray(e)||!Array.isArray(t)||e.length!==t.length)return!1;if(e===t)return!0;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}var k=n(7030),C=n(330),E=["backwardText","className","forwardText","id","itemsPerPageText","itemRangeText","pageRangeText","pageSize","pageSizes","itemText","pageText","pageNumberText","pagesUnknown","isLastPage","disabled","pageInputDisabled","pageSizeInputDisabled","totalItems","onChange","page","size","forwardedRef"];var N=0,_=function(e){return"object"===(0,h.Z)(e[0])&&null!==e[0]?e:e.map((function(e){return{text:e,value:e}}))},S=function(e){(0,s.Z)(h,e);var t,n,a=(t=h,n=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,a=(0,u.Z)(t);if(n){var r=(0,u.Z)(this).constructor;e=Reflect.construct(a,arguments,r)}else e=a.apply(this,arguments);return(0,d.Z)(this,e)});function h(e){var t;(0,o.Z)(this,h),t=a.call(this,e),(0,p.Z)((0,c.Z)(t),"handleSizeChange",(function(e){var n=Number(e.target.value);t.setState({pageSize:n,page:1}),t.props.onChange({page:1,pageSize:n})})),(0,p.Z)((0,c.Z)(t),"handlePageChange",(function(e){t.setState({page:e.target.value})})),(0,p.Z)((0,c.Z)(t),"handlePageInputChange",(function(e){var n=Number(e.target.value);n>0&&n<=Math.max(Math.ceil(t.props.totalItems/t.state.pageSize),1)&&(t.setState({page:n}),t.props.onChange({page:n,pageSize:t.state.pageSize}))})),(0,p.Z)((0,c.Z)(t),"incrementPage",(function(){var e=t.state.page+1;t.setState({page:e}),t.props.onChange({page:e,pageSize:t.state.pageSize})})),(0,p.Z)((0,c.Z)(t),"decrementPage",(function(){var e=t.state.page-1;t.setState({page:e}),t.props.onChange({page:e,pageSize:t.state.pageSize})})),(0,p.Z)((0,c.Z)(t),"renderSelectItems",(function(e){for(var t=1,n=[];t<=e;)n.push(v().createElement(w.Z,{key:t,value:t,text:String(t)})),t++;return n}));var n=t.props,r=n.pageSizes,i=n.page,l=n.pageSize,s=_(r);return t.state={page:i,pageSize:l&&s.some((function(e){return l===e.value}))?l:s[0].value,prevPageSizes:s,prevPage:i,prevPageSize:l},t.uniqueId=++N,t}return(0,l.Z)(h,[{key:"render",value:function(){var e=this,t=this.props,n=t.backwardText,a=t.className,o=t.forwardText,l=t.id,c=t.itemsPerPageText,s=t.itemRangeText,d=t.pageRangeText,u=(t.pageSize,t.pageSizes),h=t.itemText,f=t.pageText,g=(t.pageNumberText,t.pagesUnknown),m=t.isLastPage,b=t.disabled,T=t.pageInputDisabled,N=t.pageSizeInputDisabled,S=t.totalItems,I=(t.onChange,t.page,t.size),P=t.forwardedRef,D=(0,i.Z)(t,E);return v().createElement(C.T.Consumer,null,(function(t){var i=y()("".concat(t,"--pagination"),a,(0,p.Z)({},"".concat(t,"--pagination--").concat(I),I)),C=l||e.uniqueId,E=e.state,z=E.page,O=E.pageSize,R=Math.max(Math.ceil(S/O),1),L=b||1===z,K=y()("".concat(t,"--pagination__button"),"".concat(t,"--pagination__button--backward"),(0,p.Z)({},"".concat(t,"--pagination__button--no-index"),L)),j=b||z===R,M=y()("".concat(t,"--pagination__button"),"".concat(t,"--pagination__button--forward"),(0,p.Z)({},"".concat(t,"--pagination__button--no-index"),j)),A=e.renderSelectItems(R),U=_(u);return v().createElement("div",(0,r.Z)({className:i,ref:P},D),v().createElement("div",{className:"".concat(t,"--pagination__left")},v().createElement("label",{id:"".concat(t,"-pagination-select-").concat(C,"-count-label"),className:"".concat(t,"--pagination__text"),htmlFor:"".concat(t,"-pagination-select-").concat(C)},c),v().createElement(Z.Z,{id:"".concat(t,"-pagination-select-").concat(C),className:"".concat(t,"--select__item-count"),labelText:"",hideLabel:!0,noLabel:!0,inline:!0,onChange:e.handleSizeChange,disabled:N||b,value:O},U.map((function(e){return v().createElement(w.Z,{key:e.value,value:e.value,text:String(e.text)})}))),v().createElement("span",{className:"".concat(t,"--pagination__text ").concat(t,"--pagination__items-count")},g?h(O*(z-1)+1,z*O):s(Math.min(O*(z-1)+1,S),Math.min(z*O,S),S))),v().createElement("div",{className:"".concat(t,"--pagination__right")},v().createElement(Z.Z,{id:"".concat(t,"-pagination-select-").concat(C,"-right"),className:"".concat(t,"--select__page-number"),labelText:"Page number, of ".concat(R," pages"),inline:!0,hideLabel:!0,onChange:e.handlePageInputChange,value:z,disabled:T||b},A),v().createElement("span",{className:"".concat(t,"--pagination__text")},g?f(z):d(z,R)),v().createElement("div",{className:"".concat(t,"--pagination__control-buttons")},v().createElement(k.Z,{kind:"ghost",className:K,hasIconOnly:!0,renderIcon:x.bdU,iconDescription:n,tooltipAlignment:"center",tooltipPosition:"top",onClick:e.decrementPage,disabled:L}),v().createElement(k.Z,{kind:"ghost",className:M,hasIconOnly:!0,renderIcon:x.VUy,iconDescription:o,tooltipAlignment:"end",tooltipPosition:"top",onClick:e.incrementPage,disabled:j||m}))))}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.pageSizes,a=e.page,r=e.pageSize,i=t.prevPageSizes,o=t.prevPage,l=t.prevPageSize,c=t.page,s=t.pageSize,d=_(n),u=!T(d.map((function(e){return e.value})),i.map((function(e){return e.value})));u&&!d.some((function(e){return r===e.value}))&&(r=d[0].value);var p=a!==o,h=r!==l;return u||p||h?{page:(h?1:p&&a)||c,pageSize:h?r:s,prevPageSizes:d,prevPage:a,prevPageSize:r}:null}}]),h}(m.Component);(0,p.Z)(S,"propTypes",{backwardText:g().string,className:g().string,disabled:g().bool,forwardText:g().string,id:g().oneOfType([g().string,g().number]),isLastPage:g().bool,itemRangeText:g().func,itemText:g().func,itemsPerPageText:g().string,onChange:g().func,page:g().number,pageInputDisabled:g().bool,pageNumberText:g().string,pageRangeText:g().func,pageSize:g().number,pageSizeInputDisabled:g().bool,pageSizes:g().oneOfType([g().arrayOf(g().number),g().arrayOf(g().shape({text:g().text,value:g().number}))]).isRequired,pageText:g().func,pagesUnknown:g().bool,size:g().oneOf(["sm","md","lg"]),totalItems:g().number}),(0,p.Z)(S,"defaultProps",{backwardText:"Previous page",itemRangeText:function(e,t,n){return"".concat(e,"–").concat(t," of ").concat(n," items")},forwardText:"Next page",itemsPerPageText:"Items per page:",pageNumberText:"Page Number",pageRangeText:function(e,t){return"of ".concat(t," ").concat(1===t?"page":"pages")},disabled:!1,page:1,pagesUnknown:!1,isLastPage:!1,itemText:function(e,t){return"".concat(e,"–").concat(t," items")},pageText:function(e){return"page ".concat(e)}});var I=n(2867),P=n(7304),D=["backwardText","className","disabled","forwardText","id","isLastPage","itemText","itemRangeText","itemsPerPageText","onChange","pageNumberText","pageRangeText","page","pageInputDisabled","pageSize","pageSizeInputDisabled","pageSizes","pageText","pagesUnknown","size","totalItems"];function z(e){return"object"===(0,h.Z)(e[0])&&null!==e[0]?e:e.map((function(e){return{text:e,value:e}}))}function O(e,t){return t&&e.find((function(e){return t===e.value}))?t:e[0].value}var R=v().forwardRef((function(e,t){var n,a,o,l=e.backwardText,c=void 0===l?"Previous page":l,s=e.className,d=e.disabled,u=void 0!==d&&d,h=e.forwardText,f=void 0===h?"Next page":h,g=e.id,b=e.isLastPage,E=void 0!==b&&b,N=e.itemText,_=void 0===N?function(e,t){return"".concat(e,"–").concat(t," items")}:N,S=e.itemRangeText,R=void 0===S?function(e,t,n){return"".concat(e,"–").concat(t," of ").concat(n," items")}:S,L=e.itemsPerPageText,K=void 0===L?"Items per page:":L,j=e.onChange,M=(e.pageNumberText,e.pageRangeText),A=void 0===M?function(e,t){return"of ".concat(t," ").concat(1===t?"page":"pages")}:M,U=e.page,B=void 0===U?1:U,H=e.pageInputDisabled,F=e.pageSize,V=e.pageSizeInputDisabled,q=e.pageSizes,G=e.pageText,Y=void 0===G?function(e){return"page ".concat(e)}:G,Q=e.pagesUnknown,W=void 0!==Q&&Q,$=e.size,J=e.totalItems,X=(0,i.Z)(e,D),ee=(0,C.A)(),te=(0,P.E)(g),ne=(0,m.useState)((function(){return z(q)})),ae=(0,I.Z)(ne,2),re=ae[0],ie=ae[1],oe=(0,m.useState)(q),le=(0,I.Z)(oe,2),ce=le[0],se=le[1],de=(0,m.useState)(B),ue=(0,I.Z)(de,2),pe=ue[0],he=ue[1],fe=(0,m.useState)(B),ge=(0,I.Z)(fe,2),me=ge[0],ve=ge[1],be=(0,m.useState)((function(){return O(re,F)})),ye=(0,I.Z)(be,2),xe=ye[0],Ze=ye[1],we=(0,m.useState)(F),Te=(0,I.Z)(we,2),ke=Te[0],Ce=Te[1],Ee=y()((n={},(0,p.Z)(n,"".concat(ee,"--pagination"),!0),(0,p.Z)(n,"".concat(ee,"--pagination--").concat($),$),(0,p.Z)(n,s,!!s),n)),Ne=Math.max(Math.ceil(J/xe),1),_e=u||1===pe,Se=y()((a={},(0,p.Z)(a,"".concat(ee,"--pagination__button"),!0),(0,p.Z)(a,"".concat(ee,"--pagination__button--backward"),!0),(0,p.Z)(a,"".concat(ee,"--pagination__button--no-index"),_e),a)),Ie=u||pe===Ne,Pe=y()((o={},(0,p.Z)(o,"".concat(ee,"--pagination__button"),!0),(0,p.Z)(o,"".concat(ee,"--pagination__button--forward"),!0),(0,p.Z)(o,"".concat(ee,"--pagination__button--no-index"),Ie),o)),De=function(e){for(var t=1,n=[];t<=e;)n.push(v().createElement(w.Z,{key:t,value:t,text:String(t)})),t++;return n}(Ne);if(B!==me&&(he(B),ve(B)),F!==ke&&(Ze(O(re,F)),Ce(F)),!T(q,ce)){var ze=z(q),Oe=ze.find((function(e){return e.value===xe}));Oe||he(1),ie(ze),se(q)}return v().createElement("div",(0,r.Z)({className:Ee,ref:t},X),v().createElement("div",{className:"".concat(ee,"--pagination__left")},v().createElement("label",{id:"".concat(ee,"-pagination-select-").concat(te,"-count-label"),className:"".concat(ee,"--pagination__text"),htmlFor:"".concat(ee,"-pagination-select-").concat(te)},K),v().createElement(Z.Z,{id:"".concat(ee,"-pagination-select-").concat(te),className:"".concat(ee,"--select__item-count"),labelText:"",hideLabel:!0,noLabel:!0,inline:!0,onChange:function(e){var t={pageSize:Number(e.target.value),page:1};he(t.page),Ze(t.pageSize),j&&j(t)},disabled:V||u,value:xe},re.map((function(e){return v().createElement(w.Z,{key:e.value,value:e.value,text:String(e.text)})}))),v().createElement("span",{className:"".concat(ee,"--pagination__text ").concat(ee,"--pagination__items-count")},W?_(xe*(pe-1)+1,pe*xe):R(Math.min(xe*(pe-1)+1,J),Math.min(pe*xe,J),J))),v().createElement("div",{className:"".concat(ee,"--pagination__right")},v().createElement(Z.Z,{id:"".concat(ee,"-pagination-select-").concat(te,"-right"),className:"".concat(ee,"--select__page-number"),labelText:"Page number, of ".concat(Ne," pages"),inline:!0,hideLabel:!0,onChange:function(e){var t=Number(e.target.value);t>0&&t<=Math.max(Math.ceil(J/xe),1)&&(he(t),j&&j({page:t,pageSize:xe}))},value:pe,disabled:H||u},De),v().createElement("span",{className:"".concat(ee,"--pagination__text")},W?Y(pe):A(pe,Ne)),v().createElement("div",{className:"".concat(ee,"--pagination__control-buttons")},v().createElement(k.Z,{kind:"ghost",className:Se,hasIconOnly:!0,renderIcon:x.bdU,iconDescription:c,tooltipAlignment:"center",tooltipPosition:"top",onClick:function(){var e=pe-1;he(e),j&&j({page:e,pageSize:xe})},disabled:_e}),v().createElement(k.Z,{kind:"ghost",className:Pe,hasIconOnly:!0,renderIcon:x.VUy,iconDescription:f,tooltipAlignment:"end",tooltipPosition:"top",onClick:function(){var e=pe+1;he(e),j&&j({page:e,pageSize:xe})},disabled:Ie||E}))))}));R.propTypes={backwardText:g().string,className:g().string,disabled:g().bool,forwardText:g().string,id:g().oneOfType([g().string,g().number]),isLastPage:g().bool,itemRangeText:g().func,itemText:g().func,itemsPerPageText:g().string,onChange:g().func,page:g().number,pageInputDisabled:g().bool,pageNumberText:g().string,pageRangeText:g().func,pageSize:g().number,pageSizeInputDisabled:g().bool,pageSizes:g().oneOfType([g().arrayOf(g().number),g().arrayOf(g().shape({text:g().text,value:g().number}))]).isRequired,pageText:g().func,pagesUnknown:g().bool,size:g().oneOf(["sm","md","lg"]),totalItems:g().number};const L=R,K=a.am("enable-v11-release")?L:S},3467:(e,t,n)=>{"use strict";n.d(t,{x:()=>h});var a=n(7896),r=n(6666),i=n(2159),o=n(3980),l=n.n(o),c=n(9902),s=n.n(c),d=(0,c.createContext)(null),u=["as","children","dir"];function p(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){var t=e.as,n=void 0===t?"span":t,o=e.children,l=e.dir,h=void 0===l?"auto":l,f=(0,i.Z)(e,u),g=(0,c.useContext)(d),m={},v=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},g);if(g){var b=g.direction,y=g.getTextDirection;if(y&&y.current){var x=function(e){if("string"==typeof e)return e;var t=s().Children.map(e,(function(e){return"string"==typeof e?e:null})).filter((function(e){return null!==e}));return 1===t.length?t[0]:t}(o),Z=y.current(x);b!==Z?(m.dir=Z,v.direction=Z):"auto"===b&&(m.dir=Z)}else b!==h?(m.dir=h,v.direction=h):"auto"===b&&(m.dir=h)}else m.dir=h,v.direction=h;return s().createElement(d.Provider,{value:v},s().createElement(n,(0,a.Z)({},f,m),o))}h.propTypes={as:l().oneOfType([l().func,l().string,l().elementType]),children:l().node.isRequired,dir:l().oneOf(["ltr","rtl","auto"])}},4187:(e,t,n)=>{"use strict";n.d(t,{n9:()=>ae});var a,r,i,o=n(145),l=n(2867),c=n(7896),s=n(6666),d=n(2159),u=n(9902),p=n.n(u),h=n(3980),f=n.n(h),g=n(2779),m=n.n(g),v=n(5495),b=["children"],y=["children"],x=p().forwardRef((function(e,t){var n=e.children,r=(0,v._)(e,b);return p().createElement(v.I,(0,v.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},r),a||(a=p().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM6,26V6H26V26Z"})),n)})),Z=p().forwardRef((function(e,t){var n=e.children,a=(0,v._)(e,y);return p().createElement(v.I,(0,v.a)({width:16,height:16,viewBox:"0 0 32 32",xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",ref:t},a),r||(r=p().createElement("path",{d:"M26,4H6A2,2,0,0,0,4,6V26a2,2,0,0,0,2,2H26a2,2,0,0,0,2-2V6A2,2,0,0,0,26,4ZM14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z"})),i||(i=p().createElement("path",{fill:"none",d:"M14,21.5,9,16.5427,10.5908,15,14,18.3456,21.4087,11l1.5918,1.5772Z","data-icon-path":"inner-path"})),n)})),w=n(8358),T=n(3277),k=n(4509),C=n(4817),E=n(3597),N=n(3834),_=n(330),S=n(1223),I=["children","className","light"],P=["children","className","clicked","handleClick","handleKeyDown","href","light","onClick","onKeyDown"],D=["children","className","disabled","handleClick","handleKeyDown","iconDescription","id","light","name","onClick","onChange","onKeyDown","selected","tabIndex","title","value"],z=["tabIndex","className","children","expanded","tileMaxHeight","tilePadding","onClick","onKeyUp","tileCollapsedIconText","tileExpandedIconText","tileCollapsedLabel","tileExpandedLabel","onBeforeClick","light"],O=p().forwardRef((function(e,t){var n=e.children,a=e.className,r=e.light,i=void 0!==r&&r,o=(0,d.Z)(e,I),l=(0,_.A)(),u=m()("".concat(l,"--tile"),(0,s.Z)({},"".concat(l,"--tile--light"),i),a);return p().createElement("div",(0,c.Z)({className:u,ref:t},o),n)}));O.displayName="Tile",O.propTypes={children:f().node,className:f().string,light:(0,E.Z)(f().bool,"The `light` prop for `Tile` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead.")};var R=p().forwardRef((function(e,t){var n,a=e.children,r=e.className,i=e.clicked,o=void 0!==i&&i,h=e.handleClick,f=e.handleKeyDown,g=e.href,v=e.light,b=void 0!==v&&v,y=e.onClick,x=void 0===y?function(){}:y,Z=e.onKeyDown,w=void 0===Z?function(){}:Z,E=(0,d.Z)(e,P),N=(0,_.A)(),S=m()("".concat(N,"--tile"),"".concat(N,"--tile--clickable"),(n={},(0,s.Z)(n,"".concat(N,"--tile--is-clicked"),o),(0,s.Z)(n,"".concat(N,"--tile--light"),b),n),r),I=(0,u.useState)(o),D=(0,l.Z)(I,2),z=D[0],O=D[1],R=h||x,L=f||w;return p().createElement(T.Z,(0,c.Z)({className:S,href:g,onClick:function(e){e.persist(),O(!z),R(e)},onKeyDown:function(e){e.persist(),(0,k.wB)(e,[C.Ce,C.T])&&(e.preventDefault(),O(!z),L(e)),L(e)},ref:t},E),a)}));R.displayName="ClickableTile",R.propTypes={children:f().node,className:f().string,clicked:f().bool,handleClick:(0,E.Z)(f().func,"The handleClick prop for ClickableTile has been deprecated in favor of onClick. It will be removed in the next major release."),handleKeyDown:(0,E.Z)(f().func,"The handleKeyDown prop for ClickableTile has been deprecated in favor of onKeyDown. It will be removed in the next major release."),href:f().string,light:(0,E.Z)(f().bool,"The `light` prop for `ClickableTile` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead."),onClick:f().func,onKeyDown:f().func,rel:f().string};var L=p().forwardRef((function(e,t){var n,a=e.children,r=e.className,i=e.disabled,o=e.handleClick,h=e.handleKeyDown,f=(e.iconDescription,e.id),g=e.light,v=void 0!==g&&g,b=e.name,y=e.onClick,w=void 0===y?function(){}:y,T=e.onChange,E=void 0===T?function(){}:T,N=e.onKeyDown,S=void 0===N?function(){}:N,I=e.selected,P=void 0!==I&&I,z=e.tabIndex,O=void 0===z?0:z,R=e.title,L=void 0===R?"title":R,K=e.value,j=void 0===K?"value":K,M=(0,d.Z)(e,D),A=(0,_.A)(),U=o||w,B=h||S,H=(0,u.useState)(P),F=(0,l.Z)(H,2),V=F[0],q=F[1],G=(0,u.useState)(P),Y=(0,l.Z)(G,2),Q=Y[0],W=Y[1],$=m()("".concat(A,"--tile"),"".concat(A,"--tile--selectable"),(n={},(0,s.Z)(n,"".concat(A,"--tile--is-selected"),V),(0,s.Z)(n,"".concat(A,"--tile--light"),v),(0,s.Z)(n,"".concat(A,"--tile--disabled"),i),n),r),J=m()("".concat(A,"--tile-input"),(0,s.Z)({},"".concat(A,"--tile-input--checked"),V));return P!==Q&&(q(P),W(P)),p().createElement(p().Fragment,null,p().createElement("input",{checked:V,className:J,disabled:i,id:f,name:b,onChange:i?null:function(e){q(e.target.checked),E(e)},ref:t,tabIndex:-1,title:L,type:"checkbox",value:j}),p().createElement("label",(0,c.Z)({className:$,htmlFor:f,onClick:i?null:function(e){e.preventDefault(),e.persist(),q(!V),U(e),E(e)},onKeyDown:i?null:function(e){e.persist(),(0,k.wB)(e,[C.Ce,C.T])&&(e.preventDefault(),q(!V),E(e)),B(e)},tabIndex:i?null:O},M),p().createElement("span",{className:"".concat(A,"--tile__checkmark ").concat(A,"--tile__checkmark--persistent")},V?p().createElement(Z,null):p().createElement(x,null)),p().createElement("span",{className:"".concat(A,"--tile-content")},a)))}));function K(e){var t,n=e.tabIndex,a=e.className,r=e.children,i=e.expanded,o=e.tileMaxHeight,h=e.tilePadding,f=e.onClick,g=e.onKeyUp,v=e.tileCollapsedIconText,b=e.tileExpandedIconText,y=e.tileCollapsedLabel,x=e.tileExpandedLabel,Z=e.onBeforeClick,T=e.light,E=(0,d.Z)(e,z),I=(0,u.useState)(o),P=(0,l.Z)(I,2),D=P[0],O=P[1],R=(0,u.useState)(h),L=(0,l.Z)(R,2),K=L[0],j=L[1],M=(0,u.useState)(i),A=(0,l.Z)(M,2),U=A[0],B=A[1],H=(0,u.useState)(o),F=(0,l.Z)(H,2),V=F[0],q=F[1],G=(0,u.useState)(h),Y=(0,l.Z)(G,2),Q=Y[0],W=Y[1],$=(0,u.useState)(i),J=(0,l.Z)($,2),X=J[0],ee=J[1],te=(0,u.useRef)(null),ne=(0,u.useRef)(null),ae=(0,u.useRef)(null),re=(0,_.A)();function ie(){X&&O(ne.current.getBoundingClientRect().height),O(te.current.getBoundingClientRect().height)}i!==U&&(ee(i),B(i),ie()),o!==V&&(O(o),q(o)),h!==Q&&(j(h),W(h));var oe=m()("".concat(re,"--tile"),"".concat(re,"--tile--expandable"),(t={},(0,s.Z)(t,"".concat(re,"--tile--is-expanded"),X),(0,s.Z)(t,"".concat(re,"--tile--light"),T),t),a),le={maxHeight:X?null:D+K},ce=p().Children.toArray(r);return(0,S.Z)((function(){var e=window.getComputedStyle(ae.current,null),t=te.current.getBoundingClientRect().height,n=parseInt(e.getPropertyValue("padding-top"),10),a=parseInt(e.getPropertyValue("padding-bottom"),10);O(t),j(n+a)}),[]),(0,u.useEffect)((function(){var e=new ResizeObserver((function(e){var t=(0,l.Z)(e,1)[0];O(t.contentRect.height)}));return e.observe(te.current),function(){return e.disconnect()}}),[]),p().createElement("button",(0,c.Z)({type:"button",ref:ae,style:le,className:oe,"aria-expanded":X,title:X?b:v},E,{onKeyUp:(0,N.M)([g,function(e){e.target!==ae.current&&(0,k.wB)(e,[C.Ce,C.T])&&e.preventDefault()}]),onClick:(0,N.M)([f,function(e){Z(e)&&"INPUT"!==e.target.tagName&&(e.persist(),ee(!X),ie(),f&&f(e))}]),tabIndex:n}),p().createElement("div",{ref:ne},p().createElement("div",{ref:te,className:"".concat(re,"--tile-content")},ce[0]),p().createElement("div",{className:"".concat(re,"--tile__chevron")},p().createElement("span",null,X?x:y),p().createElement(w.cRw,null)),p().createElement("div",{className:"".concat(re,"--tile-content")},ce[1])))}L.displayName="SelectableTile",L.propTypes={children:f().node,className:f().string,disabled:f().bool,handleClick:(0,E.Z)(f().func,"The `handleClick` prop for `SelectableTile` has been deprecated in favor of `onClick`. It will be removed in the next major release."),handleKeyDown:(0,E.Z)(f().func,"The `handleKeyDown` prop for `SelectableTile` has been deprecated in favor of `onKeyDown`. It will be removed in the next major release."),iconDescription:(0,E.Z)(f().string,"The `iconDescription` prop for `SelectableTile` is no longer needed and has been deprecated. It will be removed in the next major release."),id:f().string,light:(0,E.Z)(f().bool,"The `light` prop for `SelectableTile` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead."),name:f().string,onChange:f().func,onClick:f().func,onKeyDown:f().func,selected:f().bool,tabIndex:f().number,title:f().string,value:f().oneOfType([f().string,f().number]).isRequired},K.propTypes={children:f().node,className:f().string,expanded:f().bool,id:f().string,light:(0,E.Z)(f().bool,"The `light` prop for `ExpandableTile` is no longer needed and has been deprecated. It will be removed in the next major release. Use the Layer component instead."),onBeforeClick:f().func,onClick:f().func,onKeyUp:f().func,tabIndex:f().number,tileCollapsedIconText:f().string,tileCollapsedLabel:f().string,tileExpandedIconText:f().string,tileExpandedLabel:f().string},K.defaultProps={tabIndex:0,expanded:!1,tileMaxHeight:0,tilePadding:0,onBeforeClick:function(){return!0},onClick:function(){},tileCollapsedIconText:"Interact to expand Tile",tileExpandedIconText:"Interact to collapse Tile"},K.displayName="ExpandableTile";var j=p().forwardRef((function(e,t){var n=e.children,a=(0,_.A)();return p().createElement("span",{ref:t,className:"".concat(a,"--tile-content__above-the-fold")},n)}));j.propTypes={children:f().node},j.displayName="TileAboveTheFoldContent";var M=p().forwardRef((function(e,t){var n=e.children,a=(0,_.A)();return p().createElement("span",{ref:t,className:"".concat(a,"--tile-content__below-the-fold")},n)}));M.propTypes={children:f().node},M.displayName="TileBelowTheFoldContent";var A=n(753),U=n(9249),B=n(7371),H=n(8106),F=n(1987),V=n(5058),q=["children","className","light"],G=["children","href","className","handleClick","handleKeyDown","onClick","onKeyDown","clicked","light"],Y=["children","id","tabIndex","value","name","title","iconDescription","className","handleClick","handleKeyDown","onClick","onChange","onKeyDown","light","disabled","selected"],Q=["tabIndex","className","expanded","tileMaxHeight","tilePadding","handleClick","onKeyUp","tileCollapsedIconText","tileExpandedIconText","tileCollapsedLabel","tileExpandedLabel","onBeforeClick","light"];function W(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,a=(0,V.Z)(e);if(t){var r=(0,V.Z)(this).constructor;n=Reflect.construct(a,arguments,r)}else n=a.apply(this,arguments);return(0,F.Z)(this,n)}}var $=function(e){(0,H.Z)(n,e);var t=W(n);function n(){return(0,U.Z)(this,n),t.apply(this,arguments)}return(0,B.Z)(n,[{key:"render",value:function(){var e=this.context,t=this.props,n=t.children,a=t.className,r=t.light,i=(0,d.Z)(t,q),o=m()("".concat(e,"--tile"),(0,s.Z)({},"".concat(e,"--tile--light"),r),a);return p().createElement("div",(0,c.Z)({className:o},i),n)}}]),n}(u.Component);(0,s.Z)($,"propTypes",{children:f().node,className:f().string,light:f().bool}),(0,s.Z)($,"contextType",_.T),(0,s.Z)($,"defaultProps",{light:!1});var J=function(e){(0,H.Z)(n,e);var t=W(n);function n(){var e;(0,U.Z)(this,n);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r)),(0,s.Z)((0,A.Z)(e),"state",{}),(0,s.Z)((0,A.Z)(e),"handleClick",(function(t){t.persist(),e.setState({clicked:!e.state.clicked},(function(){var n,a,r,i;(null===(n=(a=e.props).handleClick)||void 0===n?void 0:n.call(a,t))||null===(r=(i=e.props).onClick)||void 0===r||r.call(i,t)}))})),(0,s.Z)((0,A.Z)(e),"handleKeyDown",(function(t){var n,a;t.persist(),(0,k.wB)(t,[C.Ce,C.T])?e.setState({clicked:!e.state.clicked},(function(){var n,a;(null===(n=(a=e.props).handleKeyDown)||void 0===n?void 0:n.call(a,t))||e.props.onKeyDown(t)})):(null===(n=(a=e.props).handleKeyDown)||void 0===n?void 0:n.call(a,t))||e.props.onKeyDown(t)})),e}return(0,B.Z)(n,[{key:"render",value:function(){var e,t=this.context,n=this.props,a=n.children,r=n.href,i=n.className,o=(n.handleClick,n.handleKeyDown,n.onClick,n.onKeyDown,n.clicked,n.light),l=(0,d.Z)(n,G),u=m()("".concat(t,"--tile"),"".concat(t,"--tile--clickable"),(e={},(0,s.Z)(e,"".concat(t,"--tile--is-clicked"),this.state.clicked),(0,s.Z)(e,"".concat(t,"--tile--light"),o),e),i);return p().createElement(T.Z,(0,c.Z)({href:r,className:u},l,{onClick:this.handleClick,onKeyDown:this.handleKeyDown}),a)}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.clicked;return t.prevClicked===n?null:{clicked:n,prevClicked:n}}}]),n}(u.Component);function X(e){var t,n=e.children,a=e.id,r=e.tabIndex,i=e.value,o=e.name,h=e.title,f=(e.iconDescription,e.className),g=e.handleClick,v=e.handleKeyDown,b=e.onClick,y=e.onChange,w=e.onKeyDown,T=e.light,E=e.disabled,N=e.selected,S=(0,d.Z)(e,Y),I=(0,_.A)(),P=g||b,D=v||w,z=(0,u.useState)(N),O=(0,l.Z)(z,2),R=O[0],L=O[1],K=(0,u.useRef)(null),j=m()("".concat(I,"--tile"),"".concat(I,"--tile--selectable"),(t={},(0,s.Z)(t,"".concat(I,"--tile--is-selected"),R),(0,s.Z)(t,"".concat(I,"--tile--light"),T),(0,s.Z)(t,"".concat(I,"--tile--disabled"),E),t),f),M=m()("".concat(I,"--tile-input"),(0,s.Z)({},"".concat(I,"--tile-input--checked"),R));return(0,u.useEffect)((function(){L(N)}),[N]),p().createElement(p().Fragment,null,p().createElement("input",{ref:K,tabIndex:-1,id:a,className:M,value:i,onChange:E?null:function(e){L(e.target.checked),y(e)},type:"checkbox",disabled:E,name:o,title:h,checked:R}),p().createElement("label",(0,c.Z)({htmlFor:a,className:j,tabIndex:E?null:r},S,{onClick:E?null:function(e){e.preventDefault(),e.persist(),L(!R),P(e),y(e)},onKeyDown:E?null:function(e){e.persist(),(0,k.wB)(e,[C.Ce,C.T])&&(e.preventDefault(),L(!R),y(e)),D(e)}}),p().createElement("span",{className:"".concat(I,"--tile__checkmark ").concat(I,"--tile__checkmark--persistent")},R?p().createElement(Z,null):p().createElement(x,null)),p().createElement("span",{className:"".concat(I,"--tile-content")},n)))}(0,s.Z)(J,"propTypes",{children:f().node,className:f().string,handleClick:(0,E.Z)(f().func,"The handleClick prop for ClickableTile has been deprecated in favor of onClick. It will be removed in the next major release."),handleKeyDown:(0,E.Z)(f().func,"The handleKeyDown prop for ClickableTile has been deprecated in favor of onKeyDown. It will be removed in the next major release."),href:f().string,light:f().bool,onClick:f().func,onKeyDown:f().func,rel:f().string}),(0,s.Z)(J,"contextType",_.T),(0,s.Z)(J,"defaultProps",{clicked:!1,onClick:function(){},onKeyDown:function(){},light:!1}),X.defaultProps={value:"value",title:"title",selected:!1,tabIndex:0,light:!1,onClick:function(){},onChange:function(){},onKeyDown:function(){}},X.propTypes={children:f().node,className:f().string,disabled:f().bool,handleClick:(0,E.Z)(f().func,"The `handleClick` prop for `SelectableTile` has been deprecated in favor of `onClick`. It will be removed in the next major release."),handleKeyDown:(0,E.Z)(f().func,"The `handleKeyDown` prop for `SelectableTile` has been deprecated in favor of `onKeyDown`. It will be removed in the next major release."),iconDescription:(0,E.Z)(f().string,"The `iconDescription` prop for `SelectableTile` is no longer needed and has been deprecated. It will be removed in the next major release."),id:f().string,light:f().bool,name:f().string,onChange:f().func,onClick:f().func,onKeyDown:f().func,selected:f().bool,tabIndex:f().number,title:f().string,value:f().oneOfType([f().string,f().number]).isRequired};var ee=function(e){(0,H.Z)(n,e);var t=W(n);function n(){var e;(0,U.Z)(this,n);for(var a=arguments.length,r=new Array(a),i=0;i<a;i++)r[i]=arguments[i];return e=t.call.apply(t,[this].concat(r)),(0,s.Z)((0,A.Z)(e),"state",{}),(0,s.Z)((0,A.Z)(e),"resizeObserver",null),(0,s.Z)((0,A.Z)(e),"componentDidMount",(function(){if(e.resizeObserver=new ResizeObserver((function(t){var n=(0,l.Z)(t,1)[0];e.setState({tileMaxHeight:n.contentRect.height})})),e.tile){var t=window.getComputedStyle(e.tile,null);e.aboveTheFold&&(e.resizeObserver.observe(e.aboveTheFold),e.setState({tileMaxHeight:e.aboveTheFold.getBoundingClientRect().height,tilePadding:parseInt(t.getPropertyValue("padding-top"),10)+parseInt(t.getPropertyValue("padding-bottom"),10)}))}})),(0,s.Z)((0,A.Z)(e),"componentDidUpdate",(function(t){t.expanded!==e.props.expanded&&e.setMaxHeight()})),(0,s.Z)((0,A.Z)(e),"setMaxHeight",(function(){(e.state.expanded?e.tileContent:e.aboveTheFold)&&e.setState({tileMaxHeight:e.state.expanded?e.tileContent.getBoundingClientRect().height:e.aboveTheFold.getBoundingClientRect().height})})),(0,s.Z)((0,A.Z)(e),"handleClick",(function(t){e.props.onBeforeClick(t)&&"INPUT"!==t.target.tagName&&(t.persist(),e.setState({expanded:!e.state.expanded},(function(){var n,a,r,i;e.setMaxHeight(),(null===(n=(a=e.props).handleClick)||void 0===n?void 0:n.call(a,t))||null===(r=(i=e.props).onClick)||void 0===r||r.call(i,t)})))})),(0,s.Z)((0,A.Z)(e),"handleKeyUp",(function(t){t.target!==e.tile&&(0,k.wB)(t,[C.Ce,C.T])&&t.preventDefault()})),(0,s.Z)((0,A.Z)(e),"getChildren",(function(){return p().Children.toArray(e.props.children)})),e}return(0,B.Z)(n,[{key:"componentWillUnmount",value:function(){this.resizeObserver&&this.resizeObserver.disconnect()}},{key:"render",value:function(){var e,t=this,n=this.props,a=n.tabIndex,r=n.className,i=(n.expanded,n.tileMaxHeight,n.tilePadding,n.handleClick,n.onKeyUp),o=n.tileCollapsedIconText,l=n.tileExpandedIconText,u=n.tileCollapsedLabel,h=n.tileExpandedLabel,f=(n.onBeforeClick,n.light),g=(0,d.Z)(n,Q),v=this.context,b=this.state.expanded,y=m()("".concat(v,"--tile"),"".concat(v,"--tile--expandable"),(e={},(0,s.Z)(e,"".concat(v,"--tile--is-expanded"),b),(0,s.Z)(e,"".concat(v,"--tile--light"),f),e),r),x={maxHeight:b?null:this.state.tileMaxHeight+this.state.tilePadding},Z=this.getChildren();return p().createElement("button",(0,c.Z)({type:"button",ref:function(e){t.tile=e},style:x,className:y,"aria-expanded":b,title:b?l:o},g,{onKeyUp:(0,N.M)([i,this.handleKeyUp]),onClick:this.handleClick,tabIndex:a}),p().createElement("div",{ref:function(e){t.tileContent=e}},p().createElement("div",{ref:function(e){t.aboveTheFold=e},className:"".concat(v,"--tile-content")},Z[0]),p().createElement("div",{className:"".concat(v,"--tile__chevron")},p().createElement("span",null,b?h:u),p().createElement(w.cRw,null)),p().createElement("div",{className:"".concat(v,"--tile-content")},Z[1])))}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=e.expanded,a=e.tileMaxHeight,r=e.tilePadding,i=t.prevExpanded,o=t.prevTileMaxHeight,l=t.prevTilePadding,c=t.expanded,s=t.tileMaxHeight,d=t.tilePadding,u=i!==n,p=o!==a,h=l!==r;return u||p||h?{expanded:u?n:c,tileMaxHeight:p?a:s,tilePadding:h?r:d,prevExpanded:n,prevTileMaxHeight:a,prevTilePadding:r}:null}}]),n}(u.Component);(0,s.Z)(ee,"propTypes",{children:f().node,className:f().string,expanded:f().bool,handleClick:(0,E.Z)(f().func,"The handleClick prop for ExpandableTile has been deprecated in favor of onClick. It will be removed in the next major release."),id:f().string,light:f().bool,onBeforeClick:f().func,onClick:f().func,onKeyUp:f().func,tabIndex:f().number,tileCollapsedIconText:f().string,tileCollapsedLabel:f().string,tileExpandedIconText:f().string,tileExpandedLabel:f().string}),(0,s.Z)(ee,"contextType",_.T),(0,s.Z)(ee,"defaultProps",{tabIndex:0,expanded:!1,tileMaxHeight:0,tilePadding:0,onBeforeClick:function(){return!0},onClick:function(){},tileCollapsedIconText:"Interact to expand Tile",tileExpandedIconText:"Interact to collapse Tile",light:!1});var te=function(e){(0,H.Z)(n,e);var t=W(n);function n(){return(0,U.Z)(this,n),t.apply(this,arguments)}return(0,B.Z)(n,[{key:"render",value:function(){var e=this.context,t=this.props.children;return p().createElement("span",{className:"".concat(e,"--tile-content__above-the-fold")},t)}}]),n}(u.Component);(0,s.Z)(te,"propTypes",{children:f().node}),(0,s.Z)(te,"contextType",_.T);var ne=function(e){(0,H.Z)(n,e);var t=W(n);function n(){return(0,U.Z)(this,n),t.apply(this,arguments)}return(0,B.Z)(n,[{key:"render",value:function(){var e=this.props.children,t=this.context;return p().createElement("span",{className:"".concat(t,"--tile-content__below-the-fold")},e)}}]),n}(u.Component);(0,s.Z)(ne,"propTypes",{children:f().node}),(0,s.Z)(ne,"contextType",_.T);var ae=o.am("enable-v11-release")?O:$;o.am("enable-v11-release"),o.am("enable-v11-release"),o.am("enable-v11-release"),o.am("enable-v11-release"),o.am("enable-v11-release")},1223:(e,t,n)=>{"use strict";n.d(t,{Z:()=>r});var a=n(9902);const r="undefined"!=typeof window?a.useLayoutEffect:a.useEffect},5047:e=>{var t=function(e){"use strict";var t,n=Object.prototype,a=n.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},i=r.iterator||"@@iterator",o=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{c({},"")}catch(e){c=function(e,t,n){return e[t]=n}}function s(e,t,n,a){var r=t&&t.prototype instanceof m?t:m,i=Object.create(r.prototype),o=new _(a||[]);return i._invoke=function(e,t,n){var a=u;return function(r,i){if(a===h)throw new Error("Generator is already running");if(a===f){if("throw"===r)throw i;return I()}for(n.method=r,n.arg=i;;){var o=n.delegate;if(o){var l=C(o,n);if(l){if(l===g)continue;return l}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(a===u)throw a=f,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);a=h;var c=d(e,t,n);if("normal"===c.type){if(a=n.done?f:p,c.arg===g)continue;return{value:c.arg,done:n.done}}"throw"===c.type&&(a=f,n.method="throw",n.arg=c.arg)}}}(e,n,o),i}function d(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}e.wrap=s;var u="suspendedStart",p="suspendedYield",h="executing",f="completed",g={};function m(){}function v(){}function b(){}var y={};c(y,i,(function(){return this}));var x=Object.getPrototypeOf,Z=x&&x(x(S([])));Z&&Z!==n&&a.call(Z,i)&&(y=Z);var w=b.prototype=m.prototype=Object.create(y);function T(e){["next","throw","return"].forEach((function(t){c(e,t,(function(e){return this._invoke(t,e)}))}))}function k(e,t){function n(r,i,o,l){var c=d(e[r],e,i);if("throw"!==c.type){var s=c.arg,u=s.value;return u&&"object"==typeof u&&a.call(u,"__await")?t.resolve(u.__await).then((function(e){n("next",e,o,l)}),(function(e){n("throw",e,o,l)})):t.resolve(u).then((function(e){s.value=e,o(s)}),(function(e){return n("throw",e,o,l)}))}l(c.arg)}var r;this._invoke=function(e,a){function i(){return new t((function(t,r){n(e,a,t,r)}))}return r=r?r.then(i,i):i()}}function C(e,n){var a=e.iterator[n.method];if(a===t){if(n.delegate=null,"throw"===n.method){if(e.iterator.return&&(n.method="return",n.arg=t,C(e,n),"throw"===n.method))return g;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return g}var r=d(a,e.iterator,n.arg);if("throw"===r.type)return n.method="throw",n.arg=r.arg,n.delegate=null,g;var i=r.arg;return i?i.done?(n[e.resultName]=i.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,g):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,g)}function E(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function _(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(E,this),this.reset(!0)}function S(e){if(e){var n=e[i];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var r=-1,o=function n(){for(;++r<e.length;)if(a.call(e,r))return n.value=e[r],n.done=!1,n;return n.value=t,n.done=!0,n};return o.next=o}}return{next:I}}function I(){return{value:t,done:!0}}return v.prototype=b,c(w,"constructor",b),c(b,"constructor",v),v.displayName=c(b,l,"GeneratorFunction"),e.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},e.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,b):(e.__proto__=b,c(e,l,"GeneratorFunction")),e.prototype=Object.create(w),e},e.awrap=function(e){return{__await:e}},T(k.prototype),c(k.prototype,o,(function(){return this})),e.AsyncIterator=k,e.async=function(t,n,a,r,i){void 0===i&&(i=Promise);var o=new k(s(t,n,a,r),i);return e.isGeneratorFunction(n)?o:o.next().then((function(e){return e.done?e.value:o.next()}))},T(w),c(w,l,"Generator"),c(w,i,(function(){return this})),c(w,"toString",(function(){return"[object Generator]"})),e.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var a=t.pop();if(a in e)return n.value=a,n.done=!1,n}return n.done=!0,n}},e.values=S,_.prototype={constructor:_,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(a,r){return l.type="throw",l.arg=e,n.next=a,r&&(n.method="next",n.arg=t),!!r}for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i],l=o.completion;if("root"===o.tryLoc)return r("end");if(o.tryLoc<=this.prev){var c=a.call(o,"catchLoc"),s=a.call(o,"finallyLoc");if(c&&s){if(this.prev<o.catchLoc)return r(o.catchLoc,!0);if(this.prev<o.finallyLoc)return r(o.finallyLoc)}else if(c){if(this.prev<o.catchLoc)return r(o.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<o.finallyLoc)return r(o.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,g):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),g},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),g}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var a=n.completion;if("throw"===a.type){var r=a.arg;N(n)}return r}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,a){return this.delegate={iterator:S(e),resultName:n,nextLoc:a},"next"===this.method&&(this.arg=t),g}},e}(e.exports);try{regeneratorRuntime=t}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}},9571:(e,t,n)=>{"use strict";var a;n.d(t,{Z:()=>d});var r=new Uint8Array(16);function i(){if(!a&&!(a="undefined"!=typeof crypto&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||"undefined"!=typeof msCrypto&&"function"==typeof msCrypto.getRandomValues&&msCrypto.getRandomValues.bind(msCrypto)))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return a(r)}const o=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,l=function(e){return"string"==typeof e&&o.test(e)};for(var c=[],s=0;s<256;++s)c.push((s+256).toString(16).substr(1));const d=function(e,t,n){var a=(e=e||{}).random||(e.rng||i)();if(a[6]=15&a[6]|64,a[8]=63&a[8]|128,t){n=n||0;for(var r=0;r<16;++r)t[n+r]=a[r];return t}return function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=(c[e[t+0]]+c[e[t+1]]+c[e[t+2]]+c[e[t+3]]+"-"+c[e[t+4]]+c[e[t+5]]+"-"+c[e[t+6]]+c[e[t+7]]+"-"+c[e[t+8]]+c[e[t+9]]+"-"+c[e[t+10]]+c[e[t+11]]+c[e[t+12]]+c[e[t+13]]+c[e[t+14]]+c[e[t+15]]).toLowerCase();if(!l(n))throw TypeError("Stringified UUID is invalid");return n}(a)}},2303:(e,t,n)=>{"use strict";n.d(t,{Z:()=>c});var a,r,i=n(9857),o=function(){return o=Object.assign||function(e){for(var t,n=1,a=arguments.length;n<a;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.apply(this,arguments)},l=function(e){return"function"==typeof e[1]?[e[0],e[1],e[2]||{}]:[e[0],null,(null===e[1]?e[2]:e[1])||{}]},c=(a=i.ZP,r=function(e){return function(t,n,a){return a.revalidateOnFocus=!1,a.revalidateIfStale=!1,a.revalidateOnReconnect=!1,e(t,n,a)}},function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];var n=l(e),i=n[0],c=n[1],s=n[2],d=(s.use||[]).concat(r);return a(i,c,o(o({},s),{use:d}))})}}]);
|
|
3
|
+
//# sourceMappingURL=707.js.map
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/*! *****************************************************************************
|
|
2
|
+
Copyright (c) Microsoft Corporation.
|
|
3
|
+
|
|
4
|
+
Permission to use, copy, modify, and/or distribute this software for any
|
|
5
|
+
purpose with or without fee is hereby granted.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
|
8
|
+
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
9
|
+
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
10
|
+
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
11
|
+
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
|
12
|
+
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
13
|
+
PERFORMANCE OF THIS SOFTWARE.
|
|
14
|
+
***************************************************************************** */
|