@brightspot/ui 6.0.5 → 6.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/storybook/assets/{ActionBar.stories-BSwwf2PX.js → ActionBar.stories-BI_iTJEQ.js} +1 -1
- package/dist/storybook/assets/{ActionItem.stories-SCIA5Rt0.js → ActionItem.stories-BJWzexGS.js} +1 -1
- package/dist/storybook/assets/{AiSparkle.stories-ByeiNU3G.js → AiSparkle.stories-DaA5HO3d.js} +1 -1
- package/dist/storybook/assets/{Avatar.stories-1EUJytBr.js → Avatar.stories-Dw8QVNJ-.js} +1 -1
- package/dist/storybook/assets/{AvatarGroup.stories-Bstlt4go.js → AvatarGroup.stories-BsNMLTiE.js} +1 -1
- package/dist/storybook/assets/{Badge.stories-X7m0Vl2G.js → Badge.stories-GY-ektak.js} +1 -1
- package/dist/storybook/assets/{Banner.stories-ljxjOtEc.js → Banner.stories-Bg9VB-Fy.js} +1 -1
- package/dist/storybook/assets/{Button-Dbpmp5Ih.js → Button-BOLW3-O-.js} +1 -1
- package/dist/storybook/assets/{Button.stories-C5qS3rIw.js → Button.stories-DMRHEd8n.js} +1 -1
- package/dist/storybook/assets/{ButtonGroup.stories-Bl1Ko9jX.js → ButtonGroup.stories-B2gFm6tD.js} +1 -1
- package/dist/storybook/assets/{Card.stories-CfFIzXg5.js → Card.stories-CLdjETEv.js} +1 -1
- package/dist/storybook/assets/{Celebrate.stories-TSJrIQR8.js → Celebrate.stories-navEPsY4.js} +1 -1
- package/dist/storybook/assets/{Checkbox.stories-DUpT9Iwh.js → Checkbox.stories-5VfpC9R_.js} +1 -1
- package/dist/storybook/assets/{CircularProgress.stories-usNosiIU.js → CircularProgress.stories-BI1KFT4i.js} +1 -1
- package/dist/storybook/assets/{ClipboardMixin.stories-0jnZ0Drs.js → ClipboardMixin.stories-DLqRNEnd.js} +1 -1
- package/dist/storybook/assets/{Color-6BZIO3FS-C6ecAOER.js → Color-6BZIO3FS-BYF_b3cm.js} +1 -1
- package/dist/storybook/assets/{Colors.stories-DcbIlkPs.js → Colors.stories-DymlImN1.js} +1 -1
- package/dist/storybook/assets/{CombinedEffects.stories-CU-hwRPT.js → CombinedEffects.stories-BcAx9THm.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin-Dcz-J-hg.js → ComponentStatesMixin-D77sglBs.js} +1 -1
- package/dist/storybook/assets/{ComponentStatesMixin.stories-orhdmIUX.js → ComponentStatesMixin.stories-BFUmXPbv.js} +1 -1
- package/dist/storybook/assets/{CopyToClipboard.stories-D1R2yCQL.js → CopyToClipboard.stories-CLP60X8y.js} +1 -1
- package/dist/storybook/assets/{Debounce.stories-6z8aEn7O.js → Debounce.stories-CDlv8D8Q.js} +1 -1
- package/dist/storybook/assets/{DocsRenderer-LL677BLK-B-fTNYB5.js → DocsRenderer-LL677BLK-DU2JYRwe.js} +3 -3
- package/dist/storybook/assets/{Dropdown.stories-CeVpVPrP.js → Dropdown.stories-CJ-QjUYp.js} +1 -1
- package/dist/storybook/assets/{EmptyState.stories-DdCyApUP.js → EmptyState.stories-HQi_rzX2.js} +1 -1
- package/dist/storybook/assets/{EscaAvatar.stories-DNK85ssI.js → EscaAvatar.stories-BLqoZyr7.js} +1 -1
- package/dist/storybook/assets/{Events.stories-B1qeq2wy.js → Events.stories-CvSn4RPH.js} +1 -1
- package/dist/storybook/assets/{Heading.stories-DRu5hUyJ.js → Heading.stories-MR-daawc.js} +1 -1
- package/dist/storybook/assets/{HueRipple.stories-D3zqVZWM.js → HueRipple.stories-P4LiNUpZ.js} +1 -1
- package/dist/storybook/assets/{Icon.stories-CKG5fIIH.js → Icon.stories-h5P6rJQP.js} +1 -1
- package/dist/storybook/assets/{IconButton.stories-B3RZKBqV.js → IconButton.stories-Cc0vzr28.js} +1 -1
- package/dist/storybook/assets/{LinearProgress.stories-BPvFKGi0.js → LinearProgress.stories-yTIIcK9O.js} +1 -1
- package/dist/storybook/assets/{Message.stories-Dq3YDccT.js → Message.stories-BbFPAVCt.js} +1 -1
- package/dist/storybook/assets/{OnFindMixin.stories-qKTooUKN.js → OnFindMixin.stories-BAWi3mlB.js} +1 -1
- package/dist/storybook/assets/{Pagination.stories-BaFWcckS.js → Pagination.stories-DJ-6-aNd.js} +1 -1
- package/dist/storybook/assets/{Popover.stories-DlHlfWrk.js → Popover.stories-D9CilGw-.js} +1 -1
- package/dist/storybook/assets/{ReadyMixin-BQ-q8NO4.js → ReadyMixin-B6XKdlIG.js} +1 -1
- package/dist/storybook/assets/{RovingTabindexMixin.stories-CQkteE6h.js → RovingTabindexMixin.stories-CPJ_6oiA.js} +1 -1
- package/dist/storybook/assets/{Rtc.stories-BWBDrPM8.js → Rtc.stories-DcWHMr_7.js} +1 -1
- package/dist/storybook/assets/{ScrollShadow.stories-BtM7Q6Ys.js → ScrollShadow.stories-DH6wJQFV.js} +1 -1
- package/dist/storybook/assets/{Switch.stories-Ys6MzOf7.js → Switch.stories-Cl9xPGbR.js} +1 -1
- package/dist/storybook/assets/{Tab.stories-CNIDOscR.js → Tab.stories-BAhU8vUi.js} +1 -1
- package/dist/storybook/assets/{Tabs.stories-oAxuRqKE.js → Tabs.stories-CLRPMg6P.js} +1 -1
- package/dist/storybook/assets/{Throttle.stories-D2nPrZEL.js → Throttle.stories-BbONS-V4.js} +1 -1
- package/dist/storybook/assets/{Tooltip.stories-DJhjWYNV.js → Tooltip.stories-B6s8TQSb.js} +1 -1
- package/dist/storybook/assets/{Upload.stories-DBveASQF.js → Upload.stories-D0C25uui.js} +1 -1
- package/dist/storybook/assets/{UploadItem.stories-Co5bGJs6.js → UploadItem.stories-DL6N7vsq.js} +1 -1
- package/dist/storybook/assets/{Welcome.stories-Cls_kv8A.js → Welcome.stories-BK4n0XMp.js} +1 -1
- package/dist/storybook/assets/{Widget.stories-CXpqw5z8.js → Widget.stories-Cy9frwq3.js} +1 -1
- package/dist/storybook/assets/{WithTooltip-65CFNBJE-Ik6o5Ygb.js → WithTooltip-65CFNBJE-BuwTEXTQ.js} +1 -1
- package/dist/storybook/assets/{blocks-DjXAnVrm.js → blocks-BLujz-58.js} +5 -5
- package/dist/storybook/assets/{formatter-EIJCOSYU-CQXaWVan.js → formatter-EIJCOSYU-B1sNuUky.js} +1 -1
- package/dist/storybook/assets/if-defined-D7P78rGH.js +1 -0
- package/dist/storybook/assets/{iframe-D43T7JCn.js → iframe-D1g1spfw.js} +3 -3
- package/dist/storybook/assets/{index-DIk8fbbl.js → index-C6O8j27b.js} +1 -1
- package/dist/storybook/assets/onFind-ZJa5FYZA.js +1 -0
- package/dist/storybook/assets/{onFind.stories-DgxMtTTG.js → onFind.stories-rDFDR12f.js} +16 -16
- package/dist/storybook/assets/{onRemove.stories-DltMfNLX.js → onRemove.stories-Cmk4GOI5.js} +1 -1
- package/dist/storybook/assets/{onVisible.stories-x3VhGAuF.js → onVisible.stories-RZ3Q87MG.js} +1 -1
- package/dist/storybook/assets/{style-map-C5J-rKx9.js → style-map-DS-2jfV3.js} +1 -1
- package/dist/storybook/assets/{syntaxhighlighter-ED5Y7EFY-CphVNry2.js → syntaxhighlighter-ED5Y7EFY-C5m4nzeD.js} +1 -1
- package/dist/storybook/iframe.html +1 -1
- package/dist/storybook/project.json +1 -1
- package/dist/util/onFind.d.ts.map +1 -1
- package/dist/util/onFind.js +18 -5
- package/dist/util/onFind.js.map +1 -1
- package/package.json +1 -1
- package/src/legacy/tool-ui/src/ContentEdit.css +1 -1
- package/src/legacy/tool-ui/src/ContentInputGroup.css +15 -13
- package/src/legacy/tool-ui/src/Conversation.ts +130 -136
- package/src/legacy/tool-ui/src/Entry.ts +35 -0
- package/src/legacy/tool-ui/src/Page.css +4 -2
- package/src/legacy/tool-ui/src/Widget.css +2 -2
- package/src/legacy/tool-ui/src/dom/onFind.ts +22 -5
- package/src/legacy/tool-ui/src/main/webapp/dist/4795.beae23779e30c55c6f6a.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/Appetizeio.73eedd6a3761e060bc96.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/CISpectrum.934683148936d8e35f1d.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.9313166310108234934c.js +500 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/TimedContent.e7c0eb6a9e39982cd58f.js +1 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v4.623480353a5aac2beab1.js → v4.f659cae67f92dbc8160f.js} +4 -4
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.5eac97ec93d474fa6085.css +5 -0
- package/src/legacy/tool-ui/src/main/webapp/dist/{v5.1283d26d374a3deb15a2.js → v5.9d58fa5b144e53cef35a.js} +5 -5
- package/src/legacy/tool-ui/src/v5.ts +5 -0
- package/dist/storybook/assets/if-defined-BVO6TNCy.js +0 -1
- package/dist/storybook/assets/onFind-CamigPPi.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/4795.034ebc93a67b7a3d6536.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/Appetizeio.185641211f7c0e42a455.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/CISpectrum.74db7dc80b3a6797a167.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/RTEProseMirror.1b453045ff46203bbf72.js +0 -500
- package/src/legacy/tool-ui/src/main/webapp/dist/TimedContent.4bb4dc83ffbe4019dd7b.js +0 -1
- package/src/legacy/tool-ui/src/main/webapp/dist/v5.cb6c1a38c5ba7fa9ea93.css +0 -5
- /package/src/legacy/tool-ui/src/main/webapp/dist/{RTEProseMirror.1b453045ff46203bbf72.js.LICENSE.txt → RTEProseMirror.9313166310108234934c.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v4.623480353a5aac2beab1.js.LICENSE.txt → v4.f659cae67f92dbc8160f.js.LICENSE.txt} +0 -0
- /package/src/legacy/tool-ui/src/main/webapp/dist/{v5.1283d26d374a3deb15a2.js.LICENSE.txt → v5.9d58fa5b144e53cef35a.js.LICENSE.txt} +0 -0
|
@@ -1694,6 +1694,9 @@ onFind(
|
|
|
1694
1694
|
)
|
|
1695
1695
|
if (!mobileHeader) return
|
|
1696
1696
|
|
|
1697
|
+
const pageMain = mobileHeader.closest<HTMLElement>('.Page-main')
|
|
1698
|
+
pageMain?.classList.remove('is-headerScrolled')
|
|
1699
|
+
|
|
1697
1700
|
contentEdit.addEventListener(
|
|
1698
1701
|
'scroll',
|
|
1699
1702
|
throttle(100, () => {
|
|
@@ -1706,11 +1709,13 @@ onFind(
|
|
|
1706
1709
|
!mobileHeader.classList.contains('is-scrolled')
|
|
1707
1710
|
) {
|
|
1708
1711
|
mobileHeader.classList.add('is-scrolled')
|
|
1712
|
+
pageMain?.classList.add('is-headerScrolled')
|
|
1709
1713
|
} else if (
|
|
1710
1714
|
scrollTop <= 10 &&
|
|
1711
1715
|
mobileHeader.classList.contains('is-scrolled')
|
|
1712
1716
|
) {
|
|
1713
1717
|
mobileHeader.classList.remove('is-scrolled')
|
|
1718
|
+
pageMain?.classList.remove('is-headerScrolled')
|
|
1714
1719
|
}
|
|
1715
1720
|
}),
|
|
1716
1721
|
)
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{E as r}from"./iframe-D43T7JCn.js";const m=o=>o??r;export{m as o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Q as W}from"./iframe-D43T7JCn.js";var L={exports:{}},K=L.exports,I;function V(){return I||(I=1,(function(s){(function(t,e){s.exports?s.exports=e():t.log=e()})(K,function(){var t=function(){},e="undefined",c=typeof window!==e&&typeof window.navigator!==e&&/Trident\/|MSIE /.test(window.navigator.userAgent),o=["trace","debug","info","warn","error"],n={},a=null;function v(i,u){var r=i[u];if(typeof r.bind=="function")return r.bind(i);try{return Function.prototype.bind.call(r,i)}catch{return function(){return Function.prototype.apply.apply(r,[i,arguments])}}}function U(){console.log&&(console.log.apply?console.log.apply(console,arguments):Function.prototype.apply.apply(console.log,[console,arguments])),console.trace&&console.trace()}function P(i){return i==="debug"&&(i="log"),typeof console===e?!1:i==="trace"&&c?U:console[i]!==void 0?v(console,i):console.log!==void 0?v(console,"log"):t}function y(){for(var i=this.getLevel(),u=0;u<o.length;u++){var r=o[u];this[r]=u<i?t:this.methodFactory(r,i,this.name)}if(this.log=this.debug,typeof console===e&&i<this.levels.SILENT)return"No console available for logging"}function q(i){return function(){typeof console!==e&&(y.call(this),this[i].apply(this,arguments))}}function z(i,u,r){return P(i)||q.apply(this,arguments)}function T(i,u){var r=this,m,k,h,g="loglevel";typeof i=="string"?g+=":"+i:typeof i=="symbol"&&(g=void 0);function D(l){var f=(o[l]||"silent").toUpperCase();if(!(typeof window===e||!g)){try{window.localStorage[g]=f;return}catch{}try{window.document.cookie=encodeURIComponent(g)+"="+f+";"}catch{}}}function x(){var l;if(!(typeof window===e||!g)){try{l=window.localStorage[g]}catch{}if(typeof l===e)try{var f=window.document.cookie,w=encodeURIComponent(g),C=f.indexOf(w+"=");C!==-1&&(l=/^([^;]+)/.exec(f.slice(C+w.length+1))[1])}catch{}return r.levels[l]===void 0&&(l=void 0),l}}function $(){if(!(typeof window===e||!g)){try{window.localStorage.removeItem(g)}catch{}try{window.document.cookie=encodeURIComponent(g)+"=; expires=Thu, 01 Jan 1970 00:00:00 UTC"}catch{}}}function b(l){var f=l;if(typeof f=="string"&&r.levels[f.toUpperCase()]!==void 0&&(f=r.levels[f.toUpperCase()]),typeof f=="number"&&f>=0&&f<=r.levels.SILENT)return f;throw new TypeError("log.setLevel() called with invalid level: "+l)}r.name=i,r.levels={TRACE:0,DEBUG:1,INFO:2,WARN:3,ERROR:4,SILENT:5},r.methodFactory=u||z,r.getLevel=function(){return h??k??m},r.setLevel=function(l,f){return h=b(l),f!==!1&&D(h),y.call(r)},r.setDefaultLevel=function(l){k=b(l),x()||r.setLevel(l,!1)},r.resetLevel=function(){h=null,$(),y.call(r)},r.enableAll=function(l){r.setLevel(r.levels.TRACE,l)},r.disableAll=function(l){r.setLevel(r.levels.SILENT,l)},r.rebuild=function(){if(a!==r&&(m=b(a.getLevel())),y.call(r),a===r)for(var l in n)n[l].rebuild()},m=b(a?a.getLevel():"WARN");var F=x();F!=null&&(h=b(F)),y.call(r)}a=new T,a.getLogger=function(u){if(typeof u!="symbol"&&typeof u!="string"||u==="")throw new TypeError("You must supply a name when creating a logger.");var r=n[u];return r||(r=n[u]=new T(u,a.methodFactory)),r};var _=typeof window!==e?window.log:void 0;return a.noConflict=function(){return typeof window!==e&&window.log===a&&(window.log=_),a},a.getLoggers=function(){return n},a.default=a,a})})(L)),L.exports}var Y=V();const G=W(Y),R=Symbol.for("brightspot.onFind");let p;function d(){return p||(p=globalThis[R],p||(p={calledIndex:0,callbacks:[],blacklist:[],triggerPaused:!1,triggerOnResume:!1,triggerAll:!1,triggerElements:[],triggerFrame:0,initialized:!1},globalThis[R]=p),p)}class J{#r;#e;#t;#i;#n;constructor(t,e,c){this.#r=t,this.#e=`data-ofc${d().calledIndex++}`,Array.isArray(e)||(e=[e]),this.#t=e.map(e.some(n=>n.indexOf(",")>-1)?n=>n:n=>`${n}:not([${this.#e}])`).join(","),this.#i=c;const o=e.map(n=>n.trim()).filter(n=>n.indexOf(" ")<0&&n.indexOf(",")<0);o.length===e.length&&(this.#n=o)}addTriggerElements(t,e){if(this.#r.contains(e)){e.matches(this.#t)&&t.push(e);for(const c of e.querySelectorAll(this.#t))t.push(c)}}trigger(t){if(document.readyState!=="loading")if(this.#n&&Array.isArray(t))for(const e of t)this.#n.some(c=>e.matches(c))&&this.#o(e);else for(const e of this.#r.querySelectorAll(this.#t))this.#o(e)}#o(t){if(!N(t)&&!t.hasAttribute(this.#e)){t.setAttribute(this.#e,"");try{this.#i(t)}catch(e){G.error("Failed callback!",t,e)}}}}function N(s){if(!(s instanceof Element))return!1;const{blacklist:t}=d();return t.length>0&&t.some(e=>s.closest(e)!==null)}const S=Array.prototype.every,O=s=>s.nodeType===Node.TEXT_NODE;function A(s){const t=d();if(t.triggerPaused){t.triggerOnResume=!0;return}const e=Array.isArray(s),c=[];if(e){for(const o of s){const n=o.target;if(!N(n))switch(o.type){case"attributes":o.oldValue!==n.getAttribute(o.attributeName)&&c.push(o);break;case"childList":(!S.call(o.addedNodes,O)||!S.call(o.removedNodes,O))&&c.push(o);break}}if(c.length===0)return}if(c.length>500&&(t.triggerAll=!0),!t.triggerAll)if(e)for(const o of c){const n=o.target;switch(o.type){case"attributes":t.triggerElements.push(n);break;case"childList":for(const a of t.callbacks)a.addTriggerElements(t.triggerElements,n);break}}else t.triggerAll=!0;(t.triggerAll||t.triggerElements.length>0)&&!t.triggerFrame&&(t.triggerFrame=window.requestAnimationFrame(()=>{const o=t.triggerAll?void 0:t.triggerElements;t.triggerAll=!1,t.triggerElements=[],t.triggerFrame=0,t.callbacks.forEach(n=>n.trigger(o))}))}function M(){A(),new MutationObserver(A).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function Q(){const s=d();s.initialized||(s.initialized=!0,document.readyState==="loading"?document.addEventListener("DOMContentLoaded",M):M())}function E(s,t,e){Q();let c,o;typeof e<"u"?(c=s,o=t):(c=document,o=s,e=t);const n=new J(c,o,e);return n.trigger(),d().callbacks.push(n),()=>{const{callbacks:a}=d(),v=a.indexOf(n);v!==-1&&a.splice(v,1)}}E.triggerCallbacks=A;E.pause=()=>{d().triggerPaused=!0};E.resume=()=>{const s=d();s.triggerPaused=!1,s.triggerOnResume&&(s.triggerOnResume=!1,setTimeout(A,100))};E.ignore=(...s)=>{const{blacklist:t}=d();for(const e of s){try{document.querySelector(e)}catch{continue}t.includes(e)||t.push(e)}};export{G as l,E as o};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkbrightspot_cms=self.webpackChunkbrightspot_cms||[]).push([[4795],{99022(e,t,n){n.d(t,{A:()=>g});var r=n(83394),i=(n(44764),n(26594));function o(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function s(e,t){return e.get(c(e,t))}function a(e,t,n){return e.set(c(e,t),n),n}function c(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap;function h(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function p(e,t,n){return e.set(w(e,t),n),n}function m(e,t){return e.get(w(e,t))}function w(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var v=new WeakMap,y=new WeakMap;class g{static get toggles(){return w(g,this,A)._}static toggle(e,t,n){let i,o="boolean"==typeof n&&n;function s(e){return"function"==typeof e}if(s(n)&&(i=n,o=i()),o){const o=new g(e,t);let a;s(n)&&window.addEventListener("click",a=(0,r.A)(n=>{if(!(n instanceof Event))return;const r=n.target;if(r instanceof HTMLElement&&!e.contains(r)&&!t.contains(r)){const t=r.closest("[data-tether-rx]");t&&!t.contains(e)||(i(),void 0!==a&&window.removeEventListener("click",a,!0),o.destroy(),A._.delete(e))}}),!0),A._.set(e,{tether:o,closeListener:a})}else{const t=A._.get(e);t&&(void 0!==t.closeListener&&window.removeEventListener("click",t.closeListener,!0),t.tether.destroy(),A._.delete(e))}return o}static getReference(e){for(const t of b._.tethers)if(m(y,t)===e)return m(v,t);return null}get element(){return m(y,this)}get reference(){return m(v,this)}constructor(e,t){h(this,v,void 0),h(this,y,void 0),p(v,this,e),p(y,this,t),e.classList.contains("ComboInput")&&!t.parentElement?.hasAttribute("data-tether-anchor")&&(null!==e.closest("dialog")?e.closest("dialog")?.append(t):null===e.closest(".Popup")?document.querySelector(".Page")?.append(t):e.closest(".Popup")?.append(t)),b._.add(this)}destroy(){b._.remove(this)}}var b={_:new class{constructor(){o(this,l,void 0),o(this,u,void 0),o(this,d,void 0),o(this,f,void 0),a(l,this,new WeakMap),a(u,this,[]),a(f,this,null),a(d,this,(0,i.A)(this.updateImmediately.bind(this)))}get tethers(){return s(u,this)}add(e){s(u,this).push(e),this.start()}remove(e){const t=s(u,this),n=t.indexOf(e);n>-1&&t.splice(n,1),t.length<0&&this.stop()}start(){this.updateImmediately(),null===s(f,this)&&(window.addEventListener("resize",s(d,this),!0),window.addEventListener("scroll",s(d,this),!0),a(f,this,setInterval(s(d,this),50)))}stop(){null!==s(f,this)&&(window.removeEventListener("resize",s(d,this)),window.removeEventListener("scroll",s(d,this)),clearInterval(s(f,this)),a(f,this,null))}updateImmediately(){const e=s(u,this);if(0===e.length)return;const t=[],n=document.documentElement;let r=n.clientWidth/2,i=n.clientHeight/2;const o="rtl"===n.dir;for(const s of e){const e=s.element,a=s.reference.getBoundingClientRect(),c=a.width,l=a.height;if(0===c&&0===l)continue;let u,d=a.top,f=a.left,h=n.clientWidth;if(e.parentElement?.hasAttribute("popover")){d=s.reference.offsetTop,f=s.reference.offsetLeft;const t=e.parentElement;h=t.clientWidth,r=h/2,i=t.clientHeight/2}let p=f;if(o){const e=h-f-c;p=e,u=e<r?"l":"r"}else u=f<r?"l":"r";t.push({element:e,x:u,y:d+l/2<i?"t":"b",l:`${p}px`,w:`${c}px`,t:`${d}px`,h:`${l}px`})}for(const e of t){const t=e.element,n=s(l,this).get(t)||{},r=t.style;e.x!==n.x&&t.setAttribute("data-tether-rx",e.x),e.y!==n.y&&t.setAttribute("data-tether-ry",e.y),e.l!==n.l&&r.setProperty("--Tether-rl",e.l),e.w!==n.w&&r.setProperty("--Tether-rw",e.w),e.t!==n.t&&r.setProperty("--Tether-rt",e.t),e.h!==n.h&&r.setProperty("--Tether-rh",e.h),s(l,this).set(t,e)}}}},A={_:new WeakMap}},55408(e,t,n){n.d(t,{A:()=>g});var r=n(96203),i=(n(57573),n(39403));function o(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function s(e,t){return e.get(c(e,t))}function a(e,t,n){return e.set(c(e,t),n),n}function c(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var l=new WeakMap,u=new WeakMap,d=new WeakMap,f=new WeakMap;function h(e,t,n){(function(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")})(e,t),t.set(e,n)}function p(e,t,n){return e.set(w(e,t),n),n}function m(e,t){return e.get(w(e,t))}function w(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}var v=new WeakMap,y=new WeakMap;class g{static get toggles(){return w(g,this,A)._}static toggle(e,t,n){let i,o="boolean"==typeof n&&n;function s(e){return"function"==typeof e}if(s(n)&&(i=n,o=i()),o){const o=new g(e,t);let a;s(n)&&window.addEventListener("click",a=(0,r.A)(n=>{if(!(n instanceof Event))return;const r=n.target;if(r instanceof HTMLElement&&!e.contains(r)&&!t.contains(r)){const t=r.closest("[data-tether-rx]");t&&!t.contains(e)||(i(),void 0!==a&&window.removeEventListener("click",a,!0),o.destroy(),A._.delete(e))}}),!0),A._.set(e,{tether:o,closeListener:a})}else{const t=A._.get(e);t&&(void 0!==t.closeListener&&window.removeEventListener("click",t.closeListener,!0),t.tether.destroy(),A._.delete(e))}return o}static getReference(e){for(const t of b._.tethers)if(m(y,t)===e)return m(v,t);return null}get element(){return m(y,this)}get reference(){return m(v,this)}constructor(e,t){h(this,v,void 0),h(this,y,void 0),p(v,this,e),p(y,this,t),e.classList.contains("ComboInput")&&!t.parentElement?.hasAttribute("data-tether-anchor")&&(null!==e.closest("dialog")?e.closest("dialog")?.append(t):null===e.closest(".Popup")?document.querySelector(".Page")?.append(t):e.closest(".Popup")?.append(t)),b._.add(this)}destroy(){b._.remove(this)}}var b={_:new class{constructor(){o(this,l,void 0),o(this,u,void 0),o(this,d,void 0),o(this,f,void 0),a(l,this,new WeakMap),a(u,this,[]),a(f,this,null),a(d,this,(0,i.A)(this.updateImmediately.bind(this)))}get tethers(){return s(u,this)}add(e){s(u,this).push(e),this.start()}remove(e){const t=s(u,this),n=t.indexOf(e);n>-1&&t.splice(n,1),t.length<0&&this.stop()}start(){this.updateImmediately(),null===s(f,this)&&(window.addEventListener("resize",s(d,this),!0),window.addEventListener("scroll",s(d,this),!0),a(f,this,setInterval(s(d,this),50)))}stop(){null!==s(f,this)&&(window.removeEventListener("resize",s(d,this)),window.removeEventListener("scroll",s(d,this)),clearInterval(s(f,this)),a(f,this,null))}updateImmediately(){const e=s(u,this);if(0===e.length)return;const t=[],n=document.documentElement;let r=n.clientWidth/2,i=n.clientHeight/2;const o="rtl"===n.dir;for(const s of e){const e=s.element,a=s.reference.getBoundingClientRect(),c=a.width,l=a.height;if(0===c&&0===l)continue;let u,d=a.top,f=a.left,h=n.clientWidth;if(e.parentElement?.hasAttribute("popover")){d=s.reference.offsetTop,f=s.reference.offsetLeft;const t=e.parentElement;h=t.clientWidth,r=h/2,i=t.clientHeight/2}let p=f;if(o){const e=h-f-c;p=e,u=e<r?"l":"r"}else u=f<r?"l":"r";t.push({element:e,x:u,y:d+l/2<i?"t":"b",l:`${p}px`,w:`${c}px`,t:`${d}px`,h:`${l}px`})}for(const e of t){const t=e.element,n=s(l,this).get(t)||{},r=t.style;e.x!==n.x&&t.setAttribute("data-tether-rx",e.x),e.y!==n.y&&t.setAttribute("data-tether-ry",e.y),e.l!==n.l&&r.setProperty("--Tether-rl",e.l),e.w!==n.w&&r.setProperty("--Tether-rw",e.w),e.t!==n.t&&r.setProperty("--Tether-rt",e.t),e.h!==n.h&&r.setProperty("--Tether-rh",e.h),s(l,this).set(t,e)}}}},A={_:new WeakMap}},38745(e,t,n){function r(e,...t){const n=document.createElement(e),r=t[0];if(!("object"!=typeof r||Array.isArray(r)||r instanceof Node)){t.shift();for(const[e,t]of Object.entries(r))"dataset"===e?Object.keys(t).forEach(e=>n.dataset[e]=t[e]):void 0===t?n.removeAttribute(e):e in n?Object.assign(n,{[e]:t}):n.setAttribute(e,t)}return i(n,t),n}function i(e,t){if(t)if(Array.isArray(t)||t instanceof NodeList)for(const n of t)i(e,n);else t instanceof Node?e.appendChild(t):e.appendChild(document.createTextNode(t.toString()))}n.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0}),n(84978),n(25809)},25936(e,t,n){function r(e,...t){const n=document.createElement(e),r=t[0];if(!("object"!=typeof r||Array.isArray(r)||r instanceof Node)){t.shift();for(const[e,t]of Object.entries(r))"dataset"===e?Object.keys(t).forEach(e=>n.dataset[e]=t[e]):void 0===t?n.removeAttribute(e):e in n?Object.assign(n,{[e]:t}):n.setAttribute(e,t)}return i(n,t),n}function i(e,t){if(t)if(Array.isArray(t)||t instanceof NodeList)for(const n of t)i(e,n);else t instanceof Node?e.appendChild(t):e.appendChild(document.createTextNode(t.toString()))}n.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0}),n(49371),n(96648)},95628(e,t,n){function r(e,t){return e?(Array.isArray(t)&&(t=t.join(",")),e.querySelector(t)):null}n.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0})},60021(e,t,n){function r(e,t){return e?(Array.isArray(t)&&(t=t.join(",")),e.querySelector(t)):null}n.d(t,{A:()=>r}),Object.defineProperty(r,"name",{value:"default",configurable:!0})},83394(e,t,n){let r;function i(e){return function(...t){if(t[0]instanceof Event||t[0]instanceof window.jQuery.Event){const n=t[0].target;n===r&&e.apply(n,t)}}}n.d(t,{A:()=>i}),window.addEventListener("mousedown",({target:e})=>{r=e})},96203(e,t,n){let r;function i(e){return function(...t){if(t[0]instanceof Event||t[0]instanceof window.jQuery.Event){const n=t[0].target;n===r&&e.apply(n,t)}}}n.d(t,{A:()=>i}),window.addEventListener("mousedown",({target:e})=>{r=e})},56155(e,t,n){n.d(t,{A:()=>j}),n(44764),n(84978),n(13722),n(91672),n(92280);var r=n(59314),i=n.n(r);function o(e,t,n){s(e,t),t.set(e,n)}function s(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let u=0;var d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,m=new WeakMap,w=new WeakSet;class v{constructor(e,t,n){var r;s(this,r=w),r.add(this),o(this,d,void 0),o(this,f,void 0),o(this,h,void 0),o(this,p,void 0),o(this,m,void 0),c(d,this,e),c(f,this,"data-ofc"+u++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(f,this)}])`).join(",")),c(p,this,n);const i=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);i.length===t.length&&c(m,this,i)}addTriggerElements(e,t){if(a(d,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(m,this)&&Array.isArray(e))for(const t of e)a(m,this).some(e=>t.matches(e))&&l(w,this,y).call(this,t);else for(const e of a(d,this).querySelectorAll(a(h,this)))l(w,this,y).call(this,e)}}function y(e){if(!x(e)&&!e.hasAttribute(a(f,this))){e.setAttribute(a(f,this),"");try{a(p,this).call(this,e)}catch(t){i().error("Failed callback!",e,t)}}}let g,b=!1,A=!1,E=!1,k=[];const L=[];function x(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const M=Array.prototype.every,T=e=>e.nodeType===Node.TEXT_NODE;function P(e){if(b)return void(A=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!x(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":M.call(t.addedNodes,T)&&M.call(t.removedNodes,T)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(E=!0),!E)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":k.push(t);break;case"childList":for(const e of L)e.addTriggerElements(k,t)}}else E=!0;(E||k.length>0)&&!g&&(g=window.requestAnimationFrame(()=>{const e=E?void 0:k;E=!1,k=[],g=0,L.forEach(t=>t.trigger(e))}))}function S(){document.documentElement.hidden=!1,P(),new MutationObserver(P).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function W(e,t,n){let r,i;void 0!==n?(r=e,i=t):(r=document,i=e,n=t);const o=new v(r,i,n);o.trigger(),L.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",S):S(),W.triggerCallbacks=P,W.pause=()=>{b=!0},W.resume=()=>{b=!1,A&&(A=!1,setTimeout(P,100))};const j=7717==n.j?W:null},91762(e,t,n){n.d(t,{A:()=>j}),n(57573),n(49371),n(42723),n(56065),n(56673);var r=n(23707),i=n.n(r);function o(e,t,n){s(e,t),t.set(e,n)}function s(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let u=0;var d=new WeakMap,f=new WeakMap,h=new WeakMap,p=new WeakMap,m=new WeakMap,w=new WeakSet;class v{constructor(e,t,n){var r;s(this,r=w),r.add(this),o(this,d,void 0),o(this,f,void 0),o(this,h,void 0),o(this,p,void 0),o(this,m,void 0),c(d,this,e),c(f,this,"data-ofc"+u++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(f,this)}])`).join(",")),c(p,this,n);const i=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);i.length===t.length&&c(m,this,i)}addTriggerElements(e,t){if(a(d,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(m,this)&&Array.isArray(e))for(const t of e)a(m,this).some(e=>t.matches(e))&&l(w,this,y).call(this,t);else for(const e of a(d,this).querySelectorAll(a(h,this)))l(w,this,y).call(this,e)}}function y(e){if(!x(e)&&!e.hasAttribute(a(f,this))){e.setAttribute(a(f,this),"");try{a(p,this).call(this,e)}catch(t){i().error("Failed callback!",e,t)}}}let g,b=!1,A=!1,E=!1,k=[];const L=[];function x(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const M=Array.prototype.every,T=e=>e.nodeType===Node.TEXT_NODE;function P(e){if(b)return void(A=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!x(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":M.call(t.addedNodes,T)&&M.call(t.removedNodes,T)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(E=!0),!E)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":k.push(t);break;case"childList":for(const e of L)e.addTriggerElements(k,t)}}else E=!0;(E||k.length>0)&&!g&&(g=window.requestAnimationFrame(()=>{const e=E?void 0:k;E=!1,k=[],g=0,L.forEach(t=>t.trigger(e))}))}function S(){document.documentElement.hidden=!1,P(),new MutationObserver(P).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function W(e,t,n){let r,i;void 0!==n?(r=e,i=t):(r=document,i=e,n=t);const o=new v(r,i,n);o.trigger(),L.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",S):S(),W.triggerCallbacks=P,W.pause=()=>{b=!0},W.resume=()=>{b=!1,A&&(A=!1,setTimeout(P,100))};const j=3324==n.j?W:null},66556(e,t,n){n.d(t,{AM:()=>s,D1:()=>o,H0:()=>a}),n(84978),n(13722),n(25809);var r=n(9968);if(7717==n.j)var i=n(36500);function o(e,t){!function(e){l(e,"button, a");e.querySelector('[role="menuitem"]')||e.querySelectorAll("button, a").forEach(e=>{e.hasAttribute("role")||(e.setAttribute("role","menuitem"),e.classList.add("Dropdown-item"))})}(e),function(e,t){t.hasAttribute("aria-controls")||(e.id||(e.id=(0,i.A)()),t.setAttribute("aria-controls",e.id))}(e,t),function(e,t){(function(e,t){t.addEventListener("keydown",n=>{const r=e.closest('[role="toolbar"]'),i=r?.getAttribute("aria-orientation");switch(n.key){case"ArrowDown":case"ArrowRight":if(r&&("vertical"===i&&"ArrowDown"===n.key||"vertical"!==i&&"ArrowRight"===n.key))break;t.click(),n.stopPropagation(),n.preventDefault();break;case"ArrowUp":case"ArrowLeft":if(r&&("vertical"===i&&"ArrowUp"===n.key||"vertical"!==i&&"ArrowLeft"===n.key))break;t.click(),"true"===t.getAttribute("aria-expanded")&&e.addEventListener("transitionend",()=>{c(d(u(e)),-1)},{once:!0})}})})(e,t),function(e,t){e.addEventListener("keydown",e=>{switch(e.key){case"Escape":t.click(),t.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowLeft":case"ArrowUp":c(e.target,-1),e.preventDefault();break;case"ArrowRight":case"ArrowDown":c(e.target,1),e.preventDefault()}})}(e,t),a(e,t)}(e,t)}function s(e,t,n=e){const i=e.querySelector(".ComboInput"),o=n=>{t.classList.contains("is-active")&&"Tab"===n.key&&!e.contains(document.activeElement)&&document.activeElement!==i&&document.activeElement!==t&&t.click()};l(e,'[role="menuitem"]'),r.A.toggle(t,e,()=>{const r=t.classList.toggle("is-active");return r?(t.setAttribute("aria-expanded",!0),window.addEventListener("keyup",o),e.addEventListener("transitionend",()=>{const t=u(e);if(!t?.length)return;const n=d(t);n?.setAttribute("tabindex","0"),n?.focus()},{once:!0})):(t.setAttribute("aria-expanded",!1),window.removeEventListener("keyup",o)),n.classList.toggle("is-open",r)})}function a(e,t){e.querySelectorAll('button, a, [role="menuitem"]').forEach(e=>{e.addEventListener("click",()=>{"true"===t.getAttribute("aria-expanded")&&(t.click(),t.focus())})})}function c(e,t){const n=function(e){if(e)return e.closest(".is-open")||e.closest("ul")}(e),r=u(n);if(!n||!r)return;const i=r.indexOf(e);if(-1===i)return;e.setAttribute("tabindex","-1");const o=n.querySelector("li.focus");if(o&&o.classList.remove("focus"),-1===t){let e=i-1>-1?r[i-1]:r[r.length-1];e.setAttribute("tabindex","0"),e.focus(),o&&e.closest("li")?.classList.add("focus")}if(1===t){let e=i+1<r.length?r[i+1]:r[0];e.setAttribute("tabindex","0"),e.focus(),o&&e.closest("li")?.classList.add("focus")}}function l(e,t){e.querySelectorAll(t).forEach(e=>{e.setAttribute("tabindex","-1")})}function u(e){if(e)return Array.from(e.querySelectorAll('[role="menuitem"]')).filter(e=>!(e.hasAttribute("aria-hidden")||e.closest('[aria-hidden="true"]')||"none"===window.getComputedStyle(e).display||e.classList.contains("screen-reader-only")))}function d(e){for(const t of e)if(t.matches(".is-selected, .selected")||t.parentElement.matches(".is-selected, .selected"))return t;return e[0]}},79365(e,t,n){n.d(t,{AM:()=>s,D1:()=>o,H0:()=>a}),n(49371),n(42723),n(96648);var r=n(22777);if(3324==n.j)var i=n(49309);function o(e,t){!function(e){l(e,"button, a");e.querySelector('[role="menuitem"]')||e.querySelectorAll("button, a").forEach(e=>{e.hasAttribute("role")||(e.setAttribute("role","menuitem"),e.classList.add("Dropdown-item"))})}(e),function(e,t){t.hasAttribute("aria-controls")||(e.id||(e.id=(0,i.A)()),t.setAttribute("aria-controls",e.id))}(e,t),function(e,t){(function(e,t){t.addEventListener("keydown",n=>{const r=e.closest('[role="toolbar"]'),i=r?.getAttribute("aria-orientation");switch(n.key){case"ArrowDown":case"ArrowRight":if(r&&("vertical"===i&&"ArrowDown"===n.key||"vertical"!==i&&"ArrowRight"===n.key))break;t.click(),n.stopPropagation(),n.preventDefault();break;case"ArrowUp":case"ArrowLeft":if(r&&("vertical"===i&&"ArrowUp"===n.key||"vertical"!==i&&"ArrowLeft"===n.key))break;t.click(),"true"===t.getAttribute("aria-expanded")&&e.addEventListener("transitionend",()=>{c(d(u(e)),-1)},{once:!0})}})})(e,t),function(e,t){e.addEventListener("keydown",e=>{switch(e.key){case"Escape":t.click(),t.focus(),e.preventDefault(),e.stopPropagation();break;case"ArrowLeft":case"ArrowUp":c(e.target,-1),e.preventDefault();break;case"ArrowRight":case"ArrowDown":c(e.target,1),e.preventDefault()}})}(e,t),a(e,t)}(e,t)}function s(e,t,n=e){const i=e.querySelector(".ComboInput"),o=n=>{t.classList.contains("is-active")&&"Tab"===n.key&&!e.contains(document.activeElement)&&document.activeElement!==i&&document.activeElement!==t&&t.click()};l(e,'[role="menuitem"]'),r.A.toggle(t,e,()=>{const r=t.classList.toggle("is-active");return r?(t.setAttribute("aria-expanded",!0),window.addEventListener("keyup",o),e.addEventListener("transitionend",()=>{const t=u(e);if(!t?.length)return;const n=d(t);n?.setAttribute("tabindex","0"),n?.focus()},{once:!0})):(t.setAttribute("aria-expanded",!1),window.removeEventListener("keyup",o)),n.classList.toggle("is-open",r)})}function a(e,t){e.querySelectorAll('button, a, [role="menuitem"]').forEach(e=>{e.addEventListener("click",()=>{"true"===t.getAttribute("aria-expanded")&&(t.click(),t.focus())})})}function c(e,t){const n=function(e){if(e)return e.closest(".is-open")||e.closest("ul")}(e),r=u(n);if(!n||!r)return;const i=r.indexOf(e);if(-1===i)return;e.setAttribute("tabindex","-1");const o=n.querySelector("li.focus");if(o&&o.classList.remove("focus"),-1===t){let e=i-1>-1?r[i-1]:r[r.length-1];e.setAttribute("tabindex","0"),e.focus(),o&&e.closest("li")?.classList.add("focus")}if(1===t){let e=i+1<r.length?r[i+1]:r[0];e.setAttribute("tabindex","0"),e.focus(),o&&e.closest("li")?.classList.add("focus")}}function l(e,t){e.querySelectorAll(t).forEach(e=>{e.setAttribute("tabindex","-1")})}function u(e){if(e)return Array.from(e.querySelectorAll('[role="menuitem"]')).filter(e=>!(e.hasAttribute("aria-hidden")||e.closest('[aria-hidden="true"]')||"none"===window.getComputedStyle(e).display||e.classList.contains("screen-reader-only")))}function d(e){for(const t of e)if(t.matches(".is-selected, .selected")||t.parentElement.matches(".is-selected, .selected"))return t;return e[0]}},9968(e,t,n){n.d(t,{A:()=>r.A});var r=n(99022)},22777(e,t,n){n.d(t,{A:()=>r.A});var r=n(55408)},5292(e,t,n){n.d(t,{A:()=>r.A});var r=n(38745)},18101(e,t,n){n.d(t,{A:()=>r.A});var r=n(25936)},32246(e,t,n){n.d(t,{A:()=>r.A});var r=n(56155)},45055(e,t,n){n.d(t,{A:()=>r.A});var r=n(91762)},26594(e,t,n){function r(e){let t;return function(){t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{t=void 0,e.apply(this,[...arguments])})}}n.d(t,{A:()=>r})},39403(e,t,n){function r(e){let t;return function(){t&&window.cancelAnimationFrame(t),t=window.requestAnimationFrame(()=>{t=void 0,e.apply(this,[...arguments])})}}n.d(t,{A:()=>r})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkbrightspot_cms=self.webpackChunkbrightspot_cms||[]).push([[2963],{56155(e,t,n){n.d(t,{A:()=>I}),n(44764),n(84978),n(13722),n(91672),n(92280);var s=n(59314),i=n.n(s);function o(e,t,n){r(e,t),t.set(e,n)}function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let d=0;var u=new WeakMap,p=new WeakMap,h=new WeakMap,m=new WeakMap,f=new WeakMap,v=new WeakSet;class g{constructor(e,t,n){var s;r(this,s=v),s.add(this),o(this,u,void 0),o(this,p,void 0),o(this,h,void 0),o(this,m,void 0),o(this,f,void 0),c(u,this,e),c(p,this,"data-ofc"+d++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(p,this)}])`).join(",")),c(m,this,n);const i=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);i.length===t.length&&c(f,this,i)}addTriggerElements(e,t){if(a(u,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(f,this)&&Array.isArray(e))for(const t of e)a(f,this).some(e=>t.matches(e))&&l(v,this,w).call(this,t);else for(const e of a(u,this).querySelectorAll(a(h,this)))l(v,this,w).call(this,e)}}function w(e){if(!C(e)&&!e.hasAttribute(a(p,this))){e.setAttribute(a(p,this),"");try{a(m,this).call(this,e)}catch(t){i().error("Failed callback!",e,t)}}}let y,b=!1,A=!1,E=!1,L=[];const M=[];function C(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const T=Array.prototype.every,k=e=>e.nodeType===Node.TEXT_NODE;function P(e){if(b)return void(A=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!C(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":T.call(t.addedNodes,k)&&T.call(t.removedNodes,k)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(E=!0),!E)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":L.push(t);break;case"childList":for(const e of M)e.addTriggerElements(L,t)}}else E=!0;(E||L.length>0)&&!y&&(y=window.requestAnimationFrame(()=>{const e=E?void 0:L;E=!1,L=[],y=0,M.forEach(t=>t.trigger(e))}))}function S(){document.documentElement.hidden=!1,P(),new MutationObserver(P).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function W(e,t,n){let s,i;void 0!==n?(s=e,i=t):(s=document,i=e,n=t);const o=new g(s,i,n);o.trigger(),M.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",S):S(),W.triggerCallbacks=P,W.pause=()=>{b=!0},W.resume=()=>{b=!1,A&&(A=!1,setTimeout(P,100))};const I=7717==n.j?W:null},91762(e,t,n){n.d(t,{A:()=>I}),n(57573),n(49371),n(42723),n(56065),n(56673);var s=n(23707),i=n.n(s);function o(e,t,n){r(e,t),t.set(e,n)}function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let d=0;var u=new WeakMap,p=new WeakMap,h=new WeakMap,m=new WeakMap,f=new WeakMap,v=new WeakSet;class g{constructor(e,t,n){var s;r(this,s=v),s.add(this),o(this,u,void 0),o(this,p,void 0),o(this,h,void 0),o(this,m,void 0),o(this,f,void 0),c(u,this,e),c(p,this,"data-ofc"+d++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(p,this)}])`).join(",")),c(m,this,n);const i=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);i.length===t.length&&c(f,this,i)}addTriggerElements(e,t){if(a(u,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(f,this)&&Array.isArray(e))for(const t of e)a(f,this).some(e=>t.matches(e))&&l(v,this,w).call(this,t);else for(const e of a(u,this).querySelectorAll(a(h,this)))l(v,this,w).call(this,e)}}function w(e){if(!C(e)&&!e.hasAttribute(a(p,this))){e.setAttribute(a(p,this),"");try{a(m,this).call(this,e)}catch(t){i().error("Failed callback!",e,t)}}}let y,b=!1,A=!1,E=!1,L=[];const M=[];function C(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const T=Array.prototype.every,k=e=>e.nodeType===Node.TEXT_NODE;function P(e){if(b)return void(A=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!C(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":T.call(t.addedNodes,k)&&T.call(t.removedNodes,k)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(E=!0),!E)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":L.push(t);break;case"childList":for(const e of M)e.addTriggerElements(L,t)}}else E=!0;(E||L.length>0)&&!y&&(y=window.requestAnimationFrame(()=>{const e=E?void 0:L;E=!1,L=[],y=0,M.forEach(t=>t.trigger(e))}))}function S(){document.documentElement.hidden=!1,P(),new MutationObserver(P).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function W(e,t,n){let s,i;void 0!==n?(s=e,i=t):(s=document,i=e,n=t);const o=new g(s,i,n);o.trigger(),M.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",S):S(),W.triggerCallbacks=P,W.pause=()=>{b=!0},W.resume=()=>{b=!1,A&&(A=!1,setTimeout(P,100))};const I=3324==n.j?W:null},48874(e,t,n){n.r(t);var s=n(32246),i=n(27170);(0,s.A)('iframe[name="AppetizeIoEmbedded"]',e=>{const t=e.getAttribute("data-preview-url");if(!t)return;const n=e.id,s=e.getAttribute("src"),o=window.parent.document.querySelector('.AppetizeIo-displayControls[id="'+n+'"]'),r=o.closest(".PreviewFrame");if(!r)return;const a=document.createElement("DIV");a.classList.add("AppetizeIo-scale");const c=document.createElement("SPAN");c.innerText="Scale";const l=document.createElement("INPUT");l.type="range",l.min=25,l.max=100,l.value=50,a.appendChild(c),a.appendChild(l),l.oninput=function(){e.contentWindow.postMessage({type:"setScale",value:l.value},s)};const d=document.createElement("SPAN");d.classList.add("AppetizeIo-rotate"),d.classList.add("is-portrait"),d.onclick=function(){d.classList.contains("is-portrait")?(d.classList.remove("is-portrait"),e.contentWindow.postMessage("rotateLeft",s)):(d.classList.add("is-portrait"),e.contentWindow.postMessage("rotateRight",s))};const u=document.createElement("SPAN");u.classList.add("AppetizeIo-restorePage"),u.onclick=function(){u.dataset.url&&e.contentWindow.postMessage({type:"url",value:u.dataset.url},s)};const p=(0,i.A)(2e3,async()=>{try{u.dataset.url||(u.dataset.url=t),e&&e.contentWindow&&e.contentWindow.postMessage({type:"url",value:t},s)}catch(e){console.error(e)}}),h=function(e){"firstFrameReceived"===e.data?(o.innerHTML="",o.contains(a)||o.appendChild(a),o.contains(d)||o.appendChild(d),o.contains(u)||o.appendChild(u),p(),r.addEventListener("brightspot-preview-update",p)):"sessionEnded"===e.data&&(o.contains(u)&&o.removeChild(u),r.removeEventListener("brightspot-preview-update",p))};window.addEventListener("message",h),window.onbeforeunload=function(){o.innerHTML="",r.removeEventListener("brightspot-preview-update",p),window.removeEventListener("message",h)}})},77875(e,t,n){n.r(t);var s=n(45055),i=n(39979);(0,s.A)('iframe[name="AppetizeIoEmbedded"]',e=>{const t=e.getAttribute("data-preview-url");if(!t)return;const n=e.id,s=e.getAttribute("src"),o=window.parent.document.querySelector('.AppetizeIo-displayControls[id="'+n+'"]'),r=o.closest(".PreviewFrame");if(!r)return;const a=document.createElement("DIV");a.classList.add("AppetizeIo-scale");const c=document.createElement("SPAN");c.innerText="Scale";const l=document.createElement("INPUT");l.type="range",l.min=25,l.max=100,l.value=50,a.appendChild(c),a.appendChild(l),l.oninput=function(){e.contentWindow.postMessage({type:"setScale",value:l.value},s)};const d=document.createElement("SPAN");d.classList.add("AppetizeIo-rotate"),d.classList.add("is-portrait"),d.onclick=function(){d.classList.contains("is-portrait")?(d.classList.remove("is-portrait"),e.contentWindow.postMessage("rotateLeft",s)):(d.classList.add("is-portrait"),e.contentWindow.postMessage("rotateRight",s))};const u=document.createElement("SPAN");u.classList.add("AppetizeIo-restorePage"),u.onclick=function(){u.dataset.url&&e.contentWindow.postMessage({type:"url",value:u.dataset.url},s)};const p=(0,i.A)(2e3,async()=>{try{u.dataset.url||(u.dataset.url=t),e&&e.contentWindow&&e.contentWindow.postMessage({type:"url",value:t},s)}catch(e){console.error(e)}}),h=function(e){"firstFrameReceived"===e.data?(o.innerHTML="",o.contains(a)||o.appendChild(a),o.contains(d)||o.appendChild(d),o.contains(u)||o.appendChild(u),p(),r.addEventListener("brightspot-preview-update",p)):"sessionEnded"===e.data&&(o.contains(u)&&o.removeChild(u),r.removeEventListener("brightspot-preview-update",p))};window.addEventListener("message",h),window.onbeforeunload=function(){o.innerHTML="",r.removeEventListener("brightspot-preview-update",p),window.removeEventListener("message",h)}})},32246(e,t,n){n.d(t,{A:()=>s.A});var s=n(56155)},45055(e,t,n){n.d(t,{A:()=>s.A});var s=n(91762)},27170(e,t,n){function s(e,t){if(e<=0)return t;let n;return function(){clearTimeout(n),n=setTimeout(()=>{n=void 0,t.apply(this,[...arguments])},e)}}n.d(t,{A:()=>s})},39979(e,t,n){function s(e,t){if(e<=0)return t;let n;return function(){clearTimeout(n),n=setTimeout(()=>{n=void 0,t.apply(this,[...arguments])},e)}}n.d(t,{A:()=>s})}}]);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
"use strict";(self.webpackChunkbrightspot_cms=self.webpackChunkbrightspot_cms||[]).push([[2882],{56155(e,t,n){n.d(t,{A:()=>S}),n(44764),n(84978),n(13722),n(91672),n(92280);var r=n(59314),s=n.n(r);function o(e,t,n){i(e,t),t.set(e,n)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let d=0;var u=new WeakMap,p=new WeakMap,h=new WeakMap,f=new WeakMap,m=new WeakMap,w=new WeakSet;class v{constructor(e,t,n){var r;i(this,r=w),r.add(this),o(this,u,void 0),o(this,p,void 0),o(this,h,void 0),o(this,f,void 0),o(this,m,void 0),c(u,this,e),c(p,this,"data-ofc"+d++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(p,this)}])`).join(",")),c(f,this,n);const s=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);s.length===t.length&&c(m,this,s)}addTriggerElements(e,t){if(a(u,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(m,this)&&Array.isArray(e))for(const t of e)a(m,this).some(e=>t.matches(e))&&l(w,this,b).call(this,t);else for(const e of a(u,this).querySelectorAll(a(h,this)))l(w,this,b).call(this,e)}}function b(e){if(!x(e)&&!e.hasAttribute(a(p,this))){e.setAttribute(a(p,this),"");try{a(f,this).call(this,e)}catch(t){s().error("Failed callback!",e,t)}}}let g,y=!1,E=!1,A=!1,T=[];const k=[];function x(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const C=Array.prototype.every,L=e=>e.nodeType===Node.TEXT_NODE;function M(e){if(y)return void(E=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!x(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":C.call(t.addedNodes,L)&&C.call(t.removedNodes,L)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(A=!0),!A)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":T.push(t);break;case"childList":for(const e of k)e.addTriggerElements(T,t)}}else A=!0;(A||T.length>0)&&!g&&(g=window.requestAnimationFrame(()=>{const e=A?void 0:T;A=!1,T=[],g=0,k.forEach(t=>t.trigger(e))}))}function O(){document.documentElement.hidden=!1,M(),new MutationObserver(M).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function P(e,t,n){let r,s;void 0!==n?(r=e,s=t):(r=document,s=e,n=t);const o=new v(r,s,n);o.trigger(),k.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O):O(),P.triggerCallbacks=M,P.pause=()=>{y=!0},P.resume=()=>{y=!1,E&&(E=!1,setTimeout(M,100))};const S=7717==n.j?P:null},91762(e,t,n){n.d(t,{A:()=>S}),n(57573),n(49371),n(42723),n(56065),n(56673);var r=n(23707),s=n.n(r);function o(e,t,n){i(e,t),t.set(e,n)}function i(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}function a(e,t){return e.get(l(e,t))}function c(e,t,n){return e.set(l(e,t),n),n}function l(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}let d=0;var u=new WeakMap,p=new WeakMap,h=new WeakMap,f=new WeakMap,m=new WeakMap,w=new WeakSet;class v{constructor(e,t,n){var r;i(this,r=w),r.add(this),o(this,u,void 0),o(this,p,void 0),o(this,h,void 0),o(this,f,void 0),o(this,m,void 0),c(u,this,e),c(p,this,"data-ofc"+d++),Array.isArray(t)||(t=[t]),c(h,this,t.map(t.some(e=>e.indexOf(",")>-1)?e=>e:e=>`${e}:not([${a(p,this)}])`).join(",")),c(f,this,n);const s=t.map(e=>e.trim()).filter(e=>e.indexOf(" ")<0&&e.indexOf(",")<0);s.length===t.length&&c(m,this,s)}addTriggerElements(e,t){if(a(u,this).contains(t)){t.matches(a(h,this))&&e.push(t);for(const n of t.querySelectorAll(a(h,this)))e.push(n)}}trigger(e){if("loading"!==document.readyState)if(a(m,this)&&Array.isArray(e))for(const t of e)a(m,this).some(e=>t.matches(e))&&l(w,this,b).call(this,t);else for(const e of a(u,this).querySelectorAll(a(h,this)))l(w,this,b).call(this,e)}}function b(e){if(!x(e)&&!e.hasAttribute(a(p,this))){e.setAttribute(a(p,this),"");try{a(f,this).call(this,e)}catch(t){s().error("Failed callback!",e,t)}}}let g,y=!1,E=!1,A=!1,T=[];const k=[];function x(e){return e instanceof Element&&(null!==e.closest(".CIG-wordCount")||null!==e.closest(".ContentEdit-previewDisplay")||null!==e.closest(".ContentLabel")||null!==e.closest(".PreviewFrame-typeDisplay")||null!==e.closest(".ProseMirrorToolbar")||null!==e.closest(".ProseMirror")||null!==e.closest(".ProseMirrorContainer")||null!==e.closest(".ProseMirror-fullscreen-container")||null!==e.closest(".ProseMirror-comments")||null!==e.closest(".RichTextEditor")||null!==e.closest(".WorkInProgressSaveStatus")||null!==e.closest("#aria-live-container")||null!==e.closest(".widget-urlsAutomatic"))}const C=Array.prototype.every,L=e=>e.nodeType===Node.TEXT_NODE;function M(e){if(y)return void(E=!0);const t=Array.isArray(e),n=[];if(t){for(const t of e){const e=t.target;if(!x(e))switch(t.type){case"attributes":t.oldValue!==e.getAttribute(t.attributeName)&&n.push(t);break;case"childList":C.call(t.addedNodes,L)&&C.call(t.removedNodes,L)||n.push(t)}}if(0===n.length)return}if(n.length>500&&(A=!0),!A)if(t)for(const e of n){const t=e.target;switch(e.type){case"attributes":T.push(t);break;case"childList":for(const e of k)e.addTriggerElements(T,t)}}else A=!0;(A||T.length>0)&&!g&&(g=window.requestAnimationFrame(()=>{const e=A?void 0:T;A=!1,T=[],g=0,k.forEach(t=>t.trigger(e))}))}function O(){document.documentElement.hidden=!1,M(),new MutationObserver(M).observe(document,{attributes:!0,attributeFilter:["class","data-bsp-autosubmit","data-chart-type","data-code-type","data-internal-name","data-tab","name","rel","target"],attributeOldValue:!0,childList:!0,subtree:!0})}function P(e,t,n){let r,s;void 0!==n?(r=e,s=t):(r=document,s=e,n=t);const o=new v(r,s,n);o.trigger(),k.push(o)}document.documentElement.hidden=!0,"loading"===document.readyState?document.addEventListener("DOMContentLoaded",O):O(),P.triggerCallbacks=M,P.pause=()=>{y=!0},P.resume=()=>{y=!1,E&&(E=!1,setTimeout(M,100))};const S=3324==n.j?P:null},33582(e,t,n){n.d(t,{A:()=>o});var r=n(56155);let s=0;function o(e,t){const n="_ovc"+s++,o=new IntersectionObserver(e=>{for(const r of e)if(r.isIntersecting){const e=r.target,s=e.classList;s.contains(n)||(s.add(n),o.unobserve(e),t(e))}});(0,r.A)(e,e=>{o.observe(e)})}},46391(e,t,n){n.d(t,{A:()=>o});var r=n(91762);let s=0;function o(e,t){const n="_ovc"+s++,o=new IntersectionObserver(e=>{for(const r of e)if(r.isIntersecting){const e=r.target,s=e.classList;s.contains(n)||(s.add(n),o.unobserve(e),t(e))}});(0,r.A)(e,e=>{o.observe(e)})}},67177(e,t,n){n.a(e,async(e,r)=>{try{n.r(t),n(84978),n(39589),n(91672);var s=n(10013),o=(n(29320),n(1439));window.BRIGHTSPOT?.ui.cms.enableV5UI||await n.e(4374).then(n.bind(n,34374));const e=(e,t)=>{const n=e.next(".sp-replacer").find(".sp-preview");if(t)n.attr("data-color",t);else{n.removeAttr("data-color");const r=e.prop("placeholder");t=r?.startsWith("#")&&r||"transparent"}n.find(".sp-preview-inner").css("background-color",t)};let i=0;(0,s.A)('btu-input > input[type="text"].color',t=>{const n=o(t),r=()=>n.spectrum("reflow");n.spectrum({allowEmpty:!0,cancelText:"Cancel",chooseText:"OK",clickoutFiresChange:!1,palette:(window.THEME_BUNDLE_COLOR_SWATCHES||[]).map(e=>e.color),preferredFormat:"hex6",showInitial:!1,showInput:!0,showPalette:!0,show:function(){const t=Number.parseInt(this.closest(".Popup")?this.closest(".Popup").style.zIndex:"100007")+1;n.spectrum("container").css("z-index",t),window.addEventListener("resize",r,!0),window.addEventListener("scroll",r,!0),e(n,n.val())},hide:function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r),e(n,n.val())},change:function(t){e(n,t),n[0].dispatchEvent(new Event("change",{bubbles:!0}))},move:function(t){e(n,t)}}),n.next(".sp-replacer").find(".sp-preview").attr("data-placeholder",n.prop("placeholder")),e(n,n.val()),n.on("placeholderUpdate",()=>{const t=n.next(".sp-replacer").find(".sp-preview");t.attr("data-placeholder",n.attr("placeholder")),e(n,t.attr("data-color"))});const s=t.parentNode?.querySelector(":scope > .sp-replacer");if(!s)return;const a="sp-container-"+i++,c=n.spectrum("container")[0];if(!c)return;c.id=a,s.setAttribute("aria-controls",a);const l=t.closest("dialog");l&&l.appendChild(c)}),o(window).on("resize",()=>{o(document).find('input[type="text"].color').each(function(){var e=o(this);e.spectrum&&(e.prop("disabled")?e.spectrum("disable"):e.spectrum("enable"))})}),r()}catch(e){r(e)}},1)},2784(e,t,n){n.a(e,async(e,r)=>{try{n.r(t),n(49371),n(26780),n(56065);var s=n(97204),o=(n(42129),n(88630));window.BRIGHTSPOT?.ui.cms.enableV5UI||await n.e(9561).then(n.bind(n,49561));const e=(e,t)=>{const n=e.next(".sp-replacer").find(".sp-preview");if(t)n.attr("data-color",t);else{n.removeAttr("data-color");const r=e.prop("placeholder");t=r?.startsWith("#")&&r||"transparent"}n.find(".sp-preview-inner").css("background-color",t)};let i=0;(0,s.A)('btu-input > input[type="text"].color',t=>{const n=o(t),r=()=>n.spectrum("reflow");n.spectrum({allowEmpty:!0,cancelText:"Cancel",chooseText:"OK",clickoutFiresChange:!1,palette:(window.THEME_BUNDLE_COLOR_SWATCHES||[]).map(e=>e.color),preferredFormat:"hex6",showInitial:!1,showInput:!0,showPalette:!0,show:function(){const t=Number.parseInt(this.closest(".Popup")?this.closest(".Popup").style.zIndex:"100007")+1;n.spectrum("container").css("z-index",t),window.addEventListener("resize",r,!0),window.addEventListener("scroll",r,!0),e(n,n.val())},hide:function(){window.removeEventListener("resize",r),window.removeEventListener("scroll",r),e(n,n.val())},change:function(t){e(n,t),n[0].dispatchEvent(new Event("change",{bubbles:!0}))},move:function(t){e(n,t)}}),n.next(".sp-replacer").find(".sp-preview").attr("data-placeholder",n.prop("placeholder")),e(n,n.val()),n.on("placeholderUpdate",()=>{const t=n.next(".sp-replacer").find(".sp-preview");t.attr("data-placeholder",n.attr("placeholder")),e(n,t.attr("data-color"))});const s=t.parentNode?.querySelector(":scope > .sp-replacer");if(!s)return;const a="sp-container-"+i++,c=n.spectrum("container")[0];if(!c)return;c.id=a,s.setAttribute("aria-controls",a);const l=t.closest("dialog");l&&l.appendChild(c)}),o(window).on("resize",()=>{o(document).find('input[type="text"].color').each(function(){var e=o(this);e.spectrum&&(e.prop("disabled")?e.spectrum("disable"):e.spectrum("enable"))})}),r()}catch(e){r(e)}},1)},10013(e,t,n){n.d(t,{A:()=>r.A});var r=n(33582)},97204(e,t,n){n.d(t,{A:()=>r.A});var r=n(46391)}}]);
|